Skip to contentSkip to conversation

arm64: dts: qcom: ipq8074: add MDIO bus

PATCH Applied Robert Marko 2 participants 2 messages Oct 7, 2021 – Nov 20, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: ipq8074: add MDIO bus

IPQ8074 uses an IPQ4019 compatible MDIO controller that is already supported in the kernel, so add the DT node in order to use it.

---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +12 -0
index 3a56e38158a4..5f562444c838 100644
@@ -267,6 +267,18 @@ pcie_phy1: phy@8e000 {
 			status = "disabled";
 		};
 
+		mdio: mdio@90000 {
+			compatible = "qcom,ipq4019-mdio";
+			reg = <0x00090000 0x64>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			clocks = <&gcc GCC_MDIO_AHB_CLK>;
+			clock-names = "gcc_mdio_ahb_clk";
+
+			status = "disabled";
+		};
+
 		prng: rng@e3000 {
 			compatible = "qcom,prng-ee";
 			reg = <0x000e3000 0x1000>;
Signature · 1 line
2.32.0
#1 lore raw

Re: (subset) [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus

Quoted 4 lines · Robert Marko

IPQ8074 uses an IPQ4019 compatible MDIO controller that is already supported in the kernel, so add the DT node in order to use it.

Applied, thanks!

[1/1] arm64: dts: qcom: ipq8074: add MDIO bus

      commit: d201f67714a302b12ad3d78b982963342939629c

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>