Skip to contentSkip to conversation

arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node

PATCH Applied Christian Marangi 3 participants 3 messages Jan 31, 2024 – Feb 7, 2024

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

PATCH 1/1 arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node

Add clock-frequency to MDIO node to set the MDC rate to 6.25Mhz instead of using the default value of 390KHz from MDIO default divider.

---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -0
index 2f275c84e566..08ddfeece043 100644
@@ -264,6 +264,8 @@ mdio: mdio@90000 {
 			clocks = <&gcc GCC_MDIO_AHB_CLK>;
 			clock-names = "gcc_mdio_ahb_clk";
 
+			clock-frequency = <6250000>;
+
 			status = "disabled";
 		};
 
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw
In reply to Christian Marangi
Quoted 4 lines · Christian Marangi

Add clock-frequency to MDIO node to set the MDC rate to 6.25Mhz instead of using the default value of 390KHz from MDIO default divider.

Applied, thanks!

[1/1] arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node

      commit: cb77d0ad460e2c97a00c02ed78afdf45476e5e5f

Best regards,

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