blob: 210179756a79df6785269fb54fe24d3f64ff8737 [file] [log] [blame]
Bryan Brattlof702196b2024-03-12 15:20:28 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6#include "k3-binman.dtsi"
7
8#if IS_ENABLED(CONFIG_TARGET_AM62P5_R5_EVM)
9
10&binman {
11 tiboot3-am62px-hs-fs-evm.bin {
12 filename = "tiboot3-am62px-hs-fs-evm.bin";
13 symlink = "tiboot3.bin";
14
15 ti-secure-rom {
16 content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
17 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
18 combined;
19 dm-data;
20 sysfw-inner-cert;
21 keyfile = "custMpk.pem";
22 sw-rev = <1>;
23 content-sbl = <&u_boot_spl_fs>;
24 content-sysfw = <&ti_fs_enc_fs>;
25 content-sysfw-data = <&combined_tifs_cfg_fs>;
26 content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
27 content-dm-data = <&combined_dm_cfg_fs>;
28 load = <0x43c00000>;
29 load-sysfw = <0x40000>;
30 load-sysfw-data = <0x67000>;
31 load-dm-data = <0x43c4a800>;
32 };
33
34 u_boot_spl_fs: u-boot-spl {
35 no-expanded;
36 };
37
38 ti_fs_enc_fs: ti-fs-enc.bin {
39 filename = "ti-sysfw/ti-fs-firmware-am62px-hs-fs-enc.bin";
40 type = "blob-ext";
41 optional;
42 };
43
44 combined_tifs_cfg_fs: combined-tifs-cfg.bin {
45 filename = "combined-tifs-cfg.bin";
46 type = "blob-ext";
47 };
48
49 sysfw_inner_cert_fs: sysfw-inner-cert {
50 filename = "ti-sysfw/ti-fs-firmware-am62px-hs-fs-cert.bin";
51 type = "blob-ext";
52 optional;
53 };
54
55 combined_dm_cfg_fs: combined-dm-cfg.bin {
56 filename = "combined-dm-cfg.bin";
57 type = "blob-ext";
58 };
59 };
60};
61
62#endif /* CONFIG_TARGET_AM62P5_R5_EVM */
63
64#if IS_ENABLED(CONFIG_TARGET_AM62P5_A53_EVM)
65
66#define SPL_AM62PX_SK_DTB "spl/dts/ti/k3-am62p5-sk.dtb"
67#define AM62PX_SK_DTB "u-boot.dtb"
68
69&binman {
70 ti-dm {
71 filename = "ti-dm.bin";
72
73 blob-ext {
74 filename = "ti-dm/am62pxx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
75 };
76 };
Dhruva Gole7ba3bf62024-06-07 14:26:41 +053077 tifsstub-hs {
78 filename = "tifsstub.bin_hs";
79 ti-secure-rom {
80 content = <&tifsstub_hs_cert>;
81 core = "secure";
82 load = <0x60000>;
83 sw-rev = <CONFIG_K3_X509_SWRV>;
84 keyfile = "custMpk.pem";
85 countersign;
86 tifsstub;
87 };
88 tifsstub_hs_cert: tifsstub-hs-cert.bin {
89 filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
90 type = "blob-ext";
91 optional;
92 };
93 tifsstub_hs_enc: tifsstub-hs-enc.bin {
94 filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
95 type = "blob-ext";
96 optional;
97 };
98 };
99
100 tifsstub-fs {
101 filename = "tifsstub.bin_fs";
102 tifsstub_fs_cert: tifsstub-fs-cert.bin {
103 filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
104 type = "blob-ext";
105 optional;
106 };
107 tifsstub_fs_enc: tifsstub-fs-enc.bin {
108 filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
109 type = "blob-ext";
110 optional;
111 };
112
113 };
Bryan Brattlof702196b2024-03-12 15:20:28 -0500114
115 ti-spl {
116 insert-template = <&ti_spl_template>;
117
118 fit {
119 images {
Dhruva Gole7ba3bf62024-06-07 14:26:41 +0530120 tifsstub-hs {
121 description = "TIFSSTUB";
122 type = "firmware";
123 arch = "arm32";
124 compression = "none";
125 os = "tifsstub-hs";
126 load = <0x9ca00000>;
127 entry = <0x9ca00000>;
128 blob-ext {
129 filename = "tifsstub.bin_hs";
130 };
131 };
132
133 tifsstub-fs {
134 description = "TIFSSTUB";
135 type = "firmware";
136 arch = "arm32";
137 compression = "none";
138 os = "tifsstub-fs";
139 load = <0x9ca00000>;
140 entry = <0x9ca00000>;
141 blob-ext {
142 filename = "tifsstub.bin_fs";
143 };
144 };
Bryan Brattlof702196b2024-03-12 15:20:28 -0500145 dm {
146 ti-secure {
147 content = <&dm>;
148 keyfile = "custMpk.pem";
149 };
150
151 dm: ti-dm {
152 filename = "ti-dm.bin";
153 };
154 };
155
156 fdt-0 {
157 description = "k3-am62p5-sk";
158 type = "flat_dt";
159 arch = "arm";
160 compression = "none";
161
162 ti-secure {
163 content = <&spl_am62p5_sk_dtb>;
164 keyfile = "custMpk.pem";
165 };
166
167 spl_am62p5_sk_dtb: blob-ext {
168 filename = SPL_AM62PX_SK_DTB;
169 };
170
171 };
172
173 };
174
175 configurations {
176 default = "conf-0";
177
178 conf-0 {
179 description = "k3-am62px-sk";
180 firmware = "atf";
Dhruva Gole7ba3bf62024-06-07 14:26:41 +0530181 loadables = "tee", "dm", "spl",
182 "tifsstub-hs", "tifsstub-fs";
Bryan Brattlof702196b2024-03-12 15:20:28 -0500183 fdt = "fdt-0";
184 };
185 };
186 };
187 };
188};
189
190&binman {
191 u-boot {
192 insert-template = <&u_boot_template>;
193
194 fit {
195 images {
196 uboot {
197 description = "U-Boot for AM62P5 Boards";
198 };
199
200 fdt-0 {
201 description = "k3-am62px-sk";
202 type = "flat_dt";
203 arch = "arm";
204 compression = "none";
205
206 ti-secure {
207 content = <&am62px_sk_dtb>;
208 keyfile = "custMpk.pem";
209 };
210
211 am62px_sk_dtb: blob-ext {
212 filename = AM62PX_SK_DTB;
213 };
214
215 hash {
216 algo = "crc32";
217 };
218 };
219 };
220
221 configurations {
222 default = "conf-0";
223
224 conf-0 {
225 description = "k3-am62px-sk";
226 firmware = "uboot";
227 loadables = "uboot";
228 fdt = "fdt-0";
229 };
230
231 };
232 };
233 };
234};
235
236#endif /* CONFIG_TARGET_AM62P5_A53_EVM */