mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-20 04:25:21 +00:00
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>
41 lines
705 B
YAML
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
|
|
...
|