xref: /linux/arch/riscv/Kconfig.socs (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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_STARFIVE
28	def_bool SOC_STARFIVE
29
30config SOC_STARFIVE
31	bool "StarFive SoCs"
32	select PINCTRL
33	select RESET_CONTROLLER
34	select ARM_AMBA
35	help
36	  This enables support for StarFive SoC platform hardware.
37
38config ARCH_SUNXI
39	bool "Allwinner sun20i SoCs"
40	depends on MMU && !XIP_KERNEL
41	select ERRATA_THEAD
42	select SUN4I_TIMER
43	help
44	  This enables support for Allwinner sun20i platform hardware,
45	  including boards based on the D1 and D1s SoCs.
46
47config ARCH_THEAD
48	bool "T-HEAD RISC-V SoCs"
49	depends on MMU && !XIP_KERNEL
50	select ERRATA_THEAD
51	help
52	  This enables support for the RISC-V based T-HEAD SoCs.
53
54config ARCH_VIRT
55	bool "QEMU Virt Machine"
56	select CLINT_TIMER if RISCV_M_MODE
57	select POWER_RESET
58	select POWER_RESET_SYSCON
59	select POWER_RESET_SYSCON_POWEROFF
60	select GOLDFISH
61	select RTC_DRV_GOLDFISH if RTC_CLASS
62	select PM_GENERIC_DOMAINS if PM
63	select PM_GENERIC_DOMAINS_OF if PM && OF
64	select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
65	help
66	  This enables support for QEMU Virt Machine.
67
68config ARCH_CANAAN
69	bool "Canaan Kendryte SoC"
70	help
71	  This enables support for Canaan Kendryte series SoC platform hardware.
72
73config SOC_CANAAN_K210
74	bool "Canaan Kendryte K210 SoC"
75	depends on !MMU && ARCH_CANAAN
76	select CLINT_TIMER if RISCV_M_MODE
77	select ARCH_HAS_RESET_CONTROLLER
78	select PINCTRL
79	select COMMON_CLK
80	help
81	  This enables support for Canaan Kendryte K210 SoC platform hardware.
82
83endmenu # "SoC selection"
84