drivers: rtc: rts5912: add rtc driver

Add rtc driver for Realtek rts5912.

Signed-off-by: Chia-Yang Lin <cylin0708@realtek.com>
This commit is contained in:
Chia-Yang Lin 2025-02-26 20:42:43 +08:00 committed by Benjamin Cabé
commit bd365a0bae
8 changed files with 270 additions and 0 deletions

View file

@ -79,6 +79,14 @@
clock-names = "rc25m", "pll";
};
rtc: rtc@4000c100 {
compatible = "realtek,rts5912-rtc";
reg = <0x4000c100 0x20>;
clocks = <&sccon RTS5912_SCCON_PERIPH_GRP2 PERIPH_GRP2_RTC_CLKPWR>;
clock-names = "rtc";
status = "disabled";
};
slwtmr0: slwtmr0@4000c200 {
compatible = "realtek,rts5912-slwtimer";
reg = <0x4000c200 0x10>;