xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/marvell,berlin-pwm.yaml (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2846c905SEmmanuel Vadot%YAML 1.2
3*2846c905SEmmanuel Vadot---
4*2846c905SEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/marvell,berlin-pwm.yaml#
5*2846c905SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2846c905SEmmanuel Vadot
7*2846c905SEmmanuel Vadottitle: Berlin PWM controller
8*2846c905SEmmanuel Vadot
9*2846c905SEmmanuel Vadotmaintainers:
10*2846c905SEmmanuel Vadot  - Jisheng Zhang <jszhang@kernel.org>
11*2846c905SEmmanuel Vadot  - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
12*2846c905SEmmanuel Vadot
13*2846c905SEmmanuel Vadotproperties:
14*2846c905SEmmanuel Vadot  compatible:
15*2846c905SEmmanuel Vadot    const: marvell,berlin-pwm
16*2846c905SEmmanuel Vadot
17*2846c905SEmmanuel Vadot  reg:
18*2846c905SEmmanuel Vadot    maxItems: 1
19*2846c905SEmmanuel Vadot
20*2846c905SEmmanuel Vadot  "#pwm-cells":
21*2846c905SEmmanuel Vadot    const: 3
22*2846c905SEmmanuel Vadot
23*2846c905SEmmanuel Vadot  clocks:
24*2846c905SEmmanuel Vadot    maxItems: 1
25*2846c905SEmmanuel Vadot
26*2846c905SEmmanuel Vadotrequired:
27*2846c905SEmmanuel Vadot  - compatible
28*2846c905SEmmanuel Vadot  - reg
29*2846c905SEmmanuel Vadot  - clocks
30*2846c905SEmmanuel Vadot
31*2846c905SEmmanuel VadotallOf:
32*2846c905SEmmanuel Vadot  - $ref: pwm.yaml#
33*2846c905SEmmanuel Vadot
34*2846c905SEmmanuel VadotunevaluatedProperties: false
35*2846c905SEmmanuel Vadot
36*2846c905SEmmanuel Vadotexamples:
37*2846c905SEmmanuel Vadot  - |
38*2846c905SEmmanuel Vadot    pwm@f7f20000 {
39*2846c905SEmmanuel Vadot        compatible = "marvell,berlin-pwm";
40*2846c905SEmmanuel Vadot        reg = <0xf7f20000 0x40>;
41*2846c905SEmmanuel Vadot        clocks = <&chip_clk 12>;
42*2846c905SEmmanuel Vadot        #pwm-cells = <3>;
43*2846c905SEmmanuel Vadot    };
44*2846c905SEmmanuel Vadot
45