Vlad Zakharov | 8f2c1da | 2017-03-21 14:49:47 +0300 | [diff] [blame] | 1 | ARC Timer |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible : should be "snps,arc-timer". |
| 6 | - reg : Specifies timer ID, could be either 0 or 1. |
| 7 | - clocks : Specifies clocks that drives the counter. |
| 8 | |
| 9 | Examples: |
| 10 | |
| 11 | timer@0 { |
| 12 | compatible = "snps,arc-timer"; |
| 13 | clocks = <&core_clk>; |
| 14 | reg = <0>; |
| 15 | }; |
| 16 | |
| 17 | timer@1 { |
| 18 | compatible = "snps,arc-timer"; |
| 19 | clocks = <&core_clk>; |
| 20 | reg = <1>; |
| 21 | }; |
| 22 | |
| 23 | NOTE: if you specify both timers, clocks always should be the same |
| 24 | as each timer is driven by the same core clock. |