brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · d53e1bb Raw
55 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/nuvoton,npcm7xx-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Nuvoton NPCM7xx timer8 9maintainers:10  - Jonathan Neuschäfer <j.neuschaefer@gmx.net>11  - Tomer Maimon <tmaimon77@gmail.com>12 13properties:14  compatible:15    enum:16      - nuvoton,wpcm450-timer  # for Hermon WPCM45017      - nuvoton,npcm750-timer  # for Poleg NPCM75018      - nuvoton,npcm845-timer  # for Arbel NPCM84519 20  reg:21    maxItems: 122 23  interrupts:24    items:25      - description: The timer interrupt of timer 026 27  clocks:28    items:29      - description: The reference clock for timer 030      - description: The reference clock for timer 131      - description: The reference clock for timer 232      - description: The reference clock for timer 333      - description: The reference clock for timer 434    minItems: 135 36required:37  - compatible38  - reg39  - interrupts40  - clocks41 42additionalProperties: false43 44examples:45  - |46    #include <dt-bindings/interrupt-controller/irq.h>47    #include <dt-bindings/interrupt-controller/arm-gic.h>48    #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>49    timer@f0008000 {50        compatible = "nuvoton,npcm750-timer";51        interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;52        reg = <0xf0008000 0x50>;53        clocks = <&clk NPCM7XX_CLK_TIMER>;54    };55