Xtensa Interrupt Controllers

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

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

Maintainers (maintainers): "Max Filippov <jcmvbkbc@gmail.com>"

Xtensa Interrupt Distributor and Programmable Interrupt Controller (MX) and Xtensa built-in Programmable Interrupt Controller (PIC)

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cdns,xtensa-mx", "cdns,xtensa-pic"

#interrupt-cells — required here #

Allowed values (enum): 1, 2

Number of cells to define the interrupts. When 1, the first cell is the internal IRQ number; when 2, the second cell specifies internal (0) or external (1).

interrupt-controller — required here #

true — No constraints added by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller {
    compatible = "cdns,xtensa-pic";
    /* one cell: internal irq number,
     * two cells: second cell == 0: internal irq number
     *            second cell == 1: external irq number
     */
    #interrupt-cells = <2>;
    interrupt-controller;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2025 Max Filippov <jcmvbkbc@gmail.com>

Edit this page