18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Copyright (c) 2012 Samsung Electronics Co., Ltd.
48c2ecf20Sopenharmony_ci#		http://www.samsung.com/
58c2ecf20Sopenharmony_ci#
68c2ecf20Sopenharmony_ci# Copyright 2007 Simtec Electronics
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciif ARCH_S3C24XX
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciconfig PLAT_S3C24XX
118c2ecf20Sopenharmony_ci	def_bool y
128c2ecf20Sopenharmony_ci	select GPIOLIB
138c2ecf20Sopenharmony_ci	select NO_IOPORT_MAP
148c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
158c2ecf20Sopenharmony_ci	select IRQ_DOMAIN
168c2ecf20Sopenharmony_ci	select COMMON_CLK
178c2ecf20Sopenharmony_ci	help
188c2ecf20Sopenharmony_ci	  Base platform code for any Samsung S3C24XX device
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cimenu "Samsung S3C24XX SoCs Support"
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_cicomment "S3C24XX SoCs"
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig CPU_S3C2410
278c2ecf20Sopenharmony_ci	bool "Samsung S3C2410"
288c2ecf20Sopenharmony_ci	default y
298c2ecf20Sopenharmony_ci	select CPU_ARM920T
308c2ecf20Sopenharmony_ci	select S3C2410_COMMON_CLK
318c2ecf20Sopenharmony_ci	select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
328c2ecf20Sopenharmony_ci	select S3C2410_PM if PM
338c2ecf20Sopenharmony_ci	help
348c2ecf20Sopenharmony_ci	  Support for S3C2410 and S3C2410A family from the S3C24XX line
358c2ecf20Sopenharmony_ci	  of Samsung Mobile CPUs.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig CPU_S3C2412
388c2ecf20Sopenharmony_ci	bool "Samsung S3C2412"
398c2ecf20Sopenharmony_ci	select CPU_ARM926T
408c2ecf20Sopenharmony_ci	select S3C2412_COMMON_CLK
418c2ecf20Sopenharmony_ci	select S3C2412_PM if PM_SLEEP
428c2ecf20Sopenharmony_ci	help
438c2ecf20Sopenharmony_ci	  Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig CPU_S3C2416
468c2ecf20Sopenharmony_ci	bool "Samsung S3C2416/S3C2450"
478c2ecf20Sopenharmony_ci	select CPU_ARM926T
488c2ecf20Sopenharmony_ci	select S3C2416_PM if PM_SLEEP
498c2ecf20Sopenharmony_ci	select S3C2443_COMMON_CLK
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  Support for the S3C2416 SoC from the S3C24XX line
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciconfig CPU_S3C2440
548c2ecf20Sopenharmony_ci	bool "Samsung S3C2440"
558c2ecf20Sopenharmony_ci	select CPU_ARM920T
568c2ecf20Sopenharmony_ci	select S3C2410_COMMON_CLK
578c2ecf20Sopenharmony_ci	select S3C2410_PM if PM_SLEEP
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Support for S3C2440 Samsung Mobile CPU based systems.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig CPU_S3C2442
628c2ecf20Sopenharmony_ci	bool "Samsung S3C2442"
638c2ecf20Sopenharmony_ci	select CPU_ARM920T
648c2ecf20Sopenharmony_ci	select S3C2410_COMMON_CLK
658c2ecf20Sopenharmony_ci	select S3C2410_PM if PM_SLEEP
668c2ecf20Sopenharmony_ci	help
678c2ecf20Sopenharmony_ci	  Support for S3C2442 Samsung Mobile CPU based systems.
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ciconfig CPU_S3C244X
708c2ecf20Sopenharmony_ci	def_bool y
718c2ecf20Sopenharmony_ci	depends on CPU_S3C2440 || CPU_S3C2442
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ciconfig CPU_S3C2443
748c2ecf20Sopenharmony_ci	bool "Samsung S3C2443"
758c2ecf20Sopenharmony_ci	select CPU_ARM920T
768c2ecf20Sopenharmony_ci	select S3C2443_COMMON_CLK
778c2ecf20Sopenharmony_ci	help
788c2ecf20Sopenharmony_ci	  Support for the S3C2443 SoC from the S3C24XX line
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci# common code
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ciconfig S3C24XX_SMDK
838c2ecf20Sopenharmony_ci	bool
848c2ecf20Sopenharmony_ci	help
858c2ecf20Sopenharmony_ci	  Common machine code for SMDK2410 and SMDK2440
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ciconfig S3C24XX_SIMTEC_AUDIO
888c2ecf20Sopenharmony_ci	bool
898c2ecf20Sopenharmony_ci	depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
908c2ecf20Sopenharmony_ci	default y
918c2ecf20Sopenharmony_ci	help
928c2ecf20Sopenharmony_ci	  Add audio devices for common Simtec S3C24XX boards
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ciconfig S3C24XX_SIMTEC_PM
958c2ecf20Sopenharmony_ci	bool
968c2ecf20Sopenharmony_ci	help
978c2ecf20Sopenharmony_ci	  Common power management code for systems that are
988c2ecf20Sopenharmony_ci	  compatible with the Simtec style of power management
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciconfig S3C24XX_SIMTEC_USB
1018c2ecf20Sopenharmony_ci	bool
1028c2ecf20Sopenharmony_ci	help
1038c2ecf20Sopenharmony_ci	  USB management code for common Simtec S3C24XX boards
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciconfig S3C24XX_SETUP_TS
1068c2ecf20Sopenharmony_ci	bool
1078c2ecf20Sopenharmony_ci	help
1088c2ecf20Sopenharmony_ci	  Compile in platform device definition for Samsung TouchScreen.
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ciconfig S3C2410_PM
1118c2ecf20Sopenharmony_ci	bool
1128c2ecf20Sopenharmony_ci	help
1138c2ecf20Sopenharmony_ci	  Power Management code common to S3C2410 and better
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ciconfig S3C24XX_PLL
1168c2ecf20Sopenharmony_ci	bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
1178c2ecf20Sopenharmony_ci	depends on ARM_S3C24XX_CPUFREQ
1188c2ecf20Sopenharmony_ci	help
1198c2ecf20Sopenharmony_ci	  Compile in support for changing the PLL frequency from the
1208c2ecf20Sopenharmony_ci	  S3C24XX series CPUfreq driver. The PLL takes time to settle
1218c2ecf20Sopenharmony_ci	  after a frequency change, so by default it is not enabled.
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ci	  This also means that the PLL tables for the selected CPU(s) will
1248c2ecf20Sopenharmony_ci	  be built which may increase the size of the kernel image.
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci# cpu frequency items common between s3c2410 and s3c2440/s3c2442
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig S3C2410_IOTIMING
1298c2ecf20Sopenharmony_ci	bool
1308c2ecf20Sopenharmony_ci	depends on ARM_S3C24XX_CPUFREQ
1318c2ecf20Sopenharmony_ci	help
1328c2ecf20Sopenharmony_ci	  Internal node to select io timing code that is common to the s3c2410
1338c2ecf20Sopenharmony_ci	  and s3c2440/s3c2442 cpu frequency support.
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ci# cpu frequency support common to s3c2412, s3c2413 and s3c2442
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ciconfig S3C2412_IOTIMING
1388c2ecf20Sopenharmony_ci	bool
1398c2ecf20Sopenharmony_ci	depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
1408c2ecf20Sopenharmony_ci	help
1418c2ecf20Sopenharmony_ci	  Intel node to select io timing code that is common to the s3c2412
1428c2ecf20Sopenharmony_ci	  and the s3c2443.
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci# cpu-specific sections
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ciif CPU_S3C2410
1478c2ecf20Sopenharmony_ci
1488c2ecf20Sopenharmony_ciconfig S3C2410_PLL
1498c2ecf20Sopenharmony_ci	bool
1508c2ecf20Sopenharmony_ci	depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
1518c2ecf20Sopenharmony_ci	default y
1528c2ecf20Sopenharmony_ci	help
1538c2ecf20Sopenharmony_ci	  Select the PLL table for the S3C2410
1548c2ecf20Sopenharmony_ci
1558c2ecf20Sopenharmony_ciconfig S3C24XX_SIMTEC_NOR
1568c2ecf20Sopenharmony_ci	bool
1578c2ecf20Sopenharmony_ci	help
1588c2ecf20Sopenharmony_ci	  Internal node to specify machine has simtec NOR mapping
1598c2ecf20Sopenharmony_ci
1608c2ecf20Sopenharmony_ciconfig MACH_BAST_IDE
1618c2ecf20Sopenharmony_ci	bool
1628c2ecf20Sopenharmony_ci	select HAVE_PATA_PLATFORM
1638c2ecf20Sopenharmony_ci	help
1648c2ecf20Sopenharmony_ci	  Internal node for machines with an BAST style IDE
1658c2ecf20Sopenharmony_ci	  interface
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_cicomment "S3C2410 Boards"
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci#
1708c2ecf20Sopenharmony_ci# The "S3C2410 Boards" list is ordered alphabetically by option text.
1718c2ecf20Sopenharmony_ci# (without ARCH_ or MACH_)
1728c2ecf20Sopenharmony_ci#
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ciconfig MACH_AML_M5900
1758c2ecf20Sopenharmony_ci	bool "AML M5900 Series"
1768c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_PM if PM
1778c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
1788c2ecf20Sopenharmony_ci	help
1798c2ecf20Sopenharmony_ci	  Say Y here if you are using the American Microsystems M5900 Series
1808c2ecf20Sopenharmony_ci	  <http://www.amltd.com>
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ciconfig ARCH_BAST
1838c2ecf20Sopenharmony_ci	bool "Simtec Electronics BAST (EB2410ITX)"
1848c2ecf20Sopenharmony_ci	select ISA
1858c2ecf20Sopenharmony_ci	select MACH_BAST_IDE
1868c2ecf20Sopenharmony_ci	select S3C2410_COMMON_DCLK
1878c2ecf20Sopenharmony_ci	select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
1888c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_NOR
1898c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_PM if PM
1908c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_USB
1918c2ecf20Sopenharmony_ci	select S3C_DEV_HWMON
1928c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
1938c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
1948c2ecf20Sopenharmony_ci	help
1958c2ecf20Sopenharmony_ci	  Say Y here if you are using the Simtec Electronics EB2410ITX
1968c2ecf20Sopenharmony_ci	  development board (also known as BAST)
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ciconfig BAST_PC104_IRQ
1998c2ecf20Sopenharmony_ci	bool "BAST PC104 IRQ support"
2008c2ecf20Sopenharmony_ci	depends on ARCH_BAST
2018c2ecf20Sopenharmony_ci	default y
2028c2ecf20Sopenharmony_ci	help
2038c2ecf20Sopenharmony_ci	  Say Y	here to enable the PC104 IRQ routing on the
2048c2ecf20Sopenharmony_ci	  Simtec BAST (EB2410ITX)
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ciconfig ARCH_H1940
2078c2ecf20Sopenharmony_ci	bool "IPAQ H1940"
2088c2ecf20Sopenharmony_ci	select PM_H1940 if PM
2098c2ecf20Sopenharmony_ci	select S3C24XX_SETUP_TS
2108c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
2118c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2128c2ecf20Sopenharmony_ci	help
2138c2ecf20Sopenharmony_ci	  Say Y here if you are using the HP IPAQ H1940
2148c2ecf20Sopenharmony_ci
2158c2ecf20Sopenharmony_ciconfig H1940BT
2168c2ecf20Sopenharmony_ci	tristate "Control the state of H1940 bluetooth chip"
2178c2ecf20Sopenharmony_ci	depends on ARCH_H1940
2188c2ecf20Sopenharmony_ci	depends on RFKILL
2198c2ecf20Sopenharmony_ci	help
2208c2ecf20Sopenharmony_ci	  This is a simple driver that is able to control
2218c2ecf20Sopenharmony_ci	  the state of built in bluetooth chip on h1940.
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ciconfig MACH_N30
2248c2ecf20Sopenharmony_ci	bool "Acer N30 family"
2258c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
2268c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2278c2ecf20Sopenharmony_ci	help
2288c2ecf20Sopenharmony_ci	  Say Y here if you want suppt for the Acer N30, Acer N35,
2298c2ecf20Sopenharmony_ci	  Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ciconfig MACH_OTOM
2328c2ecf20Sopenharmony_ci	bool "NexVision OTOM Board"
2338c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
2348c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2358c2ecf20Sopenharmony_ci	help
2368c2ecf20Sopenharmony_ci	  Say Y here if you are using the Nex Vision OTOM board
2378c2ecf20Sopenharmony_ci
2388c2ecf20Sopenharmony_ciconfig MACH_QT2410
2398c2ecf20Sopenharmony_ci	bool "QT2410"
2408c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
2418c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2428c2ecf20Sopenharmony_ci	help
2438c2ecf20Sopenharmony_ci	  Say Y here if you are using the Armzone QT2410
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ciconfig ARCH_SMDK2410
2468c2ecf20Sopenharmony_ci	bool "SMDK2410/A9M2410"
2478c2ecf20Sopenharmony_ci	select S3C24XX_SMDK
2488c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2498c2ecf20Sopenharmony_ci	help
2508c2ecf20Sopenharmony_ci	  Say Y here if you are using the SMDK2410 or the derived module A9M2410
2518c2ecf20Sopenharmony_ci	  <http://www.fsforth.de>
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ciconfig MACH_TCT_HAMMER
2548c2ecf20Sopenharmony_ci	bool "TCT Hammer Board"
2558c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2568c2ecf20Sopenharmony_ci	help
2578c2ecf20Sopenharmony_ci	  Say Y here if you are using the TinCanTools Hammer Board
2588c2ecf20Sopenharmony_ci	  <https://www.tincantools.com>
2598c2ecf20Sopenharmony_ci
2608c2ecf20Sopenharmony_ciconfig MACH_VR1000
2618c2ecf20Sopenharmony_ci	bool "Thorcom VR1000"
2628c2ecf20Sopenharmony_ci	select MACH_BAST_IDE
2638c2ecf20Sopenharmony_ci	select S3C2410_COMMON_DCLK
2648c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_NOR
2658c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_PM if PM
2668c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_USB
2678c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
2688c2ecf20Sopenharmony_ci	help
2698c2ecf20Sopenharmony_ci	  Say Y here if you are using the Thorcom VR1000 board.
2708c2ecf20Sopenharmony_ci
2718c2ecf20Sopenharmony_ciendif	# CPU_S3C2410
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ciconfig S3C2412_PM_SLEEP
2748c2ecf20Sopenharmony_ci	bool
2758c2ecf20Sopenharmony_ci	help
2768c2ecf20Sopenharmony_ci	  Internal config node to apply sleep for S3C2412 power management.
2778c2ecf20Sopenharmony_ci	  Can be selected by another SoCs such as S3C2416 with similar
2788c2ecf20Sopenharmony_ci	  sleep procedure.
2798c2ecf20Sopenharmony_ci
2808c2ecf20Sopenharmony_ciif CPU_S3C2412
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_ciconfig CPU_S3C2412_ONLY
2838c2ecf20Sopenharmony_ci	bool
2848c2ecf20Sopenharmony_ci	depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
2858c2ecf20Sopenharmony_ci		   !CPU_S3C2442 && !CPU_S3C2443
2868c2ecf20Sopenharmony_ci	default y
2878c2ecf20Sopenharmony_ci
2888c2ecf20Sopenharmony_ciconfig S3C2412_PM
2898c2ecf20Sopenharmony_ci	bool
2908c2ecf20Sopenharmony_ci	select S3C2412_PM_SLEEP
2918c2ecf20Sopenharmony_ci	select SAMSUNG_WAKEMASK
2928c2ecf20Sopenharmony_ci	help
2938c2ecf20Sopenharmony_ci	  Internal config node to apply S3C2412 power management
2948c2ecf20Sopenharmony_ci
2958c2ecf20Sopenharmony_cicomment "S3C2412 Boards"
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci#
2988c2ecf20Sopenharmony_ci# The "S3C2412 Boards" list is ordered alphabetically by option text.
2998c2ecf20Sopenharmony_ci# (without ARCH_ or MACH_)
3008c2ecf20Sopenharmony_ci#
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ciconfig MACH_JIVE
3038c2ecf20Sopenharmony_ci	bool "Logitech Jive"
3048c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
3058c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
3068c2ecf20Sopenharmony_ci	help
3078c2ecf20Sopenharmony_ci	  Say Y here if you are using the Logitech Jive.
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ciconfig MACH_JIVE_SHOW_BOOTLOADER
3108c2ecf20Sopenharmony_ci	bool "Allow access to bootloader partitions in MTD"
3118c2ecf20Sopenharmony_ci	depends on MACH_JIVE
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_ciconfig MACH_S3C2413
3148c2ecf20Sopenharmony_ci	bool
3158c2ecf20Sopenharmony_ci	help
3168c2ecf20Sopenharmony_ci	  Internal node for S3C2413 version of SMDK2413, so that
3178c2ecf20Sopenharmony_ci	  machine_is_s3c2413() will work when MACH_SMDK2413 is
3188c2ecf20Sopenharmony_ci	  selected
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ciconfig MACH_SMDK2412
3218c2ecf20Sopenharmony_ci	bool "SMDK2412"
3228c2ecf20Sopenharmony_ci	select MACH_SMDK2413
3238c2ecf20Sopenharmony_ci	help
3248c2ecf20Sopenharmony_ci	  Say Y here if you are using an SMDK2412
3258c2ecf20Sopenharmony_ci
3268c2ecf20Sopenharmony_ci	  Note, this shares support with SMDK2413, so will automatically
3278c2ecf20Sopenharmony_ci	  select MACH_SMDK2413.
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_ciconfig MACH_SMDK2413
3308c2ecf20Sopenharmony_ci	bool "SMDK2413"
3318c2ecf20Sopenharmony_ci	select MACH_S3C2413
3328c2ecf20Sopenharmony_ci	select S3C24XX_SMDK
3338c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
3348c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
3358c2ecf20Sopenharmony_ci	help
3368c2ecf20Sopenharmony_ci	  Say Y here if you are using an SMDK2413
3378c2ecf20Sopenharmony_ci
3388c2ecf20Sopenharmony_ciconfig MACH_VSTMS
3398c2ecf20Sopenharmony_ci	bool "VMSTMS"
3408c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
3418c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
3428c2ecf20Sopenharmony_ci	help
3438c2ecf20Sopenharmony_ci	  Say Y here if you are using an VSTMS board
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ciendif	# CPU_S3C2412
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ciif CPU_S3C2416
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ciconfig S3C2416_PM
3508c2ecf20Sopenharmony_ci	bool
3518c2ecf20Sopenharmony_ci	select S3C2412_PM_SLEEP
3528c2ecf20Sopenharmony_ci	select SAMSUNG_WAKEMASK
3538c2ecf20Sopenharmony_ci	help
3548c2ecf20Sopenharmony_ci	  Internal config node to apply S3C2416 power management
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_ciconfig S3C2416_SETUP_SDHCI
3578c2ecf20Sopenharmony_ci	bool
3588c2ecf20Sopenharmony_ci	select S3C2416_SETUP_SDHCI_GPIO
3598c2ecf20Sopenharmony_ci	help
3608c2ecf20Sopenharmony_ci	  Internal helper functions for S3C2416 based SDHCI systems
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_ciconfig S3C2416_SETUP_SDHCI_GPIO
3638c2ecf20Sopenharmony_ci	bool
3648c2ecf20Sopenharmony_ci	help
3658c2ecf20Sopenharmony_ci	  Common setup code for SDHCI gpio.
3668c2ecf20Sopenharmony_ci
3678c2ecf20Sopenharmony_cicomment "S3C2416 Boards"
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ciconfig MACH_SMDK2416
3708c2ecf20Sopenharmony_ci	bool "SMDK2416"
3718c2ecf20Sopenharmony_ci	select S3C2416_SETUP_SDHCI
3728c2ecf20Sopenharmony_ci	select S3C24XX_SMDK
3738c2ecf20Sopenharmony_ci	select S3C_DEV_FB
3748c2ecf20Sopenharmony_ci	select S3C_DEV_HSMMC
3758c2ecf20Sopenharmony_ci	select S3C_DEV_HSMMC1
3768c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
3778c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
3788c2ecf20Sopenharmony_ci	help
3798c2ecf20Sopenharmony_ci	  Say Y here if you are using an SMDK2416
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_ciconfig MACH_S3C2416_DT
3828c2ecf20Sopenharmony_ci	bool "Samsung S3C2416 machine using devicetree"
3838c2ecf20Sopenharmony_ci	select TIMER_OF
3848c2ecf20Sopenharmony_ci	select USE_OF
3858c2ecf20Sopenharmony_ci	select PINCTRL
3868c2ecf20Sopenharmony_ci	select PINCTRL_S3C24XX
3878c2ecf20Sopenharmony_ci	help
3888c2ecf20Sopenharmony_ci	  Machine support for Samsung S3C2416 machines with device tree enabled.
3898c2ecf20Sopenharmony_ci	  Select this if a fdt blob is available for the S3C2416 SoC based board.
3908c2ecf20Sopenharmony_ci	  Note: This is under development and not all peripherals can be supported
3918c2ecf20Sopenharmony_ci	  with this machine file.
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ciendif	# CPU_S3C2416
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_ciif CPU_S3C2440 || CPU_S3C2442
3968c2ecf20Sopenharmony_ci
3978c2ecf20Sopenharmony_ciconfig S3C2440_XTAL_12000000
3988c2ecf20Sopenharmony_ci	bool
3998c2ecf20Sopenharmony_ci	help
4008c2ecf20Sopenharmony_ci	  Indicate that the build needs to support 12MHz system
4018c2ecf20Sopenharmony_ci	  crystal.
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ciconfig S3C2440_XTAL_16934400
4048c2ecf20Sopenharmony_ci	bool
4058c2ecf20Sopenharmony_ci	help
4068c2ecf20Sopenharmony_ci	  Indicate that the build needs to support 16.9344MHz system
4078c2ecf20Sopenharmony_ci	  crystal.
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ciconfig S3C2440_PLL_12000000
4108c2ecf20Sopenharmony_ci	bool
4118c2ecf20Sopenharmony_ci	depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
4128c2ecf20Sopenharmony_ci	default y if S3C24XX_PLL
4138c2ecf20Sopenharmony_ci	help
4148c2ecf20Sopenharmony_ci	  PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ciconfig S3C2440_PLL_16934400
4178c2ecf20Sopenharmony_ci	bool
4188c2ecf20Sopenharmony_ci	depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
4198c2ecf20Sopenharmony_ci	default y if S3C24XX_PLL
4208c2ecf20Sopenharmony_ci	help
4218c2ecf20Sopenharmony_ci	  PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
4228c2ecf20Sopenharmony_ciendif
4238c2ecf20Sopenharmony_ci
4248c2ecf20Sopenharmony_ciif CPU_S3C2440
4258c2ecf20Sopenharmony_ci
4268c2ecf20Sopenharmony_cicomment "S3C2440 Boards"
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_ci#
4298c2ecf20Sopenharmony_ci# The "S3C2440 Boards" list is ordered alphabetically by option text.
4308c2ecf20Sopenharmony_ci# (without ARCH_ or MACH_)
4318c2ecf20Sopenharmony_ci#
4328c2ecf20Sopenharmony_ci
4338c2ecf20Sopenharmony_ciconfig MACH_ANUBIS
4348c2ecf20Sopenharmony_ci	bool "Simtec Electronics ANUBIS"
4358c2ecf20Sopenharmony_ci	select HAVE_PATA_PLATFORM
4368c2ecf20Sopenharmony_ci	select S3C2410_COMMON_DCLK
4378c2ecf20Sopenharmony_ci	select S3C2440_XTAL_12000000
4388c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_PM if PM
4398c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
4408c2ecf20Sopenharmony_ci	help
4418c2ecf20Sopenharmony_ci	  Say Y here if you are using the Simtec Electronics ANUBIS
4428c2ecf20Sopenharmony_ci	  development system
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ciconfig MACH_AT2440EVB
4458c2ecf20Sopenharmony_ci	bool "Avantech AT2440EVB development board"
4468c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
4478c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
4488c2ecf20Sopenharmony_ci	help
4498c2ecf20Sopenharmony_ci	  Say Y here if you are using the AT2440EVB development board
4508c2ecf20Sopenharmony_ci
4518c2ecf20Sopenharmony_ciconfig MACH_MINI2440
4528c2ecf20Sopenharmony_ci	bool "MINI2440 development board"
4538c2ecf20Sopenharmony_ci	select LEDS_CLASS
4548c2ecf20Sopenharmony_ci	select LEDS_TRIGGERS
4558c2ecf20Sopenharmony_ci	select LEDS_TRIGGER_BACKLIGHT
4568c2ecf20Sopenharmony_ci	select NEW_LEDS
4578c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
4588c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
4598c2ecf20Sopenharmony_ci	help
4608c2ecf20Sopenharmony_ci	  Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
4618c2ecf20Sopenharmony_ci	  available via various sources. It can come with a 3.5" or 7" touch LCD.
4628c2ecf20Sopenharmony_ci
4638c2ecf20Sopenharmony_ciconfig MACH_NEXCODER_2440
4648c2ecf20Sopenharmony_ci	bool "NexVision NEXCODER 2440 Light Board"
4658c2ecf20Sopenharmony_ci	select S3C2440_XTAL_12000000
4668c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
4678c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
4688c2ecf20Sopenharmony_ci	help
4698c2ecf20Sopenharmony_ci	  Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
4708c2ecf20Sopenharmony_ci
4718c2ecf20Sopenharmony_ciconfig MACH_OSIRIS
4728c2ecf20Sopenharmony_ci	bool "Simtec IM2440D20 (OSIRIS) module"
4738c2ecf20Sopenharmony_ci	select S3C2410_COMMON_DCLK
4748c2ecf20Sopenharmony_ci	select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
4758c2ecf20Sopenharmony_ci	select S3C2440_XTAL_12000000
4768c2ecf20Sopenharmony_ci	select S3C24XX_SIMTEC_PM if PM
4778c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
4788c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
4798c2ecf20Sopenharmony_ci	help
4808c2ecf20Sopenharmony_ci	  Say Y here if you are using the Simtec IM2440D20 module, also
4818c2ecf20Sopenharmony_ci	  known as the Osiris.
4828c2ecf20Sopenharmony_ci
4838c2ecf20Sopenharmony_ciconfig MACH_OSIRIS_DVS
4848c2ecf20Sopenharmony_ci	tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
4858c2ecf20Sopenharmony_ci	depends on MACH_OSIRIS
4868c2ecf20Sopenharmony_ci	depends on TPS65010
4878c2ecf20Sopenharmony_ci	help
4888c2ecf20Sopenharmony_ci	  Say Y/M here if you want to have dynamic voltage scaling support
4898c2ecf20Sopenharmony_ci	  on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
4908c2ecf20Sopenharmony_ci
4918c2ecf20Sopenharmony_ci	  The DVS driver alters the voltage supplied to the ARM core
4928c2ecf20Sopenharmony_ci	  depending on the frequency it is running at. The driver itself
4938c2ecf20Sopenharmony_ci	  does not do any of the frequency alteration, which is left up
4948c2ecf20Sopenharmony_ci	  to the cpufreq driver.
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_ciconfig MACH_RX3715
4978c2ecf20Sopenharmony_ci	bool "HP iPAQ rx3715"
4988c2ecf20Sopenharmony_ci	select PM_H1940 if PM
4998c2ecf20Sopenharmony_ci	select S3C2440_XTAL_16934400
5008c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
5018c2ecf20Sopenharmony_ci	help
5028c2ecf20Sopenharmony_ci	  Say Y here if you are using the HP iPAQ rx3715.
5038c2ecf20Sopenharmony_ci
5048c2ecf20Sopenharmony_ciconfig ARCH_S3C2440
5058c2ecf20Sopenharmony_ci	bool "SMDK2440"
5068c2ecf20Sopenharmony_ci	select S3C2440_XTAL_16934400
5078c2ecf20Sopenharmony_ci	select S3C24XX_SMDK
5088c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
5098c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
5108c2ecf20Sopenharmony_ci	help
5118c2ecf20Sopenharmony_ci	  Say Y here if you are using the SMDK2440.
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_ciconfig SMDK2440_CPU2440
5148c2ecf20Sopenharmony_ci	bool "SMDK2440 with S3C2440 CPU module"
5158c2ecf20Sopenharmony_ci	default y if ARCH_S3C2440
5168c2ecf20Sopenharmony_ci	select S3C2440_XTAL_16934400
5178c2ecf20Sopenharmony_ci
5188c2ecf20Sopenharmony_ciendif	# CPU_S3C2440
5198c2ecf20Sopenharmony_ci
5208c2ecf20Sopenharmony_ciif CPU_S3C2442
5218c2ecf20Sopenharmony_ci
5228c2ecf20Sopenharmony_cicomment "S3C2442 Boards"
5238c2ecf20Sopenharmony_ci
5248c2ecf20Sopenharmony_ci#
5258c2ecf20Sopenharmony_ci# The "S3C2442 Boards" list is ordered alphabetically by option text.
5268c2ecf20Sopenharmony_ci# (without ARCH_ or MACH_)
5278c2ecf20Sopenharmony_ci#
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_ciconfig MACH_NEO1973_GTA02
5308c2ecf20Sopenharmony_ci	bool "Openmoko GTA02 / Freerunner phone"
5318c2ecf20Sopenharmony_ci	select I2C
5328c2ecf20Sopenharmony_ci	select MFD_PCF50633
5338c2ecf20Sopenharmony_ci	select PCF50633_GPIO
5348c2ecf20Sopenharmony_ci	select POWER_SUPPLY
5358c2ecf20Sopenharmony_ci	select S3C24XX_PWM
5368c2ecf20Sopenharmony_ci	select S3C_DEV_USB_HOST
5378c2ecf20Sopenharmony_ci	help
5388c2ecf20Sopenharmony_ci	   Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ciconfig MACH_RX1950
5418c2ecf20Sopenharmony_ci	bool "HP iPAQ rx1950"
5428c2ecf20Sopenharmony_ci	select I2C
5438c2ecf20Sopenharmony_ci	select PM_H1940 if PM
5448c2ecf20Sopenharmony_ci	select S3C2410_COMMON_DCLK
5458c2ecf20Sopenharmony_ci	select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
5468c2ecf20Sopenharmony_ci	select S3C2440_XTAL_16934400
5478c2ecf20Sopenharmony_ci	select S3C24XX_PWM
5488c2ecf20Sopenharmony_ci	select S3C_DEV_NAND
5498c2ecf20Sopenharmony_ci	help
5508c2ecf20Sopenharmony_ci	   Say Y here if you're using HP iPAQ rx1950
5518c2ecf20Sopenharmony_ci
5528c2ecf20Sopenharmony_ciendif	# CPU_S3C2442
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_ciif CPU_S3C2443 || CPU_S3C2416
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_ciconfig S3C2443_SETUP_SPI
5578c2ecf20Sopenharmony_ci	bool
5588c2ecf20Sopenharmony_ci	help
5598c2ecf20Sopenharmony_ci	  Common setup code for SPI GPIO configurations
5608c2ecf20Sopenharmony_ci
5618c2ecf20Sopenharmony_ciendif	# CPU_S3C2443 || CPU_S3C2416
5628c2ecf20Sopenharmony_ci
5638c2ecf20Sopenharmony_ciif CPU_S3C2443
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_cicomment "S3C2443 Boards"
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_ciconfig MACH_SMDK2443
5688c2ecf20Sopenharmony_ci	bool "SMDK2443"
5698c2ecf20Sopenharmony_ci	select S3C24XX_SMDK
5708c2ecf20Sopenharmony_ci	select S3C_DEV_HSMMC1
5718c2ecf20Sopenharmony_ci	help
5728c2ecf20Sopenharmony_ci	  Say Y here if you are using an SMDK2443
5738c2ecf20Sopenharmony_ci
5748c2ecf20Sopenharmony_ciendif	# CPU_S3C2443
5758c2ecf20Sopenharmony_ci
5768c2ecf20Sopenharmony_ciconfig PM_H1940
5778c2ecf20Sopenharmony_ci	bool
5788c2ecf20Sopenharmony_ci	help
5798c2ecf20Sopenharmony_ci	  Internal node for H1940 and related PM
5808c2ecf20Sopenharmony_ci
5818c2ecf20Sopenharmony_ciendmenu	# Samsung S3C24XX SoCs Support
5828c2ecf20Sopenharmony_ci
5838c2ecf20Sopenharmony_ciendif	# ARCH_S3C24XX
584