blob: dd660eb2020482b544ba762beb89134eb1e2f40a [file] [log] [blame]
Kukjin Kim10606aa2011-02-14 15:05:27 +09001# arch/arm/mach-exynos4/Kconfig
2#
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
10if ARCH_EXYNOS4
11
12config CPU_EXYNOS4210
13 bool
Boojin Kimbf856fb2011-09-02 09:44:36 +090014 select SAMSUNG_DMADEV
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090015 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090016 select S5P_SLEEP if PM
Kukjin Kim10606aa2011-02-14 15:05:27 +090017 help
18 Enable EXYNOS4210 CPU support
19
Kukjin Kim68465382011-08-24 17:25:09 +090020config SOC_EXYNOS4212
21 bool
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090022 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090023 select S5P_SLEEP if PM
Kukjin Kim68465382011-08-24 17:25:09 +090024 help
25 Enable EXYNOS4212 SoC support
26
Changhwan Youne6a275a2011-10-04 17:08:56 +090027config SOC_EXYNOS4412
28 bool
29 help
30 Enable EXYNOS4412 SoC support
31
Changhwan Youn30d8bea2011-03-11 10:39:57 +090032config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090033 bool
34 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090035 help
36 Use MCT (Multi Core Timer) as kernel timers
37
Kukjin Kim94fc1d82011-03-25 10:46:16 +090038config EXYNOS4_DEV_AHCI
39 bool
40 help
41 Compile in platform device definitions for AHCI
42
Jonghun Hane61b1702011-07-21 15:46:26 +090043config EXYNOS4_SETUP_FIMD0
44 bool
45 help
46 Common setup code for FIMD0.
47
Kukjin Kim10606aa2011-02-14 15:05:27 +090048config EXYNOS4_DEV_PD
49 bool
50 help
51 Compile in platform device definitions for Power Domain
52
53config EXYNOS4_DEV_SYSMMU
54 bool
55 help
56 Common setup code for SYSTEM MMU in EXYNOS4
57
Seungwon Jeond7919582011-07-21 00:34:58 +090058config EXYNOS4_DEV_DWMCI
59 bool
60 help
61 Compile in platform device definitions for DWMCI
62
Kukjin Kim10606aa2011-02-14 15:05:27 +090063config EXYNOS4_SETUP_I2C1
64 bool
65 help
66 Common setup code for i2c bus 1.
67
68config EXYNOS4_SETUP_I2C2
69 bool
70 help
71 Common setup code for i2c bus 2.
72
73config EXYNOS4_SETUP_I2C3
74 bool
75 help
76 Common setup code for i2c bus 3.
77
78config EXYNOS4_SETUP_I2C4
79 bool
80 help
81 Common setup code for i2c bus 4.
82
83config EXYNOS4_SETUP_I2C5
84 bool
85 help
86 Common setup code for i2c bus 5.
87
88config EXYNOS4_SETUP_I2C6
89 bool
90 help
91 Common setup code for i2c bus 6.
92
93config EXYNOS4_SETUP_I2C7
94 bool
95 help
96 Common setup code for i2c bus 7.
97
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +090098config EXYNOS4_SETUP_KEYPAD
99 bool
100 help
101 Common setup code for keypad.
102
Kukjin Kim10606aa2011-02-14 15:05:27 +0900103config EXYNOS4_SETUP_SDHCI
104 bool
105 select EXYNOS4_SETUP_SDHCI_GPIO
106 help
107 Internal helper functions for EXYNOS4 based SDHCI systems.
108
109config EXYNOS4_SETUP_SDHCI_GPIO
110 bool
111 help
112 Common setup code for SDHCI gpio.
113
Sylwester Nawrocki0048a172011-03-10 21:49:31 +0900114config EXYNOS4_SETUP_FIMC
115 bool
116 help
117 Common setup code for the camera interfaces.
118
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530119config EXYNOS4_SETUP_USB_PHY
120 bool
121 help
122 Common setup code for USB PHY controller
123
Kukjin Kim10606aa2011-02-14 15:05:27 +0900124# machine support
125
126menu "EXYNOS4 Machines"
127
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900128comment "EXYNOS4210 Boards"
129
Kukjin Kim10606aa2011-02-14 15:05:27 +0900130config MACH_SMDKC210
131 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900132 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900133 help
134 Machine support for Samsung SMDKC210
135
136config MACH_SMDKV310
137 bool "SMDKV310"
138 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900139 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900140 select S3C_DEV_RTC
141 select S3C_DEV_WDT
142 select S3C_DEV_I2C1
Sachin Kamat568f0e22011-09-28 11:13:30 +0900143 select S5P_DEV_FIMC0
144 select S5P_DEV_FIMC1
145 select S5P_DEV_FIMC2
146 select S5P_DEV_FIMC3
Hatim Alic0735c82011-09-27 07:37:18 +0900147 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900148 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900149 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900150 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900151 select S3C_DEV_HSMMC
152 select S3C_DEV_HSMMC1
153 select S3C_DEV_HSMMC2
154 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900155 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900156 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900157 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900158 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900159 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900160 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900161 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900162 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900163 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900164 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900165 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900166 help
167 Machine support for Samsung SMDKV310
168
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900169config MACH_ARMLEX4210
170 bool "ARMLEX4210"
171 select CPU_EXYNOS4210
172 select S3C_DEV_RTC
173 select S3C_DEV_WDT
174 select S3C_DEV_HSMMC
175 select S3C_DEV_HSMMC2
176 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900177 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900178 select EXYNOS4_DEV_SYSMMU
179 select EXYNOS4_SETUP_SDHCI
180 help
181 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
182
Kukjin Kim10606aa2011-02-14 15:05:27 +0900183config MACH_UNIVERSAL_C210
184 bool "Mobile UNIVERSAL_C210 Board"
185 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900186 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900187 select S5P_DEV_FIMC0
188 select S5P_DEV_FIMC1
189 select S5P_DEV_FIMC2
190 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900191 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900192 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900193 select S3C_DEV_HSMMC
194 select S3C_DEV_HSMMC2
195 select S3C_DEV_HSMMC3
196 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900197 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900198 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900199 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900200 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900201 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900202 select S5P_DEV_TV
Kamil Debskib14f04d2011-07-21 16:43:20 +0900203 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900204 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900205 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900206 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900207 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900208 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900209 select EXYNOS4_SETUP_FIMC
210 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900211 help
212 Machine support for Samsung Mobile Universal S5PC210 Reference
213 Board.
214
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900215config MACH_NURI
216 bool "Mobile NURI Board"
217 select CPU_EXYNOS4210
218 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900219 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900220 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900221 select S3C_DEV_HSMMC
222 select S3C_DEV_HSMMC2
223 select S3C_DEV_HSMMC3
224 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900225 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900226 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900227 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900228 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900229 select EXYNOS4_DEV_PD
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900230 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900231 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900232 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900233 select EXYNOS4_SETUP_I2C5
234 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530235 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900236 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900237 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900238 help
239 Machine support for Samsung Mobile NURI Board.
240
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900241config MACH_ORIGEN
242 bool "ORIGEN"
243 select CPU_EXYNOS4210
244 select S3C_DEV_RTC
245 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900246 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900247 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900248 select S5P_DEV_FIMC0
249 select S5P_DEV_FIMC1
250 select S5P_DEV_FIMC2
251 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900252 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900253 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900254 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900255 select S5P_DEV_USB_EHCI
256 select EXYNOS4_DEV_PD
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900257 select SAMSUNG_DEV_BACKLIGHT
258 select SAMSUNG_DEV_PWM
Tushar Behera9421a762011-10-03 09:12:56 +0900259 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900260 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900261 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900262 help
263 Machine support for ORIGEN based on Samsung EXYNOS4210
264
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900265comment "EXYNOS4212 Boards"
266
267config MACH_SMDK4212
268 bool "SMDK4212"
269 select SOC_EXYNOS4212
270 select S3C_DEV_HSMMC2
271 select S3C_DEV_HSMMC3
272 select S3C_DEV_I2C1
273 select S3C_DEV_I2C3
274 select S3C_DEV_I2C7
275 select S3C_DEV_RTC
276 select S3C_DEV_WDT
277 select SAMSUNG_DEV_BACKLIGHT
278 select SAMSUNG_DEV_KEYPAD
279 select SAMSUNG_DEV_PWM
280 select EXYNOS4_SETUP_I2C1
281 select EXYNOS4_SETUP_I2C3
282 select EXYNOS4_SETUP_I2C7
283 select EXYNOS4_SETUP_KEYPAD
284 select EXYNOS4_SETUP_SDHCI
285 help
286 Machine support for Samsung SMDK4212
287
Changhwan Youn31451af2011-10-04 17:09:26 +0900288comment "EXYNOS4412 Boards"
289
290config MACH_SMDK4412
291 bool "SMDK4412"
292 select SOC_EXYNOS4412
293 select MACH_SMDK4212
294 help
295 Machine support for Samsung SMDK4412
296
Kukjin Kim10606aa2011-02-14 15:05:27 +0900297endmenu
298
299comment "Configuration for HSMMC bus width"
300
301menu "Use 8-bit bus width"
302
303config EXYNOS4_SDHCI_CH0_8BIT
304 bool "Channel 0 with 8-bit bus"
305 help
306 Support HSMMC Channel 0 8-bit bus.
307 If selected, Channel 1 is disabled.
308
309config EXYNOS4_SDHCI_CH2_8BIT
310 bool "Channel 2 with 8-bit bus"
311 help
312 Support HSMMC Channel 2 8-bit bus.
313 If selected, Channel 3 is disabled.
314
315endmenu
316
317endif