Commit 87c9fd81 authored by Fabio Estevam's avatar Fabio Estevam Committed by Alexandre Belloni

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Acked-by: default avatarJuergen Borleis <jbe@pengutronix.de>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 495bbde5
* i.MX25 Real Time Clock controller * i.MX25 Real Time Clock controller
This binding supports the following chips: i.MX25, i.MX53
Required properties: Required properties:
- compatible: should be: "fsl,imx25-rtc" - compatible: should be: "fsl,imx25-rtc"
- reg: physical base address of the controller and length of memory mapped - reg: physical base address of the controller and length of memory mapped
region. region.
- clocks: should contain the phandle for the rtc clock
- interrupts: rtc alarm interrupt - interrupts: rtc alarm interrupt
Optional properties: Optional properties:
- interrupts: dryice security violation interrupt - interrupts: dryice security violation interrupt (second entry)
Example: Example:
rtc@80056000 { rtc@53ffc000 {
compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; compatible = "fsl,imx25-rtc";
reg = <0x80056000 2000>; reg = <0x53ffc000 0x4000>;
interrupts = <29 56>; clocks = <&clks 81>;
interrupts = <25 56>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment