xref: /openbmc/linux/arch/mips/ralink/Kconfig (revision e3d786a3)
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 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 HW_HAS_PCI
42
43	config SOC_MT7621
44		bool "MT7621"
45		select MIPS_CPU_SCACHE
46		select SYS_SUPPORTS_MULTITHREADING
47		select SYS_SUPPORTS_SMP
48		select SYS_SUPPORTS_MIPS_CPS
49		select SYS_SUPPORTS_HIGHMEM
50		select MIPS_GIC
51		select COMMON_CLK
52		select CLKSRC_MIPS_GIC
53		select HW_HAS_PCI
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