riscv: dts: k210: fix broken IRQs on hart1
[linux-2.6-block.git] / arch / riscv / Kconfig.socs
CommitLineData
0cbb8a32
LO
1menu "SoC selection"
2
99b3e3d4
AP
3config 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 10config 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
3d24568b
ERB
22config SOC_STARFIVE
23 bool "StarFive SoCs"
24 select PINCTRL
25 select RESET_CONTROLLER
26 select SIFIVE_PLIC
27 help
28 This enables support for StarFive SoC platform hardware.
29
759bdc16 30config SOC_VIRT
ab7fbad0 31 bool "QEMU Virt Machine"
2bc3fc87 32 select CLINT_TIMER if RISCV_M_MODE
ab7fbad0
KW
33 select POWER_RESET
34 select POWER_RESET_SYSCON
35 select POWER_RESET_SYSCON_POWEROFF
36 select GOLDFISH
37 select RTC_DRV_GOLDFISH if RTC_CLASS
38 select SIFIVE_PLIC
39 help
40 This enables support for QEMU Virt Machine.
759bdc16 41
08734e05
DLM
42config SOC_CANAAN
43 bool "Canaan Kendryte K210 SoC"
c48c4a4c 44 depends on !MMU
2bc3fc87 45 select CLINT_TIMER if RISCV_M_MODE
8759a42b
DLM
46 select SERIAL_SIFIVE if TTY
47 select SERIAL_SIFIVE_CONSOLE if TTY
48 select SIFIVE_PLIC
5a2308da 49 select ARCH_HAS_RESET_CONTROLLER
d4c34d09 50 select PINCTRL
fa59030b
DLM
51 select COMMON_CLK
52 select COMMON_CLK_K210
c48c4a4c 53 help
08734e05 54 This enables support for Canaan Kendryte K210 SoC platform hardware.
c48c4a4c 55
08734e05 56if SOC_CANAAN
8bb66174 57
08734e05
DLM
58config SOC_CANAAN_K210_DTB_BUILTIN
59 bool "Builtin device tree for the Canaan Kendryte K210"
60 depends on SOC_CANAAN
8bb66174
PD
61 default y
62 select OF
63 select BUILTIN_DTB
8bb66174 64 help
d5805af9 65 Build a device tree for the Kendryte K210 into the Linux image.
8bb66174
PD
66 This option should be selected if no bootloader is being used.
67 If unsure, say Y.
68
08734e05
DLM
69config SOC_CANAAN_K210_DTB_SOURCE
70 string "Source file for the Canaan Kendryte K210 builtin DTB"
71 depends on SOC_CANAAN
72 depends on SOC_CANAAN_K210_DTB_BUILTIN
67d96729 73 default "k210_generic"
d5805af9 74 help
08734e05 75 Base name (without suffix, relative to arch/riscv/boot/dts/canaan)
d5805af9
DLM
76 for the DTS file that will be used to produce the DTB linked into the
77 kernel.
78
79endif
80
0cbb8a32 81endmenu