drivers: rtc: support for Nuvoton numaker m46x
Add Nuvoton numaker RTC driver including RTC alarm feature. Signed-off-by: cyliang tw <cyliang@nuvoton.com>
This commit is contained in:
parent
be25e34a7c
commit
183edd2549
8 changed files with 488 additions and 2 deletions
27
dts/bindings/rtc/nuvoton,numaker-rtc.yaml
Normal file
27
dts/bindings/rtc/nuvoton,numaker-rtc.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright (c) 2024 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Nuvoton, NuMaker RTC controller
|
||||
|
||||
compatible: "nuvoton,numaker-rtc"
|
||||
|
||||
include: rtc-device.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
clocks:
|
||||
required: true
|
||||
|
||||
oscillator:
|
||||
type: string
|
||||
description: |
|
||||
Specify RTC oscillator source
|
||||
enum:
|
||||
- "lxt"
|
||||
- "lirc"
|
||||
- "lirc32k"
|
Loading…
Add table
Add a link
Reference in a new issue