zephyr/dts/bindings/pwm/nuvoton,npcx-pwm.yaml

39 lines
998 B
YAML

# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NPCX Pulse Width Modulator (PWM) node
compatible: "nuvoton,npcx-pwm"
include: [pwm-controller.yaml, base.yaml]
properties:
reg:
required: true
clocks:
required: true
label:
required: true
pinctrl-0:
type: phandles
required: true
description: configurations of pinmux controllers
drive-open-drain:
type: boolean
description: |
The PWM output will be configured as open-drain. If not set,
defaults to push-pull.
clock-bus:
required: false
type: string
description: |
Select a specific input clock source for the PWM module. If this
property doesn't exist, fallback to default value in clocks property.
enum:
- NPCX_CLOCK_BUS_APB2
- NPCX_CLOCK_BUS_LFCLK
pwm-cells:
- channel
- flags