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