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"
39 depends on ARCH_S3C24XX
41 select CPU_LLSERIAL_S3C2440
42 select S3C2412_DMA if S3C24XX_DMA
43 select S3C2412_PM if PM
45 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
48 bool "SAMSUNG S3C2416/S3C2450"
49 depends on ARCH_S3C24XX
51 select CPU_LLSERIAL_S3C2440
52 select S3C2416_PM if PM
54 select S3C2443_DMA if S3C24XX_DMA
57 Support for the S3C2416 SoC from the S3C24XX line
60 bool "SAMSUNG S3C2440"
62 select CPU_LLSERIAL_S3C2440
64 select S3C2410_PM if PM
65 select S3C2440_DMA if S3C24XX_DMA
67 Support for S3C2440 Samsung Mobile CPU based systems.
70 bool "SAMSUNG S3C2442"
72 select CPU_LLSERIAL_S3C2440
74 select S3C2410_PM if PM
76 Support for S3C2442 Samsung Mobile CPU based systems.
80 depends on CPU_S3C2440 || CPU_S3C2442
83 bool "SAMSUNG S3C2443"
84 depends on ARCH_S3C24XX
86 select CPU_LLSERIAL_S3C2440
88 select S3C2443_DMA if S3C24XX_DMA
91 Support for the S3C2443 SoC from the S3C24XX line
98 Clock code for the S3C2410, and similar processors which
99 is currently includes the S3C2410, S3C2440, S3C2442.
104 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
109 Common machine code for SMDK2410 and SMDK2440
111 config S3C24XX_SIMTEC_AUDIO
113 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
116 Add audio devices for common Simtec S3C24XX boards
118 config S3C24XX_SIMTEC_PM
121 Common power management code for systems that are
122 compatible with the Simtec style of power management
124 config S3C24XX_SIMTEC_USB
127 USB management code for common Simtec S3C24XX boards
129 config S3C24XX_SETUP_TS
132 Compile in platform device definition for Samsung TouchScreen.
135 bool "S3C2410 DMA support"
136 depends on ARCH_S3C24XX
139 S3C2410 DMA support. This is needed for drivers like sound which
140 use the S3C2410's DMA system to move data to and from the
143 config S3C2410_DMA_DEBUG
144 bool "S3C2410 DMA support debug"
145 depends on ARCH_S3C24XX && S3C2410_DMA
147 Enable debugging output for the DMA code. This option sends info
148 to the kernel log, at priority KERN_DEBUG.
152 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
153 default y if CPU_S3C2410 || CPU_S3C2442
155 DMA device selection for S3C2410 and compatible CPUs
160 Power Management code common to S3C2410 and better
162 # low-level serial option nodes
164 config CPU_LLSERIAL_S3C2410_ONLY
166 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
168 config CPU_LLSERIAL_S3C2440_ONLY
170 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
172 config CPU_LLSERIAL_S3C2410
175 Selected if there is an S3C2410 (or register compatible) serial
176 low-level implementation needed
178 config CPU_LLSERIAL_S3C2440
181 Selected if there is an S3C2440 (or register compatible) serial
182 low-level implementation needed
184 # gpio configurations
186 config S3C24XX_GPIO_EXTRA
188 default 128 if S3C24XX_GPIO_EXTRA128
189 default 64 if S3C24XX_GPIO_EXTRA64
190 default 16 if ARCH_H1940
193 config S3C24XX_GPIO_EXTRA64
196 Add an extra 64 gpio numbers to the available GPIO pool. This is
197 available for boards that need extra gpios for external devices.
199 config S3C24XX_GPIO_EXTRA128
202 Add an extra 128 gpio numbers to the available GPIO pool. This is
203 available for boards that need extra gpios for external devices.
205 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
207 config S3C2410_IOTIMING
209 depends on CPU_FREQ_S3C24XX
211 Internal node to select io timing code that is common to the s3c2410
212 and s3c2440/s3c2442 cpu frequency support.
214 config S3C2410_CPUFREQ_UTILS
216 depends on CPU_FREQ_S3C24XX
218 Internal node to select timing code that is common to the s3c2410
219 and s3c2440/s3c244 cpu frequency support.
221 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
223 config S3C2412_IOTIMING
225 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
227 Intel node to select io timing code that is common to the s3c2412
230 # cpu-specific sections
234 config S3C2410_CPUFREQ
236 depends on CPU_FREQ_S3C24XX && CPU_S3C2410
237 select S3C2410_CPUFREQ_UTILS
239 CPU Frequency scaling support for S3C2410
243 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
246 Select the PLL table for the S3C2410
248 config S3C24XX_SIMTEC_NOR
251 Internal node to specify machine has simtec NOR mapping
255 select HAVE_PATA_PLATFORM
257 Internal node for machines with an BAST style IDE
260 comment "S3C2410 Boards"
263 # The "S3C2410 Boards" list is ordered alphabetically by option text.
264 # (without ARCH_ or MACH_)
267 config MACH_AML_M5900
268 bool "AML M5900 Series"
269 select S3C24XX_SIMTEC_PM if PM
270 select S3C_DEV_USB_HOST
272 Say Y here if you are using the American Microsystems M5900 Series
273 <http://www.amltd.com>
276 bool "Simtec Electronics BAST (EB2410ITX)"
279 select S3C2410_IOTIMING if S3C2410_CPUFREQ
281 select S3C24XX_SIMTEC_NOR
282 select S3C24XX_SIMTEC_PM if PM
283 select S3C24XX_SIMTEC_USB
286 select S3C_DEV_USB_HOST
288 Say Y here if you are using the Simtec Electronics EB2410ITX
289 development board (also known as BAST)
291 config BAST_PC104_IRQ
292 bool "BAST PC104 IRQ support"
296 Say Y here to enable the PC104 IRQ routing on the
297 Simtec BAST (EB2410ITX)
301 select PM_H1940 if PM
302 select S3C24XX_SETUP_TS
304 select S3C_DEV_USB_HOST
306 Say Y here if you are using the HP IPAQ H1940
309 tristate "Control the state of H1940 bluetooth chip"
310 depends on ARCH_H1940
313 This is a simple driver that is able to control
314 the state of built in bluetooth chip on h1940.
319 Internal node for H1940 and related PM
322 bool "Acer N30 family"
324 select S3C_DEV_USB_HOST
326 Say Y here if you want suppt for the Acer N30, Acer N35,
327 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
330 bool "NexVision OTOM Board"
332 select S3C_DEV_USB_HOST
334 Say Y here if you are using the Nex Vision OTOM board
339 select S3C_DEV_USB_HOST
341 Say Y here if you are using the Armzone QT2410
344 bool "SMDK2410/A9M2410"
346 select S3C_DEV_USB_HOST
348 Say Y here if you are using the SMDK2410 or the derived module A9M2410
349 <http://www.fsforth.de>
351 config MACH_TCT_HAMMER
352 bool "TCT Hammer Board"
353 select S3C_DEV_USB_HOST
355 Say Y here if you are using the TinCanTools Hammer Board
356 <http://www.tincantools.com>
359 bool "Thorcom VR1000"
362 select S3C24XX_SIMTEC_NOR
363 select S3C24XX_SIMTEC_PM if PM
364 select S3C24XX_SIMTEC_USB
365 select S3C_DEV_USB_HOST
367 Say Y here if you are using the Thorcom VR1000 board.
371 config S3C2412_PM_SLEEP
374 Internal config node to apply sleep for S3C2412 power management.
375 Can be selected by another SoCs such as S3C2416 with similar
380 config CPU_S3C2412_ONLY
382 depends on ARCH_S3C24XX && !CPU_S3C2410 && \
383 !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
384 !CPU_S3C2443 && CPU_S3C2412
387 config S3C2412_CPUFREQ
389 depends on CPU_FREQ_S3C24XX && CPU_S3C2412
391 select S3C2412_IOTIMING
393 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
398 Internal config node for S3C2412 DMA support
402 select S3C2412_PM_SLEEP
404 Internal config node to apply S3C2412 power management
406 comment "S3C2412 Boards"
409 # The "S3C2412 Boards" list is ordered alphabetically by option text.
410 # (without ARCH_ or MACH_)
416 select S3C_DEV_USB_HOST
418 Say Y here if you are using the Logitech Jive.
420 config MACH_JIVE_SHOW_BOOTLOADER
421 bool "Allow access to bootloader partitions in MTD"
427 Internal node for S3C2413 version of SMDK2413, so that
428 machine_is_s3c2413() will work when MACH_SMDK2413 is
435 Say Y here if you are using an SMDK2412
437 Note, this shares support with SMDK2413, so will automatically
438 select MACH_SMDK2413.
445 select S3C_DEV_USB_HOST
447 Say Y here if you are using an SMDK2413
452 select S3C_DEV_USB_HOST
454 Say Y here if you are using an VSTMS board
462 select S3C2412_PM_SLEEP
464 Internal config node to apply S3C2416 power management
466 config S3C2416_SETUP_SDHCI
468 select S3C2416_SETUP_SDHCI_GPIO
470 Internal helper functions for S3C2416 based SDHCI systems
472 config S3C2416_SETUP_SDHCI_GPIO
475 Common setup code for SDHCI gpio.
477 comment "S3C2416 Boards"
481 select S3C2416_SETUP_SDHCI
485 select S3C_DEV_HSMMC1
487 select S3C_DEV_USB_HOST
489 Say Y here if you are using an SMDK2416
495 config S3C2440_CPUFREQ
496 bool "S3C2440/S3C2442 CPU Frequency scaling support"
497 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
499 select S3C2410_CPUFREQ_UTILS
501 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
506 Support for S3C2440 specific DMA code5A
508 config S3C2440_XTAL_12000000
511 Indicate that the build needs to support 12MHz system
514 config S3C2440_XTAL_16934400
517 Indicate that the build needs to support 16.9344MHz system
520 config S3C2440_PLL_12000000
522 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
523 default y if CPU_FREQ_S3C24XX_PLL
525 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
527 config S3C2440_PLL_16934400
529 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
530 default y if CPU_FREQ_S3C24XX_PLL
532 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
534 comment "S3C2440 Boards"
537 # The "S3C2440 Boards" list is ordered alphabetically by option text.
538 # (without ARCH_ or MACH_)
542 bool "Simtec Electronics ANUBIS"
543 select HAVE_PATA_PLATFORM
544 select S3C2440_XTAL_12000000
546 select S3C24XX_GPIO_EXTRA64
547 select S3C24XX_SIMTEC_PM if PM
548 select S3C_DEV_USB_HOST
550 Say Y here if you are using the Simtec Electronics ANUBIS
553 config MACH_AT2440EVB
554 bool "Avantech AT2440EVB development board"
556 select S3C_DEV_USB_HOST
558 Say Y here if you are using the AT2440EVB development board
561 bool "MINI2440 development board"
565 select LEDS_TRIGGER_BACKLIGHT
568 select S3C_DEV_USB_HOST
569 select S3C_SETUP_CAMIF
571 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
572 available via various sources. It can come with a 3.5" or 7" touch LCD.
574 config MACH_NEXCODER_2440
575 bool "NexVision NEXCODER 2440 Light Board"
576 select S3C2440_XTAL_12000000
578 select S3C_DEV_USB_HOST
580 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
583 bool "Simtec IM2440D20 (OSIRIS) module"
584 select S3C2410_IOTIMING if S3C2440_CPUFREQ
585 select S3C2440_XTAL_12000000
587 select S3C24XX_GPIO_EXTRA128
588 select S3C24XX_SIMTEC_PM if PM
590 select S3C_DEV_USB_HOST
592 Say Y here if you are using the Simtec IM2440D20 module, also
595 config MACH_OSIRIS_DVS
596 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
597 depends on MACH_OSIRIS
600 Say Y/M here if you want to have dynamic voltage scaling support
601 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
603 The DVS driver alters the voltage supplied to the ARM core
604 depending on the frequency it is running at. The driver itself
605 does not do any of the frequency alteration, which is left up
606 to the cpufreq driver.
609 bool "HP iPAQ rx3715"
610 select PM_H1940 if PM
611 select S3C2440_XTAL_16934400
614 Say Y here if you are using the HP iPAQ rx3715.
618 select S3C2440_XTAL_16934400
621 select S3C_DEV_USB_HOST
623 Say Y here if you are using the SMDK2440.
625 config SMDK2440_CPU2440
626 bool "SMDK2440 with S3C2440 CPU module"
627 default y if ARCH_S3C2440
628 select S3C2440_XTAL_16934400
634 comment "S3C2442 Boards"
637 # The "S3C2442 Boards" list is ordered alphabetically by option text.
638 # (without ARCH_ or MACH_)
641 config MACH_NEO1973_GTA02
642 bool "Openmoko GTA02 / Freerunner phone"
648 select S3C_DEV_USB_HOST
650 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
653 bool "HP iPAQ rx1950"
655 select PM_H1940 if PM
656 select S3C2410_IOTIMING if S3C2440_CPUFREQ
657 select S3C2440_XTAL_16934400
662 Say Y here if you're using HP iPAQ rx1950
666 if CPU_S3C2443 || CPU_S3C2416
668 config S3C2443_COMMON
671 Common code for the S3C2443 and similar processors, which includes
672 the S3C2416 and S3C2450.
677 Internal config node for S3C2443 DMA support
679 config S3C2443_SETUP_SPI
682 Common setup code for SPI GPIO configurations
684 endif # CPU_S3C2443 || CPU_S3C2416
688 comment "S3C2443 Boards"
693 select S3C_DEV_HSMMC1
695 Say Y here if you are using an SMDK2443
699 endmenu # SAMSUNG S3C24XX SoCs Support