1# arch/arm/mach-exynos/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_EXYNOS 11 12menu "SAMSUNG EXYNOS SoCs Support" 13 14config ARCH_EXYNOS4 15 bool "SAMSUNG EXYNOS4" 16 default y 17 select HAVE_SMP 18 select MIGHT_HAVE_CACHE_L2X0 19 help 20 Samsung EXYNOS4 SoCs based systems 21 22config ARCH_EXYNOS5 23 bool "SAMSUNG EXYNOS5" 24 select HAVE_SMP 25 help 26 Samsung EXYNOS5 (Cortex-A15) SoC based systems 27 28comment "EXYNOS SoCs" 29 30config CPU_EXYNOS4210 31 bool "SAMSUNG EXYNOS4210" 32 default y 33 depends on ARCH_EXYNOS4 34 select SAMSUNG_DMADEV 35 select ARM_CPU_SUSPEND if PM 36 select S5P_PM if PM 37 select S5P_SLEEP if PM 38 select PM_GENERIC_DOMAINS 39 help 40 Enable EXYNOS4210 CPU support 41 42config SOC_EXYNOS4212 43 bool "SAMSUNG EXYNOS4212" 44 default y 45 depends on ARCH_EXYNOS4 46 select SAMSUNG_DMADEV 47 select S5P_PM if PM 48 select S5P_SLEEP if PM 49 help 50 Enable EXYNOS4212 SoC support 51 52config SOC_EXYNOS4412 53 bool "SAMSUNG EXYNOS4412" 54 default y 55 depends on ARCH_EXYNOS4 56 select SAMSUNG_DMADEV 57 help 58 Enable EXYNOS4412 SoC support 59 60config SOC_EXYNOS5250 61 bool "SAMSUNG EXYNOS5250" 62 default y 63 depends on ARCH_EXYNOS5 64 select SAMSUNG_DMADEV 65 select S5P_PM if PM 66 select S5P_SLEEP if PM 67 help 68 Enable EXYNOS5250 SoC support 69 70config EXYNOS4_MCT 71 bool 72 default y 73 help 74 Use MCT (Multi Core Timer) as kernel timers 75 76config EXYNOS_DEV_DMA 77 bool 78 help 79 Compile in amba device definitions for DMA controller 80 81config EXYNOS4_DEV_AHCI 82 bool 83 help 84 Compile in platform device definitions for AHCI 85 86config EXYNOS_DEV_DRM 87 bool 88 help 89 Compile in platform device definitions for core DRM device 90 91config EXYNOS4_SETUP_FIMD0 92 bool 93 help 94 Common setup code for FIMD0. 95 96config EXYNOS_DEV_SYSMMU 97 bool 98 help 99 Common setup code for SYSTEM MMU in EXYNOS platforms 100 101config EXYNOS4_DEV_DWMCI 102 bool 103 help 104 Compile in platform device definitions for DWMCI 105 106config EXYNOS4_DEV_USB_OHCI 107 bool 108 help 109 Compile in platform device definition for USB OHCI 110 111config EXYNOS4_SETUP_I2C1 112 bool 113 help 114 Common setup code for i2c bus 1. 115 116config EXYNOS4_SETUP_I2C2 117 bool 118 help 119 Common setup code for i2c bus 2. 120 121config EXYNOS4_SETUP_I2C3 122 bool 123 help 124 Common setup code for i2c bus 3. 125 126config EXYNOS4_SETUP_I2C4 127 bool 128 help 129 Common setup code for i2c bus 4. 130 131config EXYNOS4_SETUP_I2C5 132 bool 133 help 134 Common setup code for i2c bus 5. 135 136config EXYNOS4_SETUP_I2C6 137 bool 138 help 139 Common setup code for i2c bus 6. 140 141config EXYNOS4_SETUP_I2C7 142 bool 143 help 144 Common setup code for i2c bus 7. 145 146config EXYNOS4_SETUP_KEYPAD 147 bool 148 help 149 Common setup code for keypad. 150 151config EXYNOS4_SETUP_SDHCI 152 bool 153 select EXYNOS4_SETUP_SDHCI_GPIO 154 help 155 Internal helper functions for EXYNOS4 based SDHCI systems. 156 157config EXYNOS4_SETUP_SDHCI_GPIO 158 bool 159 help 160 Common setup code for SDHCI gpio. 161 162config EXYNOS4_SETUP_FIMC 163 bool 164 help 165 Common setup code for the camera interfaces. 166 167config EXYNOS4_SETUP_USB_PHY 168 bool 169 help 170 Common setup code for USB PHY controller 171 172config EXYNOS_SETUP_SPI 173 bool 174 help 175 Common setup code for SPI GPIO configurations. 176 177# machine support 178 179if ARCH_EXYNOS4 180 181comment "EXYNOS4210 Boards" 182 183config MACH_SMDKC210 184 bool "SMDKC210" 185 select MACH_SMDKV310 186 help 187 Machine support for Samsung SMDKC210 188 189config MACH_SMDKV310 190 bool "SMDKV310" 191 select CPU_EXYNOS4210 192 select S5P_DEV_FIMD0 193 select S3C_DEV_RTC 194 select S3C_DEV_WDT 195 select S3C_DEV_I2C1 196 select S5P_DEV_FIMC0 197 select S5P_DEV_FIMC1 198 select S5P_DEV_FIMC2 199 select S5P_DEV_FIMC3 200 select S5P_DEV_G2D 201 select S5P_DEV_I2C_HDMIPHY 202 select S5P_DEV_JPEG 203 select S5P_DEV_MFC 204 select S5P_DEV_TV 205 select S5P_DEV_USB_EHCI 206 select S3C_DEV_HSMMC 207 select S3C_DEV_HSMMC1 208 select S3C_DEV_HSMMC2 209 select S3C_DEV_HSMMC3 210 select SAMSUNG_DEV_BACKLIGHT 211 select EXYNOS_DEV_DRM 212 select EXYNOS_DEV_SYSMMU 213 select EXYNOS4_DEV_AHCI 214 select SAMSUNG_DEV_KEYPAD 215 select EXYNOS4_DEV_DMA 216 select SAMSUNG_DEV_PWM 217 select EXYNOS4_DEV_USB_OHCI 218 select EXYNOS4_SETUP_FIMD0 219 select EXYNOS4_SETUP_I2C1 220 select EXYNOS4_SETUP_KEYPAD 221 select EXYNOS4_SETUP_SDHCI 222 select EXYNOS4_SETUP_USB_PHY 223 help 224 Machine support for Samsung SMDKV310 225 226config MACH_ARMLEX4210 227 bool "ARMLEX4210" 228 select CPU_EXYNOS4210 229 select S3C_DEV_RTC 230 select S3C_DEV_WDT 231 select S3C_DEV_HSMMC 232 select S3C_DEV_HSMMC2 233 select S3C_DEV_HSMMC3 234 select EXYNOS4_DEV_AHCI 235 select EXYNOS_DEV_DMA 236 select EXYNOS4_SETUP_SDHCI 237 help 238 Machine support for Samsung ARMLEX4210 based on EXYNOS4210 239 240config MACH_UNIVERSAL_C210 241 bool "Mobile UNIVERSAL_C210 Board" 242 select CPU_EXYNOS4210 243 select S5P_HRT 244 select CLKSRC_MMIO 245 select HAVE_SCHED_CLOCK 246 select S5P_GPIO_INT 247 select S5P_DEV_FIMC0 248 select S5P_DEV_FIMC1 249 select S5P_DEV_FIMC2 250 select S5P_DEV_FIMC3 251 select S5P_DEV_G2D 252 select S5P_DEV_CSIS0 253 select S5P_DEV_JPEG 254 select S5P_DEV_FIMD0 255 select S3C_DEV_HSMMC 256 select S3C_DEV_HSMMC2 257 select S3C_DEV_HSMMC3 258 select S3C_DEV_I2C1 259 select S3C_DEV_I2C3 260 select S3C_DEV_I2C5 261 select S3C_DEV_USB_HSOTG 262 select S5P_DEV_I2C_HDMIPHY 263 select S5P_DEV_MFC 264 select S5P_DEV_ONENAND 265 select S5P_DEV_TV 266 select EXYNOS_DEV_SYSMMU 267 select EXYNOS4_DEV_DMA 268 select EXYNOS_DEV_DRM 269 select EXYNOS4_SETUP_FIMD0 270 select EXYNOS4_SETUP_I2C1 271 select EXYNOS4_SETUP_I2C3 272 select EXYNOS4_SETUP_I2C5 273 select EXYNOS4_SETUP_SDHCI 274 select EXYNOS4_SETUP_FIMC 275 select S5P_SETUP_MIPIPHY 276 select EXYNOS4_SETUP_USB_PHY 277 help 278 Machine support for Samsung Mobile Universal S5PC210 Reference 279 Board. 280 281config MACH_NURI 282 bool "Mobile NURI Board" 283 select CPU_EXYNOS4210 284 select S5P_GPIO_INT 285 select S3C_DEV_WDT 286 select S3C_DEV_RTC 287 select S5P_DEV_FIMD0 288 select S3C_DEV_HSMMC 289 select S3C_DEV_HSMMC2 290 select S3C_DEV_HSMMC3 291 select S3C_DEV_I2C1 292 select S3C_DEV_I2C3 293 select S3C_DEV_I2C5 294 select S3C_DEV_I2C6 295 select S3C_DEV_USB_HSOTG 296 select S5P_DEV_CSIS0 297 select S5P_DEV_JPEG 298 select S5P_DEV_FIMC0 299 select S5P_DEV_FIMC1 300 select S5P_DEV_FIMC2 301 select S5P_DEV_FIMC3 302 select S5P_DEV_G2D 303 select S5P_DEV_MFC 304 select S5P_DEV_USB_EHCI 305 select S5P_SETUP_MIPIPHY 306 select EXYNOS4_DEV_DMA 307 select EXYNOS_DEV_DRM 308 select EXYNOS4_SETUP_FIMC 309 select EXYNOS4_SETUP_FIMD0 310 select EXYNOS4_SETUP_I2C1 311 select EXYNOS4_SETUP_I2C3 312 select EXYNOS4_SETUP_I2C5 313 select EXYNOS4_SETUP_I2C6 314 select EXYNOS4_SETUP_SDHCI 315 select EXYNOS4_SETUP_USB_PHY 316 select S5P_SETUP_MIPIPHY 317 select SAMSUNG_DEV_PWM 318 select SAMSUNG_DEV_ADC 319 help 320 Machine support for Samsung Mobile NURI Board. 321 322config MACH_ORIGEN 323 bool "ORIGEN" 324 select CPU_EXYNOS4210 325 select S3C_DEV_RTC 326 select S3C_DEV_WDT 327 select S3C_DEV_HSMMC 328 select S3C_DEV_HSMMC2 329 select S5P_DEV_FIMC0 330 select S5P_DEV_FIMC1 331 select S5P_DEV_FIMC2 332 select S5P_DEV_FIMC3 333 select S5P_DEV_FIMD0 334 select S5P_DEV_G2D 335 select S5P_DEV_I2C_HDMIPHY 336 select S5P_DEV_JPEG 337 select S5P_DEV_MFC 338 select S5P_DEV_TV 339 select S5P_DEV_USB_EHCI 340 select SAMSUNG_DEV_BACKLIGHT 341 select SAMSUNG_DEV_PWM 342 select EXYNOS_DEV_DRM 343 select EXYNOS_DEV_SYSMMU 344 select EXYNOS4_DEV_DMA 345 select EXYNOS4_DEV_USB_OHCI 346 select EXYNOS4_SETUP_FIMD0 347 select EXYNOS4_SETUP_SDHCI 348 select EXYNOS4_SETUP_USB_PHY 349 help 350 Machine support for ORIGEN based on Samsung EXYNOS4210 351 352comment "EXYNOS4212 Boards" 353 354config MACH_SMDK4212 355 bool "SMDK4212" 356 select SOC_EXYNOS4212 357 select S3C_DEV_HSMMC2 358 select S3C_DEV_HSMMC3 359 select S3C_DEV_I2C1 360 select S3C_DEV_I2C3 361 select S3C_DEV_I2C7 362 select S3C_DEV_RTC 363 select S3C_DEV_WDT 364 select S5P_DEV_FIMC0 365 select S5P_DEV_FIMC1 366 select S5P_DEV_FIMC2 367 select S5P_DEV_FIMC3 368 select S5P_DEV_MFC 369 select SAMSUNG_DEV_BACKLIGHT 370 select SAMSUNG_DEV_KEYPAD 371 select SAMSUNG_DEV_PWM 372 select EXYNOS_DEV_SYSMMU 373 select EXYNOS_DEV_DMA 374 select EXYNOS4_SETUP_I2C1 375 select EXYNOS4_SETUP_I2C3 376 select EXYNOS4_SETUP_I2C7 377 select EXYNOS4_SETUP_KEYPAD 378 select EXYNOS4_SETUP_SDHCI 379 help 380 Machine support for Samsung SMDK4212 381 382comment "EXYNOS4412 Boards" 383 384config MACH_SMDK4412 385 bool "SMDK4412" 386 select SOC_EXYNOS4412 387 select MACH_SMDK4212 388 help 389 Machine support for Samsung SMDK4412 390endif 391 392comment "Flattened Device Tree based board for EXYNOS SoCs" 393 394config MACH_EXYNOS4_DT 395 bool "Samsung Exynos4 Machine using device tree" 396 depends on ARCH_EXYNOS4 397 select CPU_EXYNOS4210 398 select USE_OF 399 select ARM_AMBA 400 select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD 401 help 402 Machine support for Samsung Exynos4 machine with device tree enabled. 403 Select this if a fdt blob is available for the Exynos4 SoC based board. 404 Note: This is under development and not all peripherals can be supported 405 with this machine file. 406 407config MACH_EXYNOS5_DT 408 bool "SAMSUNG EXYNOS5 Machine using device tree" 409 depends on ARCH_EXYNOS5 410 select SOC_EXYNOS5250 411 select USE_OF 412 select ARM_AMBA 413 help 414 Machine support for Samsung Exynos4 machine with device tree enabled. 415 Select this if a fdt blob is available for the EXYNOS4 SoC based board. 416 417if ARCH_EXYNOS4 418 419comment "Configuration for HSMMC 8-bit bus width" 420 421config EXYNOS4_SDHCI_CH0_8BIT 422 bool "Channel 0 with 8-bit bus" 423 help 424 Support HSMMC Channel 0 8-bit bus. 425 If selected, Channel 1 is disabled. 426 427config EXYNOS4_SDHCI_CH2_8BIT 428 bool "Channel 2 with 8-bit bus" 429 help 430 Support HSMMC Channel 2 8-bit bus. 431 If selected, Channel 3 is disabled. 432endif 433 434endmenu 435 436endif 437