zephyr/dts/bindings/pwm/fsl,imx7d-pwm.yaml

42 lines
711 B
YAML

#
# Copyright (c) 2018, Diego Sueiro <diego.sueiro@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
#
title: i.MX7D PWM
description: >
This binding gives a base representation of the i.MX7D PWM
inherits:
!include [pwm.yaml, base.yaml]
properties:
compatible:
constraint: "fsl,imx7d-pwm"
reg:
category: required
interrupts:
category: required
prescaler:
type: int
category: required
description: Set the PWM prescale between 0 and 4096
rdc:
type: int
category: required
description: Set the RDC permission for this peripheral
"#pwm-cells":
const: 2
"#cells":
- channel
# period in terms of nanoseconds
- period