brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · d4658fe Raw
90 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/atmel,aic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Advanced Interrupt Controller (AIC)8 9maintainers:10  - Nicolas Ferre <nicolas.ferre@microchip.com>11  - Dharma balasubiramani <dharma.b@microchip.com>12 13description:14  The Advanced Interrupt Controller (AIC) is an 8-level priority, individually15  maskable, vectored interrupt controller providing handling of up to one16  hundred and twenty-eight interrupt sources.17 18properties:19  compatible:20    enum:21      - atmel,at91rm9200-aic22      - atmel,sama5d2-aic23      - atmel,sama5d3-aic24      - atmel,sama5d4-aic25      - microchip,sam9x60-aic26 27  reg:28    maxItems: 129 30  interrupt-controller: true31 32  "#interrupt-cells":33    const: 334    description: |35      The 1st cell is the IRQ number (Peripheral IDentifier on datasheet).36      The 2nd cell specifies flags:37        bits[3:0] trigger type and level flags:38          1 = low-to-high edge triggered.39          2 = high-to-low edge triggered.40          4 = active high level-sensitive.41          8 = active low level-sensitive.42        Valid combinations: 1, 2, 3, 4, 8.43        Default for internal sources: 4 (active high).44      The 3rd cell specifies irq priority from 0 (lowest) to 7 (highest).45 46  interrupts:47    maxItems: 148 49  atmel,external-irqs:50    $ref: /schemas/types.yaml#/definitions/uint32-array51    description: u32 array of external irqs.52 53allOf:54  - $ref: /schemas/interrupt-controller.yaml#55  - if:56      properties:57        compatible:58          contains:59            const: atmel,at91rm9200-aic60    then:61      properties:62        atmel,external-irqs:63          minItems: 164          maxItems: 765    else:66      properties:67        atmel,external-irqs:68          minItems: 169          maxItems: 170 71required:72  - compatible73  - reg74  - interrupt-controller75  - "#interrupt-cells"76  - atmel,external-irqs77 78unevaluatedProperties: false79 80examples:81  - |82    interrupt-controller@fffff000 {83      compatible = "atmel,at91rm9200-aic";84      reg = <0xfffff000 0x200>;85      interrupt-controller;86      #interrupt-cells = <3>;87      atmel,external-irqs = <31>;88    };89...90