MGS-1087: ARM: dts: Add CMA setting to 7d dtsi
authorShawn Xiao <b49994@freescale.com>
Mon, 7 Dec 2015 02:54:45 +0000 (10:54 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:28 +0000 (14:49 -0500)
Since the cma setting has been moved to dts file. Add this partation to
7d dtsi to make cma pool building successful on 7d soc.

Signed-off-by: Shawn Xiao <b49994@freescale.com>
arch/arm/boot/dts/imx7d.dtsi

index 67348cc..6d06bf7 100644 (file)
                };
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               /* global autoconfigured region for contiguous allocations */
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x14000000>;
+                       linux,cma-default;
+               };
+       };
+
        soc {
                etm@3007d000 {
                        compatible = "arm,coresight-etm3x", "arm,primecell";