blob: 8f1471371e5bfa80b05d0165e5fe6644a11c322f [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 {
Jayesh Choudhary2a1521c2024-06-12 14:41:21 +0530119 ti-spl {
120 insert-template = <&ti_spl_template>;
121
122 fit {
123 images {
124 dm {
125 ti-secure {
126 content = <&dm>;
127 keyfile = "custMpk.pem";
128 };
129
130 dm: ti-dm {
Andrew Davis7ed4a852025-04-25 17:54:03 -0500131 filename = "ti-dm/j722s/ipc_echo_testb_mcu1_0_release_strip.xer5f";
132 optional;
Jayesh Choudhary2a1521c2024-06-12 14:41:21 +0530133 };
134 };
135
136 fdt-0 {
137 description = "k3-j722s-evm";
138 type = "flat_dt";
139 arch = "arm";
140 compression = "none";
141
142 ti-secure {
143 content = <&spl_j722s_evm_dtb>;
144 keyfile = "custMpk.pem";
145 };
146
147 spl_j722s_evm_dtb: blob-ext {
148 filename = SPL_J722S_EVM_DTB;
149 };
150
151 };
152
153 };
154
155 configurations {
156 default = "conf-0";
157
158 conf-0 {
159 description = "k3-j722s-evm";
160 firmware = "atf";
161 loadables = "tee", "dm", "spl";
162 fdt = "fdt-0";
163 };
164 };
165 };
166 };
167};
168
169&binman {
170 u-boot {
171 insert-template = <&u_boot_template>;
172
173 fit {
174 images {
175 uboot {
176 description = "U-Boot for J722S board";
177 };
178
179 fdt-0 {
180 description = "k3-j722s-evm";
181 type = "flat_dt";
182 arch = "arm";
183 compression = "none";
184
185 ti-secure {
186 content = <&j722s_evm_dtb>;
187 keyfile = "custMpk.pem";
188 };
189
190 j722s_evm_dtb: blob-ext {
191 filename = J722S_EVM_DTB;
192 };
193
194 hash {
195 algo = "crc32";
196 };
197 };
198 };
199
200 configurations {
201 default = "conf-0";
202
203 conf-0 {
204 description = "k3-j722s-evm";
205 firmware = "uboot";
206 loadables = "uboot";
207 fdt = "fdt-0";
208 };
209
210 };
211 };
212 };
213};
214#endif /*CONFIG_TARGET_J722S_A53_EVM*/