[PATCH 1/2] arm64: dts: rockchip: add timer0 clocks on rk3368
Ezequiel Garcia
ezequiel at collabora.com
Sat Apr 24 20:19:45 BST 2021
The timer driver requires pclk and sclk clocks
to be present in the device tree node, so add them.
Signed-off-by: Ezequiel Garcia <ezequiel at collabora.com>
---
arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index 242f821a90ba..548be81c9d3f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -668,6 +668,8 @@ timer0: timer at ff810000 {
compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer";
reg = <0x0 0xff810000 0x0 0x20>;
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru PCLK_TIMER0>, <&cru SCLK_TIMER00>;
+ clock-names = "pclk", "timer";
};
spdif: spdif at ff880000 {
--
2.30.0
More information about the Linux-rockchip
mailing list