[PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch

Valentin Longchamp valentin.longchamp at ch.abb.com
Thu Nov 30 20:31:39 AEDT 2017


From: Valentin Longchamp <valentin.longchamp at keymile.com>
Sent: Thursday, November 30, 2017 10:16
To: oss at buserror.net; linuxppc-dev at lists.ozlabs.org
Cc: devicetree at vger.kernel.org; valentin.longchamp at keymile.com
Subject: [PATCH] powerpc/kmcent2: update the ethernet nodes to the internal switch

Sorry for the noise, please ignore this patch, I've messed up my rebase with our internal tree.

The fman driver only calls of_get_phy_node, ignoring the
phy-connection-type field. While we're at it, update the fixed link to
the new more readable way to specify it.

Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
---
 arch/powerpc/boot/dts/fsl/kmcent2.dts | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/boot/dts/fsl/kmcent2.dts b/arch/powerpc/boot/dts/fsl/kmcent2.dts
index 5922c1ea0e96..b53ff8f71474 100644
--- a/arch/powerpc/boot/dts/fsl/kmcent2.dts
+++ b/arch/powerpc/boot/dts/fsl/kmcent2.dts
@@ -214,13 +214,19 @@

                fman at 400000 {
                        ethernet at e0000 {
-                               fixed-link = <0 1 1000 0 0>;
-                               phy-connection-type = "sgmii";
+                               phy-mode = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
                        };

                        ethernet at e2000 {
-                               fixed-link = <1 1 1000 0 0>;
-                               phy-connection-type = "sgmii";
+                               phy-mode = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
                        };

                        ethernet at e4000 {
--
2.14.3

    


More information about the Linuxppc-dev mailing list