1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2019 NXP
4 */
5
6/ {
7	binman: binman {
8		multiple-images;
9	};
10
11	wdt-reboot {
12		compatible = "wdt-reboot";
13		wdt = <&wdog1>;
14		u-boot,dm-spl;
15	};
16	firmware {
17		optee {
18			compatible = "linaro,optee-tz";
19			method = "smc";
20		};
21	};
22};
23
24&{/soc@0} {
25	u-boot,dm-pre-reloc;
26	u-boot,dm-spl;
27};
28
29&clk {
30	u-boot,dm-spl;
31	u-boot,dm-pre-reloc;
32	/delete-property/ assigned-clocks;
33	/delete-property/ assigned-clock-parents;
34	/delete-property/ assigned-clock-rates;
35};
36
37&osc_24m {
38	u-boot,dm-spl;
39	u-boot,dm-pre-reloc;
40};
41
42&aips1 {
43	u-boot,dm-spl;
44	u-boot,dm-pre-reloc;
45};
46
47&aips2 {
48	u-boot,dm-spl;
49};
50
51&aips3 {
52	u-boot,dm-spl;
53};
54
55&iomuxc {
56	u-boot,dm-spl;
57};
58
59&pinctrl_reg_usdhc2_vmmc {
60	u-boot,dm-spl;
61};
62
63&reg_usdhc2_vmmc {
64	u-boot,off-on-delay-us = <20000>;
65};
66
67&pinctrl_uart2 {
68	u-boot,dm-spl;
69};
70
71&pinctrl_usdhc2_gpio {
72	u-boot,dm-spl;
73};
74
75&pinctrl_usdhc2 {
76	u-boot,dm-spl;
77};
78
79&pinctrl_usdhc3 {
80	u-boot,dm-spl;
81};
82
83&gpio1 {
84	u-boot,dm-spl;
85};
86
87&gpio2 {
88	u-boot,dm-spl;
89};
90
91&gpio3 {
92	u-boot,dm-spl;
93};
94
95&gpio4 {
96	u-boot,dm-spl;
97};
98
99&gpio5 {
100	u-boot,dm-spl;
101};
102
103&uart2 {
104	u-boot,dm-spl;
105};
106
107&usdhc1 {
108	u-boot,dm-spl;
109};
110
111&usdhc2 {
112	u-boot,dm-spl;
113	sd-uhs-sdr104;
114	sd-uhs-ddr50;
115};
116
117&usdhc3 {
118	u-boot,dm-spl;
119	mmc-hs400-1_8v;
120	mmc-hs400-enhanced-strobe;
121};
122
123&wdog1 {
124	u-boot,dm-spl;
125};
126
127&binman {
128	 u-boot-spl-ddr {
129		filename = "u-boot-spl-ddr.bin";
130		pad-byte = <0xff>;
131		align-size = <4>;
132		align = <4>;
133
134		u-boot-spl {
135			align-end = <4>;
136		};
137
138		blob_1: blob-ext@1 {
139			filename = "ddr4_imem_1d_201810.bin";
140			size = <0x8000>;
141		};
142
143		blob_2: blob-ext@2 {
144			filename = "ddr4_dmem_1d_201810.bin";
145			size = <0x4000>;
146		};
147
148		blob_3: blob-ext@3 {
149			filename = "ddr4_imem_2d_201810.bin";
150			size = <0x8000>;
151		};
152
153		blob_4: blob-ext@4 {
154			filename = "ddr4_dmem_2d_201810.bin";
155			size = <0x4000>;
156		};
157	};
158
159
160	flash {
161		mkimage {
162			args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
163
164			blob {
165				filename = "u-boot-spl-ddr.bin";
166			};
167		};
168	};
169
170	itb {
171		filename = "u-boot.itb";
172
173		fit {
174			description = "Configuration to load ATF before U-Boot";
175			#address-cells = <1>;
176			fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
177
178			images {
179				uboot {
180					description = "U-Boot (64-bit)";
181					type = "standalone";
182					arch = "arm64";
183					compression = "none";
184					load = <CONFIG_SYS_TEXT_BASE>;
185
186					uboot_blob: blob-ext {
187						filename = "u-boot-nodtb.bin";
188					};
189				};
190
191				atf {
192					description = "ARM Trusted Firmware";
193					type = "firmware";
194					arch = "arm64";
195					compression = "none";
196					load = <0x960000>;
197					entry = <0x960000>;
198
199					atf_blob: blob-ext {
200						filename = "bl31.bin";
201					};
202				};
203
204				fdt {
205					description = "NAME";
206					type = "flat_dt";
207					compression = "none";
208
209					uboot_fdt_blob: blob-ext {
210						filename = "u-boot.dtb";
211					};
212				};
213			};
214
215			configurations {
216				default = "conf";
217
218				conf {
219					description = "NAME";
220					firmware = "uboot";
221					loadables = "atf";
222					fdt = "fdt";
223				};
224			};
225		};
226	};
227};
228