summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rtc
diff options
context:
space:
mode:
authorJoachim Eastwood2013-04-30 01:20:15 +0200
committerLinus Torvalds2013-04-30 03:28:34 +0200
commit7c1b68d4e1d98e77234dfe1f3e15a24bbeef981a (patch)
treebf21aa71a23281fc5fc385dbae19c8765be2db65 /Documentation/devicetree/bindings/rtc
parentdrivers/rtc/rtc-max8907.c: remove redundant code (diff)
downloadkernel-qcow2-linux-7c1b68d4e1d98e77234dfe1f3e15a24bbeef981a.tar.gz
kernel-qcow2-linux-7c1b68d4e1d98e77234dfe1f3e15a24bbeef981a.tar.xz
kernel-qcow2-linux-7c1b68d4e1d98e77234dfe1f3e15a24bbeef981a.zip
drivers/rtc/rtc-at91rm9200.c: add DT support
Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
-rw-r--r--Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.txt b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.txt
new file mode 100644
index 000000000000..2a3feabd3b22
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.txt
@@ -0,0 +1,15 @@
+Atmel AT91RM9200 Real Time Clock
+
+Required properties:
+- compatible: should be: "atmel,at91rm9200-rtc"
+- reg: physical base address of the controller and length of memory mapped
+ region.
+- interrupts: rtc alarm/event interrupt
+
+Example:
+
+rtc@fffffe00 {
+ compatible = "atmel,at91rm9200-rtc";
+ reg = <0xfffffe00 0x100>;
+ interrupts = <1 4 7>;
+};