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
21 menu "SAMSUNG S3C24XX SoCs Support"
23 comment "S3C24XX SoCs"
26 bool "SAMSUNG S3C2410"
29 select CPU_LLSERIAL_S3C2410
31 select S3C2410_CPUFREQ if CPU_FREQ_S3C24XX
32 select S3C2410_PM if PM
34 Support for S3C2410 and S3C2410A family from the S3C24XX line
35 of Samsung Mobile CPUs.
38 bool "SAMSUNG S3C2412"
40 select CPU_LLSERIAL_S3C2440
41 select S3C2412_DMA if S3C24XX_DMA
42 select S3C2412_PM if PM
44 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
47 bool "SAMSUNG S3C2416/S3C2450"
49 select CPU_LLSERIAL_S3C2440
50 select S3C2416_PM if PM
52 select S3C2443_DMA if S3C24XX_DMA
55 Support for the S3C2416 SoC from the S3C24XX line
58 bool "SAMSUNG S3C2440"
60 select CPU_LLSERIAL_S3C2440
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 CPU_LLSERIAL_S3C2440
72 select S3C2410_PM if PM
74 Support for S3C2442 Samsung Mobile CPU based systems.
78 depends on CPU_S3C2440 || CPU_S3C2442
81 bool "SAMSUNG S3C2443"
83 select CPU_LLSERIAL_S3C2440
85 select S3C2443_DMA if S3C24XX_DMA
88 Support for the S3C2443 SoC from the S3C24XX line
95 Clock code for the S3C2410, and similar processors which
96 is currently includes the S3C2410, S3C2440, S3C2442.
101 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
106 Common machine code for SMDK2410 and SMDK2440
108 config S3C24XX_SIMTEC_AUDIO
110 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
113 Add audio devices for common Simtec S3C24XX boards
115 config S3C24XX_SIMTEC_PM
118 Common power management code for systems that are
119 compatible with the Simtec style of power management
121 config S3C24XX_SIMTEC_USB
124 USB management code for common Simtec S3C24XX boards
126 config S3C24XX_SETUP_TS
129 Compile in platform device definition for Samsung TouchScreen.
132 bool "S3C2410 DMA support"
135 S3C2410 DMA support. This is needed for drivers like sound which
136 use the S3C2410's DMA system to move data to and from the
139 config S3C2410_DMA_DEBUG
140 bool "S3C2410 DMA support debug"
141 depends on S3C2410_DMA
143 Enable debugging output for the DMA code. This option sends info
144 to the kernel log, at priority KERN_DEBUG.
148 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
149 default y if CPU_S3C2410 || CPU_S3C2442
151 DMA device selection for S3C2410 and compatible CPUs
156 Power Management code common to S3C2410 and better
158 # low-level serial option nodes
160 config CPU_LLSERIAL_S3C2410_ONLY
162 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
164 config CPU_LLSERIAL_S3C2440_ONLY
166 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
168 config CPU_LLSERIAL_S3C2410
171 Selected if there is an S3C2410 (or register compatible) serial
172 low-level implementation needed
174 config CPU_LLSERIAL_S3C2440
177 Selected if there is an S3C2440 (or register compatible) serial
178 low-level implementation needed
180 # gpio configurations
182 config S3C24XX_GPIO_EXTRA
184 default 128 if S3C24XX_GPIO_EXTRA128
185 default 64 if S3C24XX_GPIO_EXTRA64
186 default 16 if ARCH_H1940
189 config S3C24XX_GPIO_EXTRA64
192 Add an extra 64 gpio numbers to the available GPIO pool. This is
193 available for boards that need extra gpios for external devices.
195 config S3C24XX_GPIO_EXTRA128
198 Add an extra 128 gpio numbers to the available GPIO pool. This is
199 available for boards that need extra gpios for external devices.
201 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
203 config S3C2410_IOTIMING
205 depends on CPU_FREQ_S3C24XX
207 Internal node to select io timing code that is common to the s3c2410
208 and s3c2440/s3c2442 cpu frequency support.
210 config S3C2410_CPUFREQ_UTILS
212 depends on CPU_FREQ_S3C24XX
214 Internal node to select timing code that is common to the s3c2410
215 and s3c2440/s3c244 cpu frequency support.
217 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
219 config S3C2412_IOTIMING
221 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
223 Intel node to select io timing code that is common to the s3c2412
226 # cpu-specific sections
230 config S3C2410_CPUFREQ
232 depends on CPU_FREQ_S3C24XX
233 select S3C2410_CPUFREQ_UTILS
235 CPU Frequency scaling support for S3C2410
239 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
242 Select the PLL table for the S3C2410
244 config S3C24XX_SIMTEC_NOR
247 Internal node to specify machine has simtec NOR mapping
251 select HAVE_PATA_PLATFORM
253 Internal node for machines with an BAST style IDE
256 comment "S3C2410 Boards"
259 # The "S3C2410 Boards" list is ordered alphabetically by option text.
260 # (without ARCH_ or MACH_)
263 config MACH_AML_M5900
264 bool "AML M5900 Series"
265 select S3C24XX_SIMTEC_PM if PM
266 select S3C_DEV_USB_HOST
268 Say Y here if you are using the American Microsystems M5900 Series
269 <http://www.amltd.com>
272 bool "Simtec Electronics BAST (EB2410ITX)"
275 select S3C2410_IOTIMING if S3C2410_CPUFREQ
277 select S3C24XX_SIMTEC_NOR
278 select S3C24XX_SIMTEC_PM if PM
279 select S3C24XX_SIMTEC_USB
282 select S3C_DEV_USB_HOST
284 Say Y here if you are using the Simtec Electronics EB2410ITX
285 development board (also known as BAST)
287 config BAST_PC104_IRQ
288 bool "BAST PC104 IRQ support"
292 Say Y here to enable the PC104 IRQ routing on the
293 Simtec BAST (EB2410ITX)
297 select PM_H1940 if PM
298 select S3C24XX_SETUP_TS
300 select S3C_DEV_USB_HOST
302 Say Y here if you are using the HP IPAQ H1940
305 tristate "Control the state of H1940 bluetooth chip"
306 depends on ARCH_H1940
309 This is a simple driver that is able to control
310 the state of built in bluetooth chip on h1940.
315 Internal node for H1940 and related PM
318 bool "Acer N30 family"
320 select S3C_DEV_USB_HOST
322 Say Y here if you want suppt for the Acer N30, Acer N35,
323 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
326 bool "NexVision OTOM Board"
328 select S3C_DEV_USB_HOST
330 Say Y here if you are using the Nex Vision OTOM board
335 select S3C_DEV_USB_HOST
337 Say Y here if you are using the Armzone QT2410
340 bool "SMDK2410/A9M2410"
342 select S3C_DEV_USB_HOST
344 Say Y here if you are using the SMDK2410 or the derived module A9M2410
345 <http://www.fsforth.de>
347 config MACH_TCT_HAMMER
348 bool "TCT Hammer Board"
349 select S3C_DEV_USB_HOST
351 Say Y here if you are using the TinCanTools Hammer Board
352 <http://www.tincantools.com>
355 bool "Thorcom VR1000"
358 select S3C24XX_SIMTEC_NOR
359 select S3C24XX_SIMTEC_PM if PM
360 select S3C24XX_SIMTEC_USB
361 select S3C_DEV_USB_HOST
363 Say Y here if you are using the Thorcom VR1000 board.
367 config S3C2412_PM_SLEEP
370 Internal config node to apply sleep for S3C2412 power management.
371 Can be selected by another SoCs such as S3C2416 with similar
376 config CPU_S3C2412_ONLY
378 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
379 !CPU_S3C2442 && !CPU_S3C2443
382 config S3C2412_CPUFREQ
384 depends on CPU_FREQ_S3C24XX
386 select S3C2412_IOTIMING
388 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
393 Internal config node for S3C2412 DMA support
397 select S3C2412_PM_SLEEP
399 Internal config node to apply S3C2412 power management
401 comment "S3C2412 Boards"
404 # The "S3C2412 Boards" list is ordered alphabetically by option text.
405 # (without ARCH_ or MACH_)
411 select S3C_DEV_USB_HOST
413 Say Y here if you are using the Logitech Jive.
415 config MACH_JIVE_SHOW_BOOTLOADER
416 bool "Allow access to bootloader partitions in MTD"
422 Internal node for S3C2413 version of SMDK2413, so that
423 machine_is_s3c2413() will work when MACH_SMDK2413 is
430 Say Y here if you are using an SMDK2412
432 Note, this shares support with SMDK2413, so will automatically
433 select MACH_SMDK2413.
440 select S3C_DEV_USB_HOST
442 Say Y here if you are using an SMDK2413
447 select S3C_DEV_USB_HOST
449 Say Y here if you are using an VSTMS board
457 select S3C2412_PM_SLEEP
459 Internal config node to apply S3C2416 power management
461 config S3C2416_SETUP_SDHCI
463 select S3C2416_SETUP_SDHCI_GPIO
465 Internal helper functions for S3C2416 based SDHCI systems
467 config S3C2416_SETUP_SDHCI_GPIO
470 Common setup code for SDHCI gpio.
472 comment "S3C2416 Boards"
476 select S3C2416_SETUP_SDHCI
480 select S3C_DEV_HSMMC1
482 select S3C_DEV_USB_HOST
484 Say Y here if you are using an SMDK2416
490 config S3C2440_CPUFREQ
491 bool "S3C2440/S3C2442 CPU Frequency scaling support"
492 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
494 select S3C2410_CPUFREQ_UTILS
496 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
501 Support for S3C2440 specific DMA code5A
503 config S3C2440_XTAL_12000000
506 Indicate that the build needs to support 12MHz system
509 config S3C2440_XTAL_16934400
512 Indicate that the build needs to support 16.9344MHz system
515 config S3C2440_PLL_12000000
517 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
518 default y if CPU_FREQ_S3C24XX_PLL
520 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
522 config S3C2440_PLL_16934400
524 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
525 default y if CPU_FREQ_S3C24XX_PLL
527 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
529 comment "S3C2440 Boards"
532 # The "S3C2440 Boards" list is ordered alphabetically by option text.
533 # (without ARCH_ or MACH_)
537 bool "Simtec Electronics ANUBIS"
538 select HAVE_PATA_PLATFORM
539 select S3C2440_XTAL_12000000
541 select S3C24XX_GPIO_EXTRA64
542 select S3C24XX_SIMTEC_PM if PM
543 select S3C_DEV_USB_HOST
545 Say Y here if you are using the Simtec Electronics ANUBIS
548 config MACH_AT2440EVB
549 bool "Avantech AT2440EVB development board"
551 select S3C_DEV_USB_HOST
553 Say Y here if you are using the AT2440EVB development board
556 bool "MINI2440 development board"
560 select LEDS_TRIGGER_BACKLIGHT
563 select S3C_DEV_USB_HOST
564 select S3C_SETUP_CAMIF
566 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
567 available via various sources. It can come with a 3.5" or 7" touch LCD.
569 config MACH_NEXCODER_2440
570 bool "NexVision NEXCODER 2440 Light Board"
571 select S3C2440_XTAL_12000000
573 select S3C_DEV_USB_HOST
575 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
578 bool "Simtec IM2440D20 (OSIRIS) module"
579 select S3C2410_IOTIMING if S3C2440_CPUFREQ
580 select S3C2440_XTAL_12000000
582 select S3C24XX_GPIO_EXTRA128
583 select S3C24XX_SIMTEC_PM if PM
585 select S3C_DEV_USB_HOST
587 Say Y here if you are using the Simtec IM2440D20 module, also
590 config MACH_OSIRIS_DVS
591 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
592 depends on MACH_OSIRIS
595 Say Y/M here if you want to have dynamic voltage scaling support
596 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
598 The DVS driver alters the voltage supplied to the ARM core
599 depending on the frequency it is running at. The driver itself
600 does not do any of the frequency alteration, which is left up
601 to the cpufreq driver.
604 bool "HP iPAQ rx3715"
605 select PM_H1940 if PM
606 select S3C2440_XTAL_16934400
609 Say Y here if you are using the HP iPAQ rx3715.
613 select S3C2440_XTAL_16934400
616 select S3C_DEV_USB_HOST
618 Say Y here if you are using the SMDK2440.
620 config SMDK2440_CPU2440
621 bool "SMDK2440 with S3C2440 CPU module"
622 default y if ARCH_S3C2440
623 select S3C2440_XTAL_16934400
629 comment "S3C2442 Boards"
632 # The "S3C2442 Boards" list is ordered alphabetically by option text.
633 # (without ARCH_ or MACH_)
636 config MACH_NEO1973_GTA02
637 bool "Openmoko GTA02 / Freerunner phone"
643 select S3C_DEV_USB_HOST
645 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
648 bool "HP iPAQ rx1950"
650 select PM_H1940 if PM
651 select S3C2410_IOTIMING if S3C2440_CPUFREQ
652 select S3C2440_XTAL_16934400
657 Say Y here if you're using HP iPAQ rx1950
661 if CPU_S3C2443 || CPU_S3C2416
663 config S3C2443_COMMON
666 Common code for the S3C2443 and similar processors, which includes
667 the S3C2416 and S3C2450.
672 Internal config node for S3C2443 DMA support
674 config S3C2443_SETUP_SPI
677 Common setup code for SPI GPIO configurations
679 endif # CPU_S3C2443 || CPU_S3C2416
683 comment "S3C2443 Boards"
688 select S3C_DEV_HSMMC1
690 Say Y here if you are using an SMDK2443
694 endmenu # SAMSUNG S3C24XX SoCs Support