blob: e1efbca2a539bc82a859fbf463f3d238d88fa315 [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
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090044 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090045 select S5P_SLEEP if PM
Kukjin Kim68465382011-08-24 17:25:09 +090046 help
47 Enable EXYNOS4212 SoC support
48
Changhwan Youne6a275a2011-10-04 17:08:56 +090049config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090050 bool "SAMSUNG EXYNOS4412"
51 default y
52 depends on ARCH_EXYNOS4
Changhwan Youne6a275a2011-10-04 17:08:56 +090053 help
54 Enable EXYNOS4412 SoC support
55
Changhwan Youn30d8bea2011-03-11 10:39:57 +090056config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090057 bool
58 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090059 help
60 Use MCT (Multi Core Timer) as kernel timers
61
Kukjin Kim94fc1d82011-03-25 10:46:16 +090062config EXYNOS4_DEV_AHCI
63 bool
64 help
65 Compile in platform device definitions for AHCI
66
Jonghun Hane61b1702011-07-21 15:46:26 +090067config EXYNOS4_SETUP_FIMD0
68 bool
69 help
70 Common setup code for FIMD0.
71
Kukjin Kim10606aa2011-02-14 15:05:27 +090072config EXYNOS4_DEV_PD
73 bool
74 help
75 Compile in platform device definitions for Power Domain
76
77config EXYNOS4_DEV_SYSMMU
78 bool
79 help
80 Common setup code for SYSTEM MMU in EXYNOS4
81
Seungwon Jeond7919582011-07-21 00:34:58 +090082config EXYNOS4_DEV_DWMCI
83 bool
84 help
85 Compile in platform device definitions for DWMCI
86
Kukjin Kim10606aa2011-02-14 15:05:27 +090087config EXYNOS4_SETUP_I2C1
88 bool
89 help
90 Common setup code for i2c bus 1.
91
92config EXYNOS4_SETUP_I2C2
93 bool
94 help
95 Common setup code for i2c bus 2.
96
97config EXYNOS4_SETUP_I2C3
98 bool
99 help
100 Common setup code for i2c bus 3.
101
102config EXYNOS4_SETUP_I2C4
103 bool
104 help
105 Common setup code for i2c bus 4.
106
107config EXYNOS4_SETUP_I2C5
108 bool
109 help
110 Common setup code for i2c bus 5.
111
112config EXYNOS4_SETUP_I2C6
113 bool
114 help
115 Common setup code for i2c bus 6.
116
117config EXYNOS4_SETUP_I2C7
118 bool
119 help
120 Common setup code for i2c bus 7.
121
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +0900122config EXYNOS4_SETUP_KEYPAD
123 bool
124 help
125 Common setup code for keypad.
126
Kukjin Kim10606aa2011-02-14 15:05:27 +0900127config EXYNOS4_SETUP_SDHCI
128 bool
129 select EXYNOS4_SETUP_SDHCI_GPIO
130 help
131 Internal helper functions for EXYNOS4 based SDHCI systems.
132
133config EXYNOS4_SETUP_SDHCI_GPIO
134 bool
135 help
136 Common setup code for SDHCI gpio.
137
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900138config EXYNOS4_SETUP_FIMC
139 bool
140 help
141 Common setup code for the camera interfaces.
142
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530143config EXYNOS4_SETUP_USB_PHY
144 bool
145 help
146 Common setup code for USB PHY controller
147
Kukjin Kim10606aa2011-02-14 15:05:27 +0900148# machine support
149
Kukjin Kim83014572011-11-06 13:54:56 +0900150if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900151
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900152comment "EXYNOS4210 Boards"
153
Kukjin Kim10606aa2011-02-14 15:05:27 +0900154config MACH_SMDKC210
155 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900156 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900157 help
158 Machine support for Samsung SMDKC210
159
160config MACH_SMDKV310
161 bool "SMDKV310"
162 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900163 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900164 select S3C_DEV_RTC
165 select S3C_DEV_WDT
166 select S3C_DEV_I2C1
Sachin Kamat568f0e22011-09-28 11:13:30 +0900167 select S5P_DEV_FIMC0
168 select S5P_DEV_FIMC1
169 select S5P_DEV_FIMC2
170 select S5P_DEV_FIMC3
Hatim Alic0735c82011-09-27 07:37:18 +0900171 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900172 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900173 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900174 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900175 select S3C_DEV_HSMMC
176 select S3C_DEV_HSMMC1
177 select S3C_DEV_HSMMC2
178 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900179 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900180 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900181 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900182 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900183 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900184 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900185 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900186 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900187 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900188 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900189 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900190 help
191 Machine support for Samsung SMDKV310
192
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900193config MACH_ARMLEX4210
194 bool "ARMLEX4210"
195 select CPU_EXYNOS4210
196 select S3C_DEV_RTC
197 select S3C_DEV_WDT
198 select S3C_DEV_HSMMC
199 select S3C_DEV_HSMMC2
200 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900201 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900202 select EXYNOS4_DEV_SYSMMU
203 select EXYNOS4_SETUP_SDHCI
204 help
205 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
206
Kukjin Kim10606aa2011-02-14 15:05:27 +0900207config MACH_UNIVERSAL_C210
208 bool "Mobile UNIVERSAL_C210 Board"
209 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900210 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900211 select S5P_DEV_FIMC0
212 select S5P_DEV_FIMC1
213 select S5P_DEV_FIMC2
214 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900215 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900216 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900217 select S3C_DEV_HSMMC
218 select S3C_DEV_HSMMC2
219 select S3C_DEV_HSMMC3
220 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900221 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900222 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900223 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900224 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900225 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900226 select S5P_DEV_TV
Kamil Debskib14f04d2011-07-21 16:43:20 +0900227 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900228 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900229 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900230 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900231 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900232 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900233 select EXYNOS4_SETUP_FIMC
234 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900235 help
236 Machine support for Samsung Mobile Universal S5PC210 Reference
237 Board.
238
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900239config MACH_NURI
240 bool "Mobile NURI Board"
241 select CPU_EXYNOS4210
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900242 select S5P_GPIO_INT
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900243 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900244 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900245 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900246 select S3C_DEV_HSMMC
247 select S3C_DEV_HSMMC2
248 select S3C_DEV_HSMMC3
249 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900250 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900251 select S3C_DEV_I2C5
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900252 select S5P_DEV_CSIS0
253 select S5P_DEV_FIMC0
254 select S5P_DEV_FIMC1
255 select S5P_DEV_FIMC2
256 select S5P_DEV_FIMC3
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900257 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900258 select S5P_DEV_USB_EHCI
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900259 select S5P_SETUP_MIPIPHY
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900260 select EXYNOS4_DEV_PD
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900261 select EXYNOS4_SETUP_FIMC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900262 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900263 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900264 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900265 select EXYNOS4_SETUP_I2C5
266 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530267 select EXYNOS4_SETUP_USB_PHY
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900268 select S5P_SETUP_MIPIPHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900269 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900270 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900271 help
272 Machine support for Samsung Mobile NURI Board.
273
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900274config MACH_ORIGEN
275 bool "ORIGEN"
276 select CPU_EXYNOS4210
277 select S3C_DEV_RTC
278 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900279 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900280 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900281 select S5P_DEV_FIMC0
282 select S5P_DEV_FIMC1
283 select S5P_DEV_FIMC2
284 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900285 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900286 select S5P_DEV_I2C_HDMIPHY
Sachin Kamatdf74a282011-10-13 15:38:21 +0900287 select S5P_DEV_MFC
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900288 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900289 select S5P_DEV_USB_EHCI
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900290 select SAMSUNG_DEV_BACKLIGHT
291 select SAMSUNG_DEV_PWM
Sachin Kamatdf74a282011-10-13 15:38:21 +0900292 select EXYNOS4_DEV_PD
Tushar Behera9421a762011-10-03 09:12:56 +0900293 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900294 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900295 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900296 help
297 Machine support for ORIGEN based on Samsung EXYNOS4210
298
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900299comment "EXYNOS4212 Boards"
300
301config MACH_SMDK4212
302 bool "SMDK4212"
303 select SOC_EXYNOS4212
304 select S3C_DEV_HSMMC2
305 select S3C_DEV_HSMMC3
306 select S3C_DEV_I2C1
307 select S3C_DEV_I2C3
308 select S3C_DEV_I2C7
309 select S3C_DEV_RTC
310 select S3C_DEV_WDT
311 select SAMSUNG_DEV_BACKLIGHT
312 select SAMSUNG_DEV_KEYPAD
313 select SAMSUNG_DEV_PWM
314 select EXYNOS4_SETUP_I2C1
315 select EXYNOS4_SETUP_I2C3
316 select EXYNOS4_SETUP_I2C7
317 select EXYNOS4_SETUP_KEYPAD
318 select EXYNOS4_SETUP_SDHCI
319 help
320 Machine support for Samsung SMDK4212
321
Changhwan Youn31451af2011-10-04 17:09:26 +0900322comment "EXYNOS4412 Boards"
323
324config MACH_SMDK4412
325 bool "SMDK4412"
326 select SOC_EXYNOS4412
327 select MACH_SMDK4212
328 help
329 Machine support for Samsung SMDK4412
Kukjin Kim83014572011-11-06 13:54:56 +0900330endif
Changhwan Youn31451af2011-10-04 17:09:26 +0900331
Kukjin Kim83014572011-11-06 13:54:56 +0900332if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900333
Kukjin Kim83014572011-11-06 13:54:56 +0900334comment "Configuration for HSMMC 8-bit bus width"
Kukjin Kim10606aa2011-02-14 15:05:27 +0900335
336config EXYNOS4_SDHCI_CH0_8BIT
337 bool "Channel 0 with 8-bit bus"
338 help
339 Support HSMMC Channel 0 8-bit bus.
340 If selected, Channel 1 is disabled.
341
342config EXYNOS4_SDHCI_CH2_8BIT
343 bool "Channel 2 with 8-bit bus"
344 help
345 Support HSMMC Channel 2 8-bit bus.
346 If selected, Channel 3 is disabled.
Kukjin Kim83014572011-11-06 13:54:56 +0900347endif
Kukjin Kim10606aa2011-02-14 15:05:27 +0900348
349endmenu
350
351endif