[PATCH 0/6] Add basic support for Loongson-2K1000

From: Qing Zhang
Date: Tue Feb 09 2021 - 04:36:27 EST


These patches support single-core DTS boot to the serial port login
interface, which can be operated using conventional commands.

I have successfully tested it on the Loongson 2K1000 machine.
pmon: http://cgit.loongnix.org/cgit/pmon-loongson3/

Qing Zhang (6):
MIPS: Loongson64: DeviceTree for 2K1000
MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI.
MIPS: Loongson64: Add support for the 2K1000 to get cpu_clock_freq
MIPS: Loongson64: Add 2K1000 early_printk_port
irqchip/loongson-liointc: irqchip add 2.0 version.
MIPS: Loongson64: Add a Loongson-2k default config file

arch/mips/boot/dts/loongson/Makefile | 1 +
.../boot/dts/loongson/loongson64-2k1000.dtsi | 243 ++++++++++++
.../dts/loongson/loongson64_2core_2k1000.dts | 10 +
arch/mips/configs/loongson2k_defconfig | 353 ++++++++++++++++++
.../include/asm/mach-loongson64/boot_param.h | 6 +
.../asm/mach-loongson64/builtin_dtbs.h | 1 +
.../include/asm/mach-loongson64/loongson.h | 3 +-
arch/mips/loongson64/env.c | 13 +-
arch/mips/loongson64/init.c | 21 +-
arch/mips/loongson64/time.c | 14 +
drivers/irqchip/irq-loongson-liointc.c | 55 ++-
11 files changed, 706 insertions(+), 14 deletions(-)
create mode 100644 arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
create mode 100644 arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dts
create mode 100644 arch/mips/configs/loongson2k_defconfig

--
2.20.1