projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix edimax 6200nl switch config
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
W502U.dts
diff --git
a/target/linux/ramips/dts/W502U.dts
b/target/linux/ramips/dts/W502U.dts
index 8afe74196fd9937947c40e1bf34172fbfc9f8009..739817022b4b21b8552101686aaa21141d67c087 100644
(file)
--- a/
target/linux/ramips/dts/W502U.dts
+++ b/
target/linux/ramips/dts/W502U.dts
@@
-1,6
+1,6
@@
/dts-v1/;
/dts-v1/;
-
/include/
"rt3050.dtsi"
+
#include
"rt3050.dtsi"
/ {
compatible = "W502U", "ralink,rt3052-soc";
/ {
compatible = "W502U", "ralink,rt3052-soc";
@@
-10,15
+10,6
@@
bootargs = "console=ttyS0,115200";
};
bootargs = "console=ttyS0,115200";
};
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
- };
- };
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@
-51,28
+42,16
@@
};
};
};
};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x28>;
- };
-
- esw@10110000 {
- ralink,portmap = <0x3e>;
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
gpio-leds {
compatible = "gpio-leds";
usb {
gpio-leds {
compatible = "gpio-leds";
usb {
- label = "
alfa
:blue:usb";
+ label = "
w502u
:blue:usb";
gpios = <&gpio0 13 1>;
};
wps {
gpios = <&gpio0 13 1>;
};
wps {
- label = "
alfa
:blue:wps";
+ label = "
w502u
:blue:wps";
gpios = <&gpio0 14 1>;
};
};
gpios = <&gpio0 14 1>;
};
};
@@
-95,8
+74,29
@@
linux,code = <0x211>;
};
};
linux,code = <0x211>;
};
};
+};
- otg@101c0000 {
- status = "okay";
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
};
};
+
+ðernet {
+ mtd-mac-address = <&factory 0x28>;
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+ status = "okay";
+};