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