1 # SPDX-License-Identifier: GPL-2.0
3 bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
4 default y if ARCH_RENESAS
12 select PM_GENERIC_DOMAINS
13 select RENESAS_INTC_IRQPIN
15 select SYS_SUPPORTS_SH_TMU
19 select HAVE_ARM_ARCH_TIMER
21 select PM_GENERIC_DOMAINS
24 select SYS_SUPPORTS_SH_CMT
29 select PM_GENERIC_DOMAINS
32 select SYS_SUPPORTS_SH_CMT
33 select SYS_SUPPORTS_SH_TMU
38 select PM_GENERIC_DOMAINS
39 select SYS_SUPPORTS_SH_CMT
40 select SYS_SUPPORTS_SH_TMU
46 select PM_GENERIC_DOMAINS
47 select RENESAS_RZG2L_IRQC
52 select PM_GENERIC_DOMAINS
55 if ARM && ARCH_RENESAS
57 #comment "Renesas ARM SoCs System Type"
60 bool "ARM32 Platform support for Emma Mobile EV2"
61 select HAVE_ARM_SCU if SMP
62 select SYS_SUPPORTS_EM_STI
65 bool "ARM32 Platform support for R-Car E2"
67 select ARM_ERRATA_814220
71 bool "ARM32 Platform support for R-Car H1"
73 select ARM_ERRATA_754322
74 select ARM_GLOBAL_TIMER
75 select HAVE_ARM_SCU if SMP
76 select HAVE_ARM_TWD if SMP
80 bool "ARM32 Platform support for R-Car H2"
82 select ARM_ERRATA_798181 if SMP
83 select ARM_ERRATA_814220
88 bool "ARM32 Platform support for R-Car M1A"
90 select ARM_ERRATA_754322
93 bool "ARM32 Platform support for R-Car M2-N"
95 select ARM_ERRATA_798181 if SMP
100 bool "ARM32 Platform support for R-Car M2-W"
101 select ARCH_RCAR_GEN2
102 select ARM_ERRATA_798181 if SMP
107 bool "ARM32 Platform support for R-Car V2H"
108 select ARCH_RCAR_GEN2
109 select ARM_ERRATA_798181 if SMP
113 bool "ARM32 Platform support for R-Mobile A1"
115 select ARM_ERRATA_754322
116 select RENESAS_INTC_IRQPIN
119 bool "ARM32 Platform support for R-Mobile APE6"
121 select ARM_ERRATA_798181 if SMP
122 select ARM_ERRATA_814220
123 select HAVE_ARM_ARCH_TIMER
127 bool "ARM32 Platform support for RZ/A1H"
128 select ARM_ERRATA_754322
130 select PM_GENERIC_DOMAINS
132 select RENESAS_RZA1_IRQC
133 select SYS_SUPPORTS_SH_MTU2
136 bool "ARM32 Platform support for RZ/A2"
138 select PM_GENERIC_DOMAINS
140 select RENESAS_RZA1_IRQC
143 bool "ARM32 Platform support for RZ/G1C"
144 select ARCH_RCAR_GEN2
145 select ARM_ERRATA_814220
149 bool "ARM32 Platform support for RZ/G1E"
150 select ARCH_RCAR_GEN2
151 select ARM_ERRATA_814220
155 bool "ARM32 Platform support for RZ/G1H"
156 select ARCH_RCAR_GEN2
157 select ARM_ERRATA_798181 if SMP
158 select ARM_ERRATA_814220
162 bool "ARM32 Platform support for RZ/G1M"
163 select ARCH_RCAR_GEN2
164 select ARM_ERRATA_798181 if SMP
168 bool "ARM32 Platform support for RZ/G1N"
169 select ARCH_RCAR_GEN2
170 select ARM_ERRATA_798181 if SMP
173 config ARCH_R9A06G032
174 bool "ARM32 Platform support for RZ/N1D"
176 select ARM_ERRATA_814220
179 bool "ARM32 Platform support for SH-Mobile AG5"
181 select ARM_ERRATA_754322
182 select ARM_GLOBAL_TIMER
183 select HAVE_ARM_SCU if SMP
184 select HAVE_ARM_TWD if SMP
185 select RENESAS_INTC_IRQPIN
192 bool "ARM64 Platform support for R-Car D3"
193 select ARCH_RCAR_GEN3
196 This enables support for the Renesas R-Car D3 SoC.
197 This includes different gradings like R-Car D3e.
200 bool "ARM64 Platform support for R-Car E3"
201 select ARCH_RCAR_GEN3
204 This enables support for the Renesas R-Car E3 SoC.
205 This includes different gradings like R-Car E3e.
208 bool "ARM64 Platform support for R-Car H3 ES1.x"
209 select ARCH_RCAR_GEN3
212 This enables support for the Renesas R-Car H3 SoC (revision 1.x).
215 bool "ARM64 Platform support for R-Car H3 ES2.0+"
216 select ARCH_RCAR_GEN3
219 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
221 This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
224 bool "ARM64 Platform support for R-Car M3-N"
225 select ARCH_RCAR_GEN3
228 This enables support for the Renesas R-Car M3-N SoC.
229 This includes different gradings like R-Car M3Ne and M3Ne-2G.
232 bool "ARM64 Platform support for R-Car M3-W"
233 select ARCH_RCAR_GEN3
236 This enables support for the Renesas R-Car M3-W SoC.
239 bool "ARM64 Platform support for R-Car M3-W+"
240 select ARCH_RCAR_GEN3
243 This enables support for the Renesas R-Car M3-W+ SoC.
244 This includes different gradings like R-Car M3e and M3e-2G.
247 bool "ARM64 Platform support for R-Car S4-8"
248 select ARCH_RCAR_GEN3
251 This enables support for the Renesas R-Car S4-8 SoC.
254 bool "ARM64 Platform support for R-Car V3H"
255 select ARCH_RCAR_GEN3
258 This enables support for the Renesas R-Car V3H SoC.
261 bool "ARM64 Platform support for R-Car V3M"
262 select ARCH_RCAR_GEN3
265 This enables support for the Renesas R-Car V3M SoC.
268 bool "ARM64 Platform support for R-Car V3U"
269 select ARCH_RCAR_GEN3
272 This enables support for the Renesas R-Car V3U SoC.
275 bool "ARM64 Platform support for R-Car V4H"
276 select ARCH_RCAR_GEN3
279 This enables support for the Renesas R-Car V4H SoC.
282 bool "ARM64 Platform support for RZ/G2E"
283 select ARCH_RCAR_GEN3
286 This enables support for the Renesas RZ/G2E SoC.
289 bool "ARM64 Platform support for RZ/G2H"
290 select ARCH_RCAR_GEN3
293 This enables support for the Renesas RZ/G2H SoC.
296 bool "ARM64 Platform support for RZ/G2M"
297 select ARCH_RCAR_GEN3
300 This enables support for the Renesas RZ/G2M SoC.
303 bool "ARM64 Platform support for RZ/G2N"
304 select ARCH_RCAR_GEN3
307 This enables support for the Renesas RZ/G2N SoC.
309 config ARCH_R9A07G043
310 bool "ARM64 Platform support for RZ/G2UL"
313 This enables support for the Renesas RZ/G2UL SoC variants.
315 config ARCH_R9A07G044
316 bool "ARM64 Platform support for RZ/G2L"
319 This enables support for the Renesas RZ/G2L SoC variants.
321 config ARCH_R9A07G054
322 bool "ARM64 Platform support for RZ/V2L"
325 This enables support for the Renesas RZ/V2L SoC variants.
327 config ARCH_R9A09G011
328 bool "ARM64 Platform support for RZ/V2M"
330 select PM_GENERIC_DOMAINS
332 This enables support for the Renesas RZ/V2M SoC.
338 config ARCH_R9A07G043
339 bool "RISC-V Platform support for RZ/Five"
342 This enables support for the Renesas RZ/Five SoC.
347 bool "Reset Controller support for R-Car" if COMPILE_TEST
350 bool "System Controller support for R-Car" if COMPILE_TEST
352 config SYSC_RCAR_GEN4
353 bool "System Controller support for R-Car Gen4" if COMPILE_TEST
356 bool "System Controller support for R-Car D3" if COMPILE_TEST
360 bool "System Controller support for R-Car E2" if COMPILE_TEST
364 bool "System Controller support for R-Car E3" if COMPILE_TEST
368 bool "System Controller support for R-Car H1" if COMPILE_TEST
372 bool "System Controller support for R-Car H2" if COMPILE_TEST
376 bool "System Controller support for R-Car H3" if COMPILE_TEST
380 bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
384 bool "System Controller support for R-Car M3-N" if COMPILE_TEST
388 bool "System Controller support for R-Car M3-W" if COMPILE_TEST
392 bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
396 bool "System Controller support for R-Car S4-8" if COMPILE_TEST
397 select SYSC_RCAR_GEN4
400 bool "System Controller support for R-Car V2H" if COMPILE_TEST
404 bool "System Controller support for R-Car V3H" if COMPILE_TEST
408 bool "System Controller support for R-Car V3M" if COMPILE_TEST
412 bool "System Controller support for R-Car V3U" if COMPILE_TEST
413 select SYSC_RCAR_GEN4
416 bool "System Controller support for R-Car V4H" if COMPILE_TEST
417 select SYSC_RCAR_GEN4
420 bool "System Controller support for R-Mobile" if COMPILE_TEST
423 bool "System Controller support for RZ/G1C" if COMPILE_TEST
427 bool "System Controller support for RZ/G1E" if COMPILE_TEST
431 bool "System Controller support for RZ/G1H" if COMPILE_TEST
435 bool "System Controller support for RZ/G1M" if COMPILE_TEST
439 bool "System Controller support for RZ/G2E" if COMPILE_TEST
443 bool "System Controller support for RZ/G2H" if COMPILE_TEST
447 bool "System Controller support for RZ/G2M" if COMPILE_TEST
451 bool "System Controller support for RZ/G2N" if COMPILE_TEST