171b9114dSArnd Bergmann# SPDX-License-Identifier: GPL-2.0 271b9114dSArnd Bergmann# 371b9114dSArnd Bergmann# Copyright 2008 Openmoko, Inc. 471b9114dSArnd Bergmann# Simtec Electronics, Ben Dooks <ben@simtec.co.uk> 571b9114dSArnd Bergmann 671b9114dSArnd Bergmannmenuconfig ARCH_S3C64XX 7*6a5e69c7SKrzysztof Kozlowski bool "Samsung S3C64XX (deprecated, see help)" 871b9114dSArnd Bergmann depends on ARCH_MULTI_V6 971b9114dSArnd Bergmann select ARM_AMBA 1071b9114dSArnd Bergmann select ARM_VIC 1171b9114dSArnd Bergmann select CLKSRC_SAMSUNG_PWM 1271b9114dSArnd Bergmann select COMMON_CLK_SAMSUNG 1371b9114dSArnd Bergmann select GPIO_SAMSUNG if ATAGS 1471b9114dSArnd Bergmann select GPIOLIB 1571b9114dSArnd Bergmann select HAVE_TCM 1671b9114dSArnd Bergmann select PLAT_SAMSUNG 1771b9114dSArnd Bergmann select PM_GENERIC_DOMAINS if PM 1871b9114dSArnd Bergmann select S3C_GPIO_TRACK if ATAGS 1971b9114dSArnd Bergmann select S3C2410_WATCHDOG 2071b9114dSArnd Bergmann select SAMSUNG_ATAGS if ATAGS 2171b9114dSArnd Bergmann select SAMSUNG_WAKEMASK if PM 2271b9114dSArnd Bergmann select WATCHDOG 2371b9114dSArnd Bergmann help 2471b9114dSArnd Bergmann Samsung S3C64XX series based systems 2571b9114dSArnd Bergmann 26*6a5e69c7SKrzysztof Kozlowski The platform is deprecated and scheduled for removal. Please reach to 27*6a5e69c7SKrzysztof Kozlowski the maintainers of the platform and linux-samsung-soc@vger.kernel.org if 28*6a5e69c7SKrzysztof Kozlowski you still use it. 29*6a5e69c7SKrzysztof Kozlowski Without such feedback, the platform will be removed after 2024. 30*6a5e69c7SKrzysztof Kozlowski 3171b9114dSArnd Bergmannif ARCH_S3C64XX 3271b9114dSArnd Bergmann 3371b9114dSArnd Bergmann# Configuration options for the S3C6410 CPU 3471b9114dSArnd Bergmann 3571b9114dSArnd Bergmannconfig CPU_S3C6400 3671b9114dSArnd Bergmann bool 3771b9114dSArnd Bergmann help 3871b9114dSArnd Bergmann Enable S3C6400 CPU support 3971b9114dSArnd Bergmann 4071b9114dSArnd Bergmannconfig CPU_S3C6410 4171b9114dSArnd Bergmann bool 4271b9114dSArnd Bergmann help 4371b9114dSArnd Bergmann Enable S3C6410 CPU support 4471b9114dSArnd Bergmann 4571b9114dSArnd Bergmannconfig S3C64XX_PL080 4671b9114dSArnd Bergmann def_bool DMADEVICES 4771b9114dSArnd Bergmann select AMBA_PL08X 4871b9114dSArnd Bergmann 4971b9114dSArnd Bergmannconfig S3C64XX_SETUP_SDHCI 5071b9114dSArnd Bergmann bool 5171b9114dSArnd Bergmann select S3C64XX_SETUP_SDHCI_GPIO 5271b9114dSArnd Bergmann help 5371b9114dSArnd Bergmann Internal configuration for default SDHCI setup for S3C6400 and 5471b9114dSArnd Bergmann S3C6410 SoCs. 5571b9114dSArnd Bergmann 5671b9114dSArnd Bergmann# platform specific device setup 5771b9114dSArnd Bergmann 5871b9114dSArnd Bergmannconfig S3C64XX_SETUP_I2C0 5971b9114dSArnd Bergmann bool 6071b9114dSArnd Bergmann default y 6171b9114dSArnd Bergmann help 6271b9114dSArnd Bergmann Common setup code for i2c bus 0. 6371b9114dSArnd Bergmann 6471b9114dSArnd Bergmann Note, currently since i2c0 is always compiled, this setup helper 6571b9114dSArnd Bergmann is always compiled with it. 6671b9114dSArnd Bergmann 6771b9114dSArnd Bergmannconfig S3C64XX_SETUP_I2C1 6871b9114dSArnd Bergmann bool 6971b9114dSArnd Bergmann help 7071b9114dSArnd Bergmann Common setup code for i2c bus 1. 7171b9114dSArnd Bergmann 7271b9114dSArnd Bergmannconfig S3C64XX_SETUP_FB_24BPP 7371b9114dSArnd Bergmann bool 7471b9114dSArnd Bergmann help 7571b9114dSArnd Bergmann Common setup code for S3C64XX with an 24bpp RGB display helper. 7671b9114dSArnd Bergmann 7771b9114dSArnd Bergmannconfig S3C64XX_SETUP_KEYPAD 7871b9114dSArnd Bergmann bool 7971b9114dSArnd Bergmann help 8071b9114dSArnd Bergmann Common setup code for S3C64XX KEYPAD GPIO configurations 8171b9114dSArnd Bergmann 8271b9114dSArnd Bergmannconfig S3C64XX_SETUP_SDHCI_GPIO 8371b9114dSArnd Bergmann bool 8471b9114dSArnd Bergmann help 8571b9114dSArnd Bergmann Common setup code for S3C64XX SDHCI GPIO configurations 8671b9114dSArnd Bergmann 8771b9114dSArnd Bergmannconfig S3C64XX_SETUP_SPI 8871b9114dSArnd Bergmann bool 8971b9114dSArnd Bergmann help 9071b9114dSArnd Bergmann Common setup code for SPI GPIO configurations 9171b9114dSArnd Bergmann 9271b9114dSArnd Bergmannconfig S3C64XX_SETUP_USB_PHY 9371b9114dSArnd Bergmann bool 9471b9114dSArnd Bergmann help 9571b9114dSArnd Bergmann Common setup code for USB PHY controller 9671b9114dSArnd Bergmann 9771b9114dSArnd Bergmann# S36400 Macchine support 9871b9114dSArnd Bergmann 9971b9114dSArnd Bergmannconfig MACH_WLF_CRAGG_6410 10071b9114dSArnd Bergmann bool "Wolfson Cragganmore 6410" 10171b9114dSArnd Bergmann depends on ATAGS 10271b9114dSArnd Bergmann depends on I2C=y 10371b9114dSArnd Bergmann select CPU_S3C6410 10471b9114dSArnd Bergmann select LEDS_GPIO_REGISTER 10571b9114dSArnd Bergmann select S3C64XX_DEV_SPI0 10671b9114dSArnd Bergmann select S3C64XX_SETUP_FB_24BPP 10771b9114dSArnd Bergmann select S3C64XX_SETUP_I2C1 10871b9114dSArnd Bergmann select S3C64XX_SETUP_KEYPAD 10971b9114dSArnd Bergmann select S3C64XX_SETUP_SDHCI 11071b9114dSArnd Bergmann select S3C64XX_SETUP_SPI 11171b9114dSArnd Bergmann select S3C64XX_SETUP_USB_PHY 11271b9114dSArnd Bergmann select S3C_DEV_FB 11371b9114dSArnd Bergmann select S3C_DEV_HSMMC 11471b9114dSArnd Bergmann select S3C_DEV_HSMMC1 11571b9114dSArnd Bergmann select S3C_DEV_HSMMC2 11671b9114dSArnd Bergmann select S3C_DEV_I2C1 11771b9114dSArnd Bergmann select S3C_DEV_USB_HOST 11871b9114dSArnd Bergmann select S3C_DEV_USB_HSOTG 11971b9114dSArnd Bergmann select SAMSUNG_DEV_KEYPAD 12071b9114dSArnd Bergmann select SAMSUNG_DEV_PWM 12171b9114dSArnd Bergmann help 12271b9114dSArnd Bergmann Machine support for the Wolfson Cragganmore S3C6410 variant. 12371b9114dSArnd Bergmann 12471b9114dSArnd Bergmannconfig MACH_S3C64XX_DT 12571b9114dSArnd Bergmann bool "Samsung S3C6400/S3C6410 machine using Device Tree" 12671b9114dSArnd Bergmann select CPU_S3C6400 12771b9114dSArnd Bergmann select CPU_S3C6410 12871b9114dSArnd Bergmann select PINCTRL 12971b9114dSArnd Bergmann select PINCTRL_S3C64XX 13071b9114dSArnd Bergmann help 13171b9114dSArnd Bergmann Machine support for Samsung S3C6400/S3C6410 machines with Device Tree 13271b9114dSArnd Bergmann enabled. 13371b9114dSArnd Bergmann Select this if a fdt blob is available for your S3C64XX SoC based 13471b9114dSArnd Bergmann board. 13571b9114dSArnd Bergmann Note: This is under development and not all peripherals can be 13671b9114dSArnd Bergmann supported with this machine file. 13771b9114dSArnd Bergmann 13871b9114dSArnd Bergmannendif 139