Loading...
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 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_KENDRYTE
26 bool "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 help
33 This enables support for Kendryte K210 SoC platform hardware.
34
35config SOC_KENDRYTE_K210_DTB
36 def_bool y
37 depends on SOC_KENDRYTE_K210_DTB_BUILTIN
38
39config SOC_KENDRYTE_K210_DTB_BUILTIN
40 bool "Builtin device tree for the Kendryte K210"
41 depends on SOC_KENDRYTE
42 default y
43 select OF
44 select BUILTIN_DTB
45 select SOC_KENDRYTE_K210_DTB
46 help
47 Builds a device tree for the Kendryte K210 into the Linux image.
48 This option should be selected if no bootloader is being used.
49 If unsure, say Y.
50
51endmenu
1menu "SoC selection"
2
3config ARCH_MICROCHIP_POLARFIRE
4 def_bool SOC_MICROCHIP_POLARFIRE
5
6config SOC_MICROCHIP_POLARFIRE
7 bool "Microchip PolarFire SoCs"
8 help
9 This enables support for Microchip PolarFire SoC platforms.
10
11config ARCH_RENESAS
12 bool "Renesas RISC-V SoCs"
13 help
14 This enables support for the RISC-V based Renesas SoCs.
15
16config ARCH_SIFIVE
17 def_bool SOC_SIFIVE
18
19config SOC_SIFIVE
20 bool "SiFive SoCs"
21 select ERRATA_SIFIVE if !XIP_KERNEL
22 help
23 This enables support for SiFive SoC platform hardware.
24
25config ARCH_SOPHGO
26 bool "Sophgo SoCs"
27 help
28 This enables support for Sophgo SoC platform hardware.
29
30config ARCH_STARFIVE
31 def_bool SOC_STARFIVE
32
33config SOC_STARFIVE
34 bool "StarFive SoCs"
35 select PINCTRL
36 select RESET_CONTROLLER
37 select ARM_AMBA
38 help
39 This enables support for StarFive SoC platform hardware.
40
41config ARCH_SUNXI
42 bool "Allwinner sun20i SoCs"
43 depends on MMU && !XIP_KERNEL
44 select ERRATA_THEAD
45 select SUN4I_TIMER
46 help
47 This enables support for Allwinner sun20i platform hardware,
48 including boards based on the D1 and D1s SoCs.
49
50config ARCH_THEAD
51 bool "T-HEAD RISC-V SoCs"
52 depends on MMU && !XIP_KERNEL
53 select ERRATA_THEAD
54 help
55 This enables support for the RISC-V based T-HEAD SoCs.
56
57config ARCH_VIRT
58 def_bool SOC_VIRT
59
60config SOC_VIRT
61 bool "QEMU Virt Machine"
62 select CLINT_TIMER if RISCV_M_MODE
63 select POWER_RESET
64 select POWER_RESET_SYSCON
65 select POWER_RESET_SYSCON_POWEROFF
66 select GOLDFISH
67 select RTC_DRV_GOLDFISH if RTC_CLASS
68 select PM_GENERIC_DOMAINS if PM
69 select PM_GENERIC_DOMAINS_OF if PM && OF
70 select RISCV_SBI_CPUIDLE if CPU_IDLE && RISCV_SBI
71 help
72 This enables support for QEMU Virt Machine.
73
74config ARCH_CANAAN
75 def_bool SOC_CANAAN
76
77config SOC_CANAAN
78 bool "Canaan Kendryte K210 SoC"
79 depends on !MMU
80 select CLINT_TIMER if RISCV_M_MODE
81 select ARCH_HAS_RESET_CONTROLLER
82 select PINCTRL
83 select COMMON_CLK
84 help
85 This enables support for Canaan Kendryte K210 SoC platform hardware.
86
87endmenu # "SoC selection"