[07/10] arm64: dts: imx8mp-icore-mx8mp-ctouch2-of10: set internal RTC as rtc1

Message ID 20240513142747.238064-7-patrick.barsanti@amarulasolutions.com
State New
Headers show
Series
  • Untitled series #630
Related show

Commit Message

Patrick Barsanti May 13, 2024, 2:27 p.m. UTC
From: Dario Binacchi <dario.binacchi@amarulasolutions.com>

In this way, the external RTC will be associated to /dev/rtc0, so taken as
the default.

Upstream-Status: Pending
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 .../boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts    | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts
index 80dd79f146b0..853ff5f93b75 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts
@@ -16,6 +16,10 @@  / {
 	compatible = "engicam,icore-mx8mp-ctouch2-of10", "engicam,icore-mx8mp",
 		     "fsl,imx8mp";
 
+	aliases {
+		rtc1 = &snvs_rtc;
+	};
+
 	backlight: backlight {
 		compatible = "pwm-backlight";
 		pwms = <&pwm2 0 100000 0>;