|
RTEMS 6.1-rc1
|
Go to the documentation of this file.
22#ifndef LIBBSP_ARM_TMS570_TMS570LC4357_PINS_H
23#define LIBBSP_ARM_TMS570_TMS570LC4357_PINS_H
25#define TMS570_PIN_MMR_ALT_AD2EVT TMS570_BALL_WITH_MMR(80, 0)
26#define TMS570_PIN_MMR_ALT_ECAP1 TMS570_BALL_WITH_MMR(80, 1)
27#define TMS570_PIN_MMR_ALT_ECAP2 TMS570_BALL_WITH_MMR(80, 2)
28#define TMS570_PIN_MMR_ALT_ECAP3 TMS570_BALL_WITH_MMR(80, 3)
29#define TMS570_PIN_MMR_ALT_ECAP4 TMS570_BALL_WITH_MMR(81, 0)
30#define TMS570_PIN_MMR_ALT_ECAP5 TMS570_BALL_WITH_MMR(81, 1)
31#define TMS570_PIN_MMR_ALT_ECAP6 TMS570_BALL_WITH_MMR(81, 2)
32#define TMS570_PIN_MMR_ALT_GIOA_0 TMS570_BALL_WITH_MMR(83, 3)
33#define TMS570_PIN_MMR_ALT_GIOA_1 TMS570_BALL_WITH_MMR(84, 0)
34#define TMS570_PIN_MMR_ALT_GIOA_2 TMS570_BALL_WITH_MMR(84, 1)
35#define TMS570_PIN_MMR_ALT_GIOA_3 TMS570_BALL_WITH_MMR(84, 2)
36#define TMS570_PIN_MMR_ALT_GIOA_4 TMS570_BALL_WITH_MMR(84, 3)
37#define TMS570_PIN_MMR_ALT_GIOA_5 TMS570_BALL_WITH_MMR(85, 0)
38#define TMS570_PIN_MMR_ALT_GIOA_6 TMS570_BALL_WITH_MMR(85, 1)
39#define TMS570_PIN_MMR_ALT_GIOA_7 TMS570_BALL_WITH_MMR(85, 2)
40#define TMS570_PIN_MMR_ALT_GIOB_0 TMS570_BALL_WITH_MMR(85, 3)
41#define TMS570_PIN_MMR_ALT_GIOB_1 TMS570_BALL_WITH_MMR(86, 0)
42#define TMS570_PIN_MMR_ALT_GIOB_2 TMS570_BALL_WITH_MMR(86, 1)
43#define TMS570_PIN_MMR_ALT_GIOB_3 TMS570_BALL_WITH_MMR(86, 2)
44#define TMS570_PIN_MMR_ALT_GIOB_4 TMS570_BALL_WITH_MMR(86, 3)
45#define TMS570_PIN_MMR_ALT_GIOB_5 TMS570_BALL_WITH_MMR(87, 0)
46#define TMS570_PIN_MMR_ALT_GIOB_6 TMS570_BALL_WITH_MMR(87, 1)
47#define TMS570_PIN_MMR_ALT_GIOB_7 TMS570_BALL_WITH_MMR(87, 2)
48#define TMS570_PIN_MMR_ALT_HET1_17 TMS570_BALL_WITH_MMR(92, 0)
49#define TMS570_PIN_MMR_ALT_HET1_19 TMS570_BALL_WITH_MMR(92, 1)
50#define TMS570_PIN_MMR_ALT_HET1_21 TMS570_BALL_WITH_MMR(92, 2)
51#define TMS570_PIN_MMR_ALT_HET1_23 TMS570_BALL_WITH_MMR(92, 3)
52#define TMS570_PIN_MMR_ALT_HET1_25 TMS570_BALL_WITH_MMR(93, 0)
53#define TMS570_PIN_MMR_ALT_HET1_27 TMS570_BALL_WITH_MMR(93, 1)
54#define TMS570_PIN_MMR_ALT_HET1_29 TMS570_BALL_WITH_MMR(93, 2)
55#define TMS570_PIN_MMR_ALT_HET1_31 TMS570_BALL_WITH_MMR(93, 3)
56#define TMS570_PIN_MMR_ALT_HET2_00 TMS570_BALL_WITH_MMR(94, 0)
57#define TMS570_PIN_MMR_ALT_HET2_01 TMS570_BALL_WITH_MMR(94, 1)
58#define TMS570_PIN_MMR_ALT_HET2_02 TMS570_BALL_WITH_MMR(94, 2)
59#define TMS570_PIN_MMR_ALT_HET2_03 TMS570_BALL_WITH_MMR(94, 3)
60#define TMS570_PIN_MMR_ALT_HET2_04 TMS570_BALL_WITH_MMR(95, 0)
61#define TMS570_PIN_MMR_ALT_HET2_05 TMS570_BALL_WITH_MMR(95, 1)
62#define TMS570_PIN_MMR_ALT_HET2_06 TMS570_BALL_WITH_MMR(95, 2)
63#define TMS570_PIN_MMR_ALT_HET2_07 TMS570_BALL_WITH_MMR(95, 3)
64#define TMS570_PIN_MMR_ALT_HET2_08 TMS570_BALL_WITH_MMR(96, 0)
65#define TMS570_PIN_MMR_ALT_HET2_09 TMS570_BALL_WITH_MMR(96, 1)
66#define TMS570_PIN_MMR_ALT_HET2_10 TMS570_BALL_WITH_MMR(96, 2)
67#define TMS570_PIN_MMR_ALT_HET2_11 TMS570_BALL_WITH_MMR(96, 3)
68#define TMS570_PIN_MMR_ALT_HET2_12 TMS570_BALL_WITH_MMR(97, 0)
69#define TMS570_PIN_MMR_ALT_HET2_13 TMS570_BALL_WITH_MMR(97, 1)
70#define TMS570_PIN_MMR_ALT_HET2_14 TMS570_BALL_WITH_MMR(97, 2)
71#define TMS570_PIN_MMR_ALT_HET2_15 TMS570_BALL_WITH_MMR(97, 3)
72#define TMS570_PIN_MMR_ALT_HET2_16 TMS570_BALL_WITH_MMR(98, 0)
73#define TMS570_PIN_MMR_ALT_HET2_18 TMS570_BALL_WITH_MMR(98, 1)
74#define TMS570_PIN_MMR_ALT_HET2_20 TMS570_BALL_WITH_MMR(98, 2)
75#define TMS570_PIN_MMR_ALT_HET2_22 TMS570_BALL_WITH_MMR(98, 3)
76#define TMS570_PIN_MMR_ALT_MDIO TMS570_BALL_WITH_MMR(87, 3)
77#define TMS570_PIN_MMR_ALT_MIBSPI1NCS_4 TMS570_BALL_WITH_MMR(88, 0)
78#define TMS570_PIN_MMR_ALT_MIBSPI1NCS_5 TMS570_BALL_WITH_MMR(88, 1)
79#define TMS570_PIN_MMR_ALT_MIBSPI2NCS_1 TMS570_BALL_WITH_MMR(88, 2)
80#define TMS570_PIN_MMR_ALT_MII_COL TMS570_BALL_WITH_MMR(89, 2)
81#define TMS570_PIN_MMR_ALT_MII_CRS TMS570_BALL_WITH_MMR(89, 3)
82#define TMS570_PIN_MMR_ALT_MII_RXCLK TMS570_BALL_WITH_MMR(90, 2)
83#define TMS570_PIN_MMR_ALT_MII_RXD_0 TMS570_BALL_WITH_MMR(90, 3)
84#define TMS570_PIN_MMR_ALT_MII_RXD_1 TMS570_BALL_WITH_MMR(91, 0)
85#define TMS570_PIN_MMR_ALT_MII_RXD_2 TMS570_BALL_WITH_MMR(91, 1)
86#define TMS570_PIN_MMR_ALT_MII_RXD_3 TMS570_BALL_WITH_MMR(91, 2)
87#define TMS570_PIN_MMR_ALT_MII_RX_DV TMS570_BALL_WITH_MMR(90, 0)
88#define TMS570_PIN_MMR_ALT_MII_RX_ER TMS570_BALL_WITH_MMR(90, 1)
89#define TMS570_PIN_MMR_ALT_MII_TX_CLK TMS570_BALL_WITH_MMR(91, 3)
90#define TMS570_PIN_MMR_ALT_eQEP1A TMS570_BALL_WITH_MMR(81, 3)
91#define TMS570_PIN_MMR_ALT_eQEP1B TMS570_BALL_WITH_MMR(82, 0)
92#define TMS570_PIN_MMR_ALT_eQEP1I TMS570_BALL_WITH_MMR(82, 1)
93#define TMS570_PIN_MMR_ALT_eQEP1S TMS570_BALL_WITH_MMR(82, 2)
94#define TMS570_PIN_MMR_ALT_eQEP2A TMS570_BALL_WITH_MMR(82, 3)
95#define TMS570_PIN_MMR_ALT_eQEP2B TMS570_BALL_WITH_MMR(83, 0)
96#define TMS570_PIN_MMR_ALT_eQEP2I TMS570_BALL_WITH_MMR(83, 1)
97#define TMS570_PIN_MMR_ALT_eQEP2S TMS570_BALL_WITH_MMR(83, 2)
98#define TMS570_PIN_MMR_ALT_nTZ1_1 TMS570_BALL_WITH_MMR(99, 0)
99#define TMS570_PIN_MMR_ALT_nTZ1_2 TMS570_BALL_WITH_MMR(99, 1)
100#define TMS570_PIN_MMR_ALT_nTZ1_3 TMS570_BALL_WITH_MMR(99, 2)
102#define TMS570_BALL_N19 TMS570_BALL_WITH_MMR(0, 0)
103#define TMS570_BALL_N19_AD1EVT TMS570_PIN_AND_FNC(TMS570_BALL_N19, 0)
104#define TMS570_BALL_N19_MII_RX_ER TMS570_PIN_WITH_IN_ALT( \
105 TMS570_PIN_AND_FNC(TMS570_BALL_N19, 2), \
106 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RX_ER, 1))
107#define TMS570_BALL_N19_RMII_RX_ER TMS570_PIN_AND_FNC(TMS570_BALL_N19, 3)
108#define TMS570_BALL_N19_nTZ1_1 TMS570_PIN_WITH_IN_ALT( \
109 TMS570_PIN_AND_FNC(TMS570_BALL_N19, 5), \
110 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_1, 0))
112#define TMS570_BALL_D4 TMS570_BALL_WITH_MMR(0, 1)
113#define TMS570_BALL_D4_EMIF_ADDR_00 TMS570_PIN_AND_FNC(TMS570_BALL_D4, 0)
114#define TMS570_BALL_D4_HET2_01 TMS570_PIN_WITH_IN_ALT( \
115 TMS570_PIN_AND_FNC(TMS570_BALL_D4, 2), \
116 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_01, 1))
118#define TMS570_BALL_D5 TMS570_BALL_WITH_MMR(0, 2)
119#define TMS570_BALL_D5_EMIF_ADDR_01 TMS570_PIN_AND_FNC(TMS570_BALL_D5, 0)
120#define TMS570_BALL_D5_HET2_03 TMS570_PIN_WITH_IN_ALT( \
121 TMS570_PIN_AND_FNC(TMS570_BALL_D5, 2), \
122 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_03, 1))
124#define TMS570_BALL_C4 TMS570_BALL_WITH_MMR(0, 3)
125#define TMS570_BALL_C4_EMIF_ADDR_06 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 0)
126#define TMS570_BALL_C4_RTP_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 1)
127#define TMS570_BALL_C4_HET2_11 TMS570_PIN_WITH_IN_ALT( \
128 TMS570_PIN_AND_FNC(TMS570_BALL_C4, 2), \
129 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_11, 1))
131#define TMS570_BALL_C5 TMS570_BALL_WITH_MMR(1, 0)
132#define TMS570_BALL_C5_EMIF_ADDR_07 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 0)
133#define TMS570_BALL_C5_RTP_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 1)
134#define TMS570_BALL_C5_HET2_13 TMS570_PIN_WITH_IN_ALT( \
135 TMS570_PIN_AND_FNC(TMS570_BALL_C5, 2), \
136 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_13, 1))
138#define TMS570_BALL_C6 TMS570_BALL_WITH_MMR(1, 1)
139#define TMS570_BALL_C6_EMIF_ADDR_08 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 0)
140#define TMS570_BALL_C6_RTP_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 1)
141#define TMS570_BALL_C6_HET2_15 TMS570_PIN_WITH_IN_ALT( \
142 TMS570_PIN_AND_FNC(TMS570_BALL_C6, 2), \
143 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_15, 1))
145#define TMS570_BALL_C7 TMS570_BALL_WITH_MMR(1, 2)
146#define TMS570_BALL_C7_EMIF_ADDR_09 TMS570_PIN_AND_FNC(TMS570_BALL_C7, 0)
147#define TMS570_BALL_C7_RTP_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_C7, 1)
149#define TMS570_BALL_C8 TMS570_BALL_WITH_MMR(1, 3)
150#define TMS570_BALL_C8_EMIF_ADDR_10 TMS570_PIN_AND_FNC(TMS570_BALL_C8, 0)
151#define TMS570_BALL_C8_RTP_DATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_C8, 1)
153#define TMS570_BALL_C9 TMS570_BALL_WITH_MMR(2, 0)
154#define TMS570_BALL_C9_EMIF_ADDR_11 TMS570_PIN_AND_FNC(TMS570_BALL_C9, 0)
155#define TMS570_BALL_C9_RTP_DATA_08 TMS570_PIN_AND_FNC(TMS570_BALL_C9, 1)
157#define TMS570_BALL_C10 TMS570_BALL_WITH_MMR(2, 1)
158#define TMS570_BALL_C10_EMIF_ADDR_12 TMS570_PIN_AND_FNC(TMS570_BALL_C10, 0)
159#define TMS570_BALL_C10_RTP_DATA_06 TMS570_PIN_AND_FNC(TMS570_BALL_C10, 1)
161#define TMS570_BALL_C11 TMS570_BALL_WITH_MMR(2, 2)
162#define TMS570_BALL_C11_EMIF_ADDR_13 TMS570_PIN_AND_FNC(TMS570_BALL_C11, 0)
163#define TMS570_BALL_C11_RTP_DATA_05 TMS570_PIN_AND_FNC(TMS570_BALL_C11, 1)
165#define TMS570_BALL_C12 TMS570_BALL_WITH_MMR(2, 3)
166#define TMS570_BALL_C12_EMIF_ADDR_14 TMS570_PIN_AND_FNC(TMS570_BALL_C12, 0)
167#define TMS570_BALL_C12_RTP_DATA_04 TMS570_PIN_AND_FNC(TMS570_BALL_C12, 1)
169#define TMS570_BALL_C13 TMS570_BALL_WITH_MMR(3, 0)
170#define TMS570_BALL_C13_EMIF_ADDR_15 TMS570_PIN_AND_FNC(TMS570_BALL_C13, 0)
171#define TMS570_BALL_C13_RTP_DATA_03 TMS570_PIN_AND_FNC(TMS570_BALL_C13, 1)
173#define TMS570_BALL_D14 TMS570_BALL_WITH_MMR(3, 1)
174#define TMS570_BALL_D14_EMIF_ADDR_16 TMS570_PIN_AND_FNC(TMS570_BALL_D14, 0)
175#define TMS570_BALL_D14_RTP_DATA_02 TMS570_PIN_AND_FNC(TMS570_BALL_D14, 1)
177#define TMS570_BALL_C14 TMS570_BALL_WITH_MMR(3, 2)
178#define TMS570_BALL_C14_EMIF_ADDR_17 TMS570_PIN_AND_FNC(TMS570_BALL_C14, 0)
179#define TMS570_BALL_C14_RTP_DATA_01 TMS570_PIN_AND_FNC(TMS570_BALL_C14, 1)
181#define TMS570_BALL_D15 TMS570_BALL_WITH_MMR(3, 3)
182#define TMS570_BALL_D15_EMIF_ADDR_18 TMS570_PIN_AND_FNC(TMS570_BALL_D15, 0)
183#define TMS570_BALL_D15_RTP_DATA_00 TMS570_PIN_AND_FNC(TMS570_BALL_D15, 1)
185#define TMS570_BALL_C15 TMS570_BALL_WITH_MMR(4, 0)
186#define TMS570_BALL_C15_EMIF_ADDR_19 TMS570_PIN_AND_FNC(TMS570_BALL_C15, 0)
187#define TMS570_BALL_C15_RTP_nENA TMS570_PIN_AND_FNC(TMS570_BALL_C15, 1)
189#define TMS570_BALL_C16 TMS570_BALL_WITH_MMR(4, 1)
190#define TMS570_BALL_C16_EMIF_ADDR_20 TMS570_PIN_AND_FNC(TMS570_BALL_C16, 0)
191#define TMS570_BALL_C16_RTP_nSYNC TMS570_PIN_AND_FNC(TMS570_BALL_C16, 1)
193#define TMS570_BALL_C17 TMS570_BALL_WITH_MMR(4, 2)
194#define TMS570_BALL_C17_EMIF_ADDR_21 TMS570_PIN_AND_FNC(TMS570_BALL_C17, 0)
195#define TMS570_BALL_C17_RTP_CLK TMS570_PIN_AND_FNC(TMS570_BALL_C17, 1)
197#define TMS570_BALL_D16 TMS570_BALL_WITH_MMR(8, 3)
198#define TMS570_BALL_D16_EMIF_BA_1 TMS570_PIN_AND_FNC(TMS570_BALL_D16, 0)
199#define TMS570_BALL_D16_ TMS570_PIN_AND_FNC(TMS570_BALL_D16, 1)
200#define TMS570_BALL_D16_HET2_05 TMS570_PIN_WITH_IN_ALT( \
201 TMS570_PIN_AND_FNC(TMS570_BALL_D16, 2), \
202 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_05, 1))
204#define TMS570_BALL_K3 TMS570_BALL_WITH_MMR(9, 0)
205#define TMS570_BALL_K3_EMIF_CLK TMS570_PIN_AND_FNC(TMS570_BALL_K3, 1)
206#define TMS570_BALL_K3_ECLK2 TMS570_PIN_AND_FNC(TMS570_BALL_K3, 2)
208#define TMS570_BALL_R4 TMS570_BALL_WITH_MMR(9, 1)
209#define TMS570_BALL_R4_EMIF_nCAS TMS570_PIN_AND_FNC(TMS570_BALL_R4, 0)
210#define TMS570_BALL_R4_GIOB_3 TMS570_PIN_WITH_IN_ALT( \
211 TMS570_PIN_AND_FNC(TMS570_BALL_R4, 2), \
212 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_3, 1))
214#define TMS570_BALL_N17 TMS570_BALL_WITH_MMR(9, 2)
215#define TMS570_BALL_N17_EMIF_nCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 0)
216#define TMS570_BALL_N17_RTP_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 1)
217#define TMS570_BALL_N17_HET2_07 TMS570_PIN_WITH_IN_ALT( \
218 TMS570_PIN_AND_FNC(TMS570_BALL_N17, 2), \
219 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_07, 1))
221#define TMS570_BALL_L17 TMS570_BALL_WITH_MMR(9, 3)
222#define TMS570_BALL_L17_EMIF_nCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_L17, 0)
223#define TMS570_BALL_L17_GIOB_4 TMS570_PIN_WITH_IN_ALT( \
224 TMS570_PIN_AND_FNC(TMS570_BALL_L17, 2), \
225 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_4, 1))
227#define TMS570_BALL_K17 TMS570_BALL_WITH_MMR(10, 0)
228#define TMS570_BALL_K17_EMIF_nCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 0)
229#define TMS570_BALL_K17_RTP_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 1)
230#define TMS570_BALL_K17_HET2_09 TMS570_PIN_WITH_IN_ALT( \
231 TMS570_PIN_AND_FNC(TMS570_BALL_K17, 2), \
232 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_09, 1))
234#define TMS570_BALL_M17 TMS570_BALL_WITH_MMR(10, 1)
235#define TMS570_BALL_M17_EMIF_nCSl_4 TMS570_PIN_AND_FNC(TMS570_BALL_M17, 0)
236#define TMS570_BALL_M17_RTP_DATA_07 TMS570_PIN_AND_FNC(TMS570_BALL_M17, 1)
237#define TMS570_BALL_M17_GIOB_5 TMS570_PIN_WITH_IN_ALT( \
238 TMS570_PIN_AND_FNC(TMS570_BALL_M17, 2), \
239 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_5, 1))
241#define TMS570_BALL_R3 TMS570_BALL_WITH_MMR(10, 2)
242#define TMS570_BALL_R3_EMIF_nRAS TMS570_PIN_AND_FNC(TMS570_BALL_R3, 0)
243#define TMS570_BALL_R3_GIOB_6 TMS570_PIN_WITH_IN_ALT( \
244 TMS570_PIN_AND_FNC(TMS570_BALL_R3, 2), \
245 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_6, 1))
247#define TMS570_BALL_P3 TMS570_BALL_WITH_MMR(10, 3)
248#define TMS570_BALL_P3_EMIF_nWAIT TMS570_PIN_AND_FNC(TMS570_BALL_P3, 0)
249#define TMS570_BALL_P3_GIOB_7 TMS570_PIN_WITH_IN_ALT( \
250 TMS570_PIN_AND_FNC(TMS570_BALL_P3, 2), \
251 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_7, 1))
253#define TMS570_BALL_D17 TMS570_BALL_WITH_MMR(11, 0)
254#define TMS570_BALL_D17_EMIF_nWE TMS570_PIN_AND_FNC(TMS570_BALL_D17, 0)
255#define TMS570_BALL_D17_EMIF_RNW TMS570_PIN_WITH_IN_ALT( \
256 TMS570_PIN_AND_FNC(TMS570_BALL_D17, 1), \
257 TMS570_PIN_AND_FNC(TMS570_BALL_J1, 1) | TMS570_PIN_CLEAR_RQ_MASK)
259#define TMS570_BALL_E9 TMS570_BALL_WITH_MMR(11, 1)
260#define TMS570_BALL_E9_ETMDATA_08 TMS570_PIN_AND_FNC(TMS570_BALL_E9, 0)
261#define TMS570_BALL_E9_EMIF_ADDR_05 TMS570_PIN_AND_FNC(TMS570_BALL_E9, 1)
263#define TMS570_BALL_E8 TMS570_BALL_WITH_MMR(11, 2)
264#define TMS570_BALL_E8_ETMDATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_E8, 0)
265#define TMS570_BALL_E8_EMIF_ADDR_04 TMS570_PIN_AND_FNC(TMS570_BALL_E8, 1)
267#define TMS570_BALL_E7 TMS570_BALL_WITH_MMR(11, 3)
268#define TMS570_BALL_E7_ETMDATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_E7, 0)
269#define TMS570_BALL_E7_EMIF_ADDR_03 TMS570_PIN_AND_FNC(TMS570_BALL_E7, 1)
271#define TMS570_BALL_E6 TMS570_BALL_WITH_MMR(12, 0)
272#define TMS570_BALL_E6_ETMDATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_E6, 0)
273#define TMS570_BALL_E6_EMIF_ADDR_02 TMS570_PIN_AND_FNC(TMS570_BALL_E6, 1)
275#define TMS570_BALL_E13 TMS570_BALL_WITH_MMR(12, 1)
276#define TMS570_BALL_E13_ETMDATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_E13, 0)
277#define TMS570_BALL_E13_EMIF_BA_0 TMS570_PIN_WITH_IN_ALT( \
278 TMS570_PIN_AND_FNC(TMS570_BALL_E13, 1), \
279 TMS570_PIN_AND_FNC(TMS570_BALL_J4, 1) | TMS570_PIN_CLEAR_RQ_MASK)
281#define TMS570_BALL_E12 TMS570_BALL_WITH_MMR(12, 2)
282#define TMS570_BALL_E12_ETMDATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_E12, 0)
283#define TMS570_BALL_E12_EMIF_nOE TMS570_PIN_WITH_IN_ALT( \
284 TMS570_PIN_AND_FNC(TMS570_BALL_E12, 1), \
285 TMS570_PIN_AND_FNC(TMS570_BALL_A13, 1) | TMS570_PIN_CLEAR_RQ_MASK)
287#define TMS570_BALL_E11 TMS570_BALL_WITH_MMR(12, 3)
288#define TMS570_BALL_E11_ETMDATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_E11, 0)
289#define TMS570_BALL_E11_EMIF_nDQM_1 TMS570_PIN_WITH_IN_ALT( \
290 TMS570_PIN_AND_FNC(TMS570_BALL_E11, 1), \
291 TMS570_PIN_AND_FNC(TMS570_BALL_P2, 1) | TMS570_PIN_CLEAR_RQ_MASK)
293#define TMS570_BALL_E10 TMS570_BALL_WITH_MMR(13, 0)
294#define TMS570_BALL_E10_ETMDATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_E10, 0)
295#define TMS570_BALL_E10_EMIF_nDQM_0 TMS570_PIN_WITH_IN_ALT( \
296 TMS570_PIN_AND_FNC(TMS570_BALL_E10, 1), \
297 TMS570_PIN_AND_FNC(TMS570_BALL_B13, 1) | TMS570_PIN_CLEAR_RQ_MASK)
299#define TMS570_BALL_K15 TMS570_BALL_WITH_MMR(13, 1)
300#define TMS570_BALL_K15_ETMDATA_16 TMS570_PIN_AND_FNC(TMS570_BALL_K15, 0)
301#define TMS570_BALL_K15_EMIF_DATA_00 TMS570_PIN_AND_FNC(TMS570_BALL_K15, 1)
303#define TMS570_BALL_L15 TMS570_BALL_WITH_MMR(13, 2)
304#define TMS570_BALL_L15_ETMDATA_17 TMS570_PIN_AND_FNC(TMS570_BALL_L15, 0)
305#define TMS570_BALL_L15_EMIF_DATA_01 TMS570_PIN_AND_FNC(TMS570_BALL_L15, 1)
307#define TMS570_BALL_M15 TMS570_BALL_WITH_MMR(13, 3)
308#define TMS570_BALL_M15_ETMDATA_18 TMS570_PIN_AND_FNC(TMS570_BALL_M15, 0)
309#define TMS570_BALL_M15_EMIF_DATA_02 TMS570_PIN_AND_FNC(TMS570_BALL_M15, 1)
311#define TMS570_BALL_N15 TMS570_BALL_WITH_MMR(14, 0)
312#define TMS570_BALL_N15_ETMDATA_19 TMS570_PIN_AND_FNC(TMS570_BALL_N15, 0)
313#define TMS570_BALL_N15_EMIF_DATA_03 TMS570_PIN_AND_FNC(TMS570_BALL_N15, 1)
315#define TMS570_BALL_E5 TMS570_BALL_WITH_MMR(14, 1)
316#define TMS570_BALL_E5_ETMDATA_20 TMS570_PIN_AND_FNC(TMS570_BALL_E5, 0)
317#define TMS570_BALL_E5_EMIF_DATA_04 TMS570_PIN_AND_FNC(TMS570_BALL_E5, 1)
319#define TMS570_BALL_F5 TMS570_BALL_WITH_MMR(14, 2)
320#define TMS570_BALL_F5_ETMDATA_21 TMS570_PIN_AND_FNC(TMS570_BALL_F5, 0)
321#define TMS570_BALL_F5_EMIF_DATA_05 TMS570_PIN_AND_FNC(TMS570_BALL_F5, 1)
323#define TMS570_BALL_G5 TMS570_BALL_WITH_MMR(14, 3)
324#define TMS570_BALL_G5_ETMDATA_22 TMS570_PIN_AND_FNC(TMS570_BALL_G5, 0)
325#define TMS570_BALL_G5_EMIF_DATA_06 TMS570_PIN_AND_FNC(TMS570_BALL_G5, 1)
327#define TMS570_BALL_K5 TMS570_BALL_WITH_MMR(15, 0)
328#define TMS570_BALL_K5_ETMDATA_23 TMS570_PIN_AND_FNC(TMS570_BALL_K5, 0)
329#define TMS570_BALL_K5_EMIF_DATA_07 TMS570_PIN_AND_FNC(TMS570_BALL_K5, 1)
331#define TMS570_BALL_L5 TMS570_BALL_WITH_MMR(15, 1)
332#define TMS570_BALL_L5_ETMDATA_24 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 0)
333#define TMS570_BALL_L5_EMIF_DATA_08 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 1)
334#define TMS570_BALL_L5_HET2_24 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 2)
335#define TMS570_BALL_L5_MIBSPI5NCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_L5, 3)
337#define TMS570_BALL_M5 TMS570_BALL_WITH_MMR(15, 2)
338#define TMS570_BALL_M5_ETMDATA_25 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 0)
339#define TMS570_BALL_M5_EMIF_DATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 1)
340#define TMS570_BALL_M5_HET2_25 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 2)
341#define TMS570_BALL_M5_MIBSPI5NCS_5 TMS570_PIN_AND_FNC(TMS570_BALL_M5, 3)
343#define TMS570_BALL_N5 TMS570_BALL_WITH_MMR(15, 3)
344#define TMS570_BALL_N5_ETMDATA_26 TMS570_PIN_AND_FNC(TMS570_BALL_N5, 0)
345#define TMS570_BALL_N5_EMIF_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_N5, 1)
346#define TMS570_BALL_N5_HET2_26 TMS570_PIN_AND_FNC(TMS570_BALL_N5, 2)
348#define TMS570_BALL_P5 TMS570_BALL_WITH_MMR(16, 0)
349#define TMS570_BALL_P5_ETMDATA_27 TMS570_PIN_AND_FNC(TMS570_BALL_P5, 0)
350#define TMS570_BALL_P5_EMIF_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_P5, 1)
351#define TMS570_BALL_P5_HET2_27 TMS570_PIN_AND_FNC(TMS570_BALL_P5, 2)
353#define TMS570_BALL_R5 TMS570_BALL_WITH_MMR(16, 1)
354#define TMS570_BALL_R5_ETMDATA_28 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 0)
355#define TMS570_BALL_R5_EMIF_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 1)
356#define TMS570_BALL_R5_HET2_28 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 2)
357#define TMS570_BALL_R5_GIOA_0 TMS570_PIN_WITH_IN_ALT( \
358 TMS570_PIN_AND_FNC(TMS570_BALL_R5, 3), \
359 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_0, 1))
361#define TMS570_BALL_R6 TMS570_BALL_WITH_MMR(16, 2)
362#define TMS570_BALL_R6_ETMDATA_29 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 0)
363#define TMS570_BALL_R6_EMIF_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 1)
364#define TMS570_BALL_R6_HET2_29 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 2)
365#define TMS570_BALL_R6_GIOA_1 TMS570_PIN_WITH_IN_ALT( \
366 TMS570_PIN_AND_FNC(TMS570_BALL_R6, 3), \
367 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_1, 1))
369#define TMS570_BALL_R7 TMS570_BALL_WITH_MMR(16, 3)
370#define TMS570_BALL_R7_ETMDATA_30 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 0)
371#define TMS570_BALL_R7_EMIF_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 1)
372#define TMS570_BALL_R7_HET2_30 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 2)
373#define TMS570_BALL_R7_GIOA_3 TMS570_PIN_WITH_IN_ALT( \
374 TMS570_PIN_AND_FNC(TMS570_BALL_R7, 3), \
375 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_3, 1))
377#define TMS570_BALL_R8 TMS570_BALL_WITH_MMR(17, 0)
378#define TMS570_BALL_R8_ETMDATA_31 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 0)
379#define TMS570_BALL_R8_EMIF_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 1)
380#define TMS570_BALL_R8_HET2_31 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 2)
381#define TMS570_BALL_R8_GIOA_4 TMS570_PIN_WITH_IN_ALT( \
382 TMS570_PIN_AND_FNC(TMS570_BALL_R8, 3), \
383 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_4, 1))
385#define TMS570_BALL_R9 TMS570_BALL_WITH_MMR(17, 1)
386#define TMS570_BALL_R9_ETMTRACECLKIN TMS570_PIN_AND_FNC(TMS570_BALL_R9, 0)
387#define TMS570_BALL_R9_EXTCLKIN2 TMS570_PIN_AND_FNC(TMS570_BALL_R9, 1)
388#define TMS570_BALL_R9_GIOA_5 TMS570_PIN_WITH_IN_ALT( \
389 TMS570_PIN_AND_FNC(TMS570_BALL_R9, 3), \
390 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_5, 1))
392#define TMS570_BALL_R10 TMS570_BALL_WITH_MMR(17, 2)
393#define TMS570_BALL_R10_ETMTRACECLKOUT TMS570_PIN_AND_FNC(TMS570_BALL_R10, 0)
394#define TMS570_BALL_R10_GIOA_6 TMS570_PIN_WITH_IN_ALT( \
395 TMS570_PIN_AND_FNC(TMS570_BALL_R10, 3), \
396 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_6, 1))
398#define TMS570_BALL_R11 TMS570_BALL_WITH_MMR(17, 3)
399#define TMS570_BALL_R11_ETMTRACECTL TMS570_PIN_AND_FNC(TMS570_BALL_R11, 0)
400#define TMS570_BALL_R11_GIOA_7 TMS570_PIN_WITH_IN_ALT( \
401 TMS570_PIN_AND_FNC(TMS570_BALL_R11, 3), \
402 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_7, 1))
404#define TMS570_BALL_B15 TMS570_BALL_WITH_MMR(18, 0)
405#define TMS570_BALL_B15_FRAYTX1 TMS570_PIN_AND_FNC(TMS570_BALL_B15, 0)
406#define TMS570_BALL_B15_GIOA_2 TMS570_PIN_WITH_IN_ALT( \
407 TMS570_PIN_AND_FNC(TMS570_BALL_B15, 3), \
408 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_2, 1))
410#define TMS570_BALL_B8 TMS570_BALL_WITH_MMR(18, 1)
411#define TMS570_BALL_B8_FRAYTX2 TMS570_PIN_AND_FNC(TMS570_BALL_B8, 0)
412#define TMS570_BALL_B8_GIOB_0 TMS570_PIN_WITH_IN_ALT( \
413 TMS570_PIN_AND_FNC(TMS570_BALL_B8, 3), \
414 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_0, 1))
416#define TMS570_BALL_B16 TMS570_BALL_WITH_MMR(18, 2)
417#define TMS570_BALL_B16_FRAYTXEN1 TMS570_PIN_AND_FNC(TMS570_BALL_B16, 0)
418#define TMS570_BALL_B16_GIOB_1 TMS570_PIN_WITH_IN_ALT( \
419 TMS570_PIN_AND_FNC(TMS570_BALL_B16, 3), \
420 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_1, 1))
422#define TMS570_BALL_B9 TMS570_BALL_WITH_MMR(18, 3)
423#define TMS570_BALL_B9_FRAYTXEN2 TMS570_PIN_AND_FNC(TMS570_BALL_B9, 0)
424#define TMS570_BALL_B9_GIOB_2 TMS570_PIN_WITH_IN_ALT( \
425 TMS570_PIN_AND_FNC(TMS570_BALL_B9, 3), \
426 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_2, 1))
428#define TMS570_BALL_C1 TMS570_BALL_WITH_MMR(19, 0)
429#define TMS570_BALL_C1_GIOA_2 TMS570_PIN_WITH_IN_ALT( \
430 TMS570_PIN_AND_FNC(TMS570_BALL_C1, 0), \
431 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_2, 0))
432#define TMS570_BALL_C1_HET2_00 TMS570_PIN_WITH_IN_ALT( \
433 TMS570_PIN_AND_FNC(TMS570_BALL_C1, 2), \
434 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_00, 1))
435#define TMS570_BALL_C1_eQEP2I TMS570_PIN_WITH_IN_ALT( \
436 TMS570_PIN_AND_FNC(TMS570_BALL_C1, 5), \
437 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP2I, 1))
439#define TMS570_BALL_E1 TMS570_BALL_WITH_MMR(19, 1)
440#define TMS570_BALL_E1_GIOA_3 TMS570_PIN_WITH_IN_ALT( \
441 TMS570_PIN_AND_FNC(TMS570_BALL_E1, 0), \
442 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_3, 0))
443#define TMS570_BALL_E1_HET2_02 TMS570_PIN_WITH_IN_ALT( \
444 TMS570_PIN_AND_FNC(TMS570_BALL_E1, 2), \
445 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_02, 1))
447#define TMS570_BALL_B5 TMS570_BALL_WITH_MMR(19, 2)
448#define TMS570_BALL_B5_GIOA_5 TMS570_PIN_WITH_IN_ALT( \
449 TMS570_PIN_AND_FNC(TMS570_BALL_B5, 0), \
450 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_5, 0))
451#define TMS570_BALL_B5_EXTCLKIN TMS570_PIN_AND_FNC(TMS570_BALL_B5, 3)
452#define TMS570_BALL_B5_ePWM1A TMS570_PIN_AND_FNC(TMS570_BALL_B5, 5)
454#define TMS570_BALL_H3 TMS570_BALL_WITH_MMR(19, 3)
455#define TMS570_BALL_H3_GIOA_6 TMS570_PIN_WITH_IN_ALT( \
456 TMS570_PIN_AND_FNC(TMS570_BALL_H3, 0), \
457 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_6, 0))
458#define TMS570_BALL_H3_HET2_04 TMS570_PIN_WITH_IN_ALT( \
459 TMS570_PIN_AND_FNC(TMS570_BALL_H3, 2), \
460 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_04, 1))
461#define TMS570_BALL_H3_ePWM1B TMS570_PIN_AND_FNC(TMS570_BALL_H3, 5)
463#define TMS570_BALL_M1 TMS570_BALL_WITH_MMR(20, 0)
464#define TMS570_BALL_M1_GIOA_7 TMS570_PIN_WITH_IN_ALT( \
465 TMS570_PIN_AND_FNC(TMS570_BALL_M1, 0), \
466 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOA_7, 0))
467#define TMS570_BALL_M1_HET2_06 TMS570_PIN_WITH_IN_ALT( \
468 TMS570_PIN_AND_FNC(TMS570_BALL_M1, 2), \
469 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_06, 1))
470#define TMS570_BALL_M1_ePWM2A TMS570_PIN_AND_FNC(TMS570_BALL_M1, 5)
472#define TMS570_BALL_F2 TMS570_BALL_WITH_MMR(20, 1)
473#define TMS570_BALL_F2_GIOB_2 TMS570_PIN_WITH_IN_ALT( \
474 TMS570_PIN_AND_FNC(TMS570_BALL_F2, 0), \
475 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_2, 0))
476#define TMS570_BALL_F2_DCAN4TX TMS570_PIN_AND_FNC(TMS570_BALL_F2, 3)
478#define TMS570_BALL_W10 TMS570_BALL_WITH_MMR(20, 2)
479#define TMS570_BALL_W10_GIOB_3 TMS570_PIN_WITH_IN_ALT( \
480 TMS570_PIN_AND_FNC(TMS570_BALL_W10, 0), \
481 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_3, 0))
482#define TMS570_BALL_W10_DCAN4RX TMS570_PIN_AND_FNC(TMS570_BALL_W10, 3)
484#define TMS570_BALL_J2 TMS570_BALL_WITH_MMR(20, 3)
485#define TMS570_BALL_J2_GIOB_6 TMS570_PIN_WITH_IN_ALT( \
486 TMS570_PIN_AND_FNC(TMS570_BALL_J2, 0), \
487 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_6, 0))
488#define TMS570_BALL_J2_nERROR1 TMS570_PIN_AND_FNC(TMS570_BALL_J2, 1)
490#define TMS570_BALL_F1 TMS570_BALL_WITH_MMR(21, 0)
491#define TMS570_BALL_F1_GIOB_7 TMS570_PIN_WITH_IN_ALT( \
492 TMS570_PIN_AND_FNC(TMS570_BALL_F1, 0), \
493 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_GIOB_7, 0))
494#define TMS570_BALL_F1_nERROR2 TMS570_PIN_AND_FNC(TMS570_BALL_F1, 1)
495#define TMS570_BALL_F1_nTZ1_2 TMS570_PIN_WITH_IN_ALT( \
496 TMS570_PIN_AND_FNC(TMS570_BALL_F1, 5), \
497 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_2, 0))
499#define TMS570_BALL_R2 TMS570_BALL_WITH_MMR(21, 1)
500#define TMS570_BALL_R2_MIBSPI1NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 0)
501#define TMS570_BALL_R2_MIBSPI1SOMI_1 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 1)
502#define TMS570_BALL_R2_MII_TXD_2 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 2)
503#define TMS570_BALL_R2_ECAP6 TMS570_PIN_WITH_IN_ALT( \
504 TMS570_PIN_AND_FNC(TMS570_BALL_R2, 5), \
505 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP6, 1))
507#define TMS570_BALL_F3 TMS570_BALL_WITH_MMR(21, 2)
508#define TMS570_BALL_F3_MIBSPI1NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_F3, 0)
509#define TMS570_BALL_F3_MII_COL TMS570_PIN_WITH_IN_ALT( \
510 TMS570_PIN_AND_FNC(TMS570_BALL_F3, 2), \
511 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_COL, 1))
512#define TMS570_BALL_F3_HET1_17 TMS570_PIN_WITH_IN_ALT( \
513 TMS570_PIN_AND_FNC(TMS570_BALL_F3, 3), \
514 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_17, 1))
515#define TMS570_BALL_F3_eQEP1S TMS570_PIN_WITH_IN_ALT( \
516 TMS570_PIN_AND_FNC(TMS570_BALL_F3, 5), \
517 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP1S, 1))
519#define TMS570_BALL_G3 TMS570_BALL_WITH_MMR(21, 3)
520#define TMS570_BALL_G3_MIBSPI1NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_G3, 0)
521#define TMS570_BALL_G3_MDIO TMS570_PIN_WITH_IN_ALT( \
522 TMS570_PIN_AND_FNC(TMS570_BALL_G3, 2), \
523 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MDIO, 1))
524#define TMS570_BALL_G3_HET1_19 TMS570_PIN_WITH_IN_ALT( \
525 TMS570_PIN_AND_FNC(TMS570_BALL_G3, 3), \
526 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_19, 1))
528#define TMS570_BALL_J3 TMS570_BALL_WITH_MMR(22, 0)
529#define TMS570_BALL_J3_MIBSPI1NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_J3, 0)
530#define TMS570_BALL_J3_HET1_21 TMS570_PIN_WITH_IN_ALT( \
531 TMS570_PIN_AND_FNC(TMS570_BALL_J3, 3), \
532 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_21, 1))
533#define TMS570_BALL_J3_nTZ1_3 TMS570_PIN_WITH_IN_ALT( \
534 TMS570_PIN_AND_FNC(TMS570_BALL_J3, 5), \
535 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_3, 0))
537#define TMS570_BALL_G19 TMS570_BALL_WITH_MMR(22, 1)
538#define TMS570_BALL_G19_MIBSPI1NENA TMS570_PIN_AND_FNC(TMS570_BALL_G19, 0)
539#define TMS570_BALL_G19_MII_RXD_2 TMS570_PIN_WITH_IN_ALT( \
540 TMS570_PIN_AND_FNC(TMS570_BALL_G19, 2), \
541 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXD_2, 1))
542#define TMS570_BALL_G19_HET1_23 TMS570_PIN_WITH_IN_ALT( \
543 TMS570_PIN_AND_FNC(TMS570_BALL_G19, 3), \
544 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_23, 1))
545#define TMS570_BALL_G19_ECAP4 TMS570_PIN_WITH_IN_ALT( \
546 TMS570_PIN_AND_FNC(TMS570_BALL_G19, 5), \
547 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP4, 1))
549#define TMS570_BALL_V9 TMS570_BALL_WITH_MMR(22, 2)
550#define TMS570_BALL_V9_MIBSPI3CLK TMS570_PIN_AND_FNC(TMS570_BALL_V9, 0)
551#define TMS570_BALL_V9_AD1EXT_SEL_01 TMS570_PIN_WITH_IN_ALT( \
552 TMS570_PIN_AND_FNC(TMS570_BALL_V9, 1), \
553 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 4) | TMS570_PIN_CLEAR_RQ_MASK)
554#define TMS570_BALL_V9_eQEP1A TMS570_PIN_WITH_IN_ALT( \
555 TMS570_PIN_AND_FNC(TMS570_BALL_V9, 5), \
556 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP1A, 1))
558#define TMS570_BALL_V10 TMS570_BALL_WITH_MMR(22, 3)
559#define TMS570_BALL_V10_MIBSPI3NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_V10, 0)
560#define TMS570_BALL_V10_AD2EVT TMS570_PIN_WITH_IN_ALT( \
561 TMS570_PIN_AND_FNC(TMS570_BALL_V10, 1), \
562 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_AD2EVT, 1))
563#define TMS570_BALL_V10_eQEP1I TMS570_PIN_WITH_IN_ALT( \
564 TMS570_PIN_AND_FNC(TMS570_BALL_V10, 5), \
565 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP1I, 1))
567#define TMS570_BALL_V5 TMS570_BALL_WITH_MMR(23, 0)
568#define TMS570_BALL_V5_MIBSPI3NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_V5, 0)
569#define TMS570_BALL_V5_MDCLK TMS570_PIN_AND_FNC(TMS570_BALL_V5, 2)
570#define TMS570_BALL_V5_HET1_25 TMS570_PIN_WITH_IN_ALT( \
571 TMS570_PIN_AND_FNC(TMS570_BALL_V5, 3), \
572 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_25, 1))
574#define TMS570_BALL_B2 TMS570_BALL_WITH_MMR(23, 1)
575#define TMS570_BALL_B2_MIBSPI3NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_B2, 0)
576#define TMS570_BALL_B2_I2C1_SDA TMS570_PIN_AND_FNC(TMS570_BALL_B2, 1)
577#define TMS570_BALL_B2_HET1_27 TMS570_PIN_WITH_IN_ALT( \
578 TMS570_PIN_AND_FNC(TMS570_BALL_B2, 3), \
579 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_27, 1))
580#define TMS570_BALL_B2_nTZ1_2 TMS570_PIN_WITH_IN_ALT( \
581 TMS570_PIN_AND_FNC(TMS570_BALL_B2, 5), \
582 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_2, 1))
584#define TMS570_BALL_C3 TMS570_BALL_WITH_MMR(23, 2)
585#define TMS570_BALL_C3_MIBSPI3NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_C3, 0)
586#define TMS570_BALL_C3_I2C1_SCL TMS570_PIN_AND_FNC(TMS570_BALL_C3, 1)
587#define TMS570_BALL_C3_HET1_29 TMS570_PIN_WITH_IN_ALT( \
588 TMS570_PIN_AND_FNC(TMS570_BALL_C3, 3), \
589 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_29, 1))
590#define TMS570_BALL_C3_nTZ1_1 TMS570_PIN_WITH_IN_ALT( \
591 TMS570_PIN_AND_FNC(TMS570_BALL_C3, 5), \
592 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_1, 1))
594#define TMS570_BALL_W9 TMS570_BALL_WITH_MMR(23, 3)
595#define TMS570_BALL_W9_MIBSPI3NENA TMS570_PIN_AND_FNC(TMS570_BALL_W9, 0)
596#define TMS570_BALL_W9_MIBSPI3NCS_5 TMS570_PIN_AND_FNC(TMS570_BALL_W9, 1)
597#define TMS570_BALL_W9_HET1_31 TMS570_PIN_WITH_IN_ALT( \
598 TMS570_PIN_AND_FNC(TMS570_BALL_W9, 3), \
599 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_31, 1))
600#define TMS570_BALL_W9_eQEP1B TMS570_PIN_WITH_IN_ALT( \
601 TMS570_PIN_AND_FNC(TMS570_BALL_W9, 5), \
602 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP1B, 1))
604#define TMS570_BALL_W8 TMS570_BALL_WITH_MMR(24, 0)
605#define TMS570_BALL_W8_MIBSPI3SIMO TMS570_PIN_AND_FNC(TMS570_BALL_W8, 0)
606#define TMS570_BALL_W8_AD1EXT_SEL_00 TMS570_PIN_WITH_IN_ALT( \
607 TMS570_PIN_AND_FNC(TMS570_BALL_W8, 1), \
608 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 4) | TMS570_PIN_CLEAR_RQ_MASK)
609#define TMS570_BALL_W8_ECAP3 TMS570_PIN_WITH_IN_ALT( \
610 TMS570_PIN_AND_FNC(TMS570_BALL_W8, 5), \
611 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP3, 1))
613#define TMS570_BALL_V8 TMS570_BALL_WITH_MMR(24, 1)
614#define TMS570_BALL_V8_MIBSPI3SOMI TMS570_PIN_AND_FNC(TMS570_BALL_V8, 0)
615#define TMS570_BALL_V8_EXT_ENA TMS570_PIN_WITH_IN_ALT( \
616 TMS570_PIN_AND_FNC(TMS570_BALL_V8, 1), \
617 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 4) | TMS570_PIN_CLEAR_RQ_MASK)
618#define TMS570_BALL_V8_ECAP2 TMS570_PIN_WITH_IN_ALT( \
619 TMS570_PIN_AND_FNC(TMS570_BALL_V8, 5), \
620 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP2, 1))
622#define TMS570_BALL_H19 TMS570_BALL_WITH_MMR(24, 2)
623#define TMS570_BALL_H19_MIBSPI5CLK TMS570_PIN_AND_FNC(TMS570_BALL_H19, 0)
624#define TMS570_BALL_H19_DMM_DATA_04 TMS570_PIN_AND_FNC(TMS570_BALL_H19, 1)
625#define TMS570_BALL_H19_MII_TXEN TMS570_PIN_AND_FNC(TMS570_BALL_H19, 2)
626#define TMS570_BALL_H19_RMII_TXEN TMS570_PIN_AND_FNC(TMS570_BALL_H19, 3)
628#define TMS570_BALL_E19 TMS570_BALL_WITH_MMR(24, 3)
629#define TMS570_BALL_E19_MIBSPI5NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_E19, 0)
630#define TMS570_BALL_E19_DMM_DATA_05 TMS570_PIN_AND_FNC(TMS570_BALL_E19, 1)
631#define TMS570_BALL_E19_ePWM4A TMS570_PIN_AND_FNC(TMS570_BALL_E19, 5)
633#define TMS570_BALL_B6 TMS570_BALL_WITH_MMR(25, 0)
634#define TMS570_BALL_B6_MIBSPI5NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_B6, 0)
635#define TMS570_BALL_B6_DMM_DATA_06 TMS570_PIN_AND_FNC(TMS570_BALL_B6, 1)
637#define TMS570_BALL_W6 TMS570_BALL_WITH_MMR(25, 1)
638#define TMS570_BALL_W6_MIBSPI5NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_W6, 0)
639#define TMS570_BALL_W6_DMM_DATA_02 TMS570_PIN_AND_FNC(TMS570_BALL_W6, 1)
641#define TMS570_BALL_T12 TMS570_BALL_WITH_MMR(25, 2)
642#define TMS570_BALL_T12_MIBSPI5NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_T12, 0)
643#define TMS570_BALL_T12_DMM_DATA_03 TMS570_PIN_AND_FNC(TMS570_BALL_T12, 1)
645#define TMS570_BALL_H18 TMS570_BALL_WITH_MMR(25, 3)
646#define TMS570_BALL_H18_MIBSPI5NENA TMS570_PIN_AND_FNC(TMS570_BALL_H18, 0)
647#define TMS570_BALL_H18_DMM_DATA_07 TMS570_PIN_AND_FNC(TMS570_BALL_H18, 1)
648#define TMS570_BALL_H18_MII_RXD_3 TMS570_PIN_WITH_IN_ALT( \
649 TMS570_PIN_AND_FNC(TMS570_BALL_H18, 2), \
650 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXD_3, 1))
651#define TMS570_BALL_H18_ECAP5 TMS570_PIN_WITH_IN_ALT( \
652 TMS570_PIN_AND_FNC(TMS570_BALL_H18, 5), \
653 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP5, 1))
655#define TMS570_BALL_J19 TMS570_BALL_WITH_MMR(26, 0)
656#define TMS570_BALL_J19_MIBSPI5SIMO_0 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 0)
657#define TMS570_BALL_J19_DMM_DATA_08 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 1)
658#define TMS570_BALL_J19_MII_TXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 2)
659#define TMS570_BALL_J19_RMII_TXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_J19, 3)
661#define TMS570_BALL_E16 TMS570_BALL_WITH_MMR(26, 1)
662#define TMS570_BALL_E16_MIBSPI5SIMO_1 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 0)
663#define TMS570_BALL_E16_DMM_DATA_09 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 1)
664#define TMS570_BALL_E16_AD1EXT_SEL_00 TMS570_PIN_WITH_IN_ALT( \
665 TMS570_PIN_AND_FNC(TMS570_BALL_E16, 4), \
666 TMS570_PIN_AND_FNC(TMS570_BALL_W8, 1) | TMS570_PIN_CLEAR_RQ_MASK)
668#define TMS570_BALL_H17 TMS570_BALL_WITH_MMR(26, 2)
669#define TMS570_BALL_H17_MIBSPI5SIMO_2 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 0)
670#define TMS570_BALL_H17_DMM_DATA_10 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 1)
671#define TMS570_BALL_H17_AD1EXT_SEL_01 TMS570_PIN_WITH_IN_ALT( \
672 TMS570_PIN_AND_FNC(TMS570_BALL_H17, 4), \
673 TMS570_PIN_AND_FNC(TMS570_BALL_V9, 1) | TMS570_PIN_CLEAR_RQ_MASK)
675#define TMS570_BALL_G17 TMS570_BALL_WITH_MMR(26, 3)
676#define TMS570_BALL_G17_MIBSPI5SIMO_3 TMS570_PIN_AND_FNC(TMS570_BALL_G17, 0)
677#define TMS570_BALL_G17_DMM_DATA_11 TMS570_PIN_AND_FNC(TMS570_BALL_G17, 1)
678#define TMS570_BALL_G17_I2C2_SDA TMS570_PIN_AND_FNC(TMS570_BALL_G17, 2)
679#define TMS570_BALL_G17_AD1EXT_SEL_02 TMS570_PIN_AND_FNC(TMS570_BALL_G17, 4)
681#define TMS570_BALL_J18 TMS570_BALL_WITH_MMR(27, 0)
682#define TMS570_BALL_J18_MIBSPI5SOMI_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 0)
683#define TMS570_BALL_J18_DMM_DATA_12 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 1)
684#define TMS570_BALL_J18_MII_TXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 2)
685#define TMS570_BALL_J18_RMII_TXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_J18, 3)
687#define TMS570_BALL_E17 TMS570_BALL_WITH_MMR(27, 1)
688#define TMS570_BALL_E17_MIBSPI5SOMI_1 TMS570_PIN_AND_FNC(TMS570_BALL_E17, 0)
689#define TMS570_BALL_E17_DMM_DATA_13 TMS570_PIN_AND_FNC(TMS570_BALL_E17, 1)
690#define TMS570_BALL_E17_AD1EXT_SEL_03 TMS570_PIN_AND_FNC(TMS570_BALL_E17, 4)
692#define TMS570_BALL_H16 TMS570_BALL_WITH_MMR(27, 2)
693#define TMS570_BALL_H16_MIBSPI5SOMI_2 TMS570_PIN_AND_FNC(TMS570_BALL_H16, 0)
694#define TMS570_BALL_H16_DMM_DATA_14 TMS570_PIN_AND_FNC(TMS570_BALL_H16, 1)
695#define TMS570_BALL_H16_AD1EXT_SEL_04 TMS570_PIN_AND_FNC(TMS570_BALL_H16, 4)
697#define TMS570_BALL_G16 TMS570_BALL_WITH_MMR(27, 3)
698#define TMS570_BALL_G16_MIBSPI5SOMI_3 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 0)
699#define TMS570_BALL_G16_DMM_DATA_15 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 1)
700#define TMS570_BALL_G16_I2C2_SCL TMS570_PIN_AND_FNC(TMS570_BALL_G16, 2)
701#define TMS570_BALL_G16_EXT_ENA TMS570_PIN_WITH_IN_ALT( \
702 TMS570_PIN_AND_FNC(TMS570_BALL_G16, 4), \
703 TMS570_PIN_AND_FNC(TMS570_BALL_V8, 1) | TMS570_PIN_CLEAR_RQ_MASK)
705#define TMS570_BALL_K18 TMS570_BALL_WITH_MMR(28, 0)
706#define TMS570_BALL_K18_HET1_00 TMS570_PIN_AND_FNC(TMS570_BALL_K18, 0)
707#define TMS570_BALL_K18_MIBSPI4CLK TMS570_PIN_AND_FNC(TMS570_BALL_K18, 1)
708#define TMS570_BALL_K18_ePWM2B TMS570_PIN_AND_FNC(TMS570_BALL_K18, 5)
710#define TMS570_BALL_V2 TMS570_BALL_WITH_MMR(28, 1)
711#define TMS570_BALL_V2_HET1_01 TMS570_PIN_AND_FNC(TMS570_BALL_V2, 0)
712#define TMS570_BALL_V2_MIBSPI4NENA TMS570_PIN_AND_FNC(TMS570_BALL_V2, 1)
713#define TMS570_BALL_V2_HET2_08 TMS570_PIN_WITH_IN_ALT( \
714 TMS570_PIN_AND_FNC(TMS570_BALL_V2, 3), \
715 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_08, 1))
716#define TMS570_BALL_V2_eQEP2A TMS570_PIN_WITH_IN_ALT( \
717 TMS570_PIN_AND_FNC(TMS570_BALL_V2, 5), \
718 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP2A, 1))
720#define TMS570_BALL_W5 TMS570_BALL_WITH_MMR(28, 2)
721#define TMS570_BALL_W5_HET1_02 TMS570_PIN_AND_FNC(TMS570_BALL_W5, 0)
722#define TMS570_BALL_W5_MIBSPI4SIMO TMS570_PIN_AND_FNC(TMS570_BALL_W5, 1)
723#define TMS570_BALL_W5_ePWM3A TMS570_PIN_AND_FNC(TMS570_BALL_W5, 5)
725#define TMS570_BALL_U1 TMS570_BALL_WITH_MMR(28, 3)
726#define TMS570_BALL_U1_HET1_03 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 0)
727#define TMS570_BALL_U1_MIBSPI4NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 1)
728#define TMS570_BALL_U1_HET2_10 TMS570_PIN_WITH_IN_ALT( \
729 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 3), \
730 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_10, 1))
731#define TMS570_BALL_U1_eQEP2B TMS570_PIN_WITH_IN_ALT( \
732 TMS570_PIN_AND_FNC(TMS570_BALL_U1, 5), \
733 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP2B, 1))
735#define TMS570_BALL_B12 TMS570_BALL_WITH_MMR(29, 0)
736#define TMS570_BALL_B12_HET1_04 TMS570_PIN_AND_FNC(TMS570_BALL_B12, 0)
737#define TMS570_BALL_B12_MIBSPI4NCS_1 TMS570_PIN_AND_FNC(TMS570_BALL_B12, 1)
738#define TMS570_BALL_B12_ePWM4B TMS570_PIN_AND_FNC(TMS570_BALL_B12, 5)
740#define TMS570_BALL_V6 TMS570_BALL_WITH_MMR(29, 1)
741#define TMS570_BALL_V6_HET1_05 TMS570_PIN_AND_FNC(TMS570_BALL_V6, 0)
742#define TMS570_BALL_V6_MIBSPI4SOMI TMS570_PIN_AND_FNC(TMS570_BALL_V6, 1)
743#define TMS570_BALL_V6_HET2_12 TMS570_PIN_WITH_IN_ALT( \
744 TMS570_PIN_AND_FNC(TMS570_BALL_V6, 3), \
745 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_12, 1))
746#define TMS570_BALL_V6_ePWM3B TMS570_PIN_AND_FNC(TMS570_BALL_V6, 5)
748#define TMS570_BALL_W3 TMS570_BALL_WITH_MMR(29, 2)
749#define TMS570_BALL_W3_HET1_06 TMS570_PIN_AND_FNC(TMS570_BALL_W3, 0)
750#define TMS570_BALL_W3_SCI3RX TMS570_PIN_AND_FNC(TMS570_BALL_W3, 1)
751#define TMS570_BALL_W3_ePWM5A TMS570_PIN_AND_FNC(TMS570_BALL_W3, 5)
753#define TMS570_BALL_T1 TMS570_BALL_WITH_MMR(29, 3)
754#define TMS570_BALL_T1_HET1_07 TMS570_PIN_AND_FNC(TMS570_BALL_T1, 0)
755#define TMS570_BALL_T1_MIBSPI4NCS_2 TMS570_PIN_AND_FNC(TMS570_BALL_T1, 1)
756#define TMS570_BALL_T1_HET2_14 TMS570_PIN_WITH_IN_ALT( \
757 TMS570_PIN_AND_FNC(TMS570_BALL_T1, 3), \
758 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_14, 1))
759#define TMS570_BALL_T1_ePWM7B TMS570_PIN_AND_FNC(TMS570_BALL_T1, 5)
761#define TMS570_BALL_E18 TMS570_BALL_WITH_MMR(30, 0)
762#define TMS570_BALL_E18_HET1_08 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 0)
763#define TMS570_BALL_E18_MIBSPI1SIMO_1 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 1)
764#define TMS570_BALL_E18_MII_TXD_3 TMS570_PIN_AND_FNC(TMS570_BALL_E18, 2)
766#define TMS570_BALL_V7 TMS570_BALL_WITH_MMR(30, 1)
767#define TMS570_BALL_V7_HET1_09 TMS570_PIN_AND_FNC(TMS570_BALL_V7, 0)
768#define TMS570_BALL_V7_MIBSPI4NCS_3 TMS570_PIN_AND_FNC(TMS570_BALL_V7, 1)
769#define TMS570_BALL_V7_HET2_16 TMS570_PIN_WITH_IN_ALT( \
770 TMS570_PIN_AND_FNC(TMS570_BALL_V7, 3), \
771 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_16, 1))
772#define TMS570_BALL_V7_ePWM7A TMS570_PIN_AND_FNC(TMS570_BALL_V7, 5)
774#define TMS570_BALL_D19 TMS570_BALL_WITH_MMR(30, 2)
775#define TMS570_BALL_D19_HET1_10 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 0)
776#define TMS570_BALL_D19_MIBSPI4NCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 1)
777#define TMS570_BALL_D19_MII_TX_CLK TMS570_PIN_WITH_IN_ALT( \
778 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 2), \
779 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_TX_CLK, 1))
780#define TMS570_BALL_D19_nTZ1_3 TMS570_PIN_WITH_IN_ALT( \
781 TMS570_PIN_AND_FNC(TMS570_BALL_D19, 5), \
782 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_nTZ1_3, 1))
784#define TMS570_BALL_E3 TMS570_BALL_WITH_MMR(30, 3)
785#define TMS570_BALL_E3_HET1_11 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 0)
786#define TMS570_BALL_E3_MIBSPI3NCS_4 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 1)
787#define TMS570_BALL_E3_HET2_18 TMS570_PIN_WITH_IN_ALT( \
788 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 3), \
789 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_18, 1))
790#define TMS570_BALL_E3_EPWM1SYNCO TMS570_PIN_WITH_IN_ALT( \
791 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 5), \
792 TMS570_PIN_AND_FNC(TMS570_BALL_A4, 5) | TMS570_PIN_CLEAR_RQ_MASK)
794#define TMS570_BALL_B4 TMS570_BALL_WITH_MMR(31, 0)
795#define TMS570_BALL_B4_HET1_12 TMS570_PIN_AND_FNC(TMS570_BALL_B4, 0)
796#define TMS570_BALL_B4_MIBSPI4NCS_5 TMS570_PIN_AND_FNC(TMS570_BALL_B4, 1)
797#define TMS570_BALL_B4_MII_CRS TMS570_PIN_WITH_IN_ALT( \
798 TMS570_PIN_AND_FNC(TMS570_BALL_B4, 2), \
799 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_CRS, 1))
800#define TMS570_BALL_B4_RMII_CRS_DV TMS570_PIN_AND_FNC(TMS570_BALL_B4, 3)
802#define TMS570_BALL_N2 TMS570_BALL_WITH_MMR(31, 1)
803#define TMS570_BALL_N2_HET1_13 TMS570_PIN_AND_FNC(TMS570_BALL_N2, 0)
804#define TMS570_BALL_N2_SCI3TX TMS570_PIN_AND_FNC(TMS570_BALL_N2, 1)
805#define TMS570_BALL_N2_HET2_20 TMS570_PIN_WITH_IN_ALT( \
806 TMS570_PIN_AND_FNC(TMS570_BALL_N2, 3), \
807 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_20, 1))
808#define TMS570_BALL_N2_ePWM5B TMS570_PIN_AND_FNC(TMS570_BALL_N2, 5)
810#define TMS570_BALL_N1 TMS570_BALL_WITH_MMR(31, 2)
811#define TMS570_BALL_N1_HET1_15 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 0)
812#define TMS570_BALL_N1_MIBSPI1NCS_4 TMS570_PIN_WITH_IN_ALT( \
813 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 1), \
814 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MIBSPI1NCS_4, 1))
815#define TMS570_BALL_N1_HET2_22 TMS570_PIN_WITH_IN_ALT( \
816 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 3), \
817 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_22, 1))
818#define TMS570_BALL_N1_ECAP1 TMS570_PIN_WITH_IN_ALT( \
819 TMS570_PIN_AND_FNC(TMS570_BALL_N1, 5), \
820 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_ECAP1, 1))
822#define TMS570_BALL_A4 TMS570_BALL_WITH_MMR(31, 3)
823#define TMS570_BALL_A4_HET1_16 TMS570_PIN_AND_FNC(TMS570_BALL_A4, 0)
824#define TMS570_BALL_A4_EPWM1SYNCI TMS570_PIN_AND_FNC(TMS570_BALL_A4, 3)
825#define TMS570_BALL_A4_EPWM1SYNCO TMS570_PIN_WITH_IN_ALT( \
826 TMS570_PIN_AND_FNC(TMS570_BALL_A4, 5), \
827 TMS570_PIN_AND_FNC(TMS570_BALL_E3, 5) | TMS570_PIN_CLEAR_RQ_MASK)
829#define TMS570_BALL_A13 TMS570_BALL_WITH_MMR(32, 0)
830#define TMS570_BALL_A13_HET1_17 TMS570_PIN_WITH_IN_ALT( \
831 TMS570_PIN_AND_FNC(TMS570_BALL_A13, 0), \
832 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_17, 0))
833#define TMS570_BALL_A13_EMIF_nOE TMS570_PIN_WITH_IN_ALT( \
834 TMS570_PIN_AND_FNC(TMS570_BALL_A13, 1), \
835 TMS570_PIN_AND_FNC(TMS570_BALL_E12, 1) | TMS570_PIN_CLEAR_RQ_MASK)
836#define TMS570_BALL_A13_SCI4RX TMS570_PIN_AND_FNC(TMS570_BALL_A13, 2)
838#define TMS570_BALL_J1 TMS570_BALL_WITH_MMR(32, 1)
839#define TMS570_BALL_J1_HET1_18 TMS570_PIN_AND_FNC(TMS570_BALL_J1, 0)
840#define TMS570_BALL_J1_EMIF_RNW TMS570_PIN_WITH_IN_ALT( \
841 TMS570_PIN_AND_FNC(TMS570_BALL_J1, 1), \
842 TMS570_PIN_AND_FNC(TMS570_BALL_D17, 1) | TMS570_PIN_CLEAR_RQ_MASK)
843#define TMS570_BALL_J1_ePWM6A TMS570_PIN_AND_FNC(TMS570_BALL_J1, 5)
845#define TMS570_BALL_B13 TMS570_BALL_WITH_MMR(32, 2)
846#define TMS570_BALL_B13_HET1_19 TMS570_PIN_WITH_IN_ALT( \
847 TMS570_PIN_AND_FNC(TMS570_BALL_B13, 0), \
848 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_19, 0))
849#define TMS570_BALL_B13_EMIF_nDQM_0 TMS570_PIN_WITH_IN_ALT( \
850 TMS570_PIN_AND_FNC(TMS570_BALL_B13, 1), \
851 TMS570_PIN_AND_FNC(TMS570_BALL_E10, 1) | TMS570_PIN_CLEAR_RQ_MASK)
852#define TMS570_BALL_B13_SCI4TX TMS570_PIN_AND_FNC(TMS570_BALL_B13, 2)
854#define TMS570_BALL_P2 TMS570_BALL_WITH_MMR(32, 3)
855#define TMS570_BALL_P2_HET1_20 TMS570_PIN_AND_FNC(TMS570_BALL_P2, 0)
856#define TMS570_BALL_P2_EMIF_nDQM_1 TMS570_PIN_WITH_IN_ALT( \
857 TMS570_PIN_AND_FNC(TMS570_BALL_P2, 1), \
858 TMS570_PIN_AND_FNC(TMS570_BALL_E11, 1) | TMS570_PIN_CLEAR_RQ_MASK)
859#define TMS570_BALL_P2_ePWM6B TMS570_PIN_AND_FNC(TMS570_BALL_P2, 5)
861#define TMS570_BALL_H4 TMS570_BALL_WITH_MMR(33, 0)
862#define TMS570_BALL_H4_HET1_21 TMS570_PIN_WITH_IN_ALT( \
863 TMS570_PIN_AND_FNC(TMS570_BALL_H4, 0), \
864 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_21, 0))
865#define TMS570_BALL_H4_EMIF_nDQM_2 TMS570_PIN_AND_FNC(TMS570_BALL_H4, 1)
867#define TMS570_BALL_B3 TMS570_BALL_WITH_MMR(33, 1)
868#define TMS570_BALL_B3_HET1_22 TMS570_PIN_AND_FNC(TMS570_BALL_B3, 0)
869#define TMS570_BALL_B3_EMIF_nDQM_3 TMS570_PIN_AND_FNC(TMS570_BALL_B3, 1)
871#define TMS570_BALL_J4 TMS570_BALL_WITH_MMR(33, 2)
872#define TMS570_BALL_J4_HET1_23 TMS570_PIN_WITH_IN_ALT( \
873 TMS570_PIN_AND_FNC(TMS570_BALL_J4, 0), \
874 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET1_23, 0))
875#define TMS570_BALL_J4_EMIF_BA_0 TMS570_PIN_WITH_IN_ALT( \
876 TMS570_PIN_AND_FNC(TMS570_BALL_J4, 1), \
877 TMS570_PIN_AND_FNC(TMS570_BALL_E13, 1) | TMS570_PIN_CLEAR_RQ_MASK)
879#define TMS570_BALL_P1 TMS570_BALL_WITH_MMR(33, 3)
880#define TMS570_BALL_P1_HET1_24 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 0)
881#define TMS570_BALL_P1_MIBSPI1NCS_5 TMS570_PIN_WITH_IN_ALT( \
882 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 1), \
883 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MIBSPI1NCS_5, 1))
884#define TMS570_BALL_P1_MII_RXD_0 TMS570_PIN_WITH_IN_ALT( \
885 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 2), \
886 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXD_0, 1))
887#define TMS570_BALL_P1_RMII_RXD_0 TMS570_PIN_AND_FNC(TMS570_BALL_P1, 3)
889#define TMS570_BALL_A14 TMS570_BALL_WITH_MMR(34, 0)
890#define TMS570_BALL_A14_HET1_26 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 0)
891#define TMS570_BALL_A14_MII_RXD_1 TMS570_PIN_WITH_IN_ALT( \
892 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 2), \
893 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXD_1, 1))
894#define TMS570_BALL_A14_RMII_RXD_1 TMS570_PIN_AND_FNC(TMS570_BALL_A14, 3)
896#define TMS570_BALL_K19 TMS570_BALL_WITH_MMR(34, 1)
897#define TMS570_BALL_K19_HET1_28 TMS570_PIN_AND_FNC(TMS570_BALL_K19, 0)
898#define TMS570_BALL_K19_MII_RXCLK TMS570_PIN_WITH_IN_ALT( \
899 TMS570_PIN_AND_FNC(TMS570_BALL_K19, 2), \
900 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXCLK, 1))
901#define TMS570_BALL_K19_RMII_REFCLK TMS570_PIN_AND_FNC(TMS570_BALL_K19, 3)
903#define TMS570_BALL_B11 TMS570_BALL_WITH_MMR(34, 2)
904#define TMS570_BALL_B11_HET1_30 TMS570_PIN_AND_FNC(TMS570_BALL_B11, 0)
905#define TMS570_BALL_B11_MII_RX_DV TMS570_PIN_WITH_IN_ALT( \
906 TMS570_PIN_AND_FNC(TMS570_BALL_B11, 2), \
907 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RX_DV, 1))
908#define TMS570_BALL_B11_eQEP2S TMS570_PIN_WITH_IN_ALT( \
909 TMS570_PIN_AND_FNC(TMS570_BALL_B11, 5), \
910 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_eQEP2S, 1))
912#define TMS570_BALL_D8 TMS570_BALL_WITH_MMR(34, 3)
913#define TMS570_BALL_D8_HET2_01 TMS570_PIN_WITH_IN_ALT( \
914 TMS570_PIN_AND_FNC(TMS570_BALL_D8, 0), \
915 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_01, 0))
917#define TMS570_BALL_D7 TMS570_BALL_WITH_MMR(35, 0)
918#define TMS570_BALL_D7_HET2_02 TMS570_PIN_WITH_IN_ALT( \
919 TMS570_PIN_AND_FNC(TMS570_BALL_D7, 0), \
920 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_02, 0))
922#define TMS570_BALL_D3 TMS570_BALL_WITH_MMR(35, 1)
923#define TMS570_BALL_D3_HET2_12 TMS570_PIN_WITH_IN_ALT( \
924 TMS570_PIN_AND_FNC(TMS570_BALL_D3, 0), \
925 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_12, 0))
926#define TMS570_BALL_D3_MIBSPI2NENA TMS570_PIN_AND_FNC(TMS570_BALL_D3, 4)
927#define TMS570_BALL_D3_MIBSPI2NCS_1 TMS570_PIN_WITH_IN_ALT( \
928 TMS570_PIN_AND_FNC(TMS570_BALL_D3, 5), \
929 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MIBSPI2NCS_1, 1))
931#define TMS570_BALL_D2 TMS570_BALL_WITH_MMR(35, 2)
932#define TMS570_BALL_D2_HET2_13 TMS570_PIN_WITH_IN_ALT( \
933 TMS570_PIN_AND_FNC(TMS570_BALL_D2, 0), \
934 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_13, 0))
935#define TMS570_BALL_D2_MIBSPI2SOMI TMS570_PIN_AND_FNC(TMS570_BALL_D2, 4)
937#define TMS570_BALL_D1 TMS570_BALL_WITH_MMR(35, 3)
938#define TMS570_BALL_D1_HET2_14 TMS570_PIN_WITH_IN_ALT( \
939 TMS570_PIN_AND_FNC(TMS570_BALL_D1, 0), \
940 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_14, 0))
941#define TMS570_BALL_D1_MIBSPI2SIMO TMS570_PIN_AND_FNC(TMS570_BALL_D1, 4)
943#define TMS570_BALL_P4 TMS570_BALL_WITH_MMR(36, 0)
944#define TMS570_BALL_P4_HET2_19 TMS570_PIN_AND_FNC(TMS570_BALL_P4, 0)
945#define TMS570_BALL_P4_LIN2RX TMS570_PIN_AND_FNC(TMS570_BALL_P4, 1)
947#define TMS570_BALL_T5 TMS570_BALL_WITH_MMR(36, 1)
948#define TMS570_BALL_T5_HET2_20 TMS570_PIN_WITH_IN_ALT( \
949 TMS570_PIN_AND_FNC(TMS570_BALL_T5, 0), \
950 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_20, 0))
951#define TMS570_BALL_T5_LIN2TX TMS570_PIN_AND_FNC(TMS570_BALL_T5, 1)
953#define TMS570_BALL_T4 TMS570_BALL_WITH_MMR(36, 2)
954#define TMS570_BALL_T4_MII_RXCLK TMS570_PIN_WITH_IN_ALT( \
955 TMS570_PIN_AND_FNC(TMS570_BALL_T4, 0), \
956 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_RXCLK, 0))
958#define TMS570_BALL_U7 TMS570_BALL_WITH_MMR(36, 3)
959#define TMS570_BALL_U7_MII_TX_CLK TMS570_PIN_WITH_IN_ALT( \
960 TMS570_PIN_AND_FNC(TMS570_BALL_U7, 0), \
961 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_MII_TX_CLK, 0))
963#define TMS570_BALL_E2 TMS570_BALL_WITH_MMR(37, 0)
964#define TMS570_BALL_E2_HET2_03 TMS570_PIN_WITH_IN_ALT( \
965 TMS570_PIN_AND_FNC(TMS570_BALL_E2, 0), \
966 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_03, 0))
967#define TMS570_BALL_E2_MIBSPI2CLK TMS570_PIN_AND_FNC(TMS570_BALL_E2, 4)
969#define TMS570_BALL_N3 TMS570_BALL_WITH_MMR(37, 1)
970#define TMS570_BALL_N3_HET2_07 TMS570_PIN_WITH_IN_ALT( \
971 TMS570_PIN_AND_FNC(TMS570_BALL_N3, 0), \
972 TMS570_PIN_AND_FNC(TMS570_PIN_MMR_ALT_HET2_07, 0))
973#define TMS570_BALL_N3_MIBSPI2NCS_0 TMS570_PIN_AND_FNC(TMS570_BALL_N3, 4)
975#define TMS570_MMR_SELECT_MII_MODE \
976 TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(160, 3), TMS570_PIN_FNC_CLEAR)
977#define TMS570_MMR_SELECT_RMII_MODE \
978 TMS570_PIN_AND_FNC(TMS570_BALL_WITH_MMR(160, 3), 0)
982#define TMS570_PINMMR_DEFAULT_INIT_LIST(per_pin_action, common_arg) \
983 per_pin_action(common_arg, TMS570_BALL_N19_AD1EVT) \
984 per_pin_action(common_arg, TMS570_BALL_D4_EMIF_ADDR_00) \
985 per_pin_action(common_arg, TMS570_BALL_D5_EMIF_ADDR_01) \
986 per_pin_action(common_arg, TMS570_BALL_C4_EMIF_ADDR_06) \
987 per_pin_action(common_arg, TMS570_BALL_C5_EMIF_ADDR_07) \
988 per_pin_action(common_arg, TMS570_BALL_C6_EMIF_ADDR_08) \
989 per_pin_action(common_arg, TMS570_BALL_C7_EMIF_ADDR_09) \
990 per_pin_action(common_arg, TMS570_BALL_C8_EMIF_ADDR_10) \
991 per_pin_action(common_arg, TMS570_BALL_C9_EMIF_ADDR_11) \
992 per_pin_action(common_arg, TMS570_BALL_C10_EMIF_ADDR_12) \
993 per_pin_action(common_arg, TMS570_BALL_C11_EMIF_ADDR_13) \
994 per_pin_action(common_arg, TMS570_BALL_C12_EMIF_ADDR_14) \
995 per_pin_action(common_arg, TMS570_BALL_C13_EMIF_ADDR_15) \
996 per_pin_action(common_arg, TMS570_BALL_D14_EMIF_ADDR_16) \
997 per_pin_action(common_arg, TMS570_BALL_C14_EMIF_ADDR_17) \
998 per_pin_action(common_arg, TMS570_BALL_D15_EMIF_ADDR_18) \
999 per_pin_action(common_arg, TMS570_BALL_C15_EMIF_ADDR_19) \
1000 per_pin_action(common_arg, TMS570_BALL_C16_EMIF_ADDR_20) \
1001 per_pin_action(common_arg, TMS570_BALL_C17_EMIF_ADDR_21) \
1002 per_pin_action(common_arg, TMS570_BALL_D16_EMIF_BA_1) \
1003 per_pin_action(common_arg, TMS570_BALL_R4_EMIF_nCAS) \
1004 per_pin_action(common_arg, TMS570_BALL_N17_EMIF_nCS_0) \
1005 per_pin_action(common_arg, TMS570_BALL_L17_EMIF_nCS_2) \
1006 per_pin_action(common_arg, TMS570_BALL_K17_EMIF_nCS_3) \
1007 per_pin_action(common_arg, TMS570_BALL_M17_EMIF_nCSl_4) \
1008 per_pin_action(common_arg, TMS570_BALL_R3_EMIF_nRAS) \
1009 per_pin_action(common_arg, TMS570_BALL_P3_EMIF_nWAIT) \
1010 per_pin_action(common_arg, TMS570_BALL_D17_EMIF_nWE) \
1011 per_pin_action(common_arg, TMS570_BALL_E9_ETMDATA_08) \
1012 per_pin_action(common_arg, TMS570_BALL_E8_ETMDATA_09) \
1013 per_pin_action(common_arg, TMS570_BALL_E7_ETMDATA_10) \
1014 per_pin_action(common_arg, TMS570_BALL_E6_ETMDATA_11) \
1015 per_pin_action(common_arg, TMS570_BALL_E13_ETMDATA_12) \
1016 per_pin_action(common_arg, TMS570_BALL_E12_ETMDATA_13) \
1017 per_pin_action(common_arg, TMS570_BALL_E11_ETMDATA_14) \
1018 per_pin_action(common_arg, TMS570_BALL_E10_ETMDATA_15) \
1019 per_pin_action(common_arg, TMS570_BALL_K15_ETMDATA_16) \
1020 per_pin_action(common_arg, TMS570_BALL_L15_ETMDATA_17) \
1021 per_pin_action(common_arg, TMS570_BALL_M15_ETMDATA_18) \
1022 per_pin_action(common_arg, TMS570_BALL_N15_ETMDATA_19) \
1023 per_pin_action(common_arg, TMS570_BALL_E5_ETMDATA_20) \
1024 per_pin_action(common_arg, TMS570_BALL_F5_ETMDATA_21) \
1025 per_pin_action(common_arg, TMS570_BALL_G5_ETMDATA_22) \
1026 per_pin_action(common_arg, TMS570_BALL_K5_ETMDATA_23) \
1027 per_pin_action(common_arg, TMS570_BALL_L5_ETMDATA_24) \
1028 per_pin_action(common_arg, TMS570_BALL_M5_ETMDATA_25) \
1029 per_pin_action(common_arg, TMS570_BALL_N5_ETMDATA_26) \
1030 per_pin_action(common_arg, TMS570_BALL_P5_ETMDATA_27) \
1031 per_pin_action(common_arg, TMS570_BALL_R5_ETMDATA_28) \
1032 per_pin_action(common_arg, TMS570_BALL_R6_ETMDATA_29) \
1033 per_pin_action(common_arg, TMS570_BALL_R7_ETMDATA_30) \
1034 per_pin_action(common_arg, TMS570_BALL_R8_ETMDATA_31) \
1035 per_pin_action(common_arg, TMS570_BALL_R9_ETMTRACECLKIN) \
1036 per_pin_action(common_arg, TMS570_BALL_R10_ETMTRACECLKOUT) \
1037 per_pin_action(common_arg, TMS570_BALL_R11_ETMTRACECTL) \
1038 per_pin_action(common_arg, TMS570_BALL_B15_FRAYTX1) \
1039 per_pin_action(common_arg, TMS570_BALL_B8_FRAYTX2) \
1040 per_pin_action(common_arg, TMS570_BALL_B16_FRAYTXEN1) \
1041 per_pin_action(common_arg, TMS570_BALL_B9_FRAYTXEN2) \
1042 per_pin_action(common_arg, TMS570_BALL_C1_GIOA_2) \
1043 per_pin_action(common_arg, TMS570_BALL_E1_GIOA_3) \
1044 per_pin_action(common_arg, TMS570_BALL_B5_GIOA_5) \
1045 per_pin_action(common_arg, TMS570_BALL_H3_GIOA_6) \
1046 per_pin_action(common_arg, TMS570_BALL_M1_GIOA_7) \
1047 per_pin_action(common_arg, TMS570_BALL_F2_GIOB_2) \
1048 per_pin_action(common_arg, TMS570_BALL_W10_GIOB_3) \
1049 per_pin_action(common_arg, TMS570_BALL_J2_GIOB_6) \
1050 per_pin_action(common_arg, TMS570_BALL_F1_GIOB_7) \
1051 per_pin_action(common_arg, TMS570_BALL_R2_MIBSPI1NCS_0) \
1052 per_pin_action(common_arg, TMS570_BALL_F3_MIBSPI1NCS_1) \
1053 per_pin_action(common_arg, TMS570_BALL_G3_MIBSPI1NCS_2) \
1054 per_pin_action(common_arg, TMS570_BALL_J3_MIBSPI1NCS_3) \
1055 per_pin_action(common_arg, TMS570_BALL_G19_MIBSPI1NENA) \
1056 per_pin_action(common_arg, TMS570_BALL_V9_MIBSPI3CLK) \
1057 per_pin_action(common_arg, TMS570_BALL_V10_MIBSPI3NCS_0) \
1058 per_pin_action(common_arg, TMS570_BALL_V5_MIBSPI3NCS_1) \
1059 per_pin_action(common_arg, TMS570_BALL_B2_MIBSPI3NCS_2) \
1060 per_pin_action(common_arg, TMS570_BALL_C3_MIBSPI3NCS_3) \
1061 per_pin_action(common_arg, TMS570_BALL_W9_MIBSPI3NENA) \
1062 per_pin_action(common_arg, TMS570_BALL_W8_MIBSPI3SIMO) \
1063 per_pin_action(common_arg, TMS570_BALL_V8_MIBSPI3SOMI) \
1064 per_pin_action(common_arg, TMS570_BALL_H19_MIBSPI5CLK) \
1065 per_pin_action(common_arg, TMS570_BALL_E19_MIBSPI5NCS_0) \
1066 per_pin_action(common_arg, TMS570_BALL_B6_MIBSPI5NCS_1) \
1067 per_pin_action(common_arg, TMS570_BALL_W6_MIBSPI5NCS_2) \
1068 per_pin_action(common_arg, TMS570_BALL_T12_MIBSPI5NCS_3) \
1069 per_pin_action(common_arg, TMS570_BALL_H18_MIBSPI5NENA) \
1070 per_pin_action(common_arg, TMS570_BALL_J19_MIBSPI5SIMO_0) \
1071 per_pin_action(common_arg, TMS570_BALL_E16_MIBSPI5SIMO_1) \
1072 per_pin_action(common_arg, TMS570_BALL_H17_MIBSPI5SIMO_2) \
1073 per_pin_action(common_arg, TMS570_BALL_G17_MIBSPI5SIMO_3) \
1074 per_pin_action(common_arg, TMS570_BALL_J18_MIBSPI5SOMI_0) \
1075 per_pin_action(common_arg, TMS570_BALL_E17_MIBSPI5SOMI_1) \
1076 per_pin_action(common_arg, TMS570_BALL_H16_MIBSPI5SOMI_2) \
1077 per_pin_action(common_arg, TMS570_BALL_G16_MIBSPI5SOMI_3) \
1078 per_pin_action(common_arg, TMS570_BALL_K18_HET1_00) \
1079 per_pin_action(common_arg, TMS570_BALL_V2_HET1_01) \
1080 per_pin_action(common_arg, TMS570_BALL_W5_HET1_02) \
1081 per_pin_action(common_arg, TMS570_BALL_U1_HET1_03) \
1082 per_pin_action(common_arg, TMS570_BALL_B12_HET1_04) \
1083 per_pin_action(common_arg, TMS570_BALL_V6_HET1_05) \
1084 per_pin_action(common_arg, TMS570_BALL_W3_HET1_06) \
1085 per_pin_action(common_arg, TMS570_BALL_T1_HET1_07) \
1086 per_pin_action(common_arg, TMS570_BALL_E18_HET1_08) \
1087 per_pin_action(common_arg, TMS570_BALL_V7_HET1_09) \
1088 per_pin_action(common_arg, TMS570_BALL_D19_HET1_10) \
1089 per_pin_action(common_arg, TMS570_BALL_E3_HET1_11) \
1090 per_pin_action(common_arg, TMS570_BALL_B4_HET1_12) \
1091 per_pin_action(common_arg, TMS570_BALL_N2_HET1_13) \
1092 per_pin_action(common_arg, TMS570_BALL_N1_HET1_15) \
1093 per_pin_action(common_arg, TMS570_BALL_A4_HET1_16) \
1094 per_pin_action(common_arg, TMS570_BALL_A13_HET1_17) \
1095 per_pin_action(common_arg, TMS570_BALL_J1_HET1_18) \
1096 per_pin_action(common_arg, TMS570_BALL_B13_HET1_19) \
1097 per_pin_action(common_arg, TMS570_BALL_P2_HET1_20) \
1098 per_pin_action(common_arg, TMS570_BALL_H4_HET1_21) \
1099 per_pin_action(common_arg, TMS570_BALL_B3_HET1_22) \
1100 per_pin_action(common_arg, TMS570_BALL_J4_HET1_23) \
1101 per_pin_action(common_arg, TMS570_BALL_P1_HET1_24) \
1102 per_pin_action(common_arg, TMS570_BALL_A14_HET1_26) \
1103 per_pin_action(common_arg, TMS570_BALL_K19_HET1_28) \
1104 per_pin_action(common_arg, TMS570_BALL_B11_HET1_30) \
1105 per_pin_action(common_arg, TMS570_BALL_D8_HET2_01) \
1106 per_pin_action(common_arg, TMS570_BALL_D7_HET2_02) \
1107 per_pin_action(common_arg, TMS570_BALL_D3_HET2_12) \
1108 per_pin_action(common_arg, TMS570_BALL_D2_HET2_13) \
1109 per_pin_action(common_arg, TMS570_BALL_D1_HET2_14) \
1110 per_pin_action(common_arg, TMS570_BALL_P4_HET2_19) \
1111 per_pin_action(common_arg, TMS570_BALL_T5_HET2_20) \
1112 per_pin_action(common_arg, TMS570_BALL_T4_MII_RXCLK) \
1113 per_pin_action(common_arg, TMS570_BALL_U7_MII_TX_CLK) \
1114 per_pin_action(common_arg, TMS570_BALL_E2_HET2_03) \
1115 per_pin_action(common_arg, TMS570_BALL_N3_HET2_07) \