diff options
author | John Crispin <blogic@openwrt.org> | 2013-08-01 14:30:40 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-08-01 14:30:40 +0000 |
commit | 3ffded1fa02bd292d09f889be8b4b367d64245e7 (patch) | |
tree | 542f1cab264f8d38e7684388e40afc3916bc1705 /target/linux/lantiq/dts/VG3503J.dts | |
parent | 701ba09e6ed279fefec9cc2ce8876991f3e9ccf0 (diff) | |
download | upstream-3ffded1fa02bd292d09f889be8b4b367d64245e7.tar.gz upstream-3ffded1fa02bd292d09f889be8b4b367d64245e7.tar.bz2 upstream-3ffded1fa02bd292d09f889be8b4b367d64245e7.zip |
lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/VG3503J.dts')
-rw-r--r-- | target/linux/lantiq/dts/VG3503J.dts | 57 |
1 files changed, 16 insertions, 41 deletions
diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts index 037563b7fa..8278a177dd 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -74,6 +74,15 @@ lantiq,groups = "mdio"; lantiq,function = "mdio"; }; + gphy-leds { + lantiq,groups = "gphy0 led0", "gphy0 led1", + "gphy0 led2", "gphy1 led0", + "gphy1 led1", "gphy1 led2"; + lantiq,function = "gphy"; + lantiq,pull = <2>; + lantiq,open-drain = <0>; + lantiq,output = <1>; + }; }; }; @@ -89,34 +98,24 @@ interrupt-parent = <&icu0>; interrupts = <73 72>; - lan1: interface@0 { + interface@0 { compatible = "lantiq,xrx200-pdi"; #address-cells = <1>; #size-cells = <0>; reg = <0>; mac-address = [ 00 11 22 33 44 55 ]; - lantiq,wan; - ethernet@4 { - compatible = "lantiq,xrx200-pdi-port"; - reg = <4>; - phy-mode = "mii"; - phy-handle = <&phy13>; - }; - }; - - lan2: interface@1 { - compatible = "lantiq,xrx200-pdi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - mac-address = [ 00 11 22 33 44 56 ]; - ethernet@2 { compatible = "lantiq,xrx200-pdi-port"; reg = <2>; phy-mode = "mii"; phy-handle = <&phy11>; }; + ethernet@4 { + compatible = "lantiq,xrx200-pdi-port"; + reg = <4>; + phy-mode = "mii"; + phy-handle = <&phy13>; + }; }; mdio@0 { @@ -156,18 +155,6 @@ gpio-leds { compatible = "gpio-leds"; - port2orange { - label = "bt:orange:port2"; - gpios = <&gpio 2 0>; - }; - lan2 { - label = "bt:green:lan2"; - gpios = <&gpio 5 0>; - }; - port2green { - label = "bt:green:port2"; - gpios = <&gpio 7 0>; - }; power2 { label = "power2"; gpios = <&gpio 14 1>; @@ -180,17 +167,5 @@ label = "power"; gpios = <&gpio 28 1>; }; - lan1 { - label = "bt:green:lan1"; - gpios = <&gpio 44 0>; - }; - port1green { - label = "bt:green:port1"; - gpios = <&gpio 45 0>; - }; - port1orange { - label = "bt:orange:port1"; - gpios = <&gpio 47 0>; - }; }; }; |