xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/brcm,bcm7038-pwm.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*e67e8565SEmmanuel Vadot%YAML 1.2
3*e67e8565SEmmanuel Vadot---
4*e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/brcm,bcm7038-pwm.yaml#
5*e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*e67e8565SEmmanuel Vadot
7*e67e8565SEmmanuel Vadottitle: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)
8*e67e8565SEmmanuel Vadot
9*e67e8565SEmmanuel Vadotmaintainers:
10*e67e8565SEmmanuel Vadot  - Florian Fainelli <f.fainelli@gmail.com>
11*e67e8565SEmmanuel Vadot
12*e67e8565SEmmanuel VadotallOf:
13*e67e8565SEmmanuel Vadot  - $ref: pwm.yaml#
14*e67e8565SEmmanuel Vadot
15*e67e8565SEmmanuel Vadotproperties:
16*e67e8565SEmmanuel Vadot  compatible:
17*e67e8565SEmmanuel Vadot    const: brcm,bcm7038-pwm
18*e67e8565SEmmanuel Vadot
19*e67e8565SEmmanuel Vadot  reg:
20*e67e8565SEmmanuel Vadot    maxItems: 1
21*e67e8565SEmmanuel Vadot
22*e67e8565SEmmanuel Vadot  "#pwm-cells":
23*e67e8565SEmmanuel Vadot    const: 2
24*e67e8565SEmmanuel Vadot
25*e67e8565SEmmanuel Vadot  clocks:
26*e67e8565SEmmanuel Vadot    maxItems: 1
27*e67e8565SEmmanuel Vadot
28*e67e8565SEmmanuel Vadotrequired:
29*e67e8565SEmmanuel Vadot  - compatible
30*e67e8565SEmmanuel Vadot  - reg
31*e67e8565SEmmanuel Vadot  - clocks
32*e67e8565SEmmanuel Vadot
33*e67e8565SEmmanuel VadotadditionalProperties: false
34*e67e8565SEmmanuel Vadot
35*e67e8565SEmmanuel Vadotexamples:
36*e67e8565SEmmanuel Vadot  - |
37*e67e8565SEmmanuel Vadot    pwm: pwm@f0408000 {
38*e67e8565SEmmanuel Vadot       compatible = "brcm,bcm7038-pwm";
39*e67e8565SEmmanuel Vadot       reg = <0xf0408000 0x28>;
40*e67e8565SEmmanuel Vadot       #pwm-cells = <2>;
41*e67e8565SEmmanuel Vadot       clocks = <&upg_fixed>;
42*e67e8565SEmmanuel Vadot    };
43