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