GNU Linux-libre 5.15.137-gnu
[releases.git] / Documentation / devicetree / bindings / pwm / mxs-pwm.yaml
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   - Anson Huang <anson.huang@nxp.com>
12
13 properties:
14   compatible:
15     enum:
16       - fsl,imx23-pwm
17
18   reg:
19     maxItems: 1
20
21   "#pwm-cells":
22     const: 3
23
24   fsl,pwm-number:
25     $ref: '/schemas/types.yaml#/definitions/uint32'
26     description: u32 value representing the number of PWM devices
27
28 required:
29   - compatible
30   - reg
31   - "#pwm-cells"
32   - fsl,pwm-number
33
34 additionalProperties: false
35
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     };