arm64: tegra: p2888: Enable on-die RTC
authorThierry Reding <treding@nvidia.com>
Wed, 28 Nov 2018 16:50:50 +0000 (17:50 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 3 Dec 2018 15:31:34 +0000 (16:31 +0100)
The on-die RTC isn't hooked up to a backup battery, so it isn't useful
to track time across reboots, but as long as power remains enabled, it
keeps track of time accurately and can be used to wake the system from
sleep, for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi

index 204a207..de70b5f 100644 (file)
                        vmmc-supply = <&vdd_emmc_3v3>;
                };
 
+               rtc@c2a0000 {
+                       status = "okay";
+               };
+
                pmc@c360000 {
                        nvidia,invert-interrupt;
                };