[PATCH 01/10] arm64: Add SOPHGO SOC family Kconfig support

Alexander Sverdlin alexander.sverdlin at gmail.com
Sun Feb 9 14:06:26 PST 2025


First user will be Aarch64 core within SG2000 SoC.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>
---
 arch/arm64/Kconfig.platforms | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 02f9248f7c84..f45f3f05edf8 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -307,6 +307,18 @@ config ARCH_INTEL_SOCFPGA
 	  Stratix 10 (ex. Altera), Stratix10 Software Virtual Platform,
 	  Agilex and eASIC N5X.
 
+config ARCH_SOPHGO
+	bool "Sophgo SoCs"
+	select CLK_SOPHGO_CV1800
+	select MFD_SYSCON
+	select RESET_CONTROLLER
+	help
+	  This enables support for Sophgo SoC platform hardware, such as
+	  SG2000.
+
+	  Enable this option if you are going to boot your dual-ARCH SoC in
+	  ARM64 mode.
+
 config ARCH_STM32
 	bool "STMicroelectronics STM32 SoC Family"
 	select GPIOLIB
-- 
2.48.1




More information about the linux-riscv mailing list