:orphan: .. raw:: html .. dtcompatible:: nxp,s32-mru .. _dtbinding_nxp_s32_mru: nxp,s32-mru ########### Vendor: :ref:`NXP Semiconductors ` Description *********** .. code-block:: none NXP S32 Message Receive Unit The MRU couples with a processor and allows to receive messages from senders, which are other modules or processors. The interrupts from each MRU instance route to specific Private Peripheral Interrupts (PPIs) of the corresponding core. This driver offers a simplified operation in order to integrate with Zephyr Mbox API: - Each channel uses only the first mailbox, as current API does not allow to group hardware channel's mailboxes in logical channels. - The MTU is fixed to the size of one mailbox, as current API does not allow variable length per channel. In a normal use-case for IPC, the receiver core must enable and set the number of receive channels on the MRU instance coupled with the core, for instance in a devicetree overlay. In turn, the sender(s) must enable the MRU instance of the receiver to be able to transmit on it. There is no need to define the transmit channels on which the sender is intended to transmit. For example, core B and C want to send messages to core A in channels 0 and 1, respectively, then the devicetree overlays will look like: // overlay of core A mruA { rx-channels = <2>; status = "okay"; }; // overlays of core B and core C mruA { status = "okay"; }; Properties ********** .. tabs:: .. group-tab:: Node specific properties Properties not inherited from the base binding file. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``rx-channels`` - ``int`` - .. code-block:: none Number of receive channels enabled on this instance. Setting this value to N, will enable channels 0 to N-1, consecutively. It should be set by the receiver core coupled with this MRU instance. For example, if receiver A wants to Rx on channels 0 and 1, then A must set rx-channels of mruA as follows: mruA { rx-channels = <2>; status = "okay"; }; Legal values: ``1``, ``2``, ``3``, ``4``, ``5``, ``6``, ``7``, ``8``, ``9``, ``10``, ``11``, ``12`` * - ``#mbox-cells`` - ``int`` - .. code-block:: none Number of items to expect in a Mailbox specifier This property is **required**. .. group-tab:: Deprecated node specific properties Deprecated properties not inherited from the base binding file. (None) .. group-tab:: Base properties Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the "nxp,s32-mru" compatible. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``interrupts`` - ``array`` - .. code-block:: none interrupts for device This property is **required**. See :ref:`zephyr:dt-important-props` for more information. * - ``status`` - ``string`` - .. code-block:: none indicates the operational status of a device Legal values: ``'ok'``, ``'okay'``, ``'disabled'``, ``'reserved'``, ``'fail'``, ``'fail-sss'`` See :ref:`zephyr:dt-important-props` for more information. * - ``compatible`` - ``string-array`` - .. code-block:: none compatible strings This property is **required**. See :ref:`zephyr:dt-important-props` for more information. * - ``reg`` - ``array`` - .. code-block:: none register space See :ref:`zephyr:dt-important-props` for more information. * - ``reg-names`` - ``string-array`` - .. code-block:: none name of each register space * - ``interrupts-extended`` - ``compound`` - .. code-block:: none extended interrupt specifier for device * - ``interrupt-names`` - ``string-array`` - .. code-block:: none name of each interrupt * - ``interrupt-parent`` - ``phandle`` - .. code-block:: none phandle to interrupt controller node * - ``label`` - ``string`` - .. code-block:: none Human readable string describing the device (used as device_get_binding() argument) See :ref:`zephyr:dt-important-props` for more information. This property is **deprecated**. * - ``clocks`` - ``phandle-array`` - .. code-block:: none Clock gate information * - ``clock-names`` - ``string-array`` - .. code-block:: none name of each clock * - ``#address-cells`` - ``int`` - .. code-block:: none number of address cells in reg property * - ``#size-cells`` - ``int`` - .. code-block:: none number of size cells in reg property * - ``dmas`` - ``phandle-array`` - .. code-block:: none DMA channels specifiers * - ``dma-names`` - ``string-array`` - .. code-block:: none Provided names of DMA channel specifiers * - ``io-channels`` - ``phandle-array`` - .. code-block:: none IO channels specifiers * - ``io-channel-names`` - ``string-array`` - .. code-block:: none Provided names of IO channel specifiers * - ``mboxes`` - ``phandle-array`` - .. code-block:: none mailbox / IPM channels specifiers * - ``mbox-names`` - ``string-array`` - .. code-block:: none Provided names of mailbox / IPM channel specifiers * - ``wakeup-source`` - ``boolean`` - .. code-block:: none Property to identify that a device can be used as wake up source. When this property is provided a specific flag is set into the device that tells the system that the device is capable of wake up the system. Wake up capable devices are disabled (interruptions will not wake up the system) by default but they can be enabled at runtime if necessary. * - ``power-domain`` - ``phandle`` - .. code-block:: none Power domain the device belongs to. The device will be notified when the power domain it belongs to is either suspended or resumed. * - ``zephyr,pm-device-runtime-auto`` - ``boolean`` - .. code-block:: none Automatically configure the device for runtime power management after the init function runs. Specifier cell names ******************** - mbox cells: channel