1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*b2d2a78aSEmmanuel Vadot%YAML 1.2 3*b2d2a78aSEmmanuel Vadot--- 4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/cirrus,ep9301-pwm.yaml# 5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b2d2a78aSEmmanuel Vadot 7*b2d2a78aSEmmanuel Vadottitle: Cirrus Logic ep93xx PWM controller 8*b2d2a78aSEmmanuel Vadot 9*b2d2a78aSEmmanuel Vadotmaintainers: 10*b2d2a78aSEmmanuel Vadot - Alexander Sverdlin <alexander.sverdlin@gmail.com> 11*b2d2a78aSEmmanuel Vadot - Nikita Shubin <nikita.shubin@maquefel.me> 12*b2d2a78aSEmmanuel Vadot 13*b2d2a78aSEmmanuel VadotallOf: 14*b2d2a78aSEmmanuel Vadot - $ref: pwm.yaml# 15*b2d2a78aSEmmanuel Vadot 16*b2d2a78aSEmmanuel Vadotproperties: 17*b2d2a78aSEmmanuel Vadot compatible: 18*b2d2a78aSEmmanuel Vadot oneOf: 19*b2d2a78aSEmmanuel Vadot - const: cirrus,ep9301-pwm 20*b2d2a78aSEmmanuel Vadot - items: 21*b2d2a78aSEmmanuel Vadot - enum: 22*b2d2a78aSEmmanuel Vadot - cirrus,ep9302-pwm 23*b2d2a78aSEmmanuel Vadot - cirrus,ep9307-pwm 24*b2d2a78aSEmmanuel Vadot - cirrus,ep9312-pwm 25*b2d2a78aSEmmanuel Vadot - cirrus,ep9315-pwm 26*b2d2a78aSEmmanuel Vadot - const: cirrus,ep9301-pwm 27*b2d2a78aSEmmanuel Vadot 28*b2d2a78aSEmmanuel Vadot reg: 29*b2d2a78aSEmmanuel Vadot maxItems: 1 30*b2d2a78aSEmmanuel Vadot 31*b2d2a78aSEmmanuel Vadot clocks: 32*b2d2a78aSEmmanuel Vadot items: 33*b2d2a78aSEmmanuel Vadot - description: SoC PWM clock 34*b2d2a78aSEmmanuel Vadot 35*b2d2a78aSEmmanuel Vadot "#pwm-cells": 36*b2d2a78aSEmmanuel Vadot const: 3 37*b2d2a78aSEmmanuel Vadot 38*b2d2a78aSEmmanuel Vadotrequired: 39*b2d2a78aSEmmanuel Vadot - compatible 40*b2d2a78aSEmmanuel Vadot - reg 41*b2d2a78aSEmmanuel Vadot - clocks 42*b2d2a78aSEmmanuel Vadot 43*b2d2a78aSEmmanuel VadotunevaluatedProperties: false 44*b2d2a78aSEmmanuel Vadot 45*b2d2a78aSEmmanuel Vadotexamples: 46*b2d2a78aSEmmanuel Vadot - | 47*b2d2a78aSEmmanuel Vadot #include <dt-bindings/clock/cirrus,ep9301-syscon.h> 48*b2d2a78aSEmmanuel Vadot pwm@80910000 { 49*b2d2a78aSEmmanuel Vadot compatible = "cirrus,ep9301-pwm"; 50*b2d2a78aSEmmanuel Vadot reg = <0x80910000 0x10>; 51*b2d2a78aSEmmanuel Vadot clocks = <&syscon EP93XX_CLK_PWM>; 52*b2d2a78aSEmmanuel Vadot #pwm-cells = <3>; 53*b2d2a78aSEmmanuel Vadot }; 54