blob: fbafb9a1975bf4d7a816e4b393b0e2191bfb87d8 [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 Stuebner3c27f312014-02-25 09:50:44 +090042 select COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090043 select CPU_ARM926T
44 select CPU_LLSERIAL_S3C2440
Heiko Stuebner3c27f312014-02-25 09:50:44 +090045 select S3C2412_COMMON_CLK
Kukjin Kim85e2a262012-02-06 10:02:01 +090046 select S3C2412_DMA if S3C24XX_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +010047 select S3C2412_PM if PM
Kukjin Kim85e2a262012-02-06 10:02:01 +090048 help
49 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
50
Kukjin Kim26febf82012-02-06 10:59:47 +090051config CPU_S3C2416
52 bool "SAMSUNG S3C2416/S3C2450"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090053 select COMMON_CLK
Kukjin Kim26febf82012-02-06 10:59:47 +090054 select CPU_ARM926T
55 select CPU_LLSERIAL_S3C2440
Russell Kingb1b3f492012-10-06 17:12:25 +010056 select S3C2416_PM if PM
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090057 select S3C2443_COMMON_CLK
Heiko Stuebner46cdaba2012-03-07 01:53:17 -080058 select S3C2443_DMA if S3C24XX_DMA
Kukjin Kim26febf82012-02-06 10:59:47 +090059 help
60 Support for the S3C2416 SoC from the S3C24XX line
61
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090062config CPU_S3C2440
63 bool "SAMSUNG S3C2440"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090064 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090065 select CPU_ARM920T
66 select CPU_LLSERIAL_S3C2440
67 select S3C2410_CLOCK
68 select S3C2410_PM if PM
69 select S3C2440_DMA if S3C24XX_DMA
70 help
71 Support for S3C2440 Samsung Mobile CPU based systems.
72
73config CPU_S3C2442
74 bool "SAMSUNG S3C2442"
Heiko Stuebner5ab9a422014-02-19 09:25:54 +090075 depends on SAMSUNG_CLOCK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090076 select CPU_ARM920T
77 select CPU_LLSERIAL_S3C2440
78 select S3C2410_CLOCK
Heiko Stuebnerda2f5f42013-10-21 05:32:48 +090079 select S3C2410_DMA if S3C24XX_DMA
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090080 select S3C2410_PM if PM
81 help
82 Support for S3C2442 Samsung Mobile CPU based systems.
83
84config CPU_S3C244X
85 def_bool y
86 depends on CPU_S3C2440 || CPU_S3C2442
Tomasz Figa88f59732013-06-17 23:45:37 +090087 select SAMSUNG_WDT_RESET
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090088
Kukjin Kim84c028b2012-02-06 13:21:03 +090089config CPU_S3C2443
90 bool "SAMSUNG S3C2443"
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090091 select COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +090092 select CPU_ARM920T
93 select CPU_LLSERIAL_S3C2440
Heiko Stuebnerdfc0f502014-02-19 09:26:21 +090094 select S3C2443_COMMON_CLK
Kukjin Kim84c028b2012-02-06 13:21:03 +090095 select S3C2443_DMA if S3C24XX_DMA
96 help
97 Support for the S3C2443 SoC from the S3C24XX line
98
Heiko Stuebner28c569f2012-03-07 01:47:01 -080099# common code
100
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800101config S3C2410_CLOCK
102 bool
103 help
104 Clock code for the S3C2410, and similar processors which
105 is currently includes the S3C2410, S3C2440, S3C2442.
106
107config S3C24XX_DCLK
108 bool
109 help
110 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
111
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800112config S3C24XX_SMDK
113 bool
114 help
115 Common machine code for SMDK2410 and SMDK2440
116
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800117config S3C24XX_SIMTEC_AUDIO
118 bool
119 depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
120 default y
121 help
122 Add audio devices for common Simtec S3C24XX boards
123
124config S3C24XX_SIMTEC_PM
125 bool
126 help
127 Common power management code for systems that are
128 compatible with the Simtec style of power management
129
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800130config S3C24XX_SIMTEC_USB
131 bool
132 help
133 USB management code for common Simtec S3C24XX boards
134
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800135config S3C24XX_SETUP_TS
136 bool
137 help
138 Compile in platform device definition for Samsung TouchScreen.
139
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800140config S3C24XX_DMA
141 bool "S3C2410 DMA support"
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800142 select S3C_DMA
143 help
144 S3C2410 DMA support. This is needed for drivers like sound which
145 use the S3C2410's DMA system to move data to and from the
146 peripheral blocks.
147
148config S3C2410_DMA_DEBUG
149 bool "S3C2410 DMA support debug"
Alexander Shiyan1c137862013-04-04 10:03:53 +0900150 depends on S3C2410_DMA
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800151 help
152 Enable debugging output for the DMA code. This option sends info
153 to the kernel log, at priority KERN_DEBUG.
154
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900155config S3C2410_DMA
156 bool
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900157 depends on S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442)
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900158 help
159 DMA device selection for S3C2410 and compatible CPUs
160
161config S3C2410_PM
162 bool
163 help
164 Power Management code common to S3C2410 and better
165
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800166# low-level serial option nodes
167
168config CPU_LLSERIAL_S3C2410_ONLY
169 bool
170 default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
171
172config CPU_LLSERIAL_S3C2440_ONLY
173 bool
174 default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
175
176config CPU_LLSERIAL_S3C2410
177 bool
178 help
179 Selected if there is an S3C2410 (or register compatible) serial
180 low-level implementation needed
181
182config CPU_LLSERIAL_S3C2440
183 bool
184 help
185 Selected if there is an S3C2440 (or register compatible) serial
186 low-level implementation needed
187
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000188config S3C24XX_PLL
189 bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
Paul Bolle37155342013-07-14 14:02:19 +0200190 depends on ARM_S3C24XX_CPUFREQ
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000191 help
192 Compile in support for changing the PLL frequency from the
193 S3C24XX series CPUfreq driver. The PLL takes time to settle
194 after a frequency change, so by default it is not enabled.
195
196 This also means that the PLL tables for the selected CPU(s) will
197 be built which may increase the size of the kernel image.
198
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800199# cpu frequency items common between s3c2410 and s3c2440/s3c2442
200
201config S3C2410_IOTIMING
202 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000203 depends on ARM_S3C24XX_CPUFREQ
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800204 help
205 Internal node to select io timing code that is common to the s3c2410
206 and s3c2440/s3c2442 cpu frequency support.
207
208config S3C2410_CPUFREQ_UTILS
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000209 bool
210 depends on ARM_S3C24XX_CPUFREQ
211 help
212 Internal node to select timing code that is common to the s3c2410
213 and s3c2440/s3c244 cpu frequency support.
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800214
215# cpu frequency support common to s3c2412, s3c2413 and s3c2442
216
217config S3C2412_IOTIMING
218 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000219 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
Kukjin Kim09ec1d72013-01-31 16:54:38 -0800220 help
221 Intel node to select io timing code that is common to the s3c2412
222 and the s3c2443.
223
Kukjin Kim7518dde2012-04-21 07:55:33 -0700224# cpu-specific sections
225
226if CPU_S3C2410
227
Kukjin Kim82c18712013-01-21 15:16:35 -0800228config S3C2410_PLL
229 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000230 depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
Kukjin Kim82c18712013-01-21 15:16:35 -0800231 default y
232 help
233 Select the PLL table for the S3C2410
234
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800235config S3C24XX_SIMTEC_NOR
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900236 bool
237 help
238 Internal node to specify machine has simtec NOR mapping
239
240config MACH_BAST_IDE
241 bool
242 select HAVE_PATA_PLATFORM
243 help
244 Internal node for machines with an BAST style IDE
245 interface
246
247comment "S3C2410 Boards"
248
249#
250# The "S3C2410 Boards" list is ordered alphabetically by option text.
251# (without ARCH_ or MACH_)
252#
253
254config MACH_AML_M5900
255 bool "AML M5900 Series"
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800256 select S3C24XX_SIMTEC_PM if PM
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900257 select S3C_DEV_USB_HOST
258 help
259 Say Y here if you are using the American Microsystems M5900 Series
260 <http://www.amltd.com>
261
262config ARCH_BAST
263 bool "Simtec Electronics BAST (EB2410ITX)"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900264 select ISA
Russell Kingb1b3f492012-10-06 17:12:25 +0100265 select MACH_BAST_IDE
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000266 select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100267 select S3C24XX_DCLK
268 select S3C24XX_SIMTEC_NOR
269 select S3C24XX_SIMTEC_PM if PM
270 select S3C24XX_SIMTEC_USB
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900271 select S3C_DEV_HWMON
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900272 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100273 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900274 help
275 Say Y here if you are using the Simtec Electronics EB2410ITX
276 development board (also known as BAST)
277
278config BAST_PC104_IRQ
279 bool "BAST PC104 IRQ support"
280 depends on ARCH_BAST
281 default y
282 help
283 Say Y here to enable the PC104 IRQ routing on the
284 Simtec BAST (EB2410ITX)
285
286config ARCH_H1940
287 bool "IPAQ H1940"
288 select PM_H1940 if PM
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800289 select S3C24XX_SETUP_TS
Russell Kingb1b3f492012-10-06 17:12:25 +0100290 select S3C_DEV_NAND
291 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900292 help
293 Say Y here if you are using the HP IPAQ H1940
294
295config H1940BT
296 tristate "Control the state of H1940 bluetooth chip"
297 depends on ARCH_H1940
298 select RFKILL
299 help
300 This is a simple driver that is able to control
301 the state of built in bluetooth chip on h1940.
302
303config PM_H1940
304 bool
305 help
306 Internal node for H1940 and related PM
307
308config MACH_N30
309 bool "Acer N30 family"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900310 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100311 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900312 help
313 Say Y here if you want suppt for the Acer N30, Acer N35,
314 Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
315
316config MACH_OTOM
317 bool "NexVision OTOM Board"
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 are using the Nex Vision OTOM board
322
323config MACH_QT2410
324 bool "QT2410"
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900325 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100326 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900327 help
328 Say Y here if you are using the Armzone QT2410
329
330config ARCH_SMDK2410
331 bool "SMDK2410/A9M2410"
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800332 select S3C24XX_SMDK
Alexander Shiyan1a4c2a12013-02-08 13:41:36 -0800333 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900334 help
335 Say Y here if you are using the SMDK2410 or the derived module A9M2410
336 <http://www.fsforth.de>
337
338config MACH_TCT_HAMMER
339 bool "TCT Hammer Board"
340 select S3C_DEV_USB_HOST
341 help
342 Say Y here if you are using the TinCanTools Hammer Board
343 <http://www.tincantools.com>
344
345config MACH_VR1000
346 bool "Thorcom VR1000"
Russell Kingb1b3f492012-10-06 17:12:25 +0100347 select MACH_BAST_IDE
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900348 select S3C24XX_DCLK
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800349 select S3C24XX_SIMTEC_NOR
Russell Kingb1b3f492012-10-06 17:12:25 +0100350 select S3C24XX_SIMTEC_PM if PM
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800351 select S3C24XX_SIMTEC_USB
Russell Kingb1b3f492012-10-06 17:12:25 +0100352 select S3C_DEV_USB_HOST
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900353 help
354 Say Y here if you are using the Thorcom VR1000 board.
355
356endif # CPU_S3C2410
357
Kukjin Kim85e2a262012-02-06 10:02:01 +0900358config S3C2412_PM_SLEEP
359 bool
360 help
361 Internal config node to apply sleep for S3C2412 power management.
362 Can be selected by another SoCs such as S3C2416 with similar
363 sleep procedure.
364
365if CPU_S3C2412
366
Heiko Stuebner3c27f312014-02-25 09:50:44 +0900367config S3C2412_COMMON_CLK
368 bool
369 help
370 Build the s3c2412 clock driver based on the common clock framework.
371
Kukjin Kim85e2a262012-02-06 10:02:01 +0900372config CPU_S3C2412_ONLY
373 bool
Alexander Shiyan1c137862013-04-04 10:03:53 +0900374 depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
Alexander Shiyana4e4d222013-04-04 10:04:00 +0900375 !CPU_S3C2442 && !CPU_S3C2443
Kukjin Kim85e2a262012-02-06 10:02:01 +0900376 default y
377
378config S3C2412_DMA
379 bool
380 help
381 Internal config node for S3C2412 DMA support
382
383config S3C2412_PM
384 bool
Heiko Stuebner7eae3542013-02-08 11:13:15 -0800385 select S3C2412_PM_SLEEP
Heiko Stuebner59295702013-02-12 10:09:10 -0800386 select SAMSUNG_WAKEMASK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900387 help
388 Internal config node to apply S3C2412 power management
389
390comment "S3C2412 Boards"
391
392#
393# The "S3C2412 Boards" list is ordered alphabetically by option text.
394# (without ARCH_ or MACH_)
395#
396
397config MACH_JIVE
398 bool "Logitech Jive"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900399 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100400 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900401 help
402 Say Y here if you are using the Logitech Jive.
403
404config MACH_JIVE_SHOW_BOOTLOADER
Kees Cook5ec9b062013-01-16 18:53:15 -0800405 bool "Allow access to bootloader partitions in MTD"
406 depends on MACH_JIVE
Kukjin Kim85e2a262012-02-06 10:02:01 +0900407
408config MACH_S3C2413
409 bool
410 help
411 Internal node for S3C2413 version of SMDK2413, so that
412 machine_is_s3c2413() will work when MACH_SMDK2413 is
413 selected
414
415config MACH_SMDK2412
416 bool "SMDK2412"
417 select MACH_SMDK2413
418 help
419 Say Y here if you are using an SMDK2412
420
421 Note, this shares support with SMDK2413, so will automatically
422 select MACH_SMDK2413.
423
424config MACH_SMDK2413
425 bool "SMDK2413"
426 select MACH_S3C2413
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800427 select S3C24XX_SMDK
Kukjin Kim85e2a262012-02-06 10:02:01 +0900428 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100429 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900430 help
431 Say Y here if you are using an SMDK2413
432
433config MACH_VSTMS
434 bool "VMSTMS"
Kukjin Kim85e2a262012-02-06 10:02:01 +0900435 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100436 select S3C_DEV_USB_HOST
Kukjin Kim85e2a262012-02-06 10:02:01 +0900437 help
438 Say Y here if you are using an VSTMS board
439
440endif # CPU_S3C2412
441
Kukjin Kim26febf82012-02-06 10:59:47 +0900442if CPU_S3C2416
443
444config S3C2416_PM
445 bool
446 select S3C2412_PM_SLEEP
447 help
448 Internal config node to apply S3C2416 power management
449
450config S3C2416_SETUP_SDHCI
451 bool
452 select S3C2416_SETUP_SDHCI_GPIO
453 help
454 Internal helper functions for S3C2416 based SDHCI systems
455
456config S3C2416_SETUP_SDHCI_GPIO
457 bool
458 help
459 Common setup code for SDHCI gpio.
460
461comment "S3C2416 Boards"
462
463config MACH_SMDK2416
464 bool "SMDK2416"
Russell Kingb1b3f492012-10-06 17:12:25 +0100465 select S3C2416_SETUP_SDHCI
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800466 select S3C24XX_SMDK
Kukjin Kim26febf82012-02-06 10:59:47 +0900467 select S3C_DEV_FB
468 select S3C_DEV_HSMMC
469 select S3C_DEV_HSMMC1
470 select S3C_DEV_NAND
471 select S3C_DEV_USB_HOST
Kukjin Kim26febf82012-02-06 10:59:47 +0900472 help
473 Say Y here if you are using an SMDK2416
474
Heiko Stuebner35aca362013-05-21 01:06:04 +0900475config MACH_S3C2416_DT
476 bool "Samsung S3C2416 machine using devicetree"
477 select CLKSRC_OF
478 select USE_OF
479 select PINCTRL
480 select PINCTRL_S3C24XX
481 help
482 Machine support for Samsung S3C2416 machines with device tree enabled.
483 Select this if a fdt blob is available for the S3C2416 SoC based board.
484 Note: This is under development and not all peripherals can be supported
485 with this machine file.
486
Kukjin Kim26febf82012-02-06 10:59:47 +0900487endif # CPU_S3C2416
488
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900489if CPU_S3C2440
490
491config S3C2440_DMA
492 bool
493 help
494 Support for S3C2440 specific DMA code5A
495
Kukjin Kimacf2d412013-01-21 15:39:09 -0800496config S3C2440_XTAL_12000000
497 bool
498 help
499 Indicate that the build needs to support 12MHz system
500 crystal.
501
502config S3C2440_XTAL_16934400
503 bool
504 help
505 Indicate that the build needs to support 16.9344MHz system
506 crystal.
507
508config S3C2440_PLL_12000000
509 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000510 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
511 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800512 help
513 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
514
515config S3C2440_PLL_16934400
516 bool
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000517 depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
518 default y if S3C24XX_PLL
Kukjin Kimacf2d412013-01-21 15:39:09 -0800519 help
520 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
521
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900522comment "S3C2440 Boards"
523
524#
525# The "S3C2440 Boards" list is ordered alphabetically by option text.
526# (without ARCH_ or MACH_)
527#
528
529config MACH_ANUBIS
530 bool "Simtec Electronics ANUBIS"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900531 select HAVE_PATA_PLATFORM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900532 select S3C2440_XTAL_12000000
Russell Kingb1b3f492012-10-06 17:12:25 +0100533 select S3C24XX_DCLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100534 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900535 select S3C_DEV_USB_HOST
536 help
537 Say Y here if you are using the Simtec Electronics ANUBIS
538 development system
539
540config MACH_AT2440EVB
541 bool "Avantech AT2440EVB development board"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900542 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100543 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900544 help
545 Say Y here if you are using the AT2440EVB development board
546
547config MACH_MINI2440
548 bool "MINI2440 development board"
Arnd Bergmann37373f12014-02-12 21:22:13 +0100549 select EEPROM_AT24 if I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900550 select LEDS_CLASS
Alexander Shiyan678a0992012-11-25 18:53:40 +0400551 select LEDS_TRIGGERS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900552 select LEDS_TRIGGER_BACKLIGHT
Russell Kingb1b3f492012-10-06 17:12:25 +0100553 select NEW_LEDS
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900554 select S3C_DEV_NAND
555 select S3C_DEV_USB_HOST
Sylwester Nawrockie51d5482012-11-22 14:29:18 +0900556 select S3C_SETUP_CAMIF
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900557 help
558 Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
559 available via various sources. It can come with a 3.5" or 7" touch LCD.
560
561config MACH_NEXCODER_2440
562 bool "NexVision NEXCODER 2440 Light Board"
563 select S3C2440_XTAL_12000000
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900564 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100565 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900566 help
567 Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
568
569config MACH_OSIRIS
570 bool "Simtec IM2440D20 (OSIRIS) module"
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000571 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100572 select S3C2440_XTAL_12000000
573 select S3C24XX_DCLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100574 select S3C24XX_SIMTEC_PM if PM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900575 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100576 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900577 help
578 Say Y here if you are using the Simtec IM2440D20 module, also
579 known as the Osiris.
580
581config MACH_OSIRIS_DVS
582 tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
583 depends on MACH_OSIRIS
Arnd Bergmannf88309c2014-03-21 13:49:04 +0100584 depends on TPS65010
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900585 help
586 Say Y/M here if you want to have dynamic voltage scaling support
587 on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
588
589 The DVS driver alters the voltage supplied to the ARM core
590 depending on the frequency it is running at. The driver itself
591 does not do any of the frequency alteration, which is left up
592 to the cpufreq driver.
593
594config MACH_RX3715
595 bool "HP iPAQ rx3715"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900596 select PM_H1940 if PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100597 select S3C2440_XTAL_16934400
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900598 select S3C_DEV_NAND
599 help
600 Say Y here if you are using the HP iPAQ rx3715.
601
602config ARCH_S3C2440
603 bool "SMDK2440"
604 select S3C2440_XTAL_16934400
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800605 select S3C24XX_SMDK
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900606 select S3C_DEV_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100607 select S3C_DEV_USB_HOST
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900608 help
609 Say Y here if you are using the SMDK2440.
610
611config SMDK2440_CPU2440
612 bool "SMDK2440 with S3C2440 CPU module"
613 default y if ARCH_S3C2440
614 select S3C2440_XTAL_16934400
615
616endif # CPU_S3C2440
617
618if CPU_S3C2442
619
620comment "S3C2442 Boards"
621
622#
623# The "S3C2442 Boards" list is ordered alphabetically by option text.
624# (without ARCH_ or MACH_)
625#
626
627config MACH_NEO1973_GTA02
628 bool "Openmoko GTA02 / Freerunner phone"
Russell Kingb1b3f492012-10-06 17:12:25 +0100629 select I2C
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900630 select MFD_PCF50633
631 select PCF50633_GPIO
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900632 select POWER_SUPPLY
Arnd Bergmann35e79062012-08-04 07:52:19 +0000633 select S3C24XX_PWM
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900634 select S3C_DEV_USB_HOST
635 help
636 Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
637
638config MACH_RX1950
639 bool "HP iPAQ rx1950"
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900640 select I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100641 select PM_H1940 if PM
Viresh Kumarf023f8d2013-04-04 12:54:15 +0000642 select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900643 select S3C2440_XTAL_16934400
Russell Kingb1b3f492012-10-06 17:12:25 +0100644 select S3C24XX_DCLK
645 select S3C24XX_PWM
646 select S3C_DEV_NAND
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900647 help
648 Say Y here if you're using HP iPAQ rx1950
649
Paul Bollebd338d02013-03-22 19:03:55 +0900650endif # CPU_S3C2442
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900651
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +0900652if CPU_S3C2443 || CPU_S3C2416
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