Commit 9733a251 authored by Thierry Reding's avatar Thierry Reding

arm64: tegra: Add RTC support on Tegra186

The RTC on Tegra186 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 32e66e46
...@@ -395,6 +395,16 @@ uartg: serial@c290000 { ...@@ -395,6 +395,16 @@ uartg: serial@c290000 {
status = "disabled"; status = "disabled";
}; };
rtc: rtc@c2a0000 {
compatible = "nvidia,tegra186-rtc", "nvidia,tegra20-rtc";
reg = <0 0x0c2a0000 0 0x10000>;
interrupt-parent = <&pmc>;
interrupts = <73 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&bpmp TEGRA186_CLK_CLK_32K>;
clock-names = "rtc";
status = "disabled";
};
gpio_aon: gpio@c2f0000 { gpio_aon: gpio@c2f0000 {
compatible = "nvidia,tegra186-gpio-aon"; compatible = "nvidia,tegra186-gpio-aon";
reg-names = "security", "gpio"; reg-names = "security", "gpio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment