2019-06-17 12:29:48 -07:00
|
|
|
menu "SoC selection"
|
|
|
|
|
2021-03-03 13:02:49 -07:00
|
|
|
config SOC_MICROCHIP_POLARFIRE
|
|
|
|
bool "Microchip PolarFire SoCs"
|
|
|
|
select MCHP_CLK_MPFS
|
|
|
|
help
|
|
|
|
This enables support for Microchip PolarFire SoC platforms.
|
|
|
|
|
2022-10-28 09:59:17 -07:00
|
|
|
config ARCH_RENESAS
|
|
|
|
bool "Renesas RISC-V SoCs"
|
|
|
|
help
|
|
|
|
This enables support for the RISC-V based Renesas SoCs.
|
|
|
|
|
2019-06-17 12:29:48 -07:00
|
|
|
config SOC_SIFIVE
|
2019-11-20 20:20:57 -07:00
|
|
|
bool "SiFive SoCs"
|
2019-10-24 00:20:03 -07:00
|
|
|
select SERIAL_SIFIVE if TTY
|
|
|
|
select SERIAL_SIFIVE_CONSOLE if TTY
|
2019-11-20 20:20:57 -07:00
|
|
|
select CLK_SIFIVE
|
2020-12-09 02:49:13 -07:00
|
|
|
select CLK_SIFIVE_PRCI
|
2022-02-10 09:49:43 -07:00
|
|
|
select ERRATA_SIFIVE if !XIP_KERNEL
|
2019-11-20 20:20:57 -07:00
|
|
|
help
|
|
|
|
This enables support for SiFive SoC platform hardware.
|
2019-06-17 12:29:48 -07:00
|
|
|
|
2021-10-10 07:10:32 -07:00
|
|
|
config SOC_STARFIVE
|
|
|
|
bool "StarFive SoCs"
|
|
|
|
select PINCTRL
|
|
|
|
select RESET_CONTROLLER
|
|
|
|
help
|
|
|
|
This enables support for StarFive SoC platform hardware.
|
|
|
|
|
2019-12-02 20:49:31 -07:00
|
|
|
config SOC_VIRT
|
2020-05-10 19:19:52 -07:00
|
|
|
bool "QEMU Virt Machine"
|
2020-08-17 05:42:50 -07:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-05-10 19:19:52 -07:00
|
|
|
select POWER_RESET
|
|
|
|
select POWER_RESET_SYSCON
|
|
|
|
select POWER_RESET_SYSCON_POWEROFF
|
|
|
|
select GOLDFISH
|
|
|
|
select RTC_DRV_GOLDFISH if RTC_CLASS
|
2022-02-09 22:49:47 -07:00
|
|
|
select PM_GENERIC_DOMAINS if PM
|
|
|
|
select PM_GENERIC_DOMAINS_OF if PM && OF
|
2022-04-09 15:53:17 -07:00
|
|
|
select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
|
2020-05-10 19:19:52 -07:00
|
|
|
help
|
|
|
|
This enables support for QEMU Virt Machine.
|
2019-12-02 20:49:31 -07:00
|
|
|
|
2020-12-13 06:50:38 -07:00
|
|
|
config SOC_CANAAN
|
|
|
|
bool "Canaan Kendryte K210 SoC"
|
2020-03-15 17:47:39 -07:00
|
|
|
depends on !MMU
|
2020-08-17 05:42:50 -07:00
|
|
|
select CLINT_TIMER if RISCV_M_MODE
|
2020-03-15 17:47:40 -07:00
|
|
|
select SERIAL_SIFIVE if TTY
|
|
|
|
select SERIAL_SIFIVE_CONSOLE if TTY
|
2020-12-13 06:50:47 -07:00
|
|
|
select ARCH_HAS_RESET_CONTROLLER
|
2021-01-11 17:58:40 -07:00
|
|
|
select PINCTRL
|
2021-03-11 03:24:24 -07:00
|
|
|
select COMMON_CLK
|
|
|
|
select COMMON_CLK_K210
|
2020-03-15 17:47:39 -07:00
|
|
|
help
|
2020-12-13 06:50:38 -07:00
|
|
|
This enables support for Canaan Kendryte K210 SoC platform hardware.
|
2020-03-15 17:47:39 -07:00
|
|
|
|
2020-12-13 06:50:38 -07:00
|
|
|
if SOC_CANAAN
|
2020-04-13 21:43:25 -07:00
|
|
|
|
2020-12-13 06:50:38 -07:00
|
|
|
config SOC_CANAAN_K210_DTB_BUILTIN
|
|
|
|
bool "Builtin device tree for the Canaan Kendryte K210"
|
|
|
|
depends on SOC_CANAAN
|
2020-04-13 21:43:25 -07:00
|
|
|
default y
|
|
|
|
select OF
|
|
|
|
select BUILTIN_DTB
|
|
|
|
help
|
2020-12-13 06:50:37 -07:00
|
|
|
Build a device tree for the Kendryte K210 into the Linux image.
|
2020-04-13 21:43:25 -07:00
|
|
|
This option should be selected if no bootloader is being used.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2020-12-13 06:50:38 -07:00
|
|
|
config SOC_CANAAN_K210_DTB_SOURCE
|
|
|
|
string "Source file for the Canaan Kendryte K210 builtin DTB"
|
|
|
|
depends on SOC_CANAAN
|
|
|
|
depends on SOC_CANAAN_K210_DTB_BUILTIN
|
2021-02-09 22:02:23 -07:00
|
|
|
default "k210_generic"
|
2020-12-13 06:50:37 -07:00
|
|
|
help
|
2020-12-13 06:50:38 -07:00
|
|
|
Base name (without suffix, relative to arch/riscv/boot/dts/canaan)
|
2020-12-13 06:50:37 -07:00
|
|
|
for the DTS file that will be used to produce the DTB linked into the
|
|
|
|
kernel.
|
|
|
|
|
2022-05-20 05:02:32 -07:00
|
|
|
endif # SOC_CANAAN
|
2020-12-13 06:50:37 -07:00
|
|
|
|
2022-05-20 05:02:32 -07:00
|
|
|
endmenu # "SoC selection"
|