1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pwm/mxs-pwm 4 $id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale MXS PWM controller 7 title: Freescale MXS PWM controller 8 8 9 maintainers: 9 maintainers: 10 - Shawn Guo <shawnguo@kernel.org> 10 - Shawn Guo <shawnguo@kernel.org> 11 11 12 allOf: 12 allOf: 13 - $ref: pwm.yaml# 13 - $ref: pwm.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 oneOf: 17 oneOf: 18 - const: fsl,imx23-pwm 18 - const: fsl,imx23-pwm 19 - items: 19 - items: 20 - enum: 20 - enum: 21 - fsl,imx28-pwm 21 - fsl,imx28-pwm 22 - const: fsl,imx23-pwm 22 - const: fsl,imx23-pwm 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 "#pwm-cells": 30 "#pwm-cells": 31 const: 3 31 const: 3 32 32 33 fsl,pwm-number: 33 fsl,pwm-number: 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32 35 description: u32 value representing the nu 35 description: u32 value representing the number of PWM devices 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - clocks 40 - clocks 41 - fsl,pwm-number 41 - fsl,pwm-number 42 42 43 additionalProperties: false 43 additionalProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 pwm@80064000 { 47 pwm@80064000 { 48 compatible = "fsl,imx23-pwm"; 48 compatible = "fsl,imx23-pwm"; 49 reg = <0x80064000 0x2000>; 49 reg = <0x80064000 0x2000>; 50 clocks = <&clks 30>; 50 clocks = <&clks 30>; 51 #pwm-cells = <3>; 51 #pwm-cells = <3>; 52 fsl,pwm-number = <8>; 52 fsl,pwm-number = <8>; 53 }; 53 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.