Debian Codegraph @

Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml

raw symbols SCIP
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/pwm/atmel,at91sam-pwm.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Atmel/Microchip PWM controller
9
10 maintainers:
11 - Claudiu Beznea <[email protected]>
12
13 allOf:
14 - $ref: pwm.yaml#
15
16 properties:
17 compatible:
18 oneOf:
19 - items:
20 - enum:
21 - atmel,at91sam9rl-pwm
22 - atmel,sama5d3-pwm
23 - atmel,sama5d2-pwm
24 - microchip,sam9x60-pwm
25 - items:
26 - enum:
27 - microchip,sama7d65-pwm
28 - microchip,sama7g5-pwm
29 - const: atmel,sama5d2-pwm
30 - items:
31 - const: microchip,sam9x7-pwm
32 - const: microchip,sam9x60-pwm
33
34 reg:
35 maxItems: 1
36
37 "#pwm-cells":
38 const: 3
39
40 required:
41 - compatible
42 - reg
43
44 unevaluatedProperties: false
45
46 examples:
47 - |
48 pwm0: pwm@f8034000 {
49 compatible = "atmel,at91sam9rl-pwm";
50 reg = <0xf8034000 0x400>;
51 #pwm-cells = <3>;
52 };