projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.14 to 4.14.41
[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 000f9db40549635c844d62b278b3133957a149b2..cba8f08812a038d63ea5f3820044fc4ddb319177 100644
(file)
--- a/
target/linux/ramips/dts/XDXRN502J.dts
+++ b/
target/linux/ramips/dts/XDXRN502J.dts
@@
-1,24
+1,17
@@
/dts-v1/;
/dts-v1/;
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
/ {
/ {
- compatible = "
XDXRN502J
", "ralink,rt3052-soc";
+ compatible = "
unbranded,xdxrn502j
", "ralink,rt3052-soc";
model = "XDX RN502J";
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,23
+41,17
@@
};
};
};
};
- esw@10110000 {
- ralink,portmap = <0x3e>;
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
wifi {
label = "xdxrn502j:green:wifi";
wifi {
label = "xdxrn502j:green:wifi";
- gpios = <&gpio0 7
1
>;
+ gpios = <&gpio0 7
GPIO_ACTIVE_LOW
>;
};
};
+
power {
label = "xdxrn502j:green:power";
power {
label = "xdxrn502j:green:power";
- gpios = <&gpio0 9
1
>;
+ gpios = <&gpio0 9
GPIO_ACTIVE_LOW
>;
};
};
};
};
@@
-73,14
+60,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 10
1
>;
- linux,code = <
0x198
>;
+ gpios = <&gpio0 10
GPIO_ACTIVE_LOW
>;
+ linux,code = <
KEY_RESTART
>;
};
};
};
};
+};
- 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";
+};