xref: /linux/arch/riscv/Kconfig.socs (revision 0b46b049d6eccd947c361018439fcb596e741d7a)
1menu "SoC selection"
2
3config ARCH_MICROCHIP_POLARFIRE
4	def_bool ARCH_MICROCHIP
5
6config ARCH_MICROCHIP
7	bool "Microchip SoCs"
8	help
9	  This enables support for Microchip SoC platforms.
10
11config ARCH_RENESAS
12	bool "Renesas RISC-V SoCs"
13	help
14	  This enables support for the RISC-V based Renesas SoCs.
15
16config ARCH_SIFIVE
17	bool "SiFive SoCs"
18	select ERRATA_SIFIVE if !XIP_KERNEL
19	help
20	  This enables support for SiFive SoC platform hardware.
21
22config ARCH_SOPHGO
23	bool "Sophgo SoCs"
24	help
25	  This enables support for Sophgo SoC platform hardware.
26
27config ARCH_SPACEMIT
28	bool "SpacemiT SoCs"
29	select PINCTRL
30	help
31	  This enables support for SpacemiT SoC platform hardware.
32
33config ARCH_STARFIVE
34	def_bool SOC_STARFIVE
35
36config SOC_STARFIVE
37	bool "StarFive SoCs"
38	select PINCTRL
39	select RESET_CONTROLLER
40	select ARM_AMBA
41	help
42	  This enables support for StarFive SoC platform hardware.
43
44config ARCH_SUNXI
45	bool "Allwinner sun20i SoCs"
46	depends on MMU && !XIP_KERNEL
47	select ERRATA_THEAD
48	select SUN4I_TIMER
49	help
50	  This enables support for Allwinner sun20i platform hardware,
51	  including boards based on the D1 and D1s SoCs.
52
53config ARCH_THEAD
54	bool "T-HEAD RISC-V SoCs"
55	depends on MMU && !XIP_KERNEL
56	select ERRATA_THEAD
57	help
58	  This enables support for the RISC-V based T-HEAD SoCs.
59
60config ARCH_VIRT
61	bool "QEMU Virt Machine"
62	select CLINT_TIMER if RISCV_M_MODE
63	select POWER_RESET
64	select POWER_RESET_SYSCON
65	select POWER_RESET_SYSCON_POWEROFF
66	select GOLDFISH
67	select RTC_DRV_GOLDFISH if RTC_CLASS
68	select PM_GENERIC_DOMAINS if PM
69	select PM_GENERIC_DOMAINS_OF if PM && OF
70	select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
71	help
72	  This enables support for QEMU Virt Machine.
73
74config ARCH_CANAAN
75	bool "Canaan Kendryte SoC"
76	help
77	  This enables support for Canaan Kendryte series SoC platform hardware.
78
79config SOC_CANAAN_K210
80	bool "Canaan Kendryte K210 SoC"
81	depends on !MMU && ARCH_CANAAN
82	select CLINT_TIMER if RISCV_M_MODE
83	select ARCH_HAS_RESET_CONTROLLER
84	select PINCTRL
85	select COMMON_CLK
86	help
87	  This enables support for Canaan Kendryte K210 SoC platform hardware.
88
89endmenu # "SoC selection"
90