blob: 96cd6f3c3546ffc7a94becc2397d5e4d363e4600 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
Tom Rini762f85b2024-07-20 11:15:10 -060028 - items:
29 - const: microchip,sam9x7-pwm
30 - const: microchip,sam9x60-pwm
Tom Rini53633a82024-02-29 12:33:36 -050031
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 };