aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach2020-09-28 23:57:05 -0500
committerDave Gerlach2020-12-14 12:27:50 -0600
commit02197201493794935cf564ab1b424b7a9145df06 (patch)
tree5e59e4103fc9a75496947d5d02d0e7100cdcbb1a /include
parent11a1ec133dab0f7c86551300b406a680156bfc55 (diff)
downloadk3-image-gen-02197201493794935cf564ab1b424b7a9145df06.tar.gz
k3-image-gen-02197201493794935cf564ab1b424b7a9145df06.tar.xz
k3-image-gen-02197201493794935cf564ab1b424b7a9145df06.zip
soc: am64x: Introduce support for evm
Add support for AM64x SoCs. Base the baseport, PM, and security boardcfg off of other platforms and use generated RM config provided by the sysconfig tool. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/soc/am64x/devices.h193
-rw-r--r--include/soc/am64x/hosts.h78
-rw-r--r--include/soc/am64x/resasg_types.h157
3 files changed, 428 insertions, 0 deletions
diff --git a/include/soc/am64x/devices.h b/include/soc/am64x/devices.h
new file mode 100644
index 000000000..06690e50c
--- /dev/null
+++ b/include/soc/am64x/devices.h
@@ -0,0 +1,193 @@
1/*
2 * K3 System Firmware Board Configuration Data Definitions
3 *
4 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the
16 * distribution.
17 *
18 * Neither the name of Texas Instruments Incorporated nor the names of
19 * its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef SOC_AM64X_DEVICES_H
36#define SOC_AM64X_DEVICES_H
37
38#define AM64X_DEV_ADC0 0
39#define AM64X_DEV_CMP_EVENT_INTROUTER0 1
40#define AM64X_DEV_DBGSUSPENDROUTER0 2
41#define AM64X_DEV_MAIN_GPIOMUX_INTROUTER0 3
42#define AM64X_DEV_MCU_MCU_GPIOMUX_INTROUTER0 5
43#define AM64X_DEV_TIMESYNC_EVENT_INTROUTER0 6
44#define AM64X_DEV_MCU_M4FSS0 7
45#define AM64X_DEV_MCU_M4FSS0_CORE0 9
46#define AM64X_DEV_CPSW0 13
47#define AM64X_DEV_CPT2_AGGR0 14
48#define AM64X_DEV_STM0 15
49#define AM64X_DEV_DCC0 16
50#define AM64X_DEV_DCC1 17
51#define AM64X_DEV_DCC2 18
52#define AM64X_DEV_DCC3 19
53#define AM64X_DEV_DCC4 20
54#define AM64X_DEV_DCC5 21
55#define AM64X_DEV_DMSC0 22
56#define AM64X_DEV_MCU_DCC0 23
57#define AM64X_DEV_DEBUGSS_WRAP0 24
58#define AM64X_DEV_DMASS0 25
59#define AM64X_DEV_DMASS0_BCDMA_0 26
60#define AM64X_DEV_DMASS0_CBASS_0 27
61#define AM64X_DEV_DMASS0_INTAGGR_0 28
62#define AM64X_DEV_DMASS0_IPCSS_0 29
63#define AM64X_DEV_DMASS0_PKTDMA_0 30
64#define AM64X_DEV_DMASS0_PSILCFG_0 31
65#define AM64X_DEV_DMASS0_PSILSS_0 32
66#define AM64X_DEV_DMASS0_RINGACC_0 33
67#define AM64X_DEV_MCU_TIMER0 35
68#define AM64X_DEV_TIMER0 36
69#define AM64X_DEV_TIMER1 37
70#define AM64X_DEV_TIMER2 38
71#define AM64X_DEV_TIMER3 39
72#define AM64X_DEV_TIMER4 40
73#define AM64X_DEV_TIMER5 41
74#define AM64X_DEV_TIMER6 42
75#define AM64X_DEV_TIMER7 43
76#define AM64X_DEV_TIMER8 44
77#define AM64X_DEV_TIMER9 45
78#define AM64X_DEV_TIMER10 46
79#define AM64X_DEV_TIMER11 47
80#define AM64X_DEV_MCU_TIMER1 48
81#define AM64X_DEV_MCU_TIMER2 49
82#define AM64X_DEV_MCU_TIMER3 50
83#define AM64X_DEV_ECAP0 51
84#define AM64X_DEV_ECAP1 52
85#define AM64X_DEV_ECAP2 53
86#define AM64X_DEV_ELM0 54
87#define AM64X_DEV_EMIF_DATA_0_VD 55
88#define AM64X_DEV_MMCSD0 57
89#define AM64X_DEV_MMCSD1 58
90#define AM64X_DEV_EQEP0 59
91#define AM64X_DEV_EQEP1 60
92#define AM64X_DEV_GTC0 61
93#define AM64X_DEV_EQEP2 62
94#define AM64X_DEV_ESM0 63
95#define AM64X_DEV_MCU_ESM0 64
96#define AM64X_DEV_FSIRX0 65
97#define AM64X_DEV_FSIRX1 66
98#define AM64X_DEV_FSIRX2 67
99#define AM64X_DEV_FSIRX3 68
100#define AM64X_DEV_FSIRX4 69
101#define AM64X_DEV_FSIRX5 70
102#define AM64X_DEV_FSITX0 71
103#define AM64X_DEV_FSITX1 72
104#define AM64X_DEV_FSS0 73
105#define AM64X_DEV_FSS0_FSAS_0 74
106#define AM64X_DEV_FSS0_OSPI_0 75
107#define AM64X_DEV_GICSS0 76
108#define AM64X_DEV_GPIO0 77
109#define AM64X_DEV_GPIO1 78
110#define AM64X_DEV_MCU_GPIO0 79
111#define AM64X_DEV_GPMC0 80
112#define AM64X_DEV_PRU_ICSSG0 81
113#define AM64X_DEV_PRU_ICSSG1 82
114#define AM64X_DEV_LED0 83
115#define AM64X_DEV_CPTS0 84
116#define AM64X_DEV_DDPA0 85
117#define AM64X_DEV_EPWM0 86
118#define AM64X_DEV_EPWM1 87
119#define AM64X_DEV_EPWM2 88
120#define AM64X_DEV_EPWM3 89
121#define AM64X_DEV_EPWM4 90
122#define AM64X_DEV_EPWM5 91
123#define AM64X_DEV_EPWM6 92
124#define AM64X_DEV_EPWM7 93
125#define AM64X_DEV_EPWM8 94
126#define AM64X_DEV_VTM0 95
127#define AM64X_DEV_MAILBOX0 96
128#define AM64X_DEV_MAIN2MCU_VD 97
129#define AM64X_DEV_MCAN0 98
130#define AM64X_DEV_MCAN1 99
131#define AM64X_DEV_MCU_MCRC64_0 100
132#define AM64X_DEV_MCU2MAIN_VD 101
133#define AM64X_DEV_I2C0 102
134#define AM64X_DEV_I2C1 103
135#define AM64X_DEV_I2C2 104
136#define AM64X_DEV_I2C3 105
137#define AM64X_DEV_MCU_I2C0 106
138#define AM64X_DEV_MCU_I2C1 107
139#define AM64X_DEV_MSRAM_256K0 108
140#define AM64X_DEV_MSRAM_256K1 109
141#define AM64X_DEV_MSRAM_256K2 110
142#define AM64X_DEV_MSRAM_256K3 111
143#define AM64X_DEV_MSRAM_256K4 112
144#define AM64X_DEV_MSRAM_256K5 113
145#define AM64X_DEV_PCIE0 114
146#define AM64X_DEV_POSTDIV1_16FFT1 115
147#define AM64X_DEV_POSTDIV4_16FF0 116
148#define AM64X_DEV_POSTDIV4_16FF2 117
149#define AM64X_DEV_PSRAMECC0 118
150#define AM64X_DEV_R5FSS0 119
151#define AM64X_DEV_R5FSS1 120
152#define AM64X_DEV_R5FSS0_CORE0 121
153#define AM64X_DEV_R5FSS0_CORE1 122
154#define AM64X_DEV_R5FSS1_CORE0 123
155#define AM64X_DEV_R5FSS1_CORE1 124
156#define AM64X_DEV_RTI0 125
157#define AM64X_DEV_RTI1 126
158#define AM64X_DEV_RTI8 127
159#define AM64X_DEV_RTI9 128
160#define AM64X_DEV_RTI10 130
161#define AM64X_DEV_RTI11 131
162#define AM64X_DEV_MCU_RTI0 132
163#define AM64X_DEV_SA2_UL0 133
164#define AM64X_DEV_COMPUTE_CLUSTER0 134
165#define AM64X_DEV_A53SS0_CORE_0 135
166#define AM64X_DEV_A53SS0_CORE_1 136
167#define AM64X_DEV_A53SS0 137
168#define AM64X_DEV_DDR16SS0 138
169#define AM64X_DEV_PSC0 139
170#define AM64X_DEV_MCU_PSC0 140
171#define AM64X_DEV_MCSPI0 141
172#define AM64X_DEV_MCSPI1 142
173#define AM64X_DEV_MCSPI2 143
174#define AM64X_DEV_MCSPI3 144
175#define AM64X_DEV_MCSPI4 145
176#define AM64X_DEV_UART0 146
177#define AM64X_DEV_MCU_MCSPI0 147
178#define AM64X_DEV_MCU_MCSPI1 148
179#define AM64X_DEV_MCU_UART0 149
180#define AM64X_DEV_SPINLOCK0 150
181#define AM64X_DEV_TIMERMGR0 151
182#define AM64X_DEV_UART1 152
183#define AM64X_DEV_UART2 153
184#define AM64X_DEV_UART3 154
185#define AM64X_DEV_UART4 155
186#define AM64X_DEV_UART5 156
187#define AM64X_DEV_BOARD0 157
188#define AM64X_DEV_UART6 158
189#define AM64X_DEV_MCU_UART1 160
190#define AM64X_DEV_USB0 161
191#define AM64X_DEV_SERDES_10G0 162
192
193#endif /* SOC_AM64X_DEVICES_H */
diff --git a/include/soc/am64x/hosts.h b/include/soc/am64x/hosts.h
new file mode 100644
index 000000000..446d8343d
--- /dev/null
+++ b/include/soc/am64x/hosts.h
@@ -0,0 +1,78 @@
1/*
2 * K3 System Firmware Board Configuration Data Definitions
3 *
4 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the
16 * distribution.
17 *
18 * Neither the name of Texas Instruments Incorporated nor the names of
19 * its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef AM64X_HOSTS_H
36#define AM64X_HOSTS_H
37
38/** DMSC(Secure): Device Management and Security Control */
39#define HOST_ID_DMSC (0U)
40/** MAIN_0_R5_0(Secure): Cortex R5_0 context 0 on Main island(BOOT) */
41#define HOST_ID_MAIN_0_R5_0 (35U)
42/** MAIN_0_R5_1(Non Secure): Cortex R5_0 context 1 on Main island */
43#define HOST_ID_MAIN_0_R5_1 (36U)
44/** MAIN_0_R5_2(Secure): Cortex R5_0 context 2 on Main island */
45#define HOST_ID_MAIN_0_R5_2 (37U)
46/** MAIN_0_R5_3(Non Secure): Cortex R5_0 context 3 on Main island */
47#define HOST_ID_MAIN_0_R5_3 (38U)
48/** A53_0(Secure): Cortex a53 context 0 on Main islana - ATF */
49#define HOST_ID_A53_0 (10U)
50/** A53_1(Non Secure): Cortex A72 context 1 on Main island - EL2/Hyp */
51#define HOST_ID_A53_1 (11U)
52/** A53_2(Non Secure): Cortex A53 context 2 on Main island - VM/OS1 */
53#define HOST_ID_A53_2 (12U)
54/** A53_3(Non Secure): Cortex A53 context 3 on Main island - VM2/OS2 */
55#define HOST_ID_A53_3 (13U)
56/** M4_0(Non Secure): M4 */
57#define HOST_ID_M4_0 (30U)
58/** MAIN_1_R5_0(Secure): Cortex R5_1 context 0 on Main island */
59#define HOST_ID_MAIN_1_R5_0 (40U)
60/** MAIN_1_R5_1(Non Secure): Cortex R5_1 context 1 on Main island */
61#define HOST_ID_MAIN_1_R5_1 (41U)
62/** MAIN_1_R5_2(Secure): Cortex R5_1 context 2 on Main island */
63#define HOST_ID_MAIN_1_R5_2 (42U)
64/** MAIN_1_R5_3(Non Secure): Cortex R5_1 context 3 on Main island */
65#define HOST_ID_MAIN_1_R5_3 (43U)
66/** ICSSG_0(Non Secure): ICSSG context 0 on Main island */
67#define HOST_ID_ICSSG_0 (50U)
68
69/**
70 * Host catch all. Used in board configuration resource assignments to define
71 * resource ranges useable by all hosts. Cannot be used
72 */
73#define HOST_ID_ALL (128U)
74
75/** Number of unique hosts on the SoC */
76#define HOST_ID_CNT (15U)
77
78#endif /* AM64X_HOSTS_H */
diff --git a/include/soc/am64x/resasg_types.h b/include/soc/am64x/resasg_types.h
new file mode 100644
index 000000000..f5ec123d4
--- /dev/null
+++ b/include/soc/am64x/resasg_types.h
@@ -0,0 +1,157 @@
1/*
2 * K3 System Firmware Board Configuration Data Definitions
3 *
4 * Copyright (C) 2019-2020 Texas Instruments Incorporated - https://www.ti.com/
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the
16 * distribution.
17 *
18 * Neither the name of Texas Instruments Incorporated nor the names of
19 * its contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35#ifndef RESASG_TYPES_H
36#define RESASG_TYPES_H
37
38/**
39 * Resource assignment type shift
40 */
41#define RESASG_TYPE_SHIFT (0x0006U)
42/**
43 * Resource assignment type mask
44 */
45#define RESASG_TYPE_MASK (0xFFC0U)
46/**
47 * Resource assignment subtype shift
48 */
49#define RESASG_SUBTYPE_SHIFT (0x0000U)
50/**
51 * Resource assignment subtype mask
52 */
53#define RESASG_SUBTYPE_MASK (0x003FU)
54/**
55 * Macro to create unique resource assignment types using type and subtype
56 */
57
58#define RESASG_UTYPE(type, subtype) \
59 (((type << RESASG_TYPE_SHIFT) & RESASG_TYPE_MASK) |\
60 ((subtype << RESASG_SUBTYPE_SHIFT) & RESASG_SUBTYPE_MASK))
61
62/**
63 * IA subtypes definitions
64 */
65#define RESASG_SUBTYPE_IA_VINT (0x000AU)
66#define RESASG_SUBTYPE_GLOBAL_EVENT_GEVT (0x000BU)
67#define RESASG_SUBTYPE_GLOBAL_EVENT_MEVT (0x000CU)
68#define RESASG_SUBTYPE_GLOBAL_EVENT_SEVT (0x000DU)
69#define RESASG_SUBTYPE_GLOBAL_EVENT_LEVT (0x000EU)
70#define RESASG_SUBTYPE_IA_TIMERMGR_EVT_OES (0x000FU)
71#define RESASG_SUBTYPE_IA_PKTDMA_TX_CHAN_ERROR_OES (0x0010U)
72#define RESASG_SUBTYPE_IA_PKTDMA_TX_FLOW_COMPLETION_OES (0x0011U)
73#define RESASG_SUBTYPE_IA_PKTDMA_RX_CHAN_ERROR_OES (0x0012U)
74#define RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_COMPLETION_OES (0x0013U)
75#define RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_STARVATION_OES (0x0014U)
76#define RESASG_SUBTYPE_IA_PKTDMA_RX_FLOW_FIREWALL_OES (0x0015U)
77#define RESASG_SUBTYPE_IA_BCDMA_CHAN_ERROR_OES (0x0016U)
78#define RESASG_SUBTYPE_IA_BCDMA_CHAN_DATA_COMPLETION_OES (0x0017U)
79#define RESASG_SUBTYPE_IA_BCDMA_CHAN_RING_COMPLETION_OES (0x0018U)
80#define RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_ERROR_OES (0x0019U)
81#define RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_DATA_COMPLETION_OES (0x001AU)
82#define RESASG_SUBTYPE_IA_BCDMA_TX_CHAN_RING_COMPLETION_OES (0x001BU)
83#define RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_ERROR_OES (0x001CU)
84#define RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_DATA_COMPLETION_OES (0x001DU)
85#define RESASG_SUBTYPE_IA_BCDMA_RX_CHAN_RING_COMPLETION_OES (0x001EU)
86#define RESASG_SUBTYPES_IA_CNT (0x0015U)
87
88/**
89 * IR subtypes definitions
90 */
91#define RESASG_SUBTYPE_IR_OUTPUT (0x0000U)
92#define RESASG_SUBTYPES_IR_CNT (0x0001U)
93
94/**
95 * RA subtypes definitions
96 */
97#define RESASG_SUBTYPE_RA_ERROR_OES (0x0000U)
98#define RESASG_SUBTYPE_RA_VIRTID (0x000AU)
99#define RESASG_SUBTYPE_RA_GENERIC_IPC (0x000CU)
100#define RESASG_SUBTYPE_BCDMA_RING_BLOCK_COPY_CHAN (0x000DU)
101#define RESASG_SUBTYPE_BCDMA_RING_SPLIT_TR_RX_CHAN (0x000EU)
102#define RESASG_SUBTYPE_BCDMA_RING_SPLIT_TR_TX_CHAN (0x000FU)
103#define RESASG_SUBTYPE_PKTDMA_RING_UNMAPPED_TX_CHAN (0x0010U)
104#define RESASG_SUBTYPE_PKTDMA_RING_CPSW_TX_CHAN (0x0011U)
105#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_TX_0_CHAN (0x0012U)
106#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_TX_1_CHAN (0x0013U)
107#define RESASG_SUBTYPE_PKTDMA_RING_ICSSG_0_TX_CHAN (0x0014U)
108#define RESASG_SUBTYPE_PKTDMA_RING_ICSSG_1_TX_CHAN (0x0015U)
109#define RESASG_SUBTYPE_PKTDMA_RING_UNMAPPED_RX_CHAN (0x0016U)
110#define RESASG_SUBTYPE_PKTDMA_RING_CPSW_RX_CHAN (0x0017U)
111#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_0_CHAN (0x0018U)
112#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_1_CHAN (0x0019U)
113#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_2_CHAN (0x001AU)
114#define RESASG_SUBTYPE_PKTDMA_RING_SAUL_RX_3_CHAN (0x001BU)
115#define RESASG_SUBTYPE_PKTDMA_RING_ICSSG_0_RX_CHAN (0x001CU)
116#define RESASG_SUBTYPE_PKTDMA_RING_ICSSG_1_RX_CHAN (0x001DU)
117#define RESASG_SUBTYPES_RA_CNT (0x0014U)
118
119/**
120 * UDMAP subtypes definitions
121 */
122#define RESASG_SUBTYPE_GLOBAL_EVENT_TRIGGER (0x0002U)
123#define RESASG_SUBTYPE_UDMAP_GLOBAL_CONFIG (0x0003U)
124#define RESASG_SUBTYPE_BCDMA_BLOCK_COPY_CHAN (0x0020U)
125#define RESASG_SUBTYPE_BCDMA_SPLIT_TR_RX_CHAN (0x0021U)
126#define RESASG_SUBTYPE_BCDMA_SPLIT_TR_TX_CHAN (0x0022U)
127#define RESASG_SUBTYPE_PKTDMA_UNMAPPED_TX_CHAN (0x0023U)
128#define RESASG_SUBTYPE_PKTDMA_CPSW_TX_CHAN (0x0024U)
129#define RESASG_SUBTYPE_PKTDMA_SAUL_TX_0_CHAN (0x0025U)
130#define RESASG_SUBTYPE_PKTDMA_SAUL_TX_1_CHAN (0x0026U)
131#define RESASG_SUBTYPE_PKTDMA_ICSSG_0_TX_CHAN (0x0027U)
132#define RESASG_SUBTYPE_PKTDMA_ICSSG_1_TX_CHAN (0x0028U)
133#define RESASG_SUBTYPE_PKTDMA_UNMAPPED_RX_CHAN (0x0029U)
134#define RESASG_SUBTYPE_PKTDMA_FLOW_UNMAPPED_RX_CHAN (0x002AU)
135#define RESASG_SUBTYPE_PKTDMA_CPSW_RX_CHAN (0x002BU)
136#define RESASG_SUBTYPE_PKTDMA_FLOW_CPSW_RX_CHAN (0x002CU)
137#define RESASG_SUBTYPE_PKTDMA_SAUL_RX_0_CHAN (0x002DU)
138#define RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_0_CHAN (0x002EU)
139#define RESASG_SUBTYPE_PKTDMA_SAUL_RX_1_CHAN (0x002FU)
140#define RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_1_CHAN (0x0030U)
141#define RESASG_SUBTYPE_PKTDMA_SAUL_RX_2_CHAN (0x0031U)
142#define RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_2_CHAN (0x0032U)
143#define RESASG_SUBTYPE_PKTDMA_SAUL_RX_3_CHAN (0x0033U)
144#define RESASG_SUBTYPE_PKTDMA_FLOW_SAUL_RX_3_CHAN (0x0034U)
145#define RESASG_SUBTYPE_PKTDMA_ICSSG_0_RX_CHAN (0x0035U)
146#define RESASG_SUBTYPE_PKTDMA_FLOW_ICSSG_0_RX_CHAN (0x0036U)
147#define RESASG_SUBTYPE_PKTDMA_ICSSG_1_RX_CHAN (0x0037U)
148#define RESASG_SUBTYPE_PKTDMA_FLOW_ICSSG_1_RX_CHAN (0x0038U)
149#define RESASG_SUBTYPES_UDMAP_CNT (0x001BU)
150
151
152/**
153 * Total number of unique resource types for SoC
154 */
155#define RESASG_UTYPE_CNT 72U
156
157#endif /* RESASG_TYPES_H */