Kconfig 9.07 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
menuconfig SOC_RENESAS
3 4 5 6 7 8
	bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
	default y if ARCH_RENESAS
	select SOC_BUS

if SOC_RENESAS

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
config ARCH_RCAR_GEN1
	bool
	select PM
	select PM_GENERIC_DOMAINS
	select RENESAS_INTC_IRQPIN
	select RST_RCAR
	select SYS_SUPPORTS_SH_TMU

config ARCH_RCAR_GEN2
	bool
	select HAVE_ARM_ARCH_TIMER
	select PM
	select PM_GENERIC_DOMAINS
	select RENESAS_IRQC
	select RST_RCAR
	select SYS_SUPPORTS_SH_CMT

26 27 28 29 30 31 32 33 34
config ARCH_RCAR_GEN3
	bool
	select PM
	select PM_GENERIC_DOMAINS
	select RENESAS_IRQC
	select RST_RCAR
	select SYS_SUPPORTS_SH_CMT
	select SYS_SUPPORTS_SH_TMU

35 36
config ARCH_RMOBILE
	bool
37 38
	select PM
	select PM_GENERIC_DOMAINS
39 40
	select SYS_SUPPORTS_SH_CMT
	select SYS_SUPPORTS_SH_TMU
41
	select SYSC_RMOBILE
42 43 44 45 46

config ARCH_RZN1
	bool
	select ARM_AMBA

47
if ARM && ARCH_RENESAS
48 49 50 51

#comment "Renesas ARM SoCs System Type"

config ARCH_EMEV2
52
	bool "ARM32 Platform support for Emma Mobile EV2"
53 54 55
	select HAVE_ARM_SCU if SMP
	select SYS_SUPPORTS_EM_STI

56 57
config ARCH_R8A7794
	bool "ARM32 Platform support for R-Car E2"
58
	select ARCH_RCAR_GEN2
59
	select ARM_ERRATA_814220
60
	select SYSC_R8A7794
61 62

config ARCH_R8A7779
63
	bool "ARM32 Platform support for R-Car H1"
64
	select ARCH_RCAR_GEN1
65
	select ARM_ERRATA_754322
66
	select ARM_GLOBAL_TIMER
67 68 69 70 71
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if SMP
	select SYSC_R8A7779

config ARCH_R8A7790
72
	bool "ARM32 Platform support for R-Car H2"
73 74
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
75
	select ARM_ERRATA_814220
76 77 78
	select I2C
	select SYSC_R8A7790

79 80 81 82 83 84 85 86 87 88 89 90
config ARCH_R8A7778
	bool "ARM32 Platform support for R-Car M1A"
	select ARCH_RCAR_GEN1
	select ARM_ERRATA_754322

config ARCH_R8A7793
	bool "ARM32 Platform support for R-Car M2-N"
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select I2C
	select SYSC_R8A7791

91
config ARCH_R8A7791
92
	bool "ARM32 Platform support for R-Car M2-W"
93 94 95 96 97 98
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select I2C
	select SYSC_R8A7791

config ARCH_R8A7792
99
	bool "ARM32 Platform support for R-Car V2H"
100 101 102 103
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select SYSC_R8A7792

104 105 106 107 108 109 110 111 112
config ARCH_R8A7740
	bool "ARM32 Platform support for R-Mobile A1"
	select ARCH_RMOBILE
	select ARM_ERRATA_754322
	select RENESAS_INTC_IRQPIN

config ARCH_R8A73A4
	bool "ARM32 Platform support for R-Mobile APE6"
	select ARCH_RMOBILE
113
	select ARM_ERRATA_798181 if SMP
114 115 116
	select ARM_ERRATA_814220
	select HAVE_ARM_ARCH_TIMER
	select RENESAS_IRQC
117

118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
config ARCH_R7S72100
	bool "ARM32 Platform support for RZ/A1H"
	select ARM_ERRATA_754322
	select PM
	select PM_GENERIC_DOMAINS
	select RENESAS_OSTM
	select RENESAS_RZA1_IRQC
	select SYS_SUPPORTS_SH_MTU2

config ARCH_R7S9210
	bool "ARM32 Platform support for RZ/A2"
	select PM
	select PM_GENERIC_DOMAINS
	select RENESAS_OSTM
	select RENESAS_RZA1_IRQC

config ARCH_R8A77470
	bool "ARM32 Platform support for RZ/G1C"
136
	select ARCH_RCAR_GEN2
137
	select ARM_ERRATA_814220
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
	select SYSC_R8A77470

config ARCH_R8A7745
	bool "ARM32 Platform support for RZ/G1E"
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_814220
	select SYSC_R8A7745

config ARCH_R8A7742
	bool "ARM32 Platform support for RZ/G1H"
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select ARM_ERRATA_814220
	select SYSC_R8A7742

config ARCH_R8A7743
	bool "ARM32 Platform support for RZ/G1M"
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select SYSC_R8A7743

config ARCH_R8A7744
	bool "ARM32 Platform support for RZ/G1N"
	select ARCH_RCAR_GEN2
	select ARM_ERRATA_798181 if SMP
	select SYSC_R8A7743
164 165

config ARCH_R9A06G032
166
	bool "ARM32 Platform support for RZ/N1D"
167
	select ARCH_RZN1
168
	select ARM_ERRATA_814220
169 170

config ARCH_SH73A0
171
	bool "ARM32 Platform support for SH-Mobile AG5"
172
	select ARCH_RMOBILE
173
	select ARM_ERRATA_754322
174
	select ARM_GLOBAL_TIMER
175 176 177 178 179 180
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if SMP
	select RENESAS_INTC_IRQPIN

endif # ARM

181 182
if ARM64

183 184
config ARCH_R8A77995
	bool "ARM64 Platform support for R-Car D3"
185
	select ARCH_RCAR_GEN3
186
	select SYSC_R8A77995
187
	help
188
	  This enables support for the Renesas R-Car D3 SoC.
189
	  This includes different gradings like R-Car D3e.
190

191 192
config ARCH_R8A77990
	bool "ARM64 Platform support for R-Car E3"
193
	select ARCH_RCAR_GEN3
194
	select SYSC_R8A77990
195
	help
196
	  This enables support for the Renesas R-Car E3 SoC.
197
	  This includes different gradings like R-Car E3e.
198

199
config ARCH_R8A77950
200
	bool "ARM64 Platform support for R-Car H3 ES1.x"
201 202 203 204
	select ARCH_RCAR_GEN3
	select SYSC_R8A7795
	help
	  This enables support for the Renesas R-Car H3 SoC (revision 1.x).
205 206

config ARCH_R8A77951
207
	bool "ARM64 Platform support for R-Car H3 ES2.0+"
208 209 210
	select ARCH_RCAR_GEN3
	select SYSC_R8A7795
	help
211 212
	  This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
	  later).
213
	  This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
214

215 216 217 218 219 220
config ARCH_R8A77965
	bool "ARM64 Platform support for R-Car M3-N"
	select ARCH_RCAR_GEN3
	select SYSC_R8A77965
	help
	  This enables support for the Renesas R-Car M3-N SoC.
221
	  This includes different gradings like R-Car M3Ne and M3Ne-2G.
222

223
config ARCH_R8A77960
224
	bool "ARM64 Platform support for R-Car M3-W"
225
	select ARCH_RCAR_GEN3
226
	select SYSC_R8A77960
227 228 229
	help
	  This enables support for the Renesas R-Car M3-W SoC.

230
config ARCH_R8A77961
231
	bool "ARM64 Platform support for R-Car M3-W+"
232
	select ARCH_RCAR_GEN3
233
	select SYSC_R8A77961
234 235
	help
	  This enables support for the Renesas R-Car M3-W+ SoC.
236
	  This includes different gradings like R-Car M3e and M3e-2G.
237

238 239
config ARCH_R8A77980
	bool "ARM64 Platform support for R-Car V3H"
240
	select ARCH_RCAR_GEN3
241
	select SYSC_R8A77980
242
	help
243
	  This enables support for the Renesas R-Car V3H SoC.
244 245

config ARCH_R8A77970
246
	bool "ARM64 Platform support for R-Car V3M"
247 248 249 250 251
	select ARCH_RCAR_GEN3
	select SYSC_R8A77970
	help
	  This enables support for the Renesas R-Car V3M SoC.

252 253 254
config ARCH_R8A779A0
	bool "ARM64 Platform support for R-Car V3U"
	select ARCH_RCAR_GEN3
255
	select SYSC_R8A779A0
256 257 258
	help
	  This enables support for the Renesas R-Car V3U SoC.

259 260
config ARCH_R8A774C0
	bool "ARM64 Platform support for RZ/G2E"
261
	select ARCH_RCAR_GEN3
262
	select SYSC_R8A774C0
263
	help
264
	  This enables support for the Renesas RZ/G2E SoC.
265

266 267
config ARCH_R8A774E1
	bool "ARM64 Platform support for RZ/G2H"
268
	select ARCH_RCAR_GEN3
269
	select SYSC_R8A774E1
270
	help
271
	  This enables support for the Renesas RZ/G2H SoC.
272

273 274
config ARCH_R8A774A1
	bool "ARM64 Platform support for RZ/G2M"
275
	select ARCH_RCAR_GEN3
276
	select SYSC_R8A774A1
277
	help
278
	  This enables support for the Renesas RZ/G2M SoC.
279

280 281 282 283 284 285
config ARCH_R8A774B1
	bool "ARM64 Platform support for RZ/G2N"
	select ARCH_RCAR_GEN3
	select SYSC_R8A774B1
	help
	  This enables support for the Renesas RZ/G2N SoC.
286

287 288 289 290 291
config ARCH_R9A07G044
	bool "ARM64 Platform support for RZ/G2L"
	help
	  This enables support for the Renesas RZ/G2L SoC variants.

292
endif # ARM64
293

294 295
config RST_RCAR
	bool "Reset Controller support for R-Car" if COMPILE_TEST
296

297 298
config SYSC_RCAR
	bool "System Controller support for R-Car" if COMPILE_TEST
299

300 301
config SYSC_R8A77995
	bool "System Controller support for R-Car D3" if COMPILE_TEST
302 303
	select SYSC_RCAR

304 305
config SYSC_R8A7794
	bool "System Controller support for R-Car E2" if COMPILE_TEST
306 307
	select SYSC_RCAR

308 309
config SYSC_R8A77990
	bool "System Controller support for R-Car E3" if COMPILE_TEST
310 311
	select SYSC_RCAR

312
config SYSC_R8A7779
313
	bool "System Controller support for R-Car H1" if COMPILE_TEST
314 315 316
	select SYSC_RCAR

config SYSC_R8A7790
317
	bool "System Controller support for R-Car H2" if COMPILE_TEST
318 319
	select SYSC_RCAR

320 321
config SYSC_R8A7795
	bool "System Controller support for R-Car H3" if COMPILE_TEST
322 323
	select SYSC_RCAR

324 325
config SYSC_R8A7791
	bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
326 327
	select SYSC_RCAR

328 329
config SYSC_R8A77965
	bool "System Controller support for R-Car M3-N" if COMPILE_TEST
330 331
	select SYSC_RCAR

332
config SYSC_R8A77960
333
	bool "System Controller support for R-Car M3-W" if COMPILE_TEST
334 335
	select SYSC_RCAR

336
config SYSC_R8A77961
337
	bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
338 339
	select SYSC_RCAR

340 341 342 343 344 345
config SYSC_R8A7792
	bool "System Controller support for R-Car V2H" if COMPILE_TEST
	select SYSC_RCAR

config SYSC_R8A77980
	bool "System Controller support for R-Car V3H" if COMPILE_TEST
346 347
	select SYSC_RCAR

348
config SYSC_R8A77970
349
	bool "System Controller support for R-Car V3M" if COMPILE_TEST
350 351
	select SYSC_RCAR

352 353 354
config SYSC_R8A779A0
	bool "System Controller support for R-Car V3U" if COMPILE_TEST

355 356 357 358 359
config SYSC_RMOBILE
	bool "System Controller support for R-Mobile" if COMPILE_TEST

config SYSC_R8A77470
	bool "System Controller support for RZ/G1C" if COMPILE_TEST
360 361
	select SYSC_RCAR

362 363
config SYSC_R8A7745
	bool "System Controller support for RZ/G1E" if COMPILE_TEST
364 365
	select SYSC_RCAR

366 367
config SYSC_R8A7742
	bool "System Controller support for RZ/G1H" if COMPILE_TEST
368 369
	select SYSC_RCAR

370 371 372
config SYSC_R8A7743
	bool "System Controller support for RZ/G1M" if COMPILE_TEST
	select SYSC_RCAR
373

374 375 376
config SYSC_R8A774C0
	bool "System Controller support for RZ/G2E" if COMPILE_TEST
	select SYSC_RCAR
377

378 379 380 381 382 383 384 385 386 387 388
config SYSC_R8A774E1
	bool "System Controller support for RZ/G2H" if COMPILE_TEST
	select SYSC_RCAR

config SYSC_R8A774A1
	bool "System Controller support for RZ/G2M" if COMPILE_TEST
	select SYSC_RCAR

config SYSC_R8A774B1
	bool "System Controller support for RZ/G2N" if COMPILE_TEST
	select SYSC_RCAR
389

390
endif # SOC_RENESAS