]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-am62-phycore-som: Add 128MiB of global CMA
authorWadim Egorov <w.egorov@phytec.de>
Fri, 13 Feb 2026 05:38:06 +0000 (06:38 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 10 Mar 2026 09:40:02 +0000 (15:10 +0530)
Reserve 128MiB of global CMA which is also marked as re-usable
so that OS can also use the same if peripheral drivers are not using
the same.

Based on the use case described in commit c43dd2fe5316 ("arm64: dts: ti:
k3-am62x-sk-common: Reserve 128MiB of global CMA").

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://patch.msgid.link/20260213053806.219495-1-w.egorov@phytec.de
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi

index e15da771bc07d362a2784ee10ec0f5e5db0bbaa2..3baa653257bb6b745a08d4fad406eee7d8b05a72 100644 (file)
                #size-cells = <2>;
                ranges;
 
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x00 0x8000000>;
+                       linux,cma-default;
+               };
+
                ramoops@9c700000 {
                        compatible = "ramoops";
                        reg = <0x00 0x9c700000 0x00 0x00100000>;