]>
Commit | Line | Data |
---|---|---|
7d1a1065 MZ |
1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
2 | /* | |
3 | * Copyright 2023 Toradex | |
4 | */ | |
5 | ||
6 | #include "k3-binman.dtsi" | |
7 | ||
7d1a1065 MZ |
8 | #ifdef CONFIG_TARGET_VERDIN_AM62_R5 |
9 | ||
10 | &binman { | |
11 | tiboot3-am62x-hs-verdin.bin { | |
12 | filename = "tiboot3-am62x-hs-verdin.bin"; | |
13 | ti-secure-rom { | |
14 | content = <&u_boot_spl>, <&ti_fs_enc>, <&combined_tifs_cfg>, | |
15 | <&combined_dm_cfg>, <&sysfw_inner_cert>; | |
16 | combined; | |
17 | dm-data; | |
18 | sysfw-inner-cert; | |
19 | keyfile = "custMpk.pem"; | |
20 | sw-rev = <1>; | |
21 | content-sbl = <&u_boot_spl>; | |
22 | content-sysfw = <&ti_fs_enc>; | |
23 | content-sysfw-data = <&combined_tifs_cfg>; | |
24 | content-sysfw-inner-cert = <&sysfw_inner_cert>; | |
25 | content-dm-data = <&combined_dm_cfg>; | |
26 | load = <0x43c00000>; | |
27 | load-sysfw = <0x40000>; | |
28 | load-sysfw-data = <0x67000>; | |
29 | load-dm-data = <0x43c3a800>; | |
30 | }; | |
31 | u_boot_spl: u-boot-spl { | |
32 | no-expanded; | |
33 | }; | |
34 | ti_fs_enc: ti-fs-enc.bin { | |
35 | filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin"; | |
36 | type = "blob-ext"; | |
37 | optional; | |
38 | }; | |
39 | combined_tifs_cfg: combined-tifs-cfg.bin { | |
40 | filename = "combined-tifs-cfg.bin"; | |
41 | type = "blob-ext"; | |
42 | }; | |
43 | sysfw_inner_cert: sysfw-inner-cert { | |
44 | filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin"; | |
45 | type = "blob-ext"; | |
46 | optional; | |
47 | }; | |
48 | combined_dm_cfg: combined-dm-cfg.bin { | |
49 | filename = "combined-dm-cfg.bin"; | |
50 | type = "blob-ext"; | |
51 | }; | |
52 | }; | |
53 | }; | |
54 | ||
55 | &binman { | |
56 | tiboot3-am62x-hs-fs-verdin.bin { | |
57 | filename = "tiboot3-am62x-hs-fs-verdin.bin"; | |
58 | symlink = "tiboot3.bin"; | |
59 | ti-secure-rom { | |
60 | content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>, | |
61 | <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>; | |
62 | combined; | |
63 | dm-data; | |
64 | sysfw-inner-cert; | |
65 | keyfile = "custMpk.pem"; | |
66 | sw-rev = <1>; | |
67 | content-sbl = <&u_boot_spl_fs>; | |
68 | content-sysfw = <&ti_fs_enc_fs>; | |
69 | content-sysfw-data = <&combined_tifs_cfg_fs>; | |
70 | content-sysfw-inner-cert = <&sysfw_inner_cert_fs>; | |
71 | content-dm-data = <&combined_dm_cfg_fs>; | |
72 | load = <0x43c00000>; | |
73 | load-sysfw = <0x40000>; | |
74 | load-sysfw-data = <0x67000>; | |
75 | load-dm-data = <0x43c3a800>; | |
76 | }; | |
77 | u_boot_spl_fs: u-boot-spl { | |
78 | no-expanded; | |
79 | }; | |
80 | ti_fs_enc_fs: ti-fs-enc.bin { | |
81 | filename = "ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin"; | |
82 | type = "blob-ext"; | |
83 | optional; | |
84 | }; | |
85 | combined_tifs_cfg_fs: combined-tifs-cfg.bin { | |
86 | filename = "combined-tifs-cfg.bin"; | |
87 | type = "blob-ext"; | |
88 | }; | |
89 | sysfw_inner_cert_fs: sysfw-inner-cert { | |
90 | filename = "ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin"; | |
91 | type = "blob-ext"; | |
92 | optional; | |
93 | }; | |
94 | combined_dm_cfg_fs: combined-dm-cfg.bin { | |
95 | filename = "combined-dm-cfg.bin"; | |
96 | type = "blob-ext"; | |
97 | }; | |
98 | }; | |
99 | }; | |
100 | ||
101 | &binman { | |
102 | tiboot3-am62x-gp-verdin.bin { | |
103 | filename = "tiboot3-am62x-gp-verdin.bin"; | |
104 | ti-secure-rom { | |
105 | content = <&u_boot_spl_unsigned>, <&ti_fs_gp>, | |
106 | <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>; | |
107 | combined; | |
108 | dm-data; | |
109 | content-sbl = <&u_boot_spl_unsigned>; | |
110 | load = <0x43c00000>; | |
111 | content-sysfw = <&ti_fs_gp>; | |
112 | load-sysfw = <0x40000>; | |
113 | content-sysfw-data = <&combined_tifs_cfg_gp>; | |
114 | load-sysfw-data = <0x67000>; | |
115 | content-dm-data = <&combined_dm_cfg_gp>; | |
116 | load-dm-data = <0x43c3a800>; | |
117 | sw-rev = <1>; | |
118 | keyfile = "ti-degenerate-key.pem"; | |
119 | }; | |
120 | u_boot_spl_unsigned: u-boot-spl { | |
121 | no-expanded; | |
122 | }; | |
123 | ti_fs_gp: ti-fs-gp.bin { | |
124 | filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin"; | |
125 | type = "blob-ext"; | |
126 | optional; | |
127 | }; | |
128 | combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin { | |
129 | filename = "combined-tifs-cfg.bin"; | |
130 | type = "blob-ext"; | |
131 | }; | |
132 | combined_dm_cfg_gp: combined-dm-cfg-gp.bin { | |
133 | filename = "combined-dm-cfg.bin"; | |
134 | type = "blob-ext"; | |
135 | }; | |
136 | }; | |
137 | }; | |
138 | ||
139 | #endif /* CONFIG_TARGET_VERDIN_AM62_R5 */ | |
140 | ||
141 | #ifdef CONFIG_TARGET_VERDIN_AM62_A53 | |
142 | ||
c07bba7a | 143 | #define SPL_VERDIN_AM62_DTB "spl/dts/ti/k3-am625-verdin-wifi-dev.dtb" |
7d1a1065 MZ |
144 | #define VERDIN_AM62_DTB "u-boot.dtb" |
145 | ||
146 | &binman { | |
147 | ti-dm { | |
148 | filename = "ti-dm.bin"; | |
149 | blob-ext { | |
150 | filename = "ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f"; | |
151 | }; | |
152 | }; | |
faa6c619 PP |
153 | |
154 | tifsstub-hs { | |
155 | filename = "tifsstub.bin_hs"; | |
156 | ti-secure-rom { | |
157 | content = <&tifsstub_hs_cert>; | |
158 | core = "secure"; | |
159 | load = <0x40000>; | |
160 | sw-rev = <CONFIG_K3_X509_SWRV>; | |
161 | keyfile = "custMpk.pem"; | |
162 | countersign; | |
163 | tifsstub; | |
164 | }; | |
165 | tifsstub_hs_cert: tifsstub-hs-cert.bin { | |
166 | filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin"; | |
167 | type = "blob-ext"; | |
168 | optional; | |
169 | }; | |
170 | tifsstub_hs_enc: tifsstub-hs-enc.bin { | |
171 | filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin"; | |
172 | type = "blob-ext"; | |
173 | optional; | |
174 | }; | |
175 | }; | |
176 | ||
177 | tifsstub-fs { | |
178 | filename = "tifsstub.bin_fs"; | |
179 | tifsstub_fs_cert: tifsstub-fs-cert.bin { | |
180 | filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin"; | |
181 | type = "blob-ext"; | |
182 | optional; | |
183 | }; | |
184 | tifsstub_fs_enc: tifsstub-fs-enc.bin { | |
185 | filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin"; | |
186 | type = "blob-ext"; | |
187 | optional; | |
188 | }; | |
189 | ||
190 | }; | |
191 | ||
192 | tifsstub-gp { | |
193 | filename = "tifsstub.bin_gp"; | |
194 | ti-secure-rom { | |
195 | content = <&tifsstub_gp>; | |
196 | core = "secure"; | |
197 | load = <0x60000>; | |
198 | sw-rev = <CONFIG_K3_X509_SWRV>; | |
199 | keyfile = "ti-degenerate-key.pem"; | |
200 | tifsstub; | |
201 | }; | |
202 | tifsstub_gp: tifsstub-gp.bin { | |
203 | filename = "ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin"; | |
204 | type = "blob-ext"; | |
205 | optional; | |
206 | }; | |
207 | }; | |
208 | ||
7d1a1065 | 209 | ti-spl { |
4509b9ff | 210 | insert-template = <&ti_spl_template>; |
7d1a1065 MZ |
211 | |
212 | fit { | |
7d1a1065 MZ |
213 | |
214 | images { | |
faa6c619 PP |
215 | tifsstub-hs { |
216 | description = "TIFSSTUB"; | |
217 | type = "firmware"; | |
218 | arch = "arm32"; | |
219 | compression = "none"; | |
220 | os = "tifsstub-hs"; | |
221 | load = <0x9dc00000>; | |
222 | entry = <0x9dc00000>; | |
223 | blob-ext { | |
224 | filename = "tifsstub.bin_hs"; | |
225 | }; | |
226 | }; | |
227 | ||
228 | tifsstub-fs { | |
229 | description = "TIFSSTUB"; | |
230 | type = "firmware"; | |
231 | arch = "arm32"; | |
232 | compression = "none"; | |
233 | os = "tifsstub-fs"; | |
234 | load = <0x9dc00000>; | |
235 | entry = <0x9dc00000>; | |
236 | blob-ext { | |
237 | filename = "tifsstub.bin_fs"; | |
238 | }; | |
239 | }; | |
240 | ||
241 | tifsstub-gp { | |
242 | description = "TIFSSTUB"; | |
243 | type = "firmware"; | |
244 | arch = "arm32"; | |
245 | compression = "none"; | |
246 | os = "tifsstub-gp"; | |
247 | load = <0x9dc00000>; | |
248 | entry = <0x9dc00000>; | |
249 | blob-ext { | |
250 | filename = "tifsstub.bin_gp"; | |
251 | }; | |
252 | }; | |
253 | ||
7d1a1065 | 254 | dm { |
7d1a1065 MZ |
255 | ti-secure { |
256 | content = <&dm>; | |
257 | keyfile = "custMpk.pem"; | |
258 | }; | |
3ef977e0 | 259 | dm: ti-dm { |
7d1a1065 MZ |
260 | filename = "ti-dm.bin"; |
261 | }; | |
262 | }; | |
263 | ||
7d1a1065 MZ |
264 | fdt-0 { |
265 | description = "k3-am625-verdin-wifi-dev"; | |
266 | type = "flat_dt"; | |
267 | arch = "arm"; | |
268 | compression = "none"; | |
269 | ti-secure { | |
270 | content = <&spl_verdin_am62_dtb>; | |
271 | keyfile = "custMpk.pem"; | |
272 | }; | |
273 | spl_verdin_am62_dtb: blob-ext { | |
274 | filename = SPL_VERDIN_AM62_DTB; | |
275 | }; | |
276 | }; | |
277 | }; | |
278 | ||
279 | configurations { | |
280 | default = "conf-0"; | |
281 | ||
282 | conf-0 { | |
283 | description = "k3-am625-verdin-wifi-dev"; | |
284 | firmware = "atf"; | |
faa6c619 PP |
285 | loadables = "tee", "tifsstub-hs", "tifsstub-fs", |
286 | "tifsstub-gp", "dm", "spl"; | |
7d1a1065 MZ |
287 | fdt = "fdt-0"; |
288 | }; | |
289 | }; | |
290 | }; | |
291 | }; | |
292 | }; | |
293 | ||
294 | &binman { | |
295 | u-boot { | |
4509b9ff | 296 | insert-template = <&u_boot_template>; |
7d1a1065 MZ |
297 | |
298 | fit { | |
7d1a1065 MZ |
299 | images { |
300 | uboot { | |
4509b9ff | 301 | description = "U-Boot fot AM625 Verdin Board"; |
7d1a1065 MZ |
302 | }; |
303 | ||
304 | fdt-0 { | |
305 | description = "k3-am625-verdin-wifi-dev"; | |
306 | type = "flat_dt"; | |
307 | arch = "arm"; | |
308 | compression = "none"; | |
309 | ti-secure { | |
310 | content = <&verdin_am62_dtb>; | |
311 | keyfile = "custMpk.pem"; | |
312 | }; | |
313 | verdin_am62_dtb: blob-ext { | |
314 | filename = VERDIN_AM62_DTB; | |
315 | }; | |
316 | hash { | |
317 | algo = "crc32"; | |
318 | }; | |
319 | }; | |
320 | }; | |
321 | ||
322 | configurations { | |
323 | default = "conf-0"; | |
324 | ||
325 | conf-0 { | |
326 | description = "k3-am625-verdin-wifi-dev"; | |
327 | firmware = "uboot"; | |
328 | loadables = "uboot"; | |
329 | fdt = "fdt-0"; | |
330 | }; | |
331 | }; | |
332 | }; | |
333 | }; | |
334 | }; | |
335 | ||
336 | &binman { | |
337 | ti-spl_unsigned { | |
4509b9ff | 338 | insert-template = <&ti_spl_unsigned_template>; |
7d1a1065 MZ |
339 | |
340 | fit { | |
7d1a1065 | 341 | images { |
faa6c619 PP |
342 | tifsstub-hs { |
343 | description = "tifsstub"; | |
344 | type = "firmware"; | |
345 | arch = "arm32"; | |
346 | compression = "none"; | |
347 | os = "tifsstub-hs"; | |
348 | load = <0x9dc00000>; | |
349 | entry = <0x9dc00000>; | |
350 | blob-ext { | |
351 | filename = "tifsstub.bin_hs"; | |
352 | }; | |
353 | }; | |
354 | ||
355 | tifsstub-fs { | |
356 | description = "tifsstub"; | |
357 | type = "firmware"; | |
358 | arch = "arm32"; | |
359 | compression = "none"; | |
360 | os = "tifsstub-fs"; | |
361 | load = <0x9dc00000>; | |
362 | entry = <0x9dc00000>; | |
363 | blob-ext { | |
364 | filename = "tifsstub.bin_fs"; | |
365 | }; | |
366 | }; | |
367 | ||
368 | tifsstub-gp { | |
369 | description = "tifsstub"; | |
370 | type = "firmware"; | |
371 | arch = "arm32"; | |
372 | compression = "none"; | |
373 | os = "tifsstub-gp"; | |
374 | load = <0x9dc00000>; | |
375 | entry = <0x9dc00000>; | |
376 | blob-ext { | |
377 | filename = "tifsstub.bin_gp"; | |
378 | }; | |
379 | }; | |
380 | ||
7d1a1065 | 381 | dm { |
3ef977e0 | 382 | ti-dm { |
7d1a1065 MZ |
383 | filename = "ti-dm.bin"; |
384 | }; | |
385 | }; | |
386 | ||
7d1a1065 MZ |
387 | fdt-0 { |
388 | description = "k3-am625-verdin-wifi-dev"; | |
389 | type = "flat_dt"; | |
390 | arch = "arm"; | |
391 | compression = "none"; | |
392 | blob { | |
393 | filename = SPL_VERDIN_AM62_DTB; | |
394 | }; | |
395 | }; | |
396 | }; | |
397 | ||
398 | configurations { | |
399 | default = "conf-0"; | |
400 | ||
401 | conf-0 { | |
402 | description = "k3-am625-verdin-wifi-dev"; | |
403 | firmware = "atf"; | |
faa6c619 PP |
404 | loadables = "tee", "tifsstub-hs", "tifsstub-fs", |
405 | "tifsstub-gp", "dm", "spl"; | |
7d1a1065 MZ |
406 | fdt = "fdt-0"; |
407 | }; | |
408 | }; | |
409 | }; | |
410 | }; | |
411 | }; | |
412 | ||
413 | &binman { | |
414 | u-boot_unsigned { | |
4509b9ff | 415 | insert-template = <&u_boot_unsigned_template>; |
7d1a1065 MZ |
416 | |
417 | fit { | |
7d1a1065 MZ |
418 | images { |
419 | uboot { | |
4509b9ff | 420 | description = "U-Boot for AM625 Verdin Board"; |
7d1a1065 MZ |
421 | }; |
422 | ||
423 | fdt-0 { | |
424 | description = "k3-am625-verdin-wifi-dev"; | |
425 | type = "flat_dt"; | |
426 | arch = "arm"; | |
427 | compression = "none"; | |
428 | blob { | |
429 | filename = VERDIN_AM62_DTB; | |
430 | }; | |
431 | hash { | |
432 | algo = "crc32"; | |
433 | }; | |
434 | }; | |
435 | }; | |
436 | ||
437 | configurations { | |
438 | default = "conf-0"; | |
439 | ||
440 | conf-0 { | |
441 | description = "k3-am625-verdin-wifi-dev"; | |
442 | firmware = "uboot"; | |
443 | loadables = "uboot"; | |
444 | fdt = "fdt-0"; | |
445 | }; | |
446 | }; | |
447 | }; | |
448 | }; | |
449 | }; | |
450 | ||
451 | #endif /* CONFIG_TARGET_VERDIN_AM62_A53 */ |