xref: /openbmc/linux/arch/sh/boards/Kconfig (revision fa0a497b)
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 ARCH_REQUIRE_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 ARCH_WANT_OPTIONAL_GPIOLIB
178	select HAVE_SRAM_POOL
179	select REGULATOR_FIXED_VOLTAGE if REGULATOR
180	help
181	  Select SDK7786 if configuring for a Renesas Technology Europe
182	  SH7786-65nm board.
183
184config SH_HIGHLANDER
185	bool "Highlander"
186	depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
187	select SYS_SUPPORTS_PCI
188	select IO_TRAPPED if MMU
189
190config SH_SH7757LCR
191	bool "SH7757LCR"
192	depends on CPU_SUBTYPE_SH7757
193	select ARCH_REQUIRE_GPIOLIB
194	select REGULATOR_FIXED_VOLTAGE if REGULATOR
195
196config SH_SH7785LCR
197	bool "SH7785LCR"
198	depends on CPU_SUBTYPE_SH7785
199	select SYS_SUPPORTS_PCI
200
201config SH_SH7785LCR_29BIT_PHYSMAPS
202	bool "SH7785LCR 29bit physmaps"
203	depends on SH_SH7785LCR && 29BIT
204	default y
205	help
206	  This board has 2 physical memory maps. It can be changed with
207	  DIP switch(S2-5). If you set the DIP switch for S2-5 = ON,
208	  you can access all on-board device in 29bit address mode.
209
210config SH_SH7785LCR_PT
211	bool "SH7785LCR prototype board on 32-bit MMU mode"
212	depends on SH_SH7785LCR && 32BIT
213	default n
214	help
215	  If you use prototype board, this option is enabled.
216
217config SH_URQUELL
218	bool "Urquell"
219	depends on CPU_SUBTYPE_SH7786
220	select ARCH_REQUIRE_GPIOLIB
221	select SYS_SUPPORTS_PCI
222	select NO_IOPORT_MAP if !PCI
223
224config SH_MIGOR
225	bool "Migo-R"
226	depends on CPU_SUBTYPE_SH7722
227	select ARCH_REQUIRE_GPIOLIB
228	select REGULATOR_FIXED_VOLTAGE if REGULATOR
229	help
230	  Select Migo-R if configuring for the SH7722 Migo-R platform
231          by Renesas System Solutions Asia Pte. Ltd.
232
233config SH_AP325RXA
234	bool "AP-325RXA"
235	depends on CPU_SUBTYPE_SH7723
236	select ARCH_REQUIRE_GPIOLIB
237	select REGULATOR_FIXED_VOLTAGE if REGULATOR
238	help
239	  Renesas "AP-325RXA" support.
240	  Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
241
242config SH_KFR2R09
243	bool "KFR2R09"
244	depends on CPU_SUBTYPE_SH7724
245	select ARCH_REQUIRE_GPIOLIB
246	select REGULATOR_FIXED_VOLTAGE if REGULATOR
247	help
248	  "Kit For R2R for 2009" support.
249
250config SH_ECOVEC
251	bool "EcoVec"
252	depends on CPU_SUBTYPE_SH7724
253	select ARCH_REQUIRE_GPIOLIB
254	select SND_SOC_DA7210 if SND_SIMPLE_CARD
255	select REGULATOR_FIXED_VOLTAGE if REGULATOR
256	help
257	  Renesas "R0P7724LC0011/21RL (EcoVec)" support.
258
259config SH_SH7763RDP
260	bool "SH7763RDP"
261	depends on CPU_SUBTYPE_SH7763
262	help
263	  Select SH7763RDP if configuring for a Renesas SH7763
264	  evaluation board.
265
266config SH_ESPT
267	bool "ESPT"
268	depends on CPU_SUBTYPE_SH7763
269	help
270	  Select ESPT if configuring for a Renesas SH7763
271	  with gigabit ether evaluation board.
272
273config SH_EDOSK7705
274	bool "EDOSK7705"
275	depends on CPU_SUBTYPE_SH7705
276
277config SH_EDOSK7760
278	bool "EDOSK7760"
279	depends on CPU_SUBTYPE_SH7760
280	help
281	  Select if configuring for a Renesas EDOSK7760
282	  evaluation board.
283
284config SH_SH4202_MICRODEV
285	bool "SH4-202 MicroDev"
286	depends on CPU_SUBTYPE_SH4_202
287	help
288	  Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
289	  with an SH4-202 CPU.
290
291config SH_LANDISK
292	bool "LANDISK"
293	depends on CPU_SUBTYPE_SH7751R
294	select SYS_SUPPORTS_PCI
295	help
296	  I-O DATA DEVICE, INC. "LANDISK Series" support.
297
298config SH_TITAN
299	bool "TITAN"
300	depends on CPU_SUBTYPE_SH7751R
301	select CPU_HAS_IPR_IRQ
302	select SYS_SUPPORTS_PCI
303	help
304	  Select Titan if you are configuring for a Nimble Microsystems
305	  NetEngine NP51R.
306
307config SH_SHMIN
308	bool "SHMIN"
309	depends on CPU_SUBTYPE_SH7706
310	select CPU_HAS_IPR_IRQ
311	help
312	  Select SHMIN if configuring for the SHMIN board.
313
314config SH_LBOX_RE2
315	bool "L-BOX RE2"
316	depends on CPU_SUBTYPE_SH7751R
317	select SYS_SUPPORTS_PCI
318	help
319	  Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
320
321config SH_X3PROTO
322	bool "SH-X3 Prototype board"
323	depends on CPU_SUBTYPE_SHX3
324	select NO_IOPORT_MAP if !PCI
325	select IRQ_DOMAIN
326
327config SH_MAGIC_PANEL_R2
328	bool "Magic Panel R2"
329	depends on CPU_SUBTYPE_SH7720
330	select ARCH_REQUIRE_GPIOLIB
331	select REGULATOR_FIXED_VOLTAGE if REGULATOR
332	help
333	  Select Magic Panel R2 if configuring for Magic Panel R2.
334
335config SH_CAYMAN
336	bool "Hitachi Cayman"
337	depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
338	select SYS_SUPPORTS_PCI
339	select ARCH_MIGHT_HAVE_PC_SERIO
340
341config SH_POLARIS
342	bool "SMSC Polaris"
343	select CPU_HAS_IPR_IRQ
344	select REGULATOR_FIXED_VOLTAGE if REGULATOR
345	depends on CPU_SUBTYPE_SH7709
346	help
347	  Select if configuring for an SMSC Polaris development board
348
349config SH_SH2007
350	bool "SH-2007 board"
351	select NO_IOPORT_MAP
352	select REGULATOR_FIXED_VOLTAGE if REGULATOR
353	depends on CPU_SUBTYPE_SH7780
354	help
355	  SH-2007 is a single-board computer based around SH7780 chip
356	  intended for embedded applications.
357	  It has an Ethernet interface (SMC9118), direct connected
358	  Compact Flash socket, two serial ports and PC-104 bus.
359	  More information at <http://sh2000.sh-linux.org>.
360
361config SH_APSH4A3A
362	bool "AP-SH4A-3A"
363	select SH_ALPHA_BOARD
364	select REGULATOR_FIXED_VOLTAGE if REGULATOR
365	depends on CPU_SUBTYPE_SH7785
366	help
367	  Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A.
368
369config SH_APSH4AD0A
370	bool "AP-SH4AD-0A"
371	select SH_ALPHA_BOARD
372	select SYS_SUPPORTS_PCI
373	select REGULATOR_FIXED_VOLTAGE if REGULATOR
374	depends on CPU_SUBTYPE_SH7786
375	help
376	  Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A.
377
378source "arch/sh/boards/mach-r2d/Kconfig"
379source "arch/sh/boards/mach-highlander/Kconfig"
380source "arch/sh/boards/mach-sdk7780/Kconfig"
381source "arch/sh/boards/mach-migor/Kconfig"
382source "arch/sh/boards/mach-rsk/Kconfig"
383
384if SH_MAGIC_PANEL_R2
385
386menu "Magic Panel R2 options"
387
388config SH_MAGIC_PANEL_R2_VERSION
389	int "Magic Panel R2 Version"
390	default "3"
391	help
392	  Set the version of the Magic Panel R2
393
394endmenu
395
396endif
397
398endmenu
399