summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-19 12:13:16 -0600
committerStephen Warren <swarren@nvidia.com>2012-11-16 12:22:16 -0700
commit380e04ac2cd96a4c36ad164fce556427dcd2ea0f (patch)
tree3bb58537b6d280f89119089f68d9890042db9a63 /Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt
parent2f2b7fb202a2fa93702a79d36033e5c8bee0120d (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 'Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt')
-rw-r--r--Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt b/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt
new file mode 100644
index 000000000000..93f45e9dce7c
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/nvidia,tegra20-rtc.txt
@@ -0,0 +1,19 @@
+NVIDIA Tegra20 real-time clock
+
+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.
+
+Required properties:
+
+- compatible : should be "nvidia,tegra20-rtc".
+- reg : Specifies base physical address and size of the registers.
+- interrupts : A single interrupt specifier.
+
+Example:
+
+timer {
+ compatible = "nvidia,tegra20-rtc";
+ reg = <0x7000e000 0x100>;
+ interrupts = <0 2 0x04>;
+};