]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: ti: k3-am62-phycore-som: Reserve RTOS IPC memory
authorWadim Egorov <w.egorov@phytec.de>
Fri, 31 Jan 2025 09:35:31 +0000 (10:35 +0100)
committerVignesh Raghavendra <vigneshr@ti.com>
Sun, 2 Mar 2025 13:13:33 +0000 (18:43 +0530)
Reserve a portion of memory for inter-processor communication between
all remote processors running RTOS or baremetal firmware.
Move ramoops to lower region so the IPC fits to the correct address.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20250131093531.1054924-2-w.egorov@phytec.de
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi

index 2ef4cbaec7892701ed94c145727beb66c54d867f..4bffa8ce04107547bdfa6d42ce6781df3aded8aa 100644 (file)
                #size-cells = <2>;
                ranges;
 
-               ramoops@9ca00000 {
+               ramoops@9c700000 {
                        compatible = "ramoops";
-                       reg = <0x00 0x9ca00000 0x00 0x00100000>;
+                       reg = <0x00 0x9c700000 0x00 0x00100000>;
                        record-size = <0x8000>;
                        console-size = <0x8000>;
                        ftrace-size = <0x00>;
                        pmsg-size = <0x8000>;
                };
 
+               rtos_ipc_memory_region: ipc-memories@9c800000 {
+                       compatible = "shared-dma-pool";
+                       reg = <0x00 0x9c800000 0x00 0x00300000>;
+                       no-map;
+               };
+
                mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
                        compatible = "shared-dma-pool";
                        reg = <0x00 0x9cb00000 0x00 0x100000>;