WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pwm / mxs-pwm.yaml
blob8740e076061e3868c3708215b420cca2b782e8bb
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#
7 title: Freescale MXS PWM controller
9 maintainers:
10   - Shawn Guo <shawnguo@kernel.org>
11   - Anson Huang <anson.huang@nxp.com>
13 properties:
14   compatible:
15     enum:
16       - fsl,imx23-pwm
18   reg:
19     maxItems: 1
21   "#pwm-cells":
22     const: 3
24   fsl,pwm-number:
25     $ref: '/schemas/types.yaml#/definitions/uint32'
26     description: u32 value representing the number of PWM devices
28 required:
29   - compatible
30   - reg
31   - "#pwm-cells"
32   - fsl,pwm-number
34 additionalProperties: false
36 examples:
37   - |
38     pwm@80064000 {
39         compatible = "fsl,imx23-pwm";
40         reg = <0x80064000 0x2000>;
41         #pwm-cells = <3>;
42         fsl,pwm-number = <8>;
43     };