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

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
......@@ -181,7 +181,7 @@ ports {
port@0 {
reg = <0>;
label = "cpu";
phy-mode = "rev-mii";
ethernet = <&fec>;
fixed-link {
......
......@@ -82,7 +82,7 @@ port@3 {
port@4 {
reg = <4>;
label = "cpu";
phy-mode = "rev-mii";
ethernet = <&fec>;
fixed-link {
......
......@@ -267,7 +267,6 @@ fixed-link {
port@6 {
reg = <6>;
label = "cpu";
phy-mode = "mii";
ethernet = <&fec>;
......
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