mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 03:42:33 +00:00
Add support for specifying PWM flags for the NXP Kinetis FlexTimer (FTM) PWM driver through the device tree. All in-tree clients of this PWM controller are active-low LEDs. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
25 lines
357 B
YAML
25 lines
357 B
YAML
# Copyright (c) 2017, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Kinetis FTM
|
|
|
|
compatible: "nxp,kinetis-ftm"
|
|
|
|
include: [pwm-controller.yaml, base.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
interrupts:
|
|
required: true
|
|
|
|
"#pwm-cells":
|
|
const: 3
|
|
|
|
pwm-cells:
|
|
- channel
|
|
# period in terms of nanoseconds
|
|
- period
|
|
- flags
|