dt-bindings: rtc: Add sirf,prima2-sysrtc bindings
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 27 Sep 2017 14:03:42 +0000 (16:03 +0200)
committerRob Herring <robh@kernel.org>
Thu, 5 Oct 2017 22:26:52 +0000 (17:26 -0500)
Add device tree bindings for the SiRFSoC Real Time Clock.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
new file mode 100644 (file)
index 0000000..58885b5
--- /dev/null
@@ -0,0 +1,13 @@
+SiRFSoC Real Time Clock
+
+Required properties:
+- compatible: must be "sirf,prima2-sysrtc"
+- reg: address range of rtc register set.
+- interrupts: rtc alarm interrupts.
+
+Example:
+       rtc@2000 {
+               compatible = "sirf,prima2-sysrtc";
+               reg = <0x2000 0x1000>;
+               interrupts = <52 53 54>;
+       };