blob: df6f419f9a5d82a40bc58a151967c37463fab967 [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 Stuebnerec2cc752012-03-07 01:47:11 -0800104config S3C24XX_SIMTEC_USB
105 bool
106 help
107 USB management code for common Simtec S3C24XX boards
108
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800109# cpu-specific sections
110
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900111if CPU_S3C2410
112
113config S3C2410_DMA
114 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900115 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
116 default y if CPU_S3C2410 || CPU_S3C2442
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900117 help
118 DMA device selection for S3C2410 and compatible CPUs
119
120config S3C2410_PM
121 bool
122 help
123 Power Management code common to S3C2410 and better
124
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800125config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900126 bool
127 help
128 Internal node to specify machine has simtec NOR mapping
129
130config MACH_BAST_IDE
131 bool
132 select HAVE_PATA_PLATFORM
133 help
134 Internal node for machines with an BAST style IDE
135 interface
136
137comment "S3C2410 Boards"
138
139#
140# The "S3C2410 Boards" list is ordered alphabetically by option text.
141# (without ARCH_ or MACH_)
142#
143
144config MACH_AML_M5900
145 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800146 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900147 select S3C_DEV_USB_HOST
148 help
149 Say Y here if you are using the American Microsystems M5900 Series
150 <http://www.amltd.com>
151
152config ARCH_BAST
153 bool "Simtec Electronics BAST (EB2410ITX)"
154 select S3C2410_IOTIMING if S3C2410_CPUFREQ
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800155 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800156 select S3C24XX_SIMTEC_NOR
157 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900158 select MACH_BAST_IDE
159 select S3C24XX_DCLK
160 select ISA
161 select S3C_DEV_HWMON
162 select S3C_DEV_USB_HOST
163 select S3C_DEV_NAND
164 help
165 Say Y here if you are using the Simtec Electronics EB2410ITX
166 development board (also known as BAST)
167
168config BAST_PC104_IRQ
169 bool "BAST PC104 IRQ support"
170 depends on ARCH_BAST
171 default y
172 help
173 Say Y here to enable the PC104 IRQ routing on the
174 Simtec BAST (EB2410ITX)
175
176config ARCH_H1940
177 bool "IPAQ H1940"
178 select PM_H1940 if PM
179 select S3C_DEV_USB_HOST
180 select S3C_DEV_NAND
181 select S3C2410_SETUP_TS
182 help
183 Say Y here if you are using the HP IPAQ H1940
184
185config H1940BT
186 tristate "Control the state of H1940 bluetooth chip"
187 depends on ARCH_H1940
188 select RFKILL
189 help
190 This is a simple driver that is able to control
191 the state of built in bluetooth chip on h1940.
192
193config PM_H1940
194 bool
195 help
196 Internal node for H1940 and related PM
197
198config MACH_N30
199 bool "Acer N30 family"
200 select MACH_N35
201 select S3C_DEV_USB_HOST
202 select S3C_DEV_NAND
203 help
204 Say Y here if you want suppt for the Acer N30, Acer N35,
205 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
206
207config MACH_OTOM
208 bool "NexVision OTOM Board"
209 select S3C_DEV_USB_HOST
210 select S3C_DEV_NAND
211 help
212 Say Y here if you are using the Nex Vision OTOM board
213
214config MACH_QT2410
215 bool "QT2410"
216 select S3C_DEV_USB_HOST
217 select S3C_DEV_NAND
218 help
219 Say Y here if you are using the Armzone QT2410
220
221config ARCH_SMDK2410
222 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800223 select S3C24XX_SMDK
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900224 help
225 Say Y here if you are using the SMDK2410 or the derived module A9M2410
226 <http://www.fsforth.de>
227
228config MACH_TCT_HAMMER
229 bool "TCT Hammer Board"
230 select S3C_DEV_USB_HOST
231 help
232 Say Y here if you are using the TinCanTools Hammer Board
233 <http://www.tincantools.com>
234
235config MACH_VR1000
236 bool "Thorcom VR1000"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800237 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900238 select S3C24XX_DCLK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800239 select S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900240 select MACH_BAST_IDE
241 select S3C_DEV_USB_HOST
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800242 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900243 help
244 Say Y here if you are using the Thorcom VR1000 board.
245
246endif # CPU_S3C2410
247
Kukjin Kim85e2a262012-02-06 10:02:01 +0900248config S3C2412_PM_SLEEP
249 bool
250 help
251 Internal config node to apply sleep for S3C2412 power management.
252 Can be selected by another SoCs such as S3C2416 with similar
253 sleep procedure.
254
255if CPU_S3C2412
256
257config CPU_S3C2412_ONLY
258 bool
259 depends on ARCH_S3C24XX && !CPU_S3C2410 && \
260 !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
261 !CPU_S3C2443 && CPU_S3C2412
262 default y
263
264config S3C2412_DMA
265 bool
266 help
267 Internal config node for S3C2412 DMA support
268
269config S3C2412_PM
270 bool
271 help
272 Internal config node to apply S3C2412 power management
273
274comment "S3C2412 Boards"
275
276#
277# The "S3C2412 Boards" list is ordered alphabetically by option text.
278# (without ARCH_ or MACH_)
279#
280
281config MACH_JIVE
282 bool "Logitech Jive"
283 select S3C_DEV_USB_HOST
284 select S3C_DEV_NAND
285 help
286 Say Y here if you are using the Logitech Jive.
287
288config MACH_JIVE_SHOW_BOOTLOADER
289 bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)"
290 depends on MACH_JIVE && EXPERIMENTAL
291
292config MACH_S3C2413
293 bool
294 help
295 Internal node for S3C2413 version of SMDK2413, so that
296 machine_is_s3c2413() will work when MACH_SMDK2413 is
297 selected
298
299config MACH_SMDK2412
300 bool "SMDK2412"
301 select MACH_SMDK2413
302 help
303 Say Y here if you are using an SMDK2412
304
305 Note, this shares support with SMDK2413, so will automatically
306 select MACH_SMDK2413.
307
308config MACH_SMDK2413
309 bool "SMDK2413"
310 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800311 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900312 select S3C_DEV_USB_HOST
313 select S3C_DEV_NAND
314 help
315 Say Y here if you are using an SMDK2413
316
317config MACH_VSTMS
318 bool "VMSTMS"
319 select S3C_DEV_USB_HOST
320 select S3C_DEV_NAND
321 help
322 Say Y here if you are using an VSTMS board
323
324endif # CPU_S3C2412
325
Kukjin Kim26febf82012-02-06 10:59:47 +0900326if CPU_S3C2416
327
328config S3C2416_PM
329 bool
330 select S3C2412_PM_SLEEP
331 help
332 Internal config node to apply S3C2416 power management
333
334config S3C2416_SETUP_SDHCI
335 bool
336 select S3C2416_SETUP_SDHCI_GPIO
337 help
338 Internal helper functions for S3C2416 based SDHCI systems
339
340config S3C2416_SETUP_SDHCI_GPIO
341 bool
342 help
343 Common setup code for SDHCI gpio.
344
345comment "S3C2416 Boards"
346
347config MACH_SMDK2416
348 bool "SMDK2416"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800349 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900350 select S3C_DEV_FB
351 select S3C_DEV_HSMMC
352 select S3C_DEV_HSMMC1
353 select S3C_DEV_NAND
354 select S3C_DEV_USB_HOST
355 select S3C2416_SETUP_SDHCI
356 help
357 Say Y here if you are using an SMDK2416
358
359endif # CPU_S3C2416
360
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900361if CPU_S3C2440
362
363config S3C2440_DMA
364 bool
365 help
366 Support for S3C2440 specific DMA code5A
367
368comment "S3C2440 Boards"
369
370#
371# The "S3C2440 Boards" list is ordered alphabetically by option text.
372# (without ARCH_ or MACH_)
373#
374
375config MACH_ANUBIS
376 bool "Simtec Electronics ANUBIS"
377 select S3C24XX_DCLK
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800378 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900379 select HAVE_PATA_PLATFORM
380 select S3C24XX_GPIO_EXTRA64
381 select S3C2440_XTAL_12000000
382 select S3C_DEV_USB_HOST
383 help
384 Say Y here if you are using the Simtec Electronics ANUBIS
385 development system
386
387config MACH_AT2440EVB
388 bool "Avantech AT2440EVB development board"
389 select S3C_DEV_USB_HOST
390 select S3C_DEV_NAND
391 help
392 Say Y here if you are using the AT2440EVB development board
393
394config MACH_MINI2440
395 bool "MINI2440 development board"
396 select EEPROM_AT24
397 select NEW_LEDS
398 select LEDS_CLASS
399 select LEDS_TRIGGER
400 select LEDS_TRIGGER_BACKLIGHT
401 select S3C_DEV_NAND
402 select S3C_DEV_USB_HOST
403 help
404 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
405 available via various sources. It can come with a 3.5" or 7" touch LCD.
406
407config MACH_NEXCODER_2440
408 bool "NexVision NEXCODER 2440 Light Board"
409 select S3C2440_XTAL_12000000
410 select S3C_DEV_USB_HOST
411 select S3C_DEV_NAND
412 help
413 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
414
415config MACH_OSIRIS
416 bool "Simtec IM2440D20 (OSIRIS) module"
417 select S3C24XX_DCLK
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800418 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900419 select S3C24XX_GPIO_EXTRA128
420 select S3C2440_XTAL_12000000
421 select S3C2410_IOTIMING if S3C2440_CPUFREQ
422 select S3C_DEV_USB_HOST
423 select S3C_DEV_NAND
424 help
425 Say Y here if you are using the Simtec IM2440D20 module, also
426 known as the Osiris.
427
428config MACH_OSIRIS_DVS
429 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
430 depends on MACH_OSIRIS
431 select TPS65010
432 help
433 Say Y/M here if you want to have dynamic voltage scaling support
434 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
435
436 The DVS driver alters the voltage supplied to the ARM core
437 depending on the frequency it is running at. The driver itself
438 does not do any of the frequency alteration, which is left up
439 to the cpufreq driver.
440
441config MACH_RX3715
442 bool "HP iPAQ rx3715"
443 select S3C2440_XTAL_16934400
444 select PM_H1940 if PM
445 select S3C_DEV_NAND
446 help
447 Say Y here if you are using the HP iPAQ rx3715.
448
449config ARCH_S3C2440
450 bool "SMDK2440"
451 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800452 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900453 select S3C_DEV_USB_HOST
454 select S3C_DEV_NAND
455 help
456 Say Y here if you are using the SMDK2440.
457
458config SMDK2440_CPU2440
459 bool "SMDK2440 with S3C2440 CPU module"
460 default y if ARCH_S3C2440
461 select S3C2440_XTAL_16934400
462
463endif # CPU_S3C2440
464
465if CPU_S3C2442
466
467comment "S3C2442 Boards"
468
469#
470# The "S3C2442 Boards" list is ordered alphabetically by option text.
471# (without ARCH_ or MACH_)
472#
473
474config MACH_NEO1973_GTA02
475 bool "Openmoko GTA02 / Freerunner phone"
476 select MFD_PCF50633
477 select PCF50633_GPIO
478 select I2C
479 select POWER_SUPPLY
480 select MACH_NEO1973
481 select S3C2410_PWM
482 select S3C_DEV_USB_HOST
483 help
484 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
485
486config MACH_RX1950
487 bool "HP iPAQ rx1950"
488 select S3C24XX_DCLK
489 select PM_H1940 if PM
490 select I2C
491 select S3C2410_PWM
492 select S3C_DEV_NAND
493 select S3C2410_IOTIMING if S3C2440_CPUFREQ
494 select S3C2440_XTAL_16934400
495 help
496 Say Y here if you're using HP iPAQ rx1950
497
498config SMDK2440_CPU2442
499 bool "SMDM2440 with S3C2442 CPU module"
500
501endif # CPU_S3C2440
502
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900503if CPU_S3C2443 || CPU_S3C2416
504
505config S3C2443_COMMON
506 bool
507 help
508 Common code for the S3C2443 and similar processors, which includes
509 the S3C2416 and S3C2450.
510
511endif # CPU_S3C2443 || CPU_S3C2416
512
Kukjin Kim84c028b2012-02-06 13:21:03 +0900513if CPU_S3C2443
514
515config S3C2443_DMA
516 bool
517 help
518 Internal config node for S3C2443 DMA support
519
520comment "S3C2443 Boards"
521
522config MACH_SMDK2443
523 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800524 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900525 select S3C_DEV_HSMMC1
526 help
527 Say Y here if you are using an SMDK2443
528
529endif # CPU_S3C2443
530
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900531endmenu # SAMSUNG S3C24XX SoCs Support
532
533endif # ARCH_S3C24XX