:orphan:
.. raw:: html
.. dtcompatible:: zephyr,uart-bridge
.. _dtbinding_zephyr_uart_bridge:
zephyr,uart-bridge
##################
Vendor: :ref:`The Zephyr Project `
.. note::
An implementation of a driver matching this compatible is available in
:zephyr_file:`drivers/serial/uart_bridge.c`.
Description
***********
.. code-block:: none
UART bridge
Bridges data between two serial devices, for example a USB CDC-ACM serial
port and an hardware UART.
The device node must specify exactly two peer phandles for the two serial
devices to be bridged together. Example configuration:
uart-bridge {
compatible = "zephyr,uart-bridge";
peers = <&cdc_acm_uart0 &uart1>;
};
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
* - ``peers``
- ``phandles``
- .. code-block:: none
Peer device nodes, must contain two phandles
.. 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 "zephyr,uart-bridge" compatible.
(None)