brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · d56ba65 Raw
74 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/microchip,sama7g5-eic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip External Interrupt Controller8 9maintainers:10  - Claudiu Beznea <claudiu.beznea@microchip.com>11 12description:13  This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides14  support for handling up to 2 external interrupt lines.15 16properties:17  compatible:18    enum:19      - microchip,sama7g5-eic20 21  reg:22    maxItems: 123 24  interrupt-controller: true25 26  '#interrupt-cells':27    const: 228    description:29      The first cell is the input IRQ number (between 0 and 1), the second cell30      is the trigger type as defined in interrupt.txt present in this directory.31 32  interrupts:33    description: |34      Contains the GIC SPI IRQs mapped to the external interrupt lines. They35      should be specified sequentially from output 0 to output 1.36    minItems: 237    maxItems: 238 39  clocks:40    maxItems: 141 42  clock-names:43    const: pclk44 45required:46  - compatible47  - reg48  - interrupt-controller49  - '#interrupt-cells'50  - interrupts51  - clocks52  - clock-names53 54additionalProperties: false55 56examples:57  - |58    #include <dt-bindings/clock/at91.h>59    #include <dt-bindings/interrupt-controller/arm-gic.h>60 61    eic: interrupt-controller@e1628000 {62      compatible = "microchip,sama7g5-eic";63      reg = <0xe1628000 0x100>;64      interrupt-parent = <&gic>;65      interrupt-controller;66      #interrupt-cells = <2>;67      interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,68                   <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;69      clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;70      clock-names = "pclk";71    };72 73...74