1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2008 Openmoko, Inc.
4 # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
6 menuconfig ARCH_S3C64XX
7 bool "Samsung S3C64XX (deprecated, see help)"
8 depends on ARCH_MULTI_V6
11 select CLKSRC_SAMSUNG_PWM
12 select COMMON_CLK_SAMSUNG
13 select GPIO_SAMSUNG if ATAGS
17 select PM_GENERIC_DOMAINS if PM
18 select S3C_DEV_NAND if ATAGS
19 select S3C_GPIO_TRACK if ATAGS
20 select S3C2410_WATCHDOG
21 select SAMSUNG_ATAGS if ATAGS
22 select SAMSUNG_WAKEMASK if PM
25 Samsung S3C64XX series based systems
27 The platform is deprecated and scheduled for removal. Please reach to
28 the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
30 Without such feedback, the platform will be removed after 2024.
34 # Configuration options for the S3C6410 CPU
39 Enable S3C6400 CPU support
44 Enable S3C6410 CPU support
50 config S3C64XX_SETUP_SDHCI
52 select S3C64XX_SETUP_SDHCI_GPIO
54 Internal configuration for default SDHCI setup for S3C6400 and
57 config S3C64XX_DEV_ONENAND1
60 Compile in platform device definition for OneNAND1 controller
62 config SAMSUNG_DEV_BACKLIGHT
64 depends on SAMSUNG_DEV_PWM
66 Compile in platform device definition LCD backlight with PWM Timer
68 # platform specific device setup
70 config S3C64XX_SETUP_I2C0
74 Common setup code for i2c bus 0.
76 Note, currently since i2c0 is always compiled, this setup helper
77 is always compiled with it.
79 config S3C64XX_SETUP_I2C1
82 Common setup code for i2c bus 1.
84 config S3C64XX_SETUP_IDE
87 Common setup code for S3C64XX IDE.
89 config S3C64XX_SETUP_FB_24BPP
92 Common setup code for S3C64XX with an 24bpp RGB display helper.
94 config S3C64XX_SETUP_KEYPAD
97 Common setup code for S3C64XX KEYPAD GPIO configurations
99 config S3C64XX_SETUP_SDHCI_GPIO
102 Common setup code for S3C64XX SDHCI GPIO configurations
104 config S3C64XX_SETUP_SPI
107 Common setup code for SPI GPIO configurations
109 config S3C64XX_SETUP_USB_PHY
112 Common setup code for USB PHY controller
114 # S36400 Macchine support
120 select S3C64XX_SETUP_SDHCI
121 select S3C_DEV_HSMMC1
123 Machine support for the Samsung SMDK6400
125 # S3C6410 machine support
131 select S3C64XX_SETUP_FB_24BPP
134 Machine support for the A&W6410
140 select S3C64XX_SETUP_FB_24BPP
141 select S3C64XX_SETUP_SDHCI
144 select S3C_DEV_HSMMC1
146 select S3C_DEV_USB_HOST
147 select SAMSUNG_DEV_ADC
148 select SAMSUNG_DEV_TS
150 Machine support for the FriendlyARM MINI6410
156 select S3C64XX_SETUP_FB_24BPP
157 select S3C64XX_SETUP_SDHCI
160 select S3C_DEV_HSMMC1
162 select S3C_DEV_USB_HOST
163 select SAMSUNG_DEV_ADC
164 select SAMSUNG_DEV_TS
166 Machine support for the CoreWind REAL6410
172 select S3C64XX_SETUP_FB_24BPP
173 select S3C64XX_SETUP_I2C1
174 select S3C64XX_SETUP_IDE
175 select S3C64XX_SETUP_KEYPAD
176 select S3C64XX_SETUP_SDHCI
177 select S3C64XX_SETUP_USB_PHY
180 select S3C_DEV_HSMMC1
183 select S3C_DEV_USB_HOST
184 select S3C_DEV_USB_HSOTG
186 select SAMSUNG_DEV_ADC
187 select SAMSUNG_DEV_BACKLIGHT
188 select SAMSUNG_DEV_IDE
189 select SAMSUNG_DEV_KEYPAD
190 select SAMSUNG_DEV_PWM
191 select SAMSUNG_DEV_TS
193 Machine support for the Samsung SMDK6410
195 # At least some of the SMDK6410s were shipped with the card detect
196 # for the MMC/SD slots connected to the same input. This means that
197 # either the boards need to be altered to have channel0 to an alternate
198 # configuration or that only one slot can be used.
201 prompt "SMDK6410 MMC/SD slot setup"
202 depends on MACH_SMDK6410
204 config SMDK6410_SD_CH0
205 bool "Use channel 0 only"
206 depends on MACH_SMDK6410
208 Select CON7 (channel 0) as the MMC/SD slot, as
209 at least some SMDK6410 boards come with the
210 resistors fitted so that the card detects for
211 channels 0 and 1 are the same.
213 config SMDK6410_SD_CH1
214 bool "Use channel 1 only"
215 depends on MACH_SMDK6410
217 Select CON6 (channel 1) as the MMC/SD slot, as
218 at least some SMDK6410 boards come with the
219 resistors fitted so that the card detects for
220 channels 0 and 1 are the same.
224 config SMDK6410_WM1190_EV1
225 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
226 depends on MACH_SMDK6410
228 select MFD_WM8350_I2C
230 select REGULATOR_WM8350
232 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
233 and audio daughtercard for the Samsung SMDK6410 reference
234 platform. Enabling this option will build support for this
235 module into the kernel. The presence of the module will be
236 detected at runtime so the resulting kernel can be used
237 with or without the 1190-EV1 fitted.
239 config SMDK6410_WM1192_EV1
240 bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
241 depends on MACH_SMDK6410
244 select MFD_WM831X_I2C
246 select REGULATOR_WM831X
248 The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
249 daughtercard for the Samsung SMDK6410 reference platform.
250 Enabling this option will build support for this module into
251 the kernel. The presence of the daughtercard will be
252 detected at runtime so the resulting kernel can be used
253 with or without the 1192-EV1 fitted.
259 select S3C64XX_SETUP_I2C1
260 select S3C_DEV_HSMMC1
263 Machine support for the Samsung NCP
269 select S3C64XX_SETUP_FB_24BPP
272 select S3C_DEV_USB_HOST
273 select SAMSUNG_DEV_PWM
275 Machine support for the Airgoo HMT
280 select S3C64XX_SETUP_FB_24BPP
281 select S3C64XX_SETUP_SDHCI
282 select S3C64XX_SETUP_USB_PHY
285 select S3C_DEV_HSMMC1
286 select S3C_DEV_HSMMC2
289 select S3C_DEV_USB_HOST
290 select S3C_DEV_USB_HSOTG
291 select SAMSUNG_DEV_ADC
292 select SAMSUNG_DEV_PWM
293 select SAMSUNG_DEV_TS
295 Shared machine support for SmartQ 5/7
302 Machine support for the SmartQ 5
309 Machine support for the SmartQ 7
311 config MACH_WLF_CRAGG_6410
312 bool "Wolfson Cragganmore 6410"
316 select LEDS_GPIO_REGISTER
317 select S3C64XX_DEV_SPI0
318 select S3C64XX_SETUP_FB_24BPP
319 select S3C64XX_SETUP_I2C1
320 select S3C64XX_SETUP_IDE
321 select S3C64XX_SETUP_KEYPAD
322 select S3C64XX_SETUP_SDHCI
323 select S3C64XX_SETUP_SPI
324 select S3C64XX_SETUP_USB_PHY
327 select S3C_DEV_HSMMC1
328 select S3C_DEV_HSMMC2
331 select S3C_DEV_USB_HOST
332 select S3C_DEV_USB_HSOTG
334 select SAMSUNG_DEV_ADC
335 select SAMSUNG_DEV_KEYPAD
336 select SAMSUNG_DEV_PWM
338 Machine support for the Wolfson Cragganmore S3C6410 variant.
340 config MACH_S3C64XX_DT
341 bool "Samsung S3C6400/S3C6410 machine using Device Tree"
345 select PINCTRL_S3C64XX
347 Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
349 Select this if a fdt blob is available for your S3C64XX SoC based
351 Note: This is under development and not all peripherals can be
352 supported with this machine file.