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