]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
doc: dt: add documentation for alphascale,asm9260-rtc
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 2 Feb 2016 19:56:11 +0000 (20:56 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:14 +0000 (17:08 +0100)
Document Alphascale asm9260 RTC bindings

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.txt b/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.txt
new file mode 100644 (file)
index 0000000..76ebca5
--- /dev/null
@@ -0,0 +1,19 @@
+* Alphascale asm9260 SoC Real Time Clock
+
+Required properties:
+- compatible: Should be "alphascale,asm9260-rtc"
+- reg: Physical base address of the controller and length
+       of memory mapped region.
+- interrupts: IRQ line for the RTC.
+- clocks: Reference to the clock entry.
+- clock-names: should contain:
+  * "ahb" for the SoC RTC clock
+
+Example:
+rtc0: rtc@800a0000 {
+       compatible = "alphascale,asm9260-rtc";
+       reg = <0x800a0000 0x100>;
+       clocks = <&acc CLKID_AHB_RTC>;
+       clock-names = "ahb";
+       interrupts = <2>;
+};