Currently we are duplicating binman nodes responsible for building
tiboot3.bin binaries across boards that use TI's AM625 SoC.

This patch adds a SoC level k3-am625-binman.dtsi with templates for the
commonly used tiboot3 variants (i.e hs, hs-fs and gp) which can be
inserted by the corresponding board's dtsi to promote reuse.

No functional change is intended from this patch.

Signed-off-by: Anshul Dalal <[email protected]>
---
 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi      |   2 +-
 arch/arm/dts/k3-am625-binman.dtsi                 | 123 ++++++++++++++++++++++
 arch/arm/dts/k3-am625-phycore-som-binman.dtsi     | 116 +-------------------
 arch/arm/dts/k3-am625-r5-beagleplay.dts           |  33 +-----
 arch/arm/dts/k3-am625-sk-binman.dtsi              | 117 +-------------------
 arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi | 116 +-------------------
 6 files changed, 137 insertions(+), 370 deletions(-)

diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi 
b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index 2a4f0e453652..78d69499314e 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -6,7 +6,7 @@
  * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
  */
 
-#include "k3-binman.dtsi"
+#include "k3-am625-binman.dtsi"
 
 / {
        /* Keep the LEDs on by default to indicate life */
diff --git a/arch/arm/dts/k3-am625-binman.dtsi 
b/arch/arm/dts/k3-am625-binman.dtsi
new file mode 100644
index 000000000000..bb0af78d220a
--- /dev/null
+++ b/arch/arm/dts/k3-am625-binman.dtsi
@@ -0,0 +1,123 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2026 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+#include "k3-binman.dtsi"
+
+&binman {
+       tiboot3_am625_hs_template: template-tiboot3-hs {
+               ti-secure-rom {
+                       content = <&u_boot_spl>, <&ti_fs_enc>, 
<&combined_tifs_cfg>,
+                                 <&combined_dm_cfg>, <&sysfw_inner_cert>;
+                       combined;
+                       dm-data;
+                       sysfw-inner-cert;
+                       keyfile = "custMpk.pem";
+                       sw-rev = <1>;
+                       content-sbl = <&u_boot_spl>;
+                       content-sysfw = <&ti_fs_enc>;
+                       content-sysfw-data = <&combined_tifs_cfg>;
+                       content-sysfw-inner-cert = <&sysfw_inner_cert>;
+                       content-dm-data = <&combined_dm_cfg>;
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       load-sysfw = <0x40000>;
+                       load-sysfw-data = <0x67000>;
+                       load-dm-data = <0x43c3a800>;
+               };
+               u_boot_spl: u-boot-spl {
+                       no-expanded;
+               };
+               ti_fs_enc: ti-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin";
+                       type = "blob-ext";
+               };
+               combined_tifs_cfg: combined-tifs-cfg.bin {
+                       filename = "combined-tifs-cfg.bin";
+                       type = "blob-ext";
+               };
+               sysfw_inner_cert: sysfw-inner-cert {
+                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin";
+                       type = "blob-ext";
+               };
+               combined_dm_cfg: combined-dm-cfg.bin {
+                       filename = "combined-dm-cfg.bin";
+                       type = "blob-ext";
+               };
+       };
+
+       tiboot3_am625_hs_fs_template: template-tiboot3-hs-fs {
+               symlink = "tiboot3.bin";
+               ti-secure-rom {
+                       content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, 
<&combined_tifs_cfg_fs>,
+                                 <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
+                       combined;
+                       dm-data;
+                       sysfw-inner-cert;
+                       keyfile = "custMpk.pem";
+                       sw-rev = <1>;
+                       content-sbl = <&u_boot_spl_fs>;
+                       content-sysfw = <&ti_fs_enc_fs>;
+                       content-sysfw-data = <&combined_tifs_cfg_fs>;
+                       content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
+                       content-dm-data = <&combined_dm_cfg_fs>;
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       load-sysfw = <0x40000>;
+                       load-sysfw-data = <0x67000>;
+                       load-dm-data = <0x43c3a800>;
+               };
+               u_boot_spl_fs: u-boot-spl {
+                       no-expanded;
+               };
+               ti_fs_enc_fs: ti-fs-enc.bin {
+                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin";
+                       type = "blob-ext";
+               };
+               combined_tifs_cfg_fs: combined-tifs-cfg.bin {
+                       filename = "combined-tifs-cfg.bin";
+                       type = "blob-ext";
+               };
+               sysfw_inner_cert_fs: sysfw-inner-cert {
+                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin";
+                       type = "blob-ext";
+               };
+               combined_dm_cfg_fs: combined-dm-cfg.bin {
+                       filename = "combined-dm-cfg.bin";
+                       type = "blob-ext";
+               };
+       };
+
+       tiboot3_am625_gp_template: template-tiboot3-gp {
+               ti-secure-rom {
+                       content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
+                               <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
+                       combined;
+                       dm-data;
+                       content-sbl = <&u_boot_spl_unsigned>;
+                       load = <CONFIG_SPL_TEXT_BASE>;
+                       content-sysfw = <&ti_fs_gp>;
+                       load-sysfw = <0x40000>;
+                       content-sysfw-data = <&combined_tifs_cfg_gp>;
+                       load-sysfw-data = <0x67000>;
+                       content-dm-data = <&combined_dm_cfg_gp>;
+                       load-dm-data = <0x43c3a800>;
+                       sw-rev = <1>;
+                       keyfile = "ti-degenerate-key.pem";
+               };
+               u_boot_spl_unsigned: u-boot-spl {
+                       no-expanded;
+               };
+               ti_fs_gp: ti-fs-gp.bin {
+                       filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
+                       type = "blob-ext";
+               };
+               combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
+                       filename = "combined-tifs-cfg.bin";
+                       type = "blob-ext";
+               };
+               combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
+                       filename = "combined-dm-cfg.bin";
+                       type = "blob-ext";
+               };
+       };
+};
diff --git a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi 
b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
index 6d57a5d9ffa8..d09bdf29a95d 100644
--- a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
+++ b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
@@ -6,7 +6,7 @@
  * Author: Wadim Egorov <[email protected]>
  */
 
-#include "k3-binman.dtsi"
+#include "k3-am625-binman.dtsi"
 
 #ifdef CONFIG_TARGET_PHYCORE_AM62X_R5
 
@@ -17,124 +17,16 @@
 &binman {
        tiboot3-am62x-hs-phycore-som.bin {
                filename = "tiboot3-am62x-hs-phycore-som.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl>, <&ti_fs_enc>, 
<&combined_tifs_cfg>,
-                               <&combined_dm_cfg>, <&sysfw_inner_cert>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl>;
-                       content-sysfw = <&ti_fs_enc>;
-                       content-sysfw-data = <&combined_tifs_cfg>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert>;
-                       content-dm-data = <&combined_dm_cfg>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc: ti-fs-enc.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert: sysfw-inner-cert {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-hs-fs-phycore-som.bin {
                filename = "tiboot3-am62x-hs-fs-phycore-som.bin";
                symlink = "tiboot3.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, 
<&combined_tifs_cfg_fs>,
-                               <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl_fs>;
-                       content-sysfw = <&ti_fs_enc_fs>;
-                       content-sysfw-data = <&combined_tifs_cfg_fs>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
-                       content-dm-data = <&combined_dm_cfg_fs>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl_fs: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc_fs: ti-fs-enc.bin {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_fs: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert_fs: sysfw-inner-cert {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_fs: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_fs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-gp-phycore-som.bin {
                filename = "tiboot3-am62x-gp-phycore-som.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
-                               <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
-                       combined;
-                       dm-data;
-                       content-sbl = <&u_boot_spl_unsigned>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       content-sysfw = <&ti_fs_gp>;
-                       load-sysfw = <0x40000>;
-                       content-sysfw-data = <&combined_tifs_cfg_gp>;
-                       load-sysfw-data = <0x67000>;
-                       content-dm-data = <&combined_dm_cfg_gp>;
-                       load-dm-data = <0x43c3a800>;
-                       sw-rev = <1>;
-                       keyfile = "ti-degenerate-key.pem";
-               };
-               u_boot_spl_unsigned: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_gp: ti-fs-gp.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_gp_template>;
        };
 };
 
diff --git a/arch/arm/dts/k3-am625-r5-beagleplay.dts 
b/arch/arm/dts/k3-am625-r5-beagleplay.dts
index fb0b83b83f1b..0e8c74c0291d 100644
--- a/arch/arm/dts/k3-am625-r5-beagleplay.dts
+++ b/arch/arm/dts/k3-am625-r5-beagleplay.dts
@@ -33,38 +33,7 @@
        tiboot3-am62x-gp-evm.bin {
                filename = "tiboot3-am62x-gp-evm.bin";
                symlink = "tiboot3.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
-                               <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
-                       combined;
-                       dm-data;
-                       content-sbl = <&u_boot_spl_unsigned>;
-                       load = <0x43c00000>;
-                       content-sysfw = <&ti_fs_gp>;
-                       load-sysfw = <0x40000>;
-                       content-sysfw-data = <&combined_tifs_cfg_gp>;
-                       load-sysfw-data = <0x67000>;
-                       content-dm-data = <&combined_dm_cfg_gp>;
-                       load-dm-data = <0x43c3a800>;
-                       sw-rev = <1>;
-                       keyfile = "ti-degenerate-key.pem";
-               };
-               u_boot_spl_unsigned: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_gp: ti-fs-gp.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
-
+               insert-template = <&tiboot3_am625_gp_template>;
        };
 };
 
diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi 
b/arch/arm/dts/k3-am625-sk-binman.dtsi
index 1717621a8500..9ac0c36f8645 100644
--- a/arch/arm/dts/k3-am625-sk-binman.dtsi
+++ b/arch/arm/dts/k3-am625-sk-binman.dtsi
@@ -3,7 +3,7 @@
  * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
  */
 
-#include "k3-binman.dtsi"
+#include "k3-am625-binman.dtsi"
 
 #ifdef CONFIG_TARGET_AM625_R5_EVM
 
@@ -14,125 +14,16 @@
 &binman {
        tiboot3-am62x-hs-evm.bin {
                filename = "tiboot3-am62x-hs-evm.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl>, <&ti_fs_enc>, 
<&combined_tifs_cfg>,
-                               <&combined_dm_cfg>, <&sysfw_inner_cert>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl>;
-                       content-sysfw = <&ti_fs_enc>;
-                       content-sysfw-data = <&combined_tifs_cfg>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert>;
-                       content-dm-data = <&combined_dm_cfg>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc: ti-fs-enc.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert: sysfw-inner-cert {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-hs-fs-evm.bin {
                filename = "tiboot3-am62x-hs-fs-evm.bin";
                symlink = "tiboot3.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, 
<&combined_tifs_cfg_fs>,
-                               <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl_fs>;
-                       content-sysfw = <&ti_fs_enc_fs>;
-                       content-sysfw-data = <&combined_tifs_cfg_fs>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
-                       content-dm-data = <&combined_dm_cfg_fs>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl_fs: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc_fs: ti-fs-enc.bin {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_fs: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert_fs: sysfw-inner-cert {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_fs: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_fs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-gp-evm.bin {
                filename = "tiboot3-am62x-gp-evm.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
-                               <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
-                       combined;
-                       dm-data;
-                       content-sbl = <&u_boot_spl_unsigned>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       content-sysfw = <&ti_fs_gp>;
-                       load-sysfw = <0x40000>;
-                       content-sysfw-data = <&combined_tifs_cfg_gp>;
-                       load-sysfw-data = <0x67000>;
-                       content-dm-data = <&combined_dm_cfg_gp>;
-                       load-dm-data = <0x43c3a800>;
-                       sw-rev = <1>;
-                       keyfile = "ti-degenerate-key.pem";
-               };
-               u_boot_spl_unsigned: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_gp: ti-fs-gp.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
-
+               insert-template = <&tiboot3_am625_gp_template>;
        };
 };
 
diff --git a/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi 
b/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
index 35b7f8b256e9..c57780d876d6 100644
--- a/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
+++ b/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi
@@ -3,7 +3,7 @@
  * Copyright 2023 Toradex
  */
 
-#include "k3-binman.dtsi"
+#include "k3-am625-binman.dtsi"
 
 #ifdef CONFIG_TARGET_VERDIN_AM62_R5
 
@@ -14,124 +14,16 @@
 &binman {
        tiboot3-am62x-hs-verdin.bin {
                filename = "tiboot3-am62x-hs-verdin.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl>, <&ti_fs_enc>, 
<&combined_tifs_cfg>,
-                               <&combined_dm_cfg>, <&sysfw_inner_cert>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl>;
-                       content-sysfw = <&ti_fs_enc>;
-                       content-sysfw-data = <&combined_tifs_cfg>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert>;
-                       content-dm-data = <&combined_dm_cfg>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc: ti-fs-enc.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert: sysfw-inner-cert {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-hs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-hs-fs-verdin.bin {
                filename = "tiboot3-am62x-hs-fs-verdin.bin";
                symlink = "tiboot3.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_fs>, <&ti_fs_enc_fs>, 
<&combined_tifs_cfg_fs>,
-                               <&combined_dm_cfg_fs>, <&sysfw_inner_cert_fs>;
-                       combined;
-                       dm-data;
-                       sysfw-inner-cert;
-                       keyfile = "custMpk.pem";
-                       sw-rev = <1>;
-                       content-sbl = <&u_boot_spl_fs>;
-                       content-sysfw = <&ti_fs_enc_fs>;
-                       content-sysfw-data = <&combined_tifs_cfg_fs>;
-                       content-sysfw-inner-cert = <&sysfw_inner_cert_fs>;
-                       content-dm-data = <&combined_dm_cfg_fs>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       load-sysfw = <0x40000>;
-                       load-sysfw-data = <0x67000>;
-                       load-dm-data = <0x43c3a800>;
-               };
-               u_boot_spl_fs: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_enc_fs: ti-fs-enc.bin {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-enc.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_fs: combined-tifs-cfg.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               sysfw_inner_cert_fs: sysfw-inner-cert {
-                       filename = 
"ti-sysfw/ti-fs-firmware-am62x-hs-fs-cert.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_fs: combined-dm-cfg.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_hs_fs_template>;
        };
-};
-
-&binman {
        tiboot3-am62x-gp-verdin.bin {
                filename = "tiboot3-am62x-gp-verdin.bin";
-               ti-secure-rom {
-                       content = <&u_boot_spl_unsigned>, <&ti_fs_gp>,
-                               <&combined_tifs_cfg_gp>, <&combined_dm_cfg_gp>;
-                       combined;
-                       dm-data;
-                       content-sbl = <&u_boot_spl_unsigned>;
-                       load = <CONFIG_SPL_TEXT_BASE>;
-                       content-sysfw = <&ti_fs_gp>;
-                       load-sysfw = <0x40000>;
-                       content-sysfw-data = <&combined_tifs_cfg_gp>;
-                       load-sysfw-data = <0x67000>;
-                       content-dm-data = <&combined_dm_cfg_gp>;
-                       load-dm-data = <0x43c3a800>;
-                       sw-rev = <1>;
-                       keyfile = "ti-degenerate-key.pem";
-               };
-               u_boot_spl_unsigned: u-boot-spl {
-                       no-expanded;
-               };
-               ti_fs_gp: ti-fs-gp.bin {
-                       filename = "ti-sysfw/ti-fs-firmware-am62x-gp.bin";
-                       type = "blob-ext";
-               };
-               combined_tifs_cfg_gp: combined-tifs-cfg-gp.bin {
-                       filename = "combined-tifs-cfg.bin";
-                       type = "blob-ext";
-               };
-               combined_dm_cfg_gp: combined-dm-cfg-gp.bin {
-                       filename = "combined-dm-cfg.bin";
-                       type = "blob-ext";
-               };
+               insert-template = <&tiboot3_am625_gp_template>;
        };
 };
 

-- 
2.55.0

Reply via email to