Skip to content

Commit 5cfaebf

Browse files
VitekSTkartben
authored andcommitted
dts: mimxrt685s/cm33: Instantiate nxp,rtxxx-dsp-ctrl
Instantiate the nxp,rtxxx-dsp-ctrl driver to enable DSP code upload and run control. Signed-off-by: Vit Stanicek <[email protected]>
1 parent 37ec78f commit 5cfaebf

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

dts/arm/nxp/nxp_rt6xx_common.dtsi

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <zephyr/dt-bindings/i2c/i2c.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
chosen {
@@ -48,6 +49,31 @@
4849
};
4950
};
5051
};
52+
53+
dsp: dsp {
54+
#address-cells = <1>;
55+
#size-cells = <1>;
56+
57+
compatible = "nxp,rtxxx-dsp-ctrl";
58+
sysctl = <&sysctl0>;
59+
60+
status = "disabled";
61+
62+
region@24020000 {
63+
reg = <0x24020000 DT_SIZE_K(1)>;
64+
type = <NXP_RTXXX_DSP_REGION_RESET>;
65+
};
66+
67+
region@20400000 {
68+
reg = <0x20400000 DT_SIZE_K(256)>;
69+
type = <NXP_RTXXX_DSP_REGION_TEXT>;
70+
};
71+
72+
region@20440000 {
73+
reg = <0x20440000 DT_SIZE_K(256)>;
74+
type = <NXP_RTXXX_DSP_REGION_DATA>;
75+
};
76+
};
5177
};
5278

5379
&sram {
@@ -110,6 +136,15 @@
110136
#clock-cells = <1>;
111137
};
112138

139+
/*
140+
* Dummy node - it does not instantiate a real driver, rather it provide the
141+
* base address of the SYSCTL0 block for use with the "dsp" node.
142+
*/
143+
sysctl0: sysctl@2000 {
144+
reg = <0x2000 0x2000>;
145+
compatible = "nxp,rt6xx-sysctl";
146+
};
147+
113148
iocon: iocon@4000 {
114149
compatible = "nxp,lpc-iocon";
115150
reg = <0x4000 0x1000>;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sram0 {
8+
reg = <0x180000 DT_SIZE_K(2560)>;
9+
};

0 commit comments

Comments
 (0)