summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-12-19 19:32:15 +0100
committerStephen Warren <swarren@nvidia.com>2013-12-19 19:41:25 +0100
commitb1afa7822da4b8f49f003cc3a494d524907c1d3d (patch)
treef5eff4632a04295b8b005b6d2e3c9e3a5cf2da49 /arch/arm/boot
parentARM: tegra: add ams AS3722 device to Venice2 DT (diff)
downloadlinux-b1afa7822da4b8f49f003cc3a494d524907c1d3d.tar.xz
linux-b1afa7822da4b8f49f003cc3a494d524907c1d3d.zip
ARM: tegra: set up /aliases for RTCs on Venice2
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/tegra124-venice2.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index a9f0df9faf50..e6b3e97752c4 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -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>;
};