xref: /openbmc/linux/arch/mips/ralink/Kconfig (revision b2ec33d4)
1if RALINK
2
3config CLKEVT_RT3352
4	bool
5	depends on SOC_RT305X || SOC_MT7620
6	default y
7	select TIMER_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
34	config SOC_RT3883
35		bool "RT3883"
36		select HW_HAS_PCI
37
38	config SOC_MT7620
39		bool "MT7620/8"
40		select HW_HAS_PCI
41
42	config SOC_MT7621
43		bool "MT7621"
44		select MIPS_CPU_SCACHE
45		select SYS_SUPPORTS_MULTITHREADING
46		select SYS_SUPPORTS_SMP
47		select SYS_SUPPORTS_MIPS_CPS
48		select SYS_SUPPORTS_HIGHMEM
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
84	config DTB_OMEGA2P
85		bool "Onion Omega2+"
86		depends on SOC_MT7620
87		select BUILTIN_DTB
88
89	config DTB_VOCORE2
90		bool "VoCore2"
91		depends on SOC_MT7620
92		select BUILTIN_DTB
93
94endchoice
95
96endif
97