blob: 3922007b3b7a495f3a27e3b85cdf9c66ceae045a [file] [log] [blame]
Neha Malcom Francis9409fb62023-07-22 00:14:36 +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_J721S2_R5_EVM
9
10&binman {
11 tiboot3-j721s2-hs-evm.bin {
12 filename = "tiboot3-j721s2-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 = <0x41c00000>;
27 load-sysfw = <0x40000>;
28 load-sysfw-data = <0x67000>;
29 load-dm-data = <0x41c80000>;
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-j721s2-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-j721s2-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-j721s2-hs-fs-evm.bin {
57 filename = "tiboot3-j721s2-hs-fs-evm.bin";
58 ti-secure-rom {
59 content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
60 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
61 combined;
62 dm-data;
63 sysfw-inner-cert;
64 keyfile = "custMpk.pem";
65 sw-rev = <1>;
66 content-sbl = <&u_boot_spl_fs>;
67 content-sysfw = <&ti_fs_enc_fs>;
68 content-sysfw-data = <&combined_tifs_cfg_fs>;
69 content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
70 content-dm-data = <&combined_dm_cfg_fs>;
71 load = <0x41c00000>;
72 load-sysfw = <0x40000>;
73 load-sysfw-data = <0x67000>;
74 load-dm-data = <0x41c80000>;
75 };
76 u_boot_spl_fs: u-boot-spl {
77 no-expanded;
78 };
79 ti_fs_enc_fs: ti-fs-enc.bin {
80 filename = "ti-sysfw/ti-fs-firmware-j721s2-hs-fs-enc.bin";
81 type = "blob-ext";
82 optional;
83 };
84 combined_tifs_cfg_fs: combined-tifs-cfg.bin {
85 filename = "combined-tifs-cfg.bin";
86 type = "blob-ext";
87 };
88 sysfw_inner_cert_fs: sysfw-inner-cert {
89 filename = "ti-sysfw/ti-fs-firmware-j721s2-hs-fs-cert.bin";
90 type = "blob-ext";
91 optional;
92 };
93 combined_dm_cfg_fs: combined-dm-cfg.bin {
94 filename = "combined-dm-cfg.bin";
95 type = "blob-ext";
96 };
97 };
98};
99
100&binman {
101 tiboot3-j721s2-gp-evm.bin {
102 filename = "tiboot3-j721s2-gp-evm.bin";
103 symlink = "tiboot3.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 = <0x41c00000>;
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 = <0x41c80000>;
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-j721s2-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_J721S2_A72_EVM
143
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530144#define SPL_J721S2_EVM_DTB "spl/dts/k3-j721s2-common-proc-board.dtb"
145#define SPL_AM68_SK_DTB "spl/dts/k3-am68-sk-base-board.dtb"
146
Manorit Chawdhry64ebddb2023-07-14 11:22:38 +0530147#define J721S2_EVM_DTB "u-boot.dtb"
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530148#define AM68_SK_DTB "arch/arm/dts/k3-am68-sk-base-board.dtb"
149
150&binman {
151 ti-dm {
152 filename = "ti-dm.bin";
153 blob-ext {
154 filename = "ti-dm/j721s2/ipc_echo_testb_mcu1_0_release_strip.xer5f";
155 };
156 };
157 ti-spl {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530158 insert-template = <&ti_spl_template>;
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530159
160 fit {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530161 images {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530162 dm {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530163 ti-secure {
164 content = <&dm>;
165 keyfile = "custMpk.pem";
166 };
167 dm: blob-ext {
168 filename = "ti-dm.bin";
169 };
170 };
171
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530172 fdt-0 {
173 description = "k3-j721s2-common-proc-board";
174 type = "flat_dt";
175 arch = "arm";
176 compression = "none";
177 ti-secure {
178 content = <&spl_j721s2_evm_dtb>;
179 keyfile = "custMpk.pem";
180 };
181 spl_j721s2_evm_dtb: blob-ext {
182 filename = SPL_J721S2_EVM_DTB;
183 };
184
185 };
186
187 fdt-1 {
188 description = "k3-am68-sk-base-board";
189 type = "flat_dt";
190 arch = "arm";
191 compression = "none";
192 ti-secure {
193 content = <&spl_am68_sk_dtb>;
194 keyfile = "custMpk.pem";
195 };
196 spl_am68_sk_dtb: blob-ext {
197 filename = SPL_AM68_SK_DTB;
198 };
199 };
200 };
201
202 configurations {
203 default = "conf-0";
204
205 conf-0 {
206 description = "k3-j721s2-common-proc-board";
207 firmware = "atf";
208 loadables = "tee", "dm", "spl";
209 fdt = "fdt-0";
210 };
211
212 conf-1 {
213 description = "k3-am68-sk-base-board";
214 firmware = "atf";
215 loadables = "tee", "dm", "spl";
216 fdt = "fdt-1";
217 };
218 };
219 };
220 };
221};
222
223&binman {
224 u-boot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530225 insert-template = <&u_boot_template>;
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530226
227 fit {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530228 images {
229 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530230 description = "U-Boot for J721S2 Board";
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530231 };
232
233 fdt-0 {
234 description = "k3-j721s2-common-proc-board";
235 type = "flat_dt";
236 arch = "arm";
237 compression = "none";
238 ti-secure {
239 content = <&j721s2_evm_dtb>;
240 keyfile = "custMpk.pem";
241 };
242 j721s2_evm_dtb: blob-ext {
243 filename = J721S2_EVM_DTB;
244 };
245
246 hash {
247 algo = "crc32";
248 };
249 };
250
251 fdt-1 {
252 description = "k3-am68-sk-base-board";
253 type = "flat_dt";
254 arch = "arm";
255 compression = "none";
256 ti-secure {
257 content = <&am68_sk_dtb>;
258 keyfile = "custMpk.pem";
259 };
260 am68_sk_dtb: blob-ext {
261 filename = AM68_SK_DTB;
262 };
263
264 hash {
265 algo = "crc32";
266 };
267 };
268
269 };
270
271 configurations {
272 default = "conf-0";
273
274 conf-0 {
275 description = "k3-j721s2-common-proc-board";
276 firmware = "uboot";
277 loadables = "uboot";
278 fdt = "fdt-0";
279 };
280 conf-1 {
281 description = "k3-am68-sk-base-board";
282 firmware = "uboot";
283 loadables = "uboot";
284 fdt = "fdt-1";
285 };
286
287 };
288 };
289 };
290};
291
292&binman {
293 ti-spl_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530294 insert-template = <&ti_spl_unsigned_template>;
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530295
296 fit {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530297 images {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530298 dm {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530299 blob-ext {
300 filename = "ti-dm.bin";
301 };
302 };
303
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530304 fdt-0 {
305 description = "k3-j721s2-common-proc-board";
306 type = "flat_dt";
307 arch = "arm";
308 compression = "none";
309 blob {
310 filename = SPL_J721S2_EVM_DTB;
311 };
312 };
313 fdt-1 {
314 description = "k3-am68-sk-base-board";
315 type = "flat_dt";
316 arch = "arm";
317 compression = "none";
318 blob {
319 filename = SPL_AM68_SK_DTB;
320 };
321 };
322
323 };
324
325 configurations {
326 default = "conf-0";
327
328 conf-0 {
329 description = "k3-j721s2-common-proc-board";
330 firmware = "atf";
331 loadables = "tee", "dm", "spl";
332 fdt = "fdt-0";
333 };
334 conf-1 {
335 description = "k3-am68-sk-base-board";
336 firmware = "atf";
337 loadables = "tee", "dm", "spl";
338 fdt = "fdt-1";
339 };
340 };
341 };
342 };
343};
344
345&binman {
346 u-boot_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530347 insert-template = <&u_boot_unsigned_template>;
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530348
349 fit {
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530350 images {
351 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530352 description = "U-Boot for J721S2 Board";
Neha Malcom Francis9409fb62023-07-22 00:14:36 +0530353 };
354
355 fdt-0 {
356 description = "k3-j721s2-common-proc-board";
357 type = "flat_dt";
358 arch = "arm";
359 compression = "none";
360 blob {
361 filename = J721S2_EVM_DTB;
362 };
363 hash {
364 algo = "crc32";
365 };
366 };
367 fdt-1 {
368 description = "k3-am68-sk-base-board";
369 type = "flat_dt";
370 arch = "arm";
371 compression = "none";
372 blob {
373 filename = AM68_SK_DTB;
374 };
375 hash {
376 algo = "crc32";
377 };
378 };
379
380 };
381
382 configurations {
383 default = "conf-0";
384
385 conf-0 {
386 description = "k3-j721s2-common-proc-board";
387 firmware = "uboot";
388 loadables = "uboot";
389 fdt = "fdt-0";
390 };
391 conf-1 {
392 description = "k3-am68-sk-base-board";
393 firmware = "uboot";
394 loadables = "uboot";
395 fdt = "fdt-1";
396 };
397 };
398 };
399 };
400};
401#endif