Lines Matching +full:timer +full:- +full:pwm
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-timers.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 This hardware block provides 3 types of timer along with PWM functionality:
11 - advanced-control timers consist of a 16-bit auto-reload counter driven
12 by a programmable prescaler, break input feature, PWM outputs and
13 complementary PWM outputs channels.
14 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
15 driven by a programmable prescaler and PWM outputs.
16 - basic timers consist of a 16-bit auto-reload counter driven by a
20 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
24 const: st,stm32-timers
32 clock-names:
34 - const: int
43 dma-names:
51 - maxItems: 1
52 - maxItems: 4
54 interrupt-names:
56 - items:
57 - const: global
58 - items:
59 - const: brk
60 - const: up
61 - const: trg-com
62 - const: cc
64 "#address-cells":
67 "#size-cells":
70 pwm:
76 const: st,stm32-pwm
78 "#pwm-cells":
85 $ref: /schemas/types.yaml#/definitions/uint32-matrix
88 - description: |
92 - description: |
96 - description: |
103 - "#pwm-cells"
104 - compatible
112 const: st,stm32-timer-counter
115 - compatible
118 "^timer@[0-9]+$":
125 - st,stm32-timer-trigger
126 - st,stm32h7-timer-trigger
135 - compatible
136 - reg
139 - compatible
140 - reg
141 - clocks
142 - clock-names
147 - |
148 #include <dt-bindings/clock/stm32mp1-clks.h>
149 timers2: timer@40000000 {
150 #address-cells = <1>;
151 #size-cells = <0>;
152 compatible = "st,stm32-timers";
155 clock-names = "int";
161 dma-names = "ch1", "ch2", "ch3", "ch4", "up";
162 pwm {
163 compatible = "st,stm32-pwm";
164 #pwm-cells = <3>;
167 timer@1 {
168 compatible = "st,stm32-timer-trigger";
172 compatible = "st,stm32-timer-counter";