blob: 912a3d4a356c499bc78745ea280a229b8974cfc8 [file] [log] [blame]
Peng Fan4311f5a2021-10-22 10:42:16 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10
11};
12
Peng Fanbd4beeb2022-05-05 15:43:38 +080013&{/soc@0} {
14 u-boot,dm-spl;
15};
16
17&{/soc@0/bus@30000000} {
18 u-boot,dm-spl;
19};
20
21&{/soc@0/bus@30400000} {
22 u-boot,dm-spl;
23};
24
25&{/soc@0/bus@30800000} {
26 u-boot,dm-spl;
27};
28
29&{/soc@0/bus@32c00000} {
30 u-boot,dm-spl;
31};
32
33&iomuxc {
34 u-boot,dm-spl;
35};
36
Peng Fan4311f5a2021-10-22 10:42:16 +080037&binman {
38 u-boot-spl-ddr {
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +010039 align = <4>;
40 align-size = <4>;
Peng Fan4311f5a2021-10-22 10:42:16 +080041 filename = "u-boot-spl-ddr.bin";
42 pad-byte = <0xff>;
Peng Fan4311f5a2021-10-22 10:42:16 +080043
44 u-boot-spl {
45 align-end = <4>;
Patrick Wildt4cbc3b62022-01-13 15:21:47 +010046 filename = "u-boot-spl.bin";
Peng Fan4311f5a2021-10-22 10:42:16 +080047 };
48
Patrick Wildte5321992022-01-13 15:22:41 +010049 1d-imem {
Peng Fan4311f5a2021-10-22 10:42:16 +080050 filename = "lpddr4_pmu_train_1d_imem.bin";
51 size = <0x8000>;
Patrick Wildte5321992022-01-13 15:22:41 +010052 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +080053 };
54
Patrick Wildte5321992022-01-13 15:22:41 +010055 1d-dmem {
Peng Fan4311f5a2021-10-22 10:42:16 +080056 filename = "lpddr4_pmu_train_1d_dmem.bin";
57 size = <0x4000>;
Patrick Wildte5321992022-01-13 15:22:41 +010058 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +080059 };
60
Patrick Wildte5321992022-01-13 15:22:41 +010061 2d-imem {
Peng Fan4311f5a2021-10-22 10:42:16 +080062 filename = "lpddr4_pmu_train_2d_imem.bin";
63 size = <0x8000>;
Patrick Wildte5321992022-01-13 15:22:41 +010064 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +080065 };
66
Patrick Wildte5321992022-01-13 15:22:41 +010067 2d-dmem {
Peng Fan4311f5a2021-10-22 10:42:16 +080068 filename = "lpddr4_pmu_train_2d_dmem.bin";
69 size = <0x4000>;
Patrick Wildte5321992022-01-13 15:22:41 +010070 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +080071 };
72 };
73
Patrick Wildte5321992022-01-13 15:22:41 +010074 signed-hdmi {
Peng Fan4311f5a2021-10-22 10:42:16 +080075 filename = "signed_hdmi.bin";
76
Patrick Wildte5321992022-01-13 15:22:41 +010077 signed-hdmi-imx8m {
Peng Fan4311f5a2021-10-22 10:42:16 +080078 filename = "signed_hdmi_imx8m.bin";
Patrick Wildte5321992022-01-13 15:22:41 +010079 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +080080 };
81 };
82
Patrick Wildt3d906722022-01-08 16:34:17 +010083 spl {
84 filename = "spl.bin";
85
Peng Fan4311f5a2021-10-22 10:42:16 +080086 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 Fan4311f5a2021-10-22 10:42:16 +080092 };
Peng Fan4311f5a2021-10-22 10:42:16 +080093 };
94
95 itb {
96 filename = "u-boot.itb";
97
98 fit {
99 description = "Configuration to load ATF before U-Boot";
Peng Fan4311f5a2021-10-22 10:42:16 +0800100 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100101 #address-cells = <1>;
Peng Fan4311f5a2021-10-22 10:42:16 +0800102
103 images {
104 uboot {
Peng Fan4311f5a2021-10-22 10:42:16 +0800105 arch = "arm64";
106 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100107 description = "U-Boot (64-bit)";
Peng Fan4311f5a2021-10-22 10:42:16 +0800108 load = <CONFIG_SYS_TEXT_BASE>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100109 type = "standalone";
Peng Fan4311f5a2021-10-22 10:42:16 +0800110
Patrick Wildte5321992022-01-13 15:22:41 +0100111 uboot-blob {
Peng Fan4311f5a2021-10-22 10:42:16 +0800112 filename = "u-boot-nodtb.bin";
Patrick Wildte5321992022-01-13 15:22:41 +0100113 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +0800114 };
115 };
116
117 atf {
Peng Fan4311f5a2021-10-22 10:42:16 +0800118 arch = "arm64";
119 compression = "none";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100120 description = "ARM Trusted Firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +0800121 entry = <0x910000>;
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100122 load = <0x910000>;
123 type = "firmware";
Peng Fan4311f5a2021-10-22 10:42:16 +0800124
Patrick Wildte5321992022-01-13 15:22:41 +0100125 atf-blob {
Peng Fan4311f5a2021-10-22 10:42:16 +0800126 filename = "bl31.bin";
Patrick Wildte5321992022-01-13 15:22:41 +0100127 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +0800128 };
129 };
130
131 fdt {
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100132 compression = "none";
Peng Fan4311f5a2021-10-22 10:42:16 +0800133 description = "NAME";
134 type = "flat_dt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800135
Patrick Wildte5321992022-01-13 15:22:41 +0100136 uboot-fdt-blob {
Peng Fan4311f5a2021-10-22 10:42:16 +0800137 filename = "u-boot.dtb";
Patrick Wildte5321992022-01-13 15:22:41 +0100138 type = "blob-ext";
Peng Fan4311f5a2021-10-22 10:42:16 +0800139 };
140 };
141 };
142
143 configurations {
144 default = "conf";
145
146 conf {
147 description = "NAME";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100148 fdt = "fdt";
Peng Fan4311f5a2021-10-22 10:42:16 +0800149 firmware = "uboot";
150 loadables = "atf";
Peng Fan4311f5a2021-10-22 10:42:16 +0800151 };
152 };
153 };
154 };
Patrick Wildt3d906722022-01-08 16:34:17 +0100155
156 imx-boot {
157 filename = "flash.bin";
158 pad-byte = <0x00>;
159
Patrick Wildte5321992022-01-13 15:22:41 +0100160 spl {
Patrick Wildt3d906722022-01-08 16:34:17 +0100161 filename = "spl.bin";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100162 offset = <0x0>;
Patrick Wildte5321992022-01-13 15:22:41 +0100163 type = "blob-ext";
Patrick Wildt3d906722022-01-08 16:34:17 +0100164 };
165
Patrick Wildte5321992022-01-13 15:22:41 +0100166 binman_uboot: uboot {
Patrick Wildt3d906722022-01-08 16:34:17 +0100167 filename = "u-boot.itb";
Patrick Wildt3d5ce4e2022-01-13 15:21:24 +0100168 offset = <0x57c00>;
Patrick Wildte5321992022-01-13 15:22:41 +0100169 type = "blob-ext";
Patrick Wildt3d906722022-01-08 16:34:17 +0100170 };
171 };
Peng Fan4311f5a2021-10-22 10:42:16 +0800172};