Files
openwrt_mitrastar/target/linux/qualcommax/patches-6.12/0715-arm64-dts-qcom-ipq5018-add-vendor-compatible-to-mdio-node.patch
George Moussalem da2c83327f qualcommax: ipq50xx: update patches for IPQ5018 GE PHY
Use latest patches sent upstream for review for IPQ5018 GE PHY support:
- Move enablement of the LDO controller to the mdio-ipq4019 driver away
  from the CMN PLL driver
- Remove the different patches to add CDT, MSE, AZ, and DAC support they
  are all contained in the upstreamed driver.

Accordingly, also set the right property in the DTS for Linksys SPNMX56
to set the right DAC values to accommodate for the short cable length.

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-06-02 22:59:05 +02:00

21 lines
767 B
Diff

From: George Moussalem <george.moussalem@outlook.com>
Date: Wed, 28 May 2025 08:37:28 +0400
Subject: [PATCH] arm64: dts: qcom: ipq5018: Add vendor compatible to mdio bus
QCA SSDK needs to register the MDIO bus in its driver. Without a proper reference,
it will crash. Since it tries to look up the MDIO bus using compatible strings that
aren't upstreamed, add the vendor compatible.
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -201,7 +201,7 @@
};
mdio0: mdio@88000 {
- compatible = "qcom,ipq5018-mdio";
+ compatible = "qcom,ipq5018-mdio", "qcom,ipq40xx-mdio";
reg = <0x00088000 0x64>,
<0x019475c4 0x4>;
#address-cells = <1>;