[PATCH 3/3] ARM: dts: mstar: Enable rtc for SSD20xD

Romain Perier
2023-05-17T14:42:04Z

This adds the definition of the rtc device node. It enables RTC block
for SSD20xD SoCs and newer.
---
arch/arm/boot/dts/mstar-infinity2m.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi
index 1b485efd7156..75f9173ca703 100644
--- a/arch/arm/boot/dts/mstar-infinity2m.dtsi
+++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi
@@ -32,6 +32,11 @@ cpu1: cpu@1 {
};

&riu {
+ rtc@6800 {
+ compatible = "mstar,ssd20xd-rtc";
+ reg = <0x6800 0x200>;
+ };
+
smpctrl: smpctrl@204000 {
reg = <0x204000 0x200>;
status = "disabled";
--
2.39.2