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
7title: Freescale MXS PWM controller
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11  - Anson Huang <anson.huang@nxp.com>
12
13allOf:
14  - $ref: pwm.yaml#
15
16properties:
17  compatible:
18    enum:
19      - fsl,imx23-pwm
20
21  reg:
22    maxItems: 1
23
24  "#pwm-cells":
25    const: 3
26
27  fsl,pwm-number:
28    $ref: '/schemas/types.yaml#/definitions/uint32'
29    description: u32 value representing the number of PWM devices
30
31required:
32  - compatible
33  - reg
34  - fsl,pwm-number
35
36additionalProperties: false
37
38examples:
39  - |
40    pwm@80064000 {
41        compatible = "fsl,imx23-pwm";
42        reg = <0x80064000 0x2000>;
43        #pwm-cells = <3>;
44        fsl,pwm-number = <8>;
45    };
46