Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: document the MPS2 timer bindings

This adds documentation of device tree bindings for the
timers found on ARM MPS2 platform.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Vladimir Murzin and committed by
Daniel Lezcano
96669fa4 d98eddf8

+28
+28
Documentation/devicetree/bindings/timer/arm,mps2-timer.txt
··· 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 + };