Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. # SPDX-License-Identifier: GPL-2.0
  2. config 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 "Emma Mobile EV2"
  44. select HAVE_ARM_SCU if SMP
  45. select SYS_SUPPORTS_EM_STI
  46. config ARCH_R7S72100
  47. bool "RZ/A1H (R7S72100)"
  48. select ARM_ERRATA_754322
  49. select PM
  50. select PM_GENERIC_DOMAINS
  51. select RENESAS_OSTM
  52. select RENESAS_RZA1_IRQC
  53. select SYS_SUPPORTS_SH_MTU2
  54. config ARCH_R7S9210
  55. bool "RZ/A2 (R7S9210)"
  56. select PM
  57. select PM_GENERIC_DOMAINS
  58. select RENESAS_OSTM
  59. select RENESAS_RZA1_IRQC
  60. config ARCH_R8A73A4
  61. bool "R-Mobile APE6 (R8A73A40)"
  62. select ARCH_RMOBILE
  63. select ARM_ERRATA_798181 if SMP
  64. select ARM_ERRATA_814220
  65. select HAVE_ARM_ARCH_TIMER
  66. select RENESAS_IRQC
  67. config ARCH_R8A7740
  68. bool "R-Mobile A1 (R8A77400)"
  69. select ARCH_RMOBILE
  70. select ARM_ERRATA_754322
  71. select RENESAS_INTC_IRQPIN
  72. config ARCH_R8A7743
  73. bool "RZ/G1M (R8A77430)"
  74. select ARCH_RCAR_GEN2
  75. select ARM_ERRATA_798181 if SMP
  76. select SYSC_R8A7743
  77. config ARCH_R8A7744
  78. bool "RZ/G1N (R8A77440)"
  79. select ARCH_RCAR_GEN2
  80. select ARM_ERRATA_798181 if SMP
  81. select SYSC_R8A7743
  82. config ARCH_R8A7745
  83. bool "RZ/G1E (R8A77450)"
  84. select ARCH_RCAR_GEN2
  85. select ARM_ERRATA_814220
  86. select SYSC_R8A7745
  87. config ARCH_R8A77470
  88. bool "RZ/G1C (R8A77470)"
  89. select ARCH_RCAR_GEN2
  90. select ARM_ERRATA_814220
  91. select SYSC_R8A77470
  92. config ARCH_R8A7778
  93. bool "R-Car M1A (R8A77781)"
  94. select ARCH_RCAR_GEN1
  95. select ARM_ERRATA_754322
  96. config ARCH_R8A7779
  97. bool "R-Car H1 (R8A77790)"
  98. select ARCH_RCAR_GEN1
  99. select ARM_ERRATA_754322
  100. select HAVE_ARM_SCU if SMP
  101. select HAVE_ARM_TWD if SMP
  102. select SYSC_R8A7779
  103. config ARCH_R8A7790
  104. bool "R-Car H2 (R8A77900)"
  105. select ARCH_RCAR_GEN2
  106. select ARM_ERRATA_798181 if SMP
  107. select ARM_ERRATA_814220
  108. select I2C
  109. select SYSC_R8A7790
  110. config ARCH_R8A7791
  111. bool "R-Car M2-W (R8A77910)"
  112. select ARCH_RCAR_GEN2
  113. select ARM_ERRATA_798181 if SMP
  114. select I2C
  115. select SYSC_R8A7791
  116. config ARCH_R8A7792
  117. bool "R-Car V2H (R8A77920)"
  118. select ARCH_RCAR_GEN2
  119. select ARM_ERRATA_798181 if SMP
  120. select SYSC_R8A7792
  121. config ARCH_R8A7793
  122. bool "R-Car M2-N (R8A7793)"
  123. select ARCH_RCAR_GEN2
  124. select ARM_ERRATA_798181 if SMP
  125. select I2C
  126. select SYSC_R8A7791
  127. config ARCH_R8A7794
  128. bool "R-Car E2 (R8A77940)"
  129. select ARCH_RCAR_GEN2
  130. select ARM_ERRATA_814220
  131. select SYSC_R8A7794
  132. config ARCH_R9A06G032
  133. bool "RZ/N1D (R9A06G032)"
  134. select ARCH_RZN1
  135. select ARM_ERRATA_814220
  136. config ARCH_SH73A0
  137. bool "SH-Mobile AG5 (R8A73A00)"
  138. select ARCH_RMOBILE
  139. select ARM_ERRATA_754322
  140. select HAVE_ARM_SCU if SMP
  141. select HAVE_ARM_TWD if SMP
  142. select RENESAS_INTC_IRQPIN
  143. endif # ARM
  144. if ARM64
  145. config ARCH_R8A774A1
  146. bool "Renesas RZ/G2M SoC Platform"
  147. select ARCH_RCAR_GEN3
  148. select SYSC_R8A774A1
  149. help
  150. This enables support for the Renesas RZ/G2M SoC.
  151. config ARCH_R8A774C0
  152. bool "Renesas RZ/G2E SoC Platform"
  153. select ARCH_RCAR_GEN3
  154. select SYSC_R8A774C0
  155. help
  156. This enables support for the Renesas RZ/G2E SoC.
  157. config ARCH_R8A7795
  158. bool "Renesas R-Car H3 SoC Platform"
  159. select ARCH_RCAR_GEN3
  160. select SYSC_R8A7795
  161. help
  162. This enables support for the Renesas R-Car H3 SoC.
  163. config ARCH_R8A7796
  164. bool "Renesas R-Car M3-W SoC Platform"
  165. select ARCH_RCAR_GEN3
  166. select SYSC_R8A7796
  167. help
  168. This enables support for the Renesas R-Car M3-W SoC.
  169. config ARCH_R8A77965
  170. bool "Renesas R-Car M3-N SoC Platform"
  171. select ARCH_RCAR_GEN3
  172. select SYSC_R8A77965
  173. help
  174. This enables support for the Renesas R-Car M3-N SoC.
  175. config ARCH_R8A77970
  176. bool "Renesas R-Car V3M SoC Platform"
  177. select ARCH_RCAR_GEN3
  178. select SYSC_R8A77970
  179. help
  180. This enables support for the Renesas R-Car V3M SoC.
  181. config ARCH_R8A77980
  182. bool "Renesas R-Car V3H SoC Platform"
  183. select ARCH_RCAR_GEN3
  184. select SYSC_R8A77980
  185. help
  186. This enables support for the Renesas R-Car V3H SoC.
  187. config ARCH_R8A77990
  188. bool "Renesas R-Car E3 SoC Platform"
  189. select ARCH_RCAR_GEN3
  190. select SYSC_R8A77990
  191. help
  192. This enables support for the Renesas R-Car E3 SoC.
  193. config ARCH_R8A77995
  194. bool "Renesas R-Car D3 SoC Platform"
  195. select ARCH_RCAR_GEN3
  196. select SYSC_R8A77995
  197. help
  198. This enables support for the Renesas R-Car D3 SoC.
  199. endif # ARM64
  200. # SoC
  201. config SYSC_R8A7743
  202. bool "RZ/G1M System Controller support" if COMPILE_TEST
  203. select SYSC_RCAR
  204. config SYSC_R8A7745
  205. bool "RZ/G1E System Controller support" if COMPILE_TEST
  206. select SYSC_RCAR
  207. config SYSC_R8A77470
  208. bool "RZ/G1C System Controller support" if COMPILE_TEST
  209. select SYSC_RCAR
  210. config SYSC_R8A774A1
  211. bool "RZ/G2M System Controller support" if COMPILE_TEST
  212. select SYSC_RCAR
  213. config SYSC_R8A774C0
  214. bool "RZ/G2E System Controller support" if COMPILE_TEST
  215. select SYSC_RCAR
  216. config SYSC_R8A7779
  217. bool "R-Car H1 System Controller support" if COMPILE_TEST
  218. select SYSC_RCAR
  219. config SYSC_R8A7790
  220. bool "R-Car H2 System Controller support" if COMPILE_TEST
  221. select SYSC_RCAR
  222. config SYSC_R8A7791
  223. bool "R-Car M2-W/N System Controller support" if COMPILE_TEST
  224. select SYSC_RCAR
  225. config SYSC_R8A7792
  226. bool "R-Car V2H System Controller support" if COMPILE_TEST
  227. select SYSC_RCAR
  228. config SYSC_R8A7794
  229. bool "R-Car E2 System Controller support" if COMPILE_TEST
  230. select SYSC_RCAR
  231. config SYSC_R8A7795
  232. bool "R-Car H3 System Controller support" if COMPILE_TEST
  233. select SYSC_RCAR
  234. config SYSC_R8A7796
  235. bool "R-Car M3-W System Controller support" if COMPILE_TEST
  236. select SYSC_RCAR
  237. config SYSC_R8A77965
  238. bool "R-Car M3-N System Controller support" if COMPILE_TEST
  239. select SYSC_RCAR
  240. config SYSC_R8A77970
  241. bool "R-Car V3M System Controller support" if COMPILE_TEST
  242. select SYSC_RCAR
  243. config SYSC_R8A77980
  244. bool "R-Car V3H System Controller support" if COMPILE_TEST
  245. select SYSC_RCAR
  246. config SYSC_R8A77990
  247. bool "R-Car E3 System Controller support" if COMPILE_TEST
  248. select SYSC_RCAR
  249. config SYSC_R8A77995
  250. bool "R-Car D3 System Controller support" if COMPILE_TEST
  251. select SYSC_RCAR
  252. # Family
  253. config RST_RCAR
  254. bool "R-Car Reset Controller support" if COMPILE_TEST
  255. config SYSC_RCAR
  256. bool "R-Car System Controller support" if COMPILE_TEST
  257. config SYSC_RMOBILE
  258. bool "R-Mobile System Controller support" if COMPILE_TEST
  259. endif # SOC_RENESAS