Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
939a24a6 PM |
2 | menu "Board support" |
3 | ||
4 | config SOLUTION_ENGINE | |
5 | bool | |
6 | ||
704bf317 PM |
7 | config SH_ALPHA_BOARD |
8 | bool | |
9 | ||
7480e0aa RF |
10 | config SH_DEVICE_TREE |
11 | bool "Board Described by Device Tree" | |
12 | select OF | |
13 | select OF_EARLY_FLATTREE | |
bb0eb050 | 14 | select TIMER_OF |
15f0c8f2 | 15 | select COMMON_CLK |
7480e0aa RF |
16 | select GENERIC_CALIBRATE_DELAY |
17 | help | |
18 | Select Board Described by Device Tree to build a kernel that | |
19 | does not hard-code any board-specific knowledge but instead uses | |
20 | a device tree blob provided by the boot-loader. You must enable | |
21 | drivers for any hardware you want to use separately. At this | |
22 | time, only boards based on the open-hardware J-Core processors | |
23 | have sufficient driver coverage to use this option; do not | |
24 | select it if you are using original SuperH hardware. | |
25 | ||
db766b0a RF |
26 | config SH_JCORE_SOC |
27 | bool "J-Core SoC" | |
28 | depends on SH_DEVICE_TREE && (CPU_SH2 || CPU_J2) | |
29 | select CLKSRC_JCORE_PIT | |
30 | select JCORE_AIC | |
31 | default y if CPU_J2 | |
32 | help | |
33 | Select this option to include drivers core components of the | |
34 | J-Core SoC, including interrupt controllers and timers. | |
35 | ||
939a24a6 PM |
36 | config SH_SOLUTION_ENGINE |
37 | bool "SolutionEngine" | |
38 | select SOLUTION_ENGINE | |
39 | select CPU_HAS_IPR_IRQ | |
40 | depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \ | |
41 | CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \ | |
42 | CPU_SUBTYPE_SH7750R | |
43 | help | |
44 | Select SolutionEngine if configuring for a Hitachi SH7705, SH7709, | |
45 | SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. | |
46 | ||
47 | config SH_7206_SOLUTION_ENGINE | |
48 | bool "SolutionEngine7206" | |
49 | select SOLUTION_ENGINE | |
50 | depends on CPU_SUBTYPE_SH7206 | |
51 | help | |
52 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | |
53 | evaluation board. | |
54 | ||
55 | config SH_7619_SOLUTION_ENGINE | |
56 | bool "SolutionEngine7619" | |
57 | select SOLUTION_ENGINE | |
58 | depends on CPU_SUBTYPE_SH7619 | |
59 | help | |
60 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | |
61 | evaluation board. | |
62 | ||
63 | config SH_7721_SOLUTION_ENGINE | |
64 | bool "SolutionEngine7721" | |
65 | select SOLUTION_ENGINE | |
66 | depends on CPU_SUBTYPE_SH7721 | |
67 | help | |
68 | Select 7721 SolutionEngine if configuring for a Hitachi SH7721 | |
69 | evaluation board. | |
70 | ||
71 | config SH_7722_SOLUTION_ENGINE | |
72 | bool "SolutionEngine7722" | |
73 | select SOLUTION_ENGINE | |
5df38b9b PM |
74 | select GENERIC_IRQ_CHIP |
75 | select IRQ_DOMAIN | |
939a24a6 PM |
76 | depends on CPU_SUBTYPE_SH7722 |
77 | help | |
78 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 | |
79 | evaluation board. | |
80 | ||
287c1297 KM |
81 | config SH_7724_SOLUTION_ENGINE |
82 | bool "SolutionEngine7724" | |
83 | select SOLUTION_ENGINE | |
84 | depends on CPU_SUBTYPE_SH7724 | |
fdcfdfa1 | 85 | select GPIOLIB |
af8a2fe1 | 86 | select SND_SOC_AK4642 if SND_SIMPLE_CARD |
89d71486 | 87 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
287c1297 KM |
88 | help |
89 | Select 7724 SolutionEngine if configuring for a Hitachi SH7724 | |
90 | evaluation board. | |
91 | ||
939a24a6 PM |
92 | config SH_7751_SOLUTION_ENGINE |
93 | bool "SolutionEngine7751" | |
94 | select SOLUTION_ENGINE | |
95 | select CPU_HAS_IPR_IRQ | |
96 | depends on CPU_SUBTYPE_SH7751 | |
97 | help | |
98 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 | |
99 | evaluation board. | |
100 | ||
101 | config SH_7780_SOLUTION_ENGINE | |
102 | bool "SolutionEngine7780" | |
103 | select SOLUTION_ENGINE | |
eb01d42a | 104 | select HAVE_PCI |
939a24a6 PM |
105 | depends on CPU_SUBTYPE_SH7780 |
106 | help | |
107 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | |
108 | evaluation board. | |
109 | ||
110 | config SH_7343_SOLUTION_ENGINE | |
111 | bool "SolutionEngine7343" | |
112 | select SOLUTION_ENGINE | |
197b58e6 PM |
113 | select GENERIC_IRQ_CHIP |
114 | select IRQ_DOMAIN | |
939a24a6 PM |
115 | depends on CPU_SUBTYPE_SH7343 |
116 | help | |
117 | Select 7343 SolutionEngine if configuring for a Hitachi | |
118 | SH7343 (SH-Mobile 3AS) evaluation board. | |
119 | ||
939a24a6 PM |
120 | config SH_HP6XX |
121 | bool "HP6XX" | |
122 | select SYS_SUPPORTS_APM_EMULATION | |
123 | select HD6446X_SERIES | |
124 | depends on CPU_SUBTYPE_SH7709 | |
125 | help | |
126 | Select HP6XX if configuring for a HP jornada HP6xx. | |
127 | More information (hardware only) at | |
128 | <http://www.hp.com/jornada/>. | |
129 | ||
130 | config SH_DREAMCAST | |
131 | bool "Dreamcast" | |
eb01d42a | 132 | select HAVE_PCI |
939a24a6 PM |
133 | depends on CPU_SUBTYPE_SH7091 |
134 | help | |
135 | Select Dreamcast if configuring for a SEGA Dreamcast. | |
136 | More information at <http://www.linux-sh.org> | |
137 | ||
138 | config SH_SH03 | |
139 | bool "Interface CTP/PCI-SH03" | |
140 | depends on CPU_SUBTYPE_SH7751 | |
141 | select CPU_HAS_IPR_IRQ | |
eb01d42a | 142 | select HAVE_PCI |
939a24a6 PM |
143 | help |
144 | CTP/PCI-SH03 is a CPU module computer that is produced | |
145 | by Interface Corporation. | |
146 | More information at <http://www.interface.co.jp> | |
147 | ||
148 | config SH_SECUREEDGE5410 | |
149 | bool "SecureEdge5410" | |
150 | depends on CPU_SUBTYPE_SH7751R | |
151 | select CPU_HAS_IPR_IRQ | |
eb01d42a | 152 | select HAVE_PCI |
939a24a6 PM |
153 | help |
154 | Select SecureEdge5410 if configuring for a SnapGear SH board. | |
155 | This includes both the OEM SecureEdge products as well as the | |
156 | SME product line. | |
157 | ||
158 | config SH_RTS7751R2D | |
159 | bool "RTS7751R2D" | |
160 | depends on CPU_SUBTYPE_SH7751R | |
eb01d42a | 161 | select HAVE_PCI |
e6be3a25 | 162 | select IO_TRAPPED if MMU |
939a24a6 PM |
163 | help |
164 | Select RTS7751R2D if configuring for a Renesas Technology | |
165 | Sales SH-Graphics board. | |
166 | ||
ea0aac1e PM |
167 | config SH_RSK |
168 | bool "Renesas Starter Kit" | |
b6397435 PE |
169 | depends on CPU_SUBTYPE_SH7201 || CPU_SUBTYPE_SH7203 || \ |
170 | CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269 | |
89d71486 | 171 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
ea0aac1e PM |
172 | help |
173 | Select this option if configuring for any of the RSK+ MCU | |
174 | evaluation platforms. | |
939a24a6 PM |
175 | |
176 | config SH_SDK7780 | |
177 | bool "SDK7780R3" | |
178 | depends on CPU_SUBTYPE_SH7780 | |
eb01d42a | 179 | select HAVE_PCI |
939a24a6 PM |
180 | help |
181 | Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3 | |
182 | evaluation board. | |
183 | ||
02bf6cc7 PM |
184 | config SH_SDK7786 |
185 | bool "SDK7786" | |
186 | depends on CPU_SUBTYPE_SH7786 | |
eb01d42a | 187 | select HAVE_PCI |
ce816fa8 | 188 | select NO_IOPORT_MAP if !PCI |
d8d6b902 | 189 | select HAVE_SRAM_POOL |
89d71486 | 190 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
02bf6cc7 PM |
191 | help |
192 | Select SDK7786 if configuring for a Renesas Technology Europe | |
193 | SH7786-65nm board. | |
194 | ||
939a24a6 PM |
195 | config SH_HIGHLANDER |
196 | bool "Highlander" | |
197 | depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 | |
eb01d42a | 198 | select HAVE_PCI |
e6be3a25 | 199 | select IO_TRAPPED if MMU |
939a24a6 | 200 | |
36239c67 YS |
201 | config SH_SH7757LCR |
202 | bool "SH7757LCR" | |
203 | depends on CPU_SUBTYPE_SH7757 | |
fdcfdfa1 | 204 | select GPIOLIB |
89d71486 | 205 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
36239c67 | 206 | |
939a24a6 PM |
207 | config SH_SH7785LCR |
208 | bool "SH7785LCR" | |
209 | depends on CPU_SUBTYPE_SH7785 | |
eb01d42a | 210 | select HAVE_PCI |
939a24a6 PM |
211 | |
212 | config SH_SH7785LCR_29BIT_PHYSMAPS | |
213 | bool "SH7785LCR 29bit physmaps" | |
df4d4f1a | 214 | depends on SH_SH7785LCR && 29BIT |
939a24a6 PM |
215 | default y |
216 | help | |
217 | This board has 2 physical memory maps. It can be changed with | |
218 | DIP switch(S2-5). If you set the DIP switch for S2-5 = ON, | |
219 | you can access all on-board device in 29bit address mode. | |
220 | ||
e79d5747 YS |
221 | config SH_SH7785LCR_PT |
222 | bool "SH7785LCR prototype board on 32-bit MMU mode" | |
223 | depends on SH_SH7785LCR && 32BIT | |
224 | default n | |
225 | help | |
226 | If you use prototype board, this option is enabled. | |
227 | ||
5ac072e1 KM |
228 | config SH_URQUELL |
229 | bool "Urquell" | |
230 | depends on CPU_SUBTYPE_SH7786 | |
fdcfdfa1 | 231 | select GPIOLIB |
eb01d42a | 232 | select HAVE_PCI |
ce816fa8 | 233 | select NO_IOPORT_MAP if !PCI |
5ac072e1 | 234 | |
939a24a6 PM |
235 | config SH_MIGOR |
236 | bool "Migo-R" | |
237 | depends on CPU_SUBTYPE_SH7722 | |
fdcfdfa1 | 238 | select GPIOLIB |
89d71486 | 239 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
939a24a6 PM |
240 | help |
241 | Select Migo-R if configuring for the SH7722 Migo-R platform | |
242 | by Renesas System Solutions Asia Pte. Ltd. | |
243 | ||
244 | config SH_AP325RXA | |
245 | bool "AP-325RXA" | |
246 | depends on CPU_SUBTYPE_SH7723 | |
fdcfdfa1 | 247 | select GPIOLIB |
89d71486 | 248 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
939a24a6 PM |
249 | help |
250 | Renesas "AP-325RXA" support. | |
251 | Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" | |
252 | ||
e7d16514 MD |
253 | config SH_KFR2R09 |
254 | bool "KFR2R09" | |
255 | depends on CPU_SUBTYPE_SH7724 | |
fdcfdfa1 | 256 | select GPIOLIB |
89d71486 | 257 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
e7d16514 MD |
258 | help |
259 | "Kit For R2R for 2009" support. | |
260 | ||
4138b740 KM |
261 | config SH_ECOVEC |
262 | bool "EcoVec" | |
263 | depends on CPU_SUBTYPE_SH7724 | |
fdcfdfa1 | 264 | select GPIOLIB |
064bfada | 265 | select SND_SOC_DA7210 if SND_SIMPLE_CARD |
89d71486 | 266 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
4138b740 KM |
267 | help |
268 | Renesas "R0P7724LC0011/21RL (EcoVec)" support. | |
269 | ||
939a24a6 PM |
270 | config SH_SH7763RDP |
271 | bool "SH7763RDP" | |
272 | depends on CPU_SUBTYPE_SH7763 | |
273 | help | |
274 | Select SH7763RDP if configuring for a Renesas SH7763 | |
275 | evaluation board. | |
276 | ||
32910e2c NI |
277 | config SH_ESPT |
278 | bool "ESPT" | |
279 | depends on CPU_SUBTYPE_SH7763 | |
280 | help | |
281 | Select ESPT if configuring for a Renesas SH7763 | |
282 | with gigabit ether evaluation board. | |
283 | ||
939a24a6 PM |
284 | config SH_EDOSK7705 |
285 | bool "EDOSK7705" | |
286 | depends on CPU_SUBTYPE_SH7705 | |
287 | ||
3db91708 LS |
288 | config SH_EDOSK7760 |
289 | bool "EDOSK7760" | |
290 | depends on CPU_SUBTYPE_SH7760 | |
291 | help | |
292 | Select if configuring for a Renesas EDOSK7760 | |
293 | evaluation board. | |
294 | ||
939a24a6 PM |
295 | config SH_SH4202_MICRODEV |
296 | bool "SH4-202 MicroDev" | |
297 | depends on CPU_SUBTYPE_SH4_202 | |
298 | help | |
299 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board | |
300 | with an SH4-202 CPU. | |
301 | ||
302 | config SH_LANDISK | |
303 | bool "LANDISK" | |
304 | depends on CPU_SUBTYPE_SH7751R | |
eb01d42a | 305 | select HAVE_PCI |
939a24a6 PM |
306 | help |
307 | I-O DATA DEVICE, INC. "LANDISK Series" support. | |
308 | ||
309 | config SH_TITAN | |
310 | bool "TITAN" | |
311 | depends on CPU_SUBTYPE_SH7751R | |
312 | select CPU_HAS_IPR_IRQ | |
eb01d42a | 313 | select HAVE_PCI |
939a24a6 PM |
314 | help |
315 | Select Titan if you are configuring for a Nimble Microsystems | |
316 | NetEngine NP51R. | |
317 | ||
318 | config SH_SHMIN | |
319 | bool "SHMIN" | |
320 | depends on CPU_SUBTYPE_SH7706 | |
321 | select CPU_HAS_IPR_IRQ | |
322 | help | |
323 | Select SHMIN if configuring for the SHMIN board. | |
324 | ||
325 | config SH_LBOX_RE2 | |
326 | bool "L-BOX RE2" | |
327 | depends on CPU_SUBTYPE_SH7751R | |
eb01d42a | 328 | select HAVE_PCI |
939a24a6 PM |
329 | help |
330 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. | |
331 | ||
332 | config SH_X3PROTO | |
333 | bool "SH-X3 Prototype board" | |
334 | depends on CPU_SUBTYPE_SHX3 | |
ce816fa8 | 335 | select NO_IOPORT_MAP if !PCI |
b98b3581 | 336 | select IRQ_DOMAIN |
939a24a6 PM |
337 | |
338 | config SH_MAGIC_PANEL_R2 | |
339 | bool "Magic Panel R2" | |
340 | depends on CPU_SUBTYPE_SH7720 | |
fdcfdfa1 | 341 | select GPIOLIB |
89d71486 | 342 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
939a24a6 PM |
343 | help |
344 | Select Magic Panel R2 if configuring for Magic Panel R2. | |
345 | ||
346 | config SH_CAYMAN | |
347 | bool "Hitachi Cayman" | |
348 | depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103 | |
eb01d42a | 349 | select HAVE_PCI |
82ef5b89 | 350 | select ARCH_MIGHT_HAVE_PC_SERIO |
939a24a6 | 351 | |
eaeed5d3 SG |
352 | config SH_POLARIS |
353 | bool "SMSC Polaris" | |
354 | select CPU_HAS_IPR_IRQ | |
89d71486 | 355 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
eaeed5d3 SG |
356 | depends on CPU_SUBTYPE_SH7709 |
357 | help | |
358 | Select if configuring for an SMSC Polaris development board | |
359 | ||
3a598264 HM |
360 | config SH_SH2007 |
361 | bool "SH-2007 board" | |
ce816fa8 | 362 | select NO_IOPORT_MAP |
89d71486 | 363 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
3a598264 HM |
364 | depends on CPU_SUBTYPE_SH7780 |
365 | help | |
366 | SH-2007 is a single-board computer based around SH7780 chip | |
367 | intended for embedded applications. | |
368 | It has an Ethernet interface (SMC9118), direct connected | |
369 | Compact Flash socket, two serial ports and PC-104 bus. | |
370 | More information at <http://sh2000.sh-linux.org>. | |
371 | ||
bc34b085 PM |
372 | config SH_APSH4A3A |
373 | bool "AP-SH4A-3A" | |
374 | select SH_ALPHA_BOARD | |
89d71486 | 375 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
bc34b085 PM |
376 | depends on CPU_SUBTYPE_SH7785 |
377 | help | |
378 | Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A. | |
379 | ||
8a453cac PM |
380 | config SH_APSH4AD0A |
381 | bool "AP-SH4AD-0A" | |
382 | select SH_ALPHA_BOARD | |
eb01d42a | 383 | select HAVE_PCI |
89d71486 | 384 | select REGULATOR_FIXED_VOLTAGE if REGULATOR |
8a453cac PM |
385 | depends on CPU_SUBTYPE_SH7786 |
386 | help | |
387 | Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A. | |
388 | ||
939a24a6 PM |
389 | source "arch/sh/boards/mach-r2d/Kconfig" |
390 | source "arch/sh/boards/mach-highlander/Kconfig" | |
391 | source "arch/sh/boards/mach-sdk7780/Kconfig" | |
392 | source "arch/sh/boards/mach-migor/Kconfig" | |
ea0aac1e | 393 | source "arch/sh/boards/mach-rsk/Kconfig" |
c8b5d9dc PM |
394 | |
395 | if SH_MAGIC_PANEL_R2 | |
396 | ||
397 | menu "Magic Panel R2 options" | |
398 | ||
399 | config SH_MAGIC_PANEL_R2_VERSION | |
e70cfe4a | 400 | int "Magic Panel R2 Version" |
c8b5d9dc PM |
401 | default "3" |
402 | help | |
403 | Set the version of the Magic Panel R2 | |
404 | ||
405 | endmenu | |
406 | ||
407 | endif | |
9e7f60a3 SM |
408 | |
409 | endmenu |