xref: /openbmc/linux/arch/riscv/Kconfig.socs (revision b8265621)
1menu "SoC selection"
2
3config SOC_SIFIVE
4	bool "SiFive SoCs"
5	select SERIAL_SIFIVE if TTY
6	select SERIAL_SIFIVE_CONSOLE if TTY
7	select CLK_SIFIVE
8	select CLK_SIFIVE_FU540_PRCI
9	select SIFIVE_PLIC
10	help
11	  This enables support for SiFive SoC platform hardware.
12
13config SOC_VIRT
14	bool "QEMU Virt Machine"
15	select POWER_RESET
16	select POWER_RESET_SYSCON
17	select POWER_RESET_SYSCON_POWEROFF
18	select GOLDFISH
19	select RTC_DRV_GOLDFISH if RTC_CLASS
20	select SIFIVE_PLIC
21	help
22	  This enables support for QEMU Virt Machine.
23
24config SOC_KENDRYTE
25	bool "Kendryte K210 SoC"
26	depends on !MMU
27	select SERIAL_SIFIVE if TTY
28	select SERIAL_SIFIVE_CONSOLE if TTY
29	select SIFIVE_PLIC
30	help
31	  This enables support for Kendryte K210 SoC platform hardware.
32
33config SOC_KENDRYTE_K210_DTB
34	def_bool y
35	depends on SOC_KENDRYTE_K210_DTB_BUILTIN
36
37config SOC_KENDRYTE_K210_DTB_BUILTIN
38	bool "Builtin device tree for the Kendryte K210"
39	depends on SOC_KENDRYTE
40	default y
41	select OF
42	select BUILTIN_DTB
43	select SOC_KENDRYTE_K210_DTB
44	help
45	  Builds a device tree for the Kendryte K210 into the Linux image.
46	  This option should be selected if no bootloader is being used.
47	  If unsure, say Y.
48
49endmenu
50