blob: 2233921d320fd680f63bd073da85e8af8f9b6009 [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";
Neha Malcom Francisdf41fc62024-05-29 13:18:49 +053075 optional;
Bryan Brattlof702196b2024-03-12 15:20:28 -050076 };
77 };
78
79 ti-spl {
80 insert-template = <&ti_spl_template>;
81
82 fit {
83 images {
84 dm {
85 ti-secure {
86 content = <&dm>;
87 keyfile = "custMpk.pem";
88 };
89
90 dm: ti-dm {
91 filename = "ti-dm.bin";
92 };
93 };
94
95 fdt-0 {
96 description = "k3-am62p5-sk";
97 type = "flat_dt";
98 arch = "arm";
99 compression = "none";
100
101 ti-secure {
102 content = <&spl_am62p5_sk_dtb>;
103 keyfile = "custMpk.pem";
104 };
105
106 spl_am62p5_sk_dtb: blob-ext {
107 filename = SPL_AM62PX_SK_DTB;
108 };
109
110 };
111
112 };
113
114 configurations {
115 default = "conf-0";
116
117 conf-0 {
118 description = "k3-am62px-sk";
119 firmware = "atf";
120 loadables = "tee", "dm", "spl";
121 fdt = "fdt-0";
122 };
123 };
124 };
125 };
126};
127
128&binman {
129 u-boot {
130 insert-template = <&u_boot_template>;
131
132 fit {
133 images {
134 uboot {
135 description = "U-Boot for AM62P5 Boards";
136 };
137
138 fdt-0 {
139 description = "k3-am62px-sk";
140 type = "flat_dt";
141 arch = "arm";
142 compression = "none";
143
144 ti-secure {
145 content = <&am62px_sk_dtb>;
146 keyfile = "custMpk.pem";
147 };
148
149 am62px_sk_dtb: blob-ext {
150 filename = AM62PX_SK_DTB;
151 };
152
153 hash {
154 algo = "crc32";
155 };
156 };
157 };
158
159 configurations {
160 default = "conf-0";
161
162 conf-0 {
163 description = "k3-am62px-sk";
164 firmware = "uboot";
165 loadables = "uboot";
166 fdt = "fdt-0";
167 };
168
169 };
170 };
171 };
172};
173
174#endif /* CONFIG_TARGET_AM62P5_A53_EVM */