1# Copyright (c) 2018, SiFive Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4description: SiFive PWM
5
6compatible: "sifive,pwm0"
7
8include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  sifive,compare-width:
18    type: int
19    required: true
20    description: Width of the PWM comparator in bits
21
22  "#pwm-cells":
23    const: 2
24
25pwm-cells:
26  - channel
27  # period in terms of nanoseconds
28  - period
29