]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: ti: k3-am625-beagleplay: Reserve 128MiB of global CMA
authorNishanth Menon <nm@ti.com>
Fri, 31 Jan 2025 17:35:08 +0000 (11:35 -0600)
committerVignesh Raghavendra <vigneshr@ti.com>
Sun, 2 Mar 2025 13:13:33 +0000 (18:43 +0530)
In the same lines of commit 9e8560556f9c ("arm64: dts: ti:
k3-am62x-sk-common: Reserve 128MiB of global CMA"), reserve global CMA
pool for:

LCD Display: 16MiB, HDMI (1080p): 16MiB, GPU: 16MiB, CSI2 1 1080p
sensor: 32MiB with a 32MiB set for other peripherals and a 16MiB
buffer.

Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20250131173508.1338842-1-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts

index 75c80290b12abad4739a4029864ea1c0de32a965..a5469f2712f0945d5717d9570767fedf2681013a 100644 (file)
                        pmsg-size = <0x8000>;
                };
 
+               /* global cma region */
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x00 0x8000000>;
+                       linux,cma-default;
+               };
+
                secure_tfa_ddr: tfa@9e780000 {
                        reg = <0x00 0x9e780000 0x00 0x80000>;
                        no-map;