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 ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
32 select S3C2410_PM if PM
33 select SAMSUNG_WDT_RESET
35 Support for S3C2410 and S3C2410A family from the S3C24XX line
36 of Samsung Mobile CPUs.
39 bool "SAMSUNG S3C2412"
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"
50 select CPU_LLSERIAL_S3C2440
51 select S3C2416_PM if PM
53 select S3C2443_DMA if S3C24XX_DMA
56 Support for the S3C2416 SoC from the S3C24XX line
59 bool "SAMSUNG S3C2440"
61 select CPU_LLSERIAL_S3C2440
63 select S3C2410_PM if PM
64 select S3C2440_DMA if S3C24XX_DMA
66 Support for S3C2440 Samsung Mobile CPU based systems.
69 bool "SAMSUNG S3C2442"
71 select CPU_LLSERIAL_S3C2440
73 select S3C2410_PM if PM
75 Support for S3C2442 Samsung Mobile CPU based systems.
79 depends on CPU_S3C2440 || CPU_S3C2442
80 select SAMSUNG_WDT_RESET
83 bool "SAMSUNG S3C2443"
85 select CPU_LLSERIAL_S3C2440
87 select S3C2443_DMA if S3C24XX_DMA
90 Support for the S3C2443 SoC from the S3C24XX line
97 Clock code for the S3C2410, and similar processors which
98 is currently includes the S3C2410, S3C2440, S3C2442.
103 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
108 Common machine code for SMDK2410 and SMDK2440
110 config S3C24XX_SIMTEC_AUDIO
112 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
115 Add audio devices for common Simtec S3C24XX boards
117 config S3C24XX_SIMTEC_PM
120 Common power management code for systems that are
121 compatible with the Simtec style of power management
123 config S3C24XX_SIMTEC_USB
126 USB management code for common Simtec S3C24XX boards
128 config S3C24XX_SETUP_TS
131 Compile in platform device definition for Samsung TouchScreen.
134 bool "S3C2410 DMA support"
137 S3C2410 DMA support. This is needed for drivers like sound which
138 use the S3C2410's DMA system to move data to and from the
141 config S3C2410_DMA_DEBUG
142 bool "S3C2410 DMA support debug"
143 depends on S3C2410_DMA
145 Enable debugging output for the DMA code. This option sends info
146 to the kernel log, at priority KERN_DEBUG.
150 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
151 default y if CPU_S3C2410 || CPU_S3C2442
153 DMA device selection for S3C2410 and compatible CPUs
158 Power Management code common to S3C2410 and better
160 # low-level serial option nodes
162 config CPU_LLSERIAL_S3C2410_ONLY
164 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
166 config CPU_LLSERIAL_S3C2440_ONLY
168 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
170 config CPU_LLSERIAL_S3C2410
173 Selected if there is an S3C2410 (or register compatible) serial
174 low-level implementation needed
176 config CPU_LLSERIAL_S3C2440
179 Selected if there is an S3C2440 (or register compatible) serial
180 low-level implementation needed
182 # gpio configurations
184 config S3C24XX_GPIO_EXTRA
186 default 128 if S3C24XX_GPIO_EXTRA128
187 default 64 if S3C24XX_GPIO_EXTRA64
188 default 16 if ARCH_H1940
191 config S3C24XX_GPIO_EXTRA64
194 Add an extra 64 gpio numbers to the available GPIO pool. This is
195 available for boards that need extra gpios for external devices.
197 config S3C24XX_GPIO_EXTRA128
200 Add an extra 128 gpio numbers to the available GPIO pool. This is
201 available for boards that need extra gpios for external devices.
204 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
205 depends on ARM_S3C24XX_CPUFREQ
207 Compile in support for changing the PLL frequency from the
208 S3C24XX series CPUfreq driver. The PLL takes time to settle
209 after a frequency change, so by default it is not enabled.
211 This also means that the PLL tables for the selected CPU(s) will
212 be built which may increase the size of the kernel image.
214 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
216 config S3C2410_IOTIMING
218 depends on ARM_S3C24XX_CPUFREQ
220 Internal node to select io timing code that is common to the s3c2410
221 and s3c2440/s3c2442 cpu frequency support.
223 config S3C2410_CPUFREQ_UTILS
225 depends on ARM_S3C24XX_CPUFREQ
227 Internal node to select timing code that is common to the s3c2410
228 and s3c2440/s3c244 cpu frequency support.
230 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
232 config S3C2412_IOTIMING
234 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
236 Intel node to select io timing code that is common to the s3c2412
239 # cpu-specific sections
245 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
248 Select the PLL table for the S3C2410
250 config S3C24XX_SIMTEC_NOR
253 Internal node to specify machine has simtec NOR mapping
257 select HAVE_PATA_PLATFORM
259 Internal node for machines with an BAST style IDE
262 comment "S3C2410 Boards"
265 # The "S3C2410 Boards" list is ordered alphabetically by option text.
266 # (without ARCH_ or MACH_)
269 config MACH_AML_M5900
270 bool "AML M5900 Series"
271 select S3C24XX_SIMTEC_PM if PM
272 select S3C_DEV_USB_HOST
274 Say Y here if you are using the American Microsystems M5900 Series
275 <http://www.amltd.com>
278 bool "Simtec Electronics BAST (EB2410ITX)"
281 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
283 select S3C24XX_SIMTEC_NOR
284 select S3C24XX_SIMTEC_PM if PM
285 select S3C24XX_SIMTEC_USB
288 select S3C_DEV_USB_HOST
290 Say Y here if you are using the Simtec Electronics EB2410ITX
291 development board (also known as BAST)
293 config BAST_PC104_IRQ
294 bool "BAST PC104 IRQ support"
298 Say Y here to enable the PC104 IRQ routing on the
299 Simtec BAST (EB2410ITX)
303 select PM_H1940 if PM
304 select S3C24XX_SETUP_TS
306 select S3C_DEV_USB_HOST
308 Say Y here if you are using the HP IPAQ H1940
311 tristate "Control the state of H1940 bluetooth chip"
312 depends on ARCH_H1940
315 This is a simple driver that is able to control
316 the state of built in bluetooth chip on h1940.
321 Internal node for H1940 and related PM
324 bool "Acer N30 family"
326 select S3C_DEV_USB_HOST
328 Say Y here if you want suppt for the Acer N30, Acer N35,
329 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
332 bool "NexVision OTOM Board"
334 select S3C_DEV_USB_HOST
336 Say Y here if you are using the Nex Vision OTOM board
341 select S3C_DEV_USB_HOST
343 Say Y here if you are using the Armzone QT2410
346 bool "SMDK2410/A9M2410"
348 select S3C_DEV_USB_HOST
350 Say Y here if you are using the SMDK2410 or the derived module A9M2410
351 <http://www.fsforth.de>
353 config MACH_TCT_HAMMER
354 bool "TCT Hammer Board"
355 select S3C_DEV_USB_HOST
357 Say Y here if you are using the TinCanTools Hammer Board
358 <http://www.tincantools.com>
361 bool "Thorcom VR1000"
364 select S3C24XX_SIMTEC_NOR
365 select S3C24XX_SIMTEC_PM if PM
366 select S3C24XX_SIMTEC_USB
367 select S3C_DEV_USB_HOST
369 Say Y here if you are using the Thorcom VR1000 board.
373 config S3C2412_PM_SLEEP
376 Internal config node to apply sleep for S3C2412 power management.
377 Can be selected by another SoCs such as S3C2416 with similar
382 config CPU_S3C2412_ONLY
384 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
385 !CPU_S3C2442 && !CPU_S3C2443
391 Internal config node for S3C2412 DMA support
395 select S3C2412_PM_SLEEP
396 select SAMSUNG_WAKEMASK
398 Internal config node to apply S3C2412 power management
400 comment "S3C2412 Boards"
403 # The "S3C2412 Boards" list is ordered alphabetically by option text.
404 # (without ARCH_ or MACH_)
410 select S3C_DEV_USB_HOST
412 Say Y here if you are using the Logitech Jive.
414 config MACH_JIVE_SHOW_BOOTLOADER
415 bool "Allow access to bootloader partitions in MTD"
421 Internal node for S3C2413 version of SMDK2413, so that
422 machine_is_s3c2413() will work when MACH_SMDK2413 is
429 Say Y here if you are using an SMDK2412
431 Note, this shares support with SMDK2413, so will automatically
432 select MACH_SMDK2413.
439 select S3C_DEV_USB_HOST
441 Say Y here if you are using an SMDK2413
446 select S3C_DEV_USB_HOST
448 Say Y here if you are using an VSTMS board
456 select S3C2412_PM_SLEEP
458 Internal config node to apply S3C2416 power management
460 config S3C2416_SETUP_SDHCI
462 select S3C2416_SETUP_SDHCI_GPIO
464 Internal helper functions for S3C2416 based SDHCI systems
466 config S3C2416_SETUP_SDHCI_GPIO
469 Common setup code for SDHCI gpio.
471 comment "S3C2416 Boards"
475 select S3C2416_SETUP_SDHCI
479 select S3C_DEV_HSMMC1
481 select S3C_DEV_USB_HOST
483 Say Y here if you are using an SMDK2416
485 config MACH_S3C2416_DT
486 bool "Samsung S3C2416 machine using devicetree"
490 select PINCTRL_S3C24XX
492 Machine support for Samsung S3C2416 machines with device tree enabled.
493 Select this if a fdt blob is available for the S3C2416 SoC based board.
494 Note: This is under development and not all peripherals can be supported
495 with this machine file.
504 Support for S3C2440 specific DMA code5A
506 config S3C2440_XTAL_12000000
509 Indicate that the build needs to support 12MHz system
512 config S3C2440_XTAL_16934400
515 Indicate that the build needs to support 16.9344MHz system
518 config S3C2440_PLL_12000000
520 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
521 default y if S3C24XX_PLL
523 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
525 config S3C2440_PLL_16934400
527 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
528 default y if S3C24XX_PLL
530 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
532 comment "S3C2440 Boards"
535 # The "S3C2440 Boards" list is ordered alphabetically by option text.
536 # (without ARCH_ or MACH_)
540 bool "Simtec Electronics ANUBIS"
541 select HAVE_PATA_PLATFORM
542 select S3C2440_XTAL_12000000
544 select S3C24XX_GPIO_EXTRA64
545 select S3C24XX_SIMTEC_PM if PM
546 select S3C_DEV_USB_HOST
548 Say Y here if you are using the Simtec Electronics ANUBIS
551 config MACH_AT2440EVB
552 bool "Avantech AT2440EVB development board"
554 select S3C_DEV_USB_HOST
556 Say Y here if you are using the AT2440EVB development board
559 bool "MINI2440 development board"
563 select LEDS_TRIGGER_BACKLIGHT
566 select S3C_DEV_USB_HOST
567 select S3C_SETUP_CAMIF
569 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
570 available via various sources. It can come with a 3.5" or 7" touch LCD.
572 config MACH_NEXCODER_2440
573 bool "NexVision NEXCODER 2440 Light Board"
574 select S3C2440_XTAL_12000000
576 select S3C_DEV_USB_HOST
578 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
581 bool "Simtec IM2440D20 (OSIRIS) module"
582 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
583 select S3C2440_XTAL_12000000
585 select S3C24XX_GPIO_EXTRA128
586 select S3C24XX_SIMTEC_PM if PM
588 select S3C_DEV_USB_HOST
590 Say Y here if you are using the Simtec IM2440D20 module, also
593 config MACH_OSIRIS_DVS
594 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
595 depends on MACH_OSIRIS
598 Say Y/M here if you want to have dynamic voltage scaling support
599 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
601 The DVS driver alters the voltage supplied to the ARM core
602 depending on the frequency it is running at. The driver itself
603 does not do any of the frequency alteration, which is left up
604 to the cpufreq driver.
607 bool "HP iPAQ rx3715"
608 select PM_H1940 if PM
609 select S3C2440_XTAL_16934400
612 Say Y here if you are using the HP iPAQ rx3715.
616 select S3C2440_XTAL_16934400
619 select S3C_DEV_USB_HOST
621 Say Y here if you are using the SMDK2440.
623 config SMDK2440_CPU2440
624 bool "SMDK2440 with S3C2440 CPU module"
625 default y if ARCH_S3C2440
626 select S3C2440_XTAL_16934400
632 comment "S3C2442 Boards"
635 # The "S3C2442 Boards" list is ordered alphabetically by option text.
636 # (without ARCH_ or MACH_)
639 config MACH_NEO1973_GTA02
640 bool "Openmoko GTA02 / Freerunner phone"
646 select S3C_DEV_USB_HOST
648 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
651 bool "HP iPAQ rx1950"
653 select PM_H1940 if PM
654 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
655 select S3C2440_XTAL_16934400
660 Say Y here if you're using HP iPAQ rx1950
664 if CPU_S3C2443 || CPU_S3C2416
666 config S3C2443_COMMON
669 Common code for the S3C2443 and similar processors, which includes
670 the S3C2416 and S3C2450.
675 Internal config node for S3C2443 DMA support
677 config S3C2443_SETUP_SPI
680 Common setup code for SPI GPIO configurations
682 endif # CPU_S3C2443 || CPU_S3C2416
686 comment "S3C2443 Boards"
691 select S3C_DEV_HSMMC1
693 Say Y here if you are using an SMDK2443
697 endmenu # SAMSUNG S3C24XX SoCs Support