aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/mfd/stm32-timers.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/stm32-timers.txt b/Documentation/devicetree/bindings/mfd/stm32-timers.txt
index 1db6e0057a63..0e900b52e895 100644
--- a/Documentation/devicetree/bindings/mfd/stm32-timers.txt
+++ b/Documentation/devicetree/bindings/mfd/stm32-timers.txt
@@ -19,6 +19,11 @@ Required parameters:
19Optional parameters: 19Optional parameters:
20- resets: Phandle to the parent reset controller. 20- resets: Phandle to the parent reset controller.
21 See ../reset/st,stm32-rcc.txt 21 See ../reset/st,stm32-rcc.txt
22- dmas: List of phandle to dma channels that can be used for
23 this timer instance. There may be up to 7 dma channels.
24- dma-names: List of dma names. Must match 'dmas' property. Valid
25 names are: "ch1", "ch2", "ch3", "ch4", "up", "trig",
26 "com".
22 27
23Optional subnodes: 28Optional subnodes:
24- pwm: See ../pwm/pwm-stm32.txt 29- pwm: See ../pwm/pwm-stm32.txt
@@ -44,3 +49,18 @@ Example:
44 reg = <0>; 49 reg = <0>;
45 }; 50 };
46 }; 51 };
52
53Example with all dmas:
54 timer@40010000 {
55 ...
56 dmas = <&dmamux1 11 0x400 0x0>,
57 <&dmamux1 12 0x400 0x0>,
58 <&dmamux1 13 0x400 0x0>,
59 <&dmamux1 14 0x400 0x0>,
60 <&dmamux1 15 0x400 0x0>,
61 <&dmamux1 16 0x400 0x0>,
62 <&dmamux1 17 0x400 0x0>;
63 dma-names = "ch1", "ch2", "ch3", "ch4", "up", "trig", "com";
64 ...
65 child nodes...
66 };