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