Skip to contentSkip to conversation

powerpc/kmcent2: update the ethernet nodes to the internal switch

PATCH In review Valentin Longchamp 2 participants 2 messages Nov 30, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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.

---
 arch/powerpc/boot/dts/fsl/kmcent2.dts | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
arch/powerpc/boot/dts/fsl/kmcent2.dts +10 -4
index 5922c1ea0e96..b53ff8f71474 100644
@@ -214,13 +214,19 @@
 
 		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 {
Signature · 5 lines
2.14.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20171130091621.6997-1-valentin.longchamp-SkAbAL50j+5BDgjK7y7TUQ@public.gmane.org

#2 lore raw

From: Valentin Longchamp <[email protected]>
Sent: Thursday, November 30, 2017 10:16
To: [email protected]; linuxppc-dev-uLR06cmDAlY/[email protected]
Cc: [email protected]; [email protected]
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.

---
 arch/powerpc/boot/dts/fsl/kmcent2.dts | 14 ++++++++++----

 1 file changed, 10 insertions(+), 4 deletions(-)
arch/powerpc/boot/dts/fsl/kmcent2.dts +0 -0
index 5922c1ea0e96..b53ff8f71474 100644
@@ -214,13 +214,19 @@
 

                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 {
--
2.14.3

    --

To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html