Skip to contentSkip to conversation

ARM: dts: imx6: RDU2: add alias for RTC

PATCH New Lucas Stach 2 participants 2 messages Nov 8, 2017 – Nov 16, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6: RDU2: add alias for RTC

This makes sure that the battery backed RTC is always the primary one, regardless of the driver probe ordering.

---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -1
index ea9d3c1199e9..289224b863fa 100644
@@ -49,6 +49,7 @@
 
 	aliases {
 		mdio-gpio0 = &mdio1;
+		rtc0 = &ds1341;
 	};
 
 	mdio1: mdio {
@@ -501,7 +502,7 @@
 		reg = <0x54>;
 	};
 
-	rtc at 68 {
+	ds1341: rtc at 68 {
 		compatible = "dallas,ds1341";
 		reg = <0x68>;
 	};
Signature · 1 line
2.11.0
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6: RDU2: add alias for RTC

Quoted 4 lines · Lucas Stach

This makes sure that the battery backed RTC is always the primary one, regardless of the driver probe ordering.

Applied, thanks.