From a54915d8a13ce800645655728a2f203aeda98740 Mon Sep 17 00:00:00 2001 From: Thomas Chou Date: Thu, 22 Oct 2015 22:28:53 +0800 Subject: nios2: convert altera timer to driver model Convert altera timer to driver model. Signed-off-by: Thomas Chou Acked-by: Chin Liang See --- doc/device-tree-bindings/timer/altera_timer.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/device-tree-bindings/timer/altera_timer.txt (limited to 'doc') diff --git a/doc/device-tree-bindings/timer/altera_timer.txt b/doc/device-tree-bindings/timer/altera_timer.txt new file mode 100644 index 0000000000..904a5846d7 --- /dev/null +++ b/doc/device-tree-bindings/timer/altera_timer.txt @@ -0,0 +1,19 @@ +Altera Timer + +Required properties: + +- compatible : should be "altr,timer-1.0" +- reg : Specifies base physical address and size of the registers. +- interrupt-parent: phandle of the interrupt controller +- interrupts : Should contain the timer interrupt number +- clock-frequency : The frequency of the clock that drives the counter, in Hz. + +Example: + +timer { + compatible = "altr,timer-1.0"; + reg = <0x00400000 0x00000020>; + interrupt-parent = <&cpu>; + interrupts = <11>; + clock-frequency = <125000000>; +}; -- cgit v1.2.3