1# SPDX-License-Identifier: GPL-2.0 2# 3# Copyright 2008 Openmoko, Inc. 4# Simtec Electronics, Ben Dooks <ben@simtec.co.uk> 5 6menuconfig ARCH_S3C64XX 7 bool "Samsung S3C64XX (deprecated, see help)" 8 depends on ARCH_MULTI_V6 9 select ARM_AMBA 10 select ARM_VIC 11 select CLKSRC_SAMSUNG_PWM 12 select COMMON_CLK_SAMSUNG 13 select GPIO_SAMSUNG if ATAGS 14 select GPIOLIB 15 select HAVE_TCM 16 select PLAT_SAMSUNG 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 23 select WATCHDOG 24 help 25 Samsung S3C64XX series based systems 26 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 29 you still use it. 30 Without such feedback, the platform will be removed after 2024. 31 32if ARCH_S3C64XX 33 34# Configuration options for the S3C6410 CPU 35 36config CPU_S3C6400 37 bool 38 help 39 Enable S3C6400 CPU support 40 41config CPU_S3C6410 42 bool 43 help 44 Enable S3C6410 CPU support 45 46config S3C64XX_PL080 47 def_bool DMADEVICES 48 select AMBA_PL08X 49 50config S3C64XX_SETUP_SDHCI 51 bool 52 select S3C64XX_SETUP_SDHCI_GPIO 53 help 54 Internal configuration for default SDHCI setup for S3C6400 and 55 S3C6410 SoCs. 56 57# platform specific device setup 58 59config S3C64XX_SETUP_I2C0 60 bool 61 default y 62 help 63 Common setup code for i2c bus 0. 64 65 Note, currently since i2c0 is always compiled, this setup helper 66 is always compiled with it. 67 68config S3C64XX_SETUP_I2C1 69 bool 70 help 71 Common setup code for i2c bus 1. 72 73config S3C64XX_SETUP_IDE 74 bool 75 help 76 Common setup code for S3C64XX IDE. 77 78config S3C64XX_SETUP_FB_24BPP 79 bool 80 help 81 Common setup code for S3C64XX with an 24bpp RGB display helper. 82 83config S3C64XX_SETUP_KEYPAD 84 bool 85 help 86 Common setup code for S3C64XX KEYPAD GPIO configurations 87 88config S3C64XX_SETUP_SDHCI_GPIO 89 bool 90 help 91 Common setup code for S3C64XX SDHCI GPIO configurations 92 93config S3C64XX_SETUP_SPI 94 bool 95 help 96 Common setup code for SPI GPIO configurations 97 98config S3C64XX_SETUP_USB_PHY 99 bool 100 help 101 Common setup code for USB PHY controller 102 103# S36400 Macchine support 104 105config MACH_WLF_CRAGG_6410 106 bool "Wolfson Cragganmore 6410" 107 depends on ATAGS 108 depends on I2C=y 109 select CPU_S3C6410 110 select LEDS_GPIO_REGISTER 111 select S3C64XX_DEV_SPI0 112 select S3C64XX_SETUP_FB_24BPP 113 select S3C64XX_SETUP_I2C1 114 select S3C64XX_SETUP_IDE 115 select S3C64XX_SETUP_KEYPAD 116 select S3C64XX_SETUP_SDHCI 117 select S3C64XX_SETUP_SPI 118 select S3C64XX_SETUP_USB_PHY 119 select S3C_DEV_FB 120 select S3C_DEV_HSMMC 121 select S3C_DEV_HSMMC1 122 select S3C_DEV_HSMMC2 123 select S3C_DEV_I2C1 124 select S3C_DEV_RTC 125 select S3C_DEV_USB_HOST 126 select S3C_DEV_USB_HSOTG 127 select S3C_DEV_WDT 128 select SAMSUNG_DEV_KEYPAD 129 select SAMSUNG_DEV_PWM 130 help 131 Machine support for the Wolfson Cragganmore S3C6410 variant. 132 133config MACH_S3C64XX_DT 134 bool "Samsung S3C6400/S3C6410 machine using Device Tree" 135 select CPU_S3C6400 136 select CPU_S3C6410 137 select PINCTRL 138 select PINCTRL_S3C64XX 139 help 140 Machine support for Samsung S3C6400/S3C6410 machines with Device Tree 141 enabled. 142 Select this if a fdt blob is available for your S3C64XX SoC based 143 board. 144 Note: This is under development and not all peripherals can be 145 supported with this machine file. 146 147endif 148