xref: /freebsd/sys/contrib/device-tree/Bindings/timer/nxp,lpc3220-timer.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/nxp,lpc3220-timer.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: NXP LPC3220 timer
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Animesh Agarwal <animeshagarwal28@gmail.com>
11*b2d2a78aSEmmanuel Vadot
12*b2d2a78aSEmmanuel Vadotdescription: |
13*b2d2a78aSEmmanuel Vadot  The NXP LPC3220 timer is used on a wide range of NXP SoCs. This includes
14*b2d2a78aSEmmanuel Vadot  LPC32xx, LPC178x, LPC18xx and LPC43xx parts.
15*b2d2a78aSEmmanuel Vadot
16*b2d2a78aSEmmanuel Vadotproperties:
17*b2d2a78aSEmmanuel Vadot  compatible:
18*b2d2a78aSEmmanuel Vadot    const: nxp,lpc3220-timer
19*b2d2a78aSEmmanuel Vadot
20*b2d2a78aSEmmanuel Vadot  reg:
21*b2d2a78aSEmmanuel Vadot    maxItems: 1
22*b2d2a78aSEmmanuel Vadot
23*b2d2a78aSEmmanuel Vadot  interrupts:
24*b2d2a78aSEmmanuel Vadot    maxItems: 1
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot  clocks:
27*b2d2a78aSEmmanuel Vadot    maxItems: 1
28*b2d2a78aSEmmanuel Vadot
29*b2d2a78aSEmmanuel Vadot  clock-names:
30*b2d2a78aSEmmanuel Vadot    const: timerclk
31*b2d2a78aSEmmanuel Vadot
32*b2d2a78aSEmmanuel Vadot  resets:
33*b2d2a78aSEmmanuel Vadot    maxItems: 1
34*b2d2a78aSEmmanuel Vadot
35*b2d2a78aSEmmanuel Vadotrequired:
36*b2d2a78aSEmmanuel Vadot  - compatible
37*b2d2a78aSEmmanuel Vadot  - reg
38*b2d2a78aSEmmanuel Vadot  - interrupts
39*b2d2a78aSEmmanuel Vadot  - clocks
40*b2d2a78aSEmmanuel Vadot  - clock-names
41*b2d2a78aSEmmanuel Vadot
42*b2d2a78aSEmmanuel VadotadditionalProperties: false
43*b2d2a78aSEmmanuel Vadot
44*b2d2a78aSEmmanuel Vadotexamples:
45*b2d2a78aSEmmanuel Vadot  - |
46*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/clock/lpc32xx-clock.h>
47*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
48*b2d2a78aSEmmanuel Vadot
49*b2d2a78aSEmmanuel Vadot    timer@4004c000 {
50*b2d2a78aSEmmanuel Vadot        compatible = "nxp,lpc3220-timer";
51*b2d2a78aSEmmanuel Vadot        reg = <0x4004c000 0x1000>;
52*b2d2a78aSEmmanuel Vadot        interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
53*b2d2a78aSEmmanuel Vadot        clocks = <&clk LPC32XX_CLK_TIMER1>;
54*b2d2a78aSEmmanuel Vadot        clock-names = "timerclk";
55*b2d2a78aSEmmanuel Vadot    };
56