blob: fc1f92dfbea85b4facff2f89655087ebb64a8faa [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
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020015 select ARM_CPU_SUSPEND if PM
Kukjin Kim10606aa2011-02-14 15:05:27 +090016 help
17 Enable EXYNOS4210 CPU support
18
Changhwan Youn30d8bea2011-03-11 10:39:57 +090019config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090020 bool
21 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090022 help
23 Use MCT (Multi Core Timer) as kernel timers
24
Kukjin Kim94fc1d82011-03-25 10:46:16 +090025config EXYNOS4_DEV_AHCI
26 bool
27 help
28 Compile in platform device definitions for AHCI
29
Jonghun Hane61b1702011-07-21 15:46:26 +090030config EXYNOS4_SETUP_FIMD0
31 bool
32 help
33 Common setup code for FIMD0.
34
Kukjin Kim10606aa2011-02-14 15:05:27 +090035config EXYNOS4_DEV_PD
36 bool
37 help
38 Compile in platform device definitions for Power Domain
39
40config EXYNOS4_DEV_SYSMMU
41 bool
42 help
43 Common setup code for SYSTEM MMU in EXYNOS4
44
Seungwon Jeond7919582011-07-21 00:34:58 +090045config EXYNOS4_DEV_DWMCI
46 bool
47 help
48 Compile in platform device definitions for DWMCI
49
Kukjin Kim10606aa2011-02-14 15:05:27 +090050config EXYNOS4_SETUP_I2C1
51 bool
52 help
53 Common setup code for i2c bus 1.
54
55config EXYNOS4_SETUP_I2C2
56 bool
57 help
58 Common setup code for i2c bus 2.
59
60config EXYNOS4_SETUP_I2C3
61 bool
62 help
63 Common setup code for i2c bus 3.
64
65config EXYNOS4_SETUP_I2C4
66 bool
67 help
68 Common setup code for i2c bus 4.
69
70config EXYNOS4_SETUP_I2C5
71 bool
72 help
73 Common setup code for i2c bus 5.
74
75config EXYNOS4_SETUP_I2C6
76 bool
77 help
78 Common setup code for i2c bus 6.
79
80config EXYNOS4_SETUP_I2C7
81 bool
82 help
83 Common setup code for i2c bus 7.
84
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +090085config EXYNOS4_SETUP_KEYPAD
86 bool
87 help
88 Common setup code for keypad.
89
Kukjin Kim10606aa2011-02-14 15:05:27 +090090config EXYNOS4_SETUP_SDHCI
91 bool
92 select EXYNOS4_SETUP_SDHCI_GPIO
93 help
94 Internal helper functions for EXYNOS4 based SDHCI systems.
95
96config EXYNOS4_SETUP_SDHCI_GPIO
97 bool
98 help
99 Common setup code for SDHCI gpio.
100
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900101config EXYNOS4_SETUP_FIMC
102 bool
103 help
104 Common setup code for the camera interfaces.
105
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530106config EXYNOS4_SETUP_USB_PHY
107 bool
108 help
109 Common setup code for USB PHY controller
110
Kukjin Kim10606aa2011-02-14 15:05:27 +0900111# machine support
112
113menu "EXYNOS4 Machines"
114
115config MACH_SMDKC210
116 bool "SMDKC210"
117 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900118 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900119 select S3C_DEV_RTC
120 select S3C_DEV_WDT
121 select S3C_DEV_I2C1
122 select S3C_DEV_HSMMC
123 select S3C_DEV_HSMMC1
124 select S3C_DEV_HSMMC2
125 select S3C_DEV_HSMMC3
Banajit Goswamifef469f2011-07-20 23:45:21 +0900126 select SAMSUNG_DEV_PWM
127 select SAMSUNG_DEV_BACKLIGHT
Kukjin Kim10606aa2011-02-14 15:05:27 +0900128 select EXYNOS4_DEV_PD
129 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900130 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900131 select EXYNOS4_SETUP_I2C1
132 select EXYNOS4_SETUP_SDHCI
133 help
134 Machine support for Samsung SMDKC210
135
136config MACH_SMDKV310
137 bool "SMDKV310"
138 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900139 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900140 select S3C_DEV_RTC
141 select S3C_DEV_WDT
142 select S3C_DEV_I2C1
143 select S3C_DEV_HSMMC
144 select S3C_DEV_HSMMC1
145 select S3C_DEV_HSMMC2
146 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900147 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900148 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900149 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900150 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900151 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900152 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900153 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900154 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900155 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900156 select EXYNOS4_SETUP_SDHCI
157 help
158 Machine support for Samsung SMDKV310
159
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900160config MACH_ARMLEX4210
161 bool "ARMLEX4210"
162 select CPU_EXYNOS4210
163 select S3C_DEV_RTC
164 select S3C_DEV_WDT
165 select S3C_DEV_HSMMC
166 select S3C_DEV_HSMMC2
167 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900168 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900169 select EXYNOS4_DEV_SYSMMU
170 select EXYNOS4_SETUP_SDHCI
171 help
172 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
173
Kukjin Kim10606aa2011-02-14 15:05:27 +0900174config MACH_UNIVERSAL_C210
175 bool "Mobile UNIVERSAL_C210 Board"
176 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900177 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900178 select S5P_DEV_FIMC0
179 select S5P_DEV_FIMC1
180 select S5P_DEV_FIMC2
181 select S5P_DEV_FIMC3
Kukjin Kim10606aa2011-02-14 15:05:27 +0900182 select S3C_DEV_HSMMC
183 select S3C_DEV_HSMMC2
184 select S3C_DEV_HSMMC3
185 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900186 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900187 select S3C_DEV_I2C5
Kamil Debskib14f04d2011-07-21 16:43:20 +0900188 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900189 select S5P_DEV_ONENAND
Kamil Debskib14f04d2011-07-21 16:43:20 +0900190 select EXYNOS4_DEV_PD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900191 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900192 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900193 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900194 select EXYNOS4_SETUP_SDHCI
195 help
196 Machine support for Samsung Mobile Universal S5PC210 Reference
197 Board.
198
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900199config MACH_NURI
200 bool "Mobile NURI Board"
201 select CPU_EXYNOS4210
202 select S3C_DEV_WDT
203 select S3C_DEV_HSMMC
204 select S3C_DEV_HSMMC2
205 select S3C_DEV_HSMMC3
206 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900207 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900208 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900209 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900210 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900211 select EXYNOS4_DEV_PD
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900212 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900213 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900214 select EXYNOS4_SETUP_I2C5
215 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530216 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900217 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900218 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900219 help
220 Machine support for Samsung Mobile NURI Board.
221
Kukjin Kim10606aa2011-02-14 15:05:27 +0900222endmenu
223
224comment "Configuration for HSMMC bus width"
225
226menu "Use 8-bit bus width"
227
228config EXYNOS4_SDHCI_CH0_8BIT
229 bool "Channel 0 with 8-bit bus"
230 help
231 Support HSMMC Channel 0 8-bit bus.
232 If selected, Channel 1 is disabled.
233
234config EXYNOS4_SDHCI_CH2_8BIT
235 bool "Channel 2 with 8-bit bus"
236 help
237 Support HSMMC Channel 2 8-bit bus.
238 If selected, Channel 3 is disabled.
239
240endmenu
241
242endif