diff options
author | Thierry Reding <treding@nvidia.com> | 2018-11-28 17:49:40 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-12-03 16:31:33 +0100 |
commit | 9733a251728ee5cf290840d99fba84990b5aae4e (patch) | |
tree | 918bdc2074ab612aa2bf046c04114d52a07debe4 /arch/arm64/boot/dts/nvidia | |
parent | 32e66e46af0b343d892cb74020a7671508d90a61 (diff) | |
download | linux-9733a251728ee5cf290840d99fba84990b5aae4e.tar.bz2 |
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: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra186.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index 6b7528a670b1..4c79778d80db 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -395,6 +395,16 @@ 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 { compatible = "nvidia,tegra186-gpio-aon"; reg-names = "security", "gpio"; |