[PATCH v8 8/9] arm64: dts: ls1088a: Prevent PCSs from probing as phys

Sean Anderson sean.anderson at seco.com
Fri Oct 28 06:11:12 AEDT 2022


The internal PCSs are not always accessible during boot (such as if the
serdes has deselected the appropriate link mode). Give them appropriate
compatible strings so they don't automatically (fail to) probe as
genphys.

Signed-off-by: Sean Anderson <sean.anderson at seco.com>

---

Changes in v8:
- New

 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 30 ++++++++++++-------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 3810d66f8725..7603ea6328d2 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -817,7 +817,8 @@ pcs_mdio1: mdio at 8c07000 {
 			#size-cells = <0>;
 			status = "disabled";
 
-			pcs1: ethernet-phy at 0 {
+			pcs1: ethernet-pcs at 0 {
+				compatible = "fsl,lynx-pcs";
 				reg = <0>;
 			};
 		};
@@ -830,7 +831,8 @@ pcs_mdio2: mdio at 8c0b000 {
 			#size-cells = <0>;
 			status = "disabled";
 
-			pcs2: ethernet-phy at 0 {
+			pcs2: ethernet-pcs at 0 {
+				compatible = "fsl,lynx-pcs";
 				reg = <0>;
 			};
 		};
@@ -843,19 +845,23 @@ pcs_mdio3: mdio at 8c0f000 {
 			#size-cells = <0>;
 			status = "disabled";
 
-			pcs3_0: ethernet-phy at 0 {
+			pcs3_0: ethernet-pcs at 0 {
+				compatible = "fsl,lynx-pcs";
 				reg = <0>;
 			};
 
-			pcs3_1: ethernet-phy at 1 {
+			pcs3_1: ethernet-pcs at 1 {
+				compatible = "fsl,lynx-pcs";
 				reg = <1>;
 			};
 
-			pcs3_2: ethernet-phy at 2 {
+			pcs3_2: ethernet-pcs at 2 {
+				compatible = "fsl,lynx-pcs";
 				reg = <2>;
 			};
 
-			pcs3_3: ethernet-phy at 3 {
+			pcs3_3: ethernet-pcs at 3 {
+				compatible = "fsl,lynx-pcs";
 				reg = <3>;
 			};
 		};
@@ -868,19 +874,23 @@ pcs_mdio7: mdio at 8c1f000 {
 			#size-cells = <0>;
 			status = "disabled";
 
-			pcs7_0: ethernet-phy at 0 {
+			pcs7_0: ethernet-pcs at 0 {
+				compatible = "fsl,lynx-pcs";
 				reg = <0>;
 			};
 
-			pcs7_1: ethernet-phy at 1 {
+			pcs7_1: ethernet-pcs at 1 {
+				compatible = "fsl,lynx-pcs";
 				reg = <1>;
 			};
 
-			pcs7_2: ethernet-phy at 2 {
+			pcs7_2: ethernet-pcs at 2 {
+				compatible = "fsl,lynx-pcs";
 				reg = <2>;
 			};
 
-			pcs7_3: ethernet-phy at 3 {
+			pcs7_3: ethernet-pcs at 3 {
+				compatible = "fsl,lynx-pcs";
 				reg = <3>;
 			};
 		};
-- 
2.35.1.1320.gc452695387.dirty



More information about the Linuxppc-dev mailing list