xref: /linux/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml (revision f38b7512903a50eaeb300e9c8d9448187dd3959c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/nxp,lpc3220-pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC32XX PWM controller
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - nxp,lpc3220-pwm
16      - nxp,lpc3220-motor-pwm
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  '#pwm-cells':
25    const: 3
26
27required:
28  - compatible
29  - reg
30  - '#pwm-cells'
31
32allOf:
33  - $ref: pwm.yaml#
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    pwm@4005c000 {
40        compatible = "nxp,lpc3220-pwm";
41        reg = <0x4005c000 0x4>;
42        #pwm-cells = <3>;
43    };
44
45