xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/via,vt8500-pwm.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/via,vt8500-pwm.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Alexey Charkov <alchark@gmail.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel VadotallOf:
13*ae5de77eSEmmanuel Vadot  - $ref: pwm.yaml#
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadotproperties:
16*ae5de77eSEmmanuel Vadot  compatible:
17*ae5de77eSEmmanuel Vadot    items:
18*ae5de77eSEmmanuel Vadot      - const: via,vt8500-pwm
19*ae5de77eSEmmanuel Vadot
20*ae5de77eSEmmanuel Vadot  reg:
21*ae5de77eSEmmanuel Vadot    maxItems: 1
22*ae5de77eSEmmanuel Vadot
23*ae5de77eSEmmanuel Vadot  '#pwm-cells':
24*ae5de77eSEmmanuel Vadot    const: 3
25*ae5de77eSEmmanuel Vadot
26*ae5de77eSEmmanuel Vadot  clocks:
27*ae5de77eSEmmanuel Vadot    maxItems: 1
28*ae5de77eSEmmanuel Vadot
29*ae5de77eSEmmanuel Vadotrequired:
30*ae5de77eSEmmanuel Vadot  - compatible
31*ae5de77eSEmmanuel Vadot  - reg
32*ae5de77eSEmmanuel Vadot  - clocks
33*ae5de77eSEmmanuel Vadot
34*ae5de77eSEmmanuel VadotadditionalProperties: false
35*ae5de77eSEmmanuel Vadot
36*ae5de77eSEmmanuel Vadotexamples:
37*ae5de77eSEmmanuel Vadot  - |
38*ae5de77eSEmmanuel Vadot    pwm1: pwm@d8220000 {
39*ae5de77eSEmmanuel Vadot        compatible = "via,vt8500-pwm";
40*ae5de77eSEmmanuel Vadot        reg = <0xd8220000 0x1000>;
41*ae5de77eSEmmanuel Vadot        #pwm-cells = <3>;
42*ae5de77eSEmmanuel Vadot        clocks = <&clkpwm>;
43*ae5de77eSEmmanuel Vadot    };
44