ARM: dts: da850-lcdk: Add and enable CMA reserved pool for DSP
authorSuman Anna <s-anna@ti.com>
Tue, 19 Sep 2017 00:28:32 +0000 (19:28 -0500)
committerSekhar Nori <nsekhar@ti.com>
Wed, 20 Sep 2017 09:27:56 +0000 (14:57 +0530)
A CMA reserved memory node of 16 MB has been added and assigned to
the DSP remoteproc device on the OMAP-L138 LCDK board. The CMA starting
address matches the values used within the TI IPC 3.x software. Both
the CMA node and the corresponding rproc node are also marked okay
to enable the DSP on the OMAP-L138 LCDK board.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-lcdk.dts

index a0f0916..eed89e6 100644 (file)
                reg = <0xc0000000 0x08000000>;
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               dsp_memory_region: dsp-memory@c3000000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0xc3000000 0x1000000>;
+                       reusable;
+                       status = "okay";
+               };
+       };
+
        sound {
                compatible = "simple-audio-card";
                simple-audio-card,name = "DA850/OMAP-L138 LCDK";
        pinctrl-0 = <&vpif_capture_pins>;
        status = "okay";
 };
+
+&dsp {
+       memory-region = <&dsp_memory_region>;
+       status = "okay";
+};