2021-04-26 12:53:46 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2020 Jagan Teki <jagan@amarulasolutions.com>
|
|
|
|
*/
|
|
|
|
|
2021-10-22 23:15:13 +00:00
|
|
|
/ {
|
|
|
|
binman: binman {
|
|
|
|
multiple-images;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-04-26 12:53:46 +00:00
|
|
|
&{/soc@0} {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&aips1 {
|
|
|
|
u-boot,dm-pre-reloc;
|
2021-10-22 23:15:14 +00:00
|
|
|
u-boot,dm-spl;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&aips2 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&aips3 {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
2021-10-22 23:15:13 +00:00
|
|
|
&binman {
|
|
|
|
u-boot-spl-ddr {
|
2021-10-22 23:15:14 +00:00
|
|
|
align = <4>;
|
|
|
|
align-size = <4>;
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "u-boot-spl-ddr.bin";
|
|
|
|
pad-byte = <0xff>;
|
|
|
|
|
|
|
|
u-boot-spl {
|
|
|
|
align-end = <4>;
|
2021-10-22 23:15:15 +00:00
|
|
|
filename = "u-boot-spl.bin";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2022-07-26 08:41:20 +00:00
|
|
|
ddr-1d-imem-fw {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "lpddr4_pmu_train_1d_imem.bin";
|
2022-07-26 08:41:22 +00:00
|
|
|
align-end = <4>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2022-07-26 08:41:20 +00:00
|
|
|
ddr-1d-dmem-fw {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "lpddr4_pmu_train_1d_dmem.bin";
|
2022-07-26 08:41:22 +00:00
|
|
|
align-end = <4>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2022-07-26 08:41:20 +00:00
|
|
|
ddr-2d-imem-fw {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "lpddr4_pmu_train_2d_imem.bin";
|
2022-07-26 08:41:22 +00:00
|
|
|
align-end = <4>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2022-07-26 08:41:20 +00:00
|
|
|
ddr-2d-dmem-fw {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "lpddr4_pmu_train_2d_dmem.bin";
|
2022-07-26 08:41:22 +00:00
|
|
|
align-end = <4>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spl {
|
|
|
|
filename = "spl.bin";
|
|
|
|
|
|
|
|
mkimage {
|
|
|
|
args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
|
|
|
|
|
|
|
|
blob {
|
|
|
|
filename = "u-boot-spl-ddr.bin";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
itb {
|
|
|
|
filename = "u-boot.itb";
|
|
|
|
|
|
|
|
fit {
|
|
|
|
description = "Configuration to load ATF before U-Boot";
|
|
|
|
fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
|
|
|
|
fit,fdt-list = "of-list";
|
2021-10-22 23:15:14 +00:00
|
|
|
#address-cells = <1>;
|
2021-10-22 23:15:13 +00:00
|
|
|
|
|
|
|
images {
|
|
|
|
uboot {
|
|
|
|
arch = "arm64";
|
|
|
|
compression = "none";
|
2021-10-22 23:15:14 +00:00
|
|
|
description = "U-Boot (64-bit)";
|
2021-10-22 23:15:13 +00:00
|
|
|
load = <CONFIG_SYS_TEXT_BASE>;
|
2021-10-22 23:15:14 +00:00
|
|
|
type = "standalone";
|
2021-10-22 23:15:13 +00:00
|
|
|
|
2022-01-13 14:22:17 +00:00
|
|
|
uboot-blob {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "u-boot-nodtb.bin";
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
atf {
|
|
|
|
arch = "arm64";
|
|
|
|
compression = "none";
|
2021-10-22 23:15:14 +00:00
|
|
|
description = "ARM Trusted Firmware";
|
2021-10-22 23:15:13 +00:00
|
|
|
entry = <0x920000>;
|
2021-10-22 23:15:14 +00:00
|
|
|
load = <0x920000>;
|
|
|
|
type = "firmware";
|
2021-10-22 23:15:13 +00:00
|
|
|
|
2022-01-13 14:22:17 +00:00
|
|
|
atf-blob {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "bl31.bin";
|
2022-04-08 08:06:56 +00:00
|
|
|
type = "atf-bl31";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
binman_fip: fip {
|
|
|
|
arch = "arm64";
|
|
|
|
compression = "none";
|
2021-10-22 23:15:14 +00:00
|
|
|
description = "Trusted Firmware FIP";
|
2021-10-22 23:15:13 +00:00
|
|
|
load = <0x40310000>;
|
2021-10-22 23:15:14 +00:00
|
|
|
type = "firmware";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
@fdt-SEQ {
|
2021-10-22 23:15:14 +00:00
|
|
|
compression = "none";
|
2021-10-22 23:15:13 +00:00
|
|
|
description = "NAME";
|
|
|
|
type = "flat_dt";
|
|
|
|
|
2022-01-13 14:22:17 +00:00
|
|
|
uboot-fdt-blob {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "u-boot.dtb";
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
default = "@config-DEFAULT-SEQ";
|
|
|
|
|
|
|
|
binman_configuration: @config-SEQ {
|
|
|
|
description = "NAME";
|
2021-10-22 23:15:14 +00:00
|
|
|
fdt = "fdt-SEQ";
|
2021-10-22 23:15:13 +00:00
|
|
|
firmware = "uboot";
|
|
|
|
loadables = "atf";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
imx-boot {
|
|
|
|
filename = "flash.bin";
|
|
|
|
pad-byte = <0x00>;
|
|
|
|
|
2022-07-12 14:36:18 +00:00
|
|
|
#ifdef CONFIG_FSPI_CONF_HEADER
|
|
|
|
fspi_conf_block {
|
|
|
|
filename = CONFIG_FSPI_CONF_FILE;
|
|
|
|
type = "blob-ext";
|
|
|
|
size = <0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
spl {
|
|
|
|
filename = "spl.bin";
|
|
|
|
offset = <0x1000>;
|
|
|
|
type = "blob-ext";
|
|
|
|
};
|
|
|
|
|
|
|
|
binman_uboot: uboot {
|
|
|
|
filename = "u-boot.itb";
|
|
|
|
offset = <0x58C00>;
|
|
|
|
type = "blob-ext";
|
|
|
|
};
|
|
|
|
#else
|
2021-10-22 23:15:16 +00:00
|
|
|
spl {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "spl.bin";
|
2021-10-22 23:15:14 +00:00
|
|
|
offset = <0x0>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2021-10-22 23:15:16 +00:00
|
|
|
binman_uboot: uboot {
|
2021-10-22 23:15:13 +00:00
|
|
|
filename = "u-boot.itb";
|
2021-10-22 23:15:14 +00:00
|
|
|
offset = <0x57c00>;
|
2021-10-22 23:15:16 +00:00
|
|
|
type = "blob-ext";
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
2022-07-12 14:36:18 +00:00
|
|
|
#endif
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-04-26 12:53:46 +00:00
|
|
|
&clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
2021-10-22 23:15:14 +00:00
|
|
|
u-boot,dm-spl;
|
2021-04-26 12:53:46 +00:00
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-parents;
|
|
|
|
/delete-property/ assigned-clock-rates;
|
|
|
|
};
|
|
|
|
|
|
|
|
&iomuxc {
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&osc_24m {
|
|
|
|
u-boot,dm-pre-reloc;
|
2021-10-22 23:15:14 +00:00
|
|
|
u-boot,dm-spl;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
2022-07-21 13:27:40 +00:00
|
|
|
|
|
|
|
&spba1 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|
|
|
|
|
|
|
|
&spba2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
u-boot,dm-spl;
|
|
|
|
};
|