MLK-16678-1: arm64: dts: distribute reserved memory for hifi4 dsp in SDRAM
authorWeiguang Kong <weiguang.kong@nxp.com>
Mon, 23 Oct 2017 01:36:04 +0000 (09:36 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:00 +0000 (15:39 -0500)
Because the OCRAM memory size for hifi4 dsp is too small to keep its
code and data section, so distribute one reserved memory for hifi4 dsp
to save its code and data section in SDRAM, the address space that hifi4
can access in SDRAM is 0x81000000 - 0x9FFFFFFF, so the reserved memory
is as following:
   hifi4_reserved: hifi4@0x8e000000 {
       no-map;
       reg = <0 0x8e000000 0 0x1ffffff>;
   };

Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi

index a33cd32..b7a7b46 100644 (file)
                #size-cells = <2>;
                ranges;
 
+               hifi4_reserved: hifi4@0x8e000000 {
+                       no-map;
+                       reg = <0 0x8e000000 0 0x1ffffff>;
+               };
+
                /* global autoconfigured region for contiguous allocations */
                linux,cma {
                        compatible = "shared-dma-pool";