Skip to content

Commit 25ebec2

Browse files
mertvatanseverfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 2d18c7e commit 25ebec2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dts/bindings/counter/adi,max32-rtc-counter.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,18 @@ description: ADI MAX32 compatible Counter RTC
77
compatible: "adi,max32-rtc-counter"
88

99
include: [base.yaml]
10+
11+
properties:
12+
reg:
13+
required: true
14+
15+
clock-source:
16+
type: int
17+
enum: [4, 5]
18+
description: |
19+
Clock source to be used by the RTC peripheral. The following options
20+
are available:
21+
- 4: "ADI_MAX32_PRPH_CLK_SRC_ERTCO" External Real-Time Clock Oscillator
22+
- 5: "ADI_MAX32_PRPH_CLK_SRC_INRO" Internal Ring Oscillator
23+
The target device might not support all option please take a look on
24+
target device user guide

0 commit comments

Comments
 (0)