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
29  reg:
30    maxItems: 1
31
32  "#pwm-cells":
33    const: 3
34
35required:
36  - compatible
37  - reg
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    pwm0: pwm@f8034000 {
44        compatible = "atmel,at91sam9rl-pwm";
45        reg = <0xf8034000 0x400>;
46        #pwm-cells = <3>;
47    };
48