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 GPIOLIB 6 select PINCTRL 7 select SOC_BUS 8 9if SOC_RENESAS 10 11config ARCH_RCAR_GEN1 12 bool 13 select PM 14 select PM_GENERIC_DOMAINS 15 select RENESAS_INTC_IRQPIN 16 select RST_RCAR 17 select SYS_SUPPORTS_SH_TMU 18 19config ARCH_RCAR_GEN2 20 bool 21 select HAVE_ARM_ARCH_TIMER 22 select PM 23 select PM_GENERIC_DOMAINS 24 select RENESAS_IRQC 25 select RST_RCAR 26 select SYS_SUPPORTS_SH_CMT 27 select SYS_SUPPORTS_SH_TMU 28 29config ARCH_RCAR_GEN3 30 bool 31 select PM 32 select PM_GENERIC_DOMAINS 33 select RENESAS_IRQC 34 select RST_RCAR 35 select SYS_SUPPORTS_SH_CMT 36 select SYS_SUPPORTS_SH_TMU 37 38config ARCH_RCAR_GEN4 39 bool 40 select ARCH_RCAR_GEN3 41 42config ARCH_RCAR_GEN5 43 bool 44 select ARCH_RCAR_GEN4 45 46config ARCH_RMOBILE 47 bool 48 select PM 49 select PM_GENERIC_DOMAINS 50 select SYS_SUPPORTS_SH_CMT 51 select SYS_SUPPORTS_SH_TMU 52 select SYSC_RMOBILE 53 54config ARCH_RZG2L 55 bool 56 select PM 57 select PM_GENERIC_DOMAINS 58 select RENESAS_RZG2L_IRQC 59 60config ARCH_RZN1 61 bool 62 select PM 63 select PM_GENERIC_DOMAINS 64 select ARM_AMBA 65 select RZN1_IRQMUX if GPIO_DWAPB 66 67if ARM && ARCH_RENESAS 68 69#comment "Renesas ARM SoCs System Type" 70 71config ARCH_EMEV2 72 bool "ARM32 Platform support for Emma Mobile EV2" 73 default ARCH_RENESAS 74 select HAVE_ARM_SCU if SMP 75 select SYS_SUPPORTS_EM_STI 76 77config ARCH_R7S72100 78 bool "ARM32 Platform support for R7S72100 (RZ/A1H)" 79 default ARCH_RENESAS 80 select ARM_ERRATA_754322 81 select PM 82 select PM_GENERIC_DOMAINS 83 select RENESAS_OSTM 84 select RENESAS_RZA1_IRQC 85 select SYS_SUPPORTS_SH_MTU2 86 87config ARCH_R7S9210 88 bool "ARM32 Platform support for R7S9210 (RZ/A2)" 89 default ARCH_RENESAS 90 select PM 91 select PM_GENERIC_DOMAINS 92 select RENESAS_OSTM 93 select RENESAS_RZA1_IRQC 94 95config ARCH_R8A73A4 96 bool "ARM32 Platform support for R8A73A4 (R-Mobile APE6)" 97 default ARCH_RENESAS 98 select ARCH_RMOBILE 99 select ARM_ERRATA_798181 if SMP 100 select ARM_ERRATA_814220 101 select HAVE_ARM_ARCH_TIMER 102 select RENESAS_IRQC 103 104config ARCH_R8A7740 105 bool "ARM32 Platform support for R8A7740 (R-Mobile A1)" 106 default ARCH_RENESAS 107 select ARCH_RMOBILE 108 select ARM_ERRATA_754322 109 select RENESAS_INTC_IRQPIN 110 111config ARCH_R8A7742 112 bool "ARM32 Platform support for R8A7742 (RZ/G1H)" 113 default ARCH_RENESAS 114 select ARCH_RCAR_GEN2 115 select ARM_ERRATA_798181 if SMP 116 select ARM_ERRATA_814220 117 select SYSC_R8A7742 118 119config ARCH_R8A7743 120 bool "ARM32 Platform support for R8A7743 (RZ/G1M)" 121 default ARCH_RENESAS 122 select ARCH_RCAR_GEN2 123 select ARM_ERRATA_798181 if SMP 124 select SYSC_R8A7743 125 126config ARCH_R8A7744 127 bool "ARM32 Platform support for R8A7744 (RZ/G1N)" 128 default ARCH_RENESAS 129 select ARCH_RCAR_GEN2 130 select ARM_ERRATA_798181 if SMP 131 select SYSC_R8A7743 132 133config ARCH_R8A7745 134 bool "ARM32 Platform support for R8A7745 (RZ/G1E)" 135 default ARCH_RENESAS 136 select ARCH_RCAR_GEN2 137 select ARM_ERRATA_814220 138 select SYSC_R8A7745 139 140config ARCH_R8A77470 141 bool "ARM32 Platform support for R8A77470 (RZ/G1C)" 142 default ARCH_RENESAS 143 select ARCH_RCAR_GEN2 144 select ARM_ERRATA_814220 145 select SYSC_R8A77470 146 147config ARCH_R8A7778 148 bool "ARM32 Platform support for R8A7778 (R-Car M1A)" 149 default ARCH_RENESAS 150 select ARCH_RCAR_GEN1 151 select ARM_ERRATA_754322 152 153config ARCH_R8A7779 154 bool "ARM32 Platform support for R8A7779 (R-Car H1)" 155 default ARCH_RENESAS 156 select ARCH_RCAR_GEN1 157 select ARM_ERRATA_754322 158 select ARM_GLOBAL_TIMER 159 select HAVE_ARM_SCU if SMP 160 select HAVE_ARM_TWD if SMP 161 select SYSC_R8A7779 162 163config ARCH_R8A7790 164 bool "ARM32 Platform support for R8A7790 (R-Car H2)" 165 default ARCH_RENESAS 166 select ARCH_RCAR_GEN2 167 select ARM_ERRATA_798181 if SMP 168 select ARM_ERRATA_814220 169 select I2C 170 select SYSC_R8A7790 171 172config ARCH_R8A7791 173 bool "ARM32 Platform support for R8A7791 (R-Car M2-W)" 174 default ARCH_RENESAS 175 select ARCH_RCAR_GEN2 176 select ARM_ERRATA_798181 if SMP 177 select I2C 178 select SYSC_R8A7791 179 180config ARCH_R8A7792 181 bool "ARM32 Platform support for R8A7792 (R-Car V2H)" 182 default ARCH_RENESAS 183 select ARCH_RCAR_GEN2 184 select ARM_ERRATA_798181 if SMP 185 select SYSC_R8A7792 186 187config ARCH_R8A7793 188 bool "ARM32 Platform support for R8A7793 (R-Car M2-N)" 189 default ARCH_RENESAS 190 select ARCH_RCAR_GEN2 191 select ARM_ERRATA_798181 if SMP 192 select I2C 193 select SYSC_R8A7791 194 195config ARCH_R8A7794 196 bool "ARM32 Platform support for R8A7794 (R-Car E2)" 197 default ARCH_RENESAS 198 select ARCH_RCAR_GEN2 199 select ARM_ERRATA_814220 200 select SYSC_R8A7794 201 202config ARCH_R9A06G032 203 bool "ARM32 Platform support for R9A06G032 (RZ/N1D)" 204 default ARCH_RENESAS 205 select ARCH_RZN1 206 select ARM_ERRATA_814220 207 208config ARCH_SH73A0 209 bool "ARM32 Platform support for SH73A0 (SH-Mobile AG5)" 210 default ARCH_RENESAS 211 select ARCH_RMOBILE 212 select ARM_ERRATA_754322 213 select ARM_GLOBAL_TIMER 214 select HAVE_ARM_SCU if SMP 215 select HAVE_ARM_TWD if SMP 216 select RENESAS_INTC_IRQPIN 217 218endif # ARM 219 220if ARM64 221 222config ARCH_R8A774A1 223 bool "ARM64 Platform support for R8A774A1 (RZ/G2M)" 224 default y if ARCH_RENESAS 225 select ARCH_RCAR_GEN3 226 select SYSC_R8A774A1 227 help 228 This enables support for the Renesas RZ/G2M SoC. 229 230config ARCH_R8A774B1 231 bool "ARM64 Platform support for R8A774B1 (RZ/G2N)" 232 default y if ARCH_RENESAS 233 select ARCH_RCAR_GEN3 234 select SYSC_R8A774B1 235 help 236 This enables support for the Renesas RZ/G2N SoC. 237 238config ARCH_R8A774C0 239 bool "ARM64 Platform support for R8A774C0 (RZ/G2E)" 240 default y if ARCH_RENESAS 241 select ARCH_RCAR_GEN3 242 select SYSC_R8A774C0 243 help 244 This enables support for the Renesas RZ/G2E SoC. 245 246config ARCH_R8A774E1 247 bool "ARM64 Platform support for R8A774E1 (RZ/G2H)" 248 default y if ARCH_RENESAS 249 select ARCH_RCAR_GEN3 250 select SYSC_R8A774E1 251 help 252 This enables support for the Renesas RZ/G2H SoC. 253 254config ARCH_R8A77951 255 bool "ARM64 Platform support for R8A77951 (R-Car H3 ES2.0+)" 256 default y if ARCH_RENESAS 257 select ARCH_RCAR_GEN3 258 select SYSC_R8A7795 259 help 260 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and 261 later). 262 This includes different gradings like R-Car H3e, H3e-2G, and H3Ne. 263 264config ARCH_R8A77960 265 bool "ARM64 Platform support for R8A77960 (R-Car M3-W)" 266 default y if ARCH_RENESAS 267 select ARCH_RCAR_GEN3 268 select SYSC_R8A77960 269 help 270 This enables support for the Renesas R-Car M3-W SoC. 271 272config ARCH_R8A77961 273 bool "ARM64 Platform support for R8A77961 (R-Car M3-W+)" 274 default y if ARCH_RENESAS 275 select ARCH_RCAR_GEN3 276 select SYSC_R8A77961 277 help 278 This enables support for the Renesas R-Car M3-W+ SoC. 279 This includes different gradings like R-Car M3e and M3e-2G. 280 281config ARCH_R8A77965 282 bool "ARM64 Platform support for R8A77965 (R-Car M3-N)" 283 default y if ARCH_RENESAS 284 select ARCH_RCAR_GEN3 285 select SYSC_R8A77965 286 help 287 This enables support for the Renesas R-Car M3-N SoC. 288 This includes different gradings like R-Car M3Ne and M3Ne-2G. 289 290config ARCH_R8A77970 291 bool "ARM64 Platform support for R8A77970 (R-Car V3M)" 292 default y if ARCH_RENESAS 293 select ARCH_RCAR_GEN3 294 select SYSC_R8A77970 295 help 296 This enables support for the Renesas R-Car V3M SoC. 297 298config ARCH_R8A77980 299 bool "ARM64 Platform support for R8A77980 (R-Car V3H)" 300 default y if ARCH_RENESAS 301 select ARCH_RCAR_GEN3 302 select SYSC_R8A77980 303 help 304 This enables support for the Renesas R-Car V3H SoC. 305 306config ARCH_R8A77990 307 bool "ARM64 Platform support for R8A77990 (R-Car E3)" 308 default y if ARCH_RENESAS 309 select ARCH_RCAR_GEN3 310 select SYSC_R8A77990 311 help 312 This enables support for the Renesas R-Car E3 SoC. 313 This includes different gradings like R-Car E3e. 314 315config ARCH_R8A77995 316 bool "ARM64 Platform support for R8A77995 (R-Car D3)" 317 default y if ARCH_RENESAS 318 select ARCH_RCAR_GEN3 319 select SYSC_R8A77995 320 help 321 This enables support for the Renesas R-Car D3 SoC. 322 This includes different gradings like R-Car D3e. 323 324config ARCH_R8A779A0 325 bool "ARM64 Platform support for R8A779A0 (R-Car V3U)" 326 default y if ARCH_RENESAS 327 select ARCH_RCAR_GEN4 328 select SYSC_R8A779A0 329 help 330 This enables support for the Renesas R-Car V3U SoC. 331 332config ARCH_R8A779F0 333 bool "ARM64 Platform support for R8A779F0 (R-Car S4-8)" 334 default y if ARCH_RENESAS 335 select ARCH_RCAR_GEN4 336 select SYSC_R8A779F0 337 help 338 This enables support for the Renesas R-Car S4-8 SoC. 339 340config ARCH_R8A779G0 341 bool "ARM64 Platform support for R8A779G0 (R-Car V4H)" 342 default y if ARCH_RENESAS 343 select ARCH_RCAR_GEN4 344 select SYSC_R8A779G0 345 help 346 This enables support for the Renesas R-Car V4H SoC. 347 348config ARCH_R8A779H0 349 bool "ARM64 Platform support for R8A779H0 (R-Car V4M)" 350 default y if ARCH_RENESAS 351 select ARCH_RCAR_GEN4 352 select SYSC_R8A779H0 353 help 354 This enables support for the Renesas R-Car V4M SoC. 355 356config ARCH_R8A78000 357 bool "ARM64 Platform support for R8A78000 (R-Car X5H)" 358 default y if ARCH_RENESAS 359 default ARCH_RENESAS 360 select ARCH_RCAR_GEN5 361 help 362 This enables support for the Renesas R-Car X5H SoC. 363 364config ARCH_R9A07G043 365 bool "ARM64 Platform support for R9A07G043U (RZ/G2UL)" 366 default y if ARCH_RENESAS 367 select ARCH_RZG2L 368 help 369 This enables support for the Renesas RZ/G2UL SoC variants. 370 371config ARCH_R9A07G044 372 bool "ARM64 Platform support for R9A07G044 (RZ/G2L)" 373 default y if ARCH_RENESAS 374 select ARCH_RZG2L 375 help 376 This enables support for the Renesas RZ/G2L SoC variants. 377 378config ARCH_R9A07G054 379 bool "ARM64 Platform support for R9A07G054 (RZ/V2L)" 380 default y if ARCH_RENESAS 381 select ARCH_RZG2L 382 help 383 This enables support for the Renesas RZ/V2L SoC variants. 384 385config ARCH_R9A08G045 386 bool "ARM64 Platform support for R9A08G045 (RZ/G3S)" 387 default y if ARCH_RENESAS 388 select ARCH_RZG2L 389 select SYSC_R9A08G045 390 help 391 This enables support for the Renesas RZ/G3S SoC variants. 392 393config ARCH_R9A09G011 394 bool "ARM64 Platform support for R9A09G011 (RZ/V2M)" 395 default y if ARCH_RENESAS 396 select PM 397 select PM_GENERIC_DOMAINS 398 select PWC_RZV2M 399 help 400 This enables support for the Renesas RZ/V2M SoC. 401 402config ARCH_R9A09G047 403 bool "ARM64 Platform support for R9A09G047 (RZ/G3E)" 404 default y if ARCH_RENESAS 405 select SYS_R9A09G047 406 help 407 This enables support for the Renesas RZ/G3E SoC variants. 408 409config ARCH_R9A09G056 410 bool "ARM64 Platform support for R9A09G056 (RZ/V2N)" 411 default y if ARCH_RENESAS 412 select SYS_R9A09G056 413 help 414 This enables support for the Renesas RZ/V2N SoC variants. 415 416config ARCH_R9A09G057 417 bool "ARM64 Platform support for R9A09G057 (RZ/V2H(P))" 418 default y if ARCH_RENESAS 419 select RENESAS_RZV2H_ICU 420 select SYS_R9A09G057 421 help 422 This enables support for the Renesas RZ/V2H(P) SoC variants. 423 424config ARCH_R9A09G077 425 bool "ARM64 Platform support for R9A09G077 (RZ/T2H)" 426 default y if ARCH_RENESAS 427 select RENESAS_RZT2H_ICU 428 help 429 This enables support for the Renesas RZ/T2H SoC variants. 430 431config ARCH_R9A09G087 432 bool "ARM64 Platform support for R9A09G087 (RZ/N2H)" 433 default y if ARCH_RENESAS 434 select RENESAS_RZT2H_ICU 435 help 436 This enables support for the Renesas RZ/N2H SoC variants. 437 438endif # ARM64 439 440if RISCV 441 442config ARCH_R9A07G043 443 bool "RISC-V Platform support for R9A07G043F (RZ/Five)" 444 depends on NONPORTABLE 445 depends on !DMA_DIRECT_REMAP 446 depends on RISCV_ALTERNATIVE 447 depends on !RISCV_ISA_ZICBOM 448 depends on RISCV_SBI 449 select ARCH_RZG2L 450 select AX45MP_L2_CACHE 451 select CACHEMAINT_FOR_DMA 452 select DMA_GLOBAL_POOL 453 select ERRATA_ANDES 454 select ERRATA_ANDES_CMO 455 help 456 This enables support for the Renesas RZ/Five SoC. 457 458endif # RISCV 459 460config PWC_RZV2M 461 bool "Renesas RZ/V2M PWC support" if COMPILE_TEST 462 463config RST_RCAR 464 bool "Reset Controller support for R-Car" if COMPILE_TEST 465 466config RZN1_IRQMUX 467 bool "Renesas RZ/N1 GPIO IRQ multiplexer support" if COMPILE_TEST 468 469config SYSC_RZ 470 bool "System controller for RZ SoCs" if COMPILE_TEST 471 select MFD_SYSCON 472 473config SYSC_R9A08G045 474 bool "Renesas System controller support for R9A08G045 (RZ/G3S)" if COMPILE_TEST 475 select SYSC_RZ 476 477config SYS_R9A09G047 478 bool "Renesas System controller support for R9A09G047 (RZ/G3E)" if COMPILE_TEST 479 select SYSC_RZ 480 481config SYS_R9A09G056 482 bool "Renesas System controller support for R9A09G056 (RZ/V2N)" if COMPILE_TEST 483 select SYSC_RZ 484 485config SYS_R9A09G057 486 bool "Renesas System controller support for R9A09G057 (RZ/V2H)" if COMPILE_TEST 487 select SYSC_RZ 488 489endif # SOC_RENESAS 490