Commit e2e1bcb1 authored by Andrew Lunn's avatar Andrew Lunn Committed by Gregory CLEMENT
Browse files

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: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 8aea8659
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -137,8 +137,12 @@

			port@3 {
				reg = <3>;
				label = "cpu";
				ethernet = <&ethport>;
				phy-mode = "rgmii-id";
				fixed-link {
					speed = <1000>;
					full-duplex;
				};
			};

			port@5 {
@@ -208,6 +212,7 @@
		/* Hardwired to DSA switch */
		speed = <1000>;
		duplex = <1>;
		phy-mode = "rgmii";
	};
};