mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Tom Rini](/assets/img/avatar_default.png)
-----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAl/0YVIACgkQFHw5/5Y0 tywtEwv/cJWlKgcSnYjuJrxwuJdauUTfXdbUgtCxOtBw/BP4dsKkbGTJPw5q5M+4 LJJSKyksmJVTX26h1dpkzQjOpWtTDnWqm5CTIxD52oQD7pxK+zCQ9T6S+QbQD0Se ogHmZluzFoluxbNgo8tiO52xvMhDO3TVAzxsNDdGfkd5/tAXOHClPc34RmAkdRHU VsR89AKdT2q543fiUfrRZYDzdctaNWhRGXMDcJ4+QU/8hQhrpcr8EtHbF+3mWX4K pA01pDz150Rn4UI6S2xKEWrjSTHe55fxVj/Qj0rq9z2E/+NqGXemf5s13AR0G/z3 PqHdVLHzDe64pbOvmyU1pVQ0aMb8vMJUnqx68SQZY3On2c+MjRWQ+7aVVaKOcPGp uatk6QMrggHp3Li+3yZrLBE0qPr/sNMVb7mUesdZb6lFd2VIs8siwhfeGXMS+nDI xePzsR43Fnn5Q5KIqqvcWUb+TTTqUDUff0wyAU8NBgCaIBIZK8h2ppS1jjnbms0I mr8Er2vb =Dfum -----END PGP SIGNATURE----- Merge tag 'v2021.01-rc5' into next Prepare v2021.01-rc5 Signed-off-by: Tom Rini <trini@konsulko.com>
208 lines
3.1 KiB
Plaintext
208 lines
3.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#include <config.h>
|
|
|
|
/ {
|
|
aliases {
|
|
mmc0 = &esdhc1;
|
|
mmc1 = &esdhc0;
|
|
i2c0 = &i2c0;
|
|
i2c1 = &i2c3;
|
|
i2c2 = &i2c4;
|
|
rtc0 = &rtc;
|
|
ethernet0 = &enetc0;
|
|
ethernet1 = &enetc1;
|
|
ethernet2 = &enetc2;
|
|
ethernet3 = &enetc6;
|
|
};
|
|
|
|
binman: binman {
|
|
filename = "u-boot.rom";
|
|
pad-byte = <0xff>;
|
|
|
|
u-boot-spl {
|
|
};
|
|
|
|
fit {
|
|
offset = <CONFIG_SPL_PAD_TO>;
|
|
description = "FIT image with multiple configurations";
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot";
|
|
type = "firmware";
|
|
os = "u-boot";
|
|
arch = "arm";
|
|
compression = "none";
|
|
load = <CONFIG_SYS_TEXT_BASE>;
|
|
|
|
u-boot-nodtb {
|
|
};
|
|
};
|
|
|
|
fdt-1 {
|
|
description = "fsl-ls1028a-kontron-sl28";
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
|
|
blob {
|
|
filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28.dtb";
|
|
};
|
|
};
|
|
|
|
fdt-2 {
|
|
description = "fsl-ls1028a-kontron-sl28-var3";
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
|
|
blob {
|
|
filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var3.dtb";
|
|
};
|
|
};
|
|
|
|
fdt-3 {
|
|
description = "fsl-ls1028a-kontron-sl28-var4";
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
|
|
blob {
|
|
filename = "arch/arm/dts/fsl-ls1028a-kontron-sl28-var4.dtb";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-1";
|
|
|
|
conf-1 {
|
|
description = "fsl-ls1028a-kontron-sl28";
|
|
firmware = "uboot";
|
|
fdt = "fdt-1";
|
|
};
|
|
|
|
conf-2 {
|
|
description = "fsl-ls1028a-kontron-sl28-var3";
|
|
firmware = "uboot";
|
|
fdt = "fdt-2";
|
|
};
|
|
|
|
conf-3 {
|
|
description = "fsl-ls1028a-kontron-sl28-var4";
|
|
firmware = "uboot";
|
|
fdt = "fdt-3";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
#ifdef CONFIG_SL28_SPL_LOADS_ATF_BL31
|
|
&binman {
|
|
fit {
|
|
images {
|
|
bl31 {
|
|
description = "ARM Trusted Firmware (bl31)";
|
|
type = "firmware";
|
|
arch = "arm";
|
|
os = "arm-trusted-firmware";
|
|
compression = "none";
|
|
load = <CONFIG_SL28_BL31_ENTRY_ADDR>;
|
|
entry = <CONFIG_SL28_BL31_ENTRY_ADDR>;
|
|
|
|
blob-ext {
|
|
filename = "bl31.bin";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
conf-1 {
|
|
firmware = "bl31";
|
|
loadables = "uboot";
|
|
};
|
|
|
|
conf-2 {
|
|
firmware = "bl31";
|
|
loadables = "uboot";
|
|
};
|
|
|
|
conf-3 {
|
|
firmware = "bl31";
|
|
loadables = "uboot";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
#endif
|
|
|
|
#ifdef CONFIG_SL28_SPL_LOADS_OPTEE_BL32
|
|
&binman {
|
|
fit {
|
|
images {
|
|
bl32 {
|
|
description = "OP-TEE Trusted OS (bl32)";
|
|
type = "firmware";
|
|
arch = "arm";
|
|
os = "tee";
|
|
compression = "none";
|
|
load = <CONFIG_SL28_BL32_ENTRY_ADDR>;
|
|
entry = <CONFIG_SL28_BL32_ENTRY_ADDR>;
|
|
|
|
blob-ext {
|
|
filename = "tee.bin";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
conf-1 {
|
|
loadables = "uboot", "bl32";
|
|
};
|
|
|
|
conf-2 {
|
|
loadables = "uboot", "bl32";
|
|
};
|
|
|
|
conf-3 {
|
|
loadables = "uboot", "bl32";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
#endif
|
|
|
|
&i2c0 {
|
|
rtc: rtc@32 {
|
|
};
|
|
};
|
|
|
|
&fspi {
|
|
u-boot,dm-pre-reloc;
|
|
flash@0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&dspi2 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&esdhc0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&esdhc1 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&serial0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&sysclk {
|
|
u-boot,dm-pre-reloc;
|
|
};
|