xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/adi,axi-pwmgen.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Analog Devices AXI PWM generator
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Michael Hennerich <Michael.Hennerich@analog.com>
11*0e8011faSEmmanuel Vadot  - Nuno Sá <nuno.sa@analog.com>
12*0e8011faSEmmanuel Vadot
13*0e8011faSEmmanuel Vadotdescription:
14*0e8011faSEmmanuel Vadot  The Analog Devices AXI PWM generator can generate PWM signals
15*0e8011faSEmmanuel Vadot  with variable pulse width and period.
16*0e8011faSEmmanuel Vadot
17*0e8011faSEmmanuel Vadot  https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel VadotallOf:
20*0e8011faSEmmanuel Vadot  - $ref: pwm.yaml#
21*0e8011faSEmmanuel Vadot
22*0e8011faSEmmanuel Vadotproperties:
23*0e8011faSEmmanuel Vadot  compatible:
24*0e8011faSEmmanuel Vadot    const: adi,axi-pwmgen-2.00.a
25*0e8011faSEmmanuel Vadot
26*0e8011faSEmmanuel Vadot  reg:
27*0e8011faSEmmanuel Vadot    maxItems: 1
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot  "#pwm-cells":
30*0e8011faSEmmanuel Vadot    const: 2
31*0e8011faSEmmanuel Vadot
32*0e8011faSEmmanuel Vadot  clocks:
33*0e8011faSEmmanuel Vadot    maxItems: 1
34*0e8011faSEmmanuel Vadot
35*0e8011faSEmmanuel Vadotrequired:
36*0e8011faSEmmanuel Vadot  - reg
37*0e8011faSEmmanuel Vadot  - clocks
38*0e8011faSEmmanuel Vadot
39*0e8011faSEmmanuel VadotunevaluatedProperties: false
40*0e8011faSEmmanuel Vadot
41*0e8011faSEmmanuel Vadotexamples:
42*0e8011faSEmmanuel Vadot  - |
43*0e8011faSEmmanuel Vadot    pwm@44b00000 {
44*0e8011faSEmmanuel Vadot       compatible = "adi,axi-pwmgen-2.00.a";
45*0e8011faSEmmanuel Vadot       reg = <0x44b00000 0x1000>;
46*0e8011faSEmmanuel Vadot       clocks = <&spi_clk>;
47*0e8011faSEmmanuel Vadot       #pwm-cells = <2>;
48*0e8011faSEmmanuel Vadot    };
49