blob: 126d7e95d6dce02af695e639516fef25c3d27019 [file] [log] [blame]
# Copyright (c) 2018, SiFive Inc.
# SPDX-License-Identifier: Apache-2.0
description: SiFive PWM
compatible: "sifive,pwm0"
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
properties:
reg:
required: true
interrupts:
required: true
sifive,compare-width:
type: int
required: true
description: Width of the PWM comparator in bits
"#pwm-cells":
const: 2
pwm-cells:
- channel
# period in terms of nanoseconds
- period