xref: /linux/Documentation/devicetree/bindings/pwm/nxp,lpc1850-sct-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,lpc1850-sct-pwm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC18xx State Configurable Timer
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: nxp,lpc1850-sct-pwm
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 1
21
22  clock-names:
23    items:
24      - const: pwm
25
26  '#pwm-cells':
27    const: 3
28
29  resets:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35  - clocks
36  - clock-names
37  - '#pwm-cells'
38
39allOf:
40  - $ref: pwm.yaml#
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/clock/lpc18xx-ccu.h>
47
48    pwm@40000000 {
49        compatible = "nxp,lpc1850-sct-pwm";
50        reg = <0x40000000 0x1000>;
51        clocks =<&ccu1 CLK_CPU_SCT>;
52        clock-names = "pwm";
53        #pwm-cells = <3>;
54    };
55