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 336config RST_RCAR 337 bool "Reset Controller support for R-Car" if COMPILE_TEST 338 339config SYSC_RCAR 340 bool "System Controller support for R-Car" if COMPILE_TEST 341 342config SYSC_RCAR_GEN4 343 bool "System Controller support for R-Car Gen4" if COMPILE_TEST 344 345config SYSC_R8A77995 346 bool "System Controller support for R-Car D3" if COMPILE_TEST 347 select SYSC_RCAR 348 349config SYSC_R8A7794 350 bool "System Controller support for R-Car E2" if COMPILE_TEST 351 select SYSC_RCAR 352 353config SYSC_R8A77990 354 bool "System Controller support for R-Car E3" if COMPILE_TEST 355 select SYSC_RCAR 356 357config SYSC_R8A7779 358 bool "System Controller support for R-Car H1" if COMPILE_TEST 359 select SYSC_RCAR 360 361config SYSC_R8A7790 362 bool "System Controller support for R-Car H2" if COMPILE_TEST 363 select SYSC_RCAR 364 365config SYSC_R8A7795 366 bool "System Controller support for R-Car H3" if COMPILE_TEST 367 select SYSC_RCAR 368 369config SYSC_R8A7791 370 bool "System Controller support for R-Car M2-W/N" if COMPILE_TEST 371 select SYSC_RCAR 372 373config SYSC_R8A77965 374 bool "System Controller support for R-Car M3-N" if COMPILE_TEST 375 select SYSC_RCAR 376 377config SYSC_R8A77960 378 bool "System Controller support for R-Car M3-W" if COMPILE_TEST 379 select SYSC_RCAR 380 381config SYSC_R8A77961 382 bool "System Controller support for R-Car M3-W+" if COMPILE_TEST 383 select SYSC_RCAR 384 385config SYSC_R8A779F0 386 bool "System Controller support for R-Car S4-8" if COMPILE_TEST 387 select SYSC_RCAR_GEN4 388 389config SYSC_R8A7792 390 bool "System Controller support for R-Car V2H" if COMPILE_TEST 391 select SYSC_RCAR 392 393config SYSC_R8A77980 394 bool "System Controller support for R-Car V3H" if COMPILE_TEST 395 select SYSC_RCAR 396 397config SYSC_R8A77970 398 bool "System Controller support for R-Car V3M" if COMPILE_TEST 399 select SYSC_RCAR 400 401config SYSC_R8A779A0 402 bool "System Controller support for R-Car V3U" if COMPILE_TEST 403 select SYSC_RCAR_GEN4 404 405config SYSC_R8A779G0 406 bool "System Controller support for R-Car V4H" if COMPILE_TEST 407 select SYSC_RCAR_GEN4 408 409config SYSC_RMOBILE 410 bool "System Controller support for R-Mobile" if COMPILE_TEST 411 412config SYSC_R8A77470 413 bool "System Controller support for RZ/G1C" if COMPILE_TEST 414 select SYSC_RCAR 415 416config SYSC_R8A7745 417 bool "System Controller support for RZ/G1E" if COMPILE_TEST 418 select SYSC_RCAR 419 420config SYSC_R8A7742 421 bool "System Controller support for RZ/G1H" if COMPILE_TEST 422 select SYSC_RCAR 423 424config SYSC_R8A7743 425 bool "System Controller support for RZ/G1M" if COMPILE_TEST 426 select SYSC_RCAR 427 428config SYSC_R8A774C0 429 bool "System Controller support for RZ/G2E" if COMPILE_TEST 430 select SYSC_RCAR 431 432config SYSC_R8A774E1 433 bool "System Controller support for RZ/G2H" if COMPILE_TEST 434 select SYSC_RCAR 435 436config SYSC_R8A774A1 437 bool "System Controller support for RZ/G2M" if COMPILE_TEST 438 select SYSC_RCAR 439 440config SYSC_R8A774B1 441 bool "System Controller support for RZ/G2N" if COMPILE_TEST 442 select SYSC_RCAR 443 444endif # SOC_RENESAS 445