From 5cfaebf44ef887fb46679bc2cb10b11b7faf9caa Mon Sep 17 00:00:00 2001 From: Vit Stanicek Date: Tue, 25 Jun 2024 09:45:02 +0200 Subject: [PATCH] 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 --- dts/arm/nxp/nxp_rt6xx_common.dtsi | 35 ++++++++++++++++++++++++ dts/arm/nxp/nxp_rt6xx_hifi4memsplit.dtsi | 9 ++++++ 2 files changed, 44 insertions(+) create mode 100644 dts/arm/nxp/nxp_rt6xx_hifi4memsplit.dtsi diff --git a/dts/arm/nxp/nxp_rt6xx_common.dtsi b/dts/arm/nxp/nxp_rt6xx_common.dtsi index c717a47e378..4b3be313edb 100644 --- a/dts/arm/nxp/nxp_rt6xx_common.dtsi +++ b/dts/arm/nxp/nxp_rt6xx_common.dtsi @@ -12,6 +12,7 @@ #include #include #include +#include / { 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 = ; + }; + + region@20400000 { + reg = <0x20400000 DT_SIZE_K(256)>; + type = ; + }; + + region@20440000 { + reg = <0x20440000 DT_SIZE_K(256)>; + type = ; + }; + }; }; &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>; diff --git a/dts/arm/nxp/nxp_rt6xx_hifi4memsplit.dtsi b/dts/arm/nxp/nxp_rt6xx_hifi4memsplit.dtsi new file mode 100644 index 00000000000..8f1789d98c8 --- /dev/null +++ b/dts/arm/nxp/nxp_rt6xx_hifi4memsplit.dtsi @@ -0,0 +1,9 @@ +/* + * Copyright 2025 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&sram0 { + reg = <0x180000 DT_SIZE_K(2560)>; +};