]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8qxp-mek: add dsp rproc-related mem regions
authorLaurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Mon, 21 Oct 2024 15:52:18 +0000 (11:52 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Nov 2024 08:46:31 +0000 (16:46 +0800)
Add missing dsp rproc-related reserved memory regions and assign them to
the 'dsp' node.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts

index 2afebe523fa9dd8a668d92b3b33cdc9d8278a810..317e8c8319f24583fe5d1ff1c868efae76bc6941 100644 (file)
                reg = <0x00000000 0x80000000 0 0x40000000>;
        };
 
+       reserved-memory {
+               dsp_vdev0vring0: memory@942f0000 {
+                       reg = <0 0x942f0000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0vring1: memory@942f8000 {
+                       reg = <0 0x942f8000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0buffer: memory@94300000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x94300000 0 0x100000>;
+                       no-map;
+               };
+       };
+
        reg_usdhc2_vmmc: usdhc2-vmmc {
                compatible = "regulator-fixed";
                regulator-name = "SD1_SPWR";
 };
 
 &dsp {
-       memory-region = <&dsp_reserved>;
+       memory-region = <&dsp_vdev0buffer>, <&dsp_vdev0vring0>,
+                       <&dsp_vdev0vring1>, <&dsp_reserved>;
        status = "okay";
 };