blob: 4e21949593cf59f20c4290285d7c4c28db7acc30 [file] [log] [blame]
Paul Mundt939a24a2008-07-29 21:41:37 +09001menu "Board support"
2
3config SOLUTION_ENGINE
4 bool
5
Paul Mundt704bf312011-01-13 18:31:25 +09006config SH_ALPHA_BOARD
7 bool
8
Rich Felker7480e0a2016-01-23 00:45:41 +00009config SH_DEVICE_TREE
10 bool "Board Described by Device Tree"
11 select OF
12 select OF_EARLY_FLATTREE
13 select CLKSRC_OF
Rich Felker15f0c8f2016-07-31 03:11:30 +000014 select COMMON_CLK
Rich Felker7480e0a2016-01-23 00:45:41 +000015 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
Rich Felkerdb766b02016-10-13 15:51:47 -040025config SH_JCORE_SOC
26 bool "J-Core SoC"
27 depends on SH_DEVICE_TREE && (CPU_SH2 || CPU_J2)
28 select CLKSRC_JCORE_PIT
29 select JCORE_AIC
30 default y if CPU_J2
31 help
32 Select this option to include drivers core components of the
33 J-Core SoC, including interrupt controllers and timers.
34
Paul Mundt939a24a2008-07-29 21:41:37 +090035config SH_SOLUTION_ENGINE
36 bool "SolutionEngine"
37 select SOLUTION_ENGINE
38 select CPU_HAS_IPR_IRQ
39 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
40 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
41 CPU_SUBTYPE_SH7750R
42 help
43 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
44 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
45
46config SH_7206_SOLUTION_ENGINE
47 bool "SolutionEngine7206"
48 select SOLUTION_ENGINE
49 depends on CPU_SUBTYPE_SH7206
50 help
51 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
52 evaluation board.
53
54config SH_7619_SOLUTION_ENGINE
55 bool "SolutionEngine7619"
56 select SOLUTION_ENGINE
57 depends on CPU_SUBTYPE_SH7619
58 help
59 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
60 evaluation board.
61
62config SH_7721_SOLUTION_ENGINE
63 bool "SolutionEngine7721"
64 select SOLUTION_ENGINE
65 depends on CPU_SUBTYPE_SH7721
66 help
67 Select 7721 SolutionEngine if configuring for a Hitachi SH7721
68 evaluation board.
69
70config SH_7722_SOLUTION_ENGINE
71 bool "SolutionEngine7722"
72 select SOLUTION_ENGINE
Paul Mundt5df38b92012-05-24 18:24:32 +090073 select GENERIC_IRQ_CHIP
74 select IRQ_DOMAIN
Paul Mundt939a24a2008-07-29 21:41:37 +090075 depends on CPU_SUBTYPE_SH7722
76 help
77 Select 7722 SolutionEngine if configuring for a Hitachi SH772
78 evaluation board.
79
Kuninori Morimoto287c1292009-05-26 07:04:52 +000080config SH_7724_SOLUTION_ENGINE
81 bool "SolutionEngine7724"
82 select SOLUTION_ENGINE
83 depends on CPU_SUBTYPE_SH7724
Linus Walleijfdcfdfa2016-04-19 13:26:08 +020084 select GPIOLIB
Kuninori Morimotoaf8a2fe2012-04-08 21:18:28 -070085 select SND_SOC_AK4642 if SND_SIMPLE_CARD
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +020086 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Kuninori Morimoto287c1292009-05-26 07:04:52 +000087 help
88 Select 7724 SolutionEngine if configuring for a Hitachi SH7724
89 evaluation board.
90
Paul Mundt939a24a2008-07-29 21:41:37 +090091config SH_7751_SOLUTION_ENGINE
92 bool "SolutionEngine7751"
93 select SOLUTION_ENGINE
94 select CPU_HAS_IPR_IRQ
95 depends on CPU_SUBTYPE_SH7751
96 help
97 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
98 evaluation board.
99
100config SH_7780_SOLUTION_ENGINE
101 bool "SolutionEngine7780"
102 select SOLUTION_ENGINE
103 select SYS_SUPPORTS_PCI
104 depends on CPU_SUBTYPE_SH7780
105 help
106 Select 7780 SolutionEngine if configuring for a Renesas SH7780
107 evaluation board.
108
109config SH_7343_SOLUTION_ENGINE
110 bool "SolutionEngine7343"
111 select SOLUTION_ENGINE
Paul Mundt197b58e2012-05-24 19:07:18 +0900112 select GENERIC_IRQ_CHIP
113 select IRQ_DOMAIN
Paul Mundt939a24a2008-07-29 21:41:37 +0900114 depends on CPU_SUBTYPE_SH7343
115 help
116 Select 7343 SolutionEngine if configuring for a Hitachi
117 SH7343 (SH-Mobile 3AS) evaluation board.
118
Paul Mundt939a24a2008-07-29 21:41:37 +0900119config SH_HP6XX
120 bool "HP6XX"
121 select SYS_SUPPORTS_APM_EMULATION
122 select HD6446X_SERIES
123 depends on CPU_SUBTYPE_SH7709
124 help
125 Select HP6XX if configuring for a HP jornada HP6xx.
126 More information (hardware only) at
127 <http://www.hp.com/jornada/>.
128
129config SH_DREAMCAST
130 bool "Dreamcast"
131 select SYS_SUPPORTS_PCI
132 depends on CPU_SUBTYPE_SH7091
133 help
134 Select Dreamcast if configuring for a SEGA Dreamcast.
135 More information at <http://www.linux-sh.org>
136
137config SH_SH03
138 bool "Interface CTP/PCI-SH03"
139 depends on CPU_SUBTYPE_SH7751
140 select CPU_HAS_IPR_IRQ
141 select SYS_SUPPORTS_PCI
142 help
143 CTP/PCI-SH03 is a CPU module computer that is produced
144 by Interface Corporation.
145 More information at <http://www.interface.co.jp>
146
147config SH_SECUREEDGE5410
148 bool "SecureEdge5410"
149 depends on CPU_SUBTYPE_SH7751R
150 select CPU_HAS_IPR_IRQ
151 select SYS_SUPPORTS_PCI
152 help
153 Select SecureEdge5410 if configuring for a SnapGear SH board.
154 This includes both the OEM SecureEdge products as well as the
155 SME product line.
156
157config SH_RTS7751R2D
158 bool "RTS7751R2D"
159 depends on CPU_SUBTYPE_SH7751R
160 select SYS_SUPPORTS_PCI
Magnus Damme6be3a22009-04-30 12:56:37 +0900161 select IO_TRAPPED if MMU
Paul Mundt939a24a2008-07-29 21:41:37 +0900162 help
163 Select RTS7751R2D if configuring for a Renesas Technology
164 Sales SH-Graphics board.
165
Paul Mundtea0aac12008-12-08 14:32:03 +0900166config SH_RSK
167 bool "Renesas Starter Kit"
Phil Edworthyb63974352012-05-10 09:26:53 +0100168 depends on CPU_SUBTYPE_SH7201 || CPU_SUBTYPE_SH7203 || \
169 CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200170 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundtea0aac12008-12-08 14:32:03 +0900171 help
172 Select this option if configuring for any of the RSK+ MCU
173 evaluation platforms.
Paul Mundt939a24a2008-07-29 21:41:37 +0900174
175config SH_SDK7780
176 bool "SDK7780R3"
177 depends on CPU_SUBTYPE_SH7780
178 select SYS_SUPPORTS_PCI
179 help
180 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
181 evaluation board.
182
Paul Mundt02bf6cc2010-01-14 20:58:58 +0900183config SH_SDK7786
184 bool "SDK7786"
185 depends on CPU_SUBTYPE_SH7786
Paul Mundt7dcaa8e2010-01-15 19:13:56 +0900186 select SYS_SUPPORTS_PCI
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700187 select NO_IOPORT_MAP if !PCI
Paul Mundtd8d6b902010-10-15 02:13:04 +0900188 select HAVE_SRAM_POOL
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200189 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundt02bf6cc2010-01-14 20:58:58 +0900190 help
191 Select SDK7786 if configuring for a Renesas Technology Europe
192 SH7786-65nm board.
193
Paul Mundt939a24a2008-07-29 21:41:37 +0900194config SH_HIGHLANDER
195 bool "Highlander"
196 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
197 select SYS_SUPPORTS_PCI
Magnus Damme6be3a22009-04-30 12:56:37 +0900198 select IO_TRAPPED if MMU
Paul Mundt939a24a2008-07-29 21:41:37 +0900199
Yoshihiro Shimoda36239c62010-07-06 04:32:16 +0000200config SH_SH7757LCR
201 bool "SH7757LCR"
202 depends on CPU_SUBTYPE_SH7757
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200203 select GPIOLIB
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200204 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Yoshihiro Shimoda36239c62010-07-06 04:32:16 +0000205
Paul Mundt939a24a2008-07-29 21:41:37 +0900206config SH_SH7785LCR
207 bool "SH7785LCR"
208 depends on CPU_SUBTYPE_SH7785
209 select SYS_SUPPORTS_PCI
Paul Mundt939a24a2008-07-29 21:41:37 +0900210
211config SH_SH7785LCR_29BIT_PHYSMAPS
212 bool "SH7785LCR 29bit physmaps"
Yoshihiro Shimodadf4d4f12009-03-10 15:50:44 +0900213 depends on SH_SH7785LCR && 29BIT
Paul Mundt939a24a2008-07-29 21:41:37 +0900214 default y
215 help
216 This board has 2 physical memory maps. It can be changed with
217 DIP switch(S2-5). If you set the DIP switch for S2-5 = ON,
218 you can access all on-board device in 29bit address mode.
219
Yoshihiro Shimodae79d5742009-08-27 13:57:26 +0000220config SH_SH7785LCR_PT
221 bool "SH7785LCR prototype board on 32-bit MMU mode"
222 depends on SH_SH7785LCR && 32BIT
223 default n
224 help
225 If you use prototype board, this option is enabled.
226
Kuninori Morimoto5ac072e2009-03-03 16:22:00 +0900227config SH_URQUELL
228 bool "Urquell"
229 depends on CPU_SUBTYPE_SH7786
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200230 select GPIOLIB
Paul Mundt5713e602009-06-17 18:20:48 +0900231 select SYS_SUPPORTS_PCI
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700232 select NO_IOPORT_MAP if !PCI
Kuninori Morimoto5ac072e2009-03-03 16:22:00 +0900233
Paul Mundt939a24a2008-07-29 21:41:37 +0900234config SH_MIGOR
235 bool "Migo-R"
236 depends on CPU_SUBTYPE_SH7722
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200237 select GPIOLIB
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200238 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundt939a24a2008-07-29 21:41:37 +0900239 help
240 Select Migo-R if configuring for the SH7722 Migo-R platform
241 by Renesas System Solutions Asia Pte. Ltd.
242
243config SH_AP325RXA
244 bool "AP-325RXA"
245 depends on CPU_SUBTYPE_SH7723
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200246 select GPIOLIB
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200247 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundt939a24a2008-07-29 21:41:37 +0900248 help
249 Renesas "AP-325RXA" support.
250 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
251
Magnus Damme7d16512009-07-22 16:20:54 +0000252config SH_KFR2R09
253 bool "KFR2R09"
254 depends on CPU_SUBTYPE_SH7724
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200255 select GPIOLIB
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200256 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Magnus Damme7d16512009-07-22 16:20:54 +0000257 help
258 "Kit For R2R for 2009" support.
259
Kuninori Morimoto4138b742009-08-19 12:08:33 +0000260config SH_ECOVEC
261 bool "EcoVec"
262 depends on CPU_SUBTYPE_SH7724
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200263 select GPIOLIB
Kuninori Morimoto064bfad2012-04-08 21:19:25 -0700264 select SND_SOC_DA7210 if SND_SIMPLE_CARD
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200265 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Kuninori Morimoto4138b742009-08-19 12:08:33 +0000266 help
267 Renesas "R0P7724LC0011/21RL (EcoVec)" support.
268
Paul Mundt939a24a2008-07-29 21:41:37 +0900269config SH_SH7763RDP
270 bool "SH7763RDP"
271 depends on CPU_SUBTYPE_SH7763
272 help
273 Select SH7763RDP if configuring for a Renesas SH7763
274 evaluation board.
275
Nobuhiro Iwamatsu32910e22009-03-17 05:54:37 +0000276config SH_ESPT
277 bool "ESPT"
278 depends on CPU_SUBTYPE_SH7763
279 help
280 Select ESPT if configuring for a Renesas SH7763
281 with gigabit ether evaluation board.
282
Paul Mundt939a24a2008-07-29 21:41:37 +0900283config SH_EDOSK7705
284 bool "EDOSK7705"
285 depends on CPU_SUBTYPE_SH7705
286
Luca Santini3db91702008-09-08 12:01:15 +0900287config SH_EDOSK7760
288 bool "EDOSK7760"
289 depends on CPU_SUBTYPE_SH7760
290 help
291 Select if configuring for a Renesas EDOSK7760
292 evaluation board.
293
Paul Mundt939a24a2008-07-29 21:41:37 +0900294config SH_SH4202_MICRODEV
295 bool "SH4-202 MicroDev"
296 depends on CPU_SUBTYPE_SH4_202
297 help
298 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
299 with an SH4-202 CPU.
300
301config SH_LANDISK
302 bool "LANDISK"
303 depends on CPU_SUBTYPE_SH7751R
304 select SYS_SUPPORTS_PCI
305 help
306 I-O DATA DEVICE, INC. "LANDISK Series" support.
307
308config SH_TITAN
309 bool "TITAN"
310 depends on CPU_SUBTYPE_SH7751R
311 select CPU_HAS_IPR_IRQ
312 select SYS_SUPPORTS_PCI
313 help
314 Select Titan if you are configuring for a Nimble Microsystems
315 NetEngine NP51R.
316
317config SH_SHMIN
318 bool "SHMIN"
319 depends on CPU_SUBTYPE_SH7706
320 select CPU_HAS_IPR_IRQ
321 help
322 Select SHMIN if configuring for the SHMIN board.
323
324config SH_LBOX_RE2
325 bool "L-BOX RE2"
326 depends on CPU_SUBTYPE_SH7751R
327 select SYS_SUPPORTS_PCI
328 help
329 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
330
331config SH_X3PROTO
332 bool "SH-X3 Prototype board"
333 depends on CPU_SUBTYPE_SHX3
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700334 select NO_IOPORT_MAP if !PCI
Paul Mundtb98b3582012-05-24 15:24:39 +0900335 select IRQ_DOMAIN
Paul Mundt939a24a2008-07-29 21:41:37 +0900336
337config SH_MAGIC_PANEL_R2
338 bool "Magic Panel R2"
339 depends on CPU_SUBTYPE_SH7720
Linus Walleijfdcfdfa2016-04-19 13:26:08 +0200340 select GPIOLIB
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200341 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundt939a24a2008-07-29 21:41:37 +0900342 help
343 Select Magic Panel R2 if configuring for Magic Panel R2.
344
345config SH_CAYMAN
346 bool "Hitachi Cayman"
347 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
348 select SYS_SUPPORTS_PCI
Mark Salter82ef5b82014-01-01 11:32:52 -0800349 select ARCH_MIGHT_HAVE_PC_SERIO
Paul Mundt939a24a2008-07-29 21:41:37 +0900350
Steve Glendinningeaeed5d2009-03-20 14:16:29 +0000351config SH_POLARIS
352 bool "SMSC Polaris"
353 select CPU_HAS_IPR_IRQ
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200354 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Steve Glendinningeaeed5d2009-03-20 14:16:29 +0000355 depends on CPU_SUBTYPE_SH7709
356 help
357 Select if configuring for an SMSC Polaris development board
358
Hitoshi Mitake3a598262010-06-21 15:10:51 +0900359config SH_SH2007
360 bool "SH-2007 board"
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700361 select NO_IOPORT_MAP
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200362 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Hitoshi Mitake3a598262010-06-21 15:10:51 +0900363 depends on CPU_SUBTYPE_SH7780
364 help
365 SH-2007 is a single-board computer based around SH7780 chip
366 intended for embedded applications.
367 It has an Ethernet interface (SMC9118), direct connected
368 Compact Flash socket, two serial ports and PC-104 bus.
369 More information at <http://sh2000.sh-linux.org>.
370
Paul Mundtbc34b082011-01-13 18:32:42 +0900371config SH_APSH4A3A
372 bool "AP-SH4A-3A"
373 select SH_ALPHA_BOARD
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200374 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundtbc34b082011-01-13 18:32:42 +0900375 depends on CPU_SUBTYPE_SH7785
376 help
377 Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A.
378
Paul Mundt8a453ca2011-01-13 18:36:21 +0900379config SH_APSH4AD0A
380 bool "AP-SH4AD-0A"
381 select SH_ALPHA_BOARD
382 select SYS_SUPPORTS_PCI
Guennadi Liakhovetski89d71482012-07-05 15:18:50 +0200383 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Paul Mundt8a453ca2011-01-13 18:36:21 +0900384 depends on CPU_SUBTYPE_SH7786
385 help
386 Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A.
387
Paul Mundt939a24a2008-07-29 21:41:37 +0900388source "arch/sh/boards/mach-r2d/Kconfig"
389source "arch/sh/boards/mach-highlander/Kconfig"
390source "arch/sh/boards/mach-sdk7780/Kconfig"
391source "arch/sh/boards/mach-migor/Kconfig"
Paul Mundtea0aac12008-12-08 14:32:03 +0900392source "arch/sh/boards/mach-rsk/Kconfig"
Paul Mundtc8b5d9d2008-07-30 00:13:39 +0900393
394if SH_MAGIC_PANEL_R2
395
396menu "Magic Panel R2 options"
397
398config SH_MAGIC_PANEL_R2_VERSION
Paul Bollee70cfe42014-06-11 12:03:49 +0200399 int "Magic Panel R2 Version"
Paul Mundtc8b5d9d2008-07-30 00:13:39 +0900400 default "3"
401 help
402 Set the version of the Magic Panel R2
403
404endmenu
405
406endif
Stuart Menefy9e7f60a2012-04-19 17:29:38 +0900407
408endmenu