blob: 5e0a45605a22cf275d0ea46a561bf9e7605a8ba7 [file] [log] [blame]
Kukjin Kim83014572011-11-06 13:54:56 +09001# arch/arm/mach-exynos/Kconfig
Kukjin Kim10606aa2011-02-14 15:05:27 +09002#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8# Configuration options for the EXYNOS4
9
Kukjin Kim83014572011-11-06 13:54:56 +090010if ARCH_EXYNOS
11
12menu "SAMSUNG EXYNOS SoCs Support"
13
14choice
15 prompt "EXYNOS System Type"
16 default ARCH_EXYNOS4
17
18config ARCH_EXYNOS4
19 bool "SAMSUNG EXYNOS4"
Dave Martin3b556582011-12-07 15:38:04 +000020 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000021 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090022 help
23 Samsung EXYNOS4 SoCs based systems
24
25endchoice
26
27comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090028
29config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090030 bool "SAMSUNG EXYNOS4210"
31 default y
32 depends on ARCH_EXYNOS4
Boojin Kimbf856fb2011-09-02 09:44:36 +090033 select SAMSUNG_DMADEV
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020034 select ARM_CPU_SUSPEND if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090035 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090036 select S5P_SLEEP if PM
Kukjin Kim10606aa2011-02-14 15:05:27 +090037 help
38 Enable EXYNOS4210 CPU support
39
Kukjin Kim68465382011-08-24 17:25:09 +090040config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090041 bool "SAMSUNG EXYNOS4212"
42 default y
43 depends on ARCH_EXYNOS4
Boojin Kimefd99602012-02-15 13:16:15 +090044 select SAMSUNG_DMADEV
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090045 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090046 select S5P_SLEEP if PM
Kukjin Kim68465382011-08-24 17:25:09 +090047 help
48 Enable EXYNOS4212 SoC support
49
Changhwan Youne6a275a2011-10-04 17:08:56 +090050config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090051 bool "SAMSUNG EXYNOS4412"
52 default y
53 depends on ARCH_EXYNOS4
Boojin Kimefd99602012-02-15 13:16:15 +090054 select SAMSUNG_DMADEV
Changhwan Youne6a275a2011-10-04 17:08:56 +090055 help
56 Enable EXYNOS4412 SoC support
57
Changhwan Youn30d8bea2011-03-11 10:39:57 +090058config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090059 bool
60 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090061 help
62 Use MCT (Multi Core Timer) as kernel timers
63
Thomas Abrahamfca3de62011-10-24 13:57:43 +020064config EXYNOS4_DEV_DMA
65 bool
66 help
67 Compile in amba device definitions for DMA controller
68
Kukjin Kim94fc1d82011-03-25 10:46:16 +090069config EXYNOS4_DEV_AHCI
70 bool
71 help
72 Compile in platform device definitions for AHCI
73
Jonghun Hane61b1702011-07-21 15:46:26 +090074config EXYNOS4_SETUP_FIMD0
75 bool
76 help
77 Common setup code for FIMD0.
78
Kukjin Kim10606aa2011-02-14 15:05:27 +090079config EXYNOS4_DEV_PD
80 bool
81 help
82 Compile in platform device definitions for Power Domain
83
84config EXYNOS4_DEV_SYSMMU
85 bool
86 help
87 Common setup code for SYSTEM MMU in EXYNOS4
88
Seungwon Jeond7919582011-07-21 00:34:58 +090089config EXYNOS4_DEV_DWMCI
90 bool
91 help
92 Compile in platform device definitions for DWMCI
93
Jingoo Han6e7eb172011-12-23 11:19:36 +090094config EXYNOS4_DEV_USB_OHCI
95 bool
96 help
97 Compile in platform device definition for USB OHCI
98
Kukjin Kim10606aa2011-02-14 15:05:27 +090099config EXYNOS4_SETUP_I2C1
100 bool
101 help
102 Common setup code for i2c bus 1.
103
104config EXYNOS4_SETUP_I2C2
105 bool
106 help
107 Common setup code for i2c bus 2.
108
109config EXYNOS4_SETUP_I2C3
110 bool
111 help
112 Common setup code for i2c bus 3.
113
114config EXYNOS4_SETUP_I2C4
115 bool
116 help
117 Common setup code for i2c bus 4.
118
119config EXYNOS4_SETUP_I2C5
120 bool
121 help
122 Common setup code for i2c bus 5.
123
124config EXYNOS4_SETUP_I2C6
125 bool
126 help
127 Common setup code for i2c bus 6.
128
129config EXYNOS4_SETUP_I2C7
130 bool
131 help
132 Common setup code for i2c bus 7.
133
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +0900134config EXYNOS4_SETUP_KEYPAD
135 bool
136 help
137 Common setup code for keypad.
138
Kukjin Kim10606aa2011-02-14 15:05:27 +0900139config EXYNOS4_SETUP_SDHCI
140 bool
141 select EXYNOS4_SETUP_SDHCI_GPIO
142 help
143 Internal helper functions for EXYNOS4 based SDHCI systems.
144
145config EXYNOS4_SETUP_SDHCI_GPIO
146 bool
147 help
148 Common setup code for SDHCI gpio.
149
Sylwester Nawrocki0048a172011-03-10 21:49:31 +0900150config EXYNOS4_SETUP_FIMC
151 bool
152 help
153 Common setup code for the camera interfaces.
154
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530155config EXYNOS4_SETUP_USB_PHY
156 bool
157 help
158 Common setup code for USB PHY controller
159
Padmavathi Venna74ac23a2011-12-26 16:42:15 +0900160config EXYNOS4_SETUP_SPI
161 bool
162 help
163 Common setup code for SPI GPIO configurations.
164
Kukjin Kim10606aa2011-02-14 15:05:27 +0900165# machine support
166
Kukjin Kim83014572011-11-06 13:54:56 +0900167if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900168
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900169comment "EXYNOS4210 Boards"
170
Kukjin Kim10606aa2011-02-14 15:05:27 +0900171config MACH_SMDKC210
172 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900173 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900174 help
175 Machine support for Samsung SMDKC210
176
177config MACH_SMDKV310
178 bool "SMDKV310"
179 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900180 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900181 select S3C_DEV_RTC
182 select S3C_DEV_WDT
183 select S3C_DEV_I2C1
Sachin Kamat568f0e22011-09-28 11:13:30 +0900184 select S5P_DEV_FIMC0
185 select S5P_DEV_FIMC1
186 select S5P_DEV_FIMC2
187 select S5P_DEV_FIMC3
Hatim Alic0735c82011-09-27 07:37:18 +0900188 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900189 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900190 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900191 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900192 select S3C_DEV_HSMMC
193 select S3C_DEV_HSMMC1
194 select S3C_DEV_HSMMC2
195 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900196 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900197 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900198 select SAMSUNG_DEV_KEYPAD
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200199 select EXYNOS4_DEV_DMA
Kukjin Kim10606aa2011-02-14 15:05:27 +0900200 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900201 select SAMSUNG_DEV_PWM
Jingoo Han744f20f2011-12-23 11:20:50 +0900202 select EXYNOS4_DEV_USB_OHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900203 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900204 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900205 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900206 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900207 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900208 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900209 help
210 Machine support for Samsung SMDKV310
211
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900212config MACH_ARMLEX4210
213 bool "ARMLEX4210"
214 select CPU_EXYNOS4210
215 select S3C_DEV_RTC
216 select S3C_DEV_WDT
217 select S3C_DEV_HSMMC
218 select S3C_DEV_HSMMC2
219 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900220 select EXYNOS4_DEV_AHCI
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200221 select EXYNOS4_DEV_DMA
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900222 select EXYNOS4_DEV_SYSMMU
223 select EXYNOS4_SETUP_SDHCI
224 help
225 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
226
Kukjin Kim10606aa2011-02-14 15:05:27 +0900227config MACH_UNIVERSAL_C210
228 bool "Mobile UNIVERSAL_C210 Board"
229 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900230 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900231 select S5P_DEV_FIMC0
232 select S5P_DEV_FIMC1
233 select S5P_DEV_FIMC2
234 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900235 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900236 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900237 select S3C_DEV_HSMMC
238 select S3C_DEV_HSMMC2
239 select S3C_DEV_HSMMC3
240 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900241 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900242 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900243 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900244 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900245 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900246 select S5P_DEV_TV
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200247 select EXYNOS4_DEV_DMA
Kamil Debskib14f04d2011-07-21 16:43:20 +0900248 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900249 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900250 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900251 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900252 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900253 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900254 select EXYNOS4_SETUP_FIMC
255 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900256 help
257 Machine support for Samsung Mobile Universal S5PC210 Reference
258 Board.
259
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900260config MACH_NURI
261 bool "Mobile NURI Board"
262 select CPU_EXYNOS4210
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900263 select S5P_GPIO_INT
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900264 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900265 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900266 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900267 select S3C_DEV_HSMMC
268 select S3C_DEV_HSMMC2
269 select S3C_DEV_HSMMC3
270 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900271 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900272 select S3C_DEV_I2C5
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900273 select S5P_DEV_CSIS0
274 select S5P_DEV_FIMC0
275 select S5P_DEV_FIMC1
276 select S5P_DEV_FIMC2
277 select S5P_DEV_FIMC3
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900278 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900279 select S5P_DEV_USB_EHCI
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900280 select S5P_SETUP_MIPIPHY
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200281 select EXYNOS4_DEV_DMA
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900282 select EXYNOS4_DEV_PD
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900283 select EXYNOS4_SETUP_FIMC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900284 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900285 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900286 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900287 select EXYNOS4_SETUP_I2C5
288 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530289 select EXYNOS4_SETUP_USB_PHY
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900290 select S5P_SETUP_MIPIPHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900291 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900292 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900293 help
294 Machine support for Samsung Mobile NURI Board.
295
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900296config MACH_ORIGEN
297 bool "ORIGEN"
298 select CPU_EXYNOS4210
299 select S3C_DEV_RTC
300 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900301 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900302 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900303 select S5P_DEV_FIMC0
304 select S5P_DEV_FIMC1
305 select S5P_DEV_FIMC2
306 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900307 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900308 select S5P_DEV_I2C_HDMIPHY
Sachin Kamatdf74a282011-10-13 15:38:21 +0900309 select S5P_DEV_MFC
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900310 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900311 select S5P_DEV_USB_EHCI
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900312 select SAMSUNG_DEV_BACKLIGHT
313 select SAMSUNG_DEV_PWM
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200314 select EXYNOS4_DEV_DMA
Sachin Kamatdf74a282011-10-13 15:38:21 +0900315 select EXYNOS4_DEV_PD
Tushar Behera95de77d2011-12-24 12:09:06 +0900316 select EXYNOS4_DEV_USB_OHCI
Tushar Behera9421a762011-10-03 09:12:56 +0900317 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900318 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900319 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900320 help
321 Machine support for ORIGEN based on Samsung EXYNOS4210
322
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900323comment "EXYNOS4212 Boards"
324
325config MACH_SMDK4212
326 bool "SMDK4212"
327 select SOC_EXYNOS4212
328 select S3C_DEV_HSMMC2
329 select S3C_DEV_HSMMC3
330 select S3C_DEV_I2C1
331 select S3C_DEV_I2C3
332 select S3C_DEV_I2C7
333 select S3C_DEV_RTC
334 select S3C_DEV_WDT
335 select SAMSUNG_DEV_BACKLIGHT
336 select SAMSUNG_DEV_KEYPAD
337 select SAMSUNG_DEV_PWM
Boojin Kimefd99602012-02-15 13:16:15 +0900338 select EXYNOS4_DEV_DMA
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900339 select EXYNOS4_SETUP_I2C1
340 select EXYNOS4_SETUP_I2C3
341 select EXYNOS4_SETUP_I2C7
342 select EXYNOS4_SETUP_KEYPAD
343 select EXYNOS4_SETUP_SDHCI
344 help
345 Machine support for Samsung SMDK4212
346
Changhwan Youn31451af2011-10-04 17:09:26 +0900347comment "EXYNOS4412 Boards"
348
349config MACH_SMDK4412
350 bool "SMDK4412"
351 select SOC_EXYNOS4412
352 select MACH_SMDK4212
353 help
354 Machine support for Samsung SMDK4412
Kukjin Kim83014572011-11-06 13:54:56 +0900355endif
Changhwan Youn31451af2011-10-04 17:09:26 +0900356
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530357comment "Flattened Device Tree based board for Exynos4 based SoC"
358
359config MACH_EXYNOS4_DT
360 bool "Samsung Exynos4 Machine using device tree"
361 select CPU_EXYNOS4210
362 select USE_OF
363 select ARM_AMBA
364 select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
365 help
366 Machine support for Samsung Exynos4 machine with device tree enabled.
367 Select this if a fdt blob is available for the Exynos4 SoC based board.
368 Note: This is under development and not all peripherals can be supported
369 with this machine file.
370
Kukjin Kim83014572011-11-06 13:54:56 +0900371if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900372
Kukjin Kim83014572011-11-06 13:54:56 +0900373comment "Configuration for HSMMC 8-bit bus width"
Kukjin Kim10606aa2011-02-14 15:05:27 +0900374
375config EXYNOS4_SDHCI_CH0_8BIT
376 bool "Channel 0 with 8-bit bus"
377 help
378 Support HSMMC Channel 0 8-bit bus.
379 If selected, Channel 1 is disabled.
380
381config EXYNOS4_SDHCI_CH2_8BIT
382 bool "Channel 2 with 8-bit bus"
383 help
384 Support HSMMC Channel 2 8-bit bus.
385 If selected, Channel 3 is disabled.
Kukjin Kim83014572011-11-06 13:54:56 +0900386endif
Kukjin Kim10606aa2011-02-14 15:05:27 +0900387
388endmenu
389
390endif