141c4567cSKuninori Morimoto# SPDX-License-Identifier: GPL-2.0 28be381a1SGeert Uytterhoevenconfig SOC_RENESAS 38be381a1SGeert Uytterhoeven bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS 48be381a1SGeert Uytterhoeven default y if ARCH_RENESAS 58be381a1SGeert Uytterhoeven select SOC_BUS 68be381a1SGeert Uytterhoeven 78be381a1SGeert Uytterhoevenif SOC_RENESAS 88be381a1SGeert Uytterhoeven 9062887bfSGeert Uytterhoevenconfig ARCH_RCAR_GEN1 10062887bfSGeert Uytterhoeven bool 11062887bfSGeert Uytterhoeven select PM 12062887bfSGeert Uytterhoeven select PM_GENERIC_DOMAINS 13062887bfSGeert Uytterhoeven select RENESAS_INTC_IRQPIN 14062887bfSGeert Uytterhoeven select RST_RCAR 15062887bfSGeert Uytterhoeven select SYS_SUPPORTS_SH_TMU 16062887bfSGeert Uytterhoeven 17062887bfSGeert Uytterhoevenconfig ARCH_RCAR_GEN2 18062887bfSGeert Uytterhoeven bool 19062887bfSGeert Uytterhoeven select HAVE_ARM_ARCH_TIMER 20062887bfSGeert Uytterhoeven select PM 21062887bfSGeert Uytterhoeven select PM_GENERIC_DOMAINS 22062887bfSGeert Uytterhoeven select RENESAS_IRQC 23062887bfSGeert Uytterhoeven select RST_RCAR 24062887bfSGeert Uytterhoeven select SYS_SUPPORTS_SH_CMT 25062887bfSGeert Uytterhoeven 26fa43948fSGeert Uytterhoevenconfig ARCH_RCAR_GEN3 27fa43948fSGeert Uytterhoeven bool 28fa43948fSGeert Uytterhoeven select PM 29fa43948fSGeert Uytterhoeven select PM_GENERIC_DOMAINS 30fa43948fSGeert Uytterhoeven select RENESAS_IRQC 31fa43948fSGeert Uytterhoeven select RST_RCAR 32fa43948fSGeert Uytterhoeven select SYS_SUPPORTS_SH_CMT 33fa43948fSGeert Uytterhoeven select SYS_SUPPORTS_SH_TMU 34fa43948fSGeert Uytterhoeven 35062887bfSGeert Uytterhoevenconfig ARCH_RMOBILE 36062887bfSGeert Uytterhoeven bool 372ed29e15SGeert Uytterhoeven select PM 382ed29e15SGeert Uytterhoeven select PM_GENERIC_DOMAINS 39062887bfSGeert Uytterhoeven select SYS_SUPPORTS_SH_CMT 40062887bfSGeert Uytterhoeven select SYS_SUPPORTS_SH_TMU 412ed29e15SGeert Uytterhoeven select SYSC_RMOBILE 42062887bfSGeert Uytterhoeven 43062887bfSGeert Uytterhoevenconfig ARCH_RZN1 44062887bfSGeert Uytterhoeven bool 45062887bfSGeert Uytterhoeven select ARM_AMBA 46062887bfSGeert Uytterhoeven 478070ba63SArnd Bergmannif ARM && ARCH_RENESAS 48062887bfSGeert Uytterhoeven 49062887bfSGeert Uytterhoeven#comment "Renesas ARM SoCs System Type" 50062887bfSGeert Uytterhoeven 51062887bfSGeert Uytterhoevenconfig ARCH_EMEV2 52062887bfSGeert Uytterhoeven bool "Emma Mobile EV2" 53062887bfSGeert Uytterhoeven select HAVE_ARM_SCU if SMP 54062887bfSGeert Uytterhoeven select SYS_SUPPORTS_EM_STI 55062887bfSGeert Uytterhoeven 56062887bfSGeert Uytterhoevenconfig ARCH_R7S72100 57062887bfSGeert Uytterhoeven bool "RZ/A1H (R7S72100)" 582eced460SGeert Uytterhoeven select ARM_ERRATA_754322 59062887bfSGeert Uytterhoeven select PM 60062887bfSGeert Uytterhoeven select PM_GENERIC_DOMAINS 61062887bfSGeert Uytterhoeven select RENESAS_OSTM 6202af9f90SGeert Uytterhoeven select RENESAS_RZA1_IRQC 6302af9f90SGeert Uytterhoeven select SYS_SUPPORTS_SH_MTU2 64062887bfSGeert Uytterhoeven 65062887bfSGeert Uytterhoevenconfig ARCH_R7S9210 66062887bfSGeert Uytterhoeven bool "RZ/A2 (R7S9210)" 67062887bfSGeert Uytterhoeven select PM 68062887bfSGeert Uytterhoeven select PM_GENERIC_DOMAINS 69062887bfSGeert Uytterhoeven select RENESAS_OSTM 7002af9f90SGeert Uytterhoeven select RENESAS_RZA1_IRQC 71062887bfSGeert Uytterhoeven 72062887bfSGeert Uytterhoevenconfig ARCH_R8A73A4 73062887bfSGeert Uytterhoeven bool "R-Mobile APE6 (R8A73A40)" 74062887bfSGeert Uytterhoeven select ARCH_RMOBILE 75062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 76435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 77062887bfSGeert Uytterhoeven select HAVE_ARM_ARCH_TIMER 78062887bfSGeert Uytterhoeven select RENESAS_IRQC 79062887bfSGeert Uytterhoeven 80062887bfSGeert Uytterhoevenconfig ARCH_R8A7740 81062887bfSGeert Uytterhoeven bool "R-Mobile A1 (R8A77400)" 82062887bfSGeert Uytterhoeven select ARCH_RMOBILE 832eced460SGeert Uytterhoeven select ARM_ERRATA_754322 84062887bfSGeert Uytterhoeven select RENESAS_INTC_IRQPIN 85062887bfSGeert Uytterhoeven 86062887bfSGeert Uytterhoevenconfig ARCH_R8A7743 87062887bfSGeert Uytterhoeven bool "RZ/G1M (R8A77430)" 88062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 89062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 90062887bfSGeert Uytterhoeven select SYSC_R8A7743 91062887bfSGeert Uytterhoeven 92062887bfSGeert Uytterhoevenconfig ARCH_R8A7744 93062887bfSGeert Uytterhoeven bool "RZ/G1N (R8A77440)" 94062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 95062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 96062887bfSGeert Uytterhoeven select SYSC_R8A7743 97062887bfSGeert Uytterhoeven 98062887bfSGeert Uytterhoevenconfig ARCH_R8A7745 99062887bfSGeert Uytterhoeven bool "RZ/G1E (R8A77450)" 100062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 101435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 102062887bfSGeert Uytterhoeven select SYSC_R8A7745 103062887bfSGeert Uytterhoeven 104062887bfSGeert Uytterhoevenconfig ARCH_R8A77470 105062887bfSGeert Uytterhoeven bool "RZ/G1C (R8A77470)" 106062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 107435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 108062887bfSGeert Uytterhoeven select SYSC_R8A77470 109062887bfSGeert Uytterhoeven 110062887bfSGeert Uytterhoevenconfig ARCH_R8A7778 111062887bfSGeert Uytterhoeven bool "R-Car M1A (R8A77781)" 112062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN1 1132eced460SGeert Uytterhoeven select ARM_ERRATA_754322 114062887bfSGeert Uytterhoeven 115062887bfSGeert Uytterhoevenconfig ARCH_R8A7779 116062887bfSGeert Uytterhoeven bool "R-Car H1 (R8A77790)" 117062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN1 1182eced460SGeert Uytterhoeven select ARM_ERRATA_754322 119062887bfSGeert Uytterhoeven select HAVE_ARM_SCU if SMP 120062887bfSGeert Uytterhoeven select HAVE_ARM_TWD if SMP 121062887bfSGeert Uytterhoeven select SYSC_R8A7779 122062887bfSGeert Uytterhoeven 123062887bfSGeert Uytterhoevenconfig ARCH_R8A7790 124062887bfSGeert Uytterhoeven bool "R-Car H2 (R8A77900)" 125062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 126062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 127435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 128062887bfSGeert Uytterhoeven select I2C 129062887bfSGeert Uytterhoeven select SYSC_R8A7790 130062887bfSGeert Uytterhoeven 131062887bfSGeert Uytterhoevenconfig ARCH_R8A7791 132062887bfSGeert Uytterhoeven bool "R-Car M2-W (R8A77910)" 133062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 134062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 135062887bfSGeert Uytterhoeven select I2C 136062887bfSGeert Uytterhoeven select SYSC_R8A7791 137062887bfSGeert Uytterhoeven 138062887bfSGeert Uytterhoevenconfig ARCH_R8A7792 139062887bfSGeert Uytterhoeven bool "R-Car V2H (R8A77920)" 140062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 141062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 142062887bfSGeert Uytterhoeven select SYSC_R8A7792 143062887bfSGeert Uytterhoeven 144062887bfSGeert Uytterhoevenconfig ARCH_R8A7793 145062887bfSGeert Uytterhoeven bool "R-Car M2-N (R8A7793)" 146062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 147062887bfSGeert Uytterhoeven select ARM_ERRATA_798181 if SMP 148062887bfSGeert Uytterhoeven select I2C 149062887bfSGeert Uytterhoeven select SYSC_R8A7791 150062887bfSGeert Uytterhoeven 151062887bfSGeert Uytterhoevenconfig ARCH_R8A7794 152062887bfSGeert Uytterhoeven bool "R-Car E2 (R8A77940)" 153062887bfSGeert Uytterhoeven select ARCH_RCAR_GEN2 154435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 155062887bfSGeert Uytterhoeven select SYSC_R8A7794 156062887bfSGeert Uytterhoeven 157062887bfSGeert Uytterhoevenconfig ARCH_R9A06G032 158062887bfSGeert Uytterhoeven bool "RZ/N1D (R9A06G032)" 159062887bfSGeert Uytterhoeven select ARCH_RZN1 160435dce2dSGeert Uytterhoeven select ARM_ERRATA_814220 161062887bfSGeert Uytterhoeven 162062887bfSGeert Uytterhoevenconfig ARCH_SH73A0 163062887bfSGeert Uytterhoeven bool "SH-Mobile AG5 (R8A73A00)" 164062887bfSGeert Uytterhoeven select ARCH_RMOBILE 1652eced460SGeert Uytterhoeven select ARM_ERRATA_754322 166062887bfSGeert Uytterhoeven select HAVE_ARM_SCU if SMP 167062887bfSGeert Uytterhoeven select HAVE_ARM_TWD if SMP 168062887bfSGeert Uytterhoeven select RENESAS_INTC_IRQPIN 169062887bfSGeert Uytterhoeven 170062887bfSGeert Uytterhoevenendif # ARM 171062887bfSGeert Uytterhoeven 172fa43948fSGeert Uytterhoevenif ARM64 173fa43948fSGeert Uytterhoeven 174fa43948fSGeert Uytterhoevenconfig ARCH_R8A774A1 175fa43948fSGeert Uytterhoeven bool "Renesas RZ/G2M SoC Platform" 176fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 177fa43948fSGeert Uytterhoeven select SYSC_R8A774A1 178fa43948fSGeert Uytterhoeven help 179fa43948fSGeert Uytterhoeven This enables support for the Renesas RZ/G2M SoC. 180fa43948fSGeert Uytterhoeven 181*d634055cSBiju Dasconfig ARCH_R8A774B1 182*d634055cSBiju Das bool "Renesas RZ/G2N SoC Platform" 183*d634055cSBiju Das select ARCH_RCAR_GEN3 184*d634055cSBiju Das help 185*d634055cSBiju Das This enables support for the Renesas RZ/G2N SoC. 186*d634055cSBiju Das 187fa43948fSGeert Uytterhoevenconfig ARCH_R8A774C0 188fa43948fSGeert Uytterhoeven bool "Renesas RZ/G2E SoC Platform" 189fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 190fa43948fSGeert Uytterhoeven select SYSC_R8A774C0 191fa43948fSGeert Uytterhoeven help 192fa43948fSGeert Uytterhoeven This enables support for the Renesas RZ/G2E SoC. 193fa43948fSGeert Uytterhoeven 194fa43948fSGeert Uytterhoevenconfig ARCH_R8A7795 195fa43948fSGeert Uytterhoeven bool "Renesas R-Car H3 SoC Platform" 196fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 197fa43948fSGeert Uytterhoeven select SYSC_R8A7795 198fa43948fSGeert Uytterhoeven help 199fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car H3 SoC. 200fa43948fSGeert Uytterhoeven 201fa43948fSGeert Uytterhoevenconfig ARCH_R8A7796 202fa43948fSGeert Uytterhoeven bool "Renesas R-Car M3-W SoC Platform" 203fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 204fa43948fSGeert Uytterhoeven select SYSC_R8A7796 205fa43948fSGeert Uytterhoeven help 206fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car M3-W SoC. 207fa43948fSGeert Uytterhoeven 208fa43948fSGeert Uytterhoevenconfig ARCH_R8A77965 209fa43948fSGeert Uytterhoeven bool "Renesas R-Car M3-N SoC Platform" 210fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 211fa43948fSGeert Uytterhoeven select SYSC_R8A77965 212fa43948fSGeert Uytterhoeven help 213fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car M3-N SoC. 214fa43948fSGeert Uytterhoeven 215fa43948fSGeert Uytterhoevenconfig ARCH_R8A77970 216fa43948fSGeert Uytterhoeven bool "Renesas R-Car V3M SoC Platform" 217fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 218fa43948fSGeert Uytterhoeven select SYSC_R8A77970 219fa43948fSGeert Uytterhoeven help 220fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car V3M SoC. 221fa43948fSGeert Uytterhoeven 222fa43948fSGeert Uytterhoevenconfig ARCH_R8A77980 223fa43948fSGeert Uytterhoeven bool "Renesas R-Car V3H SoC Platform" 224fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 225fa43948fSGeert Uytterhoeven select SYSC_R8A77980 226fa43948fSGeert Uytterhoeven help 227fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car V3H SoC. 228fa43948fSGeert Uytterhoeven 229fa43948fSGeert Uytterhoevenconfig ARCH_R8A77990 230fa43948fSGeert Uytterhoeven bool "Renesas R-Car E3 SoC Platform" 231fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 232fa43948fSGeert Uytterhoeven select SYSC_R8A77990 233fa43948fSGeert Uytterhoeven help 234fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car E3 SoC. 235fa43948fSGeert Uytterhoeven 236fa43948fSGeert Uytterhoevenconfig ARCH_R8A77995 237fa43948fSGeert Uytterhoeven bool "Renesas R-Car D3 SoC Platform" 238fa43948fSGeert Uytterhoeven select ARCH_RCAR_GEN3 239fa43948fSGeert Uytterhoeven select SYSC_R8A77995 240fa43948fSGeert Uytterhoeven help 241fa43948fSGeert Uytterhoeven This enables support for the Renesas R-Car D3 SoC. 242fa43948fSGeert Uytterhoeven 243fa43948fSGeert Uytterhoevenendif # ARM64 244fa43948fSGeert Uytterhoeven 2458be381a1SGeert Uytterhoeven# SoC 2468be381a1SGeert Uytterhoevenconfig SYSC_R8A7743 2478be381a1SGeert Uytterhoeven bool "RZ/G1M System Controller support" if COMPILE_TEST 2488be381a1SGeert Uytterhoeven select SYSC_RCAR 2498be381a1SGeert Uytterhoeven 2508be381a1SGeert Uytterhoevenconfig SYSC_R8A7745 2518be381a1SGeert Uytterhoeven bool "RZ/G1E System Controller support" if COMPILE_TEST 2528be381a1SGeert Uytterhoeven select SYSC_RCAR 2538be381a1SGeert Uytterhoeven 254964f7c0dSBiju Dasconfig SYSC_R8A77470 255964f7c0dSBiju Das bool "RZ/G1C System Controller support" if COMPILE_TEST 256964f7c0dSBiju Das select SYSC_RCAR 257964f7c0dSBiju Das 2587f0e99ccSBiju Dasconfig SYSC_R8A774A1 2597f0e99ccSBiju Das bool "RZ/G2M System Controller support" if COMPILE_TEST 2607f0e99ccSBiju Das select SYSC_RCAR 2617f0e99ccSBiju Das 262f37d211cSFabrizio Castroconfig SYSC_R8A774C0 263f37d211cSFabrizio Castro bool "RZ/G2E System Controller support" if COMPILE_TEST 264f37d211cSFabrizio Castro select SYSC_RCAR 265f37d211cSFabrizio Castro 2668be381a1SGeert Uytterhoevenconfig SYSC_R8A7779 2678be381a1SGeert Uytterhoeven bool "R-Car H1 System Controller support" if COMPILE_TEST 2688be381a1SGeert Uytterhoeven select SYSC_RCAR 2698be381a1SGeert Uytterhoeven 2708be381a1SGeert Uytterhoevenconfig SYSC_R8A7790 2718be381a1SGeert Uytterhoeven bool "R-Car H2 System Controller support" if COMPILE_TEST 2728be381a1SGeert Uytterhoeven select SYSC_RCAR 2738be381a1SGeert Uytterhoeven 2748be381a1SGeert Uytterhoevenconfig SYSC_R8A7791 2758be381a1SGeert Uytterhoeven bool "R-Car M2-W/N System Controller support" if COMPILE_TEST 2768be381a1SGeert Uytterhoeven select SYSC_RCAR 2778be381a1SGeert Uytterhoeven 2788be381a1SGeert Uytterhoevenconfig SYSC_R8A7792 2798be381a1SGeert Uytterhoeven bool "R-Car V2H System Controller support" if COMPILE_TEST 2808be381a1SGeert Uytterhoeven select SYSC_RCAR 2818be381a1SGeert Uytterhoeven 2828be381a1SGeert Uytterhoevenconfig SYSC_R8A7794 2838be381a1SGeert Uytterhoeven bool "R-Car E2 System Controller support" if COMPILE_TEST 2848be381a1SGeert Uytterhoeven select SYSC_RCAR 2858be381a1SGeert Uytterhoeven 2868be381a1SGeert Uytterhoevenconfig SYSC_R8A7795 2878be381a1SGeert Uytterhoeven bool "R-Car H3 System Controller support" if COMPILE_TEST 2888be381a1SGeert Uytterhoeven select SYSC_RCAR 2898be381a1SGeert Uytterhoeven 2908be381a1SGeert Uytterhoevenconfig SYSC_R8A7796 2918be381a1SGeert Uytterhoeven bool "R-Car M3-W System Controller support" if COMPILE_TEST 2928be381a1SGeert Uytterhoeven select SYSC_RCAR 2938be381a1SGeert Uytterhoeven 294a527709bSJacopo Mondiconfig SYSC_R8A77965 295a527709bSJacopo Mondi bool "R-Car M3-N System Controller support" if COMPILE_TEST 296a527709bSJacopo Mondi select SYSC_RCAR 297a527709bSJacopo Mondi 298bab9b2a7SSergei Shtylyovconfig SYSC_R8A77970 299bab9b2a7SSergei Shtylyov bool "R-Car V3M System Controller support" if COMPILE_TEST 300bab9b2a7SSergei Shtylyov select SYSC_RCAR 301bab9b2a7SSergei Shtylyov 30241d6d8bdSSergei Shtylyovconfig SYSC_R8A77980 30341d6d8bdSSergei Shtylyov bool "R-Car V3H System Controller support" if COMPILE_TEST 30441d6d8bdSSergei Shtylyov select SYSC_RCAR 30541d6d8bdSSergei Shtylyov 30644b12d43STakeshi Kiharaconfig SYSC_R8A77990 30744b12d43STakeshi Kihara bool "R-Car E3 System Controller support" if COMPILE_TEST 30844b12d43STakeshi Kihara select SYSC_RCAR 30944b12d43STakeshi Kihara 310eed17c42SGeert Uytterhoevenconfig SYSC_R8A77995 311eed17c42SGeert Uytterhoeven bool "R-Car D3 System Controller support" if COMPILE_TEST 312eed17c42SGeert Uytterhoeven select SYSC_RCAR 313eed17c42SGeert Uytterhoeven 3148be381a1SGeert Uytterhoeven# Family 3158be381a1SGeert Uytterhoevenconfig RST_RCAR 3168be381a1SGeert Uytterhoeven bool "R-Car Reset Controller support" if COMPILE_TEST 3178be381a1SGeert Uytterhoeven 3188be381a1SGeert Uytterhoevenconfig SYSC_RCAR 3198be381a1SGeert Uytterhoeven bool "R-Car System Controller support" if COMPILE_TEST 3208be381a1SGeert Uytterhoeven 3212ed29e15SGeert Uytterhoevenconfig SYSC_RMOBILE 3222ed29e15SGeert Uytterhoeven bool "R-Mobile System Controller support" if COMPILE_TEST 3232ed29e15SGeert Uytterhoeven 3248be381a1SGeert Uytterhoevenendif # SOC_RENESAS 325