1
2/*
3 * Copyright (C) 2020 Rockchip Electronic Co.,Ltd
4 *
5 * Simple U-boot fit source file containing ATF/OP-TEE/U-Boot/dtb/MCU
6 */
7
8/dts-v1/;
9
10/ {
11	description = "FIT Image with ATF/OP-TEE/U-Boot/MCU";
12	#address-cells = <1>;
13
14	images {
15
16		uboot {
17			description = "U-Boot";
18			data = /incbin/("u-boot-nodtb.bin");
19			type = "standalone";
20			arch = "arm64";
21			os = "U-Boot";
22			compression = "none";
23			load = <0x00a00000>;
24			hash {
25				algo = "sha256";
26			};
27		};
28		atf-1 {
29			description = "ARM Trusted Firmware";
30			data = /incbin/("./bl31_0x00040000.bin");
31			type = "firmware";
32			arch = "arm64";
33			os = "arm-trusted-firmware";
34			compression = "none";
35			load = <0x00040000>;
36			hash {
37				algo = "sha256";
38			};
39		};
40		atf-2 {
41			description = "ARM Trusted Firmware";
42			data = /incbin/("./bl31_0xfdcc1000.bin");
43			type = "firmware";
44			arch = "arm64";
45			os = "arm-trusted-firmware";
46			compression = "none";
47			load = <0xfdcc1000>;
48			hash {
49				algo = "sha256";
50			};
51		};
52		atf-3 {
53			description = "ARM Trusted Firmware";
54			data = /incbin/("./bl31_0x0006b000.bin");
55			type = "firmware";
56			arch = "arm64";
57			os = "arm-trusted-firmware";
58			compression = "none";
59			load = <0x0006b000>;
60			hash {
61				algo = "sha256";
62			};
63		};
64		atf-4 {
65			description = "ARM Trusted Firmware";
66			data = /incbin/("./bl31_0xfdcce000.bin");
67			type = "firmware";
68			arch = "arm64";
69			os = "arm-trusted-firmware";
70			compression = "none";
71			load = <0xfdcce000>;
72			hash {
73				algo = "sha256";
74			};
75		};
76		atf-5 {
77			description = "ARM Trusted Firmware";
78			data = /incbin/("./bl31_0xfdcd0000.bin");
79			type = "firmware";
80			arch = "arm64";
81			os = "arm-trusted-firmware";
82			compression = "none";
83			load = <0xfdcd0000>;
84			hash {
85				algo = "sha256";
86			};
87		};
88		atf-6 {
89			description = "ARM Trusted Firmware";
90			data = /incbin/("./bl31_0x00069000.bin");
91			type = "firmware";
92			arch = "arm64";
93			os = "arm-trusted-firmware";
94			compression = "none";
95			load = <0x00069000>;
96			hash {
97				algo = "sha256";
98			};
99		};
100		optee {
101			description = "OP-TEE";
102			data = /incbin/("tee.bin");
103			type = "firmware";
104			arch = "arm64";
105			os = "op-tee";
106			compression = "none";
107
108			load = <0x8400000>;
109			hash {
110				algo = "sha256";
111			};
112		};
113		fdt {
114			description = "U-Boot dtb";
115			data = /incbin/("./u-boot.dtb");
116			type = "flat_dt";
117			arch = "arm64";
118			compression = "none";
119			hash {
120				algo = "sha256";
121			};
122		};
123	};
124
125	configurations {
126		default = "conf";
127		conf {
128			description = "OK3568-C";
129			rollback-index = <0x0>;
130			firmware = "atf-1";
131			loadables = "uboot", "atf-2", "atf-3", "atf-4", "atf-5", "atf-6", "optee";
132
133			fdt = "fdt";
134			signature {
135								algo = "sha256,rsa2048";
136
137				key-name-hint = "dev";
138				sign-images = "firmware", "loadables", "fdt";
139			};
140		};
141	};
142};
143
144