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