Skip to content

Commit f8d5577

Browse files
VitekSTfabiobaltieri
authored andcommitted
dt: mimxrt798s/cm33_cpu0: Instantiate MU4
Instantiate the MU4 peripheral in SoC's DT. Enable it in board's DT. Switch variant of the fsl_mu driver included. The MU4 peripheral is used for IPC with the mimxrt798s/hifi4 domain. Signed-off-by: Vit Stanicek <[email protected]>
1 parent 67100dd commit f8d5577

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

boards/nxp/mimxrt700_evk/mimxrt700_evk_mimxrt798s_cm33_cpu0.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,7 @@ p3t1755dp_ard_i2c_interface: &flexcomm8_lpi2c8 {};
279279
&dsp {
280280
status = "okay";
281281
};
282+
283+
&mbox4 {
284+
status = "okay";
285+
};

dts/arm/nxp/nxp_rt7xx_cm33_cpu0.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,18 @@
12211221
interrupts = <17 0>;
12221222
status = "disabled";
12231223
};
1224+
1225+
mbox4: mbox@189000 {
1226+
#mbox-cells = <1>;
1227+
1228+
compatible = "nxp,mbox-imx-mu";
1229+
reg = <0x189000 0x1000>;
1230+
1231+
interrupts = <31 0>;
1232+
rx-channels = <4>;
1233+
1234+
status = "disabled";
1235+
};
12241236
};
12251237

12261238
&systick {

modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ elseif(CONFIG_CPU_CORTEX_A)
184184
endif()
185185
set_variable_ifdef(CONFIG_HAS_MCUX_XCACHE CONFIG_MCUX_COMPONENT_driver.cache_xcache)
186186

187-
if((${MCUX_DEVICE} MATCHES "MIMX9596") OR (${MCUX_DEVICE} MATCHES "MIMX8UD7") OR (${MCUX_DEVICE} MATCHES "MIMXRT118") OR (CONFIG_SOC_MIMX94398))
187+
if((${MCUX_DEVICE} MATCHES "MIMX9596") OR (${MCUX_DEVICE} MATCHES "MIMX8UD7") OR (${MCUX_DEVICE} MATCHES "MIMXRT118") OR (CONFIG_SOC_MIMX94398) OR (CONFIG_SOC_MIMXRT798S))
188188
set_variable_ifdef(CONFIG_IPM_IMX CONFIG_MCUX_COMPONENT_driver.mu1)
189189
set_variable_ifdef(CONFIG_MBOX_NXP_IMX_MU CONFIG_MCUX_COMPONENT_driver.mu1)
190190
else()

0 commit comments

Comments
 (0)