===============================
AM62X Secure Proxy Descriptions
===============================

.. _soc_doc_am62x_public_sproxy_desc_intro:

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

This chapter provides information of Secure Proxies and communication paths
that are permitted in the AM62X SoC. These host IDs represent processing entities
(or PEs) which is mandatory identification of a Host in a processor. See
PE/Host documentation for further information

.. _soc_doc_am62x_public_sproxy_desc_sproxy_list:

Enumeration of Secure Proxies
=============================

+-------------+---------------------+
|   Sproxy ID | Sproxy Name         |
+=============+=====================+
|           0 | DMASS0_SEC_PROXY_0  |
+-------------+---------------------+
|           1 | SA3_SS0_SEC_PROXY_0 |
+-------------+---------------------+

.. _soc_doc_am62x_public_sproxy_desc_sproxy_per_list:

Thread Allocation per Secure Proxy
==================================

.. _soc_doc_am62x_public_sproxy_desc_sproxy_per_list_dmass0_sec_proxy_0:

Secure Proxy thread allocation for DMASS0_SEC_PROXY_0
-----------------------------------------------------

+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|   Secure Proxy Thread ID | Direction (write or read)   |   Number of Messages | Host        | Host Function                  | IRQ (threshold)           | IRQ (error)               |
+==========================+=============================+======================+=============+================================+===========================+===========================+
|                       69 | read                        |                   34 | DM          | nonsec_low_priority_rx         | WKUP_R5FSS0_CORE0/INTR_67 | WKUP_R5FSS0_CORE0/INTR_67 |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       68 | write                       |                   11 | DM          | nonsec_MAIN_0_R5_1_response_tx | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       67 | write                       |                    2 | DM          | nonsec_MAIN_0_R5_3_response_tx | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       66 | write                       |                    6 | DM          | nonsec_A53_2_response_tx       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       65 | write                       |                    6 | DM          | nonsec_A53_3_response_tx       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       64 | write                       |                    6 | DM          | nonsec_M4_0_response_tx        | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       63 | write                       |                    2 | DM          | nonsec_GPU_response_tx         | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       62 | write                       |                    6 | DM          | nonsec_A53_4_response_tx       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       61 | write                       |                    4 | DM          | nonsec_TIFS2DM_response_tx     | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        0 | read                        |                   11 | MAIN_0_R5_0 | response                       | WKUP_R5FSS0_CORE0/INTR_64 | WKUP_R5FSS0_CORE0/INTR_64 |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        1 | write                       |                   10 | MAIN_0_R5_0 | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        2 | read                        |                   11 | MAIN_0_R5_1 | response                       | WKUP_R5FSS0_CORE0/INTR_65 | WKUP_R5FSS0_CORE0/INTR_65 |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        3 | write                       |                   10 | MAIN_0_R5_1 | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        4 | read                        |                    2 | MAIN_0_R5_2 | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        5 | write                       |                    1 | MAIN_0_R5_2 | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        6 | read                        |                    2 | MAIN_0_R5_3 | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        7 | write                       |                    1 | MAIN_0_R5_3 | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        8 | read                        |                   11 | A53_0       | response                       | GICSS0/SPI_64             | GICSS0/SPI_64             |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                        9 | write                       |                   10 | A53_0       | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       10 | read                        |                   11 | A53_1       | response                       | GICSS0/SPI_65             | GICSS0/SPI_65             |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       11 | write                       |                   10 | A53_1       | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       12 | read                        |                    6 | A53_2       | response                       | GICSS0/SPI_66             | GICSS0/SPI_66             |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       13 | write                       |                    5 | A53_2       | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       14 | read                        |                    6 | A53_3       | response                       | GICSS0/SPI_67             | GICSS0/SPI_67             |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       15 | write                       |                    5 | A53_3       | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       16 | read                        |                    6 | M4_0        | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       17 | write                       |                    5 | M4_0        | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       18 | read                        |                    2 | GPU         | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       19 | write                       |                    1 | GPU         | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       20 | read                        |                    6 | A53_4       | response                       | GICSS0/SPI_68             | GICSS0/SPI_68             |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       21 | write                       |                    5 | A53_4       | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       22 | read                        |                    4 | DM2TIFS     | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       23 | write                       |                    2 | DM2TIFS     | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       24 | read                        |                    4 | TIFS2DM     | response                       | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+
|                       25 | write                       |                    2 | TIFS2DM     | low_priority                   | N/A                       | N/A                       |
+--------------------------+-----------------------------+----------------------+-------------+--------------------------------+---------------------------+---------------------------+

.. _soc_doc_am62x_public_sproxy_desc_sproxy_per_list_sa3_ss0_sec_proxy_0:

Secure Proxy thread allocation for SA3_SS0_SEC_PROXY_0
------------------------------------------------------

+--------------------------+-----------------------------+----------------------+----------+---------------------+-------------------+----------------+
|   Secure Proxy Thread ID | Direction (write or read)   |   Number of Messages | Host     | Host Function       | IRQ (threshold)   | IRQ (error)    |
+==========================+=============================+======================+==========+=====================+===================+================+
|                       15 | read                        |                    8 | TIFS_HSM | sec_low_priority_rx | TIFS0/NVIC_217    | TIFS0/NVIC_217 |
+--------------------------+-----------------------------+----------------------+----------+---------------------+-------------------+----------------+
|                       14 | write                       |                    8 | TIFS_HSM | sec_HSM_response_tx | N/A               | N/A            |
+--------------------------+-----------------------------+----------------------+----------+---------------------+-------------------+----------------+
|                        0 | read                        |                    8 | HSM      | response            | N/A               | N/A            |
+--------------------------+-----------------------------+----------------------+----------+---------------------+-------------------+----------------+
|                        1 | write                       |                    8 | HSM      | low_priority        | N/A               | N/A            |
+--------------------------+-----------------------------+----------------------+----------+---------------------+-------------------+----------------+

