blob: 60f5ee507246bb6539abe3bf6d962b83b2a9f0d5 [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