Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. # SPDX-License-Identifier: GPL-2.0
  2. config ARCH_VERSATILE
  3. bool "ARM Ltd. Versatile family"
  4. depends on ARCH_MULTI_V5
  5. depends on CPU_LITTLE_ENDIAN
  6. select ARM_AMBA
  7. select ARM_TIMER_SP804
  8. select ARM_VIC
  9. select CLKSRC_VERSATILE
  10. select CPU_ARM926T
  11. select CLK_ICST
  12. select MFD_SYSCON
  13. select PLAT_VERSATILE
  14. select POWER_RESET
  15. select POWER_RESET_VERSATILE
  16. select VERSATILE_FPGA_IRQ
  17. help
  18. This enables support for ARM Ltd Versatile board.
  19. menuconfig ARCH_INTEGRATOR
  20. bool "ARM Ltd. Integrator family"
  21. depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V6
  22. depends on CPU_LITTLE_ENDIAN || ARCH_MULTI_V6
  23. select ARM_AMBA
  24. select CMA
  25. select DMA_CMA
  26. select HAVE_TCM
  27. select CLK_ICST
  28. select MFD_SYSCON
  29. select PLAT_VERSATILE
  30. select POWER_RESET
  31. select POWER_RESET_VERSATILE
  32. select POWER_SUPPLY
  33. select SOC_INTEGRATOR_CM
  34. select VERSATILE_FPGA_IRQ
  35. help
  36. Support for ARM's Integrator platform.
  37. if ARCH_INTEGRATOR
  38. config ARCH_INTEGRATOR_AP
  39. bool "Support Integrator/AP and Integrator/PP2 platforms"
  40. select INTEGRATOR_AP_TIMER
  41. select SERIAL_AMBA_PL010 if TTY
  42. select SERIAL_AMBA_PL010_CONSOLE if TTY
  43. select SOC_BUS
  44. help
  45. Include support for the ARM(R) Integrator/AP and
  46. Integrator/PP2 platforms.
  47. config INTEGRATOR_IMPD1
  48. bool "Include support for Integrator/IM-PD1"
  49. depends on ARCH_INTEGRATOR_AP
  50. select ARM_VIC
  51. select GPIO_PL061
  52. select GPIOLIB
  53. select REGULATOR
  54. select REGULATOR_FIXED_VOLTAGE
  55. help
  56. The IM-PD1 is an add-on logic module for the Integrator which
  57. allows ARM(R) Ltd PrimeCells to be developed and evaluated.
  58. The IM-PD1 can be found on the Integrator/PP2 platform.
  59. config INTEGRATOR_CM720T
  60. bool "Integrator/CM720T core module"
  61. depends on ARCH_INTEGRATOR_AP
  62. depends on ARCH_MULTI_V4T
  63. select CPU_ARM720T
  64. config INTEGRATOR_CM920T
  65. bool "Integrator/CM920T core module"
  66. depends on ARCH_INTEGRATOR_AP
  67. depends on ARCH_MULTI_V4T
  68. select CPU_ARM920T
  69. config INTEGRATOR_CM922T_XA10
  70. bool "Integrator/CM922T-XA10 core module"
  71. depends on ARCH_MULTI_V4T
  72. depends on ARCH_INTEGRATOR_AP
  73. select CPU_ARM922T
  74. config INTEGRATOR_CM926EJS
  75. bool "Integrator/CM926EJ-S core module"
  76. depends on ARCH_INTEGRATOR_AP
  77. depends on ARCH_MULTI_V5
  78. select CPU_ARM926T
  79. config INTEGRATOR_CM10200E_REV0
  80. bool "Integrator/CM10200E rev.0 core module"
  81. depends on ARCH_INTEGRATOR_AP && n
  82. depends on ARCH_MULTI_V5
  83. select CPU_ARM1020
  84. config INTEGRATOR_CM10200E
  85. bool "Integrator/CM10200E core module"
  86. depends on ARCH_INTEGRATOR_AP && n
  87. depends on ARCH_MULTI_V5
  88. select CPU_ARM1020E
  89. config INTEGRATOR_CM10220E
  90. bool "Integrator/CM10220E core module"
  91. depends on ARCH_INTEGRATOR_AP
  92. depends on ARCH_MULTI_V5
  93. select CPU_ARM1022
  94. config INTEGRATOR_CM1026EJS
  95. bool "Integrator/CM1026EJ-S core module"
  96. depends on ARCH_INTEGRATOR_AP
  97. depends on ARCH_MULTI_V5
  98. select CPU_ARM1026
  99. config INTEGRATOR_CM1136JFS
  100. bool "Integrator/CM1136JF-S core module"
  101. depends on ARCH_INTEGRATOR_AP
  102. depends on ARCH_MULTI_V6
  103. select CPU_V6
  104. config ARCH_INTEGRATOR_CP
  105. bool "Support Integrator/CP platform"
  106. depends on ARCH_MULTI_V5 || ARCH_MULTI_V6
  107. select ARM_TIMER_SP804
  108. select SERIAL_AMBA_PL011 if TTY
  109. select SERIAL_AMBA_PL011_CONSOLE if TTY
  110. select SOC_BUS
  111. help
  112. Include support for the ARM(R) Integrator CP platform.
  113. config INTEGRATOR_CT926
  114. bool "Integrator/CT926 (ARM926EJ-S) core tile"
  115. depends on ARCH_INTEGRATOR_CP
  116. depends on ARCH_MULTI_V5
  117. select CPU_ARM926T
  118. config INTEGRATOR_CTB36
  119. bool "Integrator/CTB36 (ARM1136JF-S) core tile"
  120. depends on ARCH_INTEGRATOR_CP
  121. depends on ARCH_MULTI_V6
  122. select CPU_V6
  123. config ARCH_CINTEGRATOR
  124. depends on ARCH_INTEGRATOR_CP
  125. def_bool y
  126. endif
  127. menuconfig ARCH_REALVIEW
  128. bool "ARM Ltd. RealView family"
  129. depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V6 || ARCH_MULTI_V7
  130. select ARM_AMBA
  131. select ARM_GIC
  132. select ARM_TIMER_SP804
  133. select CLK_SP810
  134. select GPIO_PL061 if GPIOLIB
  135. select HAVE_ARM_SCU if SMP
  136. select HAVE_ARM_TWD if SMP
  137. select HAVE_PATA_PLATFORM
  138. select HAVE_TCM
  139. select CLK_ICST
  140. select MACH_REALVIEW_EB if ARCH_MULTI_V5
  141. select MFD_SYSCON
  142. select PLAT_VERSATILE
  143. select POWER_RESET
  144. select POWER_RESET_VERSATILE
  145. select POWER_SUPPLY
  146. select SOC_REALVIEW
  147. help
  148. This enables support for ARM Ltd RealView boards.
  149. if ARCH_REALVIEW
  150. config MACH_REALVIEW_EB
  151. bool "Support RealView(R) Emulation Baseboard"
  152. select ARM_GIC
  153. select CPU_ARM926T if ARCH_MULTI_V5
  154. help
  155. Include support for the ARM(R) RealView(R) Emulation Baseboard
  156. platform. On an ARMv5 kernel, this will include support for
  157. the ARM926EJ-S core tile, while on an ARMv6/v7 kernel, at least
  158. one of the ARM1136, ARM1176, ARM11MPCore or Cortex-A9MPCore
  159. core tile options should be enabled.
  160. config REALVIEW_EB_ARM1136
  161. bool "Support ARM1136J(F)-S Tile"
  162. depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
  163. select CPU_V6
  164. help
  165. Enable support for the ARM1136 tile fitted to the
  166. Realview(R) Emulation Baseboard platform.
  167. config REALVIEW_EB_ARM1176
  168. bool "Support ARM1176JZ(F)-S Tile"
  169. depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
  170. help
  171. Enable support for the ARM1176 tile fitted to the
  172. Realview(R) Emulation Baseboard platform.
  173. config REALVIEW_EB_A9MP
  174. bool "Support Multicore Cortex-A9 Tile"
  175. depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
  176. help
  177. Enable support for the Cortex-A9MPCore tile fitted to the
  178. Realview(R) Emulation Baseboard platform.
  179. config REALVIEW_EB_ARM11MP
  180. bool "Support ARM11MPCore Tile"
  181. depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
  182. select HAVE_SMP
  183. help
  184. Enable support for the ARM11MPCore tile fitted to the Realview(R)
  185. Emulation Baseboard platform.
  186. config MACH_REALVIEW_PB11MP
  187. bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
  188. depends on ARCH_MULTI_V6
  189. select HAVE_SMP
  190. help
  191. Include support for the ARM(R) RealView(R) Platform Baseboard for
  192. the ARM11MPCore. This platform has an on-board ARM11MPCore and has
  193. support for PCI-E and Compact Flash.
  194. # ARMv6 CPU without K extensions, but does have the new exclusive ops
  195. config MACH_REALVIEW_PB1176
  196. bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
  197. depends on ARCH_MULTI_V6
  198. select CPU_V6
  199. select HAVE_TCM
  200. help
  201. Include support for the ARM(R) RealView(R) Platform Baseboard for
  202. ARM1176JZF-S.
  203. config MACH_REALVIEW_PBA8
  204. bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
  205. depends on ARCH_MULTI_V7
  206. help
  207. Include support for the ARM(R) RealView Platform Baseboard for
  208. Cortex(tm)-A8. This platform has an on-board Cortex-A8 and has
  209. support for PCI-E and Compact Flash.
  210. config MACH_REALVIEW_PBX
  211. bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
  212. depends on ARCH_MULTI_V7
  213. select ZONE_DMA
  214. help
  215. Include support for the ARM(R) RealView(R) Platform Baseboard
  216. Explore.
  217. endif
  218. menuconfig ARCH_VEXPRESS
  219. bool "ARM Ltd. Versatile Express family"
  220. depends on ARCH_MULTI_V7
  221. select ARM_AMBA
  222. select ARM_GIC
  223. select ARM_GLOBAL_TIMER
  224. select ARM_TIMER_SP804
  225. select GPIOLIB
  226. select HAVE_ARM_SCU if SMP
  227. select HAVE_ARM_TWD if SMP
  228. select CLK_ICST
  229. select NO_IOPORT_MAP
  230. select PLAT_VERSATILE
  231. select POWER_RESET
  232. select POWER_RESET_VEXPRESS
  233. select POWER_SUPPLY
  234. select REGULATOR if MMC_ARMMMCI
  235. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  236. select VEXPRESS_CONFIG
  237. help
  238. This option enables support for systems using Cortex processor based
  239. ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
  240. for example:
  241. - CoreTile Express A5x2 (V2P-CA5s)
  242. - CoreTile Express A9x4 (V2P-CA9)
  243. - CoreTile Express A15x2 (V2P-CA15)
  244. - LogicTile Express 13MG (V2F-2XV6) with A5, A7, A9 or A15 SMMs
  245. (Soft Macrocell Models)
  246. - Versatile Express RTSMs (Models)
  247. You must boot using a Flattened Device Tree in order to use these
  248. platforms. The traditional (ATAGs) boot method is not usable on
  249. these boards with this option.
  250. if ARCH_VEXPRESS
  251. config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA
  252. bool "Enable A5 and A9 only errata work-arounds"
  253. default y
  254. select ARM_ERRATA_643719 if SMP
  255. select ARM_ERRATA_720789
  256. select PL310_ERRATA_753970 if CACHE_L2X0
  257. help
  258. Provides common dependencies for Versatile Express platforms
  259. based on Cortex-A5 and Cortex-A9 processors. In order to
  260. build a working kernel, you must also enable relevant core
  261. tile support or Flattened Device Tree based support options.
  262. config ARCH_VEXPRESS_DCSCB
  263. bool "Dual Cluster System Control Block (DCSCB) support"
  264. depends on MCPM
  265. select ARM_CCI400_PORT_CTRL
  266. help
  267. Support for the Dual Cluster System Configuration Block (DCSCB).
  268. This is needed to provide CPU and cluster power management
  269. on RTSM implementing big.LITTLE.
  270. config ARCH_VEXPRESS_SPC
  271. bool "Versatile Express Serial Power Controller (SPC)"
  272. select PM_OPP
  273. help
  274. The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
  275. block called Serial Power Controller (SPC) that provides the interface
  276. between the dual cluster test-chip and the M3 microcontroller that
  277. carries out power management.
  278. config ARCH_VEXPRESS_TC2_PM
  279. bool "Versatile Express TC2 power management"
  280. depends on MCPM
  281. select ARM_CCI400_PORT_CTRL
  282. select ARCH_VEXPRESS_SPC
  283. select ARM_CPU_SUSPEND
  284. help
  285. Support for CPU and cluster power management on Versatile Express
  286. with a TC2 (A15x2 A7x3) big.LITTLE core tile.
  287. endif