blob: 42e4d935cfce838df71b66034665084cc5c6637f [file] [log] [blame]
Tim Harvey1a50e742022-02-11 10:48:56 -08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 Gateworks Corporation
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10
11 wdt-reboot {
12 compatible = "wdt-reboot";
13 wdt = <&wdog1>;
14 u-boot,dm-spl;
15 };
16};
17
18&{/soc@0} {
19 u-boot,dm-pre-reloc;
20 u-boot,dm-spl;
21};
22
Fabio Estevam16379f02022-10-03 11:01:15 -030023&spba1 {
24 u-boot,dm-spl;
25};
26
Fabio Estevamd08fbe52022-10-03 10:59:24 -030027&spba1 {
28 u-boot,dm-spl;
29};
30
Tim Harvey1a50e742022-02-11 10:48:56 -080031&clk {
32 u-boot,dm-spl;
33 u-boot,dm-pre-reloc;
34 /delete-property/ assigned-clocks;
35 /delete-property/ assigned-clock-parents;
36 /delete-property/ assigned-clock-rates;
37};
38
39&osc_24m {
40 u-boot,dm-spl;
41 u-boot,dm-pre-reloc;
42};
43
44&aips1 {
45 u-boot,dm-spl;
46 u-boot,dm-pre-reloc;
47};
48
49&aips2 {
50 u-boot,dm-spl;
51};
52
53&aips3 {
54 u-boot,dm-spl;
55};
56
57&iomuxc {
58 u-boot,dm-spl;
59};
60
61&gpio1 {
62 u-boot,dm-spl;
63};
64
65&gpio2 {
66 u-boot,dm-spl;
67};
68
69&gpio3 {
70 u-boot,dm-spl;
71};
72
73&gpio4 {
74 u-boot,dm-spl;
75};
76
77&gpio5 {
78 u-boot,dm-spl;
79};
80
81&uart2 {
82 u-boot,dm-spl;
83};
84
85&pinctrl_uart2 {
86 u-boot,dm-spl;
87};
88
89&usdhc3 {
90 u-boot,dm-spl;
91};
92
93&pinctrl_usdhc3 {
94 u-boot,dm-spl;
95};
96
97&i2c1 {
98 u-boot,dm-spl;
99};
100
101&pinctrl_i2c1 {
102 u-boot,dm-spl;
103};
104
Tim Harveyd4daeaa2022-04-13 08:56:40 -0700105&gsc {
106 u-boot,dm-spl;
107};
108
Tim Harvey1a50e742022-02-11 10:48:56 -0800109&i2c2 {
110 u-boot,dm-spl;
111};
112
113&pinctrl_i2c2 {
114 u-boot,dm-spl;
115};
116
117&wdog1 {
118 u-boot,dm-spl;
119};
120
Peng Fan8cf3c8e2022-06-11 20:21:05 +0800121&pinctrl_wdog {
122 u-boot,dm-spl;
123};
124
Tim Harvey1a50e742022-02-11 10:48:56 -0800125&binman {
126 u-boot-spl-ddr {
127 align = <4>;
128 align-size = <4>;
129 filename = "u-boot-spl-ddr.bin";
130 pad-byte = <0xff>;
131
132 u-boot-spl {
133 align-end = <4>;
134 filename = "u-boot-spl.bin";
135 };
136
Peng Fan5db610f42022-07-26 16:41:20 +0800137 ddr-1d-imem-fw {
Tim Harvey1a50e742022-02-11 10:48:56 -0800138 filename = "lpddr4_pmu_train_1d_imem.bin";
Peng Fan68811572022-07-26 16:41:22 +0800139 align-end = <4>;
Tim Harvey1a50e742022-02-11 10:48:56 -0800140 type = "blob-ext";
141 };
142
Peng Fan5db610f42022-07-26 16:41:20 +0800143 ddr-1d-dmem-fw {
Tim Harvey1a50e742022-02-11 10:48:56 -0800144 filename = "lpddr4_pmu_train_1d_dmem.bin";
Peng Fan68811572022-07-26 16:41:22 +0800145 align-end = <4>;
Tim Harvey1a50e742022-02-11 10:48:56 -0800146 type = "blob-ext";
147 };
148
Peng Fan5db610f42022-07-26 16:41:20 +0800149 ddr-2d-imem-fw {
Tim Harvey1a50e742022-02-11 10:48:56 -0800150 filename = "lpddr4_pmu_train_2d_imem.bin";
Peng Fan68811572022-07-26 16:41:22 +0800151 align-end = <4>;
Tim Harvey1a50e742022-02-11 10:48:56 -0800152 type = "blob-ext";
153 };
154
Peng Fan5db610f42022-07-26 16:41:20 +0800155 ddr-2d-dmem-fw {
Tim Harvey1a50e742022-02-11 10:48:56 -0800156 filename = "lpddr4_pmu_train_2d_dmem.bin";
Peng Fan68811572022-07-26 16:41:22 +0800157 align-end = <4>;
Tim Harvey1a50e742022-02-11 10:48:56 -0800158 type = "blob-ext";
159 };
160 };
161
162 spl {
163 filename = "spl.bin";
164
165 mkimage {
166 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
167
168 blob {
169 filename = "u-boot-spl-ddr.bin";
170 };
171 };
172 };
173
174 itb {
175 filename = "u-boot.itb";
176
177 fit {
178 description = "Configuration to load ATF before U-Boot";
179 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
180 fit,fdt-list = "of-list";
181 #address-cells = <1>;
182
183 images {
184 uboot {
185 arch = "arm64";
186 compression = "none";
187 description = "U-Boot (64-bit)";
188 load = <CONFIG_SYS_TEXT_BASE>;
189 type = "standalone";
190
191 uboot_blob {
192 filename = "u-boot-nodtb.bin";
193 type = "blob-ext";
194 };
195 };
196
197 atf {
198 arch = "arm64";
199 compression = "none";
200 description = "ARM Trusted Firmware";
201 entry = <0x960000>;
202 load = <0x960000>;
203 type = "firmware";
204
205 atf_blob {
206 filename = "bl31.bin";
207 type = "blob-ext";
208 };
209 };
210
211 binman_fip: fip {
212 arch = "arm64";
213 compression = "none";
214 description = "Trusted Firmware FIP";
215 load = <0x40310000>;
216 type = "firmware";
217 };
218
219 @fdt-SEQ {
220 compression = "none";
221 description = "NAME";
222 type = "flat_dt";
223
224 uboot_fdt_blob {
225 filename = "u-boot.dtb";
226 type = "blob-ext";
227 };
228 };
229 };
230
231 configurations {
232 default = "@config-DEFAULT-SEQ";
233
234 binman_configuration: @config-SEQ {
235 description = "NAME";
236 fdt = "fdt-SEQ";
237 firmware = "uboot";
238 loadables = "atf";
239 };
240 };
241 };
242 };
243
244 imx-boot {
245 filename = "flash.bin";
246 pad-byte = <0x00>;
247
248 spl {
249 filename = "spl.bin";
250 offset = <0x0>;
251 type = "blob-ext";
252 };
253
254 binman_uboot: uboot {
255 filename = "u-boot.itb";
256 offset = <0x58000>;
257 type = "blob-ext";
258 };
259 };
260};