Microchip External Interrupt Controller

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/microchip,sama7g5-eic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"

This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides support for handling up to 2 external interrupt lines.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "microchip,sama7g5-eic"

reg — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

The first cell is the input IRQ number (between 0 and 1), the second cell is the trigger type as defined in interrupt.txt present in this directory.

interrupts — required here #

Contains the GIC SPI IRQs mapped to the external interrupt lines. They should be specified sequentially from output 0 to output 1.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "pclk"

Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

eic: interrupt-controller@e1628000 {
  compatible = "microchip,sama7g5-eic";
  reg = <0xe1628000 0x100>;
  interrupt-parent = <&gic>;
  interrupt-controller;
  #interrupt-cells = <2>;
  interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
               <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
  clock-names = "pclk";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page