projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Archer C50 cleanup
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
XDXRN502J.dts
diff --git
a/target/linux/ramips/dts/XDXRN502J.dts
b/target/linux/ramips/dts/XDXRN502J.dts
index 3df097cde71023362e2c7ab8a1057c1da859f11c..34a29cc74b9d0126e25c74e47910a57a223f08b1 100644
(file)
--- a/
target/linux/ramips/dts/XDXRN502J.dts
+++ b/
target/linux/ramips/dts/XDXRN502J.dts
@@
-1,28
+1,14
@@
/dts-v1/;
/dts-v1/;
-
/include/
"rt3050.dtsi"
+
#include
"rt3050.dtsi"
/ {
compatible = "XDXRN502J", "ralink,rt3052-soc";
model = "XDX RN502J";
/ {
compatible = "XDXRN502J", "ralink,rt3052-soc";
model = "XDX RN502J";
- palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "sdram", "rgmii";
- ralink,gpiomux = "mdio";
- ralink,uartmux = "gpio";
- ralink,wdtmux = <1>;
- };
-
- gpio0: gpio@600 {
- status = "okay";
- };
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@
-52,21
+38,14
@@
};
};
};
};
- ethernet@10100000 {
- status = "okay";
- };
-
- esw@10110000 {
- status = "okay";
- ralink,portmap = <0x3e>;
- };
-
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "xdxrn502j:green:wifi";
gpios = <&gpio0 7 1>;
};
wifi {
label = "xdxrn502j:green:wifi";
gpios = <&gpio0 7 1>;
};
+
power {
label = "xdxrn502j:green:power";
gpios = <&gpio0 9 1>;
power {
label = "xdxrn502j:green:power";
gpios = <&gpio0 9 1>;
@@
-78,18
+57,36
@@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&gpio0 1
2
1>;
+ gpios = <&gpio0 1
0
1>;
linux,code = <0x198>;
};
};
linux,code = <0x198>;
};
};
+};
- wmac@10180000 {
- status = "okay";
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
+};
- otg@101c0000 {
- status = "okay";
- };
+ðernet {
+ mtd-mac-address = <&factory 0x28>;
+};
+
+&esw {
+ mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+&otg {
+ status = "okay";
};
};