1# Copyright (c) 2023 Nuvoton Technology Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nuvoton, NuMaker PWM controller
5
6compatible: "nuvoton,numaker-pwm"
7
8include: [pwm-controller.yaml, base.yaml, reset-device.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  resets:
18    required: true
19
20  clocks:
21    required: true
22
23  prescaler:
24    type: int
25    required: true
26    description: Set the PWM prescale 0 ~ 4095
27
28  "#pwm-cells":
29    const: 3
30
31pwm-cells:
32  - channel
33  - period
34  - flags
35