diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-27 21:27:54 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-28 22:42:16 +0200 |
commit | 47cce1d5e45c1e6c5bb5659698408d4cea4e03a4 (patch) | |
tree | bd87f3917877bd6c381dfa4fb45d29f825ee3110 /target/linux/lantiq/dts/EASY80920.dtsi | |
parent | 6b5a4185122b8c9edfb16e0ac70802733191ffe7 (diff) | |
download | upstream-47cce1d5e45c1e6c5bb5659698408d4cea4e03a4.tar.gz upstream-47cce1d5e45c1e6c5bb5659698408d4cea4e03a4.tar.bz2 upstream-47cce1d5e45c1e6c5bb5659698408d4cea4e03a4.zip |
lantiq: fix switch configuration for EASY80920
The device tree description misses some Ethernet ports and there was no
model specified for this board. In addition there was no switch
specific default configuration created.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/lantiq/dts/EASY80920.dtsi')
-rw-r--r-- | target/linux/lantiq/dts/EASY80920.dtsi | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi index 4e649976a2..47b7a07f2c 100644 --- a/target/linux/lantiq/dts/EASY80920.dtsi +++ b/target/linux/lantiq/dts/EASY80920.dtsi @@ -266,13 +266,19 @@ #address-cells = <1>; #size-cells = <0>; reg = <0>; - mac-address = [ 00 11 22 33 44 55 ]; + lantiq,switch; - ethernet@0 { + ethernet@4 { compatible = "lantiq,xrx200-pdi-port"; - reg = <0>; - phy-mode = "rgmii"; - phy-handle = <&phy0>; + reg = <4>; + phynmode0 = "gmii"; + phy-handle = <&phy13>; + }; + ethernet@2 { + compatible = "lantiq,xrx200-pdi-port"; + reg = <2>; + phy-mode = "gmii"; + phy-handle = <&phy11>; }; ethernet@1 { compatible = "lantiq,xrx200-pdi-port"; @@ -280,11 +286,11 @@ phy-mode = "rgmii"; phy-handle = <&phy1>; }; - ethernet@2 { + ethernet@0 { compatible = "lantiq,xrx200-pdi-port"; - reg = <2>; - phy-mode = "gmii"; - phy-handle = <&phy11>; + reg = <0>; + phy-mode = "rgmii"; + phy-handle = <&phy0>; }; }; @@ -293,8 +299,8 @@ #address-cells = <1>; #size-cells = <0>; reg = <1>; - mac-address = [ 00 11 22 33 44 56 ]; lantiq,wan; + ethernet@5 { compatible = "lantiq,xrx200-pdi-port"; reg = <5>; @@ -303,20 +309,6 @@ }; }; - test: interface@2 { - compatible = "lantiq,xrx200-pdi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <2>; - mac-address = [ 00 11 22 33 44 57 ]; - ethernet@4 { - compatible = "lantiq,xrx200-pdi-port"; - reg = <4>; - phynmode0 = "gmii"; - phy-handle = <&phy13>; - }; - }; - mdio@0 { #address-cells = <1>; #size-cells = <0>; |