xref: /linux/arch/mips/ralink/Kconfig (revision e58e871becec2d3b04ed91c0c16fe8deac9c9dfa)
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 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
85endchoice
86
87endif
88