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

The DSA framework has got more picky about always having a phy-mode
for the CPU port. The Orion5x Ethernet is an RGMII port. Set the
switch to impose the RGMII 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: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Andrew Lunn 2023-04-07 17:17:21 +02:00 committed by Gregory CLEMENT
parent 8aea8659a5
commit e2e1bcb19b

View File

@ -137,8 +137,12 @@ port@2 {
port@3 {
reg = <3>;
label = "cpu";
ethernet = <&ethport>;
phy-mode = "rgmii-id";
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@5 {
@ -208,6 +212,7 @@ ethernet-port@0 {
/* Hardwired to DSA switch */
speed = <1000>;
duplex = <1>;
phy-mode = "rgmii";
};
};