1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: PWM controllers (providers)
8
9maintainers:
10  - Thierry Reding <thierry.reding@gmail.com>
11
12properties:
13  $nodename:
14    pattern: "^pwm(@.*|-[0-9a-f])*$"
15
16  "#pwm-cells":
17    description:
18      Number of cells in a PWM specifier.
19
20required:
21  - "#pwm-cells"
22
23additionalProperties: true
24
25examples:
26  - |
27    pwm: pwm@1c20e00 {
28        compatible = "allwinner,sun7i-a20-pwm";
29        reg = <0x01c20e00 0xc>;
30        clocks = <&osc24M>;
31        #pwm-cells = <3>;
32    };
33