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

dt-bindings: Document the STM32 timer bindings

This adds documentation of device tree bindings for the
STM32 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>

authored by

Maxime Coquelin and committed by
Daniel Lezcano
4853914f 4958ebb3

+22
+22
Documentation/devicetree/bindings/timer/st,stm32-timer.txt
··· 1 + . STMicroelectronics STM32 timer 2 + 3 + The STM32 MCUs family has several general-purpose 16 and 32 bits timers. 4 + 5 + Required properties: 6 + - compatible : Should be "st,stm32-timer" 7 + - reg : Address and length of the register set 8 + - clocks : Reference on the timer input clock 9 + - interrupts : Reference to the timer interrupt 10 + 11 + Optional properties: 12 + - resets: Reference to a reset controller asserting the timer 13 + 14 + Example: 15 + 16 + timer5: timer@40000c00 { 17 + compatible = "st,stm32-timer"; 18 + reg = <0x40000c00 0x400>; 19 + interrupts = <50>; 20 + resets = <&rrc 259>; 21 + clocks = <&clk_pmtr1>; 22 + };