xref: /linux/drivers/soc/renesas/Kconfig (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
141c4567cSKuninori Morimoto# SPDX-License-Identifier: GPL-2.0
2928bfbc6SKuninori Morimotomenuconfig SOC_RENESAS
38be381a1SGeert Uytterhoeven	bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
48be381a1SGeert Uytterhoeven	default y if ARCH_RENESAS
5b3acbca3SLad Prabhakar	select GPIOLIB
6b3acbca3SLad Prabhakar	select PINCTRL
78be381a1SGeert Uytterhoeven	select SOC_BUS
88be381a1SGeert Uytterhoeven
98be381a1SGeert Uytterhoevenif SOC_RENESAS
108be381a1SGeert Uytterhoeven
11062887bfSGeert Uytterhoevenconfig ARCH_RCAR_GEN1
12062887bfSGeert Uytterhoeven	bool
13062887bfSGeert Uytterhoeven	select PM
14062887bfSGeert Uytterhoeven	select PM_GENERIC_DOMAINS
15062887bfSGeert Uytterhoeven	select RENESAS_INTC_IRQPIN
16062887bfSGeert Uytterhoeven	select RST_RCAR
17062887bfSGeert Uytterhoeven	select SYS_SUPPORTS_SH_TMU
18062887bfSGeert Uytterhoeven
19062887bfSGeert Uytterhoevenconfig ARCH_RCAR_GEN2
20062887bfSGeert Uytterhoeven	bool
21062887bfSGeert Uytterhoeven	select HAVE_ARM_ARCH_TIMER
22062887bfSGeert Uytterhoeven	select PM
23062887bfSGeert Uytterhoeven	select PM_GENERIC_DOMAINS
24062887bfSGeert Uytterhoeven	select RENESAS_IRQC
25062887bfSGeert Uytterhoeven	select RST_RCAR
26062887bfSGeert Uytterhoeven	select SYS_SUPPORTS_SH_CMT
273d2db954SGeert Uytterhoeven	select SYS_SUPPORTS_SH_TMU
28062887bfSGeert Uytterhoeven
29fa43948fSGeert Uytterhoevenconfig ARCH_RCAR_GEN3
30fa43948fSGeert Uytterhoeven	bool
31fa43948fSGeert Uytterhoeven	select PM
32fa43948fSGeert Uytterhoeven	select PM_GENERIC_DOMAINS
33fa43948fSGeert Uytterhoeven	select RENESAS_IRQC
34fa43948fSGeert Uytterhoeven	select RST_RCAR
35fa43948fSGeert Uytterhoeven	select SYS_SUPPORTS_SH_CMT
36fa43948fSGeert Uytterhoeven	select SYS_SUPPORTS_SH_TMU
37fa43948fSGeert Uytterhoeven
38ae286bd7SGeert Uytterhoevenconfig ARCH_RCAR_GEN4
39ae286bd7SGeert Uytterhoeven	bool
40ae286bd7SGeert Uytterhoeven	select ARCH_RCAR_GEN3
41ae286bd7SGeert Uytterhoeven
42*5284d0b0SDuy Nguyenconfig ARCH_RCAR_GEN5
43*5284d0b0SDuy Nguyen	bool
44*5284d0b0SDuy Nguyen	select ARCH_RCAR_GEN4
45*5284d0b0SDuy Nguyen
46062887bfSGeert Uytterhoevenconfig ARCH_RMOBILE
47062887bfSGeert Uytterhoeven	bool
482ed29e15SGeert Uytterhoeven	select PM
492ed29e15SGeert Uytterhoeven	select PM_GENERIC_DOMAINS
50062887bfSGeert Uytterhoeven	select SYS_SUPPORTS_SH_CMT
51062887bfSGeert Uytterhoeven	select SYS_SUPPORTS_SH_TMU
522ed29e15SGeert Uytterhoeven	select SYSC_RMOBILE
53062887bfSGeert Uytterhoeven
54088659adSLad Prabhakarconfig ARCH_RZG2L
55088659adSLad Prabhakar	bool
56088659adSLad Prabhakar	select PM
57088659adSLad Prabhakar	select PM_GENERIC_DOMAINS
5841a21e57SLad Prabhakar	select RENESAS_RZG2L_IRQC
59088659adSLad Prabhakar
60062887bfSGeert Uytterhoevenconfig ARCH_RZN1
61062887bfSGeert Uytterhoeven	bool
6214f11da7SHerve Codina	select PM
6314f11da7SHerve Codina	select PM_GENERIC_DOMAINS
64062887bfSGeert Uytterhoeven	select ARM_AMBA
65062887bfSGeert Uytterhoeven
668070ba63SArnd Bergmannif ARM && ARCH_RENESAS
67062887bfSGeert Uytterhoeven
68062887bfSGeert Uytterhoeven#comment "Renesas ARM SoCs System Type"
69062887bfSGeert Uytterhoeven
70062887bfSGeert Uytterhoevenconfig ARCH_EMEV2
718fae6758SKuninori Morimoto	bool "ARM32 Platform support for Emma Mobile EV2"
72aac7d517SLad Prabhakar	default ARCH_RENESAS
73062887bfSGeert Uytterhoeven	select HAVE_ARM_SCU if SMP
74062887bfSGeert Uytterhoeven	select SYS_SUPPORTS_EM_STI
75062887bfSGeert Uytterhoeven
76062887bfSGeert Uytterhoevenconfig ARCH_R7S72100
772d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R7S72100 (RZ/A1H)"
78aac7d517SLad Prabhakar	default ARCH_RENESAS
792eced460SGeert Uytterhoeven	select ARM_ERRATA_754322
80062887bfSGeert Uytterhoeven	select PM
81062887bfSGeert Uytterhoeven	select PM_GENERIC_DOMAINS
82062887bfSGeert Uytterhoeven	select RENESAS_OSTM
8302af9f90SGeert Uytterhoeven	select RENESAS_RZA1_IRQC
8402af9f90SGeert Uytterhoeven	select SYS_SUPPORTS_SH_MTU2
85062887bfSGeert Uytterhoeven
86062887bfSGeert Uytterhoevenconfig ARCH_R7S9210
872d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R7S9210 (RZ/A2)"
88aac7d517SLad Prabhakar	default ARCH_RENESAS
89062887bfSGeert Uytterhoeven	select PM
90062887bfSGeert Uytterhoeven	select PM_GENERIC_DOMAINS
91062887bfSGeert Uytterhoeven	select RENESAS_OSTM
9202af9f90SGeert Uytterhoeven	select RENESAS_RZA1_IRQC
93062887bfSGeert Uytterhoeven
942d9f884cSKuninori Morimotoconfig ARCH_R8A73A4
952d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A73A4 (R-Mobile APE6)"
96aac7d517SLad Prabhakar	default ARCH_RENESAS
972d9f884cSKuninori Morimoto	select ARCH_RMOBILE
982d9f884cSKuninori Morimoto	select ARM_ERRATA_798181 if SMP
99435dce2dSGeert Uytterhoeven	select ARM_ERRATA_814220
1002d9f884cSKuninori Morimoto	select HAVE_ARM_ARCH_TIMER
1012d9f884cSKuninori Morimoto	select RENESAS_IRQC
102062887bfSGeert Uytterhoeven
1032d9f884cSKuninori Morimotoconfig ARCH_R8A7740
1042d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7740 (R-Mobile A1)"
105aac7d517SLad Prabhakar	default ARCH_RENESAS
1062d9f884cSKuninori Morimoto	select ARCH_RMOBILE
1072d9f884cSKuninori Morimoto	select ARM_ERRATA_754322
1082d9f884cSKuninori Morimoto	select RENESAS_INTC_IRQPIN
109062887bfSGeert Uytterhoeven
110cdc8abe7SLad Prabhakarconfig ARCH_R8A7742
1112d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7742 (RZ/G1H)"
112aac7d517SLad Prabhakar	default ARCH_RENESAS
113cdc8abe7SLad Prabhakar	select ARCH_RCAR_GEN2
114cdc8abe7SLad Prabhakar	select ARM_ERRATA_798181 if SMP
115cdc8abe7SLad Prabhakar	select ARM_ERRATA_814220
116cdc8abe7SLad Prabhakar	select SYSC_R8A7742
117cdc8abe7SLad Prabhakar
118062887bfSGeert Uytterhoevenconfig ARCH_R8A7743
1192d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7743 (RZ/G1M)"
120aac7d517SLad Prabhakar	default ARCH_RENESAS
121062887bfSGeert Uytterhoeven	select ARCH_RCAR_GEN2
122062887bfSGeert Uytterhoeven	select ARM_ERRATA_798181 if SMP
123062887bfSGeert Uytterhoeven	select SYSC_R8A7743
124062887bfSGeert Uytterhoeven
125062887bfSGeert Uytterhoevenconfig ARCH_R8A7744
1262d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7744 (RZ/G1N)"
127aac7d517SLad Prabhakar	default ARCH_RENESAS
128062887bfSGeert Uytterhoeven	select ARCH_RCAR_GEN2
129062887bfSGeert Uytterhoeven	select ARM_ERRATA_798181 if SMP
130062887bfSGeert Uytterhoeven	select SYSC_R8A7743
131062887bfSGeert Uytterhoeven
1322d9f884cSKuninori Morimotoconfig ARCH_R8A7745
1332d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7745 (RZ/G1E)"
1342d9f884cSKuninori Morimoto	default ARCH_RENESAS
1352d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1362d9f884cSKuninori Morimoto	select ARM_ERRATA_814220
1372d9f884cSKuninori Morimoto	select SYSC_R8A7745
1382d9f884cSKuninori Morimoto
1392d9f884cSKuninori Morimotoconfig ARCH_R8A77470
1402d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A77470 (RZ/G1C)"
1412d9f884cSKuninori Morimoto	default ARCH_RENESAS
1422d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1432d9f884cSKuninori Morimoto	select ARM_ERRATA_814220
1442d9f884cSKuninori Morimoto	select SYSC_R8A77470
1452d9f884cSKuninori Morimoto
1462d9f884cSKuninori Morimotoconfig ARCH_R8A7778
1472d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7778 (R-Car M1A)"
1482d9f884cSKuninori Morimoto	default ARCH_RENESAS
1492d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN1
1502d9f884cSKuninori Morimoto	select ARM_ERRATA_754322
1512d9f884cSKuninori Morimoto
1522d9f884cSKuninori Morimotoconfig ARCH_R8A7779
1532d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7779 (R-Car H1)"
1542d9f884cSKuninori Morimoto	default ARCH_RENESAS
1552d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN1
1562d9f884cSKuninori Morimoto	select ARM_ERRATA_754322
1572d9f884cSKuninori Morimoto	select ARM_GLOBAL_TIMER
1582d9f884cSKuninori Morimoto	select HAVE_ARM_SCU if SMP
1592d9f884cSKuninori Morimoto	select HAVE_ARM_TWD if SMP
1602d9f884cSKuninori Morimoto	select SYSC_R8A7779
1612d9f884cSKuninori Morimoto
1622d9f884cSKuninori Morimotoconfig ARCH_R8A7790
1632d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7790 (R-Car H2)"
1642d9f884cSKuninori Morimoto	default ARCH_RENESAS
1652d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1662d9f884cSKuninori Morimoto	select ARM_ERRATA_798181 if SMP
1672d9f884cSKuninori Morimoto	select ARM_ERRATA_814220
1682d9f884cSKuninori Morimoto	select I2C
1692d9f884cSKuninori Morimoto	select SYSC_R8A7790
1702d9f884cSKuninori Morimoto
1712d9f884cSKuninori Morimotoconfig ARCH_R8A7791
1722d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7791 (R-Car M2-W)"
1732d9f884cSKuninori Morimoto	default ARCH_RENESAS
1742d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1752d9f884cSKuninori Morimoto	select ARM_ERRATA_798181 if SMP
1762d9f884cSKuninori Morimoto	select I2C
1772d9f884cSKuninori Morimoto	select SYSC_R8A7791
1782d9f884cSKuninori Morimoto
1792d9f884cSKuninori Morimotoconfig ARCH_R8A7792
1802d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7792 (R-Car V2H)"
1812d9f884cSKuninori Morimoto	default ARCH_RENESAS
1822d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1832d9f884cSKuninori Morimoto	select ARM_ERRATA_798181 if SMP
1842d9f884cSKuninori Morimoto	select SYSC_R8A7792
1852d9f884cSKuninori Morimoto
1862d9f884cSKuninori Morimotoconfig ARCH_R8A7793
1872d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7793 (R-Car M2-N)"
1882d9f884cSKuninori Morimoto	default ARCH_RENESAS
1892d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1902d9f884cSKuninori Morimoto	select ARM_ERRATA_798181 if SMP
1912d9f884cSKuninori Morimoto	select I2C
1922d9f884cSKuninori Morimoto	select SYSC_R8A7791
1932d9f884cSKuninori Morimoto
1942d9f884cSKuninori Morimotoconfig ARCH_R8A7794
1952d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R8A7794 (R-Car E2)"
1962d9f884cSKuninori Morimoto	default ARCH_RENESAS
1972d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN2
1982d9f884cSKuninori Morimoto	select ARM_ERRATA_814220
1992d9f884cSKuninori Morimoto	select SYSC_R8A7794
2002d9f884cSKuninori Morimoto
201062887bfSGeert Uytterhoevenconfig ARCH_R9A06G032
2022d9f884cSKuninori Morimoto	bool "ARM32 Platform support for R9A06G032 (RZ/N1D)"
203aac7d517SLad Prabhakar	default ARCH_RENESAS
204062887bfSGeert Uytterhoeven	select ARCH_RZN1
205435dce2dSGeert Uytterhoeven	select ARM_ERRATA_814220
206062887bfSGeert Uytterhoeven
207062887bfSGeert Uytterhoevenconfig ARCH_SH73A0
2082d9f884cSKuninori Morimoto	bool "ARM32 Platform support for SH73A0 (SH-Mobile AG5)"
209aac7d517SLad Prabhakar	default ARCH_RENESAS
210062887bfSGeert Uytterhoeven	select ARCH_RMOBILE
2112eced460SGeert Uytterhoeven	select ARM_ERRATA_754322
212408324a3SGeert Uytterhoeven	select ARM_GLOBAL_TIMER
213062887bfSGeert Uytterhoeven	select HAVE_ARM_SCU if SMP
214062887bfSGeert Uytterhoeven	select HAVE_ARM_TWD if SMP
215062887bfSGeert Uytterhoeven	select RENESAS_INTC_IRQPIN
216062887bfSGeert Uytterhoeven
217062887bfSGeert Uytterhoevenendif # ARM
218062887bfSGeert Uytterhoeven
219fa43948fSGeert Uytterhoevenif ARM64
220fa43948fSGeert Uytterhoeven
2212d9f884cSKuninori Morimotoconfig ARCH_R8A774A1
2222d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A774A1 (RZ/G2M)"
223aac7d517SLad Prabhakar	default y if ARCH_RENESAS
224fa43948fSGeert Uytterhoeven	select ARCH_RCAR_GEN3
2252d9f884cSKuninori Morimoto	select SYSC_R8A774A1
226fa43948fSGeert Uytterhoeven	help
2272d9f884cSKuninori Morimoto	  This enables support for the Renesas RZ/G2M SoC.
228fa43948fSGeert Uytterhoeven
2292d9f884cSKuninori Morimotoconfig ARCH_R8A774B1
2302d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A774B1 (RZ/G2N)"
231aac7d517SLad Prabhakar	default y if ARCH_RENESAS
232d634055cSBiju Das	select ARCH_RCAR_GEN3
2332d9f884cSKuninori Morimoto	select SYSC_R8A774B1
234d634055cSBiju Das	help
2352d9f884cSKuninori Morimoto	  This enables support for the Renesas RZ/G2N SoC.
2362d9f884cSKuninori Morimoto
2372d9f884cSKuninori Morimotoconfig ARCH_R8A774C0
2382d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A774C0 (RZ/G2E)"
2392d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
2402d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN3
2412d9f884cSKuninori Morimoto	select SYSC_R8A774C0
2422d9f884cSKuninori Morimoto	help
2432d9f884cSKuninori Morimoto	  This enables support for the Renesas RZ/G2E SoC.
2442d9f884cSKuninori Morimoto
2452d9f884cSKuninori Morimotoconfig ARCH_R8A774E1
2462d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A774E1 (RZ/G2H)"
2472d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
2482d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN3
2492d9f884cSKuninori Morimoto	select SYSC_R8A774E1
2502d9f884cSKuninori Morimoto	help
2512d9f884cSKuninori Morimoto	  This enables support for the Renesas RZ/G2H SoC.
252b88fc411SMarian-Cristian Rotariu
2534ff27112SGeert Uytterhoevenconfig ARCH_R8A77951
2542d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77951 (R-Car H3 ES2.0+)"
255aac7d517SLad Prabhakar	default y if ARCH_RENESAS
2564ff27112SGeert Uytterhoeven	select ARCH_RCAR_GEN3
2574ff27112SGeert Uytterhoeven	select SYSC_R8A7795
2584ff27112SGeert Uytterhoeven	help
2594ff27112SGeert Uytterhoeven	  This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
2604ff27112SGeert Uytterhoeven	  later).
2612ed1e481SGeert Uytterhoeven	  This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
262fa43948fSGeert Uytterhoeven
26339e57e14SGeert Uytterhoevenconfig ARCH_R8A77960
2642d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77960 (R-Car M3-W)"
265aac7d517SLad Prabhakar	default y if ARCH_RENESAS
266fa43948fSGeert Uytterhoeven	select ARCH_RCAR_GEN3
267f79edb17SGeert Uytterhoeven	select SYSC_R8A77960
268fa43948fSGeert Uytterhoeven	help
269fa43948fSGeert Uytterhoeven	  This enables support for the Renesas R-Car M3-W SoC.
270fa43948fSGeert Uytterhoeven
271cadadde2SGeert Uytterhoevenconfig ARCH_R8A77961
2722d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77961 (R-Car M3-W+)"
273aac7d517SLad Prabhakar	default y if ARCH_RENESAS
274cadadde2SGeert Uytterhoeven	select ARCH_RCAR_GEN3
275bdde3d3eSGeert Uytterhoeven	select SYSC_R8A77961
276cadadde2SGeert Uytterhoeven	help
277cadadde2SGeert Uytterhoeven	  This enables support for the Renesas R-Car M3-W+ SoC.
2782ed1e481SGeert Uytterhoeven	  This includes different gradings like R-Car M3e and M3e-2G.
279cadadde2SGeert Uytterhoeven
2802d9f884cSKuninori Morimotoconfig ARCH_R8A77965
2812d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77965 (R-Car M3-N)"
282aac7d517SLad Prabhakar	default y if ARCH_RENESAS
283fa43948fSGeert Uytterhoeven	select ARCH_RCAR_GEN3
2842d9f884cSKuninori Morimoto	select SYSC_R8A77965
285fa43948fSGeert Uytterhoeven	help
2862d9f884cSKuninori Morimoto	  This enables support for the Renesas R-Car M3-N SoC.
2872d9f884cSKuninori Morimoto	  This includes different gradings like R-Car M3Ne and M3Ne-2G.
288fa43948fSGeert Uytterhoeven
289fa43948fSGeert Uytterhoevenconfig ARCH_R8A77970
2902d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77970 (R-Car V3M)"
291aac7d517SLad Prabhakar	default y if ARCH_RENESAS
292fa43948fSGeert Uytterhoeven	select ARCH_RCAR_GEN3
293fa43948fSGeert Uytterhoeven	select SYSC_R8A77970
294fa43948fSGeert Uytterhoeven	help
295fa43948fSGeert Uytterhoeven	  This enables support for the Renesas R-Car V3M SoC.
296fa43948fSGeert Uytterhoeven
2972d9f884cSKuninori Morimotoconfig ARCH_R8A77980
2982d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77980 (R-Car V3H)"
2992d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
3002d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN3
3012d9f884cSKuninori Morimoto	select SYSC_R8A77980
3022d9f884cSKuninori Morimoto	help
3032d9f884cSKuninori Morimoto	  This enables support for the Renesas R-Car V3H SoC.
3042d9f884cSKuninori Morimoto
3052d9f884cSKuninori Morimotoconfig ARCH_R8A77990
3062d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77990 (R-Car E3)"
3072d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
3082d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN3
3092d9f884cSKuninori Morimoto	select SYSC_R8A77990
3102d9f884cSKuninori Morimoto	help
3112d9f884cSKuninori Morimoto	  This enables support for the Renesas R-Car E3 SoC.
3122d9f884cSKuninori Morimoto	  This includes different gradings like R-Car E3e.
3132d9f884cSKuninori Morimoto
3142d9f884cSKuninori Morimotoconfig ARCH_R8A77995
3152d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A77995 (R-Car D3)"
3162d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
3172d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN3
3182d9f884cSKuninori Morimoto	select SYSC_R8A77995
3192d9f884cSKuninori Morimoto	help
3202d9f884cSKuninori Morimoto	  This enables support for the Renesas R-Car D3 SoC.
3212d9f884cSKuninori Morimoto	  This includes different gradings like R-Car D3e.
3222d9f884cSKuninori Morimoto
323090e87e7SYoshihiro Shimodaconfig ARCH_R8A779A0
3242d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A779A0 (R-Car V3U)"
325aac7d517SLad Prabhakar	default y if ARCH_RENESAS
326ae286bd7SGeert Uytterhoeven	select ARCH_RCAR_GEN4
3271b4298f0SYoshihiro Shimoda	select SYSC_R8A779A0
328090e87e7SYoshihiro Shimoda	help
329090e87e7SYoshihiro Shimoda	  This enables support for the Renesas R-Car V3U SoC.
330090e87e7SYoshihiro Shimoda
3312d9f884cSKuninori Morimotoconfig ARCH_R8A779F0
3322d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A779F0 (R-Car S4-8)"
3332d9f884cSKuninori Morimoto	default y if ARCH_RENESAS
3342d9f884cSKuninori Morimoto	select ARCH_RCAR_GEN4
3352d9f884cSKuninori Morimoto	select SYSC_R8A779F0
3362d9f884cSKuninori Morimoto	help
3372d9f884cSKuninori Morimoto	  This enables support for the Renesas R-Car S4-8 SoC.
3382d9f884cSKuninori Morimoto
33987ab58e1SYoshihiro Shimodaconfig ARCH_R8A779G0
3402d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A779G0 (R-Car V4H)"
341aac7d517SLad Prabhakar	default y if ARCH_RENESAS
342ae286bd7SGeert Uytterhoeven	select ARCH_RCAR_GEN4
34387ab58e1SYoshihiro Shimoda	select SYSC_R8A779G0
34487ab58e1SYoshihiro Shimoda	help
34587ab58e1SYoshihiro Shimoda	  This enables support for the Renesas R-Car V4H SoC.
34687ab58e1SYoshihiro Shimoda
3472969768dSDuy Nguyenconfig ARCH_R8A779H0
3482d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R8A779H0 (R-Car V4M)"
349aac7d517SLad Prabhakar	default y if ARCH_RENESAS
3502969768dSDuy Nguyen	select ARCH_RCAR_GEN4
3512969768dSDuy Nguyen	select SYSC_R8A779H0
3522969768dSDuy Nguyen	help
3532969768dSDuy Nguyen	  This enables support for the Renesas R-Car V4M SoC.
3542969768dSDuy Nguyen
355*5284d0b0SDuy Nguyenconfig ARCH_R8A78000
356*5284d0b0SDuy Nguyen	bool "ARM64 Platform support for R8A78000 (R-Car X5H)"
357*5284d0b0SDuy Nguyen	default y if ARCH_RENESAS
358*5284d0b0SDuy Nguyen	default ARCH_RENESAS
359*5284d0b0SDuy Nguyen	select ARCH_RCAR_GEN5
360*5284d0b0SDuy Nguyen	help
361*5284d0b0SDuy Nguyen	  This enables support for the Renesas R-Car X5H SoC.
362*5284d0b0SDuy Nguyen
3632f89bef9SBiju Dasconfig ARCH_R9A07G043
3642d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A07G043U (RZ/G2UL)"
365aac7d517SLad Prabhakar	default y if ARCH_RENESAS
3662f89bef9SBiju Das	select ARCH_RZG2L
3672f89bef9SBiju Das	help
3682f89bef9SBiju Das	  This enables support for the Renesas RZ/G2UL SoC variants.
3692f89bef9SBiju Das
370f3b15452SLad Prabhakarconfig ARCH_R9A07G044
3712d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A07G044 (RZ/G2L)"
372aac7d517SLad Prabhakar	default y if ARCH_RENESAS
373088659adSLad Prabhakar	select ARCH_RZG2L
374f3b15452SLad Prabhakar	help
375f3b15452SLad Prabhakar	  This enables support for the Renesas RZ/G2L SoC variants.
376f3b15452SLad Prabhakar
377860122d8SBiju Dasconfig ARCH_R9A07G054
3782d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A07G054 (RZ/V2L)"
379aac7d517SLad Prabhakar	default y if ARCH_RENESAS
380088659adSLad Prabhakar	select ARCH_RZG2L
381860122d8SBiju Das	help
382860122d8SBiju Das	  This enables support for the Renesas RZ/V2L SoC variants.
383860122d8SBiju Das
3840b9729cdSClaudiu Bezneaconfig ARCH_R9A08G045
3852d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A08G045 (RZ/G3S)"
386aac7d517SLad Prabhakar	default y if ARCH_RENESAS
3870b9729cdSClaudiu Beznea	select ARCH_RZG2L
3880704de89SClaudiu Beznea	select SYSC_R9A08G045
3890b9729cdSClaudiu Beznea	help
3900b9729cdSClaudiu Beznea	  This enables support for the Renesas RZ/G3S SoC variants.
3910b9729cdSClaudiu Beznea
392068eb5a9SPhil Edworthyconfig ARCH_R9A09G011
3932d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G011 (RZ/V2M)"
394aac7d517SLad Prabhakar	default y if ARCH_RENESAS
395068eb5a9SPhil Edworthy	select PM
396068eb5a9SPhil Edworthy	select PM_GENERIC_DOMAINS
3970c56f949SFabrizio Castro	select PWC_RZV2M
398068eb5a9SPhil Edworthy	help
399068eb5a9SPhil Edworthy	  This enables support for the Renesas RZ/V2M SoC.
400068eb5a9SPhil Edworthy
40112e0bd60SBiju Dasconfig ARCH_R9A09G047
4022d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G047 (RZ/G3E)"
403aac7d517SLad Prabhakar	default y if ARCH_RENESAS
404d07470cfSJohn Madieu	select SYS_R9A09G047
40512e0bd60SBiju Das	help
40612e0bd60SBiju Das	  This enables support for the Renesas RZ/G3E SoC variants.
40712e0bd60SBiju Das
40831d358e6SLad Prabhakarconfig ARCH_R9A09G056
4092d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G056 (RZ/V2N)"
41031d358e6SLad Prabhakar	default y if ARCH_RENESAS
4113903b470SLad Prabhakar	select SYS_R9A09G056
41231d358e6SLad Prabhakar	help
41331d358e6SLad Prabhakar	  This enables support for the Renesas RZ/V2N SoC variants.
41431d358e6SLad Prabhakar
4150be9a322SLad Prabhakarconfig ARCH_R9A09G057
4162d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G057 (RZ/V2H(P))"
417aac7d517SLad Prabhakar	default y if ARCH_RENESAS
4180d7605e7SFabrizio Castro	select RENESAS_RZV2H_ICU
4194300f384SJohn Madieu	select SYS_R9A09G057
4200be9a322SLad Prabhakar	help
4210be9a322SLad Prabhakar	  This enables support for the Renesas RZ/V2H(P) SoC variants.
4220be9a322SLad Prabhakar
423b19376deSThierry Bultelconfig ARCH_R9A09G077
4242d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G077 (RZ/T2H)"
425b19376deSThierry Bultel	default y if ARCH_RENESAS
426b19376deSThierry Bultel	help
427b19376deSThierry Bultel	  This enables support for the Renesas RZ/T2H SoC variants.
428b19376deSThierry Bultel
429c7968f5eSLad Prabhakarconfig ARCH_R9A09G087
4302d9f884cSKuninori Morimoto	bool "ARM64 Platform support for R9A09G087 (RZ/N2H)"
431c7968f5eSLad Prabhakar	default y if ARCH_RENESAS
432c7968f5eSLad Prabhakar	help
433c7968f5eSLad Prabhakar	  This enables support for the Renesas RZ/N2H SoC variants.
434c7968f5eSLad Prabhakar
435fa43948fSGeert Uytterhoevenendif # ARM64
436fa43948fSGeert Uytterhoeven
437ebd0e06fSLad Prabhakarif RISCV
438ebd0e06fSLad Prabhakar
439ebd0e06fSLad Prabhakarconfig ARCH_R9A07G043
4402d9f884cSKuninori Morimoto	bool "RISC-V Platform support for R9A07G043F (RZ/Five)"
441c1ec4b45SJisheng Zhang	depends on NONPORTABLE
44231b2daeaSConor Dooley	depends on !DMA_DIRECT_REMAP
4431531309aSConor Dooley	depends on RISCV_ALTERNATIVE
4449eab43faSChristoph Hellwig	depends on !RISCV_ISA_ZICBOM
4451531309aSConor Dooley	depends on RISCV_SBI
446ebd0e06fSLad Prabhakar	select ARCH_RZG2L
4471531309aSConor Dooley	select AX45MP_L2_CACHE
448484861e0SLad Prabhakar	select DMA_GLOBAL_POOL
4491531309aSConor Dooley	select ERRATA_ANDES
4501531309aSConor Dooley	select ERRATA_ANDES_CMO
451ebd0e06fSLad Prabhakar	help
452ebd0e06fSLad Prabhakar	  This enables support for the Renesas RZ/Five SoC.
453ebd0e06fSLad Prabhakar
454ebd0e06fSLad Prabhakarendif # RISCV
455ebd0e06fSLad Prabhakar
4560c56f949SFabrizio Castroconfig PWC_RZV2M
4570c56f949SFabrizio Castro	bool "Renesas RZ/V2M PWC support" if COMPILE_TEST
4580c56f949SFabrizio Castro
4596d5aded8SKuninori Morimotoconfig RST_RCAR
4606d5aded8SKuninori Morimoto	bool "Reset Controller support for R-Car" if COMPILE_TEST
4616d5aded8SKuninori Morimoto
462c1aca558SClaudiu Bezneaconfig SYSC_RZ
463c1aca558SClaudiu Beznea	bool "System controller for RZ SoCs" if COMPILE_TEST
4642da2740fSJohn Madieu	select MFD_SYSCON
465c1aca558SClaudiu Beznea
4660704de89SClaudiu Bezneaconfig SYSC_R9A08G045
4672d9f884cSKuninori Morimoto	bool "Renesas System controller support for R9A08G045 (RZ/G3S)" if COMPILE_TEST
4680704de89SClaudiu Beznea	select SYSC_RZ
4690704de89SClaudiu Beznea
470d07470cfSJohn Madieuconfig SYS_R9A09G047
4712d9f884cSKuninori Morimoto	bool "Renesas System controller support for R9A09G047 (RZ/G3E)" if COMPILE_TEST
472d07470cfSJohn Madieu	select SYSC_RZ
473d07470cfSJohn Madieu
4743903b470SLad Prabhakarconfig SYS_R9A09G056
4752d9f884cSKuninori Morimoto	bool "Renesas System controller support for R9A09G056 (RZ/V2N)" if COMPILE_TEST
4763903b470SLad Prabhakar	select SYSC_RZ
4773903b470SLad Prabhakar
4784300f384SJohn Madieuconfig SYS_R9A09G057
4792d9f884cSKuninori Morimoto	bool "Renesas System controller support for R9A09G057 (RZ/V2H)" if COMPILE_TEST
4804300f384SJohn Madieu	select SYSC_RZ
4814300f384SJohn Madieu
4828be381a1SGeert Uytterhoevenendif # SOC_RENESAS
483