Split the firmware memory region in more specific parts so it is better
described where to find which information. Specifically the LPM metadata
region is important as bootloader software like U-Boot has to know where
that data is to be able to read that data.

Signed-off-by: Markus Schneider-Pargmann (TI) <[email protected]>
---
 .../boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi      | 38 +++++++++++++++++++---
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi 
b/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
index 
12902231e58a7a958f335096047b0d2384dee722..437b1df02142c666019ad4ad3558fa066e04781d
 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi
@@ -24,9 +24,33 @@ wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
                no-map;
        };
 
-       wkup_r5fss0_core0_memory_region: memory@9c900000 {
+       wkup_r5fss0_core0_ipc_region: memory@9c900000 {
                compatible = "shared-dma-pool";
-               reg = <0x00 0x9c900000 0x00 0xf00000>;
+               reg = <0x00 0x9c900000 0x00 0x100000>;
+               no-map;
+       };
+
+       wkup_r5fss0_core0_lpm_fs_stub_region: memory@9ca00000 {
+               compatible = "shared-dma-pool";
+               reg = <0x00 0x9ca00000 0x00 0x8000>;
+               no-map;
+       };
+
+       wkup_r5fss0_core0_lpm_metadata_region: memory@9ca08000 {
+               compatible = "shared-dma-pool";
+               reg = <0x00 0x9ca08000 0x00 0x1000>;
+               no-map;
+       };
+
+       wkup_r5fss0_core0_lpm_rest_region: memory@9ca09000 {
+               compatible = "shared-dma-pool";
+               reg = <0x00 0x9ca09000 0x00 0x97000>;
+               no-map;
+       };
+
+       wkup_r5fss0_core0_dm_region: memory@9caa0000 {
+               compatible = "shared-dma-pool";
+               reg = <0x00 0x9caa0000 0x00 0xd60000>;
                no-map;
        };
 };
@@ -56,8 +80,14 @@ &wkup_r5fss0 {
 &wkup_r5fss0_core0 {
        mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
        memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
-                       <&wkup_r5fss0_core0_memory_region>;
-       memory-region-names = "dma", "firmware";
+                       <&wkup_r5fss0_core0_ipc_region>,
+                       <&wkup_r5fss0_core0_lpm_fs_stub_region>,
+                       <&wkup_r5fss0_core0_lpm_metadata_region>,
+                       <&wkup_r5fss0_core0_lpm_rest_region>,
+                       <&wkup_r5fss0_core0_dm_region>;
+       memory-region-names = "dma", "ipc", "lpm-stub",
+                             "lpm-metadata", "lpm-context",
+                             "dm-firmware";
        status = "okay";
 };
 

-- 
2.53.0


Reply via email to