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_GPIO_TRACK if ATAGS 19 select S3C2410_WATCHDOG 20 select SAMSUNG_ATAGS if ATAGS 21 select SAMSUNG_WAKEMASK if PM 22 select WATCHDOG 23 help 24 Samsung S3C64XX series based systems 25 26 The platform is deprecated and scheduled for removal. Please reach to 27 the maintainers of the platform and linux-samsung-soc@vger.kernel.org if 28 you still use it. 29 Without such feedback, the platform will be removed after 2024. 30 31if ARCH_S3C64XX 32 33# Configuration options for the S3C6410 CPU 34 35config CPU_S3C6400 36 bool 37 help 38 Enable S3C6400 CPU support 39 40config CPU_S3C6410 41 bool 42 help 43 Enable S3C6410 CPU support 44 45config S3C64XX_PL080 46 def_bool DMADEVICES 47 select AMBA_PL08X 48 49config S3C64XX_SETUP_SDHCI 50 bool 51 select S3C64XX_SETUP_SDHCI_GPIO 52 help 53 Internal configuration for default SDHCI setup for S3C6400 and 54 S3C6410 SoCs. 55 56# platform specific device setup 57 58config S3C64XX_SETUP_I2C0 59 bool 60 default y 61 help 62 Common setup code for i2c bus 0. 63 64 Note, currently since i2c0 is always compiled, this setup helper 65 is always compiled with it. 66 67config S3C64XX_SETUP_I2C1 68 bool 69 help 70 Common setup code for i2c bus 1. 71 72config S3C64XX_SETUP_IDE 73 bool 74 help 75 Common setup code for S3C64XX IDE. 76 77config S3C64XX_SETUP_FB_24BPP 78 bool 79 help 80 Common setup code for S3C64XX with an 24bpp RGB display helper. 81 82config S3C64XX_SETUP_KEYPAD 83 bool 84 help 85 Common setup code for S3C64XX KEYPAD GPIO configurations 86 87config S3C64XX_SETUP_SDHCI_GPIO 88 bool 89 help 90 Common setup code for S3C64XX SDHCI GPIO configurations 91 92config S3C64XX_SETUP_SPI 93 bool 94 help 95 Common setup code for SPI GPIO configurations 96 97config S3C64XX_SETUP_USB_PHY 98 bool 99 help 100 Common setup code for USB PHY controller 101 102# S36400 Macchine support 103 104config MACH_WLF_CRAGG_6410 105 bool "Wolfson Cragganmore 6410" 106 depends on ATAGS 107 depends on I2C=y 108 select CPU_S3C6410 109 select LEDS_GPIO_REGISTER 110 select S3C64XX_DEV_SPI0 111 select S3C64XX_SETUP_FB_24BPP 112 select S3C64XX_SETUP_I2C1 113 select S3C64XX_SETUP_IDE 114 select S3C64XX_SETUP_KEYPAD 115 select S3C64XX_SETUP_SDHCI 116 select S3C64XX_SETUP_SPI 117 select S3C64XX_SETUP_USB_PHY 118 select S3C_DEV_FB 119 select S3C_DEV_HSMMC 120 select S3C_DEV_HSMMC1 121 select S3C_DEV_HSMMC2 122 select S3C_DEV_I2C1 123 select S3C_DEV_USB_HOST 124 select S3C_DEV_USB_HSOTG 125 select SAMSUNG_DEV_KEYPAD 126 select SAMSUNG_DEV_PWM 127 help 128 Machine support for the Wolfson Cragganmore S3C6410 variant. 129 130config MACH_S3C64XX_DT 131 bool "Samsung S3C6400/S3C6410 machine using Device Tree" 132 select CPU_S3C6400 133 select CPU_S3C6410 134 select PINCTRL 135 select PINCTRL_S3C64XX 136 help 137 Machine support for Samsung S3C6400/S3C6410 machines with Device Tree 138 enabled. 139 Select this if a fdt blob is available for your S3C64XX SoC based 140 board. 141 Note: This is under development and not all peripherals can be 142 supported with this machine file. 143 144endif 145