blob: 48dbe94f0c4b75003b2fca9d1b9378ab40e72182 [file] [log] [blame]
Peng Fanc1ecd032021-10-22 10:42:16 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 NXP
4 */
5
6/ {
7 binman: binman {
Peng Fanc1ecd032021-10-22 10:42:16 +08008 };
9
10};
11
Marcel Ziswilercb9b70f2022-11-07 22:22:38 +010012&soc {
Simon Glass8c103c32023-02-13 08:56:33 -070013 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080014};
15
Marcel Ziswilercb9b70f2022-11-07 22:22:38 +010016&aips1 {
Simon Glass8c103c32023-02-13 08:56:33 -070017 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080018};
19
Marcel Ziswilercb9b70f2022-11-07 22:22:38 +010020&aips2 {
Simon Glass8c103c32023-02-13 08:56:33 -070021 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080022};
23
Marcel Ziswilercb9b70f2022-11-07 22:22:38 +010024&aips3 {
Simon Glass8c103c32023-02-13 08:56:33 -070025 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080026};
27
Marcel Ziswilercb9b70f2022-11-07 22:22:38 +010028&aips4 {
Simon Glass8c103c32023-02-13 08:56:33 -070029 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080030};
31
32&iomuxc {
Simon Glass8c103c32023-02-13 08:56:33 -070033 bootph-pre-ram;
Peng Fan56f38882022-05-05 15:43:38 +080034};
35
Peng Fanc1ecd032021-10-22 10:42:16 +080036&binman {
Marek Vasut37e50622024-04-26 01:00:37 +020037 filename = "flash.bin";
38 section {
39 pad-byte = <0x00>;
Peng Fanc1ecd032021-10-22 10:42:16 +080040
Marek Vasut37e50622024-04-26 01:00:37 +020041 nxp-imx8mimage {
42 filename = "u-boot-spl-mkimage.bin";
43 nxp,boot-from = "sd";
44 nxp,rom-version = <1>;
45 nxp,loader-address = <CONFIG_SPL_TEXT_BASE>;
46 args; /* Needed by mkimage etype superclass */
Peng Fanc1ecd032021-10-22 10:42:16 +080047
Marek Vasut37e50622024-04-26 01:00:37 +020048 section {
49 align = <4>;
50 align-size = <4>;
Peng Fanc1ecd032021-10-22 10:42:16 +080051 filename = "u-boot-spl-ddr.bin";
Marek Vasut37e50622024-04-26 01:00:37 +020052 pad-byte = <0xff>;
53
54 u-boot-spl {
55 align-end = <4>;
56 filename = "u-boot-spl.bin";
57 };
58
59 ddr-1d-imem-fw {
60 filename = "lpddr4_pmu_train_1d_imem.bin";
61 align-end = <4>;
62 type = "blob-ext";
63 };
64
65 ddr-1d-dmem-fw {
66 filename = "lpddr4_pmu_train_1d_dmem.bin";
67 align-end = <4>;
68 type = "blob-ext";
69 };
70
71 ddr-2d-imem-fw {
72 filename = "lpddr4_pmu_train_2d_imem.bin";
73 align-end = <4>;
74 type = "blob-ext";
75 };
76
77 ddr-2d-dmem-fw {
78 filename = "lpddr4_pmu_train_2d_dmem.bin";
79 align-end = <4>;
80 type = "blob-ext";
81 };
82
83 signed-hdmi-imx8m {
84 filename = "signed_hdmi_imx8m.bin";
85 type = "blob-ext";
86 };
Peng Fanc1ecd032021-10-22 10:42:16 +080087 };
Peng Fanc1ecd032021-10-22 10:42:16 +080088 };
Peng Fanc1ecd032021-10-22 10:42:16 +080089
90 fit {
91 description = "Configuration to load ATF before U-Boot";
Marek Vasut6039e0e2023-05-28 23:00:30 +020092#ifndef CONFIG_IMX_HAB
Peng Fanc1ecd032021-10-22 10:42:16 +080093 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Marek Vasut6039e0e2023-05-28 23:00:30 +020094#endif
Patrick Wildt440c7d12022-01-13 15:21:24 +010095 #address-cells = <1>;
Peng Fanc1ecd032021-10-22 10:42:16 +080096
97 images {
98 uboot {
Peng Fanc1ecd032021-10-22 10:42:16 +080099 arch = "arm64";
100 compression = "none";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100101 description = "U-Boot (64-bit)";
Simon Glass98463902022-10-20 18:22:39 -0600102 load = <CONFIG_TEXT_BASE>;
Patrick Wildt440c7d12022-01-13 15:21:24 +0100103 type = "standalone";
Peng Fanc1ecd032021-10-22 10:42:16 +0800104
Patrick Wildtea4e9382022-01-13 15:22:41 +0100105 uboot-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +0800106 filename = "u-boot-nodtb.bin";
Patrick Wildtea4e9382022-01-13 15:22:41 +0100107 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +0800108 };
109 };
110
Marek Vasut9694c0532022-12-22 01:46:37 +0100111#ifndef CONFIG_ARMV8_PSCI
Peng Fanc1ecd032021-10-22 10:42:16 +0800112 atf {
Peng Fanc1ecd032021-10-22 10:42:16 +0800113 arch = "arm64";
114 compression = "none";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100115 description = "ARM Trusted Firmware";
Peng Fanc1ecd032021-10-22 10:42:16 +0800116 entry = <0x910000>;
Patrick Wildt440c7d12022-01-13 15:21:24 +0100117 load = <0x910000>;
118 type = "firmware";
Peng Fanc1ecd032021-10-22 10:42:16 +0800119
Patrick Wildtea4e9382022-01-13 15:22:41 +0100120 atf-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +0800121 filename = "bl31.bin";
Patrick Wildtea4e9382022-01-13 15:22:41 +0100122 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +0800123 };
124 };
Marek Vasut9694c0532022-12-22 01:46:37 +0100125#endif
Peng Fanc1ecd032021-10-22 10:42:16 +0800126
127 fdt {
Patrick Wildt440c7d12022-01-13 15:21:24 +0100128 compression = "none";
Peng Fanc1ecd032021-10-22 10:42:16 +0800129 description = "NAME";
130 type = "flat_dt";
Peng Fanc1ecd032021-10-22 10:42:16 +0800131
Patrick Wildtea4e9382022-01-13 15:22:41 +0100132 uboot-fdt-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +0800133 filename = "u-boot.dtb";
Patrick Wildtea4e9382022-01-13 15:22:41 +0100134 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +0800135 };
136 };
137 };
138
139 configurations {
140 default = "conf";
141
142 conf {
143 description = "NAME";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100144 fdt = "fdt";
Peng Fanc1ecd032021-10-22 10:42:16 +0800145 firmware = "uboot";
Marek Vasut9694c0532022-12-22 01:46:37 +0100146#ifndef CONFIG_ARMV8_PSCI
Peng Fanc1ecd032021-10-22 10:42:16 +0800147 loadables = "atf";
Marek Vasut9694c0532022-12-22 01:46:37 +0100148#endif
Peng Fanc1ecd032021-10-22 10:42:16 +0800149 };
150 };
151 };
152 };
Peng Fanc1ecd032021-10-22 10:42:16 +0800153};