]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8mp: Add reserve-memory nodes for DSP
authorIuliana Prodan <iuliana.prodan@nxp.com>
Fri, 13 Oct 2023 15:27:31 +0000 (18:27 +0300)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Nov 2023 21:36:00 +0000 (14:36 -0700)
Add the reserve-memory nodes used by DSP when the rpmsg
feature is enabled.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20231013152731.23471-3-iuliana.prodan@oss.nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index cc9d468b43ab8d27be45ad5ed7bad945806ab64b..f87fa5a948ccc380c473778e9f0b61c68a0b7e7c 100644 (file)
                };
 
        };
+
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               dsp_vdev0vring0: vdev0vring0@942f0000 {
+                       reg = <0 0x942f0000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0vring1: vdev0vring1@942f8000 {
+                       reg = <0 0x942f8000 0 0x8000>;
+                       no-map;
+               };
+
+               dsp_vdev0buffer: vdev0buffer@94300000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0 0x94300000 0 0x100000>;
+                       no-map;
+               };
+       };
 };
 
 &flexspi {