1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices AXI PWM generator 8 9maintainers: 10 - Michael Hennerich <Michael.Hennerich@analog.com> 11 - Nuno Sá <nuno.sa@analog.com> 12 13description: 14 The Analog Devices AXI PWM generator can generate PWM signals 15 with variable pulse width and period. 16 17 https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen 18 19allOf: 20 - $ref: pwm.yaml# 21 22properties: 23 compatible: 24 const: adi,axi-pwmgen-2.00.a 25 26 reg: 27 maxItems: 1 28 29 "#pwm-cells": 30 const: 2 31 32 clocks: 33 maxItems: 1 34 35required: 36 - reg 37 - clocks 38 39unevaluatedProperties: false 40 41examples: 42 - | 43 pwm@44b00000 { 44 compatible = "adi,axi-pwmgen-2.00.a"; 45 reg = <0x44b00000 0x1000>; 46 clocks = <&spi_clk>; 47 #pwm-cells = <2>; 48 }; 49