1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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
16 elements, from IN1 and IN2 input signals.
17 - simple counter from IN1 input signal.
20 - Fabrice Gasnier <fabrice.gasnier@st.com>
24 const: st,stm32-lptimer
47 const: st,stm32-pwm-lp
62 const: st,stm32-lptimer-trigger
65 description: Identify trigger hardware block.
79 const: st,stm32-lptimer-counter
92 additionalProperties: false
96 #include <dt-bindings/clock/stm32mp1-clks.h>
98 compatible = "st,stm32-lptimer";
99 reg = <0x40002400 0x400>;
100 clocks = <&timer_clk>;
102 #address-cells = <1>;
106 compatible = "st,stm32-pwm-lp";
111 compatible = "st,stm32-lptimer-trigger";
116 compatible = "st,stm32-lptimer-counter";