blob: 5e368a61bc9f923813f54e5c6ddf270794c9e7da [file] [log] [blame]
Frieder Schrempf9cab87f2021-09-29 16:42:42 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2019 Kontron Electronics GmbH
4 */
5
6#include "imx8mm-u-boot.dtsi"
7
8/ {
9 aliases {
10 usb0 = &usbotg1;
11 usb1 = &usbotg2;
12 };
13
14 binman: binman {
15 multiple-images;
16 };
17
18 wdt-reboot {
19 compatible = "wdt-reboot";
20 wdt = <&wdog1>;
21 u-boot,dm-spl;
22 };
23
24 firmware {
25 optee {
26 compatible = "linaro,optee-tz";
27 method = "smc";
28 };
29 };
30};
31
32&fec1 {
33 phy-mode = "rgmii-rxid";
34};
35
36&i2c1 {
37 u-boot,dm-spl;
38 u-boot,dm-pre-reloc;
39};
40
41&i2c2 {
42 status = "okay";
43 u-boot,dm-spl;
44 u-boot,dm-pre-reloc;
45};
46
47&pinctrl_ecspi1 {
48 u-boot,dm-spl;
49};
50
51&pinctrl_i2c1 {
52 u-boot,dm-spl;
53};
54
55&pinctrl_pmic {
56 u-boot,dm-spl;
57 fsl,pins = <
58 MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141
59 /* Disable Pullup for SD_VSEL */
60 MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41
61 >;
62};
63
64&pinctrl_uart3 {
65 u-boot,dm-spl;
66 u-boot,dm-pre-reloc;
67};
68
69&pinctrl_usdhc1 {
70 u-boot,dm-spl;
71};
72
73&pinctrl_usdhc1_100mhz {
74 u-boot,dm-spl;
75};
76
77&pinctrl_usdhc1_200mhz {
78 u-boot,dm-spl;
79};
80
81&pinctrl_usdhc2 {
82 u-boot,dm-spl;
83};
84
85&pca9450 {
86 u-boot,dm-spl;
87};
88
89&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} {
90 u-boot,dm-spl;
91};
92
93&ecspi1 {
94 u-boot,dm-spl;
95};
96
97&gpio1 {
98 u-boot,dm-spl;
99};
100
101&gpio2 {
102 u-boot,dm-spl;
103};
104
105&gpio3 {
106 u-boot,dm-spl;
107};
108
109&gpio4 {
110 u-boot,dm-spl;
111};
112
113&gpio5 {
114 u-boot,dm-spl;
115};
116
117&uart3 {
118 u-boot,dm-spl;
119 u-boot,dm-pre-reloc;
120};
121
122&usdhc1 {
123 u-boot,dm-spl;
124};
125
126&usdhc2 {
127 u-boot,dm-spl;
128};
129
130&wdog1 {
131 u-boot,dm-spl;
132};
133
134&binman {
135 u-boot-spl-ddr {
136 filename = "u-boot-spl-ddr.bin";
137 pad-byte = <0xff>;
138 align-size = <4>;
139 align = <4>;
140
141 u-boot-spl {
142 align-end = <4>;
143 };
144
145 blob_1: blob-ext@1 {
146 filename = "lpddr4_pmu_train_1d_imem.bin";
147 size = <0x8000>;
148 };
149
150 blob_2: blob-ext@2 {
151 filename = "lpddr4_pmu_train_1d_dmem.bin";
152 size = <0x4000>;
153 };
154
155 blob_3: blob-ext@3 {
156 filename = "lpddr4_pmu_train_2d_imem.bin";
157 size = <0x8000>;
158 };
159
160 blob_4: blob-ext@4 {
161 filename = "lpddr4_pmu_train_2d_dmem.bin";
162 size = <0x4000>;
163 };
164 };
165
166 spl {
167 filename = "spl.bin";
168
169 mkimage {
170 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
171
172 blob {
173 filename = "u-boot-spl-ddr.bin";
174 };
175 };
176 };
177
178 itb {
179 filename = "u-boot.itb";
180
181 fit {
182 description = "Configuration to load ATF before U-Boot";
183 #address-cells = <1>;
184 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
185
186 images {
187 uboot {
188 description = "U-Boot (64-bit)";
189 type = "standalone";
190 arch = "arm64";
191 compression = "none";
192 load = <CONFIG_SYS_TEXT_BASE>;
193
194 uboot_blob: blob-ext {
195 filename = "u-boot-nodtb.bin";
196 };
197 };
198
199 atf {
200 description = "ARM Trusted Firmware";
201 type = "firmware";
202 arch = "arm64";
203 compression = "none";
204 load = <0x920000>;
205 entry = <0x920000>;
206
207 atf_blob: blob-ext {
208 filename = "bl31.bin";
209 };
210 };
211
212 fdt {
213 description = "NAME";
214 type = "flat_dt";
215 compression = "none";
216
217 uboot_fdt_blob: blob-ext {
218 filename = "u-boot.dtb";
219 };
220 };
221 };
222
223 configurations {
224 default = "conf";
225
226 conf {
227 description = "NAME";
228 firmware = "uboot";
229 loadables = "atf";
230 fdt = "fdt";
231 };
232 };
233 };
234 };
235
236 imx-boot {
237 filename = "flash.bin";
238 pad-byte = <0x00>;
239
240 spl: blob-ext@1 {
241 offset = <0x0>;
242 filename = "spl.bin";
243 };
244
245 uboot: blob-ext@2 {
246 offset = <0x57c00>;
247 filename = "u-boot.itb";
248 };
249 };
250
251 u-boot-update {
252 filename = "firmware-update.itb";
253
254 fit {
255 description = "Configuration for firmware update file";
256
257 images {
258 flash-bin {
259 description = "U-Boot flash image";
260 type = "firmware";
261 os = "u-boot";
262 arch = "arm";
263 compress = "none";
264 load = <0>; /* unused */
265
266 blob {
267 filename = "flash.bin";
268 };
269
270 };
271 };
272 };
273 };
274};