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_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 CLINT_TIMER if RISCV_M_MODE 16 select POWER_RESET 17 select POWER_RESET_SYSCON 18 select POWER_RESET_SYSCON_POWEROFF 19 select GOLDFISH 20 select RTC_DRV_GOLDFISH if RTC_CLASS 21 select SIFIVE_PLIC 22 help 23 This enables support for QEMU Virt Machine. 24 25config SOC_CANAAN 26 bool "Canaan Kendryte K210 SoC" 27 depends on !MMU 28 select CLINT_TIMER if RISCV_M_MODE 29 select SERIAL_SIFIVE if TTY 30 select SERIAL_SIFIVE_CONSOLE if TTY 31 select SIFIVE_PLIC 32 select ARCH_HAS_RESET_CONTROLLER 33 select PINCTRL 34 select COMMON_CLK 35 select COMMON_CLK_K210 36 help 37 This enables support for Canaan Kendryte K210 SoC platform hardware. 38 39if SOC_CANAAN 40 41config SOC_CANAAN_K210_DTB_BUILTIN 42 bool "Builtin device tree for the Canaan Kendryte K210" 43 depends on SOC_CANAAN 44 default y 45 select OF 46 select BUILTIN_DTB 47 help 48 Build a device tree for the Kendryte K210 into the Linux image. 49 This option should be selected if no bootloader is being used. 50 If unsure, say Y. 51 52config SOC_CANAAN_K210_DTB_SOURCE 53 string "Source file for the Canaan Kendryte K210 builtin DTB" 54 depends on SOC_CANAAN 55 depends on SOC_CANAAN_K210_DTB_BUILTIN 56 default "k210_generic" 57 help 58 Base name (without suffix, relative to arch/riscv/boot/dts/canaan) 59 for the DTS file that will be used to produce the DTB linked into the 60 kernel. 61 62endif 63 64endmenu 65