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