blob: 4162f41cffb6bb84469f3af26b0fa472a49e38e3 [file] [log] [blame]
Peng Fanc47e09d2019-12-30 17:46:21 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Marek Vasut797a19a2020-04-29 15:04:26 +02006/ {
Peng Fand96d94b2021-04-06 11:59:02 +08007 binman: binman {
8 multiple-images;
9 };
10
Marek Vasut797a19a2020-04-29 15:04:26 +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 Vasut797a19a2020-04-29 15:04:26 +020022};
23
Peng Fanc47e09d2019-12-30 17:46:21 +080024&{/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;
32};
33
34&osc_32k {
35 u-boot,dm-spl;
36 u-boot,dm-pre-reloc;
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&reg_usdhc2_vmmc {
Andrey Zhizhikincf51a552020-12-05 17:29:17 +000062 u-boot,off-on-delay-us = <20000>;
63};
64
65&reg_usdhc2_vmmc {
Peng Fanc47e09d2019-12-30 17:46:21 +080066 u-boot,dm-spl;
67};
68
69&pinctrl_uart2 {
70 u-boot,dm-spl;
71};
72
73&pinctrl_usdhc2_gpio {
74 u-boot,dm-spl;
75};
76
77&pinctrl_usdhc2 {
78 u-boot,dm-spl;
79};
80
81&pinctrl_usdhc3 {
82 u-boot,dm-spl;
83};
84
85&gpio1 {
86 u-boot,dm-spl;
87};
88
89&gpio2 {
90 u-boot,dm-spl;
91};
92
93&gpio3 {
94 u-boot,dm-spl;
95};
96
97&gpio4 {
98 u-boot,dm-spl;
99};
100
101&gpio5 {
102 u-boot,dm-spl;
103};
104
105&uart2 {
106 u-boot,dm-spl;
107};
108
109&i2c1 {
110 u-boot,dm-spl;
111};
112
113&i2c2 {
114 u-boot,dm-spl;
115};
116
117&i2c3 {
118 u-boot,dm-spl;
119};
120
121&i2c4 {
122 u-boot,dm-spl;
123};
124
125&i2c5 {
126 u-boot,dm-spl;
127};
128
129&i2c6 {
130 u-boot,dm-spl;
131};
132
133&usdhc1 {
134 u-boot,dm-spl;
135};
136
137&usdhc2 {
138 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000139 sd-uhs-sdr104;
140 sd-uhs-ddr50;
Peng Fanc47e09d2019-12-30 17:46:21 +0800141};
142
143&usdhc3 {
144 u-boot,dm-spl;
Andrey Zhizhikin9aa95982020-12-05 17:29:18 +0000145 mmc-hs400-1_8v;
146 mmc-hs400-enhanced-strobe;
Peng Fanc47e09d2019-12-30 17:46:21 +0800147};
Marek Vasut797a19a2020-04-29 15:04:26 +0200148
149&wdog1 {
150 u-boot,dm-spl;
151};
Peng Fan4f0c97b2020-12-25 16:16:34 +0800152
153&fec {
154 phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
Ye Lid1b82062021-02-18 22:33:48 -0800155 phy-reset-duration = <15>;
156 phy-reset-post-delay = <100>;
Peng Fan4f0c97b2020-12-25 16:16:34 +0800157};
Peng Fand96d94b2021-04-06 11:59:02 +0800158
159&binman {
160 u-boot-spl-ddr {
161 filename = "u-boot-spl-ddr.bin";
162 pad-byte = <0xff>;
163 align-size = <4>;
164 align = <4>;
165
166 u-boot-spl {
167 align-end = <4>;
168 };
169
170 blob_1: blob-ext@1 {
171 filename = "lpddr4_pmu_train_1d_imem_202006.bin";
172 size = <0x8000>;
173 };
174
175 blob_2: blob-ext@2 {
176 filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
177 size = <0x4000>;
178 };
179
180 blob_3: blob-ext@3 {
181 filename = "lpddr4_pmu_train_2d_imem_202006.bin";
182 size = <0x8000>;
183 };
184
185 blob_4: blob-ext@4 {
186 filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
187 size = <0x4000>;
188 };
189 };
190
191
192 flash {
193 mkimage {
194 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000";
195
196 blob {
197 filename = "u-boot-spl-ddr.bin";
198 };
199 };
200 };
201
202 itb {
203 filename = "u-boot.itb";
204
205 fit {
206 description = "Configuration to load ATF before U-Boot";
207 #address-cells = <1>;
208 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
209
210 images {
211 uboot {
212 description = "U-Boot (64-bit)";
213 type = "standalone";
214 arch = "arm64";
215 compression = "none";
216 load = <CONFIG_SYS_TEXT_BASE>;
217
218 uboot_blob: blob-ext {
219 filename = "u-boot-nodtb.bin";
220 };
221 };
222
223 atf {
224 description = "ARM Trusted Firmware";
225 type = "firmware";
226 arch = "arm64";
227 compression = "none";
228 load = <0x970000>;
229 entry = <0x970000>;
230
231 atf_blob: blob-ext {
232 filename = "bl31.bin";
233 };
234 };
235
236 fdt {
237 description = "NAME";
238 type = "flat_dt";
239 compression = "none";
240
241 uboot_fdt_blob: blob-ext {
242 filename = "u-boot.dtb";
243 };
244 };
245 };
246
247 configurations {
248 default = "conf";
249
250 conf {
251 description = "NAME";
252 firmware = "uboot";
253 loadables = "atf";
254 fdt = "fdt";
255 };
256 };
257 };
258 };
259};