summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mn.dtsi
diff options
context:
space:
mode:
authorXianzhong <xianzhong.li@nxp.com>2019-12-19 21:22:48 +0800
committerXianzhong <xianzhong.li@nxp.com>2019-12-20 18:07:39 +0800
commit63fbce00645702152d3cf67a7518b7b4fec4f686 (patch)
tree1d3230249ec0ffa594964179f903e617326150ba /arch/arm64/boot/dts/freescale/imx8mn.dtsi
parent6cc89b1bee762f81665d0b988f49a83bf3e42765 (diff)
LF-531-2 arm64: dts: imx8mn: add cma setting
Fix GPU AXI bus error when run WebGL 2.0 CTS, The original CMA size is 320MB, set with 640MB, This patch will align 8MN CMA size with L4.14. Signed-off-by: Xianzhong <xianzhong.li@nxp.com> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mn.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mn.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
index dc1093812869..fb3c13da9242 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
@@ -154,6 +154,21 @@
reg = <0x0 0x40000000 0 0x80000000>;
};
+ resmem: reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /* global autoconfigured region for contiguous allocations */
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0 0x28000000>;
+ alloc-ranges = <0 0x40000000 0 0x60000000>;
+ linux,cma-default;
+ };
+ };
+
osc_32k: clock-osc-32k {
compatible = "fixed-clock";
#clock-cells = <0>;