blob: 358195538797e27ffa80e8208a32e6dbb4421e0e [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
Peng Fan8cf3c8e2022-06-11 20:21:05 +0800113&pinctrl_wdog {
114 u-boot,dm-spl;
115};
116
Tim Harvey1a50e742022-02-11 10:48:56 -0800117&binman {
118 u-boot-spl-ddr {
119 align = <4>;
120 align-size = <4>;
121 filename = "u-boot-spl-ddr.bin";
122 pad-byte = <0xff>;
123
124 u-boot-spl {
125 align-end = <4>;
126 filename = "u-boot-spl.bin";
127 };
128
129 1d-imem {
130 filename = "lpddr4_pmu_train_1d_imem.bin";
131 size = <0x8000>;
132 type = "blob-ext";
133 };
134
135 1d_dmem {
136 filename = "lpddr4_pmu_train_1d_dmem.bin";
137 size = <0x4000>;
138 type = "blob-ext";
139 };
140
141 2d_imem {
142 filename = "lpddr4_pmu_train_2d_imem.bin";
143 size = <0x8000>;
144 type = "blob-ext";
145 };
146
147 2d_dmem {
148 filename = "lpddr4_pmu_train_2d_dmem.bin";
149 size = <0x4000>;
150 type = "blob-ext";
151 };
152 };
153
154 spl {
155 filename = "spl.bin";
156
157 mkimage {
158 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
159
160 blob {
161 filename = "u-boot-spl-ddr.bin";
162 };
163 };
164 };
165
166 itb {
167 filename = "u-boot.itb";
168
169 fit {
170 description = "Configuration to load ATF before U-Boot";
171 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
172 fit,fdt-list = "of-list";
173 #address-cells = <1>;
174
175 images {
176 uboot {
177 arch = "arm64";
178 compression = "none";
179 description = "U-Boot (64-bit)";
180 load = <CONFIG_SYS_TEXT_BASE>;
181 type = "standalone";
182
183 uboot_blob {
184 filename = "u-boot-nodtb.bin";
185 type = "blob-ext";
186 };
187 };
188
189 atf {
190 arch = "arm64";
191 compression = "none";
192 description = "ARM Trusted Firmware";
193 entry = <0x960000>;
194 load = <0x960000>;
195 type = "firmware";
196
197 atf_blob {
198 filename = "bl31.bin";
199 type = "blob-ext";
200 };
201 };
202
203 binman_fip: fip {
204 arch = "arm64";
205 compression = "none";
206 description = "Trusted Firmware FIP";
207 load = <0x40310000>;
208 type = "firmware";
209 };
210
211 @fdt-SEQ {
212 compression = "none";
213 description = "NAME";
214 type = "flat_dt";
215
216 uboot_fdt_blob {
217 filename = "u-boot.dtb";
218 type = "blob-ext";
219 };
220 };
221 };
222
223 configurations {
224 default = "@config-DEFAULT-SEQ";
225
226 binman_configuration: @config-SEQ {
227 description = "NAME";
228 fdt = "fdt-SEQ";
229 firmware = "uboot";
230 loadables = "atf";
231 };
232 };
233 };
234 };
235
236 imx-boot {
237 filename = "flash.bin";
238 pad-byte = <0x00>;
239
240 spl {
241 filename = "spl.bin";
242 offset = <0x0>;
243 type = "blob-ext";
244 };
245
246 binman_uboot: uboot {
247 filename = "u-boot.itb";
248 offset = <0x58000>;
249 type = "blob-ext";
250 };
251 };
252};