NVIDIA Tegra Combined UART (TCU)
Schema identifier ($id): "http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jonathan Hunter <jonathanh@nvidia.com>"
The TCU is a system for sharing a hardware UART instance among multiple systems within the Tegra SoC. It is implemented through a mailbox- based protocol where each "virtual UART" has a pair of mailboxes, one for transmitting and one for receiving, that is used to communicate with the hardware implementing the TCU.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serial(@.*)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"nvidia,tegra194-tcu"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nvidia,tegra194-tcu"
mbox-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
mboxes — required here #
List of phandles to mailbox channels used for receiving and transmitting data from and to the hardware UART.
Array item rules (items) #
Item 1
mailbox for receiving data from hardware UART
Item 2
mailbox for transmitting data to hardware UART
Required in this object (required): "compatible", "mbox-names", "mboxes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/mailbox/tegra186-hsp.h>
tcu: serial {
compatible = "nvidia,tegra194-tcu";
mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>,
<&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>;
mbox-names = "rx", "tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0