ARM: dts: kirkwood: Add missing phy-mode and fixed links
authorAndrew Lunn <andrew@lunn.ch>
Fri, 7 Apr 2023 15:17:20 +0000 (17:17 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 7 Apr 2023 15:28:24 +0000 (17:28 +0200)
The DSA framework has got more picky about always having a phy-mode
for the CPU port. The Kirkwood 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.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/kirkwood-dir665.dts
arch/arm/boot/dts/kirkwood-l-50.dts
arch/arm/boot/dts/kirkwood-linksys-viper.dts
arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
arch/arm/boot/dts/kirkwood-rd88f6281.dtsi

index f9f4b01..0c0851c 100644 (file)
 
                        port@6 {
                                reg = <6>;
-                               label = "cpu";
+                               phy-mode = "rgmii-id";
                                ethernet = <&eth0port>;
                                fixed-link {
                                        speed = <1000>;
        ethernet0-port@0 {
                speed = <1000>;
                duplex = <1>;
+               phy-mode = "rgmii";
        };
 };
 
index 60c1e94..9fd3581 100644 (file)
 
                        port@6 {
                                reg = <6>;
-                               label = "cpu";
                                phy-mode = "rgmii-id";
                                ethernet = <&eth1port>;
                                fixed-link {
        ethernet1-port@0 {
                speed = <1000>;
                duplex = <1>;
+               phy-mode = "rgmii";
        };
 };
 
index 2f9660f..27fd6e2 100644 (file)
 
                        port@5 {
                                reg = <5>;
-                               label = "cpu";
+                               phy-mode = "rgmii-id";
                                ethernet = <&eth0port>;
                                fixed-link {
                                        speed = <1000>;
        ethernet0-port@0 {
                speed = <1000>;
                duplex = <1>;
+               phy-mode = "rgmii";
        };
 };
 
index ced576a..5a77286 100644 (file)
 
                        port@5 {
                                reg = <5>;
-                               label = "cpu";
+                               phy-mode = "rgmii-id";
                                ethernet = <&eth0port>;
                                fixed-link {
                                        speed = <1000>;
        ethernet0-port@0 {
                speed = <1000>;
                duplex = <1>;
+               phy-mode = "rgmii";
        };
 };
 
index e21aa67..9d62f91 100644 (file)
 
                        port@5 {
                                reg = <5>;
-                               label = "cpu";
+                               phy-mode = "rgmii-id";
                                ethernet = <&eth0port>;
                                fixed-link {
                                        speed = <1000>;