xref: /linux/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml (revision 46466ae3a105d9620e1355e33125a413b8c6ce18)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom iProc PWM controller
8
9maintainers:
10  - Rafał Miłecki <rafal@milecki.pl>
11
12description:
13  This controller has 4 channels.
14
15allOf:
16  - $ref: pwm.yaml#
17
18properties:
19  compatible:
20    const: brcm,iproc-pwm
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    description: external clock
27    maxItems: 1
28
29  "#pwm-cells":
30    const: 3
31
32unevaluatedProperties: false
33
34required:
35  - reg
36  - clocks
37
38examples:
39  - |
40    pwm@18031000 {
41        compatible = "brcm,iproc-pwm";
42        reg = <0x18031000 0x28>;
43        clocks = <&osc>;
44        #pwm-cells = <3>;
45    };
46