[PATCH v9 09/10] arm64: dts: ls1088a: Prevent PCSs from probing as phys

Sean Anderson sean.anderson at seco.com
Fri Dec 30 11:01:38 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>

---

(no changes since v8)

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 ecf9d830e36f..3f7536ed2ced 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -823,7 +823,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>;
 			};
 		};
@@ -836,7 +837,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>;
 			};
 		};
@@ -849,19 +851,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>;
 			};
 		};
@@ -874,19 +880,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