diff mbox series

[07/11] arm64: tegra: Add clock for Tegra234 RTC

Message ID 20211112123542.3680629-8-thierry.reding@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: tegra: Add NVIDIA Jetson AGX Orin support | expand

Commit Message

Thierry Reding Nov. 12, 2021, 12:35 p.m. UTC
From: Mikko Perttunen <mperttunen@nvidia.com>

The RTC device requires a clock. Add it.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
index 28961ed31d87..400c01acc19f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi
@@ -93,6 +93,8 @@  rtc@c2a0000 {
 			reg = <0x0c2a0000 0x10000>;
 			interrupt-parent = <&pmc>;
 			interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&bpmp TEGRA234_CLK_CLK_32K>;
+			clock-names = "rtc";
 			status = "disabled";
 		};