drivers: rtc: rpi_pico: Add support for the Raspberry Pi Pico RTC
This adds the minimal get_time/set_time support for the rp2040 and enables support by default on the Pico boards. This doesn't support configuring the clock source or alarm interrupts yet. Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
This commit is contained in:
parent
4c880f4b0a
commit
df8c89b528
9 changed files with 161 additions and 2 deletions
12
dts/bindings/rtc/raspberrypi,pico-rtc.yaml
Normal file
12
dts/bindings/rtc/raspberrypi,pico-rtc.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2024 Andrew Featherstone <andrew.featherstone@gmail.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: RaspberryPi Pico RTC
|
||||
|
||||
compatible: "raspberrypi,pico-rtc"
|
||||
|
||||
include: [rtc.yaml, reset-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
Loading…
Add table
Add a link
Reference in a new issue