xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/pwm.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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
23examples:
24  - |
25    pwm: pwm@7000a000 {
26        compatible = "nvidia,tegra20-pwm";
27        reg = <0x7000a000 0x100>;
28        #pwm-cells = <2>;
29    };
30