0001 # SPDX-License-Identifier: GPL-2.0
0002 menuconfig SOC_RENESAS
0003 bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
0004 default y if ARCH_RENESAS
0005 select SOC_BUS
0006
0007 if SOC_RENESAS
0008
0009 config ARCH_RCAR_GEN1
0010 bool
0011 select PM
0012 select PM_GENERIC_DOMAINS
0013 select RENESAS_INTC_IRQPIN
0014 select RST_RCAR
0015 select SYS_SUPPORTS_SH_TMU
0016
0017 config ARCH_RCAR_GEN2
0018 bool
0019 select HAVE_ARM_ARCH_TIMER
0020 select PM
0021 select PM_GENERIC_DOMAINS
0022 select RENESAS_IRQC
0023 select RST_RCAR
0024 select SYS_SUPPORTS_SH_CMT
0025
0026 config ARCH_RCAR_GEN3
0027 bool
0028 select PM
0029 select PM_GENERIC_DOMAINS
0030 select RENESAS_IRQC
0031 select RST_RCAR
0032 select SYS_SUPPORTS_SH_CMT
0033 select SYS_SUPPORTS_SH_TMU
0034
0035 config ARCH_RMOBILE
0036 bool
0037 select PM
0038 select PM_GENERIC_DOMAINS
0039 select SYS_SUPPORTS_SH_CMT
0040 select SYS_SUPPORTS_SH_TMU
0041 select SYSC_RMOBILE
0042
0043 config ARCH_RZG2L
0044 bool
0045 select PM
0046 select PM_GENERIC_DOMAINS
0047
0048 config ARCH_RZN1
0049 bool
0050 select PM
0051 select PM_GENERIC_DOMAINS
0052 select ARM_AMBA
0053
0054 if ARM && ARCH_RENESAS
0055
0056 #comment "Renesas ARM SoCs System Type"
0057
0058 config ARCH_EMEV2
0059 bool "ARM32 Platform support for Emma Mobile EV2"
0060 select HAVE_ARM_SCU if SMP
0061 select SYS_SUPPORTS_EM_STI
0062
0063 config ARCH_R8A7794
0064 bool "ARM32 Platform support for R-Car E2"
0065 select ARCH_RCAR_GEN2
0066 select ARM_ERRATA_814220
0067 select SYSC_R8A7794
0068
0069 config ARCH_R8A7779
0070 bool "ARM32 Platform support for R-Car H1"
0071 select ARCH_RCAR_GEN1
0072 select ARM_ERRATA_754322
0073 select ARM_GLOBAL_TIMER
0074 select HAVE_ARM_SCU if SMP
0075 select HAVE_ARM_TWD if SMP
0076 select SYSC_R8A7779
0077
0078 config ARCH_R8A7790
0079 bool "ARM32 Platform support for R-Car H2"
0080 select ARCH_RCAR_GEN2
0081 select ARM_ERRATA_798181 if SMP
0082 select ARM_ERRATA_814220
0083 select I2C
0084 select SYSC_R8A7790
0085
0086 config ARCH_R8A7778
0087 bool "ARM32 Platform support for R-Car M1A"
0088 select ARCH_RCAR_GEN1
0089 select ARM_ERRATA_754322
0090
0091 config ARCH_R8A7793
0092 bool "ARM32 Platform support for R-Car M2-N"
0093 select ARCH_RCAR_GEN2
0094 select ARM_ERRATA_798181 if SMP
0095 select I2C
0096 select SYSC_R8A7791
0097
0098 config ARCH_R8A7791
0099 bool "ARM32 Platform support for R-Car M2-W"
0100 select ARCH_RCAR_GEN2
0101 select ARM_ERRATA_798181 if SMP
0102 select I2C
0103 select SYSC_R8A7791
0104
0105 config ARCH_R8A7792
0106 bool "ARM32 Platform support for R-Car V2H"
0107 select ARCH_RCAR_GEN2
0108 select ARM_ERRATA_798181 if SMP
0109 select SYSC_R8A7792
0110
0111 config ARCH_R8A7740
0112 bool "ARM32 Platform support for R-Mobile A1"
0113 select ARCH_RMOBILE
0114 select ARM_ERRATA_754322
0115 select RENESAS_INTC_IRQPIN
0116
0117 config ARCH_R8A73A4
0118 bool "ARM32 Platform support for R-Mobile APE6"
0119 select ARCH_RMOBILE
0120 select ARM_ERRATA_798181 if SMP
0121 select ARM_ERRATA_814220
0122 select HAVE_ARM_ARCH_TIMER
0123 select RENESAS_IRQC
0124
0125 config ARCH_R7S72100
0126 bool "ARM32 Platform support for RZ/A1H"
0127 select ARM_ERRATA_754322
0128 select PM
0129 select PM_GENERIC_DOMAINS
0130 select RENESAS_OSTM
0131 select RENESAS_RZA1_IRQC
0132 select SYS_SUPPORTS_SH_MTU2
0133
0134 config ARCH_R7S9210
0135 bool "ARM32 Platform support for RZ/A2"
0136 select PM
0137 select PM_GENERIC_DOMAINS
0138 select RENESAS_OSTM
0139 select RENESAS_RZA1_IRQC
0140
0141 config ARCH_R8A77470
0142 bool "ARM32 Platform support for RZ/G1C"
0143 select ARCH_RCAR_GEN2
0144 select ARM_ERRATA_814220
0145 select SYSC_R8A77470
0146
0147 config ARCH_R8A7745
0148 bool "ARM32 Platform support for RZ/G1E"
0149 select ARCH_RCAR_GEN2
0150 select ARM_ERRATA_814220
0151 select SYSC_R8A7745
0152
0153 config ARCH_R8A7742
0154 bool "ARM32 Platform support for RZ/G1H"
0155 select ARCH_RCAR_GEN2
0156 select ARM_ERRATA_798181 if SMP
0157 select ARM_ERRATA_814220
0158 select SYSC_R8A7742
0159
0160 config ARCH_R8A7743
0161 bool "ARM32 Platform support for RZ/G1M"
0162 select ARCH_RCAR_GEN2
0163 select ARM_ERRATA_798181 if SMP
0164 select SYSC_R8A7743
0165
0166 config ARCH_R8A7744
0167 bool "ARM32 Platform support for RZ/G1N"
0168 select ARCH_RCAR_GEN2
0169 select ARM_ERRATA_798181 if SMP
0170 select SYSC_R8A7743
0171
0172 config ARCH_R9A06G032
0173 bool "ARM32 Platform support for RZ/N1D"
0174 select ARCH_RZN1
0175 select ARM_ERRATA_814220
0176
0177 config ARCH_SH73A0
0178 bool "ARM32 Platform support for SH-Mobile AG5"
0179 select ARCH_RMOBILE
0180 select ARM_ERRATA_754322
0181 select ARM_GLOBAL_TIMER
0182 select HAVE_ARM_SCU if SMP
0183 select HAVE_ARM_TWD if SMP
0184 select RENESAS_INTC_IRQPIN
0185
0186 endif # ARM
0187
0188 if ARM64
0189
0190 config ARCH_R8A77995
0191 bool "ARM64 Platform support for R-Car D3"
0192 select ARCH_RCAR_GEN3
0193 select SYSC_R8A77995
0194 help
0195 This enables support for the Renesas R-Car D3 SoC.
0196 This includes different gradings like R-Car D3e.
0197
0198 config ARCH_R8A77990
0199 bool "ARM64 Platform support for R-Car E3"
0200 select ARCH_RCAR_GEN3
0201 select SYSC_R8A77990
0202 help
0203 This enables support for the Renesas R-Car E3 SoC.
0204 This includes different gradings like R-Car E3e.
0205
0206 config ARCH_R8A77950
0207 bool "ARM64 Platform support for R-Car H3 ES1.x"
0208 select ARCH_RCAR_GEN3
0209 select SYSC_R8A7795
0210 help
0211 This enables support for the Renesas R-Car H3 SoC (revision 1.x).
0212
0213 config ARCH_R8A77951
0214 bool "ARM64 Platform support for R-Car H3 ES2.0+"
0215 select ARCH_RCAR_GEN3
0216 select SYSC_R8A7795
0217 help
0218 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
0219 later).
0220 This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
0221
0222 config ARCH_R8A77965
0223 bool "ARM64 Platform support for R-Car M3-N"
0224 select ARCH_RCAR_GEN3
0225 select SYSC_R8A77965
0226 help
0227 This enables support for the Renesas R-Car M3-N SoC.
0228 This includes different gradings like R-Car M3Ne and M3Ne-2G.
0229
0230 config ARCH_R8A77960
0231 bool "ARM64 Platform support for R-Car M3-W"
0232 select ARCH_RCAR_GEN3
0233 select SYSC_R8A77960
0234 help
0235 This enables support for the Renesas R-Car M3-W SoC.
0236
0237 config ARCH_R8A77961
0238 bool "ARM64 Platform support for R-Car M3-W+"
0239 select ARCH_RCAR_GEN3
0240 select SYSC_R8A77961
0241 help
0242 This enables support for the Renesas R-Car M3-W+ SoC.
0243 This includes different gradings like R-Car M3e and M3e-2G.
0244
0245 config ARCH_R8A779F0
0246 bool "ARM64 Platform support for R-Car S4-8"
0247 select ARCH_RCAR_GEN3
0248 select SYSC_R8A779F0
0249 help
0250 This enables support for the Renesas R-Car S4-8 SoC.
0251
0252 config ARCH_R8A77980
0253 bool "ARM64 Platform support for R-Car V3H"
0254 select ARCH_RCAR_GEN3
0255 select SYSC_R8A77980
0256 help
0257 This enables support for the Renesas R-Car V3H SoC.
0258
0259 config ARCH_R8A77970
0260 bool "ARM64 Platform support for R-Car V3M"
0261 select ARCH_RCAR_GEN3
0262 select SYSC_R8A77970
0263 help
0264 This enables support for the Renesas R-Car V3M SoC.
0265
0266 config ARCH_R8A779A0
0267 bool "ARM64 Platform support for R-Car V3U"
0268 select ARCH_RCAR_GEN3
0269 select SYSC_R8A779A0
0270 help
0271 This enables support for the Renesas R-Car V3U SoC.
0272
0273 config ARCH_R8A779G0
0274 bool "ARM64 Platform support for R-Car V4H"
0275 select ARCH_RCAR_GEN3
0276 select SYSC_R8A779G0
0277 help
0278 This enables support for the Renesas R-Car V4H SoC.
0279
0280 config ARCH_R8A774C0
0281 bool "ARM64 Platform support for RZ/G2E"
0282 select ARCH_RCAR_GEN3
0283 select SYSC_R8A774C0
0284 help
0285 This enables support for the Renesas RZ/G2E SoC.
0286
0287 config ARCH_R8A774E1
0288 bool "ARM64 Platform support for RZ/G2H"
0289 select ARCH_RCAR_GEN3
0290 select SYSC_R8A774E1
0291 help
0292 This enables support for the Renesas RZ/G2H SoC.
0293
0294 config ARCH_R8A774A1
0295 bool "ARM64 Platform support for RZ/G2M"
0296 select ARCH_RCAR_GEN3
0297 select SYSC_R8A774A1
0298 help
0299 This enables support for the Renesas RZ/G2M SoC.
0300
0301 config ARCH_R8A774B1
0302 bool "ARM64 Platform support for RZ/G2N"
0303 select ARCH_RCAR_GEN3
0304 select SYSC_R8A774B1
0305 help
0306 This enables support for the Renesas RZ/G2N SoC.
0307
0308 config ARCH_R9A07G043
0309 bool "ARM64 Platform support for RZ/G2UL"
0310 select ARCH_RZG2L
0311 help
0312 This enables support for the Renesas RZ/G2UL SoC variants.
0313
0314 config ARCH_R9A07G044
0315 bool "ARM64 Platform support for RZ/G2L"
0316 select ARCH_RZG2L
0317 help
0318 This enables support for the Renesas RZ/G2L SoC variants.
0319
0320 config ARCH_R9A07G054
0321 bool "ARM64 Platform support for RZ/V2L"
0322 select ARCH_RZG2L
0323 help
0324 This enables support for the Renesas RZ/V2L SoC variants.
0325
0326 config ARCH_R9A09G011
0327 bool "ARM64 Platform support for RZ/V2M"
0328 select PM
0329 select PM_GENERIC_DOMAINS
0330 help
0331 This enables support for the Renesas RZ/V2M SoC.
0332
0333 endif # ARM64
0334
0335 config RST_RCAR
0336 bool "Reset Controller support for R-Car" if COMPILE_TEST
0337
0338 config SYSC_RCAR
0339 bool "System Controller support for R-Car" if COMPILE_TEST
0340
0341 config SYSC_RCAR_GEN4
0342 bool "System Controller support for R-Car Gen4" if COMPILE_TEST
0343
0344 config SYSC_R8A77995
0345 bool "System Controller support for R-Car D3" if COMPILE_TEST
0346 select SYSC_RCAR
0347
0348 config SYSC_R8A7794
0349 bool "System Controller support for R-Car E2" if COMPILE_TEST
0350 select SYSC_RCAR
0351
0352 config SYSC_R8A77990
0353 bool "System Controller support for R-Car E3" if COMPILE_TEST
0354 select SYSC_RCAR
0355
0356 config SYSC_R8A7779
0357 bool "System Controller support for R-Car H1" if COMPILE_TEST
0358 select SYSC_RCAR
0359
0360 config SYSC_R8A7790
0361 bool "System Controller support for R-Car H2" if COMPILE_TEST
0362 select SYSC_RCAR
0363
0364 config SYSC_R8A7795
0365 bool "System Controller support for R-Car H3" if COMPILE_TEST
0366 select SYSC_RCAR
0367
0368 config SYSC_R8A7791
0369 bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST
0370 select SYSC_RCAR
0371
0372 config SYSC_R8A77965
0373 bool "System Controller support for R-Car M3-N" if COMPILE_TEST
0374 select SYSC_RCAR
0375
0376 config SYSC_R8A77960
0377 bool "System Controller support for R-Car M3-W" if COMPILE_TEST
0378 select SYSC_RCAR
0379
0380 config SYSC_R8A77961
0381 bool "System Controller support for R-Car M3-W+" if COMPILE_TEST
0382 select SYSC_RCAR
0383
0384 config SYSC_R8A779F0
0385 bool "System Controller support for R-Car S4-8" if COMPILE_TEST
0386 select SYSC_RCAR_GEN4
0387
0388 config SYSC_R8A7792
0389 bool "System Controller support for R-Car V2H" if COMPILE_TEST
0390 select SYSC_RCAR
0391
0392 config SYSC_R8A77980
0393 bool "System Controller support for R-Car V3H" if COMPILE_TEST
0394 select SYSC_RCAR
0395
0396 config SYSC_R8A77970
0397 bool "System Controller support for R-Car V3M" if COMPILE_TEST
0398 select SYSC_RCAR
0399
0400 config SYSC_R8A779A0
0401 bool "System Controller support for R-Car V3U" if COMPILE_TEST
0402 select SYSC_RCAR_GEN4
0403
0404 config SYSC_R8A779G0
0405 bool "System Controller support for R-Car V4H" if COMPILE_TEST
0406 select SYSC_RCAR_GEN4
0407
0408 config SYSC_RMOBILE
0409 bool "System Controller support for R-Mobile" if COMPILE_TEST
0410
0411 config SYSC_R8A77470
0412 bool "System Controller support for RZ/G1C" if COMPILE_TEST
0413 select SYSC_RCAR
0414
0415 config SYSC_R8A7745
0416 bool "System Controller support for RZ/G1E" if COMPILE_TEST
0417 select SYSC_RCAR
0418
0419 config SYSC_R8A7742
0420 bool "System Controller support for RZ/G1H" if COMPILE_TEST
0421 select SYSC_RCAR
0422
0423 config SYSC_R8A7743
0424 bool "System Controller support for RZ/G1M" if COMPILE_TEST
0425 select SYSC_RCAR
0426
0427 config SYSC_R8A774C0
0428 bool "System Controller support for RZ/G2E" if COMPILE_TEST
0429 select SYSC_RCAR
0430
0431 config SYSC_R8A774E1
0432 bool "System Controller support for RZ/G2H" if COMPILE_TEST
0433 select SYSC_RCAR
0434
0435 config SYSC_R8A774A1
0436 bool "System Controller support for RZ/G2M" if COMPILE_TEST
0437 select SYSC_RCAR
0438
0439 config SYSC_R8A774B1
0440 bool "System Controller support for RZ/G2N" if COMPILE_TEST
0441 select SYSC_RCAR
0442
0443 endif # SOC_RENESAS