2020-04-08 14:02:11 +08:00
|
|
|
# Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: MCUX Timer/PWM Module (TPM)
|
|
|
|
|
|
|
|
compatible: "nxp,kinetis-tpm"
|
|
|
|
|
2022-03-09 04:54:09 +08:00
|
|
|
include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
|
2020-04-08 14:02:11 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
2020-04-08 14:02:11 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
interrupts:
|
|
|
|
required: true
|
2020-04-08 14:02:11 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-0:
|
|
|
|
required: true
|
2021-05-04 04:04:08 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
"#pwm-cells":
|
|
|
|
const: 3
|
2020-04-08 14:02:11 +08:00
|
|
|
|
|
|
|
pwm-cells:
|
|
|
|
- channel
|
2023-01-03 20:38:35 +08:00
|
|
|
# period in terms of nanoseconds
|
2020-04-08 14:02:11 +08:00
|
|
|
- period
|
|
|
|
- flags
|