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