Debian Codegraph @

Documentation/devicetree/bindings/pwm/nxp,lpc1850-sct-pwm.yaml

raw symbols SCIP
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
7 title: NXP LPC18xx State Configurable Timer
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
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
32 required:
33 - compatible
34 - reg
35 - clocks
36 - clock-names
37 - '#pwm-cells'
38
39 allOf:
40 - $ref: pwm.yaml#
41
42 unevaluatedProperties: false
43
44 examples:
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 };