1 # SPDX-License-Identifier: GPL-2.0
3 bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
4 default y if ARCH_RENESAS
14 select PM_GENERIC_DOMAINS
15 select RENESAS_INTC_IRQPIN
17 select SYS_SUPPORTS_SH_TMU
21 select HAVE_ARM_ARCH_TIMER
23 select PM_GENERIC_DOMAINS
26 select SYS_SUPPORTS_SH_CMT
31 select PM_GENERIC_DOMAINS
34 select SYS_SUPPORTS_SH_CMT
35 select SYS_SUPPORTS_SH_TMU
40 select PM_GENERIC_DOMAINS
41 select SYS_SUPPORTS_SH_CMT
42 select SYS_SUPPORTS_SH_TMU
48 select PM_GENERIC_DOMAINS
49 select RENESAS_RZG2L_IRQC
54 select PM_GENERIC_DOMAINS
57 if ARM && ARCH_RENESAS
59 #comment "Renesas ARM SoCs System Type"
62 bool "ARM32 Platform support for Emma Mobile EV2"
63 select HAVE_ARM_SCU if SMP
64 select SYS_SUPPORTS_EM_STI
67 bool "ARM32 Platform support for R-Car E2"
69 select ARM_ERRATA_814220
73 bool "ARM32 Platform support for R-Car H1"
75 select ARM_ERRATA_754322
76 select ARM_GLOBAL_TIMER
77 select HAVE_ARM_SCU if SMP
78 select HAVE_ARM_TWD if SMP
82 bool "ARM32 Platform support for R-Car H2"
84 select ARM_ERRATA_798181 if SMP
85 select ARM_ERRATA_814220
90 bool "ARM32 Platform support for R-Car M1A"
92 select ARM_ERRATA_754322
95 bool "ARM32 Platform support for R-Car M2-N"
97 select ARM_ERRATA_798181 if SMP
102 bool "ARM32 Platform support for R-Car M2-W"
103 select ARCH_RCAR_GEN2
104 select ARM_ERRATA_798181 if SMP
109 bool "ARM32 Platform support for R-Car V2H"
110 select ARCH_RCAR_GEN2
111 select ARM_ERRATA_798181 if SMP
115 bool "ARM32 Platform support for R-Mobile A1"
117 select ARM_ERRATA_754322
118 select RENESAS_INTC_IRQPIN
121 bool "ARM32 Platform support for R-Mobile APE6"
123 select ARM_ERRATA_798181 if SMP
124 select ARM_ERRATA_814220
125 select HAVE_ARM_ARCH_TIMER
129 bool "ARM32 Platform support for RZ/A1H"
130 select ARM_ERRATA_754322
132 select PM_GENERIC_DOMAINS
134 select RENESAS_RZA1_IRQC
135 select SYS_SUPPORTS_SH_MTU2
138 bool "ARM32 Platform support for RZ/A2"
140 select PM_GENERIC_DOMAINS
142 select RENESAS_RZA1_IRQC
145 bool "ARM32 Platform support for RZ/G1C"
146 select ARCH_RCAR_GEN2
147 select ARM_ERRATA_814220
151 bool "ARM32 Platform support for RZ/G1E"
152 select ARCH_RCAR_GEN2
153 select ARM_ERRATA_814220
157 bool "ARM32 Platform support for RZ/G1H"
158 select ARCH_RCAR_GEN2
159 select ARM_ERRATA_798181 if SMP
160 select ARM_ERRATA_814220
164 bool "ARM32 Platform support for RZ/G1M"
165 select ARCH_RCAR_GEN2
166 select ARM_ERRATA_798181 if SMP
170 bool "ARM32 Platform support for RZ/G1N"
171 select ARCH_RCAR_GEN2
172 select ARM_ERRATA_798181 if SMP
175 config ARCH_R9A06G032
176 bool "ARM32 Platform support for RZ/N1D"
178 select ARM_ERRATA_814220
181 bool "ARM32 Platform support for SH-Mobile AG5"
183 select ARM_ERRATA_754322
184 select ARM_GLOBAL_TIMER
185 select HAVE_ARM_SCU if SMP
186 select HAVE_ARM_TWD if SMP
187 select RENESAS_INTC_IRQPIN
194 bool "ARM64 Platform support for R-Car D3"
195 select ARCH_RCAR_GEN3
198 This enables support for the Renesas R-Car D3 SoC.
199 This includes different gradings like R-Car D3e.
202 bool "ARM64 Platform support for R-Car E3"
203 select ARCH_RCAR_GEN3
206 This enables support for the Renesas R-Car E3 SoC.
207 This includes different gradings like R-Car E3e.
210 bool "ARM64 Platform support for R-Car H3 ES2.0+"
211 select ARCH_RCAR_GEN3
214 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
216 This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
219 bool "ARM64 Platform support for R-Car M3-N"
220 select ARCH_RCAR_GEN3
223 This enables support for the Renesas R-Car M3-N SoC.
224 This includes different gradings like R-Car M3Ne and M3Ne-2G.
227 bool "ARM64 Platform support for R-Car M3-W"
228 select ARCH_RCAR_GEN3
231 This enables support for the Renesas R-Car M3-W SoC.
234 bool "ARM64 Platform support for R-Car M3-W+"
235 select ARCH_RCAR_GEN3
238 This enables support for the Renesas R-Car M3-W+ SoC.
239 This includes different gradings like R-Car M3e and M3e-2G.
242 bool "ARM64 Platform support for R-Car S4-8"
243 select ARCH_RCAR_GEN3
246 This enables support for the Renesas R-Car S4-8 SoC.
249 bool "ARM64 Platform support for R-Car V3H"
250 select ARCH_RCAR_GEN3
253 This enables support for the Renesas R-Car V3H SoC.
256 bool "ARM64 Platform support for R-Car V3M"
257 select ARCH_RCAR_GEN3
260 This enables support for the Renesas R-Car V3M SoC.
263 bool "ARM64 Platform support for R-Car V3U"
264 select ARCH_RCAR_GEN3
267 This enables support for the Renesas R-Car V3U SoC.
270 bool "ARM64 Platform support for R-Car V4H"
271 select ARCH_RCAR_GEN3
274 This enables support for the Renesas R-Car V4H SoC.
277 bool "ARM64 Platform support for RZ/G2E"
278 select ARCH_RCAR_GEN3
281 This enables support for the Renesas RZ/G2E SoC.
284 bool "ARM64 Platform support for RZ/G2H"
285 select ARCH_RCAR_GEN3
288 This enables support for the Renesas RZ/G2H SoC.
291 bool "ARM64 Platform support for RZ/G2M"
292 select ARCH_RCAR_GEN3
295 This enables support for the Renesas RZ/G2M SoC.
298 bool "ARM64 Platform support for RZ/G2N"
299 select ARCH_RCAR_GEN3
302 This enables support for the Renesas RZ/G2N SoC.
304 config ARCH_R9A07G043
305 bool "ARM64 Platform support for RZ/G2UL"
308 This enables support for the Renesas RZ/G2UL SoC variants.
310 config ARCH_R9A07G044
311 bool "ARM64 Platform support for RZ/G2L"
314 This enables support for the Renesas RZ/G2L SoC variants.
316 config ARCH_R9A07G054
317 bool "ARM64 Platform support for RZ/V2L"
320 This enables support for the Renesas RZ/V2L SoC variants.
322 config ARCH_R9A09G011
323 bool "ARM64 Platform support for RZ/V2M"
325 select PM_GENERIC_DOMAINS
328 This enables support for the Renesas RZ/V2M SoC.
334 config ARCH_R9A07G043
335 bool "RISC-V Platform support for RZ/Five"
336 depends on NONPORTABLE
337 depends on RISCV_ALTERNATIVE
340 select AX45MP_L2_CACHE
341 select DMA_GLOBAL_POOL
343 select ERRATA_ANDES_CMO
345 This enables support for the Renesas RZ/Five SoC.
350 bool "Renesas RZ/V2M PWC support" if COMPILE_TEST
353 bool "Reset Controller support for R-Car" if COMPILE_TEST
356 bool "System Controller support for R-Car" if COMPILE_TEST
358 config SYSC_RCAR_GEN4
359 bool "System Controller support for R-Car Gen4" if COMPILE_TEST
362 bool "System Controller support for R-Car D3" if COMPILE_TEST
366 bool "System Controller support for R-Car E2" if COMPILE_TEST
370 bool "System Controller support for R-Car E3" if COMPILE_TEST
374 bool "System Controller support for R-Car H1" if COMPILE_TEST
378 bool "System Controller support for R-Car H2" if COMPILE_TEST
382 bool "System Controller support for R-Car H3" if COMPILE_TEST
386 bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
390 bool "System Controller support for R-Car M3-N" if COMPILE_TEST
394 bool "System Controller support for R-Car M3-W" if COMPILE_TEST
398 bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
402 bool "System Controller support for R-Car S4-8" if COMPILE_TEST
403 select SYSC_RCAR_GEN4
406 bool "System Controller support for R-Car V2H" if COMPILE_TEST
410 bool "System Controller support for R-Car V3H" if COMPILE_TEST
414 bool "System Controller support for R-Car V3M" if COMPILE_TEST
418 bool "System Controller support for R-Car V3U" if COMPILE_TEST
419 select SYSC_RCAR_GEN4
422 bool "System Controller support for R-Car V4H" if COMPILE_TEST
423 select SYSC_RCAR_GEN4
426 bool "System Controller support for R-Mobile" if COMPILE_TEST
429 bool "System Controller support for RZ/G1C" if COMPILE_TEST
433 bool "System Controller support for RZ/G1E" if COMPILE_TEST
437 bool "System Controller support for RZ/G1H" if COMPILE_TEST
441 bool "System Controller support for RZ/G1M" if COMPILE_TEST
445 bool "System Controller support for RZ/G2E" if COMPILE_TEST
449 bool "System Controller support for RZ/G2H" if COMPILE_TEST
453 bool "System Controller support for RZ/G2M" if COMPILE_TEST
457 bool "System Controller support for RZ/G2N" if COMPILE_TEST