===============================
AM64X PSI-L Device Descriptions
===============================

Introduction
============

This chapter provides information on the PSI-L devices in the AM64X SoC.  Some
System Firmware TISCI messages take device specific inputs. This chapter
provides information on the valid values for PSI-L TISCI message parameters.

.. _pub_soc_am64x_psil_proxy_device_ids:

PSI-L Proxy Device IDs
======================

Some System Firmware TISCI message APIs require the PSI-L Proxy device ID be
provided as part of the request. Based on :doc:`AM64X Device IDs <devices>`
these are the valid PSI-L Proxy device IDs.

+---------------------------+-------------------------+
| PSI-L Proxy Device Name   |   PSI-L Proxy Device ID |
+===========================+=========================+
| AM64X_DEV_DMASS0          |                      25 |
+---------------------------+-------------------------+

.. _pub_soc_am64x_psil_thread_ids:

PSI-L Source and Destination Thread IDs
=======================================

This section describes valid PSI-L source and destination thread IDs for each
thread type. The thread IDs are used in the PSI-L based TISCI messages.


.. warning::

    PSI-L threads marked as reserved for use by DMSC **cannot** be linked to
    another thread.

+-----------------------------------+------------------+
| Thread Type                       | Thread Range     |
+===================================+==================+
| pktdma_tx                         | 0x1000 to 0x1017 |
+-----------------------------------+------------------+
| pktdma_tx                         | 0x1018 to 0x1018 |
| (**Reserved by System Firmware**) |                  |
+-----------------------------------+------------------+
| pktdma_tx                         | 0x1019 to 0x1029 |
+-----------------------------------+------------------+
| bcdma_tx                          | 0x2000 to 0x2013 |
+-----------------------------------+------------------+
| saul0_rx                          | 0x4000 to 0x4001 |
| (**Reserved by System Firmware**) |                  |
+-----------------------------------+------------------+
| saul0_rx                          | 0x4002 to 0x4003 |
+-----------------------------------+------------------+
| icssg0_rx                         | 0x4100 to 0x4104 |
+-----------------------------------+------------------+
| icssg1_rx                         | 0x4200 to 0x4204 |
+-----------------------------------+------------------+
| pdma_main0_mcspi0_rx              | 0x4300 to 0x4303 |
+-----------------------------------+------------------+
| pdma_main0_mcspi1_rx              | 0x4304 to 0x4307 |
+-----------------------------------+------------------+
| pdma_main0_mcspi2_rx              | 0x4308 to 0x430b |
+-----------------------------------+------------------+
| pdma_main0_mcspi3_rx              | 0x430c to 0x430f |
+-----------------------------------+------------------+
| pdma_main0_uart0_rx               | 0x4310 to 0x4310 |
+-----------------------------------+------------------+
| pdma_main0_uart1_rx               | 0x4311 to 0x4311 |
+-----------------------------------+------------------+
| pdma_main1_mcspi4_rx              | 0x4400 to 0x4403 |
+-----------------------------------+------------------+
| pdma_main1_uart2_rx               | 0x4404 to 0x4404 |
+-----------------------------------+------------------+
| pdma_main1_uart3_rx               | 0x4405 to 0x4405 |
+-----------------------------------+------------------+
| pdma_main1_uart4_rx               | 0x4406 to 0x4406 |
+-----------------------------------+------------------+
| pdma_main1_uart5_rx               | 0x4407 to 0x4407 |
+-----------------------------------+------------------+
| pdma_main1_uart6_rx               | 0x4408 to 0x4408 |
+-----------------------------------+------------------+
| pdma_main1_mcan0_rx               | 0x4409 to 0x440b |
+-----------------------------------+------------------+
| pdma_main1_mcan1_rx               | 0x440c to 0x440e |
+-----------------------------------+------------------+
| pdma_main1_adc0_rx                | 0x440f to 0x4410 |
+-----------------------------------+------------------+
| cpsw2_rx                          | 0x4500 to 0x4500 |
+-----------------------------------+------------------+
| pktdma_rx                         | 0x9000 to 0x9010 |
+-----------------------------------+------------------+
| pktdma_rx                         | 0x9011 to 0x9012 |
| (**Reserved by System Firmware**) |                  |
+-----------------------------------+------------------+
| pktdma_rx                         | 0x9013 to 0x901c |
+-----------------------------------+------------------+
| bcdma_rx                          | 0xa000 to 0xa013 |
+-----------------------------------+------------------+
| saul0_tx                          | 0xc000 to 0xc000 |
| (**Reserved by System Firmware**) |                  |
+-----------------------------------+------------------+
| saul0_tx                          | 0xc001 to 0xc001 |
+-----------------------------------+------------------+
| icssg0_tx                         | 0xc100 to 0xc108 |
+-----------------------------------+------------------+
| icssg1_tx                         | 0xc200 to 0xc208 |
+-----------------------------------+------------------+
| pdma_main0_mcspi0_tx              | 0xc300 to 0xc303 |
+-----------------------------------+------------------+
| pdma_main0_mcspi1_tx              | 0xc304 to 0xc307 |
+-----------------------------------+------------------+
| pdma_main0_mcspi2_tx              | 0xc308 to 0xc30b |
+-----------------------------------+------------------+
| pdma_main0_mcspi3_tx              | 0xc30c to 0xc30f |
+-----------------------------------+------------------+
| pdma_main0_uart0_tx               | 0xc310 to 0xc310 |
+-----------------------------------+------------------+
| pdma_main0_uart1_tx               | 0xc311 to 0xc311 |
+-----------------------------------+------------------+
| pdma_main1_mcspi4_tx              | 0xc400 to 0xc403 |
+-----------------------------------+------------------+
| pdma_main1_uart2_tx               | 0xc404 to 0xc404 |
+-----------------------------------+------------------+
| pdma_main1_uart3_tx               | 0xc405 to 0xc405 |
+-----------------------------------+------------------+
| pdma_main1_uart4_tx               | 0xc406 to 0xc406 |
+-----------------------------------+------------------+
| pdma_main1_uart5_tx               | 0xc407 to 0xc407 |
+-----------------------------------+------------------+
| pdma_main1_uart6_tx               | 0xc408 to 0xc408 |
+-----------------------------------+------------------+
| pdma_main1_mcan0_tx               | 0xc409 to 0xc40b |
+-----------------------------------+------------------+
| pdma_main1_mcan1_tx               | 0xc40c to 0xc40e |
+-----------------------------------+------------------+
| cpsw2_tx                          | 0xc500 to 0xc507 |
+-----------------------------------+------------------+

