···11-NVIDIA Tegra Combined UART (TCU)22-33-The TCU is a system for sharing a hardware UART instance among multiple44-systems within the Tegra SoC. It is implemented through a mailbox-55-based protocol where each "virtual UART" has a pair of mailboxes, one66-for transmitting and one for receiving, that is used to communicate77-with the hardware implementing the TCU.88-99-Required properties:1010-- name : Should be tcu1111-- compatible1212- Array of strings1313- One of:1414- - "nvidia,tegra194-tcu"1515-- mbox-names:1616- "rx" - Mailbox for receiving data from hardware UART1717- "tx" - Mailbox for transmitting data to hardware UART1818-- mboxes: Mailboxes corresponding to the mbox-names.1919-2020-This node is a mailbox consumer. See the following files for details of2121-the mailbox subsystem, and the specifiers implemented by the relevant2222-provider(s):2323-2424-- .../mailbox/mailbox.txt2525-- .../mailbox/nvidia,tegra186-hsp.txt2626-2727-Example bindings:2828------------------2929-3030-tcu: tcu {3131- compatible = "nvidia,tegra194-tcu";3232- mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>,3333- <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>;3434- mbox-names = "rx", "tx";3535-};
···11+# SPDX-License-Identifier: GPL-2.022+%YAML 1.233+---44+$id: http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: NVIDIA Tegra Combined UART (TCU)88+99+maintainers:1010+ - Thierry Reding <thierry.reding@gmail.com>1111+ - Jonathan Hunter <jonathanh@nvidia.com>1212+1313+description:1414+ The TCU is a system for sharing a hardware UART instance among multiple1515+ systems within the Tegra SoC. It is implemented through a mailbox-1616+ based protocol where each "virtual UART" has a pair of mailboxes, one1717+ for transmitting and one for receiving, that is used to communicate1818+ with the hardware implementing the TCU.1919+2020+properties:2121+ $nodename:2222+ pattern: "^serial(@.*)?$"2323+2424+ compatible:2525+ const: nvidia,tegra194-tcu2626+2727+ mbox-names:2828+ items:2929+ - const: rx3030+ - const: tx3131+3232+ mboxes:3333+ description: |3434+ List of phandles to mailbox channels used for receiving and3535+ transmitting data from and to the hardware UART.3636+ items:3737+ - description: mailbox for receiving data from hardware UART3838+ - description: mailbox for transmitting data to hardware UART3939+4040+required:4141+ - compatible4242+ - mbox-names4343+ - mboxes4444+4545+additionalProperties: false4646+4747+examples:4848+ - |4949+ #include <dt-bindings/mailbox/tegra186-hsp.h>5050+5151+ tcu: serial {5252+ compatible = "nvidia,tegra194-tcu";5353+ mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>,5454+ <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>;5555+ mbox-names = "rx", "tx";5656+ };