blob: 3701557dec80f59218f73508c2f4609a97f1a500 [file] [log] [blame]
Peng Fanf9220172019-08-27 06:26:08 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Marek Vasut4512d502020-04-29 15:04:24 +02006/ {
Peng Fanc687bc92021-04-06 11:58:57 +08007 binman: binman {
8 multiple-images;
9 };
10
Marek Vasut4512d502020-04-29 15:04:24 +020011 wdt-reboot {
12 compatible = "wdt-reboot";
13 wdt = <&wdog1>;
14 u-boot,dm-spl;
15 };
Clement Faurea93b0d92021-03-25 17:30:33 +080016
17 firmware {
18 optee {
19 compatible = "linaro,optee-tz";
20 method = "smc";
21 };
22 };
Marek Vasut4512d502020-04-29 15:04:24 +020023};
24
Peng Fanab93ef62019-10-16 10:24:30 +000025&{/soc@0} {
Peng Fanf9220172019-08-27 06:26:08 +000026 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;
Peng Fan765ad4d2019-10-22 03:29:54 +000033 /delete-property/ assigned-clocks;
34 /delete-property/ assigned-clock-parents;
35 /delete-property/ assigned-clock-rates;
Peng Fanf9220172019-08-27 06:26:08 +000036};
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
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000060&reg_usdhc2_vmmc {
61 u-boot,off-on-delay-us = <20000>;
62};
63
Peng Fanf9220172019-08-27 06:26:08 +000064&pinctrl_reg_usdhc2_vmmc {
65 u-boot,dm-spl;
66};
67
68&pinctrl_uart2 {
69 u-boot,dm-spl;
70};
71
72&pinctrl_usdhc2_gpio {
73 u-boot,dm-spl;
74};
75
76&pinctrl_usdhc2 {
77 u-boot,dm-spl;
78};
79
80&pinctrl_usdhc3 {
81 u-boot,dm-spl;
82};
83
84&gpio1 {
85 u-boot,dm-spl;
86};
87
88&gpio2 {
89 u-boot,dm-spl;
90};
91
92&gpio3 {
93 u-boot,dm-spl;
94};
95
96&gpio4 {
97 u-boot,dm-spl;
98};
99
100&gpio5 {
101 u-boot,dm-spl;
102};
103
104&uart2 {
105 u-boot,dm-spl;
106};
107
108&usdhc1 {
109 u-boot,dm-spl;
110};
111
112&usdhc2 {
113 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000114 sd-uhs-sdr104;
115 sd-uhs-ddr50;
Haibo Chen26154952021-03-22 18:55:38 +0800116 fsl,signal-voltage-switch-extra-delay-ms = <8>;
Peng Fanf9220172019-08-27 06:26:08 +0000117};
118
119&usdhc3 {
120 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000121 mmc-hs400-1_8v;
122 mmc-hs400-enhanced-strobe;
Peng Fanf9220172019-08-27 06:26:08 +0000123};
Peng Fana9e04332019-10-16 10:24:42 +0000124
125&i2c1 {
126 u-boot,dm-spl;
127};
128
Ye Li79e69702021-03-19 15:56:55 +0800129&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
Peng Fana9e04332019-10-16 10:24:42 +0000130 u-boot,dm-spl;
131};
132
Ye Li79e69702021-03-19 15:56:55 +0800133&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
Peng Fana9e04332019-10-16 10:24:42 +0000134 u-boot,dm-spl;
135};
136
137&pinctrl_i2c1 {
138 u-boot,dm-spl;
139};
140
141&pinctrl_pmic {
142 u-boot,dm-spl;
143};
Peng Fane5f2b222019-10-22 03:30:04 +0000144
145&fec1 {
146 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
147};
Marek Vasut4512d502020-04-29 15:04:24 +0200148
149&wdog1 {
150 u-boot,dm-spl;
151};
Peng Fanc687bc92021-04-06 11:58:57 +0800152
153&binman {
154 u-boot-spl-ddr {
155 filename = "u-boot-spl-ddr.bin";
156 pad-byte = <0xff>;
157 align-size = <4>;
158 align = <4>;
159
160 u-boot-spl {
161 align-end = <4>;
162 };
163
164 blob_1: blob-ext@1 {
165 filename = "lpddr4_pmu_train_1d_imem.bin";
166 size = <0x8000>;
167 };
168
169 blob_2: blob-ext@2 {
170 filename = "lpddr4_pmu_train_1d_dmem.bin";
171 size = <0x4000>;
172 };
173
174 blob_3: blob-ext@3 {
175 filename = "lpddr4_pmu_train_2d_imem.bin";
176 size = <0x8000>;
177 };
178
179 blob_4: blob-ext@4 {
180 filename = "lpddr4_pmu_train_2d_dmem.bin";
181 size = <0x4000>;
182 };
183 };
184
185
186 flash {
187 mkimage {
188 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
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 = <0x920000>;
223 entry = <0x920000>;
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 };
253};