blob: aeb55da609bd65921a59308e6f2f197f8dbd38e6 [file] [log] [blame]
Marek Vasutf9aabd42024-02-27 17:05:55 +01001if ARCH_RENESAS
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09002
Marek Vasutef72c1e2023-02-28 07:28:56 +01003# Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
4config RCAR_64
5 bool
6 select ARM64
7 select CMD_CACHE
8 select OF_BOARD_SETUP
9 select PHY
10 select PINCONF
11 select PINCTRL
Marek Vasutef72c1e2023-02-28 07:28:56 +010012 select POSITION_INDEPENDENT
13 imply CMD_FS_UUID
14 imply CMD_GPT
15 imply CMD_MMC_SWRITE if MMC
16 imply CMD_UUID
Marek Vasut18fb23b2024-03-18 15:59:38 +010017 imply OF_UPSTREAM
Marek Vasutef72c1e2023-02-28 07:28:56 +010018 imply SUPPORT_EMMC_RPMB if MMC
19
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090020choice
Nobuhiro Iwamatsu7a500a72016-06-17 13:52:13 +090021 prompt "Target Renesas SoC select"
22 default RCAR_32
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090023
Nobuhiro Iwamatsu7a500a72016-06-17 13:52:13 +090024config RCAR_32
25 bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +053026 select CPU_V7A
Vladimir Barinov21871132015-07-20 20:49:59 +030027
Nobuhiro Iwamatsu581183d2016-04-01 03:51:34 +090028config RCAR_GEN3
29 bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
Marek Vasutef72c1e2023-02-28 07:28:56 +010030 select RCAR_64
Marek Vasut56023302018-10-03 12:44:13 +020031 select SUPPORT_SPL
Paul Barker959fc0b2023-10-16 10:25:30 +010032 select PINCTRL_PFC
Marek Vasut56023302018-10-03 12:44:13 +020033 imply SPL
34 imply SPL_BOARD_INIT
35 imply SPL_GZIP
36 imply SPL_LIBCOMMON_SUPPORT
37 imply SPL_LIBGENERIC_SUPPORT
Simon Glass2a736062021-08-08 12:20:12 -060038 imply SPL_SERIAL
Marek Vasut56023302018-10-03 12:44:13 +020039 imply SPL_SYS_MALLOC_SIMPLE
40 imply SPL_TINY_MEMSET
Simon Glass27084c02019-09-25 08:56:27 -060041 imply SPL_USE_TINY_PRINTF
Marek Vasut6f152a72023-02-28 07:28:54 +010042 imply SPL_YMODEM_SUPPORT
Nobuhiro Iwamatsu581183d2016-04-01 03:51:34 +090043
Hai Pham5a3b0742023-02-28 22:22:03 +010044config RCAR_GEN4
45 bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
46 select RCAR_64
Paul Barker959fc0b2023-10-16 10:25:30 +010047 select PINCTRL_PFC
Hai Pham5a3b0742023-02-28 22:22:03 +010048
Chris Brandt35295962017-08-23 14:53:59 -050049config RZA1
50 prompt "Renesas ARM SoCs RZ/A1 (32bit)"
51 select CPU_V7A
52
Ralph Siemsen21563272023-05-12 21:36:55 -040053config RZN1
54 prompt "Renesas ARM SoCs RZ/N1 (32bit)"
55 select CPU_V7A
56 select ARMV7_SET_CORTEX_SMPEN if !SPL
57 select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
58 select CLK
59 select CLK_RENESAS
60 select CLK_R9A06G032
61 select DM
62 select DM_ETH
63 select DM_SERIAL
64 select PINCTRL
65 select PINCONF
66 select REGMAP
67 select SYSRESET
68 select SYSRESET_SYSCON
69 imply CMD_DM
70
Paul Barker387d4272023-10-16 10:25:27 +010071config RZG2L
72 prompt "Renesas RZ/G2L Family ARM SoCs"
73 select GICV3
74 select RCAR_64
Paul Barker1918ff52023-10-16 10:25:29 +010075 imply CLK_RZG2L
Paul Barker387d4272023-10-16 10:25:27 +010076 imply MULTI_DTB_FIT
77 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Paul Barkerb378c402023-10-16 10:25:32 +010078 imply PINCTRL_RZG2L
Paul Barker387d4272023-10-16 10:25:27 +010079 imply RENESAS_SDHI
Paul Barker21e4ba12023-10-16 10:25:33 +010080 imply RZG2L_GPIO
Paul Barker966caed2023-10-19 15:30:44 +010081 imply SCIF_CONSOLE
Paul Barker266e36f2024-02-27 20:40:30 +000082 imply SYS_I2C_RZ_RIIC
Paul Barker387d4272023-10-16 10:25:27 +010083 imply SYS_MALLOC_F
84 help
85 Enable support for the Renesas RZ/G2L family of SoCs. Currently
86 support is only included for the RZ/G2L itself (based on the R9A07G044
87 SoC). Support for additional SoCs in this family (RZ/G2LC, RZ/G2UL,
88 RZ/V2L & RZ/Five) is not yet available.
89
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090090endchoice
91
Marek Vasutdec699b2023-02-28 07:28:55 +010092config SYS_SOC
Marek Vasut40b9d532024-02-27 17:05:56 +010093 default "renesas" if ARCH_RENESAS
Marek Vasutdec699b2023-02-28 07:28:55 +010094
Marek Vasut40b9d532024-02-27 17:05:56 +010095source "arch/arm/mach-renesas/Kconfig.32"
96source "arch/arm/mach-renesas/Kconfig.64"
97source "arch/arm/mach-renesas/Kconfig.rza1"
98source "arch/arm/mach-renesas/Kconfig.rzn1"
99source "arch/arm/mach-renesas/Kconfig.rzg2l"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +0900100
101endif