blob: e4dd6e14a66a3de748c9f86583f19cbcd7e97e15 [file] [log] [blame]
Apurva Nandan3818b142024-02-24 01:51:49 +05301// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6#include "k3-binman.dtsi"
7
8#ifdef CONFIG_TARGET_J784S4_R5_EVM
9
10&rcfg_yaml_tifs {
11 config = "tifs-rm-cfg.yaml";
12};
13
14&binman {
15 tiboot3-j784s4-hs-evm.bin {
16 filename = "tiboot3-j784s4-hs-evm.bin";
17
18 ti-secure-rom {
19 content = <&u_boot_spl>, <&ti_fs_enc>, <&combined_tifs_cfg>,
20 <&combined_dm_cfg>, <&sysfw_inner_cert>;
21 combined;
22 dm-data;
23 sysfw-inner-cert;
24 keyfile = "custMpk.pem";
25 sw-rev = <1>;
26 content-sbl = <&u_boot_spl>;
27 content-sysfw = <&ti_fs_enc>;
28 content-sysfw-data = <&combined_tifs_cfg>;
29 content-sysfw-inner-cert = <&sysfw_inner_cert>;
30 content-dm-data = <&combined_dm_cfg>;
31 load = <0x41c00000>;
32 load-sysfw = <0x40000>;
33 load-sysfw-data = <0x66800>;
34 load-dm-data = <0x41c80000>;
35 };
36
37 u_boot_spl: u-boot-spl {
38 no-expanded;
39 };
40
41 ti_fs_enc: ti-fs-enc.bin {
42 filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-enc.bin";
43 type = "blob-ext";
44 optional;
45 };
46
47 combined_tifs_cfg: combined-tifs-cfg.bin {
48 filename = "combined-tifs-cfg.bin";
49 type = "blob-ext";
50 };
51
52 sysfw_inner_cert: sysfw-inner-cert {
53 filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-cert.bin";
54 type = "blob-ext";
55 optional;
56 };
57
58 combined_dm_cfg: combined-dm-cfg.bin {
59 filename = "combined-dm-cfg.bin";
60 type = "blob-ext";
61 };
62 };
63};
64
65&binman {
66 tiboot3-j784s4-hs-fs-evm.bin {
67 filename = "tiboot3-j784s4-hs-fs-evm.bin";
68
69 ti-secure-rom {
70 content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
71 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
72 combined;
73 dm-data;
74 sysfw-inner-cert;
75 keyfile = "custMpk.pem";
76 sw-rev = <1>;
77 content-sbl = <&u_boot_spl_fs>;
78 content-sysfw = <&ti_fs_enc_fs>;
79 content-sysfw-data = <&combined_tifs_cfg_fs>;
80 content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
81 content-dm-data = <&combined_dm_cfg_fs>;
82 load = <0x41c00000>;
83 load-sysfw = <0x40000>;
84 load-sysfw-data = <0x66800>;
85 load-dm-data = <0x41c80000>;
86 };
87
88 u_boot_spl_fs: u-boot-spl {
89 no-expanded;
90 };
91
92 ti_fs_enc_fs: ti-fs-enc.bin {
93 filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-enc.bin";
94 type = "blob-ext";
95 optional;
96 };
97
98 combined_tifs_cfg_fs: combined-tifs-cfg.bin {
99 filename = "combined-tifs-cfg.bin";
100 type = "blob-ext";
101 };
102
103 sysfw_inner_cert_fs: sysfw-inner-cert {
104 filename = "ti-sysfw/ti-fs-firmware-j784s4-hs-fs-cert.bin";
105 type = "blob-ext";
106 optional;
107 };
108
109 combined_dm_cfg_fs: combined-dm-cfg.bin {
110 filename = "combined-dm-cfg.bin";
111 type = "blob-ext";
112 };
113 };
114};
115
116&binman {
117 tiboot3-j784s4-gp-evm.bin {
118 filename = "tiboot3-j784s4-gp-evm.bin";
119 symlink = "tiboot3.bin";
120
121 ti-secure-rom {
122 content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
123 <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
124 combined;
125 dm-data;
126 content-sbl = <&u_boot_spl_unsigned>;
127 load = <0x41c00000>;
128 content-sysfw = <&ti_fs_gp>;
129 load-sysfw = <0x40000>;
130 content-sysfw-data = <&combined_tifs_cfg_gp>;
131 load-sysfw-data = < 0x66800>;
132 content-dm-data = <&combined_dm_cfg_gp>;
133 load-dm-data = <0x41c80000>;
134 sw-rev = <1>;
135 keyfile = "ti-degenerate-key.pem";
136 };
137
138 u_boot_spl_unsigned: u-boot-spl {
139 no-expanded;
140 };
141
142 ti_fs_gp: ti-fs-gp.bin {
143 filename = "ti-sysfw/ti-fs-firmware-j784s4-gp.bin";
144 type = "blob-ext";
145 optional;
146 };
147
148 combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
149 filename = "combined-tifs-cfg.bin";
150 type = "blob-ext";
151 };
152
153 combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
154 filename = "combined-dm-cfg.bin";
155 type = "blob-ext";
156 };
157
158 };
159};
160#endif
161
162#ifdef CONFIG_TARGET_J784S4_A72_EVM
163
164#define SPL_J784S4_EVM_DTB "spl/dts/ti/k3-j784s4-evm.dtb"
165#define J784S4_EVM_DTB "u-boot.dtb"
166
167&binman {
168 ti-dm {
169 filename = "ti-dm.bin";
170
171 blob-ext {
172 filename = "ti-dm/j784s4/ipc_echo_testb_mcu1_0_release_strip.xer5f";
173 };
174 };
175
176 ti-spl {
177 insert-template = <&ti_spl_template>;
178
179 fit {
180 images {
181 dm {
182 ti-secure {
183 content = <&dm>;
184 keyfile = "custMpk.pem";
185 };
186
187 dm: blob-ext {
188 filename = "ti-dm.bin";
189 };
190 };
191
192 fdt-0 {
193 description = "k3-j784s4-evm";
194 type = "flat_dt";
195 arch = "arm";
196 compression = "none";
197
198 ti-secure {
199 content = <&spl_j784s4_evm_dtb>;
200 keyfile = "custMpk.pem";
201 };
202
203 spl_j784s4_evm_dtb: blob-ext {
204 filename = SPL_J784S4_EVM_DTB;
205 };
206 };
207 };
208
209 configurations {
210 default = "conf-0";
211
212 conf-0 {
213 description = "k3-j784s4-evm";
214 firmware = "atf";
215 loadables = "tee", "dm", "spl";
216 fdt = "fdt-0";
217 };
218 };
219 };
220 };
221};
222
223&binman {
224 u-boot {
225 insert-template = <&u_boot_template>;
226
227 fit {
228 images {
229 uboot {
230 description = "U-Boot for J784S4 board";
231 };
232
233 fdt-0 {
234 description = "k3-j784s4-evm";
235 type = "flat_dt";
236 arch = "arm";
237 compression = "none";
238
239 ti-secure {
240 content = <&j784s4_evm_dtb>;
241 keyfile = "custMpk.pem";
242 };
243
244 j784s4_evm_dtb: blob-ext {
245 filename = J784S4_EVM_DTB;
246 };
247
248 hash {
249 algo = "crc32";
250 };
251 };
252 };
253
254 configurations {
255 default = "conf-0";
256
257 conf-0 {
258 description = "k3-j784s4-evm";
259 firmware = "uboot";
260 loadables = "uboot";
261 fdt = "fdt-0";
262 };
263 };
264 };
265 };
266};
267
268&binman {
269 ti-spl_unsigned {
270 insert-template = <&ti_spl_unsigned_template>;
271
272 fit {
273 images {
274 dm {
275 blob-ext {
276 filename = "ti-dm.bin";
277 };
278 };
279
280 fdt-0 {
281 description = "k3-j784s4-evm";
282 type = "flat_dt";
283 arch = "arm";
284 compression = "none";
285
286 spl_j784s4_evm_dtb_unsigned: blob {
287 filename = SPL_J784S4_EVM_DTB;
288 };
289 };
290 };
291
292 configurations {
293 default = "conf-0";
294
295 conf-0 {
296 description = "k3-j784s4-evm";
297 firmware = "atf";
298 loadables = "tee", "dm", "spl";
299 fdt = "fdt-0";
300 };
301 };
302 };
303 };
304};
305
306&binman {
307 u-boot_unsigned {
308 insert-template = <&u_boot_unsigned_template>;
309
310 fit {
311 images {
312 uboot {
313 description = "U-Boot for J784S4 board";
314 };
315
316 fdt-0 {
317 description = "k3-j784s4-evm";
318 type = "flat_dt";
319 arch = "arm";
320 compression = "none";
321
322 j784s4_evm_dtb_unsigned: blob {
323 filename = J784S4_EVM_DTB;
324 };
325
326 hash {
327 algo = "crc32";
328 };
329 };
330 };
331
332 configurations {
333 default = "conf-0";
334
335 conf-0 {
336 description = "k3-j784s4-evm";
337 firmware = "uboot";
338 loadables = "uboot";
339 fdt = "fdt-0";
340 };
341 };
342 };
343 };
344};
345#endif