Skip to content

Commit 91ddd97

Browse files
scosumathieupoirier
authored andcommitted
dt-bindings: remoteproc: k3-r5f: Split up memory regions
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) <msp@baylibre.com> Link: https://lore.kernel.org/r/20260318-topic-am62a-ioddr-dt-v6-19-v3-1-c41473cb23c3@baylibre.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
1 parent 943cfbc commit 91ddd97

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,26 @@ patternProperties:
154154
memory-region:
155155
description: |
156156
phandle to the reserved memory nodes to be associated with the
157-
remoteproc device. There should be at least two reserved memory nodes
158-
defined. The reserved memory nodes should be carveout nodes, and
159-
should be defined with a "no-map" property as per the bindings in
157+
remoteproc device. There should be two reserved memory nodes defined
158+
for the basic layout or 6 partitions for a detailed layout. The
159+
reserved memory nodes should be carveout nodes, and should be defined
160+
with a "no-map" property as per the bindings in
160161
Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
161-
minItems: 2
162-
maxItems: 8
163-
items:
164-
- description: region used for dynamic DMA allocations like vrings and
165-
vring buffers
166-
- description: region reserved for firmware image sections
167-
additionalItems: true
162+
oneOf:
163+
- description: Basic layout
164+
items:
165+
- description: region used for dynamic DMA allocations like vrings and
166+
vring buffers
167+
- description: region reserved for firmware image sections
168+
- description: Detailed layout
169+
items:
170+
- description: region used for dynamic DMA allocations like vrings and
171+
vring buffers
172+
- description: region reserved for IPC resources
173+
- description: LPM FS stub binary
174+
- description: LPM metadata
175+
- description: LPM FS context data and reserved sections
176+
- description: DM RM/PM trace and firmware code/data
168177

169178
# Optional properties:
170179
# --------------------

0 commit comments

Comments
 (0)