dt-bindings: rtc: add bindings for i.MX53 SRTC
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Mon, 18 Dec 2017 11:51:30 +0000 (12:51 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 11 Jan 2018 23:20:39 +0000 (00:20 +0100)
Document the binding for i.MX53 SRTC implemented by rtc-mxc_v2

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt
new file mode 100644 (file)
index 0000000..79d7e87
--- /dev/null
@@ -0,0 +1,17 @@
+* i.MX53 Secure Real Time Clock (SRTC)
+
+Required properties:
+- compatible: should be: "fsl,imx53-rtc"
+- reg: physical base address of the controller and length of memory mapped
+  region.
+- clocks: should contain the phandle for the rtc clock
+- interrupts: rtc alarm interrupt
+
+Example:
+
+rtc@53fa4000 {
+       compatible = "fsl,imx53-rtc";
+       reg = <0x53fa4000 0x4000>;
+       interrupts = <24>;
+       clocks = <&clks IMX5_CLK_SRTC_GATE>;
+};