blob: c5419e8d69c045a8961ebaca751ec64136eec671 [file] [log] [blame]
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001if ARCH_RMOBILE
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
12 select PINCTRL_PFC
13 select POSITION_INDEPENDENT
14 imply CMD_FS_UUID
15 imply CMD_GPT
16 imply CMD_MMC_SWRITE if MMC
17 imply CMD_UUID
18 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
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
46
Chris Brandt35295962017-08-23 14:53:59 -050047config RZA1
48 prompt "Renesas ARM SoCs RZ/A1 (32bit)"
49 select CPU_V7A
50
Ralph Siemsen21563272023-05-12 21:36:55 -040051config RZN1
52 prompt "Renesas ARM SoCs RZ/N1 (32bit)"
53 select CPU_V7A
54 select ARMV7_SET_CORTEX_SMPEN if !SPL
55 select SPL_ARMV7_SET_CORTEX_SMPEN if SPL
56 select CLK
57 select CLK_RENESAS
58 select CLK_R9A06G032
59 select DM
60 select DM_ETH
61 select DM_SERIAL
62 select PINCTRL
63 select PINCONF
64 select REGMAP
65 select SYSRESET
66 select SYSRESET_SYSCON
67 imply CMD_DM
68
Paul Barker387d4272023-10-16 10:25:27 +010069config RZG2L
70 prompt "Renesas RZ/G2L Family ARM SoCs"
71 select GICV3
72 select RCAR_64
Paul Barker1918ff52023-10-16 10:25:29 +010073 imply CLK_RZG2L
Paul Barker387d4272023-10-16 10:25:27 +010074 imply MULTI_DTB_FIT
75 imply MULTI_DTB_FIT_USER_DEFINED_AREA
76 imply RENESAS_SDHI
77 imply SYS_MALLOC_F
78 help
79 Enable support for the Renesas RZ/G2L family of SoCs. Currently
80 support is only included for the RZ/G2L itself (based on the R9A07G044
81 SoC). Support for additional SoCs in this family (RZ/G2LC, RZ/G2UL,
82 RZ/V2L & RZ/Five) is not yet available.
83
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090084endchoice
85
Marek Vasutdec699b2023-02-28 07:28:55 +010086config SYS_SOC
87 default "rmobile" if ARCH_RMOBILE
88
Nobuhiro Iwamatsu7a500a72016-06-17 13:52:13 +090089source "arch/arm/mach-rmobile/Kconfig.32"
Nobuhiro Iwamatsu581183d2016-04-01 03:51:34 +090090source "arch/arm/mach-rmobile/Kconfig.64"
Chris Brandt35295962017-08-23 14:53:59 -050091source "arch/arm/mach-rmobile/Kconfig.rza1"
Ralph Siemsen21563272023-05-12 21:36:55 -040092source "arch/arm/mach-rmobile/Kconfig.rzn1"
Paul Barker387d4272023-10-16 10:25:27 +010093source "arch/arm/mach-rmobile/Kconfig.rzg2l"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +090094
95endif