Merge tag 'locking-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / mips / ralink / Kconfig
blobc10d8b233ab15ee6473374a83c7ddf0ede6b1cde
1 # SPDX-License-Identifier: GPL-2.0
2 if RALINK
4 config CLKEVT_RT3352
5         bool
6         depends on SOC_RT305X || SOC_MT7620
7         default y
8         select TIMER_OF
9         select CLKSRC_MMIO
11 config RALINK_ILL_ACC
12         bool
13         depends on SOC_RT305X
14         default y
16 config IRQ_INTC
17         bool
18         default y
19         depends on !SOC_MT7621
21 choice
22         prompt "Ralink SoC selection"
23         default SOC_RT305X
24         help
25           Select Ralink MIPS SoC type.
27         config SOC_RT288X
28                 bool "RT288x"
29                 select MIPS_L1_CACHE_SHIFT_4
30                 select HAVE_LEGACY_CLK
31                 select HAVE_PCI
33         config SOC_RT305X
34                 bool "RT305x"
35                 select HAVE_LEGACY_CLK
37         config SOC_RT3883
38                 bool "RT3883"
39                 select HAVE_LEGACY_CLK
40                 select HAVE_PCI
42         config SOC_MT7620
43                 bool "MT7620/8"
44                 select CPU_MIPSR2_IRQ_VI
45                 select HAVE_LEGACY_CLK
46                 select HAVE_PCI
48         config SOC_MT7621
49                 bool "MT7621"
50                 select MIPS_CPU_SCACHE
51                 select SYS_SUPPORTS_MULTITHREADING
52                 select SYS_SUPPORTS_SMP
53                 select SYS_SUPPORTS_MIPS_CPS
54                 select SYS_SUPPORTS_HIGHMEM
55                 select MIPS_GIC
56                 select COMMON_CLK
57                 select CLKSRC_MIPS_GIC
58                 select HAVE_PCI if PCI_MT7621
59                 select SOC_BUS
60 endchoice
62 choice
63         prompt "Devicetree selection"
64         default DTB_RT_NONE
65         help
66           Select the devicetree.
68         config DTB_RT_NONE
69                 bool "None"
71         config DTB_RT2880_EVAL
72                 bool "RT2880 eval kit"
73                 depends on SOC_RT288X
74                 select BUILTIN_DTB
76         config DTB_RT305X_EVAL
77                 bool "RT305x eval kit"
78                 depends on SOC_RT305X
79                 select BUILTIN_DTB
81         config DTB_RT3883_EVAL
82                 bool "RT3883 eval kit"
83                 depends on SOC_RT3883
84                 select BUILTIN_DTB
86         config DTB_MT7620A_EVAL
87                 bool "MT7620A eval kit"
88                 depends on SOC_MT7620
89                 select BUILTIN_DTB
91         config DTB_OMEGA2P
92                 bool "Onion Omega2+"
93                 depends on SOC_MT7620
94                 select BUILTIN_DTB
96         config DTB_VOCORE2
97                 bool "VoCore2"
98                 depends on SOC_MT7620
99                 select BUILTIN_DTB
101 endchoice
103 endif