mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-06 04:34:00 -05:00
qualcommbe: drop "uniphy" from pcs node labels
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 <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20993 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
6891dc2562
commit
cc6b9ff17b
@ -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>,
|
||||
@ -104,7 +104,7 @@
|
||||
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>,
|
||||
@ -126,7 +126,7 @@
|
||||
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>,
|
||||
|
||||
@ -34,12 +34,12 @@ Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||
- <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 <mr.nuke.me@gmail.com>
|
||||
#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 <mr.nuke.me@gmail.com>
|
||||
+
|
||||
+ #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 <mr.nuke.me@gmail.com>
|
||||
+ "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 <mr.nuke.me@gmail.com>
|
||||
+ "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 <mr.nuke.me@gmail.com>
|
||||
+ "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 <mr.nuke.me@gmail.com>
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ 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 <mr.nuke.me@gmail.com>
|
||||
+ "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 <mr.nuke.me@gmail.com>
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ 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 <mr.nuke.me@gmail.com>
|
||||
+ "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>;
|
||||
|
||||
@ -67,6 +67,6 @@ Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||
+ "memnoc_nssnoc_1";
|
||||
+ };
|
||||
+
|
||||
pcs_uniphy0: ethernet-pcs@7a00000 {
|
||||
pcs0: ethernet-pcs@7a00000 {
|
||||
compatible = "qcom,ipq9574-pcs";
|
||||
reg = <0x7a00000 0x10000>;
|
||||
|
||||
@ -88,4 +88,4 @@ Signed-off-by: Pavithra R <quic_pavir@quicinc.com>
|
||||
+ };
|
||||
};
|
||||
|
||||
pcs_uniphy0: ethernet-pcs@7a00000 {
|
||||
pcs0: ethernet-pcs@7a00000 {
|
||||
|
||||
@ -79,7 +79,7 @@ Signed-off-by: Lei Wei <quic_leiwei@quicinc.com>
|
||||
+ 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 <quic_leiwei@quicinc.com>
|
||||
+ 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 <quic_leiwei@quicinc.com>
|
||||
+ 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 <quic_leiwei@quicinc.com>
|
||||
+ 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 <quic_leiwei@quicinc.com>
|
||||
+ 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 <quic_leiwei@quicinc.com>
|
||||
+ 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>;
|
||||
|
||||
@ -18,7 +18,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
||||
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 <ansuelsmth@gmail.com>
|
||||
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 <ansuelsmth@gmail.com>
|
||||
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 <ansuelsmth@gmail.com>
|
||||
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 <ansuelsmth@gmail.com>
|
||||
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 <ansuelsmth@gmail.com>
|
||||
managed = "in-band-status";
|
||||
+ label = "wan";
|
||||
phy-handle = <&phy5>;
|
||||
pcs-handle = <&pcsuniphy2_ch0>;
|
||||
pcs-handle = <&pcs2_ch0>;
|
||||
clocks = <&nsscc NSS_CC_PORT6_MAC_CLK>,
|
||||
|
||||
@ -17,9 +17,9 @@ Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
||||
--- 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>,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user