blob: 115cc50daa8439d2a76bafb8175e48a53daf9d0c [file] [log] [blame]
Kukjin Kim85fd6d62012-02-06 09:38:19 +09001# arch/arm/mach-s3c24xx/Kconfig
2#
3# Copyright (c) 2012 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Copyright 2007 Simtec Electronics
7#
8# Licensed under GPLv2
9
10if ARCH_S3C24XX
11
12menu "SAMSUNG S3C24XX SoCs Support"
13
14comment "S3C24XX SoCs"
15
16config CPU_S3C2410
17 bool "SAMSUNG S3C2410"
18 default y
19 select CPU_ARM920T
20 select S3C2410_CLOCK
21 select CPU_LLSERIAL_S3C2410
22 select S3C2410_PM if PM
23 select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
24 help
25 Support for S3C2410 and S3C2410A family from the S3C24XX line
26 of Samsung Mobile CPUs.
27
Kukjin Kim85e2a262012-02-06 10:02:01 +090028config CPU_S3C2412
29 bool "SAMSUNG S3C2412"
30 depends on ARCH_S3C24XX
31 select CPU_ARM926T
32 select CPU_LLSERIAL_S3C2440
33 select S3C2412_PM if PM
34 select S3C2412_DMA if S3C24XX_DMA
35 help
36 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
37
Kukjin Kim26febf82012-02-06 10:59:47 +090038config CPU_S3C2416
39 bool "SAMSUNG S3C2416/S3C2450"
40 depends on ARCH_S3C24XX
41 select CPU_ARM926T
42 select CPU_LLSERIAL_S3C2440
43 select SAMSUNG_CLKSRC
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090044 select S3C2443_COMMON
Kukjin Kim26febf82012-02-06 10:59:47 +090045 select S3C2416_DMA if S3C24XX_DMA
46 select S3C2416_PM if PM
47 help
48 Support for the S3C2416 SoC from the S3C24XX line
49
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090050config CPU_S3C2440
51 bool "SAMSUNG S3C2440"
52 select CPU_ARM920T
53 select CPU_LLSERIAL_S3C2440
54 select S3C2410_CLOCK
55 select S3C2410_PM if PM
56 select S3C2440_DMA if S3C24XX_DMA
57 help
58 Support for S3C2440 Samsung Mobile CPU based systems.
59
60config CPU_S3C2442
61 bool "SAMSUNG S3C2442"
62 select CPU_ARM920T
63 select CPU_LLSERIAL_S3C2440
64 select S3C2410_CLOCK
65 select S3C2410_PM if PM
66 help
67 Support for S3C2442 Samsung Mobile CPU based systems.
68
69config CPU_S3C244X
70 def_bool y
71 depends on CPU_S3C2440 || CPU_S3C2442
72
Kukjin Kim84c028b2012-02-06 13:21:03 +090073config CPU_S3C2443
74 bool "SAMSUNG S3C2443"
75 depends on ARCH_S3C24XX
76 select CPU_ARM920T
77 select CPU_LLSERIAL_S3C2440
78 select SAMSUNG_CLKSRC
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090079 select S3C2443_COMMON
Kukjin Kim84c028b2012-02-06 13:21:03 +090080 select S3C2443_DMA if S3C24XX_DMA
81 help
82 Support for the S3C2443 SoC from the S3C24XX line
83
Heiko Stuebner28c569f2012-03-07 01:47:01 -080084# common code
85
86config S3C24XX_SMDK
87 bool
88 help
89 Common machine code for SMDK2410 and SMDK2440
90
Heiko Stuebner9072dc92012-03-07 01:47:05 -080091config S3C24XX_SIMTEC_AUDIO
92 bool
93 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
94 default y
95 help
96 Add audio devices for common Simtec S3C24XX boards
97
98config S3C24XX_SIMTEC_PM
99 bool
100 help
101 Common power management code for systems that are
102 compatible with the Simtec style of power management
103
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800104# cpu-specific sections
105
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900106if CPU_S3C2410
107
108config S3C2410_DMA
109 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900110 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
111 default y if CPU_S3C2410 || CPU_S3C2442
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900112 help
113 DMA device selection for S3C2410 and compatible CPUs
114
115config S3C2410_PM
116 bool
117 help
118 Power Management code common to S3C2410 and better
119
120config SIMTEC_NOR
121 bool
122 help
123 Internal node to specify machine has simtec NOR mapping
124
125config MACH_BAST_IDE
126 bool
127 select HAVE_PATA_PLATFORM
128 help
129 Internal node for machines with an BAST style IDE
130 interface
131
132comment "S3C2410 Boards"
133
134#
135# The "S3C2410 Boards" list is ordered alphabetically by option text.
136# (without ARCH_ or MACH_)
137#
138
139config MACH_AML_M5900
140 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800141 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900142 select S3C_DEV_USB_HOST
143 help
144 Say Y here if you are using the American Microsystems M5900 Series
145 <http://www.amltd.com>
146
147config ARCH_BAST
148 bool "Simtec Electronics BAST (EB2410ITX)"
149 select S3C2410_IOTIMING if S3C2410_CPUFREQ
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800150 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900151 select SIMTEC_NOR
152 select MACH_BAST_IDE
153 select S3C24XX_DCLK
154 select ISA
155 select S3C_DEV_HWMON
156 select S3C_DEV_USB_HOST
157 select S3C_DEV_NAND
158 help
159 Say Y here if you are using the Simtec Electronics EB2410ITX
160 development board (also known as BAST)
161
162config BAST_PC104_IRQ
163 bool "BAST PC104 IRQ support"
164 depends on ARCH_BAST
165 default y
166 help
167 Say Y here to enable the PC104 IRQ routing on the
168 Simtec BAST (EB2410ITX)
169
170config ARCH_H1940
171 bool "IPAQ H1940"
172 select PM_H1940 if PM
173 select S3C_DEV_USB_HOST
174 select S3C_DEV_NAND
175 select S3C2410_SETUP_TS
176 help
177 Say Y here if you are using the HP IPAQ H1940
178
179config H1940BT
180 tristate "Control the state of H1940 bluetooth chip"
181 depends on ARCH_H1940
182 select RFKILL
183 help
184 This is a simple driver that is able to control
185 the state of built in bluetooth chip on h1940.
186
187config PM_H1940
188 bool
189 help
190 Internal node for H1940 and related PM
191
192config MACH_N30
193 bool "Acer N30 family"
194 select MACH_N35
195 select S3C_DEV_USB_HOST
196 select S3C_DEV_NAND
197 help
198 Say Y here if you want suppt for the Acer N30, Acer N35,
199 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
200
201config MACH_OTOM
202 bool "NexVision OTOM Board"
203 select S3C_DEV_USB_HOST
204 select S3C_DEV_NAND
205 help
206 Say Y here if you are using the Nex Vision OTOM board
207
208config MACH_QT2410
209 bool "QT2410"
210 select S3C_DEV_USB_HOST
211 select S3C_DEV_NAND
212 help
213 Say Y here if you are using the Armzone QT2410
214
215config ARCH_SMDK2410
216 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800217 select S3C24XX_SMDK
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900218 help
219 Say Y here if you are using the SMDK2410 or the derived module A9M2410
220 <http://www.fsforth.de>
221
222config MACH_TCT_HAMMER
223 bool "TCT Hammer Board"
224 select S3C_DEV_USB_HOST
225 help
226 Say Y here if you are using the TinCanTools Hammer Board
227 <http://www.tincantools.com>
228
229config MACH_VR1000
230 bool "Thorcom VR1000"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800231 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900232 select S3C24XX_DCLK
233 select SIMTEC_NOR
234 select MACH_BAST_IDE
235 select S3C_DEV_USB_HOST
236 help
237 Say Y here if you are using the Thorcom VR1000 board.
238
239endif # CPU_S3C2410
240
Kukjin Kim85e2a262012-02-06 10:02:01 +0900241config S3C2412_PM_SLEEP
242 bool
243 help
244 Internal config node to apply sleep for S3C2412 power management.
245 Can be selected by another SoCs such as S3C2416 with similar
246 sleep procedure.
247
248if CPU_S3C2412
249
250config CPU_S3C2412_ONLY
251 bool
252 depends on ARCH_S3C24XX && !CPU_S3C2410 && \
253 !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
254 !CPU_S3C2443 && CPU_S3C2412
255 default y
256
257config S3C2412_DMA
258 bool
259 help
260 Internal config node for S3C2412 DMA support
261
262config S3C2412_PM
263 bool
264 help
265 Internal config node to apply S3C2412 power management
266
267comment "S3C2412 Boards"
268
269#
270# The "S3C2412 Boards" list is ordered alphabetically by option text.
271# (without ARCH_ or MACH_)
272#
273
274config MACH_JIVE
275 bool "Logitech Jive"
276 select S3C_DEV_USB_HOST
277 select S3C_DEV_NAND
278 help
279 Say Y here if you are using the Logitech Jive.
280
281config MACH_JIVE_SHOW_BOOTLOADER
282 bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"
283 depends on MACH_JIVE && EXPERIMENTAL
284
285config MACH_S3C2413
286 bool
287 help
288 Internal node for S3C2413 version of SMDK2413, so that
289 machine_is_s3c2413() will work when MACH_SMDK2413 is
290 selected
291
292config MACH_SMDK2412
293 bool "SMDK2412"
294 select MACH_SMDK2413
295 help
296 Say Y here if you are using an SMDK2412
297
298 Note, this shares support with SMDK2413, so will automatically
299 select MACH_SMDK2413.
300
301config MACH_SMDK2413
302 bool "SMDK2413"
303 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800304 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900305 select S3C_DEV_USB_HOST
306 select S3C_DEV_NAND
307 help
308 Say Y here if you are using an SMDK2413
309
310config MACH_VSTMS
311 bool "VMSTMS"
312 select S3C_DEV_USB_HOST
313 select S3C_DEV_NAND
314 help
315 Say Y here if you are using an VSTMS board
316
317endif # CPU_S3C2412
318
Kukjin Kim26febf82012-02-06 10:59:47 +0900319if CPU_S3C2416
320
321config S3C2416_PM
322 bool
323 select S3C2412_PM_SLEEP
324 help
325 Internal config node to apply S3C2416 power management
326
327config S3C2416_SETUP_SDHCI
328 bool
329 select S3C2416_SETUP_SDHCI_GPIO
330 help
331 Internal helper functions for S3C2416 based SDHCI systems
332
333config S3C2416_SETUP_SDHCI_GPIO
334 bool
335 help
336 Common setup code for SDHCI gpio.
337
338comment "S3C2416 Boards"
339
340config MACH_SMDK2416
341 bool "SMDK2416"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800342 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900343 select S3C_DEV_FB
344 select S3C_DEV_HSMMC
345 select S3C_DEV_HSMMC1
346 select S3C_DEV_NAND
347 select S3C_DEV_USB_HOST
348 select S3C2416_SETUP_SDHCI
349 help
350 Say Y here if you are using an SMDK2416
351
352endif # CPU_S3C2416
353
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900354if CPU_S3C2440
355
356config S3C2440_DMA
357 bool
358 help
359 Support for S3C2440 specific DMA code5A
360
361comment "S3C2440 Boards"
362
363#
364# The "S3C2440 Boards" list is ordered alphabetically by option text.
365# (without ARCH_ or MACH_)
366#
367
368config MACH_ANUBIS
369 bool "Simtec Electronics ANUBIS"
370 select S3C24XX_DCLK
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800371 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900372 select HAVE_PATA_PLATFORM
373 select S3C24XX_GPIO_EXTRA64
374 select S3C2440_XTAL_12000000
375 select S3C_DEV_USB_HOST
376 help
377 Say Y here if you are using the Simtec Electronics ANUBIS
378 development system
379
380config MACH_AT2440EVB
381 bool "Avantech AT2440EVB development board"
382 select S3C_DEV_USB_HOST
383 select S3C_DEV_NAND
384 help
385 Say Y here if you are using the AT2440EVB development board
386
387config MACH_MINI2440
388 bool "MINI2440 development board"
389 select EEPROM_AT24
390 select NEW_LEDS
391 select LEDS_CLASS
392 select LEDS_TRIGGER
393 select LEDS_TRIGGER_BACKLIGHT
394 select S3C_DEV_NAND
395 select S3C_DEV_USB_HOST
396 help
397 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
398 available via various sources. It can come with a 3.5" or 7" touch LCD.
399
400config MACH_NEXCODER_2440
401 bool "NexVision NEXCODER 2440 Light Board"
402 select S3C2440_XTAL_12000000
403 select S3C_DEV_USB_HOST
404 select S3C_DEV_NAND
405 help
406 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
407
408config MACH_OSIRIS
409 bool "Simtec IM2440D20 (OSIRIS) module"
410 select S3C24XX_DCLK
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800411 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900412 select S3C24XX_GPIO_EXTRA128
413 select S3C2440_XTAL_12000000
414 select S3C2410_IOTIMING if S3C2440_CPUFREQ
415 select S3C_DEV_USB_HOST
416 select S3C_DEV_NAND
417 help
418 Say Y here if you are using the Simtec IM2440D20 module, also
419 known as the Osiris.
420
421config MACH_OSIRIS_DVS
422 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
423 depends on MACH_OSIRIS
424 select TPS65010
425 help
426 Say Y/M here if you want to have dynamic voltage scaling support
427 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
428
429 The DVS driver alters the voltage supplied to the ARM core
430 depending on the frequency it is running at. The driver itself
431 does not do any of the frequency alteration, which is left up
432 to the cpufreq driver.
433
434config MACH_RX3715
435 bool "HP iPAQ rx3715"
436 select S3C2440_XTAL_16934400
437 select PM_H1940 if PM
438 select S3C_DEV_NAND
439 help
440 Say Y here if you are using the HP iPAQ rx3715.
441
442config ARCH_S3C2440
443 bool "SMDK2440"
444 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800445 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900446 select S3C_DEV_USB_HOST
447 select S3C_DEV_NAND
448 help
449 Say Y here if you are using the SMDK2440.
450
451config SMDK2440_CPU2440
452 bool "SMDK2440 with S3C2440 CPU module"
453 default y if ARCH_S3C2440
454 select S3C2440_XTAL_16934400
455
456endif # CPU_S3C2440
457
458if CPU_S3C2442
459
460comment "S3C2442 Boards"
461
462#
463# The "S3C2442 Boards" list is ordered alphabetically by option text.
464# (without ARCH_ or MACH_)
465#
466
467config MACH_NEO1973_GTA02
468 bool "Openmoko GTA02 / Freerunner phone"
469 select MFD_PCF50633
470 select PCF50633_GPIO
471 select I2C
472 select POWER_SUPPLY
473 select MACH_NEO1973
474 select S3C2410_PWM
475 select S3C_DEV_USB_HOST
476 help
477 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
478
479config MACH_RX1950
480 bool "HP iPAQ rx1950"
481 select S3C24XX_DCLK
482 select PM_H1940 if PM
483 select I2C
484 select S3C2410_PWM
485 select S3C_DEV_NAND
486 select S3C2410_IOTIMING if S3C2440_CPUFREQ
487 select S3C2440_XTAL_16934400
488 help
489 Say Y here if you're using HP iPAQ rx1950
490
491config SMDK2440_CPU2442
492 bool "SMDM2440 with S3C2442 CPU module"
493
494endif # CPU_S3C2440
495
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900496if CPU_S3C2443 || CPU_S3C2416
497
498config S3C2443_COMMON
499 bool
500 help
501 Common code for the S3C2443 and similar processors, which includes
502 the S3C2416 and S3C2450.
503
504endif # CPU_S3C2443 || CPU_S3C2416
505
Kukjin Kim84c028b2012-02-06 13:21:03 +0900506if CPU_S3C2443
507
508config S3C2443_DMA
509 bool
510 help
511 Internal config node for S3C2443 DMA support
512
513comment "S3C2443 Boards"
514
515config MACH_SMDK2443
516 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800517 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900518 select S3C_DEV_HSMMC1
519 help
520 Say Y here if you are using an SMDK2443
521
522endif # CPU_S3C2443
523
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900524endmenu # SAMSUNG S3C24XX SoCs Support
525
526endif # ARCH_S3C24XX