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

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 21 12:42:27 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/548c5935bfd5783323b23bb431425ac4c6d6adee

commit 548c5935bfd5783323b23bb431425ac4c6d6adee
Author: Mantas Pucka <mantas at 8devices.com>
AuthorDate: Mon Feb 12 15:09:30 2024 +0200

    qualcommax: ipq60xx: set correct PHY mode for port 0-4
    
    [port 8ed390a (qualcommax: set correct PHY mode for port 0-4) to ipq60xx]
    
    Port 0-4 have the mode set to SGMII instead of PSGMII. Now that we use
    he 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 ipq6018-ess.dtsi.
    
    Signed-off-by: Mantas Pucka <mantas at 8devices.com>
---
 .../qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi
index 92ff7c2a5a..ad4357bb37 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi
@@ -457,7 +457,7 @@
 		reg = <0x0 0x3a001000 0x0 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -468,7 +468,7 @@
 		reg = <0x0 0x3a001200 0x0 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -479,7 +479,7 @@
 		reg = <0x0 0x3a001400 0x0 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 
@@ -490,7 +490,7 @@
 		reg = <0x0 0x3a001600 0x0 0x200>;
 		qcom,mactype = <0>;
 		local-mac-address = [000000000000];
-		phy-mode = "sgmii";
+		phy-mode = "psgmii";
 		status = "disabled";
 	};
 




More information about the lede-commits mailing list