nuvoton,npcx-pwm

Vendor: Nuvoton Technology Corporation

Description

Nuvoton, NPCX Pulse Width Modulator (PWM) node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

pwm-channel

int

A index to indicate PWM module that generates a single PWM signal.
Please don't overwrite it in the board-level DT driver.

clock-bus

string

Select a specific input clock source for the PWM module. If this
property doesn't exist, fallback to default value in clocks property.

Legal values: 'NPCX_CLOCK_BUS_APB2', 'NPCX_CLOCK_BUS_LFCLK'

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

Specifier cell names

  • pwm cells: channel, period, flags