xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/brcm,kona-pwm.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*aa1a8ff2SEmmanuel Vadot%YAML 1.2
3*aa1a8ff2SEmmanuel Vadot---
4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/brcm,kona-pwm.yaml#
5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*aa1a8ff2SEmmanuel Vadot
7*aa1a8ff2SEmmanuel Vadottitle: Broadcom Kona family PWM controller
8*aa1a8ff2SEmmanuel Vadot
9*aa1a8ff2SEmmanuel Vadotdescription:
10*aa1a8ff2SEmmanuel Vadot  This controller has 6 channels.
11*aa1a8ff2SEmmanuel Vadot
12*aa1a8ff2SEmmanuel Vadotmaintainers:
13*aa1a8ff2SEmmanuel Vadot  - Florian Fainelli <f.fainelli@gmail.com>
14*aa1a8ff2SEmmanuel Vadot
15*aa1a8ff2SEmmanuel VadotallOf:
16*aa1a8ff2SEmmanuel Vadot  - $ref: pwm.yaml#
17*aa1a8ff2SEmmanuel Vadot
18*aa1a8ff2SEmmanuel Vadotproperties:
19*aa1a8ff2SEmmanuel Vadot  compatible:
20*aa1a8ff2SEmmanuel Vadot    items:
21*aa1a8ff2SEmmanuel Vadot      - enum:
22*aa1a8ff2SEmmanuel Vadot          - brcm,bcm11351-pwm
23*aa1a8ff2SEmmanuel Vadot      - const: brcm,kona-pwm
24*aa1a8ff2SEmmanuel Vadot
25*aa1a8ff2SEmmanuel Vadot  reg:
26*aa1a8ff2SEmmanuel Vadot    maxItems: 1
27*aa1a8ff2SEmmanuel Vadot
28*aa1a8ff2SEmmanuel Vadot  clocks:
29*aa1a8ff2SEmmanuel Vadot    maxItems: 1
30*aa1a8ff2SEmmanuel Vadot
31*aa1a8ff2SEmmanuel Vadot  '#pwm-cells':
32*aa1a8ff2SEmmanuel Vadot    const: 3
33*aa1a8ff2SEmmanuel Vadot
34*aa1a8ff2SEmmanuel Vadotrequired:
35*aa1a8ff2SEmmanuel Vadot  - compatible
36*aa1a8ff2SEmmanuel Vadot  - reg
37*aa1a8ff2SEmmanuel Vadot  - clocks
38*aa1a8ff2SEmmanuel Vadot
39*aa1a8ff2SEmmanuel VadotunevaluatedProperties: false
40*aa1a8ff2SEmmanuel Vadot
41*aa1a8ff2SEmmanuel Vadotexamples:
42*aa1a8ff2SEmmanuel Vadot  - |
43*aa1a8ff2SEmmanuel Vadot    #include <dt-bindings/clock/bcm281xx.h>
44*aa1a8ff2SEmmanuel Vadot
45*aa1a8ff2SEmmanuel Vadot    pwm@3e01a000 {
46*aa1a8ff2SEmmanuel Vadot       compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm";
47*aa1a8ff2SEmmanuel Vadot       reg = <0x3e01a000 0xcc>;
48*aa1a8ff2SEmmanuel Vadot       clocks = <&slave_ccu BCM281XX_SLAVE_CCU_PWM>;
49*aa1a8ff2SEmmanuel Vadot       #pwm-cells = <3>;
50*aa1a8ff2SEmmanuel Vadot    };
51*aa1a8ff2SEmmanuel Vadot...
52