blob: a72edcb840e4adf6c7bd69c91b9c651b5f2c5fad [file] [log] [blame]
# 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, pinctrl-device.yaml]
properties:
reg:
required: true
clocks:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
pwm-channel:
type: int
description: |
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:
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
- period
- flags