1 # arch/arm/mach-s3c24xx/Kconfig
3 # Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 # http://www.samsung.com/
6 # Copyright 2007 Simtec Electronics
14 select ARCH_REQUIRE_GPIOLIB
19 Base platform code for any Samsung S3C24XX device
23 menu "SAMSUNG S3C24XX SoCs Support"
25 comment "S3C24XX SoCs"
28 bool "SAMSUNG S3C2410"
31 select S3C2410_COMMON_CLK
32 select S3C2410_DMA if S3C24XX_DMA
33 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
34 select S3C2410_PM if PM
35 select SAMSUNG_WDT_RESET
37 Support for S3C2410 and S3C2410A family from the S3C24XX line
38 of Samsung Mobile CPUs.
41 bool "SAMSUNG S3C2412"
43 select S3C2412_COMMON_CLK
44 select S3C2412_DMA if S3C24XX_DMA
45 select S3C2412_PM if PM
47 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
50 bool "SAMSUNG S3C2416/S3C2450"
52 select S3C2416_PM if PM
53 select S3C2443_COMMON_CLK
54 select S3C2443_DMA if S3C24XX_DMA
56 Support for the S3C2416 SoC from the S3C24XX line
59 bool "SAMSUNG S3C2440"
61 select S3C2410_COMMON_CLK
62 select S3C2410_PM if PM
63 select S3C2440_DMA if S3C24XX_DMA
65 Support for S3C2440 Samsung Mobile CPU based systems.
68 bool "SAMSUNG S3C2442"
70 select S3C2410_COMMON_CLK
71 select S3C2410_DMA if S3C24XX_DMA
72 select S3C2410_PM if PM
74 Support for S3C2442 Samsung Mobile CPU based systems.
78 depends on CPU_S3C2440 || CPU_S3C2442
79 select SAMSUNG_WDT_RESET
82 bool "SAMSUNG S3C2443"
84 select S3C2443_COMMON_CLK
85 select S3C2443_DMA if S3C24XX_DMA
87 Support for the S3C2443 SoC from the S3C24XX line
94 Common machine code for SMDK2410 and SMDK2440
96 config S3C24XX_SIMTEC_AUDIO
98 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
101 Add audio devices for common Simtec S3C24XX boards
103 config S3C24XX_SIMTEC_PM
106 Common power management code for systems that are
107 compatible with the Simtec style of power management
109 config S3C24XX_SIMTEC_USB
112 USB management code for common Simtec S3C24XX boards
114 config S3C24XX_SETUP_TS
117 Compile in platform device definition for Samsung TouchScreen.
120 bool "S3C2410 DMA support"
123 S3C2410 DMA support. This is needed for drivers like sound which
124 use the S3C2410's DMA system to move data to and from the
127 config S3C2410_DMA_DEBUG
128 bool "S3C2410 DMA support debug"
129 depends on S3C2410_DMA
131 Enable debugging output for the DMA code. This option sends info
132 to the kernel log, at priority KERN_DEBUG.
136 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
138 DMA device selection for S3C2410 and compatible CPUs
143 Power Management code common to S3C2410 and better
146 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
147 depends on ARM_S3C24XX_CPUFREQ
149 Compile in support for changing the PLL frequency from the
150 S3C24XX series CPUfreq driver. The PLL takes time to settle
151 after a frequency change, so by default it is not enabled.
153 This also means that the PLL tables for the selected CPU(s) will
154 be built which may increase the size of the kernel image.
156 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
158 config S3C2410_IOTIMING
160 depends on ARM_S3C24XX_CPUFREQ
162 Internal node to select io timing code that is common to the s3c2410
163 and s3c2440/s3c2442 cpu frequency support.
165 config S3C2410_CPUFREQ_UTILS
167 depends on ARM_S3C24XX_CPUFREQ
169 Internal node to select timing code that is common to the s3c2410
170 and s3c2440/s3c244 cpu frequency support.
172 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
174 config S3C2412_IOTIMING
176 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
178 Intel node to select io timing code that is common to the s3c2412
181 # cpu-specific sections
187 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
190 Select the PLL table for the S3C2410
192 config S3C24XX_SIMTEC_NOR
195 Internal node to specify machine has simtec NOR mapping
199 select HAVE_PATA_PLATFORM
201 Internal node for machines with an BAST style IDE
204 comment "S3C2410 Boards"
207 # The "S3C2410 Boards" list is ordered alphabetically by option text.
208 # (without ARCH_ or MACH_)
211 config MACH_AML_M5900
212 bool "AML M5900 Series"
213 select S3C24XX_SIMTEC_PM if PM
214 select S3C_DEV_USB_HOST
216 Say Y here if you are using the American Microsystems M5900 Series
217 <http://www.amltd.com>
220 bool "Simtec Electronics BAST (EB2410ITX)"
223 select S3C2410_COMMON_DCLK
224 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
225 select S3C24XX_SIMTEC_NOR
226 select S3C24XX_SIMTEC_PM if PM
227 select S3C24XX_SIMTEC_USB
230 select S3C_DEV_USB_HOST
232 Say Y here if you are using the Simtec Electronics EB2410ITX
233 development board (also known as BAST)
235 config BAST_PC104_IRQ
236 bool "BAST PC104 IRQ support"
240 Say Y here to enable the PC104 IRQ routing on the
241 Simtec BAST (EB2410ITX)
245 select PM_H1940 if PM
246 select S3C24XX_SETUP_TS
248 select S3C_DEV_USB_HOST
250 Say Y here if you are using the HP IPAQ H1940
253 tristate "Control the state of H1940 bluetooth chip"
254 depends on ARCH_H1940
257 This is a simple driver that is able to control
258 the state of built in bluetooth chip on h1940.
263 Internal node for H1940 and related PM
266 bool "Acer N30 family"
268 select S3C_DEV_USB_HOST
270 Say Y here if you want suppt for the Acer N30, Acer N35,
271 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
274 bool "NexVision OTOM Board"
276 select S3C_DEV_USB_HOST
278 Say Y here if you are using the Nex Vision OTOM board
283 select S3C_DEV_USB_HOST
285 Say Y here if you are using the Armzone QT2410
288 bool "SMDK2410/A9M2410"
290 select S3C_DEV_USB_HOST
292 Say Y here if you are using the SMDK2410 or the derived module A9M2410
293 <http://www.fsforth.de>
295 config MACH_TCT_HAMMER
296 bool "TCT Hammer Board"
297 select S3C_DEV_USB_HOST
299 Say Y here if you are using the TinCanTools Hammer Board
300 <http://www.tincantools.com>
303 bool "Thorcom VR1000"
305 select S3C2410_COMMON_DCLK
306 select S3C24XX_SIMTEC_NOR
307 select S3C24XX_SIMTEC_PM if PM
308 select S3C24XX_SIMTEC_USB
309 select S3C_DEV_USB_HOST
311 Say Y here if you are using the Thorcom VR1000 board.
315 config S3C2412_PM_SLEEP
318 Internal config node to apply sleep for S3C2412 power management.
319 Can be selected by another SoCs such as S3C2416 with similar
324 config CPU_S3C2412_ONLY
326 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
327 !CPU_S3C2442 && !CPU_S3C2443
333 Internal config node for S3C2412 DMA support
337 select S3C2412_PM_SLEEP
338 select SAMSUNG_WAKEMASK
340 Internal config node to apply S3C2412 power management
342 comment "S3C2412 Boards"
345 # The "S3C2412 Boards" list is ordered alphabetically by option text.
346 # (without ARCH_ or MACH_)
352 select S3C_DEV_USB_HOST
354 Say Y here if you are using the Logitech Jive.
356 config MACH_JIVE_SHOW_BOOTLOADER
357 bool "Allow access to bootloader partitions in MTD"
363 Internal node for S3C2413 version of SMDK2413, so that
364 machine_is_s3c2413() will work when MACH_SMDK2413 is
371 Say Y here if you are using an SMDK2412
373 Note, this shares support with SMDK2413, so will automatically
374 select MACH_SMDK2413.
381 select S3C_DEV_USB_HOST
383 Say Y here if you are using an SMDK2413
388 select S3C_DEV_USB_HOST
390 Say Y here if you are using an VSTMS board
398 select S3C2412_PM_SLEEP
400 Internal config node to apply S3C2416 power management
402 config S3C2416_SETUP_SDHCI
404 select S3C2416_SETUP_SDHCI_GPIO
406 Internal helper functions for S3C2416 based SDHCI systems
408 config S3C2416_SETUP_SDHCI_GPIO
411 Common setup code for SDHCI gpio.
413 comment "S3C2416 Boards"
417 select S3C2416_SETUP_SDHCI
421 select S3C_DEV_HSMMC1
423 select S3C_DEV_USB_HOST
425 Say Y here if you are using an SMDK2416
427 config MACH_S3C2416_DT
428 bool "Samsung S3C2416 machine using devicetree"
432 select PINCTRL_S3C24XX
434 Machine support for Samsung S3C2416 machines with device tree enabled.
435 Select this if a fdt blob is available for the S3C2416 SoC based board.
436 Note: This is under development and not all peripherals can be supported
437 with this machine file.
446 Support for S3C2440 specific DMA code5A
448 config S3C2440_XTAL_12000000
451 Indicate that the build needs to support 12MHz system
454 config S3C2440_XTAL_16934400
457 Indicate that the build needs to support 16.9344MHz system
460 config S3C2440_PLL_12000000
462 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
463 default y if S3C24XX_PLL
465 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
467 config S3C2440_PLL_16934400
469 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
470 default y if S3C24XX_PLL
472 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
474 comment "S3C2440 Boards"
477 # The "S3C2440 Boards" list is ordered alphabetically by option text.
478 # (without ARCH_ or MACH_)
482 bool "Simtec Electronics ANUBIS"
483 select HAVE_PATA_PLATFORM
484 select S3C2410_COMMON_DCLK
485 select S3C2440_XTAL_12000000
486 select S3C24XX_SIMTEC_PM if PM
487 select S3C_DEV_USB_HOST
489 Say Y here if you are using the Simtec Electronics ANUBIS
492 config MACH_AT2440EVB
493 bool "Avantech AT2440EVB development board"
495 select S3C_DEV_USB_HOST
497 Say Y here if you are using the AT2440EVB development board
500 bool "MINI2440 development board"
501 select EEPROM_AT24 if I2C
504 select LEDS_TRIGGER_BACKLIGHT
507 select S3C_DEV_USB_HOST
508 select S3C_SETUP_CAMIF
510 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
511 available via various sources. It can come with a 3.5" or 7" touch LCD.
513 config MACH_NEXCODER_2440
514 bool "NexVision NEXCODER 2440 Light Board"
515 select S3C2440_XTAL_12000000
517 select S3C_DEV_USB_HOST
519 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
522 bool "Simtec IM2440D20 (OSIRIS) module"
523 select S3C2410_COMMON_DCLK
524 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
525 select S3C2440_XTAL_12000000
526 select S3C24XX_SIMTEC_PM if PM
528 select S3C_DEV_USB_HOST
530 Say Y here if you are using the Simtec IM2440D20 module, also
533 config MACH_OSIRIS_DVS
534 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
535 depends on MACH_OSIRIS
538 Say Y/M here if you want to have dynamic voltage scaling support
539 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
541 The DVS driver alters the voltage supplied to the ARM core
542 depending on the frequency it is running at. The driver itself
543 does not do any of the frequency alteration, which is left up
544 to the cpufreq driver.
547 bool "HP iPAQ rx3715"
548 select PM_H1940 if PM
549 select S3C2440_XTAL_16934400
552 Say Y here if you are using the HP iPAQ rx3715.
556 select S3C2440_XTAL_16934400
559 select S3C_DEV_USB_HOST
561 Say Y here if you are using the SMDK2440.
563 config SMDK2440_CPU2440
564 bool "SMDK2440 with S3C2440 CPU module"
565 default y if ARCH_S3C2440
566 select S3C2440_XTAL_16934400
572 comment "S3C2442 Boards"
575 # The "S3C2442 Boards" list is ordered alphabetically by option text.
576 # (without ARCH_ or MACH_)
579 config MACH_NEO1973_GTA02
580 bool "Openmoko GTA02 / Freerunner phone"
586 select S3C_DEV_USB_HOST
588 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
591 bool "HP iPAQ rx1950"
593 select PM_H1940 if PM
594 select S3C2410_COMMON_DCLK
595 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
596 select S3C2440_XTAL_16934400
600 Say Y here if you're using HP iPAQ rx1950
604 if CPU_S3C2443 || CPU_S3C2416
609 Internal config node for S3C2443 DMA support
611 config S3C2443_SETUP_SPI
614 Common setup code for SPI GPIO configurations
616 endif # CPU_S3C2443 || CPU_S3C2416
620 comment "S3C2443 Boards"
625 select S3C_DEV_HSMMC1
627 Say Y here if you are using an SMDK2443
631 endmenu # SAMSUNG S3C24XX SoCs Support