The latest development version of this page may be more current than this released 2.7.5 version.

st,stm32-pwm

Vendor: STMicroelectronics

Description

STM32 PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

st,prescaler

int

Clock prescaler at the input of the timer

This property is required.

pinctrl-0

phandles

GPIO pin configuration for PWM signal/s. We expect that the phandles
will reference pinctrl nodes, e.g.

   pinctrl-0 = <&tim1_ch1_pwm_pa8 &tim1_ch2_pwm_pa9>;

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 3

Specifier cell names

  • pwm cells: channel, period, flags