AM64x MCU+ SDK  10.00.00
sciclient_fmwMsgParams.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Texas Instruments Incorporated
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  *
11  * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the
14  * distribution.
15  *
16  * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
33 
41 #ifndef SCICLIENT_FMWMSGPARAMS_H_
42 #define SCICLIENT_FMWMSGPARAMS_H_
43 
44 /* ========================================================================== */
45 /* Include Files */
46 /* ========================================================================== */
47 
48 #include <stdint.h>
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
54 /* ========================================================================== */
55 /* Macros & Typedefs */
56 /* ========================================================================== */
57 
59 #define TISCI_PARAM_UNDEF (0xFFFFFFFFU)
60 
67 /* ABI Major revision - Major revision changes
68 * indicate backward compatibility breakage */
69 #define SCICLIENT_FIRMWARE_ABI_MAJOR (4U)
70 /* ABI Minor revision - Minor revision changes
71 * indicate backward compatibility is maintained,
72 * however, new messages OR extensions to existing
73 * messages might have been adde */
74 #define SCICLIENT_FIRMWARE_ABI_MINOR (0U)
75 
84 #define SCICLIENT_CONTEXT_R5_0_SEC_0 (0U)
85 
86 #define SCICLIENT_CONTEXT_R5_0_NONSEC_0 (1U)
87 
88 #define SCICLIENT_CONTEXT_R5_0_SEC_1 (2U)
89 
90 #define SCICLIENT_CONTEXT_R5_0_NONSEC_1 (3U)
91 
92 #define SCICLIENT_CONTEXT_A53_SEC_0 (4U)
93 
94 #define SCICLIENT_CONTEXT_A53_NONSEC_0 (5U)
95 
96 #define SCICLIENT_CONTEXT_A53_NONSEC_1 (6U)
97 
98 #define SCICLIENT_CONTEXT_A53_NONSEC_2 (7U)
99 
100 #define SCICLIENT_CONTEXT_M4_NONSEC_0 (8U)
101 
102 #define SCICLIENT_CONTEXT_R5_1_SEC_0 (9U)
103 
104 #define SCICLIENT_CONTEXT_R5_1_NONSEC_0 (10U)
105 
106 #define SCICLIENT_CONTEXT_R5_1_SEC_1 (11U)
107 
108 #define SCICLIENT_CONTEXT_R5_1_NONSEC_1 (12U)
109 
110 #define SCICLIENT_CONTEXT_ICSSG_NONSEC_0 (13U)
111 
112 #define SCICLIENT_CONTEXT_M4_SEC_0 (14U) /* TBD */
113 
115 #define SCICLIENT_CONTEXT_MAX_NUM (15U)
116 
126 #define SCICLIENT_PROCID_A53_CL0_C0 (0x20U)
127 
128 #define SCICLIENT_PROCID_A53_CL0_C1 (0x21U)
129 
130 #define SCICLIENT_PROCID_R5_CL0_C0 (0x01U)
131 
132 #define SCICLIENT_PROCID_R5_CL0_C1 (0x02U)
133 
134 #define SCICLIENT_PROCID_R5_CL1_C0 (0x06U)
135 
136 #define SCICLIENT_PROCID_R5_CL1_C1 (0x07U)
137 /*** AM64_MAIN_SEC_MMR_MAIN_0: (Cluster 16 Processor 0) */
138 #define SCICLIENT_PROCID_MCU_M4FSS0_C0 (0x18U)
139 
140 
144 #define TISCI_MSG_VALUE_RM_NULL_RING_TYPE (0xFFFFu)
145 #define TISCI_MSG_VALUE_RM_NULL_RING_INDEX (0xFFFFFFFFu)
146 #define TISCI_MSG_VALUE_RM_NULL_RING_ADDR (0xFFFFFFFFu)
147 #define TISCI_MSG_VALUE_RM_NULL_RING_COUNT (0xFFFFFFFFu)
148 
153 #define TISCI_MSG_VALUE_RM_NULL_RING_MODE (0xFFu)
154 #define TISCI_MSG_VALUE_RM_NULL_RING_SIZE (0xFFu)
155 #define TISCI_MSG_VALUE_RM_NULL_ORDER_ID (0xFFu)
156 #define TISCI_MSG_VALUE_RM_UDMAP_NULL_CH_TYPE (0xFFu)
157 #define TISCI_MSG_VALUE_RM_UDMAP_NULL_CH_INDEX (0xFFFFFFFFu)
158 
185 #define TISCI_RINGACC0_OES_IRQ_SRC_IDX_START (20U)
186 #define TISCI_RINGACC0_EOES_IRQ_SRC_IDX_START (32U)
187 #define TISCI_TIMERMGR_OES_IRQ_SRC_IDX_START (0U)
188 #define TISCI_PKTDMA0_TX_EOES_IRQ_SRC_IDX_START (4096U)
189 #define TISCI_PKTDMA0_TX_FLOW_OES_IRQ_SRC_IDX_START (4608U)
190 #define TISCI_PKTDMA0_RX_EOES_IRQ_SRC_IDX_START (5120U)
191 #define TISCI_PKTDMA0_RX_FLOW_OES_IRQ_SRC_IDX_START (5632U)
192 #define TISCI_PKTDMA0_RX_FLOW_SOES_IRQ_SRC_IDX_START (6144U)
193 #define TISCI_PKTDMA0_RX_FLOW_FOES_IRQ_SRC_IDX_START (6656U)
194 #define TISCI_BCDMA0_BC_EOES_IRQ_SRC_IDX_START (8192U)
195 #define TISCI_BCDMA0_BC_DC_OES_IRQ_SRC_IDX_START (8704U)
196 #define TISCI_BCDMA0_BC_RC_OES_IRQ_SRC_IDX_START (9216U)
197 #define TISCI_BCDMA0_TX_EOES_IRQ_SRC_IDX_START (9728U)
198 #define TISCI_BCDMA0_TX_DC_OES_IRQ_SRC_IDX_START (10240U)
199 #define TISCI_BCDMA0_TX_RC_OES_IRQ_SRC_IDX_START (10752U)
200 #define TISCI_BCDMA0_RX_EOES_IRQ_SRC_IDX_START (11264U)
201 #define TISCI_BCDMA0_RX_DC_OES_IRQ_SRC_IDX_START (11776U)
202 #define TISCI_BCDMA0_RX_RC_OES_IRQ_SRC_IDX_START (12288U)
203 
206 /* ========================================================================== */
207 /* Structure Declarations */
208 /* ========================================================================== */
209 
210 /* None */
211 
212 #ifdef __cplusplus
213 }
214 #endif
215 
216 #endif /* #ifndef SCICLIENT_FMWMSGPARAMS_H_ */
tisci_clocks.h
tisci_devices.h