1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*5956d97fSEmmanuel Vadot%YAML 1.2 3*5956d97fSEmmanuel Vadot--- 4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml# 5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5956d97fSEmmanuel Vadot 7*5956d97fSEmmanuel Vadottitle: Broadcom iProc PWM controller 8*5956d97fSEmmanuel Vadot 9*5956d97fSEmmanuel Vadotmaintainers: 10*5956d97fSEmmanuel Vadot - Rafał Miłecki <rafal@milecki.pl> 11*5956d97fSEmmanuel Vadot 12*5956d97fSEmmanuel Vadotdescription: 13*5956d97fSEmmanuel Vadot This controller has 4 channels. 14*5956d97fSEmmanuel Vadot 15*5956d97fSEmmanuel VadotallOf: 16*5956d97fSEmmanuel Vadot - $ref: pwm.yaml# 17*5956d97fSEmmanuel Vadot 18*5956d97fSEmmanuel Vadotproperties: 19*5956d97fSEmmanuel Vadot compatible: 20*5956d97fSEmmanuel Vadot const: brcm,iproc-pwm 21*5956d97fSEmmanuel Vadot 22*5956d97fSEmmanuel Vadot reg: 23*5956d97fSEmmanuel Vadot maxItems: 1 24*5956d97fSEmmanuel Vadot 25*5956d97fSEmmanuel Vadot clocks: 26*5956d97fSEmmanuel Vadot description: external clock 27*5956d97fSEmmanuel Vadot maxItems: 1 28*5956d97fSEmmanuel Vadot 29*5956d97fSEmmanuel Vadot "#pwm-cells": 30*5956d97fSEmmanuel Vadot const: 3 31*5956d97fSEmmanuel Vadot 32*5956d97fSEmmanuel VadotunevaluatedProperties: false 33*5956d97fSEmmanuel Vadot 34*5956d97fSEmmanuel Vadotrequired: 35*5956d97fSEmmanuel Vadot - reg 36*5956d97fSEmmanuel Vadot - clocks 37*5956d97fSEmmanuel Vadot 38*5956d97fSEmmanuel Vadotexamples: 39*5956d97fSEmmanuel Vadot - | 40*5956d97fSEmmanuel Vadot pwm@18031000 { 41*5956d97fSEmmanuel Vadot compatible = "brcm,iproc-pwm"; 42*5956d97fSEmmanuel Vadot reg = <0x18031000 0x28>; 43*5956d97fSEmmanuel Vadot clocks = <&osc>; 44*5956d97fSEmmanuel Vadot #pwm-cells = <3>; 45*5956d97fSEmmanuel Vadot }; 46