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
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@foss.st.com>
24 const: st,stm32-lptimer
32 clock-names:
34 - const: mux
39 "#address-cells":
42 "#size-cells":
45 wakeup-source: true
47 access-controllers:
57 const: st,stm32-pwm-lp
59 "#pwm-cells":
63 - "#pwm-cells"
64 - compatible
66 counter:
72 const: st,stm32-lptimer-counter
75 - compatible
77 timer:
83 const: st,stm32-lptimer-timer
86 - compatible
89 "^trigger@[0-9]+$":
95 const: st,stm32-lptimer-trigger
104 - compatible
105 - reg
108 - "#address-cells"
109 - "#size-cells"
110 - compatible
111 - reg
112 - clocks
113 - clock-names
118 - |
119 #include <dt-bindings/clock/stm32mp1-clks.h>
120 #include <dt-bindings/interrupt-controller/arm-gic.h>
121 timer@40002400 {
122 compatible = "st,stm32-lptimer";
125 clock-names = "mux";
126 interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
127 #address-cells = <1>;
128 #size-cells = <0>;
131 compatible = "st,stm32-pwm-lp";
132 #pwm-cells = <3>;
136 compatible = "st,stm32-lptimer-trigger";
140 counter {
141 compatible = "st,stm32-lptimer-counter";
144 timer {
145 compatible = "st,stm32-lptimer-timer";