OSDN Git Service

ARM: tegra: set up /aliases for RTCs on Venice2
authorStephen Warren <swarren@nvidia.com>
Thu, 19 Dec 2013 18:32:15 +0000 (11:32 -0700)
committerStephen Warren <swarren@nvidia.com>
Thu, 19 Dec 2013 18:41:25 +0000 (11:41 -0700)
This ensures that the PMIC RTC provides the system time, rather than
the on-SoC RTC, which is not battery-backed.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra124-venice2.dts

index a9f0df9..e6b3e97 100644 (file)
@@ -6,6 +6,11 @@
        model = "NVIDIA Tegra124 Venice2";
        compatible = "nvidia,venice2", "nvidia,tegra124";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/as3722@40";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x80000000 0x80000000>;
        };