Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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_RZG2L
  38. bool
  39. select PM
  40. select PM_GENERIC_DOMAINS
  41. select RENESAS_RZG2L_IRQC
  42. config ARCH_RZN1
  43. bool
  44. select PM
  45. select PM_GENERIC_DOMAINS
  46. select ARM_AMBA
  47. if ARM && ARCH_RENESAS
  48. #comment "Renesas ARM SoCs System Type"
  49. config ARCH_EMEV2
  50. bool "ARM32 Platform support for Emma Mobile EV2"
  51. select HAVE_ARM_SCU if SMP
  52. select SYS_SUPPORTS_EM_STI
  53. config ARCH_R8A7794
  54. bool "ARM32 Platform support for R-Car E2"
  55. select ARCH_RCAR_GEN2
  56. select ARM_ERRATA_814220
  57. select SYSC_R8A7794
  58. config ARCH_R8A7779
  59. bool "ARM32 Platform support for R-Car H1"
  60. select ARCH_RCAR_GEN1
  61. select ARM_ERRATA_754322
  62. select ARM_GLOBAL_TIMER
  63. select HAVE_ARM_SCU if SMP
  64. select HAVE_ARM_TWD if SMP
  65. select SYSC_R8A7779
  66. config ARCH_R8A7790
  67. bool "ARM32 Platform support for R-Car H2"
  68. select ARCH_RCAR_GEN2
  69. select ARM_ERRATA_798181 if SMP
  70. select ARM_ERRATA_814220
  71. select I2C
  72. select SYSC_R8A7790
  73. config ARCH_R8A7778
  74. bool "ARM32 Platform support for R-Car M1A"
  75. select ARCH_RCAR_GEN1
  76. select ARM_ERRATA_754322
  77. config ARCH_R8A7793
  78. bool "ARM32 Platform support for R-Car M2-N"
  79. select ARCH_RCAR_GEN2
  80. select ARM_ERRATA_798181 if SMP
  81. select I2C
  82. select SYSC_R8A7791
  83. config ARCH_R8A7791
  84. bool "ARM32 Platform support for R-Car M2-W"
  85. select ARCH_RCAR_GEN2
  86. select ARM_ERRATA_798181 if SMP
  87. select I2C
  88. select SYSC_R8A7791
  89. config ARCH_R8A7792
  90. bool "ARM32 Platform support for R-Car V2H"
  91. select ARCH_RCAR_GEN2
  92. select ARM_ERRATA_798181 if SMP
  93. select SYSC_R8A7792
  94. config ARCH_R8A7740
  95. bool "ARM32 Platform support for R-Mobile A1"
  96. select ARCH_RMOBILE
  97. select ARM_ERRATA_754322
  98. select RENESAS_INTC_IRQPIN
  99. config ARCH_R8A73A4
  100. bool "ARM32 Platform support for R-Mobile APE6"
  101. select ARCH_RMOBILE
  102. select ARM_ERRATA_798181 if SMP
  103. select ARM_ERRATA_814220
  104. select HAVE_ARM_ARCH_TIMER
  105. select RENESAS_IRQC
  106. config ARCH_R7S72100
  107. bool "ARM32 Platform support for RZ/A1H"
  108. select ARM_ERRATA_754322
  109. select PM
  110. select PM_GENERIC_DOMAINS
  111. select RENESAS_OSTM
  112. select RENESAS_RZA1_IRQC
  113. select SYS_SUPPORTS_SH_MTU2
  114. config ARCH_R7S9210
  115. bool "ARM32 Platform support for RZ/A2"
  116. select PM
  117. select PM_GENERIC_DOMAINS
  118. select RENESAS_OSTM
  119. select RENESAS_RZA1_IRQC
  120. config ARCH_R8A77470
  121. bool "ARM32 Platform support for RZ/G1C"
  122. select ARCH_RCAR_GEN2
  123. select ARM_ERRATA_814220
  124. select SYSC_R8A77470
  125. config ARCH_R8A7745
  126. bool "ARM32 Platform support for RZ/G1E"
  127. select ARCH_RCAR_GEN2
  128. select ARM_ERRATA_814220
  129. select SYSC_R8A7745
  130. config ARCH_R8A7742
  131. bool "ARM32 Platform support for RZ/G1H"
  132. select ARCH_RCAR_GEN2
  133. select ARM_ERRATA_798181 if SMP
  134. select ARM_ERRATA_814220
  135. select SYSC_R8A7742
  136. config ARCH_R8A7743
  137. bool "ARM32 Platform support for RZ/G1M"
  138. select ARCH_RCAR_GEN2
  139. select ARM_ERRATA_798181 if SMP
  140. select SYSC_R8A7743
  141. config ARCH_R8A7744
  142. bool "ARM32 Platform support for RZ/G1N"
  143. select ARCH_RCAR_GEN2
  144. select ARM_ERRATA_798181 if SMP
  145. select SYSC_R8A7743
  146. config ARCH_R9A06G032
  147. bool "ARM32 Platform support for RZ/N1D"
  148. select ARCH_RZN1
  149. select ARM_ERRATA_814220
  150. config ARCH_SH73A0
  151. bool "ARM32 Platform support for SH-Mobile AG5"
  152. select ARCH_RMOBILE
  153. select ARM_ERRATA_754322
  154. select ARM_GLOBAL_TIMER
  155. select HAVE_ARM_SCU if SMP
  156. select HAVE_ARM_TWD if SMP
  157. select RENESAS_INTC_IRQPIN
  158. endif # ARM
  159. if ARM64
  160. config ARCH_R8A77995
  161. bool "ARM64 Platform support for R-Car D3"
  162. select ARCH_RCAR_GEN3
  163. select SYSC_R8A77995
  164. help
  165. This enables support for the Renesas R-Car D3 SoC.
  166. This includes different gradings like R-Car D3e.
  167. config ARCH_R8A77990
  168. bool "ARM64 Platform support for R-Car E3"
  169. select ARCH_RCAR_GEN3
  170. select SYSC_R8A77990
  171. help
  172. This enables support for the Renesas R-Car E3 SoC.
  173. This includes different gradings like R-Car E3e.
  174. config ARCH_R8A77950
  175. bool "ARM64 Platform support for R-Car H3 ES1.x"
  176. select ARCH_RCAR_GEN3
  177. select SYSC_R8A7795
  178. help
  179. This enables support for the Renesas R-Car H3 SoC (revision 1.x).
  180. config ARCH_R8A77951
  181. bool "ARM64 Platform support for R-Car H3 ES2.0+"
  182. select ARCH_RCAR_GEN3
  183. select SYSC_R8A7795
  184. help
  185. This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
  186. later).
  187. This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
  188. config ARCH_R8A77965
  189. bool "ARM64 Platform support for R-Car M3-N"
  190. select ARCH_RCAR_GEN3
  191. select SYSC_R8A77965
  192. help
  193. This enables support for the Renesas R-Car M3-N SoC.
  194. This includes different gradings like R-Car M3Ne and M3Ne-2G.
  195. config ARCH_R8A77960
  196. bool "ARM64 Platform support for R-Car M3-W"
  197. select ARCH_RCAR_GEN3
  198. select SYSC_R8A77960
  199. help
  200. This enables support for the Renesas R-Car M3-W SoC.
  201. config ARCH_R8A77961
  202. bool "ARM64 Platform support for R-Car M3-W+"
  203. select ARCH_RCAR_GEN3
  204. select SYSC_R8A77961
  205. help
  206. This enables support for the Renesas R-Car M3-W+ SoC.
  207. This includes different gradings like R-Car M3e and M3e-2G.
  208. config ARCH_R8A779F0
  209. bool "ARM64 Platform support for R-Car S4-8"
  210. select ARCH_RCAR_GEN3
  211. select SYSC_R8A779F0
  212. help
  213. This enables support for the Renesas R-Car S4-8 SoC.
  214. config ARCH_R8A77980
  215. bool "ARM64 Platform support for R-Car V3H"
  216. select ARCH_RCAR_GEN3
  217. select SYSC_R8A77980
  218. help
  219. This enables support for the Renesas R-Car V3H SoC.
  220. config ARCH_R8A77970
  221. bool "ARM64 Platform support for R-Car V3M"
  222. select ARCH_RCAR_GEN3
  223. select SYSC_R8A77970
  224. help
  225. This enables support for the Renesas R-Car V3M SoC.
  226. config ARCH_R8A779A0
  227. bool "ARM64 Platform support for R-Car V3U"
  228. select ARCH_RCAR_GEN3
  229. select SYSC_R8A779A0
  230. help
  231. This enables support for the Renesas R-Car V3U SoC.
  232. config ARCH_R8A779G0
  233. bool "ARM64 Platform support for R-Car V4H"
  234. select ARCH_RCAR_GEN3
  235. select SYSC_R8A779G0
  236. help
  237. This enables support for the Renesas R-Car V4H SoC.
  238. config ARCH_R8A774C0
  239. bool "ARM64 Platform support for RZ/G2E"
  240. select ARCH_RCAR_GEN3
  241. select SYSC_R8A774C0
  242. help
  243. This enables support for the Renesas RZ/G2E SoC.
  244. config ARCH_R8A774E1
  245. bool "ARM64 Platform support for RZ/G2H"
  246. select ARCH_RCAR_GEN3
  247. select SYSC_R8A774E1
  248. help
  249. This enables support for the Renesas RZ/G2H SoC.
  250. config ARCH_R8A774A1
  251. bool "ARM64 Platform support for RZ/G2M"
  252. select ARCH_RCAR_GEN3
  253. select SYSC_R8A774A1
  254. help
  255. This enables support for the Renesas RZ/G2M SoC.
  256. config ARCH_R8A774B1
  257. bool "ARM64 Platform support for RZ/G2N"
  258. select ARCH_RCAR_GEN3
  259. select SYSC_R8A774B1
  260. help
  261. This enables support for the Renesas RZ/G2N SoC.
  262. config ARCH_R9A07G043
  263. bool "ARM64 Platform support for RZ/G2UL"
  264. select ARCH_RZG2L
  265. help
  266. This enables support for the Renesas RZ/G2UL SoC variants.
  267. config ARCH_R9A07G044
  268. bool "ARM64 Platform support for RZ/G2L"
  269. select ARCH_RZG2L
  270. help
  271. This enables support for the Renesas RZ/G2L SoC variants.
  272. config ARCH_R9A07G054
  273. bool "ARM64 Platform support for RZ/V2L"
  274. select ARCH_RZG2L
  275. help
  276. This enables support for the Renesas RZ/V2L SoC variants.
  277. config ARCH_R9A09G011
  278. bool "ARM64 Platform support for RZ/V2M"
  279. select PM
  280. select PM_GENERIC_DOMAINS
  281. help
  282. This enables support for the Renesas RZ/V2M SoC.
  283. endif # ARM64
  284. if RISCV
  285. config ARCH_R9A07G043
  286. bool "RISC-V Platform support for RZ/Five"
  287. select ARCH_RZG2L
  288. help
  289. This enables support for the Renesas RZ/Five SoC.
  290. endif # RISCV
  291. config RST_RCAR
  292. bool "Reset Controller support for R-Car" if COMPILE_TEST
  293. config SYSC_RCAR
  294. bool "System Controller support for R-Car" if COMPILE_TEST
  295. config SYSC_RCAR_GEN4
  296. bool "System Controller support for R-Car Gen4" if COMPILE_TEST
  297. config SYSC_R8A77995
  298. bool "System Controller support for R-Car D3" if COMPILE_TEST
  299. select SYSC_RCAR
  300. config SYSC_R8A7794
  301. bool "System Controller support for R-Car E2" if COMPILE_TEST
  302. select SYSC_RCAR
  303. config SYSC_R8A77990
  304. bool "System Controller support for R-Car E3" if COMPILE_TEST
  305. select SYSC_RCAR
  306. config SYSC_R8A7779
  307. bool "System Controller support for R-Car H1" if COMPILE_TEST
  308. select SYSC_RCAR
  309. config SYSC_R8A7790
  310. bool "System Controller support for R-Car H2" if COMPILE_TEST
  311. select SYSC_RCAR
  312. config SYSC_R8A7795
  313. bool "System Controller support for R-Car H3" if COMPILE_TEST
  314. select SYSC_RCAR
  315. config SYSC_R8A7791
  316. bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
  317. select SYSC_RCAR
  318. config SYSC_R8A77965
  319. bool "System Controller support for R-Car M3-N" if COMPILE_TEST
  320. select SYSC_RCAR
  321. config SYSC_R8A77960
  322. bool "System Controller support for R-Car M3-W" if COMPILE_TEST
  323. select SYSC_RCAR
  324. config SYSC_R8A77961
  325. bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
  326. select SYSC_RCAR
  327. config SYSC_R8A779F0
  328. bool "System Controller support for R-Car S4-8" if COMPILE_TEST
  329. select SYSC_RCAR_GEN4
  330. config SYSC_R8A7792
  331. bool "System Controller support for R-Car V2H" if COMPILE_TEST
  332. select SYSC_RCAR
  333. config SYSC_R8A77980
  334. bool "System Controller support for R-Car V3H" if COMPILE_TEST
  335. select SYSC_RCAR
  336. config SYSC_R8A77970
  337. bool "System Controller support for R-Car V3M" if COMPILE_TEST
  338. select SYSC_RCAR
  339. config SYSC_R8A779A0
  340. bool "System Controller support for R-Car V3U" if COMPILE_TEST
  341. select SYSC_RCAR_GEN4
  342. config SYSC_R8A779G0
  343. bool "System Controller support for R-Car V4H" if COMPILE_TEST
  344. select SYSC_RCAR_GEN4
  345. config SYSC_RMOBILE
  346. bool "System Controller support for R-Mobile" if COMPILE_TEST
  347. config SYSC_R8A77470
  348. bool "System Controller support for RZ/G1C" if COMPILE_TEST
  349. select SYSC_RCAR
  350. config SYSC_R8A7745
  351. bool "System Controller support for RZ/G1E" if COMPILE_TEST
  352. select SYSC_RCAR
  353. config SYSC_R8A7742
  354. bool "System Controller support for RZ/G1H" if COMPILE_TEST
  355. select SYSC_RCAR
  356. config SYSC_R8A7743
  357. bool "System Controller support for RZ/G1M" if COMPILE_TEST
  358. select SYSC_RCAR
  359. config SYSC_R8A774C0
  360. bool "System Controller support for RZ/G2E" if COMPILE_TEST
  361. select SYSC_RCAR
  362. config SYSC_R8A774E1
  363. bool "System Controller support for RZ/G2H" if COMPILE_TEST
  364. select SYSC_RCAR
  365. config SYSC_R8A774A1
  366. bool "System Controller support for RZ/G2M" if COMPILE_TEST
  367. select SYSC_RCAR
  368. config SYSC_R8A774B1
  369. bool "System Controller support for RZ/G2N" if COMPILE_TEST
  370. select SYSC_RCAR
  371. endif # SOC_RENESAS