| # 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 |