blob: d0cd4889cdefa898bbeaf4a111afabb973690fc1 [file] [log] [blame]
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +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_AM654_R5_EVM
9
10&binman {
11 tiboot3-am65x_sr2-hs-evm.bin {
12 filename = "tiboot3-am65x_sr2-hs-evm.bin";
13 ti-secure-rom {
14 content = <&u_boot_spl>;
15 core = "public";
16 load = <CONFIG_SPL_TEXT_BASE>;
17 keyfile = "custMpk.pem";
18 };
19 u_boot_spl: u-boot-spl {
20 no-expanded;
21 };
22 };
23 sysfw {
24 filename = "sysfw.bin";
25 ti-secure-rom {
26 content = <&ti_sci_cert>;
27 core = "secure";
28 load = <0x40000>;
29 keyfile = "custMpk.pem";
30 countersign;
31 };
32 ti_sci_cert: ti-sci-cert.bin {
33 filename = "ti-sysfw/ti-sci-firmware-am65x_sr2-hs-cert.bin";
34 type = "blob-ext";
35 optional;
36 };
37 ti-sci-firmware-am65x-hs-enc.bin {
38 filename = "ti-sysfw/ti-sci-firmware-am65x_sr2-hs-enc.bin";
39 type = "blob-ext";
40 optional;
41 };
42 };
43 itb {
44 filename = "sysfw-am65x_sr2-hs-evm.itb";
Neha Malcom Francis806b6f82023-11-15 15:40:24 +053045 insert-template = <&itb_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053046 };
47};
48
49&binman {
50 tiboot3-am65x_sr2-gp-evm.bin {
51 filename = "tiboot3-am65x_sr2-gp-evm.bin";
52 symlink = "tiboot3.bin";
53 ti-secure-rom {
54 content = <&u_boot_spl_unsigned>;
55 core = "public";
56 load = <CONFIG_SPL_TEXT_BASE>;
57 sw-rev = <CONFIG_K3_X509_SWRV>;
58 keyfile = "ti-degenerate-key.pem";
59 };
60 u_boot_spl_unsigned: u-boot-spl {
61 no-expanded;
62 };
63 };
64 sysfw_gp {
65 filename = "sysfw.bin_gp";
66 ti-secure-rom {
67 content = <&ti_sci>;
68 core = "secure";
69 load = <0x40000>;
70 sw-rev = <CONFIG_K3_X509_SWRV>;
71 keyfile = "ti-degenerate-key.pem";
72 };
73 ti_sci: ti-sci.bin {
74 filename = "ti-sysfw/ti-sci-firmware-am65x_sr2-gp.bin";
75 type = "blob-ext";
76 optional;
77 };
78 };
79 itb_gp {
80 filename = "sysfw-am65x_sr2-gp-evm.itb";
81 symlink = "sysfw.itb";
Neha Malcom Francis806b6f82023-11-15 15:40:24 +053082 insert-template = <&itb_unsigned_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053083 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053084 images {
85 sysfw.bin {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053086 blob-ext {
87 filename = "sysfw.bin_gp";
88 };
89 };
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053090 };
91 };
92 };
93};
94#endif
95
96#ifdef CONFIG_TARGET_AM654_A53_EVM
97
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +053098#define SPL_AM654_EVM_DTB "spl/dts/k3-am654-base-board.dtb"
Manorit Chawdhry64ebddb2023-07-14 11:22:38 +053099#define AM654_EVM_DTB "u-boot.dtb"
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530100
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530101#define AM654_EVM_ICSSG2_DTBO "arch/arm/dts/k3-am654-icssg2.dtbo"
102
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530103&binman {
104 ti-spl {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530105 insert-template = <&ti_spl_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530106
107 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530108 images {
109
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530110 dm {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530111 blob-ext {
112 filename = "/dev/null";
113 };
114 };
115
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530116 fdt-0 {
117 description = "k3-am654-base-board";
118 type = "flat_dt";
119 arch = "arm";
120 compression = "none";
121 ti-secure {
122 content = <&spl_am65x_evm_dtb>;
123 keyfile = "custMpk.pem";
124 };
125 spl_am65x_evm_dtb: blob-ext {
126 filename = SPL_AM654_EVM_DTB;
127 };
128 };
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530129
130 fdt-1 {
131 description = "k3-am654-icssg2 overlay";
132 type = "flat_dt";
133 arch = "arm";
134 compression = "none";
135 ti-secure {
136 content = <&spl_am65x_evm_icssg2_dtb>;
137 keyfile = "custMpk.pem";
138 };
139 spl_am65x_evm_icssg2_dtb: blob-ext {
140 filename = AM654_EVM_ICSSG2_DTBO;
141 };
142 };
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530143 };
144
145 configurations {
146 default = "conf-0";
147
148 conf-0 {
149 description = "k3-am654-base-board";
150 firmware = "atf";
151 loadables = "tee", "dm", "spl";
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530152 fdt = "fdt-0", "fdt-1";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530153 };
154 };
155 };
156 };
157};
158
159&binman {
160 u-boot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530161 insert-template = <&u_boot_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530162
163 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530164 images {
165 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530166 description = "U-Boot for AM65 Board";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530167 };
168
169 fdt-0 {
170 description = "k3-am654-base-board";
171 type = "flat_dt";
172 arch = "arm";
173 compression = "none";
174 ti-secure {
175 content = <&am65x_evm_dtb>;
176 keyfile = "custMpk.pem";
177
178 };
179 am65x_evm_dtb: blob-ext {
180 filename = AM654_EVM_DTB;
181 };
182 hash {
183 algo = "crc32";
184 };
185 };
186
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530187 fdt-1 {
188 description = "k3-am654-icssg2 overlay";
189 type = "flat_dt";
190 arch = "arm";
191 compression = "none";
192 ti-secure {
193 content = <&am65x_evm_icssg2_dtb>;
194 keyfile = "custMpk.pem";
195
196 };
197 am65x_evm_icssg2_dtb: blob-ext {
198 filename = AM654_EVM_ICSSG2_DTBO;
199 };
200 hash {
201 algo = "crc32";
202 };
203 };
204
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530205 };
206
207 configurations {
208 default = "conf-0";
209
210 conf-0 {
211 description = "k3-am654-base-board";
212 firmware = "uboot";
213 loadables = "uboot";
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530214 fdt = "fdt-0", "fdt-1";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530215 };
216 };
217 };
218 };
219};
220
221&binman {
222 ti-spl_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530223 insert-template = <&ti_spl_unsigned_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530224
225 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530226 images {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530227 dm {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530228 blob-ext {
229 filename = "/dev/null";
230 };
231 };
232
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530233 fdt-0 {
234 description = "k3-j721e-common-proc-board";
235 type = "flat_dt";
236 arch = "arm";
237 compression = "none";
238 blob {
239 filename = SPL_AM654_EVM_DTB;
240 };
241 };
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530242
243 fdt-1 {
244 description = "k3-am654-icssg2 overlay";
245 type = "flat_dt";
246 arch = "arm";
247 compression = "none";
248 blob {
249 filename = AM654_EVM_ICSSG2_DTBO;
250 };
251 };
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530252 };
253
254 configurations {
255 default = "conf-0";
256
257 conf-0 {
258 description = "k3-am654-base-board";
259 firmware = "atf";
260 loadables = "tee", "dm", "spl";
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530261 fdt = "fdt-0", "fdt-1";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530262 };
263 };
264 };
265 };
266};
267
268&binman {
269 u-boot_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530270 insert-template = <&u_boot_unsigned_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530271
272 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530273 images {
274 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530275 description = "U-Boot for AM65 Board";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530276 };
277
278 fdt-0 {
279 description = "k3-am654-base-board";
280 type = "flat_dt";
281 arch = "arm";
282 compression = "none";
283 blob {
284 filename = AM654_EVM_DTB;
285 };
286 hash {
287 algo = "crc32";
288 };
289 };
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530290
291 fdt-1 {
292 description = "k3-am654-icssg2";
293 type = "flat_dt";
294 arch = "arm";
295 compression = "none";
296 blob {
297 filename = AM654_EVM_ICSSG2_DTBO;
298 };
299 hash {
300 algo = "crc32";
301 };
302 };
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530303 };
304
305 configurations {
306 default = "conf-0";
307
308 conf-0 {
309 description = "k3-am654-base-board";
310 firmware = "uboot";
311 loadables = "uboot";
MD Danish Anwar62da41c2024-04-16 14:50:14 +0530312 fdt = "fdt-0", "fdt-1";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530313 };
314 };
315 };
316 };
317};
318#endif