Message ID | 20220511083007.17700-2-zhangqing@loongson.cn (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/3] MIPS: Loongson64: Add Loongson-2K1000 SMP support | expand |
On 11/05/2022 10:30, Qing Zhang wrote: > Add the device tree node and connect it to the CPU nodes. > > + ipi: interrupt-controller@1fe11000 { > + compatible = "loongson, mmio-ipi"; No spaces in compatibles. The compatible needs bindings. Best regards, Krzysztof
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>;
Add the device tree node and connect it to the CPU nodes. Signed-off-by: Qing Zhang <zhangqing@loongson.cn> --- .../mips/boot/dts/loongson/loongson64-2k1000.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+)