STM32 External Interrupt Controller

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/st,stm32-exti.yaml#"

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

Maintainers (maintainers): "Alexandre Torgue <alexandre.torgue@foss.st.com>", "Ludovic Barre <ludovic.barre@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32-exti", "st,stm32h7-exti"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "st,stm32mp1-exti", "st,stm32mp13-exti"

Item 2

Exact value (const): "syscon"

#interrupt-cells — required here #

Exact value (const): 2

reg — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

hwlocks — not listed as required here #

Maximum number of items (maxItems): 1

Reference to a phandle of a hardware spinlock provider node.

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 96

Interrupts references to primary interrupt controller

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

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 here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32-exti"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Required in this object (required): "interrupts"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32h7-exti"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 96

Required in this object (required): "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

//Example 1
exti1: interrupt-controller@5000d000 {
    compatible = "st,stm32mp1-exti", "syscon";
    interrupt-controller;
    #interrupt-cells = <2>;
    reg = <0x5000d000 0x400>;
};
//Example 2
#include <dt-bindings/interrupt-controller/arm-gic.h>
exti2: interrupt-controller@5000d000 {
    compatible = "st,stm32mp1-exti", "syscon";
    interrupt-controller;
    #interrupt-cells = <2>;
    reg = <0x5000d000 0x400>;
    interrupts-extended =
        <&intc GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
        <0>,
        <&intc GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
};
//Example 3
exti3: interrupt-controller@40013c00 {
    compatible = "st,stm32-exti";
    interrupt-controller;
    #interrupt-cells = <2>;
    reg = <0x40013C00 0x400>;
    interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page