39 lines
580 B
YAML
39 lines
580 B
YAML
# Copyright (c) 2021 Vestas Wind Systems A/S
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Kinetis PWT PWM Capture
|
|
|
|
compatible: "nxp,kinetis-pwt"
|
|
|
|
include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
interrupts:
|
|
required: true
|
|
|
|
prescaler:
|
|
type: int
|
|
required: true
|
|
enum:
|
|
- 1
|
|
- 2
|
|
- 4
|
|
- 8
|
|
- 16
|
|
- 32
|
|
- 64
|
|
- 128
|
|
description: Input clock prescaler
|
|
|
|
"#pwm-cells":
|
|
const: 3
|
|
|
|
pwm-cells:
|
|
- channel
|
|
# period in terms of nanoseconds
|
|
- period
|
|
- flags
|