Skip to content

Commit 358a677

Browse files
jonhunterthierryreding
authored andcommitted
arm64: tegra: Make the RTC a wakeup source on Jetson Nano and TX1
The RTC found on the MAX77620 PMIC can be used as a wakeup source on Jetson Nano and TX1, which is useful to wake the system from suspend at a given time. Signed-off-by: Jon Hunter <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent e9bdccb commit 358a677

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
pmic: pmic@3c {
3939
compatible = "maxim,max77620";
4040
reg = <0x3c>;
41-
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
41+
interrupt-parent = <&tegra_pmc>;
42+
interrupts = <51 IRQ_TYPE_LEVEL_LOW>;
4243

4344
#interrupt-cells = <2>;
4445
interrupt-controller;

arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@
149149
pmic: pmic@3c {
150150
compatible = "maxim,max77620";
151151
reg = <0x3c>;
152-
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
152+
interrupt-parent = <&tegra_pmc>;
153+
interrupts = <51 IRQ_TYPE_LEVEL_LOW>;
153154

154155
#interrupt-cells = <2>;
155156
interrupt-controller;

0 commit comments

Comments
 (0)