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:
Andrew Featherstone 2023-11-07 16:14:09 +00:00 committed by Fabio Baltieri
commit df8c89b528
9 changed files with 161 additions and 2 deletions

View 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