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://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html 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: 3 31 32 clocks: 33 minItems: 1 34 maxItems: 2 35 36 clock-names: 37 minItems: 1 38 items: 39 - const: axi 40 - const: ext 41 42required: 43 - reg 44 - clocks 45 - clock-names 46 47unevaluatedProperties: false 48 49examples: 50 - | 51 pwm@44b00000 { 52 compatible = "adi,axi-pwmgen-2.00.a"; 53 reg = <0x44b00000 0x1000>; 54 clocks = <&fpga_clk>, <&spi_clk>; 55 clock-names = "axi", "ext"; 56 #pwm-cells = <3>; 57 }; 58