armbian_build/patch/kernel/archive/meson-6.9/0025-ARM-dts-meson-meson8-Add-the-clock-input-to-the-Ethe.patch
2024-06-06 13:32:13 +02:00

35 lines
1.2 KiB
Diff

From e1e3ba72f71b31abadff7ce2443b3cdeafbdacf1 Mon Sep 17 00:00:00 2001
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: Fri, 1 May 2020 23:47:47 +0200
Subject: [PATCH 25/96] ARM: dts: meson: meson8: Add the clock input to the
Ethernet controller
The Ethernet controller on Meson8 has an additional clock input from the
HHI clock controller. The clock signal provides the RMII reference clock
which is used to generate the internal 25MHz or 2.5MHz clocks depending
on the line speed.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
arch/arm/boot/dts/amlogic/meson8.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/amlogic/meson8.dtsi b/arch/arm/boot/dts/amlogic/meson8.dtsi
index f57be9ae1..b2be52915 100644
--- a/arch/arm/boot/dts/amlogic/meson8.dtsi
+++ b/arch/arm/boot/dts/amlogic/meson8.dtsi
@@ -613,8 +613,8 @@ temperature_calib: calib@1f4 {
};
&ethmac {
- clocks = <&clkc CLKID_ETH>;
- clock-names = "stmmaceth";
+ clocks = <&clkc CLKID_ETH>, <&clkc CLKID_ETH_CLK>;
+ clock-names = "stmmaceth", "ethernet";
power-domains = <&pwrc PWRC_MESON8_ETHERNET_MEM_ID>;
};
--
2.45.1