brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 3ae2eb0 Raw
56 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/timer/nxp,lpc3220-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP LPC3220 timer8 9maintainers:10  - Animesh Agarwal <animeshagarwal28@gmail.com>11 12description: |13  The NXP LPC3220 timer is used on a wide range of NXP SoCs. This includes14  LPC32xx, LPC178x, LPC18xx and LPC43xx parts.15 16properties:17  compatible:18    const: nxp,lpc3220-timer19 20  reg:21    maxItems: 122 23  interrupts:24    maxItems: 125 26  clocks:27    maxItems: 128 29  clock-names:30    const: timerclk31 32  resets:33    maxItems: 134 35required:36  - compatible37  - reg38  - interrupts39  - clocks40  - clock-names41 42additionalProperties: false43 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    };56