diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2015-07-26 17:37:51 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2015-08-05 08:03:51 -0400 |
commit | 61186371570e3ca62585e29e307f7a9c42ab789a (patch) | |
tree | e1926f18b915bc3199a88ec6b4a9830715385624 | |
parent | 8f5fe77828e16ef6fd8e4931ab177b41449ce8fc (diff) |
dt-binding: document the binding for mxc rtc
This adds documentation of device tree bindings for the
mxc rtc.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/rtc/rtc-mxc.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/rtc-mxc.txt b/Documentation/devicetree/bindings/rtc/rtc-mxc.txt new file mode 100644 index 000000000000..5bcd31d995b0 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mxc.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | * Real Time Clock of the i.MX SoCs | ||
2 | |||
3 | RTC controller for the i.MX SoCs | ||
4 | |||
5 | Required properties: | ||
6 | - compatible: Should be "fsl,imx1-rtc" or "fsl,imx21-rtc". | ||
7 | - reg: physical base address of the controller and length of memory mapped | ||
8 | region. | ||
9 | - interrupts: IRQ line for the RTC. | ||
10 | - clocks: should contain two entries: | ||
11 | * one for the input reference | ||
12 | * one for the the SoC RTC | ||
13 | - clock-names: should contain: | ||
14 | * "ref" for the input reference clock | ||
15 | * "ipg" for the SoC RTC clock | ||
16 | |||
17 | Example: | ||
18 | |||
19 | rtc@10007000 { | ||
20 | compatible = "fsl,imx21-rtc"; | ||
21 | reg = <0x10007000 0x1000>; | ||
22 | interrupts = <22>; | ||
23 | clocks = <&clks IMX27_CLK_CKIL>, | ||
24 | <&clks IMX27_CLK_RTC_IPG_GATE>; | ||
25 | clock-names = "ref", "ipg"; | ||
26 | }; | ||