xref: /rk3399_rockchip-uboot/drivers/cpu/amp.its (revision 7e044b9aeceaa3c07ba4dd8939761bd87f4c8300)
1/*
2 * Copyright (C) 2021 Fuzhou Rockchip Electronics Co., Ltd
3 * SPDX-License-Identifier: GPL-2.0
4 */
5
6/dts-v1/;
7/ {
8	description = "FIT source file for rockchip AMP";
9	#address-cells = <1>;
10
11	images {
12		amp1 {
13			description  = "bare-mental-core1";
14			data         = /incbin/("./amp1.bin");
15			type         = "firmware";
16			compression  = "none";
17			arch         = "arm";		// "arm64" or "arm"
18			cpu          = <0x100>;		// mpidr
19			thumb        = <0>;		// 0: arm or thumb2; 1: thumb
20			hyp          = <0>;		// 0: el1/svc; 1: el2/hyp
21			load         = <0x01800000>;
22			udelay       = <1000000>;
23			hash {
24				algo = "sha256";
25			};
26		};
27
28		amp2 {
29			description  = "bare-mental-core2";
30			data         = /incbin/("./amp2.bin");
31			type         = "firmware";
32			compression  = "none";
33			arch         = "arm";
34			cpu          = <0x200>;
35			thumb        = <0>;
36			hyp          = <0>;
37			load         = <0x03800000>;
38			udelay       = <1000000>;
39			hash {
40				algo = "sha256";
41			};
42		};
43
44		amp3 {
45			description  = "bare-mental-core3";
46			data         = /incbin/("./amp3.bin");
47			type         = "firmware";
48			compression  = "none";
49			arch         = "arm";
50			cpu          = <0x300>;
51			thumb        = <0>;
52			hyp          = <0>;
53			load         = <0x05800000>;
54			udelay       = <1000000>;
55			hash {
56				algo = "sha256";
57			};
58		};
59	};
60
61	configurations {
62		default = "conf";
63		conf {
64			description = "Rockchip AMP images";
65			rollback-index = <0x0>;
66			loadables = "amp1", "amp2", "amp3";
67
68			signature {
69				algo = "sha256,rsa2048";
70				padding = "pss";
71				key-name-hint = "dev";
72				sign-images = "loadables";
73			};
74
75			/* - run linux on cpu0
76			 * - it is brought up by amp(that run on U-Boot)
77			 * - it is boot entry depends on U-Boot
78			 */
79			linux {
80				description  = "linux-os";
81				arch         = "arm64";
82				cpu          = <0x000>;
83				thumb        = <0>;
84				hyp          = <0>;
85				udelay       = <1000000>;
86			};
87		};
88	};
89};
90