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