Loongson PCH PIC Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.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 LS7A family of PCH for transforming interrupts from on-chip devices into HyperTransport vectorized interrupts.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "loongson,pch-pic-1.0"
reg — required here #
Maximum number of items (maxItems): 1
loongson,pic-base-vec — required here #
u32 value of the base of parent HyperTransport vector allocated to PCH PIC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 192
#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 #
Exact value (const): 2
Required in this object (required): "compatible", "reg", "loongson,pic-base-vec", "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>
pic: interrupt-controller@10000000 {
compatible = "loongson,pch-pic-1.0";
reg = <0x10000000 0x400>;
interrupt-controller;
#interrupt-cells = <2>;
loongson,pic-base-vec = <64>;
interrupt-parent = <&htvec>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)