diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-25 19:03:41 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-04-25 19:03:41 +0000 |
commit | 8d3add94db5c955f83a656389ea44b9db82fceb7 (patch) | |
tree | 7d3853eb14aad42091a72a45d754aa5b500e0ed4 /target/linux/lantiq/dts/VG3503J.dts | |
parent | d23f17e56d532f4f86ba6132d48fea8c83c6d9a6 (diff) | |
download | master-187ad058-8d3add94db5c955f83a656389ea44b9db82fceb7.tar.gz master-187ad058-8d3add94db5c955f83a656389ea44b9db82fceb7.tar.bz2 master-187ad058-8d3add94db5c955f83a656389ea44b9db82fceb7.zip |
lantiq: make leds and network work on VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36445 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/VG3503J.dts')
-rw-r--r-- | target/linux/lantiq/dts/VG3503J.dts | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts index 0aea8d80c7..340bfaae45 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -89,12 +89,27 @@ interrupt-parent = <&icu0>; interrupts = <73 72>; - lan: interface@0 { + lan1: 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"; @@ -102,12 +117,6 @@ phy-mode = "mii"; phy-handle = <&phy11>; }; - ethernet@4 { - compatible = "lantiq,xrx200-pdi-port"; - reg = <4>; - phy-mode = "mii"; - phy-handle = <&phy13>; - }; }; mdio@0 { @@ -149,16 +158,16 @@ gpio-leds { compatible = "gpio-leds"; - port2green { - label = "bt:green:port2"; + port2orange { + label = "bt:orange:port2"; gpios = <&gpio 2 0>; }; lan2 { label = "bt:green:lan2"; gpios = <&gpio 5 0>; }; - port2orange { - label = "bt:orange:port2"; + port2green { + label = "bt:green:port2"; gpios = <&gpio 7 0>; }; power2 { @@ -166,7 +175,7 @@ gpios = <&gpio 14 1>; }; dsl { - label = "dsl"; + label = "bt:green:dsl"; gpios = <&gpio 19 1>; }; power { |