]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: Add IWDG2 EXTI interrupt mapping and mark as wakeup source
authorMarek Vasut <marex@denx.de>
Sun, 23 Jun 2024 19:51:08 +0000 (21:51 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 29 Oct 2024 14:45:36 +0000 (15:45 +0100)
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>
arch/arm/boot/dts/st/stm32mp151.dtsi

index 4f878ec102c1f681577fe19d766d9dbf4bce1988..b28dc90926bdac2de21b71cf2372bbd198761cdf 100644 (file)
                        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";
                };