blob: 0576f7903346e0a804b55cf4b3972c74c1c064f1 [file] [log] [blame]
# Copyright (c) 2018, SiFive Inc.
# SPDX-License-Identifier: Apache-2.0
title: SiFive PWM
description: >
This binding gives a base representation of the SiFive PWM
compatible: "sifive,pwm0"
include: [pwm-controller.yaml, base.yaml]
properties:
clock-frequency:
type: int
required: false
description: Clock frequency information for PWM operation
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
"#cells":
- channel
# period in terms of nanoseconds
- period