projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Add support to TP-Link Archer MR200
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
MR-102N.dts
diff --git
a/target/linux/ramips/dts/MR-102N.dts
b/target/linux/ramips/dts/MR-102N.dts
index 286282a6e560d2c0af5a5a2ecbdd0be1a8edc12f..a28deb79eda7f7b6500f63d906d43729c3b77da1 100644
(file)
--- a/
target/linux/ramips/dts/MR-102N.dts
+++ b/
target/linux/ramips/dts/MR-102N.dts
@@
-2,19
+2,12
@@
#include "rt3050.dtsi"
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "MR-102N", "ralink,rt3052-soc";
model = "AXIMCom MR-102N";
/ {
compatible = "MR-102N", "ralink,rt3052-soc";
model = "AXIMCom MR-102N";
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
- ralink,function = "gpio";
- };
- };
- };
-
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@
-57,20
+50,6
@@
};
};
};
};
- ethernet@10100000 {
- mtd-mac-address = <&factory 0x4>;
- };
-
- esw@10110000 {
- status = "okay";
- #mediatek,portmap = <0x3e>;
- mediatek,portmap = <0x2f>;
- };
-
- wmac@10180000 {
- ralink,mtd-eeprom = <&factory 0>;
- };
-
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
@@
-99,17
+78,41
@@
reset {
label = "reset";
gpios = <&gpio0 13 1>;
reset {
label = "reset";
gpios = <&gpio0 13 1>;
- linux,code = <
0x198
>;
+ linux,code = <
KEY_RESTART
>;
};
wps {
label = "wps";
gpios = <&gpio0 18 1>;
};
wps {
label = "wps";
gpios = <&gpio0 18 1>;
- linux,code = <
0x211
>;
+ linux,code = <
KEY_WPS_BUTTON
>;
};
};
};
};
+};
- otg@101c0000 {
- status = "okay";
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,function = "gpio";
+ };
};
};
};
};
+
+ðernet {
+ mtd-mac-address = <&factory 0x4>;
+};
+
+&esw {
+ status = "okay";
+ #mediatek,portmap = <0x3e>;
+ mediatek,portmap = <0x2f>;
+};
+
+&wmac {
+ ralink,mtd-eeprom = <&factory 0>;
+};
+
+
+&otg {
+ status = "okay";
+};