Loongson-3 HyperTransport Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jiaxun Yang <jiaxun.yang@flygoat.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller.yaml#
This interrupt controller is found in the Loongson-3 family of chips to transmit interrupts from PCH PIC connected on HyperTransport bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "loongson,htpic-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): 4
Four 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 evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
htintc: interrupt-controller@1fb000080 {
compatible = "loongson,htpic-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)