]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-binman: Add support for HS-SE 2.0
authorNeha Malcom Francis <n-francis@ti.com>
Wed, 20 Dec 2023 11:34:33 +0000 (17:04 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jan 2024 17:01:16 +0000 (12:01 -0500)
Add support for J721E HS-SE 2.0 device. Make use of the existing
templates and override the phandles for sysfw.itb so that builds do not
fail.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
arch/arm/dts/k3-j721e-binman.dtsi

index 1bd9f96a58e982c30fb0c6eee0f83c3e1d18e13d..75a6e9599b9a64f6367e5ba78889670d21005e02 100644 (file)
                        no-expanded;
                };
        };
+
+       tiboot3-j721e_sr2-hs-evm.bin {
+               filename = "tiboot3-j721e_sr2-hs-evm.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_sr2>;
+                       core = "public";
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       keyfile = "custMpk.pem";
+               };
+               u_boot_spl_sr2: u-boot-spl {
+                       no-expanded;
+               };
+       };
+
        sysfw {
                filename = "sysfw.bin";
                ti-secure-rom {
                        optional;
                };
        };
+
+       sysfw_sr2 {
+               filename = "sysfw.bin_sr2";
+               ti-secure-rom {
+                       content = <&ti_fs_cert_sr2>;
+                       core = "secure";
+                       load = <0x40000>;
+                       keyfile = "custMpk.pem";
+                       countersign;
+               };
+               ti_fs_cert_sr2: ti-fs-cert.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               ti-fs-firmware-j721e_sr2-hs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+
        itb {
                filename = "sysfw-j721e_sr1_1-hs-evm.itb";
                insert-template = <&itb_template>;
        };
+
+       itb_sr2 {
+               filename = "sysfw-j721e_sr2-hs-evm.itb";
+               insert-template = <&itb_template>;
+               fit {
+                       images {
+                               sysfw.bin {
+                                       blob-ext {
+                                               filename = "sysfw.bin_sr2";
+                                       };
+                               };
+                               board-cfg.bin {
+                                       ti-secure {
+                                               content = <&board_cfg_sr2>;
+                                       };
+                                       board_cfg_sr2: board-cfg {
+                                               filename = "board-cfg.bin";
+                                       };
+                               };
+                               pm-cfg.bin {
+                                       ti-secure {
+                                               content = <&pm_cfg_sr2>;
+                                       };
+                                       pm_cfg_sr2: pm-cfg {
+                                               filename = "pm-cfg.bin";
+                                       };
+                               };
+                               rm-cfg.bin {
+                                       ti-secure {
+                                               content = <&rm_cfg_sr2>;
+                                       };
+                                       rm_cfg_sr2: rm-cfg {
+                                               filename = "rm-cfg.bin";
+                                       };
+                               };
+                               sec-cfg.bin {
+                                       ti-secure {
+                                               content = <&sec_cfg_sr2>;
+                                       };
+                                       sec_cfg_sr2: sec-cfg {
+                                               filename = "sec-cfg.bin";
+                                       };
+                               };
+
+                       };
+               };
+       };
 };
 
 &binman {