]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-{j784s4-j742s2/j721s2}-mcu-wakeup: Add HSM M4F node
authorBeleswar Padhi <b-padhi@ti.com>
Wed, 14 Jan 2026 17:35:50 +0000 (23:05 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 16 Jan 2026 10:55:15 +0000 (04:55 -0600)
The TI K3 J721S2, J784S4 and J742S2 SoCs have a HSM (High Security
Module) M4F core in the Wakeup Voltage Domain which could be used to run
secure services like Authentication. Add Device Tree Node definitions
for the HSM core in the respective SoC wakeup dtsi files.

The HSM node is reserved to be loaded and booted by the early-stage
bootloader. The firmware-name property is defined at the SoC level
since the HSM is not a general-purpose remote core and boards are
unlikely to use separate firmware. If needed in exceptional cases,
board-specific device trees can override this property.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://patch.msgid.link/20260114173551.2545088-2-b-padhi@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
arch/arm64/boot/dts/ti/k3-j742s2-mcu-wakeup.dtsi
arch/arm64/boot/dts/ti/k3-j784s4-j742s2-mcu-wakeup-common.dtsi

index fd01437726ab4ec98ee03b3d81a907550fcba131..32ee8031cfcb63a3d5ef170b1de731cd4936e740 100644 (file)
                /* reserved for MCU_R5F0_1 */
                status = "reserved";
        };
+
+       hsm: remoteproc@43c00000 {
+               compatible = "ti,hsm-m4fss";
+               /* contiguous regions but instantiated separately in HW */
+               reg = <0x00 0x43c00000 0x00 0x20000>,
+                     <0x00 0x43c20000 0x00 0x10000>,
+                     <0x00 0x43c30000 0x00 0x10000>;
+               reg-names = "sram0_0", "sram0_1", "sram1";
+               resets = <&k3_reset 304 1>;
+               firmware-name = "j721s2-hsm-m4f-fw";
+               bootph-pre-ram;
+               ti,sci = <&sms>;
+               ti,sci-dev-id = <304>;
+               ti,sci-proc-ids = <0x80 0xff>;
+               /* reserved for early-stage bootloader */
+               status = "reserved";
+       };
 };
index 61db2348d6a4755d22cc2fe3316059b999ee2411..2f40afcfa67c44cd59b301c7bd81f8d9faba7037 100644 (file)
@@ -15,3 +15,7 @@
 &mcu_r5fss0_core1 {
        firmware-name = "j742s2-mcu-r5f0_1-fw";
 };
+
+&hsm {
+       firmware-name = "j742s2-hsm-m4f-fw";
+};
index cc22bfb5f5996070853268f5300ea1a43b096883..df37902c963ffd79c113d0a6cd8cd1c8d6450357 100644 (file)
                /* reserved for MCU_R5F0_1 */
                status = "reserved";
        };
+
+       hsm: remoteproc@43c00000 {
+               compatible = "ti,hsm-m4fss";
+               /* contiguous regions but instantiated separately in HW */
+               reg = <0x00 0x43c00000 0x00 0x20000>,
+                     <0x00 0x43c20000 0x00 0x10000>,
+                     <0x00 0x43c30000 0x00 0x10000>;
+               reg-names = "sram0_0", "sram0_1", "sram1";
+               resets = <&k3_reset 371 1>;
+               firmware-name = "j784s4-hsm-m4f-fw";
+               bootph-pre-ram;
+               ti,sci = <&sms>;
+               ti,sci-dev-id = <371>;
+               ti,sci-proc-ids = <0x80 0xff>;
+               /* reserved for early-stage bootloader */
+               status = "reserved";
+       };
 };