aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/timer/fsl,vf610-pit.yaml
blob: bee2c35bd0e29310806346837e35127b90861646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/fsl,vf610-pit.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale Periodic Interrupt Timer (PIT)

maintainers:
  - Frank Li <Frank.Li@nxp.com>

description:
  The PIT module is an array of timers that can be used to raise interrupts
  and trigger DMA channels.

properties:
  compatible:
    enum:
      - fsl,vf610-pit

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: pit

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/vf610-clock.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    timer@40037000 {
        compatible = "fsl,vf610-pit";
        reg = <0x40037000 0x1000>;
        interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&clks VF610_CLK_PIT>;
        clock-names = "pit";
    };