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
42 menu "Samsung S3C24XX SoCs Support"
44 comment "S3C24XX SoCs"
47 bool "Samsung S3C2410"
48 depends on ARCH_MULTI_V4T
51 select S3C2410_COMMON_CLK
52 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
53 select S3C2410_PM if PM
55 Support for S3C2410 and S3C2410A family from the S3C24XX line
56 of Samsung Mobile CPUs.
59 bool "Samsung S3C2412"
60 depends on ARCH_MULTI_V5
62 select S3C2412_COMMON_CLK
63 select S3C2412_PM if PM_SLEEP
65 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
68 bool "Samsung S3C2416/S3C2450"
69 depends on ARCH_MULTI_V5
71 select S3C2416_PM if PM_SLEEP
72 select S3C2443_COMMON_CLK
74 Support for the S3C2416 SoC from the S3C24XX line
77 bool "Samsung S3C2440"
78 depends on ARCH_MULTI_V4T
80 select S3C2410_COMMON_CLK
81 select S3C2410_PM if PM_SLEEP
83 Support for S3C2440 Samsung Mobile CPU based systems.
86 bool "Samsung S3C2442"
87 depends on ARCH_MULTI_V4T
89 select S3C2410_COMMON_CLK
90 select S3C2410_PM if PM_SLEEP
92 Support for S3C2442 Samsung Mobile CPU based systems.
96 depends on CPU_S3C2440 || CPU_S3C2442
99 bool "Samsung S3C2443"
100 depends on ARCH_MULTI_V4T
102 select S3C2443_COMMON_CLK
104 Support for the S3C2443 SoC from the S3C24XX line
111 Common machine code for SMDK2410 and SMDK2440
113 config S3C24XX_SIMTEC_AUDIO
115 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
118 Add audio devices for common Simtec S3C24XX boards
120 config S3C24XX_SIMTEC_PM
123 Common power management code for systems that are
124 compatible with the Simtec style of power management
126 config S3C24XX_SIMTEC_USB
129 USB management code for common Simtec S3C24XX boards
131 config S3C24XX_SETUP_TS
134 Compile in platform device definition for Samsung TouchScreen.
139 Power Management code common to S3C2410 and better
142 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
143 depends on ARM_S3C24XX_CPUFREQ
145 Compile in support for changing the PLL frequency from the
146 S3C24XX series CPUfreq driver. The PLL takes time to settle
147 after a frequency change, so by default it is not enabled.
149 This also means that the PLL tables for the selected CPU(s) will
150 be built which may increase the size of the kernel image.
152 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
154 config S3C2410_IOTIMING
156 depends on ARM_S3C24XX_CPUFREQ
158 Internal node to select io timing code that is common to the s3c2410
159 and s3c2440/s3c2442 cpu frequency support.
161 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
163 config S3C2412_IOTIMING
165 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
167 Intel node to select io timing code that is common to the s3c2412
170 # cpu-specific sections
176 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
179 Select the PLL table for the S3C2410
181 config S3C24XX_SIMTEC_NOR
184 Internal node to specify machine has simtec NOR mapping
188 select HAVE_PATA_PLATFORM
190 Internal node for machines with an BAST style IDE
193 comment "S3C2410 Boards"
196 # The "S3C2410 Boards" list is ordered alphabetically by option text.
197 # (without ARCH_ or MACH_)
200 config MACH_AML_M5900
201 bool "AML M5900 Series"
202 select S3C24XX_SIMTEC_PM if PM
203 select S3C_DEV_USB_HOST
205 Say Y here if you are using the American Microsystems M5900 Series
206 <http://www.amltd.com>
209 bool "Simtec Electronics BAST (EB2410ITX)"
211 select S3C2410_COMMON_DCLK
212 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
213 select S3C24XX_SIMTEC_NOR
214 select S3C24XX_SIMTEC_PM if PM
215 select S3C24XX_SIMTEC_USB
218 select S3C_DEV_USB_HOST
220 Say Y here if you are using the Simtec Electronics EB2410ITX
221 development board (also known as BAST)
223 config BAST_PC104_IRQ
224 bool "BAST PC104 IRQ support"
228 Say Y here to enable the PC104 IRQ routing on the
229 Simtec BAST (EB2410ITX)
233 select PM_H1940 if PM
234 select S3C24XX_SETUP_TS
236 select S3C_DEV_USB_HOST
238 Say Y here if you are using the HP IPAQ H1940
241 tristate "Control the state of H1940 bluetooth chip"
242 depends on ARCH_H1940
245 This is a simple driver that is able to control
246 the state of built in bluetooth chip on h1940.
249 bool "Acer N30 family"
251 select S3C_DEV_USB_HOST
253 Say Y here if you want suppt for the Acer N30, Acer N35,
254 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
257 bool "NexVision OTOM Board"
259 select S3C_DEV_USB_HOST
261 Say Y here if you are using the Nex Vision OTOM board
266 select S3C_DEV_USB_HOST
268 Say Y here if you are using the Armzone QT2410
271 bool "SMDK2410/A9M2410"
273 select S3C_DEV_USB_HOST
275 Say Y here if you are using the SMDK2410 or the derived module A9M2410
276 <http://www.fsforth.de>
278 config MACH_TCT_HAMMER
279 bool "TCT Hammer Board"
280 select S3C_DEV_USB_HOST
282 Say Y here if you are using the TinCanTools Hammer Board
283 <https://www.tincantools.com>
286 bool "Thorcom VR1000"
288 select S3C2410_COMMON_DCLK
289 select S3C24XX_SIMTEC_NOR
290 select S3C24XX_SIMTEC_PM if PM
291 select S3C24XX_SIMTEC_USB
292 select S3C_DEV_USB_HOST
294 Say Y here if you are using the Thorcom VR1000 board.
298 config S3C2412_PM_SLEEP
301 Internal config node to apply sleep for S3C2412 power management.
302 Can be selected by another SoCs such as S3C2416 with similar
307 config CPU_S3C2412_ONLY
309 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
310 !CPU_S3C2442 && !CPU_S3C2443
315 select S3C2412_PM_SLEEP
316 select SAMSUNG_WAKEMASK
318 Internal config node to apply S3C2412 power management
320 comment "S3C2412 Boards"
323 # The "S3C2412 Boards" list is ordered alphabetically by option text.
324 # (without ARCH_ or MACH_)
330 select S3C_DEV_USB_HOST
332 Say Y here if you are using the Logitech Jive.
334 config MACH_JIVE_SHOW_BOOTLOADER
335 bool "Allow access to bootloader partitions in MTD"
341 Internal node for S3C2413 version of SMDK2413, so that
342 machine_is_s3c2413() will work when MACH_SMDK2413 is
349 Say Y here if you are using an SMDK2412
351 Note, this shares support with SMDK2413, so will automatically
352 select MACH_SMDK2413.
359 select S3C_DEV_USB_HOST
361 Say Y here if you are using an SMDK2413
366 select S3C_DEV_USB_HOST
368 Say Y here if you are using an VSTMS board
376 select S3C2412_PM_SLEEP
377 select SAMSUNG_WAKEMASK
379 Internal config node to apply S3C2416 power management
381 config S3C2416_SETUP_SDHCI
383 select S3C2416_SETUP_SDHCI_GPIO
385 Internal helper functions for S3C2416 based SDHCI systems
387 config S3C2416_SETUP_SDHCI_GPIO
390 Common setup code for SDHCI gpio.
392 comment "S3C2416 Boards"
396 select S3C2416_SETUP_SDHCI
400 select S3C_DEV_HSMMC1
402 select S3C_DEV_USB_HOST
404 Say Y here if you are using an SMDK2416
406 config MACH_S3C2416_DT
407 bool "Samsung S3C2416 machine using devicetree"
411 select PINCTRL_S3C24XX
413 Machine support for Samsung S3C2416 machines with device tree enabled.
414 Select this if a fdt blob is available for the S3C2416 SoC based board.
415 Note: This is under development and not all peripherals can be supported
416 with this machine file.
420 if CPU_S3C2440 || CPU_S3C2442
422 config S3C2440_XTAL_12000000
425 Indicate that the build needs to support 12MHz system
428 config S3C2440_XTAL_16934400
431 Indicate that the build needs to support 16.9344MHz system
434 config S3C2440_PLL_12000000
436 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
437 default y if S3C24XX_PLL
439 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
441 config S3C2440_PLL_16934400
443 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
444 default y if S3C24XX_PLL
446 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
451 comment "S3C2440 Boards"
454 # The "S3C2440 Boards" list is ordered alphabetically by option text.
455 # (without ARCH_ or MACH_)
459 bool "Simtec Electronics ANUBIS"
460 select HAVE_PATA_PLATFORM
461 select S3C2410_COMMON_DCLK
462 select S3C2440_XTAL_12000000
463 select S3C24XX_SIMTEC_PM if PM
464 select S3C_DEV_USB_HOST
466 Say Y here if you are using the Simtec Electronics ANUBIS
469 config MACH_AT2440EVB
470 bool "Avantech AT2440EVB development board"
472 select S3C_DEV_USB_HOST
474 Say Y here if you are using the AT2440EVB development board
477 bool "MINI2440 development board"
480 select LEDS_TRIGGER_BACKLIGHT
483 select S3C_DEV_USB_HOST
485 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
486 available via various sources. It can come with a 3.5" or 7" touch LCD.
488 config MACH_NEXCODER_2440
489 bool "NexVision NEXCODER 2440 Light Board"
490 select S3C2440_XTAL_12000000
492 select S3C_DEV_USB_HOST
494 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
497 bool "Simtec IM2440D20 (OSIRIS) module"
498 select S3C2410_COMMON_DCLK
499 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
500 select S3C2440_XTAL_12000000
501 select S3C24XX_SIMTEC_PM if PM
503 select S3C_DEV_USB_HOST
505 Say Y here if you are using the Simtec IM2440D20 module, also
508 config MACH_OSIRIS_DVS
509 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
510 depends on MACH_OSIRIS
513 Say Y/M here if you want to have dynamic voltage scaling support
514 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
516 The DVS driver alters the voltage supplied to the ARM core
517 depending on the frequency it is running at. The driver itself
518 does not do any of the frequency alteration, which is left up
519 to the cpufreq driver.
522 bool "HP iPAQ rx3715"
523 select PM_H1940 if PM
524 select S3C2440_XTAL_16934400
527 Say Y here if you are using the HP iPAQ rx3715.
531 select S3C2440_XTAL_16934400
534 select S3C_DEV_USB_HOST
536 Say Y here if you are using the SMDK2440.
538 config SMDK2440_CPU2440
539 bool "SMDK2440 with S3C2440 CPU module"
540 default y if ARCH_S3C2440
541 select S3C2440_XTAL_16934400
547 comment "S3C2442 Boards"
550 # The "S3C2442 Boards" list is ordered alphabetically by option text.
551 # (without ARCH_ or MACH_)
554 config MACH_NEO1973_GTA02
555 bool "Openmoko GTA02 / Freerunner phone"
560 select S3C_DEV_USB_HOST
562 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
565 bool "HP iPAQ rx1950"
567 select PM_H1940 if PM
568 select S3C2410_COMMON_DCLK
569 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
570 select S3C2440_XTAL_16934400
573 Say Y here if you're using HP iPAQ rx1950
577 if CPU_S3C2443 || CPU_S3C2416
579 config S3C2443_SETUP_SPI
582 Common setup code for SPI GPIO configurations
584 endif # CPU_S3C2443 || CPU_S3C2416
588 comment "S3C2443 Boards"
593 select S3C_DEV_HSMMC1
595 Say Y here if you are using an SMDK2443
602 Internal node for H1940 and related PM
604 endmenu # Samsung S3C24XX SoCs Support