diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-04-07 17:17:22 +0200 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2023-04-07 17:28:24 +0200 |
commit | 0939de7d89d2efc4f565ce1961b4020787e9f297 (patch) | |
tree | 65788ceb5eb7d0fa9c1e056eda3c01cf5312d02b /arch/arm/boot/dts/armada-385-linksys.dtsi | |
parent | ARM: dts: orion5: Add missing phy-mode and fixed links (diff) | |
download | linux-0939de7d89d2efc4f565ce1961b4020787e9f297.tar.xz linux-0939de7d89d2efc4f565ce1961b4020787e9f297.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/armada-385-linksys.dtsi')
-rw-r--r-- | arch/arm/boot/dts/armada-385-linksys.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi index 85e8d966f6c1..fc8216fd9f60 100644 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi @@ -195,7 +195,7 @@ port@5 { reg = <5>; - label = "cpu"; + phy-mode = "sgmii"; ethernet = <ð2>; fixed-link { |