summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-06-23 21:51:08 +0200
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2024-10-29 15:45:36 +0100
commitcc971f091f23b42453bb7a2e184bbf02f747d7eb (patch)
tree73003ef5c077831c4bce85658d8c5e7e537e4681 /arch/arm
parentLinux 6.12-rc1 (diff)
downloadlinux-cc971f091f23b42453bb7a2e184bbf02f747d7eb.tar.xz
linux-cc971f091f23b42453bb7a2e184bbf02f747d7eb.zip
ARM: dts: stm32: Add IWDG2 EXTI interrupt mapping and mark as wakeup source
The IWDG2 is capable of generating pre-timeout interrupt, which can be used to wake the system up from suspend to mem. Add the EXTI interrupt mapping and mark the IWDG2 as wake up source. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/st/stm32mp151.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
index 4f878ec102c1..b28dc90926bd 100644
--- a/arch/arm/boot/dts/st/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
@@ -355,6 +355,8 @@
reg = <0x5a002000 0x400>;
clocks = <&rcc IWDG2>, <&rcc CK_LSI>;
clock-names = "pclk", "lsi";
+ interrupts-extended = <&exti 46 IRQ_TYPE_LEVEL_HIGH>;
+ wakeup-source;
status = "disabled";
};