diff options
author | Minjie Zhuang <minjie.zhuang@nxp.com> | 2019-11-13 15:39:24 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 16:09:55 +0800 |
commit | 62e130bd57a0a17d69459d570797523f46e823cd (patch) | |
tree | 689b4267b4486aaf623dbf13e548797556ea57f2 /arch/arm/boot/dts/imx6q.dtsi | |
parent | 3d56ae8d8343c4353499d64a62fecb60a81253ea (diff) |
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6q.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 01540033cf30..3ab21ec7c64b 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -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"; |