blob: 42f072db1145e77af07691a0190721d9f70b9636 [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
Kukjin Kim83014572011-11-06 13:54:56 +090014config ARCH_EXYNOS4
15 bool "SAMSUNG EXYNOS4"
Kukjin Kim23f16c72012-03-13 07:44:39 -070016 default y
Dave Martin3b556582011-12-07 15:38:04 +000017 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000018 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090019 help
20 Samsung EXYNOS4 SoCs based systems
21
Kukjin Kim23f16c72012-03-13 07:44:39 -070022config ARCH_EXYNOS5
23 bool "SAMSUNG EXYNOS5"
24 select HAVE_SMP
25 help
26 Samsung EXYNOS5 (Cortex-A15) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090027
28comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090029
30config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090031 bool "SAMSUNG EXYNOS4210"
32 default y
33 depends on ARCH_EXYNOS4
Boojin Kimbf856fb2011-09-02 09:44:36 +090034 select SAMSUNG_DMADEV
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020035 select ARM_CPU_SUSPEND if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090036 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090037 select S5P_SLEEP if PM
Kukjin Kim10606aa2011-02-14 15:05:27 +090038 help
39 Enable EXYNOS4210 CPU support
40
Kukjin Kim68465382011-08-24 17:25:09 +090041config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090042 bool "SAMSUNG EXYNOS4212"
43 default y
44 depends on ARCH_EXYNOS4
Boojin Kimefd99602012-02-15 13:16:15 +090045 select SAMSUNG_DMADEV
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090046 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090047 select S5P_SLEEP if PM
Kukjin Kim68465382011-08-24 17:25:09 +090048 help
49 Enable EXYNOS4212 SoC support
50
Changhwan Youne6a275a2011-10-04 17:08:56 +090051config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090052 bool "SAMSUNG EXYNOS4412"
53 default y
54 depends on ARCH_EXYNOS4
Boojin Kimefd99602012-02-15 13:16:15 +090055 select SAMSUNG_DMADEV
Changhwan Youne6a275a2011-10-04 17:08:56 +090056 help
57 Enable EXYNOS4412 SoC support
58
Kukjin Kim23f16c72012-03-13 07:44:39 -070059config SOC_EXYNOS5250
60 bool "SAMSUNG EXYNOS5250"
61 default y
62 depends on ARCH_EXYNOS5
63 help
64 Enable EXYNOS5250 SoC support
65
Changhwan Youn30d8bea2011-03-11 10:39:57 +090066config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090067 bool
68 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090069 help
70 Use MCT (Multi Core Timer) as kernel timers
71
Thomas Abrahamfca3de62011-10-24 13:57:43 +020072config EXYNOS4_DEV_DMA
73 bool
74 help
75 Compile in amba device definitions for DMA controller
76
Kukjin Kim94fc1d82011-03-25 10:46:16 +090077config EXYNOS4_DEV_AHCI
78 bool
79 help
80 Compile in platform device definitions for AHCI
81
Jonghun Hane61b1702011-07-21 15:46:26 +090082config EXYNOS4_SETUP_FIMD0
83 bool
84 help
85 Common setup code for FIMD0.
86
Kukjin Kim10606aa2011-02-14 15:05:27 +090087config EXYNOS4_DEV_PD
88 bool
89 help
90 Compile in platform device definitions for Power Domain
91
92config EXYNOS4_DEV_SYSMMU
93 bool
94 help
95 Common setup code for SYSTEM MMU in EXYNOS4
96
Seungwon Jeond7919582011-07-21 00:34:58 +090097config EXYNOS4_DEV_DWMCI
98 bool
99 help
100 Compile in platform device definitions for DWMCI
101
Jingoo Han6e7eb1702011-12-23 11:19:36 +0900102config EXYNOS4_DEV_USB_OHCI
103 bool
104 help
105 Compile in platform device definition for USB OHCI
106
Kukjin Kim10606aa2011-02-14 15:05:27 +0900107config EXYNOS4_SETUP_I2C1
108 bool
109 help
110 Common setup code for i2c bus 1.
111
112config EXYNOS4_SETUP_I2C2
113 bool
114 help
115 Common setup code for i2c bus 2.
116
117config EXYNOS4_SETUP_I2C3
118 bool
119 help
120 Common setup code for i2c bus 3.
121
122config EXYNOS4_SETUP_I2C4
123 bool
124 help
125 Common setup code for i2c bus 4.
126
127config EXYNOS4_SETUP_I2C5
128 bool
129 help
130 Common setup code for i2c bus 5.
131
132config EXYNOS4_SETUP_I2C6
133 bool
134 help
135 Common setup code for i2c bus 6.
136
137config EXYNOS4_SETUP_I2C7
138 bool
139 help
140 Common setup code for i2c bus 7.
141
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +0900142config EXYNOS4_SETUP_KEYPAD
143 bool
144 help
145 Common setup code for keypad.
146
Kukjin Kim10606aa2011-02-14 15:05:27 +0900147config EXYNOS4_SETUP_SDHCI
148 bool
149 select EXYNOS4_SETUP_SDHCI_GPIO
150 help
151 Internal helper functions for EXYNOS4 based SDHCI systems.
152
153config EXYNOS4_SETUP_SDHCI_GPIO
154 bool
155 help
156 Common setup code for SDHCI gpio.
157
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900158config EXYNOS4_SETUP_FIMC
159 bool
160 help
161 Common setup code for the camera interfaces.
162
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530163config EXYNOS4_SETUP_USB_PHY
164 bool
165 help
166 Common setup code for USB PHY controller
167
Padmavathi Venna74ac23a2011-12-26 16:42:15 +0900168config EXYNOS4_SETUP_SPI
169 bool
170 help
171 Common setup code for SPI GPIO configurations.
172
Kukjin Kim10606aa2011-02-14 15:05:27 +0900173# machine support
174
Kukjin Kim83014572011-11-06 13:54:56 +0900175if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900176
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900177comment "EXYNOS4210 Boards"
178
Kukjin Kim10606aa2011-02-14 15:05:27 +0900179config MACH_SMDKC210
180 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900181 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900182 help
183 Machine support for Samsung SMDKC210
184
185config MACH_SMDKV310
186 bool "SMDKV310"
187 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900188 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900189 select S3C_DEV_RTC
190 select S3C_DEV_WDT
191 select S3C_DEV_I2C1
Sachin Kamat568f0e22011-09-28 11:13:30 +0900192 select S5P_DEV_FIMC0
193 select S5P_DEV_FIMC1
194 select S5P_DEV_FIMC2
195 select S5P_DEV_FIMC3
Hatim Alic0735c82011-09-27 07:37:18 +0900196 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900197 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900198 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900199 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900200 select S3C_DEV_HSMMC
201 select S3C_DEV_HSMMC1
202 select S3C_DEV_HSMMC2
203 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900204 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900205 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900206 select SAMSUNG_DEV_KEYPAD
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200207 select EXYNOS4_DEV_DMA
Kukjin Kim10606aa2011-02-14 15:05:27 +0900208 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900209 select SAMSUNG_DEV_PWM
Jingoo Han744f20f2011-12-23 11:20:50 +0900210 select EXYNOS4_DEV_USB_OHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900211 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900212 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900213 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900214 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900215 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900216 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900217 help
218 Machine support for Samsung SMDKV310
219
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900220config MACH_ARMLEX4210
221 bool "ARMLEX4210"
222 select CPU_EXYNOS4210
223 select S3C_DEV_RTC
224 select S3C_DEV_WDT
225 select S3C_DEV_HSMMC
226 select S3C_DEV_HSMMC2
227 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900228 select EXYNOS4_DEV_AHCI
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200229 select EXYNOS4_DEV_DMA
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900230 select EXYNOS4_DEV_SYSMMU
231 select EXYNOS4_SETUP_SDHCI
232 help
233 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
234
Kukjin Kim10606aa2011-02-14 15:05:27 +0900235config MACH_UNIVERSAL_C210
236 bool "Mobile UNIVERSAL_C210 Board"
237 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900238 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900239 select S5P_DEV_FIMC0
240 select S5P_DEV_FIMC1
241 select S5P_DEV_FIMC2
242 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900243 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900244 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900245 select S3C_DEV_HSMMC
246 select S3C_DEV_HSMMC2
247 select S3C_DEV_HSMMC3
248 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900249 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900250 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900251 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900252 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900253 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900254 select S5P_DEV_TV
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200255 select EXYNOS4_DEV_DMA
Kamil Debskib14f04d2011-07-21 16:43:20 +0900256 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900257 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900258 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900259 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900260 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900261 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900262 select EXYNOS4_SETUP_FIMC
263 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900264 help
265 Machine support for Samsung Mobile Universal S5PC210 Reference
266 Board.
267
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900268config MACH_NURI
269 bool "Mobile NURI Board"
270 select CPU_EXYNOS4210
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900271 select S5P_GPIO_INT
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900272 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900273 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900274 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900275 select S3C_DEV_HSMMC
276 select S3C_DEV_HSMMC2
277 select S3C_DEV_HSMMC3
278 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900279 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900280 select S3C_DEV_I2C5
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900281 select S5P_DEV_CSIS0
282 select S5P_DEV_FIMC0
283 select S5P_DEV_FIMC1
284 select S5P_DEV_FIMC2
285 select S5P_DEV_FIMC3
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900286 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900287 select S5P_DEV_USB_EHCI
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900288 select S5P_SETUP_MIPIPHY
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200289 select EXYNOS4_DEV_DMA
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900290 select EXYNOS4_DEV_PD
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900291 select EXYNOS4_SETUP_FIMC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900292 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900293 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900294 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900295 select EXYNOS4_SETUP_I2C5
296 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530297 select EXYNOS4_SETUP_USB_PHY
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900298 select S5P_SETUP_MIPIPHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900299 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900300 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900301 help
302 Machine support for Samsung Mobile NURI Board.
303
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900304config MACH_ORIGEN
305 bool "ORIGEN"
306 select CPU_EXYNOS4210
307 select S3C_DEV_RTC
308 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900309 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900310 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900311 select S5P_DEV_FIMC0
312 select S5P_DEV_FIMC1
313 select S5P_DEV_FIMC2
314 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900315 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900316 select S5P_DEV_I2C_HDMIPHY
Sachin Kamatdf74a282011-10-13 15:38:21 +0900317 select S5P_DEV_MFC
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900318 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900319 select S5P_DEV_USB_EHCI
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900320 select SAMSUNG_DEV_BACKLIGHT
321 select SAMSUNG_DEV_PWM
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200322 select EXYNOS4_DEV_DMA
Sachin Kamatdf74a282011-10-13 15:38:21 +0900323 select EXYNOS4_DEV_PD
Tushar Behera95de77d2011-12-24 12:09:06 +0900324 select EXYNOS4_DEV_USB_OHCI
Tushar Behera9421a762011-10-03 09:12:56 +0900325 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900326 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900327 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900328 help
329 Machine support for ORIGEN based on Samsung EXYNOS4210
330
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900331comment "EXYNOS4212 Boards"
332
333config MACH_SMDK4212
334 bool "SMDK4212"
335 select SOC_EXYNOS4212
336 select S3C_DEV_HSMMC2
337 select S3C_DEV_HSMMC3
338 select S3C_DEV_I2C1
339 select S3C_DEV_I2C3
340 select S3C_DEV_I2C7
341 select S3C_DEV_RTC
342 select S3C_DEV_WDT
343 select SAMSUNG_DEV_BACKLIGHT
344 select SAMSUNG_DEV_KEYPAD
345 select SAMSUNG_DEV_PWM
Boojin Kimefd99602012-02-15 13:16:15 +0900346 select EXYNOS4_DEV_DMA
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900347 select EXYNOS4_SETUP_I2C1
348 select EXYNOS4_SETUP_I2C3
349 select EXYNOS4_SETUP_I2C7
350 select EXYNOS4_SETUP_KEYPAD
351 select EXYNOS4_SETUP_SDHCI
352 help
353 Machine support for Samsung SMDK4212
354
Changhwan Youn31451af2011-10-04 17:09:26 +0900355comment "EXYNOS4412 Boards"
356
357config MACH_SMDK4412
358 bool "SMDK4412"
359 select SOC_EXYNOS4412
360 select MACH_SMDK4212
361 help
362 Machine support for Samsung SMDK4412
Kukjin Kim83014572011-11-06 13:54:56 +0900363endif
Changhwan Youn31451af2011-10-04 17:09:26 +0900364
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900365comment "Flattened Device Tree based board for EXYNOS SoCs"
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530366
367config MACH_EXYNOS4_DT
368 bool "Samsung Exynos4 Machine using device tree"
369 select CPU_EXYNOS4210
370 select USE_OF
371 select ARM_AMBA
372 select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
373 help
374 Machine support for Samsung Exynos4 machine with device tree enabled.
375 Select this if a fdt blob is available for the Exynos4 SoC based board.
376 Note: This is under development and not all peripherals can be supported
377 with this machine file.
378
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900379config MACH_EXYNOS5_DT
380 bool "SAMSUNG EXYNOS5 Machine using device tree"
381 select SOC_EXYNOS5250
382 select USE_OF
383 select ARM_AMBA
384 help
385 Machine support for Samsung Exynos4 machine with device tree enabled.
386 Select this if a fdt blob is available for the EXYNOS4 SoC based board.
387
Kukjin Kim83014572011-11-06 13:54:56 +0900388if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900389
Kukjin Kim83014572011-11-06 13:54:56 +0900390comment "Configuration for HSMMC 8-bit bus width"
Kukjin Kim10606aa2011-02-14 15:05:27 +0900391
392config EXYNOS4_SDHCI_CH0_8BIT
393 bool "Channel 0 with 8-bit bus"
394 help
395 Support HSMMC Channel 0 8-bit bus.
396 If selected, Channel 1 is disabled.
397
398config EXYNOS4_SDHCI_CH2_8BIT
399 bool "Channel 2 with 8-bit bus"
400 help
401 Support HSMMC Channel 2 8-bit bus.
402 If selected, Channel 3 is disabled.
Kukjin Kim83014572011-11-06 13:54:56 +0900403endif
Kukjin Kim10606aa2011-02-14 15:05:27 +0900404
405endmenu
406
407endif