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
18 Base platform code for any Samsung S3C24XX device
22 menu "SAMSUNG S3C24XX SoCs Support"
24 comment "S3C24XX SoCs"
27 bool "SAMSUNG S3C2410"
30 select S3C2410_COMMON_CLK
31 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
32 select S3C2410_PM if PM
34 Support for S3C2410 and S3C2410A family from the S3C24XX line
35 of Samsung Mobile CPUs.
38 bool "SAMSUNG S3C2412"
40 select S3C2412_COMMON_CLK
41 select S3C2412_PM if PM_SLEEP
43 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
46 bool "SAMSUNG S3C2416/S3C2450"
48 select S3C2416_PM if PM_SLEEP
49 select S3C2443_COMMON_CLK
51 Support for the S3C2416 SoC from the S3C24XX line
54 bool "SAMSUNG S3C2440"
56 select S3C2410_COMMON_CLK
57 select S3C2410_PM if PM_SLEEP
59 Support for S3C2440 Samsung Mobile CPU based systems.
62 bool "SAMSUNG S3C2442"
64 select S3C2410_COMMON_CLK
65 select S3C2410_PM if PM_SLEEP
67 Support for S3C2442 Samsung Mobile CPU based systems.
71 depends on CPU_S3C2440 || CPU_S3C2442
74 bool "SAMSUNG S3C2443"
76 select S3C2443_COMMON_CLK
78 Support for the S3C2443 SoC from the S3C24XX line
85 Common machine code for SMDK2410 and SMDK2440
87 config S3C24XX_SIMTEC_AUDIO
89 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
92 Add audio devices for common Simtec S3C24XX boards
94 config S3C24XX_SIMTEC_PM
97 Common power management code for systems that are
98 compatible with the Simtec style of power management
100 config S3C24XX_SIMTEC_USB
103 USB management code for common Simtec S3C24XX boards
105 config S3C24XX_SETUP_TS
108 Compile in platform device definition for Samsung TouchScreen.
113 Power Management code common to S3C2410 and better
116 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
117 depends on ARM_S3C24XX_CPUFREQ
119 Compile in support for changing the PLL frequency from the
120 S3C24XX series CPUfreq driver. The PLL takes time to settle
121 after a frequency change, so by default it is not enabled.
123 This also means that the PLL tables for the selected CPU(s) will
124 be built which may increase the size of the kernel image.
126 config S3C_SETUP_CAMIF
129 Compile in common setup code for S3C CAMIF devices
131 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
133 config S3C2410_IOTIMING
135 depends on ARM_S3C24XX_CPUFREQ
137 Internal node to select io timing code that is common to the s3c2410
138 and s3c2440/s3c2442 cpu frequency support.
140 config S3C2410_CPUFREQ_UTILS
142 depends on ARM_S3C24XX_CPUFREQ
144 Internal node to select timing code that is common to the s3c2410
145 and s3c2440/s3c244 cpu frequency support.
147 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
149 config S3C2412_IOTIMING
151 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
153 Intel node to select io timing code that is common to the s3c2412
156 # cpu-specific sections
162 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
165 Select the PLL table for the S3C2410
167 config S3C24XX_SIMTEC_NOR
170 Internal node to specify machine has simtec NOR mapping
174 select HAVE_PATA_PLATFORM
176 Internal node for machines with an BAST style IDE
179 comment "S3C2410 Boards"
182 # The "S3C2410 Boards" list is ordered alphabetically by option text.
183 # (without ARCH_ or MACH_)
186 config MACH_AML_M5900
187 bool "AML M5900 Series"
188 select S3C24XX_SIMTEC_PM if PM
189 select S3C_DEV_USB_HOST
191 Say Y here if you are using the American Microsystems M5900 Series
192 <http://www.amltd.com>
195 bool "Simtec Electronics BAST (EB2410ITX)"
198 select S3C2410_COMMON_DCLK
199 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
200 select S3C24XX_SIMTEC_NOR
201 select S3C24XX_SIMTEC_PM if PM
202 select S3C24XX_SIMTEC_USB
205 select S3C_DEV_USB_HOST
207 Say Y here if you are using the Simtec Electronics EB2410ITX
208 development board (also known as BAST)
210 config BAST_PC104_IRQ
211 bool "BAST PC104 IRQ support"
215 Say Y here to enable the PC104 IRQ routing on the
216 Simtec BAST (EB2410ITX)
220 select PM_H1940 if PM
221 select S3C24XX_SETUP_TS
223 select S3C_DEV_USB_HOST
225 Say Y here if you are using the HP IPAQ H1940
228 tristate "Control the state of H1940 bluetooth chip"
229 depends on ARCH_H1940
232 This is a simple driver that is able to control
233 the state of built in bluetooth chip on h1940.
236 bool "Acer N30 family"
238 select S3C_DEV_USB_HOST
240 Say Y here if you want suppt for the Acer N30, Acer N35,
241 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
244 bool "NexVision OTOM Board"
246 select S3C_DEV_USB_HOST
248 Say Y here if you are using the Nex Vision OTOM board
253 select S3C_DEV_USB_HOST
255 Say Y here if you are using the Armzone QT2410
258 bool "SMDK2410/A9M2410"
260 select S3C_DEV_USB_HOST
262 Say Y here if you are using the SMDK2410 or the derived module A9M2410
263 <http://www.fsforth.de>
265 config MACH_TCT_HAMMER
266 bool "TCT Hammer Board"
267 select S3C_DEV_USB_HOST
269 Say Y here if you are using the TinCanTools Hammer Board
270 <http://www.tincantools.com>
273 bool "Thorcom VR1000"
275 select S3C2410_COMMON_DCLK
276 select S3C24XX_SIMTEC_NOR
277 select S3C24XX_SIMTEC_PM if PM
278 select S3C24XX_SIMTEC_USB
279 select S3C_DEV_USB_HOST
281 Say Y here if you are using the Thorcom VR1000 board.
285 config S3C2412_PM_SLEEP
288 Internal config node to apply sleep for S3C2412 power management.
289 Can be selected by another SoCs such as S3C2416 with similar
294 config CPU_S3C2412_ONLY
296 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
297 !CPU_S3C2442 && !CPU_S3C2443
302 select S3C2412_PM_SLEEP
303 select SAMSUNG_WAKEMASK
305 Internal config node to apply S3C2412 power management
307 comment "S3C2412 Boards"
310 # The "S3C2412 Boards" list is ordered alphabetically by option text.
311 # (without ARCH_ or MACH_)
317 select S3C_DEV_USB_HOST
319 Say Y here if you are using the Logitech Jive.
321 config MACH_JIVE_SHOW_BOOTLOADER
322 bool "Allow access to bootloader partitions in MTD"
328 Internal node for S3C2413 version of SMDK2413, so that
329 machine_is_s3c2413() will work when MACH_SMDK2413 is
336 Say Y here if you are using an SMDK2412
338 Note, this shares support with SMDK2413, so will automatically
339 select MACH_SMDK2413.
346 select S3C_DEV_USB_HOST
348 Say Y here if you are using an SMDK2413
353 select S3C_DEV_USB_HOST
355 Say Y here if you are using an VSTMS board
363 select S3C2412_PM_SLEEP
364 select SAMSUNG_WAKEMASK
366 Internal config node to apply S3C2416 power management
368 config S3C2416_SETUP_SDHCI
370 select S3C2416_SETUP_SDHCI_GPIO
372 Internal helper functions for S3C2416 based SDHCI systems
374 config S3C2416_SETUP_SDHCI_GPIO
377 Common setup code for SDHCI gpio.
379 comment "S3C2416 Boards"
383 select S3C2416_SETUP_SDHCI
387 select S3C_DEV_HSMMC1
389 select S3C_DEV_USB_HOST
391 Say Y here if you are using an SMDK2416
393 config MACH_S3C2416_DT
394 bool "Samsung S3C2416 machine using devicetree"
398 select PINCTRL_S3C24XX
400 Machine support for Samsung S3C2416 machines with device tree enabled.
401 Select this if a fdt blob is available for the S3C2416 SoC based board.
402 Note: This is under development and not all peripherals can be supported
403 with this machine file.
407 if CPU_S3C2440 || CPU_S3C2442
409 config S3C2440_XTAL_12000000
412 Indicate that the build needs to support 12MHz system
415 config S3C2440_XTAL_16934400
418 Indicate that the build needs to support 16.9344MHz system
421 config S3C2440_PLL_12000000
423 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
424 default y if S3C24XX_PLL
426 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
428 config S3C2440_PLL_16934400
430 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
431 default y if S3C24XX_PLL
433 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
438 comment "S3C2440 Boards"
441 # The "S3C2440 Boards" list is ordered alphabetically by option text.
442 # (without ARCH_ or MACH_)
446 bool "Simtec Electronics ANUBIS"
447 select HAVE_PATA_PLATFORM
448 select S3C2410_COMMON_DCLK
449 select S3C2440_XTAL_12000000
450 select S3C24XX_SIMTEC_PM if PM
451 select S3C_DEV_USB_HOST
453 Say Y here if you are using the Simtec Electronics ANUBIS
456 config MACH_AT2440EVB
457 bool "Avantech AT2440EVB development board"
459 select S3C_DEV_USB_HOST
461 Say Y here if you are using the AT2440EVB development board
464 bool "MINI2440 development board"
467 select LEDS_TRIGGER_BACKLIGHT
470 select S3C_DEV_USB_HOST
471 select S3C_SETUP_CAMIF
473 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
474 available via various sources. It can come with a 3.5" or 7" touch LCD.
476 config MACH_NEXCODER_2440
477 bool "NexVision NEXCODER 2440 Light Board"
478 select S3C2440_XTAL_12000000
480 select S3C_DEV_USB_HOST
482 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
485 bool "Simtec IM2440D20 (OSIRIS) module"
486 select S3C2410_COMMON_DCLK
487 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
488 select S3C2440_XTAL_12000000
489 select S3C24XX_SIMTEC_PM if PM
491 select S3C_DEV_USB_HOST
493 Say Y here if you are using the Simtec IM2440D20 module, also
496 config MACH_OSIRIS_DVS
497 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
498 depends on MACH_OSIRIS
501 Say Y/M here if you want to have dynamic voltage scaling support
502 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
504 The DVS driver alters the voltage supplied to the ARM core
505 depending on the frequency it is running at. The driver itself
506 does not do any of the frequency alteration, which is left up
507 to the cpufreq driver.
510 bool "HP iPAQ rx3715"
511 select PM_H1940 if PM
512 select S3C2440_XTAL_16934400
515 Say Y here if you are using the HP iPAQ rx3715.
519 select S3C2440_XTAL_16934400
522 select S3C_DEV_USB_HOST
524 Say Y here if you are using the SMDK2440.
526 config SMDK2440_CPU2440
527 bool "SMDK2440 with S3C2440 CPU module"
528 default y if ARCH_S3C2440
529 select S3C2440_XTAL_16934400
535 comment "S3C2442 Boards"
538 # The "S3C2442 Boards" list is ordered alphabetically by option text.
539 # (without ARCH_ or MACH_)
542 config MACH_NEO1973_GTA02
543 bool "Openmoko GTA02 / Freerunner phone"
549 select S3C_DEV_USB_HOST
551 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
554 bool "HP iPAQ rx1950"
556 select PM_H1940 if PM
557 select S3C2410_COMMON_DCLK
558 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
559 select S3C2440_XTAL_16934400
563 Say Y here if you're using HP iPAQ rx1950
567 if CPU_S3C2443 || CPU_S3C2416
569 config S3C2443_SETUP_SPI
572 Common setup code for SPI GPIO configurations
574 endif # CPU_S3C2443 || CPU_S3C2416
578 comment "S3C2443 Boards"
583 select S3C_DEV_HSMMC1
585 Say Y here if you are using an SMDK2443
592 Internal node for H1940 and related PM
594 endmenu # SAMSUNG S3C24XX SoCs Support