1# SPDX-License-Identifier: GPL-2.0 2config 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_RZN1 44 bool 45 select ARM_AMBA 46 47if ARM && ARCH_RENESAS 48 49#comment "Renesas ARM SoCs System Type" 50 51config ARCH_EMEV2 52 bool "Emma Mobile EV2" 53 select HAVE_ARM_SCU if SMP 54 select SYS_SUPPORTS_EM_STI 55 56config ARCH_R7S72100 57 bool "RZ/A1H (R7S72100)" 58 select ARM_ERRATA_754322 59 select PM 60 select PM_GENERIC_DOMAINS 61 select RENESAS_OSTM 62 select RENESAS_RZA1_IRQC 63 select SYS_SUPPORTS_SH_MTU2 64 65config ARCH_R7S9210 66 bool "RZ/A2 (R7S9210)" 67 select PM 68 select PM_GENERIC_DOMAINS 69 select RENESAS_OSTM 70 select RENESAS_RZA1_IRQC 71 72config ARCH_R8A73A4 73 bool "R-Mobile APE6 (R8A73A40)" 74 select ARCH_RMOBILE 75 select ARM_ERRATA_798181 if SMP 76 select ARM_ERRATA_814220 77 select HAVE_ARM_ARCH_TIMER 78 select RENESAS_IRQC 79 80config ARCH_R8A7740 81 bool "R-Mobile A1 (R8A77400)" 82 select ARCH_RMOBILE 83 select ARM_ERRATA_754322 84 select RENESAS_INTC_IRQPIN 85 86config ARCH_R8A7743 87 bool "RZ/G1M (R8A77430)" 88 select ARCH_RCAR_GEN2 89 select ARM_ERRATA_798181 if SMP 90 select SYSC_R8A7743 91 92config ARCH_R8A7744 93 bool "RZ/G1N (R8A77440)" 94 select ARCH_RCAR_GEN2 95 select ARM_ERRATA_798181 if SMP 96 select SYSC_R8A7743 97 98config ARCH_R8A7745 99 bool "RZ/G1E (R8A77450)" 100 select ARCH_RCAR_GEN2 101 select ARM_ERRATA_814220 102 select SYSC_R8A7745 103 104config ARCH_R8A77470 105 bool "RZ/G1C (R8A77470)" 106 select ARCH_RCAR_GEN2 107 select ARM_ERRATA_814220 108 select SYSC_R8A77470 109 110config ARCH_R8A7778 111 bool "R-Car M1A (R8A77781)" 112 select ARCH_RCAR_GEN1 113 select ARM_ERRATA_754322 114 115config ARCH_R8A7779 116 bool "R-Car H1 (R8A77790)" 117 select ARCH_RCAR_GEN1 118 select ARM_ERRATA_754322 119 select ARM_GLOBAL_TIMER 120 select HAVE_ARM_SCU if SMP 121 select HAVE_ARM_TWD if SMP 122 select SYSC_R8A7779 123 124config ARCH_R8A7790 125 bool "R-Car H2 (R8A77900)" 126 select ARCH_RCAR_GEN2 127 select ARM_ERRATA_798181 if SMP 128 select ARM_ERRATA_814220 129 select I2C 130 select SYSC_R8A7790 131 132config ARCH_R8A7791 133 bool "R-Car M2-W (R8A77910)" 134 select ARCH_RCAR_GEN2 135 select ARM_ERRATA_798181 if SMP 136 select I2C 137 select SYSC_R8A7791 138 139config ARCH_R8A7792 140 bool "R-Car V2H (R8A77920)" 141 select ARCH_RCAR_GEN2 142 select ARM_ERRATA_798181 if SMP 143 select SYSC_R8A7792 144 145config ARCH_R8A7793 146 bool "R-Car M2-N (R8A7793)" 147 select ARCH_RCAR_GEN2 148 select ARM_ERRATA_798181 if SMP 149 select I2C 150 select SYSC_R8A7791 151 152config ARCH_R8A7794 153 bool "R-Car E2 (R8A77940)" 154 select ARCH_RCAR_GEN2 155 select ARM_ERRATA_814220 156 select SYSC_R8A7794 157 158config ARCH_R9A06G032 159 bool "RZ/N1D (R9A06G032)" 160 select ARCH_RZN1 161 select ARM_ERRATA_814220 162 163config ARCH_SH73A0 164 bool "SH-Mobile AG5 (R8A73A00)" 165 select ARCH_RMOBILE 166 select ARM_ERRATA_754322 167 select ARM_GLOBAL_TIMER 168 select HAVE_ARM_SCU if SMP 169 select HAVE_ARM_TWD if SMP 170 select RENESAS_INTC_IRQPIN 171 172endif # ARM 173 174if ARM64 175 176config ARCH_R8A774A1 177 bool "Renesas RZ/G2M SoC Platform" 178 select ARCH_RCAR_GEN3 179 select SYSC_R8A774A1 180 help 181 This enables support for the Renesas RZ/G2M SoC. 182 183config ARCH_R8A774B1 184 bool "Renesas RZ/G2N SoC Platform" 185 select ARCH_RCAR_GEN3 186 select SYSC_R8A774B1 187 help 188 This enables support for the Renesas RZ/G2N SoC. 189 190config ARCH_R8A774C0 191 bool "Renesas RZ/G2E SoC Platform" 192 select ARCH_RCAR_GEN3 193 select SYSC_R8A774C0 194 help 195 This enables support for the Renesas RZ/G2E SoC. 196 197config ARCH_R8A77950 198 bool "Renesas R-Car H3 ES1.x SoC Platform" 199 select ARCH_RCAR_GEN3 200 select SYSC_R8A7795 201 help 202 This enables support for the Renesas R-Car H3 SoC (revision 1.x). 203 204config ARCH_R8A77951 205 bool "Renesas R-Car H3 ES2.0+ SoC Platform" 206 select ARCH_RCAR_GEN3 207 select SYSC_R8A7795 208 help 209 This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and 210 later). 211 212config ARCH_R8A77960 213 bool "Renesas R-Car M3-W SoC Platform" 214 select ARCH_RCAR_GEN3 215 select SYSC_R8A77960 216 help 217 This enables support for the Renesas R-Car M3-W SoC. 218 219config ARCH_R8A77961 220 bool "Renesas R-Car M3-W+ SoC Platform" 221 select ARCH_RCAR_GEN3 222 select SYSC_R8A77961 223 help 224 This enables support for the Renesas R-Car M3-W+ SoC. 225 226config ARCH_R8A77965 227 bool "Renesas R-Car M3-N SoC Platform" 228 select ARCH_RCAR_GEN3 229 select SYSC_R8A77965 230 help 231 This enables support for the Renesas R-Car M3-N SoC. 232 233config ARCH_R8A77970 234 bool "Renesas R-Car V3M SoC Platform" 235 select ARCH_RCAR_GEN3 236 select SYSC_R8A77970 237 help 238 This enables support for the Renesas R-Car V3M SoC. 239 240config ARCH_R8A77980 241 bool "Renesas R-Car V3H SoC Platform" 242 select ARCH_RCAR_GEN3 243 select SYSC_R8A77980 244 help 245 This enables support for the Renesas R-Car V3H SoC. 246 247config ARCH_R8A77990 248 bool "Renesas R-Car E3 SoC Platform" 249 select ARCH_RCAR_GEN3 250 select SYSC_R8A77990 251 help 252 This enables support for the Renesas R-Car E3 SoC. 253 254config ARCH_R8A77995 255 bool "Renesas R-Car D3 SoC Platform" 256 select ARCH_RCAR_GEN3 257 select SYSC_R8A77995 258 help 259 This enables support for the Renesas R-Car D3 SoC. 260 261endif # ARM64 262 263# SoC 264config SYSC_R8A7743 265 bool "RZ/G1M System Controller support" if COMPILE_TEST 266 select SYSC_RCAR 267 268config SYSC_R8A7745 269 bool "RZ/G1E System Controller support" if COMPILE_TEST 270 select SYSC_RCAR 271 272config SYSC_R8A77470 273 bool "RZ/G1C System Controller support" if COMPILE_TEST 274 select SYSC_RCAR 275 276config SYSC_R8A774A1 277 bool "RZ/G2M System Controller support" if COMPILE_TEST 278 select SYSC_RCAR 279 280config SYSC_R8A774B1 281 bool "RZ/G2N System Controller support" if COMPILE_TEST 282 select SYSC_RCAR 283 284config SYSC_R8A774C0 285 bool "RZ/G2E System Controller support" if COMPILE_TEST 286 select SYSC_RCAR 287 288config SYSC_R8A7779 289 bool "R-Car H1 System Controller support" if COMPILE_TEST 290 select SYSC_RCAR 291 292config SYSC_R8A7790 293 bool "R-Car H2 System Controller support" if COMPILE_TEST 294 select SYSC_RCAR 295 296config SYSC_R8A7791 297 bool "R-Car M2-W/N System Controller support" if COMPILE_TEST 298 select SYSC_RCAR 299 300config SYSC_R8A7792 301 bool "R-Car V2H System Controller support" if COMPILE_TEST 302 select SYSC_RCAR 303 304config SYSC_R8A7794 305 bool "R-Car E2 System Controller support" if COMPILE_TEST 306 select SYSC_RCAR 307 308config SYSC_R8A7795 309 bool "R-Car H3 System Controller support" if COMPILE_TEST 310 select SYSC_RCAR 311 312config SYSC_R8A77960 313 bool "R-Car M3-W System Controller support" if COMPILE_TEST 314 select SYSC_RCAR 315 316config SYSC_R8A77961 317 bool "R-Car M3-W+ System Controller support" if COMPILE_TEST 318 select SYSC_RCAR 319 320config SYSC_R8A77965 321 bool "R-Car M3-N System Controller support" if COMPILE_TEST 322 select SYSC_RCAR 323 324config SYSC_R8A77970 325 bool "R-Car V3M System Controller support" if COMPILE_TEST 326 select SYSC_RCAR 327 328config SYSC_R8A77980 329 bool "R-Car V3H System Controller support" if COMPILE_TEST 330 select SYSC_RCAR 331 332config SYSC_R8A77990 333 bool "R-Car E3 System Controller support" if COMPILE_TEST 334 select SYSC_RCAR 335 336config SYSC_R8A77995 337 bool "R-Car D3 System Controller support" if COMPILE_TEST 338 select SYSC_RCAR 339 340# Family 341config RST_RCAR 342 bool "R-Car Reset Controller support" if COMPILE_TEST 343 344config SYSC_RCAR 345 bool "R-Car System Controller support" if COMPILE_TEST 346 347config SYSC_RMOBILE 348 bool "R-Mobile System Controller support" if COMPILE_TEST 349 350endif # SOC_RENESAS 351