blob: 5f839524028c52c5b0614df7c047f1297e94b996 [file] [log] [blame]
Adam Fordd42247d2020-12-11 06:01:46 -06001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2020 Compass Electronics Group, LLC
4 */
5
6/ {
Adam Forda3c2df92021-09-10 15:19:22 -05007 binman: binman {
8 multiple-images;
9 };
10
Adam Fordd42247d2020-12-11 06:01:46 -060011 wdt-reboot {
12 compatible = "wdt-reboot";
13 wdt = <&wdog1>;
14 u-boot,dm-spl;
15 };
16};
17
18&{/soc@0} {
19 u-boot,dm-pre-reloc;
20 u-boot,dm-spl;
21};
22
23&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
24 u-boot,dm-spl;
25};
26
27&{/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators} {
28 u-boot,dm-spl;
29};
30
31&aips1 {
32 u-boot,dm-spl;
33 u-boot,dm-pre-reloc;
34};
35
36&aips2 {
37 u-boot,dm-spl;
38};
39
40&aips3 {
41 u-boot,dm-spl;
42};
43
44&clk {
45 u-boot,dm-spl;
46 u-boot,dm-pre-reloc;
Adam Forda3c2df92021-09-10 15:19:22 -050047 /delete-property/ assigned-clocks;
48 /delete-property/ assigned-clock-parents;
49 /delete-property/ assigned-clock-rates;
Adam Fordd42247d2020-12-11 06:01:46 -060050};
51
52&gpio1 {
53 u-boot,dm-spl;
54};
55
56&gpio2 {
57 u-boot,dm-spl;
58};
59
60&i2c1 {
61 u-boot,dm-spl;
62};
63
64&iomuxc {
65 u-boot,dm-spl;
66};
67
68&osc_24m {
69 u-boot,dm-spl;
70 u-boot,dm-pre-reloc;
71};
72
73&pca6416_0 {
74 compatible = "ti,tca6416";
75};
76
77&pca6416_1 {
78 compatible = "ti,tca6416";
79};
80
81&pinctrl_i2c1 {
82 u-boot,dm-spl;
83};
84
85&pinctrl_pmic {
86 u-boot,dm-spl;
87};
88
89&pinctrl_uart2 {
90 u-boot,dm-spl;
91};
92
93&pinctrl_usdhc2_gpio {
94 u-boot,dm-spl;
95};
96
97&pinctrl_usdhc2 {
98 u-boot,dm-spl;
99};
100
101&pinctrl_usdhc3 {
102 u-boot,dm-spl;
103};
104
105&reg_usdhc2_vmmc {
106 u-boot,off-on-delay-us = <20000>;
107};
108
Adam Forda3c2df92021-09-10 15:19:22 -0500109&uart2 {
110 u-boot,dm-spl;
111};
112
Adam Fordd42247d2020-12-11 06:01:46 -0600113&usdhc1 {
114 u-boot,dm-spl;
115 sd-uhs-sdr104;
116 sd-uhs-ddr50;
117};
118
119&usdhc2 {
120 u-boot,dm-spl;
121 sd-uhs-sdr104;
122 sd-uhs-ddr50;
123};
124
125&usdhc3 {
126 u-boot,dm-spl;
127 mmc-hs400-1_8v;
128 mmc-hs400-enhanced-strobe;
129};
130
131&wdog1 {
132 u-boot,dm-spl;
133};
Adam Forda3c2df92021-09-10 15:19:22 -0500134
Peng Fan94bef152022-06-11 20:21:06 +0800135&pinctrl_wdog {
136 u-boot,dm-spl;
137};
138
Adam Forda3c2df92021-09-10 15:19:22 -0500139&binman {
140 u-boot-spl-ddr {
141 filename = "u-boot-spl-ddr.bin";
142 pad-byte = <0xff>;
143 align-size = <4>;
144 align = <4>;
145
146 u-boot-spl {
147 align-end = <4>;
148 };
149
Peng Fan5db610f42022-07-26 16:41:20 +0800150 ddr-1d-imem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500151 filename = "lpddr4_pmu_train_1d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800152 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800153 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500154 };
155
Peng Fan5db610f42022-07-26 16:41:20 +0800156 ddr-1d-dmem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500157 filename = "lpddr4_pmu_train_1d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800158 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800159 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500160 };
161
Peng Fan5db610f42022-07-26 16:41:20 +0800162 ddr-2d-imem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500163 filename = "lpddr4_pmu_train_2d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800164 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800165 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500166 };
167
Peng Fan5db610f42022-07-26 16:41:20 +0800168 ddr-2d-dmem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500169 filename = "lpddr4_pmu_train_2d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800170 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800171 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500172 };
173 };
174
175
176 spl {
177 filename = "spl.bin";
178
179 mkimage {
180 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
181
182 blob {
183 filename = "u-boot-spl-ddr.bin";
184 };
185 };
186 };
187
188 itb {
189 filename = "u-boot.itb";
190
191 fit {
192 description = "Configuration to load ATF before U-Boot";
193 #address-cells = <1>;
194 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
195
196 images {
197 uboot {
198 description = "U-Boot (64-bit)";
199 type = "standalone";
200 arch = "arm64";
201 compression = "none";
202 load = <CONFIG_SYS_TEXT_BASE>;
203
204 uboot_blob: blob-ext {
205 filename = "u-boot-nodtb.bin";
206 };
207 };
208
209 atf {
210 description = "ARM Trusted Firmware";
211 type = "firmware";
212 arch = "arm64";
213 compression = "none";
214 load = <0x960000>;
215 entry = <0x960000>;
216
217 atf_blob: blob-ext {
218 filename = "bl31.bin";
219 };
220 };
221
222 fdt {
223 description = "NAME";
224 type = "flat_dt";
225 compression = "none";
226
227 uboot_fdt_blob: blob-ext {
228 filename = "u-boot.dtb";
229 };
230 };
231 };
232
233 configurations {
234 default = "conf";
235
236 conf {
237 description = "NAME";
238 firmware = "uboot";
239 loadables = "atf";
240 fdt = "fdt";
241 };
242 };
243 };
244 };
245
246 imx-boot {
247 filename = "flash.bin";
248 pad-byte = <0x00>;
249
250 spl: blob-ext@1 {
251 offset = <0x0>;
252 filename = "spl.bin";
253 };
254
255 uboot: blob-ext@2 {
256 offset = <0x58000>;
257 filename = "u-boot.itb";
258 };
259 };
260};