1# Copyright (c) 2019, Aurelien Jarno
2# SPDX-License-Identifier: Apache-2.0
3
4description: Atmel SAM PWM
5
6compatible: "atmel,sam-pwm"
7
8include:
9  - name: base.yaml
10  - name: pwm-controller.yaml
11  - name: pinctrl-device.yaml
12
13properties:
14  reg:
15    required: true
16
17  interrupts:
18    required: true
19
20  clocks:
21    required: true
22
23  prescaler:
24    type: int
25    required: true
26    description: Clock prescaler at the input of the PWM (0 to 10)
27
28  divider:
29    type: int
30    required: true
31    description: Clock divider at the input of the PWM (1 to 255)
32
33  "#pwm-cells":
34    const: 3
35
36pwm-cells:
37  - channel
38  # period in terms of nanoseconds
39  - period
40  - flags
41