Debian Codegraph @

Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml

raw symbols SCIP
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
7 title: Berlin PWM controller
8
9 maintainers:
10 - Jisheng Zhang <[email protected]>
11 - Sebastian Hesselbarth <[email protected]>
12
13 properties:
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
26 required:
27 - compatible
28 - reg
29 - clocks
30
31 allOf:
32 - $ref: pwm.yaml#
33
34 unevaluatedProperties: false
35
36 examples:
37 - |
38 pwm@f7f20000 {
39 compatible = "marvell,berlin-pwm";
40 reg = <0xf7f20000 0x40>;
41 clocks = <&chip_clk 12>;
42 #pwm-cells = <3>;
43 };
44