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