ARM: dts: imx6/7: reserve CMA memory for GPU

At imx6dl/imx6q/imx6sx,reserve 320M CMA memory
At imx7ulp,reserve 200M CMA memory

Signed-off-by: Minjie Zhuang <minjie.zhuang@nxp.com>
This commit is contained in:
Minjie Zhuang 2019-11-13 15:39:24 +08:00 committed by Dong Aisheng
parent 3d56ae8d83
commit 62e130bd57
4 changed files with 57 additions and 0 deletions

View File

@ -81,6 +81,20 @@
};
};
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 {
ocram: sram@905000 {
compatible = "mmio-sram";

View File

@ -158,6 +158,20 @@
};
};
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 {
busfreq: busfreq {
compatible = "fsl,imx_busfreq";

View File

@ -94,6 +94,20 @@
};
};
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;
};
};
ckil: clock-ckil {
compatible = "fixed-clock";
#clock-cells = <0>;

View File

@ -61,6 +61,21 @@
};
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0xC000000>;
alignment = <0x2000>;
linux,cma-default;
};
};
intc: interrupt-controller@40021000 {
compatible = "arm,cortex-a7-gic";
#interrupt-cells = <3>;