blob: 67ce70d0bdf8ef729b55319fbed73ff85e7ed1c9 [file] [log] [blame]
Fabio Estevam53a24de2021-08-23 21:11:09 -03001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10
Fabio Estevam53a24de2021-08-23 21:11:09 -030011 firmware {
12 optee {
13 compatible = "linaro,optee-tz";
14 method = "smc";
15 };
16 };
Marcel Ziswiler2dc3ac52021-10-23 01:15:11 +020017
18 wdt-reboot {
19 compatible = "wdt-reboot";
20 u-boot,dm-spl;
21 wdt = <&wdog1>;
22 };
Fabio Estevam53a24de2021-08-23 21:11:09 -030023};
24
25&{/soc@0} {
26 u-boot,dm-pre-reloc;
27 u-boot,dm-spl;
28};
29
Marcel Ziswiler2dc3ac52021-10-23 01:15:11 +020030&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b} {
Fabio Estevam53a24de2021-08-23 21:11:09 -030031 u-boot,dm-spl;
Fabio Estevam53a24de2021-08-23 21:11:09 -030032};
33
Marcel Ziswiler2dc3ac52021-10-23 01:15:11 +020034&{/soc@0/bus@30800000/i2c@30a30000/pmic@4b/regulators} {
Fabio Estevam53a24de2021-08-23 21:11:09 -030035 u-boot,dm-spl;
Fabio Estevam53a24de2021-08-23 21:11:09 -030036};
37
38&aips1 {
39 u-boot,dm-spl;
40 u-boot,dm-pre-reloc;
41};
42
43&aips2 {
44 u-boot,dm-spl;
45};
46
47&aips3 {
48 u-boot,dm-spl;
49};
50
Fabio Estevam53a24de2021-08-23 21:11:09 -030051&binman {
52 u-boot-spl-ddr {
53 filename = "u-boot-spl-ddr.bin";
54 pad-byte = <0xff>;
55 align-size = <4>;
56 align = <4>;
57
58 u-boot-spl {
59 align-end = <4>;
60 };
61
62 blob_1: blob-ext@1 {
63 filename = "lpddr4_pmu_train_1d_imem.bin";
64 size = <0x8000>;
65 };
66
67 blob_2: blob-ext@2 {
68 filename = "lpddr4_pmu_train_1d_dmem.bin";
69 size = <0x4000>;
70 };
71
72 blob_3: blob-ext@3 {
73 filename = "lpddr4_pmu_train_2d_imem.bin";
74 size = <0x8000>;
75 };
76
77 blob_4: blob-ext@4 {
78 filename = "lpddr4_pmu_train_2d_dmem.bin";
79 size = <0x4000>;
80 };
81 };
82
83 flash {
84 mkimage {
85 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
86
87 blob {
88 filename = "u-boot-spl-ddr.bin";
89 };
90 };
91 };
92
93 itb {
94 filename = "u-boot.itb";
95
96 fit {
97 description = "Configuration to load ATF before U-Boot";
98 #address-cells = <1>;
99 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
100
101 images {
102 uboot {
103 description = "U-Boot (64-bit)";
104 type = "standalone";
105 arch = "arm64";
106 compression = "none";
107 load = <CONFIG_SYS_TEXT_BASE>;
108
109 uboot_blob: blob-ext {
110 filename = "u-boot-nodtb.bin";
111 };
112 };
113
114 atf {
115 description = "ARM Trusted Firmware";
116 type = "firmware";
117 arch = "arm64";
118 compression = "none";
119 load = <0x920000>;
120 entry = <0x920000>;
121
122 atf_blob: blob-ext {
123 filename = "bl2.bin";
124 };
125 };
126
127 fip {
128 description = "Trusted Firmware FIP";
129 type = "firmware";
130 arch = "arm64";
131 compression = "none";
132 load = <0x40310000>;
133
134 fip_blob: blob-ext{
135 filename = "fip.bin";
136 };
137 };
138
139 fdt {
140 description = "NAME";
141 type = "flat_dt";
142 compression = "none";
143
144 uboot_fdt_blob: blob-ext {
145 filename = "u-boot.dtb";
146 };
147 };
148 };
149
150 configurations {
151 default = "conf";
152
153 conf {
154 description = "NAME";
155 firmware = "uboot";
156 loadables = "atf", "fip";
157 fdt = "fdt";
158 };
159 };
160 };
161 };
162};
Marcel Ziswiler2dc3ac52021-10-23 01:15:11 +0200163
164&clk {
165 u-boot,dm-spl;
166 u-boot,dm-pre-reloc;
167 /delete-property/ assigned-clocks;
168 /delete-property/ assigned-clock-parents;
169 /delete-property/ assigned-clock-rates;
170};
171
172&fec1 {
173 phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
174};
175
176&gpio1 {
177 u-boot,dm-spl;
178};
179
180&gpio2 {
181 u-boot,dm-spl;
182};
183
184&gpio3 {
185 u-boot,dm-spl;
186};
187
188&gpio4 {
189 u-boot,dm-spl;
190};
191
192&gpio5 {
193 u-boot,dm-spl;
194};
195
196&i2c1 {
197 u-boot,dm-spl;
198};
199
200&i2c2 {
201 u-boot,dm-spl;
202};
203
204&iomuxc {
205 u-boot,dm-spl;
206};
207
208&osc_24m {
209 u-boot,dm-spl;
210 u-boot,dm-pre-reloc;
211};
212
213&pinctrl_i2c2 {
214 u-boot,dm-spl;
215};
216
217&pinctrl_pmic {
218 u-boot,dm-spl;
219};
220
221&pinctrl_uart3 {
222 u-boot,dm-spl;
223};
224
225&pinctrl_usdhc2 {
226 u-boot,dm-spl;
227};
228
229&pinctrl_usdhc2_gpio {
230 u-boot,dm-spl;
231};
232
233&pinctrl_usdhc3 {
234 u-boot,dm-spl;
235};
236
237&uart3 {
238 u-boot,dm-spl;
239};
240
241&usdhc1 {
242 u-boot,dm-spl;
243};
244
245&usdhc2 {
246 u-boot,dm-spl;
247};
248
249&usdhc3 {
250 u-boot,dm-spl;
251};
252
253&wdog1 {
254 u-boot,dm-spl;
255};