1// SPDX-License-Identifier: GPL-2.0
2
3/dts-v1/;
4
5#include "loongson64g-package.dtsi"
6#include "ls7a-pch.dtsi"
7
8/ {
9	compatible = "loongson,loongson64g-4core-ls7a";
10};
11
12&package0 {
13	htvec: interrupt-controller@efdfb000080 {
14		compatible = "loongson,htvec-1.0";
15		reg = <0xefd 0xfb000080 0x40>;
16		interrupt-controller;
17		#interrupt-cells = <1>;
18
19		interrupt-parent = <&liointc>;
20		interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
21			     <25 IRQ_TYPE_LEVEL_HIGH>,
22			     <26 IRQ_TYPE_LEVEL_HIGH>,
23			     <27 IRQ_TYPE_LEVEL_HIGH>,
24			     <28 IRQ_TYPE_LEVEL_HIGH>,
25			     <29 IRQ_TYPE_LEVEL_HIGH>,
26			     <30 IRQ_TYPE_LEVEL_HIGH>,
27			     <31 IRQ_TYPE_LEVEL_HIGH>;
28	};
29};
30
31&pch {
32	msi: msi-controller@2ff00000 {
33		compatible = "loongson,pch-msi-1.0";
34		reg = <0 0x2ff00000 0 0x8>;
35		interrupt-controller;
36		msi-controller;
37		loongson,msi-base-vec = <64>;
38		loongson,msi-num-vecs = <192>;
39		interrupt-parent = <&htvec>;
40	};
41};
42