From e2bd33bf6c1a917ec4df7f9ce18fbea99036e473 Mon Sep 17 00:00:00 2001 From: Abderrahmane Jarmouni Date: Thu, 2 May 2024 09:37:35 +0200 Subject: [PATCH] dts: bindings: rtc: stm32-rtc: add alrm-exti-line property Gives number of the Extended Interrupts and Event Controller (EXTI) interrupt line connected to the RTC Alarm event. Used on all series, except WBAX & U5X, where RTC Alarm interrupt is routed directly to Nested Vectored Interrupt Controller (NVIC) and to Power Control (PWR) wake-up pins. Signed-off-by: Abderrahmane Jarmouni --- dts/bindings/rtc/st,stm32-rtc.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dts/bindings/rtc/st,stm32-rtc.yaml b/dts/bindings/rtc/st,stm32-rtc.yaml index 7cb3343269b..d368410b6ee 100644 --- a/dts/bindings/rtc/st,stm32-rtc.yaml +++ b/dts/bindings/rtc/st,stm32-rtc.yaml @@ -27,3 +27,13 @@ properties: Number of alarms supported by STM32 RTC device. Most of STM32 MCU series have 2 RTC alarms, A & B. Defaults to 0 when not declared in devicetree. + + alrm-exti-line: + type: int + description: | + Number of the Extended Interrupts and Event Controller (EXTI) interrupt + line connected to the RTC Alarm event. + Not required, since RTC Alarm interrupt could be routed directly to Nested + Vectored Interrupt Controller (NVIC) and to Power Control (PWR) wake-up + pins on some series. + Valid range: 0 - 31