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/nxp,lpc3220-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC3220 timer
8
9maintainers:
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12description: |
13 The NXP LPC3220 timer is used on a wide range of NXP SoCs. This includes
14 LPC32xx, LPC178x, LPC18xx and LPC43xx parts.
15
16properties:
17 compatible:
18 const: nxp,lpc3220-timer
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 clocks:
27 maxItems: 1
28
29 clock-names:
30 const: timerclk
31
32 resets:
33 maxItems: 1
34
35required:
36 - compatible
37 - reg
38 - interrupts
39 - clocks
40 - clock-names
41
42additionalProperties: false
43
44examples:
45 - |
46 #include <dt-bindings/clock/lpc32xx-clock.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
48
49 timer@4004c000 {
50 compatible = "nxp,lpc3220-timer";
51 reg = <0x4004c000 0x1000>;
52 interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
53 clocks = <&clk LPC32XX_CLK_TIMER1>;
54 clock-names = "timerclk";
55 };