dts: p230: add cma heap for ion [1/1]
authorXindong Xu <xindong.xu@amlogic.com>
Tue, 15 Aug 2017 10:39:20 +0000 (18:39 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 16 Aug 2017 06:06:25 +0000 (23:06 -0700)
PD#146107: dts: p230: add cma heap for ion on Android 8.0

Change-Id: I37614c6d7417da9bf686295147739ad1d7ed1ef4
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts

index 95bd344..7834988 100644 (file)
                        reg = <0x0 0x05300000 0x0 0x2000000>;
                        no-map;
                };
-               fb_reserved:linux,meson-fb {
-                       compatible = "shared-dma-pool";
-                       reusable;
-                       size = <0x0 0x2000000>;
-                       alignment = <0x0 0x400000>;
-                       alloc-ranges = <0x0 0x7e000000 0x0 0x2000000>;
-               };
 
                //di_reserved:linux,di {
                //      compatible = "amlogic, di-mem";
                };
 
                ion_reserved:linux,ion-dev {
-                       compatible = "amlogic, idev-mem";
-                       size = <0x0 0x0>;
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x2000000>;
+                       alignment = <0x0 0x400000>;
                };
 
                /*  vdin0 CMA pool */
 
        meson-fb {
                compatible = "amlogic, meson-fb";
-               memory-region = <&fb_reserved>;
                dev_name = "meson-fb";
                status = "okay";
                interrupts = <0 3 1