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