xref: /linux/drivers/soc/renesas/Kconfig (revision 9a6b55ac)
1# SPDX-License-Identifier: GPL-2.0
2config 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_RZN1
44	bool
45	select ARM_AMBA
46
47if ARM && ARCH_RENESAS
48
49#comment "Renesas ARM SoCs System Type"
50
51config ARCH_EMEV2
52	bool "Emma Mobile EV2"
53	select HAVE_ARM_SCU if SMP
54	select SYS_SUPPORTS_EM_STI
55
56config ARCH_R7S72100
57	bool "RZ/A1H (R7S72100)"
58	select ARM_ERRATA_754322
59	select PM
60	select PM_GENERIC_DOMAINS
61	select RENESAS_OSTM
62	select RENESAS_RZA1_IRQC
63	select SYS_SUPPORTS_SH_MTU2
64
65config ARCH_R7S9210
66	bool "RZ/A2 (R7S9210)"
67	select PM
68	select PM_GENERIC_DOMAINS
69	select RENESAS_OSTM
70	select RENESAS_RZA1_IRQC
71
72config ARCH_R8A73A4
73	bool "R-Mobile APE6 (R8A73A40)"
74	select ARCH_RMOBILE
75	select ARM_ERRATA_798181 if SMP
76	select ARM_ERRATA_814220
77	select HAVE_ARM_ARCH_TIMER
78	select RENESAS_IRQC
79
80config ARCH_R8A7740
81	bool "R-Mobile A1 (R8A77400)"
82	select ARCH_RMOBILE
83	select ARM_ERRATA_754322
84	select RENESAS_INTC_IRQPIN
85
86config ARCH_R8A7743
87	bool "RZ/G1M (R8A77430)"
88	select ARCH_RCAR_GEN2
89	select ARM_ERRATA_798181 if SMP
90	select SYSC_R8A7743
91
92config ARCH_R8A7744
93	bool "RZ/G1N (R8A77440)"
94	select ARCH_RCAR_GEN2
95	select ARM_ERRATA_798181 if SMP
96	select SYSC_R8A7743
97
98config ARCH_R8A7745
99	bool "RZ/G1E (R8A77450)"
100	select ARCH_RCAR_GEN2
101	select ARM_ERRATA_814220
102	select SYSC_R8A7745
103
104config ARCH_R8A77470
105	bool "RZ/G1C (R8A77470)"
106	select ARCH_RCAR_GEN2
107	select ARM_ERRATA_814220
108	select SYSC_R8A77470
109
110config ARCH_R8A7778
111	bool "R-Car M1A (R8A77781)"
112	select ARCH_RCAR_GEN1
113	select ARM_ERRATA_754322
114
115config ARCH_R8A7779
116	bool "R-Car H1 (R8A77790)"
117	select ARCH_RCAR_GEN1
118	select ARM_ERRATA_754322
119	select HAVE_ARM_SCU if SMP
120	select HAVE_ARM_TWD if SMP
121	select SYSC_R8A7779
122
123config ARCH_R8A7790
124	bool "R-Car H2 (R8A77900)"
125	select ARCH_RCAR_GEN2
126	select ARM_ERRATA_798181 if SMP
127	select ARM_ERRATA_814220
128	select I2C
129	select SYSC_R8A7790
130
131config ARCH_R8A7791
132	bool "R-Car M2-W (R8A77910)"
133	select ARCH_RCAR_GEN2
134	select ARM_ERRATA_798181 if SMP
135	select I2C
136	select SYSC_R8A7791
137
138config ARCH_R8A7792
139	bool "R-Car V2H (R8A77920)"
140	select ARCH_RCAR_GEN2
141	select ARM_ERRATA_798181 if SMP
142	select SYSC_R8A7792
143
144config ARCH_R8A7793
145	bool "R-Car M2-N (R8A7793)"
146	select ARCH_RCAR_GEN2
147	select ARM_ERRATA_798181 if SMP
148	select I2C
149	select SYSC_R8A7791
150
151config ARCH_R8A7794
152	bool "R-Car E2 (R8A77940)"
153	select ARCH_RCAR_GEN2
154	select ARM_ERRATA_814220
155	select SYSC_R8A7794
156
157config ARCH_R9A06G032
158	bool "RZ/N1D (R9A06G032)"
159	select ARCH_RZN1
160	select ARM_ERRATA_814220
161
162config ARCH_SH73A0
163	bool "SH-Mobile AG5 (R8A73A00)"
164	select ARCH_RMOBILE
165	select ARM_ERRATA_754322
166	select HAVE_ARM_SCU if SMP
167	select HAVE_ARM_TWD if SMP
168	select RENESAS_INTC_IRQPIN
169
170endif # ARM
171
172if ARM64
173
174config ARCH_R8A774A1
175	bool "Renesas RZ/G2M SoC Platform"
176	select ARCH_RCAR_GEN3
177	select SYSC_R8A774A1
178	help
179	  This enables support for the Renesas RZ/G2M SoC.
180
181config ARCH_R8A774B1
182	bool "Renesas RZ/G2N SoC Platform"
183	select ARCH_RCAR_GEN3
184	select SYSC_R8A774B1
185	help
186	  This enables support for the Renesas RZ/G2N SoC.
187
188config ARCH_R8A774C0
189	bool "Renesas RZ/G2E SoC Platform"
190	select ARCH_RCAR_GEN3
191	select SYSC_R8A774C0
192	help
193	  This enables support for the Renesas RZ/G2E SoC.
194
195config ARCH_R8A7795
196	bool "Renesas R-Car H3 SoC Platform"
197	select ARCH_RCAR_GEN3
198	select SYSC_R8A7795
199	help
200	  This enables support for the Renesas R-Car H3 SoC.
201
202config ARCH_R8A77960
203	bool
204	select ARCH_RCAR_GEN3
205	select SYSC_R8A77960
206
207config ARCH_R8A7796
208	bool "Renesas R-Car M3-W SoC Platform"
209	select ARCH_R8A77960
210	help
211	  This enables support for the Renesas R-Car M3-W SoC.
212
213config ARCH_R8A77961
214	bool "Renesas R-Car M3-W+ SoC Platform"
215	select ARCH_RCAR_GEN3
216	select SYSC_R8A77961
217	help
218	  This enables support for the Renesas R-Car M3-W+ SoC.
219
220config ARCH_R8A77965
221	bool "Renesas R-Car M3-N SoC Platform"
222	select ARCH_RCAR_GEN3
223	select SYSC_R8A77965
224	help
225	  This enables support for the Renesas R-Car M3-N SoC.
226
227config ARCH_R8A77970
228	bool "Renesas R-Car V3M SoC Platform"
229	select ARCH_RCAR_GEN3
230	select SYSC_R8A77970
231	help
232	  This enables support for the Renesas R-Car V3M SoC.
233
234config ARCH_R8A77980
235	bool "Renesas R-Car V3H SoC Platform"
236	select ARCH_RCAR_GEN3
237	select SYSC_R8A77980
238	help
239	  This enables support for the Renesas R-Car V3H SoC.
240
241config ARCH_R8A77990
242	bool "Renesas R-Car E3 SoC Platform"
243	select ARCH_RCAR_GEN3
244	select SYSC_R8A77990
245	help
246	  This enables support for the Renesas R-Car E3 SoC.
247
248config ARCH_R8A77995
249	bool "Renesas R-Car D3 SoC Platform"
250	select ARCH_RCAR_GEN3
251	select SYSC_R8A77995
252	help
253	  This enables support for the Renesas R-Car D3 SoC.
254
255endif # ARM64
256
257# SoC
258config SYSC_R8A7743
259	bool "RZ/G1M System Controller support" if COMPILE_TEST
260	select SYSC_RCAR
261
262config SYSC_R8A7745
263	bool "RZ/G1E System Controller support" if COMPILE_TEST
264	select SYSC_RCAR
265
266config SYSC_R8A77470
267	bool "RZ/G1C System Controller support" if COMPILE_TEST
268	select SYSC_RCAR
269
270config SYSC_R8A774A1
271	bool "RZ/G2M System Controller support" if COMPILE_TEST
272	select SYSC_RCAR
273
274config SYSC_R8A774B1
275	bool "RZ/G2N System Controller support" if COMPILE_TEST
276	select SYSC_RCAR
277
278config SYSC_R8A774C0
279	bool "RZ/G2E System Controller support" if COMPILE_TEST
280	select SYSC_RCAR
281
282config SYSC_R8A7779
283	bool "R-Car H1 System Controller support" if COMPILE_TEST
284	select SYSC_RCAR
285
286config SYSC_R8A7790
287	bool "R-Car H2 System Controller support" if COMPILE_TEST
288	select SYSC_RCAR
289
290config SYSC_R8A7791
291	bool "R-Car M2-W/N System Controller support" if COMPILE_TEST
292	select SYSC_RCAR
293
294config SYSC_R8A7792
295	bool "R-Car V2H System Controller support" if COMPILE_TEST
296	select SYSC_RCAR
297
298config SYSC_R8A7794
299	bool "R-Car E2 System Controller support" if COMPILE_TEST
300	select SYSC_RCAR
301
302config SYSC_R8A7795
303	bool "R-Car H3 System Controller support" if COMPILE_TEST
304	select SYSC_RCAR
305
306config SYSC_R8A77960
307	bool "R-Car M3-W System Controller support" if COMPILE_TEST
308	select SYSC_RCAR
309
310config SYSC_R8A77961
311	bool "R-Car M3-W+ System Controller support" if COMPILE_TEST
312	select SYSC_RCAR
313
314config SYSC_R8A77965
315	bool "R-Car M3-N System Controller support" if COMPILE_TEST
316	select SYSC_RCAR
317
318config SYSC_R8A77970
319	bool "R-Car V3M System Controller support" if COMPILE_TEST
320	select SYSC_RCAR
321
322config SYSC_R8A77980
323	bool "R-Car V3H System Controller support" if COMPILE_TEST
324	select SYSC_RCAR
325
326config SYSC_R8A77990
327	bool "R-Car E3 System Controller support" if COMPILE_TEST
328	select SYSC_RCAR
329
330config SYSC_R8A77995
331	bool "R-Car D3 System Controller support" if COMPILE_TEST
332	select SYSC_RCAR
333
334# Family
335config RST_RCAR
336	bool "R-Car Reset Controller support" if COMPILE_TEST
337
338config SYSC_RCAR
339	bool "R-Car System Controller support" if COMPILE_TEST
340
341config SYSC_RMOBILE
342	bool "R-Mobile System Controller support" if COMPILE_TEST
343
344endif # SOC_RENESAS
345