The latest development version of this page may be more current than this released 4.0.0 version.

zephyr,ipc-openamp-static-vrings

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in subsys/ipc/ipc_service/backends/ipc_rpmsg_static_vrings.c.

Description

OpenAMP (RPMsg with static VRINGs) backend

Properties

Properties not inherited from the base binding file.

Name

Type

Details

role

string

OpenAMP roles

This property is required.

Legal values: 'host', 'remote'

memory-region

phandle

phandle to the shared memory region

This property is required.

zephyr,priority

array

WQ priority for the instance. This property is an array composed by the
priority level and the type of priority (PRIO_COOP for cooperative or
PRIO_PREEMPT for preemptive).

For example for a thread priority K_PRIO_COOP(1) in DT we have
  priority = <1 PRIO_COOP>;
or for K_PRIO_PREEMPT(2)
  priority = <2 PRIO_PREEMPT>;

When this property is missing a default priority of <0 PRIO_PREEMPT> is
assumed.

zephyr,buffer-size

int

The size of the buffer used to send data between host and remote. Default
value is RPMSG_BUFFER_SIZE. This property must be the same for host and
remote and preferably a multiple of the cache line size.