blob: 8cc24da1f3fad5b5407c1f2eace489cc03f53660 [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
101&binman {
102 ti-spl {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530103 insert-template = <&ti_spl_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530104
105 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530106 images {
107
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530108 dm {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530109 blob-ext {
110 filename = "/dev/null";
111 };
112 };
113
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530114 fdt-0 {
115 description = "k3-am654-base-board";
116 type = "flat_dt";
117 arch = "arm";
118 compression = "none";
119 ti-secure {
120 content = <&spl_am65x_evm_dtb>;
121 keyfile = "custMpk.pem";
122 };
123 spl_am65x_evm_dtb: blob-ext {
124 filename = SPL_AM654_EVM_DTB;
125 };
126 };
127 };
128
129 configurations {
130 default = "conf-0";
131
132 conf-0 {
133 description = "k3-am654-base-board";
134 firmware = "atf";
135 loadables = "tee", "dm", "spl";
136 fdt = "fdt-0";
137 };
138 };
139 };
140 };
141};
142
143&binman {
144 u-boot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530145 insert-template = <&u_boot_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530146
147 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530148 images {
149 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530150 description = "U-Boot for AM65 Board";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530151 };
152
153 fdt-0 {
154 description = "k3-am654-base-board";
155 type = "flat_dt";
156 arch = "arm";
157 compression = "none";
158 ti-secure {
159 content = <&am65x_evm_dtb>;
160 keyfile = "custMpk.pem";
161
162 };
163 am65x_evm_dtb: blob-ext {
164 filename = AM654_EVM_DTB;
165 };
166 hash {
167 algo = "crc32";
168 };
169 };
170
171 };
172
173 configurations {
174 default = "conf-0";
175
176 conf-0 {
177 description = "k3-am654-base-board";
178 firmware = "uboot";
179 loadables = "uboot";
180 fdt = "fdt-0";
181 };
182 };
183 };
184 };
185};
186
187&binman {
188 ti-spl_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530189 insert-template = <&ti_spl_unsigned_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530190
191 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530192 images {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530193 dm {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530194 blob-ext {
195 filename = "/dev/null";
196 };
197 };
198
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530199 fdt-0 {
200 description = "k3-j721e-common-proc-board";
201 type = "flat_dt";
202 arch = "arm";
203 compression = "none";
204 blob {
205 filename = SPL_AM654_EVM_DTB;
206 };
207 };
208 };
209
210 configurations {
211 default = "conf-0";
212
213 conf-0 {
214 description = "k3-am654-base-board";
215 firmware = "atf";
216 loadables = "tee", "dm", "spl";
217 fdt = "fdt-0";
218 };
219 };
220 };
221 };
222};
223
224&binman {
225 u-boot_unsigned {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530226 insert-template = <&u_boot_unsigned_template>;
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530227
228 fit {
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530229 images {
230 uboot {
Neha Malcom Francis806b6f82023-11-15 15:40:24 +0530231 description = "U-Boot for AM65 Board";
Neha Malcom Francis4ad962d2023-07-22 00:14:32 +0530232 };
233
234 fdt-0 {
235 description = "k3-am654-base-board";
236 type = "flat_dt";
237 arch = "arm";
238 compression = "none";
239 blob {
240 filename = AM654_EVM_DTB;
241 };
242 hash {
243 algo = "crc32";
244 };
245 };
246 };
247
248 configurations {
249 default = "conf-0";
250
251 conf-0 {
252 description = "k3-am654-base-board";
253 firmware = "uboot";
254 loadables = "uboot";
255 fdt = "fdt-0";
256 };
257 };
258 };
259 };
260};
261#endif