54 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale MXS PWM controller8 9maintainers:10 - Shawn Guo <shawnguo@kernel.org>11 12allOf:13 - $ref: pwm.yaml#14 15properties:16 compatible:17 oneOf:18 - const: fsl,imx23-pwm19 - items:20 - enum:21 - fsl,imx28-pwm22 - const: fsl,imx23-pwm23 24 reg:25 maxItems: 126 27 clocks:28 maxItems: 129 30 "#pwm-cells":31 const: 332 33 fsl,pwm-number:34 $ref: /schemas/types.yaml#/definitions/uint3235 description: u32 value representing the number of PWM devices36 37required:38 - compatible39 - reg40 - clocks41 - fsl,pwm-number42 43additionalProperties: false44 45examples:46 - |47 pwm@80064000 {48 compatible = "fsl,imx23-pwm";49 reg = <0x80064000 0x2000>;50 clocks = <&clks 30>;51 #pwm-cells = <3>;52 fsl,pwm-number = <8>;53 };54