Prepare v2023.10
[platform/kernel/u-boot.git] / tools / binman / test / 280_fit_sign.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                 size = <0x100000>;
11                 allow-repack;
12
13                 fit {
14                         description = "U-Boot";
15                         offset = <0x10000>;
16                         images {
17                                 u-boot-1 {
18                                         description = "U-Boot";
19                                         type = "standalone";
20                                         arch = "arm64";
21                                         os = "u-boot";
22                                         compression = "none";
23                                         hash-1 {
24                                                 algo = "sha256";
25                                         };
26                                         u-boot {
27                                         };
28                                 };
29
30                                 fdt-1 {
31                                         description = "test.dtb";
32                                         type = "flat_dt";
33                                         arch = "arm64";
34                                         compression = "none";
35                                         hash-1 {
36                                                 algo = "sha256";
37                                         };
38                                         u-boot-spl-dtb {
39                                         };
40                                 };
41
42                         };
43
44                         configurations {
45                                 default = "conf-1";
46                                 conf-1 {
47                                         description = "u-boot with fdt";
48                                         firmware = "u-boot-1";
49                                         fdt = "fdt-1";
50                                         signature-1 {
51                                                 algo = "sha256,rsa4096";
52                                                 key-name-hint = "test_key";
53                                                 sign-images = "firmware", "fdt";
54                                         };
55
56                                 };
57                         };
58                 };
59
60                 fdtmap {
61                 };
62         };
63 };