[PATCH 2/3] MIPS: Loongson64: DTS: Add Loongson-2K1000 DTS related smp support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the device tree node and connect it to the CPU nodes.

Signed-off-by: Qing Zhang <zhangqing@xxxxxxxxxxx>
---
 .../mips/boot/dts/loongson/loongson64-2k1000.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index 8143a61111e3..3b765c063d7a 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -20,6 +20,16 @@
 			reg = <0x0>;
 			#clock-cells = <1>;
 			clocks = <&cpu_clk>;
+			enable-method = "mmio-ipi";
+		};
+
+		cpu1: cpu@1 {
+			device_type = "cpu";
+			compatible = "loongson,gs264";
+			reg = <0x1>;
+			#clock-cells = <1>;
+			clocks = <&cpu_clk>;
+			enable-method = "mmio-ipi";
 		};
 	};
 
@@ -44,6 +54,11 @@
 		compatible = "mti,cpu-interrupt-controller";
 	};
 
+	ipi: interrupt-controller@1fe11000 {
+		compatible = "loongson, mmio-ipi";
+		reg = <0 0x1fe11000 0 0x40>;
+	};
+
 	package0: bus@10000000 {
 		compatible = "simple-bus";
 		#address-cells = <2>;
-- 
2.20.1




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux