]>
Commit | Line | Data |
---|---|---|
0cbb8a32 LO |
1 | menu "SoC selection" |
2 | ||
99b3e3d4 AP |
3 | config SOC_MICROCHIP_POLARFIRE |
4 | bool "Microchip PolarFire SoCs" | |
5 | select MCHP_CLK_MPFS | |
6 | select SIFIVE_PLIC | |
7 | help | |
8 | This enables support for Microchip PolarFire SoC platforms. | |
9 | ||
0cbb8a32 | 10 | config SOC_SIFIVE |
de29fe30 | 11 | bool "SiFive SoCs" |
bc3e8f5d KW |
12 | select SERIAL_SIFIVE if TTY |
13 | select SERIAL_SIFIVE_CONSOLE if TTY | |
de29fe30 | 14 | select CLK_SIFIVE |
28108fc8 | 15 | select CLK_SIFIVE_PRCI |
de29fe30 | 16 | select SIFIVE_PLIC |
01f5315d | 17 | select RISCV_ERRATA_ALTERNATIVE |
1a0e5dbd | 18 | select ERRATA_SIFIVE |
de29fe30 KK |
19 | help |
20 | This enables support for SiFive SoC platform hardware. | |
0cbb8a32 | 21 | |
759bdc16 | 22 | config SOC_VIRT |
ab7fbad0 | 23 | bool "QEMU Virt Machine" |
2bc3fc87 | 24 | select CLINT_TIMER if RISCV_M_MODE |
ab7fbad0 KW |
25 | select POWER_RESET |
26 | select POWER_RESET_SYSCON | |
27 | select POWER_RESET_SYSCON_POWEROFF | |
28 | select GOLDFISH | |
29 | select RTC_DRV_GOLDFISH if RTC_CLASS | |
30 | select SIFIVE_PLIC | |
31 | help | |
32 | This enables support for QEMU Virt Machine. | |
759bdc16 | 33 | |
08734e05 DLM |
34 | config SOC_CANAAN |
35 | bool "Canaan Kendryte K210 SoC" | |
c48c4a4c | 36 | depends on !MMU |
2bc3fc87 | 37 | select CLINT_TIMER if RISCV_M_MODE |
8759a42b DLM |
38 | select SERIAL_SIFIVE if TTY |
39 | select SERIAL_SIFIVE_CONSOLE if TTY | |
40 | select SIFIVE_PLIC | |
5a2308da | 41 | select ARCH_HAS_RESET_CONTROLLER |
d4c34d09 | 42 | select PINCTRL |
fa59030b DLM |
43 | select COMMON_CLK |
44 | select COMMON_CLK_K210 | |
c48c4a4c | 45 | help |
08734e05 | 46 | This enables support for Canaan Kendryte K210 SoC platform hardware. |
c48c4a4c | 47 | |
08734e05 | 48 | if SOC_CANAAN |
8bb66174 | 49 | |
08734e05 DLM |
50 | config SOC_CANAAN_K210_DTB_BUILTIN |
51 | bool "Builtin device tree for the Canaan Kendryte K210" | |
52 | depends on SOC_CANAAN | |
8bb66174 PD |
53 | default y |
54 | select OF | |
55 | select BUILTIN_DTB | |
8bb66174 | 56 | help |
d5805af9 | 57 | Build a device tree for the Kendryte K210 into the Linux image. |
8bb66174 PD |
58 | This option should be selected if no bootloader is being used. |
59 | If unsure, say Y. | |
60 | ||
08734e05 DLM |
61 | config SOC_CANAAN_K210_DTB_SOURCE |
62 | string "Source file for the Canaan Kendryte K210 builtin DTB" | |
63 | depends on SOC_CANAAN | |
64 | depends on SOC_CANAAN_K210_DTB_BUILTIN | |
67d96729 | 65 | default "k210_generic" |
d5805af9 | 66 | help |
08734e05 | 67 | Base name (without suffix, relative to arch/riscv/boot/dts/canaan) |
d5805af9 DLM |
68 | for the DTS file that will be used to produce the DTB linked into the |
69 | kernel. | |
70 | ||
71 | endif | |
72 | ||
0cbb8a32 | 73 | endmenu |