Merge tag 'xilinx-for-v2021.01' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / arch / arm / dts / sunxi-u-boot.dtsi
1 #include <config.h>
2
3 / {
4         aliases {
5                 mmc1 = &mmc2;
6         };
7
8         binman: binman {
9                 multiple-images;
10         };
11 };
12
13 &binman {
14         u-boot-sunxi-with-spl {
15                 filename = "u-boot-sunxi-with-spl.bin";
16                 pad-byte = <0xff>;
17                 blob {
18                         filename = "spl/sunxi-spl.bin";
19                 };
20 #ifdef CONFIG_ARM64
21                 fit {
22                         description = "Configuration to load ATF before U-Boot";
23                         #address-cells = <1>;
24                         fit,fdt-list = "of-list";
25
26                         images {
27                                 uboot {
28                                         description = "U-Boot (64-bit)";
29                                         type = "standalone";
30                                         arch = "arm64";
31                                         compression = "none";
32                                         load = <0x4a000000>;
33
34                                         u-boot-nodtb {
35                                         };
36                                 };
37                                 atf {
38                                         description = "ARM Trusted Firmware";
39                                         type = "firmware";
40                                         arch = "arm64";
41                                         compression = "none";
42 /* TODO: Do this with an overwrite in this board's dtb? */
43 #ifdef CONFIG_MACH_SUN50I_H6
44                                         load = <0x104000>;
45                                         entry = <0x104000>;
46 #else
47                                         load = <0x44000>;
48                                         entry = <0x44000>;
49 #endif
50                                         atf-bl31 {
51                                                 missing-msg = "atf-bl31-sunxi";
52                                         };
53                                 };
54
55                                 @fdt-SEQ {
56                                         description = "NAME";
57                                         type = "flat_dt";
58                                         compression = "none";
59                                 };
60                         };
61
62                         configurations {
63                                 default = "config-1";
64                                 @config-SEQ {
65                                         description = "NAME";
66                                         firmware = "uboot";
67                                         loadables = "atf";
68                                         fdt = "fdt-SEQ";
69                                 };
70                         };
71                 };
72 #else
73                 u-boot-img {
74                         offset = <CONFIG_SPL_PAD_TO>;
75                 };
76 #endif
77         };
78 };