Commit 1939d37f authored by Suman Anna's avatar Suman Anna Committed by Nishanth Menon

arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for C71x DSP

Two carveout reserved memory nodes have been added for the lone C71x DSP
remote processor device present within the MAIN voltage domain for the TI
J721E EVM boards. These nodes are assigned to the respective rproc device
node as well. The first region will be used as the DMA pool for the rproc
device, and the second region will furnish the static carveout regions for
the firmware memory.

The current carveout addresses and sizes are defined statically for each
device. The C71x DSP processor does support a MMU called CMMU, but is not
currently supported and as such requires the exact memory used by the
firmware to be set-aside. The firmware images currently do not need any
RSC_CARVEOUT entries either in their resource tables to allocate the
memory for firmware memory segments.

The reserved memory nodes can be disabled later on if there is no use-case
defined to use the C71x DSP remoteproc processor.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20200825172145.13186-8-s-anna@ti.com
parent cf53928f
...@@ -49,6 +49,18 @@ c66_1_memory_region: c66-memory@a7100000 { ...@@ -49,6 +49,18 @@ c66_1_memory_region: c66-memory@a7100000 {
reg = <0x00 0xa7100000 0x00 0xf00000>; reg = <0x00 0xa7100000 0x00 0xf00000>;
no-map; no-map;
}; };
c71_0_dma_memory_region: c71-dma-memory@a8000000 {
compatible = "shared-dma-pool";
reg = <0x00 0xa8000000 0x00 0x100000>;
no-map;
};
c71_0_memory_region: c71-memory@a8100000 {
compatible = "shared-dma-pool";
reg = <0x00 0xa8100000 0x00 0xf00000>;
no-map;
};
}; };
}; };
...@@ -204,4 +216,6 @@ &c66_1 { ...@@ -204,4 +216,6 @@ &c66_1 {
&c71_0 { &c71_0 {
mboxes = <&mailbox0_cluster4 &mbox_c71_0>; mboxes = <&mailbox0_cluster4 &mbox_c71_0>;
memory-region = <&c71_0_dma_memory_region>,
<&c71_0_memory_region>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment