]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: colibri-imx8x: Add cma memory
authorPhilippe Schenker <philippe.schenker@toradex.com>
Fri, 31 Oct 2025 12:49:43 +0000 (13:49 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 31 Dec 2025 02:12:08 +0000 (10:12 +0800)
Add CMA in device tree and set its size to 416MiB for all
Colibri iMX8X.
The size is tuned to be enough to play full HD video using gst-play
and to fit in the SKU with the lowest amount of RAM (1GB).

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi

index 7c258e8b5aa21edad80338f42c621898397b9c67..47895ff8cb244e9bbebe228eb554c2b3f0dded1d 100644 (file)
                regulator-name = "usbh_vbus";
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       linux,cma-default;
+                       reusable;
+                       size = <0 0x1a000000>;
+               };
+       };
+
        sound-card {
                compatible = "simple-audio-card";
                simple-audio-card,bitclock-master = <&dailink_master>;