blob: 6b521166575676453bbc7e9b62d1f3e361a8b8dd [file] [log] [blame]
Jayesh Choudhary2a1521c2024-06-12 14:41:21 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6#include "k3-binman.dtsi"
7
8#if IS_ENABLED(CONFIG_TARGET_J722S_R5_EVM)
9
10&binman {
Udit Kumarc6051332024-10-09 16:34:47 +053011 tiboot3-j722s-hs-evm.bin {
12 filename = "tiboot3-j722s-hs-evm.bin";
13 ti-secure-rom {
14 content = <&u_boot_spl>, <&ti_fs_enc>, <&combined_tifs_cfg>,
15 <&combined_dm_cfg>, <&sysfw_inner_cert>;
16 combined;
17 dm-data;
18 sysfw-inner-cert;
19 keyfile = "custMpk.pem";
20 sw-rev = <1>;
21 content-sbl = <&u_boot_spl>;
22 content-sysfw = <&ti_fs_enc>;
23 content-sysfw-data = <&combined_tifs_cfg>;
24 content-sysfw-inner-cert = <&sysfw_inner_cert>;
25 content-dm-data = <&combined_dm_cfg>;
26 load = <0x43c00000>;
27 load-sysfw = <0x40000>;
28 load-sysfw-data = <0x67000>;
29 load-dm-data = <0x43c7a800>;
30 };
31
32 u_boot_spl: u-boot-spl {
33 no-expanded;
34 };
35
36 ti_fs_enc: ti-fs-enc.bin {
37 filename = "ti-sysfw/ti-fs-firmware-j722s-hs-enc.bin";
38 type = "blob-ext";
39 optional;
40 };
41
42 combined_tifs_cfg: combined-tifs-cfg.bin {
43 filename = "combined-tifs-cfg.bin";
44 type = "blob-ext";
45 };
46
47 sysfw_inner_cert: sysfw-inner-cert {
48 filename = "ti-sysfw/ti-fs-firmware-j722s-hs-cert.bin";
49 type = "blob-ext";
50 optional;
51 };
52
53 combined_dm_cfg: combined-dm-cfg.bin {
54 filename = "combined-dm-cfg.bin";
55 type = "blob-ext";
56 };
57 };
58};
59
60&binman {
Jayesh Choudhary2a1521c2024-06-12 14:41:21 +053061 tiboot3-j722s-hs-fs-evm.bin {
62 filename = "tiboot3-j722s-hs-fs-evm.bin";
63 symlink = "tiboot3.bin";
64
65 ti-secure-rom {
66 content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, <&combined_tifs_cfg_fs>,
67 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
68 combined;
69 dm-data;
70 sysfw-inner-cert;
71 keyfile = "custMpk.pem";
72 sw-rev = <1>;
73 content-sbl = <&u_boot_spl_fs>;
74 content-sysfw = <&ti_fs_enc_fs>;
75 content-sysfw-data = <&combined_tifs_cfg_fs>;
76 content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
77 content-dm-data = <&combined_dm_cfg_fs>;
78 load = <0x43c00000>;
79 load-sysfw = <0x40000>;
80 load-sysfw-data = <0x67000>;
81 load-dm-data = <0x43c7a800>;
82 };
83
84 u_boot_spl_fs: u-boot-spl {
85 no-expanded;
86 };
87
88 ti_fs_enc_fs: ti-fs-enc.bin {
89 filename = "ti-sysfw/ti-fs-firmware-j722s-hs-fs-enc.bin";
90 type = "blob-ext";
91 optional;
92 };
93
94 combined_tifs_cfg_fs: combined-tifs-cfg.bin {
95 filename = "combined-tifs-cfg.bin";
96 type = "blob-ext";
97 };
98
99 sysfw_inner_cert_fs: sysfw-inner-cert {
100 filename = "ti-sysfw/ti-fs-firmware-j722s-hs-fs-cert.bin";
101 type = "blob-ext";
102 optional;
103 };
104
105 combined_dm_cfg_fs: combined-dm-cfg.bin {
106 filename = "combined-dm-cfg.bin";
107 type = "blob-ext";
108 };
109 };
110};
111#endif /*CONFIG_TARGET_J722S_R5_EVM*/
112
113#if IS_ENABLED(CONFIG_TARGET_J722S_A53_EVM)
114
115#define SPL_J722S_EVM_DTB "spl/dts/ti/k3-j722s-evm.dtb"
116#define J722S_EVM_DTB "u-boot.dtb"
117
118&binman {
119 ti-dm {
120 filename = "ti-dm.bin";
121
122 blob-ext {
123 filename = "ti-dm/j722s/ipc_echo_testb_mcu1_0_release_strip.xer5f";
124 optional;
125 };
126 };
127
128 ti-spl {
129 insert-template = <&ti_spl_template>;
130
131 fit {
132 images {
133 dm {
134 ti-secure {
135 content = <&dm>;
136 keyfile = "custMpk.pem";
137 };
138
139 dm: ti-dm {
140 filename = "ti-dm.bin";
141 };
142 };
143
144 fdt-0 {
145 description = "k3-j722s-evm";
146 type = "flat_dt";
147 arch = "arm";
148 compression = "none";
149
150 ti-secure {
151 content = <&spl_j722s_evm_dtb>;
152 keyfile = "custMpk.pem";
153 };
154
155 spl_j722s_evm_dtb: blob-ext {
156 filename = SPL_J722S_EVM_DTB;
157 };
158
159 };
160
161 };
162
163 configurations {
164 default = "conf-0";
165
166 conf-0 {
167 description = "k3-j722s-evm";
168 firmware = "atf";
169 loadables = "tee", "dm", "spl";
170 fdt = "fdt-0";
171 };
172 };
173 };
174 };
175};
176
177&binman {
178 u-boot {
179 insert-template = <&u_boot_template>;
180
181 fit {
182 images {
183 uboot {
184 description = "U-Boot for J722S board";
185 };
186
187 fdt-0 {
188 description = "k3-j722s-evm";
189 type = "flat_dt";
190 arch = "arm";
191 compression = "none";
192
193 ti-secure {
194 content = <&j722s_evm_dtb>;
195 keyfile = "custMpk.pem";
196 };
197
198 j722s_evm_dtb: blob-ext {
199 filename = J722S_EVM_DTB;
200 };
201
202 hash {
203 algo = "crc32";
204 };
205 };
206 };
207
208 configurations {
209 default = "conf-0";
210
211 conf-0 {
212 description = "k3-j722s-evm";
213 firmware = "uboot";
214 loadables = "uboot";
215 fdt = "fdt-0";
216 };
217
218 };
219 };
220 };
221};
222#endif /*CONFIG_TARGET_J722S_A53_EVM*/