blob: 4f23da356763625194e482075408adb72d8caa1f [file] [log] [blame]
Tim Harvey1a50e742022-02-11 10:48:56 -08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2022 Gateworks Corporation
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};
17
18&{/soc@0} {
19 u-boot,dm-pre-reloc;
20 u-boot,dm-spl;
21};
22
23&clk {
24 u-boot,dm-spl;
25 u-boot,dm-pre-reloc;
26 /delete-property/ assigned-clocks;
27 /delete-property/ assigned-clock-parents;
28 /delete-property/ assigned-clock-rates;
29};
30
31&osc_24m {
32 u-boot,dm-spl;
33 u-boot,dm-pre-reloc;
34};
35
36&aips1 {
37 u-boot,dm-spl;
38 u-boot,dm-pre-reloc;
39};
40
41&aips2 {
42 u-boot,dm-spl;
43};
44
45&aips3 {
46 u-boot,dm-spl;
47};
48
49&iomuxc {
50 u-boot,dm-spl;
51};
52
53&gpio1 {
54 u-boot,dm-spl;
55};
56
57&gpio2 {
58 u-boot,dm-spl;
59};
60
61&gpio3 {
62 u-boot,dm-spl;
63};
64
65&gpio4 {
66 u-boot,dm-spl;
67};
68
69&gpio5 {
70 u-boot,dm-spl;
71};
72
73&uart2 {
74 u-boot,dm-spl;
75};
76
77&pinctrl_uart2 {
78 u-boot,dm-spl;
79};
80
81&usdhc3 {
82 u-boot,dm-spl;
83};
84
85&pinctrl_usdhc3 {
86 u-boot,dm-spl;
87};
88
89&i2c1 {
90 u-boot,dm-spl;
91};
92
93&pinctrl_i2c1 {
94 u-boot,dm-spl;
95};
96
Tim Harveyd4daeaa2022-04-13 08:56:40 -070097&gsc {
98 u-boot,dm-spl;
99};
100
Tim Harvey1a50e742022-02-11 10:48:56 -0800101&i2c2 {
102 u-boot,dm-spl;
103};
104
105&pinctrl_i2c2 {
106 u-boot,dm-spl;
107};
108
109&wdog1 {
110 u-boot,dm-spl;
111};
112
113&binman {
114 u-boot-spl-ddr {
115 align = <4>;
116 align-size = <4>;
117 filename = "u-boot-spl-ddr.bin";
118 pad-byte = <0xff>;
119
120 u-boot-spl {
121 align-end = <4>;
122 filename = "u-boot-spl.bin";
123 };
124
125 1d-imem {
126 filename = "lpddr4_pmu_train_1d_imem.bin";
127 size = <0x8000>;
128 type = "blob-ext";
129 };
130
131 1d_dmem {
132 filename = "lpddr4_pmu_train_1d_dmem.bin";
133 size = <0x4000>;
134 type = "blob-ext";
135 };
136
137 2d_imem {
138 filename = "lpddr4_pmu_train_2d_imem.bin";
139 size = <0x8000>;
140 type = "blob-ext";
141 };
142
143 2d_dmem {
144 filename = "lpddr4_pmu_train_2d_dmem.bin";
145 size = <0x4000>;
146 type = "blob-ext";
147 };
148 };
149
150 spl {
151 filename = "spl.bin";
152
153 mkimage {
154 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
155
156 blob {
157 filename = "u-boot-spl-ddr.bin";
158 };
159 };
160 };
161
162 itb {
163 filename = "u-boot.itb";
164
165 fit {
166 description = "Configuration to load ATF before U-Boot";
167 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
168 fit,fdt-list = "of-list";
169 #address-cells = <1>;
170
171 images {
172 uboot {
173 arch = "arm64";
174 compression = "none";
175 description = "U-Boot (64-bit)";
176 load = <CONFIG_SYS_TEXT_BASE>;
177 type = "standalone";
178
179 uboot_blob {
180 filename = "u-boot-nodtb.bin";
181 type = "blob-ext";
182 };
183 };
184
185 atf {
186 arch = "arm64";
187 compression = "none";
188 description = "ARM Trusted Firmware";
189 entry = <0x960000>;
190 load = <0x960000>;
191 type = "firmware";
192
193 atf_blob {
194 filename = "bl31.bin";
195 type = "blob-ext";
196 };
197 };
198
199 binman_fip: fip {
200 arch = "arm64";
201 compression = "none";
202 description = "Trusted Firmware FIP";
203 load = <0x40310000>;
204 type = "firmware";
205 };
206
207 @fdt-SEQ {
208 compression = "none";
209 description = "NAME";
210 type = "flat_dt";
211
212 uboot_fdt_blob {
213 filename = "u-boot.dtb";
214 type = "blob-ext";
215 };
216 };
217 };
218
219 configurations {
220 default = "@config-DEFAULT-SEQ";
221
222 binman_configuration: @config-SEQ {
223 description = "NAME";
224 fdt = "fdt-SEQ";
225 firmware = "uboot";
226 loadables = "atf";
227 };
228 };
229 };
230 };
231
232 imx-boot {
233 filename = "flash.bin";
234 pad-byte = <0x00>;
235
236 spl {
237 filename = "spl.bin";
238 offset = <0x0>;
239 type = "blob-ext";
240 };
241
242 binman_uboot: uboot {
243 filename = "u-boot.itb";
244 offset = <0x58000>;
245 type = "blob-ext";
246 };
247 };
248};