The latest development version of this page may be more current than this released 4.0.0 version.

st,stm32-rtc

Vendor: STMicroelectronics

Description

STM32 RTC

Properties

Properties not inherited from the base binding file.

Name

Type

Details

calib-out-freq

int

Calibration output frequency (1 Hz or 512 Hz).

Legal values: 1, 512

alarms-count

int

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

int

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

clock-frequency

int

Clock frequency information for RTC operation

prescaler

int

RTC frequency equals clock-frequency divided by the prescaler value