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 204a207ff4bd8cd183a1a7f3a64aade4c00ffd36..de70b5ff7fe617ba5e3cdc1f59ea7f61e7008d4a 100644 (file)
                        vmmc-supply = <&vdd_emmc_3v3>;
                };
 
+               rtc@c2a0000 {
+                       status = "okay";
+               };
+
                pmc@c360000 {
                        nvidia,invert-interrupt;
                };