blob: 12065935e495209e4e4a1c02fec67e3214a16d10 [file] [log] [blame]
Fabio Estevam53a24de2021-08-23 21:11:09 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
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 firmware {
18 optee {
19 compatible = "linaro,optee-tz";
20 method = "smc";
21 };
22 };
23};
24
25&{/soc@0} {
26 u-boot,dm-pre-reloc;
27 u-boot,dm-spl;
28};
29
30&clk {
31 u-boot,dm-spl;
32 u-boot,dm-pre-reloc;
33 /delete-property/ assigned-clocks;
34 /delete-property/ assigned-clock-parents;
35 /delete-property/ assigned-clock-rates;
36};
37
38&osc_24m {
39 u-boot,dm-spl;
40 u-boot,dm-pre-reloc;
41};
42
43&aips1 {
44 u-boot,dm-spl;
45 u-boot,dm-pre-reloc;
46};
47
48&aips2 {
49 u-boot,dm-spl;
50};
51
52&aips3 {
53 u-boot,dm-spl;
54};
55
56&iomuxc {
57 u-boot,dm-spl;
58};
59
60&pinctrl_uart3 {
61 u-boot,dm-spl;
62};
63
64&pinctrl_usdhc2_gpio {
65 u-boot,dm-spl;
66};
67
68&pinctrl_usdhc2 {
69 u-boot,dm-spl;
70};
71
72&pinctrl_usdhc3 {
73 u-boot,dm-spl;
74};
75
76&gpio1 {
77 u-boot,dm-spl;
78};
79
80&gpio2 {
81 u-boot,dm-spl;
82};
83
84&gpio3 {
85 u-boot,dm-spl;
86};
87
88&gpio4 {
89 u-boot,dm-spl;
90};
91
92&gpio5 {
93 u-boot,dm-spl;
94};
95
96&uart3 {
97 u-boot,dm-spl;
98};
99
100&usdhc1 {
101 u-boot,dm-spl;
102};
103
104&usdhc2 {
105 u-boot,dm-spl;
106};
107
108&usdhc3 {
109 u-boot,dm-spl;
110};
111
112&i2c1 {
113 u-boot,dm-spl;
114};
115
116&i2c2 {
117 u-boot,dm-spl;
118};
119
120&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
121 u-boot,dm-spl;
122};
123
124&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
125 u-boot,dm-spl;
126};
127
128&pinctrl_i2c2 {
129 u-boot,dm-spl;
130};
131
132&pinctrl_pmic {
133 u-boot,dm-spl;
134};
135
136&fec1 {
137 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
138};
139
140&wdog1 {
141 u-boot,dm-spl;
142};
143
144&binman {
145 u-boot-spl-ddr {
146 filename = "u-boot-spl-ddr.bin";
147 pad-byte = <0xff>;
148 align-size = <4>;
149 align = <4>;
150
151 u-boot-spl {
152 align-end = <4>;
153 };
154
155 blob_1: blob-ext@1 {
156 filename = "lpddr4_pmu_train_1d_imem.bin";
157 size = <0x8000>;
158 };
159
160 blob_2: blob-ext@2 {
161 filename = "lpddr4_pmu_train_1d_dmem.bin";
162 size = <0x4000>;
163 };
164
165 blob_3: blob-ext@3 {
166 filename = "lpddr4_pmu_train_2d_imem.bin";
167 size = <0x8000>;
168 };
169
170 blob_4: blob-ext@4 {
171 filename = "lpddr4_pmu_train_2d_dmem.bin";
172 size = <0x4000>;
173 };
174 };
175
176 flash {
177 mkimage {
178 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
179
180 blob {
181 filename = "u-boot-spl-ddr.bin";
182 };
183 };
184 };
185
186 itb {
187 filename = "u-boot.itb";
188
189 fit {
190 description = "Configuration to load ATF before U-Boot";
191 #address-cells = <1>;
192 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
193
194 images {
195 uboot {
196 description = "U-Boot (64-bit)";
197 type = "standalone";
198 arch = "arm64";
199 compression = "none";
200 load = <CONFIG_SYS_TEXT_BASE>;
201
202 uboot_blob: blob-ext {
203 filename = "u-boot-nodtb.bin";
204 };
205 };
206
207 atf {
208 description = "ARM Trusted Firmware";
209 type = "firmware";
210 arch = "arm64";
211 compression = "none";
212 load = <0x920000>;
213 entry = <0x920000>;
214
215 atf_blob: blob-ext {
216 filename = "bl2.bin";
217 };
218 };
219
220 fip {
221 description = "Trusted Firmware FIP";
222 type = "firmware";
223 arch = "arm64";
224 compression = "none";
225 load = <0x40310000>;
226
227 fip_blob: blob-ext{
228 filename = "fip.bin";
229 };
230 };
231
232 fdt {
233 description = "NAME";
234 type = "flat_dt";
235 compression = "none";
236
237 uboot_fdt_blob: blob-ext {
238 filename = "u-boot.dtb";
239 };
240 };
241 };
242
243 configurations {
244 default = "conf";
245
246 conf {
247 description = "NAME";
248 firmware = "uboot";
249 loadables = "atf", "fip";
250 fdt = "fdt";
251 };
252 };
253 };
254 };
255};