arm: dts: k3-am64x-binman: Add NAND overlay and configuration

Add NAND overlay and configuration to tispl and u-boot images.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
This commit is contained in:
Roger Quadros 2023-11-24 17:03:19 +02:00 committed by Praneeth Bajjuri
parent 40e776a36d
commit d507c6b2ba
1 changed files with 84 additions and 0 deletions

View File

@ -126,6 +126,8 @@
#define AM642_EVM_DTB "u-boot.dtb" #define AM642_EVM_DTB "u-boot.dtb"
#define AM642_SK_DTB "arch/arm/dts/k3-am642-sk.dtb" #define AM642_SK_DTB "arch/arm/dts/k3-am642-sk.dtb"
#define AM642_EVM_NAND_DTBO "arch/arm/dts/k3-am642-evm-nand.dtbo"
&binman { &binman {
ti-spl { ti-spl {
filename = "tispl.bin"; filename = "tispl.bin";
@ -229,6 +231,20 @@
}; };
}; };
fdt-2 {
description = "k3-am642-evm-nand overlay";
type = "flat_dt";
arch = "arm";
compression = "none";
ti-secure {
content = <&spl_am64x_evm_nand_dtb>;
keyfile = "custMpk.pem";
};
spl_am64x_evm_nand_dtb: blob-ext {
filename = AM642_EVM_NAND_DTBO;
};
};
}; };
configurations { configurations {
@ -247,6 +263,13 @@
loadables = "tee", "dm", "spl"; loadables = "tee", "dm", "spl";
fdt = "fdt-1"; fdt = "fdt-1";
}; };
conf-2 {
description = "k3-am642-evm-nand";
firmware = "atf";
loadables = "tee", "dm", "spl";
fdt = "fdt-0", "fdt-2";
};
}; };
}; };
}; };
@ -315,6 +338,23 @@
}; };
}; };
fdt-2 {
description = "k3-am642-evm-nand overlay";
type = "flat_dt";
arch = "arm";
compression = "none";
ti-secure {
content = <&am64x_evm_nand_dtb>;
keyfile = "custMpk.pem";
};
am64x_evm_nand_dtb: blob-ext {
filename = AM642_EVM_NAND_DTBO;
};
hash {
algo = "crc32";
};
};
}; };
configurations { configurations {
@ -333,6 +373,13 @@
loadables = "uboot"; loadables = "uboot";
fdt = "fdt-1"; fdt = "fdt-1";
}; };
conf-2 {
description = "k3-am642-evm-nand";
firmware = "uboot";
loadables = "uboot";
fdt = "fdt-0", "fdt-2";
};
}; };
}; };
}; };
@ -418,6 +465,16 @@
filename = SPL_AM642_SK_DTB; filename = SPL_AM642_SK_DTB;
}; };
}; };
fdt-2 {
description = "k3-am642-evm-nand overlay";
type = "flat_dt";
arch = "arm";
compression = "none";
blob {
filename = AM642_EVM_NAND_DTBO;
};
};
}; };
configurations { configurations {
@ -436,6 +493,13 @@
loadables = "tee", "dm", "spl"; loadables = "tee", "dm", "spl";
fdt = "fdt-1"; fdt = "fdt-1";
}; };
conf-2 {
description = "k3-am642-evm-nand";
firmware = "atf";
loadables = "tee", "dm", "spl";
fdt = "fdt-0", "fdt-2";
};
}; };
}; };
}; };
@ -490,6 +554,19 @@
algo = "crc32"; algo = "crc32";
}; };
}; };
fdt-2 {
description = "k3-am642-evm-nand overlay";
type = "flat_dt";
arch = "arm";
compression = "none";
blob {
filename = AM642_EVM_NAND_DTBO;
};
hash {
algo = "crc32";
};
};
}; };
configurations { configurations {
@ -508,6 +585,13 @@
loadables = "uboot"; loadables = "uboot";
fdt = "fdt-1"; fdt = "fdt-1";
}; };
conf-2 {
description = "k3-am642-evm-nand";
firmware = "uboot";
loadables = "uboot";
fdt = "fdt-0", "fdt-2";
};
}; };
}; };
}; };