diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-19 14:13:16 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-16 14:22:16 -0500 |
commit | 380e04ac2cd96a4c36ad164fce556427dcd2ea0f (patch) | |
tree | 3bb58537b6d280f89119089f68d9890042db9a63 /arch/arm/boot/dts/tegra30.dtsi | |
parent | 2f2b7fb202a2fa93702a79d36033e5c8bee0120d (diff) |
ARM: tegra: define DT bindings for and instantiate RTC
The Tegra RTC maintains seconds and milliseconds counters, and five alarm
registers. The alarms and other interrupts may wake the system from
low-power state.
Define a DT binding for this HW module, and add the module into the Tegra
device tree files.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra30.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 48a8320ebf03..f7af06621cc8 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi | |||
@@ -230,6 +230,12 @@ | |||
230 | #pwm-cells = <2>; | 230 | #pwm-cells = <2>; |
231 | }; | 231 | }; |
232 | 232 | ||
233 | rtc { | ||
234 | compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc"; | ||
235 | reg = <0x7000e000 0x100>; | ||
236 | interrupts = <0 2 0x04>; | ||
237 | }; | ||
238 | |||
233 | i2c@7000c000 { | 239 | i2c@7000c000 { |
234 | compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; | 240 | compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; |
235 | reg = <0x7000c000 0x100>; | 241 | reg = <0x7000c000 0x100>; |