0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/pwm/atmel,at91sam-pwm.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007
0008 title: Atmel/Microchip PWM controller
0009
0010 maintainers:
0011 - Claudiu Beznea <claudiu.beznea@microchip.com>
0012
0013 allOf:
0014 - $ref: "pwm.yaml#"
0015
0016 properties:
0017 compatible:
0018 oneOf:
0019 - items:
0020 - enum:
0021 - atmel,at91sam9rl-pwm
0022 - atmel,sama5d3-pwm
0023 - atmel,sama5d2-pwm
0024 - microchip,sam9x60-pwm
0025 - items:
0026 - const: microchip,sama7g5-pwm
0027 - const: atmel,sama5d2-pwm
0028
0029 reg:
0030 maxItems: 1
0031
0032 "#pwm-cells":
0033 const: 3
0034
0035 required:
0036 - compatible
0037 - reg
0038
0039 unevaluatedProperties: false
0040
0041 examples:
0042 - |
0043 pwm0: pwm@f8034000 {
0044 compatible = "atmel,at91sam9rl-pwm";
0045 reg = <0xf8034000 0x400>;
0046 #pwm-cells = <3>;
0047 };