ARM64: dts: marvell: cn9310: Add missing phy-mode
authorAndrew Lunn <andrew@lunn.ch>
Fri, 7 Apr 2023 15:18:39 +0000 (17:18 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 7 Apr 2023 15:41:05 +0000 (17:41 +0200)
The DSA framework has got more picky about always having a phy-mode
for the CPU port. The SoC Ethernet is being configured to
10gbase-r. Set the switch phy-mode based on this. Additionally, the
SoC Ethernet is using in-band signalling to determine the link speed,
so add same parameter to the switch.

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

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/cn9130-crb.dtsi

index 8e4ec24..32cfb3e 100644 (file)
 
                        port@a {
                                reg = <10>;
-                               label = "cpu";
                                ethernet = <&cp0_eth0>;
+                               phy-mode = "10gbase-r";
+                               managed = "in-band-status";
                        };
 
                };