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 PM 59 select PM_GENERIC_DOMAINS 60 select RENESAS_OSTM 61 select RENESAS_RZA1_IRQC 62 select SYS_SUPPORTS_SH_MTU2 63 64config ARCH_R7S9210 65 bool "RZ/A2 (R7S9210)" 66 select PM 67 select PM_GENERIC_DOMAINS 68 select RENESAS_OSTM 69 select RENESAS_RZA1_IRQC 70 71config ARCH_R8A73A4 72 bool "R-Mobile APE6 (R8A73A40)" 73 select ARCH_RMOBILE 74 select ARM_ERRATA_798181 if SMP 75 select HAVE_ARM_ARCH_TIMER 76 select RENESAS_IRQC 77 78config ARCH_R8A7740 79 bool "R-Mobile A1 (R8A77400)" 80 select ARCH_RMOBILE 81 select RENESAS_INTC_IRQPIN 82 83config ARCH_R8A7743 84 bool "RZ/G1M (R8A77430)" 85 select ARCH_RCAR_GEN2 86 select ARM_ERRATA_798181 if SMP 87 select SYSC_R8A7743 88 89config ARCH_R8A7744 90 bool "RZ/G1N (R8A77440)" 91 select ARCH_RCAR_GEN2 92 select ARM_ERRATA_798181 if SMP 93 select SYSC_R8A7743 94 95config ARCH_R8A7745 96 bool "RZ/G1E (R8A77450)" 97 select ARCH_RCAR_GEN2 98 select SYSC_R8A7745 99 100config ARCH_R8A77470 101 bool "RZ/G1C (R8A77470)" 102 select ARCH_RCAR_GEN2 103 select SYSC_R8A77470 104 105config ARCH_R8A7778 106 bool "R-Car M1A (R8A77781)" 107 select ARCH_RCAR_GEN1 108 109config ARCH_R8A7779 110 bool "R-Car H1 (R8A77790)" 111 select ARCH_RCAR_GEN1 112 select HAVE_ARM_SCU if SMP 113 select HAVE_ARM_TWD if SMP 114 select SYSC_R8A7779 115 116config ARCH_R8A7790 117 bool "R-Car H2 (R8A77900)" 118 select ARCH_RCAR_GEN2 119 select ARM_ERRATA_798181 if SMP 120 select I2C 121 select SYSC_R8A7790 122 123config ARCH_R8A7791 124 bool "R-Car M2-W (R8A77910)" 125 select ARCH_RCAR_GEN2 126 select ARM_ERRATA_798181 if SMP 127 select I2C 128 select SYSC_R8A7791 129 130config ARCH_R8A7792 131 bool "R-Car V2H (R8A77920)" 132 select ARCH_RCAR_GEN2 133 select ARM_ERRATA_798181 if SMP 134 select SYSC_R8A7792 135 136config ARCH_R8A7793 137 bool "R-Car M2-N (R8A7793)" 138 select ARCH_RCAR_GEN2 139 select ARM_ERRATA_798181 if SMP 140 select I2C 141 select SYSC_R8A7791 142 143config ARCH_R8A7794 144 bool "R-Car E2 (R8A77940)" 145 select ARCH_RCAR_GEN2 146 select SYSC_R8A7794 147 148config ARCH_R9A06G032 149 bool "RZ/N1D (R9A06G032)" 150 select ARCH_RZN1 151 152config ARCH_SH73A0 153 bool "SH-Mobile AG5 (R8A73A00)" 154 select ARCH_RMOBILE 155 select HAVE_ARM_SCU if SMP 156 select HAVE_ARM_TWD if SMP 157 select RENESAS_INTC_IRQPIN 158 159endif # ARM 160 161if ARM64 162 163config ARCH_R8A774A1 164 bool "Renesas RZ/G2M SoC Platform" 165 select ARCH_RCAR_GEN3 166 select SYSC_R8A774A1 167 help 168 This enables support for the Renesas RZ/G2M SoC. 169 170config ARCH_R8A774C0 171 bool "Renesas RZ/G2E SoC Platform" 172 select ARCH_RCAR_GEN3 173 select SYSC_R8A774C0 174 help 175 This enables support for the Renesas RZ/G2E SoC. 176 177config ARCH_R8A7795 178 bool "Renesas R-Car H3 SoC Platform" 179 select ARCH_RCAR_GEN3 180 select SYSC_R8A7795 181 help 182 This enables support for the Renesas R-Car H3 SoC. 183 184config ARCH_R8A7796 185 bool "Renesas R-Car M3-W SoC Platform" 186 select ARCH_RCAR_GEN3 187 select SYSC_R8A7796 188 help 189 This enables support for the Renesas R-Car M3-W SoC. 190 191config ARCH_R8A77965 192 bool "Renesas R-Car M3-N SoC Platform" 193 select ARCH_RCAR_GEN3 194 select SYSC_R8A77965 195 help 196 This enables support for the Renesas R-Car M3-N SoC. 197 198config ARCH_R8A77970 199 bool "Renesas R-Car V3M SoC Platform" 200 select ARCH_RCAR_GEN3 201 select SYSC_R8A77970 202 help 203 This enables support for the Renesas R-Car V3M SoC. 204 205config ARCH_R8A77980 206 bool "Renesas R-Car V3H SoC Platform" 207 select ARCH_RCAR_GEN3 208 select SYSC_R8A77980 209 help 210 This enables support for the Renesas R-Car V3H SoC. 211 212config ARCH_R8A77990 213 bool "Renesas R-Car E3 SoC Platform" 214 select ARCH_RCAR_GEN3 215 select SYSC_R8A77990 216 help 217 This enables support for the Renesas R-Car E3 SoC. 218 219config ARCH_R8A77995 220 bool "Renesas R-Car D3 SoC Platform" 221 select ARCH_RCAR_GEN3 222 select SYSC_R8A77995 223 help 224 This enables support for the Renesas R-Car D3 SoC. 225 226endif # ARM64 227 228# SoC 229config SYSC_R8A7743 230 bool "RZ/G1M System Controller support" if COMPILE_TEST 231 select SYSC_RCAR 232 233config SYSC_R8A7745 234 bool "RZ/G1E System Controller support" if COMPILE_TEST 235 select SYSC_RCAR 236 237config SYSC_R8A77470 238 bool "RZ/G1C System Controller support" if COMPILE_TEST 239 select SYSC_RCAR 240 241config SYSC_R8A774A1 242 bool "RZ/G2M System Controller support" if COMPILE_TEST 243 select SYSC_RCAR 244 245config SYSC_R8A774C0 246 bool "RZ/G2E System Controller support" if COMPILE_TEST 247 select SYSC_RCAR 248 249config SYSC_R8A7779 250 bool "R-Car H1 System Controller support" if COMPILE_TEST 251 select SYSC_RCAR 252 253config SYSC_R8A7790 254 bool "R-Car H2 System Controller support" if COMPILE_TEST 255 select SYSC_RCAR 256 257config SYSC_R8A7791 258 bool "R-Car M2-W/N System Controller support" if COMPILE_TEST 259 select SYSC_RCAR 260 261config SYSC_R8A7792 262 bool "R-Car V2H System Controller support" if COMPILE_TEST 263 select SYSC_RCAR 264 265config SYSC_R8A7794 266 bool "R-Car E2 System Controller support" if COMPILE_TEST 267 select SYSC_RCAR 268 269config SYSC_R8A7795 270 bool "R-Car H3 System Controller support" if COMPILE_TEST 271 select SYSC_RCAR 272 273config SYSC_R8A7796 274 bool "R-Car M3-W System Controller support" if COMPILE_TEST 275 select SYSC_RCAR 276 277config SYSC_R8A77965 278 bool "R-Car M3-N System Controller support" if COMPILE_TEST 279 select SYSC_RCAR 280 281config SYSC_R8A77970 282 bool "R-Car V3M System Controller support" if COMPILE_TEST 283 select SYSC_RCAR 284 285config SYSC_R8A77980 286 bool "R-Car V3H System Controller support" if COMPILE_TEST 287 select SYSC_RCAR 288 289config SYSC_R8A77990 290 bool "R-Car E3 System Controller support" if COMPILE_TEST 291 select SYSC_RCAR 292 293config SYSC_R8A77995 294 bool "R-Car D3 System Controller support" if COMPILE_TEST 295 select SYSC_RCAR 296 297# Family 298config RST_RCAR 299 bool "R-Car Reset Controller support" if COMPILE_TEST 300 301config SYSC_RCAR 302 bool "R-Car System Controller support" if COMPILE_TEST 303 304config SYSC_RMOBILE 305 bool "R-Mobile System Controller support" if COMPILE_TEST 306 307endif # SOC_RENESAS 308