projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix pinctrl regression
[openwrt/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 628324cfbbab20e9a264e6b41d2a3fabaa476026..34a29cc74b9d0126e25c74e47910a57a223f08b1 100644
(file)
--- a/
target/linux/ramips/dts/XDXRN502J.dts
+++ b/
target/linux/ramips/dts/XDXRN502J.dts
@@
-1,24
+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";
- 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>;
-
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
bank-width = <2>;
device-width = <2>;
#address-cells = <1>;
@@
-48,16
+38,14
@@
};
};
};
};
- esw@10110000 {
- 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>;
@@
-69,14
+57,36
@@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
};
reset {
label = "reset";
gpios = <&gpio0 10 1>;
linux,code = <0x198>;
};
};
+};
- 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";
+};