1// SPDX-License-Identifier: GPL-2.0
2
3/dts-v1/;
4
5#include "loongson64c-package.dtsi"
6#include "ls7a-pch.dtsi"
7
8/ {
9	compatible = "loongson,loongson64c-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	};
25};
26
27&pch {
28	msi: msi-controller@2ff00000 {
29		compatible = "loongson,pch-msi-1.0";
30		reg = <0 0x2ff00000 0 0x8>;
31		interrupt-controller;
32		msi-controller;
33		loongson,msi-base-vec = <64>;
34		loongson,msi-num-vecs = <64>;
35		interrupt-parent = <&htvec>;
36	};
37};
38