1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Loongson PCH PIC Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson LS7A family of PCH for
14 transforming interrupts from on-chip devices into HyperTransport vectorized
19 const: loongson,pch-pic-1.0
24 loongson,pic-base-vec:
26 u32 value of the base of parent HyperTransport vector allocated
28 $ref: "/schemas/types.yaml#/definitions/uint32"
32 interrupt-controller: true
40 - loongson,pic-base-vec
41 - interrupt-controller
44 additionalProperties: false
48 #include <dt-bindings/interrupt-controller/irq.h>
49 pic: interrupt-controller@10000000 {
50 compatible = "loongson,pch-pic-1.0";
51 reg = <0x10000000 0x400>;
53 #interrupt-cells = <2>;
54 loongson,pic-base-vec = <64>;
55 interrupt-parent = <&htvec>;