ARM: dts: am572x-idk-common: Add CMA pools and enable IPU & DSP rprocs
authorSuman Anna <s-anna@ti.com>
Fri, 24 Apr 2020 15:12:42 +0000 (18:12 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 5 May 2020 18:13:28 +0000 (11:13 -0700)
commitac21a4a8f263d155c31f56b23bd056e71e75e7a6
treeb3450b80b7e75e7550287198f4a71df276f5b713
parent35529cc009967c7fe3cb96da8f2b31bd966f6e14
ARM: dts: am572x-idk-common: Add CMA pools and enable IPU & DSP rprocs

The CMA reserved memory nodes have been added for all the IPU and DSP
remoteproc devices in the am572x-idk-common.dtsi file that is common to
both the AM572x and AM574x IDK boards. These nodes are assigned to the
respective rproc device nodes, and all the IPU and DSP remote processors
are enabled.

The current CMA pools and sizes are defined statically for each device.
The addresses chosen are the same as the respective processors on
the AM57xx EVM board to maintain firmware compatibility between the
two boards. The CMA pools and sizes are defined using 64-bit values
to support LPAE. The starting addresses are fixed to meet current
dependencies on the remote processor firmwares, and this will go
away when the remote-side code has been improved to gather this
information runtime during its initialization.

An associated pair of the rproc node and its CMA node can be disabled
later on if there is no use-case defined to use that remote processor.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am572x-idk-common.dtsi