blob: 2bb96749fc0da7a866d4a6a24507bdfb2a9f67ef [file] [log] [blame]
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +09001if ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09002
Marek Vasut1406bdc2023-02-28 07:28:56 +01003# Renesas ARM SoCs R-Car Gen3/Gen4 (64bit)
4config RCAR_64
5 bool
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +09006 select ARM64
Hiroyuki Yokoyama7b8f69c2018-09-26 14:32:13 +09007 select CMD_CACHE
Marek Vasutce528522021-04-03 16:58:49 +02008 select OF_BOARD_SETUP
Marek Vasutfbae5952023-02-28 07:28:54 +01009 select PHY
Marek Vasut04a9c562019-04-21 22:14:11 +020010 select PINCONF
Marek Vasutfbae5952023-02-28 07:28:54 +010011 select PINCTRL
Marek Vasut253a9492021-06-13 22:40:45 +020012 select POSITION_INDEPENDENT
Marek Vasutd5ccf462018-12-03 23:46:11 +010013 imply CMD_FS_UUID
14 imply CMD_GPT
Marek Vasutd5ccf462018-12-03 23:46:11 +010015 imply CMD_MMC_SWRITE if MMC
Marek Vasutfbae5952023-02-28 07:28:54 +010016 imply CMD_UUID
Marek Vasut1406bdc2023-02-28 07:28:56 +010017 imply SUPPORT_EMMC_RPMB if MMC
18
19choice
20 prompt "Target Renesas SoC select"
21 default RCAR_32
22
23config RCAR_32
24 bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
25 select CPU_V7A
26
27config RCAR_GEN3
28 bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
29 select RCAR_64
30 select SUPPORT_SPL
Paul Barker7dd56332023-10-16 10:25:30 +010031 select PINCTRL_PFC
Marek Vasute39fa7d2018-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 Glassf4d60392021-08-08 12:20:12 -060037 imply SPL_SERIAL
Marek Vasute39fa7d2018-10-03 12:44:13 +020038 imply SPL_SYS_MALLOC_SIMPLE
39 imply SPL_TINY_MEMSET
Simon Glass7611ac62019-09-25 08:56:27 -060040 imply SPL_USE_TINY_PRINTF
Marek Vasutfbae5952023-02-28 07:28:54 +010041 imply SPL_YMODEM_SUPPORT
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090042
Hai Pham9046b5f2023-02-28 22:22:03 +010043config RCAR_GEN4
44 bool "Renesas ARM SoCs R-Car Gen4 (64bit)"
45 select RCAR_64
Paul Barker7dd56332023-10-16 10:25:30 +010046 select PINCTRL_PFC
Hai Pham9046b5f2023-02-28 22:22:03 +010047
Chris Brandt43b11d92017-08-23 14:53:59 -050048config RZA1
49 prompt "Renesas ARM SoCs RZ/A1 (32bit)"
50 select CPU_V7A
51
Ralph Siemsen7159e2c2023-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 Barkera774a3e2023-10-16 10:25:27 +010070config RZG2L
71 prompt "Renesas RZ/G2L Family ARM SoCs"
72 select GICV3
73 select RCAR_64
Paul Barker132d7ea2023-10-16 10:25:29 +010074 imply CLK_RZG2L
Paul Barkera774a3e2023-10-16 10:25:27 +010075 imply MULTI_DTB_FIT
76 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Paul Barker6b8b56e2023-10-16 10:25:32 +010077 imply PINCTRL_RZG2L
Paul Barkera774a3e2023-10-16 10:25:27 +010078 imply RENESAS_SDHI
Paul Barkerde430eb2023-10-16 10:25:33 +010079 imply RZG2L_GPIO
Paul Barker327571c2023-10-19 15:30:44 +010080 imply SCIF_CONSOLE
Paul Barkera774a3e2023-10-16 10:25:27 +010081 imply SYS_MALLOC_F
82 help
83 Enable support for the Renesas RZ/G2L family of SoCs. Currently
84 support is only included for the RZ/G2L itself (based on the R9A07G044
85 SoC). Support for additional SoCs in this family (RZ/G2LC, RZ/G2UL,
86 RZ/V2L & RZ/Five) is not yet available.
87
Nobuhiro Iwamatsu98e559c2015-03-05 08:30:37 +090088endchoice
89
Marek Vasut95f6e4b2023-02-28 07:28:55 +010090config SYS_SOC
91 default "rmobile" if ARCH_RMOBILE
92
Nobuhiro Iwamatsub2c0e492016-06-17 13:52:13 +090093source "arch/arm/mach-rmobile/Kconfig.32"
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090094source "arch/arm/mach-rmobile/Kconfig.64"
Chris Brandt43b11d92017-08-23 14:53:59 -050095source "arch/arm/mach-rmobile/Kconfig.rza1"
Ralph Siemsen7159e2c2023-05-12 21:36:55 -040096source "arch/arm/mach-rmobile/Kconfig.rzn1"
Paul Barkera774a3e2023-10-16 10:25:27 +010097source "arch/arm/mach-rmobile/Kconfig.rzg2l"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +090098
99endif