1# Copyright (c) 2018, Workaround GmbH 2# Copyright (c) 2024 STMicroelectronics 3# SPDX-License-Identifier: Apache-2.0 4 5description: STM32 RTC 6 7compatible: "st,stm32-rtc" 8 9include: 10 - rtc.yaml 11 - rtc-device.yaml 12 13properties: 14 reg: 15 required: true 16 17 calib-out-freq: 18 type: int 19 description: | 20 Calibration output frequency (1 Hz or 512 Hz). 21 enum: 22 - 1 23 - 512 24 25 alarms-count: 26 description: | 27 Number of alarms supported by STM32 RTC device. 28 Most of STM32 MCU series have 2 RTC alarms, A & B. 29 Defaults to 0 when not declared in devicetree. 30 31 alrm-exti-line: 32 type: int 33 description: | 34 Number of the Extended Interrupts and Event Controller (EXTI) interrupt 35 line connected to the RTC Alarm event. 36 Not required, since RTC Alarm interrupt could be routed directly to Nested 37 Vectored Interrupt Controller (NVIC) and to Power Control (PWR) wake-up 38 pins on some series. 39 Valid range: 0 - 31 40