From: Thierry Reding <treding@xxxxxxxxxx> 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@xxxxxxxxxx> --- arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi index da96de04d003..7a0fa157f48c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -221,7 +221,8 @@ pmic: pmic@3c { 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; @@ -379,6 +380,10 @@ vdd_pex: ldo8 { regulator-max-microvolt = <1050000>; }; }; + + rtc { + wakeup-source; + }; }; }; }; -- 2.24.1