blob: 3c75415e8fb5019db27adcc491c7673d51fc487a [file] [log] [blame]
Peng Fan9b15ce92019-08-27 06:26:08 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
Jagan Tekic1f09502021-04-26 18:23:46 +05306#include "imx8mm-u-boot.dtsi"
7
Marek Vasut77cfd0d2020-04-29 15:04:24 +02008/ {
Peng Fan8996e6b2021-04-06 11:58:57 +08009 binman: binman {
10 multiple-images;
11 };
12
Marek Vasut77cfd0d2020-04-29 15:04:24 +020013 wdt-reboot {
14 compatible = "wdt-reboot";
15 wdt = <&wdog1>;
16 u-boot,dm-spl;
17 };
Clement Faure56d20502021-03-25 17:30:33 +080018
19 firmware {
20 optee {
21 compatible = "linaro,optee-tz";
22 method = "smc";
23 };
24 };
Marek Vasut77cfd0d2020-04-29 15:04:24 +020025};
26
Andrey Zhizhikin247bbeb2020-12-05 17:29:17 +000027&reg_usdhc2_vmmc {
28 u-boot,off-on-delay-us = <20000>;
29};
30
Peng Fan9b15ce92019-08-27 06:26:08 +000031&pinctrl_reg_usdhc2_vmmc {
32 u-boot,dm-spl;
33};
34
35&pinctrl_uart2 {
36 u-boot,dm-spl;
37};
38
39&pinctrl_usdhc2_gpio {
40 u-boot,dm-spl;
41};
42
43&pinctrl_usdhc2 {
44 u-boot,dm-spl;
45};
46
47&pinctrl_usdhc3 {
48 u-boot,dm-spl;
49};
50
51&gpio1 {
52 u-boot,dm-spl;
53};
54
55&gpio2 {
56 u-boot,dm-spl;
57};
58
59&gpio3 {
60 u-boot,dm-spl;
61};
62
63&gpio4 {
64 u-boot,dm-spl;
65};
66
67&gpio5 {
68 u-boot,dm-spl;
69};
70
71&uart2 {
72 u-boot,dm-spl;
73};
74
75&usdhc1 {
76 u-boot,dm-spl;
77};
78
79&usdhc2 {
80 u-boot,dm-spl;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +000081 sd-uhs-sdr104;
82 sd-uhs-ddr50;
Haibo Chen8974ff12021-03-22 18:55:38 +080083 fsl,signal-voltage-switch-extra-delay-ms = <8>;
Peng Fan9b15ce92019-08-27 06:26:08 +000084};
85
86&usdhc3 {
87 u-boot,dm-spl;
Andrey Zhizhikin50b1a692020-12-05 17:29:18 +000088 mmc-hs400-1_8v;
89 mmc-hs400-enhanced-strobe;
Peng Fan9b15ce92019-08-27 06:26:08 +000090};
Peng Fan8c61eba2019-10-16 10:24:42 +000091
92&i2c1 {
93 u-boot,dm-spl;
94};
95
Ye Li48ddafd2021-03-19 15:56:55 +080096&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25} {
Peng Fan8c61eba2019-10-16 10:24:42 +000097 u-boot,dm-spl;
98};
99
Ye Li48ddafd2021-03-19 15:56:55 +0800100&{/soc@0/bus@30800000/i2c@30a20000/pca9450@25/regulators} {
Peng Fan8c61eba2019-10-16 10:24:42 +0000101 u-boot,dm-spl;
102};
103
104&pinctrl_i2c1 {
105 u-boot,dm-spl;
106};
107
108&pinctrl_pmic {
109 u-boot,dm-spl;
110};
Peng Fanbdcf3a82019-10-22 03:30:04 +0000111
112&fec1 {
113 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
114};
Marek Vasut77cfd0d2020-04-29 15:04:24 +0200115
116&wdog1 {
117 u-boot,dm-spl;
118};
Peng Fan8996e6b2021-04-06 11:58:57 +0800119
120&binman {
121 u-boot-spl-ddr {
122 filename = "u-boot-spl-ddr.bin";
123 pad-byte = <0xff>;
124 align-size = <4>;
125 align = <4>;
126
127 u-boot-spl {
128 align-end = <4>;
129 };
130
131 blob_1: blob-ext@1 {
132 filename = "lpddr4_pmu_train_1d_imem.bin";
133 size = <0x8000>;
134 };
135
136 blob_2: blob-ext@2 {
137 filename = "lpddr4_pmu_train_1d_dmem.bin";
138 size = <0x4000>;
139 };
140
141 blob_3: blob-ext@3 {
142 filename = "lpddr4_pmu_train_2d_imem.bin";
143 size = <0x8000>;
144 };
145
146 blob_4: blob-ext@4 {
147 filename = "lpddr4_pmu_train_2d_dmem.bin";
148 size = <0x4000>;
149 };
150 };
151
152
Fabio Estevam028abfd2021-08-23 09:56:42 -0300153 spl {
154 filename = "spl.bin";
155
Peng Fan8996e6b2021-04-06 11:58:57 +0800156 mkimage {
157 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
158
159 blob {
160 filename = "u-boot-spl-ddr.bin";
161 };
162 };
163 };
164
165 itb {
166 filename = "u-boot.itb";
167
168 fit {
169 description = "Configuration to load ATF before U-Boot";
170 #address-cells = <1>;
171 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
172
173 images {
174 uboot {
175 description = "U-Boot (64-bit)";
176 type = "standalone";
177 arch = "arm64";
178 compression = "none";
179 load = <CONFIG_SYS_TEXT_BASE>;
180
181 uboot_blob: blob-ext {
182 filename = "u-boot-nodtb.bin";
183 };
184 };
185
186 atf {
187 description = "ARM Trusted Firmware";
188 type = "firmware";
189 arch = "arm64";
190 compression = "none";
191 load = <0x920000>;
192 entry = <0x920000>;
193
194 atf_blob: blob-ext {
195 filename = "bl31.bin";
196 };
197 };
198
199 fdt {
200 description = "NAME";
201 type = "flat_dt";
202 compression = "none";
203
204 uboot_fdt_blob: blob-ext {
205 filename = "u-boot.dtb";
206 };
207 };
208 };
209
210 configurations {
211 default = "conf";
212
213 conf {
214 description = "NAME";
215 firmware = "uboot";
216 loadables = "atf";
217 fdt = "fdt";
218 };
219 };
220 };
221 };
Fabio Estevam028abfd2021-08-23 09:56:42 -0300222
223 imx-boot {
224 filename = "flash.bin";
225 pad-byte = <0x00>;
226
227 spl: blob-ext@1 {
228 offset = <0x0>;
229 filename = "spl.bin";
230 };
231
232 uboot: blob-ext@2 {
233 offset = <0x57c00>;
234 filename = "u-boot.itb";
235 };
236 };
Peng Fan8996e6b2021-04-06 11:58:57 +0800237};