Commit | Line | Data |
---|---|---|
fd944da3 AS |
1 | * Cirrus Logic CLPS711X Timer Counter |
2 | ||
3 | Required properties: | |
d64c0105 | 4 | - compatible: Shall contain "cirrus,ep7209-timer". |
fd944da3 AS |
5 | - reg : Address and length of the register set. |
6 | - interrupts: The interrupt number of the timer. | |
7 | - clocks : phandle of timer reference clock. | |
8 | ||
9 | Note: Each timer should have an alias correctly numbered in "aliases" node. | |
10 | ||
11 | Example: | |
12 | aliases { | |
13 | timer0 = &timer1; | |
14 | timer1 = &timer2; | |
15 | }; | |
16 | ||
17 | timer1: timer@80000300 { | |
d64c0105 | 18 | compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; |
fd944da3 AS |
19 | reg = <0x80000300 0x4>; |
20 | interrupts = <8>; | |
21 | clocks = <&clks 5>; | |
22 | }; | |
23 | ||
24 | timer2: timer@80000340 { | |
d64c0105 | 25 | compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; |
fd944da3 AS |
26 | reg = <0x80000340 0x4>; |
27 | interrupts = <9>; | |
28 | clocks = <&clks 6>; | |
29 | }; |