Prepare v2023.10
[platform/kernel/u-boot.git] / tools / binman / test / 276_fit_firmware_loadables.dts
1 // SPDX-License-Identifier: GPL-2.0+
2
3 /dts-v1/;
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8
9         binman {
10                 fit {
11                         description = "test desc";
12                         #address-cells = <1>;
13                         fit,fdt-list = "of-list";
14
15                         images {
16                                 u-boot {
17                                         description = "test u-boot";
18                                         type = "standalone";
19                                         arch = "arm64";
20                                         os = "u-boot";
21                                         compression = "none";
22                                         load = <0x00000000>;
23                                         entry = <0x00000000>;
24
25                                         u-boot-nodtb {
26                                         };
27                                 };
28                                 tee {
29                                         description = "test tee";
30                                         type = "tee";
31                                         arch = "arm64";
32                                         os = "tee";
33                                         compression = "none";
34                                         load = <0x00200000>;
35
36                                         tee-os {
37                                                 optional;
38                                         };
39                                 };
40                                 @atf-SEQ {
41                                         fit,operation = "split-elf";
42                                         description = "test tf-a";
43                                         type = "firmware";
44                                         arch = "arm64";
45                                         os = "arm-trusted-firmware";
46                                         compression = "none";
47                                         fit,load;
48                                         fit,entry;
49                                         fit,data;
50
51                                         atf-bl31 {
52                                         };
53                                 };
54                                 @fdt-SEQ {
55                                         description = "test fdt";
56                                         type = "flat_dt";
57                                         compression = "none";
58                                 };
59                         };
60
61                         configurations {
62                                 default = "@conf-uboot-DEFAULT-SEQ";
63                                 @conf-uboot-SEQ {
64                                         description = "uboot config";
65                                         fdt = "fdt-SEQ";
66                                         fit,firmware = "u-boot";
67                                         fit,loadables;
68                                 };
69                                 @conf-atf-SEQ {
70                                         description = "atf config";
71                                         fdt = "fdt-SEQ";
72                                         fit,firmware = "atf-1", "u-boot";
73                                         fit,loadables;
74                                 };
75                                 @conf-missing-uboot-SEQ {
76                                         description = "missing uboot config";
77                                         fdt = "fdt-SEQ";
78                                         fit,firmware = "missing-1", "u-boot";
79                                         fit,loadables;
80                                 };
81                                 @conf-missing-atf-SEQ {
82                                         description = "missing atf config";
83                                         fdt = "fdt-SEQ";
84                                         fit,firmware = "missing-1", "atf-1", "u-boot";
85                                         fit,loadables;
86                                 };
87                                 @conf-missing-tee-SEQ {
88                                         description = "missing tee config";
89                                         fdt = "fdt-SEQ";
90                                         fit,firmware = "atf-1", "u-boot", "tee";
91                                         fit,loadables;
92                                 };
93                         };
94                 };
95         };
96 };