ar71xx: move dsa switch device support into a separate file
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
1 if ATHEROS_AR71XX
2
3 menu "Atheros AR71xx machine selection"
4
5 config AR71XX_MACH_AP81
6         bool "Atheros AP81 board support"
7         select AR71XX_DEV_M25P80
8         select AR71XX_DEV_AR913X_WMAC
9         select AR71XX_DEV_GPIO_BUTTONS
10         select AR71XX_DEV_LEDS_GPIO
11         select AR71XX_DEV_USB
12         default n
13
14 config AR71XX_MACH_AP83
15         bool "Atheros AP83 board support"
16         select AR71XX_DEV_AR913X_WMAC
17         select AR71XX_DEV_GPIO_BUTTONS
18         select AR71XX_DEV_LEDS_GPIO
19         select AR71XX_DEV_USB
20         default n
21
22 config AR71XX_MACH_DIR_615_C1
23         bool "D-Link DIR-615 rev. C1 support"
24         select AR71XX_DEV_M25P80
25         select AR71XX_DEV_AR913X_WMAC
26         select AR71XX_DEV_GPIO_BUTTONS
27         select AR71XX_DEV_LEDS_GPIO
28         default n
29
30 config AR71XX_MACH_DIR_825_B1
31         bool "D-Link DIR-825 rev. B1 board support"
32         select AR71XX_DEV_M25P80
33         select AR71XX_DEV_AP94_PCI if PCI
34         select AR71XX_DEV_GPIO_BUTTONS
35         select AR71XX_DEV_LEDS_GPIO
36         select AR71XX_DEV_USB
37         default n
38
39 config AR71XX_MACH_PB42
40         bool "Atheros PB42 board support"
41         select AR71XX_DEV_M25P80
42         select AR71XX_DEV_GPIO_BUTTONS
43         select AR71XX_DEV_PB42_PCI if PCI
44         default n
45
46 config AR71XX_MACH_PB44
47         bool "Atheros PB44 board support"
48         select AR71XX_DEV_GPIO_BUTTONS
49         select AR71XX_DEV_PB42_PCI if PCI
50         select AR71XX_DEV_LEDS_GPIO
51         select AR71XX_DEV_USB
52         default n
53
54 config AR71XX_MACH_AW_NR580
55         bool "AzureWave AW-NR580 board support"
56         select AR71XX_DEV_M25P80
57         select AR71XX_DEV_GPIO_BUTTONS
58         select AR71XX_DEV_PB42_PCI if PCI
59         select AR71XX_DEV_LEDS_GPIO
60         default n
61
62 config AR71XX_MACH_GENERIC
63         bool "Generic AR71xx based machine support"
64         default y
65
66 config AR71XX_MACH_WP543
67         bool "Compex WP543/WPJ543 board support"
68         select MYLOADER
69         select AR71XX_DEV_M25P80
70         select AR71XX_DEV_GPIO_BUTTONS
71         select AR71XX_DEV_PB42_PCI if PCI
72         select AR71XX_DEV_LEDS_GPIO
73         select AR71XX_DEV_USB
74         default n
75
76 config AR71XX_MACH_WRT160NL
77         bool "Linksys WRT160NL board support"
78         select AR71XX_DEV_M25P80
79         select AR71XX_DEV_AR913X_WMAC
80         select AR71XX_DEV_GPIO_BUTTONS
81         select AR71XX_DEV_LEDS_GPIO
82         select AR71XX_DEV_USB
83         default n
84
85 config AR71XX_MACH_WRT400N
86         bool "Linksys WRT400N board support"
87         select AR71XX_DEV_M25P80
88         select AR71XX_DEV_GPIO_BUTTONS
89         select AR71XX_DEV_LEDS_GPIO
90         default n
91
92 config AR71XX_MACH_RB_4XX
93         bool "MikroTik RouterBOARD 4xx series support"
94         select AR71XX_DEV_GPIO_BUTTONS
95         select AR71XX_DEV_LEDS_GPIO
96         select AR71XX_DEV_USB
97         default n
98
99 config AR71XX_MACH_WNDR3700
100         bool "NETGEAR WNDR3700 board support"
101         select AR71XX_DEV_M25P80
102         select AR71XX_DEV_AP94_PCI if PCI
103         select AR71XX_DEV_GPIO_BUTTONS
104         select AR71XX_DEV_LEDS_GPIO
105         select AR71XX_DEV_USB
106         default n
107
108 config AR71XX_MACH_WNR2000
109         bool "NETGEAR WNR2000 board support"
110         select AR71XX_DEV_M25P80
111         select AR71XX_DEV_AR913X_WMAC
112         select AR71XX_DEV_GPIO_BUTTONS
113         select AR71XX_DEV_LEDS_GPIO
114         default n
115
116 config AR71XX_MACH_MZK_W04NU
117         bool "Planex MZK-W04NU board support"
118         select AR71XX_DEV_M25P80
119         select AR71XX_DEV_AR913X_WMAC
120         select AR71XX_DEV_GPIO_BUTTONS
121         select AR71XX_DEV_LEDS_GPIO
122         select AR71XX_DEV_USB
123         default n
124
125 config AR71XX_MACH_MZK_W300NH
126         bool "Planex MZK-W300NH board support"
127         select AR71XX_DEV_M25P80
128         select AR71XX_DEV_AR913X_WMAC
129         select AR71XX_DEV_GPIO_BUTTONS
130         select AR71XX_DEV_LEDS_GPIO
131         default n
132
133 config AR71XX_MACH_TL_WR741ND
134         bool "TP-LINK TL-WR741ND support"
135         select AR71XX_DEV_M25P80
136         select AR71XX_DEV_AP91_PCI if PCI
137         select AR71XX_DEV_GPIO_BUTTONS
138         select AR71XX_DEV_LEDS_GPIO
139         default n
140
141 config AR71XX_MACH_TL_WR841N_V1
142         bool "TP-LINK TL-WR841N v1 support"
143         select AR71XX_DEV_M25P80
144         select AR71XX_DEV_PB42_PCI if PCI
145         select AR71XX_DEV_DSA
146         select AR71XX_DEV_GPIO_BUTTONS
147         select AR71XX_DEV_LEDS_GPIO
148         default n
149
150 config AR71XX_MACH_TL_WR941ND
151         bool "TP-LINK TL-WR941ND support"
152         select AR71XX_DEV_M25P80
153         select AR71XX_DEV_AR913X_WMAC
154         select AR71XX_DEV_DSA
155         select AR71XX_DEV_GPIO_BUTTONS
156         select AR71XX_DEV_LEDS_GPIO
157         default n
158
159 config AR71XX_MACH_TL_WR1043ND
160         bool "TP-LINK TL-WR1043ND support"
161         select AR71XX_DEV_M25P80
162         select AR71XX_DEV_AR913X_WMAC
163         select AR71XX_DEV_GPIO_BUTTONS
164         select AR71XX_DEV_LEDS_GPIO
165         select AR71XX_DEV_USB
166         default n
167
168 config AR71XX_MACH_TEW_632BRP
169         bool "TRENDnet TEW-632BRP support"
170         select AR71XX_DEV_M25P80
171         select AR71XX_DEV_AR913X_WMAC
172         select AR71XX_DEV_GPIO_BUTTONS
173         select AR71XX_DEV_LEDS_GPIO
174         default n
175
176 config AR71XX_MACH_UBNT
177         bool "Ubiquiti AR71xx based boards support"
178         select AR71XX_DEV_M25P80
179         select AR71XX_DEV_AP91_PCI if PCI
180         select AR71XX_DEV_GPIO_BUTTONS
181         select AR71XX_DEV_LEDS_GPIO
182         select AR71XX_DEV_PB42_PCI if PCI
183         select AR71XX_DEV_USB
184         default n
185
186 endmenu
187
188 config AR71XX_DEV_M25P80
189         def_bool n
190
191 config AR71XX_DEV_AP91_PCI
192         def_bool n
193
194 config AR71XX_DEV_AP94_PCI
195         def_bool n
196
197 config AR71XX_DEV_AR913X_WMAC
198         def_bool n
199
200 config AR71XX_DEV_DSA
201         def_bool n
202
203 config AR71XX_DEV_GPIO_BUTTONS
204         def_bool n
205
206 config AR71XX_DEV_LEDS_GPIO
207         def_bool n
208
209 config AR71XX_DEV_PB42_PCI
210         def_bool n
211
212 config AR71XX_DEV_USB
213         def_bool n
214
215 endif