xref: /openbmc/linux/arch/sh/boards/Kconfig (revision ae213c44)
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 "Board Described by Device Tree"
12	select OF
13	select OF_EARLY_FLATTREE
14	select TIMER_OF
15	select COMMON_CLK
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
26config 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
36config 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
47config 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
55config 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
63config 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
71config SH_7722_SOLUTION_ENGINE
72	bool "SolutionEngine7722"
73	select SOLUTION_ENGINE
74	select GENERIC_IRQ_CHIP
75	select IRQ_DOMAIN
76	depends on CPU_SUBTYPE_SH7722
77	help
78	  Select 7722 SolutionEngine if configuring for a Hitachi SH772
79	  evaluation board.
80
81config SH_7724_SOLUTION_ENGINE
82	bool "SolutionEngine7724"
83	select SOLUTION_ENGINE
84	depends on CPU_SUBTYPE_SH7724
85	select GPIOLIB
86	select SND_SOC_AK4642 if SND_SIMPLE_CARD
87	select REGULATOR_FIXED_VOLTAGE if REGULATOR
88	help
89	  Select 7724 SolutionEngine if configuring for a Hitachi SH7724
90	  evaluation board.
91
92config 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
101config SH_7780_SOLUTION_ENGINE
102	bool "SolutionEngine7780"
103	select SOLUTION_ENGINE
104	select HAVE_PCI
105	depends on CPU_SUBTYPE_SH7780
106	help
107	  Select 7780 SolutionEngine if configuring for a Renesas SH7780
108	  evaluation board.
109
110config SH_7343_SOLUTION_ENGINE
111	bool "SolutionEngine7343"
112	select SOLUTION_ENGINE
113	select GENERIC_IRQ_CHIP
114	select IRQ_DOMAIN
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
120config 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
130config SH_DREAMCAST
131	bool "Dreamcast"
132	select HAVE_PCI
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
138config SH_SH03
139	bool "Interface CTP/PCI-SH03"
140	depends on CPU_SUBTYPE_SH7751
141	select CPU_HAS_IPR_IRQ
142	select HAVE_PCI
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
148config SH_SECUREEDGE5410
149	bool "SecureEdge5410"
150	depends on CPU_SUBTYPE_SH7751R
151	select CPU_HAS_IPR_IRQ
152	select HAVE_PCI
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
158config SH_RTS7751R2D
159	bool "RTS7751R2D"
160	depends on CPU_SUBTYPE_SH7751R
161	select HAVE_PCI
162	select IO_TRAPPED if MMU
163	help
164	  Select RTS7751R2D if configuring for a Renesas Technology
165	  Sales SH-Graphics board.
166
167config SH_RSK
168	bool "Renesas Starter Kit"
169	depends on CPU_SUBTYPE_SH7201 || CPU_SUBTYPE_SH7203 || \
170	  CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
171	select REGULATOR_FIXED_VOLTAGE if REGULATOR
172	help
173	 Select this option if configuring for any of the RSK+ MCU
174	 evaluation platforms.
175
176config SH_SDK7780
177	bool "SDK7780R3"
178	depends on CPU_SUBTYPE_SH7780
179	select HAVE_PCI
180	help
181	  Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
182	  evaluation board.
183
184config SH_SDK7786
185	bool "SDK7786"
186	depends on CPU_SUBTYPE_SH7786
187	select HAVE_PCI
188	select NO_IOPORT_MAP if !PCI
189	select HAVE_SRAM_POOL
190	select REGULATOR_FIXED_VOLTAGE if REGULATOR
191	help
192	  Select SDK7786 if configuring for a Renesas Technology Europe
193	  SH7786-65nm board.
194
195config SH_HIGHLANDER
196	bool "Highlander"
197	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
198	select HAVE_PCI
199	select IO_TRAPPED if MMU
200
201config SH_SH7757LCR
202	bool "SH7757LCR"
203	depends on CPU_SUBTYPE_SH7757
204	select GPIOLIB
205	select REGULATOR_FIXED_VOLTAGE if REGULATOR
206
207config SH_SH7785LCR
208	bool "SH7785LCR"
209	depends on CPU_SUBTYPE_SH7785
210	select HAVE_PCI
211
212config SH_SH7785LCR_29BIT_PHYSMAPS
213	bool "SH7785LCR 29bit physmaps"
214	depends on SH_SH7785LCR && 29BIT
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
221config 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
228config SH_URQUELL
229	bool "Urquell"
230	depends on CPU_SUBTYPE_SH7786
231	select GPIOLIB
232	select HAVE_PCI
233	select NO_IOPORT_MAP if !PCI
234
235config SH_MIGOR
236	bool "Migo-R"
237	depends on CPU_SUBTYPE_SH7722
238	select GPIOLIB
239	select REGULATOR_FIXED_VOLTAGE if REGULATOR
240	help
241	  Select Migo-R if configuring for the SH7722 Migo-R platform
242          by Renesas System Solutions Asia Pte. Ltd.
243
244config SH_AP325RXA
245	bool "AP-325RXA"
246	depends on CPU_SUBTYPE_SH7723
247	select GPIOLIB
248	select REGULATOR_FIXED_VOLTAGE if REGULATOR
249	help
250	  Renesas "AP-325RXA" support.
251	  Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
252
253config SH_KFR2R09
254	bool "KFR2R09"
255	depends on CPU_SUBTYPE_SH7724
256	select GPIOLIB
257	select REGULATOR_FIXED_VOLTAGE if REGULATOR
258	help
259	  "Kit For R2R for 2009" support.
260
261config SH_ECOVEC
262	bool "EcoVec"
263	depends on CPU_SUBTYPE_SH7724
264	select GPIOLIB
265	select SND_SOC_DA7210 if SND_SIMPLE_CARD
266	select REGULATOR_FIXED_VOLTAGE if REGULATOR
267	help
268	  Renesas "R0P7724LC0011/21RL (EcoVec)" support.
269
270config 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
277config 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
284config SH_EDOSK7705
285	bool "EDOSK7705"
286	depends on CPU_SUBTYPE_SH7705
287
288config 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
295config 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
302config SH_LANDISK
303	bool "LANDISK"
304	depends on CPU_SUBTYPE_SH7751R
305	select HAVE_PCI
306	help
307	  I-O DATA DEVICE, INC. "LANDISK Series" support.
308
309config SH_TITAN
310	bool "TITAN"
311	depends on CPU_SUBTYPE_SH7751R
312	select CPU_HAS_IPR_IRQ
313	select HAVE_PCI
314	help
315	  Select Titan if you are configuring for a Nimble Microsystems
316	  NetEngine NP51R.
317
318config 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
325config SH_LBOX_RE2
326	bool "L-BOX RE2"
327	depends on CPU_SUBTYPE_SH7751R
328	select HAVE_PCI
329	help
330	  Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
331
332config SH_X3PROTO
333	bool "SH-X3 Prototype board"
334	depends on CPU_SUBTYPE_SHX3
335	select NO_IOPORT_MAP if !PCI
336	select IRQ_DOMAIN
337
338config SH_MAGIC_PANEL_R2
339	bool "Magic Panel R2"
340	depends on CPU_SUBTYPE_SH7720
341	select GPIOLIB
342	select REGULATOR_FIXED_VOLTAGE if REGULATOR
343	help
344	  Select Magic Panel R2 if configuring for Magic Panel R2.
345
346config SH_CAYMAN
347	bool "Hitachi Cayman"
348	depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
349	select HAVE_PCI
350	select ARCH_MIGHT_HAVE_PC_SERIO
351
352config SH_POLARIS
353	bool "SMSC Polaris"
354	select CPU_HAS_IPR_IRQ
355	select REGULATOR_FIXED_VOLTAGE if REGULATOR
356	depends on CPU_SUBTYPE_SH7709
357	help
358	  Select if configuring for an SMSC Polaris development board
359
360config SH_SH2007
361	bool "SH-2007 board"
362	select NO_IOPORT_MAP
363	select REGULATOR_FIXED_VOLTAGE if REGULATOR
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
372config SH_APSH4A3A
373	bool "AP-SH4A-3A"
374	select SH_ALPHA_BOARD
375	select REGULATOR_FIXED_VOLTAGE if REGULATOR
376	depends on CPU_SUBTYPE_SH7785
377	help
378	  Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A.
379
380config SH_APSH4AD0A
381	bool "AP-SH4AD-0A"
382	select SH_ALPHA_BOARD
383	select HAVE_PCI
384	select REGULATOR_FIXED_VOLTAGE if REGULATOR
385	depends on CPU_SUBTYPE_SH7786
386	help
387	  Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A.
388
389source "arch/sh/boards/mach-r2d/Kconfig"
390source "arch/sh/boards/mach-highlander/Kconfig"
391source "arch/sh/boards/mach-sdk7780/Kconfig"
392source "arch/sh/boards/mach-migor/Kconfig"
393source "arch/sh/boards/mach-rsk/Kconfig"
394
395if SH_MAGIC_PANEL_R2
396
397menu "Magic Panel R2 options"
398
399config SH_MAGIC_PANEL_R2_VERSION
400	int "Magic Panel R2 Version"
401	default "3"
402	help
403	  Set the version of the Magic Panel R2
404
405endmenu
406
407endif
408
409endmenu
410