arm64: dts: imx93: add cma area for i.MX93 11x11 EVK
authorPeng Fan <peng.fan@nxp.com>
Sun, 25 Jun 2023 12:25:47 +0000 (20:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jul 2023 03:14:08 +0000 (11:14 +0800)
Add CMA region for DMA usage.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts

index c50f46f..359ae86 100644 (file)
                stdout-path = &lpuart1;
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       alloc-ranges = <0 0x80000000 0 0x40000000>;
+                       size = <0 0x10000000>;
+                       linux,cma-default;
+               };
+       };
+
        reg_vref_1v8: regulator-adc-vref {
                compatible = "regulator-fixed";
                regulator-name = "vref_1v8";