summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/rtc/sunxi-rtc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/rtc/sunxi-rtc.txt')
-rw-r--r--dts/Bindings/rtc/sunxi-rtc.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/Bindings/rtc/sunxi-rtc.txt b/dts/Bindings/rtc/sunxi-rtc.txt
new file mode 100644
index 0000000000..6983aad376
--- /dev/null
+++ b/dts/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-a10-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-a10-rtc";
+ reg = <0x01c20d00 0x20>;
+ interrupts = <24>;
+};