aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-29 13:10:42 +0000
committerJohn Crispin <blogic@openwrt.org>2013-07-29 13:10:42 +0000
commit2958948698e58f039680e50e1200b0139424d238 (patch)
tree8023a74d55d39e58ddcc2a3bc8c336c1286c6bef
parent3bba7924f78bce22c5e89cf1a5965107ebd507f4 (diff)
downloadmaster-187ad058-2958948698e58f039680e50e1200b0139424d238.tar.gz
master-187ad058-2958948698e58f039680e50e1200b0139424d238.tar.bz2
master-187ad058-2958948698e58f039680e50e1200b0139424d238.zip
lantiq: setup gphy leds on TPlink TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37612 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/lantiq/dts/TDW8970.dts15
1 files changed, 7 insertions, 8 deletions
diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index 0fcf8d8d2a..a632086188 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -23,6 +23,13 @@
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>;
@@ -220,10 +227,6 @@
label = "internet";
gpios = <&gpio 5 0>;
};
- lan3 {
- label = "lan3";
- gpios = <&gpio 7 0>;
- };
usb0 {
label = "usb";
gpios = <&gpio 19 0>;
@@ -236,9 +239,5 @@
label = "wps";
gpios = <&gpio 37 0>;
};
- lan4 {
- label = "lan4";
- gpios = <&gpio 45 0>;
- };
};
};