0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/brcm,bcm7038-pwm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)
0008
0009 maintainers:
0010 - Florian Fainelli <f.fainelli@gmail.com>
0011
0012 allOf:
0013 - $ref: pwm.yaml#
0014
0015 properties:
0016 compatible:
0017 const: brcm,bcm7038-pwm
0018
0019 reg:
0020 maxItems: 1
0021
0022 "#pwm-cells":
0023 const: 2
0024
0025 clocks:
0026 maxItems: 1
0027
0028 required:
0029 - compatible
0030 - reg
0031 - clocks
0032
0033 additionalProperties: false
0034
0035 examples:
0036 - |
0037 pwm: pwm@f0408000 {
0038 compatible = "brcm,bcm7038-pwm";
0039 reg = <0xf0408000 0x28>;
0040 #pwm-cells = <2>;
0041 clocks = <&upg_fixed>;
0042 };