diff options
author | Maxime Coquelin <mcoquelin.stm32@gmail.com> | 2015-05-09 03:53:45 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-06-02 06:10:13 -0400 |
commit | 571fc8e836a1537b87804358c7baa9882d25b754 (patch) | |
tree | 443cc9a79f1e2cd9c00baca39fef39650818e7a7 | |
parent | 5fc9b49deadc16d088e8fc6ca4fee85644380497 (diff) |
dt-bindings: Document the ARM System timer bindings
This adds documentation of device tree bindings for the
ARM System timer.
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | Documentation/devicetree/bindings/arm/armv7m_systick.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/armv7m_systick.txt b/Documentation/devicetree/bindings/arm/armv7m_systick.txt new file mode 100644 index 000000000000..7cf4a24601eb --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armv7m_systick.txt | |||
@@ -0,0 +1,26 @@ | |||
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 | }; | ||