]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/dts/k3-am65x-binman.dtsi
d0cd4889cdefa898bbeaf4a111afabb973690fc1
[thirdparty/u-boot.git] / arch / arm / dts / k3-am65x-binman.dtsi
1 // 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";
45 insert-template = <&itb_template>;
46 };
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";
82 insert-template = <&itb_unsigned_template>;
83 fit {
84 images {
85 sysfw.bin {
86 blob-ext {
87 filename = "sysfw.bin_gp";
88 };
89 };
90 };
91 };
92 };
93 };
94 #endif
95
96 #ifdef CONFIG_TARGET_AM654_A53_EVM
97
98 #define SPL_AM654_EVM_DTB "spl/dts/k3-am654-base-board.dtb"
99 #define AM654_EVM_DTB "u-boot.dtb"
100
101 #define AM654_EVM_ICSSG2_DTBO "arch/arm/dts/k3-am654-icssg2.dtbo"
102
103 &binman {
104 ti-spl {
105 insert-template = <&ti_spl_template>;
106
107 fit {
108 images {
109
110 dm {
111 blob-ext {
112 filename = "/dev/null";
113 };
114 };
115
116 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 };
129
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 };
143 };
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";
152 fdt = "fdt-0", "fdt-1";
153 };
154 };
155 };
156 };
157 };
158
159 &binman {
160 u-boot {
161 insert-template = <&u_boot_template>;
162
163 fit {
164 images {
165 uboot {
166 description = "U-Boot for AM65 Board";
167 };
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
187 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
205 };
206
207 configurations {
208 default = "conf-0";
209
210 conf-0 {
211 description = "k3-am654-base-board";
212 firmware = "uboot";
213 loadables = "uboot";
214 fdt = "fdt-0", "fdt-1";
215 };
216 };
217 };
218 };
219 };
220
221 &binman {
222 ti-spl_unsigned {
223 insert-template = <&ti_spl_unsigned_template>;
224
225 fit {
226 images {
227 dm {
228 blob-ext {
229 filename = "/dev/null";
230 };
231 };
232
233 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 };
242
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 };
252 };
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";
261 fdt = "fdt-0", "fdt-1";
262 };
263 };
264 };
265 };
266 };
267
268 &binman {
269 u-boot_unsigned {
270 insert-template = <&u_boot_unsigned_template>;
271
272 fit {
273 images {
274 uboot {
275 description = "U-Boot for AM65 Board";
276 };
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 };
290
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 };
303 };
304
305 configurations {
306 default = "conf-0";
307
308 conf-0 {
309 description = "k3-am654-base-board";
310 firmware = "uboot";
311 loadables = "uboot";
312 fdt = "fdt-0", "fdt-1";
313 };
314 };
315 };
316 };
317 };
318 #endif