Thomas Chou | a54915d | 2015-10-22 22:28:53 +0800 | [diff] [blame] | 1 | Altera Timer |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible : should be "altr,timer-1.0" |
| 6 | - reg : Specifies base physical address and size of the registers. |
| 7 | - interrupt-parent: phandle of the interrupt controller |
| 8 | - interrupts : Should contain the timer interrupt number |
| 9 | - clock-frequency : The frequency of the clock that drives the counter, in Hz. |
| 10 | |
| 11 | Example: |
| 12 | |
| 13 | timer { |
| 14 | compatible = "altr,timer-1.0"; |
| 15 | reg = <0x00400000 0x00000020>; |
| 16 | interrupt-parent = <&cpu>; |
| 17 | interrupts = <11>; |
| 18 | clock-frequency = <125000000>; |
| 19 | }; |