Skip to contentSkip to conversation

arm64: dtsi: imx93: add alias id for bbnsm_rtc

PATCH In review Frank Li 3 participants 3 messages Mar 6, 2025 – Mar 18, 2025

Subsystems (2)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 arm64: dtsi: imx93: add alias id for bbnsm_rtc

From: Joy Zou <[email protected]>

Add rtc0 alias to set bbnsm_rtc as the default rtc.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx93.dtsi +1 -0
index 56766fdb0b1e5..7d9aa15ebf5d0 100644
@@ -34,6 +34,7 @@ aliases {
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
+		rtc0 = &bbnsm_rtc;
 		serial0 = &lpuart1;
 		serial1 = &lpuart2;
 		serial2 = &lpuart3;
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Am Donnerstag, 6. März 2025, 20:30:14 CET schrieb Frank Li:

Quoted 15 lines

From: Joy Zou <[email protected]>

Add rtc0 alias to set bbnsm_rtc as the default rtc.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx93.dtsi +0 -0
index 56766fdb0b1e5..7d9aa15ebf5d0 100644

arch/arm64/boot/dts/freescale/imx93.dtsi aliases { · line 37

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx93.dtsi +1 -0
@@ -34,6 +34,7 @@ aliases {
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
+		rtc0 = &bbnsm_rtc;

IMHO this is a board property, not SoC property.

Best regards
Alexander

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx93.dtsi +0 -0
 		serial0 = &lpuart1;
 		serial1 = &lpuart2;
 		serial2 = &lpuart3;
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
#2 lore raw
Quoted 25 lines · Alexander Stein

Hi,

Am Donnerstag, 6. März 2025, 20:30:14 CET schrieb Frank Li:

Quoted 15 lines

From: Joy Zou <[email protected]>

Add rtc0 alias to set bbnsm_rtc as the default rtc.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx93.dtsi +0 -0
index 56766fdb0b1e5..7d9aa15ebf5d0 100644

arch/arm64/boot/dts/freescale/imx93.dtsi aliases { · line 37

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx93.dtsi +1 -0
@@ -34,6 +34,7 @@ aliases {
 		mmc0 = &usdhc1;
 		mmc1 = &usdhc2;
 		mmc2 = &usdhc3;
+		rtc0 = &bbnsm_rtc;

IMHO this is a board property, not SoC property.

Quoted 17 lines

Best regards
Alexander

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx93.dtsi +0 -0
 		serial0 = &lpuart1;
 		serial1 = &lpuart2;
 		serial2 = &lpuart3;
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/

I agree with Alexander, furthermore if we look to others dtsi we don't create this relationship at soc level even if we have rtc there, is not?

for example:
arch/arm64/boot/dts/freescale/imx8mp.dtsi
arch/arm/boot/dts/nxp/imx/imx6qdl.dtsi

Regards,
Alberto