xref: /linux/Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml (revision 0410c6121529409b08e81a77ae3ee58c657e2243)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/marvell,berlin-pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Berlin PWM controller
8
9maintainers:
10  - Jisheng Zhang <jszhang@kernel.org>
11  - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
12
13properties:
14  compatible:
15    const: marvell,berlin-pwm
16
17  reg:
18    maxItems: 1
19
20  "#pwm-cells":
21    const: 3
22
23  clocks:
24    maxItems: 1
25
26required:
27  - compatible
28  - reg
29  - clocks
30
31allOf:
32  - $ref: pwm.yaml#
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    pwm@f7f20000 {
39        compatible = "marvell,berlin-pwm";
40        reg = <0xf7f20000 0x40>;
41        clocks = <&chip_clk 12>;
42        #pwm-cells = <3>;
43    };
44
45