1# Copyright (c) 2021 Vestas Wind Systems A/S
2# SPDX-License-Identifier: Apache-2.0
3
4description: Kinetis PWT PWM Capture
5
6compatible: "nxp,kinetis-pwt"
7
8include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  prescaler:
18    type: int
19    required: true
20    enum:
21      - 1
22      - 2
23      - 4
24      - 8
25      - 16
26      - 32
27      - 64
28      - 128
29    description: Input clock prescaler
30
31  "#pwm-cells":
32    const: 3
33
34pwm-cells:
35  - channel
36  # period in terms of nanoseconds
37  - period
38  - flags
39