blob: ab2866b4794e4e9213b9bbe33a1694cda9ed2234 [file] [log] [blame]
Kukjin Kim85fd6d62012-02-06 09:38:19 +09001# arch/arm/mach-s3c24xx/Kconfig
2#
3# Copyright (c) 2012 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Copyright 2007 Simtec Electronics
7#
8# Licensed under GPLv2
9
10if ARCH_S3C24XX
11
Kukjin Kim09ec1d72013-01-31 16:54:38 -080012config PLAT_S3C24XX
13 def_bool y
14 select ARCH_REQUIRE_GPIOLIB
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -070015 select NO_IOPORT_MAP
Kukjin Kim09ec1d72013-01-31 16:54:38 -080016 select S3C_DEV_NAND
17 select IRQ_DOMAIN
18 help
19 Base platform code for any Samsung S3C24XX device
20
Heiko Stuebner4659c532014-05-09 05:49:14 +090021config S3C2410_COMMON_CLK
22 bool
23 help
24 Build the s3c2410 clock driver based on the common clock framework.
25
Heiko Stuebner51cb1282014-05-09 05:48:57 +090026config S3C2410_COMMON_DCLK
27 bool
28 select REGMAP_MMIO
29 help
30 Temporary symbol to build the dclk driver based on the common clock
31 framework.
32
Kukjin Kim85fd6d62012-02-06 09:38:19 +090033menu "SAMSUNG S3C24XX SoCs Support"
34
35comment "S3C24XX SoCs"
36
37config CPU_S3C2410
38 bool "SAMSUNG S3C2410"
39 default y
Heiko Stuebner07ee5e72014-05-09 05:49:29 +090040 select COMMON_CLK
Kukjin Kim85fd6d62012-02-06 09:38:19 +090041 select CPU_ARM920T
Kukjin Kim85fd6d62012-02-06 09:38:19 +090042 select CPU_LLSERIAL_S3C2410
Heiko Stuebner07ee5e72014-05-09 05:49:29 +090043 select S3C2410_COMMON_CLK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090044 select S3C2410_DMA if S3C24XX_DMA
Viresh Kumarf023f8d2013-04-04 12:54:15 +000045 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +010046 select S3C2410_PM if PM
Tomasz Figa88f59732013-06-17 23:45:37 +090047 select SAMSUNG_WDT_RESET
Kukjin Kim85fd6d62012-02-06 09:38:19 +090048 help
49 Support for S3C2410 and S3C2410A family from the S3C24XX line
50 of Samsung Mobile CPUs.
51
Kukjin Kim85e2a262012-02-06 10:02:01 +090052config CPU_S3C2412
53 bool "SAMSUNG S3C2412"
Heiko Stuebner3c27f312014-02-25 09:50:44 +090054 select COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090055 select CPU_ARM926T
56 select CPU_LLSERIAL_S3C2440
Heiko Stuebner3c27f312014-02-25 09:50:44 +090057 select S3C2412_COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090058 select S3C2412_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010059 select S3C2412_PM if PM
Kukjin Kim85e2a262012-02-06 10:02:01 +090060 help
61 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
62
Kukjin Kim26febf82012-02-06 10:59:47 +090063config CPU_S3C2416
64 bool "SAMSUNG S3C2416/S3C2450"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090065 select COMMON_CLK
Kukjin Kim26febf82012-02-06 10:59:47 +090066 select CPU_ARM926T
67 select CPU_LLSERIAL_S3C2440
Russell Kingb1b3f492012-10-06 17:12:25 +010068 select S3C2416_PM if PM
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090069 select S3C2443_COMMON_CLK
Heiko Stuebner46cdaba2012-03-07 01:53:17 -080070 select S3C2443_DMA if S3C24XX_DMA
Kukjin Kim26febf82012-02-06 10:59:47 +090071 help
72 Support for the S3C2416 SoC from the S3C24XX line
73
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090074config CPU_S3C2440
75 bool "SAMSUNG S3C2440"
Heiko Stuebnera28d6182014-05-09 05:49:19 +090076 select COMMON_CLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090077 select CPU_ARM920T
78 select CPU_LLSERIAL_S3C2440
Heiko Stuebnera28d6182014-05-09 05:49:19 +090079 select S3C2410_COMMON_CLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090080 select S3C2410_PM if PM
81 select S3C2440_DMA if S3C24XX_DMA
82 help
83 Support for S3C2440 Samsung Mobile CPU based systems.
84
85config CPU_S3C2442
86 bool "SAMSUNG S3C2442"
Heiko Stuebnera28d6182014-05-09 05:49:19 +090087 select COMMON_CLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090088 select CPU_ARM920T
89 select CPU_LLSERIAL_S3C2440
Heiko Stuebnera28d6182014-05-09 05:49:19 +090090 select S3C2410_COMMON_CLK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090091 select S3C2410_DMA if S3C24XX_DMA
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090092 select S3C2410_PM if PM
93 help
94 Support for S3C2442 Samsung Mobile CPU based systems.
95
96config CPU_S3C244X
97 def_bool y
98 depends on CPU_S3C2440 || CPU_S3C2442
Tomasz Figa88f59732013-06-17 23:45:37 +090099 select SAMSUNG_WDT_RESET
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900100
Kukjin Kim84c028b2012-02-06 13:21:03 +0900101config CPU_S3C2443
102 bool "SAMSUNG S3C2443"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +0900103 select COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900104 select CPU_ARM920T
105 select CPU_LLSERIAL_S3C2440
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +0900106 select S3C2443_COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900107 select S3C2443_DMA if S3C24XX_DMA
108 help
109 Support for the S3C2443 SoC from the S3C24XX line
110
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800111# common code
112
113config S3C24XX_SMDK
114 bool
115 help
116 Common machine code for SMDK2410 and SMDK2440
117
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800118config S3C24XX_SIMTEC_AUDIO
119 bool
120 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
121 default y
122 help
123 Add audio devices for common Simtec S3C24XX boards
124
125config S3C24XX_SIMTEC_PM
126 bool
127 help
128 Common power management code for systems that are
129 compatible with the Simtec style of power management
130
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800131config S3C24XX_SIMTEC_USB
132 bool
133 help
134 USB management code for common Simtec S3C24XX boards
135
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800136config S3C24XX_SETUP_TS
137 bool
138 help
139 Compile in platform device definition for Samsung TouchScreen.
140
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800141config S3C24XX_DMA
142 bool "S3C2410 DMA support"
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800143 select S3C_DMA
144 help
145 S3C2410 DMA support. This is needed for drivers like sound which
146 use the S3C2410's DMA system to move data to and from the
147 peripheral blocks.
148
149config S3C2410_DMA_DEBUG
150 bool "S3C2410 DMA support debug"
Alexander Shiyan1c137862013-04-04 10:03:53 +0900151 depends on S3C2410_DMA
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800152 help
153 Enable debugging output for the DMA code. This option sends info
154 to the kernel log, at priority KERN_DEBUG.
155
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900156config S3C2410_DMA
157 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900158 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900159 help
160 DMA device selection for S3C2410 and compatible CPUs
161
162config S3C2410_PM
163 bool
164 help
165 Power Management code common to S3C2410 and better
166
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800167# low-level serial option nodes
168
169config CPU_LLSERIAL_S3C2410_ONLY
170 bool
171 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
172
173config CPU_LLSERIAL_S3C2440_ONLY
174 bool
175 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
176
177config CPU_LLSERIAL_S3C2410
178 bool
179 help
180 Selected if there is an S3C2410 (or register compatible) serial
181 low-level implementation needed
182
183config CPU_LLSERIAL_S3C2440
184 bool
185 help
186 Selected if there is an S3C2440 (or register compatible) serial
187 low-level implementation needed
188
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000189config S3C24XX_PLL
190 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
Paul Bolle37155342013-07-14 14:02:19 +0200191 depends on ARM_S3C24XX_CPUFREQ
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000192 help
193 Compile in support for changing the PLL frequency from the
194 S3C24XX series CPUfreq driver. The PLL takes time to settle
195 after a frequency change, so by default it is not enabled.
196
197 This also means that the PLL tables for the selected CPU(s) will
198 be built which may increase the size of the kernel image.
199
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800200# cpu frequency items common between s3c2410 and s3c2440/s3c2442
201
202config S3C2410_IOTIMING
203 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000204 depends on ARM_S3C24XX_CPUFREQ
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800205 help
206 Internal node to select io timing code that is common to the s3c2410
207 and s3c2440/s3c2442 cpu frequency support.
208
209config S3C2410_CPUFREQ_UTILS
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000210 bool
211 depends on ARM_S3C24XX_CPUFREQ
212 help
213 Internal node to select timing code that is common to the s3c2410
214 and s3c2440/s3c244 cpu frequency support.
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800215
216# cpu frequency support common to s3c2412, s3c2413 and s3c2442
217
218config S3C2412_IOTIMING
219 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000220 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800221 help
222 Intel node to select io timing code that is common to the s3c2412
223 and the s3c2443.
224
Kukjin Kim7518dde2012-04-21 07:55:33 -0700225# cpu-specific sections
226
227if CPU_S3C2410
228
Kukjin Kim82c18712013-01-21 15:16:35 -0800229config S3C2410_PLL
230 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000231 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
Kukjin Kim82c18712013-01-21 15:16:35 -0800232 default y
233 help
234 Select the PLL table for the S3C2410
235
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800236config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900237 bool
238 help
239 Internal node to specify machine has simtec NOR mapping
240
241config MACH_BAST_IDE
242 bool
243 select HAVE_PATA_PLATFORM
244 help
245 Internal node for machines with an BAST style IDE
246 interface
247
248comment "S3C2410 Boards"
249
250#
251# The "S3C2410 Boards" list is ordered alphabetically by option text.
252# (without ARCH_ or MACH_)
253#
254
255config MACH_AML_M5900
256 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800257 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900258 select S3C_DEV_USB_HOST
259 help
260 Say Y here if you are using the American Microsystems M5900 Series
261 <http://www.amltd.com>
262
263config ARCH_BAST
264 bool "Simtec Electronics BAST (EB2410ITX)"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900265 select ISA
Russell Kingb1b3f492012-10-06 17:12:25 +0100266 select MACH_BAST_IDE
Tomasz Figaefe32f62014-05-14 17:03:20 +0200267 select S3C2410_COMMON_DCLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000268 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100269 select S3C24XX_SIMTEC_NOR
270 select S3C24XX_SIMTEC_PM if PM
271 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900272 select S3C_DEV_HWMON
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900273 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100274 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900275 help
276 Say Y here if you are using the Simtec Electronics EB2410ITX
277 development board (also known as BAST)
278
279config BAST_PC104_IRQ
280 bool "BAST PC104 IRQ support"
281 depends on ARCH_BAST
282 default y
283 help
284 Say Y here to enable the PC104 IRQ routing on the
285 Simtec BAST (EB2410ITX)
286
287config ARCH_H1940
288 bool "IPAQ H1940"
289 select PM_H1940 if PM
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800290 select S3C24XX_SETUP_TS
Russell Kingb1b3f492012-10-06 17:12:25 +0100291 select S3C_DEV_NAND
292 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900293 help
294 Say Y here if you are using the HP IPAQ H1940
295
296config H1940BT
297 tristate "Control the state of H1940 bluetooth chip"
298 depends on ARCH_H1940
299 select RFKILL
300 help
301 This is a simple driver that is able to control
302 the state of built in bluetooth chip on h1940.
303
304config PM_H1940
305 bool
306 help
307 Internal node for H1940 and related PM
308
309config MACH_N30
310 bool "Acer N30 family"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900311 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100312 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900313 help
314 Say Y here if you want suppt for the Acer N30, Acer N35,
315 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
316
317config MACH_OTOM
318 bool "NexVision OTOM Board"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900319 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100320 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900321 help
322 Say Y here if you are using the Nex Vision OTOM board
323
324config MACH_QT2410
325 bool "QT2410"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900326 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100327 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900328 help
329 Say Y here if you are using the Armzone QT2410
330
331config ARCH_SMDK2410
332 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800333 select S3C24XX_SMDK
Alexander Shiyan1a4c2a12013-02-08 13:41:36 -0800334 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900335 help
336 Say Y here if you are using the SMDK2410 or the derived module A9M2410
337 <http://www.fsforth.de>
338
339config MACH_TCT_HAMMER
340 bool "TCT Hammer Board"
341 select S3C_DEV_USB_HOST
342 help
343 Say Y here if you are using the TinCanTools Hammer Board
344 <http://www.tincantools.com>
345
346config MACH_VR1000
347 bool "Thorcom VR1000"
Russell Kingb1b3f492012-10-06 17:12:25 +0100348 select MACH_BAST_IDE
Tomasz Figaefe32f62014-05-14 17:03:20 +0200349 select S3C2410_COMMON_DCLK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800350 select S3C24XX_SIMTEC_NOR
Russell Kingb1b3f492012-10-06 17:12:25 +0100351 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800352 select S3C24XX_SIMTEC_USB
Russell Kingb1b3f492012-10-06 17:12:25 +0100353 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900354 help
355 Say Y here if you are using the Thorcom VR1000 board.
356
357endif # CPU_S3C2410
358
Kukjin Kim85e2a262012-02-06 10:02:01 +0900359config S3C2412_PM_SLEEP
360 bool
361 help
362 Internal config node to apply sleep for S3C2412 power management.
363 Can be selected by another SoCs such as S3C2416 with similar
364 sleep procedure.
365
366if CPU_S3C2412
367
Heiko Stuebner3c27f312014-02-25 09:50:44 +0900368config S3C2412_COMMON_CLK
369 bool
370 help
371 Build the s3c2412 clock driver based on the common clock framework.
372
Kukjin Kim85e2a262012-02-06 10:02:01 +0900373config CPU_S3C2412_ONLY
374 bool
Alexander Shiyan1c137862013-04-04 10:03:53 +0900375 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Alexander Shiyana4e4d222013-04-04 10:04:00 +0900376 !CPU_S3C2442 && !CPU_S3C2443
Kukjin Kim85e2a262012-02-06 10:02:01 +0900377 default y
378
379config S3C2412_DMA
380 bool
381 help
382 Internal config node for S3C2412 DMA support
383
384config S3C2412_PM
385 bool
Heiko Stuebner7eae3542013-02-08 11:13:15 -0800386 select S3C2412_PM_SLEEP
Heiko Stuebner59295702013-02-12 10:09:10 -0800387 select SAMSUNG_WAKEMASK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900388 help
389 Internal config node to apply S3C2412 power management
390
391comment "S3C2412 Boards"
392
393#
394# The "S3C2412 Boards" list is ordered alphabetically by option text.
395# (without ARCH_ or MACH_)
396#
397
398config MACH_JIVE
399 bool "Logitech Jive"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900400 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100401 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900402 help
403 Say Y here if you are using the Logitech Jive.
404
405config MACH_JIVE_SHOW_BOOTLOADER
Kees Cook5ec9b062013-01-16 18:53:15 -0800406 bool "Allow access to bootloader partitions in MTD"
407 depends on MACH_JIVE
Kukjin Kim85e2a262012-02-06 10:02:01 +0900408
409config MACH_S3C2413
410 bool
411 help
412 Internal node for S3C2413 version of SMDK2413, so that
413 machine_is_s3c2413() will work when MACH_SMDK2413 is
414 selected
415
416config MACH_SMDK2412
417 bool "SMDK2412"
418 select MACH_SMDK2413
419 help
420 Say Y here if you are using an SMDK2412
421
422 Note, this shares support with SMDK2413, so will automatically
423 select MACH_SMDK2413.
424
425config MACH_SMDK2413
426 bool "SMDK2413"
427 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800428 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900429 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100430 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900431 help
432 Say Y here if you are using an SMDK2413
433
434config MACH_VSTMS
435 bool "VMSTMS"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900436 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100437 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900438 help
439 Say Y here if you are using an VSTMS board
440
441endif # CPU_S3C2412
442
Kukjin Kim26febf82012-02-06 10:59:47 +0900443if CPU_S3C2416
444
445config S3C2416_PM
446 bool
447 select S3C2412_PM_SLEEP
448 help
449 Internal config node to apply S3C2416 power management
450
451config S3C2416_SETUP_SDHCI
452 bool
453 select S3C2416_SETUP_SDHCI_GPIO
454 help
455 Internal helper functions for S3C2416 based SDHCI systems
456
457config S3C2416_SETUP_SDHCI_GPIO
458 bool
459 help
460 Common setup code for SDHCI gpio.
461
462comment "S3C2416 Boards"
463
464config MACH_SMDK2416
465 bool "SMDK2416"
Russell Kingb1b3f492012-10-06 17:12:25 +0100466 select S3C2416_SETUP_SDHCI
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800467 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900468 select S3C_DEV_FB
469 select S3C_DEV_HSMMC
470 select S3C_DEV_HSMMC1
471 select S3C_DEV_NAND
472 select S3C_DEV_USB_HOST
Kukjin Kim26febf82012-02-06 10:59:47 +0900473 help
474 Say Y here if you are using an SMDK2416
475
Heiko Stuebner35aca362013-05-21 01:06:04 +0900476config MACH_S3C2416_DT
477 bool "Samsung S3C2416 machine using devicetree"
478 select CLKSRC_OF
479 select USE_OF
480 select PINCTRL
481 select PINCTRL_S3C24XX
482 help
483 Machine support for Samsung S3C2416 machines with device tree enabled.
484 Select this if a fdt blob is available for the S3C2416 SoC based board.
485 Note: This is under development and not all peripherals can be supported
486 with this machine file.
487
Kukjin Kim26febf82012-02-06 10:59:47 +0900488endif # CPU_S3C2416
489
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900490if CPU_S3C2440
491
492config S3C2440_DMA
493 bool
494 help
495 Support for S3C2440 specific DMA code5A
496
Kukjin Kimacf2d412013-01-21 15:39:09 -0800497config S3C2440_XTAL_12000000
498 bool
499 help
500 Indicate that the build needs to support 12MHz system
501 crystal.
502
503config S3C2440_XTAL_16934400
504 bool
505 help
506 Indicate that the build needs to support 16.9344MHz system
507 crystal.
508
509config S3C2440_PLL_12000000
510 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000511 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
512 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800513 help
514 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
515
516config S3C2440_PLL_16934400
517 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000518 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
519 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800520 help
521 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
522
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900523comment "S3C2440 Boards"
524
525#
526# The "S3C2440 Boards" list is ordered alphabetically by option text.
527# (without ARCH_ or MACH_)
528#
529
530config MACH_ANUBIS
531 bool "Simtec Electronics ANUBIS"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900532 select HAVE_PATA_PLATFORM
Tomasz Figaefe32f62014-05-14 17:03:20 +0200533 select S3C2410_COMMON_DCLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900534 select S3C2440_XTAL_12000000
Russell Kingb1b3f492012-10-06 17:12:25 +0100535 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900536 select S3C_DEV_USB_HOST
537 help
538 Say Y here if you are using the Simtec Electronics ANUBIS
539 development system
540
541config MACH_AT2440EVB
542 bool "Avantech AT2440EVB development board"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900543 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100544 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900545 help
546 Say Y here if you are using the AT2440EVB development board
547
548config MACH_MINI2440
549 bool "MINI2440 development board"
Arnd Bergmann37373f12014-02-12 21:22:13 +0100550 select EEPROM_AT24 if I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900551 select LEDS_CLASS
Alexander Shiyan678a0992012-11-25 18:53:40 +0400552 select LEDS_TRIGGERS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900553 select LEDS_TRIGGER_BACKLIGHT
Russell Kingb1b3f492012-10-06 17:12:25 +0100554 select NEW_LEDS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900555 select S3C_DEV_NAND
556 select S3C_DEV_USB_HOST
Sylwester Nawrockie51d5482012-11-22 14:29:18 +0900557 select S3C_SETUP_CAMIF
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900558 help
559 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
560 available via various sources. It can come with a 3.5" or 7" touch LCD.
561
562config MACH_NEXCODER_2440
563 bool "NexVision NEXCODER 2440 Light Board"
564 select S3C2440_XTAL_12000000
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900565 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100566 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900567 help
568 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
569
570config MACH_OSIRIS
571 bool "Simtec IM2440D20 (OSIRIS) module"
Tomasz Figaefe32f62014-05-14 17:03:20 +0200572 select S3C2410_COMMON_DCLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000573 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100574 select S3C2440_XTAL_12000000
Russell Kingb1b3f492012-10-06 17:12:25 +0100575 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900576 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100577 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900578 help
579 Say Y here if you are using the Simtec IM2440D20 module, also
580 known as the Osiris.
581
582config MACH_OSIRIS_DVS
583 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
584 depends on MACH_OSIRIS
Arnd Bergmannf88309c2014-03-21 13:49:04 +0100585 depends on TPS65010
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900586 help
587 Say Y/M here if you want to have dynamic voltage scaling support
588 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
589
590 The DVS driver alters the voltage supplied to the ARM core
591 depending on the frequency it is running at. The driver itself
592 does not do any of the frequency alteration, which is left up
593 to the cpufreq driver.
594
595config MACH_RX3715
596 bool "HP iPAQ rx3715"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900597 select PM_H1940 if PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100598 select S3C2440_XTAL_16934400
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900599 select S3C_DEV_NAND
600 help
601 Say Y here if you are using the HP iPAQ rx3715.
602
603config ARCH_S3C2440
604 bool "SMDK2440"
605 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800606 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900607 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100608 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900609 help
610 Say Y here if you are using the SMDK2440.
611
612config SMDK2440_CPU2440
613 bool "SMDK2440 with S3C2440 CPU module"
614 default y if ARCH_S3C2440
615 select S3C2440_XTAL_16934400
616
617endif # CPU_S3C2440
618
619if CPU_S3C2442
620
621comment "S3C2442 Boards"
622
623#
624# The "S3C2442 Boards" list is ordered alphabetically by option text.
625# (without ARCH_ or MACH_)
626#
627
628config MACH_NEO1973_GTA02
629 bool "Openmoko GTA02 / Freerunner phone"
Russell Kingb1b3f492012-10-06 17:12:25 +0100630 select I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900631 select MFD_PCF50633
632 select PCF50633_GPIO
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900633 select POWER_SUPPLY
Arnd Bergmann35e79062012-08-04 07:52:19 +0000634 select S3C24XX_PWM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900635 select S3C_DEV_USB_HOST
636 help
637 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
638
639config MACH_RX1950
640 bool "HP iPAQ rx1950"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900641 select I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100642 select PM_H1940 if PM
Tomasz Figaefe32f62014-05-14 17:03:20 +0200643 select S3C2410_COMMON_DCLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000644 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900645 select S3C2440_XTAL_16934400
Russell Kingb1b3f492012-10-06 17:12:25 +0100646 select S3C24XX_PWM
647 select S3C_DEV_NAND
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900648 help
649 Say Y here if you're using HP iPAQ rx1950
650
Paul Bollebd338d02013-03-22 19:03:55 +0900651endif # CPU_S3C2442
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900652
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900653if CPU_S3C2443 || CPU_S3C2416
654
Heiko Stuebner61fbb1d2014-02-19 09:25:49 +0900655config S3C2443_COMMON_CLK
656 bool
657 help
658 Temporary symbol to build the clock driver based on the common clock
659 framework.
660
Kukjin Kim84c028b2012-02-06 13:21:03 +0900661config S3C2443_DMA
662 bool
663 help
664 Internal config node for S3C2443 DMA support
665
Heiko Stuebnerf03eb252012-04-24 18:07:10 -0700666config S3C2443_SETUP_SPI
667 bool
668 help
669 Common setup code for SPI GPIO configurations
670
Heiko Stuebner46cdaba2012-03-07 01:53:17 -0800671endif # CPU_S3C2443 || CPU_S3C2416
672
673if CPU_S3C2443
674
Kukjin Kim84c028b2012-02-06 13:21:03 +0900675comment "S3C2443 Boards"
676
677config MACH_SMDK2443
678 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800679 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900680 select S3C_DEV_HSMMC1
681 help
682 Say Y here if you are using an SMDK2443
683
684endif # CPU_S3C2443
685
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900686endmenu # SAMSUNG S3C24XX SoCs Support
687
688endif # ARCH_S3C24XX