ARM: tegra: set up /aliases entries for RTCs
authorStephen Warren <swarren@nvidia.com>
Mon, 9 Dec 2013 21:43:59 +0000 (14:43 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 18 Dec 2013 21:10:48 +0000 (14:10 -0700)
This ensures that the PMIC RTC provides the system time, rather than
the on-SoC RTC, which is not battery-backed.

tegra124-venice2.dts isn't touched yet since we haven't added any off-
SoC RTC device to its device tree.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra114-dalmore.dts
arch/arm/boot/dts/tegra20-colibri-512.dtsi
arch/arm/boot/dts/tegra20-harmony.dts
arch/arm/boot/dts/tegra20-paz00.dts
arch/arm/boot/dts/tegra20-seaboard.dts
arch/arm/boot/dts/tegra20-tamonten.dtsi
arch/arm/boot/dts/tegra20-trimslice.dts
arch/arm/boot/dts/tegra20-ventana.dts
arch/arm/boot/dts/tegra20-whistler.dts
arch/arm/boot/dts/tegra30-beaver.dts
arch/arm/boot/dts/tegra30-cardhu.dtsi

index 88be40cf8845f8c581073fea10b426373de96f21..ca4485903b9d975260118b42524d0ccd00923ffc 100644 (file)
@@ -7,6 +7,11 @@
        model = "NVIDIA Tegra114 Dalmore evaluation board";
        compatible = "nvidia,dalmore", "nvidia,tegra114";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps65913@58";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x80000000 0x40000000>;
        };
index 81c2c902580af04f98ac91bcc6d60ba607c1bec6..61bc39335e3a365b736d37963d98fafd9a69a3cc 100644 (file)
@@ -4,6 +4,11 @@
        model = "Toradex Colibri T20 512MB";
        compatible = "toradex,colibri_t20-512", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x20000000>;
        };
index b02653da8bd7ea1ac36f875be84b38ac29877073..6145f26a0ec5666a306b398cac7bc33eaa70c3e8 100644 (file)
@@ -7,6 +7,11 @@
        model = "NVIDIA Tegra20 Harmony evaluation board";
        compatible = "nvidia,harmony", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x40000000>;
        };
index 02923fb96fed08ddc2df5debacbe3f874611799f..c7cd8e6802d75687169e69ba8b41cec57d40b1de 100644 (file)
@@ -7,6 +7,11 @@
        model = "Toshiba AC100 / Dynabook AZ";
        compatible = "compal,paz00", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x20000000>;
        };
index 1204738dbf298788333681244321558c0f40c1c4..a11b6e7b47595eb22a17a4c4d293b7614478e156 100644 (file)
@@ -7,6 +7,11 @@
        model = "NVIDIA Seaboard";
        compatible = "nvidia,seaboard", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x40000000>;
        };
index eb2f9aa211a2f0502142e399db65eb7e97b99f76..a1b0d965757f49a757b9dd4b88e4b427b236a8a9 100644 (file)
@@ -4,6 +4,11 @@
        model = "Avionic Design Tamonten SOM";
        compatible = "ad,tamonten", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x20000000>;
        };
index ec36fafb0f909520271a188d1b718013b85080c2..216fa6d50c65439f86d6049a089ee0396c68ec09 100644 (file)
@@ -7,6 +7,11 @@
        model = "Compulab TrimSlice board";
        compatible = "compulab,trimslice", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000c500/rtc@56";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x40000000>;
        };
index 0d83062b9be4f0d78ec637dea9d203f5319f283b..571d12e6ac2d0e6164d5a73ca07c033070ea4b5e 100644 (file)
@@ -7,6 +7,11 @@
        model = "NVIDIA Tegra20 Ventana evaluation board";
        compatible = "nvidia,ventana", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x40000000>;
        };
index 813b04ef87174fd69dc00fe681761882921833a9..1843725785c90f1f2518bade455af7dead4c6ec8 100644 (file)
@@ -7,6 +7,11 @@
        model = "NVIDIA Tegra20 Whistler evaluation board";
        compatible = "nvidia,whistler", "nvidia,tegra20";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/max8907@3c";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x00000000 0x20000000>;
        };
index 7e8562a8507ddba70a7d19f937d54e538284227e..d36c8212dcbf48735387e7b81997d208499ae036 100644 (file)
@@ -6,6 +6,11 @@
        model = "NVIDIA Tegra30 Beaver evaluation board";
        compatible = "nvidia,beaver", "nvidia,tegra30";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps65911@2d";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x80000000 0x7ff00000>;
        };
index f3aab9eb64535b2d81fc7f69856c7dc4640eeab8..dfcc18adcfd7cff94bcee8deec244804a1e63787 100644 (file)
        model = "NVIDIA Tegra30 Cardhu evaluation board";
        compatible = "nvidia,cardhu", "nvidia,tegra30";
 
+       aliases {
+               rtc0 = "/i2c@7000d000/tps6586x@34";
+               rtc1 = "/rtc@7000e000";
+       };
+
        memory {
                reg = <0x80000000 0x40000000>;
        };