zephyr/dts/bindings/pwm/sifive,pwm0.yaml
Kumar Gala 540405c44e dts: Update sifive PWM device tree binding/nodes for #pwm-cells
Add #pwm-cells to the sifive PWM binding and dts files.  This is to
support have a pwms clients work properly.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2018-11-13 10:00:38 +01:00

41 lines
705 B
YAML

#
# Copyright (c) 2018, SiFive Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: SiFive PWM
version: 0.1
description: >
This binding gives a base representation of the SiFive PWM
inherits:
!include pwm.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "sifive,pwm0"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
"#cells":
- channel
# period in terms of nanoseconds
- period
...