blob: 69fd69c8d0255557d1e3c711e8ca8b33904e0a2a [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
135&binman {
136 u-boot-spl-ddr {
137 filename = "u-boot-spl-ddr.bin";
138 pad-byte = <0xff>;
139 align-size = <4>;
140 align = <4>;
141
142 u-boot-spl {
143 align-end = <4>;
144 };
145
146 blob_1: blob-ext@1 {
147 filename = "lpddr4_pmu_train_1d_imem.bin";
148 size = <0x8000>;
149 };
150
151 blob_2: blob-ext@2 {
152 filename = "lpddr4_pmu_train_1d_dmem.bin";
153 size = <0x4000>;
154 };
155
156 blob_3: blob-ext@3 {
157 filename = "lpddr4_pmu_train_2d_imem.bin";
158 size = <0x8000>;
159 };
160
161 blob_4: blob-ext@4 {
162 filename = "lpddr4_pmu_train_2d_dmem.bin";
163 size = <0x4000>;
164 };
165 };
166
167
168 spl {
169 filename = "spl.bin";
170
171 mkimage {
172 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
173
174 blob {
175 filename = "u-boot-spl-ddr.bin";
176 };
177 };
178 };
179
180 itb {
181 filename = "u-boot.itb";
182
183 fit {
184 description = "Configuration to load ATF before U-Boot";
185 #address-cells = <1>;
186 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
187
188 images {
189 uboot {
190 description = "U-Boot (64-bit)";
191 type = "standalone";
192 arch = "arm64";
193 compression = "none";
194 load = <CONFIG_SYS_TEXT_BASE>;
195
196 uboot_blob: blob-ext {
197 filename = "u-boot-nodtb.bin";
198 };
199 };
200
201 atf {
202 description = "ARM Trusted Firmware";
203 type = "firmware";
204 arch = "arm64";
205 compression = "none";
206 load = <0x960000>;
207 entry = <0x960000>;
208
209 atf_blob: blob-ext {
210 filename = "bl31.bin";
211 };
212 };
213
214 fdt {
215 description = "NAME";
216 type = "flat_dt";
217 compression = "none";
218
219 uboot_fdt_blob: blob-ext {
220 filename = "u-boot.dtb";
221 };
222 };
223 };
224
225 configurations {
226 default = "conf";
227
228 conf {
229 description = "NAME";
230 firmware = "uboot";
231 loadables = "atf";
232 fdt = "fdt";
233 };
234 };
235 };
236 };
237
238 imx-boot {
239 filename = "flash.bin";
240 pad-byte = <0x00>;
241
242 spl: blob-ext@1 {
243 offset = <0x0>;
244 filename = "spl.bin";
245 };
246
247 uboot: blob-ext@2 {
248 offset = <0x58000>;
249 filename = "u-boot.itb";
250 };
251 };
252};