Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 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>

authored by

Beleswar Padhi and committed by
Nishanth Menon
474530ef 61acc442

+38
+17
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
··· 766 766 /* reserved for MCU_R5F0_1 */ 767 767 status = "reserved"; 768 768 }; 769 + 770 + hsm: remoteproc@43c00000 { 771 + compatible = "ti,hsm-m4fss"; 772 + /* contiguous regions but instantiated separately in HW */ 773 + reg = <0x00 0x43c00000 0x00 0x20000>, 774 + <0x00 0x43c20000 0x00 0x10000>, 775 + <0x00 0x43c30000 0x00 0x10000>; 776 + reg-names = "sram0_0", "sram0_1", "sram1"; 777 + resets = <&k3_reset 304 1>; 778 + firmware-name = "j721s2-hsm-m4f-fw"; 779 + bootph-pre-ram; 780 + ti,sci = <&sms>; 781 + ti,sci-dev-id = <304>; 782 + ti,sci-proc-ids = <0x80 0xff>; 783 + /* reserved for early-stage bootloader */ 784 + status = "reserved"; 785 + }; 769 786 };
+4
arch/arm64/boot/dts/ti/k3-j742s2-mcu-wakeup.dtsi
··· 15 15 &mcu_r5fss0_core1 { 16 16 firmware-name = "j742s2-mcu-r5f0_1-fw"; 17 17 }; 18 + 19 + &hsm { 20 + firmware-name = "j742s2-hsm-m4f-fw"; 21 + };
+17
arch/arm64/boot/dts/ti/k3-j784s4-j742s2-mcu-wakeup-common.dtsi
··· 762 762 /* reserved for MCU_R5F0_1 */ 763 763 status = "reserved"; 764 764 }; 765 + 766 + hsm: remoteproc@43c00000 { 767 + compatible = "ti,hsm-m4fss"; 768 + /* contiguous regions but instantiated separately in HW */ 769 + reg = <0x00 0x43c00000 0x00 0x20000>, 770 + <0x00 0x43c20000 0x00 0x10000>, 771 + <0x00 0x43c30000 0x00 0x10000>; 772 + reg-names = "sram0_0", "sram0_1", "sram1"; 773 + resets = <&k3_reset 371 1>; 774 + firmware-name = "j784s4-hsm-m4f-fw"; 775 + bootph-pre-ram; 776 + ti,sci = <&sms>; 777 + ti,sci-dev-id = <371>; 778 + ti,sci-proc-ids = <0x80 0xff>; 779 + /* reserved for early-stage bootloader */ 780 + status = "reserved"; 781 + }; 765 782 };