xref: /freebsd-src/sys/contrib/device-tree/Bindings/pwm/pwm-bcm2835.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f126890aSEmmanuel Vadot%YAML 1.2
3*f126890aSEmmanuel Vadot---
4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml#
5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadottitle: BCM2835 PWM controller (Raspberry Pi controller)
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadotmaintainers:
10*f126890aSEmmanuel Vadot  - Stefan Wahren <stefan.wahren@i2se.com>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel VadotallOf:
13*f126890aSEmmanuel Vadot  - $ref: pwm.yaml#
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadotproperties:
16*f126890aSEmmanuel Vadot  compatible:
17*f126890aSEmmanuel Vadot    const: brcm,bcm2835-pwm
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot  reg:
20*f126890aSEmmanuel Vadot    maxItems: 1
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot  clocks:
23*f126890aSEmmanuel Vadot    maxItems: 1
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot  "#pwm-cells":
26*f126890aSEmmanuel Vadot    const: 3
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadotrequired:
29*f126890aSEmmanuel Vadot  - compatible
30*f126890aSEmmanuel Vadot  - reg
31*f126890aSEmmanuel Vadot  - clocks
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel VadotadditionalProperties: false
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadotexamples:
36*f126890aSEmmanuel Vadot  - |
37*f126890aSEmmanuel Vadot    pwm@2020c000 {
38*f126890aSEmmanuel Vadot      compatible = "brcm,bcm2835-pwm";
39*f126890aSEmmanuel Vadot      reg = <0x2020c000 0x28>;
40*f126890aSEmmanuel Vadot      clocks = <&clk_pwm>;
41*f126890aSEmmanuel Vadot      #pwm-cells = <3>;
42*f126890aSEmmanuel Vadot    };
43