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 HAVE_ARM_SCU if SMP 120 select HAVE_ARM_TWD if SMP 121 select SYSC_R8A7779 122 123config ARCH_R8A7790 124 bool "R-Car H2 (R8A77900)" 125 select ARCH_RCAR_GEN2 126 select ARM_ERRATA_798181 if SMP 127 select ARM_ERRATA_814220 128 select I2C 129 select SYSC_R8A7790 130 131config ARCH_R8A7791 132 bool "R-Car M2-W (R8A77910)" 133 select ARCH_RCAR_GEN2 134 select ARM_ERRATA_798181 if SMP 135 select I2C 136 select SYSC_R8A7791 137 138config ARCH_R8A7792 139 bool "R-Car V2H (R8A77920)" 140 select ARCH_RCAR_GEN2 141 select ARM_ERRATA_798181 if SMP 142 select SYSC_R8A7792 143 144config ARCH_R8A7793 145 bool "R-Car M2-N (R8A7793)" 146 select ARCH_RCAR_GEN2 147 select ARM_ERRATA_798181 if SMP 148 select I2C 149 select SYSC_R8A7791 150 151config ARCH_R8A7794 152 bool "R-Car E2 (R8A77940)" 153 select ARCH_RCAR_GEN2 154 select ARM_ERRATA_814220 155 select SYSC_R8A7794 156 157config ARCH_R9A06G032 158 bool "RZ/N1D (R9A06G032)" 159 select ARCH_RZN1 160 select ARM_ERRATA_814220 161 162config ARCH_SH73A0 163 bool "SH-Mobile AG5 (R8A73A00)" 164 select ARCH_RMOBILE 165 select ARM_ERRATA_754322 166 select HAVE_ARM_SCU if SMP 167 select HAVE_ARM_TWD if SMP 168 select RENESAS_INTC_IRQPIN 169 170endif # ARM 171 172if ARM64 173 174config ARCH_R8A774A1 175 bool "Renesas RZ/G2M SoC Platform" 176 select ARCH_RCAR_GEN3 177 select SYSC_R8A774A1 178 help 179 This enables support for the Renesas RZ/G2M SoC. 180 181config ARCH_R8A774B1 182 bool "Renesas RZ/G2N SoC Platform" 183 select ARCH_RCAR_GEN3 184 select SYSC_R8A774B1 185 help 186 This enables support for the Renesas RZ/G2N SoC. 187 188config ARCH_R8A774C0 189 bool "Renesas RZ/G2E SoC Platform" 190 select ARCH_RCAR_GEN3 191 select SYSC_R8A774C0 192 help 193 This enables support for the Renesas RZ/G2E SoC. 194 195config ARCH_R8A77950 196 bool 197 198config ARCH_R8A77951 199 bool 200 201config ARCH_R8A7795 202 bool "Renesas R-Car H3 SoC Platform" 203 select ARCH_R8A77950 204 select ARCH_R8A77951 205 select ARCH_RCAR_GEN3 206 select SYSC_R8A7795 207 help 208 This enables support for the Renesas R-Car H3 SoC. 209 210config ARCH_R8A77960 211 bool "Renesas R-Car M3-W SoC Platform" 212 select ARCH_RCAR_GEN3 213 select SYSC_R8A77960 214 help 215 This enables support for the Renesas R-Car M3-W SoC. 216 217config ARCH_R8A77961 218 bool "Renesas R-Car M3-W+ SoC Platform" 219 select ARCH_RCAR_GEN3 220 select SYSC_R8A77961 221 help 222 This enables support for the Renesas R-Car M3-W+ SoC. 223 224config ARCH_R8A77965 225 bool "Renesas R-Car M3-N SoC Platform" 226 select ARCH_RCAR_GEN3 227 select SYSC_R8A77965 228 help 229 This enables support for the Renesas R-Car M3-N SoC. 230 231config ARCH_R8A77970 232 bool "Renesas R-Car V3M SoC Platform" 233 select ARCH_RCAR_GEN3 234 select SYSC_R8A77970 235 help 236 This enables support for the Renesas R-Car V3M SoC. 237 238config ARCH_R8A77980 239 bool "Renesas R-Car V3H SoC Platform" 240 select ARCH_RCAR_GEN3 241 select SYSC_R8A77980 242 help 243 This enables support for the Renesas R-Car V3H SoC. 244 245config ARCH_R8A77990 246 bool "Renesas R-Car E3 SoC Platform" 247 select ARCH_RCAR_GEN3 248 select SYSC_R8A77990 249 help 250 This enables support for the Renesas R-Car E3 SoC. 251 252config ARCH_R8A77995 253 bool "Renesas R-Car D3 SoC Platform" 254 select ARCH_RCAR_GEN3 255 select SYSC_R8A77995 256 help 257 This enables support for the Renesas R-Car D3 SoC. 258 259endif # ARM64 260 261# SoC 262config SYSC_R8A7743 263 bool "RZ/G1M System Controller support" if COMPILE_TEST 264 select SYSC_RCAR 265 266config SYSC_R8A7745 267 bool "RZ/G1E System Controller support" if COMPILE_TEST 268 select SYSC_RCAR 269 270config SYSC_R8A77470 271 bool "RZ/G1C System Controller support" if COMPILE_TEST 272 select SYSC_RCAR 273 274config SYSC_R8A774A1 275 bool "RZ/G2M System Controller support" if COMPILE_TEST 276 select SYSC_RCAR 277 278config SYSC_R8A774B1 279 bool "RZ/G2N System Controller support" if COMPILE_TEST 280 select SYSC_RCAR 281 282config SYSC_R8A774C0 283 bool "RZ/G2E System Controller support" if COMPILE_TEST 284 select SYSC_RCAR 285 286config SYSC_R8A7779 287 bool "R-Car H1 System Controller support" if COMPILE_TEST 288 select SYSC_RCAR 289 290config SYSC_R8A7790 291 bool "R-Car H2 System Controller support" if COMPILE_TEST 292 select SYSC_RCAR 293 294config SYSC_R8A7791 295 bool "R-Car M2-W/N System Controller support" if COMPILE_TEST 296 select SYSC_RCAR 297 298config SYSC_R8A7792 299 bool "R-Car V2H System Controller support" if COMPILE_TEST 300 select SYSC_RCAR 301 302config SYSC_R8A7794 303 bool "R-Car E2 System Controller support" if COMPILE_TEST 304 select SYSC_RCAR 305 306config SYSC_R8A7795 307 bool "R-Car H3 System Controller support" if COMPILE_TEST 308 select SYSC_RCAR 309 310config SYSC_R8A77960 311 bool "R-Car M3-W System Controller support" if COMPILE_TEST 312 select SYSC_RCAR 313 314config SYSC_R8A77961 315 bool "R-Car M3-W+ System Controller support" if COMPILE_TEST 316 select SYSC_RCAR 317 318config SYSC_R8A77965 319 bool "R-Car M3-N System Controller support" if COMPILE_TEST 320 select SYSC_RCAR 321 322config SYSC_R8A77970 323 bool "R-Car V3M System Controller support" if COMPILE_TEST 324 select SYSC_RCAR 325 326config SYSC_R8A77980 327 bool "R-Car V3H System Controller support" if COMPILE_TEST 328 select SYSC_RCAR 329 330config SYSC_R8A77990 331 bool "R-Car E3 System Controller support" if COMPILE_TEST 332 select SYSC_RCAR 333 334config SYSC_R8A77995 335 bool "R-Car D3 System Controller support" if COMPILE_TEST 336 select SYSC_RCAR 337 338# Family 339config RST_RCAR 340 bool "R-Car Reset Controller support" if COMPILE_TEST 341 342config SYSC_RCAR 343 bool "R-Car System Controller support" if COMPILE_TEST 344 345config SYSC_RMOBILE 346 bool "R-Mobile System Controller support" if COMPILE_TEST 347 348endif # SOC_RENESAS 349