aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-11-15 07:59:53 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-20 16:48:20 -0500
commit87c9fd81825363237ac5560822e2261535800597 (patch)
tree69ec6b573f7f9bbc41da2c7310c82f67d5a7b3c0
parent495bbde523969c596bcfb8285a6027c746a18ef4 (diff)
dt-bindings: rtc: imxdi: Improve the bindings text
Improve the bindings text by doing the following changes: - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware - Add 'clocks' to the list of required properties - Explain that the optional security violation irq is the second entry - Use the real unit address and irq numbers for i.MX25 Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Juergen Borleis <jbe@pengutronix.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r--Documentation/devicetree/bindings/rtc/imxdi-rtc.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
index 323cf26374cb..c797bc9d77d2 100644
--- a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
+++ b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
@@ -1,20 +1,20 @@
1* i.MX25 Real Time Clock controller 1* i.MX25 Real Time Clock controller
2 2
3This binding supports the following chips: i.MX25, i.MX53
4
5Required properties: 3Required properties:
6- compatible: should be: "fsl,imx25-rtc" 4- compatible: should be: "fsl,imx25-rtc"
7- reg: physical base address of the controller and length of memory mapped 5- reg: physical base address of the controller and length of memory mapped
8 region. 6 region.
7- clocks: should contain the phandle for the rtc clock
9- interrupts: rtc alarm interrupt 8- interrupts: rtc alarm interrupt
10 9
11Optional properties: 10Optional properties:
12- interrupts: dryice security violation interrupt 11- interrupts: dryice security violation interrupt (second entry)
13 12
14Example: 13Example:
15 14
16rtc@80056000 { 15rtc@53ffc000 {
17 compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; 16 compatible = "fsl,imx25-rtc";
18 reg = <0x80056000 2000>; 17 reg = <0x53ffc000 0x4000>;
19 interrupts = <29 56>; 18 clocks = <&clks 81>;
19 interrupts = <25 56>;
20}; 20};