blob: 495bef3d38b3b560dfb86fad3bb925ce37d68f7d [file] [log] [blame]
Peng Fan9b15ce92019-08-27 06:26:08 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Marek Vasut77cfd0d2020-04-29 15:04:24 +02006/ {
Peng Fan8996e6b2021-04-06 11:58:57 +08007 binman: binman {
8 multiple-images;
9 };
10
Marek Vasut77cfd0d2020-04-29 15:04:24 +020011 wdt-reboot {
12 compatible = "wdt-reboot";
13 wdt = <&wdog1>;
14 u-boot,dm-spl;
15 };
Clement Faure56d20502021-03-25 17:30:33 +080016
17 firmware {
18 optee {
19 compatible = "linaro,optee-tz";
20 method = "smc";
21 };
22 };
Marek Vasut77cfd0d2020-04-29 15:04:24 +020023};
24
Peng Fan387c4492019-10-16 10:24:30 +000025&{/soc@0} {
Peng Fan9b15ce92019-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 Fan98bcf9a2019-10-22 03:29:54 +000033 /delete-property/ assigned-clocks;
34 /delete-property/ assigned-clock-parents;
35 /delete-property/ assigned-clock-rates;
Peng Fan9b15ce92019-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 Zhizhikin247bbeb2020-12-05 17:29:17 +000060&reg_usdhc2_vmmc {
61 u-boot,off-on-delay-us = <20000>;
62};
63
Peng Fan9b15ce92019-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 Zhizhikin50b1a692020-12-05 17:29:18 +0000114 sd-uhs-sdr104;
115 sd-uhs-ddr50;
Peng Fan9b15ce92019-08-27 06:26:08 +0000116};
117
118&usdhc3 {
119 u-boot,dm-spl;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +0000120 mmc-hs400-1_8v;
121 mmc-hs400-enhanced-strobe;
Peng Fan9b15ce92019-08-27 06:26:08 +0000122};
Peng Fan8c61eba2019-10-16 10:24:42 +0000123
124&i2c1 {
125 u-boot,dm-spl;
126};
127
Ye Li48ddafd2021-03-19 15:56:55 +0800128&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
Peng Fan8c61eba2019-10-16 10:24:42 +0000129 u-boot,dm-spl;
130};
131
Ye Li48ddafd2021-03-19 15:56:55 +0800132&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
Peng Fan8c61eba2019-10-16 10:24:42 +0000133 u-boot,dm-spl;
134};
135
136&pinctrl_i2c1 {
137 u-boot,dm-spl;
138};
139
140&pinctrl_pmic {
141 u-boot,dm-spl;
142};
Peng Fanbdcf3a82019-10-22 03:30:04 +0000143
144&fec1 {
145 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
146};
Marek Vasut77cfd0d2020-04-29 15:04:24 +0200147
148&wdog1 {
149 u-boot,dm-spl;
150};
Peng Fan8996e6b2021-04-06 11:58:57 +0800151
152&binman {
153 u-boot-spl-ddr {
154 filename = "u-boot-spl-ddr.bin";
155 pad-byte = <0xff>;
156 align-size = <4>;
157 align = <4>;
158
159 u-boot-spl {
160 align-end = <4>;
161 };
162
163 blob_1: blob-ext@1 {
164 filename = "lpddr4_pmu_train_1d_imem.bin";
165 size = <0x8000>;
166 };
167
168 blob_2: blob-ext@2 {
169 filename = "lpddr4_pmu_train_1d_dmem.bin";
170 size = <0x4000>;
171 };
172
173 blob_3: blob-ext@3 {
174 filename = "lpddr4_pmu_train_2d_imem.bin";
175 size = <0x8000>;
176 };
177
178 blob_4: blob-ext@4 {
179 filename = "lpddr4_pmu_train_2d_dmem.bin";
180 size = <0x4000>;
181 };
182 };
183
184
185 flash {
186 mkimage {
187 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
188
189 blob {
190 filename = "u-boot-spl-ddr.bin";
191 };
192 };
193 };
194
195 itb {
196 filename = "u-boot.itb";
197
198 fit {
199 description = "Configuration to load ATF before U-Boot";
200 #address-cells = <1>;
201 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
202
203 images {
204 uboot {
205 description = "U-Boot (64-bit)";
206 type = "standalone";
207 arch = "arm64";
208 compression = "none";
209 load = <CONFIG_SYS_TEXT_BASE>;
210
211 uboot_blob: blob-ext {
212 filename = "u-boot-nodtb.bin";
213 };
214 };
215
216 atf {
217 description = "ARM Trusted Firmware";
218 type = "firmware";
219 arch = "arm64";
220 compression = "none";
221 load = <0x920000>;
222 entry = <0x920000>;
223
224 atf_blob: blob-ext {
225 filename = "bl31.bin";
226 };
227 };
228
229 fdt {
230 description = "NAME";
231 type = "flat_dt";
232 compression = "none";
233
234 uboot_fdt_blob: blob-ext {
235 filename = "u-boot.dtb";
236 };
237 };
238 };
239
240 configurations {
241 default = "conf";
242
243 conf {
244 description = "NAME";
245 firmware = "uboot";
246 loadables = "atf";
247 fdt = "fdt";
248 };
249 };
250 };
251 };
252};