Loongson-3 HyperTransport Interrupt Vector Controller

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

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

Maintainers (maintainers): "Jiaxun Yang <jiaxun.yang@flygoat.com>"

This interrupt controller is found in the Loongson-3 family of chips for receiving vectorized interrupts from PCH's interrupt controller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "loongson,htvec-1.0"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

Eight parent interrupts that receive chained interrupts.

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
htvec: interrupt-controller@fb000080 {
  compatible = "loongson,htvec-1.0";
  reg = <0xfb000080 0x40>;
  interrupt-controller;
  #interrupt-cells = <1>;

  interrupt-parent = <&liointc>;
  interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
                <25 IRQ_TYPE_LEVEL_HIGH>,
                <26 IRQ_TYPE_LEVEL_HIGH>,
                <27 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page