blob: 0efa6862ebb6e8fbc0ee390f2c7f6de80f3fbc9c [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 Fordcd0cdf22022-07-31 12:16:10 -0500109&spba1 {
110 u-boot,dm-spl;
111};
112
Adam Forda3c2df92021-09-10 15:19:22 -0500113&uart2 {
114 u-boot,dm-spl;
115};
116
Adam Fordd42247d2020-12-11 06:01:46 -0600117&usdhc1 {
118 u-boot,dm-spl;
119 sd-uhs-sdr104;
120 sd-uhs-ddr50;
121};
122
123&usdhc2 {
124 u-boot,dm-spl;
125 sd-uhs-sdr104;
126 sd-uhs-ddr50;
127};
128
129&usdhc3 {
130 u-boot,dm-spl;
131 mmc-hs400-1_8v;
132 mmc-hs400-enhanced-strobe;
133};
134
135&wdog1 {
136 u-boot,dm-spl;
137};
Adam Forda3c2df92021-09-10 15:19:22 -0500138
Peng Fan94bef152022-06-11 20:21:06 +0800139&pinctrl_wdog {
140 u-boot,dm-spl;
141};
142
Adam Forda3c2df92021-09-10 15:19:22 -0500143&binman {
144 u-boot-spl-ddr {
145 filename = "u-boot-spl-ddr.bin";
146 pad-byte = <0xff>;
147 align-size = <4>;
148 align = <4>;
149
150 u-boot-spl {
151 align-end = <4>;
152 };
153
Peng Fan5db610f42022-07-26 16:41:20 +0800154 ddr-1d-imem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500155 filename = "lpddr4_pmu_train_1d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800156 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800157 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500158 };
159
Peng Fan5db610f42022-07-26 16:41:20 +0800160 ddr-1d-dmem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500161 filename = "lpddr4_pmu_train_1d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800162 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800163 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500164 };
165
Peng Fan5db610f42022-07-26 16:41:20 +0800166 ddr-2d-imem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500167 filename = "lpddr4_pmu_train_2d_imem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800168 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800169 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500170 };
171
Peng Fan5db610f42022-07-26 16:41:20 +0800172 ddr-2d-dmem-fw {
Adam Forda3c2df92021-09-10 15:19:22 -0500173 filename = "lpddr4_pmu_train_2d_dmem.bin";
Peng Fan5db610f42022-07-26 16:41:20 +0800174 type = "blob-ext";
Peng Fan68811572022-07-26 16:41:22 +0800175 align-end = <4>;
Adam Forda3c2df92021-09-10 15:19:22 -0500176 };
177 };
178
179
180 spl {
181 filename = "spl.bin";
182
183 mkimage {
184 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
185
186 blob {
187 filename = "u-boot-spl-ddr.bin";
188 };
189 };
190 };
191
192 itb {
193 filename = "u-boot.itb";
194
195 fit {
196 description = "Configuration to load ATF before U-Boot";
197 #address-cells = <1>;
198 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
199
200 images {
201 uboot {
202 description = "U-Boot (64-bit)";
203 type = "standalone";
204 arch = "arm64";
205 compression = "none";
206 load = <CONFIG_SYS_TEXT_BASE>;
207
208 uboot_blob: blob-ext {
209 filename = "u-boot-nodtb.bin";
210 };
211 };
212
213 atf {
214 description = "ARM Trusted Firmware";
215 type = "firmware";
216 arch = "arm64";
217 compression = "none";
218 load = <0x960000>;
219 entry = <0x960000>;
220
221 atf_blob: blob-ext {
222 filename = "bl31.bin";
223 };
224 };
225
226 fdt {
227 description = "NAME";
228 type = "flat_dt";
229 compression = "none";
230
231 uboot_fdt_blob: blob-ext {
232 filename = "u-boot.dtb";
233 };
234 };
235 };
236
237 configurations {
238 default = "conf";
239
240 conf {
241 description = "NAME";
242 firmware = "uboot";
243 loadables = "atf";
244 fdt = "fdt";
245 };
246 };
247 };
248 };
249
250 imx-boot {
251 filename = "flash.bin";
252 pad-byte = <0x00>;
253
254 spl: blob-ext@1 {
255 offset = <0x0>;
256 filename = "spl.bin";
257 };
258
259 uboot: blob-ext@2 {
260 offset = <0x58000>;
261 filename = "u-boot.itb";
262 };
263 };
264};