]>
Commit | Line | Data |
---|---|---|
a08ab637 | 1 | # Copyright 2008 Openmoko, Inc. |
431107ea | 2 | # Simtec Electronics, Ben Dooks <ben@simtec.co.uk> |
a08ab637 BD |
3 | # |
4 | # Licensed under GPLv2 | |
5 | ||
d2193ce2 TF |
6 | if ARCH_S3C64XX |
7 | ||
a08ab637 | 8 | # Configuration options for the S3C6410 CPU |
d626aeed | 9 | |
431107ea BD |
10 | config CPU_S3C6400 |
11 | bool | |
431107ea BD |
12 | help |
13 | Enable S3C6400 CPU support | |
14 | ||
d626aeed BD |
15 | config CPU_S3C6410 |
16 | bool | |
17 | help | |
18 | Enable S3C6410 CPU support | |
19 | ||
f7be9aba BD |
20 | config S3C64XX_DMA |
21 | bool "S3C64XX DMA" | |
22 | select S3C_DMA | |
23 | ||
2f6c2ac1 | 24 | config S3C64XX_SETUP_SDHCI |
2f6c2ac1 | 25 | bool |
b1b3f49c | 26 | select S3C64XX_SETUP_SDHCI_GPIO |
5cc7fd88 | 27 | help |
2f6c2ac1 BD |
28 | Internal configuration for default SDHCI setup for S3C6400 and |
29 | S3C6410 SoCs. | |
5cc7fd88 | 30 | |
999304be MS |
31 | config S3C64XX_DEV_ONENAND1 |
32 | bool | |
33 | help | |
34 | Compile in platform device definition for OneNAND1 controller | |
35 | ||
88fc68a2 BD |
36 | # platform specific device setup |
37 | ||
38 | config S3C64XX_SETUP_I2C0 | |
39 | bool | |
40 | default y | |
41 | help | |
42 | Common setup code for i2c bus 0. | |
43 | ||
44 | Note, currently since i2c0 is always compiled, this setup helper | |
45 | is always compiled with it. | |
46 | ||
47 | config S3C64XX_SETUP_I2C1 | |
48 | bool | |
49 | help | |
50 | Common setup code for i2c bus 1. | |
51 | ||
0ab0b6d2 AK |
52 | config S3C64XX_SETUP_IDE |
53 | bool | |
54 | help | |
55 | Common setup code for S3C64XX IDE. | |
56 | ||
88fc68a2 BD |
57 | config S3C64XX_SETUP_FB_24BPP |
58 | bool | |
59 | help | |
60 | Common setup code for S3C64XX with an 24bpp RGB display helper. | |
61 | ||
290d0983 NKC |
62 | config S3C64XX_SETUP_KEYPAD |
63 | bool | |
64 | help | |
65 | Common setup code for S3C64XX KEYPAD GPIO configurations | |
66 | ||
88fc68a2 BD |
67 | config S3C64XX_SETUP_SDHCI_GPIO |
68 | bool | |
69 | help | |
70 | Common setup code for S3C64XX SDHCI GPIO configurations | |
71 | ||
4566c7f7 PV |
72 | config S3C64XX_SETUP_SPI |
73 | bool | |
74 | help | |
75 | Common setup code for SPI GPIO configurations | |
76 | ||
99f6e1f5 JS |
77 | config S3C64XX_SETUP_USB_PHY |
78 | bool | |
79 | help | |
80 | Common setup code for USB PHY controller | |
81 | ||
431107ea BD |
82 | # S36400 Macchine support |
83 | ||
84 | config MACH_SMDK6400 | |
85 | bool "SMDK6400" | |
86 | select CPU_S3C6400 | |
b1b3f49c | 87 | select S3C64XX_SETUP_SDHCI |
431107ea BD |
88 | select S3C_DEV_HSMMC |
89 | select S3C_DEV_NAND | |
431107ea BD |
90 | help |
91 | Machine support for the Samsung SMDK6400 | |
92 | ||
93 | # S3C6410 machine support | |
94 | ||
1f26a8a0 KL |
95 | config MACH_ANW6410 |
96 | bool "A&W6410" | |
97 | select CPU_S3C6410 | |
1f26a8a0 | 98 | select S3C64XX_SETUP_FB_24BPP |
b1b3f49c | 99 | select S3C_DEV_FB |
1f26a8a0 KL |
100 | help |
101 | Machine support for the A&W6410 | |
102 | ||
e9debd98 DA |
103 | config MACH_MINI6410 |
104 | bool "MINI6410" | |
105 | select CPU_S3C6410 | |
b1b3f49c RK |
106 | select S3C64XX_SETUP_FB_24BPP |
107 | select S3C64XX_SETUP_SDHCI | |
108 | select S3C_DEV_FB | |
e9debd98 DA |
109 | select S3C_DEV_HSMMC |
110 | select S3C_DEV_HSMMC1 | |
1c5d76ef | 111 | select S3C_DEV_NAND |
b1b3f49c | 112 | select S3C_DEV_USB_HOST |
fe894f97 DA |
113 | select SAMSUNG_DEV_ADC |
114 | select SAMSUNG_DEV_TS | |
e9debd98 DA |
115 | help |
116 | Machine support for the FriendlyARM MINI6410 | |
117 | ||
eab5cfa0 DA |
118 | config MACH_REAL6410 |
119 | bool "REAL6410" | |
120 | select CPU_S3C6410 | |
b1b3f49c | 121 | select S3C64XX_SETUP_FB_24BPP |
ce611d7b | 122 | select S3C64XX_SETUP_SDHCI |
c115f67c | 123 | select S3C_DEV_FB |
b1b3f49c RK |
124 | select S3C_DEV_HSMMC |
125 | select S3C_DEV_HSMMC1 | |
88fbadea | 126 | select S3C_DEV_NAND |
b1b3f49c | 127 | select S3C_DEV_USB_HOST |
4374c456 DA |
128 | select SAMSUNG_DEV_ADC |
129 | select SAMSUNG_DEV_TS | |
eab5cfa0 DA |
130 | help |
131 | Machine support for the CoreWind REAL6410 | |
132 | ||
5718df9d BD |
133 | config MACH_SMDK6410 |
134 | bool "SMDK6410" | |
135 | select CPU_S3C6410 | |
b1b3f49c RK |
136 | select HAVE_S3C2410_WATCHDOG if WATCHDOG |
137 | select S3C64XX_SETUP_FB_24BPP | |
138 | select S3C64XX_SETUP_I2C1 | |
139 | select S3C64XX_SETUP_IDE | |
140 | select S3C64XX_SETUP_KEYPAD | |
141 | select S3C64XX_SETUP_SDHCI | |
142 | select S3C64XX_SETUP_USB_PHY | |
143 | select S3C_DEV_FB | |
5b323c7b | 144 | select S3C_DEV_HSMMC |
b24636cf | 145 | select S3C_DEV_HSMMC1 |
d7ea3743 | 146 | select S3C_DEV_I2C1 |
9bbf4a63 | 147 | select S3C_DEV_RTC |
98fd63ba | 148 | select S3C_DEV_USB_HOST |
06fa1d37 | 149 | select S3C_DEV_USB_HSOTG |
b351c4a1 | 150 | select S3C_DEV_WDT |
b1b3f49c | 151 | select SAMSUNG_DEV_ADC |
96d78686 | 152 | select SAMSUNG_DEV_BACKLIGHT |
b1b3f49c | 153 | select SAMSUNG_DEV_IDE |
290d0983 | 154 | select SAMSUNG_DEV_KEYPAD |
075d1089 | 155 | select SAMSUNG_DEV_PWM |
b1b3f49c | 156 | select SAMSUNG_DEV_TS |
5718df9d BD |
157 | help |
158 | Machine support for the Samsung SMDK6410 | |
b24636cf BD |
159 | |
160 | # At least some of the SMDK6410s were shipped with the card detect | |
161 | # for the MMC/SD slots connected to the same input. This means that | |
162 | # either the boards need to be altered to have channel0 to an alternate | |
163 | # configuration or that only one slot can be used. | |
164 | ||
165 | choice | |
166 | prompt "SMDK6410 MMC/SD slot setup" | |
167 | depends on MACH_SMDK6410 | |
168 | ||
169 | config SMDK6410_SD_CH0 | |
170 | bool "Use channel 0 only" | |
171 | depends on MACH_SMDK6410 | |
172 | help | |
173 | Select CON7 (channel 0) as the MMC/SD slot, as | |
174 | at least some SMDK6410 boards come with the | |
175 | resistors fitted so that the card detects for | |
176 | channels 0 and 1 are the same. | |
431107ea | 177 | |
b24636cf BD |
178 | config SMDK6410_SD_CH1 |
179 | bool "Use channel 1 only" | |
180 | depends on MACH_SMDK6410 | |
181 | help | |
182 | Select CON6 (channel 1) as the MMC/SD slot, as | |
183 | at least some SMDK6410 boards come with the | |
184 | resistors fitted so that the card detects for | |
185 | channels 0 and 1 are the same. | |
186 | ||
187 | endchoice | |
ecc558ac MB |
188 | |
189 | config SMDK6410_WM1190_EV1 | |
190 | bool "Support Wolfson Microelectronics 1190-EV1 PMIC card" | |
191 | depends on MACH_SMDK6410 | |
b1b3f49c | 192 | select MFD_WM8350_I2C |
b1b3f49c RK |
193 | select REGULATOR |
194 | select REGULATOR_WM8350 | |
195 | select SAMSUNG_GPIO_EXTRA64 | |
ecc558ac MB |
196 | help |
197 | The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC | |
198 | and audio daughtercard for the Samsung SMDK6410 reference | |
199 | platform. Enabling this option will build support for this | |
200 | module into the kernel. The presence of the module will be | |
59bf8964 | 201 | detected at runtime so the resulting kernel can be used |
ecc558ac | 202 | with or without the 1190-EV1 fitted. |
87c4122f | 203 | |
60f9101a MB |
204 | config SMDK6410_WM1192_EV1 |
205 | bool "Support Wolfson Microelectronics 1192-EV1 PMIC card" | |
206 | depends on MACH_SMDK6410 | |
b1b3f49c RK |
207 | select MFD_WM831X |
208 | select MFD_WM831X_I2C | |
60f9101a MB |
209 | select REGULATOR |
210 | select REGULATOR_WM831X | |
4ff13995 | 211 | select SAMSUNG_GPIO_EXTRA64 |
60f9101a MB |
212 | help |
213 | The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC | |
214 | daughtercard for the Samsung SMDK6410 reference platform. | |
215 | Enabling this option will build support for this module into | |
216 | the kernel. The presence of the daughtercard will be | |
59bf8964 | 217 | detected at runtime so the resulting kernel can be used |
60f9101a MB |
218 | with or without the 1192-EV1 fitted. |
219 | ||
87c4122f KP |
220 | config MACH_NCP |
221 | bool "NCP" | |
222 | select CPU_S3C6410 | |
87c4122f | 223 | select S3C64XX_SETUP_I2C1 |
b1b3f49c RK |
224 | select S3C_DEV_HSMMC1 |
225 | select S3C_DEV_I2C1 | |
87c4122f KP |
226 | help |
227 | Machine support for the Samsung NCP | |
2896bda4 PK |
228 | |
229 | config MACH_HMT | |
230 | bool "Airgoo HMT" | |
231 | select CPU_S3C6410 | |
b1b3f49c | 232 | select S3C64XX_SETUP_FB_24BPP |
2896bda4 | 233 | select S3C_DEV_FB |
d23b3517 | 234 | select S3C_DEV_NAND |
2896bda4 | 235 | select S3C_DEV_USB_HOST |
2ce30137 | 236 | select SAMSUNG_DEV_PWM |
2896bda4 PK |
237 | help |
238 | Machine support for the Airgoo HMT | |
a2f7bffa MC |
239 | |
240 | config MACH_SMARTQ | |
241 | bool | |
242 | select CPU_S3C6410 | |
b1b3f49c RK |
243 | select S3C64XX_SETUP_FB_24BPP |
244 | select S3C64XX_SETUP_SDHCI | |
245 | select S3C64XX_SETUP_USB_PHY | |
246 | select S3C_DEV_FB | |
a2f7bffa MC |
247 | select S3C_DEV_HSMMC |
248 | select S3C_DEV_HSMMC1 | |
249 | select S3C_DEV_HSMMC2 | |
a2f7bffa MC |
250 | select S3C_DEV_HWMON |
251 | select S3C_DEV_RTC | |
a2f7bffa | 252 | select S3C_DEV_USB_HOST |
b1b3f49c | 253 | select S3C_DEV_USB_HSOTG |
a2f7bffa | 254 | select SAMSUNG_DEV_ADC |
2ce30137 | 255 | select SAMSUNG_DEV_PWM |
a2f7bffa | 256 | select SAMSUNG_DEV_TS |
a2f7bffa MC |
257 | help |
258 | Shared machine support for SmartQ 5/7 | |
259 | ||
260 | config MACH_SMARTQ5 | |
261 | bool "SmartQ 5" | |
262 | select MACH_SMARTQ | |
263 | help | |
264 | Machine support for the SmartQ 5 | |
265 | ||
266 | config MACH_SMARTQ7 | |
267 | bool "SmartQ 7" | |
268 | select MACH_SMARTQ | |
269 | help | |
270 | Machine support for the SmartQ 7 | |
e1a3c74f MB |
271 | |
272 | config MACH_WLF_CRAGG_6410 | |
273 | bool "Wolfson Cragganmore 6410" | |
274 | select CPU_S3C6410 | |
b1b3f49c RK |
275 | select I2C |
276 | select LEDS_GPIO_REGISTER | |
277 | select S3C64XX_DEV_SPI0 | |
278 | select S3C64XX_SETUP_FB_24BPP | |
e1a3c74f MB |
279 | select S3C64XX_SETUP_I2C1 |
280 | select S3C64XX_SETUP_IDE | |
e1a3c74f | 281 | select S3C64XX_SETUP_KEYPAD |
b1b3f49c | 282 | select S3C64XX_SETUP_SDHCI |
7d38af51 | 283 | select S3C64XX_SETUP_SPI |
99f6e1f5 | 284 | select S3C64XX_SETUP_USB_PHY |
5a7eb8e4 | 285 | select S3C_DEV_FB |
e1a3c74f MB |
286 | select S3C_DEV_HSMMC |
287 | select S3C_DEV_HSMMC1 | |
288 | select S3C_DEV_HSMMC2 | |
289 | select S3C_DEV_I2C1 | |
e1a3c74f | 290 | select S3C_DEV_RTC |
b1b3f49c RK |
291 | select S3C_DEV_USB_HOST |
292 | select S3C_DEV_USB_HSOTG | |
293 | select S3C_DEV_WDT | |
294 | select SAMSUNG_DEV_ADC | |
295 | select SAMSUNG_DEV_KEYPAD | |
5a7eb8e4 | 296 | select SAMSUNG_DEV_PWM |
4ff13995 | 297 | select SAMSUNG_GPIO_EXTRA128 |
e1a3c74f MB |
298 | help |
299 | Machine support for the Wolfson Cragganmore S3C6410 variant. | |
d2193ce2 | 300 | |
31e4001d TF |
301 | config MACH_S3C64XX_DT |
302 | bool "Samsung S3C6400/S3C6410 machine using Device Tree" | |
303 | select CLKSRC_OF | |
304 | select CPU_S3C6400 | |
305 | select CPU_S3C6410 | |
306 | select PINCTRL | |
307 | select PINCTRL_S3C64XX | |
308 | select USE_OF | |
309 | help | |
310 | Machine support for Samsung S3C6400/S3C6410 machines with Device Tree | |
311 | enabled. | |
312 | Select this if a fdt blob is available for your S3C64XX SoC based | |
313 | board. | |
314 | Note: This is under development and not all peripherals can be | |
315 | supported with this machine file. | |
f9efbce6 | 316 | |
d2193ce2 | 317 | endif |