ARM Nested Vector Interrupt Controller (NVIC)

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

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

The NVIC provides an interrupt controller that is tightly coupled to Cortex-M based processor cores. The NVIC implemented on different SoCs vary in the number of interrupts and priority bits per interrupt.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "arm,armv7m-nvic", "arm,v6m-nvic", "arm,v7m-nvic", "arm,v8m-nvic"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 0

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Allowed values (enum): 1, 2

Number of cells to encode an interrupt source: first = interrupt number, second = priority.

arm,num-irq-priority-bits — required here #

Number of priority bits implemented by the SoC

Minimum value (minimum): 1

Maximum value (maximum): 8

Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells", "arm,num-irq-priority-bits"

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@e000e100 {
    compatible = "arm,v7m-nvic";
    #interrupt-cells = <2>;
    #address-cells = <0>;
    interrupt-controller;
    reg = <0xe000e100 0xc00>;
    arm,num-irq-priority-bits = <4>;
};

Source notes #

Annotations retained from the schema source

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

Line 20: deprecated

Edit this page