blob: 5db643c1958c5d1251e25ec519105d1ddac74d15 [file] [log] [blame]
Peng Fan39945c12018-11-20 10:19:25 +00001if ARCH_IMX8M
2
3config IMX8M
4 bool
Fabio Estevam0d8dc8a2024-01-08 18:11:40 -03005 select BINMAN
Marek Vasut2e2fc972022-12-22 01:46:39 +01006 select GICV3 if ARMV8_PSCI
Aymen Sghaier4da25692021-03-25 17:30:25 +08007 select HAS_CAAM
Fabio Estevam8ebd8f52024-01-18 12:06:39 -03008 select LTO
Peng Fan39945c12018-11-20 10:19:25 +00009 select ROM_UNIFIED_SECTIONS
Loic Poulaine48dc102022-09-22 11:18:46 +020010 select ARMV8_CRYPTO
Peng Fan39945c12018-11-20 10:19:25 +000011
Peng Fanfc9beb32019-08-27 06:24:54 +000012config IMX8MQ
13 bool
14 select IMX8M
Peng Fan9b8ed242022-05-23 19:38:27 +080015 select CLK_IMX8MQ
Peng Fanfc9beb32019-08-27 06:24:54 +000016
Peng Fanaff45982019-08-27 06:24:57 +000017config IMX8MM
18 bool
19 select IMX8M
20
Peng Fan64a40d82019-09-16 03:09:12 +000021config IMX8MN
22 bool
23 select IMX8M
24
Peng Fan97869252019-12-27 10:24:54 +080025config IMX8MP
26 bool
27 select IMX8M
28
Peng Fan39945c12018-11-20 10:19:25 +000029config SYS_SOC
30 default "imx8m"
31
Marek Vasuta5385222022-12-22 01:46:43 +010032config SYS_HAS_ARMV8_SECURE_BASE
33 bool "Enable secure address for PSCI image"
34 depends on ARMV8_PSCI
35 help
36 PSCI image can be re-located to secure RAM.
37 If enabled, please also define the value for ARMV8_SECURE_BASE,
38 for i.MX8M, it could be some address in OCRAM.
39
Peng Fanaeb9c062018-11-20 10:20:00 +000040choice
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +020041 prompt "NXP i.MX8M board select"
Peng Fanaeb9c062018-11-20 10:20:00 +000042 optional
43
Ilko Iliev2b4ed302021-04-23 09:45:52 +020044config TARGET_IMX8MQ_CM
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +020045 bool "Ronetix iMX8MQ-CM SoM"
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +020046 select IMX8MQ
47 select IMX8M_LPDDR4
Ilko Iliev2b4ed302021-04-23 09:45:52 +020048
Peng Fanaeb9c062018-11-20 10:20:00 +000049config TARGET_IMX8MQ_EVK
50 bool "imx8mq_evk"
Peng Fanfc9beb32019-08-27 06:24:54 +000051 select IMX8MQ
Peng Fanaeb9c062018-11-20 10:20:00 +000052 select IMX8M_LPDDR4
Gaurav Jain81113a02022-03-24 11:50:27 +053053 select FSL_CAAM
54 select ARCH_MISC_INIT
55 select SPL_CRYPTO if SPL
Peng Fanaeb9c062018-11-20 10:20:00 +000056
Alifer Moraesa0a29482020-03-06 07:46:33 -030057config TARGET_IMX8MQ_PHANBELL
Peng Fan4af36d92021-10-22 10:42:17 +080058 bool "imx8mq_phanbell"
Peng Fan4af36d92021-10-22 10:42:17 +080059 select IMX8MQ
60 select IMX8M_LPDDR4
Alifer Moraesa0a29482020-03-06 07:46:33 -030061
Patrick Wildt53d0f0a2023-02-06 00:48:26 +010062config TARGET_IMX8MQ_REFORM2
63 bool "imx8mq_reform2"
Patrick Wildt53d0f0a2023-02-06 00:48:26 +010064 select IMX8MQ
65 select IMX8M_LPDDR4
66
Marek Vasut0b16ba52022-04-12 17:26:01 +020067config TARGET_IMX8MM_DATA_MODUL_EDM_SBC
68 bool "Data Modul eDM SBC i.MX8M Mini"
Marek Vasut0b16ba52022-04-12 17:26:01 +020069 select IMX8MM
70 select IMX8M_LPDDR4
71 select SUPPORT_SPL
72
Peng Fanf9220172019-08-27 06:26:08 +000073config TARGET_IMX8MM_EVK
74 bool "imx8mm LPDDR4 EVK board"
75 select IMX8MM
76 select SUPPORT_SPL
77 select IMX8M_LPDDR4
Gaurav Jain81113a02022-03-24 11:50:27 +053078 select FSL_CAAM
79 select ARCH_MISC_INIT
80 select SPL_CRYPTO if SPL
Peng Fanf9220172019-08-27 06:26:08 +000081
Jagan Teki35049fe2021-04-26 18:23:48 +053082config TARGET_IMX8MM_ICORE_MX8MM
83 bool "Engicam i.Core MX8M Mini SOM"
84 select IMX8MM
85 select SUPPORT_SPL
86 select IMX8M_LPDDR4
87 help
88 i.Core MX8M Mini is an EDIMM SOM based on NXP i.MX8MM.
89
90 i.Core MX8M Mini EDIMM2.2:
91 * EDIMM2.2 is a Form Factor Capacitive Evaluation Board.
92 * i.Core MX8M Mini needs to mount on top of EDIMM2.2 for
93 creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit.
94
Jagan Teki49594002021-04-26 18:23:49 +053095 i.Core MX8M Mini C.TOUCH 2.0
96 * C.TOUCH 2.0 is a general purpose Carrier board.
97 * i.Core MX8M Mini needs to mount on top of this Carrier board
98 for creating complete i.Core MX8M Mini C.TOUCH 2.0 board.
99
Marek Vasute7628752022-04-08 02:15:01 +0200100config TARGET_IMX8MM_MX8MENLO
101 bool "Support i.MX8M Mini MX8Menlo board based on Toradex Verdin SoM"
Marek Vasute7628752022-04-08 02:15:01 +0200102 select IMX8MM
103 select SUPPORT_SPL
104 select IMX8M_LPDDR4
105
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300106config TARGET_IMX8MM_PHG
107 bool "i.MX8MM PHG board"
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300108 select IMX8MM
109 select SUPPORT_SPL
110 select IMX8M_LPDDR4
111
Tim Harvey256dba02021-03-02 14:00:21 -0800112config TARGET_IMX8MM_VENICE
113 bool "Support Gateworks Venice iMX8M Mini module"
114 select IMX8MM
115 select SUPPORT_SPL
116 select IMX8M_LPDDR4
Tim Harveyd4daeaa2022-04-13 08:56:40 -0700117 select GATEWORKS_SC
118 select MISC
Tim Harvey7ba1e9d2023-06-23 09:44:59 -0700119 select FSL_CAAM
120 select ARCH_MISC_INIT
121 select SPL_CRYPTO if SPL
Tim Harveyb326d462024-03-12 12:05:43 -0700122 imply OF_UPSTREAM
Tim Harvey256dba02021-03-02 14:00:21 -0800123
Frieder Schrempf199dfd92021-09-29 16:42:42 +0200124config TARGET_KONTRON_MX8MM
125 bool "Kontron Electronics N80xx"
Frieder Schrempf199dfd92021-09-29 16:42:42 +0200126 select IMX8MM
127 select SUPPORT_SPL
128 select IMX8M_LPDDR4
Fabio Estevam75aad882022-06-09 17:13:31 -0300129 select FSL_CAAM
130 select ARCH_MISC_INIT
131 select SPL_CRYPTO if SPL
Frieder Schrempf199dfd92021-09-29 16:42:42 +0200132
Ariel D'Alessandro93add532022-04-12 10:31:38 -0300133config TARGET_IMX8MN_BSH_SMM_S2
134 bool "imx8mn-bsh-smm-s2"
Ariel D'Alessandro93add532022-04-12 10:31:38 -0300135 select IMX8MN
136 select SUPPORT_SPL
137 select IMX8M_DDR3L
138
139config TARGET_IMX8MN_BSH_SMM_S2PRO
140 bool "imx8mn-bsh-smm-s2pro"
Ariel D'Alessandro93add532022-04-12 10:31:38 -0300141 select IMX8MN
142 select SUPPORT_SPL
143 select IMX8M_DDR3L
144
Peng Fan80607bf2021-03-19 15:57:08 +0800145config TARGET_IMX8MN_EVK
146 bool "imx8mn LPDDR4 EVK board"
147 select IMX8MN
148 select SUPPORT_SPL
149 select IMX8M_LPDDR4
Gaurav Jain81113a02022-03-24 11:50:27 +0530150 select FSL_CAAM
151 select SPL_CRYPTO if SPL
Peng Fan80607bf2021-03-19 15:57:08 +0800152
Peng Fan2cae2742020-12-25 16:23:12 +0800153config TARGET_IMX8MN_DDR4_EVK
Peng Fana181afe2019-09-16 03:09:55 +0000154 bool "imx8mn DDR4 EVK board"
155 select IMX8MN
156 select SUPPORT_SPL
157 select IMX8M_DDR4
Gaurav Jain81113a02022-03-24 11:50:27 +0530158 select FSL_CAAM
159 select SPL_CRYPTO if SPL
Peng Fana181afe2019-09-16 03:09:55 +0000160
Tim Harvey1a50e742022-02-11 10:48:56 -0800161config TARGET_IMX8MN_VENICE
162 bool "Support Gateworks Venice iMX8M Nano module"
Tim Harvey1a50e742022-02-11 10:48:56 -0800163 select IMX8MN
164 select SUPPORT_SPL
165 select IMX8M_LPDDR4
Tim Harveyd4daeaa2022-04-13 08:56:40 -0700166 select GATEWORKS_SC
167 select MISC
Tim Harvey7ba1e9d2023-06-23 09:44:59 -0700168 select FSL_CAAM
169 select ARCH_MISC_INIT
170 select SPL_CRYPTO if SPL
Tim Harveyb326d462024-03-12 12:05:43 -0700171 imply OF_UPSTREAM
Tim Harvey1a50e742022-02-11 10:48:56 -0800172
Marek Vasutaa2fc532023-04-04 01:07:43 +0200173config TARGET_IMX8MP_DATA_MODUL_EDM_SBC
174 bool "Data Modul eDM SBC i.MX8M Plus"
Marek Vasutaa2fc532023-04-04 01:07:43 +0200175 select IMX8MP
176 select IMX8M_LPDDR4
177 select SUPPORT_SPL
178
Adam Forda8554812023-03-23 22:06:16 -0500179config TARGET_IMX8MP_BEACON
180 bool "imx8mm Beacon Embedded devkit"
Adam Forda8554812023-03-23 22:06:16 -0500181 select IMX8MP
182 select SUPPORT_SPL
183 select IMX8M_LPDDR4
184 select FSL_CAAM
185 select ARCH_MISC_INIT
186 select SPL_CRYPTO if SPL
187
Gilles Talis42a56352023-12-13 09:29:40 -0300188config TARGET_IMX8MP_DEBIX_MODEL_A
189 bool "Polyhex i.MX8M Plus Debix Model A SBC"
Gilles Talis42a56352023-12-13 09:29:40 -0300190 select IMX8MP
191 select IMX8M_LPDDR4
192 select SUPPORT_SPL
193
Marek Vasutf670cd72022-05-21 16:56:26 +0200194config TARGET_IMX8MP_DH_DHCOM_PDK2
195 bool "DH electronics DHCOM Premium Developer Kit (2) i.MX8M Plus"
Marek Vasutf670cd72022-05-21 16:56:26 +0200196 select IMX8MP
197 select IMX8M_LPDDR4
198 select SUPPORT_SPL
199
Manoj Sai38b4c762022-08-26 18:03:37 +0530200config TARGET_IMX8MP_ICORE_MX8MP
201 bool "Engicam i.Core MX8M Plus SOM"
Manoj Sai38b4c762022-08-26 18:03:37 +0530202 select IMX8MP
203 select IMX8M_LPDDR4
204 select SUPPORT_SPL
205 help
206 i.Core MX8M Plus is an EDIMM SOM based on NXP i.MX8MP.
207
208 i.Core MX8M Plus EDIMM2.2:
209 * EDIMM2.2 is a Form Factor Capacitive Evaluation Board.
210 * i.Core MX8M Plus needs to mount on top of EDIMM2.2 for
211 creating complete i.Core MX8M Plus EDIMM2.2 Starter Kit.
212
Peng Fanc47e09d2019-12-30 17:46:21 +0800213config TARGET_IMX8MP_EVK
214 bool "imx8mp LPDDR4 EVK board"
215 select IMX8MP
216 select SUPPORT_SPL
217 select IMX8M_LPDDR4
Gaurav Jain81113a02022-03-24 11:50:27 +0530218 select FSL_CAAM
219 select ARCH_MISC_INIT
220 select SPL_CRYPTO if SPL
Peng Fanc47e09d2019-12-30 17:46:21 +0800221
Tim Harvey0f5717f2022-04-13 11:31:09 -0700222config TARGET_IMX8MP_VENICE
223 bool "Support Gateworks Venice iMX8M Plus module"
Tim Harvey0f5717f2022-04-13 11:31:09 -0700224 select IMX8MP
225 select SUPPORT_SPL
226 select IMX8M_LPDDR4
227 select GATEWORKS_SC
228 select MISC
Tim Harvey7ba1e9d2023-06-23 09:44:59 -0700229 select FSL_CAAM
230 select ARCH_MISC_INIT
231 select SPL_CRYPTO if SPL
Tim Harveyb326d462024-03-12 12:05:43 -0700232 imply OF_UPSTREAM
Tim Harvey0f5717f2022-04-13 11:31:09 -0700233
Marek Vasut0f97ed02020-04-29 20:09:08 +0200234config TARGET_PICO_IMX8MQ
235 bool "Support Technexion Pico iMX8MQ"
236 select IMX8MQ
237 select IMX8M_LPDDR4
238
Ariel D'Alessandrob6d5e132021-11-23 13:33:30 -0300239config TARGET_IMX8MN_VAR_SOM
Hugo Villeneuvef1afe892023-10-17 10:25:00 -0400240 bool "Variscite imx8mn_var_som"
Ariel D'Alessandrob6d5e132021-11-23 13:33:30 -0300241 select IMX8MN
242 select SUPPORT_SPL
243 select IMX8M_DDR4
Hugo Villeneuved3cdac42023-05-25 17:02:25 -0400244 select MISC
245 select I2C_EEPROM
Hugo Villeneuvea923b4e2023-05-25 17:02:26 -0400246 select DM_ETH_PHY
Hugo Villeneuve54553212023-05-25 17:02:28 -0400247 select NVMEM
Ariel D'Alessandrob6d5e132021-11-23 13:33:30 -0300248
Heiko Thiery05a3d952022-01-31 17:30:45 +0100249config TARGET_KONTRON_PITX_IMX8M
250 bool "Support Kontron pITX-imx8m"
Heiko Thiery05a3d952022-01-31 17:30:45 +0100251 select IMX8MQ
252 select IMX8M_LPDDR4
253
Igor Opaniuk309e65b2020-01-28 14:42:25 +0100254config TARGET_VERDIN_IMX8MM
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +0200255 bool "Support Toradex Verdin iMX8M Mini module"
256 select IMX8MM
257 select SUPPORT_SPL
258 select IMX8M_LPDDR4
Igor Opaniuk309e65b2020-01-28 14:42:25 +0100259
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100260config TARGET_VERDIN_IMX8MP
261 bool "Support Toradex Verdin iMX8M Plus module"
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100262 select IMX8MP
263 select SUPPORT_SPL
264 select IMX8M_LPDDR4
265
Adam Ford14879032020-05-03 08:11:33 -0500266config TARGET_IMX8MM_BEACON
267 bool "imx8mm Beacon Embedded devkit"
268 select IMX8MM
269 select SUPPORT_SPL
270 select IMX8M_LPDDR4
Adam Ford4eb55c12022-11-19 09:11:03 -0600271 select FSL_CAAM
272 select ARCH_MISC_INIT
273 select SPL_CRYPTO if SPL
Adam Ford14879032020-05-03 08:11:33 -0500274
Adam Fordd42247d2020-12-11 06:01:46 -0600275config TARGET_IMX8MN_BEACON
276 bool "imx8mn Beacon Embedded devkit"
277 select IMX8MN
278 select SUPPORT_SPL
279 select IMX8M_LPDDR4
Adam Ford4eb55c12022-11-19 09:11:03 -0600280 select FSL_CAAM
281 select ARCH_MISC_INIT
282 select SPL_CRYPTO if SPL
Adam Fordd42247d2020-12-11 06:01:46 -0600283
Teresa Remmet82750c22020-08-21 09:55:53 +0200284config TARGET_PHYCORE_IMX8MM
285 bool "PHYTEC PHYCORE i.MX8MM"
286 select IMX8MM
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +0200287 select SUPPORT_SPL
Teresa Remmet82750c22020-08-21 09:55:53 +0200288 select IMX8M_LPDDR4
Teresa Remmet30fb74d2021-01-13 16:28:09 +0100289
290config TARGET_PHYCORE_IMX8MP
291 bool "PHYTEC PHYCORE i.MX8MP"
292 select IMX8MP
Marcel Ziswiler7f2e2282021-10-09 22:41:03 +0200293 select SUPPORT_SPL
Teresa Remmet30fb74d2021-01-13 16:28:09 +0100294 select IMX8M_LPDDR4
Ying-Chun Liu (PaulLiu)a97107f2021-04-22 04:50:31 +0800295
296config TARGET_IMX8MM_CL_IOT_GATE
297 bool "CompuLab iot-gate-imx8"
Ying-Chun Liu (PaulLiu)a97107f2021-04-22 04:50:31 +0800298 select IMX8MM
299 select SUPPORT_SPL
300 select IMX8M_LPDDR4
Ying-Chun Liu (PaulLiu)a96ed8d2021-11-05 17:13:25 +0800301 select SUPPORT_EXTENSION_SCAN
Fabio Estevamc1e26342021-08-23 21:11:09 -0300302
303config TARGET_IMX8MM_CL_IOT_GATE_OPTEE
304 bool "CompuLab iot-gate-imx8 with optee support"
Fabio Estevamc1e26342021-08-23 21:11:09 -0300305 select IMX8MM
306 select SUPPORT_SPL
307 select IMX8M_LPDDR4
Ying-Chun Liu (PaulLiu)a96ed8d2021-11-05 17:13:25 +0800308 select SUPPORT_EXTENSION_SCAN
Ying-Chun Liu (PaulLiu)728f1922022-02-08 09:22:38 +0800309
310config TARGET_IMX8MP_RSB3720A1_4G
311 bool "Support i.MX8MP RSB3720A1 4G"
Ying-Chun Liu (PaulLiu)728f1922022-02-08 09:22:38 +0800312 select IMX8MP
313 select SUPPORT_SPL
314 select IMX8M_LPDDR4
315
316config TARGET_IMX8MP_RSB3720A1_6G
317 bool "Support i.MX8MP RSB3720A1 6G"
Ying-Chun Liu (PaulLiu)728f1922022-02-08 09:22:38 +0800318 select IMX8MP
319 select SUPPORT_SPL
320 select IMX8M_LPDDR4
Angus Ainslie3f8667c2022-08-25 06:46:02 -0700321
Martyn Welch56f96e62022-10-25 10:55:02 +0100322config TARGET_MSC_SM2S_IMX8MP
323 bool "MSC SMARC2 i.MX8MPLUS"
Martyn Welch56f96e62022-10-25 10:55:02 +0100324 select IMX8MP
325 select SUPPORT_SPL
326 select IMX8M_LPDDR4
327
Angus Ainslie3f8667c2022-08-25 06:46:02 -0700328config TARGET_LIBREM5
329 bool "Purism Librem5 Phone"
Angus Ainslie3f8667c2022-08-25 06:46:02 -0700330 select IMX8MQ
331 select SUPPORT_SPL
332 select IMX8M_LPDDR4
333
Peng Fanaeb9c062018-11-20 10:20:00 +0000334endchoice
335
Ying-Chun Liu (PaulLiu)728f1922022-02-08 09:22:38 +0800336source "board/advantech/imx8mp_rsb3720a1/Kconfig"
Ilko Iliev2b4ed302021-04-23 09:45:52 +0200337source "board/beacon/imx8mm/Kconfig"
338source "board/beacon/imx8mn/Kconfig"
Adam Forda8554812023-03-23 22:06:16 -0500339source "board/beacon/imx8mp/Kconfig"
Ariel D'Alessandro93add532022-04-12 10:31:38 -0300340source "board/bsh/imx8mn_smm_s2/Kconfig"
Fabio Estevam2ef69ef2023-01-10 17:18:08 -0300341source "board/cloos/imx8mm_phg/Kconfig"
Ilko Iliev2b4ed302021-04-23 09:45:52 +0200342source "board/compulab/imx8mm-cl-iot-gate/Kconfig"
Marek Vasut0b16ba52022-04-12 17:26:01 +0200343source "board/data_modul/imx8mm_edm_sbc/Kconfig"
Marek Vasutaa2fc532023-04-04 01:07:43 +0200344source "board/data_modul/imx8mp_edm_sbc/Kconfig"
Marek Vasutf670cd72022-05-21 16:56:26 +0200345source "board/dhelectronics/dh_imx8mp/Kconfig"
Jagan Teki35049fe2021-04-26 18:23:48 +0530346source "board/engicam/imx8mm/Kconfig"
Manoj Sai38b4c762022-08-26 18:03:37 +0530347source "board/engicam/imx8mp/Kconfig"
Peng Fanaeb9c062018-11-20 10:20:00 +0000348source "board/freescale/imx8mq_evk/Kconfig"
Peng Fanf9220172019-08-27 06:26:08 +0000349source "board/freescale/imx8mm_evk/Kconfig"
Peng Fana181afe2019-09-16 03:09:55 +0000350source "board/freescale/imx8mn_evk/Kconfig"
Peng Fanc47e09d2019-12-30 17:46:21 +0800351source "board/freescale/imx8mp_evk/Kconfig"
Tim Harvey256dba02021-03-02 14:00:21 -0800352source "board/gateworks/venice/Kconfig"
Alifer Moraesa0a29482020-03-06 07:46:33 -0300353source "board/google/imx8mq_phanbell/Kconfig"
Heiko Thiery05a3d952022-01-31 17:30:45 +0100354source "board/kontron/pitx_imx8m/Kconfig"
Frieder Schrempf199dfd92021-09-29 16:42:42 +0200355source "board/kontron/sl-mx8mm/Kconfig"
Marek Vasute7628752022-04-08 02:15:01 +0200356source "board/menlo/mx8menlo/Kconfig"
Martyn Welch56f96e62022-10-25 10:55:02 +0100357source "board/msc/sm2s_imx8mp/Kconfig"
Patrick Wildt53d0f0a2023-02-06 00:48:26 +0100358source "board/mntre/imx8mq_reform2/Kconfig"
Teresa Remmet82750c22020-08-21 09:55:53 +0200359source "board/phytec/phycore_imx8mm/Kconfig"
Teresa Remmet30fb74d2021-01-13 16:28:09 +0100360source "board/phytec/phycore_imx8mp/Kconfig"
Gilles Talis42a56352023-12-13 09:29:40 -0300361source "board/polyhex/imx8mp_debix_model_a/Kconfig"
Angus Ainslie3f8667c2022-08-25 06:46:02 -0700362source "board/purism/librem5/Kconfig"
Ilko Iliev2b4ed302021-04-23 09:45:52 +0200363source "board/ronetix/imx8mq-cm/Kconfig"
364source "board/technexion/pico-imx8mq/Kconfig"
Ariel D'Alessandrob6d5e132021-11-23 13:33:30 -0300365source "board/variscite/imx8mn_var_som/Kconfig"
Ilko Iliev2b4ed302021-04-23 09:45:52 +0200366source "board/toradex/verdin-imx8mm/Kconfig"
Marcel Ziswiler36a439d2022-02-07 11:54:13 +0100367source "board/toradex/verdin-imx8mp/Kconfig"
Peng Fanaeb9c062018-11-20 10:20:00 +0000368
Peng Fan39945c12018-11-20 10:19:25 +0000369endif