diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-07-17 22:25:01 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-07-25 11:05:15 +0200 |
commit | 0cce4d3cceba188b8b232ade7b93c2553243921d (patch) | |
tree | f23e0dfee6d977243b70ddb31b341319296055b5 /arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | |
parent | ARM: dts: imx6: RDU2: Add Micrel PHY to FEC (diff) | |
download | linux-0cce4d3cceba188b8b232ade7b93c2553243921d.tar.xz linux-0cce4d3cceba188b8b232ade7b93c2553243921d.zip |
ARM: dts: imx6: RDU2: Add DSA support for the Marvell 88E6352
The RDU2 has a Marvell 88E6352 switch. Both the FEC and the i210
Ethernet interfaces are connected to the switch. Make the FEC the DSA
"CPU" port, and the i210 as a regular port on the switch.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi index d7328e9166e9..add53277379d 100644 --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi @@ -624,6 +624,56 @@ phy-reset-duration = <100>; phy-supply = <®_3p3v>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + switch@0 { + compatible = "marvell,mv88e6085"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + dsa,member = <0 0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + label = "gigabit_proc"; + }; + + port@1 { + reg = <1>; + label = "netaux"; + }; + + port@2 { + reg = <2>; + label = "cpu"; + ethernet = <&fec>; + + fixed-link { + speed = <100>; + full-duplex; + }; + }; + + port@3 { + reg = <3>; + label = "netright"; + }; + + port@4 { + reg = <4>; + label = "netleft"; + }; + }; + }; + }; }; &usbh1 { |