Kconfig.s3c24xx 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright (c) 2012 Samsung Electronics Co., Ltd.
  4. # http://www.samsung.com/
  5. #
  6. # Copyright 2007 Simtec Electronics
  7. menuconfig ARCH_S3C24XX
  8. bool "Samsung S3C24XX SoCs (deprecated, see help)"
  9. depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
  10. depends on CPU_LITTLE_ENDIAN
  11. depends on ATAGS && UNUSED_BOARD_FILES
  12. select CLKSRC_SAMSUNG_PWM
  13. select GPIO_SAMSUNG
  14. select GPIOLIB
  15. select S3C2410_WATCHDOG
  16. select SAMSUNG_ATAGS
  17. select WATCHDOG
  18. help
  19. Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
  20. and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
  21. (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
  22. Samsung SMDK2410 development board (and derivatives).
  23. The platform is deprecated and scheduled for removal. Please reach to
  24. the maintainers of the platform and [email protected] if
  25. you still use it.
  26. Without such feedback, the platform will be removed after 2022.
  27. if ARCH_S3C24XX
  28. config PLAT_S3C24XX
  29. def_bool y
  30. select GPIOLIB
  31. select NO_IOPORT_MAP
  32. select S3C_DEV_NAND
  33. select COMMON_CLK
  34. help
  35. Base platform code for any Samsung S3C24XX device
  36. menu "Samsung S3C24XX SoCs Support"
  37. comment "S3C24XX SoCs"
  38. config CPU_S3C2410
  39. bool "Samsung S3C2410"
  40. depends on ARCH_MULTI_V4T
  41. default y
  42. select CPU_ARM920T
  43. select S3C2410_COMMON_CLK
  44. select ARM_S3C2410_CPUFREQ if ARM_S3C24XX_CPUFREQ
  45. select S3C2410_PM if PM
  46. help
  47. Support for S3C2410 and S3C2410A family from the S3C24XX line
  48. of Samsung Mobile CPUs.
  49. config CPU_S3C2412
  50. bool "Samsung S3C2412"
  51. depends on ARCH_MULTI_V5
  52. select CPU_ARM926T
  53. select S3C2412_COMMON_CLK
  54. select S3C2412_PM if PM_SLEEP
  55. help
  56. Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
  57. config CPU_S3C2416
  58. bool "Samsung S3C2416/S3C2450"
  59. depends on ARCH_MULTI_V5
  60. select CPU_ARM926T
  61. select S3C2416_PM if PM_SLEEP
  62. select S3C2443_COMMON_CLK
  63. help
  64. Support for the S3C2416 SoC from the S3C24XX line
  65. config CPU_S3C2440
  66. bool "Samsung S3C2440"
  67. depends on ARCH_MULTI_V4T
  68. select CPU_ARM920T
  69. select S3C2410_COMMON_CLK
  70. select S3C2410_PM if PM_SLEEP
  71. help
  72. Support for S3C2440 Samsung Mobile CPU based systems.
  73. config CPU_S3C2442
  74. bool "Samsung S3C2442"
  75. depends on ARCH_MULTI_V4T
  76. select CPU_ARM920T
  77. select S3C2410_COMMON_CLK
  78. select S3C2410_PM if PM_SLEEP
  79. help
  80. Support for S3C2442 Samsung Mobile CPU based systems.
  81. config CPU_S3C244X
  82. def_bool y
  83. depends on CPU_S3C2440 || CPU_S3C2442
  84. config CPU_S3C2443
  85. bool "Samsung S3C2443"
  86. depends on ARCH_MULTI_V4T
  87. select CPU_ARM920T
  88. select S3C2443_COMMON_CLK
  89. help
  90. Support for the S3C2443 SoC from the S3C24XX line
  91. # common code
  92. config S3C24XX_SMDK
  93. bool
  94. help
  95. Common machine code for SMDK2410 and SMDK2440
  96. config S3C24XX_SIMTEC_AUDIO
  97. bool
  98. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  99. default y
  100. help
  101. Add audio devices for common Simtec S3C24XX boards
  102. config S3C24XX_SIMTEC_PM
  103. bool
  104. help
  105. Common power management code for systems that are
  106. compatible with the Simtec style of power management
  107. config S3C24XX_SIMTEC_USB
  108. bool
  109. help
  110. USB management code for common Simtec S3C24XX boards
  111. config S3C24XX_SETUP_TS
  112. bool
  113. help
  114. Compile in platform device definition for Samsung TouchScreen.
  115. config S3C2410_PM
  116. bool
  117. help
  118. Power Management code common to S3C2410 and better
  119. config S3C24XX_PLL
  120. bool "Support CPUfreq changing of PLL frequency (EXPERIMENTAL)"
  121. depends on ARM_S3C24XX_CPUFREQ
  122. help
  123. Compile in support for changing the PLL frequency from the
  124. S3C24XX series CPUfreq driver. The PLL takes time to settle
  125. after a frequency change, so by default it is not enabled.
  126. This also means that the PLL tables for the selected CPU(s) will
  127. be built which may increase the size of the kernel image.
  128. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  129. config S3C2410_IOTIMING
  130. bool
  131. depends on ARM_S3C24XX_CPUFREQ
  132. help
  133. Internal node to select io timing code that is common to the s3c2410
  134. and s3c2440/s3c2442 cpu frequency support.
  135. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  136. config S3C2412_IOTIMING
  137. bool
  138. depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2412 || CPU_S3C2443)
  139. help
  140. Intel node to select io timing code that is common to the s3c2412
  141. and the s3c2443.
  142. # cpu-specific sections
  143. if CPU_S3C2410
  144. config S3C2410_PLL
  145. bool
  146. depends on ARM_S3C2410_CPUFREQ && S3C24XX_PLL
  147. default y
  148. help
  149. Select the PLL table for the S3C2410
  150. config S3C24XX_SIMTEC_NOR
  151. bool
  152. help
  153. Internal node to specify machine has simtec NOR mapping
  154. config MACH_BAST_IDE
  155. bool
  156. select HAVE_PATA_PLATFORM
  157. help
  158. Internal node for machines with an BAST style IDE
  159. interface
  160. comment "S3C2410 Boards"
  161. #
  162. # The "S3C2410 Boards" list is ordered alphabetically by option text.
  163. # (without ARCH_ or MACH_)
  164. #
  165. config MACH_AML_M5900
  166. bool "AML M5900 Series"
  167. select S3C24XX_SIMTEC_PM if PM
  168. select S3C_DEV_USB_HOST
  169. help
  170. Say Y here if you are using the American Microsystems M5900 Series
  171. <http://www.amltd.com>
  172. config ARCH_BAST
  173. bool "Simtec Electronics BAST (EB2410ITX)"
  174. select MACH_BAST_IDE
  175. select S3C2410_COMMON_DCLK
  176. select S3C2410_IOTIMING if ARM_S3C2410_CPUFREQ
  177. select S3C24XX_SIMTEC_NOR
  178. select S3C24XX_SIMTEC_PM if PM
  179. select S3C24XX_SIMTEC_USB
  180. select S3C_DEV_HWMON
  181. select S3C_DEV_NAND
  182. select S3C_DEV_USB_HOST
  183. help
  184. Say Y here if you are using the Simtec Electronics EB2410ITX
  185. development board (also known as BAST)
  186. config BAST_PC104_IRQ
  187. bool "BAST PC104 IRQ support"
  188. depends on ARCH_BAST
  189. default y
  190. help
  191. Say Y here to enable the PC104 IRQ routing on the
  192. Simtec BAST (EB2410ITX)
  193. config ARCH_H1940
  194. bool "IPAQ H1940"
  195. select PM_H1940 if PM
  196. select S3C24XX_SETUP_TS
  197. select S3C_DEV_NAND
  198. select S3C_DEV_USB_HOST
  199. help
  200. Say Y here if you are using the HP IPAQ H1940
  201. config H1940BT
  202. tristate "Control the state of H1940 bluetooth chip"
  203. depends on ARCH_H1940
  204. depends on RFKILL
  205. help
  206. This is a simple driver that is able to control
  207. the state of built in bluetooth chip on h1940.
  208. config MACH_N30
  209. bool "Acer N30 family"
  210. select S3C_DEV_NAND
  211. select S3C_DEV_USB_HOST
  212. help
  213. Say Y here if you want suppt for the Acer N30, Acer N35,
  214. Navman PiN570, Yakumo AlphaX or Airis NC05 PDAs.
  215. config MACH_OTOM
  216. bool "NexVision OTOM Board"
  217. select S3C_DEV_NAND
  218. select S3C_DEV_USB_HOST
  219. help
  220. Say Y here if you are using the Nex Vision OTOM board
  221. config MACH_QT2410
  222. bool "QT2410"
  223. select S3C_DEV_NAND
  224. select S3C_DEV_USB_HOST
  225. help
  226. Say Y here if you are using the Armzone QT2410
  227. config ARCH_SMDK2410
  228. bool "SMDK2410/A9M2410"
  229. select S3C24XX_SMDK
  230. select S3C_DEV_USB_HOST
  231. help
  232. Say Y here if you are using the SMDK2410 or the derived module A9M2410
  233. <http://www.fsforth.de>
  234. config MACH_TCT_HAMMER
  235. bool "TCT Hammer Board"
  236. select S3C_DEV_USB_HOST
  237. help
  238. Say Y here if you are using the TinCanTools Hammer Board
  239. <https://www.tincantools.com>
  240. config MACH_VR1000
  241. bool "Thorcom VR1000"
  242. select MACH_BAST_IDE
  243. select S3C2410_COMMON_DCLK
  244. select S3C24XX_SIMTEC_NOR
  245. select S3C24XX_SIMTEC_PM if PM
  246. select S3C24XX_SIMTEC_USB
  247. select S3C_DEV_USB_HOST
  248. help
  249. Say Y here if you are using the Thorcom VR1000 board.
  250. endif # CPU_S3C2410
  251. config S3C2412_PM_SLEEP
  252. bool
  253. help
  254. Internal config node to apply sleep for S3C2412 power management.
  255. Can be selected by another SoCs such as S3C2416 with similar
  256. sleep procedure.
  257. if CPU_S3C2412
  258. config CPU_S3C2412_ONLY
  259. bool
  260. depends on !CPU_S3C2410 && !CPU_S3C2416 && !CPU_S3C2440 && \
  261. !CPU_S3C2442 && !CPU_S3C2443
  262. default y
  263. config S3C2412_PM
  264. bool
  265. select S3C2412_PM_SLEEP
  266. select SAMSUNG_WAKEMASK
  267. help
  268. Internal config node to apply S3C2412 power management
  269. comment "S3C2412 Boards"
  270. #
  271. # The "S3C2412 Boards" list is ordered alphabetically by option text.
  272. # (without ARCH_ or MACH_)
  273. #
  274. config MACH_JIVE
  275. bool "Logitech Jive"
  276. select S3C_DEV_NAND
  277. select S3C_DEV_USB_HOST
  278. help
  279. Say Y here if you are using the Logitech Jive.
  280. config MACH_JIVE_SHOW_BOOTLOADER
  281. bool "Allow access to bootloader partitions in MTD"
  282. depends on MACH_JIVE
  283. config MACH_S3C2413
  284. bool
  285. help
  286. Internal node for S3C2413 version of SMDK2413, so that
  287. machine_is_s3c2413() will work when MACH_SMDK2413 is
  288. selected
  289. config MACH_SMDK2412
  290. bool "SMDK2412"
  291. select MACH_SMDK2413
  292. help
  293. Say Y here if you are using an SMDK2412
  294. Note, this shares support with SMDK2413, so will automatically
  295. select MACH_SMDK2413.
  296. config MACH_SMDK2413
  297. bool "SMDK2413"
  298. select MACH_S3C2413
  299. select S3C24XX_SMDK
  300. select S3C_DEV_NAND
  301. select S3C_DEV_USB_HOST
  302. help
  303. Say Y here if you are using an SMDK2413
  304. config MACH_VSTMS
  305. bool "VMSTMS"
  306. select S3C_DEV_NAND
  307. select S3C_DEV_USB_HOST
  308. help
  309. Say Y here if you are using an VSTMS board
  310. endif # CPU_S3C2412
  311. if CPU_S3C2416
  312. config S3C2416_PM
  313. bool
  314. select S3C2412_PM_SLEEP
  315. select SAMSUNG_WAKEMASK
  316. help
  317. Internal config node to apply S3C2416 power management
  318. config S3C2416_SETUP_SDHCI
  319. bool
  320. select S3C2416_SETUP_SDHCI_GPIO
  321. help
  322. Internal helper functions for S3C2416 based SDHCI systems
  323. config S3C2416_SETUP_SDHCI_GPIO
  324. bool
  325. help
  326. Common setup code for SDHCI gpio.
  327. comment "S3C2416 Boards"
  328. config MACH_SMDK2416
  329. bool "SMDK2416"
  330. select S3C2416_SETUP_SDHCI
  331. select S3C24XX_SMDK
  332. select S3C_DEV_FB
  333. select S3C_DEV_HSMMC
  334. select S3C_DEV_HSMMC1
  335. select S3C_DEV_NAND
  336. select S3C_DEV_USB_HOST
  337. help
  338. Say Y here if you are using an SMDK2416
  339. config MACH_S3C2416_DT
  340. bool "Samsung S3C2416 machine using devicetree"
  341. select TIMER_OF
  342. select USE_OF
  343. select PINCTRL
  344. select PINCTRL_S3C24XX
  345. help
  346. Machine support for Samsung S3C2416 machines with device tree enabled.
  347. Select this if a fdt blob is available for the S3C2416 SoC based board.
  348. Note: This is under development and not all peripherals can be supported
  349. with this machine file.
  350. endif # CPU_S3C2416
  351. if CPU_S3C2440 || CPU_S3C2442
  352. config S3C2440_XTAL_12000000
  353. bool
  354. help
  355. Indicate that the build needs to support 12MHz system
  356. crystal.
  357. config S3C2440_XTAL_16934400
  358. bool
  359. help
  360. Indicate that the build needs to support 16.9344MHz system
  361. crystal.
  362. config S3C2440_PLL_12000000
  363. bool
  364. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_12000000
  365. default y if S3C24XX_PLL
  366. help
  367. PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
  368. config S3C2440_PLL_16934400
  369. bool
  370. depends on ARM_S3C2440_CPUFREQ && S3C2440_XTAL_16934400
  371. default y if S3C24XX_PLL
  372. help
  373. PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
  374. endif # CPU_S3C2440 || CPU_S3C2442
  375. if CPU_S3C2440
  376. comment "S3C2440 Boards"
  377. #
  378. # The "S3C2440 Boards" list is ordered alphabetically by option text.
  379. # (without ARCH_ or MACH_)
  380. #
  381. config MACH_ANUBIS
  382. bool "Simtec Electronics ANUBIS"
  383. select HAVE_PATA_PLATFORM
  384. select S3C2410_COMMON_DCLK
  385. select S3C2440_XTAL_12000000
  386. select S3C24XX_SIMTEC_PM if PM
  387. select S3C_DEV_USB_HOST
  388. help
  389. Say Y here if you are using the Simtec Electronics ANUBIS
  390. development system
  391. config MACH_AT2440EVB
  392. bool "Avantech AT2440EVB development board"
  393. select S3C_DEV_NAND
  394. select S3C_DEV_USB_HOST
  395. help
  396. Say Y here if you are using the AT2440EVB development board
  397. config MACH_MINI2440
  398. bool "MINI2440 development board"
  399. select LEDS_CLASS
  400. select LEDS_TRIGGERS
  401. select LEDS_TRIGGER_BACKLIGHT
  402. select NEW_LEDS
  403. select S3C_DEV_NAND
  404. select S3C_DEV_USB_HOST
  405. help
  406. Say Y here to select support for the MINI2440. Is a 10cm x 10cm board
  407. available via various sources. It can come with a 3.5" or 7" touch LCD.
  408. config MACH_NEXCODER_2440
  409. bool "NexVision NEXCODER 2440 Light Board"
  410. select S3C2440_XTAL_12000000
  411. select S3C_DEV_NAND
  412. select S3C_DEV_USB_HOST
  413. help
  414. Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board
  415. config MACH_OSIRIS
  416. bool "Simtec IM2440D20 (OSIRIS) module"
  417. select S3C2410_COMMON_DCLK
  418. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  419. select S3C2440_XTAL_12000000
  420. select S3C24XX_SIMTEC_PM if PM
  421. select S3C_DEV_NAND
  422. select S3C_DEV_USB_HOST
  423. help
  424. Say Y here if you are using the Simtec IM2440D20 module, also
  425. known as the Osiris.
  426. config MACH_OSIRIS_DVS
  427. tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver"
  428. depends on MACH_OSIRIS
  429. depends on TPS65010
  430. help
  431. Say Y/M here if you want to have dynamic voltage scaling support
  432. on the Simtec IM2440D20 (OSIRIS) module via the TPS65011.
  433. The DVS driver alters the voltage supplied to the ARM core
  434. depending on the frequency it is running at. The driver itself
  435. does not do any of the frequency alteration, which is left up
  436. to the cpufreq driver.
  437. config MACH_RX3715
  438. bool "HP iPAQ rx3715"
  439. select PM_H1940 if PM
  440. select S3C2440_XTAL_16934400
  441. select S3C_DEV_NAND
  442. help
  443. Say Y here if you are using the HP iPAQ rx3715.
  444. config ARCH_S3C2440
  445. bool "SMDK2440"
  446. select S3C2440_XTAL_16934400
  447. select S3C24XX_SMDK
  448. select S3C_DEV_NAND
  449. select S3C_DEV_USB_HOST
  450. help
  451. Say Y here if you are using the SMDK2440.
  452. config SMDK2440_CPU2440
  453. bool "SMDK2440 with S3C2440 CPU module"
  454. default y if ARCH_S3C2440
  455. select S3C2440_XTAL_16934400
  456. endif # CPU_S3C2440
  457. if CPU_S3C2442
  458. comment "S3C2442 Boards"
  459. #
  460. # The "S3C2442 Boards" list is ordered alphabetically by option text.
  461. # (without ARCH_ or MACH_)
  462. #
  463. config MACH_NEO1973_GTA02
  464. bool "Openmoko GTA02 / Freerunner phone"
  465. select I2C
  466. select MFD_PCF50633
  467. select PCF50633_GPIO
  468. select POWER_SUPPLY
  469. select S3C_DEV_USB_HOST
  470. help
  471. Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
  472. config MACH_RX1950
  473. bool "HP iPAQ rx1950"
  474. select I2C
  475. select PM_H1940 if PM
  476. select S3C2410_COMMON_DCLK
  477. select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
  478. select S3C2440_XTAL_16934400
  479. select S3C_DEV_NAND
  480. help
  481. Say Y here if you're using HP iPAQ rx1950
  482. endif # CPU_S3C2442
  483. if CPU_S3C2443 || CPU_S3C2416
  484. config S3C2443_SETUP_SPI
  485. bool
  486. help
  487. Common setup code for SPI GPIO configurations
  488. endif # CPU_S3C2443 || CPU_S3C2416
  489. if CPU_S3C2443
  490. comment "S3C2443 Boards"
  491. config MACH_SMDK2443
  492. bool "SMDK2443"
  493. select S3C24XX_SMDK
  494. select S3C_DEV_HSMMC1
  495. help
  496. Say Y here if you are using an SMDK2443
  497. endif # CPU_S3C2443
  498. config PM_H1940
  499. bool
  500. help
  501. Internal node for H1940 and related PM
  502. endmenu # "Samsung S3C24XX SoCs Support"
  503. endif # ARCH_S3C24XX