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

Message ID 20230517144144.365631-4-romain.perier@gmail.com
State New
Headers
Series Add RTC for MStar SSD20xD SoCs |

Commit Message

Romain Perier May 17, 2023, 2:41 p.m. UTC
  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(+)
  

Patch

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";