[PATCH] ARM: dts: stm32: use exti 19 as main interrupt to support RTC wakeup on stm32mp157

Marek Vasut marex at denx.de
Wed Feb 2 17:59:58 PST 2022


From: Alexandre Torgue <alexandre.torgue at st.com>

Link between GIC and exti line is now done inside EXTI driver. So in order
to be wake up source exti irqchip has to be used.

Signed-off-by: Alexandre Torgue <alexandre.torgue at st.com>
Cc: Alexandre Torgue <alexandre.torgue at foss.st.com>
---
This comes from ST github repo, v5.4-stm32mp [93a67bfcf197ffad8d8962369b56b8b714d1447e]
It would be good to include this, because indeed, this makes rtcwake -s 5 -m mem work.
---
 arch/arm/boot/dts/stm32mp151.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 6992a4b0ba79b..b6a108c4f117f 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1559,7 +1559,7 @@ rtc: rtc at 5c004000 {
 			reg = <0x5c004000 0x400>;
 			clocks = <&rcc RTCAPB>, <&rcc RTC>;
 			clock-names = "pclk", "rtc_ck";
-			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+			interrupts-extended = <&exti 19 IRQ_TYPE_LEVEL_HIGH>;
 			status = "disabled";
 		};
 
-- 
2.34.1




More information about the linux-arm-kernel mailing list