Loongson-1 Interrupt Controller

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

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

Maintainers (maintainers): "Keguang Zhang <keguang.zhang@gmail.com>"

Loongson-1 interrupt controller is connected to the MIPS core interrupt controller, which controls several groups of interrupts.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "loongson,ls1x-intc"

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

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

intc0: interrupt-controller@1fd01040 {
    compatible = "loongson,ls1x-intc";
    reg = <0x1fd01040 0x18>;

    interrupt-controller;
    #interrupt-cells = <2>;

    interrupt-parent = <&cpu_intc>;
    interrupts = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page