381 lines · plain
1# SPDX-License-Identifier: GPL-2.02menuconfig SOC_RENESAS3 bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS4 default y if ARCH_RENESAS5 select GPIOLIB6 select PINCTRL7 select SOC_BUS8 9if SOC_RENESAS10 11config ARCH_RCAR_GEN112 bool13 select PM14 select PM_GENERIC_DOMAINS15 select RENESAS_INTC_IRQPIN16 select RST_RCAR17 select SYS_SUPPORTS_SH_TMU18 19config ARCH_RCAR_GEN220 bool21 select HAVE_ARM_ARCH_TIMER22 select PM23 select PM_GENERIC_DOMAINS24 select RENESAS_IRQC25 select RST_RCAR26 select SYS_SUPPORTS_SH_CMT27 select SYS_SUPPORTS_SH_TMU28 29config ARCH_RCAR_GEN330 bool31 select PM32 select PM_GENERIC_DOMAINS33 select RENESAS_IRQC34 select RST_RCAR35 select SYS_SUPPORTS_SH_CMT36 select SYS_SUPPORTS_SH_TMU37 38config ARCH_RCAR_GEN439 bool40 select ARCH_RCAR_GEN341 42config ARCH_RMOBILE43 bool44 select PM45 select PM_GENERIC_DOMAINS46 select SYS_SUPPORTS_SH_CMT47 select SYS_SUPPORTS_SH_TMU48 select SYSC_RMOBILE49 50config ARCH_RZG2L51 bool52 select PM53 select PM_GENERIC_DOMAINS54 select RENESAS_RZG2L_IRQC55 56config ARCH_RZN157 bool58 select PM59 select PM_GENERIC_DOMAINS60 select ARM_AMBA61 62if ARM && ARCH_RENESAS63 64#comment "Renesas ARM SoCs System Type"65 66config ARCH_EMEV267 bool "ARM32 Platform support for Emma Mobile EV2"68 select HAVE_ARM_SCU if SMP69 select SYS_SUPPORTS_EM_STI70 71config ARCH_R8A779472 bool "ARM32 Platform support for R-Car E2"73 select ARCH_RCAR_GEN274 select ARM_ERRATA_81422075 select SYSC_R8A779476 77config ARCH_R8A777978 bool "ARM32 Platform support for R-Car H1"79 select ARCH_RCAR_GEN180 select ARM_ERRATA_75432281 select ARM_GLOBAL_TIMER82 select HAVE_ARM_SCU if SMP83 select HAVE_ARM_TWD if SMP84 select SYSC_R8A777985 86config ARCH_R8A779087 bool "ARM32 Platform support for R-Car H2"88 select ARCH_RCAR_GEN289 select ARM_ERRATA_798181 if SMP90 select ARM_ERRATA_81422091 select I2C92 select SYSC_R8A779093 94config ARCH_R8A777895 bool "ARM32 Platform support for R-Car M1A"96 select ARCH_RCAR_GEN197 select ARM_ERRATA_75432298 99config ARCH_R8A7793100 bool "ARM32 Platform support for R-Car M2-N"101 select ARCH_RCAR_GEN2102 select ARM_ERRATA_798181 if SMP103 select I2C104 select SYSC_R8A7791105 106config ARCH_R8A7791107 bool "ARM32 Platform support for R-Car M2-W"108 select ARCH_RCAR_GEN2109 select ARM_ERRATA_798181 if SMP110 select I2C111 select SYSC_R8A7791112 113config ARCH_R8A7792114 bool "ARM32 Platform support for R-Car V2H"115 select ARCH_RCAR_GEN2116 select ARM_ERRATA_798181 if SMP117 select SYSC_R8A7792118 119config ARCH_R8A7740120 bool "ARM32 Platform support for R-Mobile A1"121 select ARCH_RMOBILE122 select ARM_ERRATA_754322123 select RENESAS_INTC_IRQPIN124 125config ARCH_R8A73A4126 bool "ARM32 Platform support for R-Mobile APE6"127 select ARCH_RMOBILE128 select ARM_ERRATA_798181 if SMP129 select ARM_ERRATA_814220130 select HAVE_ARM_ARCH_TIMER131 select RENESAS_IRQC132 133config ARCH_R7S72100134 bool "ARM32 Platform support for RZ/A1H"135 select ARM_ERRATA_754322136 select PM137 select PM_GENERIC_DOMAINS138 select RENESAS_OSTM139 select RENESAS_RZA1_IRQC140 select SYS_SUPPORTS_SH_MTU2141 142config ARCH_R7S9210143 bool "ARM32 Platform support for RZ/A2"144 select PM145 select PM_GENERIC_DOMAINS146 select RENESAS_OSTM147 select RENESAS_RZA1_IRQC148 149config ARCH_R8A77470150 bool "ARM32 Platform support for RZ/G1C"151 select ARCH_RCAR_GEN2152 select ARM_ERRATA_814220153 select SYSC_R8A77470154 155config ARCH_R8A7745156 bool "ARM32 Platform support for RZ/G1E"157 select ARCH_RCAR_GEN2158 select ARM_ERRATA_814220159 select SYSC_R8A7745160 161config ARCH_R8A7742162 bool "ARM32 Platform support for RZ/G1H"163 select ARCH_RCAR_GEN2164 select ARM_ERRATA_798181 if SMP165 select ARM_ERRATA_814220166 select SYSC_R8A7742167 168config ARCH_R8A7743169 bool "ARM32 Platform support for RZ/G1M"170 select ARCH_RCAR_GEN2171 select ARM_ERRATA_798181 if SMP172 select SYSC_R8A7743173 174config ARCH_R8A7744175 bool "ARM32 Platform support for RZ/G1N"176 select ARCH_RCAR_GEN2177 select ARM_ERRATA_798181 if SMP178 select SYSC_R8A7743179 180config ARCH_R9A06G032181 bool "ARM32 Platform support for RZ/N1D"182 select ARCH_RZN1183 select ARM_ERRATA_814220184 185config ARCH_SH73A0186 bool "ARM32 Platform support for SH-Mobile AG5"187 select ARCH_RMOBILE188 select ARM_ERRATA_754322189 select ARM_GLOBAL_TIMER190 select HAVE_ARM_SCU if SMP191 select HAVE_ARM_TWD if SMP192 select RENESAS_INTC_IRQPIN193 194endif # ARM195 196if ARM64197 198config ARCH_R8A77995199 bool "ARM64 Platform support for R-Car D3"200 select ARCH_RCAR_GEN3201 select SYSC_R8A77995202 help203 This enables support for the Renesas R-Car D3 SoC.204 This includes different gradings like R-Car D3e.205 206config ARCH_R8A77990207 bool "ARM64 Platform support for R-Car E3"208 select ARCH_RCAR_GEN3209 select SYSC_R8A77990210 help211 This enables support for the Renesas R-Car E3 SoC.212 This includes different gradings like R-Car E3e.213 214config ARCH_R8A77951215 bool "ARM64 Platform support for R-Car H3 ES2.0+"216 select ARCH_RCAR_GEN3217 select SYSC_R8A7795218 help219 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and220 later).221 This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.222 223config ARCH_R8A77965224 bool "ARM64 Platform support for R-Car M3-N"225 select ARCH_RCAR_GEN3226 select SYSC_R8A77965227 help228 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_R8A77960232 bool "ARM64 Platform support for R-Car M3-W"233 select ARCH_RCAR_GEN3234 select SYSC_R8A77960235 help236 This enables support for the Renesas R-Car M3-W SoC.237 238config ARCH_R8A77961239 bool "ARM64 Platform support for R-Car M3-W+"240 select ARCH_RCAR_GEN3241 select SYSC_R8A77961242 help243 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_R8A779F0247 bool "ARM64 Platform support for R-Car S4-8"248 select ARCH_RCAR_GEN4249 select SYSC_R8A779F0250 help251 This enables support for the Renesas R-Car S4-8 SoC.252 253config ARCH_R8A77980254 bool "ARM64 Platform support for R-Car V3H"255 select ARCH_RCAR_GEN3256 select SYSC_R8A77980257 help258 This enables support for the Renesas R-Car V3H SoC.259 260config ARCH_R8A77970261 bool "ARM64 Platform support for R-Car V3M"262 select ARCH_RCAR_GEN3263 select SYSC_R8A77970264 help265 This enables support for the Renesas R-Car V3M SoC.266 267config ARCH_R8A779A0268 bool "ARM64 Platform support for R-Car V3U"269 select ARCH_RCAR_GEN4270 select SYSC_R8A779A0271 help272 This enables support for the Renesas R-Car V3U SoC.273 274config ARCH_R8A779G0275 bool "ARM64 Platform support for R-Car V4H"276 select ARCH_RCAR_GEN4277 select SYSC_R8A779G0278 help279 This enables support for the Renesas R-Car V4H SoC.280 281config ARCH_R8A779H0282 bool "ARM64 Platform support for R-Car V4M"283 select ARCH_RCAR_GEN4284 select SYSC_R8A779H0285 help286 This enables support for the Renesas R-Car V4M SoC.287 288config ARCH_R8A774C0289 bool "ARM64 Platform support for RZ/G2E"290 select ARCH_RCAR_GEN3291 select SYSC_R8A774C0292 help293 This enables support for the Renesas RZ/G2E SoC.294 295config ARCH_R8A774E1296 bool "ARM64 Platform support for RZ/G2H"297 select ARCH_RCAR_GEN3298 select SYSC_R8A774E1299 help300 This enables support for the Renesas RZ/G2H SoC.301 302config ARCH_R8A774A1303 bool "ARM64 Platform support for RZ/G2M"304 select ARCH_RCAR_GEN3305 select SYSC_R8A774A1306 help307 This enables support for the Renesas RZ/G2M SoC.308 309config ARCH_R8A774B1310 bool "ARM64 Platform support for RZ/G2N"311 select ARCH_RCAR_GEN3312 select SYSC_R8A774B1313 help314 This enables support for the Renesas RZ/G2N SoC.315 316config ARCH_R9A07G043317 bool "ARM64 Platform support for RZ/G2UL"318 select ARCH_RZG2L319 help320 This enables support for the Renesas RZ/G2UL SoC variants.321 322config ARCH_R9A07G044323 bool "ARM64 Platform support for RZ/G2L"324 select ARCH_RZG2L325 help326 This enables support for the Renesas RZ/G2L SoC variants.327 328config ARCH_R9A07G054329 bool "ARM64 Platform support for RZ/V2L"330 select ARCH_RZG2L331 help332 This enables support for the Renesas RZ/V2L SoC variants.333 334config ARCH_R9A08G045335 bool "ARM64 Platform support for RZ/G3S"336 select ARCH_RZG2L337 help338 This enables support for the Renesas RZ/G3S SoC variants.339 340config ARCH_R9A09G011341 bool "ARM64 Platform support for RZ/V2M"342 select PM343 select PM_GENERIC_DOMAINS344 select PWC_RZV2M345 help346 This enables support for the Renesas RZ/V2M SoC.347 348config ARCH_R9A09G057349 bool "ARM64 Platform support for RZ/V2H(P)"350 help351 This enables support for the Renesas RZ/V2H(P) SoC variants.352 353endif # ARM64354 355if RISCV356 357config ARCH_R9A07G043358 bool "RISC-V Platform support for RZ/Five"359 depends on NONPORTABLE360 depends on !DMA_DIRECT_REMAP361 depends on RISCV_ALTERNATIVE362 depends on !RISCV_ISA_ZICBOM363 depends on RISCV_SBI364 select ARCH_RZG2L365 select AX45MP_L2_CACHE366 select DMA_GLOBAL_POOL367 select ERRATA_ANDES368 select ERRATA_ANDES_CMO369 help370 This enables support for the Renesas RZ/Five SoC.371 372endif # RISCV373 374config PWC_RZV2M375 bool "Renesas RZ/V2M PWC support" if COMPILE_TEST376 377config RST_RCAR378 bool "Reset Controller support for R-Car" if COMPILE_TEST379 380endif # SOC_RENESAS381