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
23 menu "SAMSUNG S3C24XX SoCs Support"
25 comment "S3C24XX SoCs"
28 bool "SAMSUNG S3C2410"
31 select CPU_LLSERIAL_S3C2410
32 select S3C2410_COMMON_CLK
33 select S3C2410_DMA if S3C24XX_DMA
34 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
35 select S3C2410_PM if PM
36 select SAMSUNG_WDT_RESET
38 Support for S3C2410 and S3C2410A family from the S3C24XX line
39 of Samsung Mobile CPUs.
42 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"
54 select CPU_LLSERIAL_S3C2440
55 select S3C2416_PM if PM
56 select S3C2443_COMMON_CLK
57 select S3C2443_DMA if S3C24XX_DMA
59 Support for the S3C2416 SoC from the S3C24XX line
62 bool "SAMSUNG S3C2440"
64 select CPU_LLSERIAL_S3C2440
65 select S3C2410_COMMON_CLK
66 select S3C2410_PM if PM
67 select S3C2440_DMA if S3C24XX_DMA
69 Support for S3C2440 Samsung Mobile CPU based systems.
72 bool "SAMSUNG S3C2442"
74 select CPU_LLSERIAL_S3C2440
75 select S3C2410_COMMON_CLK
76 select S3C2410_DMA if S3C24XX_DMA
77 select S3C2410_PM if PM
79 Support for S3C2442 Samsung Mobile CPU based systems.
83 depends on CPU_S3C2440 || CPU_S3C2442
84 select SAMSUNG_WDT_RESET
87 bool "SAMSUNG S3C2443"
89 select CPU_LLSERIAL_S3C2440
90 select S3C2443_COMMON_CLK
91 select S3C2443_DMA if S3C24XX_DMA
93 Support for the S3C2443 SoC from the S3C24XX line
100 Common machine code for SMDK2410 and SMDK2440
102 config S3C24XX_SIMTEC_AUDIO
104 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
107 Add audio devices for common Simtec S3C24XX boards
109 config S3C24XX_SIMTEC_PM
112 Common power management code for systems that are
113 compatible with the Simtec style of power management
115 config S3C24XX_SIMTEC_USB
118 USB management code for common Simtec S3C24XX boards
120 config S3C24XX_SETUP_TS
123 Compile in platform device definition for Samsung TouchScreen.
126 bool "S3C2410 DMA support"
129 S3C2410 DMA support. This is needed for drivers like sound which
130 use the S3C2410's DMA system to move data to and from the
133 config S3C2410_DMA_DEBUG
134 bool "S3C2410 DMA support debug"
135 depends on S3C2410_DMA
137 Enable debugging output for the DMA code. This option sends info
138 to the kernel log, at priority KERN_DEBUG.
142 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
144 DMA device selection for S3C2410 and compatible CPUs
149 Power Management code common to S3C2410 and better
151 # low-level serial option nodes
153 config CPU_LLSERIAL_S3C2410_ONLY
155 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
157 config CPU_LLSERIAL_S3C2440_ONLY
159 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
161 config CPU_LLSERIAL_S3C2410
164 Selected if there is an S3C2410 (or register compatible) serial
165 low-level implementation needed
167 config CPU_LLSERIAL_S3C2440
170 Selected if there is an S3C2440 (or register compatible) serial
171 low-level implementation needed
174 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
175 depends on ARM_S3C24XX_CPUFREQ
177 Compile in support for changing the PLL frequency from the
178 S3C24XX series CPUfreq driver. The PLL takes time to settle
179 after a frequency change, so by default it is not enabled.
181 This also means that the PLL tables for the selected CPU(s) will
182 be built which may increase the size of the kernel image.
184 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
186 config S3C2410_IOTIMING
188 depends on ARM_S3C24XX_CPUFREQ
190 Internal node to select io timing code that is common to the s3c2410
191 and s3c2440/s3c2442 cpu frequency support.
193 config S3C2410_CPUFREQ_UTILS
195 depends on ARM_S3C24XX_CPUFREQ
197 Internal node to select timing code that is common to the s3c2410
198 and s3c2440/s3c244 cpu frequency support.
200 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
202 config S3C2412_IOTIMING
204 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
206 Intel node to select io timing code that is common to the s3c2412
209 # cpu-specific sections
215 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
218 Select the PLL table for the S3C2410
220 config S3C24XX_SIMTEC_NOR
223 Internal node to specify machine has simtec NOR mapping
227 select HAVE_PATA_PLATFORM
229 Internal node for machines with an BAST style IDE
232 comment "S3C2410 Boards"
235 # The "S3C2410 Boards" list is ordered alphabetically by option text.
236 # (without ARCH_ or MACH_)
239 config MACH_AML_M5900
240 bool "AML M5900 Series"
241 select S3C24XX_SIMTEC_PM if PM
242 select S3C_DEV_USB_HOST
244 Say Y here if you are using the American Microsystems M5900 Series
245 <http://www.amltd.com>
248 bool "Simtec Electronics BAST (EB2410ITX)"
251 select S3C2410_COMMON_DCLK
252 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
253 select S3C24XX_SIMTEC_NOR
254 select S3C24XX_SIMTEC_PM if PM
255 select S3C24XX_SIMTEC_USB
258 select S3C_DEV_USB_HOST
260 Say Y here if you are using the Simtec Electronics EB2410ITX
261 development board (also known as BAST)
263 config BAST_PC104_IRQ
264 bool "BAST PC104 IRQ support"
268 Say Y here to enable the PC104 IRQ routing on the
269 Simtec BAST (EB2410ITX)
273 select PM_H1940 if PM
274 select S3C24XX_SETUP_TS
276 select S3C_DEV_USB_HOST
278 Say Y here if you are using the HP IPAQ H1940
281 tristate "Control the state of H1940 bluetooth chip"
282 depends on ARCH_H1940
285 This is a simple driver that is able to control
286 the state of built in bluetooth chip on h1940.
291 Internal node for H1940 and related PM
294 bool "Acer N30 family"
296 select S3C_DEV_USB_HOST
298 Say Y here if you want suppt for the Acer N30, Acer N35,
299 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
302 bool "NexVision OTOM Board"
304 select S3C_DEV_USB_HOST
306 Say Y here if you are using the Nex Vision OTOM board
311 select S3C_DEV_USB_HOST
313 Say Y here if you are using the Armzone QT2410
316 bool "SMDK2410/A9M2410"
318 select S3C_DEV_USB_HOST
320 Say Y here if you are using the SMDK2410 or the derived module A9M2410
321 <http://www.fsforth.de>
323 config MACH_TCT_HAMMER
324 bool "TCT Hammer Board"
325 select S3C_DEV_USB_HOST
327 Say Y here if you are using the TinCanTools Hammer Board
328 <http://www.tincantools.com>
331 bool "Thorcom VR1000"
333 select S3C2410_COMMON_DCLK
334 select S3C24XX_SIMTEC_NOR
335 select S3C24XX_SIMTEC_PM if PM
336 select S3C24XX_SIMTEC_USB
337 select S3C_DEV_USB_HOST
339 Say Y here if you are using the Thorcom VR1000 board.
343 config S3C2412_PM_SLEEP
346 Internal config node to apply sleep for S3C2412 power management.
347 Can be selected by another SoCs such as S3C2416 with similar
352 config CPU_S3C2412_ONLY
354 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
355 !CPU_S3C2442 && !CPU_S3C2443
361 Internal config node for S3C2412 DMA support
365 select S3C2412_PM_SLEEP
366 select SAMSUNG_WAKEMASK
368 Internal config node to apply S3C2412 power management
370 comment "S3C2412 Boards"
373 # The "S3C2412 Boards" list is ordered alphabetically by option text.
374 # (without ARCH_ or MACH_)
380 select S3C_DEV_USB_HOST
382 Say Y here if you are using the Logitech Jive.
384 config MACH_JIVE_SHOW_BOOTLOADER
385 bool "Allow access to bootloader partitions in MTD"
391 Internal node for S3C2413 version of SMDK2413, so that
392 machine_is_s3c2413() will work when MACH_SMDK2413 is
399 Say Y here if you are using an SMDK2412
401 Note, this shares support with SMDK2413, so will automatically
402 select MACH_SMDK2413.
409 select S3C_DEV_USB_HOST
411 Say Y here if you are using an SMDK2413
416 select S3C_DEV_USB_HOST
418 Say Y here if you are using an VSTMS board
426 select S3C2412_PM_SLEEP
428 Internal config node to apply S3C2416 power management
430 config S3C2416_SETUP_SDHCI
432 select S3C2416_SETUP_SDHCI_GPIO
434 Internal helper functions for S3C2416 based SDHCI systems
436 config S3C2416_SETUP_SDHCI_GPIO
439 Common setup code for SDHCI gpio.
441 comment "S3C2416 Boards"
445 select S3C2416_SETUP_SDHCI
449 select S3C_DEV_HSMMC1
451 select S3C_DEV_USB_HOST
453 Say Y here if you are using an SMDK2416
455 config MACH_S3C2416_DT
456 bool "Samsung S3C2416 machine using devicetree"
460 select PINCTRL_S3C24XX
462 Machine support for Samsung S3C2416 machines with device tree enabled.
463 Select this if a fdt blob is available for the S3C2416 SoC based board.
464 Note: This is under development and not all peripherals can be supported
465 with this machine file.
474 Support for S3C2440 specific DMA code5A
476 config S3C2440_XTAL_12000000
479 Indicate that the build needs to support 12MHz system
482 config S3C2440_XTAL_16934400
485 Indicate that the build needs to support 16.9344MHz system
488 config S3C2440_PLL_12000000
490 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
491 default y if S3C24XX_PLL
493 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
495 config S3C2440_PLL_16934400
497 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
498 default y if S3C24XX_PLL
500 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
502 comment "S3C2440 Boards"
505 # The "S3C2440 Boards" list is ordered alphabetically by option text.
506 # (without ARCH_ or MACH_)
510 bool "Simtec Electronics ANUBIS"
511 select HAVE_PATA_PLATFORM
512 select S3C2410_COMMON_DCLK
513 select S3C2440_XTAL_12000000
514 select S3C24XX_SIMTEC_PM if PM
515 select S3C_DEV_USB_HOST
517 Say Y here if you are using the Simtec Electronics ANUBIS
520 config MACH_AT2440EVB
521 bool "Avantech AT2440EVB development board"
523 select S3C_DEV_USB_HOST
525 Say Y here if you are using the AT2440EVB development board
528 bool "MINI2440 development board"
529 select EEPROM_AT24 if I2C
532 select LEDS_TRIGGER_BACKLIGHT
535 select S3C_DEV_USB_HOST
536 select S3C_SETUP_CAMIF
538 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
539 available via various sources. It can come with a 3.5" or 7" touch LCD.
541 config MACH_NEXCODER_2440
542 bool "NexVision NEXCODER 2440 Light Board"
543 select S3C2440_XTAL_12000000
545 select S3C_DEV_USB_HOST
547 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
550 bool "Simtec IM2440D20 (OSIRIS) module"
551 select S3C2410_COMMON_DCLK
552 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
553 select S3C2440_XTAL_12000000
554 select S3C24XX_SIMTEC_PM if PM
556 select S3C_DEV_USB_HOST
558 Say Y here if you are using the Simtec IM2440D20 module, also
561 config MACH_OSIRIS_DVS
562 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
563 depends on MACH_OSIRIS
566 Say Y/M here if you want to have dynamic voltage scaling support
567 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
569 The DVS driver alters the voltage supplied to the ARM core
570 depending on the frequency it is running at. The driver itself
571 does not do any of the frequency alteration, which is left up
572 to the cpufreq driver.
575 bool "HP iPAQ rx3715"
576 select PM_H1940 if PM
577 select S3C2440_XTAL_16934400
580 Say Y here if you are using the HP iPAQ rx3715.
584 select S3C2440_XTAL_16934400
587 select S3C_DEV_USB_HOST
589 Say Y here if you are using the SMDK2440.
591 config SMDK2440_CPU2440
592 bool "SMDK2440 with S3C2440 CPU module"
593 default y if ARCH_S3C2440
594 select S3C2440_XTAL_16934400
600 comment "S3C2442 Boards"
603 # The "S3C2442 Boards" list is ordered alphabetically by option text.
604 # (without ARCH_ or MACH_)
607 config MACH_NEO1973_GTA02
608 bool "Openmoko GTA02 / Freerunner phone"
614 select S3C_DEV_USB_HOST
616 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
619 bool "HP iPAQ rx1950"
621 select PM_H1940 if PM
622 select S3C2410_COMMON_DCLK
623 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
624 select S3C2440_XTAL_16934400
628 Say Y here if you're using HP iPAQ rx1950
632 if CPU_S3C2443 || CPU_S3C2416
637 Internal config node for S3C2443 DMA support
639 config S3C2443_SETUP_SPI
642 Common setup code for SPI GPIO configurations
644 endif # CPU_S3C2443 || CPU_S3C2416
648 comment "S3C2443 Boards"
653 select S3C_DEV_HSMMC1
655 Say Y here if you are using an SMDK2443
659 endmenu # SAMSUNG S3C24XX SoCs Support