blob: 0afcc3b0f87094fbe26a16f9908697eb3d4bde54 [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"
20 help
21 Samsung EXYNOS4 SoCs based systems
22
23endchoice
24
25comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090026
27config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090028 bool "SAMSUNG EXYNOS4210"
29 default y
30 depends on ARCH_EXYNOS4
Boojin Kimbf856fb2011-09-02 09:44:36 +090031 select SAMSUNG_DMADEV
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020032 select ARM_CPU_SUSPEND if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090033 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090034 select S5P_SLEEP if PM
Kukjin Kim10606aa2011-02-14 15:05:27 +090035 help
36 Enable EXYNOS4210 CPU support
37
Kukjin Kim68465382011-08-24 17:25:09 +090038config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090039 bool "SAMSUNG EXYNOS4212"
40 default y
41 depends on ARCH_EXYNOS4
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090042 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090043 select S5P_SLEEP if PM
Kukjin Kim68465382011-08-24 17:25:09 +090044 help
45 Enable EXYNOS4212 SoC support
46
Changhwan Youne6a275a2011-10-04 17:08:56 +090047config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090048 bool "SAMSUNG EXYNOS4412"
49 default y
50 depends on ARCH_EXYNOS4
Changhwan Youne6a275a2011-10-04 17:08:56 +090051 help
52 Enable EXYNOS4412 SoC support
53
Changhwan Youn30d8bea2011-03-11 10:39:57 +090054config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090055 bool
56 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090057 help
58 Use MCT (Multi Core Timer) as kernel timers
59
Thomas Abrahamfca3de62011-10-24 13:57:43 +020060config EXYNOS4_DEV_DMA
61 bool
62 help
63 Compile in amba device definitions for DMA controller
64
Kukjin Kim94fc1d82011-03-25 10:46:16 +090065config EXYNOS4_DEV_AHCI
66 bool
67 help
68 Compile in platform device definitions for AHCI
69
Jonghun Hane61b1702011-07-21 15:46:26 +090070config EXYNOS4_SETUP_FIMD0
71 bool
72 help
73 Common setup code for FIMD0.
74
Kukjin Kim10606aa2011-02-14 15:05:27 +090075config EXYNOS4_DEV_PD
76 bool
77 help
78 Compile in platform device definitions for Power Domain
79
80config EXYNOS4_DEV_SYSMMU
81 bool
82 help
83 Common setup code for SYSTEM MMU in EXYNOS4
84
Seungwon Jeond7919582011-07-21 00:34:58 +090085config EXYNOS4_DEV_DWMCI
86 bool
87 help
88 Compile in platform device definitions for DWMCI
89
Kukjin Kim10606aa2011-02-14 15:05:27 +090090config EXYNOS4_SETUP_I2C1
91 bool
92 help
93 Common setup code for i2c bus 1.
94
95config EXYNOS4_SETUP_I2C2
96 bool
97 help
98 Common setup code for i2c bus 2.
99
100config EXYNOS4_SETUP_I2C3
101 bool
102 help
103 Common setup code for i2c bus 3.
104
105config EXYNOS4_SETUP_I2C4
106 bool
107 help
108 Common setup code for i2c bus 4.
109
110config EXYNOS4_SETUP_I2C5
111 bool
112 help
113 Common setup code for i2c bus 5.
114
115config EXYNOS4_SETUP_I2C6
116 bool
117 help
118 Common setup code for i2c bus 6.
119
120config EXYNOS4_SETUP_I2C7
121 bool
122 help
123 Common setup code for i2c bus 7.
124
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +0900125config EXYNOS4_SETUP_KEYPAD
126 bool
127 help
128 Common setup code for keypad.
129
Kukjin Kim10606aa2011-02-14 15:05:27 +0900130config EXYNOS4_SETUP_SDHCI
131 bool
132 select EXYNOS4_SETUP_SDHCI_GPIO
133 help
134 Internal helper functions for EXYNOS4 based SDHCI systems.
135
136config EXYNOS4_SETUP_SDHCI_GPIO
137 bool
138 help
139 Common setup code for SDHCI gpio.
140
Sylwester Nawrocki0048a172011-03-10 21:49:31 +0900141config EXYNOS4_SETUP_FIMC
142 bool
143 help
144 Common setup code for the camera interfaces.
145
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530146config EXYNOS4_SETUP_USB_PHY
147 bool
148 help
149 Common setup code for USB PHY controller
150
Kukjin Kim10606aa2011-02-14 15:05:27 +0900151# machine support
152
Kukjin Kim83014572011-11-06 13:54:56 +0900153if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900154
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900155comment "EXYNOS4210 Boards"
156
Kukjin Kim10606aa2011-02-14 15:05:27 +0900157config MACH_SMDKC210
158 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900159 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900160 help
161 Machine support for Samsung SMDKC210
162
163config MACH_SMDKV310
164 bool "SMDKV310"
165 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900166 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900167 select S3C_DEV_RTC
168 select S3C_DEV_WDT
169 select S3C_DEV_I2C1
Sachin Kamat568f0e22011-09-28 11:13:30 +0900170 select S5P_DEV_FIMC0
171 select S5P_DEV_FIMC1
172 select S5P_DEV_FIMC2
173 select S5P_DEV_FIMC3
Hatim Alic0735c82011-09-27 07:37:18 +0900174 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900175 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900176 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900177 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900178 select S3C_DEV_HSMMC
179 select S3C_DEV_HSMMC1
180 select S3C_DEV_HSMMC2
181 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900182 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900183 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900184 select SAMSUNG_DEV_KEYPAD
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200185 select EXYNOS4_DEV_DMA
Kukjin Kim10606aa2011-02-14 15:05:27 +0900186 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900187 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900188 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900189 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900190 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900191 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900192 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900193 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900194 help
195 Machine support for Samsung SMDKV310
196
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900197config MACH_ARMLEX4210
198 bool "ARMLEX4210"
199 select CPU_EXYNOS4210
200 select S3C_DEV_RTC
201 select S3C_DEV_WDT
202 select S3C_DEV_HSMMC
203 select S3C_DEV_HSMMC2
204 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900205 select EXYNOS4_DEV_AHCI
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200206 select EXYNOS4_DEV_DMA
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900207 select EXYNOS4_DEV_SYSMMU
208 select EXYNOS4_SETUP_SDHCI
209 help
210 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
211
Kukjin Kim10606aa2011-02-14 15:05:27 +0900212config MACH_UNIVERSAL_C210
213 bool "Mobile UNIVERSAL_C210 Board"
214 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900215 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900216 select S5P_DEV_FIMC0
217 select S5P_DEV_FIMC1
218 select S5P_DEV_FIMC2
219 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900220 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900221 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900222 select S3C_DEV_HSMMC
223 select S3C_DEV_HSMMC2
224 select S3C_DEV_HSMMC3
225 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900226 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900227 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900228 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900229 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900230 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900231 select S5P_DEV_TV
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200232 select EXYNOS4_DEV_DMA
Kamil Debskib14f04d2011-07-21 16:43:20 +0900233 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900234 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900235 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900236 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900237 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900238 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900239 select EXYNOS4_SETUP_FIMC
240 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900241 help
242 Machine support for Samsung Mobile Universal S5PC210 Reference
243 Board.
244
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900245config MACH_NURI
246 bool "Mobile NURI Board"
247 select CPU_EXYNOS4210
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900248 select S5P_GPIO_INT
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900249 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900250 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900251 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900252 select S3C_DEV_HSMMC
253 select S3C_DEV_HSMMC2
254 select S3C_DEV_HSMMC3
255 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900256 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900257 select S3C_DEV_I2C5
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900258 select S5P_DEV_CSIS0
259 select S5P_DEV_FIMC0
260 select S5P_DEV_FIMC1
261 select S5P_DEV_FIMC2
262 select S5P_DEV_FIMC3
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900263 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900264 select S5P_DEV_USB_EHCI
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900265 select S5P_SETUP_MIPIPHY
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200266 select EXYNOS4_DEV_DMA
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900267 select EXYNOS4_DEV_PD
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900268 select EXYNOS4_SETUP_FIMC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900269 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900270 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900271 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900272 select EXYNOS4_SETUP_I2C5
273 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530274 select EXYNOS4_SETUP_USB_PHY
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900275 select S5P_SETUP_MIPIPHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900276 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900277 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900278 help
279 Machine support for Samsung Mobile NURI Board.
280
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900281config MACH_ORIGEN
282 bool "ORIGEN"
283 select CPU_EXYNOS4210
284 select S3C_DEV_RTC
285 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900286 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900287 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900288 select S5P_DEV_FIMC0
289 select S5P_DEV_FIMC1
290 select S5P_DEV_FIMC2
291 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900292 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900293 select S5P_DEV_I2C_HDMIPHY
Sachin Kamatdf74a282011-10-13 15:38:21 +0900294 select S5P_DEV_MFC
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900295 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900296 select S5P_DEV_USB_EHCI
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900297 select SAMSUNG_DEV_BACKLIGHT
298 select SAMSUNG_DEV_PWM
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200299 select EXYNOS4_DEV_DMA
Sachin Kamatdf74a282011-10-13 15:38:21 +0900300 select EXYNOS4_DEV_PD
Tushar Behera9421a762011-10-03 09:12:56 +0900301 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900302 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900303 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900304 help
305 Machine support for ORIGEN based on Samsung EXYNOS4210
306
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900307comment "EXYNOS4212 Boards"
308
309config MACH_SMDK4212
310 bool "SMDK4212"
311 select SOC_EXYNOS4212
312 select S3C_DEV_HSMMC2
313 select S3C_DEV_HSMMC3
314 select S3C_DEV_I2C1
315 select S3C_DEV_I2C3
316 select S3C_DEV_I2C7
317 select S3C_DEV_RTC
318 select S3C_DEV_WDT
319 select SAMSUNG_DEV_BACKLIGHT
320 select SAMSUNG_DEV_KEYPAD
321 select SAMSUNG_DEV_PWM
322 select EXYNOS4_SETUP_I2C1
323 select EXYNOS4_SETUP_I2C3
324 select EXYNOS4_SETUP_I2C7
325 select EXYNOS4_SETUP_KEYPAD
326 select EXYNOS4_SETUP_SDHCI
327 help
328 Machine support for Samsung SMDK4212
329
Changhwan Youn31451af2011-10-04 17:09:26 +0900330comment "EXYNOS4412 Boards"
331
332config MACH_SMDK4412
333 bool "SMDK4412"
334 select SOC_EXYNOS4412
335 select MACH_SMDK4212
336 help
337 Machine support for Samsung SMDK4412
Kukjin Kim83014572011-11-06 13:54:56 +0900338endif
Changhwan Youn31451af2011-10-04 17:09:26 +0900339
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530340comment "Flattened Device Tree based board for Exynos4 based SoC"
341
342config MACH_EXYNOS4_DT
343 bool "Samsung Exynos4 Machine using device tree"
344 select CPU_EXYNOS4210
345 select USE_OF
346 select ARM_AMBA
347 select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
348 help
349 Machine support for Samsung Exynos4 machine with device tree enabled.
350 Select this if a fdt blob is available for the Exynos4 SoC based board.
351 Note: This is under development and not all peripherals can be supported
352 with this machine file.
353
Kukjin Kim83014572011-11-06 13:54:56 +0900354if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900355
Kukjin Kim83014572011-11-06 13:54:56 +0900356comment "Configuration for HSMMC 8-bit bus width"
Kukjin Kim10606aa2011-02-14 15:05:27 +0900357
358config EXYNOS4_SDHCI_CH0_8BIT
359 bool "Channel 0 with 8-bit bus"
360 help
361 Support HSMMC Channel 0 8-bit bus.
362 If selected, Channel 1 is disabled.
363
364config EXYNOS4_SDHCI_CH2_8BIT
365 bool "Channel 2 with 8-bit bus"
366 help
367 Support HSMMC Channel 2 8-bit bus.
368 If selected, Channel 3 is disabled.
Kukjin Kim83014572011-11-06 13:54:56 +0900369endif
Kukjin Kim10606aa2011-02-14 15:05:27 +0900370
371endmenu
372
373endif