summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.yaml
blob: 218ab06c34d1b5c24dae8310e7fdb2509c028c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom iProc PWM controller

maintainers:
  - Rafał Miłecki <rafal@milecki.pl>

description:
  This controller has 4 channels.

allOf:
  - $ref: pwm.yaml#

properties:
  compatible:
    const: brcm,iproc-pwm

  reg:
    maxItems: 1

  clocks:
    description: external clock
    maxItems: 1

  "#pwm-cells":
    const: 3

unevaluatedProperties: false

required:
  - reg
  - clocks

examples:
  - |
    pwm@18031000 {
        compatible = "brcm,iproc-pwm";
        reg = <0x18031000 0x28>;
        clocks = <&osc>;
        #pwm-cells = <3>;
    };