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