xref: /linux/arch/mips/ralink/Kconfig (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
1if RALINK
2
3config CLKEVT_RT3352
4	bool
5	depends on SOC_RT305X || SOC_MT7620
6	default y
7	select CLKSRC_OF
8	select CLKSRC_MMIO
9
10config RALINK_ILL_ACC
11	bool
12	depends on SOC_RT305X
13	default y
14
15config IRQ_INTC
16	bool
17	default y
18	depends on !SOC_MT7621
19
20choice
21	prompt "Ralink SoC selection"
22	default SOC_RT305X
23	help
24	  Select Ralink MIPS SoC type.
25
26	config SOC_RT288X
27		bool "RT288x"
28		select MIPS_L1_CACHE_SHIFT_4
29		select HW_HAS_PCI
30
31	config SOC_RT305X
32		bool "RT305x"
33		select USB_ARCH_HAS_HCD
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 MIPS_GIC
50		select COMMON_CLK
51		select CLKSRC_MIPS_GIC
52		select HW_HAS_PCI
53endchoice
54
55choice
56	prompt "Devicetree selection"
57	default DTB_RT_NONE
58	help
59	  Select the devicetree.
60
61	config DTB_RT_NONE
62		bool "None"
63
64	config DTB_RT2880_EVAL
65		bool "RT2880 eval kit"
66		depends on SOC_RT288X
67		select BUILTIN_DTB
68
69	config DTB_RT305X_EVAL
70		bool "RT305x eval kit"
71		depends on SOC_RT305X
72		select BUILTIN_DTB
73
74	config DTB_RT3883_EVAL
75		bool "RT3883 eval kit"
76		depends on SOC_RT3883
77		select BUILTIN_DTB
78
79	config DTB_MT7620A_EVAL
80		bool "MT7620A eval kit"
81		depends on SOC_MT7620
82		select BUILTIN_DTB
83
84endchoice
85
86endif
87