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_CPUFREQ if CPU_FREQ_S3C24XX
32 select S3C2410_PM if PM
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
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
58 Support for the S3C2416 SoC from the S3C24XX line
61 bool "SAMSUNG S3C2440"
63 select CPU_LLSERIAL_S3C2440
65 select S3C2410_PM if PM
66 select S3C2440_DMA if S3C24XX_DMA
69 Support for S3C2440 Samsung Mobile CPU based systems.
72 bool "SAMSUNG S3C2442"
74 select CPU_LLSERIAL_S3C2440
76 select S3C2410_PM if PM
79 Support for S3C2442 Samsung Mobile CPU based systems.
83 depends on CPU_S3C2440 || CPU_S3C2442
86 bool "SAMSUNG S3C2443"
88 select CPU_LLSERIAL_S3C2440
90 select S3C2443_DMA if S3C24XX_DMA
94 Support for the S3C2443 SoC from the S3C24XX line
101 Clock code for the S3C2410, and similar processors which
102 is currently includes the S3C2410, S3C2440, S3C2442.
107 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
112 Common machine code for SMDK2410 and SMDK2440
114 config S3C24XX_SIMTEC_AUDIO
116 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
119 Add audio devices for common Simtec S3C24XX boards
121 config S3C24XX_SIMTEC_PM
124 Common power management code for systems that are
125 compatible with the Simtec style of power management
127 config S3C24XX_SIMTEC_USB
130 USB management code for common Simtec S3C24XX boards
132 config S3C24XX_SETUP_TS
135 Compile in platform device definition for Samsung TouchScreen.
138 bool "S3C2410 DMA support"
141 S3C2410 DMA support. This is needed for drivers like sound which
142 use the S3C2410's DMA system to move data to and from the
145 config S3C2410_DMA_DEBUG
146 bool "S3C2410 DMA support debug"
147 depends on S3C2410_DMA
149 Enable debugging output for the DMA code. This option sends info
150 to the kernel log, at priority KERN_DEBUG.
154 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
155 default y if CPU_S3C2410 || CPU_S3C2442
157 DMA device selection for S3C2410 and compatible CPUs
162 Power Management code common to S3C2410 and better
164 # low-level serial option nodes
166 config CPU_LLSERIAL_S3C2410_ONLY
168 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
170 config CPU_LLSERIAL_S3C2440_ONLY
172 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
174 config CPU_LLSERIAL_S3C2410
177 Selected if there is an S3C2410 (or register compatible) serial
178 low-level implementation needed
180 config CPU_LLSERIAL_S3C2440
183 Selected if there is an S3C2440 (or register compatible) serial
184 low-level implementation needed
186 # gpio configurations
188 config S3C24XX_GPIO_EXTRA
190 default 128 if S3C24XX_GPIO_EXTRA128
191 default 64 if S3C24XX_GPIO_EXTRA64
192 default 16 if ARCH_H1940
195 config S3C24XX_GPIO_EXTRA64
198 Add an extra 64 gpio numbers to the available GPIO pool. This is
199 available for boards that need extra gpios for external devices.
201 config S3C24XX_GPIO_EXTRA128
204 Add an extra 128 gpio numbers to the available GPIO pool. This is
205 available for boards that need extra gpios for external devices.
207 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
209 config S3C2410_IOTIMING
211 depends on CPU_FREQ_S3C24XX
213 Internal node to select io timing code that is common to the s3c2410
214 and s3c2440/s3c2442 cpu frequency support.
216 config S3C2410_CPUFREQ_UTILS
218 depends on CPU_FREQ_S3C24XX
220 Internal node to select timing code that is common to the s3c2410
221 and s3c2440/s3c244 cpu frequency support.
223 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
225 config S3C2412_IOTIMING
227 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
229 Intel node to select io timing code that is common to the s3c2412
232 # cpu-specific sections
236 config S3C2410_CPUFREQ
238 depends on CPU_FREQ_S3C24XX
239 select S3C2410_CPUFREQ_UTILS
241 CPU Frequency scaling support for S3C2410
245 depends on S3C2410_CPUFREQ && CPU_FREQ_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 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
388 config S3C2412_CPUFREQ
390 depends on CPU_FREQ_S3C24XX
392 select S3C2412_IOTIMING
394 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
399 Internal config node for S3C2412 DMA support
403 select S3C2412_PM_SLEEP
404 select SAMSUNG_WAKEMASK
406 Internal config node to apply S3C2412 power management
408 comment "S3C2412 Boards"
411 # The "S3C2412 Boards" list is ordered alphabetically by option text.
412 # (without ARCH_ or MACH_)
418 select S3C_DEV_USB_HOST
420 Say Y here if you are using the Logitech Jive.
422 config MACH_JIVE_SHOW_BOOTLOADER
423 bool "Allow access to bootloader partitions in MTD"
429 Internal node for S3C2413 version of SMDK2413, so that
430 machine_is_s3c2413() will work when MACH_SMDK2413 is
437 Say Y here if you are using an SMDK2412
439 Note, this shares support with SMDK2413, so will automatically
440 select MACH_SMDK2413.
447 select S3C_DEV_USB_HOST
449 Say Y here if you are using an SMDK2413
454 select S3C_DEV_USB_HOST
456 Say Y here if you are using an VSTMS board
464 select S3C2412_PM_SLEEP
466 Internal config node to apply S3C2416 power management
468 config S3C2416_SETUP_SDHCI
470 select S3C2416_SETUP_SDHCI_GPIO
472 Internal helper functions for S3C2416 based SDHCI systems
474 config S3C2416_SETUP_SDHCI_GPIO
477 Common setup code for SDHCI gpio.
479 comment "S3C2416 Boards"
483 select S3C2416_SETUP_SDHCI
487 select S3C_DEV_HSMMC1
489 select S3C_DEV_USB_HOST
491 Say Y here if you are using an SMDK2416
493 config MACH_S3C2416_DT
494 bool "Samsung S3C2416 machine using devicetree"
498 select PINCTRL_S3C24XX
500 Machine support for Samsung S3C2416 machines with device tree enabled.
501 Select this if a fdt blob is available for the S3C2416 SoC based board.
502 Note: This is under development and not all peripherals can be supported
503 with this machine file.
509 config S3C2440_CPUFREQ
510 bool "S3C2440/S3C2442 CPU Frequency scaling support"
511 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
513 select S3C2410_CPUFREQ_UTILS
515 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
520 Support for S3C2440 specific DMA code5A
522 config S3C2440_XTAL_12000000
525 Indicate that the build needs to support 12MHz system
528 config S3C2440_XTAL_16934400
531 Indicate that the build needs to support 16.9344MHz system
534 config S3C2440_PLL_12000000
536 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
537 default y if CPU_FREQ_S3C24XX_PLL
539 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
541 config S3C2440_PLL_16934400
543 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
544 default y if CPU_FREQ_S3C24XX_PLL
546 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
548 comment "S3C2440 Boards"
551 # The "S3C2440 Boards" list is ordered alphabetically by option text.
552 # (without ARCH_ or MACH_)
556 bool "Simtec Electronics ANUBIS"
557 select HAVE_PATA_PLATFORM
558 select S3C2440_XTAL_12000000
560 select S3C24XX_GPIO_EXTRA64
561 select S3C24XX_SIMTEC_PM if PM
562 select S3C_DEV_USB_HOST
564 Say Y here if you are using the Simtec Electronics ANUBIS
567 config MACH_AT2440EVB
568 bool "Avantech AT2440EVB development board"
570 select S3C_DEV_USB_HOST
572 Say Y here if you are using the AT2440EVB development board
575 bool "MINI2440 development board"
579 select LEDS_TRIGGER_BACKLIGHT
582 select S3C_DEV_USB_HOST
583 select S3C_SETUP_CAMIF
585 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
586 available via various sources. It can come with a 3.5" or 7" touch LCD.
588 config MACH_NEXCODER_2440
589 bool "NexVision NEXCODER 2440 Light Board"
590 select S3C2440_XTAL_12000000
592 select S3C_DEV_USB_HOST
594 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
597 bool "Simtec IM2440D20 (OSIRIS) module"
598 select S3C2410_IOTIMING if S3C2440_CPUFREQ
599 select S3C2440_XTAL_12000000
601 select S3C24XX_GPIO_EXTRA128
602 select S3C24XX_SIMTEC_PM if PM
604 select S3C_DEV_USB_HOST
606 Say Y here if you are using the Simtec IM2440D20 module, also
609 config MACH_OSIRIS_DVS
610 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
611 depends on MACH_OSIRIS
614 Say Y/M here if you want to have dynamic voltage scaling support
615 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
617 The DVS driver alters the voltage supplied to the ARM core
618 depending on the frequency it is running at. The driver itself
619 does not do any of the frequency alteration, which is left up
620 to the cpufreq driver.
623 bool "HP iPAQ rx3715"
624 select PM_H1940 if PM
625 select S3C2440_XTAL_16934400
628 Say Y here if you are using the HP iPAQ rx3715.
632 select S3C2440_XTAL_16934400
635 select S3C_DEV_USB_HOST
637 Say Y here if you are using the SMDK2440.
639 config SMDK2440_CPU2440
640 bool "SMDK2440 with S3C2440 CPU module"
641 default y if ARCH_S3C2440
642 select S3C2440_XTAL_16934400
648 comment "S3C2442 Boards"
651 # The "S3C2442 Boards" list is ordered alphabetically by option text.
652 # (without ARCH_ or MACH_)
655 config MACH_NEO1973_GTA02
656 bool "Openmoko GTA02 / Freerunner phone"
662 select S3C_DEV_USB_HOST
664 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
667 bool "HP iPAQ rx1950"
669 select PM_H1940 if PM
670 select S3C2410_IOTIMING if S3C2440_CPUFREQ
671 select S3C2440_XTAL_16934400
676 Say Y here if you're using HP iPAQ rx1950
680 if CPU_S3C2443 || CPU_S3C2416
682 config S3C2443_COMMON
685 Common code for the S3C2443 and similar processors, which includes
686 the S3C2416 and S3C2450.
691 Internal config node for S3C2443 DMA support
693 config S3C2443_SETUP_SPI
696 Common setup code for SPI GPIO configurations
698 endif # CPU_S3C2443 || CPU_S3C2416
702 comment "S3C2443 Boards"
707 select S3C_DEV_HSMMC1
709 Say Y here if you are using an SMDK2443
713 endmenu # SAMSUNG S3C24XX SoCs Support