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 # cpu frequency items common between s3c2410 and s3c2440/s3c2442
128 config S3C2410_IOTIMING
130 depends on ARM_S3C24XX_CPUFREQ
132 Internal node to select io timing code that is common to the s3c2410
133 and s3c2440/s3c2442 cpu frequency support.
135 # cpu frequency support common to s3c2412, s3c2413 and s3c2442
137 config S3C2412_IOTIMING
139 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
141 Intel node to select io timing code that is common to the s3c2412
144 # cpu-specific sections
150 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
153 Select the PLL table for the S3C2410
155 config S3C24XX_SIMTEC_NOR
158 Internal node to specify machine has simtec NOR mapping
162 select HAVE_PATA_PLATFORM
164 Internal node for machines with an BAST style IDE
167 comment "S3C2410 Boards"
170 # The "S3C2410 Boards" list is ordered alphabetically by option text.
171 # (without ARCH_ or MACH_)
174 config MACH_AML_M5900
175 bool "AML M5900 Series"
176 select S3C24XX_SIMTEC_PM if PM
177 select S3C_DEV_USB_HOST
179 Say Y here if you are using the American Microsystems M5900 Series
180 <http://www.amltd.com>
183 bool "Simtec Electronics BAST (EB2410ITX)"
186 select S3C2410_COMMON_DCLK
187 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
188 select S3C24XX_SIMTEC_NOR
189 select S3C24XX_SIMTEC_PM if PM
190 select S3C24XX_SIMTEC_USB
193 select S3C_DEV_USB_HOST
195 Say Y here if you are using the Simtec Electronics EB2410ITX
196 development board (also known as BAST)
198 config BAST_PC104_IRQ
199 bool "BAST PC104 IRQ support"
203 Say Y here to enable the PC104 IRQ routing on the
204 Simtec BAST (EB2410ITX)
208 select PM_H1940 if PM
209 select S3C24XX_SETUP_TS
211 select S3C_DEV_USB_HOST
213 Say Y here if you are using the HP IPAQ H1940
216 tristate "Control the state of H1940 bluetooth chip"
217 depends on ARCH_H1940
220 This is a simple driver that is able to control
221 the state of built in bluetooth chip on h1940.
224 bool "Acer N30 family"
226 select S3C_DEV_USB_HOST
228 Say Y here if you want suppt for the Acer N30, Acer N35,
229 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
232 bool "NexVision OTOM Board"
234 select S3C_DEV_USB_HOST
236 Say Y here if you are using the Nex Vision OTOM board
241 select S3C_DEV_USB_HOST
243 Say Y here if you are using the Armzone QT2410
246 bool "SMDK2410/A9M2410"
248 select S3C_DEV_USB_HOST
250 Say Y here if you are using the SMDK2410 or the derived module A9M2410
251 <http://www.fsforth.de>
253 config MACH_TCT_HAMMER
254 bool "TCT Hammer Board"
255 select S3C_DEV_USB_HOST
257 Say Y here if you are using the TinCanTools Hammer Board
258 <https://www.tincantools.com>
261 bool "Thorcom VR1000"
263 select S3C2410_COMMON_DCLK
264 select S3C24XX_SIMTEC_NOR
265 select S3C24XX_SIMTEC_PM if PM
266 select S3C24XX_SIMTEC_USB
267 select S3C_DEV_USB_HOST
269 Say Y here if you are using the Thorcom VR1000 board.
273 config S3C2412_PM_SLEEP
276 Internal config node to apply sleep for S3C2412 power management.
277 Can be selected by another SoCs such as S3C2416 with similar
282 config CPU_S3C2412_ONLY
284 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
285 !CPU_S3C2442 && !CPU_S3C2443
290 select S3C2412_PM_SLEEP
291 select SAMSUNG_WAKEMASK
293 Internal config node to apply S3C2412 power management
295 comment "S3C2412 Boards"
298 # The "S3C2412 Boards" list is ordered alphabetically by option text.
299 # (without ARCH_ or MACH_)
305 select S3C_DEV_USB_HOST
307 Say Y here if you are using the Logitech Jive.
309 config MACH_JIVE_SHOW_BOOTLOADER
310 bool "Allow access to bootloader partitions in MTD"
316 Internal node for S3C2413 version of SMDK2413, so that
317 machine_is_s3c2413() will work when MACH_SMDK2413 is
324 Say Y here if you are using an SMDK2412
326 Note, this shares support with SMDK2413, so will automatically
327 select MACH_SMDK2413.
334 select S3C_DEV_USB_HOST
336 Say Y here if you are using an SMDK2413
341 select S3C_DEV_USB_HOST
343 Say Y here if you are using an VSTMS board
351 select S3C2412_PM_SLEEP
352 select SAMSUNG_WAKEMASK
354 Internal config node to apply S3C2416 power management
356 config S3C2416_SETUP_SDHCI
358 select S3C2416_SETUP_SDHCI_GPIO
360 Internal helper functions for S3C2416 based SDHCI systems
362 config S3C2416_SETUP_SDHCI_GPIO
365 Common setup code for SDHCI gpio.
367 comment "S3C2416 Boards"
371 select S3C2416_SETUP_SDHCI
375 select S3C_DEV_HSMMC1
377 select S3C_DEV_USB_HOST
379 Say Y here if you are using an SMDK2416
381 config MACH_S3C2416_DT
382 bool "Samsung S3C2416 machine using devicetree"
386 select PINCTRL_S3C24XX
388 Machine support for Samsung S3C2416 machines with device tree enabled.
389 Select this if a fdt blob is available for the S3C2416 SoC based board.
390 Note: This is under development and not all peripherals can be supported
391 with this machine file.
395 if CPU_S3C2440 || CPU_S3C2442
397 config S3C2440_XTAL_12000000
400 Indicate that the build needs to support 12MHz system
403 config S3C2440_XTAL_16934400
406 Indicate that the build needs to support 16.9344MHz system
409 config S3C2440_PLL_12000000
411 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
412 default y if S3C24XX_PLL
414 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
416 config S3C2440_PLL_16934400
418 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
419 default y if S3C24XX_PLL
421 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
426 comment "S3C2440 Boards"
429 # The "S3C2440 Boards" list is ordered alphabetically by option text.
430 # (without ARCH_ or MACH_)
434 bool "Simtec Electronics ANUBIS"
435 select HAVE_PATA_PLATFORM
436 select S3C2410_COMMON_DCLK
437 select S3C2440_XTAL_12000000
438 select S3C24XX_SIMTEC_PM if PM
439 select S3C_DEV_USB_HOST
441 Say Y here if you are using the Simtec Electronics ANUBIS
444 config MACH_AT2440EVB
445 bool "Avantech AT2440EVB development board"
447 select S3C_DEV_USB_HOST
449 Say Y here if you are using the AT2440EVB development board
452 bool "MINI2440 development board"
455 select LEDS_TRIGGER_BACKLIGHT
458 select S3C_DEV_USB_HOST
460 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
461 available via various sources. It can come with a 3.5" or 7" touch LCD.
463 config MACH_NEXCODER_2440
464 bool "NexVision NEXCODER 2440 Light Board"
465 select S3C2440_XTAL_12000000
467 select S3C_DEV_USB_HOST
469 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
472 bool "Simtec IM2440D20 (OSIRIS) module"
473 select S3C2410_COMMON_DCLK
474 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
475 select S3C2440_XTAL_12000000
476 select S3C24XX_SIMTEC_PM if PM
478 select S3C_DEV_USB_HOST
480 Say Y here if you are using the Simtec IM2440D20 module, also
483 config MACH_OSIRIS_DVS
484 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
485 depends on MACH_OSIRIS
488 Say Y/M here if you want to have dynamic voltage scaling support
489 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
491 The DVS driver alters the voltage supplied to the ARM core
492 depending on the frequency it is running at. The driver itself
493 does not do any of the frequency alteration, which is left up
494 to the cpufreq driver.
497 bool "HP iPAQ rx3715"
498 select PM_H1940 if PM
499 select S3C2440_XTAL_16934400
502 Say Y here if you are using the HP iPAQ rx3715.
506 select S3C2440_XTAL_16934400
509 select S3C_DEV_USB_HOST
511 Say Y here if you are using the SMDK2440.
513 config SMDK2440_CPU2440
514 bool "SMDK2440 with S3C2440 CPU module"
515 default y if ARCH_S3C2440
516 select S3C2440_XTAL_16934400
522 comment "S3C2442 Boards"
525 # The "S3C2442 Boards" list is ordered alphabetically by option text.
526 # (without ARCH_ or MACH_)
529 config MACH_NEO1973_GTA02
530 bool "Openmoko GTA02 / Freerunner phone"
536 select S3C_DEV_USB_HOST
538 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
541 bool "HP iPAQ rx1950"
543 select PM_H1940 if PM
544 select S3C2410_COMMON_DCLK
545 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
546 select S3C2440_XTAL_16934400
550 Say Y here if you're using HP iPAQ rx1950
554 if CPU_S3C2443 || CPU_S3C2416
556 config S3C2443_SETUP_SPI
559 Common setup code for SPI GPIO configurations
561 endif # CPU_S3C2443 || CPU_S3C2416
565 comment "S3C2443 Boards"
570 select S3C_DEV_HSMMC1
572 Say Y here if you are using an SMDK2443
579 Internal node for H1940 and related PM
581 endmenu # Samsung S3C24XX SoCs Support