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
184 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
185 depends on ARM_S3C24XX_CPUFREQ
187 Compile in support for changing the PLL frequency from the
188 S3C24XX series CPUfreq driver. The PLL takes time to settle
189 after a frequency change, so by default it is not enabled.
191 This also means that the PLL tables for the selected CPU(s) will
192 be built which may increase the size of the kernel image.
194 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
196 config S3C2410_IOTIMING
198 depends on ARM_S3C24XX_CPUFREQ
200 Internal node to select io timing code that is common to the s3c2410
201 and s3c2440/s3c2442 cpu frequency support.
203 config S3C2410_CPUFREQ_UTILS
205 depends on ARM_S3C24XX_CPUFREQ
207 Internal node to select timing code that is common to the s3c2410
208 and s3c2440/s3c244 cpu frequency support.
210 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
212 config S3C2412_IOTIMING
214 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
216 Intel node to select io timing code that is common to the s3c2412
219 # cpu-specific sections
225 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
228 Select the PLL table for the S3C2410
230 config S3C24XX_SIMTEC_NOR
233 Internal node to specify machine has simtec NOR mapping
237 select HAVE_PATA_PLATFORM
239 Internal node for machines with an BAST style IDE
242 comment "S3C2410 Boards"
245 # The "S3C2410 Boards" list is ordered alphabetically by option text.
246 # (without ARCH_ or MACH_)
249 config MACH_AML_M5900
250 bool "AML M5900 Series"
251 select S3C24XX_SIMTEC_PM if PM
252 select S3C_DEV_USB_HOST
254 Say Y here if you are using the American Microsystems M5900 Series
255 <http://www.amltd.com>
258 bool "Simtec Electronics BAST (EB2410ITX)"
261 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
263 select S3C24XX_SIMTEC_NOR
264 select S3C24XX_SIMTEC_PM if PM
265 select S3C24XX_SIMTEC_USB
268 select S3C_DEV_USB_HOST
270 Say Y here if you are using the Simtec Electronics EB2410ITX
271 development board (also known as BAST)
273 config BAST_PC104_IRQ
274 bool "BAST PC104 IRQ support"
278 Say Y here to enable the PC104 IRQ routing on the
279 Simtec BAST (EB2410ITX)
283 select PM_H1940 if PM
284 select S3C24XX_SETUP_TS
286 select S3C_DEV_USB_HOST
288 Say Y here if you are using the HP IPAQ H1940
291 tristate "Control the state of H1940 bluetooth chip"
292 depends on ARCH_H1940
295 This is a simple driver that is able to control
296 the state of built in bluetooth chip on h1940.
301 Internal node for H1940 and related PM
304 bool "Acer N30 family"
306 select S3C_DEV_USB_HOST
308 Say Y here if you want suppt for the Acer N30, Acer N35,
309 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
312 bool "NexVision OTOM Board"
314 select S3C_DEV_USB_HOST
316 Say Y here if you are using the Nex Vision OTOM board
321 select S3C_DEV_USB_HOST
323 Say Y here if you are using the Armzone QT2410
326 bool "SMDK2410/A9M2410"
328 select S3C_DEV_USB_HOST
330 Say Y here if you are using the SMDK2410 or the derived module A9M2410
331 <http://www.fsforth.de>
333 config MACH_TCT_HAMMER
334 bool "TCT Hammer Board"
335 select S3C_DEV_USB_HOST
337 Say Y here if you are using the TinCanTools Hammer Board
338 <http://www.tincantools.com>
341 bool "Thorcom VR1000"
344 select S3C24XX_SIMTEC_NOR
345 select S3C24XX_SIMTEC_PM if PM
346 select S3C24XX_SIMTEC_USB
347 select S3C_DEV_USB_HOST
349 Say Y here if you are using the Thorcom VR1000 board.
353 config S3C2412_PM_SLEEP
356 Internal config node to apply sleep for S3C2412 power management.
357 Can be selected by another SoCs such as S3C2416 with similar
362 config CPU_S3C2412_ONLY
364 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
365 !CPU_S3C2442 && !CPU_S3C2443
371 Internal config node for S3C2412 DMA support
375 select S3C2412_PM_SLEEP
376 select SAMSUNG_WAKEMASK
378 Internal config node to apply S3C2412 power management
380 comment "S3C2412 Boards"
383 # The "S3C2412 Boards" list is ordered alphabetically by option text.
384 # (without ARCH_ or MACH_)
390 select S3C_DEV_USB_HOST
392 Say Y here if you are using the Logitech Jive.
394 config MACH_JIVE_SHOW_BOOTLOADER
395 bool "Allow access to bootloader partitions in MTD"
401 Internal node for S3C2413 version of SMDK2413, so that
402 machine_is_s3c2413() will work when MACH_SMDK2413 is
409 Say Y here if you are using an SMDK2412
411 Note, this shares support with SMDK2413, so will automatically
412 select MACH_SMDK2413.
419 select S3C_DEV_USB_HOST
421 Say Y here if you are using an SMDK2413
426 select S3C_DEV_USB_HOST
428 Say Y here if you are using an VSTMS board
436 select S3C2412_PM_SLEEP
438 Internal config node to apply S3C2416 power management
440 config S3C2416_SETUP_SDHCI
442 select S3C2416_SETUP_SDHCI_GPIO
444 Internal helper functions for S3C2416 based SDHCI systems
446 config S3C2416_SETUP_SDHCI_GPIO
449 Common setup code for SDHCI gpio.
451 comment "S3C2416 Boards"
455 select S3C2416_SETUP_SDHCI
459 select S3C_DEV_HSMMC1
461 select S3C_DEV_USB_HOST
463 Say Y here if you are using an SMDK2416
465 config MACH_S3C2416_DT
466 bool "Samsung S3C2416 machine using devicetree"
470 select PINCTRL_S3C24XX
472 Machine support for Samsung S3C2416 machines with device tree enabled.
473 Select this if a fdt blob is available for the S3C2416 SoC based board.
474 Note: This is under development and not all peripherals can be supported
475 with this machine file.
484 Support for S3C2440 specific DMA code5A
486 config S3C2440_XTAL_12000000
489 Indicate that the build needs to support 12MHz system
492 config S3C2440_XTAL_16934400
495 Indicate that the build needs to support 16.9344MHz system
498 config S3C2440_PLL_12000000
500 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
501 default y if S3C24XX_PLL
503 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
505 config S3C2440_PLL_16934400
507 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
508 default y if S3C24XX_PLL
510 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
512 comment "S3C2440 Boards"
515 # The "S3C2440 Boards" list is ordered alphabetically by option text.
516 # (without ARCH_ or MACH_)
520 bool "Simtec Electronics ANUBIS"
521 select HAVE_PATA_PLATFORM
522 select S3C2440_XTAL_12000000
524 select S3C24XX_GPIO_EXTRA64
525 select S3C24XX_SIMTEC_PM if PM
526 select S3C_DEV_USB_HOST
528 Say Y here if you are using the Simtec Electronics ANUBIS
531 config MACH_AT2440EVB
532 bool "Avantech AT2440EVB development board"
534 select S3C_DEV_USB_HOST
536 Say Y here if you are using the AT2440EVB development board
539 bool "MINI2440 development board"
543 select LEDS_TRIGGER_BACKLIGHT
546 select S3C_DEV_USB_HOST
547 select S3C_SETUP_CAMIF
549 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
550 available via various sources. It can come with a 3.5" or 7" touch LCD.
552 config MACH_NEXCODER_2440
553 bool "NexVision NEXCODER 2440 Light Board"
554 select S3C2440_XTAL_12000000
556 select S3C_DEV_USB_HOST
558 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
561 bool "Simtec IM2440D20 (OSIRIS) module"
562 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
563 select S3C2440_XTAL_12000000
565 select S3C24XX_GPIO_EXTRA128
566 select S3C24XX_SIMTEC_PM if PM
568 select S3C_DEV_USB_HOST
570 Say Y here if you are using the Simtec IM2440D20 module, also
573 config MACH_OSIRIS_DVS
574 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
575 depends on MACH_OSIRIS
578 Say Y/M here if you want to have dynamic voltage scaling support
579 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
581 The DVS driver alters the voltage supplied to the ARM core
582 depending on the frequency it is running at. The driver itself
583 does not do any of the frequency alteration, which is left up
584 to the cpufreq driver.
587 bool "HP iPAQ rx3715"
588 select PM_H1940 if PM
589 select S3C2440_XTAL_16934400
592 Say Y here if you are using the HP iPAQ rx3715.
596 select S3C2440_XTAL_16934400
599 select S3C_DEV_USB_HOST
601 Say Y here if you are using the SMDK2440.
603 config SMDK2440_CPU2440
604 bool "SMDK2440 with S3C2440 CPU module"
605 default y if ARCH_S3C2440
606 select S3C2440_XTAL_16934400
612 comment "S3C2442 Boards"
615 # The "S3C2442 Boards" list is ordered alphabetically by option text.
616 # (without ARCH_ or MACH_)
619 config MACH_NEO1973_GTA02
620 bool "Openmoko GTA02 / Freerunner phone"
626 select S3C_DEV_USB_HOST
628 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
631 bool "HP iPAQ rx1950"
633 select PM_H1940 if PM
634 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
635 select S3C2440_XTAL_16934400
640 Say Y here if you're using HP iPAQ rx1950
644 if CPU_S3C2443 || CPU_S3C2416
646 config S3C2443_COMMON
649 Common code for the S3C2443 and similar processors, which includes
650 the S3C2416 and S3C2450.
655 Internal config node for S3C2443 DMA support
657 config S3C2443_SETUP_SPI
660 Common setup code for SPI GPIO configurations
662 endif # CPU_S3C2443 || CPU_S3C2416
666 comment "S3C2443 Boards"
671 select S3C_DEV_HSMMC1
673 Say Y here if you are using an SMDK2443
677 endmenu # SAMSUNG S3C24XX SoCs Support