summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-610-A1.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-10-07 15:02:31 +0000
committerJohn Crispin <john@openwrt.org>2013-10-07 15:02:31 +0000
commit420c62205b3ff27b9733bf252762d1eefe9fcd27 (patch)
treebc171c92dd5750b2323ab110db3f4803b10688dd /target/linux/ramips/dts/DIR-610-A1.dts
parent5eacfc1c60123a04bf139102371cb076c270bced (diff)
downloadmaster-31e0f0ae-420c62205b3ff27b9733bf252762d1eefe9fcd27.tar.gz
master-31e0f0ae-420c62205b3ff27b9733bf252762d1eefe9fcd27.tar.bz2
master-31e0f0ae-420c62205b3ff27b9733bf252762d1eefe9fcd27.zip
ralink: DIR610A1 Fix remaining issues
This patch fixes: - Ethernet and Wireless LEDs - Wireless MAC Address - Remove whitespaces from dts file Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 38321
Diffstat (limited to 'target/linux/ramips/dts/DIR-610-A1.dts')
-rw-r--r--target/linux/ramips/dts/DIR-610-A1.dts24
1 files changed, 14 insertions, 10 deletions
diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts
index 26caf5f67f..67c92b469d 100644
--- a/target/linux/ramips/dts/DIR-610-A1.dts
+++ b/target/linux/ramips/dts/DIR-610-A1.dts
@@ -5,7 +5,7 @@
/ {
compatible = "DIR-610-A1", "ralink,rt5350-soc";
model = "D-Link DIR-610 A1";
-
+
palmbus@10000000 {
spi@b00 {
status = "okay";
@@ -23,10 +23,10 @@
read-only;
};
- partition@30000 {
+ devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
- read-only;
+ read-only;
};
factory: partition@40000 {
@@ -53,11 +53,15 @@
};
esw@10110000 {
- ralink,portmap = <0x1f>;
- ralink,led-polarity = <0>;
+ status = "okay";
+ ralink,portmap = <0x2f>;
+ ralink,led_polarity = <0x17>;
+ };
- pinctrl-names = "default";
- pinctrl-0 = <&phy_led_pins>;
+ wmac@10180000 {
+ status = "okay";
+ ralink,led-polarity = <1>;
+ ralink,mtd-eeprom = <&devdata 16384>;
};
gpio-leds {
@@ -66,13 +70,13 @@
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
- wps {
+ wps {
label = "d-link:green:wps";
gpios = <&gpio0 13 1>;
};
- };
+ };
- gpio-keys-polled {
+ gpio-keys-polled {
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;