diff mbox series

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

Message ID 20240131022731.2118-1-ansuelsmth@gmail.com (mailing list archive)
State Accepted
Headers show
Series arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node | expand

Commit Message

Christian Marangi Jan. 31, 2024, 2:27 a.m. UTC
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.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Konrad Dybcio Feb. 1, 2024, 7:27 p.m. UTC | #1
On 31.01.2024 03:27, Christian Marangi wrote:
> 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.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
Bjorn Andersson Feb. 7, 2024, 4:46 a.m. UTC | #2
On Wed, 31 Jan 2024 03:27:29 +0100, Christian Marangi wrote:
> 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,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 2f275c84e566..08ddfeece043 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -264,6 +264,8 @@  mdio: mdio@90000 {
 			clocks = <&gcc GCC_MDIO_AHB_CLK>;
 			clock-names = "gcc_mdio_ahb_clk";
 
+			clock-frequency = <6250000>;
+
 			status = "disabled";
 		};