Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / pwm / brcm,iproc-pwm.yaml
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
7 title: Broadcom iProc PWM controller
8
9 maintainers:
10   - Rafał Miłecki <rafal@milecki.pl>
11
12 description:
13   This controller has 4 channels.
14
15 allOf:
16   - $ref: pwm.yaml#
17
18 properties:
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
32 unevaluatedProperties: false
33
34 required:
35   - reg
36   - clocks
37
38 examples:
39   - |
40     pwm@18031000 {
41         compatible = "brcm,iproc-pwm";
42         reg = <0x18031000 0x28>;
43         clocks = <&osc>;
44         #pwm-cells = <3>;
45     };