qualcommax: ipq60xx: set correct PHY mode for port 0-4
authorMantas Pucka <mantas@8devices.com>
Mon, 12 Feb 2024 13:09:30 +0000 (15:09 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 21 Feb 2024 20:42:23 +0000 (21:42 +0100)
[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@8devices.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-ess.dtsi

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