Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | ARM MPS2 timer |
| 2 | |
| 3 | The MPS2 platform has simple general-purpose 32 bits timers. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible : Should be "arm,mps2-timer" |
| 7 | - reg : Address and length of the register set |
| 8 | - interrupts : Reference to the timer interrupt |
| 9 | |
| 10 | Required clocking property, have to be one of: |
| 11 | - clocks : The input clock of the timer |
| 12 | - clock-frequency : The rate in HZ in input of the ARM MPS2 timer |
| 13 | |
| 14 | Examples: |
| 15 | |
| 16 | timer1: mps2-timer@40000000 { |
| 17 | compatible = "arm,mps2-timer"; |
| 18 | reg = <0x40000000 0x1000>; |
| 19 | interrupts = <8>; |
| 20 | clocks = <&sysclk>; |
| 21 | }; |
| 22 | |
| 23 | timer2: mps2-timer@40001000 { |
| 24 | compatible = "arm,mps2-timer"; |
| 25 | reg = <0x40001000 0x1000>; |
| 26 | interrupts = <9>; |
| 27 | clock-frequency = <25000000>; |
| 28 | }; |