blob: 56ce1c6a283c851d53598bdc5a5d86abf0a08a16 [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 Stuebner5ab9a422014-02-19 09:25:54 +090040 depends on SAMSUNG_CLOCK
Kukjin Kim85fd6d62012-02-06 09:38:19 +090041 select CPU_ARM920T
Kukjin Kim85fd6d62012-02-06 09:38:19 +090042 select CPU_LLSERIAL_S3C2410
Russell Kingb1b3f492012-10-06 17:12:25 +010043 select S3C2410_CLOCK
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
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800113config S3C2410_CLOCK
114 bool
115 help
116 Clock code for the S3C2410, and similar processors which
117 is currently includes the S3C2410, S3C2440, S3C2442.
118
119config S3C24XX_DCLK
120 bool
121 help
122 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
123
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800124config S3C24XX_SMDK
125 bool
126 help
127 Common machine code for SMDK2410 and SMDK2440
128
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800129config S3C24XX_SIMTEC_AUDIO
130 bool
131 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
132 default y
133 help
134 Add audio devices for common Simtec S3C24XX boards
135
136config S3C24XX_SIMTEC_PM
137 bool
138 help
139 Common power management code for systems that are
140 compatible with the Simtec style of power management
141
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800142config S3C24XX_SIMTEC_USB
143 bool
144 help
145 USB management code for common Simtec S3C24XX boards
146
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800147config S3C24XX_SETUP_TS
148 bool
149 help
150 Compile in platform device definition for Samsung TouchScreen.
151
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800152config S3C24XX_DMA
153 bool "S3C2410 DMA support"
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800154 select S3C_DMA
155 help
156 S3C2410 DMA support. This is needed for drivers like sound which
157 use the S3C2410's DMA system to move data to and from the
158 peripheral blocks.
159
160config S3C2410_DMA_DEBUG
161 bool "S3C2410 DMA support debug"
Alexander Shiyan1c137862013-04-04 10:03:53 +0900162 depends on S3C2410_DMA
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800163 help
164 Enable debugging output for the DMA code. This option sends info
165 to the kernel log, at priority KERN_DEBUG.
166
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900167config S3C2410_DMA
168 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900169 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900170 help
171 DMA device selection for S3C2410 and compatible CPUs
172
173config S3C2410_PM
174 bool
175 help
176 Power Management code common to S3C2410 and better
177
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800178# low-level serial option nodes
179
180config CPU_LLSERIAL_S3C2410_ONLY
181 bool
182 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
183
184config CPU_LLSERIAL_S3C2440_ONLY
185 bool
186 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
187
188config CPU_LLSERIAL_S3C2410
189 bool
190 help
191 Selected if there is an S3C2410 (or register compatible) serial
192 low-level implementation needed
193
194config CPU_LLSERIAL_S3C2440
195 bool
196 help
197 Selected if there is an S3C2440 (or register compatible) serial
198 low-level implementation needed
199
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000200config S3C24XX_PLL
201 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
Paul Bolle37155342013-07-14 14:02:19 +0200202 depends on ARM_S3C24XX_CPUFREQ
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000203 help
204 Compile in support for changing the PLL frequency from the
205 S3C24XX series CPUfreq driver. The PLL takes time to settle
206 after a frequency change, so by default it is not enabled.
207
208 This also means that the PLL tables for the selected CPU(s) will
209 be built which may increase the size of the kernel image.
210
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800211# cpu frequency items common between s3c2410 and s3c2440/s3c2442
212
213config S3C2410_IOTIMING
214 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000215 depends on ARM_S3C24XX_CPUFREQ
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800216 help
217 Internal node to select io timing code that is common to the s3c2410
218 and s3c2440/s3c2442 cpu frequency support.
219
220config S3C2410_CPUFREQ_UTILS
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000221 bool
222 depends on ARM_S3C24XX_CPUFREQ
223 help
224 Internal node to select timing code that is common to the s3c2410
225 and s3c2440/s3c244 cpu frequency support.
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800226
227# cpu frequency support common to s3c2412, s3c2413 and s3c2442
228
229config S3C2412_IOTIMING
230 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000231 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800232 help
233 Intel node to select io timing code that is common to the s3c2412
234 and the s3c2443.
235
Kukjin Kim7518dde2012-04-21 07:55:33 -0700236# cpu-specific sections
237
238if CPU_S3C2410
239
Kukjin Kim82c18712013-01-21 15:16:35 -0800240config S3C2410_PLL
241 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000242 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
Kukjin Kim82c18712013-01-21 15:16:35 -0800243 default y
244 help
245 Select the PLL table for the S3C2410
246
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800247config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900248 bool
249 help
250 Internal node to specify machine has simtec NOR mapping
251
252config MACH_BAST_IDE
253 bool
254 select HAVE_PATA_PLATFORM
255 help
256 Internal node for machines with an BAST style IDE
257 interface
258
259comment "S3C2410 Boards"
260
261#
262# The "S3C2410 Boards" list is ordered alphabetically by option text.
263# (without ARCH_ or MACH_)
264#
265
266config MACH_AML_M5900
267 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800268 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900269 select S3C_DEV_USB_HOST
270 help
271 Say Y here if you are using the American Microsystems M5900 Series
272 <http://www.amltd.com>
273
274config ARCH_BAST
275 bool "Simtec Electronics BAST (EB2410ITX)"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900276 select ISA
Russell Kingb1b3f492012-10-06 17:12:25 +0100277 select MACH_BAST_IDE
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900278 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000279 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900280 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100281 select S3C24XX_SIMTEC_NOR
282 select S3C24XX_SIMTEC_PM if PM
283 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900284 select S3C_DEV_HWMON
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900285 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100286 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900287 help
288 Say Y here if you are using the Simtec Electronics EB2410ITX
289 development board (also known as BAST)
290
291config BAST_PC104_IRQ
292 bool "BAST PC104 IRQ support"
293 depends on ARCH_BAST
294 default y
295 help
296 Say Y here to enable the PC104 IRQ routing on the
297 Simtec BAST (EB2410ITX)
298
299config ARCH_H1940
300 bool "IPAQ H1940"
301 select PM_H1940 if PM
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800302 select S3C24XX_SETUP_TS
Russell Kingb1b3f492012-10-06 17:12:25 +0100303 select S3C_DEV_NAND
304 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900305 help
306 Say Y here if you are using the HP IPAQ H1940
307
308config H1940BT
309 tristate "Control the state of H1940 bluetooth chip"
310 depends on ARCH_H1940
311 select RFKILL
312 help
313 This is a simple driver that is able to control
314 the state of built in bluetooth chip on h1940.
315
316config PM_H1940
317 bool
318 help
319 Internal node for H1940 and related PM
320
321config MACH_N30
322 bool "Acer N30 family"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900323 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100324 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900325 help
326 Say Y here if you want suppt for the Acer N30, Acer N35,
327 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
328
329config MACH_OTOM
330 bool "NexVision OTOM Board"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900331 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100332 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900333 help
334 Say Y here if you are using the Nex Vision OTOM board
335
336config MACH_QT2410
337 bool "QT2410"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900338 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100339 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900340 help
341 Say Y here if you are using the Armzone QT2410
342
343config ARCH_SMDK2410
344 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800345 select S3C24XX_SMDK
Alexander Shiyan1a4c2a12013-02-08 13:41:36 -0800346 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900347 help
348 Say Y here if you are using the SMDK2410 or the derived module A9M2410
349 <http://www.fsforth.de>
350
351config MACH_TCT_HAMMER
352 bool "TCT Hammer Board"
353 select S3C_DEV_USB_HOST
354 help
355 Say Y here if you are using the TinCanTools Hammer Board
356 <http://www.tincantools.com>
357
358config MACH_VR1000
359 bool "Thorcom VR1000"
Russell Kingb1b3f492012-10-06 17:12:25 +0100360 select MACH_BAST_IDE
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900361 select S3C2410_COMMON_DCLK if COMMON_CLK
362 select S3C24XX_DCLK if SAMSUNG_CLOCK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800363 select S3C24XX_SIMTEC_NOR
Russell Kingb1b3f492012-10-06 17:12:25 +0100364 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800365 select S3C24XX_SIMTEC_USB
Russell Kingb1b3f492012-10-06 17:12:25 +0100366 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900367 help
368 Say Y here if you are using the Thorcom VR1000 board.
369
370endif # CPU_S3C2410
371
Kukjin Kim85e2a262012-02-06 10:02:01 +0900372config S3C2412_PM_SLEEP
373 bool
374 help
375 Internal config node to apply sleep for S3C2412 power management.
376 Can be selected by another SoCs such as S3C2416 with similar
377 sleep procedure.
378
379if CPU_S3C2412
380
Heiko Stuebner3c27f312014-02-25 09:50:44 +0900381config S3C2412_COMMON_CLK
382 bool
383 help
384 Build the s3c2412 clock driver based on the common clock framework.
385
Kukjin Kim85e2a262012-02-06 10:02:01 +0900386config CPU_S3C2412_ONLY
387 bool
Alexander Shiyan1c137862013-04-04 10:03:53 +0900388 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Alexander Shiyana4e4d222013-04-04 10:04:00 +0900389 !CPU_S3C2442 && !CPU_S3C2443
Kukjin Kim85e2a262012-02-06 10:02:01 +0900390 default y
391
392config S3C2412_DMA
393 bool
394 help
395 Internal config node for S3C2412 DMA support
396
397config S3C2412_PM
398 bool
Heiko Stuebner7eae3542013-02-08 11:13:15 -0800399 select S3C2412_PM_SLEEP
Heiko Stuebner59295702013-02-12 10:09:10 -0800400 select SAMSUNG_WAKEMASK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900401 help
402 Internal config node to apply S3C2412 power management
403
404comment "S3C2412 Boards"
405
406#
407# The "S3C2412 Boards" list is ordered alphabetically by option text.
408# (without ARCH_ or MACH_)
409#
410
411config MACH_JIVE
412 bool "Logitech Jive"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900413 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100414 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900415 help
416 Say Y here if you are using the Logitech Jive.
417
418config MACH_JIVE_SHOW_BOOTLOADER
Kees Cook5ec9b062013-01-16 18:53:15 -0800419 bool "Allow access to bootloader partitions in MTD"
420 depends on MACH_JIVE
Kukjin Kim85e2a262012-02-06 10:02:01 +0900421
422config MACH_S3C2413
423 bool
424 help
425 Internal node for S3C2413 version of SMDK2413, so that
426 machine_is_s3c2413() will work when MACH_SMDK2413 is
427 selected
428
429config MACH_SMDK2412
430 bool "SMDK2412"
431 select MACH_SMDK2413
432 help
433 Say Y here if you are using an SMDK2412
434
435 Note, this shares support with SMDK2413, so will automatically
436 select MACH_SMDK2413.
437
438config MACH_SMDK2413
439 bool "SMDK2413"
440 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800441 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900442 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100443 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900444 help
445 Say Y here if you are using an SMDK2413
446
447config MACH_VSTMS
448 bool "VMSTMS"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900449 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100450 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900451 help
452 Say Y here if you are using an VSTMS board
453
454endif # CPU_S3C2412
455
Kukjin Kim26febf82012-02-06 10:59:47 +0900456if CPU_S3C2416
457
458config S3C2416_PM
459 bool
460 select S3C2412_PM_SLEEP
461 help
462 Internal config node to apply S3C2416 power management
463
464config S3C2416_SETUP_SDHCI
465 bool
466 select S3C2416_SETUP_SDHCI_GPIO
467 help
468 Internal helper functions for S3C2416 based SDHCI systems
469
470config S3C2416_SETUP_SDHCI_GPIO
471 bool
472 help
473 Common setup code for SDHCI gpio.
474
475comment "S3C2416 Boards"
476
477config MACH_SMDK2416
478 bool "SMDK2416"
Russell Kingb1b3f492012-10-06 17:12:25 +0100479 select S3C2416_SETUP_SDHCI
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800480 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900481 select S3C_DEV_FB
482 select S3C_DEV_HSMMC
483 select S3C_DEV_HSMMC1
484 select S3C_DEV_NAND
485 select S3C_DEV_USB_HOST
Kukjin Kim26febf82012-02-06 10:59:47 +0900486 help
487 Say Y here if you are using an SMDK2416
488
Heiko Stuebner35aca362013-05-21 01:06:04 +0900489config MACH_S3C2416_DT
490 bool "Samsung S3C2416 machine using devicetree"
491 select CLKSRC_OF
492 select USE_OF
493 select PINCTRL
494 select PINCTRL_S3C24XX
495 help
496 Machine support for Samsung S3C2416 machines with device tree enabled.
497 Select this if a fdt blob is available for the S3C2416 SoC based board.
498 Note: This is under development and not all peripherals can be supported
499 with this machine file.
500
Kukjin Kim26febf82012-02-06 10:59:47 +0900501endif # CPU_S3C2416
502
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900503if CPU_S3C2440
504
505config S3C2440_DMA
506 bool
507 help
508 Support for S3C2440 specific DMA code5A
509
Kukjin Kimacf2d412013-01-21 15:39:09 -0800510config S3C2440_XTAL_12000000
511 bool
512 help
513 Indicate that the build needs to support 12MHz system
514 crystal.
515
516config S3C2440_XTAL_16934400
517 bool
518 help
519 Indicate that the build needs to support 16.9344MHz system
520 crystal.
521
522config S3C2440_PLL_12000000
523 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000524 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
525 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800526 help
527 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
528
529config S3C2440_PLL_16934400
530 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000531 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
532 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800533 help
534 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
535
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900536comment "S3C2440 Boards"
537
538#
539# The "S3C2440 Boards" list is ordered alphabetically by option text.
540# (without ARCH_ or MACH_)
541#
542
543config MACH_ANUBIS
544 bool "Simtec Electronics ANUBIS"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900545 select HAVE_PATA_PLATFORM
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900546 select S3C2410_COMMON_DCLK if COMMON_CLK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900547 select S3C2440_XTAL_12000000
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900548 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100549 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900550 select S3C_DEV_USB_HOST
551 help
552 Say Y here if you are using the Simtec Electronics ANUBIS
553 development system
554
555config MACH_AT2440EVB
556 bool "Avantech AT2440EVB development board"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900557 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100558 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900559 help
560 Say Y here if you are using the AT2440EVB development board
561
562config MACH_MINI2440
563 bool "MINI2440 development board"
Arnd Bergmann37373f12014-02-12 21:22:13 +0100564 select EEPROM_AT24 if I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900565 select LEDS_CLASS
Alexander Shiyan678a0992012-11-25 18:53:40 +0400566 select LEDS_TRIGGERS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900567 select LEDS_TRIGGER_BACKLIGHT
Russell Kingb1b3f492012-10-06 17:12:25 +0100568 select NEW_LEDS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900569 select S3C_DEV_NAND
570 select S3C_DEV_USB_HOST
Sylwester Nawrockie51d5482012-11-22 14:29:18 +0900571 select S3C_SETUP_CAMIF
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900572 help
573 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
574 available via various sources. It can come with a 3.5" or 7" touch LCD.
575
576config MACH_NEXCODER_2440
577 bool "NexVision NEXCODER 2440 Light Board"
578 select S3C2440_XTAL_12000000
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900579 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100580 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900581 help
582 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
583
584config MACH_OSIRIS
585 bool "Simtec IM2440D20 (OSIRIS) module"
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900586 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000587 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100588 select S3C2440_XTAL_12000000
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900589 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100590 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900591 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100592 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900593 help
594 Say Y here if you are using the Simtec IM2440D20 module, also
595 known as the Osiris.
596
597config MACH_OSIRIS_DVS
598 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
599 depends on MACH_OSIRIS
Arnd Bergmannf88309c2014-03-21 13:49:04 +0100600 depends on TPS65010
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900601 help
602 Say Y/M here if you want to have dynamic voltage scaling support
603 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
604
605 The DVS driver alters the voltage supplied to the ARM core
606 depending on the frequency it is running at. The driver itself
607 does not do any of the frequency alteration, which is left up
608 to the cpufreq driver.
609
610config MACH_RX3715
611 bool "HP iPAQ rx3715"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900612 select PM_H1940 if PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100613 select S3C2440_XTAL_16934400
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900614 select S3C_DEV_NAND
615 help
616 Say Y here if you are using the HP iPAQ rx3715.
617
618config ARCH_S3C2440
619 bool "SMDK2440"
620 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800621 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900622 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100623 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900624 help
625 Say Y here if you are using the SMDK2440.
626
627config SMDK2440_CPU2440
628 bool "SMDK2440 with S3C2440 CPU module"
629 default y if ARCH_S3C2440
630 select S3C2440_XTAL_16934400
631
632endif # CPU_S3C2440
633
634if CPU_S3C2442
635
636comment "S3C2442 Boards"
637
638#
639# The "S3C2442 Boards" list is ordered alphabetically by option text.
640# (without ARCH_ or MACH_)
641#
642
643config MACH_NEO1973_GTA02
644 bool "Openmoko GTA02 / Freerunner phone"
Russell Kingb1b3f492012-10-06 17:12:25 +0100645 select I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900646 select MFD_PCF50633
647 select PCF50633_GPIO
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900648 select POWER_SUPPLY
Arnd Bergmann35e79062012-08-04 07:52:19 +0000649 select S3C24XX_PWM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900650 select S3C_DEV_USB_HOST
651 help
652 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
653
654config MACH_RX1950
655 bool "HP iPAQ rx1950"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900656 select I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100657 select PM_H1940 if PM
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900658 select S3C2410_COMMON_DCLK if COMMON_CLK
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000659 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900660 select S3C2440_XTAL_16934400
Heiko Stuebner51cb1282014-05-09 05:48:57 +0900661 select S3C24XX_DCLK if SAMSUNG_CLOCK
Russell Kingb1b3f492012-10-06 17:12:25 +0100662 select S3C24XX_PWM
663 select S3C_DEV_NAND
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900664 help
665 Say Y here if you're using HP iPAQ rx1950
666
Paul Bollebd338d02013-03-22 19:03:55 +0900667endif # CPU_S3C2442
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900668
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900669if CPU_S3C2443 || CPU_S3C2416
670
Heiko Stuebner61fbb1d2014-02-19 09:25:49 +0900671config S3C2443_COMMON_CLK
672 bool
673 help
674 Temporary symbol to build the clock driver based on the common clock
675 framework.
676
Kukjin Kim84c028b2012-02-06 13:21:03 +0900677config S3C2443_DMA
678 bool
679 help
680 Internal config node for S3C2443 DMA support
681
Heiko Stuebnerf03eb252012-04-24 18:07:10 -0700682config S3C2443_SETUP_SPI
683 bool
684 help
685 Common setup code for SPI GPIO configurations
686
Heiko Stuebner46cdaba2012-03-07 01:53:17 -0800687endif # CPU_S3C2443 || CPU_S3C2416
688
689if CPU_S3C2443
690
Kukjin Kim84c028b2012-02-06 13:21:03 +0900691comment "S3C2443 Boards"
692
693config MACH_SMDK2443
694 bool "SMDK2443"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800695 select S3C24XX_SMDK
Kukjin Kim84c028b2012-02-06 13:21:03 +0900696 select S3C_DEV_HSMMC1
697 help
698 Say Y here if you are using an SMDK2443
699
700endif # CPU_S3C2443
701
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900702endmenu # SAMSUNG S3C24XX SoCs Support
703
704endif # ARCH_S3C24XX