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 <vit.stanicek@nxp.com>
This commit is contained in:
Vit Stanicek 2024-06-25 09:45:02 +02:00 committed by Benjamin Cabé
commit 5cfaebf44e
2 changed files with 44 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#include <zephyr/dt-bindings/i2c/i2c.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
#include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h>
#include <zephyr/dt-bindings/misc/nxp_rtxxx_dsp_ctrl.h>
/ {
chosen {
@ -48,6 +49,31 @@
};
};
};
dsp: dsp {
#address-cells = <1>;
#size-cells = <1>;
compatible = "nxp,rtxxx-dsp-ctrl";
sysctl = <&sysctl0>;
status = "disabled";
region@24020000 {
reg = <0x24020000 DT_SIZE_K(1)>;
type = <NXP_RTXXX_DSP_REGION_RESET>;
};
region@20400000 {
reg = <0x20400000 DT_SIZE_K(256)>;
type = <NXP_RTXXX_DSP_REGION_TEXT>;
};
region@20440000 {
reg = <0x20440000 DT_SIZE_K(256)>;
type = <NXP_RTXXX_DSP_REGION_DATA>;
};
};
};
&sram {
@ -110,6 +136,15 @@
#clock-cells = <1>;
};
/*
* Dummy node - it does not instantiate a real driver, rather it provide the
* base address of the SYSCTL0 block for use with the "dsp" node.
*/
sysctl0: sysctl@2000 {
reg = <0x2000 0x2000>;
compatible = "nxp,rt6xx-sysctl";
};
iocon: iocon@4000 {
compatible = "nxp,lpc-iocon";
reg = <0x4000 0x1000>;

View file

@ -0,0 +1,9 @@
/*
* Copyright 2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
&sram0 {
reg = <0x180000 DT_SIZE_K(2560)>;
};