This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

sifive,pwm0

Vendor: SiFive, Inc.

Description

SiFive PWM

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Clock frequency information for PWM operation

sifive,compare-width

int

Width of the PWM comparator in bits

This property is required.

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 2

Specifier cell names

  • pwm cells: channel, period