xref: /openbmc/linux/arch/mips/ralink/Kconfig (revision 3dc4b6fb)
1# SPDX-License-Identifier: GPL-2.0
2if RALINK
3
4config CLKEVT_RT3352
5	bool
6	depends on SOC_RT305X || SOC_MT7620
7	default y
8	select TIMER_OF
9	select CLKSRC_MMIO
10
11config RALINK_ILL_ACC
12	bool
13	depends on SOC_RT305X
14	default y
15
16config IRQ_INTC
17	bool
18	default y
19	depends on !SOC_MT7621
20
21choice
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 HAVE_PCI
31
32	config SOC_RT305X
33		bool "RT305x"
34
35	config SOC_RT3883
36		bool "RT3883"
37		select HAVE_PCI
38
39	config SOC_MT7620
40		bool "MT7620/8"
41		select CPU_MIPSR2_IRQ_VI
42		select HAVE_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
54endchoice
55
56choice
57	prompt "Devicetree selection"
58	default DTB_RT_NONE
59	help
60	  Select the devicetree.
61
62	config DTB_RT_NONE
63		bool "None"
64
65	config DTB_RT2880_EVAL
66		bool "RT2880 eval kit"
67		depends on SOC_RT288X
68		select BUILTIN_DTB
69
70	config DTB_RT305X_EVAL
71		bool "RT305x eval kit"
72		depends on SOC_RT305X
73		select BUILTIN_DTB
74
75	config DTB_RT3883_EVAL
76		bool "RT3883 eval kit"
77		depends on SOC_RT3883
78		select BUILTIN_DTB
79
80	config DTB_MT7620A_EVAL
81		bool "MT7620A eval kit"
82		depends on SOC_MT7620
83		select BUILTIN_DTB
84
85	config DTB_OMEGA2P
86		bool "Onion Omega2+"
87		depends on SOC_MT7620
88		select BUILTIN_DTB
89
90	config DTB_VOCORE2
91		bool "VoCore2"
92		depends on SOC_MT7620
93		select BUILTIN_DTB
94
95endchoice
96
97endif
98