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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
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>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/imx7d.dtsi

index 1def69b..f062fb3 100644 (file)
                #phy-cells = <0>;
        };
 
+       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";