blob: c9378806b9e8df1769f4ea0bcebfb7c6a7744467 [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 Stuebner51cb1282014-05-09 05:48:57 +090021config S3C2410_COMMON_DCLK
22 bool
23 select REGMAP_MMIO
24 help
25 Temporary symbol to build the dclk driver based on the common clock
26 framework.
27
Kukjin Kim85fd6d62012-02-06 09:38:19 +090028menu "SAMSUNG S3C24XX SoCs Support"
29
30comment "S3C24XX SoCs"
31
32config CPU_S3C2410
33 bool "SAMSUNG S3C2410"
34 default y
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090035 depends on SAMSUNG_CLOCK
Kukjin Kim85fd6d62012-02-06 09:38:19 +090036 select CPU_ARM920T
Kukjin Kim85fd6d62012-02-06 09:38:19 +090037 select CPU_LLSERIAL_S3C2410
Russell Kingb1b3f492012-10-06 17:12:25 +010038 select S3C2410_CLOCK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090039 select S3C2410_DMA if S3C24XX_DMA
Viresh Kumarf023f8d2013-04-04 12:54:15 +000040 select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +010041 select S3C2410_PM if PM
Tomasz Figa88f59732013-06-17 23:45:37 +090042 select SAMSUNG_WDT_RESET
Kukjin Kim85fd6d62012-02-06 09:38:19 +090043 help
44 Support for S3C2410 and S3C2410A family from the S3C24XX line
45 of Samsung Mobile CPUs.
46
Kukjin Kim85e2a262012-02-06 10:02:01 +090047config CPU_S3C2412
48 bool "SAMSUNG S3C2412"
Heiko Stuebner3c27f312014-02-25 09:50:44 +090049 select COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090050 select CPU_ARM926T
51 select CPU_LLSERIAL_S3C2440
Heiko Stuebner3c27f312014-02-25 09:50:44 +090052 select S3C2412_COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090053 select S3C2412_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010054 select S3C2412_PM if PM
Kukjin Kim85e2a262012-02-06 10:02:01 +090055 help
56 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
57
Kukjin Kim26febf82012-02-06 10:59:47 +090058config CPU_S3C2416
59 bool "SAMSUNG S3C2416/S3C2450"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090060 select COMMON_CLK
Kukjin Kim26febf82012-02-06 10:59:47 +090061 select CPU_ARM926T
62 select CPU_LLSERIAL_S3C2440
Russell Kingb1b3f492012-10-06 17:12:25 +010063 select S3C2416_PM if PM
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090064 select S3C2443_COMMON_CLK
Heiko Stuebner46cdaba2012-03-07 01:53:17 -080065 select S3C2443_DMA if S3C24XX_DMA
Kukjin Kim26febf82012-02-06 10:59:47 +090066 help
67 Support for the S3C2416 SoC from the S3C24XX line
68
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090069config CPU_S3C2440
70 bool "SAMSUNG S3C2440"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090071 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090072 select CPU_ARM920T
73 select CPU_LLSERIAL_S3C2440
74 select S3C2410_CLOCK
75 select S3C2410_PM if PM
76 select S3C2440_DMA if S3C24XX_DMA
77 help
78 Support for S3C2440 Samsung Mobile CPU based systems.
79
80config CPU_S3C2442
81 bool "SAMSUNG S3C2442"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090082 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090083 select CPU_ARM920T
84 select CPU_LLSERIAL_S3C2440
85 select S3C2410_CLOCK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090086 select S3C2410_DMA if S3C24XX_DMA
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090087 select S3C2410_PM if PM
88 help
89 Support for S3C2442 Samsung Mobile CPU based systems.
90
91config CPU_S3C244X
92 def_bool y
93 depends on CPU_S3C2440 || CPU_S3C2442
Tomasz Figa88f59732013-06-17 23:45:37 +090094 select SAMSUNG_WDT_RESET
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090095
Kukjin Kim84c028b2012-02-06 13:21:03 +090096config CPU_S3C2443
97 bool "SAMSUNG S3C2443"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090098 select COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +090099 select CPU_ARM920T
100 select CPU_LLSERIAL_S3C2440
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +0900101 select S3C2443_COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900102 select S3C2443_DMA if S3C24XX_DMA
103 help
104 Support for the S3C2443 SoC from the S3C24XX line
105
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800106# common code
107
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800108config S3C2410_CLOCK
109 bool
110 help
111 Clock code for the S3C2410, and similar processors which
112 is currently includes the S3C2410, S3C2440, S3C2442.
113
114config S3C24XX_DCLK
115 bool
116 help
117 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
118
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800119config S3C24XX_SMDK
120 bool
121 help
122 Common machine code for SMDK2410 and SMDK2440
123
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800124config S3C24XX_SIMTEC_AUDIO
125 bool
126 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
127 default y
128 help
129 Add audio devices for common Simtec S3C24XX boards
130
131config S3C24XX_SIMTEC_PM
132 bool
133 help
134 Common power management code for systems that are
135 compatible with the Simtec style of power management
136
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800137config S3C24XX_SIMTEC_USB
138 bool
139 help
140 USB management code for common Simtec S3C24XX boards
141
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800142config S3C24XX_SETUP_TS
143 bool
144 help
145 Compile in platform device definition for Samsung TouchScreen.
146
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800147config S3C24XX_DMA
148 bool "S3C2410 DMA support"
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800149 select S3C_DMA
150 help
151 S3C2410 DMA support. This is needed for drivers like sound which
152 use the S3C2410's DMA system to move data to and from the
153 peripheral blocks.
154
155config S3C2410_DMA_DEBUG
156 bool "S3C2410 DMA support debug"
Alexander Shiyan1c137862013-04-04 10:03:53 +0900157 depends on S3C2410_DMA
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800158 help
159 Enable debugging output for the DMA code. This option sends info
160 to the kernel log, at priority KERN_DEBUG.
161
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900162config S3C2410_DMA
163 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900164 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900165 help
166 DMA device selection for S3C2410 and compatible CPUs
167
168config S3C2410_PM
169 bool
170 help
171 Power Management code common to S3C2410 and better
172
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800173# low-level serial option nodes
174
175config CPU_LLSERIAL_S3C2410_ONLY
176 bool
177 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
178
179config CPU_LLSERIAL_S3C2440_ONLY
180 bool
181 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
182
183config CPU_LLSERIAL_S3C2410
184 bool
185 help
186 Selected if there is an S3C2410 (or register compatible) serial
187 low-level implementation needed
188
189config CPU_LLSERIAL_S3C2440
190 bool
191 help
192 Selected if there is an S3C2440 (or register compatible) serial
193 low-level implementation needed
194
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000195config S3C24XX_PLL
196 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
Paul Bolle37155342013-07-14 14:02:19 +0200197 depends on ARM_S3C24XX_CPUFREQ
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000198 help
199 Compile in support for changing the PLL frequency from the
200 S3C24XX series CPUfreq driver. The PLL takes time to settle
201 after a frequency change, so by default it is not enabled.
202
203 This also means that the PLL tables for the selected CPU(s) will
204 be built which may increase the size of the kernel image.
205
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800206# cpu frequency items common between s3c2410 and s3c2440/s3c2442
207
208config S3C2410_IOTIMING
209 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000210 depends on ARM_S3C24XX_CPUFREQ
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800211 help
212 Internal node to select io timing code that is common to the s3c2410
213 and s3c2440/s3c2442 cpu frequency support.
214
215config S3C2410_CPUFREQ_UTILS
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000216 bool
217 depends on ARM_S3C24XX_CPUFREQ
218 help
219 Internal node to select timing code that is common to the s3c2410
220 and s3c2440/s3c244 cpu frequency support.
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800221
222# cpu frequency support common to s3c2412, s3c2413 and s3c2442
223
224config S3C2412_IOTIMING
225 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000226 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800227 help
228 Intel node to select io timing code that is common to the s3c2412
229 and the s3c2443.
230
Kukjin Kim7518dde2012-04-21 07:55:33 -0700231# cpu-specific sections
232
233if CPU_S3C2410
234
Kukjin Kim82c18712013-01-21 15:16:35 -0800235config S3C2410_PLL
236 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000237 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
Kukjin Kim82c18712013-01-21 15:16:35 -0800238 default y
239 help
240 Select the PLL table for the S3C2410
241
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800242config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900243 bool
244 help
245 Internal node to specify machine has simtec NOR mapping
246
247config MACH_BAST_IDE
248 bool
249 select HAVE_PATA_PLATFORM
250 help
251 Internal node for machines with an BAST style IDE
252 interface
253
254comment "S3C2410 Boards"
255
256#
257# The "S3C2410 Boards" list is ordered alphabetically by option text.
258# (without ARCH_ or MACH_)
259#
260
261config MACH_AML_M5900
262 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800263 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900264 select S3C_DEV_USB_HOST
265 help
266 Say Y here if you are using the American Microsystems M5900 Series
267 <http://www.amltd.com>
268
269config ARCH_BAST
270 bool "Simtec Electronics BAST (EB2410ITX)"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900271 select ISA
Russell Kingb1b3f492012-10-06 17:12:25 +0100272 select MACH_BAST_IDE
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900273 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000274 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900275 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100276 select S3C24XX_SIMTEC_NOR
277 select S3C24XX_SIMTEC_PM if PM
278 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900279 select S3C_DEV_HWMON
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900280 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100281 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900282 help
283 Say Y here if you are using the Simtec Electronics EB2410ITX
284 development board (also known as BAST)
285
286config BAST_PC104_IRQ
287 bool "BAST PC104 IRQ support"
288 depends on ARCH_BAST
289 default y
290 help
291 Say Y here to enable the PC104 IRQ routing on the
292 Simtec BAST (EB2410ITX)
293
294config ARCH_H1940
295 bool "IPAQ H1940"
296 select PM_H1940 if PM
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800297 select S3C24XX_SETUP_TS
Russell Kingb1b3f492012-10-06 17:12:25 +0100298 select S3C_DEV_NAND
299 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900300 help
301 Say Y here if you are using the HP IPAQ H1940
302
303config H1940BT
304 tristate "Control the state of H1940 bluetooth chip"
305 depends on ARCH_H1940
306 select RFKILL
307 help
308 This is a simple driver that is able to control
309 the state of built in bluetooth chip on h1940.
310
311config PM_H1940
312 bool
313 help
314 Internal node for H1940 and related PM
315
316config MACH_N30
317 bool "Acer N30 family"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900318 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100319 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900320 help
321 Say Y here if you want suppt for the Acer N30, Acer N35,
322 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
323
324config MACH_OTOM
325 bool "NexVision OTOM Board"
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 Nex Vision OTOM board
330
331config MACH_QT2410
332 bool "QT2410"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900333 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100334 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900335 help
336 Say Y here if you are using the Armzone QT2410
337
338config ARCH_SMDK2410
339 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800340 select S3C24XX_SMDK
Alexander Shiyan1a4c2a12013-02-08 13:41:36 -0800341 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900342 help
343 Say Y here if you are using the SMDK2410 or the derived module A9M2410
344 <http://www.fsforth.de>
345
346config MACH_TCT_HAMMER
347 bool "TCT Hammer Board"
348 select S3C_DEV_USB_HOST
349 help
350 Say Y here if you are using the TinCanTools Hammer Board
351 <http://www.tincantools.com>
352
353config MACH_VR1000
354 bool "Thorcom VR1000"
Russell Kingb1b3f492012-10-06 17:12:25 +0100355 select MACH_BAST_IDE
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900356 select S3C2410_COMMON_DCLK if COMMON_CLK
357 select S3C24XX_DCLK if SAMSUNG_CLOCK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800358 select S3C24XX_SIMTEC_NOR
Russell Kingb1b3f492012-10-06 17:12:25 +0100359 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800360 select S3C24XX_SIMTEC_USB
Russell Kingb1b3f492012-10-06 17:12:25 +0100361 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900362 help
363 Say Y here if you are using the Thorcom VR1000 board.
364
365endif # CPU_S3C2410
366
Kukjin Kim85e2a262012-02-06 10:02:01 +0900367config S3C2412_PM_SLEEP
368 bool
369 help
370 Internal config node to apply sleep for S3C2412 power management.
371 Can be selected by another SoCs such as S3C2416 with similar
372 sleep procedure.
373
374if CPU_S3C2412
375
Heiko Stuebner3c27f312014-02-25 09:50:44 +0900376config S3C2412_COMMON_CLK
377 bool
378 help
379 Build the s3c2412 clock driver based on the common clock framework.
380
Kukjin Kim85e2a262012-02-06 10:02:01 +0900381config CPU_S3C2412_ONLY
382 bool
Alexander Shiyan1c137862013-04-04 10:03:53 +0900383 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Alexander Shiyana4e4d222013-04-04 10:04:00 +0900384 !CPU_S3C2442 && !CPU_S3C2443
Kukjin Kim85e2a262012-02-06 10:02:01 +0900385 default y
386
387config S3C2412_DMA
388 bool
389 help
390 Internal config node for S3C2412 DMA support
391
392config S3C2412_PM
393 bool
Heiko Stuebner7eae3542013-02-08 11:13:15 -0800394 select S3C2412_PM_SLEEP
Heiko Stuebner59295702013-02-12 10:09:10 -0800395 select SAMSUNG_WAKEMASK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900396 help
397 Internal config node to apply S3C2412 power management
398
399comment "S3C2412 Boards"
400
401#
402# The "S3C2412 Boards" list is ordered alphabetically by option text.
403# (without ARCH_ or MACH_)
404#
405
406config MACH_JIVE
407 bool "Logitech Jive"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900408 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100409 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900410 help
411 Say Y here if you are using the Logitech Jive.
412
413config MACH_JIVE_SHOW_BOOTLOADER
Kees Cook5ec9b062013-01-16 18:53:15 -0800414 bool "Allow access to bootloader partitions in MTD"
415 depends on MACH_JIVE
Kukjin Kim85e2a262012-02-06 10:02:01 +0900416
417config MACH_S3C2413
418 bool
419 help
420 Internal node for S3C2413 version of SMDK2413, so that
421 machine_is_s3c2413() will work when MACH_SMDK2413 is
422 selected
423
424config MACH_SMDK2412
425 bool "SMDK2412"
426 select MACH_SMDK2413
427 help
428 Say Y here if you are using an SMDK2412
429
430 Note, this shares support with SMDK2413, so will automatically
431 select MACH_SMDK2413.
432
433config MACH_SMDK2413
434 bool "SMDK2413"
435 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800436 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900437 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100438 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900439 help
440 Say Y here if you are using an SMDK2413
441
442config MACH_VSTMS
443 bool "VMSTMS"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900444 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100445 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900446 help
447 Say Y here if you are using an VSTMS board
448
449endif # CPU_S3C2412
450
Kukjin Kim26febf82012-02-06 10:59:47 +0900451if CPU_S3C2416
452
453config S3C2416_PM
454 bool
455 select S3C2412_PM_SLEEP
456 help
457 Internal config node to apply S3C2416 power management
458
459config S3C2416_SETUP_SDHCI
460 bool
461 select S3C2416_SETUP_SDHCI_GPIO
462 help
463 Internal helper functions for S3C2416 based SDHCI systems
464
465config S3C2416_SETUP_SDHCI_GPIO
466 bool
467 help
468 Common setup code for SDHCI gpio.
469
470comment "S3C2416 Boards"
471
472config MACH_SMDK2416
473 bool "SMDK2416"
Russell Kingb1b3f492012-10-06 17:12:25 +0100474 select S3C2416_SETUP_SDHCI
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800475 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900476 select S3C_DEV_FB
477 select S3C_DEV_HSMMC
478 select S3C_DEV_HSMMC1
479 select S3C_DEV_NAND
480 select S3C_DEV_USB_HOST
Kukjin Kim26febf82012-02-06 10:59:47 +0900481 help
482 Say Y here if you are using an SMDK2416
483
Heiko Stuebner35aca362013-05-21 01:06:04 +0900484config MACH_S3C2416_DT
485 bool "Samsung S3C2416 machine using devicetree"
486 select CLKSRC_OF
487 select USE_OF
488 select PINCTRL
489 select PINCTRL_S3C24XX
490 help
491 Machine support for Samsung S3C2416 machines with device tree enabled.
492 Select this if a fdt blob is available for the S3C2416 SoC based board.
493 Note: This is under development and not all peripherals can be supported
494 with this machine file.
495
Kukjin Kim26febf82012-02-06 10:59:47 +0900496endif # CPU_S3C2416
497
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900498if CPU_S3C2440
499
500config S3C2440_DMA
501 bool
502 help
503 Support for S3C2440 specific DMA code5A
504
Kukjin Kimacf2d412013-01-21 15:39:09 -0800505config S3C2440_XTAL_12000000
506 bool
507 help
508 Indicate that the build needs to support 12MHz system
509 crystal.
510
511config S3C2440_XTAL_16934400
512 bool
513 help
514 Indicate that the build needs to support 16.9344MHz system
515 crystal.
516
517config S3C2440_PLL_12000000
518 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000519 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
520 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800521 help
522 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
523
524config S3C2440_PLL_16934400
525 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000526 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
527 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800528 help
529 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
530
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900531comment "S3C2440 Boards"
532
533#
534# The "S3C2440 Boards" list is ordered alphabetically by option text.
535# (without ARCH_ or MACH_)
536#
537
538config MACH_ANUBIS
539 bool "Simtec Electronics ANUBIS"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900540 select HAVE_PATA_PLATFORM
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900541 select S3C2410_COMMON_DCLK if COMMON_CLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900542 select S3C2440_XTAL_12000000
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900543 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100544 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900545 select S3C_DEV_USB_HOST
546 help
547 Say Y here if you are using the Simtec Electronics ANUBIS
548 development system
549
550config MACH_AT2440EVB
551 bool "Avantech AT2440EVB development board"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900552 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100553 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900554 help
555 Say Y here if you are using the AT2440EVB development board
556
557config MACH_MINI2440
558 bool "MINI2440 development board"
Arnd Bergmann37373f12014-02-12 21:22:13 +0100559 select EEPROM_AT24 if I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900560 select LEDS_CLASS
Alexander Shiyan678a0992012-11-25 18:53:40 +0400561 select LEDS_TRIGGERS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900562 select LEDS_TRIGGER_BACKLIGHT
Russell Kingb1b3f492012-10-06 17:12:25 +0100563 select NEW_LEDS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900564 select S3C_DEV_NAND
565 select S3C_DEV_USB_HOST
Sylwester Nawrockie51d5482012-11-22 14:29:18 +0900566 select S3C_SETUP_CAMIF
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900567 help
568 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
569 available via various sources. It can come with a 3.5" or 7" touch LCD.
570
571config MACH_NEXCODER_2440
572 bool "NexVision NEXCODER 2440 Light Board"
573 select S3C2440_XTAL_12000000
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900574 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100575 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900576 help
577 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
578
579config MACH_OSIRIS
580 bool "Simtec IM2440D20 (OSIRIS) module"
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900581 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000582 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100583 select S3C2440_XTAL_12000000
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900584 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100585 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900586 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100587 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900588 help
589 Say Y here if you are using the Simtec IM2440D20 module, also
590 known as the Osiris.
591
592config MACH_OSIRIS_DVS
593 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
594 depends on MACH_OSIRIS
Arnd Bergmannf88309c2014-03-21 13:49:04 +0100595 depends on TPS65010
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900596 help
597 Say Y/M here if you want to have dynamic voltage scaling support
598 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
599
600 The DVS driver alters the voltage supplied to the ARM core
601 depending on the frequency it is running at. The driver itself
602 does not do any of the frequency alteration, which is left up
603 to the cpufreq driver.
604
605config MACH_RX3715
606 bool "HP iPAQ rx3715"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900607 select PM_H1940 if PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100608 select S3C2440_XTAL_16934400
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900609 select S3C_DEV_NAND
610 help
611 Say Y here if you are using the HP iPAQ rx3715.
612
613config ARCH_S3C2440
614 bool "SMDK2440"
615 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800616 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900617 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100618 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900619 help
620 Say Y here if you are using the SMDK2440.
621
622config SMDK2440_CPU2440
623 bool "SMDK2440 with S3C2440 CPU module"
624 default y if ARCH_S3C2440
625 select S3C2440_XTAL_16934400
626
627endif # CPU_S3C2440
628
629if CPU_S3C2442
630
631comment "S3C2442 Boards"
632
633#
634# The "S3C2442 Boards" list is ordered alphabetically by option text.
635# (without ARCH_ or MACH_)
636#
637
638config MACH_NEO1973_GTA02
639 bool "Openmoko GTA02 / Freerunner phone"
Russell Kingb1b3f492012-10-06 17:12:25 +0100640 select I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900641 select MFD_PCF50633
642 select PCF50633_GPIO
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900643 select POWER_SUPPLY
Arnd Bergmann35e79062012-08-04 07:52:19 +0000644 select S3C24XX_PWM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900645 select S3C_DEV_USB_HOST
646 help
647 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
648
649config MACH_RX1950
650 bool "HP iPAQ rx1950"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900651 select I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100652 select PM_H1940 if PM
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900653 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000654 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900655 select S3C2440_XTAL_16934400
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900656 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100657 select S3C24XX_PWM
658 select S3C_DEV_NAND
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900659 help
660 Say Y here if you're using HP iPAQ rx1950
661
Paul Bollebd338d02013-03-22 19:03:55 +0900662endif # CPU_S3C2442
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900663
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900664if CPU_S3C2443 || CPU_S3C2416
665
Heiko Stuebner61fbb1d2014-02-19 09:25:49 +0900666config S3C2443_COMMON_CLK
667 bool
668 help
669 Temporary symbol to build the clock driver based on the common clock
670 framework.
671
Kukjin Kim84c028b2012-02-06 13:21:03 +0900672config S3C2443_DMA
673 bool
674 help
675 Internal config node for S3C2443 DMA support
676
Heiko Stuebnerf03eb252012-04-24 18:07:10 -0700677config S3C2443_SETUP_SPI
678 bool
679 help
680 Common setup code for SPI GPIO configurations
681
Heiko Stuebner46cdaba2012-03-07 01:53:17 -0800682endif # CPU_S3C2443 || CPU_S3C2416
683
684if CPU_S3C2443
685
Kukjin Kim84c028b2012-02-06 13:21:03 +0900686comment "S3C2443 Boards"
687
688config MACH_SMDK2443
689 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800690 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900691 select S3C_DEV_HSMMC1
692 help
693 Say Y here if you are using an SMDK2443
694
695endif # CPU_S3C2443
696
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900697endmenu # SAMSUNG S3C24XX SoCs Support
698
699endif # ARCH_S3C24XX