Prepare v2023.10
[platform/kernel/u-boot.git] / tools / binman / test / 309_template_phandle.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                 multiple-images;
11
12                 ti_spl_template: template-1 {
13                         fit {
14                                 description = "test-desc";
15                                 #address-cells = <1>;
16                                 images {
17                                         atf {
18                                                 description = "atf";
19                                                 ti-secure {
20                                                         type = "collection";
21                                                         content = <&atf>;
22                                                         keyfile = "key.pem";
23                                                 };
24                                                 atf: atf-bl31 {
25                                                         description = "atf";
26                                                 };
27                                         };
28                                 };
29                         };
30                 };
31
32                 image {
33                         insert-template = <&ti_spl_template>;
34                         fit {
35                                 images {
36                                         fdt-0 {
37                                                 description = "fdt";
38                                                 ti-secure {
39                                                         type = "collection";
40                                                         content = <&foo_dtb>;
41                                                         keyfile = "key.pem";
42                                                 };
43                                                 foo_dtb: blob-ext {
44                                                         filename = "vga.bin";
45                                                 };
46                                         };
47                                 };
48                         };
49                 };
50         };
51 };