Commit 5c9347e8 authored by Andrew Lunn's avatar Andrew Lunn Committed by Shawn Guo
Browse files

ARM: dts: imx51: ZII: Add missing phy-mode



The DSA framework has got more picky about always having a phy-mode
for the CPU port. The imx51 Ethernet supports MII, and RMII. Set the
switch phy-mode based on how the SoC Ethernet port has been
configured.

Additionally, the cpu label has never actually been used in the
binding, so remove it.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 63a208bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ ports {

				port@0 {
					reg = <0>;
					label = "cpu";
					phy-mode = "rev-mii";
					ethernet = <&fec>;

					fixed-link {
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ port@3 {

				port@4 {
					reg = <4>;
					label = "cpu";
					phy-mode = "rev-mii";
					ethernet = <&fec>;

					fixed-link {
+0 −1
Original line number Diff line number Diff line
@@ -267,7 +267,6 @@ fixed-link {

				port@6 {
					reg = <6>;
					label = "cpu";
					phy-mode = "mii";
					ethernet = <&fec>;