]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: j721e: binman: Include firmware capsules binman nodes
authorJonathan Humphreys <j-humphreys@ti.com>
Fri, 31 May 2024 22:51:05 +0000 (17:51 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:06 +0000 (12:59 -0600)
Fill in the J721e SK's capsule GUID properties of the base binman capsule
nodes.
Also add it's SYSFW binman capsule node.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
arch/arm/dts/k3-j721e-binman.dtsi

index 1514d897634a6f5995d5e39309ee7174f0ed2f20..7b426729eb81d4a4d29d3bc70fcc2eca6addd5f8 100644 (file)
                };
        };
 };
+
+#include "k3-binman-capsule-r5.dtsi"
+
+// Capsule update GUIDs in string form.  See j721e_evm.h
+#define J721E_SK_TIBOOT3_IMAGE_GUID_STR "e672b518-7cd7-4014-bd8d-40724d0ad4dc"
+#define J721E_SK_SYSFW_IMAGE_GUID_STR "6fd10680-361b-431f-80aa-899455819e11"
+
+&capsule_tiboot3 {
+       efi-capsule {
+               image-guid = J721E_SK_TIBOOT3_IMAGE_GUID_STR;
+       };
+};
+
+&binman {
+       capsule-sysfw {
+               filename = "sysfw-capsule.bin";
+               efi-capsule {
+                       image-index = <0x4>;
+                       image-guid = J721E_SK_SYSFW_IMAGE_GUID_STR;
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "sysfw.itb";
+                       };
+               };
+       };
+};
+
 #endif
 
 #ifdef CONFIG_TARGET_J721E_A72_EVM
                };
        };
 };
+
+#include "k3-binman-capsule.dtsi"
+
+// Capsule update GUIDs in string form.  See j721e_evm.h
+#define J721E_SK_SPL_IMAGE_GUID_STR "86f710ad-10cf-46ea-ac67-856ae06efad2"
+#define J721E_SK_UBOOT_IMAGE_GUID_STR "81b58fb0-3b00-4add-a20a-c185bbaca1ed"
+
+&capsule_tispl {
+       efi-capsule {
+               image-guid = J721E_SK_SPL_IMAGE_GUID_STR;
+       };
+};
+
+&capsule_uboot {
+       efi-capsule {
+               image-guid = J721E_SK_UBOOT_IMAGE_GUID_STR;
+       };
+};
+
 #endif