1# Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
2# SPDX-License-Identifier: Apache-2.0
3
4description: MCUX Timer/PWM Module (TPM)
5
6compatible: "nxp,kinetis-tpm"
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  pinctrl-0:
18    required: true
19
20  prescaler:
21    type: int
22    required: true
23    enum:
24      - 1
25      - 2
26      - 4
27      - 8
28      - 16
29      - 32
30      - 64
31      - 128
32    description: Input clock prescaler
33
34  "#pwm-cells":
35    const: 3
36
37pwm-cells:
38  - channel
39  # period in terms of nanoseconds
40  - period
41  - flags
42