arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for R5Fs
authorSuman Anna <s-anna@ti.com>
Thu, 29 Oct 2020 03:38:02 +0000 (22:38 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 12 Nov 2020 17:42:48 +0000 (11:42 -0600)
commit0f191152bcba6758804eed4f6463f9bd32bdbfdb
tree4488abd677600d42307cbbd35e1dbedd5af7d81d
parent2879b593c3784e5eafc67cae915d8b7d680455f3
arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for R5Fs

Two carveout reserved memory nodes each have been added for each of the
R5F remote processor devices within both the MCU and MAIN domains for the
TI J721E EVM boards. These nodes are assigned to the respective rproc
device nodes 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 R5F processors do not have an MMU, and as such require the
exact memory used by the firmwares to be set-aside. The firmware images
do not require any RSC_CARVEOUT entries in their resource tables either
to allocate the memory for firmware memory segments.

Note that the R5F1 carveouts are needed only if the R5F cluster is running
in Split (non-LockStep) mode. The reserved memory nodes can be disabled
later on if there is no use-case defined to use the corresponding
remote processor.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20201029033802.15366-9-s-anna@ti.com
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi