summaryrefslogtreecommitdiff
path: root/tools/binman/test/343_fit_encrypt_data.dts
blob: d70de3426cf2206940dca42718131a7449745464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// SPDX-License-Identifier: GPL-2.0+

/dts-v1/;

/ {
	#address-cells = <1>;
	#size-cells = <1>;

	binman {
		fit {
			fit,encrypt;
			description = "Test a FIT with encrypted data";
			#address-cells = <1>;

			images {
				u-boot {
					description = "U-Boot";
					type = "firmware";
					arch = "arm64";
					os = "U-Boot";
					compression = "none";
					load = <00000000>;
					entry = <00000000>;
					cipher {
						algo = "aes256";
						key-name-hint = "aes256";
					};
					u-boot-nodtb {
					};
				};
				fdt-1 {
					description = "Flattened Device Tree blob";
					type = "flat_dt";
					arch = "arm64";
					compression = "none";
					cipher {
						algo = "aes256";
						key-name-hint = "aes256";
					};
				};
			};

			configurations {
				default = "conf-1";
				conf-1 {
					description = "Boot U-Boot with FDT blob";
					firmware = "u-boot";
					fdt = "fdt-1";
				};
			};
		};
	};
};