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

ARM: dts: imx6qdl: Add missing phy-mode and fixed links

The DSA framework has got more picky about always having a phy-mode
for the CPU port. Add a phy-mode based on what the SoC ethernet is
using. For RGMII mode, have the switch add the delays.

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

Lastly add a fixed-link node indicating the expected speed/duplex of
the link to the SoC.
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 5c9347e8
......@@ -238,8 +238,13 @@ port@3 {
port@5 {
reg = <5>;
label = "cpu";
ethernet = <&fec>;
phy-mode = "rgmii-id";
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
};
......
......@@ -757,7 +757,7 @@ port@1 {
port@2 {
reg = <2>;
label = "cpu";
phy-mode = "rev-rmii";
ethernet = <&fec>;
fixed-link {
......
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