]>
Commit | Line | Data |
---|---|---|
41c4567c | 1 | # SPDX-License-Identifier: GPL-2.0 |
928bfbc6 | 2 | menuconfig SOC_RENESAS |
8be381a1 GU |
3 | bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS |
4 | default y if ARCH_RENESAS | |
b3acbca3 LP |
5 | select GPIOLIB |
6 | select PINCTRL | |
8be381a1 | 7 | select SOC_BUS |
8be381a1 GU |
8 | |
9 | if SOC_RENESAS | |
10 | ||
062887bf GU |
11 | config ARCH_RCAR_GEN1 |
12 | bool | |
13 | select PM | |
14 | select PM_GENERIC_DOMAINS | |
15 | select RENESAS_INTC_IRQPIN | |
16 | select RST_RCAR | |
17 | select SYS_SUPPORTS_SH_TMU | |
18 | ||
19 | config ARCH_RCAR_GEN2 | |
20 | bool | |
21 | select HAVE_ARM_ARCH_TIMER | |
22 | select PM | |
23 | select PM_GENERIC_DOMAINS | |
24 | select RENESAS_IRQC | |
25 | select RST_RCAR | |
26 | select SYS_SUPPORTS_SH_CMT | |
27 | ||
fa43948f GU |
28 | config ARCH_RCAR_GEN3 |
29 | bool | |
30 | select PM | |
31 | select PM_GENERIC_DOMAINS | |
32 | select RENESAS_IRQC | |
33 | select RST_RCAR | |
34 | select SYS_SUPPORTS_SH_CMT | |
35 | select SYS_SUPPORTS_SH_TMU | |
36 | ||
062887bf GU |
37 | config ARCH_RMOBILE |
38 | bool | |
2ed29e15 GU |
39 | select PM |
40 | select PM_GENERIC_DOMAINS | |
062887bf GU |
41 | select SYS_SUPPORTS_SH_CMT |
42 | select SYS_SUPPORTS_SH_TMU | |
2ed29e15 | 43 | select SYSC_RMOBILE |
062887bf | 44 | |
088659ad LP |
45 | config ARCH_RZG2L |
46 | bool | |
47 | select PM | |
48 | select PM_GENERIC_DOMAINS | |
41a21e57 | 49 | select RENESAS_RZG2L_IRQC |
088659ad | 50 | |
062887bf GU |
51 | config ARCH_RZN1 |
52 | bool | |
14f11da7 HC |
53 | select PM |
54 | select PM_GENERIC_DOMAINS | |
062887bf GU |
55 | select ARM_AMBA |
56 | ||
8070ba63 | 57 | if ARM && ARCH_RENESAS |
062887bf GU |
58 | |
59 | #comment "Renesas ARM SoCs System Type" | |
60 | ||
61 | config ARCH_EMEV2 | |
8fae6758 | 62 | bool "ARM32 Platform support for Emma Mobile EV2" |
062887bf GU |
63 | select HAVE_ARM_SCU if SMP |
64 | select SYS_SUPPORTS_EM_STI | |
65 | ||
6d5aded8 KM |
66 | config ARCH_R8A7794 |
67 | bool "ARM32 Platform support for R-Car E2" | |
062887bf | 68 | select ARCH_RCAR_GEN2 |
435dce2d | 69 | select ARM_ERRATA_814220 |
6d5aded8 | 70 | select SYSC_R8A7794 |
062887bf GU |
71 | |
72 | config ARCH_R8A7779 | |
8fae6758 | 73 | bool "ARM32 Platform support for R-Car H1" |
062887bf | 74 | select ARCH_RCAR_GEN1 |
2eced460 | 75 | select ARM_ERRATA_754322 |
408324a3 | 76 | select ARM_GLOBAL_TIMER |
062887bf GU |
77 | select HAVE_ARM_SCU if SMP |
78 | select HAVE_ARM_TWD if SMP | |
79 | select SYSC_R8A7779 | |
80 | ||
81 | config ARCH_R8A7790 | |
8fae6758 | 82 | bool "ARM32 Platform support for R-Car H2" |
062887bf GU |
83 | select ARCH_RCAR_GEN2 |
84 | select ARM_ERRATA_798181 if SMP | |
435dce2d | 85 | select ARM_ERRATA_814220 |
062887bf GU |
86 | select I2C |
87 | select SYSC_R8A7790 | |
88 | ||
6d5aded8 KM |
89 | config ARCH_R8A7778 |
90 | bool "ARM32 Platform support for R-Car M1A" | |
91 | select ARCH_RCAR_GEN1 | |
92 | select ARM_ERRATA_754322 | |
93 | ||
94 | config ARCH_R8A7793 | |
95 | bool "ARM32 Platform support for R-Car M2-N" | |
96 | select ARCH_RCAR_GEN2 | |
97 | select ARM_ERRATA_798181 if SMP | |
98 | select I2C | |
99 | select SYSC_R8A7791 | |
100 | ||
062887bf | 101 | config ARCH_R8A7791 |
8fae6758 | 102 | bool "ARM32 Platform support for R-Car M2-W" |
062887bf GU |
103 | select ARCH_RCAR_GEN2 |
104 | select ARM_ERRATA_798181 if SMP | |
105 | select I2C | |
106 | select SYSC_R8A7791 | |
107 | ||
108 | config ARCH_R8A7792 | |
8fae6758 | 109 | bool "ARM32 Platform support for R-Car V2H" |
062887bf GU |
110 | select ARCH_RCAR_GEN2 |
111 | select ARM_ERRATA_798181 if SMP | |
112 | select SYSC_R8A7792 | |
113 | ||
6d5aded8 KM |
114 | config ARCH_R8A7740 |
115 | bool "ARM32 Platform support for R-Mobile A1" | |
116 | select ARCH_RMOBILE | |
117 | select ARM_ERRATA_754322 | |
118 | select RENESAS_INTC_IRQPIN | |
119 | ||
120 | config ARCH_R8A73A4 | |
121 | bool "ARM32 Platform support for R-Mobile APE6" | |
122 | select ARCH_RMOBILE | |
062887bf | 123 | select ARM_ERRATA_798181 if SMP |
6d5aded8 KM |
124 | select ARM_ERRATA_814220 |
125 | select HAVE_ARM_ARCH_TIMER | |
126 | select RENESAS_IRQC | |
062887bf | 127 | |
6d5aded8 KM |
128 | config ARCH_R7S72100 |
129 | bool "ARM32 Platform support for RZ/A1H" | |
130 | select ARM_ERRATA_754322 | |
131 | select PM | |
132 | select PM_GENERIC_DOMAINS | |
133 | select RENESAS_OSTM | |
134 | select RENESAS_RZA1_IRQC | |
135 | select SYS_SUPPORTS_SH_MTU2 | |
136 | ||
137 | config ARCH_R7S9210 | |
138 | bool "ARM32 Platform support for RZ/A2" | |
139 | select PM | |
140 | select PM_GENERIC_DOMAINS | |
141 | select RENESAS_OSTM | |
142 | select RENESAS_RZA1_IRQC | |
143 | ||
144 | config ARCH_R8A77470 | |
145 | bool "ARM32 Platform support for RZ/G1C" | |
062887bf | 146 | select ARCH_RCAR_GEN2 |
435dce2d | 147 | select ARM_ERRATA_814220 |
6d5aded8 KM |
148 | select SYSC_R8A77470 |
149 | ||
150 | config ARCH_R8A7745 | |
151 | bool "ARM32 Platform support for RZ/G1E" | |
152 | select ARCH_RCAR_GEN2 | |
153 | select ARM_ERRATA_814220 | |
154 | select SYSC_R8A7745 | |
155 | ||
156 | config ARCH_R8A7742 | |
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 | |
161 | select SYSC_R8A7742 | |
162 | ||
163 | config ARCH_R8A7743 | |
164 | bool "ARM32 Platform support for RZ/G1M" | |
165 | select ARCH_RCAR_GEN2 | |
166 | select ARM_ERRATA_798181 if SMP | |
167 | select SYSC_R8A7743 | |
168 | ||
169 | config ARCH_R8A7744 | |
170 | bool "ARM32 Platform support for RZ/G1N" | |
171 | select ARCH_RCAR_GEN2 | |
172 | select ARM_ERRATA_798181 if SMP | |
173 | select SYSC_R8A7743 | |
062887bf GU |
174 | |
175 | config ARCH_R9A06G032 | |
8fae6758 | 176 | bool "ARM32 Platform support for RZ/N1D" |
062887bf | 177 | select ARCH_RZN1 |
435dce2d | 178 | select ARM_ERRATA_814220 |
062887bf GU |
179 | |
180 | config ARCH_SH73A0 | |
8fae6758 | 181 | bool "ARM32 Platform support for SH-Mobile AG5" |
062887bf | 182 | select ARCH_RMOBILE |
2eced460 | 183 | select ARM_ERRATA_754322 |
408324a3 | 184 | select ARM_GLOBAL_TIMER |
062887bf GU |
185 | select HAVE_ARM_SCU if SMP |
186 | select HAVE_ARM_TWD if SMP | |
187 | select RENESAS_INTC_IRQPIN | |
188 | ||
189 | endif # ARM | |
190 | ||
fa43948f GU |
191 | if ARM64 |
192 | ||
6d5aded8 KM |
193 | config ARCH_R8A77995 |
194 | bool "ARM64 Platform support for R-Car D3" | |
fa43948f | 195 | select ARCH_RCAR_GEN3 |
6d5aded8 | 196 | select SYSC_R8A77995 |
fa43948f | 197 | help |
6d5aded8 | 198 | This enables support for the Renesas R-Car D3 SoC. |
2ed1e481 | 199 | This includes different gradings like R-Car D3e. |
fa43948f | 200 | |
6d5aded8 KM |
201 | config ARCH_R8A77990 |
202 | bool "ARM64 Platform support for R-Car E3" | |
b88fc411 | 203 | select ARCH_RCAR_GEN3 |
6d5aded8 | 204 | select SYSC_R8A77990 |
b88fc411 | 205 | help |
6d5aded8 | 206 | This enables support for the Renesas R-Car E3 SoC. |
2ed1e481 | 207 | This includes different gradings like R-Car E3e. |
b88fc411 | 208 | |
b925adfc | 209 | config ARCH_R8A77951 |
8fae6758 | 210 | bool "ARM64 Platform support for R-Car H3 ES2.0+" |
fa43948f GU |
211 | select ARCH_RCAR_GEN3 |
212 | select SYSC_R8A7795 | |
213 | help | |
4ff27112 GU |
214 | This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and |
215 | later). | |
2ed1e481 | 216 | This includes different gradings like R-Car H3e, H3e-2G, and H3Ne. |
fa43948f | 217 | |
6d5aded8 KM |
218 | config ARCH_R8A77965 |
219 | bool "ARM64 Platform support for R-Car M3-N" | |
220 | select ARCH_RCAR_GEN3 | |
221 | select SYSC_R8A77965 | |
222 | help | |
223 | This enables support for the Renesas R-Car M3-N SoC. | |
2ed1e481 | 224 | This includes different gradings like R-Car M3Ne and M3Ne-2G. |
6d5aded8 | 225 | |
39e57e14 | 226 | config ARCH_R8A77960 |
8fae6758 | 227 | bool "ARM64 Platform support for R-Car M3-W" |
fa43948f | 228 | select ARCH_RCAR_GEN3 |
f79edb17 | 229 | select SYSC_R8A77960 |
fa43948f GU |
230 | help |
231 | This enables support for the Renesas R-Car M3-W SoC. | |
232 | ||
cadadde2 | 233 | config ARCH_R8A77961 |
8fae6758 | 234 | bool "ARM64 Platform support for R-Car M3-W+" |
cadadde2 | 235 | select ARCH_RCAR_GEN3 |
bdde3d3e | 236 | select SYSC_R8A77961 |
cadadde2 GU |
237 | help |
238 | This enables support for the Renesas R-Car M3-W+ SoC. | |
2ed1e481 | 239 | This includes different gradings like R-Car M3e and M3e-2G. |
cadadde2 | 240 | |
97116335 YS |
241 | config ARCH_R8A779F0 |
242 | bool "ARM64 Platform support for R-Car S4-8" | |
243 | select ARCH_RCAR_GEN3 | |
244 | select SYSC_R8A779F0 | |
245 | help | |
246 | This enables support for the Renesas R-Car S4-8 SoC. | |
247 | ||
6d5aded8 KM |
248 | config ARCH_R8A77980 |
249 | bool "ARM64 Platform support for R-Car V3H" | |
fa43948f | 250 | select ARCH_RCAR_GEN3 |
6d5aded8 | 251 | select SYSC_R8A77980 |
fa43948f | 252 | help |
6d5aded8 | 253 | This enables support for the Renesas R-Car V3H SoC. |
fa43948f GU |
254 | |
255 | config ARCH_R8A77970 | |
8fae6758 | 256 | bool "ARM64 Platform support for R-Car V3M" |
fa43948f GU |
257 | select ARCH_RCAR_GEN3 |
258 | select SYSC_R8A77970 | |
259 | help | |
260 | This enables support for the Renesas R-Car V3M SoC. | |
261 | ||
090e87e7 YS |
262 | config ARCH_R8A779A0 |
263 | bool "ARM64 Platform support for R-Car V3U" | |
264 | select ARCH_RCAR_GEN3 | |
1b4298f0 | 265 | select SYSC_R8A779A0 |
090e87e7 YS |
266 | help |
267 | This enables support for the Renesas R-Car V3U SoC. | |
268 | ||
87ab58e1 YS |
269 | config ARCH_R8A779G0 |
270 | bool "ARM64 Platform support for R-Car V4H" | |
271 | select ARCH_RCAR_GEN3 | |
272 | select SYSC_R8A779G0 | |
273 | help | |
274 | This enables support for the Renesas R-Car V4H SoC. | |
275 | ||
6d5aded8 KM |
276 | config ARCH_R8A774C0 |
277 | bool "ARM64 Platform support for RZ/G2E" | |
fa43948f | 278 | select ARCH_RCAR_GEN3 |
6d5aded8 | 279 | select SYSC_R8A774C0 |
fa43948f | 280 | help |
6d5aded8 | 281 | This enables support for the Renesas RZ/G2E SoC. |
fa43948f | 282 | |
6d5aded8 KM |
283 | config ARCH_R8A774E1 |
284 | bool "ARM64 Platform support for RZ/G2H" | |
fa43948f | 285 | select ARCH_RCAR_GEN3 |
6d5aded8 | 286 | select SYSC_R8A774E1 |
fa43948f | 287 | help |
6d5aded8 | 288 | This enables support for the Renesas RZ/G2H SoC. |
fa43948f | 289 | |
6d5aded8 KM |
290 | config ARCH_R8A774A1 |
291 | bool "ARM64 Platform support for RZ/G2M" | |
fa43948f | 292 | select ARCH_RCAR_GEN3 |
6d5aded8 | 293 | select SYSC_R8A774A1 |
fa43948f | 294 | help |
6d5aded8 | 295 | This enables support for the Renesas RZ/G2M SoC. |
5b9fa9cb | 296 | |
6d5aded8 KM |
297 | config ARCH_R8A774B1 |
298 | bool "ARM64 Platform support for RZ/G2N" | |
299 | select ARCH_RCAR_GEN3 | |
300 | select SYSC_R8A774B1 | |
301 | help | |
302 | This enables support for the Renesas RZ/G2N SoC. | |
8be381a1 | 303 | |
2f89bef9 BD |
304 | config ARCH_R9A07G043 |
305 | bool "ARM64 Platform support for RZ/G2UL" | |
306 | select ARCH_RZG2L | |
307 | help | |
308 | This enables support for the Renesas RZ/G2UL SoC variants. | |
309 | ||
f3b15452 LP |
310 | config ARCH_R9A07G044 |
311 | bool "ARM64 Platform support for RZ/G2L" | |
088659ad | 312 | select ARCH_RZG2L |
f3b15452 LP |
313 | help |
314 | This enables support for the Renesas RZ/G2L SoC variants. | |
315 | ||
860122d8 BD |
316 | config ARCH_R9A07G054 |
317 | bool "ARM64 Platform support for RZ/V2L" | |
088659ad | 318 | select ARCH_RZG2L |
860122d8 BD |
319 | help |
320 | This enables support for the Renesas RZ/V2L SoC variants. | |
321 | ||
068eb5a9 PE |
322 | config ARCH_R9A09G011 |
323 | bool "ARM64 Platform support for RZ/V2M" | |
324 | select PM | |
325 | select PM_GENERIC_DOMAINS | |
0c56f949 | 326 | select PWC_RZV2M |
068eb5a9 PE |
327 | help |
328 | This enables support for the Renesas RZ/V2M SoC. | |
329 | ||
6d5aded8 | 330 | endif # ARM64 |
8be381a1 | 331 | |
ebd0e06f LP |
332 | if RISCV |
333 | ||
334 | config ARCH_R9A07G043 | |
335 | bool "RISC-V Platform support for RZ/Five" | |
c1ec4b45 | 336 | depends on NONPORTABLE |
1531309a | 337 | depends on RISCV_ALTERNATIVE |
9eab43fa | 338 | depends on !RISCV_ISA_ZICBOM |
1531309a | 339 | depends on RISCV_SBI |
ebd0e06f | 340 | select ARCH_RZG2L |
1531309a | 341 | select AX45MP_L2_CACHE |
484861e0 | 342 | select DMA_GLOBAL_POOL |
1531309a CD |
343 | select ERRATA_ANDES |
344 | select ERRATA_ANDES_CMO | |
ebd0e06f LP |
345 | help |
346 | This enables support for the Renesas RZ/Five SoC. | |
347 | ||
348 | endif # RISCV | |
349 | ||
0c56f949 FC |
350 | config PWC_RZV2M |
351 | bool "Renesas RZ/V2M PWC support" if COMPILE_TEST | |
352 | ||
6d5aded8 KM |
353 | config RST_RCAR |
354 | bool "Reset Controller support for R-Car" if COMPILE_TEST | |
964f7c0d | 355 | |
6d5aded8 KM |
356 | config SYSC_RCAR |
357 | bool "System Controller support for R-Car" if COMPILE_TEST | |
7f0e99cc | 358 | |
e62906d6 YS |
359 | config SYSC_RCAR_GEN4 |
360 | bool "System Controller support for R-Car Gen4" if COMPILE_TEST | |
361 | ||
6d5aded8 KM |
362 | config SYSC_R8A77995 |
363 | bool "System Controller support for R-Car D3" if COMPILE_TEST | |
6655c568 BD |
364 | select SYSC_RCAR |
365 | ||
6d5aded8 KM |
366 | config SYSC_R8A7794 |
367 | bool "System Controller support for R-Car E2" if COMPILE_TEST | |
f37d211c FC |
368 | select SYSC_RCAR |
369 | ||
6d5aded8 KM |
370 | config SYSC_R8A77990 |
371 | bool "System Controller support for R-Car E3" if COMPILE_TEST | |
f446ade0 MCR |
372 | select SYSC_RCAR |
373 | ||
8be381a1 | 374 | config SYSC_R8A7779 |
464d9b34 | 375 | bool "System Controller support for R-Car H1" if COMPILE_TEST |
8be381a1 GU |
376 | select SYSC_RCAR |
377 | ||
378 | config SYSC_R8A7790 | |
464d9b34 | 379 | bool "System Controller support for R-Car H2" if COMPILE_TEST |
8be381a1 GU |
380 | select SYSC_RCAR |
381 | ||
6d5aded8 KM |
382 | config SYSC_R8A7795 |
383 | bool "System Controller support for R-Car H3" if COMPILE_TEST | |
8be381a1 GU |
384 | select SYSC_RCAR |
385 | ||
6d5aded8 KM |
386 | config SYSC_R8A7791 |
387 | bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST | |
8be381a1 GU |
388 | select SYSC_RCAR |
389 | ||
6d5aded8 KM |
390 | config SYSC_R8A77965 |
391 | bool "System Controller support for R-Car M3-N" if COMPILE_TEST | |
8be381a1 GU |
392 | select SYSC_RCAR |
393 | ||
f79edb17 | 394 | config SYSC_R8A77960 |
464d9b34 | 395 | bool "System Controller support for R-Car M3-W" if COMPILE_TEST |
8be381a1 GU |
396 | select SYSC_RCAR |
397 | ||
bdde3d3e | 398 | config SYSC_R8A77961 |
464d9b34 | 399 | bool "System Controller support for R-Car M3-W+" if COMPILE_TEST |
bdde3d3e GU |
400 | select SYSC_RCAR |
401 | ||
654d5fdb YS |
402 | config SYSC_R8A779F0 |
403 | bool "System Controller support for R-Car S4-8" if COMPILE_TEST | |
404 | select SYSC_RCAR_GEN4 | |
405 | ||
6d5aded8 KM |
406 | config SYSC_R8A7792 |
407 | bool "System Controller support for R-Car V2H" if COMPILE_TEST | |
408 | select SYSC_RCAR | |
409 | ||
410 | config SYSC_R8A77980 | |
411 | bool "System Controller support for R-Car V3H" if COMPILE_TEST | |
a527709b JM |
412 | select SYSC_RCAR |
413 | ||
bab9b2a7 | 414 | config SYSC_R8A77970 |
464d9b34 | 415 | bool "System Controller support for R-Car V3M" if COMPILE_TEST |
bab9b2a7 SS |
416 | select SYSC_RCAR |
417 | ||
1b4298f0 YS |
418 | config SYSC_R8A779A0 |
419 | bool "System Controller support for R-Car V3U" if COMPILE_TEST | |
e62906d6 | 420 | select SYSC_RCAR_GEN4 |
1b4298f0 | 421 | |
11a5ebb4 YS |
422 | config SYSC_R8A779G0 |
423 | bool "System Controller support for R-Car V4H" if COMPILE_TEST | |
424 | select SYSC_RCAR_GEN4 | |
425 | ||
6d5aded8 KM |
426 | config SYSC_RMOBILE |
427 | bool "System Controller support for R-Mobile" if COMPILE_TEST | |
428 | ||
429 | config SYSC_R8A77470 | |
430 | bool "System Controller support for RZ/G1C" if COMPILE_TEST | |
41d6d8bd SS |
431 | select SYSC_RCAR |
432 | ||
6d5aded8 KM |
433 | config SYSC_R8A7745 |
434 | bool "System Controller support for RZ/G1E" if COMPILE_TEST | |
44b12d43 TK |
435 | select SYSC_RCAR |
436 | ||
6d5aded8 KM |
437 | config SYSC_R8A7742 |
438 | bool "System Controller support for RZ/G1H" if COMPILE_TEST | |
eed17c42 GU |
439 | select SYSC_RCAR |
440 | ||
6d5aded8 KM |
441 | config SYSC_R8A7743 |
442 | bool "System Controller support for RZ/G1M" if COMPILE_TEST | |
443 | select SYSC_RCAR | |
8be381a1 | 444 | |
6d5aded8 KM |
445 | config SYSC_R8A774C0 |
446 | bool "System Controller support for RZ/G2E" if COMPILE_TEST | |
447 | select SYSC_RCAR | |
8be381a1 | 448 | |
6d5aded8 KM |
449 | config SYSC_R8A774E1 |
450 | bool "System Controller support for RZ/G2H" if COMPILE_TEST | |
451 | select SYSC_RCAR | |
452 | ||
453 | config SYSC_R8A774A1 | |
454 | bool "System Controller support for RZ/G2M" if COMPILE_TEST | |
455 | select SYSC_RCAR | |
456 | ||
457 | config SYSC_R8A774B1 | |
458 | bool "System Controller support for RZ/G2N" if COMPILE_TEST | |
459 | select SYSC_RCAR | |
2ed29e15 | 460 | |
8be381a1 | 461 | endif # SOC_RENESAS |