dts: bindings: rtc: Add clock source to rtc for MAX32xxx

This commit adds clock source to rtc properties for MAX32xxx.

Signed-off-by: Mert Vatansever <mert.vatansever@analog.com>
This commit is contained in:
Mert Vatansever 2024-12-23 20:25:28 +03:00 committed by Fabio Baltieri
parent 2d18c7ec81
commit 25ebec2b63

View File

@ -7,3 +7,18 @@ description: ADI MAX32 compatible Counter RTC
compatible: "adi,max32-rtc-counter"
include: [base.yaml]
properties:
reg:
required: true
clock-source:
type: int
enum: [4, 5]
description: |
Clock source to be used by the RTC peripheral. The following options
are available:
- 4: "ADI_MAX32_PRPH_CLK_SRC_ERTCO" External Real-Time Clock Oscillator
- 5: "ADI_MAX32_PRPH_CLK_SRC_INRO" Internal Ring Oscillator
The target device might not support all option please take a look on
target device user guide