qualcommax: ipq807x: correct PHY mode for AQR
authorRobert Marko <robimarko@gmail.com>
Sat, 17 Feb 2024 16:39:22 +0000 (17:39 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 17 Feb 2024 16:39:22 +0000 (17:39 +0100)
Interfaces that have AQR-s attached to them are using USXGMII and not just
the default SGMII.
This was fine until SSDK added some sanity checking and now on Qnap 301W it
would fail with:
[   24.740197] nss-dp 3a001800.dp5 10g-1 (uninitialized): failed to connect to phy device
[   24.740264] nss-dp: probe of 3a001800.dp5 failed with error -14

Since this is not Qnap 301W specific lets fix it subtarget wide by
declaring the correct PHY mode for 10G AQR-s.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-haze.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-wxr-5950ax12.dts

index 70cc2921c72a876c2c1d92b06f8dba080f4aa623..289680d678be0735126da28c54566858c6a4b382 100644 (file)
 &dp6_syn {
        status = "okay";
        qcom,mactype = <1>;
+       phy-mode = "usxgmii";
        phy-handle = <&aqr113c>;
        label = "wan";
 };
index 5d7d84ac52dba63919bcff04b3a8e739cdba955d..ac3077b29d94df8e482e52c0ee185ccf456568a4 100644 (file)
 
 &dp6_syn {
        status = "okay";
+       phy-mode = "usxgmii";
        phy-handle = <&aqr113c>;
        label = "10g";
        nvmem-cells = <&macaddr_lan 0>;
index 5b9a45e9610ca276f7ee66e84d2da6670d926044..0be50603ba5946f644be37ff783fe4da50ea0bf1 100644 (file)
 
 &dp6_syn {
        status = "okay";
+       phy-mode = "usxgmii";
        phy-handle = <&aqr111b0>;
        label = "lan5";
        nvmem-cells = <&macaddr_dp6_syn>;
index a0631b3b712bb84bca7060e3d49386f53a64df49..d6411e4fa5ec5f0f6112217ada86abcd24b58d08 100644 (file)
 
 &dp5_syn {
        status = "okay";
+       phy-mode = "usxgmii";
        phy-handle = <&aqr113c_1>;
        label = "wan";
        nvmem-cells = <&macaddr_appsblenv_ethaddr>;
 
 &dp6_syn {
        status = "okay";
+       phy-mode = "usxgmii";
        phy-handle = <&aqr113c_2>;
        label = "lan1";
        nvmem-cells = <&macaddr_appsblenv_ethaddr>;