Commit 37e5a31d authored by Thierry Reding's avatar Thierry Reding
Browse files

arm64: tegra: Add RTC support on Tegra194



The RTC on Tegra194 is very similar to the RTC on earlier generations.
One notable exception is that the source clock is now the 32 kHz clock
instead of a dedicated RTC clock and the RTC alarm is a wake event and
can be used to wake the system from sleep.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 38ecf1e5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -399,6 +399,16 @@
			status = "disabled";
		};

		rtc: rtc@c2a0000 {
			compatible = "nvidia,tegra194-rtc", "nvidia,tegra20-rtc";
			reg = <0x0c2a0000 0x10000>;
			interrupt-parent = <&pmc>;
			interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&bpmp TEGRA194_CLK_CLK_32K>;
			clock-names = "rtc";
			status = "disabled";
		};

		pwm4: pwm@c340000 {
			compatible = "nvidia,tegra194-pwm",
				     "nvidia,tegra186-pwm";