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-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 pwm:
53 const: st,stm32-pwm-lp
55 "#pwm-cells":
59 - "#pwm-cells"
60 - compatible
68 const: st,stm32-lptimer-counter
71 - compatible
73 timer:
79 const: st,stm32-lptimer-timer
82 - compatible
85 "^trigger@[0-9]+$":
91 const: st,stm32-lptimer-trigger
100 - compatible
101 - reg
104 - "#address-cells"
105 - "#size-cells"
106 - compatible
107 - reg
108 - clocks
109 - clock-names
114 - |
115 #include <dt-bindings/clock/stm32mp1-clks.h>
116 #include <dt-bindings/interrupt-controller/arm-gic.h>
117 timer@40002400 {
118 compatible = "st,stm32-lptimer";
121 clock-names = "mux";
122 interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
123 #address-cells = <1>;
124 #size-cells = <0>;
126 pwm {
127 compatible = "st,stm32-pwm-lp";
128 #pwm-cells = <3>;
132 compatible = "st,stm32-lptimer-trigger";
137 compatible = "st,stm32-lptimer-counter";
140 timer {
141 compatible = "st,stm32-lptimer-timer";