Advanced Interrupt Controller (AIC)
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/atmel,aic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Dharma balasubiramani <dharma.b@microchip.com>"
The Advanced Interrupt Controller (AIC) is an 8-level priority, individually maskable, vectored interrupt controller providing handling of up to one hundred and twenty-eight interrupt sources.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "atmel,at91rm9200-aic", "atmel,sama5d2-aic", "atmel,sama5d3-aic", "atmel,sama5d4-aic", "microchip,sam9x60-aic", "microchip,sam9x7-aic"
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): 3
The 1st cell is the IRQ number (Peripheral IDentifier on datasheet).
The 2nd cell specifies flags:
bits[3:0] trigger type and level flags:
1 = low-to-high edge triggered.
2 = high-to-low edge triggered.
4 = active high level-sensitive.
8 = active low level-sensitive.
Valid combinations: 1, 2, 3, 4, 8.
Default for internal sources: 4 (active high).
The 3rd cell specifies irq priority from 0 (lowest) to 7 (highest).
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
atmel,external-irqs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
u32 array of external irqs.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"atmel,at91rm9200-aic"When the condition matches (
then) #Properties and child nodes (
properties)
atmel,external-irqs— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):7When the condition does not match (
else) #Properties and child nodes (
properties)
atmel,external-irqs— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells", "atmel,external-irqs"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@fffff000 {
compatible = "atmel,at91rm9200-aic";
reg = <0xfffff000 0x200>;
interrupt-controller;
#interrupt-cells = <3>;
atmel,external-irqs = <31>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)