1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Loongson PCH MSI 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 PCIe MSI into HyperTransport vectorized
19 const: loongson,pch-msi-1.0
24 loongson,msi-base-vec:
26 u32 value of the base of parent HyperTransport vector allocated
28 $ref: "/schemas/types.yaml#/definitions/uint32"
32 loongson,msi-num-vecs:
34 u32 value of the number of parent HyperTransport vectors allocated
36 $ref: "/schemas/types.yaml#/definitions/uint32"
46 - loongson,msi-base-vec
47 - loongson,msi-num-vecs
51 #include <dt-bindings/interrupt-controller/irq.h>
52 msi: msi-controller@2ff00000 {
53 compatible = "loongson,pch-msi-1.0";
54 reg = <0x2ff00000 0x4>;
56 loongson,msi-base-vec = <64>;
57 loongson,msi-num-vecs = <64>;
58 interrupt-parent = <&htvec>;