xref: /linux/Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml (revision f73a058be5d70dd81a43f16b2bbff4b1576a7af8)
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
8title: Atmel/Microchip PWM controller
9
10maintainers:
11  - Claudiu Beznea <claudiu.beznea@microchip.com>
12
13allOf:
14  - $ref: pwm.yaml#
15
16properties:
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          - const: microchip,sama7g5-pwm
27          - const: atmel,sama5d2-pwm
28      - items:
29          - const: microchip,sam9x7-pwm
30          - const: microchip,sam9x60-pwm
31
32  reg:
33    maxItems: 1
34
35  "#pwm-cells":
36    const: 3
37
38required:
39  - compatible
40  - reg
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    pwm0: pwm@f8034000 {
47        compatible = "atmel,at91sam9rl-pwm";
48        reg = <0xf8034000 0x400>;
49        #pwm-cells = <3>;
50    };
51