xref: /rk3399_rockchip-uboot/drivers/cpu/amp.its (revision c7de5349c9abcd4e28cc34f9eb02efdc19b877b3)
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
13		amp0 {
14			description  = "bare-mental-core0";
15			data         = /incbin/("../../hal0.bin");
16			type         = "firmware";
17			compression  = "none";
18			arch         = "arm";	 // "arm64" or "arm"
19			cpu          = <0x000>;  // mpidr
20			thumb        = <0>;      // 0: arm or thumb2; 1: thumb
21			hyp          = <0>;      // 0: el1/svc; 1: el2/hyp
22			load         = <0xa00000>;
23			udelay       = <1000000>;
24			hash {
25				algo = "sha256";
26			};
27		};
28
29		amp1 {
30			description  = "bare-mental-core1";
31			data         = /incbin/("../../hal1.bin");
32			type         = "firmware";
33			compression  = "none";
34			arch         = "arm";
35			cpu          = <0x100>;
36			thumb        = <0>;
37			hyp          = <0>;
38			load         = <0xb00000>;
39			udelay       = <1000000>;
40			hash {
41				algo = "sha256";
42			};
43		};
44
45		amp2 {
46			description  = "bare-mental-core2";
47			data         = /incbin/("../../hal2.bin");
48			type         = "firmware";
49			compression  = "none";
50			arch         = "arm";
51			cpu          = <0x200>;
52			thumb        = <0>;
53			hyp          = <0>;
54			load         = <0xd00000>;
55			udelay       = <1000000>;
56			hash {
57				algo = "sha256";
58			};
59		};
60
61		amp3 {
62			description  = "bare-mental-core3";
63			data         = /incbin/("../../hal3.bin");
64			type         = "firmware";
65			compression  = "none";
66			arch         = "arm";
67			cpu          = <0x300>;
68			thumb        = <0>;
69			hyp          = <0>;
70			load         = <0xe00000>;
71			udelay       = <1000000>;
72			hash {
73				algo = "sha256";
74			};
75		};
76	};
77
78	configurations {
79		default = "conf";
80		conf {
81			description = "Rockchip AMP images";
82			rollback-index = <0x0>;
83			loadables = "amp0", "amp1", "amp2", "amp3";
84
85			signature {
86				algo = "sha256,rsa2048";
87				padding = "pss";
88				key-name-hint = "dev";
89				sign-images = "loadables";
90			};
91		};
92	};
93};
94