RTEMS  5.1
tms570ls3137zwt-pins.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2015 Pavel Pisa <pisa@cmp.felk.cvut.cz>
11  *
12  * Czech Technical University in Prague
13  * Zikova 1903/4
14  * 166 36 Praha 6
15  * Czech Republic
16  *
17  * The license and distribution terms for this file may be
18  * found in the file LICENSE in this distribution or at
19  * http://www.rtems.org/license/LICENSE.
20  */
21 
22 #ifndef LIBBSP_ARM_TMS570_TMS570LS3137ZWT_PINS_H
23 #define LIBBSP_ARM_TMS570_TMS570LS3137ZWT_PINS_H
24 
25 #define TMS570_BALL_W10 TMS570_BALL_WITH_MMR(0, 0)
26 #define TMS570_BALL_W10_GIOB_3 TMS570_PIN_AND_FNC(TMS570_BALL_W10, 0)
27 
28 #define TMS570_BALL_A5 TMS570_BALL_WITH_MMR(0, 1)
29 #define TMS570_BALL_A5_GIOA_0 TMS570_PIN_AND_FNC(TMS570_BALL_A5, 0)
30 
31 #define TMS570_BALL_C3 TMS570_BALL_WITH_MMR(0, 2)
32 #define TMS570_BALL_C3_MIBSPI3NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_C3, 0)
33 #define TMS570_BALL_C3_I2C_SCL TMS570_PIN_AND_FNC(TMS570_BALL_C3, 1)
34 #define TMS570_BALL_C3_HET1_29 TMS570_PIN_WITH_IN_ALT( \
35  TMS570_PIN_AND_FNC(TMS570_BALL_C3, 2), \
36  TMS570_PIN_AND_FNC(TMS570_BALL_A3, 0) | TMS570_PIN_CLEAR_RQ_MASK)
37 
38 #define TMS570_BALL_B2 TMS570_BALL_WITH_MMR(0, 3)
39 #define TMS570_BALL_B2_MIBSPI3NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_B2, 0)
40 #define TMS570_BALL_B2_I2C_SDA TMS570_PIN_AND_FNC(TMS570_BALL_B2, 1)
41 #define TMS570_BALL_B2_HET1_27 TMS570_PIN_WITH_IN_ALT( \
42  TMS570_PIN_AND_FNC(TMS570_BALL_B2, 2), \
43  TMS570_PIN_AND_FNC(TMS570_BALL_A9, 0) | TMS570_PIN_CLEAR_RQ_MASK)
44 
45 #define TMS570_BALL_C2 TMS570_BALL_WITH_MMR(1, 0)
46 #define TMS570_BALL_C2_GIOA_1 TMS570_PIN_AND_FNC(TMS570_BALL_C2, 0)
47 
48 #define TMS570_BALL_E3 TMS570_BALL_WITH_MMR(1, 1)
49 #define TMS570_BALL_E3_HET1_11 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 0)
50 #define TMS570_BALL_E3_MIBSPI3NCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 1)
51 #define TMS570_BALL_E3_HET2_18 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 2)
52 
53 #define TMS570_BALL_E5 TMS570_BALL_WITH_MMR(1, 2)
54 #define TMS570_BALL_E5_ETMDATA_20 TMS570_PIN_AND_FNC(TMS570_BALL_E5, 0)
55 #define TMS570_BALL_E5_EMIF_DATA_4 TMS570_PIN_AND_FNC(TMS570_BALL_E5, 1)
56 
57 #define TMS570_BALL_F5 TMS570_BALL_WITH_MMR(1, 3)
58 #define TMS570_BALL_F5_ETMDATA_21 TMS570_PIN_AND_FNC(TMS570_BALL_F5, 0)
59 #define TMS570_BALL_F5_EMIF_DATA_5 TMS570_PIN_AND_FNC(TMS570_BALL_F5, 1)
60 
61 #define TMS570_BALL_C1 TMS570_BALL_WITH_MMR(2, 0)
62 #define TMS570_BALL_C1_GIOA_2 TMS570_PIN_AND_FNC(TMS570_BALL_C1, 0)
63 #define TMS570_BALL_C1_HET2_00 TMS570_PIN_AND_FNC(TMS570_BALL_C1, 3)
64 
65 #define TMS570_BALL_G5 TMS570_BALL_WITH_MMR(2, 1)
66 #define TMS570_BALL_G5_ETMDATA_22 TMS570_PIN_AND_FNC(TMS570_BALL_G5, 0)
67 #define TMS570_BALL_G5_EMIF_DATA_6 TMS570_PIN_AND_FNC(TMS570_BALL_G5, 1)
68 
69 #define TMS570_BALL_E1 TMS570_BALL_WITH_MMR(2, 2)
70 #define TMS570_BALL_E1_GIOA_3 TMS570_PIN_AND_FNC(TMS570_BALL_E1, 0)
71 #define TMS570_BALL_E1_HET2_02 TMS570_PIN_AND_FNC(TMS570_BALL_E1, 1)
72 
73 #define TMS570_BALL_B5 TMS570_BALL_WITH_MMR(2, 3)
74 #define TMS570_BALL_B5_GIOA_5 TMS570_PIN_AND_FNC(TMS570_BALL_B5, 0)
75 #define TMS570_BALL_B5_EXTCLKIN TMS570_PIN_AND_FNC(TMS570_BALL_B5, 1)
76 
77 #define TMS570_BALL_K5 TMS570_BALL_WITH_MMR(3, 0)
78 #define TMS570_BALL_K5_ETMDATA_23 TMS570_PIN_AND_FNC(TMS570_BALL_K5, 0)
79 #define TMS570_BALL_K5_EMIF_DATA_7 TMS570_PIN_AND_FNC(TMS570_BALL_K5, 1)
80 
81 #define TMS570_BALL_B3 TMS570_BALL_WITH_MMR(3, 1)
82 #define TMS570_BALL_B3_HET1_22 TMS570_PIN_AND_FNC(TMS570_BALL_B3, 0)
83 
84 #define TMS570_BALL_H3 TMS570_BALL_WITH_MMR(3, 2)
85 #define TMS570_BALL_H3_GIOA_6 TMS570_PIN_AND_FNC(TMS570_BALL_H3, 0)
86 #define TMS570_BALL_H3_HET2_04 TMS570_PIN_AND_FNC(TMS570_BALL_H3, 1)
87 
88 #define TMS570_BALL_L5 TMS570_BALL_WITH_MMR(3, 3)
89 #define TMS570_BALL_L5_ETMDATA_24 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 0)
90 #define TMS570_BALL_L5_EMIF_DATA_8 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 1)
91 
92 #define TMS570_BALL_M1 TMS570_BALL_WITH_MMR(4, 0)
93 #define TMS570_BALL_M1_GIOA_7 TMS570_PIN_AND_FNC(TMS570_BALL_M1, 0)
94 #define TMS570_BALL_M1_HET2_06 TMS570_PIN_AND_FNC(TMS570_BALL_M1, 1)
95 
96 #define TMS570_BALL_M5 TMS570_BALL_WITH_MMR(4, 1)
97 #define TMS570_BALL_M5_ETMDATA_25 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 0)
98 #define TMS570_BALL_M5_EMIF_DATA_9 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 1)
99 
100 #define TMS570_BALL_V2 TMS570_BALL_WITH_MMR(4, 2)
101 #define TMS570_BALL_V2_HET1_01 TMS570_PIN_AND_FNC(TMS570_BALL_V2, 0)
102 #define TMS570_BALL_V2_SPI4NENA TMS570_PIN_WITH_IN_ALT( \
103  TMS570_PIN_AND_FNC(TMS570_BALL_V2, 1), \
104  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(24, 0), 0) | TMS570_PIN_CLEAR_RQ_MASK)
105 #define TMS570_BALL_V2_HET2_08 TMS570_PIN_AND_FNC(TMS570_BALL_V2, 4)
106 
107 #define TMS570_BALL_U1 TMS570_BALL_WITH_MMR(4, 3)
108 #define TMS570_BALL_U1_HET1_03 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 0)
109 #define TMS570_BALL_U1_SPI4NCS_0 TMS570_PIN_WITH_IN_ALT( \
110  TMS570_PIN_AND_FNC(TMS570_BALL_U1, 1), \
111  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(24, 1), 0) | TMS570_PIN_CLEAR_RQ_MASK)
112 #define TMS570_BALL_U1_HET2_10 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 4)
113 
114 #define TMS570_BALL_K18 TMS570_BALL_WITH_MMR(5, 0)
115 #define TMS570_BALL_K18_HET1_00 TMS570_PIN_AND_FNC(TMS570_BALL_K18, 0)
116 #define TMS570_BALL_K18_SPI4CLK TMS570_PIN_WITH_IN_ALT( \
117  TMS570_PIN_AND_FNC(TMS570_BALL_K18, 1), \
118  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 1), 0) | TMS570_PIN_CLEAR_RQ_MASK)
119 
120 #define TMS570_BALL_W5 TMS570_BALL_WITH_MMR(5, 1)
121 #define TMS570_BALL_W5_HET1_02 TMS570_PIN_AND_FNC(TMS570_BALL_W5, 0)
122 #define TMS570_BALL_W5_SPI4SIMO TMS570_PIN_WITH_IN_ALT( \
123  TMS570_PIN_AND_FNC(TMS570_BALL_W5, 1), \
124  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 2), 0) | TMS570_PIN_CLEAR_RQ_MASK)
125 
126 #define TMS570_BALL_V6 TMS570_BALL_WITH_MMR(5, 2)
127 #define TMS570_BALL_V6_HET1_05 TMS570_PIN_AND_FNC(TMS570_BALL_V6, 0)
128 #define TMS570_BALL_V6_SPI4SOMI TMS570_PIN_WITH_IN_ALT( \
129  TMS570_PIN_AND_FNC(TMS570_BALL_V6, 1), \
130  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 3), 0) | TMS570_PIN_CLEAR_RQ_MASK)
131 #define TMS570_BALL_V6_HET2_12 TMS570_PIN_AND_FNC(TMS570_BALL_V6, 2)
132 
133 #define TMS570_BALL_N5 TMS570_BALL_WITH_MMR(5, 3)
134 #define TMS570_BALL_N5_ETMDATA_26 TMS570_PIN_AND_FNC(TMS570_BALL_N5, 0)
135 #define TMS570_BALL_N5_EMIF_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_N5, 1)
136 
137 #define TMS570_BALL_T1 TMS570_BALL_WITH_MMR(6, 0)
138 #define TMS570_BALL_T1_HET1_07 TMS570_PIN_AND_FNC(TMS570_BALL_T1, 0)
139 #define TMS570_BALL_T1_HET2_14 TMS570_PIN_AND_FNC(TMS570_BALL_T1, 3)
140 
141 #define TMS570_BALL_P5 TMS570_BALL_WITH_MMR(6, 1)
142 #define TMS570_BALL_P5_ETMDATA_27 TMS570_PIN_AND_FNC(TMS570_BALL_P5, 0)
143 #define TMS570_BALL_P5_EMIF_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_P5, 1)
144 
145 #define TMS570_BALL_V7 TMS570_BALL_WITH_MMR(6, 2)
146 #define TMS570_BALL_V7_HET1_09 TMS570_PIN_AND_FNC(TMS570_BALL_V7, 0)
147 #define TMS570_BALL_V7_HET2_16 TMS570_PIN_AND_FNC(TMS570_BALL_V7, 1)
148 
149 #define TMS570_BALL_R5 TMS570_BALL_WITH_MMR(6, 3)
150 #define TMS570_BALL_R5_ETMDATA_28 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 0)
151 #define TMS570_BALL_R5_EMIF_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 1)
152 
153 #define TMS570_BALL_R6 TMS570_BALL_WITH_MMR(7, 0)
154 #define TMS570_BALL_R6_ETMDATA_29 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 0)
155 #define TMS570_BALL_R6_EMIF_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 1)
156 
157 #define TMS570_BALL_V5 TMS570_BALL_WITH_MMR(7, 1)
158 #define TMS570_BALL_V5_MIBSPI3NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_V5, 0)
159 #define TMS570_BALL_V5_HET1_25 TMS570_PIN_WITH_IN_ALT( \
160  TMS570_PIN_AND_FNC(TMS570_BALL_V5, 1), \
161  TMS570_PIN_AND_FNC(TMS570_BALL_M3, 0) | TMS570_PIN_CLEAR_RQ_MASK)
162 #define TMS570_BALL_V5_MDCLK TMS570_PIN_AND_FNC(TMS570_BALL_V5, 2)
163 
164 #define TMS570_BALL_W3 TMS570_BALL_WITH_MMR(7, 2)
165 #define TMS570_BALL_W3_HET1_06 TMS570_PIN_AND_FNC(TMS570_BALL_W3, 0)
166 #define TMS570_BALL_W3_SCIRX TMS570_PIN_AND_FNC(TMS570_BALL_W3, 1)
167 
168 #define TMS570_BALL_R7 TMS570_BALL_WITH_MMR(7, 3)
169 #define TMS570_BALL_R7_ETMDATA_30 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 0)
170 #define TMS570_BALL_R7_EMIF_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 1)
171 
172 #define TMS570_BALL_N2 TMS570_BALL_WITH_MMR(8, 0)
173 #define TMS570_BALL_N2_HET1_13 TMS570_PIN_AND_FNC(TMS570_BALL_N2, 0)
174 #define TMS570_BALL_N2_SCITX TMS570_PIN_AND_FNC(TMS570_BALL_N2, 1)
175 
176 #define TMS570_BALL_G3 TMS570_BALL_WITH_MMR(8, 1)
177 #define TMS570_BALL_G3_MIBSPI1NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_G3, 0)
178 #define TMS570_BALL_G3_HET1_19 TMS570_PIN_WITH_IN_ALT( \
179  TMS570_PIN_AND_FNC(TMS570_BALL_G3, 1), \
180  TMS570_PIN_AND_FNC(TMS570_BALL_B13, 0) | TMS570_PIN_CLEAR_RQ_MASK)
181 #define TMS570_BALL_G3_MDIO TMS570_PIN_AND_FNC(TMS570_BALL_G3, 2)
182 
183 #define TMS570_BALL_N1 TMS570_BALL_WITH_MMR(8, 2)
184 #define TMS570_BALL_N1_HET1_15 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 0)
185 #define TMS570_BALL_N1_MIBSPI1NCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 1)
186 
187 #define TMS570_BALL_R8 TMS570_BALL_WITH_MMR(8, 3)
188 #define TMS570_BALL_R8_ETMDATA_31 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 0)
189 #define TMS570_BALL_R8_EMIF_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 1)
190 
191 #define TMS570_BALL_R9 TMS570_BALL_WITH_MMR(9, 0)
192 #define TMS570_BALL_R9_ETMTRACECLKIN TMS570_PIN_AND_FNC(TMS570_BALL_R9, 0)
193 #define TMS570_BALL_R9_EXTCLKIN2 TMS570_PIN_AND_FNC(TMS570_BALL_R9, 1)
194 
195 #define TMS570_BALL_W9 TMS570_BALL_WITH_MMR(9, 1)
196 #define TMS570_BALL_W9_MIBSPI3NENA TMS570_PIN_AND_FNC(TMS570_BALL_W9, 0)
197 #define TMS570_BALL_W9_MIBSPI3NCS_5 TMS570_PIN_AND_FNC(TMS570_BALL_W9, 1)
198 #define TMS570_BALL_W9_HET1_31 TMS570_PIN_WITH_IN_ALT( \
199  TMS570_PIN_AND_FNC(TMS570_BALL_W9, 2), \
200  TMS570_PIN_AND_FNC(TMS570_BALL_J17, 0) | TMS570_PIN_CLEAR_RQ_MASK)
201 
202 #define TMS570_BALL_V10 TMS570_BALL_WITH_MMR(9, 2)
203 #define TMS570_BALL_V10_MIBSPI3NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_V10, 0)
204 #define TMS570_BALL_V10_AD2EVT TMS570_PIN_AND_FNC(TMS570_BALL_V10, 1)
205 
206 #define TMS570_BALL_J3 TMS570_BALL_WITH_MMR(9, 3)
207 #define TMS570_BALL_J3_MIBSPI1NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_J3, 0)
208 #define TMS570_BALL_J3_HET1_21 TMS570_PIN_WITH_IN_ALT( \
209  TMS570_PIN_AND_FNC(TMS570_BALL_J3, 1), \
210  TMS570_PIN_AND_FNC(TMS570_BALL_H4, 0) | TMS570_PIN_CLEAR_RQ_MASK)
211 
212 #define TMS570_BALL_N19 TMS570_BALL_WITH_MMR(10, 0)
213 #define TMS570_BALL_N19_AD1EVT TMS570_PIN_AND_FNC(TMS570_BALL_N19, 0)
214 #define TMS570_BALL_N19_MII_RX_ER TMS570_PIN_AND_FNC(TMS570_BALL_N19, 1)
215 #define TMS570_BALL_N19_RMII_RX_ER TMS570_PIN_AND_FNC(TMS570_BALL_N19, 2)
216 
217 #define TMS570_BALL_N15 TMS570_BALL_WITH_MMR(10, 1)
218 #define TMS570_BALL_N15_ETMDATA_19 TMS570_PIN_AND_FNC(TMS570_BALL_N15, 0)
219 #define TMS570_BALL_N15_EMIF_DATA_3 TMS570_PIN_AND_FNC(TMS570_BALL_N15, 1)
220 
221 #define TMS570_BALL_N17 TMS570_BALL_WITH_MMR(10, 2)
222 #define TMS570_BALL_N17_EMIF_nCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 0)
223 #define TMS570_BALL_N17_RTP_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 1)
224 #define TMS570_BALL_N17_HET2_07 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 2)
225 
226 #define TMS570_BALL_M15 TMS570_BALL_WITH_MMR(10, 3)
227 #define TMS570_BALL_M15_ETMDATA_18 TMS570_PIN_AND_FNC(TMS570_BALL_M15, 0)
228 #define TMS570_BALL_M15_EMIF_DATA_2 TMS570_PIN_AND_FNC(TMS570_BALL_M15, 1)
229 
230 #define TMS570_BALL_K17 TMS570_BALL_WITH_MMR(11, 0)
231 #define TMS570_BALL_K17_EMIF_nCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 0)
232 #define TMS570_BALL_K17_RTP_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 1)
233 #define TMS570_BALL_K17_HET2_09 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 2)
234 
235 #define TMS570_BALL_M17 TMS570_BALL_WITH_MMR(11, 1)
236 #define TMS570_BALL_M17_EMIF_nCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_M17, 0)
237 #define TMS570_BALL_M17_RTP_DATA_07 TMS570_PIN_AND_FNC(TMS570_BALL_M17, 1)
238 
239 #define TMS570_BALL_L15 TMS570_BALL_WITH_MMR(11, 2)
240 #define TMS570_BALL_L15_ETMDATA_17 TMS570_PIN_AND_FNC(TMS570_BALL_L15, 0)
241 #define TMS570_BALL_L15_EMIF_DATA_1 TMS570_PIN_AND_FNC(TMS570_BALL_L15, 1)
242 
243 #define TMS570_BALL_P1 TMS570_BALL_WITH_MMR(11, 3)
244 #define TMS570_BALL_P1_HET1_24 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 0)
245 #define TMS570_BALL_P1_MIBSPI1NCS_5 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 1)
246 #define TMS570_BALL_P1_MII_RXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 2)
247 #define TMS570_BALL_P1_RMII_RXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 3)
248 
249 #define TMS570_BALL_A14 TMS570_BALL_WITH_MMR(12, 0)
250 #define TMS570_BALL_A14_HET1_26 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 0)
251 #define TMS570_BALL_A14_MII_RXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 1)
252 #define TMS570_BALL_A14_RMII_RXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 2)
253 
254 #define TMS570_BALL_K15 TMS570_BALL_WITH_MMR(12, 1)
255 #define TMS570_BALL_K15_ETMDATA_16 TMS570_PIN_AND_FNC(TMS570_BALL_K15, 0)
256 #define TMS570_BALL_K15_EMIF_DATA_0 TMS570_PIN_AND_FNC(TMS570_BALL_K15, 1)
257 
258 #define TMS570_BALL_G19 TMS570_BALL_WITH_MMR(12, 2)
259 #define TMS570_BALL_G19_MIBSPI1NENA TMS570_PIN_AND_FNC(TMS570_BALL_G19, 0)
260 #define TMS570_BALL_G19_HET1_23 TMS570_PIN_WITH_IN_ALT( \
261  TMS570_PIN_AND_FNC(TMS570_BALL_G19, 1), \
262  TMS570_PIN_AND_FNC(TMS570_BALL_J4, 0) | TMS570_PIN_CLEAR_RQ_MASK)
263 #define TMS570_BALL_G19_MII_RXD_2 TMS570_PIN_AND_FNC(TMS570_BALL_G19, 2)
264 
265 #define TMS570_BALL_H18 TMS570_BALL_WITH_MMR(12, 3)
266 #define TMS570_BALL_H18_MIBSPI5NENA TMS570_PIN_AND_FNC(TMS570_BALL_H18, 0)
267 #define TMS570_BALL_H18_DMM_DATA_7 TMS570_PIN_AND_FNC(TMS570_BALL_H18, 1)
268 #define TMS570_BALL_H18_MII_RXD_3 TMS570_PIN_AND_FNC(TMS570_BALL_H18, 2)
269 
270 #define TMS570_BALL_J18 TMS570_BALL_WITH_MMR(13, 0)
271 #define TMS570_BALL_J18_MIBSPI5SOMI_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 0)
272 #define TMS570_BALL_J18_DMM_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 1)
273 #define TMS570_BALL_J18_MII_TXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 2)
274 #define TMS570_BALL_J18_RMII_TXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 3)
275 
276 #define TMS570_BALL_J19 TMS570_BALL_WITH_MMR(13, 1)
277 #define TMS570_BALL_J19_MIBSPI5SIMO_0 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 0)
278 #define TMS570_BALL_J19_DMM_DATA_8 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 1)
279 #define TMS570_BALL_J19_MII_TXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 2)
280 #define TMS570_BALL_J19_RMII_TXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 3)
281 
282 #define TMS570_BALL_H19 TMS570_BALL_WITH_MMR(13, 2)
283 #define TMS570_BALL_H19_MIBSPI5CLK TMS570_PIN_AND_FNC(TMS570_BALL_H19, 0)
284 #define TMS570_BALL_H19_DMM_DATA_4 TMS570_PIN_AND_FNC(TMS570_BALL_H19, 1)
285 #define TMS570_BALL_H19_MII_TXEN TMS570_PIN_AND_FNC(TMS570_BALL_H19, 2)
286 #define TMS570_BALL_H19_RMII_TXEN TMS570_PIN_AND_FNC(TMS570_BALL_H19, 3)
287 
288 #define TMS570_BALL_R2 TMS570_BALL_WITH_MMR(13, 3)
289 #define TMS570_BALL_R2_MIBSPI1NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 0)
290 #define TMS570_BALL_R2_MIBSPI1SOMI_1 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 1)
291 #define TMS570_BALL_R2_MII_TXD_2 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 2)
292 
293 #define TMS570_BALL_E18 TMS570_BALL_WITH_MMR(14, 0)
294 #define TMS570_BALL_E18_HET1_08 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 0)
295 #define TMS570_BALL_E18_MIBSPI1SIMO_1 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 1)
296 #define TMS570_BALL_E18_MII_TXD_3 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 2)
297 
298 #define TMS570_BALL_K19 TMS570_BALL_WITH_MMR(14, 1)
299 #define TMS570_BALL_K19_HET1_28 TMS570_PIN_AND_FNC(TMS570_BALL_K19, 0)
300 #define TMS570_BALL_K19_MII_RXCLK TMS570_PIN_AND_FNC(TMS570_BALL_K19, 1)
301 #define TMS570_BALL_K19_RMII_REFCLK TMS570_PIN_AND_FNC(TMS570_BALL_K19, 2)
302 #define TMS570_BALL_K19_MII_RX_AVCLK4 TMS570_PIN_AND_FNC(TMS570_BALL_K19, 3)
303 
304 #define TMS570_BALL_D17 TMS570_BALL_WITH_MMR(14, 2)
305 #define TMS570_BALL_D17_EMIF_nWE TMS570_PIN_AND_FNC(TMS570_BALL_D17, 0)
306 #define TMS570_BALL_D17_EMIF_RNW TMS570_PIN_AND_FNC(TMS570_BALL_D17, 1)
307 
308 #define TMS570_BALL_D16 TMS570_BALL_WITH_MMR(14, 3)
309 #define TMS570_BALL_D16_EMIF_BA_1 TMS570_PIN_AND_FNC(TMS570_BALL_D16, 0)
310 #define TMS570_BALL_D16_HET2_05 TMS570_PIN_AND_FNC(TMS570_BALL_D16, 1)
311 
312 #define TMS570_BALL_C17 TMS570_BALL_WITH_MMR(15, 0)
313 #define TMS570_BALL_C17_EMIF_ADDR_21 TMS570_PIN_AND_FNC(TMS570_BALL_C17, 0)
314 #define TMS570_BALL_C17_RTP_CLK TMS570_PIN_AND_FNC(TMS570_BALL_C17, 1)
315 
316 #define TMS570_BALL_C16 TMS570_BALL_WITH_MMR(15, 1)
317 #define TMS570_BALL_C16_EMIF_ADDR_20 TMS570_PIN_AND_FNC(TMS570_BALL_C16, 0)
318 #define TMS570_BALL_C16_RTP_nSYNC TMS570_PIN_AND_FNC(TMS570_BALL_C16, 1)
319 
320 #define TMS570_BALL_C15 TMS570_BALL_WITH_MMR(15, 2)
321 #define TMS570_BALL_C15_EMIF_ADDR_19 TMS570_PIN_AND_FNC(TMS570_BALL_C15, 0)
322 #define TMS570_BALL_C15_RTP_nENA TMS570_PIN_AND_FNC(TMS570_BALL_C15, 1)
323 
324 #define TMS570_BALL_D15 TMS570_BALL_WITH_MMR(15, 3)
325 #define TMS570_BALL_D15_EMIF_ADDR_18 TMS570_PIN_AND_FNC(TMS570_BALL_D15, 0)
326 #define TMS570_BALL_D15_RTP_DATA_0 TMS570_PIN_AND_FNC(TMS570_BALL_D15, 1)
327 
328 #define TMS570_BALL_E13 TMS570_BALL_WITH_MMR(16, 0)
329 #define TMS570_BALL_E13_ETMDATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_E13, 0)
330 #define TMS570_BALL_E13_EMIF_BA_0 TMS570_PIN_AND_FNC(TMS570_BALL_E13, 1)
331 
332 #define TMS570_BALL_C14 TMS570_BALL_WITH_MMR(16, 1)
333 #define TMS570_BALL_C14_EMIF_ADDR_17 TMS570_PIN_AND_FNC(TMS570_BALL_C14, 0)
334 #define TMS570_BALL_C14_RTP_DATA_01 TMS570_PIN_AND_FNC(TMS570_BALL_C14, 1)
335 
336 #define TMS570_BALL_D14 TMS570_BALL_WITH_MMR(16, 2)
337 #define TMS570_BALL_D14_EMIF_ADDR_16 TMS570_PIN_AND_FNC(TMS570_BALL_D14, 0)
338 #define TMS570_BALL_D14_RTP_DATA_02 TMS570_PIN_AND_FNC(TMS570_BALL_D14, 1)
339 
340 #define TMS570_BALL_E12 TMS570_BALL_WITH_MMR(16, 3)
341 #define TMS570_BALL_E12_ETMDATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_E12, 0)
342 #define TMS570_BALL_E12_EMIF_nOE TMS570_PIN_AND_FNC(TMS570_BALL_E12, 1)
343 
344 #define TMS570_BALL_D19 TMS570_BALL_WITH_MMR(17, 0)
345 #define TMS570_BALL_D19_HET1_10 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 0)
346 #define TMS570_BALL_D19_MII_TX_CLK TMS570_PIN_AND_FNC(TMS570_BALL_D19, 1)
347 #define TMS570_BALL_D19_MII_TX_AVCLK4 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 3)
348 
349 #define TMS570_BALL_E11 TMS570_BALL_WITH_MMR(17, 1)
350 #define TMS570_BALL_E11_ETMDATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_E11, 0)
351 #define TMS570_BALL_E11_EMIF_nDQM_1 TMS570_PIN_AND_FNC(TMS570_BALL_E11, 1)
352 
353 #define TMS570_BALL_B4 TMS570_BALL_WITH_MMR(17, 2)
354 #define TMS570_BALL_B4_HET1_12 TMS570_PIN_AND_FNC(TMS570_BALL_B4, 0)
355 #define TMS570_BALL_B4_MII_CRS TMS570_PIN_AND_FNC(TMS570_BALL_B4, 1)
356 #define TMS570_BALL_B4_RMII_CRS_DV TMS570_PIN_AND_FNC(TMS570_BALL_B4, 2)
357 
358 #define TMS570_BALL_E9 TMS570_BALL_WITH_MMR(17, 3)
359 #define TMS570_BALL_E9_ETMDATA_8 TMS570_PIN_AND_FNC(TMS570_BALL_E9, 0)
360 #define TMS570_BALL_E9_EMIF_ADDR_5 TMS570_PIN_AND_FNC(TMS570_BALL_E9, 1)
361 
362 #define TMS570_BALL_C13 TMS570_BALL_WITH_MMR(18, 0)
363 #define TMS570_BALL_C13_EMIF_ADDR_15 TMS570_PIN_AND_FNC(TMS570_BALL_C13, 0)
364 #define TMS570_BALL_C13_RTP_DATA_03 TMS570_PIN_AND_FNC(TMS570_BALL_C13, 1)
365 
366 #define TMS570_BALL_A11 TMS570_BALL_WITH_MMR(18, 1)
367 #define TMS570_BALL_A11_HET1_14 TMS570_PIN_AND_FNC(TMS570_BALL_A11, 0)
368 
369 #define TMS570_BALL_C12 TMS570_BALL_WITH_MMR(18, 2)
370 #define TMS570_BALL_C12_EMIF_ADDR_14 TMS570_PIN_AND_FNC(TMS570_BALL_C12, 0)
371 #define TMS570_BALL_C12_RTP_DATA_04 TMS570_PIN_AND_FNC(TMS570_BALL_C12, 1)
372 
373 #define TMS570_BALL_M2 TMS570_BALL_WITH_MMR(18, 3)
374 #define TMS570_BALL_M2_GIOB_0 TMS570_PIN_AND_FNC(TMS570_BALL_M2, 0)
375 
376 #define TMS570_BALL_E8 TMS570_BALL_WITH_MMR(19, 0)
377 #define TMS570_BALL_E8_ETMDATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_E8, 0)
378 #define TMS570_BALL_E8_EMIF_ADDR_4 TMS570_PIN_AND_FNC(TMS570_BALL_E8, 1)
379 
380 #define TMS570_BALL_B11 TMS570_BALL_WITH_MMR(19, 1)
381 #define TMS570_BALL_B11_HET1_30 TMS570_PIN_AND_FNC(TMS570_BALL_B11, 0)
382 #define TMS570_BALL_B11_MII_RX_DV TMS570_PIN_AND_FNC(TMS570_BALL_B11, 1)
383 
384 #define TMS570_BALL_E10 TMS570_BALL_WITH_MMR(19, 2)
385 #define TMS570_BALL_E10_ETMDATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_E10, 0)
386 #define TMS570_BALL_E10_EMIF_nDQM_0 TMS570_PIN_AND_FNC(TMS570_BALL_E10, 1)
387 
388 #define TMS570_BALL_E7 TMS570_BALL_WITH_MMR(19, 3)
389 #define TMS570_BALL_E7_ETMDATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_E7, 0)
390 #define TMS570_BALL_E7_EMIF_ADDR_3 TMS570_PIN_AND_FNC(TMS570_BALL_E7, 1)
391 
392 #define TMS570_BALL_C11 TMS570_BALL_WITH_MMR(20, 0)
393 #define TMS570_BALL_C11_EMIF_ADDR_13 TMS570_PIN_AND_FNC(TMS570_BALL_C11, 0)
394 #define TMS570_BALL_C11_RTP_DATA_05 TMS570_PIN_AND_FNC(TMS570_BALL_C11, 1)
395 
396 #define TMS570_BALL_C10 TMS570_BALL_WITH_MMR(20, 1)
397 #define TMS570_BALL_C10_EMIF_ADDR_12 TMS570_PIN_AND_FNC(TMS570_BALL_C10, 0)
398 #define TMS570_BALL_C10_RTP_DATA_06 TMS570_PIN_AND_FNC(TMS570_BALL_C10, 1)
399 
400 #define TMS570_BALL_F3 TMS570_BALL_WITH_MMR(20, 2)
401 #define TMS570_BALL_F3_MIBSPI1NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_F3, 0)
402 #define TMS570_BALL_F3_HET1_17 TMS570_PIN_WITH_IN_ALT( \
403  TMS570_PIN_AND_FNC(TMS570_BALL_F3, 1), \
404  TMS570_PIN_AND_FNC(TMS570_BALL_A13, 0) | TMS570_PIN_CLEAR_RQ_MASK)
405 #define TMS570_BALL_F3_MII_COL TMS570_PIN_AND_FNC(TMS570_BALL_F3, 2)
406 
407 #define TMS570_BALL_C9 TMS570_BALL_WITH_MMR(20, 3)
408 #define TMS570_BALL_C9_EMIF_ADDR_11 TMS570_PIN_AND_FNC(TMS570_BALL_C9, 0)
409 #define TMS570_BALL_C9_RTP_DATA_08 TMS570_PIN_AND_FNC(TMS570_BALL_C9, 1)
410 
411 #define TMS570_BALL_D5 TMS570_BALL_WITH_MMR(21, 0)
412 #define TMS570_BALL_D5_EMIF_ADDR_1 TMS570_PIN_AND_FNC(TMS570_BALL_D5, 0)
413 #define TMS570_BALL_D5_HET2_03 TMS570_PIN_AND_FNC(TMS570_BALL_D5, 1)
414 
415 #define TMS570_BALL_K2 TMS570_BALL_WITH_MMR(21, 1)
416 #define TMS570_BALL_K2_GIOB_1 TMS570_PIN_AND_FNC(TMS570_BALL_K2, 0)
417 
418 #define TMS570_BALL_C8 TMS570_BALL_WITH_MMR(21, 2)
419 #define TMS570_BALL_C8_EMIF_ADDR_10 TMS570_PIN_AND_FNC(TMS570_BALL_C8, 0)
420 #define TMS570_BALL_C8_RTP_DATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_C8, 1)
421 
422 #define TMS570_BALL_C7 TMS570_BALL_WITH_MMR(21, 3)
423 #define TMS570_BALL_C7_EMIF_ADDR_9 TMS570_PIN_AND_FNC(TMS570_BALL_C7, 0)
424 #define TMS570_BALL_C7_RTP_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_C7, 1)
425 
426 #define TMS570_BALL_D4 TMS570_BALL_WITH_MMR(22, 0)
427 #define TMS570_BALL_D4_EMIF_ADDR_0 TMS570_PIN_AND_FNC(TMS570_BALL_D4, 0)
428 #define TMS570_BALL_D4_HET2_01 TMS570_PIN_AND_FNC(TMS570_BALL_D4, 1)
429 
430 #define TMS570_BALL_C5 TMS570_BALL_WITH_MMR(22, 1)
431 #define TMS570_BALL_C5_EMIF_ADDR_7 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 0)
432 #define TMS570_BALL_C5_RTP_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 1)
433 #define TMS570_BALL_C5_HET2_13 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 2)
434 
435 #define TMS570_BALL_C4 TMS570_BALL_WITH_MMR(22, 2)
436 #define TMS570_BALL_C4_EMIF_ADDR_6 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 0)
437 #define TMS570_BALL_C4_RTP_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 1)
438 #define TMS570_BALL_C4_HET2_11 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 2)
439 
440 #define TMS570_BALL_E6 TMS570_BALL_WITH_MMR(22, 3)
441 #define TMS570_BALL_E6_ETMDATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_E6, 0)
442 #define TMS570_BALL_E6_EMIF_ADDR_2 TMS570_PIN_AND_FNC(TMS570_BALL_E6, 1)
443 
444 #define TMS570_BALL_C6 TMS570_BALL_WITH_MMR(23, 0)
445 #define TMS570_BALL_C6_EMIF_ADDR_8 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 0)
446 #define TMS570_BALL_C6_RTP_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 1)
447 #define TMS570_BALL_C6_HET2_15 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 2)
448 
449 #define TMS570_MMR_SELECT_SPI4CLK TMS570_PIN_WITH_IN_ALT( \
450  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 1), 0), \
451  TMS570_PIN_AND_FNC(TMS570_BALL_K18, 1) | TMS570_PIN_CLEAR_RQ_MASK)
452 
453 #define TMS570_MMR_SELECT_SPI4SIMO TMS570_PIN_WITH_IN_ALT( \
454  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 2), 0), \
455  TMS570_PIN_AND_FNC(TMS570_BALL_W5, 1) | TMS570_PIN_CLEAR_RQ_MASK)
456 
457 #define TMS570_MMR_SELECT_SPI4SOMI TMS570_PIN_WITH_IN_ALT( \
458  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(23, 3), 0), \
459  TMS570_PIN_AND_FNC(TMS570_BALL_V6, 1) | TMS570_PIN_CLEAR_RQ_MASK)
460 
461 #define TMS570_MMR_SELECT_SPI4NENA TMS570_PIN_WITH_IN_ALT( \
462  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(24, 0), 0), \
463  TMS570_PIN_AND_FNC(TMS570_BALL_V2, 1) | TMS570_PIN_CLEAR_RQ_MASK)
464 
465 #define TMS570_MMR_SELECT_SPI4NCS_0 TMS570_PIN_WITH_IN_ALT( \
466  TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(24, 1), 0), \
467  TMS570_PIN_AND_FNC(TMS570_BALL_U1, 1) | TMS570_PIN_CLEAR_RQ_MASK)
468 
469 #define TMS570_BALL_A13 TMS570_BALL_WITH_MMR(24, 2)
470 #define TMS570_BALL_A13_HET1_17 TMS570_PIN_WITH_IN_ALT( \
471  TMS570_PIN_AND_FNC(TMS570_BALL_A13, 0), \
472  TMS570_PIN_AND_FNC(TMS570_BALL_F3, 1) | TMS570_PIN_CLEAR_RQ_MASK)
473 
474 #define TMS570_BALL_B13 TMS570_BALL_WITH_MMR(24, 3)
475 #define TMS570_BALL_B13_HET1_19 TMS570_PIN_WITH_IN_ALT( \
476  TMS570_PIN_AND_FNC(TMS570_BALL_B13, 0), \
477  TMS570_PIN_AND_FNC(TMS570_BALL_G3, 1) | TMS570_PIN_CLEAR_RQ_MASK)
478 
479 #define TMS570_BALL_H4 TMS570_BALL_WITH_MMR(25, 0)
480 #define TMS570_BALL_H4_HET1_21 TMS570_PIN_WITH_IN_ALT( \
481  TMS570_PIN_AND_FNC(TMS570_BALL_H4, 0), \
482  TMS570_PIN_AND_FNC(TMS570_BALL_J3, 1) | TMS570_PIN_CLEAR_RQ_MASK)
483 
484 #define TMS570_BALL_J4 TMS570_BALL_WITH_MMR(25, 1)
485 #define TMS570_BALL_J4_HET1_23 TMS570_PIN_WITH_IN_ALT( \
486  TMS570_PIN_AND_FNC(TMS570_BALL_J4, 0), \
487  TMS570_PIN_AND_FNC(TMS570_BALL_G19, 1) | TMS570_PIN_CLEAR_RQ_MASK)
488 
489 #define TMS570_BALL_M3 TMS570_BALL_WITH_MMR(25, 2)
490 #define TMS570_BALL_M3_HET1_25 TMS570_PIN_WITH_IN_ALT( \
491  TMS570_PIN_AND_FNC(TMS570_BALL_M3, 0), \
492  TMS570_PIN_AND_FNC(TMS570_BALL_V5, 1) | TMS570_PIN_CLEAR_RQ_MASK)
493 
494 #define TMS570_BALL_A9 TMS570_BALL_WITH_MMR(25, 3)
495 #define TMS570_BALL_A9_HET1_27 TMS570_PIN_WITH_IN_ALT( \
496  TMS570_PIN_AND_FNC(TMS570_BALL_A9, 0), \
497  TMS570_PIN_AND_FNC(TMS570_BALL_B2, 2) | TMS570_PIN_CLEAR_RQ_MASK)
498 
499 #define TMS570_BALL_A3 TMS570_BALL_WITH_MMR(26, 0)
500 #define TMS570_BALL_A3_HET1_29 TMS570_PIN_WITH_IN_ALT( \
501  TMS570_PIN_AND_FNC(TMS570_BALL_A3, 0), \
502  TMS570_PIN_AND_FNC(TMS570_BALL_C3, 2) | TMS570_PIN_CLEAR_RQ_MASK)
503 
504 #define TMS570_BALL_J17 TMS570_BALL_WITH_MMR(26, 1)
505 #define TMS570_BALL_J17_HET1_31 TMS570_PIN_WITH_IN_ALT( \
506  TMS570_PIN_AND_FNC(TMS570_BALL_J17, 0), \
507  TMS570_PIN_AND_FNC(TMS570_BALL_W9, 2) | TMS570_PIN_CLEAR_RQ_MASK)
508 
509 #define TMS570_BALL_W6 TMS570_BALL_WITH_MMR(26, 2)
510 #define TMS570_BALL_W6_MIBSPI5NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_W6, 0)
511 #define TMS570_BALL_W6_DMM_DATA_2 TMS570_PIN_AND_FNC(TMS570_BALL_W6, 1)
512 
513 #define TMS570_BALL_T12 TMS570_BALL_WITH_MMR(26, 3)
514 #define TMS570_BALL_T12_MIBSPI5NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_T12, 0)
515 #define TMS570_BALL_T12_DMM_DATA_3 TMS570_PIN_AND_FNC(TMS570_BALL_T12, 1)
516 
517 #define TMS570_BALL_E19 TMS570_BALL_WITH_MMR(27, 0)
518 #define TMS570_BALL_E19_MIBSPI5NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_E19, 0)
519 #define TMS570_BALL_E19_DMM_DATA_5 TMS570_PIN_AND_FNC(TMS570_BALL_E19, 1)
520 
521 #define TMS570_BALL_B6 TMS570_BALL_WITH_MMR(27, 1)
522 #define TMS570_BALL_B6_MIBSPI5NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_B6, 0)
523 #define TMS570_BALL_B6_DMM_DATA_6 TMS570_PIN_AND_FNC(TMS570_BALL_B6, 1)
524 
525 #define TMS570_BALL_E16 TMS570_BALL_WITH_MMR(27, 2)
526 #define TMS570_BALL_E16_MIBSPI5SIMO_1 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 0)
527 #define TMS570_BALL_E16_DMM_DATA_9 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 1)
528 
529 #define TMS570_BALL_H17 TMS570_BALL_WITH_MMR(27, 3)
530 #define TMS570_BALL_H17_MIBSPI5SIMO_2 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 0)
531 #define TMS570_BALL_H17_DMM_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 1)
532 
533 #define TMS570_BALL_G17 TMS570_BALL_WITH_MMR(28, 0)
534 #define TMS570_BALL_G17_MIBSPI5SIMO_3 TMS570_PIN_AND_FNC(TMS570_BALL_G17, 0)
535 #define TMS570_BALL_G17_DMM_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_G17, 1)
536 
537 #define TMS570_BALL_E17 TMS570_BALL_WITH_MMR(28, 1)
538 #define TMS570_BALL_E17_MIBSPI5SOMI_1 TMS570_PIN_AND_FNC(TMS570_BALL_E17, 0)
539 #define TMS570_BALL_E17_DMM_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_E17, 1)
540 
541 #define TMS570_BALL_H16 TMS570_BALL_WITH_MMR(28, 2)
542 #define TMS570_BALL_H16_MIBSPI5SOMI_2 TMS570_PIN_AND_FNC(TMS570_BALL_H16, 0)
543 #define TMS570_BALL_H16_DMM_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_H16, 1)
544 
545 #define TMS570_BALL_G16 TMS570_BALL_WITH_MMR(28, 3)
546 #define TMS570_BALL_G16_MIBSPI5SOMI_3 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 0)
547 #define TMS570_BALL_G16_DMM_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 1)
548 
549 #define TMS570_BALL_D3 TMS570_BALL_WITH_MMR(29, 0)
550 #define TMS570_BALL_D3_SPI2NENA TMS570_PIN_AND_FNC(TMS570_BALL_D3, 0)
551 #define TMS570_BALL_D3_SPI2NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_D3, 1)
552 
553 #define TMS570_MMR_SELECT_EMIF_CLK_SEL TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(29, 1), 0)
554 
555 #define TMS570_BALL_F2 TMS570_BALL_WITH_MMR(29, 2)
556 #define TMS570_BALL_F2_GIOB_2 TMS570_PIN_AND_FNC(TMS570_BALL_F2, 0)
557 
558 #define TMS570_MMR_SELECT_GMII_SEL TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(29, 3), 0)
559 
560 #define TMS570_MMR_SELECT_ADC_TRG1 TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(30, 0), 0)
561 #define TMS570_MMR_SELECT_ADC_TRG2 TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(30, 0), 1)
562 
563 /* Default pinmux select */
564 
565 #define TMS570_PINMMR_DEFAULT_INIT_LIST(per_pin_action, common_arg) \
566  per_pin_action(common_arg, TMS570_BALL_W10_GIOB_3) \
567  per_pin_action(common_arg, TMS570_BALL_A5_GIOA_0) \
568  per_pin_action(common_arg, TMS570_BALL_C3_MIBSPI3NCS_3) \
569  per_pin_action(common_arg, TMS570_BALL_B2_MIBSPI3NCS_2) \
570  per_pin_action(common_arg, TMS570_BALL_C2_GIOA_1) \
571  per_pin_action(common_arg, TMS570_BALL_E3_HET1_11) \
572  per_pin_action(common_arg, TMS570_BALL_E5_ETMDATA_20) \
573  per_pin_action(common_arg, TMS570_BALL_F5_ETMDATA_21) \
574  per_pin_action(common_arg, TMS570_BALL_C1_GIOA_2) \
575  per_pin_action(common_arg, TMS570_BALL_G5_ETMDATA_22) \
576  per_pin_action(common_arg, TMS570_BALL_E1_GIOA_3) \
577  per_pin_action(common_arg, TMS570_BALL_B5_GIOA_5) \
578  per_pin_action(common_arg, TMS570_BALL_K5_ETMDATA_23) \
579  per_pin_action(common_arg, TMS570_BALL_B3_HET1_22) \
580  per_pin_action(common_arg, TMS570_BALL_H3_GIOA_6) \
581  per_pin_action(common_arg, TMS570_BALL_L5_ETMDATA_24) \
582  per_pin_action(common_arg, TMS570_BALL_M1_GIOA_7) \
583  per_pin_action(common_arg, TMS570_BALL_M5_ETMDATA_25) \
584  per_pin_action(common_arg, TMS570_BALL_V2_HET1_01) \
585  per_pin_action(common_arg, TMS570_BALL_U1_HET1_03) \
586  per_pin_action(common_arg, TMS570_BALL_K18_HET1_00) \
587  per_pin_action(common_arg, TMS570_BALL_W5_HET1_02) \
588  per_pin_action(common_arg, TMS570_BALL_V6_HET1_05) \
589  per_pin_action(common_arg, TMS570_BALL_N5_ETMDATA_26) \
590  per_pin_action(common_arg, TMS570_BALL_T1_HET1_07) \
591  per_pin_action(common_arg, TMS570_BALL_P5_ETMDATA_27) \
592  per_pin_action(common_arg, TMS570_BALL_V7_HET1_09) \
593  per_pin_action(common_arg, TMS570_BALL_R5_ETMDATA_28) \
594  per_pin_action(common_arg, TMS570_BALL_R6_ETMDATA_29) \
595  per_pin_action(common_arg, TMS570_BALL_V5_MIBSPI3NCS_1) \
596  per_pin_action(common_arg, TMS570_BALL_W3_HET1_06) \
597  per_pin_action(common_arg, TMS570_BALL_R7_ETMDATA_30) \
598  per_pin_action(common_arg, TMS570_BALL_N2_HET1_13) \
599  per_pin_action(common_arg, TMS570_BALL_G3_MIBSPI1NCS_2) \
600  per_pin_action(common_arg, TMS570_BALL_N1_HET1_15) \
601  per_pin_action(common_arg, TMS570_BALL_R8_ETMDATA_31) \
602  per_pin_action(common_arg, TMS570_BALL_R9_ETMTRACECLKIN) \
603  per_pin_action(common_arg, TMS570_BALL_W9_MIBSPI3NENA) \
604  per_pin_action(common_arg, TMS570_BALL_V10_MIBSPI3NCS_0) \
605  per_pin_action(common_arg, TMS570_BALL_J3_MIBSPI1NCS_3) \
606  per_pin_action(common_arg, TMS570_BALL_N19_AD1EVT) \
607  per_pin_action(common_arg, TMS570_BALL_N15_ETMDATA_19) \
608  per_pin_action(common_arg, TMS570_BALL_N17_EMIF_nCS_0) \
609  per_pin_action(common_arg, TMS570_BALL_M15_ETMDATA_18) \
610  per_pin_action(common_arg, TMS570_BALL_K17_EMIF_nCS_3) \
611  per_pin_action(common_arg, TMS570_BALL_M17_EMIF_nCS_4) \
612  per_pin_action(common_arg, TMS570_BALL_L15_ETMDATA_17) \
613  per_pin_action(common_arg, TMS570_BALL_P1_HET1_24) \
614  per_pin_action(common_arg, TMS570_BALL_A14_HET1_26) \
615  per_pin_action(common_arg, TMS570_BALL_K15_ETMDATA_16) \
616  per_pin_action(common_arg, TMS570_BALL_G19_MIBSPI1NENA) \
617  per_pin_action(common_arg, TMS570_BALL_H18_MIBSPI5NENA) \
618  per_pin_action(common_arg, TMS570_BALL_J18_MIBSPI5SOMI_0) \
619  per_pin_action(common_arg, TMS570_BALL_J19_MIBSPI5SIMO_0) \
620  per_pin_action(common_arg, TMS570_BALL_H19_MIBSPI5CLK) \
621  per_pin_action(common_arg, TMS570_BALL_R2_MIBSPI1NCS_0) \
622  per_pin_action(common_arg, TMS570_BALL_E18_HET1_08) \
623  per_pin_action(common_arg, TMS570_BALL_K19_HET1_28) \
624  per_pin_action(common_arg, TMS570_BALL_D17_EMIF_nWE) \
625  per_pin_action(common_arg, TMS570_BALL_D16_EMIF_BA_1) \
626  per_pin_action(common_arg, TMS570_BALL_C17_EMIF_ADDR_21) \
627  per_pin_action(common_arg, TMS570_BALL_C16_EMIF_ADDR_20) \
628  per_pin_action(common_arg, TMS570_BALL_C15_EMIF_ADDR_19) \
629  per_pin_action(common_arg, TMS570_BALL_D15_EMIF_ADDR_18) \
630  per_pin_action(common_arg, TMS570_BALL_E13_ETMDATA_12) \
631  per_pin_action(common_arg, TMS570_BALL_C14_EMIF_ADDR_17) \
632  per_pin_action(common_arg, TMS570_BALL_D14_EMIF_ADDR_16) \
633  per_pin_action(common_arg, TMS570_BALL_E12_ETMDATA_13) \
634  per_pin_action(common_arg, TMS570_BALL_D19_HET1_10) \
635  per_pin_action(common_arg, TMS570_BALL_E11_ETMDATA_14) \
636  per_pin_action(common_arg, TMS570_BALL_B4_HET1_12) \
637  per_pin_action(common_arg, TMS570_BALL_E9_ETMDATA_8) \
638  per_pin_action(common_arg, TMS570_BALL_C13_EMIF_ADDR_15) \
639  per_pin_action(common_arg, TMS570_BALL_A11_HET1_14) \
640  per_pin_action(common_arg, TMS570_BALL_C12_EMIF_ADDR_14) \
641  per_pin_action(common_arg, TMS570_BALL_M2_GIOB_0) \
642  per_pin_action(common_arg, TMS570_BALL_E8_ETMDATA_09) \
643  per_pin_action(common_arg, TMS570_BALL_B11_HET1_30) \
644  per_pin_action(common_arg, TMS570_BALL_E10_ETMDATA_15) \
645  per_pin_action(common_arg, TMS570_BALL_E7_ETMDATA_10) \
646  per_pin_action(common_arg, TMS570_BALL_C11_EMIF_ADDR_13) \
647  per_pin_action(common_arg, TMS570_BALL_C10_EMIF_ADDR_12) \
648  per_pin_action(common_arg, TMS570_BALL_F3_MIBSPI1NCS_1) \
649  per_pin_action(common_arg, TMS570_BALL_C9_EMIF_ADDR_11) \
650  per_pin_action(common_arg, TMS570_BALL_D5_EMIF_ADDR_1) \
651  per_pin_action(common_arg, TMS570_BALL_K2_GIOB_1) \
652  per_pin_action(common_arg, TMS570_BALL_C8_EMIF_ADDR_10) \
653  per_pin_action(common_arg, TMS570_BALL_C7_EMIF_ADDR_9) \
654  per_pin_action(common_arg, TMS570_BALL_D4_EMIF_ADDR_0) \
655  per_pin_action(common_arg, TMS570_BALL_C5_EMIF_ADDR_7) \
656  per_pin_action(common_arg, TMS570_BALL_C4_EMIF_ADDR_6) \
657  per_pin_action(common_arg, TMS570_BALL_E6_ETMDATA_11) \
658  per_pin_action(common_arg, TMS570_BALL_C6_EMIF_ADDR_8) \
659  per_pin_action(common_arg, TMS570_MMR_SELECT_SPI4CLK) \
660  per_pin_action(common_arg, TMS570_MMR_SELECT_SPI4SIMO) \
661  per_pin_action(common_arg, TMS570_MMR_SELECT_SPI4SOMI) \
662  per_pin_action(common_arg, TMS570_MMR_SELECT_SPI4NENA) \
663  per_pin_action(common_arg, TMS570_MMR_SELECT_SPI4NCS_0) \
664  per_pin_action(common_arg, TMS570_BALL_A13_HET1_17) \
665  per_pin_action(common_arg, TMS570_BALL_B13_HET1_19) \
666  per_pin_action(common_arg, TMS570_BALL_H4_HET1_21) \
667  per_pin_action(common_arg, TMS570_BALL_J4_HET1_23) \
668  per_pin_action(common_arg, TMS570_BALL_M3_HET1_25) \
669  per_pin_action(common_arg, TMS570_BALL_A9_HET1_27) \
670  per_pin_action(common_arg, TMS570_BALL_A3_HET1_29) \
671  per_pin_action(common_arg, TMS570_BALL_J17_HET1_31) \
672  per_pin_action(common_arg, TMS570_BALL_W6_MIBSPI5NCS_2) \
673  per_pin_action(common_arg, TMS570_BALL_T12_MIBSPI5NCS_3) \
674  per_pin_action(common_arg, TMS570_BALL_E19_MIBSPI5NCS_0) \
675  per_pin_action(common_arg, TMS570_BALL_B6_MIBSPI5NCS_1) \
676  per_pin_action(common_arg, TMS570_BALL_E16_MIBSPI5SIMO_1) \
677  per_pin_action(common_arg, TMS570_BALL_H17_MIBSPI5SIMO_2) \
678  per_pin_action(common_arg, TMS570_BALL_G17_MIBSPI5SIMO_3) \
679  per_pin_action(common_arg, TMS570_BALL_E17_MIBSPI5SOMI_1) \
680  per_pin_action(common_arg, TMS570_BALL_H16_MIBSPI5SOMI_2) \
681  per_pin_action(common_arg, TMS570_BALL_G16_MIBSPI5SOMI_3) \
682  per_pin_action(common_arg, TMS570_BALL_D3_SPI2NENA) \
683  per_pin_action(common_arg, TMS570_MMR_SELECT_EMIF_CLK_SEL) \
684  per_pin_action(common_arg, TMS570_BALL_F2_GIOB_2) \
685  per_pin_action(common_arg, TMS570_MMR_SELECT_GMII_SEL) \
686  per_pin_action(common_arg, TMS570_MMR_SELECT_ADC_TRG1) \
687 
688 /* End of default PINMMR list */
689 
690 #endif /*LIBBSP_ARM_TMS570_TMS570LS3137ZWT_PINS_H*/