Lines Matching +full:stm32 +full:- +full:timer +full:- +full:counter

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#
7 title: STMicroelectronics STM32 Timers bindings
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
14 - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
16 - basic timers consist of a 16-bit auto-reload counter driven by a
20 - Benjamin Gaignard <benjamin.gaignard@st.com>
21 - Fabrice Gasnier <fabrice.gasnier@st.com>
25 const: st,stm32-timers
33 clock-names:
35 - const: int
44 dma-names:
50 "#address-cells":
53 "#size-cells":
61 const: st,stm32-pwm
63 "#pwm-cells":
70 $ref: /schemas/types.yaml#/definitions/uint32-matrix
73 - description: |
77 - description: |
81 - description: |
88 - "#pwm-cells"
89 - compatible
92 "^timer@[0-9]+$":
98 - st,stm32-timer-trigger
99 - st,stm32h7-timer-trigger
108 - compatible
109 - reg
111 counter:
116 const: st,stm32-timer-counter
119 - compatible
122 - compatible
123 - reg
124 - clocks
125 - clock-names
130 - |
131 #include <dt-bindings/clock/stm32mp1-clks.h>
132 timers2: timer@40000000 {
133 #address-cells = <1>;
134 #size-cells = <0>;
135 compatible = "st,stm32-timers";
138 clock-names = "int";
144 dma-names = "ch1", "ch2", "ch3", "ch4", "up";
146 compatible = "st,stm32-pwm";
147 #pwm-cells = <3>;
150 timer@1 {
151 compatible = "st,stm32-timer-trigger";
154 counter {
155 compatible = "st,stm32-timer-counter";