Commit 0cce4d3c authored by Andrew Lunn's avatar Andrew Lunn Committed by Shawn Guo

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: default avatarAndrew Lunn <andrew@lunn.ch>
Tested-by: default avatarChris Healy <cphealy@gmail.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent efb0e487
...@@ -624,6 +624,56 @@ &fec { ...@@ -624,6 +624,56 @@ &fec {
phy-reset-duration = <100>; phy-reset-duration = <100>;
phy-supply = <&reg_3p3v>; phy-supply = <&reg_3p3v>;
status = "okay"; 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 { &usbh1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment