1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#include <common.h>
16#include <sh_pfc.h>
17#include <asm/gpio.h>
18#include "pfc-r8a7790.h"
19
20enum {
21 PINMUX_RESERVED = 0,
22
23 PINMUX_DATA_BEGIN,
24 GP_ALL(DATA),
25 PINMUX_DATA_END,
26
27 PINMUX_INPUT_BEGIN,
28 GP_ALL(IN),
29 PINMUX_INPUT_END,
30
31 PINMUX_OUTPUT_BEGIN,
32 GP_ALL(OUT),
33 PINMUX_OUTPUT_END,
34
35 PINMUX_FUNCTION_BEGIN,
36 GP_ALL(FN),
37
38
39 FN_IP0_2_0, FN_IP0_5_3, FN_IP0_8_6, FN_IP0_11_9, FN_IP0_15_12,
40 FN_IP0_19_16, FN_IP0_22_20, FN_IP0_26_23, FN_IP0_30_27,
41 FN_IP1_3_0, FN_IP1_7_4, FN_IP1_11_8, FN_IP1_14_12,
42 FN_IP1_17_15, FN_IP1_21_18, FN_IP1_25_22, FN_IP1_27_26,
43 FN_IP1_29_28, FN_IP2_2_0, FN_IP2_5_3, FN_IP2_8_6, FN_IP2_11_9,
44 FN_IP2_14_12, FN_IP2_17_15, FN_IP2_21_18, FN_IP2_25_22,
45 FN_IP2_28_26, FN_IP3_3_0, FN_IP3_7_4, FN_IP3_11_8,
46 FN_IP3_14_12, FN_IP3_17_15,
47
48
49 FN_IP3_19_18, FN_IP3_22_20, FN_IP3_25_23, FN_IP3_28_26,
50 FN_IP3_31_29, FN_IP4_2_0, FN_IP4_5_3, FN_IP4_8_6, FN_IP4_11_9,
51 FN_IP4_14_12, FN_IP4_17_15, FN_IP4_20_18, FN_IP4_23_21,
52 FN_IP4_26_24, FN_IP4_29_27, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_9_6,
53 FN_IP5_12_10, FN_IP5_14_13, FN_IP5_17_15, FN_IP5_20_18,
54 FN_IP5_23_21, FN_IP5_26_24, FN_IP5_29_27, FN_IP6_2_0,
55 FN_IP6_5_3, FN_IP6_8_6, FN_IP6_10_9, FN_IP6_13_11,
56
57
58 FN_IP7_28_27, FN_IP7_30_29, FN_IP8_1_0, FN_IP8_3_2, FN_IP8_5_4,
59 FN_IP8_7_6, FN_IP8_9_8, FN_IP8_11_10, FN_IP8_13_12, FN_IP8_15_14,
60 FN_IP8_17_16, FN_IP8_19_18, FN_IP8_21_20, FN_IP8_23_22,
61 FN_IP8_25_24, FN_IP8_26, FN_IP8_27, FN_VI1_DATA7_VI1_B7,
62 FN_IP6_16_14, FN_IP6_19_17, FN_IP6_22_20, FN_IP6_25_23,
63 FN_IP6_28_26, FN_IP6_31_29, FN_IP7_2_0, FN_IP7_5_3, FN_IP7_7_6,
64 FN_IP7_9_8, FN_IP7_12_10, FN_IP7_15_13,
65
66
67 FN_IP8_28, FN_IP8_30_29, FN_IP9_1_0, FN_IP9_3_2, FN_IP9_5_4,
68 FN_IP9_7_6, FN_IP9_11_8, FN_IP9_15_12, FN_IP9_17_16, FN_IP9_19_18,
69 FN_IP9_21_20, FN_IP9_23_22, FN_IP9_25_24, FN_IP9_27_26,
70 FN_IP9_31_28, FN_IP10_3_0, FN_IP10_6_4, FN_IP10_10_7, FN_IP10_14_11,
71 FN_IP10_18_15, FN_IP10_22_19, FN_IP10_25_23, FN_IP10_29_26,
72 FN_IP11_3_0, FN_IP11_4, FN_IP11_6_5, FN_IP11_8_7, FN_IP11_10_9,
73 FN_IP11_12_11, FN_IP11_14_13, FN_IP11_17_15, FN_IP11_21_18,
74
75
76 FN_IP11_23_22, FN_IP11_26_24, FN_IP11_29_27, FN_IP11_31_30,
77 FN_IP12_1_0, FN_IP12_3_2, FN_IP12_5_4, FN_IP12_7_6, FN_IP12_10_8,
78 FN_IP12_13_11, FN_IP12_16_14, FN_IP12_19_17, FN_IP12_22_20,
79 FN_IP12_24_23, FN_IP12_27_25, FN_IP12_30_28, FN_IP13_2_0,
80 FN_IP13_6_3, FN_IP13_9_7, FN_IP13_12_10, FN_IP13_15_13,
81 FN_IP13_18_16, FN_IP13_22_19, FN_IP13_25_23, FN_IP13_28_26,
82 FN_IP13_30_29, FN_IP14_2_0, FN_IP14_5_3, FN_IP14_8_6, FN_IP14_11_9,
83 FN_IP14_15_12, FN_IP14_18_16,
84
85
86 FN_IP14_21_19, FN_IP14_24_22, FN_IP14_27_25, FN_IP14_30_28,
87 FN_IP15_2_0, FN_IP15_5_3, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_13_12,
88 FN_IP15_15_14, FN_IP15_17_16, FN_IP15_19_18, FN_IP15_22_20,
89 FN_IP15_25_23, FN_IP15_27_26, FN_IP15_29_28, FN_IP16_2_0,
90 FN_IP16_5_3, FN_USB0_PWEN, FN_USB0_OVC_VBUS, FN_IP16_6, FN_IP16_7,
91 FN_USB2_PWEN, FN_USB2_OVC, FN_AVS1, FN_AVS2, FN_DU_DOTCLKIN0,
92 FN_IP7_26_25, FN_DU_DOTCLKIN2, FN_IP7_18_16, FN_IP7_21_19, FN_IP7_24_22,
93
94
95
96 FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
97 FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C,
98 FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
99 FN_SSI_SDATA7_C, FN_SSI_SCK78_B, FN_DACK1, FN_IRQ1,
100 FN_INTC_IRQ1_N, FN_SSI_WS6_B, FN_SSI_SDATA8_C,
101 FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B,
102 FN_MSIOF0_TXD_B, FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
103 FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B,
104 FN_ETH_CRS_DV, FN_RMII_CRS_DV, FN_STP_ISCLK_0_B,
105 FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_SCL2_E,
106 FN_SCL2_CIS_E, FN_ETH_RX_ER, FN_RMII_RX_ER,
107 FN_STP_ISD_0_B, FN_TS_SPSYNC0_D, FN_GLO_Q1_C,
108 FN_SDA2_E, FN_SDA2_CIS_E, FN_ETH_RXD0, FN_RMII_RXD0,
109 FN_STP_ISEN_0_B, FN_TS_SDAT0_D, FN_GLO_I0_C,
110 FN_SCIFB1_SCK_G, FN_SCK1_E, FN_ETH_RXD1,
111 FN_RMII_RXD1, FN_HRX0_E, FN_STP_ISSYNC_0_B,
112 FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G,
113 FN_RX1_E, FN_ETH_LINK, FN_RMII_LINK, FN_HTX0_E,
114 FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E,
115 FN_ETH_REF_CLK, FN_RMII_REF_CLK, FN_HCTS0_N_E,
116 FN_STP_IVCXO27_1_B, FN_HRX0_F,
117
118
119 FN_ETH_MDIO, FN_RMII_MDIO, FN_HRTS0_N_E,
120 FN_SIM0_D_C, FN_HCTS0_N_F, FN_ETH_TXD1,
121 FN_RMII_TXD1, FN_HTX0_F, FN_BPFCLK_G, FN_RDS_CLK_F,
122 FN_ETH_TX_EN, FN_RMII_TX_EN, FN_SIM0_CLK_C,
123 FN_HRTS0_N_F, FN_ETH_MAGIC, FN_RMII_MAGIC,
124 FN_SIM0_RST_C, FN_ETH_TXD0, FN_RMII_TXD0,
125 FN_STP_ISCLK_1_B, FN_TS_SDEN1_C, FN_GLO_SCLK_C,
126 FN_ETH_MDC, FN_RMII_MDC, FN_STP_ISD_1_B,
127 FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, FN_PWM0,
128 FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
129 FN_GLO_SS_C, FN_PWM1, FN_SCIFA2_TXD_C,
130 FN_STP_ISSYNC_1_B, FN_TS_SCK1_C, FN_GLO_RFON_C,
131 FN_PCMOE_N, FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C,
132 FN_PCMWE_N, FN_IECLK_C, FN_DU1_DOTCLKIN,
133 FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, FN_VI0_CLK,
134 FN_ATACS00_N, FN_AVB_RXD1, FN_MII_RXD1,
135 FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2,
136 FN_MII_RXD2,
137
138
139 FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3,
140 FN_MII_RXD3, FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N,
141 FN_AVB_RXD4, FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N,
142 FN_AVB_RXD5, FN_VI0_DATA4_VI0_B4, FN_ATAG0_N,
143 FN_AVB_RXD6, FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1,
144 FN_AVB_RXD7, FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER,
145 FN_MII_RX_ER, FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK,
146 FN_MII_RX_CLK, FN_VI1_CLK, FN_AVB_RX_DV,
147 FN_MII_RX_DV, FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D,
148 FN_AVB_CRS, FN_MII_CRS, FN_VI1_DATA1_VI1_B1,
149 FN_SCIFA1_RXD_D, FN_AVB_MDC, FN_MII_MDC,
150 FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO,
151 FN_MII_MDIO, FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D,
152 FN_AVB_GTX_CLK, FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
153 FN_AVB_MAGIC, FN_MII_MAGIC, FN_VI1_DATA5_VI1_B5,
154 FN_AVB_PHY_INT, FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
155 FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B, FN_SD0_CMD,
156 FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B,
157
158
159 FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B,
160 FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B,
161 FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B,
162 FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B,
163 FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
164 FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_SCL1_B,
165 FN_SCL1_CIS_B, FN_VI2_DATA6_VI2_B6_B, FN_SD0_WP,
166 FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
167 FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_SDA1_B,
168 FN_SDA1_CIS_B, FN_VI2_DATA7_VI2_B7_B, FN_SD1_CLK,
169 FN_AVB_TX_EN, FN_MII_TX_EN, FN_SD1_CMD,
170 FN_AVB_TX_ER, FN_MII_TX_ER, FN_SCIFB0_SCK_B,
171 FN_SD1_DAT0, FN_AVB_TX_CLK, FN_MII_TX_CLK,
172 FN_SCIFB0_RXD_B, FN_SD1_DAT1, FN_AVB_LINK,
173 FN_MII_LINK, FN_SCIFB0_TXD_B, FN_SD1_DAT2,
174 FN_AVB_COL, FN_MII_COL, FN_SCIFB0_CTS_N_B,
175 FN_SD1_DAT3, FN_AVB_RXD0, FN_MII_RXD0,
176 FN_SCIFB0_RTS_N_B, FN_SD1_CD, FN_MMC1_D6,
177 FN_TS_SDEN1, FN_USB1_EXTP, FN_GLO_SS, FN_VI0_CLK_B,
178 FN_SCL2_D, FN_SCL2_CIS_D, FN_SIM0_CLK_B,
179 FN_VI3_CLK_B,
180
181
182 FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
183 FN_GLO_RFON, FN_VI1_CLK_B, FN_SDA2_D, FN_SDA2_CIS_D,
184 FN_SIM0_D_B, FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
185 FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
186 FN_VI3_DATA0_B, FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
187 FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
188 FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
189 FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
190 FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
191 FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
192 FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B, FN_RDS_DATA,
193 FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
194 FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
195 FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B, FN_RDS_CLK,
196 FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
197 FN_GLO_Q0_B, FN_VI3_DATA4_B, FN_SD2_DAT3,
198 FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
199 FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B,
200 FN_VI3_DATA5_B, FN_SD2_CD, FN_MMC0_D4,
201 FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
202 FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
203 FN_GLO_I0_B, FN_VI3_DATA6_B,
204
205
206 FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
207 FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
208 FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B,
209 FN_SD3_CLK, FN_MMC1_CLK, FN_SD3_CMD, FN_MMC1_CMD,
210 FN_MTS_N, FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N,
211 FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, FN_SD3_DAT2,
212 FN_MMC1_D2, FN_SDATA, FN_SD3_DAT3, FN_MMC1_D3,
213 FN_SCKZ, FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
214 FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, FN_SD3_WP,
215 FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
216 FN_RDS_DATA_B, FN_FMIN_E, FN_RDS_DATA_D, FN_FMIN_F,
217 FN_RDS_DATA_E, FN_MLB_CLK, FN_SCL2_B, FN_SCL2_CIS_B,
218 FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_SDA2_B,
219 FN_SDA2_CIS_B, FN_MLB_DAT, FN_SPV_EVEN,
220 FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
221 FN_RDS_CLK_B, FN_SSI_SCK0129, FN_CAN_CLK_B,
222 FN_MOUT0,
223
224 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
225 FN_SEL_SCIF1_4,
226 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2,
227 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2,
228 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
229 FN_SEL_SCIFB1_4,
230 FN_SEL_SCIFB1_5, FN_SEL_SCIFB1_6,
231 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, FN_SEL_SCIFA1_3,
232 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
233 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
234 FN_SEL_SOF1_0, FN_SEL_SOF1_1,
235 FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2,
236 FN_SEL_SSI6_0, FN_SEL_SSI6_1,
237 FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2,
238 FN_SEL_VI3_0, FN_SEL_VI3_1,
239 FN_SEL_VI2_0, FN_SEL_VI2_1,
240 FN_SEL_VI1_0, FN_SEL_VI1_1,
241 FN_SEL_VI0_0, FN_SEL_VI0_1,
242 FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2,
243 FN_SEL_LBS_0, FN_SEL_LBS_1,
244 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
245 FN_SEL_SOF3_0, FN_SEL_SOF3_1,
246 FN_SEL_SOF0_0, FN_SEL_SOF0_1,
247
248 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
249 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
250 FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
251 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
252 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
253 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2,
254 FN_SEL_CAN1_0, FN_SEL_CAN1_1,
255 FN_SEL_ADI_0, FN_SEL_ADI_1,
256 FN_SEL_SSP_0, FN_SEL_SSP_1,
257 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
258 FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6,
259 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, FN_SEL_HSCIF0_3,
260 FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5,
261 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2,
262 FN_SEL_RDS_0, FN_SEL_RDS_1, FN_SEL_RDS_2,
263 FN_SEL_RDS_3, FN_SEL_RDS_4, FN_SEL_RDS_5,
264 FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2,
265 FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2,
266
267 FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
268 FN_SEL_IIC0_0, FN_SEL_IIC0_1,
269 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
270 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
271 FN_SEL_IIC2_4,
272 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2,
273 FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
274 FN_SEL_I2C2_4,
275 FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2,
276 PINMUX_FUNCTION_END,
277
278 PINMUX_MARK_BEGIN,
279
280 VI1_DATA7_VI1_B7_MARK,
281
282 USB0_PWEN_MARK, USB0_OVC_VBUS_MARK,
283 USB2_PWEN_MARK, USB2_OVC_MARK, AVS1_MARK, AVS2_MARK,
284 DU_DOTCLKIN0_MARK, DU_DOTCLKIN2_MARK,
285
286 D0_MARK, MSIOF3_SCK_B_MARK, VI3_DATA0_MARK, VI0_G4_MARK, VI0_G4_B_MARK,
287 D1_MARK, MSIOF3_SYNC_B_MARK, VI3_DATA1_MARK, VI0_G5_MARK,
288 VI0_G5_B_MARK, D2_MARK, MSIOF3_RXD_B_MARK, VI3_DATA2_MARK,
289 VI0_G6_MARK, VI0_G6_B_MARK, D3_MARK, MSIOF3_TXD_B_MARK,
290 VI3_DATA3_MARK, VI0_G7_MARK, VI0_G7_B_MARK, D4_MARK,
291 SCIFB1_RXD_F_MARK, SCIFB0_RXD_C_MARK, VI3_DATA4_MARK,
292 VI0_R0_MARK, VI0_R0_B_MARK, RX0_B_MARK, D5_MARK,
293 SCIFB1_TXD_F_MARK, SCIFB0_TXD_C_MARK, VI3_DATA5_MARK,
294 VI0_R1_MARK, VI0_R1_B_MARK, TX0_B_MARK, D6_MARK,
295 SCL2_C_MARK, VI3_DATA6_MARK, VI0_R2_MARK, VI0_R2_B_MARK,
296 SCL2_CIS_C_MARK, D7_MARK, AD_DI_B_MARK, SDA2_C_MARK,
297 VI3_DATA7_MARK, VI0_R3_MARK, VI0_R3_B_MARK, SDA2_CIS_C_MARK,
298 D8_MARK, SCIFA1_SCK_C_MARK, AVB_TXD0_MARK, MII_TXD0_MARK,
299 VI0_G0_MARK, VI0_G0_B_MARK, VI2_DATA0_VI2_B0_MARK,
300
301 D9_MARK, SCIFA1_RXD_C_MARK, AVB_TXD1_MARK, MII_TXD1_MARK,
302 VI0_G1_MARK, VI0_G1_B_MARK, VI2_DATA1_VI2_B1_MARK, D10_MARK,
303 SCIFA1_TXD_C_MARK, AVB_TXD2_MARK, MII_TXD2_MARK,
304 VI0_G2_MARK, VI0_G2_B_MARK, VI2_DATA2_VI2_B2_MARK, D11_MARK,
305 SCIFA1_CTS_N_C_MARK, AVB_TXD3_MARK, MII_TXD3_MARK,
306 VI0_G3_MARK, VI0_G3_B_MARK, VI2_DATA3_VI2_B3_MARK,
307 D12_MARK, SCIFA1_RTS_N_C_MARK, AVB_TXD4_MARK,
308 VI0_HSYNC_N_MARK, VI0_HSYNC_N_B_MARK, VI2_DATA4_VI2_B4_MARK,
309 D13_MARK, AVB_TXD5_MARK, VI0_VSYNC_N_MARK,
310 VI0_VSYNC_N_B_MARK, VI2_DATA5_VI2_B5_MARK, D14_MARK,
311 SCIFB1_RXD_C_MARK, AVB_TXD6_MARK, RX1_B_MARK,
312 VI0_CLKENB_MARK, VI0_CLKENB_B_MARK, VI2_DATA6_VI2_B6_MARK,
313 D15_MARK, SCIFB1_TXD_C_MARK, AVB_TXD7_MARK, TX1_B_MARK,
314 VI0_FIELD_MARK, VI0_FIELD_B_MARK, VI2_DATA7_VI2_B7_MARK,
315 A0_MARK, PWM3_MARK, A1_MARK, PWM4_MARK,
316
317 A2_MARK, PWM5_MARK, MSIOF1_SS1_B_MARK, A3_MARK,
318 PWM6_MARK, MSIOF1_SS2_B_MARK, A4_MARK, MSIOF1_TXD_B_MARK,
319 TPU0TO0_MARK, A5_MARK, SCIFA1_TXD_B_MARK, TPU0TO1_MARK,
320 A6_MARK, SCIFA1_RTS_N_B_MARK, TPU0TO2_MARK, A7_MARK,
321 SCIFA1_SCK_B_MARK, AUDIO_CLKOUT_B_MARK, TPU0TO3_MARK,
322 A8_MARK, SCIFA1_RXD_B_MARK, SSI_SCK5_B_MARK, VI0_R4_MARK,
323 VI0_R4_B_MARK, SCIFB2_RXD_C_MARK, VI2_DATA0_VI2_B0_B_MARK,
324 A9_MARK, SCIFA1_CTS_N_B_MARK, SSI_WS5_B_MARK, VI0_R5_MARK,
325 VI0_R5_B_MARK, SCIFB2_TXD_C_MARK, VI2_DATA1_VI2_B1_B_MARK,
326 A10_MARK, SSI_SDATA5_B_MARK, MSIOF2_SYNC_MARK, VI0_R6_MARK,
327 VI0_R6_B_MARK, VI2_DATA2_VI2_B2_B_MARK,
328
329 A11_MARK, SCIFB2_CTS_N_B_MARK, MSIOF2_SCK_MARK, VI1_R0_MARK,
330 VI1_R0_B_MARK, VI2_G0_MARK, VI2_DATA3_VI2_B3_B_MARK,
331 A12_MARK, SCIFB2_RXD_B_MARK, MSIOF2_TXD_MARK, VI1_R1_MARK,
332 VI1_R1_B_MARK, VI2_G1_MARK, VI2_DATA4_VI2_B4_B_MARK,
333 A13_MARK, SCIFB2_RTS_N_B_MARK, EX_WAIT2_MARK,
334 MSIOF2_RXD_MARK, VI1_R2_MARK, VI1_R2_B_MARK, VI2_G2_MARK,
335 VI2_DATA5_VI2_B5_B_MARK, A14_MARK, SCIFB2_TXD_B_MARK,
336 ATACS11_N_MARK, MSIOF2_SS1_MARK, A15_MARK, SCIFB2_SCK_B_MARK,
337 ATARD1_N_MARK, MSIOF2_SS2_MARK, A16_MARK, ATAWR1_N_MARK,
338 A17_MARK, AD_DO_B_MARK, ATADIR1_N_MARK, A18_MARK,
339 AD_CLK_B_MARK, ATAG1_N_MARK, A19_MARK, AD_NCS_N_B_MARK,
340 ATACS01_N_MARK, EX_WAIT0_B_MARK, A20_MARK, SPCLK_MARK,
341 VI1_R3_MARK, VI1_R3_B_MARK, VI2_G4_MARK,
342
343 A21_MARK, MOSI_IO0_MARK, VI1_R4_MARK, VI1_R4_B_MARK, VI2_G5_MARK,
344 A22_MARK, MISO_IO1_MARK, VI1_R5_MARK, VI1_R5_B_MARK,
345 VI2_G6_MARK, A23_MARK, IO2_MARK, VI1_G7_MARK,
346 VI1_G7_B_MARK, VI2_G7_MARK, A24_MARK, IO3_MARK,
347 VI1_R7_MARK, VI1_R7_B_MARK, VI2_CLKENB_MARK,
348 VI2_CLKENB_B_MARK, A25_MARK, SSL_MARK, VI1_G6_MARK,
349 VI1_G6_B_MARK, VI2_FIELD_MARK, VI2_FIELD_B_MARK, CS0_N_MARK,
350 VI1_R6_MARK, VI1_R6_B_MARK, VI2_G3_MARK, MSIOF0_SS2_B_MARK,
351 CS1_N_A26_MARK, SPEEDIN_MARK, VI0_R7_MARK, VI0_R7_B_MARK,
352 VI2_CLK_MARK, VI2_CLK_B_MARK, EX_CS0_N_MARK, HRX1_B_MARK,
353 VI1_G5_MARK, VI1_G5_B_MARK, VI2_R0_MARK, HTX0_B_MARK,
354 MSIOF0_SS1_B_MARK, EX_CS1_N_MARK, GPS_CLK_MARK,
355 HCTS1_N_B_MARK, VI1_FIELD_MARK, VI1_FIELD_B_MARK,
356 VI2_R1_MARK, EX_CS2_N_MARK, GPS_SIGN_MARK, HRTS1_N_B_MARK,
357 VI3_CLKENB_MARK, VI1_G0_MARK, VI1_G0_B_MARK, VI2_R2_MARK,
358
359 EX_CS3_N_MARK, GPS_MAG_MARK, VI3_FIELD_MARK,
360 VI1_G1_MARK, VI1_G1_B_MARK, VI2_R3_MARK,
361 EX_CS4_N_MARK, MSIOF1_SCK_B_MARK, VI3_HSYNC_N_MARK,
362 VI2_HSYNC_N_MARK, SCL1_MARK, VI2_HSYNC_N_B_MARK,
363 INTC_EN0_N_MARK, SCL1_CIS_MARK, EX_CS5_N_MARK, CAN0_RX_MARK,
364 MSIOF1_RXD_B_MARK, VI3_VSYNC_N_MARK, VI1_G2_MARK,
365 VI1_G2_B_MARK, VI2_R4_MARK, SDA1_MARK, INTC_EN1_N_MARK,
366 SDA1_CIS_MARK, BS_N_MARK, IETX_MARK, HTX1_B_MARK,
367 CAN1_TX_MARK, DRACK0_MARK, IETX_C_MARK, RD_N_MARK,
368 CAN0_TX_MARK, SCIFA0_SCK_B_MARK, RD_WR_N_MARK, VI1_G3_MARK,
369 VI1_G3_B_MARK, VI2_R5_MARK, SCIFA0_RXD_B_MARK,
370 INTC_IRQ4_N_MARK, WE0_N_MARK, IECLK_MARK, CAN_CLK_MARK,
371 VI2_VSYNC_N_MARK, SCIFA0_TXD_B_MARK, VI2_VSYNC_N_B_MARK,
372 WE1_N_MARK, IERX_MARK, CAN1_RX_MARK, VI1_G4_MARK,
373 VI1_G4_B_MARK, VI2_R6_MARK, SCIFA0_CTS_N_B_MARK,
374 IERX_C_MARK, EX_WAIT0_MARK, IRQ3_MARK, INTC_IRQ3_N_MARK,
375 VI3_CLK_MARK, SCIFA0_RTS_N_B_MARK, HRX0_B_MARK,
376 MSIOF0_SCK_B_MARK, DREQ0_N_MARK, VI1_HSYNC_N_MARK,
377 VI1_HSYNC_N_B_MARK, VI2_R7_MARK, SSI_SCK78_C_MARK,
378 SSI_WS78_B_MARK,
379
380 DACK0_MARK, IRQ0_MARK, INTC_IRQ0_N_MARK, SSI_SCK6_B_MARK,
381 VI1_VSYNC_N_MARK, VI1_VSYNC_N_B_MARK, SSI_WS78_C_MARK,
382 DREQ1_N_MARK, VI1_CLKENB_MARK, VI1_CLKENB_B_MARK,
383 SSI_SDATA7_C_MARK, SSI_SCK78_B_MARK, DACK1_MARK, IRQ1_MARK,
384 INTC_IRQ1_N_MARK, SSI_WS6_B_MARK, SSI_SDATA8_C_MARK,
385 DREQ2_N_MARK, HSCK1_B_MARK, HCTS0_N_B_MARK,
386 MSIOF0_TXD_B_MARK, DACK2_MARK, IRQ2_MARK, INTC_IRQ2_N_MARK,
387 SSI_SDATA6_B_MARK, HRTS0_N_B_MARK, MSIOF0_RXD_B_MARK,
388 ETH_CRS_DV_MARK, RMII_CRS_DV_MARK, STP_ISCLK_0_B_MARK,
389 TS_SDEN0_D_MARK, GLO_Q0_C_MARK, SCL2_E_MARK,
390 SCL2_CIS_E_MARK, ETH_RX_ER_MARK, RMII_RX_ER_MARK,
391 STP_ISD_0_B_MARK, TS_SPSYNC0_D_MARK, GLO_Q1_C_MARK,
392 SDA2_E_MARK, SDA2_CIS_E_MARK, ETH_RXD0_MARK, RMII_RXD0_MARK,
393 STP_ISEN_0_B_MARK, TS_SDAT0_D_MARK, GLO_I0_C_MARK,
394 SCIFB1_SCK_G_MARK, SCK1_E_MARK, ETH_RXD1_MARK,
395 RMII_RXD1_MARK, HRX0_E_MARK, STP_ISSYNC_0_B_MARK,
396 TS_SCK0_D_MARK, GLO_I1_C_MARK, SCIFB1_RXD_G_MARK,
397 RX1_E_MARK, ETH_LINK_MARK, RMII_LINK_MARK, HTX0_E_MARK,
398 STP_IVCXO27_0_B_MARK, SCIFB1_TXD_G_MARK, TX1_E_MARK,
399 ETH_REF_CLK_MARK, RMII_REF_CLK_MARK, HCTS0_N_E_MARK,
400 STP_IVCXO27_1_B_MARK, HRX0_F_MARK,
401
402 ETH_MDIO_MARK, RMII_MDIO_MARK, HRTS0_N_E_MARK,
403 SIM0_D_C_MARK, HCTS0_N_F_MARK, ETH_TXD1_MARK,
404 RMII_TXD1_MARK, HTX0_F_MARK, BPFCLK_G_MARK, RDS_CLK_F_MARK,
405 ETH_TX_EN_MARK, RMII_TX_EN_MARK, SIM0_CLK_C_MARK,
406 HRTS0_N_F_MARK, ETH_MAGIC_MARK, RMII_MAGIC_MARK,
407 SIM0_RST_C_MARK, ETH_TXD0_MARK, RMII_TXD0_MARK,
408 STP_ISCLK_1_B_MARK, TS_SDEN1_C_MARK, GLO_SCLK_C_MARK,
409 ETH_MDC_MARK, RMII_MDC_MARK, STP_ISD_1_B_MARK,
410 TS_SPSYNC1_C_MARK, GLO_SDATA_C_MARK, PWM0_MARK,
411 SCIFA2_SCK_C_MARK, STP_ISEN_1_B_MARK, TS_SDAT1_C_MARK,
412 GLO_SS_C_MARK, PWM1_MARK, SCIFA2_TXD_C_MARK,
413 STP_ISSYNC_1_B_MARK, TS_SCK1_C_MARK, GLO_RFON_C_MARK,
414 PCMOE_N_MARK, PWM2_MARK, PWMFSW0_MARK, SCIFA2_RXD_C_MARK,
415 PCMWE_N_MARK, IECLK_C_MARK, DU1_DOTCLKIN_MARK,
416 AUDIO_CLKC_MARK, AUDIO_CLKOUT_C_MARK, VI0_CLK_MARK,
417 ATACS00_N_MARK, AVB_RXD1_MARK, MII_RXD1_MARK,
418 VI0_DATA0_VI0_B0_MARK, ATACS10_N_MARK, AVB_RXD2_MARK,
419 MII_RXD2_MARK,
420
421 VI0_DATA1_VI0_B1_MARK, ATARD0_N_MARK, AVB_RXD3_MARK,
422 MII_RXD3_MARK, VI0_DATA2_VI0_B2_MARK, ATAWR0_N_MARK,
423 AVB_RXD4_MARK, VI0_DATA3_VI0_B3_MARK, ATADIR0_N_MARK,
424 AVB_RXD5_MARK, VI0_DATA4_VI0_B4_MARK, ATAG0_N_MARK,
425 AVB_RXD6_MARK, VI0_DATA5_VI0_B5_MARK, EX_WAIT1_MARK,
426 AVB_RXD7_MARK, VI0_DATA6_VI0_B6_MARK, AVB_RX_ER_MARK,
427 MII_RX_ER_MARK, VI0_DATA7_VI0_B7_MARK, AVB_RX_CLK_MARK,
428 MII_RX_CLK_MARK, VI1_CLK_MARK, AVB_RX_DV_MARK,
429 MII_RX_DV_MARK, VI1_DATA0_VI1_B0_MARK, SCIFA1_SCK_D_MARK,
430 AVB_CRS_MARK, MII_CRS_MARK, VI1_DATA1_VI1_B1_MARK,
431 SCIFA1_RXD_D_MARK, AVB_MDC_MARK, MII_MDC_MARK,
432 VI1_DATA2_VI1_B2_MARK, SCIFA1_TXD_D_MARK, AVB_MDIO_MARK,
433 MII_MDIO_MARK, VI1_DATA3_VI1_B3_MARK, SCIFA1_CTS_N_D_MARK,
434 AVB_GTX_CLK_MARK, VI1_DATA4_VI1_B4_MARK, SCIFA1_RTS_N_D_MARK,
435 AVB_MAGIC_MARK, MII_MAGIC_MARK, VI1_DATA5_VI1_B5_MARK,
436 AVB_PHY_INT_MARK, VI1_DATA6_VI1_B6_MARK, AVB_GTXREFCLK_MARK,
437 SD0_CLK_MARK, VI1_DATA0_VI1_B0_B_MARK, SD0_CMD_MARK,
438 SCIFB1_SCK_B_MARK, VI1_DATA1_VI1_B1_B_MARK,
439
440 SD0_DAT0_MARK, SCIFB1_RXD_B_MARK, VI1_DATA2_VI1_B2_B_MARK,
441 SD0_DAT1_MARK, SCIFB1_TXD_B_MARK, VI1_DATA3_VI1_B3_B_MARK,
442 SD0_DAT2_MARK, SCIFB1_CTS_N_B_MARK, VI1_DATA4_VI1_B4_B_MARK,
443 SD0_DAT3_MARK, SCIFB1_RTS_N_B_MARK, VI1_DATA5_VI1_B5_B_MARK,
444 SD0_CD_MARK, MMC0_D6_MARK, TS_SDEN0_B_MARK, USB0_EXTP_MARK,
445 GLO_SCLK_MARK, VI1_DATA6_VI1_B6_B_MARK, SCL1_B_MARK,
446 SCL1_CIS_B_MARK, VI2_DATA6_VI2_B6_B_MARK, SD0_WP_MARK,
447 MMC0_D7_MARK, TS_SPSYNC0_B_MARK, USB0_IDIN_MARK,
448 GLO_SDATA_MARK, VI1_DATA7_VI1_B7_B_MARK, SDA1_B_MARK,
449 SDA1_CIS_B_MARK, VI2_DATA7_VI2_B7_B_MARK, SD1_CLK_MARK,
450 AVB_TX_EN_MARK, MII_TX_EN_MARK, SD1_CMD_MARK,
451 AVB_TX_ER_MARK, MII_TX_ER_MARK, SCIFB0_SCK_B_MARK,
452 SD1_DAT0_MARK, AVB_TX_CLK_MARK, MII_TX_CLK_MARK,
453 SCIFB0_RXD_B_MARK, SD1_DAT1_MARK, AVB_LINK_MARK,
454 MII_LINK_MARK, SCIFB0_TXD_B_MARK, SD1_DAT2_MARK,
455 AVB_COL_MARK, MII_COL_MARK, SCIFB0_CTS_N_B_MARK,
456 SD1_DAT3_MARK, AVB_RXD0_MARK, MII_RXD0_MARK,
457 SCIFB0_RTS_N_B_MARK, SD1_CD_MARK, MMC1_D6_MARK,
458 TS_SDEN1_MARK, USB1_EXTP_MARK, GLO_SS_MARK, VI0_CLK_B_MARK,
459 SCL2_D_MARK, SCL2_CIS_D_MARK, SIM0_CLK_B_MARK,
460 VI3_CLK_B_MARK,
461
462 SD1_WP_MARK, MMC1_D7_MARK, TS_SPSYNC1_MARK, USB1_IDIN_MARK,
463 GLO_RFON_MARK, VI1_CLK_B_MARK, SDA2_D_MARK, SDA2_CIS_D_MARK,
464 SIM0_D_B_MARK, SD2_CLK_MARK, MMC0_CLK_MARK, SIM0_CLK_MARK,
465 VI0_DATA0_VI0_B0_B_MARK, TS_SDEN0_C_MARK, GLO_SCLK_B_MARK,
466 VI3_DATA0_B_MARK, SD2_CMD_MARK, MMC0_CMD_MARK, SIM0_D_MARK,
467 VI0_DATA1_VI0_B1_B_MARK, SCIFB1_SCK_E_MARK, SCK1_D_MARK,
468 TS_SPSYNC0_C_MARK, GLO_SDATA_B_MARK, VI3_DATA1_B_MARK,
469 SD2_DAT0_MARK, MMC0_D0_MARK, FMCLK_B_MARK,
470 VI0_DATA2_VI0_B2_B_MARK, SCIFB1_RXD_E_MARK, RX1_D_MARK,
471 TS_SDAT0_C_MARK, GLO_SS_B_MARK, VI3_DATA2_B_MARK,
472 SD2_DAT1_MARK, MMC0_D1_MARK, FMIN_B_MARK, RDS_DATA_MARK,
473 VI0_DATA3_VI0_B3_B_MARK, SCIFB1_TXD_E_MARK, TX1_D_MARK,
474 TS_SCK0_C_MARK, GLO_RFON_B_MARK, VI3_DATA3_B_MARK,
475 SD2_DAT2_MARK, MMC0_D2_MARK, BPFCLK_B_MARK, RDS_CLK_MARK,
476 VI0_DATA4_VI0_B4_B_MARK, HRX0_D_MARK, TS_SDEN1_B_MARK,
477 GLO_Q0_B_MARK, VI3_DATA4_B_MARK, SD2_DAT3_MARK,
478 MMC0_D3_MARK, SIM0_RST_MARK, VI0_DATA5_VI0_B5_B_MARK,
479 HTX0_D_MARK, TS_SPSYNC1_B_MARK, GLO_Q1_B_MARK,
480 VI3_DATA5_B_MARK, SD2_CD_MARK, MMC0_D4_MARK,
481 TS_SDAT0_B_MARK, USB2_EXTP_MARK, GLO_I0_MARK,
482 VI0_DATA6_VI0_B6_B_MARK, HCTS0_N_D_MARK, TS_SDAT1_B_MARK,
483 GLO_I0_B_MARK, VI3_DATA6_B_MARK,
484
485 SD2_WP_MARK, MMC0_D5_MARK, TS_SCK0_B_MARK, USB2_IDIN_MARK,
486 GLO_I1_MARK, VI0_DATA7_VI0_B7_B_MARK, HRTS0_N_D_MARK,
487 TS_SCK1_B_MARK, GLO_I1_B_MARK, VI3_DATA7_B_MARK,
488 SD3_CLK_MARK, MMC1_CLK_MARK, SD3_CMD_MARK, MMC1_CMD_MARK,
489 MTS_N_MARK, SD3_DAT0_MARK, MMC1_D0_MARK, STM_N_MARK,
490 SD3_DAT1_MARK, MMC1_D1_MARK, MDATA_MARK, SD3_DAT2_MARK,
491 MMC1_D2_MARK, SDATA_MARK, SD3_DAT3_MARK, MMC1_D3_MARK,
492 SCKZ_MARK, SD3_CD_MARK, MMC1_D4_MARK, TS_SDAT1_MARK,
493 VSP_MARK, GLO_Q0_MARK, SIM0_RST_B_MARK, SD3_WP_MARK,
494 MMC1_D5_MARK, TS_SCK1_MARK, GLO_Q1_MARK, FMIN_C_MARK,
495 RDS_DATA_B_MARK, FMIN_E_MARK, RDS_DATA_D_MARK, FMIN_F_MARK,
496 RDS_DATA_E_MARK, MLB_CLK_MARK, SCL2_B_MARK, SCL2_CIS_B_MARK,
497 MLB_SIG_MARK, SCIFB1_RXD_D_MARK, RX1_C_MARK, SDA2_B_MARK,
498 SDA2_CIS_B_MARK, MLB_DAT_MARK, SPV_EVEN_MARK,
499 SCIFB1_TXD_D_MARK, TX1_C_MARK, BPFCLK_C_MARK,
500 RDS_CLK_B_MARK, SSI_SCK0129_MARK, CAN_CLK_B_MARK,
501 MOUT0_MARK,
502
503 SSI_WS0129_MARK, CAN0_TX_B_MARK, MOUT1_MARK,
504 SSI_SDATA0_MARK, CAN0_RX_B_MARK, MOUT2_MARK,
505 SSI_SDATA1_MARK, CAN1_TX_B_MARK, MOUT5_MARK,
506 SSI_SDATA2_MARK, CAN1_RX_B_MARK, SSI_SCK1_MARK, MOUT6_MARK,
507 SSI_SCK34_MARK, STP_OPWM_0_MARK, SCIFB0_SCK_MARK,
508 MSIOF1_SCK_MARK, CAN_DEBUG_HW_TRIGGER_MARK, SSI_WS34_MARK,
509 STP_IVCXO27_0_MARK, SCIFB0_RXD_MARK, MSIOF1_SYNC_MARK,
510 CAN_STEP0_MARK, SSI_SDATA3_MARK, STP_ISCLK_0_MARK,
511 SCIFB0_TXD_MARK, MSIOF1_SS1_MARK, CAN_TXCLK_MARK,
512 SSI_SCK4_MARK, STP_ISD_0_MARK, SCIFB0_CTS_N_MARK,
513 MSIOF1_SS2_MARK, SSI_SCK5_C_MARK, CAN_DEBUGOUT0_MARK,
514 SSI_WS4_MARK, STP_ISEN_0_MARK, SCIFB0_RTS_N_MARK,
515 MSIOF1_TXD_MARK, SSI_WS5_C_MARK, CAN_DEBUGOUT1_MARK,
516 SSI_SDATA4_MARK, STP_ISSYNC_0_MARK, MSIOF1_RXD_MARK,
517 CAN_DEBUGOUT2_MARK, SSI_SCK5_MARK, SCIFB1_SCK_MARK,
518 IERX_B_MARK, DU2_EXHSYNC_DU2_HSYNC_MARK, QSTH_QHS_MARK,
519 CAN_DEBUGOUT3_MARK, SSI_WS5_MARK, SCIFB1_RXD_MARK,
520 IECLK_B_MARK, DU2_EXVSYNC_DU2_VSYNC_MARK, QSTB_QHE_MARK,
521 CAN_DEBUGOUT4_MARK,
522
523 SSI_SDATA5_MARK, SCIFB1_TXD_MARK, IETX_B_MARK, DU2_DR2_MARK,
524 LCDOUT2_MARK, CAN_DEBUGOUT5_MARK, SSI_SCK6_MARK,
525 SCIFB1_CTS_N_MARK, BPFCLK_D_MARK, RDS_CLK_C_MARK,
526 DU2_DR3_MARK, LCDOUT3_MARK, CAN_DEBUGOUT6_MARK,
527 BPFCLK_F_MARK, RDS_CLK_E_MARK, SSI_WS6_MARK,
528 SCIFB1_RTS_N_MARK, CAN0_TX_D_MARK, DU2_DR4_MARK,
529 LCDOUT4_MARK, CAN_DEBUGOUT7_MARK, SSI_SDATA6_MARK,
530 FMIN_D_MARK, RDS_DATA_C_MARK, DU2_DR5_MARK, LCDOUT5_MARK,
531 CAN_DEBUGOUT8_MARK, SSI_SCK78_MARK, STP_IVCXO27_1_MARK,
532 SCK1_MARK, SCIFA1_SCK_MARK, DU2_DR6_MARK, LCDOUT6_MARK,
533 CAN_DEBUGOUT9_MARK, SSI_WS78_MARK, STP_ISCLK_1_MARK,
534 SCIFB2_SCK_MARK, SCIFA2_CTS_N_MARK, DU2_DR7_MARK,
535 LCDOUT7_MARK, CAN_DEBUGOUT10_MARK, SSI_SDATA7_MARK,
536 STP_ISD_1_MARK, SCIFB2_RXD_MARK, SCIFA2_RTS_N_MARK,
537 TCLK2_MARK, QSTVA_QVS_MARK, CAN_DEBUGOUT11_MARK,
538 BPFCLK_E_MARK, RDS_CLK_D_MARK, SSI_SDATA7_B_MARK,
539 FMIN_G_MARK, RDS_DATA_F_MARK, SSI_SDATA8_MARK,
540 STP_ISEN_1_MARK, SCIFB2_TXD_MARK, CAN0_TX_C_MARK,
541 CAN_DEBUGOUT12_MARK, SSI_SDATA8_B_MARK, SSI_SDATA9_MARK,
542 STP_ISSYNC_1_MARK, SCIFB2_CTS_N_MARK, SSI_WS1_MARK,
543 SSI_SDATA5_C_MARK, CAN_DEBUGOUT13_MARK, AUDIO_CLKA_MARK,
544 SCIFB2_RTS_N_MARK, CAN_DEBUGOUT14_MARK,
545
546 AUDIO_CLKB_MARK, SCIF_CLK_MARK, CAN0_RX_D_MARK,
547 DVC_MUTE_MARK, CAN0_RX_C_MARK, CAN_DEBUGOUT15_MARK,
548 REMOCON_MARK, SCIFA0_SCK_MARK, HSCK1_MARK, SCK0_MARK,
549 MSIOF3_SS2_MARK, DU2_DG2_MARK, LCDOUT10_MARK, SDA1_C_MARK,
550 SDA1_CIS_C_MARK, SCIFA0_RXD_MARK, HRX1_MARK, RX0_MARK,
551 DU2_DR0_MARK, LCDOUT0_MARK, SCIFA0_TXD_MARK, HTX1_MARK,
552 TX0_MARK, DU2_DR1_MARK, LCDOUT1_MARK, SCIFA0_CTS_N_MARK,
553 HCTS1_N_MARK, CTS0_N_MARK, MSIOF3_SYNC_MARK, DU2_DG3_MARK,
554 LCDOUT11_MARK, PWM0_B_MARK, SCL1_C_MARK, SCL1_CIS_C_MARK,
555 SCIFA0_RTS_N_MARK, HRTS1_N_MARK, RTS0_N_TANS_MARK,
556 MSIOF3_SS1_MARK, DU2_DG0_MARK, LCDOUT8_MARK, PWM1_B_MARK,
557 SCIFA1_RXD_MARK, AD_DI_MARK, RX1_MARK,
558 DU2_EXODDF_DU2_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
559 SCIFA1_TXD_MARK, AD_DO_MARK, TX1_MARK, DU2_DG1_MARK,
560 LCDOUT9_MARK, SCIFA1_CTS_N_MARK, AD_CLK_MARK,
561 CTS1_N_MARK, MSIOF3_RXD_MARK, DU0_DOTCLKOUT_MARK, QCLK_MARK,
562 SCIFA1_RTS_N_MARK, AD_NCS_N_MARK, RTS1_N_TANS_MARK,
563 MSIOF3_TXD_MARK, DU1_DOTCLKOUT_MARK, QSTVB_QVE_MARK,
564 HRTS0_N_C_MARK,
565
566 SCIFA2_SCK_MARK, FMCLK_MARK, MSIOF3_SCK_MARK, DU2_DG7_MARK,
567 LCDOUT15_MARK, SCIF_CLK_B_MARK, SCIFA2_RXD_MARK, FMIN_MARK,
568 DU2_DB0_MARK, LCDOUT16_MARK, SCL2_MARK, SCL2_CIS_MARK,
569 SCIFA2_TXD_MARK, BPFCLK_MARK, DU2_DB1_MARK, LCDOUT17_MARK,
570 SDA2_MARK, SDA2_CIS_MARK, HSCK0_MARK, TS_SDEN0_MARK,
571 DU2_DG4_MARK, LCDOUT12_MARK, HCTS0_N_C_MARK, HRX0_MARK,
572 DU2_DB2_MARK, LCDOUT18_MARK, HTX0_MARK, DU2_DB3_MARK,
573 LCDOUT19_MARK, HCTS0_N_MARK, SSI_SCK9_MARK, DU2_DB4_MARK,
574 LCDOUT20_MARK, HRTS0_N_MARK, SSI_WS9_MARK, DU2_DB5_MARK,
575 LCDOUT21_MARK, MSIOF0_SCK_MARK, TS_SDAT0_MARK, ADICLK_MARK,
576 DU2_DB6_MARK, LCDOUT22_MARK, MSIOF0_SYNC_MARK, TS_SCK0_MARK,
577 SSI_SCK2_MARK, ADIDATA_MARK, DU2_DB7_MARK, LCDOUT23_MARK,
578 SCIFA2_RXD_B_MARK, MSIOF0_SS1_MARK, ADICHS0_MARK,
579 DU2_DG5_MARK, LCDOUT13_MARK, MSIOF0_TXD_MARK, ADICHS1_MARK,
580 DU2_DG6_MARK, LCDOUT14_MARK,
581
582 MSIOF0_SS2_MARK, AUDIO_CLKOUT_MARK, ADICHS2_MARK,
583 DU2_DISP_MARK, QPOLA_MARK, HTX0_C_MARK, SCIFA2_TXD_B_MARK,
584 MSIOF0_RXD_MARK, TS_SPSYNC0_MARK, SSI_WS2_MARK,
585 ADICS_SAMP_MARK, DU2_CDE_MARK, QPOLB_MARK, HRX0_C_MARK,
586 USB1_PWEN_MARK, AUDIO_CLKOUT_D_MARK, USB1_OVC_MARK,
587 TCLK1_B_MARK,
588 PINMUX_MARK_END,
589};
590
591static pinmux_enum_t pinmux_data[] = {
592 PINMUX_DATA_GP_ALL(),
593
594 PINMUX_DATA(VI1_DATA7_VI1_B7_MARK, FN_VI1_DATA7_VI1_B7),
595 PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
596 PINMUX_DATA(USB0_OVC_VBUS_MARK, FN_USB0_OVC_VBUS),
597 PINMUX_DATA(USB2_PWEN_MARK, FN_USB2_PWEN),
598 PINMUX_DATA(USB2_OVC_MARK, FN_USB2_OVC),
599 PINMUX_DATA(AVS1_MARK, FN_AVS1),
600 PINMUX_DATA(AVS2_MARK, FN_AVS2),
601 PINMUX_DATA(DU_DOTCLKIN0_MARK, FN_DU_DOTCLKIN0),
602 PINMUX_DATA(DU_DOTCLKIN2_MARK, FN_DU_DOTCLKIN2),
603
604 PINMUX_IPSR_DATA(IP6_2_0, DACK0),
605 PINMUX_IPSR_DATA(IP6_2_0, IRQ0),
606 PINMUX_IPSR_DATA(IP6_2_0, INTC_IRQ0_N),
607 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, SSI_SCK6_B, SEL_SSI6_1),
608 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, VI1_VSYNC_N, SEL_VI1_0),
609 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, VI1_VSYNC_N_B, SEL_VI1_1),
610 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, SSI_WS78_C, SEL_SSI7_2),
611 PINMUX_IPSR_DATA(IP6_5_3, DREQ1_N),
612 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, VI1_CLKENB, SEL_VI1_0),
613 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, VI1_CLKENB_B, SEL_VI1_1),
614 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SSI_SDATA7_C, SEL_SSI7_2),
615 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SSI_SCK78_B, SEL_SSI7_1),
616 PINMUX_IPSR_DATA(IP6_8_6, DACK1),
617 PINMUX_IPSR_DATA(IP6_8_6, IRQ1),
618 PINMUX_IPSR_DATA(IP6_8_6, INTC_IRQ1_N),
619 PINMUX_IPSR_MODSEL_DATA(IP6_8_6, SSI_WS6_B, SEL_SSI6_1),
620 PINMUX_IPSR_MODSEL_DATA(IP6_8_6, SSI_SDATA8_C, SEL_SSI8_2),
621 PINMUX_IPSR_DATA(IP6_10_9, DREQ2_N),
622 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, HSCK1_B, SEL_HSCIF1_1),
623 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, HCTS0_N_B, SEL_HSCIF0_1),
624 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, MSIOF0_TXD_B, SEL_SOF0_1),
625 PINMUX_IPSR_DATA(IP6_13_11, DACK2),
626 PINMUX_IPSR_DATA(IP6_13_11, IRQ2),
627 PINMUX_IPSR_DATA(IP6_13_11, INTC_IRQ2_N),
628 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, SSI_SDATA6_B, SEL_SSI6_1),
629 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, HRTS0_N_B, SEL_HSCIF0_1),
630 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, MSIOF0_RXD_B, SEL_SOF0_1),
631 PINMUX_IPSR_DATA(IP6_16_14, ETH_CRS_DV),
632 PINMUX_IPSR_DATA(IP6_16_14, RMII_CRS_DV),
633 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, STP_ISCLK_0_B, SEL_SSP_1),
634 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, TS_SDEN0_D, SEL_TSIF0_3),
635 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, GLO_Q0_C, SEL_GPS_2),
636 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, SCL2_E, SEL_IIC2_4),
637 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, SCL2_CIS_E, SEL_I2C2_4),
638 PINMUX_IPSR_DATA(IP6_19_17, ETH_RX_ER),
639 PINMUX_IPSR_DATA(IP6_19_17, RMII_RX_ER),
640 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, STP_ISD_0_B, SEL_SSP_1),
641 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, TS_SPSYNC0_D, SEL_TSIF0_3),
642 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, GLO_Q1_C, SEL_GPS_2),
643 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, SDA2_E, SEL_IIC2_4),
644 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, SDA2_CIS_E, SEL_I2C2_4),
645 PINMUX_IPSR_DATA(IP6_22_20, ETH_RXD0),
646 PINMUX_IPSR_DATA(IP6_22_20, RMII_RXD0),
647 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, STP_ISEN_0_B, SEL_SSP_1),
648 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, TS_SDAT0_D, SEL_TSIF0_3),
649 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, GLO_I0_C, SEL_GPS_2),
650 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, SCIFB1_SCK_G, SEL_SCIFB1_6),
651 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, SCK1_E, SEL_SCIF1_4),
652 PINMUX_IPSR_DATA(IP6_25_23, ETH_RXD1),
653 PINMUX_IPSR_DATA(IP6_25_23, RMII_RXD1),
654 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, HRX0_E, SEL_HSCIF0_4),
655 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, STP_ISSYNC_0_B, SEL_SSP_1),
656 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, TS_SCK0_D, SEL_TSIF0_3),
657 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, GLO_I1_C, SEL_GPS_2),
658 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, SCIFB1_RXD_G, SEL_SCIFB1_6),
659 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, RX1_E, SEL_SCIF1_4),
660 PINMUX_IPSR_DATA(IP6_28_26, ETH_LINK),
661 PINMUX_IPSR_DATA(IP6_28_26, RMII_LINK),
662 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, HTX0_E, SEL_HSCIF0_4),
663 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, STP_IVCXO27_0_B, SEL_SSP_1),
664 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, SCIFB1_TXD_G, SEL_SCIFB1_6),
665 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, TX1_E, SEL_SCIF1_4),
666 PINMUX_IPSR_DATA(IP6_31_29, ETH_REF_CLK),
667 PINMUX_IPSR_DATA(IP6_31_29, RMII_REF_CLK),
668 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, HCTS0_N_E, SEL_HSCIF0_4),
669 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, STP_IVCXO27_1_B, SEL_SSP_1),
670 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, HRX0_F, SEL_HSCIF0_5),
671
672 PINMUX_IPSR_DATA(IP7_2_0, ETH_MDIO),
673 PINMUX_IPSR_DATA(IP7_2_0, RMII_MDIO),
674 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HRTS0_N_E, SEL_HSCIF0_4),
675 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, SIM0_D_C, SEL_SIM_2),
676 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HCTS0_N_F, SEL_HSCIF0_5),
677 PINMUX_IPSR_DATA(IP7_5_3, ETH_TXD1),
678 PINMUX_IPSR_DATA(IP7_5_3, RMII_TXD1),
679 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, HTX0_F, SEL_HSCIF0_4),
680 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, BPFCLK_G, SEL_SIM_2),
681 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, RDS_CLK_F, SEL_HSCIF0_5),
682 PINMUX_IPSR_DATA(IP7_7_6, ETH_TX_EN),
683 PINMUX_IPSR_DATA(IP7_7_6, RMII_TX_EN),
684 PINMUX_IPSR_MODSEL_DATA(IP7_7_6, SIM0_CLK_C, SEL_SIM_2),
685 PINMUX_IPSR_MODSEL_DATA(IP7_7_6, HRTS0_N_F, SEL_HSCIF0_5),
686 PINMUX_IPSR_DATA(IP7_9_8, ETH_MAGIC),
687 PINMUX_IPSR_DATA(IP7_9_8, RMII_MAGIC),
688 PINMUX_IPSR_MODSEL_DATA(IP7_9_8, SIM0_RST_C, SEL_SIM_2),
689 PINMUX_IPSR_DATA(IP7_12_10, ETH_TXD0),
690 PINMUX_IPSR_DATA(IP7_12_10, RMII_TXD0),
691 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, STP_ISCLK_1_B, SEL_SSP_1),
692 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, TS_SDEN1_C, SEL_TSIF1_2),
693 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, GLO_SCLK_C, SEL_GPS_2),
694 PINMUX_IPSR_DATA(IP7_15_13, ETH_MDC),
695 PINMUX_IPSR_DATA(IP7_15_13, RMII_MDC),
696 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, STP_ISD_1_B, SEL_SSP_1),
697 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, TS_SPSYNC1_C, SEL_TSIF1_2),
698 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, GLO_SDATA_C, SEL_GPS_2),
699 PINMUX_IPSR_DATA(IP7_18_16, PWM0),
700 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, SCIFA2_SCK_C, SEL_SCIFA2_2),
701 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, STP_ISEN_1_B, SEL_SSP_1),
702 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, TS_SDAT1_C, SEL_TSIF1_2),
703 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, GLO_SS_C, SEL_GPS_2),
704 PINMUX_IPSR_DATA(IP7_21_19, PWM1),
705 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, SCIFA2_TXD_C, SEL_SCIFA2_2),
706 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, STP_ISSYNC_1_B, SEL_SSP_1),
707 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, TS_SCK1_C, SEL_TSIF1_2),
708 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, GLO_RFON_C, SEL_GPS_2),
709 PINMUX_IPSR_DATA(IP7_21_19, PCMOE_N),
710 PINMUX_IPSR_DATA(IP7_24_22, PWM2),
711 PINMUX_IPSR_DATA(IP7_24_22, PWMFSW0),
712 PINMUX_IPSR_MODSEL_DATA(IP7_24_22, SCIFA2_RXD_C, SEL_SCIFA2_2),
713 PINMUX_IPSR_DATA(IP7_24_22, PCMWE_N),
714 PINMUX_IPSR_MODSEL_DATA(IP7_24_22, IECLK_C, SEL_IEB_2),
715 PINMUX_IPSR_DATA(IP7_26_25, DU1_DOTCLKIN),
716 PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKC),
717 PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKOUT_C),
718 PINMUX_IPSR_MODSEL_DATA(IP7_28_27, VI0_CLK, SEL_VI0_0),
719 PINMUX_IPSR_DATA(IP7_28_27, ATACS00_N),
720 PINMUX_IPSR_DATA(IP7_28_27, AVB_RXD1),
721 PINMUX_IPSR_DATA(IP7_28_27, MII_RXD1),
722 PINMUX_IPSR_MODSEL_DATA(IP7_30_29, VI0_DATA0_VI0_B0, SEL_VI0_0),
723 PINMUX_IPSR_DATA(IP7_30_29, ATACS10_N),
724 PINMUX_IPSR_DATA(IP7_30_29, AVB_RXD2),
725 PINMUX_IPSR_DATA(IP7_30_29, MII_RXD2),
726
727 PINMUX_IPSR_MODSEL_DATA(IP8_1_0, VI0_DATA1_VI0_B1, SEL_VI0_0),
728 PINMUX_IPSR_DATA(IP8_1_0, ATARD0_N),
729 PINMUX_IPSR_DATA(IP8_1_0, AVB_RXD3),
730 PINMUX_IPSR_DATA(IP8_1_0, MII_RXD3),
731 PINMUX_IPSR_MODSEL_DATA(IP8_3_2, VI0_DATA2_VI0_B2, SEL_VI0_0),
732 PINMUX_IPSR_DATA(IP8_3_2, ATAWR0_N),
733 PINMUX_IPSR_DATA(IP8_3_2, AVB_RXD4),
734 PINMUX_IPSR_MODSEL_DATA(IP8_5_4, VI0_DATA3_VI0_B3, SEL_VI0_0),
735 PINMUX_IPSR_DATA(IP8_5_4, ATADIR0_N),
736 PINMUX_IPSR_DATA(IP8_5_4, AVB_RXD5),
737 PINMUX_IPSR_MODSEL_DATA(IP8_7_6, VI0_DATA4_VI0_B4, SEL_VI0_0),
738 PINMUX_IPSR_DATA(IP8_7_6, ATAG0_N),
739 PINMUX_IPSR_DATA(IP8_7_6, AVB_RXD6),
740 PINMUX_IPSR_MODSEL_DATA(IP8_9_8, VI0_DATA5_VI0_B5, SEL_VI0_0),
741 PINMUX_IPSR_DATA(IP8_9_8, EX_WAIT1),
742 PINMUX_IPSR_DATA(IP8_9_8, AVB_RXD7),
743 PINMUX_IPSR_MODSEL_DATA(IP8_11_10, VI0_DATA6_VI0_B6, SEL_VI0_0),
744 PINMUX_IPSR_DATA(IP8_11_10, AVB_RX_ER),
745 PINMUX_IPSR_DATA(IP8_11_10, MII_RX_ER),
746 PINMUX_IPSR_MODSEL_DATA(IP8_13_12, VI0_DATA7_VI0_B7, SEL_VI0_0),
747 PINMUX_IPSR_DATA(IP8_13_12, AVB_RX_CLK),
748 PINMUX_IPSR_DATA(IP8_13_12, MII_RX_CLK),
749 PINMUX_IPSR_MODSEL_DATA(IP8_15_14, VI1_CLK, SEL_VI1_0),
750 PINMUX_IPSR_DATA(IP8_15_14, AVB_RX_DV),
751 PINMUX_IPSR_DATA(IP8_15_14, MII_RX_DV),
752 PINMUX_IPSR_MODSEL_DATA(IP8_17_16, VI1_DATA0_VI1_B0, SEL_VI1_0),
753 PINMUX_IPSR_MODSEL_DATA(IP8_17_16, SCIFA1_SCK_D, SEL_SCIFA1_3),
754 PINMUX_IPSR_DATA(IP8_17_16, AVB_CRS),
755 PINMUX_IPSR_DATA(IP8_17_16, MII_CRS),
756 PINMUX_IPSR_MODSEL_DATA(IP8_19_18, VI1_DATA1_VI1_B1, SEL_VI1_0),
757 PINMUX_IPSR_MODSEL_DATA(IP8_19_18, SCIFA1_RXD_D, SEL_SCIFA1_3),
758 PINMUX_IPSR_DATA(IP8_19_18, AVB_MDC),
759 PINMUX_IPSR_DATA(IP8_19_18, MII_MDC),
760 PINMUX_IPSR_MODSEL_DATA(IP8_21_20, VI1_DATA2_VI1_B2, SEL_VI1_0),
761 PINMUX_IPSR_MODSEL_DATA(IP8_21_20, SCIFA1_TXD_D, SEL_SCIFA1_3),
762 PINMUX_IPSR_DATA(IP8_21_20, AVB_MDIO),
763 PINMUX_IPSR_DATA(IP8_21_20, MII_MDIO),
764 PINMUX_IPSR_MODSEL_DATA(IP8_23_22, VI1_DATA3_VI1_B3, SEL_VI1_0),
765 PINMUX_IPSR_MODSEL_DATA(IP8_23_22, SCIFA1_CTS_N_D, SEL_SCIFA1_3),
766 PINMUX_IPSR_DATA(IP8_23_22, AVB_GTX_CLK),
767 PINMUX_IPSR_MODSEL_DATA(IP8_25_24, VI1_DATA4_VI1_B4, SEL_VI1_0),
768 PINMUX_IPSR_MODSEL_DATA(IP8_25_24, SCIFA1_RTS_N_D, SEL_SCIFA1_3),
769 PINMUX_IPSR_DATA(IP8_25_24, AVB_MAGIC),
770 PINMUX_IPSR_DATA(IP8_25_24, MII_MAGIC),
771 PINMUX_IPSR_MODSEL_DATA(IP8_26, VI1_DATA5_VI1_B5, SEL_VI1_0),
772 PINMUX_IPSR_MODSEL_DATA(IP8_26, AVB_PHY_INT, SEL_SCIFA1_3),
773 PINMUX_IPSR_MODSEL_DATA(IP8_27, VI1_DATA6_VI1_B6, SEL_VI1_0),
774 PINMUX_IPSR_DATA(IP8_27, AVB_GTXREFCLK),
775 PINMUX_IPSR_DATA(IP8_28, SD0_CLK),
776 PINMUX_IPSR_MODSEL_DATA(IP8_28, VI1_DATA0_VI1_B0_B, SEL_VI1_1),
777 PINMUX_IPSR_DATA(IP8_30_29, SD0_CMD),
778 PINMUX_IPSR_MODSEL_DATA(IP8_30_29, SCIFB1_SCK_B, SEL_SCIFB1_1),
779 PINMUX_IPSR_MODSEL_DATA(IP8_30_29, VI1_DATA1_VI1_B1_B, SEL_VI1_1),
780
781 PINMUX_IPSR_DATA(IP9_1_0, SD0_DAT0),
782 PINMUX_IPSR_MODSEL_DATA(IP9_1_0, SCIFB1_RXD_B, SEL_SCIFB1_1),
783 PINMUX_IPSR_MODSEL_DATA(IP9_1_0, VI1_DATA2_VI1_B2_B, SEL_VI1_1),
784 PINMUX_IPSR_DATA(IP9_3_2, SD0_DAT1),
785 PINMUX_IPSR_MODSEL_DATA(IP9_3_2, SCIFB1_TXD_B, SEL_SCIFB1_1),
786 PINMUX_IPSR_MODSEL_DATA(IP9_3_2, VI1_DATA3_VI1_B3_B, SEL_VI1_1),
787 PINMUX_IPSR_DATA(IP9_5_4, SD0_DAT2),
788 PINMUX_IPSR_MODSEL_DATA(IP9_5_4, SCIFB1_CTS_N_B, SEL_SCIFB1_1),
789 PINMUX_IPSR_MODSEL_DATA(IP9_5_4, VI1_DATA4_VI1_B4_B, SEL_VI1_1),
790 PINMUX_IPSR_DATA(IP9_7_6, SD0_DAT3),
791 PINMUX_IPSR_MODSEL_DATA(IP9_7_6, SCIFB1_RTS_N_B, SEL_SCIFB1_1),
792 PINMUX_IPSR_MODSEL_DATA(IP9_7_6, VI1_DATA5_VI1_B5_B, SEL_VI1_1),
793 PINMUX_IPSR_DATA(IP9_11_8, SD0_CD),
794 PINMUX_IPSR_DATA(IP9_11_8, MMC0_D6),
795 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, TS_SDEN0_B, SEL_TSIF0_1),
796 PINMUX_IPSR_DATA(IP9_11_8, USB0_EXTP),
797 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, GLO_SCLK, SEL_GPS_0),
798 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, VI1_DATA6_VI1_B6_B, SEL_VI1_1),
799 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, SCL1_B, SEL_IIC1_1),
800 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, SCL1_CIS_B, SEL_I2C1_1),
801 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, VI2_DATA6_VI2_B6_B, SEL_VI2_1),
802 PINMUX_IPSR_DATA(IP9_15_12, SD0_WP),
803 PINMUX_IPSR_DATA(IP9_15_12, MMC0_D7),
804 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, TS_SPSYNC0_B, SEL_TSIF0_1),
805 PINMUX_IPSR_DATA(IP9_15_12, USB0_IDIN),
806 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, GLO_SDATA, SEL_GPS_0),
807 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, VI1_DATA7_VI1_B7_B, SEL_VI1_1),
808 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, SDA1_B, SEL_IIC1_1),
809 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, SDA1_CIS_B, SEL_I2C1_1),
810 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, VI2_DATA7_VI2_B7_B, SEL_VI2_1),
811 PINMUX_IPSR_DATA(IP9_17_16, SD1_CLK),
812 PINMUX_IPSR_DATA(IP9_17_16, AVB_TX_EN),
813 PINMUX_IPSR_DATA(IP9_17_16, MII_TX_EN),
814 PINMUX_IPSR_DATA(IP9_19_18, SD1_CMD),
815 PINMUX_IPSR_DATA(IP9_19_18, AVB_TX_ER),
816 PINMUX_IPSR_DATA(IP9_19_18, MII_TX_ER),
817 PINMUX_IPSR_MODSEL_DATA(IP9_19_18, SCIFB0_SCK_B, SEL_SCIFB_1),
818 PINMUX_IPSR_DATA(IP9_21_20, SD1_DAT0),
819 PINMUX_IPSR_DATA(IP9_21_20, AVB_TX_CLK),
820 PINMUX_IPSR_DATA(IP9_21_20, MII_TX_CLK),
821 PINMUX_IPSR_MODSEL_DATA(IP9_21_20, SCIFB0_RXD_B, SEL_SCIFB_1),
822 PINMUX_IPSR_DATA(IP9_23_22, SD1_DAT1),
823 PINMUX_IPSR_DATA(IP9_23_22, AVB_LINK),
824 PINMUX_IPSR_DATA(IP9_23_22, MII_LINK),
825 PINMUX_IPSR_MODSEL_DATA(IP9_23_22, SCIFB0_TXD_B, SEL_SCIFB_1),
826 PINMUX_IPSR_DATA(IP9_25_24, SD1_DAT2),
827 PINMUX_IPSR_DATA(IP9_25_24, AVB_COL),
828 PINMUX_IPSR_DATA(IP9_25_24, MII_COL),
829 PINMUX_IPSR_MODSEL_DATA(IP9_25_24, SCIFB0_CTS_N_B, SEL_SCIFB_1),
830 PINMUX_IPSR_DATA(IP9_27_26, SD1_DAT3),
831 PINMUX_IPSR_DATA(IP9_27_26, AVB_RXD0),
832 PINMUX_IPSR_DATA(IP9_27_26, MII_RXD0),
833 PINMUX_IPSR_MODSEL_DATA(IP9_27_26, SCIFB0_RTS_N_B, SEL_SCIFB_1),
834 PINMUX_IPSR_DATA(IP9_31_28, SD1_CD),
835 PINMUX_IPSR_DATA(IP9_31_28, MMC1_D6),
836 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, TS_SDEN1, SEL_TSIF1_0),
837 PINMUX_IPSR_DATA(IP9_31_28, USB1_EXTP),
838 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, GLO_SS, SEL_GPS_0),
839 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, VI0_CLK_B, SEL_VI0_1),
840 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, SCL2_D, SEL_IIC2_3),
841 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, SCL2_CIS_D, SEL_I2C2_3),
842 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, SIM0_CLK_B, SEL_SIM_1),
843 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, VI3_CLK_B, SEL_VI3_1),
844
845 PINMUX_IPSR_DATA(IP10_3_0, SD1_WP),
846 PINMUX_IPSR_DATA(IP10_3_0, MMC1_D7),
847 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, TS_SPSYNC1, SEL_TSIF1_0),
848 PINMUX_IPSR_DATA(IP10_3_0, USB1_IDIN),
849 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, GLO_RFON, SEL_GPS_0),
850 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, VI1_CLK_B, SEL_VI1_1),
851 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, SDA2_D, SEL_IIC2_3),
852 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, SDA2_CIS_D, SEL_I2C2_3),
853 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, SIM0_D_B, SEL_SIM_1),
854 PINMUX_IPSR_DATA(IP10_6_4, SD2_CLK),
855 PINMUX_IPSR_DATA(IP10_6_4, MMC0_CLK),
856 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, SIM0_CLK, SEL_SIM_0),
857 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, VI0_DATA0_VI0_B0_B, SEL_VI0_1),
858 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, TS_SDEN0_C, SEL_TSIF0_2),
859 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, GLO_SCLK_B, SEL_GPS_1),
860 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, VI3_DATA0_B, SEL_VI3_1),
861 PINMUX_IPSR_DATA(IP10_10_7, SD2_CMD),
862 PINMUX_IPSR_DATA(IP10_10_7, MMC0_CMD),
863 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SIM0_D, SEL_SIM_0),
864 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, VI0_DATA1_VI0_B1_B, SEL_VI0_1),
865 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SCIFB1_SCK_E, SEL_SCIFB1_4),
866 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SCK1_D, SEL_SCIF1_3),
867 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, TS_SPSYNC0_C, SEL_TSIF0_2),
868 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, GLO_SDATA_B, SEL_GPS_1),
869 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, VI3_DATA1_B, SEL_VI3_1),
870 PINMUX_IPSR_DATA(IP10_14_11, SD2_DAT0),
871 PINMUX_IPSR_DATA(IP10_14_11, MMC0_D0),
872 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, FMCLK_B, SEL_FM_1),
873 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, VI0_DATA2_VI0_B2_B, SEL_VI0_1),
874 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, SCIFB1_RXD_E, SEL_SCIFB1_4),
875 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, RX1_D, SEL_SCIF1_3),
876 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, TS_SDAT0_C, SEL_TSIF0_2),
877 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, GLO_SS_B, SEL_GPS_1),
878 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, VI3_DATA2_B, SEL_VI3_1),
879 PINMUX_IPSR_DATA(IP10_18_15, SD2_DAT1),
880 PINMUX_IPSR_DATA(IP10_18_15, MMC0_D1),
881 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, FMIN_B, SEL_FM_1),
882 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, RDS_DATA, SEL_RDS_0),
883 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, VI0_DATA3_VI0_B3_B, SEL_VI0_1),
884 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, SCIFB1_TXD_E, SEL_SCIFB1_4),
885 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, TX1_D, SEL_SCIF1_3),
886 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, TS_SCK0_C, SEL_TSIF0_2),
887 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, GLO_RFON_B, SEL_GPS_1),
888 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, VI3_DATA3_B, SEL_VI3_1),
889 PINMUX_IPSR_DATA(IP10_22_19, SD2_DAT2),
890 PINMUX_IPSR_DATA(IP10_22_19, MMC0_D2),
891 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, BPFCLK_B, SEL_FM_1),
892 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, RDS_CLK, SEL_RDS_0),
893 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, VI0_DATA4_VI0_B4_B, SEL_VI0_1),
894 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, HRX0_D, SEL_HSCIF0_3),
895 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, TS_SDEN1_B, SEL_TSIF1_1),
896 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, GLO_Q0_B, SEL_GPS_1),
897 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, VI3_DATA4_B, SEL_VI3_1),
898 PINMUX_IPSR_DATA(IP10_25_23, SD2_DAT3),
899 PINMUX_IPSR_DATA(IP10_25_23, MMC0_D3),
900 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, SIM0_RST, SEL_SIM_0),
901 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, VI0_DATA5_VI0_B5_B, SEL_VI0_1),
902 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, HTX0_D, SEL_HSCIF0_3),
903 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, TS_SPSYNC1_B, SEL_TSIF1_1),
904 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, GLO_Q1_B, SEL_GPS_1),
905 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, VI3_DATA5_B, SEL_VI3_1),
906 PINMUX_IPSR_DATA(IP10_29_26, SD2_CD),
907 PINMUX_IPSR_DATA(IP10_29_26, MMC0_D4),
908 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, TS_SDAT0_B, SEL_TSIF0_1),
909 PINMUX_IPSR_DATA(IP10_29_26, USB2_EXTP),
910 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, GLO_I0, SEL_GPS_0),
911 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, VI0_DATA6_VI0_B6_B, SEL_VI0_1),
912 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, HCTS0_N_D, SEL_HSCIF0_3),
913 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, TS_SDAT1_B, SEL_TSIF1_1),
914 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, GLO_I0_B, SEL_GPS_1),
915 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, VI3_DATA6_B, SEL_VI3_1),
916
917 PINMUX_IPSR_DATA(IP11_3_0, SD2_WP),
918 PINMUX_IPSR_DATA(IP11_3_0, MMC0_D5),
919 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, TS_SCK0_B, SEL_TSIF0_1),
920 PINMUX_IPSR_DATA(IP11_3_0, USB2_IDIN),
921 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, GLO_I1, SEL_GPS_0),
922 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, VI0_DATA7_VI0_B7_B, SEL_VI0_1),
923 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, HRTS0_N_D, SEL_HSCIF0_3),
924 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, TS_SCK1_B, SEL_TSIF1_1),
925 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, GLO_I1_B, SEL_GPS_1),
926 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, VI3_DATA7_B, SEL_VI3_1),
927 PINMUX_IPSR_DATA(IP11_4, SD3_CLK),
928 PINMUX_IPSR_DATA(IP11_4, MMC1_CLK),
929 PINMUX_IPSR_DATA(IP11_6_5, SD3_CMD),
930 PINMUX_IPSR_DATA(IP11_6_5, MMC1_CMD),
931 PINMUX_IPSR_DATA(IP11_6_5, MTS_N),
932 PINMUX_IPSR_DATA(IP11_8_7, SD3_DAT0),
933 PINMUX_IPSR_DATA(IP11_8_7, MMC1_D0),
934 PINMUX_IPSR_DATA(IP11_8_7, STM_N),
935 PINMUX_IPSR_DATA(IP11_10_9, SD3_DAT1),
936 PINMUX_IPSR_DATA(IP11_10_9, MMC1_D1),
937 PINMUX_IPSR_DATA(IP11_10_9, MDATA),
938 PINMUX_IPSR_DATA(IP11_12_11, SD3_DAT2),
939 PINMUX_IPSR_DATA(IP11_12_11, MMC1_D2),
940 PINMUX_IPSR_DATA(IP11_12_11, SDATA),
941 PINMUX_IPSR_DATA(IP11_14_13, SD3_DAT3),
942 PINMUX_IPSR_DATA(IP11_14_13, MMC1_D3),
943 PINMUX_IPSR_DATA(IP11_14_13, SCKZ),
944 PINMUX_IPSR_DATA(IP11_17_15, SD3_CD),
945 PINMUX_IPSR_DATA(IP11_17_15, MMC1_D4),
946 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, TS_SDAT1, SEL_TSIF1_0),
947 PINMUX_IPSR_DATA(IP11_17_15, VSP),
948 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, GLO_Q0, SEL_GPS_0),
949 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, SIM0_RST_B, SEL_SIM_1),
950 PINMUX_IPSR_DATA(IP11_21_18, SD3_WP),
951 PINMUX_IPSR_DATA(IP11_21_18, MMC1_D5),
952 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, TS_SCK1, SEL_TSIF1_0),
953 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, GLO_Q1, SEL_GPS_0),
954 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_C, SEL_FM_2),
955 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, RDS_DATA_B, SEL_RDS_1),
956 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_E, SEL_FM_4),
957 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, RDS_DATA_D, SEL_RDS_3),
958 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_F, SEL_FM_5),
959 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, RDS_DATA_E, SEL_RDS_4),
960 PINMUX_IPSR_DATA(IP11_23_22, MLB_CLK),
961 PINMUX_IPSR_MODSEL_DATA(IP11_23_22, SCL2_B, SEL_IIC2_1),
962 PINMUX_IPSR_MODSEL_DATA(IP11_23_22, SCL2_CIS_B, SEL_I2C2_1),
963 PINMUX_IPSR_DATA(IP11_26_24, MLB_SIG),
964 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, SCIFB1_RXD_D, SEL_SCIFB1_3),
965 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, RX1_C, SEL_SCIF1_2),
966 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, SDA2_B, SEL_IIC2_1),
967 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, SDA2_CIS_B, SEL_I2C2_1),
968 PINMUX_IPSR_DATA(IP11_29_27, MLB_DAT),
969 PINMUX_IPSR_DATA(IP11_29_27, SPV_EVEN),
970 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, SCIFB1_TXD_D, SEL_SCIFB1_3),
971 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, TX1_C, SEL_SCIF1_2),
972 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, BPFCLK_C, SEL_FM_2),
973 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, RDS_CLK_B, SEL_RDS_1),
974 PINMUX_IPSR_DATA(IP11_31_30, SSI_SCK0129),
975 PINMUX_IPSR_MODSEL_DATA(IP11_31_30, CAN_CLK_B, SEL_CANCLK_1),
976 PINMUX_IPSR_DATA(IP11_31_30, MOUT0),
977
978};
979
980static struct pinmux_gpio pinmux_gpios[] = {
981 PINMUX_GPIO_GP_ALL(),
982
983 GPIO_FN(VI1_DATA7_VI1_B7), GPIO_FN(USB0_PWEN), GPIO_FN(USB0_OVC_VBUS),
984 GPIO_FN(USB2_PWEN), GPIO_FN(USB2_OVC), GPIO_FN(AVS1), GPIO_FN(AVS2),
985 GPIO_FN(DU_DOTCLKIN0), GPIO_FN(DU_DOTCLKIN2),
986
987
988
989 GPIO_FN(DACK0), GPIO_FN(IRQ0), GPIO_FN(INTC_IRQ0_N),
990 GPIO_FN(SSI_SCK6_B), GPIO_FN(VI1_VSYNC_N), GPIO_FN(VI1_VSYNC_N_B),
991 GPIO_FN(SSI_WS78_C), GPIO_FN(DREQ1_N), GPIO_FN(VI1_CLKENB),
992 GPIO_FN(VI1_CLKENB_B), GPIO_FN(SSI_SDATA7_C), GPIO_FN(SSI_SCK78_B),
993 GPIO_FN(DACK1), GPIO_FN(IRQ1), GPIO_FN(INTC_IRQ1_N), GPIO_FN(SSI_WS6_B),
994 GPIO_FN(SSI_SDATA8_C), GPIO_FN(DREQ2_N), GPIO_FN(HSCK1_B),
995 GPIO_FN(HCTS0_N_B), GPIO_FN(MSIOF0_TXD_B), GPIO_FN(DACK2),
996 GPIO_FN(IRQ2), GPIO_FN(INTC_IRQ2_N), GPIO_FN(SSI_SDATA6_B),
997 GPIO_FN(HRTS0_N_B), GPIO_FN(MSIOF0_RXD_B), GPIO_FN(ETH_CRS_DV),
998 GPIO_FN(RMII_CRS_DV), GPIO_FN(STP_ISCLK_0_B), GPIO_FN(TS_SDEN0_D),
999 GPIO_FN(GLO_Q0_C), GPIO_FN(SCL2_E), GPIO_FN(SCL2_CIS_E),
1000 GPIO_FN(ETH_RX_ER), GPIO_FN(RMII_RX_ER), GPIO_FN(STP_ISD_0_B),
1001 GPIO_FN(TS_SPSYNC0_D), GPIO_FN(GLO_Q1_C), GPIO_FN(SDA2_E),
1002 GPIO_FN(SDA2_CIS_E), GPIO_FN(ETH_RXD0), GPIO_FN(RMII_RXD0),
1003 GPIO_FN(STP_ISEN_0_B), GPIO_FN(TS_SDAT0_D), GPIO_FN(GLO_I0_C),
1004 GPIO_FN(SCIFB1_SCK_G), GPIO_FN(SCK1_E), GPIO_FN(ETH_RXD1),
1005 GPIO_FN(RMII_RXD1), GPIO_FN(HRX0_E), GPIO_FN(STP_ISSYNC_0_B),
1006 GPIO_FN(TS_SCK0_D), GPIO_FN(GLO_I1_C), GPIO_FN(SCIFB1_RXD_G),
1007 GPIO_FN(RX1_E), GPIO_FN(ETH_LINK), GPIO_FN(RMII_LINK), GPIO_FN(HTX0_E),
1008 GPIO_FN(STP_IVCXO27_0_B), GPIO_FN(SCIFB1_TXD_G), GPIO_FN(TX1_E),
1009 GPIO_FN(ETH_REF_CLK), GPIO_FN(RMII_REF_CLK), GPIO_FN(HCTS0_N_E),
1010 GPIO_FN(STP_IVCXO27_1_B), GPIO_FN(HRX0_F),
1011
1012
1013 GPIO_FN(ETH_MDIO), GPIO_FN(RMII_MDIO), GPIO_FN(HRTS0_N_E),
1014 GPIO_FN(SIM0_D_C), GPIO_FN(HCTS0_N_F), GPIO_FN(ETH_TXD1),
1015 GPIO_FN(RMII_TXD1), GPIO_FN(HTX0_F), GPIO_FN(BPFCLK_G),
1016 GPIO_FN(RDS_CLK_F), GPIO_FN(ETH_TX_EN), GPIO_FN(RMII_TX_EN),
1017 GPIO_FN(SIM0_CLK_C), GPIO_FN(HRTS0_N_F), GPIO_FN(ETH_MAGIC),
1018 GPIO_FN(RMII_MAGIC), GPIO_FN(SIM0_RST_C), GPIO_FN(ETH_TXD0),
1019 GPIO_FN(RMII_TXD0), GPIO_FN(STP_ISCLK_1_B), GPIO_FN(TS_SDEN1_C),
1020 GPIO_FN(GLO_SCLK_C), GPIO_FN(ETH_MDC), GPIO_FN(RMII_MDC),
1021 GPIO_FN(STP_ISD_1_B), GPIO_FN(TS_SPSYNC1_C), GPIO_FN(GLO_SDATA_C),
1022 GPIO_FN(PWM0), GPIO_FN(SCIFA2_SCK_C), GPIO_FN(STP_ISEN_1_B),
1023 GPIO_FN(TS_SDAT1_C), GPIO_FN(GLO_SS_C), GPIO_FN(PWM1),
1024 GPIO_FN(SCIFA2_TXD_C), GPIO_FN(STP_ISSYNC_1_B), GPIO_FN(TS_SCK1_C),
1025 GPIO_FN(GLO_RFON_C), GPIO_FN(PCMOE_N), GPIO_FN(PWM2), GPIO_FN(PWMFSW0),
1026 GPIO_FN(SCIFA2_RXD_C), GPIO_FN(PCMWE_N), GPIO_FN(IECLK_C),
1027 GPIO_FN(DU1_DOTCLKIN), GPIO_FN(AUDIO_CLKC), GPIO_FN(AUDIO_CLKOUT_C),
1028 GPIO_FN(VI0_CLK), GPIO_FN(ATACS00_N), GPIO_FN(AVB_RXD1),
1029 GPIO_FN(MII_RXD1), GPIO_FN(VI0_DATA0_VI0_B0), GPIO_FN(ATACS10_N),
1030 GPIO_FN(AVB_RXD2), GPIO_FN(MII_RXD2),
1031
1032
1033 GPIO_FN(VI0_DATA1_VI0_B1), GPIO_FN(ATARD0_N), GPIO_FN(AVB_RXD3),
1034 GPIO_FN(MII_RXD3), GPIO_FN(VI0_DATA2_VI0_B2), GPIO_FN(ATAWR0_N),
1035 GPIO_FN(AVB_RXD4), GPIO_FN(VI0_DATA3_VI0_B3), GPIO_FN(ATADIR0_N),
1036 GPIO_FN(AVB_RXD5), GPIO_FN(VI0_DATA4_VI0_B4), GPIO_FN(ATAG0_N),
1037 GPIO_FN(AVB_RXD6), GPIO_FN(VI0_DATA5_VI0_B5), GPIO_FN(EX_WAIT1),
1038 GPIO_FN(AVB_RXD7), GPIO_FN(VI0_DATA6_VI0_B6), GPIO_FN(AVB_RX_ER),
1039 GPIO_FN(MII_RX_ER), GPIO_FN(VI0_DATA7_VI0_B7), GPIO_FN(AVB_RX_CLK),
1040 GPIO_FN(MII_RX_CLK), GPIO_FN(VI1_CLK), GPIO_FN(AVB_RX_DV),
1041 GPIO_FN(MII_RX_DV), GPIO_FN(VI1_DATA0_VI1_B0), GPIO_FN(SCIFA1_SCK_D),
1042 GPIO_FN(AVB_CRS), GPIO_FN(MII_CRS), GPIO_FN(VI1_DATA1_VI1_B1),
1043 GPIO_FN(SCIFA1_RXD_D), GPIO_FN(AVB_MDC), GPIO_FN(MII_MDC),
1044 GPIO_FN(VI1_DATA2_VI1_B2), GPIO_FN(SCIFA1_TXD_D), GPIO_FN(AVB_MDIO),
1045 GPIO_FN(MII_MDIO), GPIO_FN(VI1_DATA3_VI1_B3), GPIO_FN(SCIFA1_CTS_N_D),
1046 GPIO_FN(AVB_GTX_CLK), GPIO_FN(VI1_DATA4_VI1_B4),
1047 GPIO_FN(SCIFA1_RTS_N_D), GPIO_FN(AVB_MAGIC), GPIO_FN(MII_MAGIC),
1048 GPIO_FN(VI1_DATA5_VI1_B5), GPIO_FN(AVB_PHY_INT),
1049 GPIO_FN(VI1_DATA6_VI1_B6), GPIO_FN(AVB_GTXREFCLK),
1050 GPIO_FN(SD0_CLK), GPIO_FN(VI1_DATA0_VI1_B0_B), GPIO_FN(SD0_CMD),
1051 GPIO_FN(SCIFB1_SCK_B), GPIO_FN(VI1_DATA1_VI1_B1_B),
1052
1053
1054 GPIO_FN(SD0_DAT0), GPIO_FN(SCIFB1_RXD_B), GPIO_FN(VI1_DATA2_VI1_B2_B),
1055 GPIO_FN(SD0_DAT1), GPIO_FN(SCIFB1_TXD_B), GPIO_FN(VI1_DATA3_VI1_B3_B),
1056 GPIO_FN(SD0_DAT2), GPIO_FN(SCIFB1_CTS_N_B), GPIO_FN(VI1_DATA4_VI1_B4_B),
1057 GPIO_FN(SD0_DAT3), GPIO_FN(SCIFB1_RTS_N_B), GPIO_FN(VI1_DATA5_VI1_B5_B),
1058 GPIO_FN(SD0_CD), GPIO_FN(MMC0_D6), GPIO_FN(TS_SDEN0_B),
1059 GPIO_FN(USB0_EXTP), GPIO_FN(GLO_SCLK), GPIO_FN(VI1_DATA6_VI1_B6_B),
1060 GPIO_FN(SCL1_B), GPIO_FN(SCL1_CIS_B), GPIO_FN(VI2_DATA6_VI2_B6_B),
1061 GPIO_FN(SD0_WP), GPIO_FN(MMC0_D7), GPIO_FN(TS_SPSYNC0_B),
1062 GPIO_FN(USB0_IDIN), GPIO_FN(GLO_SDATA), GPIO_FN(VI1_DATA7_VI1_B7_B),
1063 GPIO_FN(SDA1_B), GPIO_FN(SDA1_CIS_B), GPIO_FN(VI2_DATA7_VI2_B7_B),
1064 GPIO_FN(SD1_CLK), GPIO_FN(AVB_TX_EN), GPIO_FN(MII_TX_EN),
1065 GPIO_FN(SD1_CMD), GPIO_FN(AVB_TX_ER), GPIO_FN(MII_TX_ER),
1066 GPIO_FN(SCIFB0_SCK_B), GPIO_FN(SD1_DAT0), GPIO_FN(AVB_TX_CLK),
1067 GPIO_FN(MII_TX_CLK), GPIO_FN(SCIFB0_RXD_B), GPIO_FN(SD1_DAT1),
1068 GPIO_FN(AVB_LINK), GPIO_FN(MII_LINK), GPIO_FN(SCIFB0_TXD_B),
1069 GPIO_FN(SD1_DAT2), GPIO_FN(AVB_COL), GPIO_FN(MII_COL),
1070 GPIO_FN(SCIFB0_CTS_N_B), GPIO_FN(SD1_DAT3), GPIO_FN(AVB_RXD0),
1071 GPIO_FN(MII_RXD0), GPIO_FN(SCIFB0_RTS_N_B), GPIO_FN(SD1_CD),
1072 GPIO_FN(MMC1_D6), GPIO_FN(TS_SDEN1), GPIO_FN(USB1_EXTP),
1073 GPIO_FN(GLO_SS), GPIO_FN(VI0_CLK_B), GPIO_FN(SCL2_D),
1074 GPIO_FN(SCL2_CIS_D), GPIO_FN(SIM0_CLK_B), GPIO_FN(VI3_CLK_B),
1075
1076
1077 GPIO_FN(SD1_WP), GPIO_FN(MMC1_D7), GPIO_FN(TS_SPSYNC1),
1078 GPIO_FN(USB1_IDIN), GPIO_FN(GLO_RFON), GPIO_FN(VI1_CLK_B),
1079 GPIO_FN(SDA2_D), GPIO_FN(SDA2_CIS_D), GPIO_FN(SIM0_D_B),
1080 GPIO_FN(SD2_CLK), GPIO_FN(MMC0_CLK), GPIO_FN(SIM0_CLK),
1081 GPIO_FN(VI0_DATA0_VI0_B0_B), GPIO_FN(TS_SDEN0_C), GPIO_FN(GLO_SCLK_B),
1082 GPIO_FN(VI3_DATA0_B), GPIO_FN(SD2_CMD), GPIO_FN(MMC0_CMD),
1083 GPIO_FN(SIM0_D), GPIO_FN(VI0_DATA1_VI0_B1_B), GPIO_FN(SCIFB1_SCK_E),
1084 GPIO_FN(SCK1_D), GPIO_FN(TS_SPSYNC0_C), GPIO_FN(GLO_SDATA_B),
1085 GPIO_FN(VI3_DATA1_B), GPIO_FN(SD2_DAT0), GPIO_FN(MMC0_D0),
1086 GPIO_FN(FMCLK_B), GPIO_FN(VI0_DATA2_VI0_B2_B), GPIO_FN(SCIFB1_RXD_E),
1087 GPIO_FN(RX1_D), GPIO_FN(TS_SDAT0_C), GPIO_FN(GLO_SS_B),
1088 GPIO_FN(VI3_DATA2_B), GPIO_FN(SD2_DAT1), GPIO_FN(MMC0_D1),
1089 GPIO_FN(FMIN_B), GPIO_FN(RDS_DATA), GPIO_FN(VI0_DATA3_VI0_B3_B),
1090 GPIO_FN(SCIFB1_TXD_E), GPIO_FN(TX1_D), GPIO_FN(TS_SCK0_C),
1091 GPIO_FN(GLO_RFON_B), GPIO_FN(VI3_DATA3_B), GPIO_FN(SD2_DAT2),
1092 GPIO_FN(MMC0_D2), GPIO_FN(BPFCLK_B), GPIO_FN(RDS_CLK),
1093 GPIO_FN(VI0_DATA4_VI0_B4_B), GPIO_FN(HRX0_D), GPIO_FN(TS_SDEN1_B),
1094 GPIO_FN(GLO_Q0_B), GPIO_FN(VI3_DATA4_B), GPIO_FN(SD2_DAT3),
1095 GPIO_FN(MMC0_D3), GPIO_FN(SIM0_RST), GPIO_FN(VI0_DATA5_VI0_B5_B),
1096 GPIO_FN(HTX0_D), GPIO_FN(TS_SPSYNC1_B), GPIO_FN(GLO_Q1_B),
1097 GPIO_FN(VI3_DATA5_B), GPIO_FN(SD2_CD), GPIO_FN(MMC0_D4),
1098 GPIO_FN(TS_SDAT0_B), GPIO_FN(USB2_EXTP), GPIO_FN(GLO_I0),
1099 GPIO_FN(VI0_DATA6_VI0_B6_B), GPIO_FN(HCTS0_N_D), GPIO_FN(TS_SDAT1_B),
1100 GPIO_FN(GLO_I0_B), GPIO_FN(VI3_DATA6_B),
1101
1102
1103 GPIO_FN(SD2_WP), GPIO_FN(MMC0_D5), GPIO_FN(TS_SCK0_B),
1104 GPIO_FN(USB2_IDIN), GPIO_FN(GLO_I1), GPIO_FN(VI0_DATA7_VI0_B7_B),
1105 GPIO_FN(HRTS0_N_D), GPIO_FN(TS_SCK1_B), GPIO_FN(GLO_I1_B),
1106 GPIO_FN(VI3_DATA7_B), GPIO_FN(SD3_CLK), GPIO_FN(MMC1_CLK),
1107 GPIO_FN(SD3_CMD), GPIO_FN(MMC1_CMD), GPIO_FN(MTS_N), GPIO_FN(SD3_DAT0),
1108 GPIO_FN(MMC1_D0), GPIO_FN(STM_N), GPIO_FN(SD3_DAT1), GPIO_FN(MMC1_D1),
1109 GPIO_FN(MDATA), GPIO_FN(SD3_DAT2), GPIO_FN(MMC1_D2), GPIO_FN(SDATA),
1110 GPIO_FN(SD3_DAT3), GPIO_FN(MMC1_D3), GPIO_FN(SCKZ), GPIO_FN(SD3_CD),
1111 GPIO_FN(MMC1_D4), GPIO_FN(TS_SDAT1), GPIO_FN(VSP), GPIO_FN(GLO_Q0),
1112 GPIO_FN(SIM0_RST_B), GPIO_FN(SD3_WP), GPIO_FN(MMC1_D5),
1113 GPIO_FN(TS_SCK1), GPIO_FN(GLO_Q1), GPIO_FN(FMIN_C), GPIO_FN(RDS_DATA_B),
1114 GPIO_FN(FMIN_E), GPIO_FN(RDS_DATA_D), GPIO_FN(FMIN_F),
1115 GPIO_FN(RDS_DATA_E), GPIO_FN(MLB_CLK), GPIO_FN(SCL2_B),
1116 GPIO_FN(SCL2_CIS_B), GPIO_FN(MLB_SIG), GPIO_FN(SCIFB1_RXD_D),
1117 GPIO_FN(RX1_C), GPIO_FN(SDA2_B), GPIO_FN(SDA2_CIS_B), GPIO_FN(MLB_DAT),
1118 GPIO_FN(SPV_EVEN), GPIO_FN(SCIFB1_TXD_D), GPIO_FN(TX1_C),
1119 GPIO_FN(BPFCLK_C), GPIO_FN(RDS_CLK_B), GPIO_FN(SSI_SCK0129),
1120 GPIO_FN(CAN_CLK_B), GPIO_FN(MOUT0),
1121
1122};
1123
1124static struct pinmux_cfg_reg pinmux_config_regs[] = {
1125 { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
1126 GP_0_31_FN, FN_IP3_17_15,
1127 GP_0_30_FN, FN_IP3_14_12,
1128 GP_0_29_FN, FN_IP3_11_8,
1129 GP_0_28_FN, FN_IP3_7_4,
1130 GP_0_27_FN, FN_IP3_3_0,
1131 GP_0_26_FN, FN_IP2_28_26,
1132 GP_0_25_FN, FN_IP2_25_22,
1133 GP_0_24_FN, FN_IP2_21_18,
1134 GP_0_23_FN, FN_IP2_17_15,
1135 GP_0_22_FN, FN_IP2_14_12,
1136 GP_0_21_FN, FN_IP2_11_9,
1137 GP_0_20_FN, FN_IP2_8_6,
1138 GP_0_19_FN, FN_IP2_5_3,
1139 GP_0_18_FN, FN_IP2_2_0,
1140 GP_0_17_FN, FN_IP1_29_28,
1141 GP_0_16_FN, FN_IP1_27_26,
1142 GP_0_15_FN, FN_IP1_25_22,
1143 GP_0_14_FN, FN_IP1_21_18,
1144 GP_0_13_FN, FN_IP1_17_15,
1145 GP_0_12_FN, FN_IP1_14_12,
1146 GP_0_11_FN, FN_IP1_11_8,
1147 GP_0_10_FN, FN_IP1_7_4,
1148 GP_0_9_FN, FN_IP1_3_0,
1149 GP_0_8_FN, FN_IP0_30_27,
1150 GP_0_7_FN, FN_IP0_26_23,
1151 GP_0_6_FN, FN_IP0_22_20,
1152 GP_0_5_FN, FN_IP0_19_16,
1153 GP_0_4_FN, FN_IP0_15_12,
1154 GP_0_3_FN, FN_IP0_11_9,
1155 GP_0_2_FN, FN_IP0_8_6,
1156 GP_0_1_FN, FN_IP0_5_3,
1157 GP_0_0_FN, FN_IP0_2_0 }
1158 },
1159 { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
1160 0, 0,
1161 0, 0,
1162 GP_1_29_FN, FN_IP6_13_11,
1163 GP_1_28_FN, FN_IP6_10_9,
1164 GP_1_27_FN, FN_IP6_8_6,
1165 GP_1_26_FN, FN_IP6_5_3,
1166 GP_1_25_FN, FN_IP6_2_0,
1167 GP_1_24_FN, FN_IP5_29_27,
1168 GP_1_23_FN, FN_IP5_26_24,
1169 GP_1_22_FN, FN_IP5_23_21,
1170 GP_1_21_FN, FN_IP5_20_18,
1171 GP_1_20_FN, FN_IP5_17_15,
1172 GP_1_19_FN, FN_IP5_14_13,
1173 GP_1_18_FN, FN_IP5_12_10,
1174 GP_1_17_FN, FN_IP5_9_6,
1175 GP_1_16_FN, FN_IP5_5_3,
1176 GP_1_15_FN, FN_IP5_2_0,
1177 GP_1_14_FN, FN_IP4_29_27,
1178 GP_1_13_FN, FN_IP4_26_24,
1179 GP_1_12_FN, FN_IP4_23_21,
1180 GP_1_11_FN, FN_IP4_20_18,
1181 GP_1_10_FN, FN_IP4_17_15,
1182 GP_1_9_FN, FN_IP4_14_12,
1183 GP_1_8_FN, FN_IP4_11_9,
1184 GP_1_7_FN, FN_IP4_8_6,
1185 GP_1_6_FN, FN_IP4_5_3,
1186 GP_1_5_FN, FN_IP4_2_0,
1187 GP_1_4_FN, FN_IP3_31_29,
1188 GP_1_3_FN, FN_IP3_28_26,
1189 GP_1_2_FN, FN_IP3_25_23,
1190 GP_1_1_FN, FN_IP3_22_20,
1191 GP_1_0_FN, FN_IP3_19_18, }
1192 },
1193 { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
1194 0, 0,
1195 0, 0,
1196 GP_2_29_FN, FN_IP7_15_13,
1197 GP_2_28_FN, FN_IP7_12_10,
1198 GP_2_27_FN, FN_IP7_9_8,
1199 GP_2_26_FN, FN_IP7_7_6,
1200 GP_2_25_FN, FN_IP7_5_3,
1201 GP_2_24_FN, FN_IP7_2_0,
1202 GP_2_23_FN, FN_IP6_31_29,
1203 GP_2_22_FN, FN_IP6_28_26,
1204 GP_2_21_FN, FN_IP6_25_23,
1205 GP_2_20_FN, FN_IP6_22_20,
1206 GP_2_19_FN, FN_IP6_19_17,
1207 GP_2_18_FN, FN_IP6_16_14,
1208 GP_2_17_FN, FN_VI1_DATA7_VI1_B7,
1209 GP_2_16_FN, FN_IP8_27,
1210 GP_2_15_FN, FN_IP8_26,
1211 GP_2_14_FN, FN_IP8_25_24,
1212 GP_2_13_FN, FN_IP8_23_22,
1213 GP_2_12_FN, FN_IP8_21_20,
1214 GP_2_11_FN, FN_IP8_19_18,
1215 GP_2_10_FN, FN_IP8_17_16,
1216 GP_2_9_FN, FN_IP8_15_14,
1217 GP_2_8_FN, FN_IP8_13_12,
1218 GP_2_7_FN, FN_IP8_11_10,
1219 GP_2_6_FN, FN_IP8_9_8,
1220 GP_2_5_FN, FN_IP8_7_6,
1221 GP_2_4_FN, FN_IP8_5_4,
1222 GP_2_3_FN, FN_IP8_3_2,
1223 GP_2_2_FN, FN_IP8_1_0,
1224 GP_2_1_FN, FN_IP7_30_29,
1225 GP_2_0_FN, FN_IP7_28_27 }
1226 },
1227 { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
1228 GP_3_31_FN, FN_IP11_21_18,
1229 GP_3_30_FN, FN_IP11_17_15,
1230 GP_3_29_FN, FN_IP11_14_13,
1231 GP_3_28_FN, FN_IP11_12_11,
1232 GP_3_27_FN, FN_IP11_10_9,
1233 GP_3_26_FN, FN_IP11_8_7,
1234 GP_3_25_FN, FN_IP11_6_5,
1235 GP_3_24_FN, FN_IP11_4,
1236 GP_3_23_FN, FN_IP11_3_0,
1237 GP_3_22_FN, FN_IP10_29_26,
1238 GP_3_21_FN, FN_IP10_25_23,
1239 GP_3_20_FN, FN_IP10_22_19,
1240 GP_3_19_FN, FN_IP10_18_15,
1241 GP_3_18_FN, FN_IP10_14_11,
1242 GP_3_17_FN, FN_IP10_10_7,
1243 GP_3_16_FN, FN_IP10_6_4,
1244 GP_3_15_FN, FN_IP10_3_0,
1245 GP_3_14_FN, FN_IP9_31_28,
1246 GP_3_13_FN, FN_IP9_27_26,
1247 GP_3_12_FN, FN_IP9_25_24,
1248 GP_3_11_FN, FN_IP9_23_22,
1249 GP_3_10_FN, FN_IP9_21_20,
1250 GP_3_9_FN, FN_IP9_19_18,
1251 GP_3_8_FN, FN_IP9_17_16,
1252 GP_3_7_FN, FN_IP9_15_12,
1253 GP_3_6_FN, FN_IP9_11_8,
1254 GP_3_5_FN, FN_IP9_7_6,
1255 GP_3_4_FN, FN_IP9_5_4,
1256 GP_3_3_FN, FN_IP9_3_2,
1257 GP_3_2_FN, FN_IP9_1_0,
1258 GP_3_1_FN, FN_IP8_30_29,
1259 GP_3_0_FN, FN_IP8_28 }
1260 },
1261 { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
1262 GP_4_31_FN, FN_IP14_18_16,
1263 GP_4_30_FN, FN_IP14_15_12,
1264 GP_4_29_FN, FN_IP14_11_9,
1265 GP_4_28_FN, FN_IP14_8_6,
1266 GP_4_27_FN, FN_IP14_5_3,
1267 GP_4_26_FN, FN_IP14_2_0,
1268 GP_4_25_FN, FN_IP13_30_29,
1269 GP_4_24_FN, FN_IP13_28_26,
1270 GP_4_23_FN, FN_IP13_25_23,
1271 GP_4_22_FN, FN_IP13_22_19,
1272 GP_4_21_FN, FN_IP13_18_16,
1273 GP_4_20_FN, FN_IP13_15_13,
1274 GP_4_19_FN, FN_IP13_12_10,
1275 GP_4_18_FN, FN_IP13_9_7,
1276 GP_4_17_FN, FN_IP13_6_3,
1277 GP_4_16_FN, FN_IP13_2_0,
1278 GP_4_15_FN, FN_IP12_30_28,
1279 GP_4_14_FN, FN_IP12_27_25,
1280 GP_4_13_FN, FN_IP12_24_23,
1281 GP_4_12_FN, FN_IP12_22_20,
1282 GP_4_11_FN, FN_IP12_19_17,
1283 GP_4_10_FN, FN_IP12_16_14,
1284 GP_4_9_FN, FN_IP12_13_11,
1285 GP_4_8_FN, FN_IP12_10_8,
1286 GP_4_7_FN, FN_IP12_7_6,
1287 GP_4_6_FN, FN_IP12_5_4,
1288 GP_4_5_FN, FN_IP12_3_2,
1289 GP_4_4_FN, FN_IP12_1_0,
1290 GP_4_3_FN, FN_IP11_31_30,
1291 GP_4_2_FN, FN_IP11_29_27,
1292 GP_4_1_FN, FN_IP11_26_24,
1293 GP_4_0_FN, FN_IP11_23_22 }
1294 },
1295 { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
1296 GP_5_31_FN, FN_IP7_24_22,
1297 GP_5_30_FN, FN_IP7_21_19,
1298 GP_5_29_FN, FN_IP7_18_16,
1299 GP_5_28_FN, FN_DU_DOTCLKIN2,
1300 GP_5_27_FN, FN_IP7_26_25,
1301 GP_5_26_FN, FN_DU_DOTCLKIN0,
1302 GP_5_25_FN, FN_AVS2,
1303 GP_5_24_FN, FN_AVS1,
1304 GP_5_23_FN, FN_USB2_OVC,
1305 GP_5_22_FN, FN_USB2_PWEN,
1306 GP_5_21_FN, FN_IP16_7,
1307 GP_5_20_FN, FN_IP16_6,
1308 GP_5_19_FN, FN_USB0_OVC_VBUS,
1309 GP_5_18_FN, FN_USB0_PWEN,
1310 GP_5_17_FN, FN_IP16_5_3,
1311 GP_5_16_FN, FN_IP16_2_0,
1312 GP_5_15_FN, FN_IP15_29_28,
1313 GP_5_14_FN, FN_IP15_27_26,
1314 GP_5_13_FN, FN_IP15_25_23,
1315 GP_5_12_FN, FN_IP15_22_20,
1316 GP_5_11_FN, FN_IP15_19_18,
1317 GP_5_10_FN, FN_IP15_17_16,
1318 GP_5_9_FN, FN_IP15_15_14,
1319 GP_5_8_FN, FN_IP15_13_12,
1320 GP_5_7_FN, FN_IP15_11_9,
1321 GP_5_6_FN, FN_IP15_8_6,
1322 GP_5_5_FN, FN_IP15_5_3,
1323 GP_5_4_FN, FN_IP15_2_0,
1324 GP_5_3_FN, FN_IP14_30_28,
1325 GP_5_2_FN, FN_IP14_27_25,
1326 GP_5_1_FN, FN_IP14_24_22,
1327 GP_5_0_FN, FN_IP14_21_19 }
1328 },
1329
1330 { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
1331 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3) {
1332
1333 FN_ETH_REF_CLK, FN_RMII_REF_CLK, FN_HCTS0_N_E,
1334 FN_STP_IVCXO27_1_B, FN_HRX0_F, 0, 0, 0,
1335
1336 FN_ETH_LINK, FN_RMII_LINK, FN_HTX0_E,
1337 FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E, 0, 0,
1338
1339 FN_ETH_RXD1, FN_RMII_RXD1, FN_HRX0_E, FN_STP_ISSYNC_0_B,
1340 FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G, FN_RX1_E,
1341
1342 FN_ETH_RXD0, FN_RMII_RXD0, FN_STP_ISEN_0_B, FN_TS_SDAT0_D,
1343 FN_GLO_I0_C, FN_SCIFB1_SCK_G, FN_SCK1_E, 0,
1344
1345 FN_ETH_RX_ER, FN_RMII_RX_ER, FN_STP_ISD_0_B,
1346 FN_TS_SPSYNC0_D, FN_GLO_Q1_C, FN_SDA2_E, FN_SDA2_CIS_E, 0,
1347
1348 FN_ETH_CRS_DV, FN_RMII_CRS_DV, FN_STP_ISCLK_0_B,
1349 FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_SCL2_E,
1350 FN_SCL2_CIS_E, 0,
1351
1352 FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
1353 FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B, 0, 0,
1354
1355 FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B, FN_MSIOF0_TXD_B,
1356
1357 FN_DACK1, FN_IRQ1, FN_INTC_IRQ1_N, FN_SSI_WS6_B,
1358 FN_SSI_SDATA8_C, 0, 0, 0,
1359
1360 FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
1361 FN_SSI_SDATA7_C, FN_SSI_SCK78_B, 0, 0, 0,
1362
1363 FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
1364 FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C, 0, }
1365 },
1366 { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
1367 1, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3) {
1368
1369 0, 0,
1370
1371 FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2,
1372 FN_MII_RXD2,
1373
1374 FN_VI0_CLK, FN_ATACS00_N, FN_AVB_RXD1, FN_MII_RXD1,
1375
1376 FN_DU1_DOTCLKIN, FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, 0,
1377
1378 FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C, FN_PCMWE_N, FN_IECLK_C,
1379 0, 0, 0,
1380
1381 FN_PWM1, FN_SCIFA2_TXD_C, FN_STP_ISSYNC_1_B, FN_TS_SCK1_C,
1382 FN_GLO_RFON_C, FN_PCMOE_N, 0, 0,
1383
1384 FN_PWM0, FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
1385 FN_GLO_SS_C, 0, 0, 0,
1386
1387 FN_ETH_MDC, FN_RMII_MDC, FN_STP_ISD_1_B,
1388 FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, 0, 0, 0,
1389
1390 FN_ETH_TXD0, FN_RMII_TXD0, FN_STP_ISCLK_1_B, FN_TS_SDEN1_C,
1391 FN_GLO_SCLK_C, 0, 0, 0,
1392
1393 FN_ETH_MAGIC, FN_RMII_MAGIC, FN_SIM0_RST_C, 0,
1394
1395 FN_ETH_TX_EN, FN_RMII_TX_EN, FN_SIM0_CLK_C, FN_HRTS0_N_F,
1396
1397 FN_ETH_TXD1, FN_RMII_TXD1, FN_HTX0_F, FN_BPFCLK_G, FN_RDS_CLK_F,
1398 0, 0, 0,
1399
1400 FN_ETH_MDIO, FN_RMII_MDIO, FN_HRTS0_N_E,
1401 FN_SIM0_D_C, FN_HCTS0_N_F, 0, 0, 0, }
1402 },
1403 { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
1404 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2,
1405 2, 2, 2, 2, 2, 2, 2) {
1406
1407 0, 0,
1408
1409 FN_SD0_CMD, FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B, 0,
1410
1411 FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B,
1412
1413 FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
1414
1415 FN_VI1_DATA5_VI1_B5, FN_AVB_PHY_INT,
1416
1417 FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
1418 FN_AVB_MAGIC, FN_MII_MAGIC,
1419
1420 FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D, FN_AVB_GTX_CLK, 0,
1421
1422 FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO,
1423 FN_MII_MDIO,
1424
1425 FN_VI1_DATA1_VI1_B1, FN_SCIFA1_RXD_D, FN_AVB_MDC, FN_MII_MDC,
1426
1427 FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D, FN_AVB_CRS, FN_MII_CRS,
1428
1429 FN_VI1_CLK, FN_AVB_RX_DV, FN_MII_RX_DV, 0,
1430
1431 FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK, FN_MII_RX_CLK, 0,
1432
1433 FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER, FN_MII_RX_ER, 0,
1434
1435 FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1, FN_AVB_RXD7, 0,
1436
1437 FN_VI0_DATA4_VI0_B4, FN_ATAG0_N, FN_AVB_RXD6, 0,
1438
1439 FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N, FN_AVB_RXD5, 0,
1440
1441 FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N, FN_AVB_RXD4, 0,
1442
1443 FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3, FN_MII_RXD3, }
1444 },
1445 { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
1446 4, 2, 2, 2, 2, 2, 2, 4, 4, 2, 2, 2, 2) {
1447
1448 FN_SD1_CD, FN_MMC1_D6, FN_TS_SDEN1, FN_USB1_EXTP,
1449 FN_GLO_SS, FN_VI0_CLK_B, FN_SCL2_D, FN_SCL2_CIS_D,
1450 FN_SIM0_CLK_B, FN_VI3_CLK_B, 0, 0, 0, 0, 0, 0,
1451
1452 FN_SD1_DAT3, FN_AVB_RXD0, FN_MII_RXD0, FN_SCIFB0_RTS_N_B,
1453
1454 FN_SD1_DAT2, FN_AVB_COL, FN_MII_COL, FN_SCIFB0_CTS_N_B,
1455
1456 FN_SD1_DAT1, FN_AVB_LINK, FN_MII_LINK, FN_SCIFB0_TXD_B,
1457
1458 FN_SD1_DAT0, FN_AVB_TX_CLK, FN_MII_TX_CLK, FN_SCIFB0_RXD_B,
1459
1460 FN_SD1_CMD, FN_AVB_TX_ER, FN_MII_TX_ER, FN_SCIFB0_SCK_B,
1461
1462 FN_SD1_CLK, FN_AVB_TX_EN, FN_MII_TX_EN, 0,
1463
1464 FN_SD0_WP, FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
1465 FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_SDA1_B,
1466 FN_SDA1_CIS_B, FN_VI2_DATA7_VI2_B7_B, 0, 0, 0, 0, 0, 0, 0,
1467
1468 FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
1469 FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_SCL1_B,
1470 FN_SCL1_CIS_B, FN_VI2_DATA6_VI2_B6_B, 0, 0, 0, 0, 0, 0, 0,
1471
1472 FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B, 0,
1473
1474 FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B, 0,
1475
1476 FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B, 0,
1477
1478 FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B, 0, }
1479 },
1480 { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
1481 2, 4, 3, 4, 4, 4, 4, 3, 4) {
1482
1483 0, 0, 0, 0,
1484
1485 FN_SD2_CD, FN_MMC0_D4, FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
1486 FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
1487 FN_GLO_I0_B, FN_VI3_DATA6_B, 0, 0, 0, 0, 0, 0,
1488
1489 FN_SD2_DAT3, FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
1490 FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B, FN_VI3_DATA5_B,
1491
1492 FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B, FN_RDS_CLK,
1493 FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
1494 FN_GLO_Q0_B, FN_VI3_DATA4_B, 0, 0, 0, 0, 0, 0, 0,
1495
1496 FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B, FN_RDS_DATA,
1497 FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
1498 FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
1499 0, 0, 0, 0, 0, 0,
1500
1501 FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
1502 FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
1503 FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
1504 0, 0, 0, 0, 0, 0, 0,
1505
1506 FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
1507 FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
1508 FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
1509 0, 0, 0, 0, 0, 0, 0,
1510
1511 FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
1512 FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
1513 FN_VI3_DATA0_B, 0,
1514
1515 FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
1516 FN_GLO_RFON, FN_VI1_CLK_B, FN_SDA2_D, FN_SDA2_CIS_D,
1517 FN_SIM0_D_B, 0, 0, 0, 0, 0, 0, 0, }
1518 },
1519 { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
1520 2, 3, 3, 2, 4, 3, 2, 2, 2, 2, 2, 1, 4) {
1521
1522 FN_SSI_SCK0129, FN_CAN_CLK_B, FN_MOUT0, 0,
1523
1524 FN_MLB_DAT, FN_SPV_EVEN, FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
1525 FN_RDS_CLK_B, 0, 0,
1526
1527 FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_SDA2_B, FN_SDA2_CIS_B,
1528 0, 0, 0,
1529
1530 FN_MLB_CLK, FN_SCL2_B, FN_SCL2_CIS_B, 0,
1531
1532 FN_SD3_WP, FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
1533 FN_RDS_DATA_B, FN_FMIN_E, FN_RDS_DATA_D, FN_FMIN_F,
1534 FN_RDS_DATA_E, 0, 0, 0, 0, 0, 0,
1535
1536 FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
1537 FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, 0, 0,
1538
1539 FN_SD3_DAT3, FN_MMC1_D3, FN_SCKZ, 0,
1540
1541 FN_SD3_DAT2, FN_MMC1_D2, FN_SDATA, 0,
1542
1543 FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, 0,
1544
1545 FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N, 0,
1546
1547 FN_SD3_CMD, FN_MMC1_CMD, FN_MTS_N, 0,
1548
1549 FN_SD3_CLK, FN_MMC1_CLK,
1550
1551 FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
1552 FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
1553 FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B, 0, 0, 0, 0, 0, 0, }
1554 },
1555 { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
1556 3, 2, 2, 3, 2, 1, 1, 1, 2, 1,
1557 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1) {
1558
1559 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
1560 FN_SEL_SCIF1_4, 0, 0, 0,
1561
1562 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, 0,
1563
1564 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, 0,
1565
1566 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2,
1567 FN_SEL_SCIFB1_3, FN_SEL_SCIFB1_4, FN_SEL_SCIFB1_5,
1568 FN_SEL_SCIFB1_6, 0,
1569
1570 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
1571 FN_SEL_SCIFA1_3,
1572
1573 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
1574
1575 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
1576
1577 FN_SEL_SOF1_0, FN_SEL_SOF1_1,
1578
1579 FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2, 0,
1580
1581 FN_SEL_SSI6_0, FN_SEL_SSI6_1,
1582
1583 FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2, 0,
1584
1585 FN_SEL_VI3_0, FN_SEL_VI3_1,
1586
1587 FN_SEL_VI2_0, FN_SEL_VI2_1,
1588
1589 FN_SEL_VI1_0, FN_SEL_VI1_1,
1590
1591 FN_SEL_VI0_0, FN_SEL_VI0_1,
1592
1593 FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2, 0,
1594
1595 0, 0,
1596
1597 FN_SEL_LBS_0, FN_SEL_LBS_1,
1598
1599 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
1600
1601 FN_SEL_SOF3_0, FN_SEL_SOF3_1,
1602
1603 FN_SEL_SOF0_0, FN_SEL_SOF0_1, }
1604 },
1605 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
1606 2, 1, 1, 1, 1, 2, 1, 2, 1,
1607 2, 1, 1, 1, 3, 3, 2, 3, 2, 2) {
1608
1609 0, 0, 0, 0, 0, 0, 0, 0,
1610
1611 0, 0,
1612
1613 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
1614
1615 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
1616
1617 FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
1618
1619 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
1620
1621 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
1622
1623 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2, 0,
1624
1625 FN_SEL_CAN1_0, FN_SEL_CAN1_1,
1626
1627 0, 0, 0, 0, 0, 0, 0, 0,
1628
1629 0, 0,
1630
1631 FN_SEL_ADI_0, FN_SEL_ADI_1,
1632
1633 FN_SEL_SSP_0, FN_SEL_SSP_1,
1634
1635 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
1636 FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6, 0,
1637
1638 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
1639 FN_SEL_HSCIF0_3, FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5, 0, 0,
1640
1641 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, 0,
1642
1643 FN_SEL_RDS_0, FN_SEL_RDS_1, FN_SEL_RDS_2,
1644 FN_SEL_RDS_3, FN_SEL_RDS_4, FN_SEL_RDS_5, 0, 0,
1645
1646 FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2, 0,
1647
1648 FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2, 0, }
1649 },
1650 { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
1651 1, 1, 2, 4, 4, 2, 2,
1652 4, 2, 3, 2, 3, 2) {
1653
1654 FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
1655
1656 FN_SEL_IIC0_0, FN_SEL_IIC0_1,
1657
1658 0, 0, 0, 0,
1659
1660 0, 0, 0, 0, 0, 0, 0, 0,
1661 0, 0, 0, 0, 0, 0, 0, 0,
1662
1663 0, 0, 0, 0, 0, 0, 0, 0,
1664 0, 0, 0, 0, 0, 0, 0, 0,
1665
1666 0, 0, 0, 0,
1667
1668 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
1669
1670 0, 0, 0, 0, 0, 0, 0, 0,
1671 0, 0, 0, 0, 0, 0, 0, 0,
1672
1673 0, 0, 0, 0,
1674
1675 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
1676 FN_SEL_IIC2_4, 0, 0, 0,
1677
1678 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, 0,
1679
1680 FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
1681 FN_SEL_I2C2_4, 0, 0, 0,
1682
1683 FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2, 0, }
1684 },
1685 { PINMUX_CFG_REG("INOUTSEL0", 0xE6050004, 32, 1) { GP_INOUTSEL(0) } },
1686 { PINMUX_CFG_REG("INOUTSEL1", 0xE6051004, 32, 1) {
1687 0, 0,
1688 0, 0,
1689 GP_1_29_IN, GP_1_29_OUT,
1690 GP_1_28_IN, GP_1_28_OUT,
1691 GP_1_27_IN, GP_1_27_OUT,
1692 GP_1_26_IN, GP_1_26_OUT,
1693 GP_1_25_IN, GP_1_25_OUT,
1694 GP_1_24_IN, GP_1_24_OUT,
1695 GP_1_23_IN, GP_1_23_OUT,
1696 GP_1_22_IN, GP_1_22_OUT,
1697 GP_1_21_IN, GP_1_21_OUT,
1698 GP_1_20_IN, GP_1_20_OUT,
1699 GP_1_19_IN, GP_1_19_OUT,
1700 GP_1_18_IN, GP_1_18_OUT,
1701 GP_1_17_IN, GP_1_17_OUT,
1702 GP_1_16_IN, GP_1_16_OUT,
1703 GP_1_15_IN, GP_1_15_OUT,
1704 GP_1_14_IN, GP_1_14_OUT,
1705 GP_1_13_IN, GP_1_13_OUT,
1706 GP_1_12_IN, GP_1_12_OUT,
1707 GP_1_11_IN, GP_1_11_OUT,
1708 GP_1_10_IN, GP_1_10_OUT,
1709 GP_1_9_IN, GP_1_9_OUT,
1710 GP_1_8_IN, GP_1_8_OUT,
1711 GP_1_7_IN, GP_1_7_OUT,
1712 GP_1_6_IN, GP_1_6_OUT,
1713 GP_1_5_IN, GP_1_5_OUT,
1714 GP_1_4_IN, GP_1_4_OUT,
1715 GP_1_3_IN, GP_1_3_OUT,
1716 GP_1_2_IN, GP_1_2_OUT,
1717 GP_1_1_IN, GP_1_1_OUT,
1718 GP_1_0_IN, GP_1_0_OUT, }
1719 },
1720 { PINMUX_CFG_REG("INOUTSEL2", 0xE6052004, 32, 1) {
1721 0, 0,
1722 0, 0,
1723 GP_2_29_IN, GP_2_29_OUT,
1724 GP_2_28_IN, GP_2_28_OUT,
1725 GP_2_27_IN, GP_2_27_OUT,
1726 GP_2_26_IN, GP_2_26_OUT,
1727 GP_2_25_IN, GP_2_25_OUT,
1728 GP_2_24_IN, GP_2_24_OUT,
1729 GP_2_23_IN, GP_2_23_OUT,
1730 GP_2_22_IN, GP_2_22_OUT,
1731 GP_2_21_IN, GP_2_21_OUT,
1732 GP_2_20_IN, GP_2_20_OUT,
1733 GP_2_19_IN, GP_2_19_OUT,
1734 GP_2_18_IN, GP_2_18_OUT,
1735 GP_2_17_IN, GP_2_17_OUT,
1736 GP_2_16_IN, GP_2_16_OUT,
1737 GP_2_15_IN, GP_2_15_OUT,
1738 GP_2_14_IN, GP_2_14_OUT,
1739 GP_2_13_IN, GP_2_13_OUT,
1740 GP_2_12_IN, GP_2_12_OUT,
1741 GP_2_11_IN, GP_2_11_OUT,
1742 GP_2_10_IN, GP_2_10_OUT,
1743 GP_2_9_IN, GP_2_9_OUT,
1744 GP_2_8_IN, GP_2_8_OUT,
1745 GP_2_7_IN, GP_2_7_OUT,
1746 GP_2_6_IN, GP_2_6_OUT,
1747 GP_2_5_IN, GP_2_5_OUT,
1748 GP_2_4_IN, GP_2_4_OUT,
1749 GP_2_3_IN, GP_2_3_OUT,
1750 GP_2_2_IN, GP_2_2_OUT,
1751 GP_2_1_IN, GP_2_1_OUT,
1752 GP_2_0_IN, GP_2_0_OUT, }
1753 },
1754 { PINMUX_CFG_REG("INOUTSEL3", 0xE6053004, 32, 1) { GP_INOUTSEL(3) } },
1755 { PINMUX_CFG_REG("INOUTSEL4", 0xE6054004, 32, 1) { GP_INOUTSEL(4) } },
1756 { PINMUX_CFG_REG("INOUTSEL5", 0xE6055004, 32, 1) { GP_INOUTSEL(5) } },
1757 { },
1758};
1759
1760static struct pinmux_data_reg pinmux_data_regs[] = {
1761 { PINMUX_DATA_REG("INDT0", 0xE6050008, 32) { GP_INDT(0) } },
1762 { PINMUX_DATA_REG("INDT1", 0xE6051008, 32) {
1763 0, 0, GP_1_29_DATA, GP_1_28_DATA,
1764 GP_1_27_DATA, GP_1_26_DATA, GP_1_25_DATA, GP_1_24_DATA,
1765 GP_1_23_DATA, GP_1_22_DATA, GP_1_21_DATA, GP_1_20_DATA,
1766 GP_1_19_DATA, GP_1_18_DATA, GP_1_17_DATA, GP_1_16_DATA,
1767 GP_1_15_DATA, GP_1_14_DATA, GP_1_13_DATA, GP_1_12_DATA,
1768 GP_1_11_DATA, GP_1_10_DATA, GP_1_9_DATA, GP_1_8_DATA,
1769 GP_1_7_DATA, GP_1_6_DATA, GP_1_5_DATA, GP_1_4_DATA,
1770 GP_1_3_DATA, GP_1_2_DATA, GP_1_1_DATA, GP_1_0_DATA }
1771 },
1772 { PINMUX_DATA_REG("INDT2", 0xE6052008, 32) {
1773 0, 0, GP_2_29_DATA, GP_2_28_DATA,
1774 GP_2_27_DATA, GP_2_26_DATA, GP_2_25_DATA, GP_2_24_DATA,
1775 GP_2_23_DATA, GP_2_22_DATA, GP_2_21_DATA, GP_2_20_DATA,
1776 GP_2_19_DATA, GP_2_18_DATA, GP_2_17_DATA, GP_2_16_DATA,
1777 GP_2_15_DATA, GP_2_14_DATA, GP_2_13_DATA, GP_2_12_DATA,
1778 GP_2_11_DATA, GP_2_10_DATA, GP_2_9_DATA, GP_2_8_DATA,
1779 GP_2_7_DATA, GP_2_6_DATA, GP_2_5_DATA, GP_2_4_DATA,
1780 GP_2_3_DATA, GP_2_2_DATA, GP_2_1_DATA, GP_2_0_DATA }
1781 },
1782 { PINMUX_DATA_REG("INDT3", 0xE6053008, 32) { GP_INDT(3) } },
1783 { PINMUX_DATA_REG("INDT4", 0xE6054008, 32) { GP_INDT(4) } },
1784 { PINMUX_DATA_REG("INDT5", 0xE6055008, 32) { GP_INDT(5) } },
1785 { },
1786};
1787
1788static struct pinmux_info r8a7790_pinmux_info = {
1789 .name = "r8a7790_pfc",
1790
1791 .unlock_reg = 0xe6060000,
1792
1793 .reserved_id = PINMUX_RESERVED,
1794 .data = { PINMUX_DATA_BEGIN, PINMUX_DATA_END },
1795 .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END },
1796 .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END },
1797 .mark = { PINMUX_MARK_BEGIN, PINMUX_MARK_END },
1798 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
1799
1800 .first_gpio = GPIO_GP_0_0,
1801 .last_gpio = GPIO_FN_MOUT0,
1802
1803 .gpios = pinmux_gpios,
1804 .cfg_regs = pinmux_config_regs,
1805 .data_regs = pinmux_data_regs,
1806
1807 .gpio_data = pinmux_data,
1808 .gpio_data_size = ARRAY_SIZE(pinmux_data),
1809};
1810
1811void r8a7790_pinmux_init(void)
1812{
1813 register_pinmux(&r8a7790_pinmux_info);
1814}
1815