diff options
author | Carlo Caione <carlo.caione@gmail.com> | 2013-11-16 12:33:53 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-12-20 16:54:43 -0500 |
commit | 182f14d38c6f3a50eff339b68769d43d90f30600 (patch) | |
tree | b627147b40db294eaeb5fb8a0a772728a7e0aa15 | |
parent | 8f1ae77f466660b6da2455cccecc07ae631fa66d (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/rtc/sunxi-rtc.txt | 17 |
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 @@ | |||
1 | * sun4i/sun7i Real Time Clock | ||
2 | |||
3 | RTC controller for the Allwinner A10/A20 | ||
4 | |||
5 | Required properties: | ||
6 | - compatible : Should be "allwinner,sun4i-rtc" or "allwinner,sun7i-a20-rtc" | ||
7 | - reg: physical base address of the controller and length of memory mapped | ||
8 | region. | ||
9 | - interrupts: IRQ line for the RTC. | ||
10 | |||
11 | Example: | ||
12 | |||
13 | rtc: rtc@01c20d00 { | ||
14 | compatible = "allwinner,sun4i-rtc"; | ||
15 | reg = <0x01c20d00 0x20>; | ||
16 | interrupts = <24>; | ||
17 | }; | ||