Describe the optional mailbox channels and named reserved-memory regions used for RPMsg communication with a BRAM-based MicroBlaze remote processor.
The three named memory regions provide the two virtio vrings and the shared RPMsg buffer pool. Firmware and its loaded resource table remain in the executable BRAM described by reg. Assisted-by: LLM sparse Signed-off-by: Ben Levinsky <[email protected]> --- .../bindings/remoteproc/amd,bram-rproc.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml index c0359f447ea8..daff8e615ab6 100644 --- a/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml @@ -84,6 +84,33 @@ properties: description: GPIO specifier controlling the soft-core reset input. + mboxes: + maxItems: 2 + + mbox-names: + items: + - const: tx + - const: rx + + memory-region: + maxItems: 3 + + memory-region-names: + items: + - const: vdev0vring0 + - const: vdev0vring1 + - const: vdev0buffer + +dependentRequired: + mboxes: + - mbox-names + mbox-names: + - mboxes + memory-region: + - memory-region-names + memory-region-names: + - memory-region + required: - compatible - reg @@ -101,5 +128,9 @@ examples: clocks = <&pl_clk>; firmware-name = "firmware.elf"; reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; + mboxes = <&mbv_mbox0 0>, <&mbv_mbox0 1>; + mbox-names = "tx", "rx"; + memory-region = <&mbv_vring0>, <&mbv_vring1>, <&mbv_vdev0buffer>; + memory-region-names = "vdev0vring0", "vdev0vring1", "vdev0buffer"; }; ... -- 2.34.1

