diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2012-03-01 05:49:57 (GMT) |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-03-07 01:32:52 (GMT) |
commit | 46e446db4fb2cdb2f1bc69d3981fa23738a42835 (patch) | |
tree | 19091e18c031153685374723f64fad68eae6d43a /Documentation/devicetree/bindings/rtc | |
parent | 10d77ec21a748e7ddaf6410bd08959769764520c (diff) | |
download | linux-fsl-qoriq-46e446db4fb2cdb2f1bc69d3981fa23738a42835.tar.xz |
Document: devicetree: add OF documents for arch-mmp
Add OF support in Document/devicetree directory.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/sa1100-rtc.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/sa1100-rtc.txt b/Documentation/devicetree/bindings/rtc/sa1100-rtc.txt new file mode 100644 index 0000000..0cda19a --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/sa1100-rtc.txt @@ -0,0 +1,17 @@ +* Marvell Real Time Clock controller + +Required properties: +- compatible: should be "mrvl,sa1100-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: Should be two. The first interrupt number is the rtc alarm + interrupt and the second interrupt number is the rtc hz interrupt. +- interrupt-names: Assign name of irq resource. + +Example: + rtc: rtc@d4010000 { + compatible = "mrvl,mmp-rtc"; + reg = <0xd4010000 0x1000>; + interrupts = <5>, <6>; + interrupt-name = "rtc 1Hz", "rtc alarm"; + }; |