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"
40 depends on ARCH_S3C24XX
42 select CPU_LLSERIAL_S3C2440
43 select S3C2412_DMA if S3C24XX_DMA
44 select S3C2412_PM if PM
47 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
50 bool "SAMSUNG S3C2416/S3C2450"
51 depends on ARCH_S3C24XX
53 select CPU_LLSERIAL_S3C2440
54 select S3C2416_PM if PM
56 select S3C2443_DMA if S3C24XX_DMA
60 Support for the S3C2416 SoC from the S3C24XX line
63 bool "SAMSUNG S3C2440"
65 select CPU_LLSERIAL_S3C2440
67 select S3C2410_PM if PM
68 select S3C2440_DMA if S3C24XX_DMA
71 Support for S3C2440 Samsung Mobile CPU based systems.
74 bool "SAMSUNG S3C2442"
76 select CPU_LLSERIAL_S3C2440
78 select S3C2410_PM if PM
81 Support for S3C2442 Samsung Mobile CPU based systems.
85 depends on CPU_S3C2440 || CPU_S3C2442
88 bool "SAMSUNG S3C2443"
89 depends on ARCH_S3C24XX
91 select CPU_LLSERIAL_S3C2440
93 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"
142 depends on ARCH_S3C24XX
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 ARCH_S3C24XX && 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)
159 default y if CPU_S3C2410 || CPU_S3C2442
161 DMA device selection for S3C2410 and compatible CPUs
166 Power Management code common to S3C2410 and better
168 # low-level serial option nodes
170 config CPU_LLSERIAL_S3C2410_ONLY
172 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
174 config CPU_LLSERIAL_S3C2440_ONLY
176 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
178 config CPU_LLSERIAL_S3C2410
181 Selected if there is an S3C2410 (or register compatible) serial
182 low-level implementation needed
184 config CPU_LLSERIAL_S3C2440
187 Selected if there is an S3C2440 (or register compatible) serial
188 low-level implementation needed
190 # gpio configurations
192 config S3C24XX_GPIO_EXTRA
194 default 128 if S3C24XX_GPIO_EXTRA128
195 default 64 if S3C24XX_GPIO_EXTRA64
196 default 16 if ARCH_H1940
199 config S3C24XX_GPIO_EXTRA64
202 Add an extra 64 gpio numbers to the available GPIO pool. This is
203 available for boards that need extra gpios for external devices.
205 config S3C24XX_GPIO_EXTRA128
208 Add an extra 128 gpio numbers to the available GPIO pool. This is
209 available for boards that need extra gpios for external devices.
211 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
213 config S3C2410_IOTIMING
215 depends on CPU_FREQ_S3C24XX
217 Internal node to select io timing code that is common to the s3c2410
218 and s3c2440/s3c2442 cpu frequency support.
220 config S3C2410_CPUFREQ_UTILS
222 depends on CPU_FREQ_S3C24XX
224 Internal node to select timing code that is common to the s3c2410
225 and s3c2440/s3c244 cpu frequency support.
227 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
229 config S3C2412_IOTIMING
231 depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
233 Intel node to select io timing code that is common to the s3c2412
236 # cpu-specific sections
240 config S3C2410_CPUFREQ
242 depends on CPU_FREQ_S3C24XX && CPU_S3C2410
243 select S3C2410_CPUFREQ_UTILS
245 CPU Frequency scaling support for S3C2410
249 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
252 Select the PLL table for the S3C2410
254 config S3C24XX_SIMTEC_NOR
257 Internal node to specify machine has simtec NOR mapping
261 select HAVE_PATA_PLATFORM
263 Internal node for machines with an BAST style IDE
266 comment "S3C2410 Boards"
269 # The "S3C2410 Boards" list is ordered alphabetically by option text.
270 # (without ARCH_ or MACH_)
273 config MACH_AML_M5900
274 bool "AML M5900 Series"
275 select S3C24XX_SIMTEC_PM if PM
276 select S3C_DEV_USB_HOST
278 Say Y here if you are using the American Microsystems M5900 Series
279 <http://www.amltd.com>
282 bool "Simtec Electronics BAST (EB2410ITX)"
285 select S3C2410_IOTIMING if S3C2410_CPUFREQ
287 select S3C24XX_SIMTEC_NOR
288 select S3C24XX_SIMTEC_PM if PM
289 select S3C24XX_SIMTEC_USB
292 select S3C_DEV_USB_HOST
294 Say Y here if you are using the Simtec Electronics EB2410ITX
295 development board (also known as BAST)
297 config BAST_PC104_IRQ
298 bool "BAST PC104 IRQ support"
302 Say Y here to enable the PC104 IRQ routing on the
303 Simtec BAST (EB2410ITX)
307 select PM_H1940 if PM
308 select S3C24XX_SETUP_TS
310 select S3C_DEV_USB_HOST
312 Say Y here if you are using the HP IPAQ H1940
315 tristate "Control the state of H1940 bluetooth chip"
316 depends on ARCH_H1940
319 This is a simple driver that is able to control
320 the state of built in bluetooth chip on h1940.
325 Internal node for H1940 and related PM
328 bool "Acer N30 family"
331 select S3C_DEV_USB_HOST
333 Say Y here if you want suppt for the Acer N30, Acer N35,
334 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
337 bool "NexVision OTOM Board"
339 select S3C_DEV_USB_HOST
341 Say Y here if you are using the Nex Vision OTOM board
346 select S3C_DEV_USB_HOST
348 Say Y here if you are using the Armzone QT2410
351 bool "SMDK2410/A9M2410"
353 select S3C_DEV_USB_HOST
355 Say Y here if you are using the SMDK2410 or the derived module A9M2410
356 <http://www.fsforth.de>
358 config MACH_TCT_HAMMER
359 bool "TCT Hammer Board"
360 select S3C_DEV_USB_HOST
362 Say Y here if you are using the TinCanTools Hammer Board
363 <http://www.tincantools.com>
366 bool "Thorcom VR1000"
369 select S3C24XX_SIMTEC_NOR
370 select S3C24XX_SIMTEC_PM if PM
371 select S3C24XX_SIMTEC_USB
372 select S3C_DEV_USB_HOST
374 Say Y here if you are using the Thorcom VR1000 board.
378 config S3C2412_PM_SLEEP
381 Internal config node to apply sleep for S3C2412 power management.
382 Can be selected by another SoCs such as S3C2416 with similar
387 config CPU_S3C2412_ONLY
389 depends on ARCH_S3C24XX && !CPU_S3C2410 && \
390 !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \
391 !CPU_S3C2443 && CPU_S3C2412
394 config S3C2412_CPUFREQ
396 depends on CPU_FREQ_S3C24XX && CPU_S3C2412
398 select S3C2412_IOTIMING
400 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
405 Internal config node for S3C2412 DMA support
409 select S3C2412_PM_SLEEP
410 select SAMSUNG_WAKEMASK
412 Internal config node to apply S3C2412 power management
414 comment "S3C2412 Boards"
417 # The "S3C2412 Boards" list is ordered alphabetically by option text.
418 # (without ARCH_ or MACH_)
424 select S3C_DEV_USB_HOST
426 Say Y here if you are using the Logitech Jive.
428 config MACH_JIVE_SHOW_BOOTLOADER
429 bool "Allow access to bootloader partitions in MTD"
435 Internal node for S3C2413 version of SMDK2413, so that
436 machine_is_s3c2413() will work when MACH_SMDK2413 is
443 Say Y here if you are using an SMDK2412
445 Note, this shares support with SMDK2413, so will automatically
446 select MACH_SMDK2413.
453 select S3C_DEV_USB_HOST
455 Say Y here if you are using an SMDK2413
460 select S3C_DEV_USB_HOST
462 Say Y here if you are using an VSTMS board
470 select S3C2412_PM_SLEEP
472 Internal config node to apply S3C2416 power management
474 config S3C2416_SETUP_SDHCI
476 select S3C2416_SETUP_SDHCI_GPIO
478 Internal helper functions for S3C2416 based SDHCI systems
480 config S3C2416_SETUP_SDHCI_GPIO
483 Common setup code for SDHCI gpio.
485 comment "S3C2416 Boards"
489 select S3C2416_SETUP_SDHCI
493 select S3C_DEV_HSMMC1
495 select S3C_DEV_USB_HOST
497 Say Y here if you are using an SMDK2416
503 config S3C2440_CPUFREQ
504 bool "S3C2440/S3C2442 CPU Frequency scaling support"
505 depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
507 select S3C2410_CPUFREQ_UTILS
509 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
514 Support for S3C2440 specific DMA code5A
516 config S3C2440_XTAL_12000000
519 Indicate that the build needs to support 12MHz system
522 config S3C2440_XTAL_16934400
525 Indicate that the build needs to support 16.9344MHz system
528 config S3C2440_PLL_12000000
530 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
531 default y if CPU_FREQ_S3C24XX_PLL
533 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
535 config S3C2440_PLL_16934400
537 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
538 default y if CPU_FREQ_S3C24XX_PLL
540 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
542 comment "S3C2440 Boards"
545 # The "S3C2440 Boards" list is ordered alphabetically by option text.
546 # (without ARCH_ or MACH_)
550 bool "Simtec Electronics ANUBIS"
551 select HAVE_PATA_PLATFORM
552 select S3C2440_XTAL_12000000
554 select S3C24XX_GPIO_EXTRA64
555 select S3C24XX_SIMTEC_PM if PM
556 select S3C_DEV_USB_HOST
558 Say Y here if you are using the Simtec Electronics ANUBIS
561 config MACH_AT2440EVB
562 bool "Avantech AT2440EVB development board"
564 select S3C_DEV_USB_HOST
566 Say Y here if you are using the AT2440EVB development board
569 bool "MINI2440 development board"
573 select LEDS_TRIGGER_BACKLIGHT
576 select S3C_DEV_USB_HOST
577 select S3C_SETUP_CAMIF
579 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
580 available via various sources. It can come with a 3.5" or 7" touch LCD.
582 config MACH_NEXCODER_2440
583 bool "NexVision NEXCODER 2440 Light Board"
584 select S3C2440_XTAL_12000000
586 select S3C_DEV_USB_HOST
588 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
591 bool "Simtec IM2440D20 (OSIRIS) module"
592 select S3C2410_IOTIMING if S3C2440_CPUFREQ
593 select S3C2440_XTAL_12000000
595 select S3C24XX_GPIO_EXTRA128
596 select S3C24XX_SIMTEC_PM if PM
598 select S3C_DEV_USB_HOST
600 Say Y here if you are using the Simtec IM2440D20 module, also
603 config MACH_OSIRIS_DVS
604 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
605 depends on MACH_OSIRIS
608 Say Y/M here if you want to have dynamic voltage scaling support
609 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
611 The DVS driver alters the voltage supplied to the ARM core
612 depending on the frequency it is running at. The driver itself
613 does not do any of the frequency alteration, which is left up
614 to the cpufreq driver.
617 bool "HP iPAQ rx3715"
618 select PM_H1940 if PM
619 select S3C2440_XTAL_16934400
622 Say Y here if you are using the HP iPAQ rx3715.
626 select S3C2440_XTAL_16934400
629 select S3C_DEV_USB_HOST
631 Say Y here if you are using the SMDK2440.
633 config SMDK2440_CPU2440
634 bool "SMDK2440 with S3C2440 CPU module"
635 default y if ARCH_S3C2440
636 select S3C2440_XTAL_16934400
642 comment "S3C2442 Boards"
645 # The "S3C2442 Boards" list is ordered alphabetically by option text.
646 # (without ARCH_ or MACH_)
649 config MACH_NEO1973_GTA02
650 bool "Openmoko GTA02 / Freerunner phone"
657 select S3C_DEV_USB_HOST
659 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
662 bool "HP iPAQ rx1950"
664 select PM_H1940 if PM
665 select S3C2410_IOTIMING if S3C2440_CPUFREQ
666 select S3C2440_XTAL_16934400
671 Say Y here if you're using HP iPAQ rx1950
673 config SMDK2440_CPU2442
674 bool "SMDM2440 with S3C2442 CPU module"
678 if CPU_S3C2443 || CPU_S3C2416
680 config S3C2443_COMMON
683 Common code for the S3C2443 and similar processors, which includes
684 the S3C2416 and S3C2450.
689 Internal config node for S3C2443 DMA support
691 config S3C2443_SETUP_SPI
694 Common setup code for SPI GPIO configurations
696 endif # CPU_S3C2443 || CPU_S3C2416
700 comment "S3C2443 Boards"
705 select S3C_DEV_HSMMC1
707 Say Y here if you are using an SMDK2443
711 endmenu # SAMSUNG S3C24XX SoCs Support