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 config S3C2410_COMMON_CLK
24 Build the s3c2410 clock driver based on the common clock framework.
26 config S3C2410_COMMON_DCLK
30 Temporary symbol to build the dclk driver based on the common clock
33 menu "SAMSUNG S3C24XX SoCs Support"
35 comment "S3C24XX SoCs"
38 bool "SAMSUNG S3C2410"
42 select CPU_LLSERIAL_S3C2410
43 select S3C2410_COMMON_CLK
44 select S3C2410_DMA if S3C24XX_DMA
45 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
46 select S3C2410_PM if PM
47 select SAMSUNG_WDT_RESET
49 Support for S3C2410 and S3C2410A family from the S3C24XX line
50 of Samsung Mobile CPUs.
53 bool "SAMSUNG S3C2412"
56 select CPU_LLSERIAL_S3C2440
57 select S3C2412_COMMON_CLK
58 select S3C2412_DMA if S3C24XX_DMA
59 select S3C2412_PM if PM
61 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
64 bool "SAMSUNG S3C2416/S3C2450"
67 select CPU_LLSERIAL_S3C2440
68 select S3C2416_PM if PM
69 select S3C2443_COMMON_CLK
70 select S3C2443_DMA if S3C24XX_DMA
72 Support for the S3C2416 SoC from the S3C24XX line
75 bool "SAMSUNG S3C2440"
78 select CPU_LLSERIAL_S3C2440
79 select S3C2410_COMMON_CLK
80 select S3C2410_PM if PM
81 select S3C2440_DMA if S3C24XX_DMA
83 Support for S3C2440 Samsung Mobile CPU based systems.
86 bool "SAMSUNG S3C2442"
89 select CPU_LLSERIAL_S3C2440
90 select S3C2410_COMMON_CLK
91 select S3C2410_DMA if S3C24XX_DMA
92 select S3C2410_PM if PM
94 Support for S3C2442 Samsung Mobile CPU based systems.
98 depends on CPU_S3C2440 || CPU_S3C2442
99 select SAMSUNG_WDT_RESET
102 bool "SAMSUNG S3C2443"
105 select CPU_LLSERIAL_S3C2440
106 select S3C2443_COMMON_CLK
107 select S3C2443_DMA if S3C24XX_DMA
109 Support for the S3C2443 SoC from the S3C24XX line
116 Common machine code for SMDK2410 and SMDK2440
118 config S3C24XX_SIMTEC_AUDIO
120 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
123 Add audio devices for common Simtec S3C24XX boards
125 config S3C24XX_SIMTEC_PM
128 Common power management code for systems that are
129 compatible with the Simtec style of power management
131 config S3C24XX_SIMTEC_USB
134 USB management code for common Simtec S3C24XX boards
136 config S3C24XX_SETUP_TS
139 Compile in platform device definition for Samsung TouchScreen.
142 bool "S3C2410 DMA support"
145 S3C2410 DMA support. This is needed for drivers like sound which
146 use the S3C2410's DMA system to move data to and from the
149 config S3C2410_DMA_DEBUG
150 bool "S3C2410 DMA support debug"
151 depends on S3C2410_DMA
153 Enable debugging output for the DMA code. This option sends info
154 to the kernel log, at priority KERN_DEBUG.
158 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
160 DMA device selection for S3C2410 and compatible CPUs
165 Power Management code common to S3C2410 and better
167 # low-level serial option nodes
169 config CPU_LLSERIAL_S3C2410_ONLY
171 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
173 config CPU_LLSERIAL_S3C2440_ONLY
175 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
177 config CPU_LLSERIAL_S3C2410
180 Selected if there is an S3C2410 (or register compatible) serial
181 low-level implementation needed
183 config CPU_LLSERIAL_S3C2440
186 Selected if there is an S3C2440 (or register compatible) serial
187 low-level implementation needed
190 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
191 depends on ARM_S3C24XX_CPUFREQ
193 Compile in support for changing the PLL frequency from the
194 S3C24XX series CPUfreq driver. The PLL takes time to settle
195 after a frequency change, so by default it is not enabled.
197 This also means that the PLL tables for the selected CPU(s) will
198 be built which may increase the size of the kernel image.
200 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
202 config S3C2410_IOTIMING
204 depends on ARM_S3C24XX_CPUFREQ
206 Internal node to select io timing code that is common to the s3c2410
207 and s3c2440/s3c2442 cpu frequency support.
209 config S3C2410_CPUFREQ_UTILS
211 depends on ARM_S3C24XX_CPUFREQ
213 Internal node to select timing code that is common to the s3c2410
214 and s3c2440/s3c244 cpu frequency support.
216 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
218 config S3C2412_IOTIMING
220 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
222 Intel node to select io timing code that is common to the s3c2412
225 # cpu-specific sections
231 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
234 Select the PLL table for the S3C2410
236 config S3C24XX_SIMTEC_NOR
239 Internal node to specify machine has simtec NOR mapping
243 select HAVE_PATA_PLATFORM
245 Internal node for machines with an BAST style IDE
248 comment "S3C2410 Boards"
251 # The "S3C2410 Boards" list is ordered alphabetically by option text.
252 # (without ARCH_ or MACH_)
255 config MACH_AML_M5900
256 bool "AML M5900 Series"
257 select S3C24XX_SIMTEC_PM if PM
258 select S3C_DEV_USB_HOST
260 Say Y here if you are using the American Microsystems M5900 Series
261 <http://www.amltd.com>
264 bool "Simtec Electronics BAST (EB2410ITX)"
267 select S3C2410_COMMON_DCLK if COMMON_CLK
268 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
269 select S3C24XX_DCLK if SAMSUNG_CLOCK
270 select S3C24XX_SIMTEC_NOR
271 select S3C24XX_SIMTEC_PM if PM
272 select S3C24XX_SIMTEC_USB
275 select S3C_DEV_USB_HOST
277 Say Y here if you are using the Simtec Electronics EB2410ITX
278 development board (also known as BAST)
280 config BAST_PC104_IRQ
281 bool "BAST PC104 IRQ support"
285 Say Y here to enable the PC104 IRQ routing on the
286 Simtec BAST (EB2410ITX)
290 select PM_H1940 if PM
291 select S3C24XX_SETUP_TS
293 select S3C_DEV_USB_HOST
295 Say Y here if you are using the HP IPAQ H1940
298 tristate "Control the state of H1940 bluetooth chip"
299 depends on ARCH_H1940
302 This is a simple driver that is able to control
303 the state of built in bluetooth chip on h1940.
308 Internal node for H1940 and related PM
311 bool "Acer N30 family"
313 select S3C_DEV_USB_HOST
315 Say Y here if you want suppt for the Acer N30, Acer N35,
316 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
319 bool "NexVision OTOM Board"
321 select S3C_DEV_USB_HOST
323 Say Y here if you are using the Nex Vision OTOM board
328 select S3C_DEV_USB_HOST
330 Say Y here if you are using the Armzone QT2410
333 bool "SMDK2410/A9M2410"
335 select S3C_DEV_USB_HOST
337 Say Y here if you are using the SMDK2410 or the derived module A9M2410
338 <http://www.fsforth.de>
340 config MACH_TCT_HAMMER
341 bool "TCT Hammer Board"
342 select S3C_DEV_USB_HOST
344 Say Y here if you are using the TinCanTools Hammer Board
345 <http://www.tincantools.com>
348 bool "Thorcom VR1000"
350 select S3C2410_COMMON_DCLK if COMMON_CLK
351 select S3C24XX_DCLK if SAMSUNG_CLOCK
352 select S3C24XX_SIMTEC_NOR
353 select S3C24XX_SIMTEC_PM if PM
354 select S3C24XX_SIMTEC_USB
355 select S3C_DEV_USB_HOST
357 Say Y here if you are using the Thorcom VR1000 board.
361 config S3C2412_PM_SLEEP
364 Internal config node to apply sleep for S3C2412 power management.
365 Can be selected by another SoCs such as S3C2416 with similar
370 config S3C2412_COMMON_CLK
373 Build the s3c2412 clock driver based on the common clock framework.
375 config CPU_S3C2412_ONLY
377 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
378 !CPU_S3C2442 && !CPU_S3C2443
384 Internal config node for S3C2412 DMA support
388 select S3C2412_PM_SLEEP
389 select SAMSUNG_WAKEMASK
391 Internal config node to apply S3C2412 power management
393 comment "S3C2412 Boards"
396 # The "S3C2412 Boards" list is ordered alphabetically by option text.
397 # (without ARCH_ or MACH_)
403 select S3C_DEV_USB_HOST
405 Say Y here if you are using the Logitech Jive.
407 config MACH_JIVE_SHOW_BOOTLOADER
408 bool "Allow access to bootloader partitions in MTD"
414 Internal node for S3C2413 version of SMDK2413, so that
415 machine_is_s3c2413() will work when MACH_SMDK2413 is
422 Say Y here if you are using an SMDK2412
424 Note, this shares support with SMDK2413, so will automatically
425 select MACH_SMDK2413.
432 select S3C_DEV_USB_HOST
434 Say Y here if you are using an SMDK2413
439 select S3C_DEV_USB_HOST
441 Say Y here if you are using an VSTMS board
449 select S3C2412_PM_SLEEP
451 Internal config node to apply S3C2416 power management
453 config S3C2416_SETUP_SDHCI
455 select S3C2416_SETUP_SDHCI_GPIO
457 Internal helper functions for S3C2416 based SDHCI systems
459 config S3C2416_SETUP_SDHCI_GPIO
462 Common setup code for SDHCI gpio.
464 comment "S3C2416 Boards"
468 select S3C2416_SETUP_SDHCI
472 select S3C_DEV_HSMMC1
474 select S3C_DEV_USB_HOST
476 Say Y here if you are using an SMDK2416
478 config MACH_S3C2416_DT
479 bool "Samsung S3C2416 machine using devicetree"
483 select PINCTRL_S3C24XX
485 Machine support for Samsung S3C2416 machines with device tree enabled.
486 Select this if a fdt blob is available for the S3C2416 SoC based board.
487 Note: This is under development and not all peripherals can be supported
488 with this machine file.
497 Support for S3C2440 specific DMA code5A
499 config S3C2440_XTAL_12000000
502 Indicate that the build needs to support 12MHz system
505 config S3C2440_XTAL_16934400
508 Indicate that the build needs to support 16.9344MHz system
511 config S3C2440_PLL_12000000
513 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
514 default y if S3C24XX_PLL
516 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
518 config S3C2440_PLL_16934400
520 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
521 default y if S3C24XX_PLL
523 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
525 comment "S3C2440 Boards"
528 # The "S3C2440 Boards" list is ordered alphabetically by option text.
529 # (without ARCH_ or MACH_)
533 bool "Simtec Electronics ANUBIS"
534 select HAVE_PATA_PLATFORM
535 select S3C2410_COMMON_DCLK if COMMON_CLK
536 select S3C2440_XTAL_12000000
537 select S3C24XX_DCLK if SAMSUNG_CLOCK
538 select S3C24XX_SIMTEC_PM if PM
539 select S3C_DEV_USB_HOST
541 Say Y here if you are using the Simtec Electronics ANUBIS
544 config MACH_AT2440EVB
545 bool "Avantech AT2440EVB development board"
547 select S3C_DEV_USB_HOST
549 Say Y here if you are using the AT2440EVB development board
552 bool "MINI2440 development board"
553 select EEPROM_AT24 if I2C
556 select LEDS_TRIGGER_BACKLIGHT
559 select S3C_DEV_USB_HOST
560 select S3C_SETUP_CAMIF
562 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
563 available via various sources. It can come with a 3.5" or 7" touch LCD.
565 config MACH_NEXCODER_2440
566 bool "NexVision NEXCODER 2440 Light Board"
567 select S3C2440_XTAL_12000000
569 select S3C_DEV_USB_HOST
571 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
574 bool "Simtec IM2440D20 (OSIRIS) module"
575 select S3C2410_COMMON_DCLK if COMMON_CLK
576 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
577 select S3C2440_XTAL_12000000
578 select S3C24XX_DCLK if SAMSUNG_CLOCK
579 select S3C24XX_SIMTEC_PM if PM
581 select S3C_DEV_USB_HOST
583 Say Y here if you are using the Simtec IM2440D20 module, also
586 config MACH_OSIRIS_DVS
587 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
588 depends on MACH_OSIRIS
591 Say Y/M here if you want to have dynamic voltage scaling support
592 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
594 The DVS driver alters the voltage supplied to the ARM core
595 depending on the frequency it is running at. The driver itself
596 does not do any of the frequency alteration, which is left up
597 to the cpufreq driver.
600 bool "HP iPAQ rx3715"
601 select PM_H1940 if PM
602 select S3C2440_XTAL_16934400
605 Say Y here if you are using the HP iPAQ rx3715.
609 select S3C2440_XTAL_16934400
612 select S3C_DEV_USB_HOST
614 Say Y here if you are using the SMDK2440.
616 config SMDK2440_CPU2440
617 bool "SMDK2440 with S3C2440 CPU module"
618 default y if ARCH_S3C2440
619 select S3C2440_XTAL_16934400
625 comment "S3C2442 Boards"
628 # The "S3C2442 Boards" list is ordered alphabetically by option text.
629 # (without ARCH_ or MACH_)
632 config MACH_NEO1973_GTA02
633 bool "Openmoko GTA02 / Freerunner phone"
639 select S3C_DEV_USB_HOST
641 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
644 bool "HP iPAQ rx1950"
646 select PM_H1940 if PM
647 select S3C2410_COMMON_DCLK if COMMON_CLK
648 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
649 select S3C2440_XTAL_16934400
650 select S3C24XX_DCLK if SAMSUNG_CLOCK
654 Say Y here if you're using HP iPAQ rx1950
658 if CPU_S3C2443 || CPU_S3C2416
660 config S3C2443_COMMON_CLK
663 Temporary symbol to build the clock driver based on the common clock
669 Internal config node for S3C2443 DMA support
671 config S3C2443_SETUP_SPI
674 Common setup code for SPI GPIO configurations
676 endif # CPU_S3C2443 || CPU_S3C2416
680 comment "S3C2443 Boards"
685 select S3C_DEV_HSMMC1
687 Say Y here if you are using an SMDK2443
691 endmenu # SAMSUNG S3C24XX SoCs Support