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

35 lines
557 B
YAML

# Copyright (c) 2023 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: Nuvoton, NuMaker PWM controller
compatible: "nuvoton,numaker-pwm"
include: [pwm-controller.yaml, base.yaml, reset-device.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
interrupts:
required: true
resets:
required: true
clocks:
required: true
prescaler:
type: int
required: true
description: Set the PWM prescale 0 ~ 4095
"#pwm-cells":
const: 3
pwm-cells:
- channel
- period
- flags