summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bruenn <p.bruenn@beckhoff.com>2017-12-18 12:51:30 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2018-01-12 00:20:39 +0100
commit3394f594de244632c682f9faee054063158f8941 (patch)
treecc65d8bbfab6dac397aa7f9f86cb5e88a4ba4691
parent298c8545206b2dd963079ff48fafd909e099856e (diff)
dt-bindings: rtc: add bindings for i.MX53 SRTC
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>
-rw-r--r--Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt
new file mode 100644
index 000000000000..79d7e87b0d91
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt
@@ -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>;
+};