.. | .. |
---|
1 | 1 | /* |
---|
2 | 2 | * Copyright (C) 2021 Fuzhou Rockchip Electronics Co., Ltd |
---|
| 3 | + * |
---|
3 | 4 | * SPDX-License-Identifier: GPL-2.0 |
---|
4 | 5 | */ |
---|
5 | 6 | |
---|
6 | 7 | /dts-v1/; |
---|
7 | 8 | / { |
---|
8 | | - description = "FIT source file for rockchip AMP"; |
---|
| 9 | + description = "Rockchip AMP FIT Image"; |
---|
9 | 10 | #address-cells = <1>; |
---|
10 | 11 | |
---|
11 | 12 | images { |
---|
| 13 | + /* ARM cortex-A core */ |
---|
12 | 14 | amp1 { |
---|
13 | 15 | description = "bare-mental-core1"; |
---|
14 | 16 | data = /incbin/("./amp1.bin"); |
---|
15 | | - type = "firmware"; |
---|
| 17 | + type = "firmware"; // must be "firmware" |
---|
16 | 18 | compression = "none"; |
---|
17 | | - arch = "arm"; // "arm64" or "arm" |
---|
| 19 | + arch = "arm"; // "arm64" or "arm", the same as U-Boot state |
---|
18 | 20 | cpu = <0x100>; // mpidr |
---|
19 | 21 | thumb = <0>; // 0: arm or thumb2; 1: thumb |
---|
20 | 22 | hyp = <0>; // 0: el1/svc; 1: el2/hyp |
---|
.. | .. |
---|
56 | 58 | algo = "sha256"; |
---|
57 | 59 | }; |
---|
58 | 60 | }; |
---|
| 61 | + |
---|
| 62 | + /* Other core */ |
---|
| 63 | + amp4 { |
---|
| 64 | + description = "standalone-mcu1"; |
---|
| 65 | + data = /incbin/("./mcu1.bin"); |
---|
| 66 | + type = "standalone"; // must be "standalone" |
---|
| 67 | + compression = "none"; |
---|
| 68 | + arch = "arm"; // "arm64" or "arm", the same as U-Boot state |
---|
| 69 | + load = <0x06800000>; |
---|
| 70 | + udelay = <1000000>; |
---|
| 71 | + hash { |
---|
| 72 | + algo = "sha256"; |
---|
| 73 | + }; |
---|
| 74 | + }; |
---|
59 | 75 | }; |
---|
60 | 76 | |
---|
61 | 77 | configurations { |
---|
.. | .. |
---|
63 | 79 | conf { |
---|
64 | 80 | description = "Rockchip AMP images"; |
---|
65 | 81 | rollback-index = <0x0>; |
---|
66 | | - loadables = "amp1", "amp2", "amp3"; |
---|
| 82 | + loadables = "amp1", "amp2", "amp3", "amp4"; |
---|
67 | 83 | |
---|
68 | 84 | signature { |
---|
69 | 85 | algo = "sha256,rsa2048"; |
---|