summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-02-24 03:39:49 +0100
committerAndreas Färber <afaerber@suse.de>2017-06-18 21:19:04 +0200
commitd16b9377266b0ce07007937e70f25822c6bbe0ce (patch)
tree98858d87eb96f978af89847973d4a57fc13931c0
parentfd0238cfc0483ce040302562c7790be7d909b7c6 (diff)
downloadlinux-d16b9377266b0ce07007937e70f25822c6bbe0ce.tar.gz
linux-d16b9377266b0ce07007937e70f25822c6bbe0ce.tar.bz2
linux-d16b9377266b0ce07007937e70f25822c6bbe0ce.zip
dt-bindings: timer: Document Owl timer
The Actions Semi S500 SoC contains a timer block with two 2 Hz and two 32-bit timers. The S900 SoC timer block has four 32-bit timers. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--Documentation/devicetree/bindings/timer/actions,owl-timer.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt
new file mode 100644
index 000000000000..e3c28da80cb2
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt
@@ -0,0 +1,20 @@
+Actions Semi Owl Timer
+
+Required properties:
+- compatible : "actions,s500-timer" for S500
+ "actions,s900-timer" for S900
+- reg : Offset and length of the register set for the device.
+- interrupts : Should contain the interrupts.
+- interrupt-names : Valid names are: "2hz0", "2hz1",
+ "timer0", "timer1", "timer2", "timer3"
+ See ../resource-names.txt
+
+Example:
+
+ timer@b0168000 {
+ compatible = "actions,s500-timer";
+ reg = <0xb0168000 0x100>;
+ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "timer0", "timer1";
+ };