diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 14:28:53 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 23:37:03 (GMT) |
commit | a54915d8a13ce800645655728a2f203aeda98740 (patch) | |
tree | b78265a3c855d30a49a75c9271ae63cd5bd6e1c8 /doc/device-tree-bindings/timer | |
parent | 8f41b8785be20da320a544206f8c6e4f352bc9f4 (diff) | |
download | u-boot-a54915d8a13ce800645655728a2f203aeda98740.tar.xz |
nios2: convert altera timer to driver model
Convert altera timer to driver model.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'doc/device-tree-bindings/timer')
-rw-r--r-- | doc/device-tree-bindings/timer/altera_timer.txt | 19 |
1 files changed, 19 insertions, 0 deletions
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 0000000..904a584 --- /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>; +}; |