dts: bindings: rtc: stm32-rtc: add alarms-count property

Add alarms-count property to STM32 RTC binding

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni 2024-04-25 14:53:02 +02:00 committed by Carles Cufí
commit 2da205527f

View file

@ -1,11 +1,14 @@
# Copyright (c) 2018, Workaround GmbH # Copyright (c) 2018, Workaround GmbH
# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
description: STM32 RTC description: STM32 RTC
compatible: "st,stm32-rtc" compatible: "st,stm32-rtc"
include: rtc.yaml include:
- rtc.yaml
- rtc-device.yaml
properties: properties:
reg: reg:
@ -18,3 +21,9 @@ properties:
enum: enum:
- 1 - 1
- 512 - 512
alarms-count:
description: |
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.