11edf2c2aSDrew Fustini# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 21edf2c2aSDrew Fustini%YAML 1.2 31edf2c2aSDrew Fustini--- 41edf2c2aSDrew Fustini$id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml# 51edf2c2aSDrew Fustini$schema: http://devicetree.org/meta-schemas/core.yaml# 61edf2c2aSDrew Fustini 71edf2c2aSDrew Fustinititle: Analog Devices AXI PWM generator 81edf2c2aSDrew Fustini 91edf2c2aSDrew Fustinimaintainers: 101edf2c2aSDrew Fustini - Michael Hennerich <Michael.Hennerich@analog.com> 111edf2c2aSDrew Fustini - Nuno Sá <nuno.sa@analog.com> 121edf2c2aSDrew Fustini 131edf2c2aSDrew Fustinidescription: 141edf2c2aSDrew Fustini The Analog Devices AXI PWM generator can generate PWM signals 151edf2c2aSDrew Fustini with variable pulse width and period. 161edf2c2aSDrew Fustini 171edf2c2aSDrew Fustini https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html 181edf2c2aSDrew Fustini 191edf2c2aSDrew FustiniallOf: 201edf2c2aSDrew Fustini - $ref: pwm.yaml# 211edf2c2aSDrew Fustini 221edf2c2aSDrew Fustiniproperties: 231edf2c2aSDrew Fustini compatible: 241edf2c2aSDrew Fustini const: adi,axi-pwmgen-2.00.a 251edf2c2aSDrew Fustini 261edf2c2aSDrew Fustini reg: 271edf2c2aSDrew Fustini maxItems: 1 281edf2c2aSDrew Fustini 291edf2c2aSDrew Fustini "#pwm-cells": 30664b5e46SUwe Kleine-König const: 3 311edf2c2aSDrew Fustini 321edf2c2aSDrew Fustini clocks: 33*e683131eSDavid Lechner minItems: 1 34*e683131eSDavid Lechner maxItems: 2 35*e683131eSDavid Lechner 36*e683131eSDavid Lechner clock-names: 37*e683131eSDavid Lechner minItems: 1 38*e683131eSDavid Lechner items: 39*e683131eSDavid Lechner - const: axi 40*e683131eSDavid Lechner - const: ext 411edf2c2aSDrew Fustini 421edf2c2aSDrew Fustinirequired: 431edf2c2aSDrew Fustini - reg 441edf2c2aSDrew Fustini - clocks 45*e683131eSDavid Lechner - clock-names 461edf2c2aSDrew Fustini 471edf2c2aSDrew FustiniunevaluatedProperties: false 481edf2c2aSDrew Fustini 491edf2c2aSDrew Fustiniexamples: 501edf2c2aSDrew Fustini - | 511edf2c2aSDrew Fustini pwm@44b00000 { 521edf2c2aSDrew Fustini compatible = "adi,axi-pwmgen-2.00.a"; 531edf2c2aSDrew Fustini reg = <0x44b00000 0x1000>; 54*e683131eSDavid Lechner clocks = <&fpga_clk>, <&spi_clk>; 55*e683131eSDavid Lechner clock-names = "axi", "ext"; 56664b5e46SUwe Kleine-König #pwm-cells = <3>; 571edf2c2aSDrew Fustini }; 58