blob: 8e617e582442c26ec646acf01bf2e2dc7c056552 [file] [log] [blame]
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +09001if RCAR_GEN3
2
Marek Vasutee40f1c2019-02-18 13:34:19 +01003menu "Select Target SoC"
Marek Vasut0d93a402017-05-13 15:57:35 +02004
Adam Ford52dd19b2020-06-30 09:30:06 -05005config R8A774A1
Biju Das2138a732020-10-12 16:16:14 +01006 bool "Renesas SoC R8A774A1"
Tom Rini249f11f2021-08-19 14:19:39 -04007 select GICV2
Biju Dasda58fb42021-03-01 17:08:47 +00008 imply CLK_R8A774A1
9 imply PINCTRL_PFC_R8A774A1
Biju Das2138a732020-10-12 16:16:14 +010010
11config R8A774B1
12 bool "Renesas SoC R8A774B1"
Tom Rini249f11f2021-08-19 14:19:39 -040013 select GICV2
Biju Das69159a22020-10-14 18:17:35 +010014 imply CLK_R8A774B1
Biju Dasd1d78882020-10-28 10:34:21 +000015 imply PINCTRL_PFC_R8A774B1
Adam Ford52dd19b2020-06-30 09:30:06 -050016
Lad Prabhakar573a9982020-10-16 08:37:12 +010017config R8A774C0
18 bool "Renesas SoC R8A774C0"
Tom Rini249f11f2021-08-19 14:19:39 -040019 select GICV2
Lad Prabhakar3434a5f2020-10-16 08:37:14 +010020 imply CLK_R8A774C0
Lad Prabhakar53b88b92021-03-15 22:24:04 +000021 imply PINCTRL_PFC_R8A774C0
Lad Prabhakar573a9982020-10-16 08:37:12 +010022
Biju Das4fd0bf82020-10-12 16:16:15 +010023config R8A774E1
24 bool "Renesas SoC R8A774E1"
Tom Rini249f11f2021-08-19 14:19:39 -040025 select GICV2
Biju Daseb6474c2020-10-14 18:17:36 +010026 imply CLK_R8A774E1
Biju Das121bd002020-10-28 10:34:22 +000027 imply PINCTRL_PFC_R8A774E1
Biju Das4fd0bf82020-10-12 16:16:15 +010028
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +090029config R8A7795
Marek Vasut0d93a402017-05-13 15:57:35 +020030 bool "Renesas SoC R8A7795"
Tom Rini249f11f2021-08-19 14:19:39 -040031 select GICV2
Marek Vasut71710b52019-02-18 13:20:48 +010032 imply CLK_R8A7795
Marek Vasutc02d50a2023-01-26 21:01:40 +010033 imply PINCTRL_PFC_R8A77951
Marek Vasut0d93a402017-05-13 15:57:35 +020034
Marek Vasut62df3122017-05-13 15:57:39 +020035config R8A7796
36 bool "Renesas SoC R8A7796"
Tom Rini249f11f2021-08-19 14:19:39 -040037 select GICV2
Hai Phamcef5c2f2023-01-26 21:02:01 +010038 imply CLK_R8A77960
Hai Phamf144d502023-01-26 21:02:02 +010039 imply CLK_R8A77961
Marek Vasutd0f9c7b2023-01-26 21:01:41 +010040 imply PINCTRL_PFC_R8A77960
Hai Pham94360502023-01-26 21:01:48 +010041 imply PINCTRL_PFC_R8A77961
Marek Vasut62df3122017-05-13 15:57:39 +020042
Marek Vasutf843f252019-03-04 01:32:44 +010043config R8A77965
44 bool "Renesas SoC R8A77965"
Tom Rini249f11f2021-08-19 14:19:39 -040045 select GICV2
Marek Vasut98c20582019-03-04 13:36:13 +010046 imply CLK_R8A77965
Marek Vasut72269e02019-03-04 01:32:44 +010047 imply PINCTRL_PFC_R8A77965
Marek Vasutf843f252019-03-04 01:32:44 +010048
Marek Vasut46175fc2017-10-09 20:39:47 +020049config R8A77970
50 bool "Renesas SoC R8A77970"
Tom Rini249f11f2021-08-19 14:19:39 -040051 select GICV2
Marek Vasut71710b52019-02-18 13:20:48 +010052 imply CLK_R8A77970
Marek Vasut9c930522019-02-18 13:22:03 +010053 imply PINCTRL_PFC_R8A77970
Marek Vasut46175fc2017-10-09 20:39:47 +020054
Marek Vasutcf567852019-07-29 19:59:44 +020055config R8A77980
56 bool "Renesas SoC R8A77980"
Tom Rini249f11f2021-08-19 14:19:39 -040057 select GICV2
Marek Vasutcf567852019-07-29 19:59:44 +020058 imply CLK_R8A77980
59 imply PINCTRL_PFC_R8A77980
60
Marek Vasut001dbf32018-04-26 10:09:06 +020061config R8A77990
62 bool "Renesas SoC R8A77990"
Tom Rini249f11f2021-08-19 14:19:39 -040063 select GICV2
Marek Vasut71710b52019-02-18 13:20:48 +010064 imply CLK_R8A77990
Marek Vasut9c930522019-02-18 13:22:03 +010065 imply PINCTRL_PFC_R8A77990
Marek Vasut001dbf32018-04-26 10:09:06 +020066
Marek Vasut04cd2e22017-10-08 20:52:52 +020067config R8A77995
68 bool "Renesas SoC R8A77995"
Tom Rini249f11f2021-08-19 14:19:39 -040069 select GICV2
Marek Vasut71710b52019-02-18 13:20:48 +010070 imply CLK_R8A77995
Marek Vasut9c930522019-02-18 13:22:03 +010071 imply PINCTRL_PFC_R8A77995
Marek Vasut04cd2e22017-10-08 20:52:52 +020072
Hai Pham47fc7be2020-05-21 14:11:13 +070073config R8A779A0
74 bool "Renesas SoC R8A779A0"
Tom Rini249f11f2021-08-19 14:19:39 -040075 select GICV3
Hai Pham47fc7be2020-05-21 14:11:13 +070076 imply CLK_R8A779A0
77 imply PINCTRL_PFC_R8A779A0
78
Biju Das2f611af2021-03-17 14:11:50 +000079config RZ_G2
80 bool "Renesas ARM SoCs RZ/G2 (64bit)"
81
Marek Vasutee40f1c2019-02-18 13:34:19 +010082endmenu
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +090083
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090084choice
Marek Vasutee40f1c2019-02-18 13:34:19 +010085 prompt "Renesas ARM64 SoCs board select"
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +090086 optional
87
Adam Ford38676882020-06-30 09:30:11 -050088config TARGET_BEACON_RZG2M
Adam Ford1d19cd32021-09-20 11:14:29 -050089 bool "Beacon EmbeddedWorks RZ/G2 Dev Kit"
Adam Ford38676882020-06-30 09:30:11 -050090 select R8A774A1
Adam Ford08cd8292021-09-20 11:14:28 -050091 select R8A774B1
92 select R8A774E1
Adam Fordd1e47382021-06-24 12:52:11 -050093 select RZ_G2
Adam Ford38676882020-06-30 09:30:11 -050094 select PINCTRL_PFC_R8A774A1
Adam Ford08cd8292021-09-20 11:14:28 -050095 select PINCTRL_PFC_R8A774B1
96 select PINCTRL_PFC_R8A774E1
97 imply MULTI_DTB_FIT
98 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Adam Ford8d3e5202021-09-20 11:14:31 -050099 imply CLK_VERSACLOCK
100 imply CLK_CCF
Adam Ford38676882020-06-30 09:30:11 -0500101
Marek Vasutb700f032019-07-29 19:59:44 +0200102config TARGET_CONDOR
103 bool "Condor board"
104 imply R8A77980
105 help
106 Support for Renesas R-Car Gen3 Condor platform
107
Marek Vasut3ef6d082017-10-08 20:41:18 +0200108config TARGET_DRAAK
109 bool "Draak board"
Marek Vasutee40f1c2019-02-18 13:34:19 +0100110 imply R8A77995
Marek Vasut3ef6d082017-10-08 20:41:18 +0200111 help
112 Support for Renesas R-Car Gen3 Draak platform
113
Marek Vasutb47bc372017-10-09 21:08:10 +0200114config TARGET_EAGLE
115 bool "Eagle board"
Marek Vasutee40f1c2019-02-18 13:34:19 +0100116 imply R8A77970
Marek Vasutb47bc372017-10-09 21:08:10 +0200117 help
118 Support for Renesas R-Car Gen3 Eagle platform
119
Marek Vasut2a46a0b2018-04-26 13:31:39 +0200120config TARGET_EBISU
121 bool "Ebisu board"
Marek Vasutee40f1c2019-02-18 13:34:19 +0100122 imply R8A77990
Marek Vasut2a46a0b2018-04-26 13:31:39 +0200123 help
124 Support for Renesas R-Car Gen3 Ebisu platform
125
Hai Pham747a7ab2020-05-21 20:14:05 +0700126config TARGET_FALCON
127 bool "Falcon board"
128 imply R8A779A0
129 help
130 Support for Renesas R-Car Gen3 Falcon platform
131
Biju Dasda58fb42021-03-01 17:08:47 +0000132config TARGET_HIHOPE_RZG2
133 bool "HiHope RZ/G2 board"
134 imply R8A774A1
Biju Das222cb302021-03-01 17:08:48 +0000135 imply R8A774B1
Biju Dasd771b222021-03-01 17:08:49 +0000136 imply R8A774E1
Biju Das2f611af2021-03-17 14:11:50 +0000137 imply RZ_G2
Biju Dasda58fb42021-03-01 17:08:47 +0000138 imply SYS_MALLOC_F
139 imply MULTI_DTB_FIT
140 imply MULTI_DTB_FIT_USER_DEFINED_AREA
141 help
142 Support for RZG2 HiHope platform
143
Lad Prabhakarb4b65ec2021-03-15 22:24:05 +0000144config TARGET_SILINUX_EK874
145 bool "Silicon Linux EK874 board"
146 imply R8A774C0
Biju Das2f611af2021-03-17 14:11:50 +0000147 imply RZ_G2
Lad Prabhakarb4b65ec2021-03-15 22:24:05 +0000148 help
149 Support for Silicon Linux EK874 platform
150
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +0900151config TARGET_SALVATOR_X
152 bool "Salvator-X board"
Marek Vasutee40f1c2019-02-18 13:34:19 +0100153 imply R8A7795
154 imply R8A7796
Marek Vasutf843f252019-03-04 01:32:44 +0100155 imply R8A77965
Marek Vasutc6259942019-03-13 21:09:49 +0100156 imply SYS_MALLOC_F
157 imply MULTI_DTB_FIT
158 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +0900159 help
Marek Vasut36f74202017-05-13 15:57:40 +0200160 Support for Renesas R-Car Gen3 platform
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +0900161
Marek Vasutad43cd32017-07-21 23:15:21 +0200162config TARGET_ULCB
163 bool "ULCB board"
Marek Vasutee40f1c2019-02-18 13:34:19 +0100164 imply R8A7795
165 imply R8A7796
Marek Vasutf843f252019-03-04 01:32:44 +0100166 imply R8A77965
Marek Vasutc6259942019-03-13 21:09:49 +0100167 imply SYS_MALLOC_F
168 imply MULTI_DTB_FIT
169 imply MULTI_DTB_FIT_USER_DEFINED_AREA
Marek Vasutad43cd32017-07-21 23:15:21 +0200170 help
171 Support for Renesas R-Car Gen3 ULCB platform
172
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +0900173endchoice
174
175config SYS_SOC
176 default "rmobile"
177
Marek Vasutb700f032019-07-29 19:59:44 +0200178source "board/renesas/condor/Kconfig"
Marek Vasut3ef6d082017-10-08 20:41:18 +0200179source "board/renesas/draak/Kconfig"
Marek Vasutb47bc372017-10-09 21:08:10 +0200180source "board/renesas/eagle/Kconfig"
Marek Vasut2a46a0b2018-04-26 13:31:39 +0200181source "board/renesas/ebisu/Kconfig"
Hai Pham747a7ab2020-05-21 20:14:05 +0700182source "board/renesas/falcon/Kconfig"
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +0900183source "board/renesas/salvator-x/Kconfig"
Marek Vasutad43cd32017-07-21 23:15:21 +0200184source "board/renesas/ulcb/Kconfig"
Adam Ford38676882020-06-30 09:30:11 -0500185source "board/beacon/beacon-rzg2m/Kconfig"
Biju Dasda58fb42021-03-01 17:08:47 +0000186source "board/hoperun/hihope-rzg2/Kconfig"
Lad Prabhakarb4b65ec2021-03-15 22:24:05 +0000187source "board/silinux/ek874/Kconfig"
Nobuhiro Iwamatsufdf7c652016-04-01 03:51:36 +0900188
Marek Vasutc6259942019-03-13 21:09:49 +0100189config MULTI_DTB_FIT_UNCOMPRESS_SZ
Adam Ford08cd8292021-09-20 11:14:28 -0500190 default 0x80000 if TARGET_BEACON_RZG2M
Biju Dasda58fb42021-03-01 17:08:47 +0000191 default 0x80000 if TARGET_HIHOPE_RZG2
Marek Vasutc6259942019-03-13 21:09:49 +0100192 default 0x80000 if TARGET_SALVATOR_X
193 default 0x80000 if TARGET_ULCB
194
195config MULTI_DTB_FIT_USER_DEF_ADDR
Adam Ford08cd8292021-09-20 11:14:28 -0500196 default 0x49000000 if TARGET_BEACON_RZG2M
Biju Dasda58fb42021-03-01 17:08:47 +0000197 default 0x49000000 if TARGET_HIHOPE_RZG2
Marek Vasutc6259942019-03-13 21:09:49 +0100198 default 0x49000000 if TARGET_SALVATOR_X
199 default 0x49000000 if TARGET_ULCB
200
201config SYS_MALLOC_F_LEN
202 default 0x8000 if RCAR_GEN3
203
Marek Vasutf6b32022023-01-26 21:02:03 +0100204config DM_RESET
205 default y if RCAR_GEN3
206
Nobuhiro Iwamatsu4dc515a2016-04-01 03:51:34 +0900207endif