Create capsule files for tiboot3.bin, tispl.bin, and u-boot.img.

Signed-off-by: Jonathan Humphreys <j-humphr...@ti.com>
---
 arch/arm/dts/k3-binman-capsule-r5.dtsi | 21 ++++++++++++++
 arch/arm/dts/k3-binman-capsule.dtsi    | 38 ++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 arch/arm/dts/k3-binman-capsule-r5.dtsi
 create mode 100644 arch/arm/dts/k3-binman-capsule.dtsi

diff --git a/arch/arm/dts/k3-binman-capsule-r5.dtsi 
b/arch/arm/dts/k3-binman-capsule-r5.dtsi
new file mode 100644
index 00000000000..959ceb7479d
--- /dev/null
+++ b/arch/arm/dts/k3-binman-capsule-r5.dtsi
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+&binman {
+       capsule_tiboot3: capsule-tiboot3 {
+               filename = "tiboot3-capsule.bin";
+               efi-capsule {
+                       image-index = <0x1>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "tiboot3.bin";
+                       };
+               };
+       };
+};
diff --git a/arch/arm/dts/k3-binman-capsule.dtsi 
b/arch/arm/dts/k3-binman-capsule.dtsi
new file mode 100644
index 00000000000..17e83c9fa44
--- /dev/null
+++ b/arch/arm/dts/k3-binman-capsule.dtsi
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+&binman {
+       capsule_tispl: capsule-tispl {
+               filename = "tispl-capsule.bin";
+               efi-capsule {
+                       image-index = <0x2>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "tispl.bin";
+                       };
+               };
+       };
+};
+
+&binman {
+       capsule_uboot: capsule-uboot {
+               filename = "uboot-capsule.bin";
+               efi-capsule {
+                       image-index = <0x3>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "u-boot.img";
+                       };
+               };
+       };
+};
-- 
2.34.1

Reply via email to