[PATCH] arm64: tegra: Enable built-in RTC on Jetson AGX Thor

Thierry Reding <[email protected]>
Newsgroups org.kernel.vger.linux-tegra
Message-ID <[email protected]>
From: Thierry Reding <[email protected]>

The built-in RTC is mostly useful for testing suspend/resume cycles.

Signed-off-by: Thierry Reding <[email protected]>
---
 arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
index c4ba3322ed9a..113ecf297378 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
@@ -13,6 +13,12 @@ chosen {
 		stdout-path = "serial0:115200n8";
 	};
 
+	bus@0 {
+		rtc@c2c0000 {
+			status = "okay";
+		};
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.