blob: ff18fc2ea46f092bc68786065bcdd985da325c7e [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
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080017 select HAVE_ARM_SCU if SMP
Dave Martin3b556582011-12-07 15:38:04 +000018 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000019 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090020 help
21 Samsung EXYNOS4 SoCs based systems
22
Kukjin Kim23f16c72012-03-13 07:44:39 -070023config ARCH_EXYNOS5
24 bool "SAMSUNG EXYNOS5"
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080025 select HAVE_ARM_SCU if SMP
Kukjin Kim23f16c72012-03-13 07:44:39 -070026 select HAVE_SMP
27 help
28 Samsung EXYNOS5 (Cortex-A15) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090029
30comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090031
32config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090033 bool "SAMSUNG EXYNOS4210"
34 default y
35 depends on ARCH_EXYNOS4
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020036 select ARM_CPU_SUSPEND if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010037 select PM_GENERIC_DOMAINS
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090038 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090039 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010040 select SAMSUNG_DMADEV
Kukjin Kim10606aa2011-02-14 15:05:27 +090041 help
42 Enable EXYNOS4210 CPU support
43
Kukjin Kim68465382011-08-24 17:25:09 +090044config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090045 bool "SAMSUNG EXYNOS4212"
46 default y
47 depends on ARCH_EXYNOS4
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090048 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090049 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010050 select SAMSUNG_DMADEV
Kukjin Kim68465382011-08-24 17:25:09 +090051 help
52 Enable EXYNOS4212 SoC support
53
Changhwan Youne6a275a2011-10-04 17:08:56 +090054config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090055 bool "SAMSUNG EXYNOS4412"
56 default y
57 depends on ARCH_EXYNOS4
Boojin Kimefd99602012-02-15 13:16:15 +090058 select SAMSUNG_DMADEV
Changhwan Youne6a275a2011-10-04 17:08:56 +090059 help
60 Enable EXYNOS4412 SoC support
61
Kukjin Kim23f16c72012-03-13 07:44:39 -070062config SOC_EXYNOS5250
63 bool "SAMSUNG EXYNOS5250"
64 default y
65 depends on ARCH_EXYNOS5
Prasanna Kumar6f9e95e2013-02-12 15:27:43 -080066 select PM_GENERIC_DOMAINS if PM
Jongpill Lee60e49ca2012-02-17 12:23:51 +090067 select S5P_PM if PM
68 select S5P_SLEEP if PM
Arun Kumar K2eae6132012-10-23 22:51:33 +090069 select S5P_DEV_MFC
Russell Kingb1b3f492012-10-06 17:12:25 +010070 select SAMSUNG_DMADEV
Kukjin Kim23f16c72012-03-13 07:44:39 -070071 help
72 Enable EXYNOS5250 SoC support
73
Kukjin Kim2edb36c2012-11-15 15:48:56 +090074config SOC_EXYNOS5440
75 bool "SAMSUNG EXYNOS5440"
76 default y
77 depends on ARCH_EXYNOS5
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +000078 select ARCH_HAS_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +090079 select ARM_ARCH_TIMER
80 select AUTO_ZRELADDR
Kukjin Kimb2318482012-12-27 09:19:08 -080081 select PINCTRL
82 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +000083 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +090084 help
85 Enable EXYNOS5440 SoC support
86
Arnd Bergmannb4cf27f2013-04-11 23:13:27 +020087config EXYNOS_ATAGS
88 bool "ATAGS based boot for EXYNOS (deprecated)"
89 depends on !ARCH_MULTIPLATFORM
90 depends on ATAGS
91 default y
92 help
93 The EXYNOS platform is moving towards being completely probed
94 through device tree. This enables support for board files using
95 the traditional ATAGS boot format.
96 Note that this option is not available for multiplatform builds.
97
98if EXYNOS_ATAGS
99
Boojin Kim20ef9e02012-05-12 16:40:52 +0900100config EXYNOS_DEV_DMA
Thomas Abrahamfca3de62011-10-24 13:57:43 +0200101 bool
102 help
103 Compile in amba device definitions for DMA controller
104
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900105config EXYNOS4_DEV_AHCI
106 bool
107 help
108 Compile in platform device definitions for AHCI
109
Jonghun Hane61b1702011-07-21 15:46:26 +0900110config EXYNOS4_SETUP_FIMD0
111 bool
112 help
113 Common setup code for FIMD0.
114
Jingoo Han6e7eb1702011-12-23 11:19:36 +0900115config EXYNOS4_DEV_USB_OHCI
116 bool
117 help
118 Compile in platform device definition for USB OHCI
119
Kukjin Kim10606aa2011-02-14 15:05:27 +0900120config EXYNOS4_SETUP_I2C1
121 bool
122 help
123 Common setup code for i2c bus 1.
124
125config EXYNOS4_SETUP_I2C2
126 bool
127 help
128 Common setup code for i2c bus 2.
129
130config EXYNOS4_SETUP_I2C3
131 bool
132 help
133 Common setup code for i2c bus 3.
134
135config EXYNOS4_SETUP_I2C4
136 bool
137 help
138 Common setup code for i2c bus 4.
139
140config EXYNOS4_SETUP_I2C5
141 bool
142 help
143 Common setup code for i2c bus 5.
144
145config EXYNOS4_SETUP_I2C6
146 bool
147 help
148 Common setup code for i2c bus 6.
149
150config EXYNOS4_SETUP_I2C7
151 bool
152 help
153 Common setup code for i2c bus 7.
154
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +0900155config EXYNOS4_SETUP_KEYPAD
156 bool
157 help
158 Common setup code for keypad.
159
Kukjin Kim10606aa2011-02-14 15:05:27 +0900160config EXYNOS4_SETUP_SDHCI
161 bool
162 select EXYNOS4_SETUP_SDHCI_GPIO
163 help
164 Internal helper functions for EXYNOS4 based SDHCI systems.
165
166config EXYNOS4_SETUP_SDHCI_GPIO
167 bool
168 help
169 Common setup code for SDHCI gpio.
170
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900171config EXYNOS4_SETUP_FIMC
172 bool
173 help
174 Common setup code for the camera interfaces.
175
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530176config EXYNOS4_SETUP_USB_PHY
177 bool
178 help
179 Common setup code for USB PHY controller
180
Kyoungil Kima024fa12012-05-13 09:00:47 +0900181config EXYNOS_SETUP_SPI
Padmavathi Venna74ac23a2011-12-26 16:42:15 +0900182 bool
183 help
184 Common setup code for SPI GPIO configurations.
185
Kukjin Kim10606aa2011-02-14 15:05:27 +0900186# machine support
187
Kukjin Kim83014572011-11-06 13:54:56 +0900188if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900189
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900190comment "EXYNOS4210 Boards"
191
Kukjin Kim10606aa2011-02-14 15:05:27 +0900192config MACH_SMDKC210
193 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900194 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900195 help
196 Machine support for Samsung SMDKC210
197
198config MACH_SMDKV310
199 bool "SMDKV310"
200 select CPU_EXYNOS4210
Inderpal Singh0d855f42011-07-04 19:19:36 +0900201 select EXYNOS4_DEV_AHCI
Jingoo Han744f20f2011-12-23 11:20:50 +0900202 select EXYNOS4_DEV_USB_OHCI
Jonghun Hane61b1702011-07-21 15:46:26 +0900203 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900204 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900205 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900206 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900207 select EXYNOS4_SETUP_USB_PHY
Russell Kingb1b3f492012-10-06 17:12:25 +0100208 select EXYNOS_DEV_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +0100209 select EXYNOS_DEV_SYSMMU
Sachin Kamatfae96592012-09-13 15:54:18 +0900210 select S3C24XX_PWM
Russell Kingb1b3f492012-10-06 17:12:25 +0100211 select S3C_DEV_HSMMC
212 select S3C_DEV_HSMMC1
213 select S3C_DEV_HSMMC2
214 select S3C_DEV_HSMMC3
215 select S3C_DEV_I2C1
216 select S3C_DEV_RTC
217 select S3C_DEV_USB_HSOTG
218 select S3C_DEV_WDT
219 select S5P_DEV_FIMC0
220 select S5P_DEV_FIMC1
221 select S5P_DEV_FIMC2
222 select S5P_DEV_FIMC3
223 select S5P_DEV_FIMD0
224 select S5P_DEV_G2D
225 select S5P_DEV_I2C_HDMIPHY
226 select S5P_DEV_JPEG
227 select S5P_DEV_MFC
228 select S5P_DEV_TV
229 select S5P_DEV_USB_EHCI
230 select SAMSUNG_DEV_BACKLIGHT
231 select SAMSUNG_DEV_KEYPAD
232 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900233 help
234 Machine support for Samsung SMDKV310
235
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900236config MACH_ARMLEX4210
237 bool "ARMLEX4210"
238 select CPU_EXYNOS4210
Russell Kingb1b3f492012-10-06 17:12:25 +0100239 select EXYNOS4_DEV_AHCI
240 select EXYNOS4_SETUP_SDHCI
241 select EXYNOS_DEV_DMA
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900242 select S3C_DEV_HSMMC
243 select S3C_DEV_HSMMC2
244 select S3C_DEV_HSMMC3
Russell Kingb1b3f492012-10-06 17:12:25 +0100245 select S3C_DEV_RTC
246 select S3C_DEV_WDT
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900247 help
248 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
249
Kukjin Kim10606aa2011-02-14 15:05:27 +0900250config MACH_UNIVERSAL_C210
251 bool "Mobile UNIVERSAL_C210 Board"
Marek Szyprowskifd717cd2012-05-12 06:17:59 +0900252 select CLKSRC_MMIO
Tomasz Figa68a433f2013-05-25 06:27:29 +0900253 select CLKSRC_SAMSUNG_PWM
Russell Kingb1b3f492012-10-06 17:12:25 +0100254 select CPU_EXYNOS4210
255 select EXYNOS4_SETUP_FIMC
256 select EXYNOS4_SETUP_FIMD0
257 select EXYNOS4_SETUP_I2C1
258 select EXYNOS4_SETUP_I2C3
259 select EXYNOS4_SETUP_I2C5
260 select EXYNOS4_SETUP_SDHCI
261 select EXYNOS4_SETUP_USB_PHY
262 select EXYNOS_DEV_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +0100263 select EXYNOS_DEV_SYSMMU
Kukjin Kim10606aa2011-02-14 15:05:27 +0900264 select S3C_DEV_HSMMC
265 select S3C_DEV_HSMMC2
266 select S3C_DEV_HSMMC3
267 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900268 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900269 select S3C_DEV_I2C5
Lukasz Majewski3a36dd02012-05-13 08:27:33 +0900270 select S3C_DEV_USB_HSOTG
Russell Kingb1b3f492012-10-06 17:12:25 +0100271 select S5P_DEV_CSIS0
272 select S5P_DEV_FIMC0
273 select S5P_DEV_FIMC1
274 select S5P_DEV_FIMC2
275 select S5P_DEV_FIMC3
276 select S5P_DEV_FIMD0
277 select S5P_DEV_G2D
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900278 select S5P_DEV_I2C_HDMIPHY
Russell Kingb1b3f492012-10-06 17:12:25 +0100279 select S5P_DEV_JPEG
Kamil Debskib14f04d2011-07-21 16:43:20 +0900280 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900281 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900282 select S5P_DEV_TV
Russell Kingb1b3f492012-10-06 17:12:25 +0100283 select S5P_GPIO_INT
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900284 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900285 help
286 Machine support for Samsung Mobile Universal S5PC210 Reference
287 Board.
288
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900289config MACH_NURI
290 bool "Mobile NURI Board"
291 select CPU_EXYNOS4210
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900292 select EXYNOS4_SETUP_FIMC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900293 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900294 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900295 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900296 select EXYNOS4_SETUP_I2C5
Sylwester Nawrocki8f114e62012-01-31 13:27:02 +0900297 select EXYNOS4_SETUP_I2C6
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900298 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530299 select EXYNOS4_SETUP_USB_PHY
Russell Kingb1b3f492012-10-06 17:12:25 +0100300 select EXYNOS_DEV_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +0100301 select S3C_DEV_HSMMC
302 select S3C_DEV_HSMMC2
303 select S3C_DEV_HSMMC3
304 select S3C_DEV_I2C1
305 select S3C_DEV_I2C3
306 select S3C_DEV_I2C5
307 select S3C_DEV_I2C6
308 select S3C_DEV_RTC
309 select S3C_DEV_USB_HSOTG
310 select S3C_DEV_WDT
311 select S5P_DEV_CSIS0
312 select S5P_DEV_FIMC0
313 select S5P_DEV_FIMC1
314 select S5P_DEV_FIMC2
315 select S5P_DEV_FIMC3
316 select S5P_DEV_FIMD0
317 select S5P_DEV_G2D
318 select S5P_DEV_JPEG
319 select S5P_DEV_MFC
320 select S5P_DEV_USB_EHCI
321 select S5P_GPIO_INT
Sylwester Nawrocki716e84d2011-10-13 15:41:00 +0900322 select S5P_SETUP_MIPIPHY
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900323 select SAMSUNG_DEV_ADC
Russell Kingb1b3f492012-10-06 17:12:25 +0100324 select SAMSUNG_DEV_PWM
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900325 help
326 Machine support for Samsung Mobile NURI Board.
327
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900328config MACH_ORIGEN
329 bool "ORIGEN"
330 select CPU_EXYNOS4210
Russell Kingb1b3f492012-10-06 17:12:25 +0100331 select EXYNOS4_DEV_USB_OHCI
332 select EXYNOS4_SETUP_FIMD0
333 select EXYNOS4_SETUP_SDHCI
334 select EXYNOS4_SETUP_USB_PHY
335 select EXYNOS_DEV_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +0100336 select EXYNOS_DEV_SYSMMU
337 select S3C24XX_PWM
Tushar Beheracf1dad92011-08-31 16:57:37 +0900338 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900339 select S3C_DEV_HSMMC2
Russell Kingb1b3f492012-10-06 17:12:25 +0100340 select S3C_DEV_RTC
Sachin Kamat9c278d52012-05-20 07:46:40 +0900341 select S3C_DEV_USB_HSOTG
Russell Kingb1b3f492012-10-06 17:12:25 +0100342 select S3C_DEV_WDT
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900343 select S5P_DEV_FIMC0
344 select S5P_DEV_FIMC1
345 select S5P_DEV_FIMC2
346 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900347 select S5P_DEV_FIMD0
Sachin Kamat84207d82011-12-29 16:46:16 +0900348 select S5P_DEV_G2D
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900349 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat965a3302012-03-09 08:19:27 -0800350 select S5P_DEV_JPEG
Sachin Kamatdf74a282011-10-13 15:38:21 +0900351 select S5P_DEV_MFC
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900352 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900353 select S5P_DEV_USB_EHCI
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900354 select SAMSUNG_DEV_BACKLIGHT
355 select SAMSUNG_DEV_PWM
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900356 help
357 Machine support for ORIGEN based on Samsung EXYNOS4210
358
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900359comment "EXYNOS4212 Boards"
360
361config MACH_SMDK4212
362 bool "SMDK4212"
Russell Kingb1b3f492012-10-06 17:12:25 +0100363 select EXYNOS4_SETUP_FIMD0
364 select EXYNOS4_SETUP_I2C1
365 select EXYNOS4_SETUP_I2C3
366 select EXYNOS4_SETUP_I2C7
367 select EXYNOS4_SETUP_KEYPAD
368 select EXYNOS4_SETUP_SDHCI
369 select EXYNOS4_SETUP_USB_PHY
370 select EXYNOS_DEV_DMA
Russell Kingb1b3f492012-10-06 17:12:25 +0100371 select EXYNOS_DEV_SYSMMU
372 select S3C24XX_PWM
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900373 select S3C_DEV_HSMMC2
374 select S3C_DEV_HSMMC3
375 select S3C_DEV_I2C1
376 select S3C_DEV_I2C3
377 select S3C_DEV_I2C7
378 select S3C_DEV_RTC
Sachin Kamata17b9852012-07-13 18:41:31 +0900379 select S3C_DEV_USB_HSOTG
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900380 select S3C_DEV_WDT
Sachin Kamat8e84e7d2012-05-12 16:36:22 +0900381 select S5P_DEV_FIMC0
382 select S5P_DEV_FIMC1
383 select S5P_DEV_FIMC2
384 select S5P_DEV_FIMC3
Sachin Kamat6bba0ca2012-07-13 18:58:53 +0900385 select S5P_DEV_FIMD0
Sachin Kamat691bcb32012-05-12 16:36:19 +0900386 select S5P_DEV_MFC
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900387 select SAMSUNG_DEV_BACKLIGHT
388 select SAMSUNG_DEV_KEYPAD
389 select SAMSUNG_DEV_PWM
Russell Kingb1b3f492012-10-06 17:12:25 +0100390 select SOC_EXYNOS4212
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900391 help
392 Machine support for Samsung SMDK4212
393
Changhwan Youn31451af2011-10-04 17:09:26 +0900394comment "EXYNOS4412 Boards"
395
396config MACH_SMDK4412
397 bool "SMDK4412"
Changhwan Youn31451af2011-10-04 17:09:26 +0900398 select MACH_SMDK4212
Russell Kingb1b3f492012-10-06 17:12:25 +0100399 select SOC_EXYNOS4412
Changhwan Youn31451af2011-10-04 17:09:26 +0900400 help
401 Machine support for Samsung SMDK4412
Kukjin Kim83014572011-11-06 13:54:56 +0900402endif
Changhwan Youn31451af2011-10-04 17:09:26 +0900403
Arnd Bergmannb4cf27f2013-04-11 23:13:27 +0200404endif
405
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900406comment "Flattened Device Tree based board for EXYNOS SoCs"
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530407
408config MACH_EXYNOS4_DT
409 bool "Samsung Exynos4 Machine using device tree"
Sachin Kamat5ad14302012-04-14 07:53:51 -0700410 depends on ARCH_EXYNOS4
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530411 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900412 select CLKSRC_OF
Tomasz Figa68a433f2013-05-25 06:27:29 +0900413 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
Russell Kingb1b3f492012-10-06 17:12:25 +0100414 select CPU_EXYNOS4210
Paul Bolle49b99972013-03-13 19:59:32 +0900415 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Thomas Abraham011527b2012-09-07 06:14:26 +0900416 select PINCTRL
Kukjin Kima1ed2672013-01-18 20:35:06 +0100417 select PINCTRL_EXYNOS
Sachin Kamat20901f72013-02-08 13:58:17 -0800418 select S5P_DEV_MFC
Russell Kingb1b3f492012-10-06 17:12:25 +0100419 select USE_OF
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530420 help
421 Machine support for Samsung Exynos4 machine with device tree enabled.
422 Select this if a fdt blob is available for the Exynos4 SoC based board.
423 Note: This is under development and not all peripherals can be supported
424 with this machine file.
425
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900426config MACH_EXYNOS5_DT
427 bool "SAMSUNG EXYNOS5 Machine using device tree"
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900428 default y
Sachin Kamat5ad14302012-04-14 07:53:51 -0700429 depends on ARCH_EXYNOS5
Russell Kingb1b3f492012-10-06 17:12:25 +0100430 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900431 select CLKSRC_OF
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900432 select USE_OF
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900433 help
Sachin Kamat859a09e2012-08-28 11:40:06 -0700434 Machine support for Samsung EXYNOS5 machine with device tree enabled.
435 Select this if a fdt blob is available for the EXYNOS5 SoC based board.
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900436
Kukjin Kim83014572011-11-06 13:54:56 +0900437if ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +0900438
Kukjin Kim83014572011-11-06 13:54:56 +0900439comment "Configuration for HSMMC 8-bit bus width"
Kukjin Kim10606aa2011-02-14 15:05:27 +0900440
441config EXYNOS4_SDHCI_CH0_8BIT
442 bool "Channel 0 with 8-bit bus"
443 help
444 Support HSMMC Channel 0 8-bit bus.
445 If selected, Channel 1 is disabled.
446
447config EXYNOS4_SDHCI_CH2_8BIT
448 bool "Channel 2 with 8-bit bus"
449 help
450 Support HSMMC Channel 2 8-bit bus.
451 If selected, Channel 3 is disabled.
Kukjin Kim83014572011-11-06 13:54:56 +0900452endif
Kukjin Kim10606aa2011-02-14 15:05:27 +0900453
454endmenu
455
456endif