blob: eddf05594d54b7c6d6c9f3f6653d84c5414d0b4d [file] [log] [blame]
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6#include "k3-binman.dtsi"
7
8#ifdef CONFIG_TARGET_AM625_R5_EVM
9
10&binman {
11 tiboot3-am62x-hs-evm.bin {
12 filename = "tiboot3-am62x-hs-evm.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-evm.bin {
57 filename = "tiboot3-am62x-hs-fs-evm.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-evm.bin {
103 filename = "tiboot3-am62x-gp-evm.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
140#endif
141
142#ifdef CONFIG_TARGET_AM625_A53_EVM
143
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530144#define SPL_AM625_SK_DTB "spl/dts/k3-am625-sk.dtb"
Manorit Chawdhry64ebddb2023-07-14 11:22:38 +0530145#define AM625_SK_DTB "u-boot.dtb"
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530146
147&binman {
148 ti-dm {
149 filename = "ti-dm.bin";
150 blob-ext {
151 filename = "ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
Neha Malcom Francisdf41fc62024-05-29 13:18:49 +0530152 optional;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530153 };
154 };
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530155
156 tifsstub-hs {
157 filename = "tifsstub.bin_hs";
158 ti-secure-rom {
159 content = <&tifsstub_hs_cert>;
160 core = "secure";
161 load = <0x40000>;
162 sw-rev = <CONFIG_K3_X509_SWRV>;
163 keyfile = "custMpk.pem";
164 countersign;
165 tifsstub;
166 };
167 tifsstub_hs_cert: tifsstub-hs-cert.bin {
168 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin";
169 type = "blob-ext";
170 optional;
171 };
172 tifsstub_hs_enc: tifsstub-hs-enc.bin {
173 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin";
174 type = "blob-ext";
175 optional;
176 };
177 };
178
179 tifsstub-fs {
180 filename = "tifsstub.bin_fs";
181 tifsstub_fs_cert: tifsstub-fs-cert.bin {
182 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-cert.bin";
183 type = "blob-ext";
184 optional;
185 };
186 tifsstub_fs_enc: tifsstub-fs-enc.bin {
187 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-hs-enc.bin";
188 type = "blob-ext";
189 optional;
190 };
191
192 };
193
194 tifsstub-gp {
195 filename = "tifsstub.bin_gp";
196 ti-secure-rom {
197 content = <&tifsstub_gp>;
198 core = "secure";
199 load = <0x60000>;
200 sw-rev = <CONFIG_K3_X509_SWRV>;
201 keyfile = "ti-degenerate-key.pem";
202 tifsstub;
203 };
204 tifsstub_gp: tifsstub-gp.bin {
205 filename = "ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin";
206 type = "blob-ext";
207 optional;
208 };
209 };
210
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530211 ti-spl {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530212 insert-template = <&ti_spl_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530213
214 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530215 images {
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530216
217 tifsstub-hs {
218 description = "TIFSSTUB";
219 type = "firmware";
220 arch = "arm32";
221 compression = "none";
222 os = "tifsstub-hs";
223 load = <0x9dc00000>;
224 entry = <0x9dc00000>;
225 blob-ext {
226 filename = "tifsstub.bin_hs";
227 };
228 };
229
230 tifsstub-fs {
231 description = "TIFSSTUB";
232 type = "firmware";
233 arch = "arm32";
234 compression = "none";
235 os = "tifsstub-fs";
236 load = <0x9dc00000>;
237 entry = <0x9dc00000>;
238 blob-ext {
239 filename = "tifsstub.bin_fs";
240 };
241 };
242
243 tifsstub-gp {
244 description = "TIFSSTUB";
245 type = "firmware";
246 arch = "arm32";
247 compression = "none";
248 os = "tifsstub-gp";
249 load = <0x9dc00000>;
250 entry = <0x9dc00000>;
251 blob-ext {
252 filename = "tifsstub.bin_gp";
253 };
254 };
255
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530256 dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530257 ti-secure {
258 content = <&dm>;
259 keyfile = "custMpk.pem";
260 };
Neha Malcom Francis82378212023-12-05 15:12:19 +0530261 dm: ti-dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530262 filename = "ti-dm.bin";
263 };
264 };
265
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530266 fdt-0 {
267 description = "k3-am625-sk";
268 type = "flat_dt";
269 arch = "arm";
270 compression = "none";
271 ti-secure {
272 content = <&spl_am625_sk_dtb>;
273 keyfile = "custMpk.pem";
274 };
275 spl_am625_sk_dtb: blob-ext {
276 filename = SPL_AM625_SK_DTB;
277 };
278
279 };
280
281 };
282
283 configurations {
284 default = "conf-0";
285
286 conf-0 {
287 description = "k3-am625-sk";
288 firmware = "atf";
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530289 loadables = "tee", "tifsstub-hs", "tifsstub-fs",
290 "tifsstub-gp", "dm", "spl";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530291 fdt = "fdt-0";
292 };
293 };
294 };
295 };
296};
297
298&binman {
299 u-boot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530300 insert-template = <&u_boot_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530301
302 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530303 images {
304 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530305 description = "U-Boot for AM625 Board";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530306 };
307
308 fdt-0 {
309 description = "k3-am625-sk";
310 type = "flat_dt";
311 arch = "arm";
312 compression = "none";
313 ti-secure {
314 content = <&am625_sk_dtb>;
315 keyfile = "custMpk.pem";
316 };
317 am625_sk_dtb: blob-ext {
318 filename = AM625_SK_DTB;
319 };
320 hash {
321 algo = "crc32";
322 };
323 };
324 };
325
326 configurations {
327 default = "conf-0";
328
329 conf-0 {
330 description = "k3-am625-sk";
331 firmware = "uboot";
332 loadables = "uboot";
333 fdt = "fdt-0";
334 };
335
336 };
337 };
338 };
339};
340
341&binman {
342 ti-spl_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530343 insert-template = <&ti_spl_unsigned_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530344
345 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530346 images {
347
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530348 tifsstub-hs {
349 description = "tifsstub";
350 type = "firmware";
351 arch = "arm32";
352 compression = "none";
353 os = "tifsstub-hs";
354 load = <0x9dc00000>;
355 entry = <0x9dc00000>;
356 blob-ext {
357 filename = "tifsstub.bin_hs";
358 };
359 };
360
361 tifsstub-fs {
362 description = "tifsstub";
363 type = "firmware";
364 arch = "arm32";
365 compression = "none";
366 os = "tifsstub-fs";
367 load = <0x9dc00000>;
368 entry = <0x9dc00000>;
369 blob-ext {
370 filename = "tifsstub.bin_fs";
371 };
372 };
373
374 tifsstub-gp {
375 description = "tifsstub";
376 type = "firmware";
377 arch = "arm32";
378 compression = "none";
379 os = "tifsstub-gp";
380 load = <0x9dc00000>;
381 entry = <0x9dc00000>;
382 blob-ext {
383 filename = "tifsstub.bin_gp";
384 };
385 };
386
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530387 dm {
Neha Malcom Francis82378212023-12-05 15:12:19 +0530388 ti-dm {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530389 filename = "ti-dm.bin";
390 };
391 };
392
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530393 fdt-0 {
394 description = "k3-am625-sk";
395 type = "flat_dt";
396 arch = "arm";
397 compression = "none";
Nishanth Menonc3083d62023-08-25 13:03:02 -0500398 spl_am625_sk_dtb_unsigned: blob {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530399 filename = SPL_AM625_SK_DTB;
400 };
401 };
402 };
403
404 configurations {
405 default = "conf-0";
406
407 conf-0 {
408 description = "k3-am625-sk";
409 firmware = "atf";
Kamlesh Gurudasani977c09e2024-04-03 17:33:10 +0530410 loadables = "tee", "tifsstub-hs", "tifsstub-fs",
411 "tifsstub-gp", "dm", "spl";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530412 fdt = "fdt-0";
413 };
414 };
415 };
416 };
417};
418
419&binman {
420 u-boot_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530421 insert-template = <&u_boot_unsigned_template>;
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530422
423 fit {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530424 images {
425 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530426 description = "U-Boot for AM625 Board";
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530427 };
428
429 fdt-0 {
430 description = "k3-am625-sk";
431 type = "flat_dt";
432 arch = "arm";
433 compression = "none";
Nishanth Menonc3083d62023-08-25 13:03:02 -0500434 am625_sk_dtb_unsigned: blob {
Neha Malcom Francis8f8f4fc2023-07-22 00:14:38 +0530435 filename = AM625_SK_DTB;
436 };
437 hash {
438 algo = "crc32";
439 };
440 };
441 };
442
443 configurations {
444 default = "conf-0";
445
446 conf-0 {
447 description = "k3-am625-sk";
448 firmware = "uboot";
449 loadables = "uboot";
450 fdt = "fdt-0";
451 };
452 };
453 };
454 };
455};
456#endif