GNU Linux-libre 4.14.266-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                 select USB_ARCH_HAS_HCD
35
36         config SOC_RT3883
37                 bool "RT3883"
38                 select HW_HAS_PCI
39
40         config SOC_MT7620
41                 bool "MT7620/8"
42                 select CPU_MIPSR2_IRQ_VI
43                 select HW_HAS_PCI
44
45         config SOC_MT7621
46                 bool "MT7621"
47                 select MIPS_CPU_SCACHE
48                 select SYS_SUPPORTS_MULTITHREADING
49                 select SYS_SUPPORTS_SMP
50                 select SYS_SUPPORTS_MIPS_CPS
51                 select SYS_SUPPORTS_HIGHMEM
52                 select MIPS_GIC
53                 select COMMON_CLK
54                 select CLKSRC_MIPS_GIC
55                 select HW_HAS_PCI
56 endchoice
57
58 choice
59         prompt "Devicetree selection"
60         default DTB_RT_NONE
61         help
62           Select the devicetree.
63
64         config DTB_RT_NONE
65                 bool "None"
66
67         config DTB_RT2880_EVAL
68                 bool "RT2880 eval kit"
69                 depends on SOC_RT288X
70                 select BUILTIN_DTB
71
72         config DTB_RT305X_EVAL
73                 bool "RT305x eval kit"
74                 depends on SOC_RT305X
75                 select BUILTIN_DTB
76
77         config DTB_RT3883_EVAL
78                 bool "RT3883 eval kit"
79                 depends on SOC_RT3883
80                 select BUILTIN_DTB
81
82         config DTB_MT7620A_EVAL
83                 bool "MT7620A eval kit"
84                 depends on SOC_MT7620
85                 select BUILTIN_DTB
86
87         config DTB_OMEGA2P
88                 bool "Onion Omega2+"
89                 depends on SOC_MT7620
90                 select BUILTIN_DTB
91
92         config DTB_VOCORE2
93                 bool "VoCore2"
94                 depends on SOC_MT7620
95                 select BUILTIN_DTB
96
97 endchoice
98
99 endif