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-lptimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Low-Power Timers bindings
10 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
12 - PWM output (with programmable prescaler, configurable polarity)
13 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
14 - Several counter modes:
15 - quadrature encoder to detect angular position and direction of rotary
17 - simple counter from IN1 input signal.
20 - Fabrice Gasnier <fabrice.gasnier@st.com>
24 const: st,stm32-lptimer
32 clock-names:
34 - const: mux
39 "#address-cells":
42 "#size-cells":
45 wakeup-source: true
52 const: st,stm32-pwm-lp
54 "#pwm-cells":
58 - "#pwm-cells"
59 - compatible
62 "^trigger@[0-9]+$":
67 const: st,stm32-lptimer-trigger
76 - compatible
77 - reg
79 counter:
84 const: st,stm32-lptimer-counter
87 - compatible
89 timer:
94 const: st,stm32-lptimer-timer
97 - compatible
100 - "#address-cells"
101 - "#size-cells"
102 - compatible
103 - reg
104 - clocks
105 - clock-names
110 - |
111 #include <dt-bindings/clock/stm32mp1-clks.h>
112 #include <dt-bindings/interrupt-controller/arm-gic.h>
113 timer@40002400 {
114 compatible = "st,stm32-lptimer";
117 clock-names = "mux";
118 interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
119 #address-cells = <1>;
120 #size-cells = <0>;
123 compatible = "st,stm32-pwm-lp";
124 #pwm-cells = <3>;
128 compatible = "st,stm32-lptimer-trigger";
132 counter {
133 compatible = "st,stm32-lptimer-counter";
136 timer {
137 compatible = "st,stm32-lptimer-timer";