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