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