brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · e2d111b Raw
62 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NVIDIA Tegra Combined UART (TCU)8 9maintainers:10  - Thierry Reding <thierry.reding@gmail.com>11  - Jonathan Hunter <jonathanh@nvidia.com>12 13description:14  The TCU is a system for sharing a hardware UART instance among multiple15  systems within the Tegra SoC. It is implemented through a mailbox-16  based protocol where each "virtual UART" has a pair of mailboxes, one17  for transmitting and one for receiving, that is used to communicate18  with the hardware implementing the TCU.19 20properties:21  $nodename:22    pattern: "^serial(@.*)?$"23 24  compatible:25    oneOf:26      - const: nvidia,tegra194-tcu27      - items:28          - enum:29              - nvidia,tegra234-tcu30          - const: nvidia,tegra194-tcu31 32  mbox-names:33    items:34      - const: rx35      - const: tx36 37  mboxes:38    description: |39      List of phandles to mailbox channels used for receiving and40      transmitting data from and to the hardware UART.41    items:42      - description: mailbox for receiving data from hardware UART43      - description: mailbox for transmitting data to hardware UART44 45required:46  - compatible47  - mbox-names48  - mboxes49 50additionalProperties: false51 52examples:53  - |54    #include <dt-bindings/mailbox/tegra186-hsp.h>55 56    tcu: serial {57        compatible = "nvidia,tegra194-tcu";58        mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>,59                 <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>;60        mbox-names = "rx", "tx";61    };62