projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Archer C50v1: fix power led
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
ESR-9753.dts
diff --git
a/target/linux/ramips/dts/ESR-9753.dts
b/target/linux/ramips/dts/ESR-9753.dts
index 5c5f0bbbe810d6f6a9399bf94414c92307c2fff9..59a961d69907cec5c4c274360aace960e18b5a0b 100644
(file)
--- a/
target/linux/ramips/dts/ESR-9753.dts
+++ b/
target/linux/ramips/dts/ESR-9753.dts
@@
-1,28
+1,16
@@
/dts-v1/;
/dts-v1/;
-/include/ "rt3050.dtsi"
+#include "rt3050.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
compatible = "ESR-9753", "ralink,rt3052-soc";
model = "Senao / EnGenius ESR-9753";
/ {
compatible = "ESR-9753", "ralink,rt3052-soc";
model = "Senao / EnGenius ESR-9753";
- palmbus@10000000 {
- sysc@0 {
- ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
- 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>;
@@
-54,10
+42,12
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
+
power {
label = "esr-9753:orange:power";
gpios = <&gpio0 8 1>;
};
power {
label = "esr-9753:orange:power";
gpios = <&gpio0 8 1>;
};
+
wps {
label = "esr-9753:orange:wps";
gpios = <&gpio0 14 1>;
wps {
label = "esr-9753:orange:wps";
gpios = <&gpio0 14 1>;
@@
-69,28
+59,38
@@
#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>;
reset {
label = "reset";
gpios = <&gpio0 10 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
};
+
wps {
label = "wps";
gpios = <&gpio0 0 1>;
wps {
label = "wps";
gpios = <&gpio0 0 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
+};
- ethernet@10100000 {
- status = "okay";
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
+};
- esw@10110000 {
- status = "okay";
- ralink,portmap = <0x3e>;
- };
+ðernet {
+ mtd-mac-address = <&factory 0x4>;
+};
- wmac@10180000 {
- status = "okay";
- };
+&esw {
+ mediatek,portmap = <0x3e>;
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
};
};