Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 oneOf:
19 - enum:
20 - fsl,vf610-pit
21 - nxp,s32g2-pit
22 - items:
23 - const: nxp,s32g3-pit
24 - const: nxp,s32g2-pit
25
26 reg:
27 maxItems: 1
28
29 interrupts:
30 maxItems: 1
31
32 clocks:
33 maxItems: 1
34
35 clock-names:
36 items:
37 - const: pit
38
39required:
40 - compatible
41 - reg
42 - interrupts
43 - clocks
44 - clock-names
45
46additionalProperties: false
47
48examples:
49 - |
50 #include <dt-bindings/clock/vf610-clock.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
52
53 timer@40037000 {
54 compatible = "fsl,vf610-pit";
55 reg = <0x40037000 0x1000>;
56 interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
57 clocks = <&clks VF610_CLK_PIT>;
58 clock-names = "pit";
59 };