1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Freescale MXS PWM controller 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Shawn Guo <shawnguo@kernel.org> 11*c66ec88fSEmmanuel Vadot - Anson Huang <anson.huang@nxp.com> 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadotproperties: 14*c66ec88fSEmmanuel Vadot compatible: 15*c66ec88fSEmmanuel Vadot enum: 16*c66ec88fSEmmanuel Vadot - fsl,imx23-pwm 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot reg: 19*c66ec88fSEmmanuel Vadot maxItems: 1 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot "#pwm-cells": 22*c66ec88fSEmmanuel Vadot const: 3 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot fsl,pwm-number: 25*c66ec88fSEmmanuel Vadot $ref: '/schemas/types.yaml#/definitions/uint32' 26*c66ec88fSEmmanuel Vadot description: u32 value representing the number of PWM devices 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadotrequired: 29*c66ec88fSEmmanuel Vadot - compatible 30*c66ec88fSEmmanuel Vadot - reg 31*c66ec88fSEmmanuel Vadot - "#pwm-cells" 32*c66ec88fSEmmanuel Vadot - fsl,pwm-number 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel VadotadditionalProperties: false 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadotexamples: 37*c66ec88fSEmmanuel Vadot - | 38*c66ec88fSEmmanuel Vadot pwm@80064000 { 39*c66ec88fSEmmanuel Vadot compatible = "fsl,imx23-pwm"; 40*c66ec88fSEmmanuel Vadot reg = <0x80064000 0x2000>; 41*c66ec88fSEmmanuel Vadot #pwm-cells = <3>; 42*c66ec88fSEmmanuel Vadot fsl,pwm-number = <8>; 43*c66ec88fSEmmanuel Vadot }; 44