xref: /linux/Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml (revision fa79e55d467366a2c52c68a261a0d6ea5f8a6534)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/fsl,vf610-pit.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Periodic Interrupt Timer (PIT)
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12description:
13  The PIT module is an array of timers that can be used to raise interrupts
14  and trigger DMA channels.
15
16properties:
17  compatible:
18    enum:
19      - fsl,vf610-pit
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30  clock-names:
31    items:
32      - const: pit
33
34required:
35  - compatible
36  - reg
37  - interrupts
38  - clocks
39  - clock-names
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/vf610-clock.h>
46    #include <dt-bindings/interrupt-controller/irq.h>
47
48    timer@40037000 {
49        compatible = "fsl,vf610-pit";
50        reg = <0x40037000 0x1000>;
51        interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
52        clocks = <&clks VF610_CLK_PIT>;
53        clock-names = "pit";
54    };
55