arm64: dts: imx8ulp-evk: add reserved memory for cma
authorPeng Fan <peng.fan@nxp.com>
Mon, 24 Jul 2023 07:58:29 +0000 (15:58 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 30 Jul 2023 13:19:06 +0000 (21:19 +0800)
Add reserved memory node for CMA usage.

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

index f1c6d933a17c4b47bcb44f0ac937e469071f1a14..e171390a1888238bf7e8c080523a3613bb637988 100644 (file)
                reg = <0x0 0x80000000 0 0x80000000>;
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0 0x28000000>;
+                       linux,cma-default;
+               };
+       };
+
        clock_ext_rmii: clock-ext-rmii {
                compatible = "fixed-clock";
                clock-frequency = <50000000>;