blob: c255d6f7ec5fe209f9843c94dc5baf8a964a8165 [file] [log] [blame]
Kukjin Kim10606aa2011-02-14 15:05:27 +09001# arch/arm/mach-exynos4/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_EXYNOS4
11
12config CPU_EXYNOS4210
13 bool
14 select S3C_PL330_DMA
15 help
16 Enable EXYNOS4210 CPU support
17
Kukjin Kim68465382011-08-24 17:25:09 +090018config SOC_EXYNOS4212
19 bool
20 help
21 Enable EXYNOS4212 SoC support
22
Changhwan Youne6a275a2011-10-04 17:08:56 +090023config SOC_EXYNOS4412
24 bool
25 help
26 Enable EXYNOS4412 SoC support
27
Changhwan Youn30d8bea2011-03-11 10:39:57 +090028config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090029 bool
30 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090031 help
32 Use MCT (Multi Core Timer) as kernel timers
33
Kukjin Kim94fc1d82011-03-25 10:46:16 +090034config EXYNOS4_DEV_AHCI
35 bool
36 help
37 Compile in platform device definitions for AHCI
38
Jonghun Hane61b1702011-07-21 15:46:26 +090039config EXYNOS4_SETUP_FIMD0
40 bool
41 help
42 Common setup code for FIMD0.
43
Kukjin Kim10606aa2011-02-14 15:05:27 +090044config EXYNOS4_DEV_PD
45 bool
46 help
47 Compile in platform device definitions for Power Domain
48
49config EXYNOS4_DEV_SYSMMU
50 bool
51 help
52 Common setup code for SYSTEM MMU in EXYNOS4
53
Seungwon Jeond7919582011-07-21 00:34:58 +090054config EXYNOS4_DEV_DWMCI
55 bool
56 help
57 Compile in platform device definitions for DWMCI
58
Kukjin Kim10606aa2011-02-14 15:05:27 +090059config EXYNOS4_SETUP_I2C1
60 bool
61 help
62 Common setup code for i2c bus 1.
63
64config EXYNOS4_SETUP_I2C2
65 bool
66 help
67 Common setup code for i2c bus 2.
68
69config EXYNOS4_SETUP_I2C3
70 bool
71 help
72 Common setup code for i2c bus 3.
73
74config EXYNOS4_SETUP_I2C4
75 bool
76 help
77 Common setup code for i2c bus 4.
78
79config EXYNOS4_SETUP_I2C5
80 bool
81 help
82 Common setup code for i2c bus 5.
83
84config EXYNOS4_SETUP_I2C6
85 bool
86 help
87 Common setup code for i2c bus 6.
88
89config EXYNOS4_SETUP_I2C7
90 bool
91 help
92 Common setup code for i2c bus 7.
93
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +090094config EXYNOS4_SETUP_KEYPAD
95 bool
96 help
97 Common setup code for keypad.
98
Kukjin Kim10606aa2011-02-14 15:05:27 +090099config EXYNOS4_SETUP_SDHCI
100 bool
101 select EXYNOS4_SETUP_SDHCI_GPIO
102 help
103 Internal helper functions for EXYNOS4 based SDHCI systems.
104
105config EXYNOS4_SETUP_SDHCI_GPIO
106 bool
107 help
108 Common setup code for SDHCI gpio.
109
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900110config EXYNOS4_SETUP_FIMC
111 bool
112 help
113 Common setup code for the camera interfaces.
114
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530115config EXYNOS4_SETUP_USB_PHY
116 bool
117 help
118 Common setup code for USB PHY controller
119
Kukjin Kim10606aa2011-02-14 15:05:27 +0900120# machine support
121
122menu "EXYNOS4 Machines"
123
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900124comment "EXYNOS4210 Boards"
125
Kukjin Kim10606aa2011-02-14 15:05:27 +0900126config MACH_SMDKC210
127 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900128 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900129 help
130 Machine support for Samsung SMDKC210
131
132config MACH_SMDKV310
133 bool "SMDKV310"
134 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900135 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900136 select S3C_DEV_RTC
137 select S3C_DEV_WDT
138 select S3C_DEV_I2C1
139 select S3C_DEV_HSMMC
140 select S3C_DEV_HSMMC1
141 select S3C_DEV_HSMMC2
142 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900143 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900144 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900145 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900146 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900147 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900148 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900149 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900150 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900151 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900152 select EXYNOS4_SETUP_SDHCI
153 help
154 Machine support for Samsung SMDKV310
155
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900156config MACH_ARMLEX4210
157 bool "ARMLEX4210"
158 select CPU_EXYNOS4210
159 select S3C_DEV_RTC
160 select S3C_DEV_WDT
161 select S3C_DEV_HSMMC
162 select S3C_DEV_HSMMC2
163 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900164 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900165 select EXYNOS4_DEV_SYSMMU
166 select EXYNOS4_SETUP_SDHCI
167 help
168 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
169
Kukjin Kim10606aa2011-02-14 15:05:27 +0900170config MACH_UNIVERSAL_C210
171 bool "Mobile UNIVERSAL_C210 Board"
172 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900173 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900174 select S5P_DEV_FIMC0
175 select S5P_DEV_FIMC1
176 select S5P_DEV_FIMC2
177 select S5P_DEV_FIMC3
Kukjin Kim10606aa2011-02-14 15:05:27 +0900178 select S3C_DEV_HSMMC
179 select S3C_DEV_HSMMC2
180 select S3C_DEV_HSMMC3
181 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900182 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900183 select S3C_DEV_I2C5
Kamil Debskib14f04d2011-07-21 16:43:20 +0900184 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900185 select S5P_DEV_ONENAND
Kamil Debskib14f04d2011-07-21 16:43:20 +0900186 select EXYNOS4_DEV_PD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900187 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900188 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900189 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900190 select EXYNOS4_SETUP_SDHCI
191 help
192 Machine support for Samsung Mobile Universal S5PC210 Reference
193 Board.
194
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900195config MACH_NURI
196 bool "Mobile NURI Board"
197 select CPU_EXYNOS4210
198 select S3C_DEV_WDT
199 select S3C_DEV_HSMMC
200 select S3C_DEV_HSMMC2
201 select S3C_DEV_HSMMC3
202 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900203 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900204 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900205 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900206 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900207 select EXYNOS4_DEV_PD
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900208 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900209 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900210 select EXYNOS4_SETUP_I2C5
211 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530212 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900213 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900214 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900215 help
216 Machine support for Samsung Mobile NURI Board.
217
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900218config MACH_ORIGEN
219 bool "ORIGEN"
220 select CPU_EXYNOS4210
221 select S3C_DEV_RTC
222 select S3C_DEV_WDT
223 select S3C_DEV_HSMMC2
224 select EXYNOS4_SETUP_SDHCI
225 help
226 Machine support for ORIGEN based on Samsung EXYNOS4210
227
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900228comment "EXYNOS4212 Boards"
229
230config MACH_SMDK4212
231 bool "SMDK4212"
232 select SOC_EXYNOS4212
233 select S3C_DEV_HSMMC2
234 select S3C_DEV_HSMMC3
235 select S3C_DEV_I2C1
236 select S3C_DEV_I2C3
237 select S3C_DEV_I2C7
238 select S3C_DEV_RTC
239 select S3C_DEV_WDT
240 select SAMSUNG_DEV_BACKLIGHT
241 select SAMSUNG_DEV_KEYPAD
242 select SAMSUNG_DEV_PWM
243 select EXYNOS4_SETUP_I2C1
244 select EXYNOS4_SETUP_I2C3
245 select EXYNOS4_SETUP_I2C7
246 select EXYNOS4_SETUP_KEYPAD
247 select EXYNOS4_SETUP_SDHCI
248 help
249 Machine support for Samsung SMDK4212
250
Kukjin Kim10606aa2011-02-14 15:05:27 +0900251endmenu
252
253comment "Configuration for HSMMC bus width"
254
255menu "Use 8-bit bus width"
256
257config EXYNOS4_SDHCI_CH0_8BIT
258 bool "Channel 0 with 8-bit bus"
259 help
260 Support HSMMC Channel 0 8-bit bus.
261 If selected, Channel 1 is disabled.
262
263config EXYNOS4_SDHCI_CH2_8BIT
264 bool "Channel 2 with 8-bit bus"
265 help
266 Support HSMMC Channel 2 8-bit bus.
267 If selected, Channel 3 is disabled.
268
269endmenu
270
271endif