projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: update TDW8970.dts to support buttons properly
[openwrt.git]
/
target
/
linux
/
lantiq
/
dts
/
TDW8970.dts
diff --git
a/target/linux/lantiq/dts/TDW8970.dts
b/target/linux/lantiq/dts/TDW8970.dts
index
0fcf8d8
..
006df1c
100644
(file)
--- a/
target/linux/lantiq/dts/TDW8970.dts
+++ b/
target/linux/lantiq/dts/TDW8970.dts
@@
-6,7
+6,7
@@
model = "TDW8970 - TP-LINK TD-W8970";
chosen {
model = "TDW8970 - TP-LINK TD-W8970";
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit
rootfstype=jffs2
";
+ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
};
memory@0 {
};
memory@0 {
@@
-23,6
+23,13
@@
lantiq,groups = "mdio";
lantiq,function = "mdio";
};
lantiq,groups = "mdio";
lantiq,function = "mdio";
};
+ gphy-leds {
+ lantiq,groups = "gphy0 led1", "gphy1 led1";
+ lantiq,function = "gphy";
+ lantiq,pull = <2>;
+ lantiq,open-drain = <0>;
+ lantiq,output = <1>;
+ };
phy-rst {
lantiq,pins = "io42";
lantiq,pull = <0>;
phy-rst {
lantiq,pins = "io42";
lantiq,pull = <0>;
@@
-198,14
+205,14
@@
wifi {
label = "wifi";
gpios = <&gpio 9 0>;
wifi {
label = "wifi";
gpios = <&gpio 9 0>;
- linux,code = <0x
101
>;
+ linux,code = <0x
f7
>;
linux,input-type = <5>; /* EV_SW */
};
wps {
label = "wps";
gpios = <&gpio 39 1>;
linux,input-type = <5>; /* EV_SW */
};
wps {
label = "wps";
gpios = <&gpio 39 1>;
- linux,code = <0x
102
>;
+ linux,code = <0x
211
>;
};
};
};
};
@@
-220,10
+227,6
@@
label = "internet";
gpios = <&gpio 5 0>;
};
label = "internet";
gpios = <&gpio 5 0>;
};
- lan3 {
- label = "lan3";
- gpios = <&gpio 7 0>;
- };
usb0 {
label = "usb";
gpios = <&gpio 19 0>;
usb0 {
label = "usb";
gpios = <&gpio 19 0>;
@@
-236,9
+239,5
@@
label = "wps";
gpios = <&gpio 37 0>;
};
label = "wps";
gpios = <&gpio 37 0>;
};
- lan4 {
- label = "lan4";
- gpios = <&gpio 45 0>;
- };
};
};
};
};