1275970Scy# SPDX-License-Identifier: GPL-2.0 2275970Scymenuconfig SOC_RENESAS 3275970Scy bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS 4275970Scy default y if ARCH_RENESAS 5275970Scy select GPIOLIB 6275970Scy select PINCTRL 7275970Scy select SOC_BUS 8275970Scy 9275970Scyif SOC_RENESAS 10275970Scy 11275970Scyconfig ARCH_RCAR_GEN1 12275970Scy bool 13275970Scy select PM 14275970Scy select PM_GENERIC_DOMAINS 15275970Scy select RENESAS_INTC_IRQPIN 16275970Scy select RST_RCAR 17275970Scy select SYS_SUPPORTS_SH_TMU 18275970Scy 19275970Scyconfig ARCH_RCAR_GEN2 20275970Scy bool 21275970Scy select HAVE_ARM_ARCH_TIMER 22275970Scy select PM 23275970Scy select PM_GENERIC_DOMAINS 24275970Scy select RENESAS_IRQC 25275970Scy select RST_RCAR 26275970Scy select SYS_SUPPORTS_SH_CMT 27275970Scy 28275970Scyconfig ARCH_RCAR_GEN3 29275970Scy bool 30275970Scy select PM 31275970Scy select PM_GENERIC_DOMAINS 32275970Scy select RENESAS_IRQC 33275970Scy select RST_RCAR 34275970Scy select SYS_SUPPORTS_SH_CMT 35275970Scy select SYS_SUPPORTS_SH_TMU 36275970Scy 37275970Scyconfig ARCH_RCAR_GEN4 38275970Scy bool 39275970Scy select ARCH_RCAR_GEN3 40275970Scy 41275970Scyconfig ARCH_RMOBILE 42275970Scy bool 43275970Scy select PM 44275970Scy select PM_GENERIC_DOMAINS 45275970Scy select SYS_SUPPORTS_SH_CMT 46275970Scy select SYS_SUPPORTS_SH_TMU 47275970Scy select SYSC_RMOBILE 48275970Scy 49275970Scyconfig ARCH_RZG2L 50275970Scy bool 51275970Scy select PM 52275970Scy select PM_GENERIC_DOMAINS 53275970Scy select RENESAS_RZG2L_IRQC 54275970Scy 55275970Scyconfig ARCH_RZN1 56275970Scy bool 57275970Scy select PM 58275970Scy select PM_GENERIC_DOMAINS 59275970Scy select ARM_AMBA 60275970Scy 61275970Scyif ARM && ARCH_RENESAS 62275970Scy 63275970Scy#comment "Renesas ARM SoCs System Type" 64275970Scy 65275970Scyconfig ARCH_EMEV2 66275970Scy bool "ARM32 Platform support for Emma Mobile EV2" 67275970Scy select HAVE_ARM_SCU if SMP 68275970Scy select SYS_SUPPORTS_EM_STI 69275970Scy 70275970Scyconfig ARCH_R8A7794 71275970Scy bool "ARM32 Platform support for R-Car E2" 72275970Scy select ARCH_RCAR_GEN2 73275970Scy select ARM_ERRATA_814220 74275970Scy select SYSC_R8A7794 75275970Scy 76275970Scyconfig ARCH_R8A7779 77275970Scy bool "ARM32 Platform support for R-Car H1" 78275970Scy select ARCH_RCAR_GEN1 79275970Scy select ARM_ERRATA_754322 80275970Scy select ARM_GLOBAL_TIMER 81275970Scy select HAVE_ARM_SCU if SMP 82275970Scy select HAVE_ARM_TWD if SMP 83275970Scy select SYSC_R8A7779 84275970Scy 85275970Scyconfig ARCH_R8A7790 86275970Scy bool "ARM32 Platform support for R-Car H2" 87275970Scy select ARCH_RCAR_GEN2 88275970Scy select ARM_ERRATA_798181 if SMP 89275970Scy select ARM_ERRATA_814220 90275970Scy select I2C 91275970Scy select SYSC_R8A7790 92275970Scy 93275970Scyconfig ARCH_R8A7778 94275970Scy bool "ARM32 Platform support for R-Car M1A" 95275970Scy select ARCH_RCAR_GEN1 96275970Scy select ARM_ERRATA_754322 97275970Scy 98275970Scyconfig ARCH_R8A7793 99275970Scy bool "ARM32 Platform support for R-Car M2-N" 100275970Scy select ARCH_RCAR_GEN2 101275970Scy select ARM_ERRATA_798181 if SMP 102275970Scy select I2C 103275970Scy select SYSC_R8A7791 104275970Scy 105275970Scyconfig ARCH_R8A7791 106275970Scy bool "ARM32 Platform support for R-Car M2-W" 107275970Scy select ARCH_RCAR_GEN2 108275970Scy select ARM_ERRATA_798181 if SMP 109275970Scy select I2C 110275970Scy select SYSC_R8A7791 111275970Scy 112275970Scyconfig ARCH_R8A7792 113275970Scy bool "ARM32 Platform support for R-Car V2H" 114275970Scy select ARCH_RCAR_GEN2 115275970Scy select ARM_ERRATA_798181 if SMP 116275970Scy select SYSC_R8A7792 117275970Scy 118275970Scyconfig ARCH_R8A7740 119275970Scy bool "ARM32 Platform support for R-Mobile A1" 120275970Scy select ARCH_RMOBILE 121275970Scy select ARM_ERRATA_754322 122275970Scy select RENESAS_INTC_IRQPIN 123275970Scy 124275970Scyconfig ARCH_R8A73A4 125275970Scy bool "ARM32 Platform support for R-Mobile APE6" 126275970Scy select ARCH_RMOBILE 127275970Scy select ARM_ERRATA_798181 if SMP 128275970Scy select ARM_ERRATA_814220 129275970Scy select HAVE_ARM_ARCH_TIMER 130275970Scy select RENESAS_IRQC 131275970Scy 132275970Scyconfig ARCH_R7S72100 133275970Scy bool "ARM32 Platform support for RZ/A1H" 134275970Scy select ARM_ERRATA_754322 135275970Scy select PM 136275970Scy select PM_GENERIC_DOMAINS 137275970Scy select RENESAS_OSTM 138275970Scy select RENESAS_RZA1_IRQC 139275970Scy select SYS_SUPPORTS_SH_MTU2 140275970Scy 141275970Scyconfig ARCH_R7S9210 142275970Scy bool "ARM32 Platform support for RZ/A2" 143275970Scy select PM 144275970Scy select PM_GENERIC_DOMAINS 145275970Scy select RENESAS_OSTM 146275970Scy select RENESAS_RZA1_IRQC 147275970Scy 148275970Scyconfig ARCH_R8A77470 149275970Scy bool "ARM32 Platform support for RZ/G1C" 150275970Scy select ARCH_RCAR_GEN2 151275970Scy select ARM_ERRATA_814220 152275970Scy select SYSC_R8A77470 153275970Scy 154275970Scyconfig ARCH_R8A7745 155275970Scy bool "ARM32 Platform support for RZ/G1E" 156275970Scy select ARCH_RCAR_GEN2 157275970Scy select ARM_ERRATA_814220 158275970Scy select SYSC_R8A7745 159275970Scy 160275970Scyconfig ARCH_R8A7742 161275970Scy bool "ARM32 Platform support for RZ/G1H" 162275970Scy select ARCH_RCAR_GEN2 163275970Scy select ARM_ERRATA_798181 if SMP 164275970Scy select ARM_ERRATA_814220 165275970Scy select SYSC_R8A7742 166275970Scy 167275970Scyconfig ARCH_R8A7743 168275970Scy bool "ARM32 Platform support for RZ/G1M" 169275970Scy select ARCH_RCAR_GEN2 170275970Scy select ARM_ERRATA_798181 if SMP 171275970Scy select SYSC_R8A7743 172275970Scy 173275970Scyconfig ARCH_R8A7744 174275970Scy bool "ARM32 Platform support for RZ/G1N" 175275970Scy select ARCH_RCAR_GEN2 176275970Scy select ARM_ERRATA_798181 if SMP 177275970Scy select SYSC_R8A7743 178275970Scy 179275970Scyconfig ARCH_R9A06G032 180275970Scy bool "ARM32 Platform support for RZ/N1D" 181275970Scy select ARCH_RZN1 182275970Scy select ARM_ERRATA_814220 183275970Scy 184275970Scyconfig ARCH_SH73A0 185275970Scy bool "ARM32 Platform support for SH-Mobile AG5" 186275970Scy select ARCH_RMOBILE 187275970Scy select ARM_ERRATA_754322 188275970Scy select ARM_GLOBAL_TIMER 189275970Scy select HAVE_ARM_SCU if SMP 190275970Scy select HAVE_ARM_TWD if SMP 191275970Scy select RENESAS_INTC_IRQPIN 192275970Scy 193275970Scyendif # ARM 194275970Scy 195275970Scyif ARM64 196275970Scy 197275970Scyconfig ARCH_R8A77995 198275970Scy bool "ARM64 Platform support for R-Car D3" 199275970Scy select ARCH_RCAR_GEN3 200275970Scy select SYSC_R8A77995 201275970Scy help 202275970Scy This enables support for the Renesas R-Car D3 SoC. 203275970Scy This includes different gradings like R-Car D3e. 204275970Scy 205275970Scyconfig ARCH_R8A77990 206275970Scy bool "ARM64 Platform support for R-Car E3" 207275970Scy select ARCH_RCAR_GEN3 208275970Scy select SYSC_R8A77990 209275970Scy help 210275970Scy This enables support for the Renesas R-Car E3 SoC. 211275970Scy This includes different gradings like R-Car E3e. 212275970Scy 213275970Scyconfig ARCH_R8A77951 214275970Scy bool "ARM64 Platform support for R-Car H3 ES2.0+" 215275970Scy select ARCH_RCAR_GEN3 216275970Scy select SYSC_R8A7795 217275970Scy help 218275970Scy This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and 219275970Scy later). 220275970Scy This includes different gradings like R-Car H3e, H3e-2G, and H3Ne. 221275970Scy 222275970Scyconfig ARCH_R8A77965 223275970Scy bool "ARM64 Platform support for R-Car M3-N" 224275970Scy select ARCH_RCAR_GEN3 225275970Scy select SYSC_R8A77965 226275970Scy help 227275970Scy This enables support for the Renesas R-Car M3-N SoC. 228275970Scy This includes different gradings like R-Car M3Ne and M3Ne-2G. 229275970Scy 230275970Scyconfig ARCH_R8A77960 231275970Scy bool "ARM64 Platform support for R-Car M3-W" 232275970Scy select ARCH_RCAR_GEN3 233275970Scy select SYSC_R8A77960 234275970Scy help 235275970Scy This enables support for the Renesas R-Car M3-W SoC. 236275970Scy 237275970Scyconfig ARCH_R8A77961 238275970Scy bool "ARM64 Platform support for R-Car M3-W+" 239275970Scy select ARCH_RCAR_GEN3 240275970Scy select SYSC_R8A77961 241275970Scy help 242275970Scy This enables support for the Renesas R-Car M3-W+ SoC. 243275970Scy This includes different gradings like R-Car M3e and M3e-2G. 244275970Scy 245275970Scyconfig ARCH_R8A779F0 246275970Scy bool "ARM64 Platform support for R-Car S4-8" 247275970Scy select ARCH_RCAR_GEN4 248275970Scy select SYSC_R8A779F0 249275970Scy help 250275970Scy This enables support for the Renesas R-Car S4-8 SoC. 251275970Scy 252275970Scyconfig ARCH_R8A77980 253275970Scy bool "ARM64 Platform support for R-Car V3H" 254275970Scy select ARCH_RCAR_GEN3 255275970Scy select SYSC_R8A77980 256275970Scy help 257275970Scy This enables support for the Renesas R-Car V3H SoC. 258275970Scy 259275970Scyconfig ARCH_R8A77970 260275970Scy bool "ARM64 Platform support for R-Car V3M" 261275970Scy select ARCH_RCAR_GEN3 262275970Scy select SYSC_R8A77970 263275970Scy help 264275970Scy This enables support for the Renesas R-Car V3M SoC. 265275970Scy 266275970Scyconfig ARCH_R8A779A0 267275970Scy bool "ARM64 Platform support for R-Car V3U" 268275970Scy select ARCH_RCAR_GEN4 269275970Scy select SYSC_R8A779A0 270275970Scy help 271275970Scy This enables support for the Renesas R-Car V3U SoC. 272275970Scy 273275970Scyconfig ARCH_R8A779G0 274275970Scy bool "ARM64 Platform support for R-Car V4H" 275275970Scy select ARCH_RCAR_GEN4 276275970Scy select SYSC_R8A779G0 277275970Scy help 278275970Scy This enables support for the Renesas R-Car V4H SoC. 279275970Scy 280275970Scyconfig ARCH_R8A779H0 281275970Scy bool "ARM64 Platform support for R-Car V4M" 282275970Scy select ARCH_RCAR_GEN4 283275970Scy select SYSC_R8A779H0 284275970Scy help 285275970Scy This enables support for the Renesas R-Car V4M SoC. 286275970Scy 287275970Scyconfig ARCH_R8A774C0 288275970Scy bool "ARM64 Platform support for RZ/G2E" 289275970Scy select ARCH_RCAR_GEN3 290275970Scy select SYSC_R8A774C0 291275970Scy help 292275970Scy This enables support for the Renesas RZ/G2E SoC. 293275970Scy 294275970Scyconfig ARCH_R8A774E1 295275970Scy bool "ARM64 Platform support for RZ/G2H" 296275970Scy select ARCH_RCAR_GEN3 297275970Scy select SYSC_R8A774E1 298275970Scy help 299275970Scy This enables support for the Renesas RZ/G2H SoC. 300275970Scy 301275970Scyconfig ARCH_R8A774A1 302275970Scy bool "ARM64 Platform support for RZ/G2M" 303275970Scy select ARCH_RCAR_GEN3 304275970Scy select SYSC_R8A774A1 305275970Scy help 306275970Scy This enables support for the Renesas RZ/G2M SoC. 307275970Scy 308275970Scyconfig ARCH_R8A774B1 309275970Scy bool "ARM64 Platform support for RZ/G2N" 310275970Scy select ARCH_RCAR_GEN3 311275970Scy select SYSC_R8A774B1 312275970Scy help 313275970Scy This enables support for the Renesas RZ/G2N SoC. 314275970Scy 315275970Scyconfig ARCH_R9A07G043 316275970Scy bool "ARM64 Platform support for RZ/G2UL" 317275970Scy select ARCH_RZG2L 318275970Scy help 319275970Scy This enables support for the Renesas RZ/G2UL SoC variants. 320275970Scy 321275970Scyconfig ARCH_R9A07G044 322275970Scy bool "ARM64 Platform support for RZ/G2L" 323275970Scy select ARCH_RZG2L 324275970Scy help 325275970Scy This enables support for the Renesas RZ/G2L SoC variants. 326275970Scy 327275970Scyconfig ARCH_R9A07G054 328275970Scy bool "ARM64 Platform support for RZ/V2L" 329275970Scy select ARCH_RZG2L 330275970Scy help 331275970Scy This enables support for the Renesas RZ/V2L SoC variants. 332275970Scy 333275970Scyconfig ARCH_R9A08G045 334275970Scy bool "ARM64 Platform support for RZ/G3S" 335275970Scy select ARCH_RZG2L 336275970Scy help 337275970Scy This enables support for the Renesas RZ/G3S SoC variants. 338275970Scy 339275970Scyconfig ARCH_R9A09G011 340275970Scy bool "ARM64 Platform support for RZ/V2M" 341275970Scy select PM 342275970Scy select PM_GENERIC_DOMAINS 343275970Scy select PWC_RZV2M 344275970Scy help 345275970Scy This enables support for the Renesas RZ/V2M SoC. 346275970Scy 347275970Scyendif # ARM64 348275970Scy 349275970Scyif RISCV 350275970Scy 351275970Scyconfig ARCH_R9A07G043 352275970Scy bool "RISC-V Platform support for RZ/Five" 353275970Scy depends on NONPORTABLE 354275970Scy depends on !DMA_DIRECT_REMAP 355275970Scy depends on RISCV_ALTERNATIVE 356275970Scy depends on !RISCV_ISA_ZICBOM 357275970Scy depends on RISCV_SBI 358275970Scy select ARCH_RZG2L 359275970Scy select AX45MP_L2_CACHE 360275970Scy select DMA_GLOBAL_POOL 361275970Scy select ERRATA_ANDES 362275970Scy select ERRATA_ANDES_CMO 363275970Scy help 364275970Scy This enables support for the Renesas RZ/Five SoC. 365275970Scy 366275970Scyendif # RISCV 367275970Scy 368275970Scyconfig PWC_RZV2M 369275970Scy bool "Renesas RZ/V2M PWC support" if COMPILE_TEST 370275970Scy 371275970Scyconfig RST_RCAR 372275970Scy bool "Reset Controller support for R-Car" if COMPILE_TEST 373275970Scy 374275970Scyendif # SOC_RENESAS 375275970Scy