Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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. # ARMv6 CPU without K extensions, but does have the new exclusive ops
  180. config MACH_REALVIEW_PB1176
  181. bool "Support RealView(R) Platform Baseboard for ARM1176JZF-S"
  182. depends on ARCH_MULTI_V6
  183. select CPU_V6
  184. select HAVE_TCM
  185. help
  186. Include support for the ARM(R) RealView(R) Platform Baseboard for
  187. ARM1176JZF-S.
  188. config MACH_REALVIEW_PBA8
  189. bool "Support RealView(R) Platform Baseboard for Cortex(tm)-A8 platform"
  190. depends on ARCH_MULTI_V7
  191. help
  192. Include support for the ARM(R) RealView Platform Baseboard for
  193. Cortex(tm)-A8. This platform has an on-board Cortex-A8 and has
  194. support for PCI-E and Compact Flash.
  195. config MACH_REALVIEW_PBX
  196. bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
  197. depends on ARCH_MULTI_V7
  198. select ZONE_DMA
  199. help
  200. Include support for the ARM(R) RealView(R) Platform Baseboard
  201. Explore.
  202. endif
  203. menuconfig ARCH_VEXPRESS
  204. bool "ARM Ltd. Versatile Express family"
  205. depends on ARCH_MULTI_V7
  206. select ARM_AMBA
  207. select ARM_GIC
  208. select ARM_GLOBAL_TIMER
  209. select ARM_TIMER_SP804
  210. select GPIOLIB
  211. select HAVE_ARM_SCU if SMP
  212. select HAVE_ARM_TWD if SMP
  213. select CLK_ICST
  214. select NO_IOPORT_MAP
  215. select PLAT_VERSATILE
  216. select POWER_RESET
  217. select POWER_RESET_VEXPRESS
  218. select POWER_SUPPLY
  219. select REGULATOR if MMC_ARMMMCI
  220. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  221. select VEXPRESS_CONFIG
  222. help
  223. This option enables support for systems using Cortex processor based
  224. ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
  225. for example:
  226. - CoreTile Express A5x2 (V2P-CA5s)
  227. - CoreTile Express A9x4 (V2P-CA9)
  228. - CoreTile Express A15x2 (V2P-CA15)
  229. - LogicTile Express 13MG (V2F-2XV6) with A5, A7, A9 or A15 SMMs
  230. (Soft Macrocell Models)
  231. - Versatile Express RTSMs (Models)
  232. You must boot using a Flattened Device Tree in order to use these
  233. platforms. The traditional (ATAGs) boot method is not usable on
  234. these boards with this option.
  235. if ARCH_VEXPRESS
  236. config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA
  237. bool "Enable A5 and A9 only errata work-arounds"
  238. default y
  239. select ARM_ERRATA_643719 if SMP
  240. select ARM_ERRATA_720789
  241. select PL310_ERRATA_753970 if CACHE_L2X0
  242. help
  243. Provides common dependencies for Versatile Express platforms
  244. based on Cortex-A5 and Cortex-A9 processors. In order to
  245. build a working kernel, you must also enable relevant core
  246. tile support or Flattened Device Tree based support options.
  247. config ARCH_VEXPRESS_SPC
  248. bool "Versatile Express Serial Power Controller (SPC)"
  249. select PM_OPP
  250. help
  251. The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
  252. block called Serial Power Controller (SPC) that provides the interface
  253. between the dual cluster test-chip and the M3 microcontroller that
  254. carries out power management.
  255. config ARCH_VEXPRESS_TC2_PM
  256. bool "Versatile Express TC2 power management"
  257. depends on MCPM
  258. select ARM_CCI400_PORT_CTRL
  259. select ARCH_VEXPRESS_SPC
  260. select ARM_CPU_SUSPEND
  261. help
  262. Support for CPU and cluster power management on Versatile Express
  263. with a TC2 (A15x2 A7x3) big.LITTLE core tile.
  264. endif