summaryrefslogtreecommitdiffstats
path: root/dts/src/mips/loongson/loongson64g_4core_ls7a.dts
blob: c945f8565d5434b235f2124ec7604ebb77bff488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// SPDX-License-Identifier: GPL-2.0

/dts-v1/;

#include "loongson64g-package.dtsi"
#include "ls7a-pch.dtsi"

/ {
	compatible = "loongson,loongson64g-4core-ls7a";
};

&package0 {
	htvec: interrupt-controller@efdfb000080 {
		compatible = "loongson,htvec-1.0";
		reg = <0xefd 0xfb000080 0x40>;
		interrupt-controller;
		#interrupt-cells = <1>;

		interrupt-parent = <&liointc>;
		interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
			     <25 IRQ_TYPE_LEVEL_HIGH>,
			     <26 IRQ_TYPE_LEVEL_HIGH>,
			     <27 IRQ_TYPE_LEVEL_HIGH>,
			     <28 IRQ_TYPE_LEVEL_HIGH>,
			     <29 IRQ_TYPE_LEVEL_HIGH>,
			     <30 IRQ_TYPE_LEVEL_HIGH>,
			     <31 IRQ_TYPE_LEVEL_HIGH>;
	};
};

&pch {
	msi: msi-controller@2ff00000 {
		compatible = "loongson,pch-msi-1.0";
		reg = <0 0x2ff00000 0 0x8>;
		interrupt-controller;
		msi-controller;
		loongson,msi-base-vec = <64>;
		loongson,msi-num-vecs = <192>;
		interrupt-parent = <&htvec>;
	};
};