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