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;
|
|
|
|
};
|
2023-08-24 19:01:42 +00:00
|
|
|
|
|
|
|
#ifdef CONFIG_OPTEE
|
|
|
|
firmware {
|
|
|
|
optee {
|
|
|
|
compatible = "linaro,optee-tz";
|
|
|
|
method = "smc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
|
2023-08-24 19:03:56 +00:00
|
|
|
#ifdef CONFIG_FSL_CAAM
|
|
|
|
&crypto {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2022-11-07 21:22:41 +00:00
|
|
|
&soc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&aips1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&aips2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&aips3 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
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";
|
2023-05-28 21:00:30 +00:00
|
|
|
#ifndef CONFIG_IMX_HAB
|
2021-10-22 23:15:13 +00:00
|
|
|
fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
|
2023-05-28 21:00:30 +00:00
|
|
|
#endif
|
2021-10-22 23:15:13 +00:00
|
|
|
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)";
|
2022-10-21 00:22:39 +00:00
|
|
|
load = <CONFIG_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
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-12-22 00:46:37 +00:00
|
|
|
#ifndef CONFIG_ARMV8_PSCI
|
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
|
|
|
};
|
|
|
|
};
|
2022-12-22 00:46:37 +00:00
|
|
|
#endif
|
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";
|
|
|
|
|
2023-08-24 01:18:01 +00:00
|
|
|
@config-SEQ {
|
2021-10-22 23:15:13 +00:00
|
|
|
description = "NAME";
|
2021-10-22 23:15:14 +00:00
|
|
|
fdt = "fdt-SEQ";
|
2021-10-22 23:15:13 +00:00
|
|
|
firmware = "uboot";
|
2022-12-22 00:46:37 +00:00
|
|
|
#ifndef CONFIG_ARMV8_PSCI
|
2021-10-22 23:15:13 +00:00
|
|
|
loadables = "atf";
|
2022-12-22 00:46:37 +00:00
|
|
|
#endif
|
2021-10-22 23:15:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
/delete-property/ assigned-clocks;
|
|
|
|
/delete-property/ assigned-clock-parents;
|
|
|
|
/delete-property/ assigned-clock-rates;
|
|
|
|
};
|
|
|
|
|
|
|
|
&iomuxc {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&osc_24m {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2021-04-26 12:53:46 +00:00
|
|
|
};
|
2022-07-21 13:27:40 +00:00
|
|
|
|
2023-08-24 19:03:56 +00:00
|
|
|
#ifdef CONFIG_FSL_CAAM
|
|
|
|
&sec_jr0 {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sec_jr1 {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sec_jr2 {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
2022-07-21 13:27:40 +00:00
|
|
|
&spba1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2022-07-21 13:27:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&spba2 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
|
|
|
bootph-pre-ram;
|
2022-07-21 13:27:40 +00:00
|
|
|
};
|