summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2025-10-31 15:49:43 +0300
committerShawn Guo <shawnguo@kernel.org>2025-12-31 05:12:08 +0300
commitabc8424e7f967c8dcbafdd99ff688e7a35441128 (patch)
tree596e476d49306d9364e431ce4678329cc7c056df
parentd4dc56d8224d1c5a20e06939c817b28a60fbc35e (diff)
downloadlinux-abc8424e7f967c8dcbafdd99ff688e7a35441128.tar.xz
arm64: dts: colibri-imx8x: Add cma memory
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>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 7c258e8b5aa2..47895ff8cb24 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -86,6 +86,19 @@
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>;