Skip to content

Commit 67100dd

Browse files
VitekSTfabiobaltieri
authored andcommitted
dt: mimxrt798s/cm33_cpu0: Instantiate nxp,rtxxx-dsp-ctrl
Instantiate the nxp,rtxxx-dsp-ctl driver (nxp,rt700-dsp-ctrl-hifi4 variant) in the mimxrt798s/cm33_cpu0's DT. Enable it in mimxrt700_evk/mimxrt798s/cm33_cpu0. Signed-off-by: Vit Stanicek <[email protected]>
1 parent 0011e85 commit 67100dd

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
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
@@ -275,3 +275,7 @@ p3t1755dp_ard_i2c_interface: &flexcomm8_lpi2c8 {};
275275
&rtc0 {
276276
status = "okay";
277277
};
278+
279+
&dsp {
280+
status = "okay";
281+
};

dts/arm/nxp/nxp_rt7xx_cm33_cpu0.dtsi

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>
1313
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
1414
#include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h>
15+
#include <zephyr/dt-bindings/misc/nxp_rtxxx_dsp_ctrl.h>
1516

1617
/ {
1718
cpus {
@@ -31,6 +32,34 @@
3132
};
3233
};
3334

35+
dsp: dsp {
36+
#address-cells = <1>;
37+
#size-cells = <1>;
38+
39+
compatible = "nxp,rt700-dsp-ctrl-hifi4";
40+
sysctl = <&syscon0>;
41+
42+
status = "disabled";
43+
44+
/* 1st 1 kiB of HiFi4's ITCM */
45+
region@24020000 {
46+
reg = <0x24020000 DT_SIZE_K(1)>;
47+
type = <NXP_RTXXX_DSP_REGION_RESET>;
48+
};
49+
50+
/* 1st half of reserved HiFi4 SRAM region (see below) */
51+
region@200000 {
52+
reg = <0x200000 DT_SIZE_M(1)>;
53+
type = <NXP_RTXXX_DSP_REGION_TEXT>;
54+
};
55+
56+
/* 2nd half of reserved HiFi4 SRAM region (see below) */
57+
region@300000 {
58+
reg = <0x300000 DT_SIZE_M(1)>;
59+
type = <NXP_RTXXX_DSP_REGION_DATA>;
60+
};
61+
};
62+
3463
soc {
3564
sram: sram@10000000 {
3665
ranges = <0x0 0x10000000 0x780000

0 commit comments

Comments
 (0)