xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/pwm.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/pwm.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: PWM controllers (providers)
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Thierry Reding <thierry.reding@gmail.com>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotproperties:
13*c66ec88fSEmmanuel Vadot  $nodename:
14*c66ec88fSEmmanuel Vadot    pattern: "^pwm(@.*|-[0-9a-f])*$"
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot  "#pwm-cells":
17*c66ec88fSEmmanuel Vadot    description:
18*c66ec88fSEmmanuel Vadot      Number of cells in a PWM specifier.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotrequired:
21*c66ec88fSEmmanuel Vadot  - "#pwm-cells"
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadotexamples:
24*c66ec88fSEmmanuel Vadot  - |
25*c66ec88fSEmmanuel Vadot    pwm: pwm@7000a000 {
26*c66ec88fSEmmanuel Vadot        compatible = "nvidia,tegra20-pwm";
27*c66ec88fSEmmanuel Vadot        reg = <0x7000a000 0x100>;
28*c66ec88fSEmmanuel Vadot        #pwm-cells = <2>;
29*c66ec88fSEmmanuel Vadot    };
30