xref: /openbmc/linux/arch/sh/boards/Kconfig (revision 293d5b43)
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 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_SOLUTION_ENGINE
26	bool "SolutionEngine"
27	select SOLUTION_ENGINE
28	select CPU_HAS_IPR_IRQ
29	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
30	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
31	  CPU_SUBTYPE_SH7750R
32	help
33	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
34	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
35
36config SH_7206_SOLUTION_ENGINE
37	bool "SolutionEngine7206"
38	select SOLUTION_ENGINE
39	depends on CPU_SUBTYPE_SH7206
40	help
41	  Select 7206 SolutionEngine if configuring for a Hitachi SH7206
42	  evaluation board.
43
44config SH_7619_SOLUTION_ENGINE
45	bool "SolutionEngine7619"
46	select SOLUTION_ENGINE
47	depends on CPU_SUBTYPE_SH7619
48	help
49	  Select 7619 SolutionEngine if configuring for a Hitachi SH7619
50	  evaluation board.
51
52config SH_7721_SOLUTION_ENGINE
53	bool "SolutionEngine7721"
54	select SOLUTION_ENGINE
55	depends on CPU_SUBTYPE_SH7721
56	help
57	  Select 7721 SolutionEngine if configuring for a Hitachi SH7721
58	  evaluation board.
59
60config SH_7722_SOLUTION_ENGINE
61	bool "SolutionEngine7722"
62	select SOLUTION_ENGINE
63	select GENERIC_IRQ_CHIP
64	select IRQ_DOMAIN
65	depends on CPU_SUBTYPE_SH7722
66	help
67	  Select 7722 SolutionEngine if configuring for a Hitachi SH772
68	  evaluation board.
69
70config SH_7724_SOLUTION_ENGINE
71	bool "SolutionEngine7724"
72	select SOLUTION_ENGINE
73	depends on CPU_SUBTYPE_SH7724
74	select GPIOLIB
75	select SND_SOC_AK4642 if SND_SIMPLE_CARD
76	select REGULATOR_FIXED_VOLTAGE if REGULATOR
77	help
78	  Select 7724 SolutionEngine if configuring for a Hitachi SH7724
79	  evaluation board.
80
81config SH_7751_SOLUTION_ENGINE
82	bool "SolutionEngine7751"
83	select SOLUTION_ENGINE
84	select CPU_HAS_IPR_IRQ
85	depends on CPU_SUBTYPE_SH7751
86	help
87	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
88	  evaluation board.
89
90config SH_7780_SOLUTION_ENGINE
91	bool "SolutionEngine7780"
92	select SOLUTION_ENGINE
93	select SYS_SUPPORTS_PCI
94	depends on CPU_SUBTYPE_SH7780
95	help
96	  Select 7780 SolutionEngine if configuring for a Renesas SH7780
97	  evaluation board.
98
99config SH_7343_SOLUTION_ENGINE
100	bool "SolutionEngine7343"
101	select SOLUTION_ENGINE
102	select GENERIC_IRQ_CHIP
103	select IRQ_DOMAIN
104	depends on CPU_SUBTYPE_SH7343
105	help
106	  Select 7343 SolutionEngine if configuring for a Hitachi
107	  SH7343 (SH-Mobile 3AS) evaluation board.
108
109config SH_HP6XX
110	bool "HP6XX"
111	select SYS_SUPPORTS_APM_EMULATION
112	select HD6446X_SERIES
113	depends on CPU_SUBTYPE_SH7709
114	help
115	  Select HP6XX if configuring for a HP jornada HP6xx.
116	  More information (hardware only) at
117	  <http://www.hp.com/jornada/>.
118
119config SH_DREAMCAST
120	bool "Dreamcast"
121	select SYS_SUPPORTS_PCI
122	depends on CPU_SUBTYPE_SH7091
123	help
124	  Select Dreamcast if configuring for a SEGA Dreamcast.
125	  More information at <http://www.linux-sh.org>
126
127config SH_SH03
128	bool "Interface CTP/PCI-SH03"
129	depends on CPU_SUBTYPE_SH7751
130	select CPU_HAS_IPR_IRQ
131	select SYS_SUPPORTS_PCI
132	help
133	  CTP/PCI-SH03 is a CPU module computer that is produced
134	  by Interface Corporation.
135	  More information at <http://www.interface.co.jp>
136
137config SH_SECUREEDGE5410
138	bool "SecureEdge5410"
139	depends on CPU_SUBTYPE_SH7751R
140	select CPU_HAS_IPR_IRQ
141	select SYS_SUPPORTS_PCI
142	help
143	  Select SecureEdge5410 if configuring for a SnapGear SH board.
144	  This includes both the OEM SecureEdge products as well as the
145	  SME product line.
146
147config SH_RTS7751R2D
148	bool "RTS7751R2D"
149	depends on CPU_SUBTYPE_SH7751R
150	select SYS_SUPPORTS_PCI
151	select IO_TRAPPED if MMU
152	help
153	  Select RTS7751R2D if configuring for a Renesas Technology
154	  Sales SH-Graphics board.
155
156config SH_RSK
157	bool "Renesas Starter Kit"
158	depends on CPU_SUBTYPE_SH7201 || CPU_SUBTYPE_SH7203 || \
159	  CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
160	select REGULATOR_FIXED_VOLTAGE if REGULATOR
161	help
162	 Select this option if configuring for any of the RSK+ MCU
163	 evaluation platforms.
164
165config SH_SDK7780
166	bool "SDK7780R3"
167	depends on CPU_SUBTYPE_SH7780
168	select SYS_SUPPORTS_PCI
169	help
170	  Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
171	  evaluation board.
172
173config SH_SDK7786
174	bool "SDK7786"
175	depends on CPU_SUBTYPE_SH7786
176	select SYS_SUPPORTS_PCI
177	select NO_IOPORT_MAP if !PCI
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 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 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 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 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 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 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 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