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-am62p-j722s-common-main: Add HSM M4F node

The TI K3 AM62P and J722S SoCs have a HSM (High Security Module) M4F
core in the MAIN 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 common main dtsi file.

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.

The corresponding reg ranges of HSM node has also been added to its
parent node's (cbass_main bus) ranges property.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://patch.msgid.link/20260114173551.2545088-3-b-padhi@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>

authored by

Beleswar Padhi and committed by
Nishanth Menon
ac838e45 474530ef

+24
+17
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
··· 1117 1117 clocks = <&k3_clks 204 2>; 1118 1118 power-domains = <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>; 1119 1119 }; 1120 + 1121 + hsm: remoteproc@43c00000 { 1122 + compatible = "ti,hsm-m4fss"; 1123 + /* contiguous regions but instantiated separately in HW */ 1124 + reg = <0x00 0x43c00000 0x00 0x20000>, 1125 + <0x00 0x43c20000 0x00 0x10000>, 1126 + <0x00 0x43c30000 0x00 0x10000>; 1127 + reg-names = "sram0_0", "sram0_1", "sram1"; 1128 + resets = <&k3_reset 225 1>; 1129 + firmware-name = "am62p-hsm-m4f-fw"; 1130 + bootph-pre-ram; 1131 + ti,sci = <&dmsc>; 1132 + ti,sci-dev-id = <225>; 1133 + ti,sci-proc-ids = <0x80 0xff>; 1134 + /* reserved for early-stage bootloader */ 1135 + status = "reserved"; 1136 + }; 1120 1137 };
+1
arch/arm64/boot/dts/ti/k3-am62p.dtsi
··· 96 96 <0x00 0x31100000 0x00 0x31100000 0x00 0x00050000>, /* USB1 DWC3 Core window */ 97 97 <0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA3UL */ 98 98 <0x00 0x43600000 0x00 0x43600000 0x00 0x00010000>, /* SA3 sproxy data */ 99 + <0x00 0x43c00000 0x00 0x43c00000 0x00 0x00040000>, /* HSM SRAM ranges */ 99 100 <0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */ 100 101 <0x00 0x44860000 0x00 0x44860000 0x00 0x00040000>, /* SA3 sproxy config */ 101 102 <0x00 0x48000000 0x00 0x48000000 0x00 0x06408000>, /* DMSS */
+5
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
··· 429 429 firmware-name = "j722s-wkup-r5f0_0-fw"; 430 430 }; 431 431 432 + /* MAIN domain overrides */ 433 + &hsm { 434 + firmware-name = "j722s-hsm-m4f-fw"; 435 + }; 436 + 432 437 &main_conf { 433 438 serdes_ln_ctrl: mux-controller@4080 { 434 439 compatible = "reg-mux";
+1
arch/arm64/boot/dts/ti/k3-j722s.dtsi
··· 173 173 <0x00 0x31200000 0x00 0x31200000 0x00 0x00040000>, /* USB1 DWC3 Core window */ 174 174 <0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA3UL */ 175 175 <0x00 0x43600000 0x00 0x43600000 0x00 0x00010000>, /* SA3 sproxy data */ 176 + <0x00 0x43c00000 0x00 0x43c00000 0x00 0x00040000>, /* HSM SRAM ranges */ 176 177 <0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */ 177 178 <0x00 0x44860000 0x00 0x44860000 0x00 0x00040000>, /* SA3 sproxy config */ 178 179 <0x00 0x48000000 0x00 0x48000000 0x00 0x06408000>, /* DMSS */