Commit | Line | Data |
---|---|---|
571fc8e8 MC |
1 | * ARMv7M System Timer |
2 | ||
3 | ARMv7-M includes a system timer, known as SysTick. Current driver only | |
4 | implements the clocksource feature. | |
5 | ||
6 | Required properties: | |
7 | - compatible : Should be "arm,armv7m-systick" | |
8 | - reg : The address range of the timer | |
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 SysTick | |
13 | ||
14 | Examples: | |
15 | ||
16 | systick: timer@e000e010 { | |
17 | compatible = "arm,armv7m-systick"; | |
18 | reg = <0xe000e010 0x10>; | |
19 | clocks = <&clk_systick>; | |
20 | }; | |
21 | ||
22 | systick: timer@e000e010 { | |
23 | compatible = "arm,armv7m-systick"; | |
24 | reg = <0xe000e010 0x10>; | |
25 | clock-frequency = <90000000>; | |
26 | }; |