blob: f10af7faec98a72d5ca948a2ae79c09c92516b70 [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
Kukjin Kim85fd6d62012-02-06 09:38:19 +090021menu "SAMSUNG S3C24XX SoCs Support"
22
23comment "S3C24XX SoCs"
24
25config CPU_S3C2410
26 bool "SAMSUNG S3C2410"
27 default y
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090028 depends on SAMSUNG_CLOCK
Kukjin Kim85fd6d62012-02-06 09:38:19 +090029 select CPU_ARM920T
Kukjin Kim85fd6d62012-02-06 09:38:19 +090030 select CPU_LLSERIAL_S3C2410
Russell Kingb1b3f492012-10-06 17:12:25 +010031 select S3C2410_CLOCK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090032 select S3C2410_DMA if S3C24XX_DMA
Viresh Kumarf023f8d2013-04-04 12:54:15 +000033 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +010034 select S3C2410_PM if PM
Tomasz Figa88f59732013-06-17 23:45:37 +090035 select SAMSUNG_WDT_RESET
Kukjin Kim85fd6d62012-02-06 09:38:19 +090036 help
37 Support for S3C2410 and S3C2410A family from the S3C24XX line
38 of Samsung Mobile CPUs.
39
Kukjin Kim85e2a262012-02-06 10:02:01 +090040config CPU_S3C2412
41 bool "SAMSUNG S3C2412"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090042 depends on SAMSUNG_CLOCK
Kukjin Kim85e2a262012-02-06 10:02:01 +090043 select CPU_ARM926T
44 select CPU_LLSERIAL_S3C2440
Kukjin Kim85e2a262012-02-06 10:02:01 +090045 select S3C2412_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010046 select S3C2412_PM if PM
Kukjin Kim85e2a262012-02-06 10:02:01 +090047 help
48 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
49
Kukjin Kim26febf82012-02-06 10:59:47 +090050config CPU_S3C2416
51 bool "SAMSUNG S3C2416/S3C2450"
Kukjin Kim26febf82012-02-06 10:59:47 +090052 select CPU_ARM926T
53 select CPU_LLSERIAL_S3C2440
Russell Kingb1b3f492012-10-06 17:12:25 +010054 select S3C2416_PM if PM
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090055 select S3C2443_COMMON
Heiko Stuebner46cdaba2012-03-07 01:53:17 -080056 select S3C2443_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010057 select SAMSUNG_CLKSRC
Kukjin Kim26febf82012-02-06 10:59:47 +090058 help
59 Support for the S3C2416 SoC from the S3C24XX line
60
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090061config CPU_S3C2440
62 bool "SAMSUNG S3C2440"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090063 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090064 select CPU_ARM920T
65 select CPU_LLSERIAL_S3C2440
66 select S3C2410_CLOCK
67 select S3C2410_PM if PM
68 select S3C2440_DMA if S3C24XX_DMA
69 help
70 Support for S3C2440 Samsung Mobile CPU based systems.
71
72config CPU_S3C2442
73 bool "SAMSUNG S3C2442"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090074 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090075 select CPU_ARM920T
76 select CPU_LLSERIAL_S3C2440
77 select S3C2410_CLOCK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090078 select S3C2410_DMA if S3C24XX_DMA
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090079 select S3C2410_PM if PM
80 help
81 Support for S3C2442 Samsung Mobile CPU based systems.
82
83config CPU_S3C244X
84 def_bool y
85 depends on CPU_S3C2440 || CPU_S3C2442
Tomasz Figa88f59732013-06-17 23:45:37 +090086 select SAMSUNG_WDT_RESET
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090087
Kukjin Kim84c028b2012-02-06 13:21:03 +090088config CPU_S3C2443
89 bool "SAMSUNG S3C2443"
Kukjin Kim84c028b2012-02-06 13:21:03 +090090 select CPU_ARM920T
91 select CPU_LLSERIAL_S3C2440
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090092 select S3C2443_COMMON
Kukjin Kim84c028b2012-02-06 13:21:03 +090093 select S3C2443_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010094 select SAMSUNG_CLKSRC
Kukjin Kim84c028b2012-02-06 13:21:03 +090095 help
96 Support for the S3C2443 SoC from the S3C24XX line
97
Heiko Stuebner28c569f2012-03-07 01:47:01 -080098# common code
99
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800100config S3C2410_CLOCK
101 bool
102 help
103 Clock code for the S3C2410, and similar processors which
104 is currently includes the S3C2410, S3C2440, S3C2442.
105
106config S3C24XX_DCLK
107 bool
108 help
109 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
110
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800111config S3C24XX_SMDK
112 bool
113 help
114 Common machine code for SMDK2410 and SMDK2440
115
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800116config S3C24XX_SIMTEC_AUDIO
117 bool
118 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
119 default y
120 help
121 Add audio devices for common Simtec S3C24XX boards
122
123config S3C24XX_SIMTEC_PM
124 bool
125 help
126 Common power management code for systems that are
127 compatible with the Simtec style of power management
128
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800129config S3C24XX_SIMTEC_USB
130 bool
131 help
132 USB management code for common Simtec S3C24XX boards
133
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800134config S3C24XX_SETUP_TS
135 bool
136 help
137 Compile in platform device definition for Samsung TouchScreen.
138
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800139config S3C24XX_DMA
140 bool "S3C2410 DMA support"
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800141 select S3C_DMA
142 help
143 S3C2410 DMA support. This is needed for drivers like sound which
144 use the S3C2410's DMA system to move data to and from the
145 peripheral blocks.
146
147config S3C2410_DMA_DEBUG
148 bool "S3C2410 DMA support debug"
Alexander Shiyan1c137862013-04-04 10:03:53 +0900149 depends on S3C2410_DMA
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800150 help
151 Enable debugging output for the DMA code. This option sends info
152 to the kernel log, at priority KERN_DEBUG.
153
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900154config S3C2410_DMA
155 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900156 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900157 help
158 DMA device selection for S3C2410 and compatible CPUs
159
160config S3C2410_PM
161 bool
162 help
163 Power Management code common to S3C2410 and better
164
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800165# low-level serial option nodes
166
167config CPU_LLSERIAL_S3C2410_ONLY
168 bool
169 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
170
171config CPU_LLSERIAL_S3C2440_ONLY
172 bool
173 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
174
175config CPU_LLSERIAL_S3C2410
176 bool
177 help
178 Selected if there is an S3C2410 (or register compatible) serial
179 low-level implementation needed
180
181config CPU_LLSERIAL_S3C2440
182 bool
183 help
184 Selected if there is an S3C2440 (or register compatible) serial
185 low-level implementation needed
186
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000187config S3C24XX_PLL
188 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
Paul Bolle37155342013-07-14 14:02:19 +0200189 depends on ARM_S3C24XX_CPUFREQ
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000190 help
191 Compile in support for changing the PLL frequency from the
192 S3C24XX series CPUfreq driver. The PLL takes time to settle
193 after a frequency change, so by default it is not enabled.
194
195 This also means that the PLL tables for the selected CPU(s) will
196 be built which may increase the size of the kernel image.
197
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800198# cpu frequency items common between s3c2410 and s3c2440/s3c2442
199
200config S3C2410_IOTIMING
201 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000202 depends on ARM_S3C24XX_CPUFREQ
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800203 help
204 Internal node to select io timing code that is common to the s3c2410
205 and s3c2440/s3c2442 cpu frequency support.
206
207config S3C2410_CPUFREQ_UTILS
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000208 bool
209 depends on ARM_S3C24XX_CPUFREQ
210 help
211 Internal node to select timing code that is common to the s3c2410
212 and s3c2440/s3c244 cpu frequency support.
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800213
214# cpu frequency support common to s3c2412, s3c2413 and s3c2442
215
216config S3C2412_IOTIMING
217 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000218 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800219 help
220 Intel node to select io timing code that is common to the s3c2412
221 and the s3c2443.
222
Kukjin Kim7518dde2012-04-21 07:55:33 -0700223# cpu-specific sections
224
225if CPU_S3C2410
226
Kukjin Kim82c18712013-01-21 15:16:35 -0800227config S3C2410_PLL
228 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000229 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
Kukjin Kim82c18712013-01-21 15:16:35 -0800230 default y
231 help
232 Select the PLL table for the S3C2410
233
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800234config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900235 bool
236 help
237 Internal node to specify machine has simtec NOR mapping
238
239config MACH_BAST_IDE
240 bool
241 select HAVE_PATA_PLATFORM
242 help
243 Internal node for machines with an BAST style IDE
244 interface
245
246comment "S3C2410 Boards"
247
248#
249# The "S3C2410 Boards" list is ordered alphabetically by option text.
250# (without ARCH_ or MACH_)
251#
252
253config MACH_AML_M5900
254 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800255 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900256 select S3C_DEV_USB_HOST
257 help
258 Say Y here if you are using the American Microsystems M5900 Series
259 <http://www.amltd.com>
260
261config ARCH_BAST
262 bool "Simtec Electronics BAST (EB2410ITX)"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900263 select ISA
Russell Kingb1b3f492012-10-06 17:12:25 +0100264 select MACH_BAST_IDE
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000265 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100266 select S3C24XX_DCLK
267 select S3C24XX_SIMTEC_NOR
268 select S3C24XX_SIMTEC_PM if PM
269 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900270 select S3C_DEV_HWMON
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900271 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100272 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900273 help
274 Say Y here if you are using the Simtec Electronics EB2410ITX
275 development board (also known as BAST)
276
277config BAST_PC104_IRQ
278 bool "BAST PC104 IRQ support"
279 depends on ARCH_BAST
280 default y
281 help
282 Say Y here to enable the PC104 IRQ routing on the
283 Simtec BAST (EB2410ITX)
284
285config ARCH_H1940
286 bool "IPAQ H1940"
287 select PM_H1940 if PM
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800288 select S3C24XX_SETUP_TS
Russell Kingb1b3f492012-10-06 17:12:25 +0100289 select S3C_DEV_NAND
290 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900291 help
292 Say Y here if you are using the HP IPAQ H1940
293
294config H1940BT
295 tristate "Control the state of H1940 bluetooth chip"
296 depends on ARCH_H1940
297 select RFKILL
298 help
299 This is a simple driver that is able to control
300 the state of built in bluetooth chip on h1940.
301
302config PM_H1940
303 bool
304 help
305 Internal node for H1940 and related PM
306
307config MACH_N30
308 bool "Acer N30 family"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900309 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100310 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900311 help
312 Say Y here if you want suppt for the Acer N30, Acer N35,
313 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
314
315config MACH_OTOM
316 bool "NexVision OTOM Board"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900317 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100318 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900319 help
320 Say Y here if you are using the Nex Vision OTOM board
321
322config MACH_QT2410
323 bool "QT2410"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900324 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100325 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900326 help
327 Say Y here if you are using the Armzone QT2410
328
329config ARCH_SMDK2410
330 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800331 select S3C24XX_SMDK
Alexander Shiyan1a4c2a12013-02-08 13:41:36 -0800332 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900333 help
334 Say Y here if you are using the SMDK2410 or the derived module A9M2410
335 <http://www.fsforth.de>
336
337config MACH_TCT_HAMMER
338 bool "TCT Hammer Board"
339 select S3C_DEV_USB_HOST
340 help
341 Say Y here if you are using the TinCanTools Hammer Board
342 <http://www.tincantools.com>
343
344config MACH_VR1000
345 bool "Thorcom VR1000"
Russell Kingb1b3f492012-10-06 17:12:25 +0100346 select MACH_BAST_IDE
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900347 select S3C24XX_DCLK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800348 select S3C24XX_SIMTEC_NOR
Russell Kingb1b3f492012-10-06 17:12:25 +0100349 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800350 select S3C24XX_SIMTEC_USB
Russell Kingb1b3f492012-10-06 17:12:25 +0100351 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900352 help
353 Say Y here if you are using the Thorcom VR1000 board.
354
355endif # CPU_S3C2410
356
Kukjin Kim85e2a262012-02-06 10:02:01 +0900357config S3C2412_PM_SLEEP
358 bool
359 help
360 Internal config node to apply sleep for S3C2412 power management.
361 Can be selected by another SoCs such as S3C2416 with similar
362 sleep procedure.
363
364if CPU_S3C2412
365
366config CPU_S3C2412_ONLY
367 bool
Alexander Shiyan1c137862013-04-04 10:03:53 +0900368 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Alexander Shiyana4e4d222013-04-04 10:04:00 +0900369 !CPU_S3C2442 && !CPU_S3C2443
Kukjin Kim85e2a262012-02-06 10:02:01 +0900370 default y
371
372config S3C2412_DMA
373 bool
374 help
375 Internal config node for S3C2412 DMA support
376
377config S3C2412_PM
378 bool
Heiko Stuebner7eae3542013-02-08 11:13:15 -0800379 select S3C2412_PM_SLEEP
Heiko Stuebner59295702013-02-12 10:09:10 -0800380 select SAMSUNG_WAKEMASK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900381 help
382 Internal config node to apply S3C2412 power management
383
384comment "S3C2412 Boards"
385
386#
387# The "S3C2412 Boards" list is ordered alphabetically by option text.
388# (without ARCH_ or MACH_)
389#
390
391config MACH_JIVE
392 bool "Logitech Jive"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900393 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100394 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900395 help
396 Say Y here if you are using the Logitech Jive.
397
398config MACH_JIVE_SHOW_BOOTLOADER
Kees Cook5ec9b062013-01-16 18:53:15 -0800399 bool "Allow access to bootloader partitions in MTD"
400 depends on MACH_JIVE
Kukjin Kim85e2a262012-02-06 10:02:01 +0900401
402config MACH_S3C2413
403 bool
404 help
405 Internal node for S3C2413 version of SMDK2413, so that
406 machine_is_s3c2413() will work when MACH_SMDK2413 is
407 selected
408
409config MACH_SMDK2412
410 bool "SMDK2412"
411 select MACH_SMDK2413
412 help
413 Say Y here if you are using an SMDK2412
414
415 Note, this shares support with SMDK2413, so will automatically
416 select MACH_SMDK2413.
417
418config MACH_SMDK2413
419 bool "SMDK2413"
420 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800421 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900422 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100423 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900424 help
425 Say Y here if you are using an SMDK2413
426
427config MACH_VSTMS
428 bool "VMSTMS"
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 VSTMS board
433
434endif # CPU_S3C2412
435
Kukjin Kim26febf82012-02-06 10:59:47 +0900436if CPU_S3C2416
437
438config S3C2416_PM
439 bool
440 select S3C2412_PM_SLEEP
441 help
442 Internal config node to apply S3C2416 power management
443
444config S3C2416_SETUP_SDHCI
445 bool
446 select S3C2416_SETUP_SDHCI_GPIO
447 help
448 Internal helper functions for S3C2416 based SDHCI systems
449
450config S3C2416_SETUP_SDHCI_GPIO
451 bool
452 help
453 Common setup code for SDHCI gpio.
454
455comment "S3C2416 Boards"
456
457config MACH_SMDK2416
458 bool "SMDK2416"
Russell Kingb1b3f492012-10-06 17:12:25 +0100459 select S3C2416_SETUP_SDHCI
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800460 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900461 select S3C_DEV_FB
462 select S3C_DEV_HSMMC
463 select S3C_DEV_HSMMC1
464 select S3C_DEV_NAND
465 select S3C_DEV_USB_HOST
Kukjin Kim26febf82012-02-06 10:59:47 +0900466 help
467 Say Y here if you are using an SMDK2416
468
Heiko Stuebner35aca362013-05-21 01:06:04 +0900469config MACH_S3C2416_DT
470 bool "Samsung S3C2416 machine using devicetree"
471 select CLKSRC_OF
472 select USE_OF
473 select PINCTRL
474 select PINCTRL_S3C24XX
475 help
476 Machine support for Samsung S3C2416 machines with device tree enabled.
477 Select this if a fdt blob is available for the S3C2416 SoC based board.
478 Note: This is under development and not all peripherals can be supported
479 with this machine file.
480
Kukjin Kim26febf82012-02-06 10:59:47 +0900481endif # CPU_S3C2416
482
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900483if CPU_S3C2440
484
485config S3C2440_DMA
486 bool
487 help
488 Support for S3C2440 specific DMA code5A
489
Kukjin Kimacf2d412013-01-21 15:39:09 -0800490config S3C2440_XTAL_12000000
491 bool
492 help
493 Indicate that the build needs to support 12MHz system
494 crystal.
495
496config S3C2440_XTAL_16934400
497 bool
498 help
499 Indicate that the build needs to support 16.9344MHz system
500 crystal.
501
502config S3C2440_PLL_12000000
503 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000504 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
505 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800506 help
507 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
508
509config S3C2440_PLL_16934400
510 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000511 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
512 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800513 help
514 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
515
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900516comment "S3C2440 Boards"
517
518#
519# The "S3C2440 Boards" list is ordered alphabetically by option text.
520# (without ARCH_ or MACH_)
521#
522
523config MACH_ANUBIS
524 bool "Simtec Electronics ANUBIS"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900525 select HAVE_PATA_PLATFORM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900526 select S3C2440_XTAL_12000000
Russell Kingb1b3f492012-10-06 17:12:25 +0100527 select S3C24XX_DCLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100528 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900529 select S3C_DEV_USB_HOST
530 help
531 Say Y here if you are using the Simtec Electronics ANUBIS
532 development system
533
534config MACH_AT2440EVB
535 bool "Avantech AT2440EVB development board"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900536 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100537 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900538 help
539 Say Y here if you are using the AT2440EVB development board
540
541config MACH_MINI2440
542 bool "MINI2440 development board"
Arnd Bergmann37373f12014-02-12 21:22:13 +0100543 select EEPROM_AT24 if I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900544 select LEDS_CLASS
Alexander Shiyan678a0992012-11-25 18:53:40 +0400545 select LEDS_TRIGGERS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900546 select LEDS_TRIGGER_BACKLIGHT
Russell Kingb1b3f492012-10-06 17:12:25 +0100547 select NEW_LEDS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900548 select S3C_DEV_NAND
549 select S3C_DEV_USB_HOST
Sylwester Nawrockie51d5482012-11-22 14:29:18 +0900550 select S3C_SETUP_CAMIF
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900551 help
552 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
553 available via various sources. It can come with a 3.5" or 7" touch LCD.
554
555config MACH_NEXCODER_2440
556 bool "NexVision NEXCODER 2440 Light Board"
557 select S3C2440_XTAL_12000000
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900558 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100559 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900560 help
561 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
562
563config MACH_OSIRIS
564 bool "Simtec IM2440D20 (OSIRIS) module"
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000565 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100566 select S3C2440_XTAL_12000000
567 select S3C24XX_DCLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100568 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900569 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100570 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900571 help
572 Say Y here if you are using the Simtec IM2440D20 module, also
573 known as the Osiris.
574
575config MACH_OSIRIS_DVS
576 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
577 depends on MACH_OSIRIS
Arnd Bergmannf88309c2014-03-21 13:49:04 +0100578 depends on TPS65010
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900579 help
580 Say Y/M here if you want to have dynamic voltage scaling support
581 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
582
583 The DVS driver alters the voltage supplied to the ARM core
584 depending on the frequency it is running at. The driver itself
585 does not do any of the frequency alteration, which is left up
586 to the cpufreq driver.
587
588config MACH_RX3715
589 bool "HP iPAQ rx3715"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900590 select PM_H1940 if PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100591 select S3C2440_XTAL_16934400
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900592 select S3C_DEV_NAND
593 help
594 Say Y here if you are using the HP iPAQ rx3715.
595
596config ARCH_S3C2440
597 bool "SMDK2440"
598 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800599 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900600 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100601 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900602 help
603 Say Y here if you are using the SMDK2440.
604
605config SMDK2440_CPU2440
606 bool "SMDK2440 with S3C2440 CPU module"
607 default y if ARCH_S3C2440
608 select S3C2440_XTAL_16934400
609
610endif # CPU_S3C2440
611
612if CPU_S3C2442
613
614comment "S3C2442 Boards"
615
616#
617# The "S3C2442 Boards" list is ordered alphabetically by option text.
618# (without ARCH_ or MACH_)
619#
620
621config MACH_NEO1973_GTA02
622 bool "Openmoko GTA02 / Freerunner phone"
Russell Kingb1b3f492012-10-06 17:12:25 +0100623 select I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900624 select MFD_PCF50633
625 select PCF50633_GPIO
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900626 select POWER_SUPPLY
Arnd Bergmann35e79062012-08-04 07:52:19 +0000627 select S3C24XX_PWM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900628 select S3C_DEV_USB_HOST
629 help
630 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
631
632config MACH_RX1950
633 bool "HP iPAQ rx1950"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900634 select I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100635 select PM_H1940 if PM
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000636 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900637 select S3C2440_XTAL_16934400
Russell Kingb1b3f492012-10-06 17:12:25 +0100638 select S3C24XX_DCLK
639 select S3C24XX_PWM
640 select S3C_DEV_NAND
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900641 help
642 Say Y here if you're using HP iPAQ rx1950
643
Paul Bollebd338d02013-03-22 19:03:55 +0900644endif # CPU_S3C2442
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900645
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900646if CPU_S3C2443 || CPU_S3C2416
647
648config S3C2443_COMMON
649 bool
650 help
651 Common code for the S3C2443 and similar processors, which includes
652 the S3C2416 and S3C2450.
653
Heiko Stuebner61fbb1d2014-02-19 09:25:49 +0900654config S3C2443_COMMON_CLK
655 bool
656 help
657 Temporary symbol to build the clock driver based on the common clock
658 framework.
659
Kukjin Kim84c028b2012-02-06 13:21:03 +0900660config S3C2443_DMA
661 bool
662 help
663 Internal config node for S3C2443 DMA support
664
Heiko Stuebnerf03eb25e2012-04-24 18:07:10 -0700665config S3C2443_SETUP_SPI
666 bool
667 help
668 Common setup code for SPI GPIO configurations
669
Heiko Stuebner46cdaba2012-03-07 01:53:17 -0800670endif # CPU_S3C2443 || CPU_S3C2416
671
672if CPU_S3C2443
673
Kukjin Kim84c028b2012-02-06 13:21:03 +0900674comment "S3C2443 Boards"
675
676config MACH_SMDK2443
677 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800678 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900679 select S3C_DEV_HSMMC1
680 help
681 Say Y here if you are using an SMDK2443
682
683endif # CPU_S3C2443
684
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900685endmenu # SAMSUNG S3C24XX SoCs Support
686
687endif # ARCH_S3C24XX