blob: f200afac9fc6a921417618b4ff9980e0f4cd20e3 [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
153 flash {
154 mkimage {
155 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
156
157 blob {
158 filename = "u-boot-spl-ddr.bin";
159 };
160 };
161 };
162
163 itb {
164 filename = "u-boot.itb";
165
166 fit {
167 description = "Configuration to load ATF before U-Boot";
168 #address-cells = <1>;
169 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
170
171 images {
172 uboot {
173 description = "U-Boot (64-bit)";
174 type = "standalone";
175 arch = "arm64";
176 compression = "none";
177 load = <CONFIG_SYS_TEXT_BASE>;
178
179 uboot_blob: blob-ext {
180 filename = "u-boot-nodtb.bin";
181 };
182 };
183
184 atf {
185 description = "ARM Trusted Firmware";
186 type = "firmware";
187 arch = "arm64";
188 compression = "none";
189 load = <0x920000>;
190 entry = <0x920000>;
191
192 atf_blob: blob-ext {
193 filename = "bl31.bin";
194 };
195 };
196
197 fdt {
198 description = "NAME";
199 type = "flat_dt";
200 compression = "none";
201
202 uboot_fdt_blob: blob-ext {
203 filename = "u-boot.dtb";
204 };
205 };
206 };
207
208 configurations {
209 default = "conf";
210
211 conf {
212 description = "NAME";
213 firmware = "uboot";
214 loadables = "atf";
215 fdt = "fdt";
216 };
217 };
218 };
219 };
220};