[PATCH v2 2/2] arm64: dts: qcom: ipq5018: Enable MDIO buses and add ethernet PHY
From: Luo Jie
Date: Fri Aug 14 2026 - 10:23:05 EST
Both the internal (mdio0) and external (mdio1) MDIO buses are present
in the SoC dtsi but left disabled at the board level, so the board
currently has no way to talk to PHYs on either bus.
The RDP432-c2 board uses the SoC-integrated EPHY on mdio0 and an
external QCA8081 PHY on mdio1 for its Ethernet connections. Enable
mdio0 and mdio1 with a 6.25MHz MDIO clock, and describe the QCA8081
PHY at address 0x1c on mdio1.
Signed-off-by: Luo Jie <jie.luo@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
index 33eef92b19b1..aed8359b1931 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -30,6 +30,20 @@ &blsp1_uart1 {
status = "okay";
};
+&mdio0 {
+ clock-frequency = <6250000>;
+ status = "okay";
+};
+
+&mdio1 {
+ clock-frequency = <6250000>;
+ status = "okay";
+
+ ethernet-phy@1c {
+ reg = <0x1c>;
+ };
+};
+
&pcie0 {
pinctrl-0 = <&pcie0_default>;
pinctrl-names = "default";
--
2.43.0