ARM: dts: imx6: RDU2: add alias for RTC
authorLucas Stach <l.stach@pengutronix.de>
Wed, 8 Nov 2017 18:22:25 +0000 (19:22 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
This makes sure that the battery backed RTC is always the
primary one, regardless of the driver probe ordering.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 195fc2e..5ea9949 100644 (file)
@@ -49,6 +49,7 @@
 
        aliases {
                mdio-gpio0 = &mdio1;
+               rtc0 = &ds1341;
        };
 
        mdio1: mdio {
                reg = <0x54>;
        };
 
-       rtc@68 {
+       ds1341: rtc@68 {
                compatible = "dallas,ds1341";
                reg = <0x68>;
        };