summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-27 11:19:34 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-03-01 13:38:36 +0100
commit23fa648fd32658ca295de3ef2b7c883c7b8a6120 (patch)
tree987bbd0179c182faa455842cf66f63c054307ae5 /Documentation
parent8014d6f4dd074d4d248d3de7f63348fa2568476b (diff)
downloadop-kernel-dev-23fa648fd32658ca295de3ef2b7c883c7b8a6120.zip
op-kernel-dev-23fa648fd32658ca295de3ef2b7c883c7b8a6120.tar.gz
ARM: at91: pit add DT support
Retreive registers address and IRQ from device tree entry. Called from at91_dt_init_irq() so that timers are up-n-running when timers initialization will occur. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> [nicolas.ferre@atmel.com: change error path and interrupts property handling] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/arm/atmel-at91.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
new file mode 100644
index 0000000..380f711
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
@@ -0,0 +1,8 @@
+Atmel AT91 device tree bindings.
+================================
+
+PIT Timer required properties:
+- compatible: Should be "atmel,at91sam9260-pit"
+- reg: Should contain registers location and length
+- interrupts: Should contain interrupt for the PIT which is the IRQ line
+ shared across all System Controller members.
OpenPOWER on IntegriCloud