# SPDX-License-Identifier: GPL-2.0
#
# Copyright 2008 Openmoko, Inc.
# Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
menuconfig [31mCONFIG_ARCH_S3C64XX[0m
bool "Samsung S3C64XX"
depends on [31mCONFIG_ARCH_MULTI_V6[0m
select [31mCONFIG_ARM_AMBA[0m
select [31mCONFIG_ARM_VIC[0m
select [31mCONFIG_CLKSRC_SAMSUNG_PWM[0m
select [31mCONFIG_COMMON_CLK_SAMSUNG[0m
select [31mCONFIG_GPIO_SAMSUNG[0m if [31mCONFIG_ATAGS[0m
select [31mCONFIG_GPIOLIB[0m
select [31mCONFIG_HAVE_S3C2410_I2C[0m if [31mCONFIG_I2C[0m
select [31mCONFIG_HAVE_S3C2410_WATCHDOG[0m if [31mCONFIG_WATCHDOG[0m
select [31mCONFIG_HAVE_TCM[0m
select [31mCONFIG_PLAT_SAMSUNG[0m
select [31mCONFIG_PM_GENERIC_DOMAINS[0m if [31mCONFIG_PM[0m
select [31mCONFIG_S3C_DEV_NAND[0m if [31mCONFIG_ATAGS[0m
select [31mCONFIG_S3C_GPIO_TRACK[0m if [31mCONFIG_ATAGS[0m
select [31mCONFIG_SAMSUNG_ATAGS[0m if [31mCONFIG_ATAGS[0m
select [31mCONFIG_SAMSUNG_WAKEMASK[0m if [31mCONFIG_PM[0m
select [31mCONFIG_SAMSUNG_WDT_RESET[0m
help
Samsung S3C64XX series based systems
if [31mCONFIG_ARCH_S3C64XX[0m
# Configuration options for the S3C6410 CPU
config [31mCONFIG_CPU_S3C6400[0m
bool
help
Enable S3C6400 CPU support
config [31mCONFIG_CPU_S3C6410[0m
bool
help
Enable S3C6410 CPU support
config [31mCONFIG_S3C64XX_PL080[0m
def_bool [31mCONFIG_DMADEVICES[0m
select [31mCONFIG_AMBA_PL08X[0m
config [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
bool
select [31mCONFIG_S3C64XX_SETUP_SDHCI_GPIO[0m
help
Internal configuration for default SDHCI setup for S3C6400 and
S3C6410 SoCs.
config [31mCONFIG_S3C64XX_DEV_ONENAND1[0m
bool
help
Compile in platform device definition for OneNAND1 controller
config [31mCONFIG_SAMSUNG_DEV_BACKLIGHT[0m
bool
depends on [31mCONFIG_SAMSUNG_DEV_PWM[0m
help
Compile in platform device definition LCD backlight with [31mCONFIG_PWM[0m Timer
# platform specific device setup
config [31mCONFIG_S3C64XX_SETUP_I2C0[0m
bool
default y
help
Common setup code for i2c bus 0.
Note, currently since i2c0 is always compiled, this setup helper
is always compiled with it.
config [31mCONFIG_S3C64XX_SETUP_I2C1[0m
bool
help
Common setup code for i2c bus 1.
config [31mCONFIG_S3C64XX_SETUP_IDE[0m
bool
help
Common setup code for S3C64XX [31mCONFIG_IDE[0m.
config [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
bool
help
Common setup code for S3C64XX with an 24bpp RGB display helper.
config [31mCONFIG_S3C64XX_SETUP_KEYPAD[0m
bool
help
Common setup code for S3C64XX KEYPAD GPIO configurations
config [31mCONFIG_S3C64XX_SETUP_SDHCI_GPIO[0m
bool
help
Common setup code for S3C64XX SDHCI GPIO configurations
config [31mCONFIG_S3C64XX_SETUP_SPI[0m
bool
help
Common setup code for [31mCONFIG_SPI[0m GPIO configurations
config [31mCONFIG_S3C64XX_SETUP_USB_PHY[0m
bool
help
Common setup code for [31mCONFIG_USB[0m PHY controller
# S36400 Macchine support
config [31mCONFIG_MACH_SMDK6400[0m
bool "SMDK6400"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6400[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
help
Machine support for the Samsung SMDK6400
# S3C6410 machine support
config [31mCONFIG_MACH_ANW6410[0m
bool "A&W6410"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C_DEV_FB[0m
help
Machine support for the [31mCONFIG_A[0m&W6410
config [31mCONFIG_MACH_MINI6410[0m
bool "MINI6410"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_HSMMC[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_NAND[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_SAMSUNG_DEV_ADC[0m
select [31mCONFIG_SAMSUNG_DEV_TS[0m
help
Machine support for the FriendlyARM MINI6410
config [31mCONFIG_MACH_REAL6410[0m
bool "REAL6410"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_HSMMC[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_NAND[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_SAMSUNG_DEV_ADC[0m
select [31mCONFIG_SAMSUNG_DEV_TS[0m
help
Machine support for the CoreWind REAL6410
config [31mCONFIG_MACH_SMDK6410[0m
bool "SMDK6410"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_HAVE_S3C2410_WATCHDOG[0m if [31mCONFIG_WATCHDOG[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C64XX_SETUP_I2C1[0m
select [31mCONFIG_S3C64XX_SETUP_IDE[0m
select [31mCONFIG_S3C64XX_SETUP_KEYPAD[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C64XX_SETUP_USB_PHY[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_HSMMC[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_I2C1[0m
select [31mCONFIG_S3C_DEV_RTC[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_S3C_DEV_USB_HSOTG[0m
select [31mCONFIG_S3C_DEV_WDT[0m
select [31mCONFIG_SAMSUNG_DEV_ADC[0m
select [31mCONFIG_SAMSUNG_DEV_BACKLIGHT[0m
select [31mCONFIG_SAMSUNG_DEV_IDE[0m
select [31mCONFIG_SAMSUNG_DEV_KEYPAD[0m
select [31mCONFIG_SAMSUNG_DEV_PWM[0m
select [31mCONFIG_SAMSUNG_DEV_TS[0m
help
Machine support for the Samsung SMDK6410
# At least some of the SMDK6410s were shipped with the card detect
# for the [31mCONFIG_MMC[0m/SD slots connected to the same input. This means that
# either the boards need to be altered to have channel0 to an alternate
# configuration or that only one slot can be used.
choice
prompt "SMDK6410 MMC/SD slot setup"
depends on [31mCONFIG_MACH_SMDK6410[0m
config [31mCONFIG_SMDK6410_SD_CH0[0m
bool "Use channel 0 only"
depends on [31mCONFIG_MACH_SMDK6410[0m
help
Select CON7 (channel 0) as the [31mCONFIG_MMC[0m/SD slot, as
at least some SMDK6410 boards come with the
resistors fitted so that the card detects for
channels 0 and 1 are the same.
config [31mCONFIG_SMDK6410_SD_CH1[0m
bool "Use channel 1 only"
depends on [31mCONFIG_MACH_SMDK6410[0m
help
Select CON6 (channel 1) as the [31mCONFIG_MMC[0m/SD slot, as
at least some SMDK6410 boards come with the
resistors fitted so that the card detects for
channels 0 and 1 are the same.
endchoice
config [31mCONFIG_SMDK6410_WM1190_EV1[0m
bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
depends on [31mCONFIG_MACH_SMDK6410[0m
depends on [31mCONFIG_I2C[0m=y
select [31mCONFIG_MFD_WM8350_I2C[0m
select [31mCONFIG_REGULATOR[0m
select [31mCONFIG_REGULATOR_WM8350[0m
help
The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
and audio daughtercard for the Samsung SMDK6410 reference
platform. Enabling this option will build support for this
module into the kernel. The presence of the module will be
detected at runtime so the resulting kernel can be used
with or without the 1190-EV1 fitted.
config [31mCONFIG_SMDK6410_WM1192_EV1[0m
bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
depends on [31mCONFIG_MACH_SMDK6410[0m
depends on [31mCONFIG_I2C[0m=y
select [31mCONFIG_MFD_WM831X[0m
select [31mCONFIG_MFD_WM831X_I2C[0m
select [31mCONFIG_REGULATOR[0m
select [31mCONFIG_REGULATOR_WM831X[0m
help
The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
daughtercard for the Samsung SMDK6410 reference platform.
Enabling this option will build support for this module into
the kernel. The presence of the daughtercard will be
detected at runtime so the resulting kernel can be used
with or without the 1192-EV1 fitted.
config [31mCONFIG_MACH_NCP[0m
bool "NCP"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_I2C1[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_I2C1[0m
help
Machine support for the Samsung NCP
config [31mCONFIG_MACH_HMT[0m
bool "Airgoo HMT"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_NAND[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_SAMSUNG_DEV_PWM[0m
help
Machine support for the Airgoo HMT
config [31mCONFIG_MACH_SMARTQ[0m
bool
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C64XX_SETUP_USB_PHY[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_HSMMC[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_HSMMC2[0m
select [31mCONFIG_S3C_DEV_HWMON[0m
select [31mCONFIG_S3C_DEV_RTC[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_S3C_DEV_USB_HSOTG[0m
select [31mCONFIG_SAMSUNG_DEV_ADC[0m
select [31mCONFIG_SAMSUNG_DEV_PWM[0m
select [31mCONFIG_SAMSUNG_DEV_TS[0m
help
Shared machine support for SmartQ 5/7
config [31mCONFIG_MACH_SMARTQ5[0m
bool "SmartQ 5"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_MACH_SMARTQ[0m
help
Machine support for the SmartQ 5
config [31mCONFIG_MACH_SMARTQ7[0m
bool "SmartQ 7"
depends on [31mCONFIG_ATAGS[0m
select [31mCONFIG_MACH_SMARTQ[0m
help
Machine support for the SmartQ 7
config [31mCONFIG_MACH_WLF_CRAGG_6410[0m
bool "Wolfson Cragganmore 6410"
depends on [31mCONFIG_ATAGS[0m
depends on [31mCONFIG_I2C[0m=y
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_LEDS_GPIO_REGISTER[0m
select [31mCONFIG_S3C64XX_DEV_SPI0[0m
select [31mCONFIG_S3C64XX_SETUP_FB_24BPP[0m
select [31mCONFIG_S3C64XX_SETUP_I2C1[0m
select [31mCONFIG_S3C64XX_SETUP_IDE[0m
select [31mCONFIG_S3C64XX_SETUP_KEYPAD[0m
select [31mCONFIG_S3C64XX_SETUP_SDHCI[0m
select [31mCONFIG_S3C64XX_SETUP_SPI[0m
select [31mCONFIG_S3C64XX_SETUP_USB_PHY[0m
select [31mCONFIG_S3C_DEV_FB[0m
select [31mCONFIG_S3C_DEV_HSMMC[0m
select [31mCONFIG_S3C_DEV_HSMMC1[0m
select [31mCONFIG_S3C_DEV_HSMMC2[0m
select [31mCONFIG_S3C_DEV_I2C1[0m
select [31mCONFIG_S3C_DEV_RTC[0m
select [31mCONFIG_S3C_DEV_USB_HOST[0m
select [31mCONFIG_S3C_DEV_USB_HSOTG[0m
select [31mCONFIG_S3C_DEV_WDT[0m
select [31mCONFIG_SAMSUNG_DEV_ADC[0m
select [31mCONFIG_SAMSUNG_DEV_KEYPAD[0m
select [31mCONFIG_SAMSUNG_DEV_PWM[0m
help
Machine support for the Wolfson Cragganmore S3C6410 variant.
config [31mCONFIG_MACH_S3C64XX_DT[0m
bool "Samsung S3C6400/S3C6410 machine using Device Tree"
select [31mCONFIG_TIMER_OF[0m
select [31mCONFIG_CPU_S3C6400[0m
select [31mCONFIG_CPU_S3C6410[0m
select [31mCONFIG_PINCTRL[0m
select [31mCONFIG_PINCTRL_S3C64XX[0m
help
Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
enabled.
Select this if a fdt blob is available for your S3C64XX SoC based
board.
Note: This is under development and not all peripherals can be
supported with this machine file.
endif