aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rtc
diff options
context:
space:
mode:
authorCarlo Caione <carlo.caione@gmail.com>2013-11-16 18:33:53 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2013-12-20 22:54:43 +0100
commit182f14d38c6f3a50eff339b68769d43d90f30600 (patch)
treeb627147b40db294eaeb5fb8a0a772728a7e0aa15 /Documentation/devicetree/bindings/rtc
parentreset: Add Allwinner SoCs Reset Controller Driver (diff)
downloadlinux-dev-182f14d38c6f3a50eff339b68769d43d90f30600.tar.xz
linux-dev-182f14d38c6f3a50eff339b68769d43d90f30600.zip
ARM: sun4i/sun7i: DT documentation for RTC driver
Add DT documentation for SUNXI RTC driver Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
-rw-r--r--Documentation/devicetree/bindings/rtc/sunxi-rtc.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt b/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
new file mode 100644
index 000000000000..7cb9dbf34878
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
@@ -0,0 +1,17 @@
+* sun4i/sun7i Real Time Clock
+
+RTC controller for the Allwinner A10/A20
+
+Required properties:
+- compatible : Should be "allwinner,sun4i-rtc" or "allwinner,sun7i-a20-rtc"
+- reg: physical base address of the controller and length of memory mapped
+ region.
+- interrupts: IRQ line for the RTC.
+
+Example:
+
+rtc: rtc@01c20d00 {
+ compatible = "allwinner,sun4i-rtc";
+ reg = <0x01c20d00 0x20>;
+ interrupts = <24>;
+};