GNU Linux-libre 4.9.309-gnu1
[releases.git] / arch / mips / ralink / Kconfig
1 if RALINK
2
3 config CLKEVT_RT3352
4         bool
5         depends on SOC_RT305X || SOC_MT7620
6         default y
7         select CLKSRC_OF
8         select CLKSRC_MMIO
9
10 config RALINK_ILL_ACC
11         bool
12         depends on SOC_RT305X
13         default y
14
15 config IRQ_INTC
16         bool
17         default y
18         depends on !SOC_MT7621
19
20 choice
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 CPU_MIPSR2_IRQ_VI
42                 select HW_HAS_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 MIPS_GIC
51                 select COMMON_CLK
52                 select CLKSRC_MIPS_GIC
53                 select HW_HAS_PCI
54 endchoice
55
56 choice
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 endchoice
86
87 endif