1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 # http://www.samsung.com/
6 # Copyright 2007 Simtec Electronics
7 menuconfig ARCH_S3C24XX
8 bool "Samsung S3C24XX SoCs (deprecated, see help)"
9 depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
10 depends on CPU_LITTLE_ENDIAN
12 select CLKSRC_SAMSUNG_PWM
15 select S3C2410_WATCHDOG
19 Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
20 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
21 (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
22 Samsung SMDK2410 development board (and derivatives).
24 The platform is deprecated and scheduled for removal. Please reach to
25 the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
27 Without such feedback, the platform will be removed after 2022.
38 Base platform code for any Samsung S3C24XX device
40 menu "Samsung S3C24XX SoCs Support"
42 comment "S3C24XX SoCs"
45 bool "Samsung S3C2410"
46 depends on ARCH_MULTI_V4T
49 select S3C2410_COMMON_CLK
50 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
51 select S3C2410_PM if PM
53 Support for S3C2410 and S3C2410A family from the S3C24XX line
54 of Samsung Mobile CPUs.
57 bool "Samsung S3C2412"
58 depends on ARCH_MULTI_V5
60 select S3C2412_COMMON_CLK
61 select S3C2412_PM if PM_SLEEP
63 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
66 bool "Samsung S3C2416/S3C2450"
67 depends on ARCH_MULTI_V5
69 select S3C2416_PM if PM_SLEEP
70 select S3C2443_COMMON_CLK
72 Support for the S3C2416 SoC from the S3C24XX line
75 bool "Samsung S3C2440"
76 depends on ARCH_MULTI_V4T
78 select S3C2410_COMMON_CLK
79 select S3C2410_PM if PM_SLEEP
81 Support for S3C2440 Samsung Mobile CPU based systems.
84 bool "Samsung S3C2442"
85 depends on ARCH_MULTI_V4T
87 select S3C2410_COMMON_CLK
88 select S3C2410_PM if PM_SLEEP
90 Support for S3C2442 Samsung Mobile CPU based systems.
94 depends on CPU_S3C2440 || CPU_S3C2442
97 bool "Samsung S3C2443"
98 depends on ARCH_MULTI_V4T
100 select S3C2443_COMMON_CLK
102 Support for the S3C2443 SoC from the S3C24XX line
109 Common machine code for SMDK2410 and SMDK2440
111 config S3C24XX_SIMTEC_AUDIO
113 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
116 Add audio devices for common Simtec S3C24XX boards
118 config S3C24XX_SIMTEC_PM
121 Common power management code for systems that are
122 compatible with the Simtec style of power management
124 config S3C24XX_SIMTEC_USB
127 USB management code for common Simtec S3C24XX boards
129 config S3C24XX_SETUP_TS
132 Compile in platform device definition for Samsung TouchScreen.
137 Power Management code common to S3C2410 and better
140 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
141 depends on ARM_S3C24XX_CPUFREQ
143 Compile in support for changing the PLL frequency from the
144 S3C24XX series CPUfreq driver. The PLL takes time to settle
145 after a frequency change, so by default it is not enabled.
147 This also means that the PLL tables for the selected CPU(s) will
148 be built which may increase the size of the kernel image.
150 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
152 config S3C2410_IOTIMING
154 depends on ARM_S3C24XX_CPUFREQ
156 Internal node to select io timing code that is common to the s3c2410
157 and s3c2440/s3c2442 cpu frequency support.
159 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
161 config S3C2412_IOTIMING
163 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
165 Intel node to select io timing code that is common to the s3c2412
168 # cpu-specific sections
174 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
177 Select the PLL table for the S3C2410
179 config S3C24XX_SIMTEC_NOR
182 Internal node to specify machine has simtec NOR mapping
186 select HAVE_PATA_PLATFORM
188 Internal node for machines with an BAST style IDE
191 comment "S3C2410 Boards"
194 # The "S3C2410 Boards" list is ordered alphabetically by option text.
195 # (without ARCH_ or MACH_)
198 config MACH_AML_M5900
199 bool "AML M5900 Series"
200 select S3C24XX_SIMTEC_PM if PM
201 select S3C_DEV_USB_HOST
203 Say Y here if you are using the American Microsystems M5900 Series
204 <http://www.amltd.com>
207 bool "Simtec Electronics BAST (EB2410ITX)"
209 select S3C2410_COMMON_DCLK
210 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
211 select S3C24XX_SIMTEC_NOR
212 select S3C24XX_SIMTEC_PM if PM
213 select S3C24XX_SIMTEC_USB
216 select S3C_DEV_USB_HOST
218 Say Y here if you are using the Simtec Electronics EB2410ITX
219 development board (also known as BAST)
221 config BAST_PC104_IRQ
222 bool "BAST PC104 IRQ support"
226 Say Y here to enable the PC104 IRQ routing on the
227 Simtec BAST (EB2410ITX)
231 select PM_H1940 if PM
232 select S3C24XX_SETUP_TS
234 select S3C_DEV_USB_HOST
236 Say Y here if you are using the HP IPAQ H1940
239 tristate "Control the state of H1940 bluetooth chip"
240 depends on ARCH_H1940
243 This is a simple driver that is able to control
244 the state of built in bluetooth chip on h1940.
247 bool "Acer N30 family"
249 select S3C_DEV_USB_HOST
251 Say Y here if you want suppt for the Acer N30, Acer N35,
252 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
255 bool "NexVision OTOM Board"
257 select S3C_DEV_USB_HOST
259 Say Y here if you are using the Nex Vision OTOM board
264 select S3C_DEV_USB_HOST
266 Say Y here if you are using the Armzone QT2410
269 bool "SMDK2410/A9M2410"
271 select S3C_DEV_USB_HOST
273 Say Y here if you are using the SMDK2410 or the derived module A9M2410
274 <http://www.fsforth.de>
276 config MACH_TCT_HAMMER
277 bool "TCT Hammer Board"
278 select S3C_DEV_USB_HOST
280 Say Y here if you are using the TinCanTools Hammer Board
281 <https://www.tincantools.com>
284 bool "Thorcom VR1000"
286 select S3C2410_COMMON_DCLK
287 select S3C24XX_SIMTEC_NOR
288 select S3C24XX_SIMTEC_PM if PM
289 select S3C24XX_SIMTEC_USB
290 select S3C_DEV_USB_HOST
292 Say Y here if you are using the Thorcom VR1000 board.
296 config S3C2412_PM_SLEEP
299 Internal config node to apply sleep for S3C2412 power management.
300 Can be selected by another SoCs such as S3C2416 with similar
305 config CPU_S3C2412_ONLY
307 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
308 !CPU_S3C2442 && !CPU_S3C2443
313 select S3C2412_PM_SLEEP
314 select SAMSUNG_WAKEMASK
316 Internal config node to apply S3C2412 power management
318 comment "S3C2412 Boards"
321 # The "S3C2412 Boards" list is ordered alphabetically by option text.
322 # (without ARCH_ or MACH_)
328 select S3C_DEV_USB_HOST
330 Say Y here if you are using the Logitech Jive.
332 config MACH_JIVE_SHOW_BOOTLOADER
333 bool "Allow access to bootloader partitions in MTD"
339 Internal node for S3C2413 version of SMDK2413, so that
340 machine_is_s3c2413() will work when MACH_SMDK2413 is
347 Say Y here if you are using an SMDK2412
349 Note, this shares support with SMDK2413, so will automatically
350 select MACH_SMDK2413.
357 select S3C_DEV_USB_HOST
359 Say Y here if you are using an SMDK2413
364 select S3C_DEV_USB_HOST
366 Say Y here if you are using an VSTMS board
374 select S3C2412_PM_SLEEP
375 select SAMSUNG_WAKEMASK
377 Internal config node to apply S3C2416 power management
379 config S3C2416_SETUP_SDHCI
381 select S3C2416_SETUP_SDHCI_GPIO
383 Internal helper functions for S3C2416 based SDHCI systems
385 config S3C2416_SETUP_SDHCI_GPIO
388 Common setup code for SDHCI gpio.
390 comment "S3C2416 Boards"
394 select S3C2416_SETUP_SDHCI
398 select S3C_DEV_HSMMC1
400 select S3C_DEV_USB_HOST
402 Say Y here if you are using an SMDK2416
404 config MACH_S3C2416_DT
405 bool "Samsung S3C2416 machine using devicetree"
409 select PINCTRL_S3C24XX
411 Machine support for Samsung S3C2416 machines with device tree enabled.
412 Select this if a fdt blob is available for the S3C2416 SoC based board.
413 Note: This is under development and not all peripherals can be supported
414 with this machine file.
418 if CPU_S3C2440 || CPU_S3C2442
420 config S3C2440_XTAL_12000000
423 Indicate that the build needs to support 12MHz system
426 config S3C2440_XTAL_16934400
429 Indicate that the build needs to support 16.9344MHz system
432 config S3C2440_PLL_12000000
434 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
435 default y if S3C24XX_PLL
437 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
439 config S3C2440_PLL_16934400
441 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
442 default y if S3C24XX_PLL
444 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
445 endif # CPU_S3C2440 || CPU_S3C2442
449 comment "S3C2440 Boards"
452 # The "S3C2440 Boards" list is ordered alphabetically by option text.
453 # (without ARCH_ or MACH_)
457 bool "Simtec Electronics ANUBIS"
458 select HAVE_PATA_PLATFORM
459 select S3C2410_COMMON_DCLK
460 select S3C2440_XTAL_12000000
461 select S3C24XX_SIMTEC_PM if PM
462 select S3C_DEV_USB_HOST
464 Say Y here if you are using the Simtec Electronics ANUBIS
467 config MACH_AT2440EVB
468 bool "Avantech AT2440EVB development board"
470 select S3C_DEV_USB_HOST
472 Say Y here if you are using the AT2440EVB development board
475 bool "MINI2440 development board"
478 select LEDS_TRIGGER_BACKLIGHT
481 select S3C_DEV_USB_HOST
483 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
484 available via various sources. It can come with a 3.5" or 7" touch LCD.
486 config MACH_NEXCODER_2440
487 bool "NexVision NEXCODER 2440 Light Board"
488 select S3C2440_XTAL_12000000
490 select S3C_DEV_USB_HOST
492 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
495 bool "Simtec IM2440D20 (OSIRIS) module"
496 select S3C2410_COMMON_DCLK
497 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
498 select S3C2440_XTAL_12000000
499 select S3C24XX_SIMTEC_PM if PM
501 select S3C_DEV_USB_HOST
503 Say Y here if you are using the Simtec IM2440D20 module, also
506 config MACH_OSIRIS_DVS
507 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
508 depends on MACH_OSIRIS
511 Say Y/M here if you want to have dynamic voltage scaling support
512 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
514 The DVS driver alters the voltage supplied to the ARM core
515 depending on the frequency it is running at. The driver itself
516 does not do any of the frequency alteration, which is left up
517 to the cpufreq driver.
520 bool "HP iPAQ rx3715"
521 select PM_H1940 if PM
522 select S3C2440_XTAL_16934400
525 Say Y here if you are using the HP iPAQ rx3715.
529 select S3C2440_XTAL_16934400
532 select S3C_DEV_USB_HOST
534 Say Y here if you are using the SMDK2440.
536 config SMDK2440_CPU2440
537 bool "SMDK2440 with S3C2440 CPU module"
538 default y if ARCH_S3C2440
539 select S3C2440_XTAL_16934400
545 comment "S3C2442 Boards"
548 # The "S3C2442 Boards" list is ordered alphabetically by option text.
549 # (without ARCH_ or MACH_)
552 config MACH_NEO1973_GTA02
553 bool "Openmoko GTA02 / Freerunner phone"
558 select S3C_DEV_USB_HOST
560 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
563 bool "HP iPAQ rx1950"
565 select PM_H1940 if PM
566 select S3C2410_COMMON_DCLK
567 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
568 select S3C2440_XTAL_16934400
571 Say Y here if you're using HP iPAQ rx1950
575 if CPU_S3C2443 || CPU_S3C2416
577 config S3C2443_SETUP_SPI
580 Common setup code for SPI GPIO configurations
582 endif # CPU_S3C2443 || CPU_S3C2416
586 comment "S3C2443 Boards"
591 select S3C_DEV_HSMMC1
593 Say Y here if you are using an SMDK2443
600 Internal node for H1940 and related PM
602 endmenu # "Samsung S3C24XX SoCs Support"