GNU Linux-libre 4.19.295-gnu1
[releases.git] / arch / mips / ralink / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 if RALINK
3
4 config CLKEVT_RT3352
5         bool
6         depends on SOC_RT305X || SOC_MT7620
7         default y
8         select TIMER_OF
9         select CLKSRC_MMIO
10
11 config RALINK_ILL_ACC
12         bool
13         depends on SOC_RT305X
14         default y
15
16 config IRQ_INTC
17         bool
18         default y
19         depends on !SOC_MT7621
20
21 choice
22         prompt "Ralink SoC selection"
23         default SOC_RT305X
24         help
25           Select Ralink MIPS SoC type.
26
27         config SOC_RT288X
28                 bool "RT288x"
29                 select MIPS_L1_CACHE_SHIFT_4
30                 select HW_HAS_PCI
31
32         config SOC_RT305X
33                 bool "RT305x"
34
35         config SOC_RT3883
36                 bool "RT3883"
37                 select HW_HAS_PCI
38
39         config SOC_MT7620
40                 bool "MT7620/8"
41                 select CPU_MIPSR2_IRQ_VI
42                 select HW_HAS_PCI
43
44         config SOC_MT7621
45                 bool "MT7621"
46                 select MIPS_CPU_SCACHE
47                 select SYS_SUPPORTS_MULTITHREADING
48                 select SYS_SUPPORTS_SMP
49                 select SYS_SUPPORTS_MIPS_CPS
50                 select SYS_SUPPORTS_HIGHMEM
51                 select MIPS_GIC
52                 select COMMON_CLK
53                 select CLKSRC_MIPS_GIC
54                 select HW_HAS_PCI
55 endchoice
56
57 choice
58         prompt "Devicetree selection"
59         default DTB_RT_NONE
60         help
61           Select the devicetree.
62
63         config DTB_RT_NONE
64                 bool "None"
65
66         config DTB_RT2880_EVAL
67                 bool "RT2880 eval kit"
68                 depends on SOC_RT288X
69                 select BUILTIN_DTB
70
71         config DTB_RT305X_EVAL
72                 bool "RT305x eval kit"
73                 depends on SOC_RT305X
74                 select BUILTIN_DTB
75
76         config DTB_RT3883_EVAL
77                 bool "RT3883 eval kit"
78                 depends on SOC_RT3883
79                 select BUILTIN_DTB
80
81         config DTB_MT7620A_EVAL
82                 bool "MT7620A eval kit"
83                 depends on SOC_MT7620
84                 select BUILTIN_DTB
85
86         config DTB_OMEGA2P
87                 bool "Onion Omega2+"
88                 depends on SOC_MT7620
89                 select BUILTIN_DTB
90
91         config DTB_VOCORE2
92                 bool "VoCore2"
93                 depends on SOC_MT7620
94                 select BUILTIN_DTB
95
96 endchoice
97
98 endif