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_DMA if S3C24XX_DMA
32 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
33 select S3C2410_PM if PM
34 select SAMSUNG_WDT_RESET
36 Support for S3C2410 and S3C2410A family from the S3C24XX line
37 of Samsung Mobile CPUs.
40 bool "SAMSUNG S3C2412"
42 select CPU_LLSERIAL_S3C2440
43 select S3C2412_DMA if S3C24XX_DMA
44 select S3C2412_PM if PM
46 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
49 bool "SAMSUNG S3C2416/S3C2450"
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_DMA if S3C24XX_DMA
75 select S3C2410_PM if PM
77 Support for S3C2442 Samsung Mobile CPU based systems.
81 depends on CPU_S3C2440 || CPU_S3C2442
82 select SAMSUNG_WDT_RESET
85 bool "SAMSUNG S3C2443"
87 select CPU_LLSERIAL_S3C2440
89 select S3C2443_DMA if S3C24XX_DMA
92 Support for the S3C2443 SoC from the S3C24XX line
99 Clock code for the S3C2410, and similar processors which
100 is currently includes the S3C2410, S3C2440, S3C2442.
105 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
110 Common machine code for SMDK2410 and SMDK2440
112 config S3C24XX_SIMTEC_AUDIO
114 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
117 Add audio devices for common Simtec S3C24XX boards
119 config S3C24XX_SIMTEC_PM
122 Common power management code for systems that are
123 compatible with the Simtec style of power management
125 config S3C24XX_SIMTEC_USB
128 USB management code for common Simtec S3C24XX boards
130 config S3C24XX_SETUP_TS
133 Compile in platform device definition for Samsung TouchScreen.
136 bool "S3C2410 DMA support"
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 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)
154 DMA device selection for S3C2410 and compatible CPUs
159 Power Management code common to S3C2410 and better
161 # low-level serial option nodes
163 config CPU_LLSERIAL_S3C2410_ONLY
165 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
167 config CPU_LLSERIAL_S3C2440_ONLY
169 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
171 config CPU_LLSERIAL_S3C2410
174 Selected if there is an S3C2410 (or register compatible) serial
175 low-level implementation needed
177 config CPU_LLSERIAL_S3C2440
180 Selected if there is an S3C2440 (or register compatible) serial
181 low-level implementation needed
183 # gpio configurations
185 config S3C24XX_GPIO_EXTRA
187 default 128 if S3C24XX_GPIO_EXTRA128
188 default 64 if S3C24XX_GPIO_EXTRA64
189 default 16 if ARCH_H1940
192 config S3C24XX_GPIO_EXTRA64
195 Add an extra 64 gpio numbers to the available GPIO pool. This is
196 available for boards that need extra gpios for external devices.
198 config S3C24XX_GPIO_EXTRA128
201 Add an extra 128 gpio numbers to the available GPIO pool. This is
202 available for boards that need extra gpios for external devices.
205 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
206 depends on ARM_S3C24XX_CPUFREQ
208 Compile in support for changing the PLL frequency from the
209 S3C24XX series CPUfreq driver. The PLL takes time to settle
210 after a frequency change, so by default it is not enabled.
212 This also means that the PLL tables for the selected CPU(s) will
213 be built which may increase the size of the kernel image.
215 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
217 config S3C2410_IOTIMING
219 depends on ARM_S3C24XX_CPUFREQ
221 Internal node to select io timing code that is common to the s3c2410
222 and s3c2440/s3c2442 cpu frequency support.
224 config S3C2410_CPUFREQ_UTILS
226 depends on ARM_S3C24XX_CPUFREQ
228 Internal node to select timing code that is common to the s3c2410
229 and s3c2440/s3c244 cpu frequency support.
231 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
233 config S3C2412_IOTIMING
235 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
237 Intel node to select io timing code that is common to the s3c2412
240 # cpu-specific sections
246 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
249 Select the PLL table for the S3C2410
251 config S3C24XX_SIMTEC_NOR
254 Internal node to specify machine has simtec NOR mapping
258 select HAVE_PATA_PLATFORM
260 Internal node for machines with an BAST style IDE
263 comment "S3C2410 Boards"
266 # The "S3C2410 Boards" list is ordered alphabetically by option text.
267 # (without ARCH_ or MACH_)
270 config MACH_AML_M5900
271 bool "AML M5900 Series"
272 select S3C24XX_SIMTEC_PM if PM
273 select S3C_DEV_USB_HOST
275 Say Y here if you are using the American Microsystems M5900 Series
276 <http://www.amltd.com>
279 bool "Simtec Electronics BAST (EB2410ITX)"
282 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
284 select S3C24XX_SIMTEC_NOR
285 select S3C24XX_SIMTEC_PM if PM
286 select S3C24XX_SIMTEC_USB
289 select S3C_DEV_USB_HOST
291 Say Y here if you are using the Simtec Electronics EB2410ITX
292 development board (also known as BAST)
294 config BAST_PC104_IRQ
295 bool "BAST PC104 IRQ support"
299 Say Y here to enable the PC104 IRQ routing on the
300 Simtec BAST (EB2410ITX)
304 select PM_H1940 if PM
305 select S3C24XX_SETUP_TS
307 select S3C_DEV_USB_HOST
309 Say Y here if you are using the HP IPAQ H1940
312 tristate "Control the state of H1940 bluetooth chip"
313 depends on ARCH_H1940
316 This is a simple driver that is able to control
317 the state of built in bluetooth chip on h1940.
322 Internal node for H1940 and related PM
325 bool "Acer N30 family"
327 select S3C_DEV_USB_HOST
329 Say Y here if you want suppt for the Acer N30, Acer N35,
330 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
333 bool "NexVision OTOM Board"
335 select S3C_DEV_USB_HOST
337 Say Y here if you are using the Nex Vision OTOM board
342 select S3C_DEV_USB_HOST
344 Say Y here if you are using the Armzone QT2410
347 bool "SMDK2410/A9M2410"
349 select S3C_DEV_USB_HOST
351 Say Y here if you are using the SMDK2410 or the derived module A9M2410
352 <http://www.fsforth.de>
354 config MACH_TCT_HAMMER
355 bool "TCT Hammer Board"
356 select S3C_DEV_USB_HOST
358 Say Y here if you are using the TinCanTools Hammer Board
359 <http://www.tincantools.com>
362 bool "Thorcom VR1000"
365 select S3C24XX_SIMTEC_NOR
366 select S3C24XX_SIMTEC_PM if PM
367 select S3C24XX_SIMTEC_USB
368 select S3C_DEV_USB_HOST
370 Say Y here if you are using the Thorcom VR1000 board.
374 config S3C2412_PM_SLEEP
377 Internal config node to apply sleep for S3C2412 power management.
378 Can be selected by another SoCs such as S3C2416 with similar
383 config CPU_S3C2412_ONLY
385 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
386 !CPU_S3C2442 && !CPU_S3C2443
392 Internal config node for S3C2412 DMA support
396 select S3C2412_PM_SLEEP
397 select SAMSUNG_WAKEMASK
399 Internal config node to apply S3C2412 power management
401 comment "S3C2412 Boards"
404 # The "S3C2412 Boards" list is ordered alphabetically by option text.
405 # (without ARCH_ or MACH_)
411 select S3C_DEV_USB_HOST
413 Say Y here if you are using the Logitech Jive.
415 config MACH_JIVE_SHOW_BOOTLOADER
416 bool "Allow access to bootloader partitions in MTD"
422 Internal node for S3C2413 version of SMDK2413, so that
423 machine_is_s3c2413() will work when MACH_SMDK2413 is
430 Say Y here if you are using an SMDK2412
432 Note, this shares support with SMDK2413, so will automatically
433 select MACH_SMDK2413.
440 select S3C_DEV_USB_HOST
442 Say Y here if you are using an SMDK2413
447 select S3C_DEV_USB_HOST
449 Say Y here if you are using an VSTMS board
457 select S3C2412_PM_SLEEP
459 Internal config node to apply S3C2416 power management
461 config S3C2416_SETUP_SDHCI
463 select S3C2416_SETUP_SDHCI_GPIO
465 Internal helper functions for S3C2416 based SDHCI systems
467 config S3C2416_SETUP_SDHCI_GPIO
470 Common setup code for SDHCI gpio.
472 comment "S3C2416 Boards"
476 select S3C2416_SETUP_SDHCI
480 select S3C_DEV_HSMMC1
482 select S3C_DEV_USB_HOST
484 Say Y here if you are using an SMDK2416
486 config MACH_S3C2416_DT
487 bool "Samsung S3C2416 machine using devicetree"
491 select PINCTRL_S3C24XX
493 Machine support for Samsung S3C2416 machines with device tree enabled.
494 Select this if a fdt blob is available for the S3C2416 SoC based board.
495 Note: This is under development and not all peripherals can be supported
496 with this machine file.
505 Support for S3C2440 specific DMA code5A
507 config S3C2440_XTAL_12000000
510 Indicate that the build needs to support 12MHz system
513 config S3C2440_XTAL_16934400
516 Indicate that the build needs to support 16.9344MHz system
519 config S3C2440_PLL_12000000
521 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
522 default y if S3C24XX_PLL
524 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
526 config S3C2440_PLL_16934400
528 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
529 default y if S3C24XX_PLL
531 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
533 comment "S3C2440 Boards"
536 # The "S3C2440 Boards" list is ordered alphabetically by option text.
537 # (without ARCH_ or MACH_)
541 bool "Simtec Electronics ANUBIS"
542 select HAVE_PATA_PLATFORM
543 select S3C2440_XTAL_12000000
545 select S3C24XX_GPIO_EXTRA64
546 select S3C24XX_SIMTEC_PM if PM
547 select S3C_DEV_USB_HOST
549 Say Y here if you are using the Simtec Electronics ANUBIS
552 config MACH_AT2440EVB
553 bool "Avantech AT2440EVB development board"
555 select S3C_DEV_USB_HOST
557 Say Y here if you are using the AT2440EVB development board
560 bool "MINI2440 development board"
564 select LEDS_TRIGGER_BACKLIGHT
567 select S3C_DEV_USB_HOST
568 select S3C_SETUP_CAMIF
570 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
571 available via various sources. It can come with a 3.5" or 7" touch LCD.
573 config MACH_NEXCODER_2440
574 bool "NexVision NEXCODER 2440 Light Board"
575 select S3C2440_XTAL_12000000
577 select S3C_DEV_USB_HOST
579 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
582 bool "Simtec IM2440D20 (OSIRIS) module"
583 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
584 select S3C2440_XTAL_12000000
586 select S3C24XX_GPIO_EXTRA128
587 select S3C24XX_SIMTEC_PM if PM
589 select S3C_DEV_USB_HOST
591 Say Y here if you are using the Simtec IM2440D20 module, also
594 config MACH_OSIRIS_DVS
595 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
596 depends on MACH_OSIRIS
599 Say Y/M here if you want to have dynamic voltage scaling support
600 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
602 The DVS driver alters the voltage supplied to the ARM core
603 depending on the frequency it is running at. The driver itself
604 does not do any of the frequency alteration, which is left up
605 to the cpufreq driver.
608 bool "HP iPAQ rx3715"
609 select PM_H1940 if PM
610 select S3C2440_XTAL_16934400
613 Say Y here if you are using the HP iPAQ rx3715.
617 select S3C2440_XTAL_16934400
620 select S3C_DEV_USB_HOST
622 Say Y here if you are using the SMDK2440.
624 config SMDK2440_CPU2440
625 bool "SMDK2440 with S3C2440 CPU module"
626 default y if ARCH_S3C2440
627 select S3C2440_XTAL_16934400
633 comment "S3C2442 Boards"
636 # The "S3C2442 Boards" list is ordered alphabetically by option text.
637 # (without ARCH_ or MACH_)
640 config MACH_NEO1973_GTA02
641 bool "Openmoko GTA02 / Freerunner phone"
647 select S3C_DEV_USB_HOST
649 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
652 bool "HP iPAQ rx1950"
654 select PM_H1940 if PM
655 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
656 select S3C2440_XTAL_16934400
661 Say Y here if you're using HP iPAQ rx1950
665 if CPU_S3C2443 || CPU_S3C2416
667 config S3C2443_COMMON
670 Common code for the S3C2443 and similar processors, which includes
671 the S3C2416 and S3C2450.
676 Internal config node for S3C2443 DMA support
678 config S3C2443_SETUP_SPI
681 Common setup code for SPI GPIO configurations
683 endif # CPU_S3C2443 || CPU_S3C2416
687 comment "S3C2443 Boards"
692 select S3C_DEV_HSMMC1
694 Say Y here if you are using an SMDK2443
698 endmenu # SAMSUNG S3C24XX SoCs Support