arm64: tegra: Make the RTC a wakeup source on Jetson TX2
authorThierry Reding <treding@nvidia.com>
Fri, 17 Apr 2020 17:11:17 +0000 (19:11 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 20 May 2020 13:26:11 +0000 (15:26 +0200)
The RTC found on the MAX77620 PMIC can be used as a wakeup source on
Jetson TX2, which is useful to wake the system from suspend at a given
time.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

index da96de0..2fcaa2e 100644 (file)
                                compatible = "maxim,max77620";
                                reg = <0x3c>;
 
-                               interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
+                               interrupt-parent = <&pmc>;
+                               interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
                                #interrupt-cells = <2>;
                                interrupt-controller;