qualcommbe: drop "uniphy" from pcs node labels
authorAlexandru Gagniuc <[email protected]>
Fri, 7 Nov 2025 02:59:37 +0000 (20:59 -0600)
committerRobert Marko <[email protected]>
Sun, 30 Nov 2025 15:51:12 +0000 (16:51 +0100)
According to Qualcomm developers, the pcs nodes on IPQ9574 will be
labeled "pcs<n>" and "pcs<n>_ch<m>". The proposed IPQ5424 changes
include the simpler labels. Rename the IPQ95xx nodes for consistency.

Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20993
Signed-off-by: Robert Marko <[email protected]>
target/linux/qualcommbe/files/arch/arm64/boot/dts/qcom/ipq9570-kiwi-dvk.dts
target/linux/qualcommbe/patches-6.12/0322-arm64-dts-qcom-ipq9574-add-PCS-uniphy-nodes.patch
target/linux/qualcommbe/patches-6.12/0353-arm64-dts-qcom-Add-IPQ9574-PPE-base-device-node.patch
target/linux/qualcommbe/patches-6.12/0354-arm64-dts-qcom-Add-EDMA-node-for-IPQ9574.patch
target/linux/qualcommbe/patches-6.12/0355-arm64-dts-qcom-Add-IPQ9574-RDP433-port-node.patch
target/linux/qualcommbe/patches-6.12/0357-arm64-dts-qcom-Add-label-to-EDMA-port-for-IPQ9574-RD.patch
target/linux/qualcommbe/patches-6.12/0359-arm64-dts-qcom-ipq9574-add-NSSNOC-clock-to-nss-node.patch

index 19cc7e980744634a788800803857966d779abc54..903772f7cc93cda25bf1c34f296945e294bf0070 100644 (file)
@@ -83,7 +83,7 @@
                        managed = "in-band-status";
                        label = "wan";
                        sfp = <&sfp0>;
-                       pcs-handle = <&pcsuniphy0_ch0>;
+                       pcs-handle = <&pcs0_ch0>;
                        local-mac-address = [00 00 00 00 00 00];
                        clocks = <&nsscc NSS_CC_PORT1_MAC_CLK>,
                                 <&nsscc NSS_CC_PORT1_RX_CLK>,
                        phy-mode = "2500base-x";
                        label = "lan1";
                        phy-handle = <&phy0>;
-                       pcs-handle = <&pcsuniphy1_ch0>;
+                       pcs-handle = <&pcs1_ch0>;
                        local-mac-address = [00 00 00 00 00 00];
                        clocks = <&nsscc NSS_CC_PORT5_MAC_CLK>,
                                 <&nsscc NSS_CC_PORT5_RX_CLK>,
                        managed = "in-band-status";
                        label = "lan2";
                        phy-handle = <&phy1>;
-                       pcs-handle = <&pcsuniphy2_ch0>;
+                       pcs-handle = <&pcs2_ch0>;
                        local-mac-address = [00 00 00 00 00 00];
                        clocks = <&nsscc NSS_CC_PORT6_MAC_CLK>,
                                 <&nsscc NSS_CC_PORT6_RX_CLK>,
index 3d2219813cb072a6fae0acf297f84bae6bac58e3..29c20a240aebd003cece3ab33f2fa662684326f7 100644 (file)
@@ -34,12 +34,12 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 -                               <0>,
 -                               <0>,
 -                               <0>,
-+                               <&pcs_uniphy0 0>,
-+                               <&pcs_uniphy0 1>,
-+                               <&pcs_uniphy1 0>,
-+                               <&pcs_uniphy1 1>,
-+                               <&pcs_uniphy2 0>,
-+                               <&pcs_uniphy2 1>,
++                               <&pcs0 0>,
++                               <&pcs0 1>,
++                               <&pcs1 0>,
++                               <&pcs1 1>,
++                               <&pcs2 0>,
++                               <&pcs2 1>,
                                 <&gcc GCC_NSSCC_CLK>;
                        clock-names = "xo",
                                      "nss_1200",
@@ -48,7 +48,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
                        #interconnect-cells = <1>;
                };
 +
-+              pcs_uniphy0: ethernet-pcs@7a00000 {
++              pcs0: ethernet-pcs@7a00000 {
 +                      compatible = "qcom,ipq9574-pcs";
 +                      reg = <0x7a00000 0x10000>;
 +                      #address-cells = <1>;
@@ -66,7 +66,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +
 +                      #clock-cells = <1>;
 +
-+                      pcsuniphy0_ch0: pcs-mii@0 {
++                      pcs0_ch0: pcs-mii@0 {
 +                              reg = <0>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT1_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT1_TX_CLK>;
@@ -74,7 +74,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                            "tx";
 +                      };
 +
-+                      pcsuniphy0_ch1: pcs-mii@1 {
++                      pcs0_ch1: pcs-mii@1 {
 +                              reg = <1>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT2_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT2_TX_CLK>;
@@ -82,7 +82,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                            "tx";
 +                      };
 +
-+                      pcsuniphy0_ch2: pcs-mii@2 {
++                      pcs0_ch2: pcs-mii@2 {
 +                              reg = <2>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT3_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT3_TX_CLK>;
@@ -90,7 +90,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                            "tx";
 +                      };
 +
-+                      pcsuniphy0_ch3: pcs-mii@3 {
++                      pcs0_ch3: pcs-mii@3 {
 +                              reg = <3>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT4_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT4_TX_CLK>;
@@ -99,7 +99,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                      };
 +              };
 +
-+              pcs_uniphy1: ethernet-pcs@7a10000 {
++              pcs1: ethernet-pcs@7a10000 {
 +                      #address-cells = <1>;
 +                      #size-cells = <0>;
 +                      compatible = "qcom,ipq9574-pcs";
@@ -116,7 +116,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                    "xpcs";
 +                      #clock-cells = <1>;
 +
-+                      pcsuniphy1_ch0: pcs-mii@0 {
++                      pcs1_ch0: pcs-mii@0 {
 +                              reg = <0>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT5_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT5_TX_CLK>;
@@ -125,7 +125,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                      };
 +              };
 +
-+              pcs_uniphy2: ethernet-pcs@7a20000 {
++              pcs2: ethernet-pcs@7a20000 {
 +                      compatible = "qcom,ipq9574-pcs";
 +                      reg = <0x7a20000 0x10000>;
 +                      #address-cells = <1>;
@@ -142,7 +142,7 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                    "xpcs";
 +                      #clock-cells = <1>;
 +
-+                      pcsuniphy2_ch0: pcs-mii@0 {
++                      pcs2_ch0: pcs-mii@0 {
 +                              reg = <0>;
 +                              clocks = <&nsscc NSS_CC_UNIPHY_PORT6_RX_CLK>,
 +                                       <&nsscc NSS_CC_UNIPHY_PORT6_TX_CLK>;
index 2f50bbddd0a7ed3780ca56ef4fa9214c6572c7dc..640a2a9f02db243175743646ac03713a79e84ad2 100644 (file)
@@ -67,6 +67,6 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 +                                           "memnoc_nssnoc_1";
 +              };
 +
-               pcs_uniphy0: ethernet-pcs@7a00000 {
+               pcs0: ethernet-pcs@7a00000 {
                        compatible = "qcom,ipq9574-pcs";
                        reg = <0x7a00000 0x10000>;
index 5a61f92026f6ede6c03475acc6b5ff26153396fd..f93ed0c37e1521f633f23b1d9b2c36c241fd2414 100644 (file)
@@ -88,4 +88,4 @@ Signed-off-by: Pavithra R <[email protected]>
 +                      };
                };
  
-               pcs_uniphy0: ethernet-pcs@7a00000 {
+               pcs0: ethernet-pcs@7a00000 {
index 708c0c8a633f44f6320e1d5a50e4c29631555046..b7a703529cc9b741b6f1ff1c71a14ad11a698e92 100644 (file)
@@ -79,7 +79,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "qsgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy0>;
-+                      pcs-handle = <&pcsuniphy0_ch0>;
++                      pcs-handle = <&pcs0_ch0>;
 +                      clocks = <&nsscc NSS_CC_PORT1_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT1_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT1_TX_CLK>;
@@ -99,7 +99,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "qsgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy1>;
-+                      pcs-handle = <&pcsuniphy0_ch1>;
++                      pcs-handle = <&pcs0_ch1>;
 +                      clocks = <&nsscc NSS_CC_PORT2_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT2_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT2_TX_CLK>;
@@ -119,7 +119,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "qsgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy2>;
-+                      pcs-handle = <&pcsuniphy0_ch2>;
++                      pcs-handle = <&pcs0_ch2>;
 +                      clocks = <&nsscc NSS_CC_PORT3_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT3_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT3_TX_CLK>;
@@ -139,7 +139,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "qsgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy3>;
-+                      pcs-handle = <&pcsuniphy0_ch3>;
++                      pcs-handle = <&pcs0_ch3>;
 +                      clocks = <&nsscc NSS_CC_PORT4_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT4_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT4_TX_CLK>;
@@ -159,7 +159,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "usxgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy4>;
-+                      pcs-handle = <&pcsuniphy1_ch0>;
++                      pcs-handle = <&pcs1_ch0>;
 +                      clocks = <&nsscc NSS_CC_PORT5_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT5_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT5_TX_CLK>;
@@ -179,7 +179,7 @@ Signed-off-by: Lei Wei <[email protected]>
 +                      phy-mode = "usxgmii";
 +                      managed = "in-band-status";
 +                      phy-handle = <&phy5>;
-+                      pcs-handle = <&pcsuniphy2_ch0>;
++                      pcs-handle = <&pcs2_ch0>;
 +                      clocks = <&nsscc NSS_CC_PORT6_MAC_CLK>,
 +                               <&nsscc NSS_CC_PORT6_RX_CLK>,
 +                               <&nsscc NSS_CC_PORT6_TX_CLK>;
index bac7f16635673a3b88dacb6580db55718b9b05f1..950c9faf3ca1419ec15a54afde857819484fd4b2 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "lan1";
                        phy-handle = <&phy0>;
-                       pcs-handle = <&pcsuniphy0_ch0>;
+                       pcs-handle = <&pcs0_ch0>;
                        clocks = <&nsscc NSS_CC_PORT1_MAC_CLK>,
 @@ -237,6 +238,7 @@
                        reg = <2>;
@@ -26,7 +26,7 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "lan2";
                        phy-handle = <&phy1>;
-                       pcs-handle = <&pcsuniphy0_ch1>;
+                       pcs-handle = <&pcs0_ch1>;
                        clocks = <&nsscc NSS_CC_PORT2_MAC_CLK>,
 @@ -257,6 +259,7 @@
                        reg = <3>;
@@ -34,7 +34,7 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "lan3";
                        phy-handle = <&phy2>;
-                       pcs-handle = <&pcsuniphy0_ch2>;
+                       pcs-handle = <&pcs0_ch2>;
                        clocks = <&nsscc NSS_CC_PORT3_MAC_CLK>,
 @@ -277,6 +280,7 @@
                        reg = <4>;
@@ -42,7 +42,7 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "lan4";
                        phy-handle = <&phy3>;
-                       pcs-handle = <&pcsuniphy0_ch3>;
+                       pcs-handle = <&pcs0_ch3>;
                        clocks = <&nsscc NSS_CC_PORT4_MAC_CLK>,
 @@ -297,6 +301,7 @@
                        reg = <5>;
@@ -50,7 +50,7 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "lan5";
                        phy-handle = <&phy4>;
-                       pcs-handle = <&pcsuniphy1_ch0>;
+                       pcs-handle = <&pcs1_ch0>;
                        clocks = <&nsscc NSS_CC_PORT5_MAC_CLK>,
 @@ -317,6 +322,7 @@
                        reg = <6>;
@@ -58,5 +58,5 @@ Signed-off-by: Christian Marangi <[email protected]>
                        managed = "in-band-status";
 +                      label = "wan";
                        phy-handle = <&phy5>;
-                       pcs-handle = <&pcsuniphy2_ch0>;
+                       pcs-handle = <&pcs2_ch0>;
                        clocks = <&nsscc NSS_CC_PORT6_MAC_CLK>,
index c847550d9df8d8988c6cb65156b9ae8335463990..c32f077a01aeb642d9c4dae68f241a85644010c5 100644 (file)
@@ -17,9 +17,9 @@ Signed-off-by: Alexandru Gagniuc <[email protected]>
 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
 +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
 @@ -1255,7 +1255,10 @@
-                                <&pcs_uniphy1 1>,
-                                <&pcs_uniphy2 0>,
-                                <&pcs_uniphy2 1>,
+                                <&pcs1 1>,
+                                <&pcs2 0>,
+                                <&pcs2 1>,
 -                               <&gcc GCC_NSSCC_CLK>;
 +                               <&gcc GCC_NSSCC_CLK>,
 +                               <&gcc GCC_NSSNOC_NSSCC_CLK>,