powerpc/kmcent2: update the ethernet devices' phy properties
authorValentin Longchamp <valentin@longchamp.me>
Sun, 14 Jul 2019 20:05:01 +0000 (22:05 +0200)
committerScott Wood <oss@buserror.net>
Sun, 17 Nov 2019 07:53:57 +0000 (01:53 -0600)
Change all phy-connection-type properties to phy-mode that are better
supported by the fman driver.

Use the more readable fixed-link node for the 2 sgmii links.

Change the RGMII link to rgmii-id as the clock delays are added by the
phy.

Signed-off-by: Valentin Longchamp <valentin@longchamp.me>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/boot/dts/fsl/kmcent2.dts

index 48b7f97..c3e0741 100644 (file)
 
                fman@400000 {
                        ethernet@e0000 {
-                               fixed-link = <0 1 1000 0 0>;
-                               phy-connection-type = "sgmii";
+                               phy-mode = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
                        };
 
                        ethernet@e2000 {
-                               fixed-link = <1 1 1000 0 0>;
-                               phy-connection-type = "sgmii";
+                               phy-mode = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
                        };
 
                        ethernet@e4000 {
 
                        ethernet@e8000 {
                                phy-handle = <&front_phy>;
-                               phy-connection-type = "rgmii";
+                               phy-mode = "rgmii-id";
                        };
 
                        mdio0: mdio@fc000 {