Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Copyright 2021 NXP | ||||
4 | */ | ||||
5 | |||||
6 | / { | ||||
7 | binman: binman { | ||||
8 | multiple-images; | ||||
9 | }; | ||||
10 | |||||
11 | }; | ||||
12 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 13 | &soc { |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 14 | u-boot,dm-spl; |
15 | }; | ||||
16 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 17 | &aips1 { |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 18 | u-boot,dm-spl; |
19 | }; | ||||
20 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 21 | &aips2 { |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 22 | u-boot,dm-spl; |
23 | }; | ||||
24 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 25 | &aips3 { |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 26 | u-boot,dm-spl; |
27 | }; | ||||
28 | |||||
Marcel Ziswiler | 5b427d8 | 2022-11-07 22:22:38 +0100 | [diff] [blame] | 29 | &aips4 { |
Peng Fan | bd4beeb | 2022-05-05 15:43:38 +0800 | [diff] [blame] | 30 | u-boot,dm-spl; |
31 | }; | ||||
32 | |||||
33 | &iomuxc { | ||||
34 | u-boot,dm-spl; | ||||
35 | }; | ||||
36 | |||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 37 | &binman { |
38 | u-boot-spl-ddr { | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 39 | align = <4>; |
40 | align-size = <4>; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 41 | filename = "u-boot-spl-ddr.bin"; |
42 | pad-byte = <0xff>; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 43 | |
44 | u-boot-spl { | ||||
45 | align-end = <4>; | ||||
Patrick Wildt | 4cbc3b6 | 2022-01-13 15:21:47 +0100 | [diff] [blame] | 46 | filename = "u-boot-spl.bin"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 47 | }; |
48 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 49 | ddr-1d-imem-fw { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 50 | filename = "lpddr4_pmu_train_1d_imem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 51 | align-end = <4>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 52 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 53 | }; |
54 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 55 | ddr-1d-dmem-fw { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 56 | filename = "lpddr4_pmu_train_1d_dmem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 57 | align-end = <4>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 58 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 59 | }; |
60 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 61 | ddr-2d-imem-fw { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 62 | filename = "lpddr4_pmu_train_2d_imem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 63 | align-end = <4>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 64 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 65 | }; |
66 | |||||
Peng Fan | 5db610f4 | 2022-07-26 16:41:20 +0800 | [diff] [blame] | 67 | ddr-2d-dmem-fw { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 68 | filename = "lpddr4_pmu_train_2d_dmem.bin"; |
Peng Fan | 6881157 | 2022-07-26 16:41:22 +0800 | [diff] [blame] | 69 | align-end = <4>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 70 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 71 | }; |
72 | }; | ||||
73 | |||||
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 74 | signed-hdmi { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 75 | filename = "signed_hdmi.bin"; |
76 | |||||
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 77 | signed-hdmi-imx8m { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 78 | filename = "signed_hdmi_imx8m.bin"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 79 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 80 | }; |
81 | }; | ||||
82 | |||||
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 83 | spl { |
84 | filename = "spl.bin"; | ||||
85 | |||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 86 | mkimage { |
87 | args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; | ||||
88 | |||||
89 | blob { | ||||
90 | filename = "u-boot-spl-ddr.bin"; | ||||
91 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 92 | }; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 93 | }; |
94 | |||||
95 | itb { | ||||
96 | filename = "u-boot.itb"; | ||||
97 | |||||
98 | fit { | ||||
99 | description = "Configuration to load ATF before U-Boot"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 100 | fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 101 | #address-cells = <1>; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 102 | |
103 | images { | ||||
104 | uboot { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 105 | arch = "arm64"; |
106 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 107 | description = "U-Boot (64-bit)"; |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame] | 108 | load = <CONFIG_TEXT_BASE>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 109 | type = "standalone"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 110 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 111 | uboot-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 112 | filename = "u-boot-nodtb.bin"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 113 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 114 | }; |
115 | }; | ||||
116 | |||||
117 | atf { | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 118 | arch = "arm64"; |
119 | compression = "none"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 120 | description = "ARM Trusted Firmware"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 121 | entry = <0x910000>; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 122 | load = <0x910000>; |
123 | type = "firmware"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 124 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 125 | atf-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 126 | filename = "bl31.bin"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 127 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 128 | }; |
129 | }; | ||||
130 | |||||
131 | fdt { | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 132 | compression = "none"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 133 | description = "NAME"; |
134 | type = "flat_dt"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 135 | |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 136 | uboot-fdt-blob { |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 137 | filename = "u-boot.dtb"; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 138 | type = "blob-ext"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 139 | }; |
140 | }; | ||||
141 | }; | ||||
142 | |||||
143 | configurations { | ||||
144 | default = "conf"; | ||||
145 | |||||
146 | conf { | ||||
147 | description = "NAME"; | ||||
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 148 | fdt = "fdt"; |
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 149 | firmware = "uboot"; |
150 | loadables = "atf"; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 151 | }; |
152 | }; | ||||
153 | }; | ||||
154 | }; | ||||
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 155 | |
156 | imx-boot { | ||||
157 | filename = "flash.bin"; | ||||
158 | pad-byte = <0x00>; | ||||
159 | |||||
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 160 | spl { |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 161 | filename = "spl.bin"; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 162 | offset = <0x0>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 163 | type = "blob-ext"; |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 164 | }; |
165 | |||||
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 166 | binman_uboot: uboot { |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 167 | filename = "u-boot.itb"; |
Patrick Wildt | 3d5ce4e | 2022-01-13 15:21:24 +0100 | [diff] [blame] | 168 | offset = <0x57c00>; |
Patrick Wildt | e532199 | 2022-01-13 15:22:41 +0100 | [diff] [blame] | 169 | type = "blob-ext"; |
Patrick Wildt | 3d90672 | 2022-01-08 16:34:17 +0100 | [diff] [blame] | 170 | }; |
171 | }; | ||||
Peng Fan | 4311f5a | 2021-10-22 10:42:16 +0800 | [diff] [blame] | 172 | }; |