1/* 2 * Copyright (C) 2021 Fuzhou Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: GPL-2.0 5 */ 6 7/dts-v1/; 8/ { 9 description = "Rockchip AMP FIT Image"; 10 #address-cells = <1>; 11 12 images { 13 /* ARM cortex-A core */ 14 amp1 { 15 description = "bare-mental-core1"; 16 data = /incbin/("./amp1.bin"); 17 type = "firmware"; // must be "firmware" 18 compression = "none"; 19 arch = "arm"; // "arm64" or "arm", the same as U-Boot state 20 cpu = <0x100>; // mpidr 21 thumb = <0>; // 0: arm or thumb2; 1: thumb 22 hyp = <0>; // 0: el1/svc; 1: el2/hyp 23 load = <0x01800000>; 24 udelay = <1000000>; 25 hash { 26 algo = "sha256"; 27 }; 28 }; 29 30 amp2 { 31 description = "bare-mental-core2"; 32 data = /incbin/("./amp2.bin"); 33 type = "firmware"; 34 compression = "none"; 35 arch = "arm"; 36 cpu = <0x200>; 37 thumb = <0>; 38 hyp = <0>; 39 load = <0x03800000>; 40 udelay = <1000000>; 41 hash { 42 algo = "sha256"; 43 }; 44 }; 45 46 amp3 { 47 description = "bare-mental-core3"; 48 data = /incbin/("./amp3.bin"); 49 type = "firmware"; 50 compression = "none"; 51 arch = "arm"; 52 cpu = <0x300>; 53 thumb = <0>; 54 hyp = <0>; 55 load = <0x05800000>; 56 udelay = <1000000>; 57 hash { 58 algo = "sha256"; 59 }; 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 }; 75 }; 76 77 configurations { 78 default = "conf"; 79 conf { 80 description = "Rockchip AMP images"; 81 rollback-index = <0x0>; 82 loadables = "amp1", "amp2", "amp3", "amp4"; 83 84 signature { 85 algo = "sha256,rsa2048"; 86 padding = "pss"; 87 key-name-hint = "dev"; 88 sign-images = "loadables"; 89 }; 90 91 /* - run linux on cpu0 92 * - it is brought up by amp(that run on U-Boot) 93 * - it is boot entry depends on U-Boot 94 */ 95 linux { 96 description = "linux-os"; 97 arch = "arm64"; 98 cpu = <0x000>; 99 thumb = <0>; 100 hyp = <0>; 101 udelay = <1000000>; 102 }; 103 }; 104 }; 105}; 106