[PATCH 02/18] riscv: add Zhihe A210 support
Han Gao
gaohan at iscas.ac.cn
Wed Oct 21 12:48:10 PDT 2026
From: Zhiguo Zhu <zhiguo.zhu at linux.alibaba.com>
Add the ARCH_ZHIHE option for the Zhihe A210 SoC.
Signed-off-by: Zhiguo Zhu <zhiguo.zhu at linux.alibaba.com>
Co-developed-by: Han Gao <gaohan at iscas.ac.cn>
Signed-off-by: Han Gao <gaohan at iscas.ac.cn>
---
arch/riscv/Kconfig.socs | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index cecbce0c4983..b9863ebd88c7 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -91,6 +91,16 @@ config ARCH_ULTRARISC
This enables support for UltraRISC SoC platform hardware,
including boards based on the UR-DP1000.
+config ARCH_ZHIHE
+ bool "ZhiHe SoCs"
+ depends on 64BIT && MMU
+ select ARCH_HAS_RESET_CONTROLLER
+ help
+ Enable support for the Zhihe A210 SoC.
+ A210 has four C908 and four C920 RISC-V CPU cores.
+ Supported boards include the Melon Pi V1 and V2.
+ Say Y here to build a kernel for these boards.
+
config ARCH_VIRT
bool "QEMU Virt Machine"
select POWER_RESET
--
2.55.0
More information about the linux-riscv
mailing list