summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rockchip-optee.dtsi
blob: cde9b81b26b802d499e29463072f39f411db27ab (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
54
55
56
57
58
59
60
61
62
63
64
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2020 Google LLC
 */

#include <config.h>

#if defined(CONFIG_HAS_ROM) && defined(CONFIG_FIT)
&binman {
	itb {
		filename = "u-boot.itb";
		fit {
			fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
			description = "FIT image with OP-TEE support";
			#address-cells = <1>;

			images {
				uboot {
					description = "U-Boot";
					type = "standalone";
					os = "U-Boot";
					arch = "arm";
					compression = "none";
					load = <CONFIG_SYS_TEXT_BASE>;

					u-boot-nodtb {
					};
				};
				optee {
					description = "OP-TEE";
					type = "firmware";
					arch = "arm";
					os = "tee";
					compression = "none";
					load = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>;
					entry = <(CONFIG_SYS_SDRAM_BASE + 0x8400000)>;

					blob-ext {
						filename = "tee.bin";
					};
				};
				fdt {
					description = CONFIG_SYS_BOARD;
					type = "flat_dt";
					compression = "none";

					u-boot-dtb {
					};
				};
			};

			configurations {
				default = "conf";
				conf {
					description = CONFIG_SYS_BOARD;
					firmware = "optee";
					loadables = "uboot";
					fdt = "fdt";
				};
			};
		};
	};
};
#endif