From: Neha Malcom Francis Date: Wed, 20 Dec 2023 11:34:33 +0000 (+0530) Subject: arm: dts: k3-j721e-binman: Add support for HS-SE 2.0 X-Git-Tag: v2025.01-rc5-pxa1908~708^2~16 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=481ffca4857d08f31e4ee179c5a0e609957869b1;p=u-boot.git arm: dts: k3-j721e-binman: Add support for HS-SE 2.0 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 --- diff --git a/arch/arm/dts/k3-j721e-binman.dtsi b/arch/arm/dts/k3-j721e-binman.dtsi index 1bd9f96a58..75a6e9599b 100644 --- a/arch/arm/dts/k3-j721e-binman.dtsi +++ b/arch/arm/dts/k3-j721e-binman.dtsi @@ -20,6 +20,20 @@ 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 = ; + keyfile = "custMpk.pem"; + }; + u_boot_spl_sr2: u-boot-spl { + no-expanded; + }; + }; + sysfw { filename = "sysfw.bin"; ti-secure-rom { @@ -40,10 +54,79 @@ 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 {