ARM: dts: armada: Add missing phy-mode and fixed links
authorAndrew Lunn <andrew@lunn.ch>
Fri, 7 Apr 2023 15:17:22 +0000 (17:17 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 7 Apr 2023 15:28:24 +0000 (17:28 +0200)
commit0939de7d89d2efc4f565ce1961b4020787e9f297
tree65788ceb5eb7d0fa9c1e056eda3c01cf5312d02b
parente2e1bcb19b7522a582026460bf5d49fd2ac15e62
ARM: dts: armada: 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 Armada Ethernet supports RGMII, SGMII,
1000base-x and 2500Base-X. Set the switch phy-mode based on how the
SoC Ethernet ports is been configured. 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: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-370-rd.dts
arch/arm/boot/dts/armada-381-netgear-gs110emx.dts
arch/arm/boot/dts/armada-385-clearfog-gtr-l8.dts
arch/arm/boot/dts/armada-385-clearfog-gtr-s4.dts
arch/arm/boot/dts/armada-385-linksys.dtsi
arch/arm/boot/dts/armada-385-turris-omnia.dts
arch/arm/boot/dts/armada-xp-linksys-mamba.dts