[openwrt/openwrt] qualcommax: set correct PHY mode for port 0-4

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 11 12:18:07 PST 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8ed390ac768606c0072602701c0723debb54282f

commit 8ed390ac768606c0072602701c0723debb54282f
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Nov 15 00:59:59 2023 +0100

    qualcommax: set correct PHY mode for port 0-4
    
    Port 0-4 have the mode set to SGMII instead of PSGMII. Now that we use
    the upstream qca807x driver, this conflicts with the qca SSDK driver
    that expects the mode to be PSGMII as for not integrated driver, it does
    refer to the real PHY mode.
    
    Update the entry for port 0-4 to PSGMII to solve warning from qca SSDK
    in ipq8074-ess.dtsi.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi
index d3f4211ecf..a1e2d01e8f 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi
@@ -476,7 +476,7 @@
 		reg = <0x3a001000 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -487,7 +487,7 @@
 		reg = <0x3a001200 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -498,7 +498,7 @@
 		reg = <0x3a001400 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -509,7 +509,7 @@
 		reg = <0x3a001600 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 




More information about the lede-commits mailing list