ARM64: dts: rockchip: rk3368 reserved 128M memory for cma
authorXu Jianqun <jay.xu@rock-chips.com>
Mon, 15 Feb 2016 07:30:05 +0000 (15:30 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 16 Feb 2016 05:56:54 +0000 (13:56 +0800)
Required by isp, the continuous memory region should reserve
128M for cma-heap.

Change-Id: I906fa713ee111c0a5242ffaa42416d9bd568d3a3
Signed-off-by: Xu Jianqun <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368-tb.dtsi

index 43f3360f414abeb97b248966061342b2e48f555e..38f9a4be620cb58b8322d3e99d6c07667286d4ed 100644 (file)
                bootargs = "console=uart,mmio32,0xff690000";
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               /* global autoconfigured region for contiguous allocations */
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x8000000>;
+                       linux,cma-default;
+               };
+       };
+
        ion {
                compatible = "rockchip,ion";
                #address-cells = <1>;