Kconfig.s3c64xx 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright 2008 Openmoko, Inc.
  4. # Simtec Electronics, Ben Dooks <[email protected]>
  5. menuconfig ARCH_S3C64XX
  6. bool "Samsung S3C64XX (deprecated, see help)"
  7. depends on ARCH_MULTI_V6
  8. select ARM_AMBA
  9. select ARM_VIC
  10. select CLKSRC_SAMSUNG_PWM
  11. select COMMON_CLK_SAMSUNG
  12. select GPIO_SAMSUNG if ATAGS
  13. select GPIOLIB
  14. select HAVE_TCM
  15. select PLAT_SAMSUNG
  16. select PM_GENERIC_DOMAINS if PM
  17. select S3C_DEV_NAND if ATAGS
  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. The platform is deprecated and scheduled for removal. Please reach to
  26. the maintainers of the platform and [email protected] if
  27. you still use it.
  28. Without such feedback, the platform will be removed after 2024.
  29. if ARCH_S3C64XX
  30. # Configuration options for the S3C6410 CPU
  31. config CPU_S3C6400
  32. bool
  33. help
  34. Enable S3C6400 CPU support
  35. config CPU_S3C6410
  36. bool
  37. help
  38. Enable S3C6410 CPU support
  39. config S3C64XX_PL080
  40. def_bool DMADEVICES
  41. select AMBA_PL08X
  42. config S3C64XX_SETUP_SDHCI
  43. bool
  44. select S3C64XX_SETUP_SDHCI_GPIO
  45. help
  46. Internal configuration for default SDHCI setup for S3C6400 and
  47. S3C6410 SoCs.
  48. config S3C64XX_DEV_ONENAND1
  49. bool
  50. help
  51. Compile in platform device definition for OneNAND1 controller
  52. config SAMSUNG_DEV_BACKLIGHT
  53. bool
  54. depends on SAMSUNG_DEV_PWM
  55. help
  56. Compile in platform device definition LCD backlight with PWM Timer
  57. # platform specific device setup
  58. config S3C64XX_SETUP_I2C0
  59. bool
  60. default y
  61. help
  62. Common setup code for i2c bus 0.
  63. Note, currently since i2c0 is always compiled, this setup helper
  64. is always compiled with it.
  65. config S3C64XX_SETUP_I2C1
  66. bool
  67. help
  68. Common setup code for i2c bus 1.
  69. config S3C64XX_SETUP_IDE
  70. bool
  71. help
  72. Common setup code for S3C64XX IDE.
  73. config S3C64XX_SETUP_FB_24BPP
  74. bool
  75. help
  76. Common setup code for S3C64XX with an 24bpp RGB display helper.
  77. config S3C64XX_SETUP_KEYPAD
  78. bool
  79. help
  80. Common setup code for S3C64XX KEYPAD GPIO configurations
  81. config S3C64XX_SETUP_SDHCI_GPIO
  82. bool
  83. help
  84. Common setup code for S3C64XX SDHCI GPIO configurations
  85. config S3C64XX_SETUP_SPI
  86. bool
  87. help
  88. Common setup code for SPI GPIO configurations
  89. config S3C64XX_SETUP_USB_PHY
  90. bool
  91. help
  92. Common setup code for USB PHY controller
  93. # S36400 Macchine support
  94. config MACH_SMDK6400
  95. bool "SMDK6400"
  96. depends on ATAGS && UNUSED_BOARD_FILES
  97. select CPU_S3C6400
  98. select S3C64XX_SETUP_SDHCI
  99. select S3C_DEV_HSMMC1
  100. help
  101. Machine support for the Samsung SMDK6400
  102. # S3C6410 machine support
  103. config MACH_ANW6410
  104. bool "A&W6410"
  105. depends on ATAGS && UNUSED_BOARD_FILES
  106. select CPU_S3C6410
  107. select S3C64XX_SETUP_FB_24BPP
  108. select S3C_DEV_FB
  109. help
  110. Machine support for the A&W6410
  111. config MACH_MINI6410
  112. bool "MINI6410"
  113. depends on ATAGS && UNUSED_BOARD_FILES
  114. select CPU_S3C6410
  115. select S3C64XX_SETUP_FB_24BPP
  116. select S3C64XX_SETUP_SDHCI
  117. select S3C_DEV_FB
  118. select S3C_DEV_HSMMC
  119. select S3C_DEV_HSMMC1
  120. select S3C_DEV_NAND
  121. select S3C_DEV_USB_HOST
  122. select SAMSUNG_DEV_ADC
  123. select SAMSUNG_DEV_TS
  124. help
  125. Machine support for the FriendlyARM MINI6410
  126. config MACH_REAL6410
  127. bool "REAL6410"
  128. depends on ATAGS && UNUSED_BOARD_FILES
  129. select CPU_S3C6410
  130. select S3C64XX_SETUP_FB_24BPP
  131. select S3C64XX_SETUP_SDHCI
  132. select S3C_DEV_FB
  133. select S3C_DEV_HSMMC
  134. select S3C_DEV_HSMMC1
  135. select S3C_DEV_NAND
  136. select S3C_DEV_USB_HOST
  137. select SAMSUNG_DEV_ADC
  138. select SAMSUNG_DEV_TS
  139. help
  140. Machine support for the CoreWind REAL6410
  141. config MACH_SMDK6410
  142. bool "SMDK6410"
  143. depends on ATAGS && UNUSED_BOARD_FILES
  144. select CPU_S3C6410
  145. select S3C64XX_SETUP_FB_24BPP
  146. select S3C64XX_SETUP_I2C1
  147. select S3C64XX_SETUP_IDE
  148. select S3C64XX_SETUP_KEYPAD
  149. select S3C64XX_SETUP_SDHCI
  150. select S3C64XX_SETUP_USB_PHY
  151. select S3C_DEV_FB
  152. select S3C_DEV_HSMMC
  153. select S3C_DEV_HSMMC1
  154. select S3C_DEV_I2C1
  155. select S3C_DEV_RTC
  156. select S3C_DEV_USB_HOST
  157. select S3C_DEV_USB_HSOTG
  158. select S3C_DEV_WDT
  159. select SAMSUNG_DEV_ADC
  160. select SAMSUNG_DEV_BACKLIGHT
  161. select SAMSUNG_DEV_IDE
  162. select SAMSUNG_DEV_KEYPAD
  163. select SAMSUNG_DEV_PWM
  164. select SAMSUNG_DEV_TS
  165. help
  166. Machine support for the Samsung SMDK6410
  167. # At least some of the SMDK6410s were shipped with the card detect
  168. # for the MMC/SD slots connected to the same input. This means that
  169. # either the boards need to be altered to have channel0 to an alternate
  170. # configuration or that only one slot can be used.
  171. choice
  172. prompt "SMDK6410 MMC/SD slot setup"
  173. depends on MACH_SMDK6410
  174. config SMDK6410_SD_CH0
  175. bool "Use channel 0 only"
  176. depends on MACH_SMDK6410
  177. help
  178. Select CON7 (channel 0) as the MMC/SD slot, as
  179. at least some SMDK6410 boards come with the
  180. resistors fitted so that the card detects for
  181. channels 0 and 1 are the same.
  182. config SMDK6410_SD_CH1
  183. bool "Use channel 1 only"
  184. depends on MACH_SMDK6410
  185. help
  186. Select CON6 (channel 1) as the MMC/SD slot, as
  187. at least some SMDK6410 boards come with the
  188. resistors fitted so that the card detects for
  189. channels 0 and 1 are the same.
  190. endchoice
  191. config SMDK6410_WM1190_EV1
  192. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  193. depends on MACH_SMDK6410
  194. depends on I2C=y
  195. select MFD_WM8350_I2C
  196. select REGULATOR
  197. select REGULATOR_WM8350
  198. help
  199. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  200. and audio daughtercard for the Samsung SMDK6410 reference
  201. platform. Enabling this option will build support for this
  202. module into the kernel. The presence of the module will be
  203. detected at runtime so the resulting kernel can be used
  204. with or without the 1190-EV1 fitted.
  205. config SMDK6410_WM1192_EV1
  206. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  207. depends on MACH_SMDK6410
  208. depends on I2C=y
  209. select MFD_WM831X
  210. select MFD_WM831X_I2C
  211. select REGULATOR
  212. select REGULATOR_WM831X
  213. help
  214. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  215. daughtercard for the Samsung SMDK6410 reference platform.
  216. Enabling this option will build support for this module into
  217. the kernel. The presence of the daughtercard will be
  218. detected at runtime so the resulting kernel can be used
  219. with or without the 1192-EV1 fitted.
  220. config MACH_NCP
  221. bool "NCP"
  222. depends on ATAGS && UNUSED_BOARD_FILES
  223. select CPU_S3C6410
  224. select S3C64XX_SETUP_I2C1
  225. select S3C_DEV_HSMMC1
  226. select S3C_DEV_I2C1
  227. help
  228. Machine support for the Samsung NCP
  229. config MACH_HMT
  230. bool "Airgoo HMT"
  231. depends on ATAGS && UNUSED_BOARD_FILES
  232. select CPU_S3C6410
  233. select S3C64XX_SETUP_FB_24BPP
  234. select S3C_DEV_FB
  235. select S3C_DEV_NAND
  236. select S3C_DEV_USB_HOST
  237. select SAMSUNG_DEV_PWM
  238. help
  239. Machine support for the Airgoo HMT
  240. config MACH_SMARTQ
  241. bool
  242. select CPU_S3C6410
  243. select S3C64XX_SETUP_FB_24BPP
  244. select S3C64XX_SETUP_SDHCI
  245. select S3C64XX_SETUP_USB_PHY
  246. select S3C_DEV_FB
  247. select S3C_DEV_HSMMC
  248. select S3C_DEV_HSMMC1
  249. select S3C_DEV_HSMMC2
  250. select S3C_DEV_HWMON
  251. select S3C_DEV_RTC
  252. select S3C_DEV_USB_HOST
  253. select S3C_DEV_USB_HSOTG
  254. select SAMSUNG_DEV_ADC
  255. select SAMSUNG_DEV_PWM
  256. select SAMSUNG_DEV_TS
  257. help
  258. Shared machine support for SmartQ 5/7
  259. config MACH_SMARTQ5
  260. bool "SmartQ 5"
  261. depends on ATAGS && UNUSED_BOARD_FILES
  262. select MACH_SMARTQ
  263. help
  264. Machine support for the SmartQ 5
  265. config MACH_SMARTQ7
  266. bool "SmartQ 7"
  267. depends on ATAGS && UNUSED_BOARD_FILES
  268. select MACH_SMARTQ
  269. help
  270. Machine support for the SmartQ 7
  271. config MACH_WLF_CRAGG_6410
  272. bool "Wolfson Cragganmore 6410"
  273. depends on ATAGS
  274. depends on I2C=y
  275. select CPU_S3C6410
  276. select LEDS_GPIO_REGISTER
  277. select S3C64XX_DEV_SPI0
  278. select S3C64XX_SETUP_FB_24BPP
  279. select S3C64XX_SETUP_I2C1
  280. select S3C64XX_SETUP_IDE
  281. select S3C64XX_SETUP_KEYPAD
  282. select S3C64XX_SETUP_SDHCI
  283. select S3C64XX_SETUP_SPI
  284. select S3C64XX_SETUP_USB_PHY
  285. select S3C_DEV_FB
  286. select S3C_DEV_HSMMC
  287. select S3C_DEV_HSMMC1
  288. select S3C_DEV_HSMMC2
  289. select S3C_DEV_I2C1
  290. select S3C_DEV_RTC
  291. select S3C_DEV_USB_HOST
  292. select S3C_DEV_USB_HSOTG
  293. select S3C_DEV_WDT
  294. select SAMSUNG_DEV_ADC
  295. select SAMSUNG_DEV_KEYPAD
  296. select SAMSUNG_DEV_PWM
  297. help
  298. Machine support for the Wolfson Cragganmore S3C6410 variant.
  299. config MACH_S3C64XX_DT
  300. bool "Samsung S3C6400/S3C6410 machine using Device Tree"
  301. select CPU_S3C6400
  302. select CPU_S3C6410
  303. select PINCTRL
  304. select PINCTRL_S3C64XX
  305. help
  306. Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
  307. enabled.
  308. Select this if a fdt blob is available for your S3C64XX SoC based
  309. board.
  310. Note: This is under development and not all peripherals can be
  311. supported with this machine file.
  312. endif