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

Romain Perier romain.perier at gmail.com
Wed May 17 07:41:44 PDT 2023


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 at 1 {
 };
 
 &riu {
+	rtc at 6800 {
+		compatible = "mstar,ssd20xd-rtc";
+		reg = <0x6800 0x200>;
+	};
+
 	smpctrl: smpctrl at 204000 {
 		reg = <0x204000 0x200>;
 		status = "disabled";
-- 
2.39.2




More information about the linux-arm-kernel mailing list