52 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/pwm/brcm,kona-pwm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom Kona family PWM controller8 9description:10 This controller has 6 channels.11 12maintainers:13 - Florian Fainelli <f.fainelli@gmail.com>14 15allOf:16 - $ref: pwm.yaml#17 18properties:19 compatible:20 items:21 - enum:22 - brcm,bcm11351-pwm23 - const: brcm,kona-pwm24 25 reg:26 maxItems: 127 28 clocks:29 maxItems: 130 31 '#pwm-cells':32 const: 333 34required:35 - compatible36 - reg37 - clocks38 39unevaluatedProperties: false40 41examples:42 - |43 #include <dt-bindings/clock/bcm281xx.h>44 45 pwm@3e01a000 {46 compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";47 reg = <0x3e01a000 0xcc>;48 clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>;49 #pwm-cells = <3>;50 };51...52