Skip to content

Commit

Permalink
dt-bindings: Document the ARM System timer bindings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Coquelin authored and Daniel Lezcano committed Jun 2, 2015
1 parent 5fc9b49 commit 571fc8e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Documentation/devicetree/bindings/arm/armv7m_systick.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
* ARMv7M System Timer

ARMv7-M includes a system timer, known as SysTick. Current driver only
implements the clocksource feature.

Required properties:
- compatible : Should be "arm,armv7m-systick"
- reg : The address range of the timer

Required clocking property, have to be one of:
- clocks : The input clock of the timer
- clock-frequency : The rate in HZ in input of the ARM SysTick

Examples:

systick: timer@e000e010 {
compatible = "arm,armv7m-systick";
reg = <0xe000e010 0x10>;
clocks = <&clk_systick>;
};

systick: timer@e000e010 {
compatible = "arm,armv7m-systick";
reg = <0xe000e010 0x10>;
clock-frequency = <90000000>;
};

0 comments on commit 571fc8e

Please sign in to comment.