Kconfig 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. # SPDX-License-Identifier: GPL-2.0
  2. menuconfig SOC_RENESAS
  3. bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
  4. default y if ARCH_RENESAS
  5. select SOC_BUS
  6. if SOC_RENESAS
  7. config ARCH_RCAR_GEN1
  8. bool
  9. select PM
  10. select PM_GENERIC_DOMAINS
  11. select RENESAS_INTC_IRQPIN
  12. select RST_RCAR
  13. select SYS_SUPPORTS_SH_TMU
  14. config ARCH_RCAR_GEN2
  15. bool
  16. select HAVE_ARM_ARCH_TIMER
  17. select PM
  18. select PM_GENERIC_DOMAINS
  19. select RENESAS_IRQC
  20. select RST_RCAR
  21. select SYS_SUPPORTS_SH_CMT
  22. config ARCH_RCAR_GEN3
  23. bool
  24. select PM
  25. select PM_GENERIC_DOMAINS
  26. select RENESAS_IRQC
  27. select RST_RCAR
  28. select SYS_SUPPORTS_SH_CMT
  29. select SYS_SUPPORTS_SH_TMU
  30. config ARCH_RMOBILE
  31. bool
  32. select PM
  33. select PM_GENERIC_DOMAINS
  34. select SYS_SUPPORTS_SH_CMT
  35. select SYS_SUPPORTS_SH_TMU
  36. select SYSC_RMOBILE
  37. config ARCH_RZN1
  38. bool
  39. select ARM_AMBA
  40. if ARM && ARCH_RENESAS
  41. #comment "Renesas ARM SoCs System Type"
  42. config ARCH_EMEV2
  43. bool "ARM32 Platform support for Emma Mobile EV2"
  44. select HAVE_ARM_SCU if SMP
  45. select SYS_SUPPORTS_EM_STI
  46. config ARCH_R8A7794
  47. bool "ARM32 Platform support for R-Car E2"
  48. select ARCH_RCAR_GEN2
  49. select ARM_ERRATA_814220
  50. select SYSC_R8A7794
  51. config ARCH_R8A7779
  52. bool "ARM32 Platform support for R-Car H1"
  53. select ARCH_RCAR_GEN1
  54. select ARM_ERRATA_754322
  55. select ARM_GLOBAL_TIMER
  56. select HAVE_ARM_SCU if SMP
  57. select HAVE_ARM_TWD if SMP
  58. select SYSC_R8A7779
  59. config ARCH_R8A7790
  60. bool "ARM32 Platform support for R-Car H2"
  61. select ARCH_RCAR_GEN2
  62. select ARM_ERRATA_798181 if SMP
  63. select ARM_ERRATA_814220
  64. select I2C
  65. select SYSC_R8A7790
  66. config ARCH_R8A7778
  67. bool "ARM32 Platform support for R-Car M1A"
  68. select ARCH_RCAR_GEN1
  69. select ARM_ERRATA_754322
  70. config ARCH_R8A7793
  71. bool "ARM32 Platform support for R-Car M2-N"
  72. select ARCH_RCAR_GEN2
  73. select ARM_ERRATA_798181 if SMP
  74. select I2C
  75. select SYSC_R8A7791
  76. config ARCH_R8A7791
  77. bool "ARM32 Platform support for R-Car M2-W"
  78. select ARCH_RCAR_GEN2
  79. select ARM_ERRATA_798181 if SMP
  80. select I2C
  81. select SYSC_R8A7791
  82. config ARCH_R8A7792
  83. bool "ARM32 Platform support for R-Car V2H"
  84. select ARCH_RCAR_GEN2
  85. select ARM_ERRATA_798181 if SMP
  86. select SYSC_R8A7792
  87. config ARCH_R8A7740
  88. bool "ARM32 Platform support for R-Mobile A1"
  89. select ARCH_RMOBILE
  90. select ARM_ERRATA_754322
  91. select RENESAS_INTC_IRQPIN
  92. config ARCH_R8A73A4
  93. bool "ARM32 Platform support for R-Mobile APE6"
  94. select ARCH_RMOBILE
  95. select ARM_ERRATA_798181 if SMP
  96. select ARM_ERRATA_814220
  97. select HAVE_ARM_ARCH_TIMER
  98. select RENESAS_IRQC
  99. config ARCH_R7S72100
  100. bool "ARM32 Platform support for RZ/A1H"
  101. select ARM_ERRATA_754322
  102. select PM
  103. select PM_GENERIC_DOMAINS
  104. select RENESAS_OSTM
  105. select RENESAS_RZA1_IRQC
  106. select SYS_SUPPORTS_SH_MTU2
  107. config ARCH_R7S9210
  108. bool "ARM32 Platform support for RZ/A2"
  109. select PM
  110. select PM_GENERIC_DOMAINS
  111. select RENESAS_OSTM
  112. select RENESAS_RZA1_IRQC
  113. config ARCH_R8A77470
  114. bool "ARM32 Platform support for RZ/G1C"
  115. select ARCH_RCAR_GEN2
  116. select ARM_ERRATA_814220
  117. select SYSC_R8A77470
  118. config ARCH_R8A7745
  119. bool "ARM32 Platform support for RZ/G1E"
  120. select ARCH_RCAR_GEN2
  121. select ARM_ERRATA_814220
  122. select SYSC_R8A7745
  123. config ARCH_R8A7742
  124. bool "ARM32 Platform support for RZ/G1H"
  125. select ARCH_RCAR_GEN2
  126. select ARM_ERRATA_798181 if SMP
  127. select ARM_ERRATA_814220
  128. select SYSC_R8A7742
  129. config ARCH_R8A7743
  130. bool "ARM32 Platform support for RZ/G1M"
  131. select ARCH_RCAR_GEN2
  132. select ARM_ERRATA_798181 if SMP
  133. select SYSC_R8A7743
  134. config ARCH_R8A7744
  135. bool "ARM32 Platform support for RZ/G1N"
  136. select ARCH_RCAR_GEN2
  137. select ARM_ERRATA_798181 if SMP
  138. select SYSC_R8A7743
  139. config ARCH_R9A06G032
  140. bool "ARM32 Platform support for RZ/N1D"
  141. select ARCH_RZN1
  142. select ARM_ERRATA_814220
  143. config ARCH_SH73A0
  144. bool "ARM32 Platform support for SH-Mobile AG5"
  145. select ARCH_RMOBILE
  146. select ARM_ERRATA_754322
  147. select ARM_GLOBAL_TIMER
  148. select HAVE_ARM_SCU if SMP
  149. select HAVE_ARM_TWD if SMP
  150. select RENESAS_INTC_IRQPIN
  151. endif # ARM
  152. if ARM64
  153. config ARCH_R8A77995
  154. bool "ARM64 Platform support for R-Car D3"
  155. select ARCH_RCAR_GEN3
  156. select SYSC_R8A77995
  157. help
  158. This enables support for the Renesas R-Car D3 SoC.
  159. config ARCH_R8A77990
  160. bool "ARM64 Platform support for R-Car E3"
  161. select ARCH_RCAR_GEN3
  162. select SYSC_R8A77990
  163. help
  164. This enables support for the Renesas R-Car E3 SoC.
  165. config ARCH_R8A77950
  166. bool "ARM64 Platform support for R-Car H3 ES1.x"
  167. select ARCH_RCAR_GEN3
  168. select SYSC_R8A7795
  169. help
  170. This enables support for the Renesas R-Car H3 SoC (revision 1.x).
  171. config ARCH_R8A77951
  172. bool "ARM64 Platform support for R-Car H3 ES2.0+"
  173. select ARCH_RCAR_GEN3
  174. select SYSC_R8A7795
  175. help
  176. This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
  177. later).
  178. config ARCH_R8A77965
  179. bool "ARM64 Platform support for R-Car M3-N"
  180. select ARCH_RCAR_GEN3
  181. select SYSC_R8A77965
  182. help
  183. This enables support for the Renesas R-Car M3-N SoC.
  184. config ARCH_R8A77960
  185. bool "ARM64 Platform support for R-Car M3-W"
  186. select ARCH_RCAR_GEN3
  187. select SYSC_R8A77960
  188. help
  189. This enables support for the Renesas R-Car M3-W SoC.
  190. config ARCH_R8A77961
  191. bool "ARM64 Platform support for R-Car M3-W+"
  192. select ARCH_RCAR_GEN3
  193. select SYSC_R8A77961
  194. help
  195. This enables support for the Renesas R-Car M3-W+ SoC.
  196. config ARCH_R8A77980
  197. bool "ARM64 Platform support for R-Car V3H"
  198. select ARCH_RCAR_GEN3
  199. select SYSC_R8A77980
  200. help
  201. This enables support for the Renesas R-Car V3H SoC.
  202. config ARCH_R8A77970
  203. bool "ARM64 Platform support for R-Car V3M"
  204. select ARCH_RCAR_GEN3
  205. select SYSC_R8A77970
  206. help
  207. This enables support for the Renesas R-Car V3M SoC.
  208. config ARCH_R8A779A0
  209. bool "ARM64 Platform support for R-Car V3U"
  210. select ARCH_RCAR_GEN3
  211. select SYSC_R8A779A0
  212. help
  213. This enables support for the Renesas R-Car V3U SoC.
  214. config ARCH_R8A774C0
  215. bool "ARM64 Platform support for RZ/G2E"
  216. select ARCH_RCAR_GEN3
  217. select SYSC_R8A774C0
  218. help
  219. This enables support for the Renesas RZ/G2E SoC.
  220. config ARCH_R8A774E1
  221. bool "ARM64 Platform support for RZ/G2H"
  222. select ARCH_RCAR_GEN3
  223. select SYSC_R8A774E1
  224. help
  225. This enables support for the Renesas RZ/G2H SoC.
  226. config ARCH_R8A774A1
  227. bool "ARM64 Platform support for RZ/G2M"
  228. select ARCH_RCAR_GEN3
  229. select SYSC_R8A774A1
  230. help
  231. This enables support for the Renesas RZ/G2M SoC.
  232. config ARCH_R8A774B1
  233. bool "ARM64 Platform support for RZ/G2N"
  234. select ARCH_RCAR_GEN3
  235. select SYSC_R8A774B1
  236. help
  237. This enables support for the Renesas RZ/G2N SoC.
  238. endif # ARM64
  239. config RST_RCAR
  240. bool "Reset Controller support for R-Car" if COMPILE_TEST
  241. config SYSC_RCAR
  242. bool "System Controller support for R-Car" if COMPILE_TEST
  243. config SYSC_R8A77995
  244. bool "System Controller support for R-Car D3" if COMPILE_TEST
  245. select SYSC_RCAR
  246. config SYSC_R8A7794
  247. bool "System Controller support for R-Car E2" if COMPILE_TEST
  248. select SYSC_RCAR
  249. config SYSC_R8A77990
  250. bool "System Controller support for R-Car E3" if COMPILE_TEST
  251. select SYSC_RCAR
  252. config SYSC_R8A7779
  253. bool "System Controller support for R-Car H1" if COMPILE_TEST
  254. select SYSC_RCAR
  255. config SYSC_R8A7790
  256. bool "System Controller support for R-Car H2" if COMPILE_TEST
  257. select SYSC_RCAR
  258. config SYSC_R8A7795
  259. bool "System Controller support for R-Car H3" if COMPILE_TEST
  260. select SYSC_RCAR
  261. config SYSC_R8A7791
  262. bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
  263. select SYSC_RCAR
  264. config SYSC_R8A77965
  265. bool "System Controller support for R-Car M3-N" if COMPILE_TEST
  266. select SYSC_RCAR
  267. config SYSC_R8A77960
  268. bool "System Controller support for R-Car M3-W" if COMPILE_TEST
  269. select SYSC_RCAR
  270. config SYSC_R8A77961
  271. bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
  272. select SYSC_RCAR
  273. config SYSC_R8A7792
  274. bool "System Controller support for R-Car V2H" if COMPILE_TEST
  275. select SYSC_RCAR
  276. config SYSC_R8A77980
  277. bool "System Controller support for R-Car V3H" if COMPILE_TEST
  278. select SYSC_RCAR
  279. config SYSC_R8A77970
  280. bool "System Controller support for R-Car V3M" if COMPILE_TEST
  281. select SYSC_RCAR
  282. config SYSC_R8A779A0
  283. bool "System Controller support for R-Car V3U" if COMPILE_TEST
  284. config SYSC_RMOBILE
  285. bool "System Controller support for R-Mobile" if COMPILE_TEST
  286. config SYSC_R8A77470
  287. bool "System Controller support for RZ/G1C" if COMPILE_TEST
  288. select SYSC_RCAR
  289. config SYSC_R8A7745
  290. bool "System Controller support for RZ/G1E" if COMPILE_TEST
  291. select SYSC_RCAR
  292. config SYSC_R8A7742
  293. bool "System Controller support for RZ/G1H" if COMPILE_TEST
  294. select SYSC_RCAR
  295. config SYSC_R8A7743
  296. bool "System Controller support for RZ/G1M" if COMPILE_TEST
  297. select SYSC_RCAR
  298. config SYSC_R8A774C0
  299. bool "System Controller support for RZ/G2E" if COMPILE_TEST
  300. select SYSC_RCAR
  301. config SYSC_R8A774E1
  302. bool "System Controller support for RZ/G2H" if COMPILE_TEST
  303. select SYSC_RCAR
  304. config SYSC_R8A774A1
  305. bool "System Controller support for RZ/G2M" if COMPILE_TEST
  306. select SYSC_RCAR
  307. config SYSC_R8A774B1
  308. bool "System Controller support for RZ/G2N" if COMPILE_TEST
  309. select SYSC_RCAR
  310. endif # SOC_RENESAS