blob: 2ac867612bf0396118b0de6b62084f6e98347035 [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
17 imply SUPPORT_EMMC_RPMB if MMC
18
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090019choice
Nobuhiro Iwamatsu7a500a72016-06-17 13:52:13 +090020 prompt "Target Renesas SoC select"
21 default RCAR_32
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090022
Nobuhiro Iwamatsu7a500a72016-06-17 13:52:13 +090023config RCAR_32
24 bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +053025 select CPU_V7A
Vladimir Barinov21871132015-07-20 20:49:59 +030026
Nobuhiro Iwamatsu581183d2016-04-01 03:51:34 +090027config RCAR_GEN3
28 bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
Marek Vasutef72c1e2023-02-28 07:28:56 +010029 select RCAR_64
Marek Vasut56023302018-10-03 12:44:13 +020030 select SUPPORT_SPL
Paul Barker959fc0b2023-10-16 10:25:30 +010031 select PINCTRL_PFC
Marek Vasut56023302018-10-03 12:44:13 +020032 imply SPL
33 imply SPL_BOARD_INIT
34 imply SPL_GZIP
35 imply SPL_LIBCOMMON_SUPPORT
36 imply SPL_LIBGENERIC_SUPPORT
Simon Glass2a736062021-08-08 12:20:12 -060037 imply SPL_SERIAL
Marek Vasut56023302018-10-03 12:44:13 +020038 imply SPL_SYS_MALLOC_SIMPLE
39 imply SPL_TINY_MEMSET
Simon Glass27084c02019-09-25 08:56:27 -060040 imply SPL_USE_TINY_PRINTF
Marek Vasut6f152a72023-02-28 07:28:54 +010041 imply SPL_YMODEM_SUPPORT
Nobuhiro Iwamatsu581183d2016-04-01 03:51:34 +090042
Hai Pham5a3b0742023-02-28 22:22:03 +010043config RCAR_GEN4
44 bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
45 select RCAR_64
Paul Barker959fc0b2023-10-16 10:25:30 +010046 select PINCTRL_PFC
Hai Pham5a3b0742023-02-28 22:22:03 +010047
Chris Brandt35295962017-08-23 14:53:59 -050048config RZA1
49 prompt "Renesas ARM SoCs RZ/A1 (32bit)"
50 select CPU_V7A
51
Ralph Siemsen21563272023-05-12 21:36:55 -040052config RZN1
53 prompt "Renesas ARM SoCs RZ/N1 (32bit)"
54 select CPU_V7A
55 select ARMV7_SET_CORTEX_SMPEN if !SPL
56 select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
57 select CLK
58 select CLK_RENESAS
59 select CLK_R9A06G032
60 select DM
61 select DM_ETH
62 select DM_SERIAL
63 select PINCTRL
64 select PINCONF
65 select REGMAP
66 select SYSRESET
67 select SYSRESET_SYSCON
68 imply CMD_DM
69
Paul Barker387d4272023-10-16 10:25:27 +010070config RZG2L
71 prompt "Renesas RZ/G2L Family ARM SoCs"
72 select GICV3
73 select RCAR_64
Paul Barker1918ff52023-10-16 10:25:29 +010074 imply CLK_RZG2L
Paul Barker387d4272023-10-16 10:25:27 +010075 imply MULTI_DTB_FIT
76 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Paul Barkerb378c402023-10-16 10:25:32 +010077 imply PINCTRL_RZG2L
Paul Barker387d4272023-10-16 10:25:27 +010078 imply RENESAS_SDHI
Paul Barker21e4ba12023-10-16 10:25:33 +010079 imply RZG2L_GPIO
Paul Barker966caed2023-10-19 15:30:44 +010080 imply SCIF_CONSOLE
Paul Barker266e36f2024-02-27 20:40:30 +000081 imply SYS_I2C_RZ_RIIC
Paul Barker387d4272023-10-16 10:25:27 +010082 imply SYS_MALLOC_F
83 help
84 Enable support for the Renesas RZ/G2L family of SoCs. Currently
85 support is only included for the RZ/G2L itself (based on the R9A07G044
86 SoC). Support for additional SoCs in this family (RZ/G2LC, RZ/G2UL,
87 RZ/V2L & RZ/Five) is not yet available.
88
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090089endchoice
90
Marek Vasutdec699b2023-02-28 07:28:55 +010091config SYS_SOC
Marek Vasut40b9d532024-02-27 17:05:56 +010092 default "renesas" if ARCH_RENESAS
Marek Vasutdec699b2023-02-28 07:28:55 +010093
Marek Vasut40b9d532024-02-27 17:05:56 +010094source "arch/arm/mach-renesas/Kconfig.32"
95source "arch/arm/mach-renesas/Kconfig.64"
96source "arch/arm/mach-renesas/Kconfig.rza1"
97source "arch/arm/mach-renesas/Kconfig.rzn1"
98source "arch/arm/mach-renesas/Kconfig.rzg2l"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090099
100endif