Commit 474530ef authored by Beleswar Padhi's avatar Beleswar Padhi Committed by Nishanth Menon
Browse files

arm64: dts: ti: k3-{j784s4-j742s2/j721s2}-mcu-wakeup: Add HSM M4F node



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: default avatarBeleswar Padhi <b-padhi@ti.com>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://patch.msgid.link/20260114173551.2545088-2-b-padhi@ti.com


Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 61acc442
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -766,4 +766,21 @@ mcu_watchdog1: watchdog@40610000 {
		/* 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";
	};
};
+4 −0
Original line number Diff line number Diff line
@@ -15,3 +15,7 @@ &mcu_r5fss0_core0 {
&mcu_r5fss0_core1 {
	firmware-name = "j742s2-mcu-r5f0_1-fw";
};

&hsm {
	firmware-name = "j742s2-hsm-m4f-fw";
};
+17 −0
Original line number Diff line number Diff line
@@ -762,4 +762,21 @@ mcu_watchdog1: watchdog@40610000 {
		/* 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";
	};
};