Split up the region reserved for the firmware image in more specific sections to expose the full fixed layout. Especially the LPM metadata section is important for bootloaders as it contains information about how to exit IO+DDR. This is read by the bootloader but is written by the firmware.
Signed-off-by: Markus Schneider-Pargmann (TI) <[email protected]> --- .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml index a927551356e69d3961b3c5c6b72d027fabe83d3c..6aadc61e20f9f4c27f5b9c87ab2025a02776c5de 100644 --- a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml @@ -158,12 +158,28 @@ patternProperties: defined. The reserved memory nodes should be carveout nodes, and should be defined with a "no-map" property as per the bindings in Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt + + For IO+DDR low power mode support on AM62x SoCs, additional memory + regions may be defined to partition the DDR_LPM_DATA section: + [0] DMA allocations (required) + [1] IPC resources or firmware image sections + [2] LPM FS stub section + [3] LPM metadata section containing dmEntryPoint and fsCtxtAddr + [4] LPM FS context and reserved sections + [5] DM trace and firmware sections + + The LPM metadata region at index 3 allows the bootloader to directly + read the LPM metadata address without hardcoded offsets. minItems: 2 maxItems: 8 items: - description: region used for dynamic DMA allocations like vrings and vring buffers - - description: region reserved for firmware image sections + - description: region reserved for firmware image sections or IPC resources + - description: LPM FS stub binary and X.509 certificate + - description: LPM metadata (dmEntryPoint, fsCtxtAddr) + - description: LPM FS context data and reserved sections + - description: DM RM/PM trace and firmware code/data additionalItems: true # Optional properties: -- 2.51.0

