]> git.samba.org - sfrench/cifs-2.6.git/blob - Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml
Merge tag 'pci-v5.18-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pwm / brcm,bcm7038-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,bcm7038-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)
8
9 maintainers:
10   - Florian Fainelli <f.fainelli@gmail.com>
11
12 allOf:
13   - $ref: pwm.yaml#
14
15 properties:
16   compatible:
17     const: brcm,bcm7038-pwm
18
19   reg:
20     maxItems: 1
21
22   "#pwm-cells":
23     const: 2
24
25   clocks:
26     maxItems: 1
27
28 required:
29   - compatible
30   - reg
31   - clocks
32
33 additionalProperties: false
34
35 examples:
36   - |
37     pwm: pwm@f0408000 {
38        compatible = "brcm,bcm7038-pwm";
39        reg = <0xf0408000 0x28>;
40        #pwm-cells = <2>;
41        clocks = <&upg_fixed>;
42     };