]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: sun4i/sun7i: DT documentation for RTC driver
authorCarlo Caione <carlo.caione@gmail.com>
Sat, 16 Nov 2013 17:33:53 +0000 (18:33 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 20 Dec 2013 21:54:43 +0000 (22:54 +0100)
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>
Documentation/devicetree/bindings/rtc/sunxi-rtc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt b/Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
new file mode 100644 (file)
index 0000000..7cb9dbf
--- /dev/null
@@ -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>;
+};