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: 14f126890aSEmmanuel 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: 26*0e8011faSEmmanuel Vadot - enum: 27*0e8011faSEmmanuel Vadot - microchip,sama7d65-pwm 28*0e8011faSEmmanuel Vadot - microchip,sama7g5-pwm 29d5b0e70fSEmmanuel Vadot - const: atmel,sama5d2-pwm 307d0873ebSEmmanuel Vadot - items: 317d0873ebSEmmanuel Vadot - const: microchip,sam9x7-pwm 327d0873ebSEmmanuel Vadot - const: microchip,sam9x60-pwm 33d5b0e70fSEmmanuel Vadot 34d5b0e70fSEmmanuel Vadot reg: 35d5b0e70fSEmmanuel Vadot maxItems: 1 36d5b0e70fSEmmanuel Vadot 37d5b0e70fSEmmanuel Vadot "#pwm-cells": 38d5b0e70fSEmmanuel Vadot const: 3 39d5b0e70fSEmmanuel Vadot 40d5b0e70fSEmmanuel Vadotrequired: 41d5b0e70fSEmmanuel Vadot - compatible 42d5b0e70fSEmmanuel Vadot - reg 43d5b0e70fSEmmanuel Vadot 44d5b0e70fSEmmanuel VadotunevaluatedProperties: false 45d5b0e70fSEmmanuel Vadot 46d5b0e70fSEmmanuel Vadotexamples: 47d5b0e70fSEmmanuel Vadot - | 48d5b0e70fSEmmanuel Vadot pwm0: pwm@f8034000 { 49d5b0e70fSEmmanuel Vadot compatible = "atmel,at91sam9rl-pwm"; 50d5b0e70fSEmmanuel Vadot reg = <0xf8034000 0x400>; 51d5b0e70fSEmmanuel Vadot #pwm-cells = <3>; 52d5b0e70fSEmmanuel Vadot }; 53