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"
28 depends on SAMSUNG_CLOCK
30 select CPU_LLSERIAL_S3C2410
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"
44 select CPU_LLSERIAL_S3C2440
45 select S3C2412_COMMON_CLK
46 select S3C2412_DMA if S3C24XX_DMA
47 select S3C2412_PM if PM
49 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
52 bool "SAMSUNG S3C2416/S3C2450"
55 select CPU_LLSERIAL_S3C2440
56 select S3C2416_PM if PM
57 select S3C2443_COMMON_CLK
58 select S3C2443_DMA if S3C24XX_DMA
60 Support for the S3C2416 SoC from the S3C24XX line
63 bool "SAMSUNG S3C2440"
64 depends on SAMSUNG_CLOCK
66 select CPU_LLSERIAL_S3C2440
68 select S3C2410_PM if PM
69 select S3C2440_DMA if S3C24XX_DMA
71 Support for S3C2440 Samsung Mobile CPU based systems.
74 bool "SAMSUNG S3C2442"
75 depends on SAMSUNG_CLOCK
77 select CPU_LLSERIAL_S3C2440
79 select S3C2410_DMA if S3C24XX_DMA
80 select S3C2410_PM if PM
82 Support for S3C2442 Samsung Mobile CPU based systems.
86 depends on CPU_S3C2440 || CPU_S3C2442
87 select SAMSUNG_WDT_RESET
90 bool "SAMSUNG S3C2443"
93 select CPU_LLSERIAL_S3C2440
94 select S3C2443_COMMON_CLK
95 select S3C2443_DMA if S3C24XX_DMA
97 Support for the S3C2443 SoC from the S3C24XX line
104 Clock code for the S3C2410, and similar processors which
105 is currently includes the S3C2410, S3C2440, S3C2442.
110 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
115 Common machine code for SMDK2410 and SMDK2440
117 config S3C24XX_SIMTEC_AUDIO
119 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
122 Add audio devices for common Simtec S3C24XX boards
124 config S3C24XX_SIMTEC_PM
127 Common power management code for systems that are
128 compatible with the Simtec style of power management
130 config S3C24XX_SIMTEC_USB
133 USB management code for common Simtec S3C24XX boards
135 config S3C24XX_SETUP_TS
138 Compile in platform device definition for Samsung TouchScreen.
141 bool "S3C2410 DMA support"
144 S3C2410 DMA support. This is needed for drivers like sound which
145 use the S3C2410's DMA system to move data to and from the
148 config S3C2410_DMA_DEBUG
149 bool "S3C2410 DMA support debug"
150 depends on S3C2410_DMA
152 Enable debugging output for the DMA code. This option sends info
153 to the kernel log, at priority KERN_DEBUG.
157 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
159 DMA device selection for S3C2410 and compatible CPUs
164 Power Management code common to S3C2410 and better
166 # low-level serial option nodes
168 config CPU_LLSERIAL_S3C2410_ONLY
170 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
172 config CPU_LLSERIAL_S3C2440_ONLY
174 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
176 config CPU_LLSERIAL_S3C2410
179 Selected if there is an S3C2410 (or register compatible) serial
180 low-level implementation needed
182 config CPU_LLSERIAL_S3C2440
185 Selected if there is an S3C2440 (or register compatible) serial
186 low-level implementation needed
189 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
190 depends on ARM_S3C24XX_CPUFREQ
192 Compile in support for changing the PLL frequency from the
193 S3C24XX series CPUfreq driver. The PLL takes time to settle
194 after a frequency change, so by default it is not enabled.
196 This also means that the PLL tables for the selected CPU(s) will
197 be built which may increase the size of the kernel image.
199 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
201 config S3C2410_IOTIMING
203 depends on ARM_S3C24XX_CPUFREQ
205 Internal node to select io timing code that is common to the s3c2410
206 and s3c2440/s3c2442 cpu frequency support.
208 config S3C2410_CPUFREQ_UTILS
210 depends on ARM_S3C24XX_CPUFREQ
212 Internal node to select timing code that is common to the s3c2410
213 and s3c2440/s3c244 cpu frequency support.
215 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
217 config S3C2412_IOTIMING
219 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
221 Intel node to select io timing code that is common to the s3c2412
224 # cpu-specific sections
230 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
233 Select the PLL table for the S3C2410
235 config S3C24XX_SIMTEC_NOR
238 Internal node to specify machine has simtec NOR mapping
242 select HAVE_PATA_PLATFORM
244 Internal node for machines with an BAST style IDE
247 comment "S3C2410 Boards"
250 # The "S3C2410 Boards" list is ordered alphabetically by option text.
251 # (without ARCH_ or MACH_)
254 config MACH_AML_M5900
255 bool "AML M5900 Series"
256 select S3C24XX_SIMTEC_PM if PM
257 select S3C_DEV_USB_HOST
259 Say Y here if you are using the American Microsystems M5900 Series
260 <http://www.amltd.com>
263 bool "Simtec Electronics BAST (EB2410ITX)"
266 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
268 select S3C24XX_SIMTEC_NOR
269 select S3C24XX_SIMTEC_PM if PM
270 select S3C24XX_SIMTEC_USB
273 select S3C_DEV_USB_HOST
275 Say Y here if you are using the Simtec Electronics EB2410ITX
276 development board (also known as BAST)
278 config BAST_PC104_IRQ
279 bool "BAST PC104 IRQ support"
283 Say Y here to enable the PC104 IRQ routing on the
284 Simtec BAST (EB2410ITX)
288 select PM_H1940 if PM
289 select S3C24XX_SETUP_TS
291 select S3C_DEV_USB_HOST
293 Say Y here if you are using the HP IPAQ H1940
296 tristate "Control the state of H1940 bluetooth chip"
297 depends on ARCH_H1940
300 This is a simple driver that is able to control
301 the state of built in bluetooth chip on h1940.
306 Internal node for H1940 and related PM
309 bool "Acer N30 family"
311 select S3C_DEV_USB_HOST
313 Say Y here if you want suppt for the Acer N30, Acer N35,
314 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
317 bool "NexVision OTOM Board"
319 select S3C_DEV_USB_HOST
321 Say Y here if you are using the Nex Vision OTOM board
326 select S3C_DEV_USB_HOST
328 Say Y here if you are using the Armzone QT2410
331 bool "SMDK2410/A9M2410"
333 select S3C_DEV_USB_HOST
335 Say Y here if you are using the SMDK2410 or the derived module A9M2410
336 <http://www.fsforth.de>
338 config MACH_TCT_HAMMER
339 bool "TCT Hammer Board"
340 select S3C_DEV_USB_HOST
342 Say Y here if you are using the TinCanTools Hammer Board
343 <http://www.tincantools.com>
346 bool "Thorcom VR1000"
349 select S3C24XX_SIMTEC_NOR
350 select S3C24XX_SIMTEC_PM if PM
351 select S3C24XX_SIMTEC_USB
352 select S3C_DEV_USB_HOST
354 Say Y here if you are using the Thorcom VR1000 board.
358 config S3C2412_PM_SLEEP
361 Internal config node to apply sleep for S3C2412 power management.
362 Can be selected by another SoCs such as S3C2416 with similar
367 config S3C2412_COMMON_CLK
370 Build the s3c2412 clock driver based on the common clock framework.
372 config CPU_S3C2412_ONLY
374 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
375 !CPU_S3C2442 && !CPU_S3C2443
381 Internal config node for S3C2412 DMA support
385 select S3C2412_PM_SLEEP
386 select SAMSUNG_WAKEMASK
388 Internal config node to apply S3C2412 power management
390 comment "S3C2412 Boards"
393 # The "S3C2412 Boards" list is ordered alphabetically by option text.
394 # (without ARCH_ or MACH_)
400 select S3C_DEV_USB_HOST
402 Say Y here if you are using the Logitech Jive.
404 config MACH_JIVE_SHOW_BOOTLOADER
405 bool "Allow access to bootloader partitions in MTD"
411 Internal node for S3C2413 version of SMDK2413, so that
412 machine_is_s3c2413() will work when MACH_SMDK2413 is
419 Say Y here if you are using an SMDK2412
421 Note, this shares support with SMDK2413, so will automatically
422 select MACH_SMDK2413.
429 select S3C_DEV_USB_HOST
431 Say Y here if you are using an SMDK2413
436 select S3C_DEV_USB_HOST
438 Say Y here if you are using an VSTMS board
446 select S3C2412_PM_SLEEP
448 Internal config node to apply S3C2416 power management
450 config S3C2416_SETUP_SDHCI
452 select S3C2416_SETUP_SDHCI_GPIO
454 Internal helper functions for S3C2416 based SDHCI systems
456 config S3C2416_SETUP_SDHCI_GPIO
459 Common setup code for SDHCI gpio.
461 comment "S3C2416 Boards"
465 select S3C2416_SETUP_SDHCI
469 select S3C_DEV_HSMMC1
471 select S3C_DEV_USB_HOST
473 Say Y here if you are using an SMDK2416
475 config MACH_S3C2416_DT
476 bool "Samsung S3C2416 machine using devicetree"
480 select PINCTRL_S3C24XX
482 Machine support for Samsung S3C2416 machines with device tree enabled.
483 Select this if a fdt blob is available for the S3C2416 SoC based board.
484 Note: This is under development and not all peripherals can be supported
485 with this machine file.
494 Support for S3C2440 specific DMA code5A
496 config S3C2440_XTAL_12000000
499 Indicate that the build needs to support 12MHz system
502 config S3C2440_XTAL_16934400
505 Indicate that the build needs to support 16.9344MHz system
508 config S3C2440_PLL_12000000
510 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
511 default y if S3C24XX_PLL
513 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
515 config S3C2440_PLL_16934400
517 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
518 default y if S3C24XX_PLL
520 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
522 comment "S3C2440 Boards"
525 # The "S3C2440 Boards" list is ordered alphabetically by option text.
526 # (without ARCH_ or MACH_)
530 bool "Simtec Electronics ANUBIS"
531 select HAVE_PATA_PLATFORM
532 select S3C2440_XTAL_12000000
534 select S3C24XX_SIMTEC_PM if PM
535 select S3C_DEV_USB_HOST
537 Say Y here if you are using the Simtec Electronics ANUBIS
540 config MACH_AT2440EVB
541 bool "Avantech AT2440EVB development board"
543 select S3C_DEV_USB_HOST
545 Say Y here if you are using the AT2440EVB development board
548 bool "MINI2440 development board"
549 select EEPROM_AT24 if I2C
552 select LEDS_TRIGGER_BACKLIGHT
555 select S3C_DEV_USB_HOST
556 select S3C_SETUP_CAMIF
558 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
559 available via various sources. It can come with a 3.5" or 7" touch LCD.
561 config MACH_NEXCODER_2440
562 bool "NexVision NEXCODER 2440 Light Board"
563 select S3C2440_XTAL_12000000
565 select S3C_DEV_USB_HOST
567 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
570 bool "Simtec IM2440D20 (OSIRIS) module"
571 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
572 select S3C2440_XTAL_12000000
574 select S3C24XX_SIMTEC_PM if PM
576 select S3C_DEV_USB_HOST
578 Say Y here if you are using the Simtec IM2440D20 module, also
581 config MACH_OSIRIS_DVS
582 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
583 depends on MACH_OSIRIS
586 Say Y/M here if you want to have dynamic voltage scaling support
587 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
589 The DVS driver alters the voltage supplied to the ARM core
590 depending on the frequency it is running at. The driver itself
591 does not do any of the frequency alteration, which is left up
592 to the cpufreq driver.
595 bool "HP iPAQ rx3715"
596 select PM_H1940 if PM
597 select S3C2440_XTAL_16934400
600 Say Y here if you are using the HP iPAQ rx3715.
604 select S3C2440_XTAL_16934400
607 select S3C_DEV_USB_HOST
609 Say Y here if you are using the SMDK2440.
611 config SMDK2440_CPU2440
612 bool "SMDK2440 with S3C2440 CPU module"
613 default y if ARCH_S3C2440
614 select S3C2440_XTAL_16934400
620 comment "S3C2442 Boards"
623 # The "S3C2442 Boards" list is ordered alphabetically by option text.
624 # (without ARCH_ or MACH_)
627 config MACH_NEO1973_GTA02
628 bool "Openmoko GTA02 / Freerunner phone"
634 select S3C_DEV_USB_HOST
636 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
639 bool "HP iPAQ rx1950"
641 select PM_H1940 if PM
642 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
643 select S3C2440_XTAL_16934400
648 Say Y here if you're using HP iPAQ rx1950
652 if CPU_S3C2443 || CPU_S3C2416
654 config S3C2443_COMMON_CLK
657 Temporary symbol to build the clock driver based on the common clock
663 Internal config node for S3C2443 DMA support
665 config S3C2443_SETUP_SPI
668 Common setup code for SPI GPIO configurations
670 endif # CPU_S3C2443 || CPU_S3C2416
674 comment "S3C2443 Boards"
679 select S3C_DEV_HSMMC1
681 Say Y here if you are using an SMDK2443
685 endmenu # SAMSUNG S3C24XX SoCs Support