diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-22 22:28:53 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:37:03 +0800 |
commit | a54915d8a13ce800645655728a2f203aeda98740 (patch) | |
tree | b78265a3c855d30a49a75c9271ae63cd5bd6e1c8 /doc | |
parent | 8f41b8785be20da320a544206f8c6e4f352bc9f4 (diff) | |
download | u-boot-imx-a54915d8a13ce800645655728a2f203aeda98740.zip u-boot-imx-a54915d8a13ce800645655728a2f203aeda98740.tar.gz u-boot-imx-a54915d8a13ce800645655728a2f203aeda98740.tar.bz2 |
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')
-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>; +}; |