Commit | Line | Data |
---|---|---|
77ba83bb DT |
1 | TI-NSPIRE timer |
2 | ||
3 | Required properties: | |
4 | ||
5 | - compatible : should be "lsi,zevio-timer". | |
6 | - reg : The physical base address and size of the timer (always first). | |
7 | - clocks: phandle to the source clock. | |
8 | ||
9 | Optional properties: | |
10 | ||
11 | - interrupts : The interrupt number of the first timer. | |
12 | - reg : The interrupt acknowledgement registers | |
13 | (always after timer base address) | |
14 | ||
15 | If any of the optional properties are not given, the timer is added as a | |
16 | clock-source only. | |
17 | ||
18 | Example: | |
19 | ||
20 | timer { | |
21 | compatible = "lsi,zevio-timer"; | |
22 | reg = <0x900D0000 0x1000>, <0x900A0020 0x8>; | |
23 | interrupts = <19>; | |
24 | clocks = <&timer_clk>; | |
25 | }; | |
26 | ||
27 | Example (no clock-events): | |
28 | ||
29 | timer { | |
30 | compatible = "lsi,zevio-timer"; | |
31 | reg = <0x900D0000 0x1000>; | |
32 | clocks = <&timer_clk>; | |
33 | }; |