xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/atmel,at91sam-pwm.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
3d5b0e70fSEmmanuel Vadot%YAML 1.2
4d5b0e70fSEmmanuel Vadot---
5d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/atmel,at91sam-pwm.yaml#
6d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7d5b0e70fSEmmanuel Vadot
8d5b0e70fSEmmanuel Vadottitle: Atmel/Microchip PWM controller
9d5b0e70fSEmmanuel Vadot
10d5b0e70fSEmmanuel Vadotmaintainers:
11d5b0e70fSEmmanuel Vadot  - Claudiu Beznea <claudiu.beznea@microchip.com>
12d5b0e70fSEmmanuel Vadot
13d5b0e70fSEmmanuel VadotallOf:
14*f126890aSEmmanuel Vadot  - $ref: pwm.yaml#
15d5b0e70fSEmmanuel Vadot
16d5b0e70fSEmmanuel Vadotproperties:
17d5b0e70fSEmmanuel Vadot  compatible:
18d5b0e70fSEmmanuel Vadot    oneOf:
19d5b0e70fSEmmanuel Vadot      - items:
20d5b0e70fSEmmanuel Vadot          - enum:
21d5b0e70fSEmmanuel Vadot              - atmel,at91sam9rl-pwm
22d5b0e70fSEmmanuel Vadot              - atmel,sama5d3-pwm
23d5b0e70fSEmmanuel Vadot              - atmel,sama5d2-pwm
24d5b0e70fSEmmanuel Vadot              - microchip,sam9x60-pwm
25d5b0e70fSEmmanuel Vadot      - items:
26d5b0e70fSEmmanuel Vadot          - const: microchip,sama7g5-pwm
27d5b0e70fSEmmanuel Vadot          - const: atmel,sama5d2-pwm
28d5b0e70fSEmmanuel Vadot
29d5b0e70fSEmmanuel Vadot  reg:
30d5b0e70fSEmmanuel Vadot    maxItems: 1
31d5b0e70fSEmmanuel Vadot
32d5b0e70fSEmmanuel Vadot  "#pwm-cells":
33d5b0e70fSEmmanuel Vadot    const: 3
34d5b0e70fSEmmanuel Vadot
35d5b0e70fSEmmanuel Vadotrequired:
36d5b0e70fSEmmanuel Vadot  - compatible
37d5b0e70fSEmmanuel Vadot  - reg
38d5b0e70fSEmmanuel Vadot
39d5b0e70fSEmmanuel VadotunevaluatedProperties: false
40d5b0e70fSEmmanuel Vadot
41d5b0e70fSEmmanuel Vadotexamples:
42d5b0e70fSEmmanuel Vadot  - |
43d5b0e70fSEmmanuel Vadot    pwm0: pwm@f8034000 {
44d5b0e70fSEmmanuel Vadot        compatible = "atmel,at91sam9rl-pwm";
45d5b0e70fSEmmanuel Vadot        reg = <0xf8034000 0x400>;
46d5b0e70fSEmmanuel Vadot        #pwm-cells = <3>;
47d5b0e70fSEmmanuel Vadot    };
48