blob: 83ffcd86146c08c1a8ade8b8362e60d615fe40dc [file] [log] [blame]
# Copyright (c) 2019, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: NXP MCUX PWM
compatible: "nxp,imx-pwm"
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
properties:
index:
type: int
description: flexpwm submodule index
required: true
interrupts:
required: true
run-in-wait:
type: boolean
description: |
Enable for PWM to keep running in WAIT mode.
run-in-debug:
type: boolean
description: |
Enable for PWM to keep running in debug mode.
nxp,prescaler:
type: int
enum: [1, 2, 4, 8, 16, 32, 64, 128]
required: true
description: |
Clock prescaler at the input of the PWM.
"#pwm-cells":
const: 2
pwm-cells:
- channel
- period