summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-29 13:10:42 +0000
committerJohn Crispin <john@openwrt.org>2013-07-29 13:10:42 +0000
commit336c94c32d1fd0a827ff8a851a0ae9e4d37e997b (patch)
treee49f24b664c89ad3840bdc4f25176c8af212618b /target/linux
parentc3b5ee96b95bd261ff789625f324b1b7dec6a570 (diff)
downloadmtk-20170518-336c94c32d1fd0a827ff8a851a0ae9e4d37e997b.zip
mtk-20170518-336c94c32d1fd0a827ff8a851a0ae9e4d37e997b.tar.gz
mtk-20170518-336c94c32d1fd0a827ff8a851a0ae9e4d37e997b.tar.bz2
lantiq: setup gphy leds on TPlink TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37612
Diffstat (limited to 'target/linux')
-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 0fcf8d8..a632086 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>;
- };
};
};