summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-04-25 14:24:59 -0500
committerRob Herring <robh@kernel.org>2018-04-27 16:56:47 -0500
commit2359ccddc1c3f4752f43cc19b3db189710b15791 (patch)
tree176ed8de6384351f7a901f6109d121bac41d0e24 /Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt
parent2564fd43f6b24a3fc593c58a714461076943c276 (diff)
dt-bindings: move various timer bindings to timer/ directory
Bindings are supposed to be organized by device class/function. Move bindings for various timers to timer/ binding directory. Cc: Linus Walleij <linus.walleij@linaro.org> Acked-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt')
-rw-r--r--Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt b/Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt
new file mode 100644
index 000000000000..7cf4a24601eb
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/arm,armv7m-systick.txt
@@ -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>;
+};