qualcommax: set correct PHY mode for port 0-4
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 14 Nov 2023 23:59:59 +0000 (00:59 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 11 Feb 2024 20:12:29 +0000 (21:12 +0100)
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@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi

index d3f4211ecf9095865e76887f60a199bf782d5f2a..a1e2d01e8f75c6fd46e13f2d7b69157e04208818 100644 (file)
                reg = <0x3a001000 0x200>;
                qcom,mactype = <0>;
                local-mac-address = [000000000000];
-               phy-mode = "sgmii";
+               phy-mode = "psgmii";
                status = "disabled";
        };
 
                reg = <0x3a001200 0x200>;
                qcom,mactype = <0>;
                local-mac-address = [000000000000];
-               phy-mode = "sgmii";
+               phy-mode = "psgmii";
                status = "disabled";
        };
 
                reg = <0x3a001400 0x200>;
                qcom,mactype = <0>;
                local-mac-address = [000000000000];
-               phy-mode = "sgmii";
+               phy-mode = "psgmii";
                status = "disabled";
        };
 
                reg = <0x3a001600 0x200>;
                qcom,mactype = <0>;
                local-mac-address = [000000000000];
-               phy-mode = "sgmii";
+               phy-mode = "psgmii";
                status = "disabled";
        };