openwrt-pf/target/linux/qualcommax/patches-6.12/0715-arm64-dts-qcom-ipq5018-add-vendor-compatible-to-mdio-node.patch
Julius Bairaktaris 9f2dec7ef9
qualcommax: restore files for v6.12
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.

For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html

Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Link: https://github.com/openwrt/openwrt/pull/24031
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-27 09:34:37 +02:00

20 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
@@ -219,7 +219,7 @@
};
mdio0: mdio@88000 {
- compatible = "qcom,ipq5018-mdio";
+ compatible = "qcom,ipq5018-mdio", "qcom,ipq40xx-mdio";
reg = <0x00088000 0x64>,
<0x019475c4 0x4>;
#address-cells = <1>;