blob: 78773c198e408cb7a4c311f73e78d1a1f5a746c3 [file] [log] [blame]
Peng Fana181afe2019-09-16 03:09:55 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
Gaurav Jainbce9acf2022-03-24 11:50:26 +05303 * Copyright 2019, 2021 NXP
Peng Fana181afe2019-09-16 03:09:55 +00004 */
5
Marek Vasut9583d622020-04-29 15:04:25 +02006/ {
Peng Fan2d5706d2021-04-06 11:58:59 +08007 binman: binman {
8 multiple-images;
9 };
10
Marek Vasut9583d622020-04-29 15:04:25 +020011 wdt-reboot {
12 compatible = "wdt-reboot";
13 wdt = <&wdog1>;
14 u-boot,dm-spl;
15 };
Clement Faurea93b0d92021-03-25 17:30:33 +080016 firmware {
17 optee {
18 compatible = "linaro,optee-tz";
19 method = "smc";
20 };
21 };
Marek Vasut9583d622020-04-29 15:04:25 +020022};
23
Peng Fana181afe2019-09-16 03:09:55 +000024&{/soc@0} {
25 u-boot,dm-pre-reloc;
26 u-boot,dm-spl;
27};
28
29&clk {
30 u-boot,dm-spl;
31 u-boot,dm-pre-reloc;
Peng Fan80607bf2021-03-19 15:57:08 +080032 /delete-property/ assigned-clocks;
33 /delete-property/ assigned-clock-parents;
34 /delete-property/ assigned-clock-rates;
Peng Fana181afe2019-09-16 03:09:55 +000035};
36
37&osc_24m {
38 u-boot,dm-spl;
39 u-boot,dm-pre-reloc;
40};
41
42&aips1 {
43 u-boot,dm-spl;
44 u-boot,dm-pre-reloc;
45};
46
47&aips2 {
48 u-boot,dm-spl;
49};
50
51&aips3 {
52 u-boot,dm-spl;
53};
54
55&iomuxc {
56 u-boot,dm-spl;
57};
58
59&pinctrl_reg_usdhc2_vmmc {
60 u-boot,dm-spl;
61};
62
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000063&reg_usdhc2_vmmc {
64 u-boot,off-on-delay-us = <20000>;
65};
66
Peng Fana181afe2019-09-16 03:09:55 +000067&pinctrl_uart2 {
68 u-boot,dm-spl;
69};
70
71&pinctrl_usdhc2_gpio {
72 u-boot,dm-spl;
73};
74
75&pinctrl_usdhc2 {
76 u-boot,dm-spl;
77};
78
79&pinctrl_usdhc3 {
80 u-boot,dm-spl;
81};
82
Peng Fan3f9158a2022-05-05 19:05:57 +080083&pinctrl_wdog {
84 u-boot,dm-spl;
85};
86
Peng Fana181afe2019-09-16 03:09:55 +000087&gpio1 {
88 u-boot,dm-spl;
89};
90
91&gpio2 {
92 u-boot,dm-spl;
93};
94
95&gpio3 {
96 u-boot,dm-spl;
97};
98
99&gpio4 {
100 u-boot,dm-spl;
101};
102
103&gpio5 {
104 u-boot,dm-spl;
105};
106
107&uart2 {
108 u-boot,dm-spl;
109};
110
Gaurav Jainbce9acf2022-03-24 11:50:26 +0530111&crypto {
112 u-boot,dm-spl;
113};
114
115&sec_jr0 {
116 u-boot,dm-spl;
117};
118
119&sec_jr1 {
120 u-boot,dm-spl;
121};
122
123&sec_jr2 {
124 u-boot,dm-spl;
125};
126
Peng Fana181afe2019-09-16 03:09:55 +0000127&usdhc1 {
128 u-boot,dm-spl;
129};
130
131&usdhc2 {
132 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000133 sd-uhs-sdr104;
134 sd-uhs-ddr50;
Peng Fana181afe2019-09-16 03:09:55 +0000135};
136
137&usdhc3 {
138 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000139 mmc-hs400-1_8v;
140 mmc-hs400-enhanced-strobe;
Peng Fana181afe2019-09-16 03:09:55 +0000141};
Marek Vasut9583d622020-04-29 15:04:25 +0200142
143&wdog1 {
144 u-boot,dm-spl;
145};
Peng Fan2d5706d2021-04-06 11:58:59 +0800146
147&binman {
148 u-boot-spl-ddr {
149 filename = "u-boot-spl-ddr.bin";
150 pad-byte = <0xff>;
151 align-size = <4>;
152 align = <4>;
153
154 u-boot-spl {
155 align-end = <4>;
156 };
157
Peng Fan5db610f42022-07-26 16:41:20 +0800158 ddr-1d-imem-fw {
Peng Fan2d5706d2021-04-06 11:58:59 +0800159 filename = "ddr4_imem_1d_201810.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800160 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800161 align-end = <4>;
Peng Fan2d5706d2021-04-06 11:58:59 +0800162 };
163
Peng Fan5db610f42022-07-26 16:41:20 +0800164 ddr-1d-dmem-fw {
Peng Fan2d5706d2021-04-06 11:58:59 +0800165 filename = "ddr4_dmem_1d_201810.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800166 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800167 align-end = <4>;
Peng Fan2d5706d2021-04-06 11:58:59 +0800168 };
169
Peng Fan5db610f42022-07-26 16:41:20 +0800170 ddr-2d-imem-fw {
Peng Fan2d5706d2021-04-06 11:58:59 +0800171 filename = "ddr4_imem_2d_201810.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800172 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800173 align-end = <4>;
Peng Fan2d5706d2021-04-06 11:58:59 +0800174 };
175
Peng Fan5db610f42022-07-26 16:41:20 +0800176 ddr-2d-dmem-fw {
Peng Fan2d5706d2021-04-06 11:58:59 +0800177 filename = "ddr4_dmem_2d_201810.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800178 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800179 align-end = <4>;
Peng Fan2d5706d2021-04-06 11:58:59 +0800180 };
181 };
182
183
Andrey Zhizhikin08dbb902022-01-17 23:04:07 +0100184 spl {
185 filename = "spl.bin";
186
Peng Fan2d5706d2021-04-06 11:58:59 +0800187 mkimage {
188 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
189
190 blob {
191 filename = "u-boot-spl-ddr.bin";
192 };
193 };
194 };
195
196 itb {
197 filename = "u-boot.itb";
198
199 fit {
200 description = "Configuration to load ATF before U-Boot";
201 #address-cells = <1>;
202 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
203
204 images {
205 uboot {
206 description = "U-Boot (64-bit)";
207 type = "standalone";
208 arch = "arm64";
209 compression = "none";
210 load = <CONFIG_SYS_TEXT_BASE>;
211
212 uboot_blob: blob-ext {
213 filename = "u-boot-nodtb.bin";
214 };
215 };
216
217 atf {
218 description = "ARM Trusted Firmware";
219 type = "firmware";
220 arch = "arm64";
221 compression = "none";
222 load = <0x960000>;
223 entry = <0x960000>;
224
225 atf_blob: blob-ext {
226 filename = "bl31.bin";
227 };
228 };
229
230 fdt {
231 description = "NAME";
232 type = "flat_dt";
233 compression = "none";
234
235 uboot_fdt_blob: blob-ext {
236 filename = "u-boot.dtb";
237 };
238 };
239 };
240
241 configurations {
242 default = "conf";
243
244 conf {
245 description = "NAME";
246 firmware = "uboot";
247 loadables = "atf";
248 fdt = "fdt";
249 };
250 };
251 };
252 };
Andrey Zhizhikin08dbb902022-01-17 23:04:07 +0100253
254 imx-boot {
255 filename = "flash.bin";
256 pad-byte = <0x00>;
257
258 spl: blob-ext@1 {
259 offset = <0x0>;
260 filename = "spl.bin";
261 };
262
263 uboot: blob-ext@2 {
264 offset = <0x58000>;
265 filename = "u-boot.itb";
266 };
267 };
Peng Fan2d5706d2021-04-06 11:58:59 +0800268};