1 # arch/arm/mach-exynos/Kconfig
3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 # http://www.samsung.com/
8 # Configuration options for the EXYNOS4
12 menu "SAMSUNG EXYNOS SoCs Support"
15 bool "SAMSUNG EXYNOS4"
17 select HAVE_ARM_SCU if SMP
19 select MIGHT_HAVE_CACHE_L2X0
22 Samsung EXYNOS4 SoCs based systems
25 bool "SAMSUNG EXYNOS5"
26 select HAVE_ARM_SCU if SMP
30 Samsung EXYNOS5 (Cortex-A15) SoC based systems
35 bool "SAMSUNG EXYNOS4210"
37 depends on ARCH_EXYNOS4
38 select ARM_CPU_SUSPEND if PM
40 select PM_GENERIC_DOMAINS
42 select S5P_SLEEP if PM
45 Enable EXYNOS4210 CPU support
48 bool "SAMSUNG EXYNOS4212"
50 depends on ARCH_EXYNOS4
53 select S5P_SLEEP if PM
56 Enable EXYNOS4212 SoC support
59 bool "SAMSUNG EXYNOS4412"
61 depends on ARCH_EXYNOS4
65 Enable EXYNOS4412 SoC support
68 bool "SAMSUNG EXYNOS5250"
70 depends on ARCH_EXYNOS5
72 select PM_GENERIC_DOMAINS if PM
74 select S5P_SLEEP if PM
78 Enable EXYNOS5250 SoC support
81 bool "SAMSUNG EXYNOS5440"
83 depends on ARCH_EXYNOS5
87 select PINCTRL_EXYNOS5440
90 Enable EXYNOS5440 SoC support
93 bool "ATAGS based boot for EXYNOS (deprecated)"
94 depends on !ARCH_MULTIPLATFORM
98 The EXYNOS platform is moving towards being completely probed
99 through device tree. This enables support for board files using
100 the traditional ATAGS boot format.
101 Note that this option is not available for multiplatform builds.
105 config EXYNOS_DEV_DMA
108 Compile in amba device definitions for DMA controller
110 config EXYNOS4_DEV_AHCI
113 Compile in platform device definitions for AHCI
115 config EXYNOS4_SETUP_FIMD0
118 Common setup code for FIMD0.
120 config EXYNOS4_DEV_USB_OHCI
123 Compile in platform device definition for USB OHCI
125 config EXYNOS4_SETUP_I2C1
128 Common setup code for i2c bus 1.
130 config EXYNOS4_SETUP_I2C2
133 Common setup code for i2c bus 2.
135 config EXYNOS4_SETUP_I2C3
138 Common setup code for i2c bus 3.
140 config EXYNOS4_SETUP_I2C4
143 Common setup code for i2c bus 4.
145 config EXYNOS4_SETUP_I2C5
148 Common setup code for i2c bus 5.
150 config EXYNOS4_SETUP_I2C6
153 Common setup code for i2c bus 6.
155 config EXYNOS4_SETUP_I2C7
158 Common setup code for i2c bus 7.
160 config EXYNOS4_SETUP_KEYPAD
163 Common setup code for keypad.
165 config EXYNOS4_SETUP_SDHCI
167 select EXYNOS4_SETUP_SDHCI_GPIO
169 Internal helper functions for EXYNOS4 based SDHCI systems.
171 config EXYNOS4_SETUP_SDHCI_GPIO
174 Common setup code for SDHCI gpio.
176 config EXYNOS4_SETUP_FIMC
179 Common setup code for the camera interfaces.
181 config EXYNOS4_SETUP_USB_PHY
184 Common setup code for USB PHY controller
186 config EXYNOS_SETUP_SPI
189 Common setup code for SPI GPIO configurations.
195 comment "EXYNOS4210 Boards"
201 Machine support for Samsung SMDKC210
205 select CPU_EXYNOS4210
206 select EXYNOS4_DEV_AHCI
207 select EXYNOS4_DEV_USB_OHCI
208 select EXYNOS4_SETUP_FIMD0
209 select EXYNOS4_SETUP_I2C1
210 select EXYNOS4_SETUP_KEYPAD
211 select EXYNOS4_SETUP_SDHCI
212 select EXYNOS4_SETUP_USB_PHY
213 select EXYNOS_DEV_DMA
214 select EXYNOS_DEV_SYSMMU
217 select S3C_DEV_HSMMC1
218 select S3C_DEV_HSMMC2
219 select S3C_DEV_HSMMC3
222 select S3C_DEV_USB_HSOTG
230 select S5P_DEV_I2C_HDMIPHY
234 select S5P_DEV_USB_EHCI
235 select SAMSUNG_DEV_BACKLIGHT
236 select SAMSUNG_DEV_KEYPAD
237 select SAMSUNG_DEV_PWM
239 Machine support for Samsung SMDKV310
241 config MACH_ARMLEX4210
243 select CPU_EXYNOS4210
244 select EXYNOS4_DEV_AHCI
245 select EXYNOS4_SETUP_SDHCI
246 select EXYNOS_DEV_DMA
248 select S3C_DEV_HSMMC2
249 select S3C_DEV_HSMMC3
253 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
255 config MACH_UNIVERSAL_C210
256 bool "Mobile UNIVERSAL_C210 Board"
258 select CLKSRC_SAMSUNG_PWM
259 select CPU_EXYNOS4210
260 select EXYNOS4_SETUP_FIMC
261 select EXYNOS4_SETUP_FIMD0
262 select EXYNOS4_SETUP_I2C1
263 select EXYNOS4_SETUP_I2C3
264 select EXYNOS4_SETUP_I2C5
265 select EXYNOS4_SETUP_SDHCI
266 select EXYNOS4_SETUP_USB_PHY
267 select EXYNOS_DEV_DMA
268 select EXYNOS_DEV_SYSMMU
270 select S3C_DEV_HSMMC2
271 select S3C_DEV_HSMMC3
275 select S3C_DEV_USB_HSOTG
283 select S5P_DEV_I2C_HDMIPHY
286 select S5P_DEV_ONENAND
289 select S5P_SETUP_MIPIPHY
291 Machine support for Samsung Mobile Universal S5PC210 Reference
295 bool "Mobile NURI Board"
296 select CPU_EXYNOS4210
297 select EXYNOS4_SETUP_FIMC
298 select EXYNOS4_SETUP_FIMD0
299 select EXYNOS4_SETUP_I2C1
300 select EXYNOS4_SETUP_I2C3
301 select EXYNOS4_SETUP_I2C5
302 select EXYNOS4_SETUP_I2C6
303 select EXYNOS4_SETUP_SDHCI
304 select EXYNOS4_SETUP_USB_PHY
305 select EXYNOS_DEV_DMA
307 select S3C_DEV_HSMMC2
308 select S3C_DEV_HSMMC3
314 select S3C_DEV_USB_HSOTG
325 select S5P_DEV_USB_EHCI
327 select S5P_SETUP_MIPIPHY
328 select SAMSUNG_DEV_ADC
329 select SAMSUNG_DEV_PWM
331 Machine support for Samsung Mobile NURI Board.
335 select CPU_EXYNOS4210
336 select EXYNOS4_DEV_USB_OHCI
337 select EXYNOS4_SETUP_FIMD0
338 select EXYNOS4_SETUP_SDHCI
339 select EXYNOS4_SETUP_USB_PHY
340 select EXYNOS_DEV_DMA
341 select EXYNOS_DEV_SYSMMU
344 select S3C_DEV_HSMMC2
346 select S3C_DEV_USB_HSOTG
354 select S5P_DEV_I2C_HDMIPHY
358 select S5P_DEV_USB_EHCI
359 select SAMSUNG_DEV_BACKLIGHT
360 select SAMSUNG_DEV_PWM
362 Machine support for ORIGEN based on Samsung EXYNOS4210
364 comment "EXYNOS4212 Boards"
368 select EXYNOS4_SETUP_FIMD0
369 select EXYNOS4_SETUP_I2C1
370 select EXYNOS4_SETUP_I2C3
371 select EXYNOS4_SETUP_I2C7
372 select EXYNOS4_SETUP_KEYPAD
373 select EXYNOS4_SETUP_SDHCI
374 select EXYNOS4_SETUP_USB_PHY
375 select EXYNOS_DEV_DMA
376 select EXYNOS_DEV_SYSMMU
378 select S3C_DEV_HSMMC2
379 select S3C_DEV_HSMMC3
384 select S3C_DEV_USB_HSOTG
392 select SAMSUNG_DEV_BACKLIGHT
393 select SAMSUNG_DEV_KEYPAD
394 select SAMSUNG_DEV_PWM
395 select SOC_EXYNOS4212
397 Machine support for Samsung SMDK4212
399 comment "EXYNOS4412 Boards"
404 select SOC_EXYNOS4412
406 Machine support for Samsung SMDK4412
411 comment "Flattened Device Tree based board for EXYNOS SoCs"
413 config MACH_EXYNOS4_DT
414 bool "Samsung Exynos4 Machine using device tree"
415 depends on ARCH_EXYNOS4
418 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
419 select CPU_EXYNOS4210
420 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
424 Machine support for Samsung Exynos4 machine with device tree enabled.
425 Select this if a fdt blob is available for the Exynos4 SoC based board.
426 Note: This is under development and not all peripherals can be supported
427 with this machine file.
429 config MACH_EXYNOS5_DT
430 bool "SAMSUNG EXYNOS5 Machine using device tree"
432 depends on ARCH_EXYNOS5
435 select USB_ARCH_HAS_XHCI
438 Machine support for Samsung EXYNOS5 machine with device tree enabled.
439 Select this if a fdt blob is available for the EXYNOS5 SoC based board.
443 comment "Configuration for HSMMC 8-bit bus width"
445 config EXYNOS4_SDHCI_CH0_8BIT
446 bool "Channel 0 with 8-bit bus"
448 Support HSMMC Channel 0 8-bit bus.
449 If selected, Channel 1 is disabled.
451 config EXYNOS4_SDHCI_CH2_8BIT
452 bool "Channel 2 with 8-bit bus"
454 Support HSMMC Channel 2 8-bit bus.
455 If selected, Channel 3 is disabled.