On 18/12/2023 02:53, Binbin Zhou wrote: > Add DeviceTree file for Loongson-2K2000 processor, which integrates two > 64-bit triple emission superscalar LA364 processor cores. > > Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx> > --- > arch/loongarch/boot/dts/Makefile | 3 +- > .../boot/dts/loongson-2k2000-ref.dts | 73 ++++ > arch/loongarch/boot/dts/loongson-2k2000.dtsi | 311 ++++++++++++++++++ > 3 files changed, 386 insertions(+), 1 deletion(-) > create mode 100644 arch/loongarch/boot/dts/loongson-2k2000-ref.dts > create mode 100644 arch/loongarch/boot/dts/loongson-2k2000.dtsi > > diff --git a/arch/loongarch/boot/dts/Makefile b/arch/loongarch/boot/dts/Makefile > index dc0782315bed..c019d6676f7e 100644 > --- a/arch/loongarch/boot/dts/Makefile > +++ b/arch/loongarch/boot/dts/Makefile > @@ -1,6 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > > dtb-$(CONFIG_MACH_LOONGSON64) = loongson-2k0500-ref.dtb \ > - loongson-2k1000-ref.dtb > + loongson-2k1000-ref.dtb \ > + loongson-2k2000-ref.dtb > > obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME)) > diff --git a/arch/loongarch/boot/dts/loongson-2k2000-ref.dts b/arch/loongarch/boot/dts/loongson-2k2000-ref.dts > new file mode 100644 > index 000000000000..ac6b370800fa > --- /dev/null > +++ b/arch/loongarch/boot/dts/loongson-2k2000-ref.dts > @@ -0,0 +1,73 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2023 Loongson Technology Corporation Limited > + */ > + > +/dts-v1/; > + > +#include "loongson-2k2000.dtsi" > + > +/ { > + compatible = "loongson,ls2k2000-ref", "loongson,ls2k2000"; > + model = "Loongson-2K2000 Reference Board"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + bootargs = "console=ttyS0,115200"; Nope. Best regards, Krzysztof