PM / sleep: Asynchronous threads for suspend_noirq
[linux/fpc-iii.git] / drivers / pinctrl / sh-pfc / pfc-r8a7791.c
blob77d103fe39d90c8ad0bb82485ec1896dd1b5889a
1 /*
2 * r8a7791 processor support - PFC hardware block.
4 * Copyright (C) 2013 Renesas Electronics Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2
8 * as published by the Free Software Foundation.
9 */
11 #include <linux/kernel.h>
12 #include <linux/platform_data/gpio-rcar.h>
14 #include "core.h"
15 #include "sh_pfc.h"
17 #define CPU_ALL_PORT(fn, sfx) \
18 PORT_GP_32(0, fn, sfx), \
19 PORT_GP_32(1, fn, sfx), \
20 PORT_GP_32(2, fn, sfx), \
21 PORT_GP_32(3, fn, sfx), \
22 PORT_GP_32(4, fn, sfx), \
23 PORT_GP_32(5, fn, sfx), \
24 PORT_GP_32(6, fn, sfx), \
25 PORT_GP_32(7, fn, sfx)
27 enum {
28 PINMUX_RESERVED = 0,
30 PINMUX_DATA_BEGIN,
31 GP_ALL(DATA),
32 PINMUX_DATA_END,
34 PINMUX_FUNCTION_BEGIN,
35 GP_ALL(FN),
37 /* GPSR0 */
38 FN_IP0_0, FN_IP0_1, FN_IP0_2, FN_IP0_3, FN_IP0_4, FN_IP0_5,
39 FN_IP0_6, FN_IP0_7, FN_IP0_8, FN_IP0_9, FN_IP0_10, FN_IP0_11,
40 FN_IP0_12, FN_IP0_13, FN_IP0_14, FN_IP0_15, FN_IP0_18_16, FN_IP0_20_19,
41 FN_IP0_22_21, FN_IP0_24_23, FN_IP0_26_25, FN_IP0_28_27, FN_IP0_30_29,
42 FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4, FN_IP1_7_6, FN_IP1_10_8,
43 FN_IP1_13_11, FN_IP1_16_14, FN_IP1_19_17, FN_IP1_22_20,
45 /* GPSR1 */
46 FN_IP1_25_23, FN_IP1_28_26, FN_IP1_31_29, FN_IP2_2_0, FN_IP2_4_3,
47 FN_IP2_6_5, FN_IP2_9_7, FN_IP2_12_10, FN_IP2_15_13, FN_IP2_18_16,
48 FN_IP2_20_19, FN_IP2_22_21, FN_EX_CS0_N, FN_IP2_24_23, FN_IP2_26_25,
49 FN_IP2_29_27, FN_IP3_2_0, FN_IP3_5_3, FN_IP3_8_6, FN_RD_N,
50 FN_IP3_11_9, FN_IP3_13_12, FN_IP3_15_14 , FN_IP3_17_16 , FN_IP3_19_18,
51 FN_IP3_21_20,
53 /* GPSR2 */
54 FN_IP3_27_25, FN_IP3_30_28, FN_IP4_1_0, FN_IP4_4_2, FN_IP4_7_5,
55 FN_IP4_9_8, FN_IP4_12_10, FN_IP4_15_13, FN_IP4_18_16, FN_IP4_19,
56 FN_IP4_20, FN_IP4_21, FN_IP4_23_22, FN_IP4_25_24, FN_IP4_27_26,
57 FN_IP4_30_28, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_8_6, FN_IP5_11_9,
58 FN_IP5_14_12, FN_IP5_16_15, FN_IP5_19_17, FN_IP5_21_20, FN_IP5_23_22,
59 FN_IP5_25_24, FN_IP5_28_26, FN_IP5_31_29, FN_AUDIO_CLKA, FN_IP6_2_0,
60 FN_IP6_5_3, FN_IP6_7_6,
62 /* GPSR3 */
63 FN_IP7_5_3, FN_IP7_8_6, FN_IP7_10_9, FN_IP7_12_11, FN_IP7_14_13,
64 FN_IP7_16_15, FN_IP7_18_17, FN_IP7_20_19, FN_IP7_23_21, FN_IP7_26_24,
65 FN_IP7_29_27, FN_IP8_2_0, FN_IP8_5_3, FN_IP8_8_6, FN_IP8_11_9,
66 FN_IP8_14_12, FN_IP8_17_15, FN_IP8_20_18, FN_IP8_23_21, FN_IP8_25_24,
67 FN_IP8_27_26, FN_IP8_30_28, FN_IP9_2_0, FN_IP9_5_3, FN_IP9_6, FN_IP9_7,
68 FN_IP9_10_8, FN_IP9_11, FN_IP9_12, FN_IP9_15_13, FN_IP9_16,
69 FN_IP9_18_17,
71 /* GPSR4 */
72 FN_VI0_CLK, FN_IP9_20_19, FN_IP9_22_21, FN_IP9_24_23, FN_IP9_26_25,
73 FN_VI0_DATA0_VI0_B0, FN_VI0_DATA1_VI0_B1, FN_VI0_DATA2_VI0_B2,
74 FN_IP9_28_27, FN_VI0_DATA4_VI0_B4, FN_VI0_DATA5_VI0_B5,
75 FN_VI0_DATA6_VI0_B6, FN_VI0_DATA7_VI0_B7, FN_IP9_31_29, FN_IP10_2_0,
76 FN_IP10_5_3, FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_16_15,
77 FN_IP10_18_17, FN_IP10_21_19, FN_IP10_24_22, FN_IP10_26_25,
78 FN_IP10_28_27, FN_IP10_31_29, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_8_6,
79 FN_IP15_1_0, FN_IP15_3_2, FN_IP15_5_4,
81 /* GPSR5 */
82 FN_IP11_11_9, FN_IP11_14_12, FN_IP11_16_15, FN_IP11_18_17, FN_IP11_19,
83 FN_IP11_20, FN_IP11_21, FN_IP11_22, FN_IP11_23, FN_IP11_24,
84 FN_IP11_25, FN_IP11_26, FN_IP11_27, FN_IP11_29_28, FN_IP11_31_30,
85 FN_IP12_1_0, FN_IP12_3_2, FN_IP12_6_4, FN_IP12_9_7, FN_IP12_12_10,
86 FN_IP12_15_13, FN_IP12_17_16, FN_IP12_19_18, FN_IP12_21_20,
87 FN_IP12_23_22, FN_IP12_26_24, FN_IP12_29_27, FN_IP13_2_0, FN_IP13_4_3,
88 FN_IP13_6_5, FN_IP13_9_7, FN_IP3_24_22,
90 /* GPSR6 */
91 FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
92 FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19, FN_IP13_22, FN_IP13_24_23,
93 FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
94 FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
95 FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
96 FN_IP14_22_20, FN_IP14_25_23, FN_IP14_28_26, FN_IP14_31_29,
97 FN_USB1_OVC, FN_DU0_DOTCLKIN,
99 /* GPSR7 */
100 FN_IP15_17_15, FN_IP15_20_18, FN_IP15_23_21, FN_IP15_26_24,
101 FN_IP15_29_27, FN_IP16_2_0, FN_IP16_5_3, FN_IP16_7_6, FN_IP16_9_8,
102 FN_IP16_11_10, FN_IP6_9_8, FN_IP6_11_10, FN_IP6_13_12, FN_IP6_15_14,
103 FN_IP6_18_16, FN_IP6_20_19, FN_IP6_23_21, FN_IP6_26_24, FN_IP6_29_27,
104 FN_IP7_2_0, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_14_12,
105 FN_USB0_PWEN, FN_USB0_OVC, FN_USB1_PWEN,
107 /* IPSR0 */
108 FN_D0, FN_D1, FN_D2, FN_D3, FN_D4, FN_D5, FN_D6, FN_D7, FN_D8,
109 FN_D9, FN_D10, FN_D11, FN_D12, FN_D13, FN_D14, FN_D15,
110 FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
111 FN_A1, FN_MSIOF0_SYNC_B, FN_A2, FN_MSIOF0_SS1_B,
112 FN_A3, FN_MSIOF0_SS2_B, FN_A4, FN_MSIOF0_TXD_B,
113 FN_A5, FN_MSIOF0_RXD_B, FN_A6, FN_MSIOF1_SCK,
115 /* IPSR1 */
116 FN_A7, FN_MSIOF1_SYNC, FN_A8, FN_MSIOF1_SS1, FN_SCL0,
117 FN_A9, FN_MSIOF1_SS2, FN_SDA0,
118 FN_A10, FN_MSIOF1_TXD, FN_MSIOF1_TXD_D,
119 FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
120 FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
121 FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
122 FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
123 FN_A15, FN_BPFCLK_C,
124 FN_A16, FN_DREQ2_B, FN_FMCLK_C, FN_SCIFA1_SCK_B,
125 FN_A17, FN_DACK2_B, FN_SDA0_C,
126 FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, FN_SCIFB1_RXD_C,
128 /* IPSR2 */
129 FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, FN_SCIFB1_TXD_C, FN_SCIFB1_SCK_B,
130 FN_A20, FN_SPCLK,
131 FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0,
132 FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
133 FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
134 FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
135 FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
136 FN_CS0_N, FN_ATAG0_N_B, FN_SCL1,
137 FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1,
138 FN_EX_CS1_N, FN_MSIOF2_SCK,
139 FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC,
140 FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD, FN_ATAG0_N, FN_EX_WAIT1,
142 /* IPSR3 */
143 FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, FN_EX_WAIT2,
144 FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
145 FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1,
146 FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
147 FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2,
148 FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
149 FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B,
150 FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
151 FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B,
152 FN_DREQ0, FN_PWM3, FN_TPU_TO3,
153 FN_DACK0, FN_DRACK0, FN_REMOCON,
154 FN_SPEEDIN, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
155 FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
156 FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C, FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
157 FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C, FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
159 /* IPSR4 */
160 FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C,
161 FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B, FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
162 FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
163 FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
164 FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
165 FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
166 FN_GLO_Q1_D, FN_HCTS1_N_E,
167 FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
168 FN_SSI_SCK34, FN_SSI_WS34, FN_SSI_SDATA3,
169 FN_SSI_SCK4, FN_GLO_SS_D,
170 FN_SSI_WS4, FN_GLO_RFON_D,
171 FN_SSI_SDATA4, FN_MSIOF2_SCK_D,
172 FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
173 FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
175 /* IPSR5 */
176 FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
177 FN_MSIOF2_TXD_D, FN_VI1_R3_B,
178 FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
179 FN_MSIOF2_SS1_D, FN_VI1_R4_B,
180 FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
181 FN_MSIOF2_RXD_D, FN_VI1_R5_B,
182 FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
183 FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
184 FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS,
185 FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
186 FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B,
187 FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B,
188 FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D,
189 FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
190 FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
192 /* IPSR6 */
193 FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
194 FN_SCIF_CLK, FN_BPFCLK_E,
195 FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
196 FN_SCIFA2_RXD, FN_FMIN_E,
197 FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
198 FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N,
199 FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N,
200 FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N,
201 FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
202 FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
203 FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
204 FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B, FN_SDA1_E, FN_MSIOF2_SYNC_E,
205 FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B, FN_GPS_CLK_C, FN_GPS_CLK_D,
206 FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B, FN_GPS_SIGN_C, FN_GPS_SIGN_D,
208 /* IPSR7 */
209 FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
210 FN_SCIF_CLK_B, FN_GPS_MAG_D,
211 FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
212 FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
213 FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
214 FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
215 FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B,
216 FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B,
217 FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B,
218 FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B,
219 FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B,
220 FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B,
221 FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
222 FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
223 FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
224 FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
225 FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
226 FN_SCIFA1_SCK, FN_SSI_SCK78_B,
228 /* IPSR8 */
229 FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, FN_SSI_WS78_B,
230 FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
231 FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
232 FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
233 FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
234 FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
235 FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
236 FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B, FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
237 FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
238 FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
239 FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
240 FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
241 FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
242 FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
243 FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B,
244 FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
245 FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
247 /* IPSR9 */
248 FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
249 FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C, FN_SCIF3_SCK, FN_SCIFA3_SCK,
250 FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
251 FN_DU1_DOTCLKOUT0, FN_QCLK,
252 FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
253 FN_TX3_B, FN_SCL2_B, FN_PWM4,
254 FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
255 FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
256 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
257 FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
258 FN_DU1_DISP, FN_QPOLA,
259 FN_DU1_CDE, FN_QPOLB, FN_PWM4_B,
260 FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
261 FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
262 FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
263 FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
264 FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B,
265 FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
266 FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N,
268 /* IPSR10 */
269 FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
270 FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N,
271 FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
272 FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N,
273 FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
274 FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N,
275 FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
276 FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
277 FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
278 FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D,
279 FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D,
280 FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D,
281 FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
282 FN_TS_SDATA0_C, FN_ATACS11_N,
283 FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B,
284 FN_TS_SCK0_C, FN_ATAG1_N,
285 FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
286 FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
287 FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
289 /* IPSR11 */
290 FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
291 FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
292 FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
293 FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D,
294 FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B, FN_TX4_B, FN_SCIFA4_TXD_B,
295 FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B, FN_RX4_B, FN_SCIFA4_RXD_B,
296 FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B,
297 FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B,
298 FN_VI1_CLK, FN_AVB_RXD4, FN_VI1_DATA0, FN_AVB_RXD5,
299 FN_VI1_DATA1, FN_AVB_RXD6, FN_VI1_DATA2, FN_AVB_RXD7,
300 FN_VI1_DATA3, FN_AVB_RX_ER, FN_VI1_DATA4, FN_AVB_MDIO,
301 FN_VI1_DATA5, FN_AVB_RX_DV, FN_VI1_DATA6, FN_AVB_MAGIC,
302 FN_VI1_DATA7, FN_AVB_MDC,
303 FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C,
304 FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C,
306 /* IPSR12 */
307 FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7,
308 FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
309 FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
310 FN_SCL2_D, FN_MSIOF1_RXD_E,
311 FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C, FN_SDA2_D, FN_MSIOF1_SCK_E,
312 FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
313 FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
314 FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
315 FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
316 FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
317 FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C,
318 FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C,
319 FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C,
320 FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
321 FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
322 FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
323 FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
325 /* IPSR13 */
326 FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
327 FN_ADICLK_B, FN_MSIOF0_SS1_C,
328 FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
329 FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
330 FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
331 FN_ADICHS2_B, FN_MSIOF0_TXD_C,
332 FN_SD0_CLK, FN_SPCLK_B, FN_SD0_CMD, FN_MOSI_IO0_B,
333 FN_SD0_DATA0, FN_MISO_IO1_B, FN_SD0_DATA1, FN_IO2_B,
334 FN_SD0_DATA2, FN_IO3_B, FN_SD0_DATA3, FN_SSL_B,
335 FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
336 FN_SCIFA5_TXD_B, FN_TX3_C,
337 FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
338 FN_SCIFA5_RXD_B, FN_RX3_C,
339 FN_SD1_CMD, FN_REMOCON_B, FN_SD1_DATA0, FN_SPEEDIN_B,
340 FN_SD1_DATA1, FN_IETX_B, FN_SD1_DATA2, FN_IECLK_B,
341 FN_SD1_DATA3, FN_IERX_B,
342 FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
344 /* IPSR14 */
345 FN_SD1_WP, FN_PWM1_B, FN_SDA1_C,
346 FN_SD2_CLK, FN_MMC_CLK, FN_SD2_CMD, FN_MMC_CMD,
347 FN_SD2_DATA0, FN_MMC_D0, FN_SD2_DATA1, FN_MMC_D1,
348 FN_SD2_DATA2, FN_MMC_D2, FN_SD2_DATA3, FN_MMC_D3,
349 FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
350 FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
351 FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, FN_VI1_CLK_C, FN_VI1_G0_B,
352 FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, FN_VI1_CLKENB_C, FN_VI1_G1_B,
353 FN_MSIOF0_TXD, FN_ADICLK, FN_VI1_FIELD_C, FN_VI1_G2_B,
354 FN_MSIOF0_RXD, FN_ADICHS0, FN_VI1_DATA0_C, FN_VI1_G3_B,
355 FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
356 FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B,
357 FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
358 FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B,
360 /* IPSR15 */
361 FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D,
362 FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C,
363 FN_SIM0_D, FN_IERX, FN_CAN1_RX_D,
364 FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
365 FN_PWM5_B, FN_SCIFA3_TXD_C,
366 FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
367 FN_VI1_G6_B, FN_SCIFA3_RXD_C,
368 FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
369 FN_VI1_G7_B, FN_SCIFA3_SCK_C,
370 FN_HCTS0_N, FN_SCIFB0_CTS_N, FN_GLO_I0_C, FN_TCLK1, FN_VI1_DATA1_C,
371 FN_HRTS0_N, FN_SCIFB0_RTS_N, FN_GLO_I1_C, FN_VI1_DATA2_C,
372 FN_HSCK0, FN_SCIFB0_SCK, FN_GLO_Q0_C, FN_CAN_CLK,
373 FN_TCLK2, FN_VI1_DATA3_C,
374 FN_HRX0, FN_SCIFB0_RXD, FN_GLO_Q1_C, FN_CAN0_RX_B, FN_VI1_DATA4_C,
375 FN_HTX0, FN_SCIFB0_TXD, FN_GLO_SCLK_C, FN_CAN0_TX_B, FN_VI1_DATA5_C,
377 /* IPSR16 */
378 FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B, FN_GLO_SDATA_C, FN_VI1_DATA6_C,
379 FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B, FN_GLO_SS_C, FN_VI1_DATA7_C,
380 FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CK, FN_GLO_RFON_C,
381 FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
382 FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
384 /* MOD_SEL */
385 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
386 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
387 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
388 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
389 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
390 FN_SEL_SSI9_0, FN_SEL_SSI9_1,
391 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
392 FN_SEL_QSP_0, FN_SEL_QSP_1,
393 FN_SEL_SSI7_0, FN_SEL_SSI7_1,
394 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2, FN_SEL_HSCIF1_3,
395 FN_SEL_HSCIF1_4,
396 FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2,
397 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
398 FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
399 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
400 FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2,
402 /* MOD_SEL2 */
403 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
404 FN_SEL_SCIF0_4,
405 FN_SEL_SCIF_0, FN_SEL_SCIF_1,
406 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
407 FN_SEL_CAN0_4, FN_SEL_CAN0_5,
408 FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
409 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
410 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2,
411 FN_SEL_ADG_0, FN_SEL_ADG_1,
412 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3, FN_SEL_FM_4,
413 FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2,
414 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
415 FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2,
416 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2,
417 FN_SEL_SIM_0, FN_SEL_SIM_1,
418 FN_SEL_SSI8_0, FN_SEL_SSI8_1,
420 /* MOD_SEL3 */
421 FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1, FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
422 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
423 FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2,
424 FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2,
425 FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2,
426 FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
427 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
428 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
429 FN_SEL_MMC_0, FN_SEL_MMC_1,
430 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
431 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
432 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
433 FN_SEL_IIC1_4,
434 FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2,
436 /* MOD_SEL4 */
437 FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
438 FN_SEL_SOF1_4,
439 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
440 FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2,
441 FN_SEL_RAD_0, FN_SEL_RAD_1,
442 FN_SEL_RCN_0, FN_SEL_RCN_1,
443 FN_SEL_RSP_0, FN_SEL_RSP_1,
444 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF2_3,
445 FN_SEL_SCIF2_4,
446 FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2, FN_SEL_SOF2_3,
447 FN_SEL_SOF2_4,
448 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
449 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
450 FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2,
451 PINMUX_FUNCTION_END,
453 PINMUX_MARK_BEGIN,
455 EX_CS0_N_MARK, RD_N_MARK,
457 AUDIO_CLKA_MARK,
459 VI0_CLK_MARK, VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
460 VI0_DATA2_VI0_B2_MARK, VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
461 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
463 SD1_CLK_MARK,
465 USB0_PWEN_MARK, USB0_OVC_MARK, USB1_PWEN_MARK, USB1_OVC_MARK,
466 DU0_DOTCLKIN_MARK,
468 /* IPSR0 */
469 D0_MARK, D1_MARK, D2_MARK, D3_MARK, D4_MARK, D5_MARK,
470 D6_MARK, D7_MARK, D8_MARK,
471 D9_MARK, D10_MARK, D11_MARK, D12_MARK, D13_MARK, D14_MARK, D15_MARK,
472 A0_MARK, ATAWR0_N_C_MARK, MSIOF0_SCK_B_MARK, SCL0_C_MARK, PWM2_B_MARK,
473 A1_MARK, MSIOF0_SYNC_B_MARK, A2_MARK, MSIOF0_SS1_B_MARK,
474 A3_MARK, MSIOF0_SS2_B_MARK, A4_MARK, MSIOF0_TXD_B_MARK,
475 A5_MARK, MSIOF0_RXD_B_MARK, A6_MARK, MSIOF1_SCK_MARK,
477 /* IPSR1 */
478 A7_MARK, MSIOF1_SYNC_MARK, A8_MARK, MSIOF1_SS1_MARK, SCL0_MARK,
479 A9_MARK, MSIOF1_SS2_MARK, SDA0_MARK,
480 A10_MARK, MSIOF1_TXD_MARK, MSIOF1_TXD_D_MARK,
481 A11_MARK, MSIOF1_RXD_MARK, SCL3_D_MARK, MSIOF1_RXD_D_MARK,
482 A12_MARK, FMCLK_MARK, SDA3_D_MARK, MSIOF1_SCK_D_MARK,
483 A13_MARK, ATAG0_N_C_MARK, BPFCLK_MARK, MSIOF1_SS1_D_MARK,
484 A14_MARK, ATADIR0_N_C_MARK, FMIN_MARK, FMIN_C_MARK, MSIOF1_SYNC_D_MARK,
485 A15_MARK, BPFCLK_C_MARK,
486 A16_MARK, DREQ2_B_MARK, FMCLK_C_MARK, SCIFA1_SCK_B_MARK,
487 A17_MARK, DACK2_B_MARK, SDA0_C_MARK,
488 A18_MARK, DREQ1_MARK, SCIFA1_RXD_C_MARK, SCIFB1_RXD_C_MARK,
490 /* IPSR2 */
491 A19_MARK, DACK1_MARK, SCIFA1_TXD_C_MARK,
492 SCIFB1_TXD_C_MARK, SCIFB1_SCK_B_MARK,
493 A20_MARK, SPCLK_MARK,
494 A21_MARK, ATAWR0_N_B_MARK, MOSI_IO0_MARK,
495 A22_MARK, MISO_IO1_MARK, FMCLK_B_MARK, TX0_MARK, SCIFA0_TXD_MARK,
496 A23_MARK, IO2_MARK, BPFCLK_B_MARK, RX0_MARK, SCIFA0_RXD_MARK,
497 A24_MARK, DREQ2_MARK, IO3_MARK, TX1_MARK, SCIFA1_TXD_MARK,
498 A25_MARK, DACK2_MARK, SSL_MARK, DREQ1_C_MARK,
499 RX1_MARK, SCIFA1_RXD_MARK,
500 CS0_N_MARK, ATAG0_N_B_MARK, SCL1_MARK,
501 CS1_N_A26_MARK, ATADIR0_N_B_MARK, SDA1_MARK,
502 EX_CS1_N_MARK, MSIOF2_SCK_MARK,
503 EX_CS2_N_MARK, ATAWR0_N_MARK, MSIOF2_SYNC_MARK,
504 EX_CS3_N_MARK, ATADIR0_N_MARK, MSIOF2_TXD_MARK,
505 ATAG0_N_MARK, EX_WAIT1_MARK,
507 /* IPSR3 */
508 EX_CS4_N_MARK, ATARD0_N_MARK, MSIOF2_RXD_MARK, EX_WAIT2_MARK,
509 EX_CS5_N_MARK, ATACS00_N_MARK, MSIOF2_SS1_MARK, HRX1_B_MARK,
510 SCIFB1_RXD_B_MARK, PWM1_MARK, TPU_TO1_MARK,
511 BS_N_MARK, ATACS10_N_MARK, MSIOF2_SS2_MARK, HTX1_B_MARK,
512 SCIFB1_TXD_B_MARK, PWM2_MARK, TPU_TO2_MARK,
513 RD_WR_N_MARK, HRX2_B_MARK, FMIN_B_MARK,
514 SCIFB0_RXD_B_MARK, DREQ1_D_MARK,
515 WE0_N_MARK, HCTS2_N_B_MARK, SCIFB0_TXD_B_MARK,
516 WE1_N_MARK, ATARD0_N_B_MARK, HTX2_B_MARK, SCIFB0_RTS_N_B_MARK,
517 EX_WAIT0_MARK, HRTS2_N_B_MARK, SCIFB0_CTS_N_B_MARK,
518 DREQ0_MARK, PWM3_MARK, TPU_TO3_MARK,
519 DACK0_MARK, DRACK0_MARK, REMOCON_MARK,
520 SPEEDIN_MARK, HSCK0_C_MARK, HSCK2_C_MARK, SCIFB0_SCK_B_MARK,
521 SCIFB2_SCK_B_MARK, DREQ2_C_MARK, HTX2_D_MARK,
522 SSI_SCK0129_MARK, HRX0_C_MARK, HRX2_C_MARK,
523 SCIFB0_RXD_C_MARK, SCIFB2_RXD_C_MARK,
524 SSI_WS0129_MARK, HTX0_C_MARK, HTX2_C_MARK,
525 SCIFB0_TXD_C_MARK, SCIFB2_TXD_C_MARK,
527 /* IPSR4 */
528 SSI_SDATA0_MARK, SCL0_B_MARK, SCL7_B_MARK, MSIOF2_SCK_C_MARK,
529 SSI_SCK1_MARK, SDA0_B_MARK, SDA7_B_MARK,
530 MSIOF2_SYNC_C_MARK, GLO_I0_D_MARK,
531 SSI_WS1_MARK, SCL1_B_MARK, SCL8_B_MARK,
532 MSIOF2_TXD_C_MARK, GLO_I1_D_MARK,
533 SSI_SDATA1_MARK, SDA1_B_MARK, SDA8_B_MARK, MSIOF2_RXD_C_MARK,
534 SSI_SCK2_MARK, SCL2_MARK, GPS_CLK_B_MARK, GLO_Q0_D_MARK, HSCK1_E_MARK,
535 SSI_WS2_MARK, SDA2_MARK, GPS_SIGN_B_MARK, RX2_E_MARK,
536 GLO_Q1_D_MARK, HCTS1_N_E_MARK,
537 SSI_SDATA2_MARK, GPS_MAG_B_MARK, TX2_E_MARK, HRTS1_N_E_MARK,
538 SSI_SCK34_MARK, SSI_WS34_MARK, SSI_SDATA3_MARK,
539 SSI_SCK4_MARK, GLO_SS_D_MARK,
540 SSI_WS4_MARK, GLO_RFON_D_MARK,
541 SSI_SDATA4_MARK, MSIOF2_SCK_D_MARK,
542 SSI_SCK5_MARK, MSIOF1_SCK_C_MARK, TS_SDATA0_MARK, GLO_I0_MARK,
543 MSIOF2_SYNC_D_MARK, VI1_R2_B_MARK,
545 /* IPSR5 */
546 SSI_WS5_MARK, MSIOF1_SYNC_C_MARK, TS_SCK0_MARK, GLO_I1_MARK,
547 MSIOF2_TXD_D_MARK, VI1_R3_B_MARK,
548 SSI_SDATA5_MARK, MSIOF1_TXD_C_MARK, TS_SDEN0_MARK, GLO_Q0_MARK,
549 MSIOF2_SS1_D_MARK, VI1_R4_B_MARK,
550 SSI_SCK6_MARK, MSIOF1_RXD_C_MARK, TS_SPSYNC0_MARK, GLO_Q1_MARK,
551 MSIOF2_RXD_D_MARK, VI1_R5_B_MARK,
552 SSI_WS6_MARK, GLO_SCLK_MARK, MSIOF2_SS2_D_MARK, VI1_R6_B_MARK,
553 SSI_SDATA6_MARK, STP_IVCXO27_0_B_MARK, GLO_SDATA_MARK, VI1_R7_B_MARK,
554 SSI_SCK78_MARK, STP_ISCLK_0_B_MARK, GLO_SS_MARK,
555 SSI_WS78_MARK, TX0_D_MARK, STP_ISD_0_B_MARK, GLO_RFON_MARK,
556 SSI_SDATA7_MARK, RX0_D_MARK, STP_ISEN_0_B_MARK,
557 SSI_SDATA8_MARK, TX1_D_MARK, STP_ISSYNC_0_B_MARK,
558 SSI_SCK9_MARK, RX1_D_MARK, GLO_SCLK_D_MARK,
559 SSI_WS9_MARK, TX3_D_MARK, CAN0_TX_D_MARK, GLO_SDATA_D_MARK,
560 SSI_SDATA9_MARK, RX3_D_MARK, CAN0_RX_D_MARK,
562 /* IPSR6 */
563 AUDIO_CLKB_MARK, STP_OPWM_0_B_MARK, MSIOF1_SCK_B_MARK,
564 SCIF_CLK_MARK, BPFCLK_E_MARK,
565 AUDIO_CLKC_MARK, SCIFB0_SCK_C_MARK, MSIOF1_SYNC_B_MARK, RX2_MARK,
566 SCIFA2_RXD_MARK, FMIN_E_MARK,
567 AUDIO_CLKOUT_MARK, MSIOF1_SS1_B_MARK, TX2_MARK, SCIFA2_TXD_MARK,
568 IRQ0_MARK, SCIFB1_RXD_D_MARK, INTC_IRQ0_N_MARK,
569 IRQ1_MARK, SCIFB1_SCK_C_MARK, INTC_IRQ1_N_MARK,
570 IRQ2_MARK, SCIFB1_TXD_D_MARK, INTC_IRQ2_N_MARK,
571 IRQ3_MARK, SCL4_C_MARK, MSIOF2_TXD_E_MARK, INTC_IRQ3_N_MARK,
572 IRQ4_MARK, HRX1_C_MARK, SDA4_C_MARK,
573 MSIOF2_RXD_E_MARK, INTC_IRQ4_N_MARK,
574 IRQ5_MARK, HTX1_C_MARK, SCL1_E_MARK, MSIOF2_SCK_E_MARK,
575 IRQ6_MARK, HSCK1_C_MARK, MSIOF1_SS2_B_MARK,
576 SDA1_E_MARK, MSIOF2_SYNC_E_MARK,
577 IRQ7_MARK, HCTS1_N_C_MARK, MSIOF1_TXD_B_MARK,
578 GPS_CLK_C_MARK, GPS_CLK_D_MARK,
579 IRQ8_MARK, HRTS1_N_C_MARK, MSIOF1_RXD_B_MARK,
580 GPS_SIGN_C_MARK, GPS_SIGN_D_MARK,
582 /* IPSR7 */
583 IRQ9_MARK, DU1_DOTCLKIN_B_MARK, CAN_CLK_D_MARK, GPS_MAG_C_MARK,
584 SCIF_CLK_B_MARK, GPS_MAG_D_MARK,
585 DU1_DR0_MARK, LCDOUT0_MARK, VI1_DATA0_B_MARK, TX0_B_MARK,
586 SCIFA0_TXD_B_MARK, MSIOF2_SCK_B_MARK,
587 DU1_DR1_MARK, LCDOUT1_MARK, VI1_DATA1_B_MARK, RX0_B_MARK,
588 SCIFA0_RXD_B_MARK, MSIOF2_SYNC_B_MARK,
589 DU1_DR2_MARK, LCDOUT2_MARK, SSI_SCK0129_B_MARK,
590 DU1_DR3_MARK, LCDOUT3_MARK, SSI_WS0129_B_MARK,
591 DU1_DR4_MARK, LCDOUT4_MARK, SSI_SDATA0_B_MARK,
592 DU1_DR5_MARK, LCDOUT5_MARK, SSI_SCK1_B_MARK,
593 DU1_DR6_MARK, LCDOUT6_MARK, SSI_WS1_B_MARK,
594 DU1_DR7_MARK, LCDOUT7_MARK, SSI_SDATA1_B_MARK,
595 DU1_DG0_MARK, LCDOUT8_MARK, VI1_DATA2_B_MARK, TX1_B_MARK,
596 SCIFA1_TXD_B_MARK, MSIOF2_SS1_B_MARK,
597 DU1_DG1_MARK, LCDOUT9_MARK, VI1_DATA3_B_MARK, RX1_B_MARK,
598 SCIFA1_RXD_B_MARK, MSIOF2_SS2_B_MARK,
599 DU1_DG2_MARK, LCDOUT10_MARK, VI1_DATA4_B_MARK, SCIF1_SCK_B_MARK,
600 SCIFA1_SCK_MARK, SSI_SCK78_B_MARK,
602 /* IPSR8 */
603 DU1_DG3_MARK, LCDOUT11_MARK, VI1_DATA5_B_MARK, SSI_WS78_B_MARK,
604 DU1_DG4_MARK, LCDOUT12_MARK, VI1_DATA6_B_MARK, HRX0_B_MARK,
605 SCIFB2_RXD_B_MARK, SSI_SDATA7_B_MARK,
606 DU1_DG5_MARK, LCDOUT13_MARK, VI1_DATA7_B_MARK, HCTS0_N_B_MARK,
607 SCIFB2_TXD_B_MARK, SSI_SDATA8_B_MARK,
608 DU1_DG6_MARK, LCDOUT14_MARK, HRTS0_N_B_MARK,
609 SCIFB2_CTS_N_B_MARK, SSI_SCK9_B_MARK,
610 DU1_DG7_MARK, LCDOUT15_MARK, HTX0_B_MARK,
611 SCIFB2_RTS_N_B_MARK, SSI_WS9_B_MARK,
612 DU1_DB0_MARK, LCDOUT16_MARK, VI1_CLK_B_MARK, TX2_B_MARK,
613 SCIFA2_TXD_B_MARK, MSIOF2_TXD_B_MARK,
614 DU1_DB1_MARK, LCDOUT17_MARK, VI1_HSYNC_N_B_MARK, RX2_B_MARK,
615 SCIFA2_RXD_B_MARK, MSIOF2_RXD_B_MARK,
616 DU1_DB2_MARK, LCDOUT18_MARK, VI1_VSYNC_N_B_MARK, SCIF2_SCK_B_MARK,
617 SCIFA2_SCK_MARK, SSI_SDATA9_B_MARK,
618 DU1_DB3_MARK, LCDOUT19_MARK, VI1_CLKENB_B_MARK,
619 DU1_DB4_MARK, LCDOUT20_MARK, VI1_FIELD_B_MARK, CAN1_RX_MARK,
620 DU1_DB5_MARK, LCDOUT21_MARK, TX3_MARK, SCIFA3_TXD_MARK, CAN1_TX_MARK,
622 /* IPSR9 */
623 DU1_DB6_MARK, LCDOUT22_MARK, SCL3_C_MARK, RX3_MARK, SCIFA3_RXD_MARK,
624 DU1_DB7_MARK, LCDOUT23_MARK, SDA3_C_MARK,
625 SCIF3_SCK_MARK, SCIFA3_SCK_MARK,
626 DU1_DOTCLKIN_MARK, QSTVA_QVS_MARK,
627 DU1_DOTCLKOUT0_MARK, QCLK_MARK,
628 DU1_DOTCLKOUT1_MARK, QSTVB_QVE_MARK, CAN0_TX_MARK,
629 TX3_B_MARK, SCL2_B_MARK, PWM4_MARK,
630 DU1_EXHSYNC_DU1_HSYNC_MARK, QSTH_QHS_MARK,
631 DU1_EXVSYNC_DU1_VSYNC_MARK, QSTB_QHE_MARK,
632 DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
633 CAN0_RX_MARK, RX3_B_MARK, SDA2_B_MARK,
634 DU1_DISP_MARK, QPOLA_MARK,
635 DU1_CDE_MARK, QPOLB_MARK, PWM4_B_MARK,
636 VI0_CLKENB_MARK, TX4_MARK, SCIFA4_TXD_MARK, TS_SDATA0_D_MARK,
637 VI0_FIELD_MARK, RX4_MARK, SCIFA4_RXD_MARK, TS_SCK0_D_MARK,
638 VI0_HSYNC_N_MARK, TX5_MARK, SCIFA5_TXD_MARK, TS_SDEN0_D_MARK,
639 VI0_VSYNC_N_MARK, RX5_MARK, SCIFA5_RXD_MARK, TS_SPSYNC0_D_MARK,
640 VI0_DATA3_VI0_B3_MARK, SCIF3_SCK_B_MARK, SCIFA3_SCK_B_MARK,
641 VI0_G0_MARK, SCL8_MARK, STP_IVCXO27_0_C_MARK, SCL4_MARK,
642 HCTS2_N_MARK, SCIFB2_CTS_N_MARK, ATAWR1_N_MARK,
644 /* IPSR10 */
645 VI0_G1_MARK, SDA8_MARK, STP_ISCLK_0_C_MARK, SDA4_MARK,
646 HRTS2_N_MARK, SCIFB2_RTS_N_MARK, ATADIR1_N_MARK,
647 VI0_G2_MARK, VI2_HSYNC_N_MARK, STP_ISD_0_C_MARK, SCL3_B_MARK,
648 HSCK2_MARK, SCIFB2_SCK_MARK, ATARD1_N_MARK,
649 VI0_G3_MARK, VI2_VSYNC_N_MARK, STP_ISEN_0_C_MARK, SDA3_B_MARK,
650 HRX2_MARK, SCIFB2_RXD_MARK, ATACS01_N_MARK,
651 VI0_G4_MARK, VI2_CLKENB_MARK, STP_ISSYNC_0_C_MARK,
652 HTX2_MARK, SCIFB2_TXD_MARK, SCIFB0_SCK_D_MARK,
653 VI0_G5_MARK, VI2_FIELD_MARK, STP_OPWM_0_C_MARK, FMCLK_D_MARK,
654 CAN0_TX_E_MARK, HTX1_D_MARK, SCIFB0_TXD_D_MARK,
655 VI0_G6_MARK, VI2_CLK_MARK, BPFCLK_D_MARK,
656 VI0_G7_MARK, VI2_DATA0_MARK, FMIN_D_MARK,
657 VI0_R0_MARK, VI2_DATA1_MARK, GLO_I0_B_MARK,
658 TS_SDATA0_C_MARK, ATACS11_N_MARK,
659 VI0_R1_MARK, VI2_DATA2_MARK, GLO_I1_B_MARK,
660 TS_SCK0_C_MARK, ATAG1_N_MARK,
661 VI0_R2_MARK, VI2_DATA3_MARK, GLO_Q0_B_MARK, TS_SDEN0_C_MARK,
662 VI0_R3_MARK, VI2_DATA4_MARK, GLO_Q1_B_MARK, TS_SPSYNC0_C_MARK,
663 VI0_R4_MARK, VI2_DATA5_MARK, GLO_SCLK_B_MARK, TX0_C_MARK, SCL1_D_MARK,
665 /* IPSR11 */
666 VI0_R5_MARK, VI2_DATA6_MARK, GLO_SDATA_B_MARK, RX0_C_MARK, SDA1_D_MARK,
667 VI0_R6_MARK, VI2_DATA7_MARK, GLO_SS_B_MARK, TX1_C_MARK, SCL4_B_MARK,
668 VI0_R7_MARK, GLO_RFON_B_MARK, RX1_C_MARK, CAN0_RX_E_MARK,
669 SDA4_B_MARK, HRX1_D_MARK, SCIFB0_RXD_D_MARK,
670 VI1_HSYNC_N_MARK, AVB_RXD0_MARK, TS_SDATA0_B_MARK,
671 TX4_B_MARK, SCIFA4_TXD_B_MARK,
672 VI1_VSYNC_N_MARK, AVB_RXD1_MARK, TS_SCK0_B_MARK,
673 RX4_B_MARK, SCIFA4_RXD_B_MARK,
674 VI1_CLKENB_MARK, AVB_RXD2_MARK, TS_SDEN0_B_MARK,
675 VI1_FIELD_MARK, AVB_RXD3_MARK, TS_SPSYNC0_B_MARK,
676 VI1_CLK_MARK, AVB_RXD4_MARK, VI1_DATA0_MARK, AVB_RXD5_MARK,
677 VI1_DATA1_MARK, AVB_RXD6_MARK, VI1_DATA2_MARK, AVB_RXD7_MARK,
678 VI1_DATA3_MARK, AVB_RX_ER_MARK, VI1_DATA4_MARK, AVB_MDIO_MARK,
679 VI1_DATA5_MARK, AVB_RX_DV_MARK, VI1_DATA6_MARK, AVB_MAGIC_MARK,
680 VI1_DATA7_MARK, AVB_MDC_MARK,
681 ETH_MDIO_MARK, AVB_RX_CLK_MARK, SCL2_C_MARK,
682 ETH_CRS_DV_MARK, AVB_LINK_MARK, SDA2_C_MARK,
684 /* IPSR12 */
685 ETH_RX_ER_MARK, AVB_CRS_MARK, SCL3_MARK, SCL7_MARK,
686 ETH_RXD0_MARK, AVB_PHY_INT_MARK, SDA3_MARK, SDA7_MARK,
687 ETH_RXD1_MARK, AVB_GTXREFCLK_MARK, CAN0_TX_C_MARK,
688 SCL2_D_MARK, MSIOF1_RXD_E_MARK,
689 ETH_LINK_MARK, AVB_TXD0_MARK, CAN0_RX_C_MARK,
690 SDA2_D_MARK, MSIOF1_SCK_E_MARK,
691 ETH_REFCLK_MARK, AVB_TXD1_MARK, SCIFA3_RXD_B_MARK,
692 CAN1_RX_C_MARK, MSIOF1_SYNC_E_MARK,
693 ETH_TXD1_MARK, AVB_TXD2_MARK, SCIFA3_TXD_B_MARK,
694 CAN1_TX_C_MARK, MSIOF1_TXD_E_MARK,
695 ETH_TX_EN_MARK, AVB_TXD3_MARK, TCLK1_B_MARK, CAN_CLK_B_MARK,
696 ETH_MAGIC_MARK, AVB_TXD4_MARK, IETX_C_MARK,
697 ETH_TXD0_MARK, AVB_TXD5_MARK, IECLK_C_MARK,
698 ETH_MDC_MARK, AVB_TXD6_MARK, IERX_C_MARK,
699 STP_IVCXO27_0_MARK, AVB_TXD7_MARK, SCIFB2_TXD_D_MARK,
700 ADIDATA_B_MARK, MSIOF0_SYNC_C_MARK,
701 STP_ISCLK_0_MARK, AVB_TX_EN_MARK, SCIFB2_RXD_D_MARK,
702 ADICS_SAMP_B_MARK, MSIOF0_SCK_C_MARK,
704 /* IPSR13 */
705 STP_ISD_0_MARK, AVB_TX_ER_MARK, SCIFB2_SCK_C_MARK,
706 ADICLK_B_MARK, MSIOF0_SS1_C_MARK,
707 STP_ISEN_0_MARK, AVB_TX_CLK_MARK, ADICHS0_B_MARK, MSIOF0_SS2_C_MARK,
708 STP_ISSYNC_0_MARK, AVB_COL_MARK, ADICHS1_B_MARK, MSIOF0_RXD_C_MARK,
709 STP_OPWM_0_MARK, AVB_GTX_CLK_MARK, PWM0_B_MARK,
710 ADICHS2_B_MARK, MSIOF0_TXD_C_MARK,
711 SD0_CLK_MARK, SPCLK_B_MARK, SD0_CMD_MARK, MOSI_IO0_B_MARK,
712 SD0_DATA0_MARK, MISO_IO1_B_MARK, SD0_DATA1_MARK, IO2_B_MARK,
713 SD0_DATA2_MARK, IO3_B_MARK, SD0_DATA3_MARK, SSL_B_MARK,
714 SD0_CD_MARK, MMC_D6_B_MARK, SIM0_RST_B_MARK, CAN0_RX_F_MARK,
715 SCIFA5_TXD_B_MARK, TX3_C_MARK,
716 SD0_WP_MARK, MMC_D7_B_MARK, SIM0_D_B_MARK, CAN0_TX_F_MARK,
717 SCIFA5_RXD_B_MARK, RX3_C_MARK,
718 SD1_CMD_MARK, REMOCON_B_MARK, SD1_DATA0_MARK, SPEEDIN_B_MARK,
719 SD1_DATA1_MARK, IETX_B_MARK, SD1_DATA2_MARK, IECLK_B_MARK,
720 SD1_DATA3_MARK, IERX_B_MARK,
721 SD1_CD_MARK, PWM0_MARK, TPU_TO0_MARK, SCL1_C_MARK,
723 /* IPSR14 */
724 SD1_WP_MARK, PWM1_B_MARK, SDA1_C_MARK,
725 SD2_CLK_MARK, MMC_CLK_MARK, SD2_CMD_MARK, MMC_CMD_MARK,
726 SD2_DATA0_MARK, MMC_D0_MARK, SD2_DATA1_MARK, MMC_D1_MARK,
727 SD2_DATA2_MARK, MMC_D2_MARK, SD2_DATA3_MARK, MMC_D3_MARK,
728 SD2_CD_MARK, MMC_D4_MARK, SCL8_C_MARK, TX5_B_MARK, SCIFA5_TXD_C_MARK,
729 SD2_WP_MARK, MMC_D5_MARK, SDA8_C_MARK, RX5_B_MARK, SCIFA5_RXD_C_MARK,
730 MSIOF0_SCK_MARK, RX2_C_MARK, ADIDATA_MARK,
731 VI1_CLK_C_MARK, VI1_G0_B_MARK,
732 MSIOF0_SYNC_MARK, TX2_C_MARK, ADICS_SAMP_MARK,
733 VI1_CLKENB_C_MARK, VI1_G1_B_MARK,
734 MSIOF0_TXD_MARK, ADICLK_MARK, VI1_FIELD_C_MARK, VI1_G2_B_MARK,
735 MSIOF0_RXD_MARK, ADICHS0_MARK, VI1_DATA0_C_MARK, VI1_G3_B_MARK,
736 MSIOF0_SS1_MARK, MMC_D6_MARK, ADICHS1_MARK, TX0_E_MARK,
737 VI1_HSYNC_N_C_MARK, SCL7_C_MARK, VI1_G4_B_MARK,
738 MSIOF0_SS2_MARK, MMC_D7_MARK, ADICHS2_MARK, RX0_E_MARK,
739 VI1_VSYNC_N_C_MARK, SDA7_C_MARK, VI1_G5_B_MARK,
741 /* IPSR15 */
742 SIM0_RST_MARK, IETX_MARK, CAN1_TX_D_MARK,
743 SIM0_CLK_MARK, IECLK_MARK, CAN_CLK_C_MARK,
744 SIM0_D_MARK, IERX_MARK, CAN1_RX_D_MARK,
745 GPS_CLK_MARK, DU1_DOTCLKIN_C_MARK, AUDIO_CLKB_B_MARK,
746 PWM5_B_MARK, SCIFA3_TXD_C_MARK,
747 GPS_SIGN_MARK, TX4_C_MARK, SCIFA4_TXD_C_MARK, PWM5_MARK,
748 VI1_G6_B_MARK, SCIFA3_RXD_C_MARK,
749 GPS_MAG_MARK, RX4_C_MARK, SCIFA4_RXD_C_MARK, PWM6_MARK,
750 VI1_G7_B_MARK, SCIFA3_SCK_C_MARK,
751 HCTS0_N_MARK, SCIFB0_CTS_N_MARK, GLO_I0_C_MARK,
752 TCLK1_MARK, VI1_DATA1_C_MARK,
753 HRTS0_N_MARK, SCIFB0_RTS_N_MARK, GLO_I1_C_MARK, VI1_DATA2_C_MARK,
754 HSCK0_MARK, SCIFB0_SCK_MARK, GLO_Q0_C_MARK, CAN_CLK_MARK,
755 TCLK2_MARK, VI1_DATA3_C_MARK,
756 HRX0_MARK, SCIFB0_RXD_MARK, GLO_Q1_C_MARK,
757 CAN0_RX_B_MARK, VI1_DATA4_C_MARK,
758 HTX0_MARK, SCIFB0_TXD_MARK, GLO_SCLK_C_MARK,
759 CAN0_TX_B_MARK, VI1_DATA5_C_MARK,
761 /* IPSR16 */
762 HRX1_MARK, SCIFB1_RXD_MARK, VI1_R0_B_MARK,
763 GLO_SDATA_C_MARK, VI1_DATA6_C_MARK,
764 HTX1_MARK, SCIFB1_TXD_MARK, VI1_R1_B_MARK,
765 GLO_SS_C_MARK, VI1_DATA7_C_MARK,
766 HSCK1_MARK, SCIFB1_SCK_MARK, MLB_CK_MARK, GLO_RFON_C_MARK,
767 HCTS1_N_MARK, SCIFB1_CTS_N_MARK, MLB_SIG_MARK, CAN1_TX_B_MARK,
768 HRTS1_N_MARK, SCIFB1_RTS_N_MARK, MLB_DAT_MARK, CAN1_RX_B_MARK,
769 PINMUX_MARK_END,
772 static const u16 pinmux_data[] = {
773 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
775 PINMUX_DATA(EX_CS0_N_MARK, FN_EX_CS0_N),
776 PINMUX_DATA(RD_N_MARK, FN_RD_N),
777 PINMUX_DATA(AUDIO_CLKA_MARK, FN_AUDIO_CLKA),
778 PINMUX_DATA(VI0_CLK_MARK, FN_VI0_CLK),
779 PINMUX_DATA(VI0_DATA0_VI0_B0_MARK, FN_VI0_DATA0_VI0_B0),
780 PINMUX_DATA(VI0_DATA1_VI0_B1_MARK, FN_VI0_DATA1_VI0_B1),
781 PINMUX_DATA(VI0_DATA2_VI0_B2_MARK, FN_VI0_DATA2_VI0_B2),
782 PINMUX_DATA(VI0_DATA4_VI0_B4_MARK, FN_VI0_DATA4_VI0_B4),
783 PINMUX_DATA(VI0_DATA5_VI0_B5_MARK, FN_VI0_DATA5_VI0_B5),
784 PINMUX_DATA(VI0_DATA6_VI0_B6_MARK, FN_VI0_DATA6_VI0_B6),
785 PINMUX_DATA(VI0_DATA7_VI0_B7_MARK, FN_VI0_DATA7_VI0_B7),
786 PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
787 PINMUX_DATA(USB0_OVC_MARK, FN_USB0_OVC),
788 PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
789 PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
790 PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
792 /* IPSR0 */
793 PINMUX_IPSR_DATA(IP0_0, D0),
794 PINMUX_IPSR_DATA(IP0_1, D1),
795 PINMUX_IPSR_DATA(IP0_2, D2),
796 PINMUX_IPSR_DATA(IP0_3, D3),
797 PINMUX_IPSR_DATA(IP0_4, D4),
798 PINMUX_IPSR_DATA(IP0_5, D5),
799 PINMUX_IPSR_DATA(IP0_6, D6),
800 PINMUX_IPSR_DATA(IP0_7, D7),
801 PINMUX_IPSR_DATA(IP0_8, D8),
802 PINMUX_IPSR_DATA(IP0_9, D9),
803 PINMUX_IPSR_DATA(IP0_10, D10),
804 PINMUX_IPSR_DATA(IP0_11, D11),
805 PINMUX_IPSR_DATA(IP0_12, D12),
806 PINMUX_IPSR_DATA(IP0_13, D13),
807 PINMUX_IPSR_DATA(IP0_14, D14),
808 PINMUX_IPSR_DATA(IP0_15, D15),
809 PINMUX_IPSR_DATA(IP0_18_16, A0),
810 PINMUX_IPSR_MODSEL_DATA(IP0_18_16, ATAWR0_N_C, SEL_LBS_2),
811 PINMUX_IPSR_MODSEL_DATA(IP0_18_16, MSIOF0_SCK_B, SEL_SOF0_1),
812 PINMUX_IPSR_MODSEL_DATA(IP0_18_16, SCL0_C, SEL_IIC0_2),
813 PINMUX_IPSR_DATA(IP0_18_16, PWM2_B),
814 PINMUX_IPSR_DATA(IP0_20_19, A1),
815 PINMUX_IPSR_MODSEL_DATA(IP0_20_19, MSIOF0_SYNC_B, SEL_SOF0_1),
816 PINMUX_IPSR_DATA(IP0_22_21, A2),
817 PINMUX_IPSR_MODSEL_DATA(IP0_22_21, MSIOF0_SS1_B, SEL_SOF0_1),
818 PINMUX_IPSR_DATA(IP0_24_23, A3),
819 PINMUX_IPSR_MODSEL_DATA(IP0_24_23, MSIOF0_SS2_B, SEL_SOF0_1),
820 PINMUX_IPSR_DATA(IP0_26_25, A4),
821 PINMUX_IPSR_MODSEL_DATA(IP0_26_25, MSIOF0_TXD_B, SEL_SOF0_1),
822 PINMUX_IPSR_DATA(IP0_28_27, A5),
823 PINMUX_IPSR_MODSEL_DATA(IP0_28_27, MSIOF0_RXD_B, SEL_SOF0_1),
824 PINMUX_IPSR_DATA(IP0_30_29, A6),
825 PINMUX_IPSR_MODSEL_DATA(IP0_30_29, MSIOF1_SCK, SEL_SOF1_0),
827 /* IPSR1 */
828 PINMUX_IPSR_DATA(IP1_1_0, A7),
829 PINMUX_IPSR_MODSEL_DATA(IP1_1_0, MSIOF1_SYNC, SEL_SOF1_0),
830 PINMUX_IPSR_DATA(IP1_3_2, A8),
831 PINMUX_IPSR_MODSEL_DATA(IP1_3_2, MSIOF1_SS1, SEL_SOF1_0),
832 PINMUX_IPSR_MODSEL_DATA(IP1_3_2, SCL0, SEL_IIC0_0),
833 PINMUX_IPSR_DATA(IP1_5_4, A9),
834 PINMUX_IPSR_MODSEL_DATA(IP1_5_4, MSIOF1_SS2, SEL_SOF1_0),
835 PINMUX_IPSR_MODSEL_DATA(IP1_5_4, SDA0, SEL_IIC0_0),
836 PINMUX_IPSR_DATA(IP1_7_6, A10),
837 PINMUX_IPSR_MODSEL_DATA(IP1_7_6, MSIOF1_TXD, SEL_SOF1_0),
838 PINMUX_IPSR_MODSEL_DATA(IP1_7_6, MSIOF1_TXD_D, SEL_SOF1_3),
839 PINMUX_IPSR_DATA(IP1_10_8, A11),
840 PINMUX_IPSR_MODSEL_DATA(IP1_10_8, MSIOF1_RXD, SEL_SOF1_0),
841 PINMUX_IPSR_MODSEL_DATA(IP1_10_8, SCL3_D, SEL_IIC3_3),
842 PINMUX_IPSR_MODSEL_DATA(IP1_10_8, MSIOF1_RXD_D, SEL_SOF1_3),
843 PINMUX_IPSR_DATA(IP1_13_11, A12),
844 PINMUX_IPSR_MODSEL_DATA(IP1_13_11, FMCLK, SEL_FM_0),
845 PINMUX_IPSR_MODSEL_DATA(IP1_13_11, SDA3_D, SEL_IIC3_3),
846 PINMUX_IPSR_MODSEL_DATA(IP1_13_11, MSIOF1_SCK_D, SEL_SOF1_3),
847 PINMUX_IPSR_DATA(IP1_16_14, A13),
848 PINMUX_IPSR_MODSEL_DATA(IP1_16_14, ATAG0_N_C, SEL_LBS_2),
849 PINMUX_IPSR_MODSEL_DATA(IP1_16_14, BPFCLK, SEL_FM_0),
850 PINMUX_IPSR_MODSEL_DATA(IP1_16_14, MSIOF1_SS1_D, SEL_SOF1_3),
851 PINMUX_IPSR_DATA(IP1_19_17, A14),
852 PINMUX_IPSR_MODSEL_DATA(IP1_19_17, ATADIR0_N_C, SEL_LBS_2),
853 PINMUX_IPSR_MODSEL_DATA(IP1_19_17, FMIN, SEL_FM_0),
854 PINMUX_IPSR_MODSEL_DATA(IP1_19_17, FMIN_C, SEL_FM_2),
855 PINMUX_IPSR_MODSEL_DATA(IP1_19_17, MSIOF1_SYNC_D, SEL_SOF1_3),
856 PINMUX_IPSR_DATA(IP1_22_20, A15),
857 PINMUX_IPSR_MODSEL_DATA(IP1_22_20, BPFCLK_C, SEL_FM_2),
858 PINMUX_IPSR_DATA(IP1_25_23, A16),
859 PINMUX_IPSR_MODSEL_DATA(IP1_25_23, DREQ2_B, SEL_LBS_1),
860 PINMUX_IPSR_MODSEL_DATA(IP1_25_23, FMCLK_C, SEL_FM_2),
861 PINMUX_IPSR_MODSEL_DATA(IP1_25_23, SCIFA1_SCK_B, SEL_SCIFA1_1),
862 PINMUX_IPSR_DATA(IP1_28_26, A17),
863 PINMUX_IPSR_MODSEL_DATA(IP1_28_26, DACK2_B, SEL_LBS_1),
864 PINMUX_IPSR_MODSEL_DATA(IP1_28_26, SDA0_C, SEL_IIC0_2),
865 PINMUX_IPSR_DATA(IP1_31_29, A18),
866 PINMUX_IPSR_MODSEL_DATA(IP1_31_29, DREQ1, SEL_LBS_0),
867 PINMUX_IPSR_MODSEL_DATA(IP1_31_29, SCIFA1_RXD_C, SEL_SCIFA1_2),
868 PINMUX_IPSR_MODSEL_DATA(IP1_31_29, SCIFB1_RXD_C, SEL_SCIFB1_2),
870 /* IPSR2 */
871 PINMUX_IPSR_DATA(IP2_2_0, A19),
872 PINMUX_IPSR_DATA(IP2_2_0, DACK1),
873 PINMUX_IPSR_MODSEL_DATA(IP2_2_0, SCIFA1_TXD_C, SEL_SCIFA1_2),
874 PINMUX_IPSR_MODSEL_DATA(IP2_2_0, SCIFB1_TXD_C, SEL_SCIFB1_2),
875 PINMUX_IPSR_MODSEL_DATA(IP2_2_0, SCIFB1_SCK_B, SEL_SCIFB1_0),
876 PINMUX_IPSR_DATA(IP2_2_0, A20),
877 PINMUX_IPSR_MODSEL_DATA(IP2_4_3, SPCLK, SEL_QSP_0),
878 PINMUX_IPSR_DATA(IP2_6_5, A21),
879 PINMUX_IPSR_MODSEL_DATA(IP2_6_5, ATAWR0_N_B, SEL_LBS_1),
880 PINMUX_IPSR_MODSEL_DATA(IP2_6_5, MOSI_IO0, SEL_QSP_0),
881 PINMUX_IPSR_DATA(IP2_9_7, A22),
882 PINMUX_IPSR_MODSEL_DATA(IP2_9_7, MISO_IO1, SEL_QSP_0),
883 PINMUX_IPSR_MODSEL_DATA(IP2_9_7, FMCLK_B, SEL_FM_1),
884 PINMUX_IPSR_MODSEL_DATA(IP2_9_7, TX0, SEL_SCIF0_0),
885 PINMUX_IPSR_MODSEL_DATA(IP2_9_7, SCIFA0_TXD, SEL_SCFA_0),
886 PINMUX_IPSR_DATA(IP2_12_10, A23),
887 PINMUX_IPSR_MODSEL_DATA(IP2_12_10, IO2, SEL_QSP_0),
888 PINMUX_IPSR_MODSEL_DATA(IP2_12_10, BPFCLK_B, SEL_FM_1),
889 PINMUX_IPSR_MODSEL_DATA(IP2_12_10, RX0, SEL_SCIF0_0),
890 PINMUX_IPSR_MODSEL_DATA(IP2_12_10, SCIFA0_RXD, SEL_SCFA_0),
891 PINMUX_IPSR_DATA(IP2_15_13, A24),
892 PINMUX_IPSR_MODSEL_DATA(IP2_15_13, DREQ2, SEL_LBS_0),
893 PINMUX_IPSR_MODSEL_DATA(IP2_15_13, IO3, SEL_QSP_0),
894 PINMUX_IPSR_MODSEL_DATA(IP2_15_13, TX1, SEL_SCIF1_0),
895 PINMUX_IPSR_MODSEL_DATA(IP2_15_13, SCIFA1_TXD, SEL_SCIFA1_0),
896 PINMUX_IPSR_DATA(IP2_18_16, A25),
897 PINMUX_IPSR_MODSEL_DATA(IP2_18_16, DACK2, SEL_LBS_0),
898 PINMUX_IPSR_MODSEL_DATA(IP2_18_16, SSL, SEL_QSP_0),
899 PINMUX_IPSR_MODSEL_DATA(IP2_18_16, DREQ1_C, SEL_LBS_2),
900 PINMUX_IPSR_MODSEL_DATA(IP2_18_16, RX1, SEL_SCIF1_0),
901 PINMUX_IPSR_MODSEL_DATA(IP2_18_16, SCIFA1_RXD, SEL_SCIFA1_0),
902 PINMUX_IPSR_DATA(IP2_20_19, CS0_N),
903 PINMUX_IPSR_MODSEL_DATA(IP2_20_19, ATAG0_N_B, SEL_LBS_1),
904 PINMUX_IPSR_MODSEL_DATA(IP2_20_19, SCL1, SEL_IIC1_0),
905 PINMUX_IPSR_DATA(IP2_22_21, CS1_N_A26),
906 PINMUX_IPSR_MODSEL_DATA(IP2_22_21, ATADIR0_N_B, SEL_LBS_1),
907 PINMUX_IPSR_MODSEL_DATA(IP2_22_21, SDA1, SEL_IIC1_0),
908 PINMUX_IPSR_DATA(IP2_24_23, EX_CS1_N),
909 PINMUX_IPSR_MODSEL_DATA(IP2_24_23, MSIOF2_SCK, SEL_SOF2_0),
910 PINMUX_IPSR_DATA(IP2_26_25, EX_CS2_N),
911 PINMUX_IPSR_MODSEL_DATA(IP2_26_25, ATAWR0_N, SEL_LBS_0),
912 PINMUX_IPSR_MODSEL_DATA(IP2_26_25, MSIOF2_SYNC, SEL_SOF2_0),
913 PINMUX_IPSR_DATA(IP2_29_27, EX_CS3_N),
914 PINMUX_IPSR_MODSEL_DATA(IP2_29_27, ATADIR0_N, SEL_LBS_0),
915 PINMUX_IPSR_MODSEL_DATA(IP2_29_27, MSIOF2_TXD, SEL_SOF2_0),
916 PINMUX_IPSR_MODSEL_DATA(IP2_29_27, ATAG0_N, SEL_LBS_0),
917 PINMUX_IPSR_DATA(IP2_29_27, EX_WAIT1),
919 /* IPSR3 */
920 PINMUX_IPSR_DATA(IP3_2_0, EX_CS4_N),
921 PINMUX_IPSR_MODSEL_DATA(IP3_2_0, ATARD0_N, SEL_LBS_0),
922 PINMUX_IPSR_MODSEL_DATA(IP3_2_0, MSIOF2_RXD, SEL_SOF2_0),
923 PINMUX_IPSR_DATA(IP3_2_0, EX_WAIT2),
924 PINMUX_IPSR_DATA(IP3_5_3, EX_CS5_N),
925 PINMUX_IPSR_DATA(IP3_5_3, ATACS00_N),
926 PINMUX_IPSR_MODSEL_DATA(IP3_5_3, MSIOF2_SS1, SEL_SOF2_0),
927 PINMUX_IPSR_MODSEL_DATA(IP3_5_3, HRX1_B, SEL_HSCIF1_1),
928 PINMUX_IPSR_MODSEL_DATA(IP3_5_3, SCIFB1_RXD_B, SEL_SCIFB1_1),
929 PINMUX_IPSR_DATA(IP3_5_3, PWM1),
930 PINMUX_IPSR_DATA(IP3_5_3, TPU_TO1),
931 PINMUX_IPSR_DATA(IP3_8_6, BS_N),
932 PINMUX_IPSR_DATA(IP3_8_6, ATACS10_N),
933 PINMUX_IPSR_MODSEL_DATA(IP3_8_6, MSIOF2_SS2, SEL_SOF2_0),
934 PINMUX_IPSR_MODSEL_DATA(IP3_8_6, HTX1_B, SEL_HSCIF1_1),
935 PINMUX_IPSR_MODSEL_DATA(IP3_8_6, SCIFB1_TXD_B, SEL_SCIFB1_1),
936 PINMUX_IPSR_DATA(IP3_8_6, PWM2),
937 PINMUX_IPSR_DATA(IP3_8_6, TPU_TO2),
938 PINMUX_IPSR_DATA(IP3_11_9, RD_WR_N),
939 PINMUX_IPSR_MODSEL_DATA(IP3_11_9, HRX2_B, SEL_HSCIF2_1),
940 PINMUX_IPSR_MODSEL_DATA(IP3_11_9, FMIN_B, SEL_FM_1),
941 PINMUX_IPSR_MODSEL_DATA(IP3_11_9, SCIFB0_RXD_B, SEL_SCIFB_1),
942 PINMUX_IPSR_MODSEL_DATA(IP3_11_9, DREQ1_D, SEL_LBS_1),
943 PINMUX_IPSR_DATA(IP3_13_12, WE0_N),
944 PINMUX_IPSR_MODSEL_DATA(IP3_13_12, HCTS2_N_B, SEL_HSCIF2_1),
945 PINMUX_IPSR_MODSEL_DATA(IP3_13_12, SCIFB0_TXD_B, SEL_SCIFB_1),
946 PINMUX_IPSR_DATA(IP3_15_14, WE1_N),
947 PINMUX_IPSR_MODSEL_DATA(IP3_15_14, ATARD0_N_B, SEL_LBS_1),
948 PINMUX_IPSR_MODSEL_DATA(IP3_15_14, HTX2_B, SEL_HSCIF2_1),
949 PINMUX_IPSR_MODSEL_DATA(IP3_15_14, SCIFB0_RTS_N_B, SEL_SCIFB_1),
950 PINMUX_IPSR_DATA(IP3_17_16, EX_WAIT0),
951 PINMUX_IPSR_MODSEL_DATA(IP3_17_16, HRTS2_N_B, SEL_HSCIF2_1),
952 PINMUX_IPSR_MODSEL_DATA(IP3_17_16, SCIFB0_CTS_N_B, SEL_SCIFB_1),
953 PINMUX_IPSR_DATA(IP3_19_18, DREQ0),
954 PINMUX_IPSR_DATA(IP3_19_18, PWM3),
955 PINMUX_IPSR_DATA(IP3_19_18, TPU_TO3),
956 PINMUX_IPSR_DATA(IP3_21_20, DACK0),
957 PINMUX_IPSR_DATA(IP3_21_20, DRACK0),
958 PINMUX_IPSR_MODSEL_DATA(IP3_21_20, REMOCON, SEL_RCN_0),
959 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, SPEEDIN, SEL_RSP_0),
960 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, HSCK0_C, SEL_HSCIF0_2),
961 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, HSCK2_C, SEL_HSCIF2_2),
962 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, SCIFB0_SCK_B, SEL_SCIFB_1),
963 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, SCIFB2_SCK_B, SEL_SCIFB2_1),
964 PINMUX_IPSR_MODSEL_DATA(IP3_24_22, DREQ2_C, SEL_LBS_2),
965 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
966 PINMUX_IPSR_MODSEL_DATA(IP3_27_25, SSI_SCK0129, SEL_SSI0_0),
967 PINMUX_IPSR_MODSEL_DATA(IP3_27_25, HRX0_C, SEL_HSCIF0_2),
968 PINMUX_IPSR_MODSEL_DATA(IP3_27_25, HRX2_C, SEL_HSCIF2_2),
969 PINMUX_IPSR_MODSEL_DATA(IP3_27_25, SCIFB0_RXD_C, SEL_SCIFB_2),
970 PINMUX_IPSR_MODSEL_DATA(IP3_27_25, SCIFB2_RXD_C, SEL_SCIFB2_2),
971 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, SSI_WS0129, SEL_SSI0_0),
972 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, HTX0_C, SEL_HSCIF0_2),
973 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
974 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, SCIFB0_TXD_C, SEL_SCIFB_2),
975 PINMUX_IPSR_MODSEL_DATA(IP3_30_28, SCIFB2_TXD_C, SEL_SCIFB2_2),
977 /* IPSR4 */
978 PINMUX_IPSR_MODSEL_DATA(IP4_1_0, SSI_SDATA0, SEL_SSI0_0),
979 PINMUX_IPSR_MODSEL_DATA(IP4_1_0, SCL0_B, SEL_IIC0_1),
980 PINMUX_IPSR_MODSEL_DATA(IP4_1_0, SCL7_B, SEL_IIC7_1),
981 PINMUX_IPSR_MODSEL_DATA(IP4_1_0, MSIOF2_SCK_C, SEL_SOF2_2),
982 PINMUX_IPSR_MODSEL_DATA(IP4_4_2, SSI_SCK1, SEL_SSI1_0),
983 PINMUX_IPSR_MODSEL_DATA(IP4_4_2, SDA0_B, SEL_IIC0_1),
984 PINMUX_IPSR_MODSEL_DATA(IP4_4_2, SDA7_B, SEL_IIC7_1),
985 PINMUX_IPSR_MODSEL_DATA(IP4_4_2, MSIOF2_SYNC_C, SEL_SOF2_2),
986 PINMUX_IPSR_MODSEL_DATA(IP4_4_2, GLO_I0_D, SEL_GPS_3),
987 PINMUX_IPSR_MODSEL_DATA(IP4_7_5, SSI_WS1, SEL_SSI1_0),
988 PINMUX_IPSR_MODSEL_DATA(IP4_7_5, SCL1_B, SEL_IIC1_1),
989 PINMUX_IPSR_MODSEL_DATA(IP4_7_5, SCL8_B, SEL_IIC8_1),
990 PINMUX_IPSR_MODSEL_DATA(IP4_7_5, MSIOF2_TXD_C, SEL_SOF2_2),
991 PINMUX_IPSR_MODSEL_DATA(IP4_7_5, GLO_I1_D, SEL_GPS_3),
992 PINMUX_IPSR_MODSEL_DATA(IP4_9_8, SSI_SDATA1, SEL_SSI1_0),
993 PINMUX_IPSR_MODSEL_DATA(IP4_9_8, SDA1_B, SEL_IIC1_1),
994 PINMUX_IPSR_MODSEL_DATA(IP4_9_8, SDA8_B, SEL_IIC8_1),
995 PINMUX_IPSR_MODSEL_DATA(IP4_9_8, MSIOF2_RXD_C, SEL_SOF2_2),
996 PINMUX_IPSR_DATA(IP4_12_10, SSI_SCK2),
997 PINMUX_IPSR_MODSEL_DATA(IP4_12_10, SCL2, SEL_IIC2_0),
998 PINMUX_IPSR_MODSEL_DATA(IP4_12_10, GPS_CLK_B, SEL_GPS_1),
999 PINMUX_IPSR_MODSEL_DATA(IP4_12_10, GLO_Q0_D, SEL_GPS_3),
1000 PINMUX_IPSR_DATA(IP4_15_13, SSI_WS2),
1001 PINMUX_IPSR_MODSEL_DATA(IP4_15_13, SDA2, SEL_IIC2_0),
1002 PINMUX_IPSR_MODSEL_DATA(IP4_15_13, GPS_SIGN_B, SEL_GPS_1),
1003 PINMUX_IPSR_MODSEL_DATA(IP4_15_13, RX2_E, SEL_SCIF2_4),
1004 PINMUX_IPSR_MODSEL_DATA(IP4_15_13, GLO_Q1_D, SEL_GPS_3),
1005 PINMUX_IPSR_DATA(IP4_18_16, SSI_SDATA2),
1006 PINMUX_IPSR_MODSEL_DATA(IP4_18_16, GPS_MAG_B, SEL_GPS_1),
1007 PINMUX_IPSR_MODSEL_DATA(IP4_18_16, TX2_E, SEL_SCIF2_4),
1008 PINMUX_IPSR_DATA(IP4_19, SSI_SCK34),
1009 PINMUX_IPSR_DATA(IP4_20, SSI_WS34),
1010 PINMUX_IPSR_DATA(IP4_21, SSI_SDATA3),
1011 PINMUX_IPSR_DATA(IP4_23_22, SSI_SCK4),
1012 PINMUX_IPSR_MODSEL_DATA(IP4_23_22, GLO_SS_D, SEL_GPS_3),
1013 PINMUX_IPSR_DATA(IP4_25_24, SSI_WS4),
1014 PINMUX_IPSR_MODSEL_DATA(IP4_25_24, GLO_RFON_D, SEL_GPS_3),
1015 PINMUX_IPSR_DATA(IP4_27_26, SSI_SDATA4),
1016 PINMUX_IPSR_MODSEL_DATA(IP4_27_26, MSIOF2_SCK_D, SEL_SOF2_3),
1017 PINMUX_IPSR_DATA(IP4_30_28, SSI_SCK5),
1018 PINMUX_IPSR_MODSEL_DATA(IP4_30_28, MSIOF1_SCK_C, SEL_SOF1_2),
1019 PINMUX_IPSR_MODSEL_DATA(IP4_30_28, TS_SDATA0, SEL_TSIF0_0),
1020 PINMUX_IPSR_MODSEL_DATA(IP4_30_28, GLO_I0, SEL_GPS_0),
1021 PINMUX_IPSR_MODSEL_DATA(IP4_30_28, MSIOF2_SYNC_D, SEL_SOF2_3),
1022 PINMUX_IPSR_DATA(IP4_30_28, VI1_R2_B),
1024 /* IPSR5 */
1025 PINMUX_IPSR_DATA(IP5_2_0, SSI_WS5),
1026 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, MSIOF1_SYNC_C, SEL_SOF1_2),
1027 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, TS_SCK0, SEL_TSIF0_0),
1028 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, GLO_I1, SEL_GPS_0),
1029 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, MSIOF2_TXD_D, SEL_SOF2_3),
1030 PINMUX_IPSR_DATA(IP5_2_0, VI1_R3_B),
1031 PINMUX_IPSR_DATA(IP5_5_3, SSI_SDATA5),
1032 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, MSIOF1_TXD_C, SEL_SOF1_2),
1033 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, TS_SDEN0, SEL_TSIF0_0),
1034 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, GLO_Q0, SEL_GPS_0),
1035 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, MSIOF2_SS1_D, SEL_SOF2_3),
1036 PINMUX_IPSR_DATA(IP5_5_3, VI1_R4_B),
1037 PINMUX_IPSR_DATA(IP5_8_6, SSI_SCK6),
1038 PINMUX_IPSR_MODSEL_DATA(IP5_8_6, MSIOF1_RXD_C, SEL_SOF1_2),
1039 PINMUX_IPSR_MODSEL_DATA(IP5_8_6, TS_SPSYNC0, SEL_TSIF0_0),
1040 PINMUX_IPSR_MODSEL_DATA(IP5_8_6, GLO_Q1, SEL_GPS_0),
1041 PINMUX_IPSR_MODSEL_DATA(IP5_8_6, MSIOF2_RXD_D, SEL_SOF2_3),
1042 PINMUX_IPSR_DATA(IP5_8_6, VI1_R5_B),
1043 PINMUX_IPSR_DATA(IP5_11_9, SSI_WS6),
1044 PINMUX_IPSR_MODSEL_DATA(IP5_11_9, GLO_SCLK, SEL_GPS_0),
1045 PINMUX_IPSR_MODSEL_DATA(IP5_11_9, MSIOF2_SS2_D, SEL_SOF2_3),
1046 PINMUX_IPSR_DATA(IP5_11_9, VI1_R6_B),
1047 PINMUX_IPSR_DATA(IP5_14_12, SSI_SDATA6),
1048 PINMUX_IPSR_MODSEL_DATA(IP5_14_12, STP_IVCXO27_0_B, SEL_SSP_1),
1049 PINMUX_IPSR_MODSEL_DATA(IP5_14_12, GLO_SDATA, SEL_GPS_0),
1050 PINMUX_IPSR_DATA(IP5_14_12, VI1_R7_B),
1051 PINMUX_IPSR_MODSEL_DATA(IP5_16_15, SSI_SCK78, SEL_SSI7_0),
1052 PINMUX_IPSR_MODSEL_DATA(IP5_16_15, STP_ISCLK_0_B, SEL_SSP_1),
1053 PINMUX_IPSR_MODSEL_DATA(IP5_16_15, GLO_SS, SEL_GPS_0),
1054 PINMUX_IPSR_MODSEL_DATA(IP5_19_17, SSI_WS78, SEL_SSI7_0),
1055 PINMUX_IPSR_MODSEL_DATA(IP5_19_17, TX0_D, SEL_SCIF0_3),
1056 PINMUX_IPSR_MODSEL_DATA(IP5_19_17, STP_ISD_0_B, SEL_SSP_1),
1057 PINMUX_IPSR_MODSEL_DATA(IP5_19_17, GLO_RFON, SEL_GPS_0),
1058 PINMUX_IPSR_MODSEL_DATA(IP5_21_20, SSI_SDATA7, SEL_SSI7_0),
1059 PINMUX_IPSR_MODSEL_DATA(IP5_21_20, RX0_D, SEL_SCIF0_3),
1060 PINMUX_IPSR_MODSEL_DATA(IP5_21_20, STP_ISEN_0_B, SEL_SSP_1),
1061 PINMUX_IPSR_MODSEL_DATA(IP5_23_22, SSI_SDATA8, SEL_SSI8_0),
1062 PINMUX_IPSR_MODSEL_DATA(IP5_23_22, TX1_D, SEL_SCIF1_3),
1063 PINMUX_IPSR_MODSEL_DATA(IP5_23_22, STP_ISSYNC_0_B, SEL_SSP_1),
1064 PINMUX_IPSR_MODSEL_DATA(IP5_25_24, SSI_SCK9, SEL_SSI9_0),
1065 PINMUX_IPSR_MODSEL_DATA(IP5_25_24, RX1_D, SEL_SCIF1_3),
1066 PINMUX_IPSR_MODSEL_DATA(IP5_25_24, GLO_SCLK_D, SEL_GPS_3),
1067 PINMUX_IPSR_MODSEL_DATA(IP5_28_26, SSI_WS9, SEL_SSI9_0),
1068 PINMUX_IPSR_MODSEL_DATA(IP5_28_26, TX3_D, SEL_SCIF3_3),
1069 PINMUX_IPSR_MODSEL_DATA(IP5_28_26, CAN0_TX_D, SEL_CAN0_3),
1070 PINMUX_IPSR_MODSEL_DATA(IP5_28_26, GLO_SDATA_D, SEL_GPS_3),
1071 PINMUX_IPSR_MODSEL_DATA(IP5_31_29, SSI_SDATA9, SEL_SSI9_0),
1072 PINMUX_IPSR_MODSEL_DATA(IP5_31_29, RX3_D, SEL_SCIF3_3),
1073 PINMUX_IPSR_MODSEL_DATA(IP5_31_29, CAN0_RX_D, SEL_CAN0_3),
1075 /* IPSR6 */
1076 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, AUDIO_CLKB, SEL_ADG_0),
1077 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, STP_OPWM_0_B, SEL_SSP_1),
1078 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, MSIOF1_SCK_B, SEL_SOF1_1),
1079 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, SCIF_CLK, SEL_SCIF_0),
1080 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, BPFCLK_E, SEL_FM_4),
1081 PINMUX_IPSR_DATA(IP6_5_3, AUDIO_CLKC),
1082 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SCIFB0_SCK_C, SEL_SCIFB_2),
1083 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, MSIOF1_SYNC_B, SEL_SOF1_1),
1084 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, RX2, SEL_SCIF2_0),
1085 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SCIFA2_RXD, SEL_SCIFA2_0),
1086 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, FMIN_E, SEL_FM_4),
1087 PINMUX_IPSR_DATA(IP6_7_6, AUDIO_CLKOUT),
1088 PINMUX_IPSR_MODSEL_DATA(IP6_7_6, MSIOF1_SS1_B, SEL_SOF1_1),
1089 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, TX2, SEL_SCIF2_0),
1090 PINMUX_IPSR_MODSEL_DATA(IP6_7_6, SCIFA2_TXD, SEL_SCIFA2_0),
1091 PINMUX_IPSR_DATA(IP6_9_8, IRQ0),
1092 PINMUX_IPSR_MODSEL_DATA(IP6_9_8, SCIFB1_RXD_D, SEL_SCIFB1_3),
1093 PINMUX_IPSR_DATA(IP6_9_8, INTC_IRQ0_N),
1094 PINMUX_IPSR_DATA(IP6_11_10, IRQ1),
1095 PINMUX_IPSR_MODSEL_DATA(IP6_11_10, SCIFB1_SCK_C, SEL_SCIFB1_2),
1096 PINMUX_IPSR_DATA(IP6_11_10, INTC_IRQ1_N),
1097 PINMUX_IPSR_DATA(IP6_13_12, IRQ2),
1098 PINMUX_IPSR_MODSEL_DATA(IP6_13_12, SCIFB1_TXD_D, SEL_SCIFB1_3),
1099 PINMUX_IPSR_DATA(IP6_13_12, INTC_IRQ2_N),
1100 PINMUX_IPSR_DATA(IP6_15_14, IRQ3),
1101 PINMUX_IPSR_MODSEL_DATA(IP6_15_14, SCL4_C, SEL_IIC4_2),
1102 PINMUX_IPSR_MODSEL_DATA(IP6_15_14, MSIOF2_TXD_E, SEL_SOF2_4),
1103 PINMUX_IPSR_DATA(IP6_15_14, INTC_IRQ4_N),
1104 PINMUX_IPSR_DATA(IP6_18_16, IRQ4),
1105 PINMUX_IPSR_MODSEL_DATA(IP6_18_16, HRX1_C, SEL_HSCIF1_2),
1106 PINMUX_IPSR_MODSEL_DATA(IP6_18_16, SDA4_C, SEL_IIC4_2),
1107 PINMUX_IPSR_MODSEL_DATA(IP6_18_16, MSIOF2_RXD_E, SEL_SOF2_4),
1108 PINMUX_IPSR_DATA(IP6_18_16, INTC_IRQ4_N),
1109 PINMUX_IPSR_DATA(IP6_20_19, IRQ5),
1110 PINMUX_IPSR_MODSEL_DATA(IP6_20_19, HTX1_C, SEL_HSCIF1_2),
1111 PINMUX_IPSR_MODSEL_DATA(IP6_20_19, SCL1_E, SEL_IIC1_4),
1112 PINMUX_IPSR_MODSEL_DATA(IP6_20_19, MSIOF2_SCK_E, SEL_SOF2_4),
1113 PINMUX_IPSR_DATA(IP6_23_21, IRQ6),
1114 PINMUX_IPSR_MODSEL_DATA(IP6_23_21, HSCK1_C, SEL_HSCIF1_2),
1115 PINMUX_IPSR_MODSEL_DATA(IP6_23_21, MSIOF1_SS2_B, SEL_SOF1_1),
1116 PINMUX_IPSR_MODSEL_DATA(IP6_23_21, SDA1_E, SEL_IIC1_4),
1117 PINMUX_IPSR_MODSEL_DATA(IP6_23_21, MSIOF2_SYNC_E, SEL_SOF2_4),
1118 PINMUX_IPSR_DATA(IP6_26_24, IRQ7),
1119 PINMUX_IPSR_MODSEL_DATA(IP6_26_24, HCTS1_N_C, SEL_HSCIF1_2),
1120 PINMUX_IPSR_MODSEL_DATA(IP6_26_24, MSIOF1_TXD_B, SEL_SOF1_1),
1121 PINMUX_IPSR_MODSEL_DATA(IP6_26_24, GPS_CLK_C, SEL_GPS_2),
1122 PINMUX_IPSR_MODSEL_DATA(IP6_26_24, GPS_CLK_D, SEL_GPS_3),
1123 PINMUX_IPSR_DATA(IP6_29_27, IRQ8),
1124 PINMUX_IPSR_MODSEL_DATA(IP6_29_27, HRTS1_N_C, SEL_HSCIF1_2),
1125 PINMUX_IPSR_MODSEL_DATA(IP6_29_27, MSIOF1_RXD_B, SEL_SOF1_1),
1126 PINMUX_IPSR_MODSEL_DATA(IP6_29_27, GPS_SIGN_C, SEL_GPS_2),
1127 PINMUX_IPSR_MODSEL_DATA(IP6_29_27, GPS_SIGN_D, SEL_GPS_3),
1129 /* IPSR7 */
1130 PINMUX_IPSR_DATA(IP7_2_0, IRQ9),
1131 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, DU1_DOTCLKIN_B, SEL_DIS_1),
1132 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, CAN_CLK_D, SEL_CANCLK_3),
1133 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, GPS_MAG_C, SEL_GPS_2),
1134 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, SCIF_CLK_B, SEL_SCIF_1),
1135 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, GPS_MAG_D, SEL_GPS_3),
1136 PINMUX_IPSR_DATA(IP7_5_3, DU1_DR0),
1137 PINMUX_IPSR_DATA(IP7_5_3, LCDOUT0),
1138 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, VI1_DATA0_B, SEL_VI1_1),
1139 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, TX0_B, SEL_SCIF0_1),
1140 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, SCIFA0_TXD_B, SEL_SCFA_1),
1141 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, MSIOF2_SCK_B, SEL_SOF2_1),
1142 PINMUX_IPSR_DATA(IP7_8_6, DU1_DR1),
1143 PINMUX_IPSR_DATA(IP7_8_6, LCDOUT1),
1144 PINMUX_IPSR_MODSEL_DATA(IP7_8_6, VI1_DATA1_B, SEL_VI1_1),
1145 PINMUX_IPSR_MODSEL_DATA(IP7_8_6, RX0_B, SEL_SCIF0_1),
1146 PINMUX_IPSR_MODSEL_DATA(IP7_8_6, SCIFA0_RXD_B, SEL_SCFA_1),
1147 PINMUX_IPSR_MODSEL_DATA(IP7_8_6, MSIOF2_SYNC_B, SEL_SOF2_1),
1148 PINMUX_IPSR_DATA(IP7_10_9, DU1_DR2),
1149 PINMUX_IPSR_DATA(IP7_10_9, LCDOUT2),
1150 PINMUX_IPSR_MODSEL_DATA(IP7_10_9, SSI_SCK0129_B, SEL_SSI0_1),
1151 PINMUX_IPSR_DATA(IP7_12_11, DU1_DR3),
1152 PINMUX_IPSR_DATA(IP7_12_11, LCDOUT3),
1153 PINMUX_IPSR_MODSEL_DATA(IP7_12_11, SSI_WS0129_B, SEL_SSI0_1),
1154 PINMUX_IPSR_DATA(IP7_14_13, DU1_DR4),
1155 PINMUX_IPSR_DATA(IP7_14_13, LCDOUT4),
1156 PINMUX_IPSR_MODSEL_DATA(IP7_14_13, SSI_SDATA0_B, SEL_SSI0_1),
1157 PINMUX_IPSR_DATA(IP7_16_15, DU1_DR5),
1158 PINMUX_IPSR_DATA(IP7_16_15, LCDOUT5),
1159 PINMUX_IPSR_MODSEL_DATA(IP7_16_15, SSI_SCK1_B, SEL_SSI1_1),
1160 PINMUX_IPSR_DATA(IP7_18_17, DU1_DR6),
1161 PINMUX_IPSR_DATA(IP7_18_17, LCDOUT6),
1162 PINMUX_IPSR_MODSEL_DATA(IP7_18_17, SSI_WS1_B, SEL_SSI1_1),
1163 PINMUX_IPSR_DATA(IP7_20_19, DU1_DR7),
1164 PINMUX_IPSR_DATA(IP7_20_19, LCDOUT7),
1165 PINMUX_IPSR_MODSEL_DATA(IP7_20_19, SSI_SDATA1_B, SEL_SSI1_1),
1166 PINMUX_IPSR_DATA(IP7_23_21, DU1_DG0),
1167 PINMUX_IPSR_DATA(IP7_23_21, LCDOUT8),
1168 PINMUX_IPSR_MODSEL_DATA(IP7_23_21, VI1_DATA2_B, SEL_VI1_1),
1169 PINMUX_IPSR_MODSEL_DATA(IP7_23_21, TX1_B, SEL_SCIF1_1),
1170 PINMUX_IPSR_MODSEL_DATA(IP7_23_21, SCIFA1_TXD_B, SEL_SCIFA1_1),
1171 PINMUX_IPSR_MODSEL_DATA(IP7_23_21, MSIOF2_SS1_B, SEL_SOF2_1),
1172 PINMUX_IPSR_DATA(IP7_26_24, DU1_DG1),
1173 PINMUX_IPSR_DATA(IP7_26_24, LCDOUT9),
1174 PINMUX_IPSR_MODSEL_DATA(IP7_26_24, VI1_DATA3_B, SEL_VI1_1),
1175 PINMUX_IPSR_MODSEL_DATA(IP7_26_24, RX1_B, SEL_SCIF1_1),
1176 PINMUX_IPSR_MODSEL_DATA(IP7_26_24, SCIFA1_RXD_B, SEL_SCIFA1_1),
1177 PINMUX_IPSR_MODSEL_DATA(IP7_26_24, MSIOF2_SS2_B, SEL_SOF2_1),
1178 PINMUX_IPSR_DATA(IP7_29_27, DU1_DG2),
1179 PINMUX_IPSR_DATA(IP7_29_27, LCDOUT10),
1180 PINMUX_IPSR_MODSEL_DATA(IP7_29_27, VI1_DATA4_B, SEL_VI1_1),
1181 PINMUX_IPSR_DATA(IP7_29_27, SCIF1_SCK_B),
1182 PINMUX_IPSR_MODSEL_DATA(IP7_29_27, SCIFA1_SCK, SEL_SCIFA1_0),
1183 PINMUX_IPSR_MODSEL_DATA(IP7_29_27, SSI_SCK78_B, SEL_SSI7_1),
1185 /* IPSR8 */
1186 PINMUX_IPSR_DATA(IP8_2_0, DU1_DG3),
1187 PINMUX_IPSR_DATA(IP8_2_0, LCDOUT11),
1188 PINMUX_IPSR_MODSEL_DATA(IP8_2_0, VI1_DATA5_B, SEL_VI1_1),
1189 PINMUX_IPSR_MODSEL_DATA(IP8_2_0, SSI_WS78_B, SEL_SSI7_1),
1190 PINMUX_IPSR_DATA(IP8_5_3, DU1_DG4),
1191 PINMUX_IPSR_DATA(IP8_5_3, LCDOUT12),
1192 PINMUX_IPSR_MODSEL_DATA(IP8_5_3, VI1_DATA6_B, SEL_VI1_1),
1193 PINMUX_IPSR_MODSEL_DATA(IP8_5_3, HRX0_B, SEL_HSCIF0_1),
1194 PINMUX_IPSR_MODSEL_DATA(IP8_5_3, SCIFB2_RXD_B, SEL_SCIFB2_1),
1195 PINMUX_IPSR_MODSEL_DATA(IP8_5_3, SSI_SDATA7_B, SEL_SSI7_1),
1196 PINMUX_IPSR_DATA(IP8_8_6, DU1_DG5),
1197 PINMUX_IPSR_DATA(IP8_8_6, LCDOUT13),
1198 PINMUX_IPSR_MODSEL_DATA(IP8_8_6, VI1_DATA7_B, SEL_VI1_1),
1199 PINMUX_IPSR_MODSEL_DATA(IP8_8_6, HCTS0_N_B, SEL_HSCIF0_1),
1200 PINMUX_IPSR_MODSEL_DATA(IP8_8_6, SCIFB2_TXD_B, SEL_SCIFB2_1),
1201 PINMUX_IPSR_MODSEL_DATA(IP8_8_6, SSI_SDATA8_B, SEL_SSI8_1),
1202 PINMUX_IPSR_DATA(IP8_11_9, DU1_DG6),
1203 PINMUX_IPSR_DATA(IP8_11_9, LCDOUT14),
1204 PINMUX_IPSR_MODSEL_DATA(IP8_11_9, HRTS0_N_B, SEL_HSCIF0_1),
1205 PINMUX_IPSR_MODSEL_DATA(IP8_11_9, SCIFB2_CTS_N_B, SEL_SCIFB2_1),
1206 PINMUX_IPSR_MODSEL_DATA(IP8_11_9, SSI_SCK9_B, SEL_SSI9_1),
1207 PINMUX_IPSR_DATA(IP8_14_12, DU1_DG7),
1208 PINMUX_IPSR_DATA(IP8_14_12, LCDOUT15),
1209 PINMUX_IPSR_MODSEL_DATA(IP8_14_12, HTX0_B, SEL_HSCIF0_1),
1210 PINMUX_IPSR_MODSEL_DATA(IP8_14_12, SCIFB2_RTS_N_B, SEL_SCIFB2_1),
1211 PINMUX_IPSR_MODSEL_DATA(IP8_14_12, SSI_WS9_B, SEL_SSI9_1),
1212 PINMUX_IPSR_DATA(IP8_17_15, DU1_DB0),
1213 PINMUX_IPSR_DATA(IP8_17_15, LCDOUT16),
1214 PINMUX_IPSR_MODSEL_DATA(IP8_17_15, VI1_CLK_B, SEL_VI1_1),
1215 PINMUX_IPSR_MODSEL_DATA(IP8_17_15, TX2_B, SEL_SCIF2_1),
1216 PINMUX_IPSR_MODSEL_DATA(IP8_17_15, SCIFA2_TXD_B, SEL_SCIFA2_1),
1217 PINMUX_IPSR_MODSEL_DATA(IP8_17_15, MSIOF2_TXD_B, SEL_SOF2_1),
1218 PINMUX_IPSR_DATA(IP8_20_18, DU1_DB1),
1219 PINMUX_IPSR_DATA(IP8_20_18, LCDOUT17),
1220 PINMUX_IPSR_MODSEL_DATA(IP8_20_18, VI1_HSYNC_N_B, SEL_VI1_1),
1221 PINMUX_IPSR_MODSEL_DATA(IP8_20_18, RX2_B, SEL_SCIF2_1),
1222 PINMUX_IPSR_MODSEL_DATA(IP8_20_18, SCIFA2_RXD_B, SEL_SCIFA2_1),
1223 PINMUX_IPSR_MODSEL_DATA(IP8_20_18, MSIOF2_RXD_B, SEL_SOF2_1),
1224 PINMUX_IPSR_DATA(IP8_23_21, DU1_DB2),
1225 PINMUX_IPSR_DATA(IP8_23_21, LCDOUT18),
1226 PINMUX_IPSR_MODSEL_DATA(IP8_23_21, VI1_VSYNC_N_B, SEL_VI1_1),
1227 PINMUX_IPSR_DATA(IP8_23_21, SCIF2_SCK_B),
1228 PINMUX_IPSR_MODSEL_DATA(IP8_23_21, SCIFA2_SCK, SEL_SCIFA2_1),
1229 PINMUX_IPSR_MODSEL_DATA(IP8_23_21, SSI_SDATA9_B, SEL_SSI9_1),
1230 PINMUX_IPSR_DATA(IP8_25_24, DU1_DB3),
1231 PINMUX_IPSR_DATA(IP8_25_24, LCDOUT19),
1232 PINMUX_IPSR_MODSEL_DATA(IP8_25_24, VI1_CLKENB_B, SEL_VI1_1),
1233 PINMUX_IPSR_DATA(IP8_27_26, DU1_DB4),
1234 PINMUX_IPSR_DATA(IP8_27_26, LCDOUT20),
1235 PINMUX_IPSR_MODSEL_DATA(IP8_27_26, VI1_FIELD_B, SEL_VI1_1),
1236 PINMUX_IPSR_MODSEL_DATA(IP8_27_26, CAN1_RX, SEL_CAN1_0),
1237 PINMUX_IPSR_DATA(IP8_30_28, DU1_DB5),
1238 PINMUX_IPSR_DATA(IP8_30_28, LCDOUT21),
1239 PINMUX_IPSR_MODSEL_DATA(IP8_30_28, TX3, SEL_SCIF3_0),
1240 PINMUX_IPSR_MODSEL_DATA(IP8_30_28, SCIFA3_TXD, SEL_SCIFA3_0),
1241 PINMUX_IPSR_MODSEL_DATA(IP8_30_28, CAN1_TX, SEL_CAN1_0),
1243 /* IPSR9 */
1244 PINMUX_IPSR_DATA(IP9_2_0, DU1_DB6),
1245 PINMUX_IPSR_DATA(IP9_2_0, LCDOUT22),
1246 PINMUX_IPSR_MODSEL_DATA(IP9_2_0, SCL3_C, SEL_IIC3_2),
1247 PINMUX_IPSR_MODSEL_DATA(IP9_2_0, RX3, SEL_SCIF3_0),
1248 PINMUX_IPSR_MODSEL_DATA(IP9_2_0, SCIFA3_RXD, SEL_SCIFA3_0),
1249 PINMUX_IPSR_DATA(IP9_5_3, DU1_DB7),
1250 PINMUX_IPSR_DATA(IP9_5_3, LCDOUT23),
1251 PINMUX_IPSR_MODSEL_DATA(IP9_5_3, SDA3_C, SEL_IIC3_2),
1252 PINMUX_IPSR_MODSEL_DATA(IP9_5_3, SCIF3_SCK, SEL_SCIF3_0),
1253 PINMUX_IPSR_MODSEL_DATA(IP9_5_3, SCIFA3_SCK, SEL_SCIFA3_0),
1254 PINMUX_IPSR_MODSEL_DATA(IP9_6, DU1_DOTCLKIN, SEL_DIS_0),
1255 PINMUX_IPSR_DATA(IP9_6, QSTVA_QVS),
1256 PINMUX_IPSR_DATA(IP9_7, DU1_DOTCLKOUT0),
1257 PINMUX_IPSR_DATA(IP9_7, QCLK),
1258 PINMUX_IPSR_DATA(IP9_10_8, DU1_DOTCLKOUT1),
1259 PINMUX_IPSR_DATA(IP9_10_8, QSTVB_QVE),
1260 PINMUX_IPSR_MODSEL_DATA(IP9_10_8, CAN0_TX, SEL_CAN0_0),
1261 PINMUX_IPSR_MODSEL_DATA(IP9_10_8, TX3_B, SEL_SCIF3_1),
1262 PINMUX_IPSR_MODSEL_DATA(IP9_10_8, SCL2_B, SEL_IIC2_1),
1263 PINMUX_IPSR_DATA(IP9_10_8, PWM4),
1264 PINMUX_IPSR_DATA(IP9_11, DU1_EXHSYNC_DU1_HSYNC),
1265 PINMUX_IPSR_DATA(IP9_11, QSTH_QHS),
1266 PINMUX_IPSR_DATA(IP9_12, DU1_EXVSYNC_DU1_VSYNC),
1267 PINMUX_IPSR_DATA(IP9_12, QSTB_QHE),
1268 PINMUX_IPSR_DATA(IP9_15_13, DU1_EXODDF_DU1_ODDF_DISP_CDE),
1269 PINMUX_IPSR_DATA(IP9_15_13, QCPV_QDE),
1270 PINMUX_IPSR_MODSEL_DATA(IP9_15_13, CAN0_RX, SEL_CAN0_0),
1271 PINMUX_IPSR_MODSEL_DATA(IP9_15_13, RX3_B, SEL_SCIF3_1),
1272 PINMUX_IPSR_MODSEL_DATA(IP9_15_13, SDA2_B, SEL_IIC2_1),
1273 PINMUX_IPSR_DATA(IP9_16, DU1_DISP),
1274 PINMUX_IPSR_DATA(IP9_16, QPOLA),
1275 PINMUX_IPSR_DATA(IP9_18_17, DU1_CDE),
1276 PINMUX_IPSR_DATA(IP9_18_17, QPOLB),
1277 PINMUX_IPSR_DATA(IP9_18_17, PWM4_B),
1278 PINMUX_IPSR_DATA(IP9_20_19, VI0_CLKENB),
1279 PINMUX_IPSR_MODSEL_DATA(IP9_20_19, TX4, SEL_SCIF4_0),
1280 PINMUX_IPSR_MODSEL_DATA(IP9_20_19, SCIFA4_TXD, SEL_SCIFA4_0),
1281 PINMUX_IPSR_MODSEL_DATA(IP9_20_19, TS_SDATA0_D, SEL_TSIF0_3),
1282 PINMUX_IPSR_DATA(IP9_22_21, VI0_FIELD),
1283 PINMUX_IPSR_MODSEL_DATA(IP9_22_21, RX4, SEL_SCIF4_0),
1284 PINMUX_IPSR_MODSEL_DATA(IP9_22_21, SCIFA4_RXD, SEL_SCIFA4_0),
1285 PINMUX_IPSR_MODSEL_DATA(IP9_22_21, TS_SCK0_D, SEL_TSIF0_3),
1286 PINMUX_IPSR_DATA(IP9_24_23, VI0_HSYNC_N),
1287 PINMUX_IPSR_MODSEL_DATA(IP9_24_23, TX5, SEL_SCIF5_0),
1288 PINMUX_IPSR_MODSEL_DATA(IP9_24_23, SCIFA5_TXD, SEL_SCIFA5_0),
1289 PINMUX_IPSR_MODSEL_DATA(IP9_24_23, TS_SDEN0_D, SEL_TSIF0_3),
1290 PINMUX_IPSR_DATA(IP9_26_25, VI0_VSYNC_N),
1291 PINMUX_IPSR_MODSEL_DATA(IP9_26_25, RX5, SEL_SCIF5_0),
1292 PINMUX_IPSR_MODSEL_DATA(IP9_26_25, SCIFA5_RXD, SEL_SCIFA5_0),
1293 PINMUX_IPSR_MODSEL_DATA(IP9_26_25, TS_SPSYNC0_D, SEL_TSIF0_3),
1294 PINMUX_IPSR_DATA(IP9_28_27, VI0_DATA3_VI0_B3),
1295 PINMUX_IPSR_MODSEL_DATA(IP9_28_27, SCIF3_SCK_B, SEL_SCIF3_1),
1296 PINMUX_IPSR_MODSEL_DATA(IP9_28_27, SCIFA3_SCK_B, SEL_SCIFA3_1),
1297 PINMUX_IPSR_DATA(IP9_31_29, VI0_G0),
1298 PINMUX_IPSR_MODSEL_DATA(IP9_31_29, SCL8, SEL_IIC8_0),
1299 PINMUX_IPSR_MODSEL_DATA(IP9_31_29, STP_IVCXO27_0_C, SEL_SSP_2),
1300 PINMUX_IPSR_MODSEL_DATA(IP9_31_29, SCL4, SEL_IIC4_0),
1301 PINMUX_IPSR_MODSEL_DATA(IP9_31_29, HCTS2_N, SEL_HSCIF2_0),
1302 PINMUX_IPSR_MODSEL_DATA(IP9_31_29, SCIFB2_CTS_N, SEL_SCIFB2_0),
1303 PINMUX_IPSR_DATA(IP9_31_29, ATAWR1_N),
1305 /* IPSR10 */
1306 PINMUX_IPSR_DATA(IP10_2_0, VI0_G1),
1307 PINMUX_IPSR_MODSEL_DATA(IP10_2_0, SDA8, SEL_IIC8_0),
1308 PINMUX_IPSR_MODSEL_DATA(IP10_2_0, STP_ISCLK_0_C, SEL_SSP_2),
1309 PINMUX_IPSR_MODSEL_DATA(IP10_2_0, SDA4, SEL_IIC4_0),
1310 PINMUX_IPSR_MODSEL_DATA(IP10_2_0, HRTS2_N, SEL_HSCIF2_0),
1311 PINMUX_IPSR_MODSEL_DATA(IP10_2_0, SCIFB2_RTS_N, SEL_SCIFB2_0),
1312 PINMUX_IPSR_DATA(IP10_2_0, ATADIR1_N),
1313 PINMUX_IPSR_DATA(IP10_5_3, VI0_G2),
1314 PINMUX_IPSR_DATA(IP10_5_3, VI2_HSYNC_N),
1315 PINMUX_IPSR_MODSEL_DATA(IP10_5_3, STP_ISD_0_C, SEL_SSP_2),
1316 PINMUX_IPSR_MODSEL_DATA(IP10_5_3, SCL3_B, SEL_IIC3_1),
1317 PINMUX_IPSR_MODSEL_DATA(IP10_5_3, HSCK2, SEL_HSCIF2_0),
1318 PINMUX_IPSR_MODSEL_DATA(IP10_5_3, SCIFB2_SCK, SEL_SCIFB2_0),
1319 PINMUX_IPSR_DATA(IP10_5_3, ATARD1_N),
1320 PINMUX_IPSR_DATA(IP10_8_6, VI0_G3),
1321 PINMUX_IPSR_DATA(IP10_8_6, VI2_VSYNC_N),
1322 PINMUX_IPSR_MODSEL_DATA(IP10_8_6, STP_ISEN_0_C, SEL_SSP_2),
1323 PINMUX_IPSR_MODSEL_DATA(IP10_8_6, SDA3_B, SEL_IIC3_1),
1324 PINMUX_IPSR_MODSEL_DATA(IP10_8_6, HRX2, SEL_HSCIF2_0),
1325 PINMUX_IPSR_MODSEL_DATA(IP10_8_6, SCIFB2_RXD, SEL_SCIFB2_0),
1326 PINMUX_IPSR_DATA(IP10_8_6, ATACS01_N),
1327 PINMUX_IPSR_DATA(IP10_11_9, VI0_G4),
1328 PINMUX_IPSR_DATA(IP10_11_9, VI2_CLKENB),
1329 PINMUX_IPSR_MODSEL_DATA(IP10_11_9, STP_ISSYNC_0_C, SEL_SSP_2),
1330 PINMUX_IPSR_MODSEL_DATA(IP10_11_9, HTX2, SEL_HSCIF2_0),
1331 PINMUX_IPSR_MODSEL_DATA(IP10_11_9, SCIFB2_TXD, SEL_SCIFB2_0),
1332 PINMUX_IPSR_MODSEL_DATA(IP10_11_9, SCIFB0_SCK_D, SEL_SCIFB_3),
1333 PINMUX_IPSR_DATA(IP10_14_12, VI0_G5),
1334 PINMUX_IPSR_DATA(IP10_14_12, VI2_FIELD),
1335 PINMUX_IPSR_MODSEL_DATA(IP10_14_12, STP_OPWM_0_C, SEL_SSP_2),
1336 PINMUX_IPSR_MODSEL_DATA(IP10_14_12, FMCLK_D, SEL_FM_3),
1337 PINMUX_IPSR_MODSEL_DATA(IP10_14_12, CAN0_TX_E, SEL_CAN0_4),
1338 PINMUX_IPSR_MODSEL_DATA(IP10_14_12, HTX1_D, SEL_HSCIF1_3),
1339 PINMUX_IPSR_MODSEL_DATA(IP10_14_12, SCIFB0_TXD_D, SEL_SCIFB_3),
1340 PINMUX_IPSR_DATA(IP10_16_15, VI0_G6),
1341 PINMUX_IPSR_DATA(IP10_16_15, VI2_CLK),
1342 PINMUX_IPSR_MODSEL_DATA(IP10_16_15, BPFCLK_D, SEL_FM_3),
1343 PINMUX_IPSR_DATA(IP10_18_17, VI0_G7),
1344 PINMUX_IPSR_DATA(IP10_18_17, VI2_DATA0),
1345 PINMUX_IPSR_MODSEL_DATA(IP10_18_17, FMIN_D, SEL_FM_3),
1346 PINMUX_IPSR_DATA(IP10_21_19, VI0_R0),
1347 PINMUX_IPSR_DATA(IP10_21_19, VI2_DATA1),
1348 PINMUX_IPSR_MODSEL_DATA(IP10_21_19, GLO_I0_B, SEL_GPS_1),
1349 PINMUX_IPSR_MODSEL_DATA(IP10_21_19, TS_SDATA0_C, SEL_TSIF0_2),
1350 PINMUX_IPSR_DATA(IP10_21_19, ATACS11_N),
1351 PINMUX_IPSR_DATA(IP10_24_22, VI0_R1),
1352 PINMUX_IPSR_DATA(IP10_24_22, VI2_DATA2),
1353 PINMUX_IPSR_MODSEL_DATA(IP10_24_22, GLO_I1_B, SEL_GPS_1),
1354 PINMUX_IPSR_MODSEL_DATA(IP10_24_22, TS_SCK0_C, SEL_TSIF0_2),
1355 PINMUX_IPSR_DATA(IP10_24_22, ATAG1_N),
1356 PINMUX_IPSR_DATA(IP10_26_25, VI0_R2),
1357 PINMUX_IPSR_DATA(IP10_26_25, VI2_DATA3),
1358 PINMUX_IPSR_MODSEL_DATA(IP10_26_25, GLO_Q0_B, SEL_GPS_1),
1359 PINMUX_IPSR_MODSEL_DATA(IP10_26_25, TS_SDEN0_C, SEL_TSIF0_2),
1360 PINMUX_IPSR_DATA(IP10_28_27, VI0_R3),
1361 PINMUX_IPSR_DATA(IP10_28_27, VI2_DATA4),
1362 PINMUX_IPSR_MODSEL_DATA(IP10_28_27, GLO_Q1_B, SEL_GPS_1),
1363 PINMUX_IPSR_MODSEL_DATA(IP10_28_27, TS_SPSYNC0_C, SEL_TSIF0_2),
1364 PINMUX_IPSR_DATA(IP10_31_29, VI0_R4),
1365 PINMUX_IPSR_DATA(IP10_31_29, VI2_DATA5),
1366 PINMUX_IPSR_MODSEL_DATA(IP10_31_29, GLO_SCLK_B, SEL_GPS_1),
1367 PINMUX_IPSR_MODSEL_DATA(IP10_31_29, TX0_C, SEL_SCIF0_2),
1368 PINMUX_IPSR_MODSEL_DATA(IP10_31_29, SCL1_D, SEL_IIC1_3),
1370 /* IPSR11 */
1371 PINMUX_IPSR_DATA(IP11_2_0, VI0_R5),
1372 PINMUX_IPSR_DATA(IP11_2_0, VI2_DATA6),
1373 PINMUX_IPSR_MODSEL_DATA(IP11_2_0, GLO_SDATA_B, SEL_GPS_1),
1374 PINMUX_IPSR_MODSEL_DATA(IP11_2_0, RX0_C, SEL_SCIF0_2),
1375 PINMUX_IPSR_MODSEL_DATA(IP11_2_0, SDA1_D, SEL_IIC1_3),
1376 PINMUX_IPSR_DATA(IP11_5_3, VI0_R6),
1377 PINMUX_IPSR_DATA(IP11_5_3, VI2_DATA7),
1378 PINMUX_IPSR_MODSEL_DATA(IP11_5_3, GLO_SS_B, SEL_GPS_1),
1379 PINMUX_IPSR_MODSEL_DATA(IP11_5_3, TX1_C, SEL_SCIF1_2),
1380 PINMUX_IPSR_MODSEL_DATA(IP11_5_3, SCL4_B, SEL_IIC4_1),
1381 PINMUX_IPSR_DATA(IP11_8_6, VI0_R7),
1382 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, GLO_RFON_B, SEL_GPS_1),
1383 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, RX1_C, SEL_SCIF1_2),
1384 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, CAN0_RX_E, SEL_CAN0_4),
1385 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, SDA4_B, SEL_IIC4_1),
1386 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, HRX1_D, SEL_HSCIF1_3),
1387 PINMUX_IPSR_MODSEL_DATA(IP11_8_6, SCIFB0_RXD_D, SEL_SCIFB_3),
1388 PINMUX_IPSR_MODSEL_DATA(IP11_11_9, VI1_HSYNC_N, SEL_VI1_0),
1389 PINMUX_IPSR_DATA(IP11_11_9, AVB_RXD0),
1390 PINMUX_IPSR_MODSEL_DATA(IP11_11_9, TS_SDATA0_B, SEL_TSIF0_1),
1391 PINMUX_IPSR_MODSEL_DATA(IP11_11_9, TX4_B, SEL_SCIF4_1),
1392 PINMUX_IPSR_MODSEL_DATA(IP11_11_9, SCIFA4_TXD_B, SEL_SCIFA4_1),
1393 PINMUX_IPSR_MODSEL_DATA(IP11_14_12, VI1_VSYNC_N, SEL_VI1_0),
1394 PINMUX_IPSR_DATA(IP11_14_12, AVB_RXD1),
1395 PINMUX_IPSR_MODSEL_DATA(IP11_14_12, TS_SCK0_B, SEL_TSIF0_1),
1396 PINMUX_IPSR_MODSEL_DATA(IP11_14_12, RX4_B, SEL_SCIF4_1),
1397 PINMUX_IPSR_MODSEL_DATA(IP11_14_12, SCIFA4_RXD_B, SEL_SCIFA4_1),
1398 PINMUX_IPSR_MODSEL_DATA(IP11_16_15, VI1_CLKENB, SEL_VI1_0),
1399 PINMUX_IPSR_DATA(IP11_16_15, AVB_RXD2),
1400 PINMUX_IPSR_MODSEL_DATA(IP11_16_15, TS_SDEN0_B, SEL_TSIF0_1),
1401 PINMUX_IPSR_MODSEL_DATA(IP11_18_17, VI1_FIELD, SEL_VI1_0),
1402 PINMUX_IPSR_DATA(IP11_18_17, AVB_RXD3),
1403 PINMUX_IPSR_MODSEL_DATA(IP11_18_17, TS_SPSYNC0_B, SEL_TSIF0_1),
1404 PINMUX_IPSR_MODSEL_DATA(IP11_19, VI1_CLK, SEL_VI1_0),
1405 PINMUX_IPSR_DATA(IP11_19, AVB_RXD4),
1406 PINMUX_IPSR_MODSEL_DATA(IP11_20, VI1_DATA0, SEL_VI1_0),
1407 PINMUX_IPSR_DATA(IP11_20, AVB_RXD5),
1408 PINMUX_IPSR_MODSEL_DATA(IP11_21, VI1_DATA1, SEL_VI1_0),
1409 PINMUX_IPSR_DATA(IP11_21, AVB_RXD6),
1410 PINMUX_IPSR_MODSEL_DATA(IP11_22, VI1_DATA2, SEL_VI1_0),
1411 PINMUX_IPSR_DATA(IP11_22, AVB_RXD7),
1412 PINMUX_IPSR_MODSEL_DATA(IP11_23, VI1_DATA3, SEL_VI1_0),
1413 PINMUX_IPSR_DATA(IP11_23, AVB_RX_ER),
1414 PINMUX_IPSR_MODSEL_DATA(IP11_24, VI1_DATA4, SEL_VI1_0),
1415 PINMUX_IPSR_DATA(IP11_24, AVB_MDIO),
1416 PINMUX_IPSR_MODSEL_DATA(IP11_25, VI1_DATA5, SEL_VI1_0),
1417 PINMUX_IPSR_DATA(IP11_25, AVB_RX_DV),
1418 PINMUX_IPSR_MODSEL_DATA(IP11_26, VI1_DATA6, SEL_VI1_0),
1419 PINMUX_IPSR_DATA(IP11_26, AVB_MAGIC),
1420 PINMUX_IPSR_MODSEL_DATA(IP11_27, VI1_DATA7, SEL_VI1_0),
1421 PINMUX_IPSR_DATA(IP11_27, AVB_MDC),
1422 PINMUX_IPSR_DATA(IP11_29_28, ETH_MDIO),
1423 PINMUX_IPSR_DATA(IP11_29_28, AVB_RX_CLK),
1424 PINMUX_IPSR_MODSEL_DATA(IP11_29_28, SCL2_C, SEL_IIC2_2),
1425 PINMUX_IPSR_DATA(IP11_31_30, ETH_CRS_DV),
1426 PINMUX_IPSR_DATA(IP11_31_30, AVB_LINK),
1427 PINMUX_IPSR_MODSEL_DATA(IP11_31_30, SDA2_C, SEL_IIC2_2),
1429 /* IPSR12 */
1430 PINMUX_IPSR_DATA(IP12_1_0, ETH_RX_ER),
1431 PINMUX_IPSR_DATA(IP12_1_0, AVB_CRS),
1432 PINMUX_IPSR_MODSEL_DATA(IP12_1_0, SCL3, SEL_IIC3_0),
1433 PINMUX_IPSR_MODSEL_DATA(IP12_1_0, SCL7, SEL_IIC7_0),
1434 PINMUX_IPSR_DATA(IP12_3_2, ETH_RXD0),
1435 PINMUX_IPSR_DATA(IP12_3_2, AVB_PHY_INT),
1436 PINMUX_IPSR_MODSEL_DATA(IP12_3_2, SDA3, SEL_IIC3_0),
1437 PINMUX_IPSR_MODSEL_DATA(IP12_3_2, SDA7, SEL_IIC7_0),
1438 PINMUX_IPSR_DATA(IP12_6_4, ETH_RXD1),
1439 PINMUX_IPSR_DATA(IP12_6_4, AVB_GTXREFCLK),
1440 PINMUX_IPSR_MODSEL_DATA(IP12_6_4, CAN0_TX_C, SEL_CAN0_2),
1441 PINMUX_IPSR_MODSEL_DATA(IP12_6_4, SCL2_D, SEL_IIC2_3),
1442 PINMUX_IPSR_MODSEL_DATA(IP12_6_4, MSIOF1_RXD_E, SEL_SOF1_4),
1443 PINMUX_IPSR_DATA(IP12_9_7, ETH_LINK),
1444 PINMUX_IPSR_DATA(IP12_9_7, AVB_TXD0),
1445 PINMUX_IPSR_MODSEL_DATA(IP12_9_7, CAN0_RX_C, SEL_CAN0_2),
1446 PINMUX_IPSR_MODSEL_DATA(IP12_9_7, SDA2_D, SEL_IIC2_3),
1447 PINMUX_IPSR_MODSEL_DATA(IP12_9_7, MSIOF1_SCK_E, SEL_SOF1_4),
1448 PINMUX_IPSR_DATA(IP12_12_10, ETH_REFCLK),
1449 PINMUX_IPSR_DATA(IP12_12_10, AVB_TXD1),
1450 PINMUX_IPSR_MODSEL_DATA(IP12_12_10, SCIFA3_RXD_B, SEL_SCIFA3_1),
1451 PINMUX_IPSR_MODSEL_DATA(IP12_12_10, CAN1_RX_C, SEL_CAN1_2),
1452 PINMUX_IPSR_MODSEL_DATA(IP12_12_10, MSIOF1_SYNC_E, SEL_SOF1_4),
1453 PINMUX_IPSR_DATA(IP12_15_13, ETH_TXD1),
1454 PINMUX_IPSR_DATA(IP12_15_13, AVB_TXD2),
1455 PINMUX_IPSR_MODSEL_DATA(IP12_15_13, SCIFA3_TXD_B, SEL_SCIFA3_1),
1456 PINMUX_IPSR_MODSEL_DATA(IP12_15_13, CAN1_TX_C, SEL_CAN1_2),
1457 PINMUX_IPSR_MODSEL_DATA(IP12_15_13, MSIOF1_TXD_E, SEL_SOF1_4),
1458 PINMUX_IPSR_DATA(IP12_17_16, ETH_TX_EN),
1459 PINMUX_IPSR_DATA(IP12_17_16, AVB_TXD3),
1460 PINMUX_IPSR_MODSEL_DATA(IP12_17_16, TCLK1_B, SEL_TMU1_0),
1461 PINMUX_IPSR_MODSEL_DATA(IP12_17_16, CAN_CLK_B, SEL_CANCLK_1),
1462 PINMUX_IPSR_DATA(IP12_19_18, ETH_MAGIC),
1463 PINMUX_IPSR_DATA(IP12_19_18, AVB_TXD4),
1464 PINMUX_IPSR_MODSEL_DATA(IP12_19_18, IETX_C, SEL_IEB_2),
1465 PINMUX_IPSR_DATA(IP12_21_20, ETH_TXD0),
1466 PINMUX_IPSR_DATA(IP12_21_20, AVB_TXD5),
1467 PINMUX_IPSR_MODSEL_DATA(IP12_21_20, IECLK_C, SEL_IEB_2),
1468 PINMUX_IPSR_DATA(IP12_23_22, ETH_MDC),
1469 PINMUX_IPSR_DATA(IP12_23_22, AVB_TXD6),
1470 PINMUX_IPSR_MODSEL_DATA(IP12_23_22, IERX_C, SEL_IEB_2),
1471 PINMUX_IPSR_MODSEL_DATA(IP12_26_24, STP_IVCXO27_0, SEL_SSP_0),
1472 PINMUX_IPSR_DATA(IP12_26_24, AVB_TXD7),
1473 PINMUX_IPSR_MODSEL_DATA(IP12_26_24, SCIFB2_TXD_D, SEL_SCIFB2_3),
1474 PINMUX_IPSR_MODSEL_DATA(IP12_26_24, ADIDATA_B, SEL_RAD_1),
1475 PINMUX_IPSR_MODSEL_DATA(IP12_26_24, MSIOF0_SYNC_C, SEL_SOF0_2),
1476 PINMUX_IPSR_MODSEL_DATA(IP12_29_27, STP_ISCLK_0, SEL_SSP_0),
1477 PINMUX_IPSR_DATA(IP12_29_27, AVB_TX_EN),
1478 PINMUX_IPSR_MODSEL_DATA(IP12_29_27, SCIFB2_RXD_D, SEL_SCIFB2_3),
1479 PINMUX_IPSR_MODSEL_DATA(IP12_29_27, ADICS_SAMP_B, SEL_RAD_1),
1480 PINMUX_IPSR_MODSEL_DATA(IP12_29_27, MSIOF0_SCK_C, SEL_SOF0_2),
1482 /* IPSR13 */
1483 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, STP_ISD_0, SEL_SSP_0),
1484 PINMUX_IPSR_DATA(IP13_2_0, AVB_TX_ER),
1485 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, SCIFB2_SCK_C, SEL_SCIFB2_2),
1486 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, ADICLK_B, SEL_RAD_1),
1487 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, MSIOF0_SS1_C, SEL_SOF0_2),
1488 PINMUX_IPSR_MODSEL_DATA(IP13_4_3, STP_ISEN_0, SEL_SSP_0),
1489 PINMUX_IPSR_DATA(IP13_4_3, AVB_TX_CLK),
1490 PINMUX_IPSR_MODSEL_DATA(IP13_4_3, ADICHS0_B, SEL_RAD_1),
1491 PINMUX_IPSR_MODSEL_DATA(IP13_4_3, MSIOF0_SS2_C, SEL_SOF0_2),
1492 PINMUX_IPSR_MODSEL_DATA(IP13_6_5, STP_ISSYNC_0, SEL_SSP_0),
1493 PINMUX_IPSR_DATA(IP13_6_5, AVB_COL),
1494 PINMUX_IPSR_MODSEL_DATA(IP13_6_5, ADICHS1_B, SEL_RAD_1),
1495 PINMUX_IPSR_MODSEL_DATA(IP13_6_5, MSIOF0_RXD_C, SEL_SOF0_2),
1496 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, STP_OPWM_0, SEL_SSP_0),
1497 PINMUX_IPSR_DATA(IP13_9_7, AVB_GTX_CLK),
1498 PINMUX_IPSR_DATA(IP13_9_7, PWM0_B),
1499 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, ADICHS2_B, SEL_RAD_1),
1500 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, MSIOF0_TXD_C, SEL_SOF0_2),
1501 PINMUX_IPSR_DATA(IP13_10, SD0_CLK),
1502 PINMUX_IPSR_MODSEL_DATA(IP13_10, SPCLK_B, SEL_QSP_1),
1503 PINMUX_IPSR_DATA(IP13_11, SD0_CMD),
1504 PINMUX_IPSR_MODSEL_DATA(IP13_11, MOSI_IO0_B, SEL_QSP_1),
1505 PINMUX_IPSR_DATA(IP13_12, SD0_DATA0),
1506 PINMUX_IPSR_MODSEL_DATA(IP13_12, MISO_IO1_B, SEL_QSP_1),
1507 PINMUX_IPSR_DATA(IP13_13, SD0_DATA1),
1508 PINMUX_IPSR_MODSEL_DATA(IP13_13, IO2_B, SEL_QSP_1),
1509 PINMUX_IPSR_DATA(IP13_14, SD0_DATA2),
1510 PINMUX_IPSR_MODSEL_DATA(IP13_14, IO3_B, SEL_QSP_1),
1511 PINMUX_IPSR_DATA(IP13_15, SD0_DATA3),
1512 PINMUX_IPSR_MODSEL_DATA(IP13_15, SSL_B, SEL_QSP_1),
1513 PINMUX_IPSR_DATA(IP13_18_16, SD0_CD),
1514 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, MMC_D6_B, SEL_MMC_1),
1515 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, SIM0_RST_B, SEL_SIM_1),
1516 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, CAN0_RX_F, SEL_CAN0_5),
1517 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, SCIFA5_TXD_B, SEL_SCIFA5_1),
1518 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, TX3_C, SEL_SCIF3_2),
1519 PINMUX_IPSR_DATA(IP13_21_19, SD0_WP),
1520 PINMUX_IPSR_MODSEL_DATA(IP13_21_19, MMC_D7_B, SEL_MMC_1),
1521 PINMUX_IPSR_MODSEL_DATA(IP13_21_19, SIM0_D_B, SEL_SIM_1),
1522 PINMUX_IPSR_MODSEL_DATA(IP13_21_19, CAN0_TX_F, SEL_CAN0_5),
1523 PINMUX_IPSR_MODSEL_DATA(IP13_21_19, SCIFA5_RXD_B, SEL_SCIFA5_1),
1524 PINMUX_IPSR_MODSEL_DATA(IP13_21_19, RX3_C, SEL_SCIF3_2),
1525 PINMUX_IPSR_DATA(IP13_22, SD1_CMD),
1526 PINMUX_IPSR_MODSEL_DATA(IP13_22, REMOCON_B, SEL_RCN_1),
1527 PINMUX_IPSR_DATA(IP13_24_23, SD1_DATA0),
1528 PINMUX_IPSR_MODSEL_DATA(IP13_24_23, SPEEDIN_B, SEL_RSP_1),
1529 PINMUX_IPSR_DATA(IP13_25, SD1_DATA1),
1530 PINMUX_IPSR_MODSEL_DATA(IP13_25, IETX_B, SEL_IEB_1),
1531 PINMUX_IPSR_DATA(IP13_26, SD1_DATA2),
1532 PINMUX_IPSR_MODSEL_DATA(IP13_26, IECLK_B, SEL_IEB_1),
1533 PINMUX_IPSR_DATA(IP13_27, SD1_DATA3),
1534 PINMUX_IPSR_MODSEL_DATA(IP13_27, IERX_B, SEL_IEB_1),
1535 PINMUX_IPSR_DATA(IP13_30_28, SD1_CD),
1536 PINMUX_IPSR_DATA(IP13_30_28, PWM0),
1537 PINMUX_IPSR_DATA(IP13_30_28, TPU_TO0),
1538 PINMUX_IPSR_MODSEL_DATA(IP13_30_28, SCL1_C, SEL_IIC1_2),
1540 /* IPSR14 */
1541 PINMUX_IPSR_DATA(IP14_1_0, SD1_WP),
1542 PINMUX_IPSR_DATA(IP14_1_0, PWM1_B),
1543 PINMUX_IPSR_MODSEL_DATA(IP14_1_0, SDA1_C, SEL_IIC1_2),
1544 PINMUX_IPSR_DATA(IP14_2, SD2_CLK),
1545 PINMUX_IPSR_DATA(IP14_2, MMC_CLK),
1546 PINMUX_IPSR_DATA(IP14_3, SD2_CMD),
1547 PINMUX_IPSR_DATA(IP14_3, MMC_CMD),
1548 PINMUX_IPSR_DATA(IP14_4, SD2_DATA0),
1549 PINMUX_IPSR_DATA(IP14_4, MMC_D0),
1550 PINMUX_IPSR_DATA(IP14_5, SD2_DATA1),
1551 PINMUX_IPSR_DATA(IP14_5, MMC_D1),
1552 PINMUX_IPSR_DATA(IP14_6, SD2_DATA2),
1553 PINMUX_IPSR_DATA(IP14_6, MMC_D2),
1554 PINMUX_IPSR_DATA(IP14_7, SD2_DATA3),
1555 PINMUX_IPSR_DATA(IP14_7, MMC_D3),
1556 PINMUX_IPSR_DATA(IP14_10_8, SD2_CD),
1557 PINMUX_IPSR_DATA(IP14_10_8, MMC_D4),
1558 PINMUX_IPSR_MODSEL_DATA(IP14_10_8, SCL8_C, SEL_IIC8_2),
1559 PINMUX_IPSR_MODSEL_DATA(IP14_10_8, TX5_B, SEL_SCIF5_1),
1560 PINMUX_IPSR_MODSEL_DATA(IP14_10_8, SCIFA5_TXD_C, SEL_SCIFA5_2),
1561 PINMUX_IPSR_DATA(IP14_13_11, SD2_WP),
1562 PINMUX_IPSR_DATA(IP14_13_11, MMC_D5),
1563 PINMUX_IPSR_MODSEL_DATA(IP14_13_11, SDA8_C, SEL_IIC8_2),
1564 PINMUX_IPSR_MODSEL_DATA(IP14_13_11, RX5_B, SEL_SCIF5_1),
1565 PINMUX_IPSR_MODSEL_DATA(IP14_13_11, SCIFA5_RXD_C, SEL_SCIFA5_2),
1566 PINMUX_IPSR_MODSEL_DATA(IP14_16_14, MSIOF0_SCK, SEL_SOF0_0),
1567 PINMUX_IPSR_MODSEL_DATA(IP14_16_14, RX2_C, SEL_SCIF2_2),
1568 PINMUX_IPSR_MODSEL_DATA(IP14_16_14, ADIDATA, SEL_RAD_0),
1569 PINMUX_IPSR_MODSEL_DATA(IP14_16_14, VI1_CLK_C, SEL_VI1_2),
1570 PINMUX_IPSR_DATA(IP14_16_14, VI1_G0_B),
1571 PINMUX_IPSR_MODSEL_DATA(IP14_19_17, MSIOF0_SYNC, SEL_SOF0_0),
1572 PINMUX_IPSR_MODSEL_DATA(IP14_19_17, TX2_C, SEL_SCIF2_2),
1573 PINMUX_IPSR_MODSEL_DATA(IP14_19_17, ADICS_SAMP, SEL_RAD_0),
1574 PINMUX_IPSR_MODSEL_DATA(IP14_19_17, VI1_CLKENB_C, SEL_VI1_2),
1575 PINMUX_IPSR_DATA(IP14_19_17, VI1_G1_B),
1576 PINMUX_IPSR_MODSEL_DATA(IP14_22_20, MSIOF0_TXD, SEL_SOF0_0),
1577 PINMUX_IPSR_MODSEL_DATA(IP14_22_20, ADICLK, SEL_RAD_0),
1578 PINMUX_IPSR_MODSEL_DATA(IP14_22_20, VI1_FIELD_C, SEL_VI1_2),
1579 PINMUX_IPSR_DATA(IP14_22_20, VI1_G2_B),
1580 PINMUX_IPSR_MODSEL_DATA(IP14_25_23, MSIOF0_RXD, SEL_SOF0_0),
1581 PINMUX_IPSR_MODSEL_DATA(IP14_25_23, ADICHS0, SEL_RAD_0),
1582 PINMUX_IPSR_MODSEL_DATA(IP14_25_23, VI1_DATA0_C, SEL_VI1_2),
1583 PINMUX_IPSR_DATA(IP14_25_23, VI1_G3_B),
1584 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, MSIOF0_SS1, SEL_SOF0_0),
1585 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, MMC_D6, SEL_MMC_0),
1586 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, ADICHS1, SEL_RAD_0),
1587 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, TX0_E, SEL_SCIF0_4),
1588 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, VI1_HSYNC_N_C, SEL_VI1_2),
1589 PINMUX_IPSR_MODSEL_DATA(IP14_28_26, SCL7_C, SEL_IIC7_2),
1590 PINMUX_IPSR_DATA(IP14_28_26, VI1_G4_B),
1591 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, MSIOF0_SS2, SEL_SOF0_0),
1592 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, MMC_D7, SEL_MMC_0),
1593 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, ADICHS2, SEL_RAD_0),
1594 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, RX0_E, SEL_SCIF0_4),
1595 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, VI1_VSYNC_N_C, SEL_VI1_2),
1596 PINMUX_IPSR_MODSEL_DATA(IP14_31_29, SDA7_C, SEL_IIC7_2),
1597 PINMUX_IPSR_DATA(IP14_31_29, VI1_G5_B),
1599 /* IPSR15 */
1600 PINMUX_IPSR_MODSEL_DATA(IP15_1_0, SIM0_RST, SEL_SIM_0),
1601 PINMUX_IPSR_MODSEL_DATA(IP15_1_0, IETX, SEL_IEB_0),
1602 PINMUX_IPSR_MODSEL_DATA(IP15_1_0, CAN1_TX_D, SEL_CAN1_3),
1603 PINMUX_IPSR_DATA(IP15_3_2, SIM0_CLK),
1604 PINMUX_IPSR_MODSEL_DATA(IP15_3_2, IECLK, SEL_IEB_0),
1605 PINMUX_IPSR_MODSEL_DATA(IP15_3_2, CAN_CLK_C, SEL_CANCLK_2),
1606 PINMUX_IPSR_MODSEL_DATA(IP15_5_4, SIM0_D, SEL_SIM_0),
1607 PINMUX_IPSR_MODSEL_DATA(IP15_5_4, IERX, SEL_IEB_0),
1608 PINMUX_IPSR_MODSEL_DATA(IP15_5_4, CAN1_RX_D, SEL_CAN1_3),
1609 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, GPS_CLK, SEL_GPS_0),
1610 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, DU1_DOTCLKIN_C, SEL_DIS_2),
1611 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, AUDIO_CLKB_B, SEL_ADG_1),
1612 PINMUX_IPSR_DATA(IP15_8_6, PWM5_B),
1613 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, SCIFA3_TXD_C, SEL_SCIFA3_2),
1614 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, GPS_SIGN, SEL_GPS_0),
1615 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, TX4_C, SEL_SCIF4_2),
1616 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, SCIFA4_TXD_C, SEL_SCIFA4_2),
1617 PINMUX_IPSR_DATA(IP15_11_9, PWM5),
1618 PINMUX_IPSR_DATA(IP15_11_9, VI1_G6_B),
1619 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, SCIFA3_RXD_C, SEL_SCIFA3_2),
1620 PINMUX_IPSR_MODSEL_DATA(IP15_14_12, GPS_MAG, SEL_GPS_0),
1621 PINMUX_IPSR_MODSEL_DATA(IP15_14_12, RX4_C, SEL_SCIF4_2),
1622 PINMUX_IPSR_MODSEL_DATA(IP15_14_12, SCIFA4_RXD_C, SEL_SCIFA4_2),
1623 PINMUX_IPSR_DATA(IP15_14_12, PWM6),
1624 PINMUX_IPSR_DATA(IP15_14_12, VI1_G7_B),
1625 PINMUX_IPSR_MODSEL_DATA(IP15_14_12, SCIFA3_SCK_C, SEL_SCIFA3_2),
1626 PINMUX_IPSR_MODSEL_DATA(IP15_17_15, HCTS0_N, SEL_HSCIF0_0),
1627 PINMUX_IPSR_MODSEL_DATA(IP15_17_15, SCIFB0_CTS_N, SEL_SCIFB_0),
1628 PINMUX_IPSR_MODSEL_DATA(IP15_17_15, GLO_I0_C, SEL_GPS_2),
1629 PINMUX_IPSR_MODSEL_DATA(IP15_17_15, TCLK1, SEL_TMU1_0),
1630 PINMUX_IPSR_MODSEL_DATA(IP15_17_15, VI1_DATA1_C, SEL_VI1_2),
1631 PINMUX_IPSR_MODSEL_DATA(IP15_20_18, HRTS0_N, SEL_HSCIF0_0),
1632 PINMUX_IPSR_MODSEL_DATA(IP15_20_18, SCIFB0_RTS_N, SEL_SCIFB_0),
1633 PINMUX_IPSR_MODSEL_DATA(IP15_20_18, GLO_I1_C, SEL_GPS_2),
1634 PINMUX_IPSR_MODSEL_DATA(IP15_20_18, VI1_DATA2_C, SEL_VI1_2),
1635 PINMUX_IPSR_MODSEL_DATA(IP15_23_21, HSCK0, SEL_HSCIF0_0),
1636 PINMUX_IPSR_MODSEL_DATA(IP15_23_21, SCIFB0_SCK, SEL_SCIFB_0),
1637 PINMUX_IPSR_MODSEL_DATA(IP15_23_21, GLO_Q0_C, SEL_GPS_2),
1638 PINMUX_IPSR_MODSEL_DATA(IP15_23_21, CAN_CLK, SEL_CANCLK_0),
1639 PINMUX_IPSR_DATA(IP15_23_21, TCLK2),
1640 PINMUX_IPSR_MODSEL_DATA(IP15_23_21, VI1_DATA3_C, SEL_VI1_2),
1641 PINMUX_IPSR_MODSEL_DATA(IP15_26_24, HRX0, SEL_HSCIF0_0),
1642 PINMUX_IPSR_MODSEL_DATA(IP15_26_24, SCIFB0_RXD, SEL_SCIFB_0),
1643 PINMUX_IPSR_MODSEL_DATA(IP15_26_24, GLO_Q1_C, SEL_GPS_2),
1644 PINMUX_IPSR_MODSEL_DATA(IP15_26_24, CAN0_RX_B, SEL_CAN0_1),
1645 PINMUX_IPSR_MODSEL_DATA(IP15_26_24, VI1_DATA4_C, SEL_VI1_2),
1646 PINMUX_IPSR_MODSEL_DATA(IP15_29_27, HTX0, SEL_HSCIF0_0),
1647 PINMUX_IPSR_MODSEL_DATA(IP15_29_27, SCIFB0_TXD, SEL_SCIFB_0),
1648 PINMUX_IPSR_MODSEL_DATA(IP15_29_27, GLO_SCLK_C, SEL_GPS_2),
1649 PINMUX_IPSR_MODSEL_DATA(IP15_29_27, CAN0_TX_B, SEL_CAN0_1),
1650 PINMUX_IPSR_MODSEL_DATA(IP15_29_27, VI1_DATA5_C, SEL_VI1_2),
1652 /* IPSR16 */
1653 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, HRX1, SEL_HSCIF1_0),
1654 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, SCIFB1_RXD, SEL_SCIFB1_0),
1655 PINMUX_IPSR_DATA(IP16_2_0, VI1_R0_B),
1656 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, GLO_SDATA_C, SEL_GPS_2),
1657 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, VI1_DATA6_C, SEL_VI1_2),
1658 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, HTX1, SEL_HSCIF1_0),
1659 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, SCIFB1_TXD, SEL_SCIFB1_0),
1660 PINMUX_IPSR_DATA(IP16_5_3, VI1_R1_B),
1661 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, GLO_SS_C, SEL_GPS_2),
1662 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, VI1_DATA7_C, SEL_VI1_2),
1663 PINMUX_IPSR_MODSEL_DATA(IP16_7_6, HSCK1, SEL_HSCIF1_0),
1664 PINMUX_IPSR_MODSEL_DATA(IP16_7_6, SCIFB1_SCK, SEL_SCIFB1_0),
1665 PINMUX_IPSR_DATA(IP16_7_6, MLB_CK),
1666 PINMUX_IPSR_MODSEL_DATA(IP16_7_6, GLO_RFON_C, SEL_GPS_2),
1667 PINMUX_IPSR_MODSEL_DATA(IP16_9_8, HCTS1_N, SEL_HSCIF1_0),
1668 PINMUX_IPSR_DATA(IP16_9_8, SCIFB1_CTS_N),
1669 PINMUX_IPSR_DATA(IP16_9_8, MLB_SIG),
1670 PINMUX_IPSR_MODSEL_DATA(IP16_9_8, CAN1_TX_B, SEL_CAN1_1),
1671 PINMUX_IPSR_MODSEL_DATA(IP16_11_10, HRTS1_N, SEL_HSCIF1_0),
1672 PINMUX_IPSR_DATA(IP16_11_10, SCIFB1_RTS_N),
1673 PINMUX_IPSR_DATA(IP16_11_10, MLB_DAT),
1674 PINMUX_IPSR_MODSEL_DATA(IP16_11_10, CAN1_RX_B, SEL_CAN1_1),
1677 static const struct sh_pfc_pin pinmux_pins[] = {
1678 PINMUX_GPIO_GP_ALL(),
1681 /* - DU --------------------------------------------------------------------- */
1682 static const unsigned int du_rgb666_pins[] = {
1683 /* R[7:2], G[7:2], B[7:2] */
1684 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
1685 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
1686 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
1687 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
1688 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
1689 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
1691 static const unsigned int du_rgb666_mux[] = {
1692 DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
1693 DU1_DR3_MARK, DU1_DR2_MARK,
1694 DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
1695 DU1_DG3_MARK, DU1_DG2_MARK,
1696 DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
1697 DU1_DB3_MARK, DU1_DB2_MARK,
1699 static const unsigned int du_rgb888_pins[] = {
1700 /* R[7:0], G[7:0], B[7:0] */
1701 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
1702 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
1703 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
1704 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
1705 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
1706 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
1707 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
1708 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
1709 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
1711 static const unsigned int du_rgb888_mux[] = {
1712 DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
1713 DU1_DR3_MARK, DU1_DR2_MARK, DU1_DR1_MARK, DU1_DR0_MARK,
1714 DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
1715 DU1_DG3_MARK, DU1_DG2_MARK, DU1_DG1_MARK, DU1_DG0_MARK,
1716 DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
1717 DU1_DB3_MARK, DU1_DB2_MARK, DU1_DB1_MARK, DU1_DB0_MARK,
1719 static const unsigned int du_clk_out_0_pins[] = {
1720 /* CLKOUT */
1721 RCAR_GP_PIN(3, 25),
1723 static const unsigned int du_clk_out_0_mux[] = {
1724 DU1_DOTCLKOUT0_MARK
1726 static const unsigned int du_clk_out_1_pins[] = {
1727 /* CLKOUT */
1728 RCAR_GP_PIN(3, 26),
1730 static const unsigned int du_clk_out_1_mux[] = {
1731 DU1_DOTCLKOUT1_MARK
1733 static const unsigned int du_sync_pins[] = {
1734 /* EXVSYNC/VSYNC, EXHSYNC/HSYNC, EXDISP/EXODDF/EXCDE */
1735 RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27),
1737 static const unsigned int du_sync_mux[] = {
1738 DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
1739 DU1_EXVSYNC_DU1_VSYNC_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK
1741 static const unsigned int du_cde_disp_pins[] = {
1742 /* CDE DISP */
1743 RCAR_GP_PIN(3, 31), RCAR_GP_PIN(3, 30),
1745 static const unsigned int du_cde_disp_mux[] = {
1746 DU1_CDE_MARK, DU1_DISP_MARK
1748 static const unsigned int du0_clk_in_pins[] = {
1749 /* CLKIN */
1750 RCAR_GP_PIN(6, 31),
1752 static const unsigned int du0_clk_in_mux[] = {
1753 DU0_DOTCLKIN_MARK
1755 static const unsigned int du1_clk_in_pins[] = {
1756 /* CLKIN */
1757 RCAR_GP_PIN(3, 24),
1759 static const unsigned int du1_clk_in_mux[] = {
1760 DU1_DOTCLKIN_MARK
1762 static const unsigned int du1_clk_in_b_pins[] = {
1763 /* CLKIN */
1764 RCAR_GP_PIN(7, 19),
1766 static const unsigned int du1_clk_in_b_mux[] = {
1767 DU1_DOTCLKIN_B_MARK,
1769 static const unsigned int du1_clk_in_c_pins[] = {
1770 /* CLKIN */
1771 RCAR_GP_PIN(7, 20),
1773 static const unsigned int du1_clk_in_c_mux[] = {
1774 DU1_DOTCLKIN_C_MARK,
1776 /* - ETH -------------------------------------------------------------------- */
1777 static const unsigned int eth_link_pins[] = {
1778 /* LINK */
1779 RCAR_GP_PIN(5, 18),
1781 static const unsigned int eth_link_mux[] = {
1782 ETH_LINK_MARK,
1784 static const unsigned int eth_magic_pins[] = {
1785 /* MAGIC */
1786 RCAR_GP_PIN(5, 22),
1788 static const unsigned int eth_magic_mux[] = {
1789 ETH_MAGIC_MARK,
1791 static const unsigned int eth_mdio_pins[] = {
1792 /* MDC, MDIO */
1793 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 13),
1795 static const unsigned int eth_mdio_mux[] = {
1796 ETH_MDC_MARK, ETH_MDIO_MARK,
1798 static const unsigned int eth_rmii_pins[] = {
1799 /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
1800 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 15),
1801 RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 23), RCAR_GP_PIN(5, 20),
1802 RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 19),
1804 static const unsigned int eth_rmii_mux[] = {
1805 ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
1806 ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REFCLK_MARK,
1808 /* - I2C0 ------------------------------------------------------------------- */
1809 static const unsigned int i2c0_pins[] = {
1810 /* SCL, SDA */
1811 RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
1813 static const unsigned int i2c0_mux[] = {
1814 SCL0_MARK, SDA0_MARK,
1816 static const unsigned int i2c0_b_pins[] = {
1817 /* SCL, SDA */
1818 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
1820 static const unsigned int i2c0_b_mux[] = {
1821 SCL0_B_MARK, SDA0_B_MARK,
1823 static const unsigned int i2c0_c_pins[] = {
1824 /* SCL, SDA */
1825 RCAR_GP_PIN(0, 16), RCAR_GP_PIN(1, 1),
1827 static const unsigned int i2c0_c_mux[] = {
1828 SCL0_C_MARK, SDA0_C_MARK,
1830 /* - I2C1 ------------------------------------------------------------------- */
1831 static const unsigned int i2c1_pins[] = {
1832 /* SCL, SDA */
1833 RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 11),
1835 static const unsigned int i2c1_mux[] = {
1836 SCL1_MARK, SDA1_MARK,
1838 static const unsigned int i2c1_b_pins[] = {
1839 /* SCL, SDA */
1840 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
1842 static const unsigned int i2c1_b_mux[] = {
1843 SCL1_B_MARK, SDA1_B_MARK,
1845 static const unsigned int i2c1_c_pins[] = {
1846 /* SCL, SDA */
1847 RCAR_GP_PIN(6, 14), RCAR_GP_PIN(6, 15),
1849 static const unsigned int i2c1_c_mux[] = {
1850 SCL1_C_MARK, SDA1_C_MARK,
1852 static const unsigned int i2c1_d_pins[] = {
1853 /* SCL, SDA */
1854 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
1856 static const unsigned int i2c1_d_mux[] = {
1857 SCL1_D_MARK, SDA1_D_MARK,
1859 static const unsigned int i2c1_e_pins[] = {
1860 /* SCL, SDA */
1861 RCAR_GP_PIN(7, 15), RCAR_GP_PIN(7, 16),
1863 static const unsigned int i2c1_e_mux[] = {
1864 SCL1_E_MARK, SDA1_E_MARK,
1866 /* - I2C2 ------------------------------------------------------------------- */
1867 static const unsigned int i2c2_pins[] = {
1868 /* SCL, SDA */
1869 RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7),
1871 static const unsigned int i2c2_mux[] = {
1872 SCL2_MARK, SDA2_MARK,
1874 static const unsigned int i2c2_b_pins[] = {
1875 /* SCL, SDA */
1876 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 29),
1878 static const unsigned int i2c2_b_mux[] = {
1879 SCL2_B_MARK, SDA2_B_MARK,
1881 static const unsigned int i2c2_c_pins[] = {
1882 /* SCL, SDA */
1883 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
1885 static const unsigned int i2c2_c_mux[] = {
1886 SCL2_C_MARK, SDA2_C_MARK,
1888 static const unsigned int i2c2_d_pins[] = {
1889 /* SCL, SDA */
1890 RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
1892 static const unsigned int i2c2_d_mux[] = {
1893 SCL2_D_MARK, SDA2_D_MARK,
1895 /* - I2C3 ------------------------------------------------------------------- */
1896 static const unsigned int i2c3_pins[] = {
1897 /* SCL, SDA */
1898 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
1900 static const unsigned int i2c3_mux[] = {
1901 SCL3_MARK, SDA3_MARK,
1903 static const unsigned int i2c3_b_pins[] = {
1904 /* SCL, SDA */
1905 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
1907 static const unsigned int i2c3_b_mux[] = {
1908 SCL3_B_MARK, SDA3_B_MARK,
1910 static const unsigned int i2c3_c_pins[] = {
1911 /* SCL, SDA */
1912 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
1914 static const unsigned int i2c3_c_mux[] = {
1915 SCL3_C_MARK, SDA3_C_MARK,
1917 static const unsigned int i2c3_d_pins[] = {
1918 /* SCL, SDA */
1919 RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 28),
1921 static const unsigned int i2c3_d_mux[] = {
1922 SCL3_D_MARK, SDA3_D_MARK,
1924 /* - I2C4 ------------------------------------------------------------------- */
1925 static const unsigned int i2c4_pins[] = {
1926 /* SCL, SDA */
1927 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
1929 static const unsigned int i2c4_mux[] = {
1930 SCL4_MARK, SDA4_MARK,
1932 static const unsigned int i2c4_b_pins[] = {
1933 /* SCL, SDA */
1934 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
1936 static const unsigned int i2c4_b_mux[] = {
1937 SCL4_B_MARK, SDA4_B_MARK,
1939 static const unsigned int i2c4_c_pins[] = {
1940 /* SCL, SDA */
1941 RCAR_GP_PIN(7, 13), RCAR_GP_PIN(7, 14),
1943 static const unsigned int i2c4_c_mux[] = {
1944 SCL4_C_MARK, SDA4_C_MARK,
1946 /* - INTC ------------------------------------------------------------------- */
1947 static const unsigned int intc_irq0_pins[] = {
1948 /* IRQ */
1949 RCAR_GP_PIN(7, 10),
1951 static const unsigned int intc_irq0_mux[] = {
1952 IRQ0_MARK,
1954 static const unsigned int intc_irq1_pins[] = {
1955 /* IRQ */
1956 RCAR_GP_PIN(7, 11),
1958 static const unsigned int intc_irq1_mux[] = {
1959 IRQ1_MARK,
1961 static const unsigned int intc_irq2_pins[] = {
1962 /* IRQ */
1963 RCAR_GP_PIN(7, 12),
1965 static const unsigned int intc_irq2_mux[] = {
1966 IRQ2_MARK,
1968 static const unsigned int intc_irq3_pins[] = {
1969 /* IRQ */
1970 RCAR_GP_PIN(7, 13),
1972 static const unsigned int intc_irq3_mux[] = {
1973 IRQ3_MARK,
1975 /* - MMCIF ------------------------------------------------------------------ */
1976 static const unsigned int mmc_data1_pins[] = {
1977 /* D[0] */
1978 RCAR_GP_PIN(6, 18),
1980 static const unsigned int mmc_data1_mux[] = {
1981 MMC_D0_MARK,
1983 static const unsigned int mmc_data4_pins[] = {
1984 /* D[0:3] */
1985 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
1986 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
1988 static const unsigned int mmc_data4_mux[] = {
1989 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
1991 static const unsigned int mmc_data8_pins[] = {
1992 /* D[0:7] */
1993 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
1994 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
1995 RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
1996 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
1998 static const unsigned int mmc_data8_mux[] = {
1999 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
2000 MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
2002 static const unsigned int mmc_ctrl_pins[] = {
2003 /* CLK, CMD */
2004 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
2006 static const unsigned int mmc_ctrl_mux[] = {
2007 MMC_CLK_MARK, MMC_CMD_MARK,
2009 /* - MSIOF0 ----------------------------------------------------------------- */
2010 static const unsigned int msiof0_clk_pins[] = {
2011 /* SCK */
2012 RCAR_GP_PIN(6, 24),
2014 static const unsigned int msiof0_clk_mux[] = {
2015 MSIOF0_SCK_MARK,
2017 static const unsigned int msiof0_sync_pins[] = {
2018 /* SYNC */
2019 RCAR_GP_PIN(6, 25),
2021 static const unsigned int msiof0_sync_mux[] = {
2022 MSIOF0_SYNC_MARK,
2024 static const unsigned int msiof0_ss1_pins[] = {
2025 /* SS1 */
2026 RCAR_GP_PIN(6, 28),
2028 static const unsigned int msiof0_ss1_mux[] = {
2029 MSIOF0_SS1_MARK,
2031 static const unsigned int msiof0_ss2_pins[] = {
2032 /* SS2 */
2033 RCAR_GP_PIN(6, 29),
2035 static const unsigned int msiof0_ss2_mux[] = {
2036 MSIOF0_SS2_MARK,
2038 static const unsigned int msiof0_rx_pins[] = {
2039 /* RXD */
2040 RCAR_GP_PIN(6, 27),
2042 static const unsigned int msiof0_rx_mux[] = {
2043 MSIOF0_RXD_MARK,
2045 static const unsigned int msiof0_tx_pins[] = {
2046 /* TXD */
2047 RCAR_GP_PIN(6, 26),
2049 static const unsigned int msiof0_tx_mux[] = {
2050 MSIOF0_TXD_MARK,
2052 /* - MSIOF1 ----------------------------------------------------------------- */
2053 static const unsigned int msiof1_clk_pins[] = {
2054 /* SCK */
2055 RCAR_GP_PIN(0, 22),
2057 static const unsigned int msiof1_clk_mux[] = {
2058 MSIOF1_SCK_MARK,
2060 static const unsigned int msiof1_sync_pins[] = {
2061 /* SYNC */
2062 RCAR_GP_PIN(0, 23),
2064 static const unsigned int msiof1_sync_mux[] = {
2065 MSIOF1_SYNC_MARK,
2067 static const unsigned int msiof1_ss1_pins[] = {
2068 /* SS1 */
2069 RCAR_GP_PIN(0, 24),
2071 static const unsigned int msiof1_ss1_mux[] = {
2072 MSIOF1_SS1_MARK,
2074 static const unsigned int msiof1_ss2_pins[] = {
2075 /* SS2 */
2076 RCAR_GP_PIN(0, 25),
2078 static const unsigned int msiof1_ss2_mux[] = {
2079 MSIOF1_SS2_MARK,
2081 static const unsigned int msiof1_rx_pins[] = {
2082 /* RXD */
2083 RCAR_GP_PIN(0, 27),
2085 static const unsigned int msiof1_rx_mux[] = {
2086 MSIOF1_RXD_MARK,
2088 static const unsigned int msiof1_tx_pins[] = {
2089 /* TXD */
2090 RCAR_GP_PIN(0, 26),
2092 static const unsigned int msiof1_tx_mux[] = {
2093 MSIOF1_TXD_MARK,
2095 /* - MSIOF2 ----------------------------------------------------------------- */
2096 static const unsigned int msiof2_clk_pins[] = {
2097 /* SCK */
2098 RCAR_GP_PIN(1, 13),
2100 static const unsigned int msiof2_clk_mux[] = {
2101 MSIOF2_SCK_MARK,
2103 static const unsigned int msiof2_sync_pins[] = {
2104 /* SYNC */
2105 RCAR_GP_PIN(1, 14),
2107 static const unsigned int msiof2_sync_mux[] = {
2108 MSIOF2_SYNC_MARK,
2110 static const unsigned int msiof2_ss1_pins[] = {
2111 /* SS1 */
2112 RCAR_GP_PIN(1, 17),
2114 static const unsigned int msiof2_ss1_mux[] = {
2115 MSIOF2_SS1_MARK,
2117 static const unsigned int msiof2_ss2_pins[] = {
2118 /* SS2 */
2119 RCAR_GP_PIN(1, 18),
2121 static const unsigned int msiof2_ss2_mux[] = {
2122 MSIOF2_SS2_MARK,
2124 static const unsigned int msiof2_rx_pins[] = {
2125 /* RXD */
2126 RCAR_GP_PIN(1, 16),
2128 static const unsigned int msiof2_rx_mux[] = {
2129 MSIOF2_RXD_MARK,
2131 static const unsigned int msiof2_tx_pins[] = {
2132 /* TXD */
2133 RCAR_GP_PIN(1, 15),
2135 static const unsigned int msiof2_tx_mux[] = {
2136 MSIOF2_TXD_MARK,
2138 /* - SCIF0 ------------------------------------------------------------------ */
2139 static const unsigned int scif0_data_pins[] = {
2140 /* RX, TX */
2141 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
2143 static const unsigned int scif0_data_mux[] = {
2144 RX0_MARK, TX0_MARK,
2146 static const unsigned int scif0_data_b_pins[] = {
2147 /* RX, TX */
2148 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
2150 static const unsigned int scif0_data_b_mux[] = {
2151 RX0_B_MARK, TX0_B_MARK,
2153 static const unsigned int scif0_data_c_pins[] = {
2154 /* RX, TX */
2155 RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 25),
2157 static const unsigned int scif0_data_c_mux[] = {
2158 RX0_C_MARK, TX0_C_MARK,
2160 static const unsigned int scif0_data_d_pins[] = {
2161 /* RX, TX */
2162 RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 22),
2164 static const unsigned int scif0_data_d_mux[] = {
2165 RX0_D_MARK, TX0_D_MARK,
2167 static const unsigned int scif0_data_e_pins[] = {
2168 /* RX, TX */
2169 RCAR_GP_PIN(6, 29), RCAR_GP_PIN(6, 28),
2171 static const unsigned int scif0_data_e_mux[] = {
2172 RX0_E_MARK, TX0_E_MARK,
2174 /* - SCIF1 ------------------------------------------------------------------ */
2175 static const unsigned int scif1_data_pins[] = {
2176 /* RX, TX */
2177 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
2179 static const unsigned int scif1_data_mux[] = {
2180 RX1_MARK, TX1_MARK,
2182 static const unsigned int scif1_data_b_pins[] = {
2183 /* RX, TX */
2184 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
2186 static const unsigned int scif1_data_b_mux[] = {
2187 RX1_B_MARK, TX1_B_MARK,
2189 static const unsigned int scif1_clk_b_pins[] = {
2190 /* SCK */
2191 RCAR_GP_PIN(3, 10),
2193 static const unsigned int scif1_clk_b_mux[] = {
2194 SCIF1_SCK_B_MARK,
2196 static const unsigned int scif1_data_c_pins[] = {
2197 /* RX, TX */
2198 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 27),
2200 static const unsigned int scif1_data_c_mux[] = {
2201 RX1_C_MARK, TX1_C_MARK,
2203 static const unsigned int scif1_data_d_pins[] = {
2204 /* RX, TX */
2205 RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 24),
2207 static const unsigned int scif1_data_d_mux[] = {
2208 RX1_D_MARK, TX1_D_MARK,
2210 /* - SCIF2 ------------------------------------------------------------------ */
2211 static const unsigned int scif2_data_pins[] = {
2212 /* RX, TX */
2213 RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
2215 static const unsigned int scif2_data_mux[] = {
2216 RX2_MARK, TX2_MARK,
2218 static const unsigned int scif2_data_b_pins[] = {
2219 /* RX, TX */
2220 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
2222 static const unsigned int scif2_data_b_mux[] = {
2223 RX2_B_MARK, TX2_B_MARK,
2225 static const unsigned int scif2_clk_b_pins[] = {
2226 /* SCK */
2227 RCAR_GP_PIN(3, 18),
2229 static const unsigned int scif2_clk_b_mux[] = {
2230 SCIF2_SCK_B_MARK,
2232 static const unsigned int scif2_data_c_pins[] = {
2233 /* RX, TX */
2234 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
2236 static const unsigned int scif2_data_c_mux[] = {
2237 RX2_C_MARK, TX2_C_MARK,
2239 static const unsigned int scif2_data_e_pins[] = {
2240 /* RX, TX */
2241 RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
2243 static const unsigned int scif2_data_e_mux[] = {
2244 RX2_E_MARK, TX2_E_MARK,
2246 /* - SCIF3 ------------------------------------------------------------------ */
2247 static const unsigned int scif3_data_pins[] = {
2248 /* RX, TX */
2249 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
2251 static const unsigned int scif3_data_mux[] = {
2252 RX3_MARK, TX3_MARK,
2254 static const unsigned int scif3_clk_pins[] = {
2255 /* SCK */
2256 RCAR_GP_PIN(3, 23),
2258 static const unsigned int scif3_clk_mux[] = {
2259 SCIF3_SCK_MARK,
2261 static const unsigned int scif3_data_b_pins[] = {
2262 /* RX, TX */
2263 RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 26),
2265 static const unsigned int scif3_data_b_mux[] = {
2266 RX3_B_MARK, TX3_B_MARK,
2268 static const unsigned int scif3_clk_b_pins[] = {
2269 /* SCK */
2270 RCAR_GP_PIN(4, 8),
2272 static const unsigned int scif3_clk_b_mux[] = {
2273 SCIF3_SCK_B_MARK,
2275 static const unsigned int scif3_data_c_pins[] = {
2276 /* RX, TX */
2277 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
2279 static const unsigned int scif3_data_c_mux[] = {
2280 RX3_C_MARK, TX3_C_MARK,
2282 static const unsigned int scif3_data_d_pins[] = {
2283 /* RX, TX */
2284 RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 26),
2286 static const unsigned int scif3_data_d_mux[] = {
2287 RX3_D_MARK, TX3_D_MARK,
2289 /* - SCIF4 ------------------------------------------------------------------ */
2290 static const unsigned int scif4_data_pins[] = {
2291 /* RX, TX */
2292 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
2294 static const unsigned int scif4_data_mux[] = {
2295 RX4_MARK, TX4_MARK,
2297 static const unsigned int scif4_data_b_pins[] = {
2298 /* RX, TX */
2299 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
2301 static const unsigned int scif4_data_b_mux[] = {
2302 RX4_B_MARK, TX4_B_MARK,
2304 static const unsigned int scif4_data_c_pins[] = {
2305 /* RX, TX */
2306 RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
2308 static const unsigned int scif4_data_c_mux[] = {
2309 RX4_C_MARK, TX4_C_MARK,
2311 /* - SCIF5 ------------------------------------------------------------------ */
2312 static const unsigned int scif5_data_pins[] = {
2313 /* RX, TX */
2314 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
2316 static const unsigned int scif5_data_mux[] = {
2317 RX5_MARK, TX5_MARK,
2319 static const unsigned int scif5_data_b_pins[] = {
2320 /* RX, TX */
2321 RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
2323 static const unsigned int scif5_data_b_mux[] = {
2324 RX5_B_MARK, TX5_B_MARK,
2326 /* - SCIFA0 ----------------------------------------------------------------- */
2327 static const unsigned int scifa0_data_pins[] = {
2328 /* RXD, TXD */
2329 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
2331 static const unsigned int scifa0_data_mux[] = {
2332 SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
2334 static const unsigned int scifa0_data_b_pins[] = {
2335 /* RXD, TXD */
2336 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
2338 static const unsigned int scifa0_data_b_mux[] = {
2339 SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
2341 /* - SCIFA1 ----------------------------------------------------------------- */
2342 static const unsigned int scifa1_data_pins[] = {
2343 /* RXD, TXD */
2344 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
2346 static const unsigned int scifa1_data_mux[] = {
2347 SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
2349 static const unsigned int scifa1_clk_pins[] = {
2350 /* SCK */
2351 RCAR_GP_PIN(3, 10),
2353 static const unsigned int scifa1_clk_mux[] = {
2354 SCIFA1_SCK_MARK,
2356 static const unsigned int scifa1_data_b_pins[] = {
2357 /* RXD, TXD */
2358 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
2360 static const unsigned int scifa1_data_b_mux[] = {
2361 SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
2363 static const unsigned int scifa1_clk_b_pins[] = {
2364 /* SCK */
2365 RCAR_GP_PIN(1, 0),
2367 static const unsigned int scifa1_clk_b_mux[] = {
2368 SCIFA1_SCK_B_MARK,
2370 static const unsigned int scifa1_data_c_pins[] = {
2371 /* RXD, TXD */
2372 RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
2374 static const unsigned int scifa1_data_c_mux[] = {
2375 SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
2377 /* - SCIFA2 ----------------------------------------------------------------- */
2378 static const unsigned int scifa2_data_pins[] = {
2379 /* RXD, TXD */
2380 RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
2382 static const unsigned int scifa2_data_mux[] = {
2383 SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
2385 static const unsigned int scifa2_clk_pins[] = {
2386 /* SCK */
2387 RCAR_GP_PIN(3, 18),
2389 static const unsigned int scifa2_clk_mux[] = {
2390 SCIFA2_SCK_MARK,
2392 static const unsigned int scifa2_data_b_pins[] = {
2393 /* RXD, TXD */
2394 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
2396 static const unsigned int scifa2_data_b_mux[] = {
2397 SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
2399 /* - SCIFA3 ----------------------------------------------------------------- */
2400 static const unsigned int scifa3_data_pins[] = {
2401 /* RXD, TXD */
2402 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
2404 static const unsigned int scifa3_data_mux[] = {
2405 SCIFA3_RXD_MARK, SCIFA3_TXD_MARK,
2407 static const unsigned int scifa3_clk_pins[] = {
2408 /* SCK */
2409 RCAR_GP_PIN(3, 23),
2411 static const unsigned int scifa3_clk_mux[] = {
2412 SCIFA3_SCK_MARK,
2414 static const unsigned int scifa3_data_b_pins[] = {
2415 /* RXD, TXD */
2416 RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 20),
2418 static const unsigned int scifa3_data_b_mux[] = {
2419 SCIFA3_RXD_B_MARK, SCIFA3_TXD_B_MARK,
2421 static const unsigned int scifa3_clk_b_pins[] = {
2422 /* SCK */
2423 RCAR_GP_PIN(4, 8),
2425 static const unsigned int scifa3_clk_b_mux[] = {
2426 SCIFA3_SCK_B_MARK,
2428 static const unsigned int scifa3_data_c_pins[] = {
2429 /* RXD, TXD */
2430 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 20),
2432 static const unsigned int scifa3_data_c_mux[] = {
2433 SCIFA3_RXD_C_MARK, SCIFA3_TXD_C_MARK,
2435 static const unsigned int scifa3_clk_c_pins[] = {
2436 /* SCK */
2437 RCAR_GP_PIN(7, 22),
2439 static const unsigned int scifa3_clk_c_mux[] = {
2440 SCIFA3_SCK_C_MARK,
2442 /* - SCIFA4 ----------------------------------------------------------------- */
2443 static const unsigned int scifa4_data_pins[] = {
2444 /* RXD, TXD */
2445 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
2447 static const unsigned int scifa4_data_mux[] = {
2448 SCIFA4_RXD_MARK, SCIFA4_TXD_MARK,
2450 static const unsigned int scifa4_data_b_pins[] = {
2451 /* RXD, TXD */
2452 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
2454 static const unsigned int scifa4_data_b_mux[] = {
2455 SCIFA4_RXD_B_MARK, SCIFA4_TXD_B_MARK,
2457 static const unsigned int scifa4_data_c_pins[] = {
2458 /* RXD, TXD */
2459 RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
2461 static const unsigned int scifa4_data_c_mux[] = {
2462 SCIFA4_RXD_C_MARK, SCIFA4_TXD_C_MARK,
2464 /* - SCIFA5 ----------------------------------------------------------------- */
2465 static const unsigned int scifa5_data_pins[] = {
2466 /* RXD, TXD */
2467 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
2469 static const unsigned int scifa5_data_mux[] = {
2470 SCIFA5_RXD_MARK, SCIFA5_TXD_MARK,
2472 static const unsigned int scifa5_data_b_pins[] = {
2473 /* RXD, TXD */
2474 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
2476 static const unsigned int scifa5_data_b_mux[] = {
2477 SCIFA5_RXD_B_MARK, SCIFA5_TXD_B_MARK,
2479 static const unsigned int scifa5_data_c_pins[] = {
2480 /* RXD, TXD */
2481 RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
2483 static const unsigned int scifa5_data_c_mux[] = {
2484 SCIFA5_RXD_C_MARK, SCIFA5_TXD_C_MARK,
2486 /* - SCIFB0 ----------------------------------------------------------------- */
2487 static const unsigned int scifb0_data_pins[] = {
2488 /* RXD, TXD */
2489 RCAR_GP_PIN(7, 3), RCAR_GP_PIN(7, 4),
2491 static const unsigned int scifb0_data_mux[] = {
2492 SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
2494 static const unsigned int scifb0_clk_pins[] = {
2495 /* SCK */
2496 RCAR_GP_PIN(7, 2),
2498 static const unsigned int scifb0_clk_mux[] = {
2499 SCIFB0_SCK_MARK,
2501 static const unsigned int scifb0_ctrl_pins[] = {
2502 /* RTS, CTS */
2503 RCAR_GP_PIN(7, 1), RCAR_GP_PIN(7, 0),
2505 static const unsigned int scifb0_ctrl_mux[] = {
2506 SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
2508 static const unsigned int scifb0_data_b_pins[] = {
2509 /* RXD, TXD */
2510 RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21),
2512 static const unsigned int scifb0_data_b_mux[] = {
2513 SCIFB0_RXD_B_MARK, SCIFB0_TXD_B_MARK,
2515 static const unsigned int scifb0_clk_b_pins[] = {
2516 /* SCK */
2517 RCAR_GP_PIN(5, 31),
2519 static const unsigned int scifb0_clk_b_mux[] = {
2520 SCIFB0_SCK_B_MARK,
2522 static const unsigned int scifb0_ctrl_b_pins[] = {
2523 /* RTS, CTS */
2524 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23),
2526 static const unsigned int scifb0_ctrl_b_mux[] = {
2527 SCIFB0_RTS_N_B_MARK, SCIFB0_CTS_N_B_MARK,
2529 static const unsigned int scifb0_data_c_pins[] = {
2530 /* RXD, TXD */
2531 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
2533 static const unsigned int scifb0_data_c_mux[] = {
2534 SCIFB0_RXD_C_MARK, SCIFB0_TXD_C_MARK,
2536 static const unsigned int scifb0_clk_c_pins[] = {
2537 /* SCK */
2538 RCAR_GP_PIN(2, 30),
2540 static const unsigned int scifb0_clk_c_mux[] = {
2541 SCIFB0_SCK_C_MARK,
2543 static const unsigned int scifb0_data_d_pins[] = {
2544 /* RXD, TXD */
2545 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 18),
2547 static const unsigned int scifb0_data_d_mux[] = {
2548 SCIFB0_RXD_D_MARK, SCIFB0_TXD_D_MARK,
2550 static const unsigned int scifb0_clk_d_pins[] = {
2551 /* SCK */
2552 RCAR_GP_PIN(4, 17),
2554 static const unsigned int scifb0_clk_d_mux[] = {
2555 SCIFB0_SCK_D_MARK,
2557 /* - SCIFB1 ----------------------------------------------------------------- */
2558 static const unsigned int scifb1_data_pins[] = {
2559 /* RXD, TXD */
2560 RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
2562 static const unsigned int scifb1_data_mux[] = {
2563 SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
2565 static const unsigned int scifb1_clk_pins[] = {
2566 /* SCK */
2567 RCAR_GP_PIN(7, 7),
2569 static const unsigned int scifb1_clk_mux[] = {
2570 SCIFB1_SCK_MARK,
2572 static const unsigned int scifb1_ctrl_pins[] = {
2573 /* RTS, CTS */
2574 RCAR_GP_PIN(7, 9), RCAR_GP_PIN(7, 8),
2576 static const unsigned int scifb1_ctrl_mux[] = {
2577 SCIFB1_RTS_N_MARK, SCIFB1_CTS_N_MARK,
2579 static const unsigned int scifb1_data_b_pins[] = {
2580 /* RXD, TXD */
2581 RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18),
2583 static const unsigned int scifb1_data_b_mux[] = {
2584 SCIFB1_RXD_B_MARK, SCIFB1_TXD_B_MARK,
2586 static const unsigned int scifb1_clk_b_pins[] = {
2587 /* SCK */
2588 RCAR_GP_PIN(1, 3),
2590 static const unsigned int scifb1_clk_b_mux[] = {
2591 SCIFB1_SCK_B_MARK,
2593 static const unsigned int scifb1_data_c_pins[] = {
2594 /* RXD, TXD */
2595 RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
2597 static const unsigned int scifb1_data_c_mux[] = {
2598 SCIFB1_RXD_C_MARK, SCIFB1_TXD_C_MARK,
2600 static const unsigned int scifb1_clk_c_pins[] = {
2601 /* SCK */
2602 RCAR_GP_PIN(7, 11),
2604 static const unsigned int scifb1_clk_c_mux[] = {
2605 SCIFB1_SCK_C_MARK,
2607 static const unsigned int scifb1_data_d_pins[] = {
2608 /* RXD, TXD */
2609 RCAR_GP_PIN(7, 10), RCAR_GP_PIN(7, 12),
2611 static const unsigned int scifb1_data_d_mux[] = {
2612 SCIFB1_RXD_D_MARK, SCIFB1_TXD_D_MARK,
2614 /* - SCIFB2 ----------------------------------------------------------------- */
2615 static const unsigned int scifb2_data_pins[] = {
2616 /* RXD, TXD */
2617 RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
2619 static const unsigned int scifb2_data_mux[] = {
2620 SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
2622 static const unsigned int scifb2_clk_pins[] = {
2623 /* SCK */
2624 RCAR_GP_PIN(4, 15),
2626 static const unsigned int scifb2_clk_mux[] = {
2627 SCIFB2_SCK_MARK,
2629 static const unsigned int scifb2_ctrl_pins[] = {
2630 /* RTS, CTS */
2631 RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
2633 static const unsigned int scifb2_ctrl_mux[] = {
2634 SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
2636 static const unsigned int scifb2_data_b_pins[] = {
2637 /* RXD, TXD */
2638 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
2640 static const unsigned int scifb2_data_b_mux[] = {
2641 SCIFB2_RXD_B_MARK, SCIFB2_TXD_B_MARK,
2643 static const unsigned int scifb2_clk_b_pins[] = {
2644 /* SCK */
2645 RCAR_GP_PIN(5, 31),
2647 static const unsigned int scifb2_clk_b_mux[] = {
2648 SCIFB2_SCK_B_MARK,
2650 static const unsigned int scifb2_ctrl_b_pins[] = {
2651 /* RTS, CTS */
2652 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14),
2654 static const unsigned int scifb2_ctrl_b_mux[] = {
2655 SCIFB2_RTS_N_B_MARK, SCIFB2_CTS_N_B_MARK,
2657 static const unsigned int scifb2_data_c_pins[] = {
2658 /* RXD, TXD */
2659 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
2661 static const unsigned int scifb2_data_c_mux[] = {
2662 SCIFB2_RXD_C_MARK, SCIFB2_TXD_C_MARK,
2664 static const unsigned int scifb2_clk_c_pins[] = {
2665 /* SCK */
2666 RCAR_GP_PIN(5, 27),
2668 static const unsigned int scifb2_clk_c_mux[] = {
2669 SCIFB2_SCK_C_MARK,
2671 static const unsigned int scifb2_data_d_pins[] = {
2672 /* RXD, TXD */
2673 RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 25),
2675 static const unsigned int scifb2_data_d_mux[] = {
2676 SCIFB2_RXD_D_MARK, SCIFB2_TXD_D_MARK,
2678 /* - SDHI0 ------------------------------------------------------------------ */
2679 static const unsigned int sdhi0_data1_pins[] = {
2680 /* D0 */
2681 RCAR_GP_PIN(6, 2),
2683 static const unsigned int sdhi0_data1_mux[] = {
2684 SD0_DATA0_MARK,
2686 static const unsigned int sdhi0_data4_pins[] = {
2687 /* D[0:3] */
2688 RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
2689 RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 5),
2691 static const unsigned int sdhi0_data4_mux[] = {
2692 SD0_DATA0_MARK, SD0_DATA1_MARK, SD0_DATA2_MARK, SD0_DATA3_MARK,
2694 static const unsigned int sdhi0_ctrl_pins[] = {
2695 /* CLK, CMD */
2696 RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1),
2698 static const unsigned int sdhi0_ctrl_mux[] = {
2699 SD0_CLK_MARK, SD0_CMD_MARK,
2701 static const unsigned int sdhi0_cd_pins[] = {
2702 /* CD */
2703 RCAR_GP_PIN(6, 6),
2705 static const unsigned int sdhi0_cd_mux[] = {
2706 SD0_CD_MARK,
2708 static const unsigned int sdhi0_wp_pins[] = {
2709 /* WP */
2710 RCAR_GP_PIN(6, 7),
2712 static const unsigned int sdhi0_wp_mux[] = {
2713 SD0_WP_MARK,
2715 /* - SDHI1 ------------------------------------------------------------------ */
2716 static const unsigned int sdhi1_data1_pins[] = {
2717 /* D0 */
2718 RCAR_GP_PIN(6, 10),
2720 static const unsigned int sdhi1_data1_mux[] = {
2721 SD1_DATA0_MARK,
2723 static const unsigned int sdhi1_data4_pins[] = {
2724 /* D[0:3] */
2725 RCAR_GP_PIN(6, 10), RCAR_GP_PIN(6, 11),
2726 RCAR_GP_PIN(6, 12), RCAR_GP_PIN(6, 13),
2728 static const unsigned int sdhi1_data4_mux[] = {
2729 SD1_DATA0_MARK, SD1_DATA1_MARK, SD1_DATA2_MARK, SD1_DATA3_MARK,
2731 static const unsigned int sdhi1_ctrl_pins[] = {
2732 /* CLK, CMD */
2733 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
2735 static const unsigned int sdhi1_ctrl_mux[] = {
2736 SD1_CLK_MARK, SD1_CMD_MARK,
2738 static const unsigned int sdhi1_cd_pins[] = {
2739 /* CD */
2740 RCAR_GP_PIN(6, 14),
2742 static const unsigned int sdhi1_cd_mux[] = {
2743 SD1_CD_MARK,
2745 static const unsigned int sdhi1_wp_pins[] = {
2746 /* WP */
2747 RCAR_GP_PIN(6, 15),
2749 static const unsigned int sdhi1_wp_mux[] = {
2750 SD1_WP_MARK,
2752 /* - SDHI2 ------------------------------------------------------------------ */
2753 static const unsigned int sdhi2_data1_pins[] = {
2754 /* D0 */
2755 RCAR_GP_PIN(6, 18),
2757 static const unsigned int sdhi2_data1_mux[] = {
2758 SD2_DATA0_MARK,
2760 static const unsigned int sdhi2_data4_pins[] = {
2761 /* D[0:3] */
2762 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
2763 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
2765 static const unsigned int sdhi2_data4_mux[] = {
2766 SD2_DATA0_MARK, SD2_DATA1_MARK, SD2_DATA2_MARK, SD2_DATA3_MARK,
2768 static const unsigned int sdhi2_ctrl_pins[] = {
2769 /* CLK, CMD */
2770 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
2772 static const unsigned int sdhi2_ctrl_mux[] = {
2773 SD2_CLK_MARK, SD2_CMD_MARK,
2775 static const unsigned int sdhi2_cd_pins[] = {
2776 /* CD */
2777 RCAR_GP_PIN(6, 22),
2779 static const unsigned int sdhi2_cd_mux[] = {
2780 SD2_CD_MARK,
2782 static const unsigned int sdhi2_wp_pins[] = {
2783 /* WP */
2784 RCAR_GP_PIN(6, 23),
2786 static const unsigned int sdhi2_wp_mux[] = {
2787 SD2_WP_MARK,
2789 /* - USB0 ------------------------------------------------------------------- */
2790 static const unsigned int usb0_pins[] = {
2791 RCAR_GP_PIN(7, 23), /* PWEN */
2792 RCAR_GP_PIN(7, 24), /* OVC */
2794 static const unsigned int usb0_mux[] = {
2795 USB0_PWEN_MARK,
2796 USB0_OVC_MARK,
2798 /* - USB1 ------------------------------------------------------------------- */
2799 static const unsigned int usb1_pins[] = {
2800 RCAR_GP_PIN(7, 25), /* PWEN */
2801 RCAR_GP_PIN(6, 30), /* OVC */
2803 static const unsigned int usb1_mux[] = {
2804 USB1_PWEN_MARK,
2805 USB1_OVC_MARK,
2808 union vin_data {
2809 unsigned int data24[24];
2810 unsigned int data20[20];
2811 unsigned int data16[16];
2812 unsigned int data12[12];
2813 unsigned int data10[10];
2814 unsigned int data8[8];
2817 #define VIN_DATA_PIN_GROUP(n, s) \
2819 .name = #n#s, \
2820 .pins = n##_pins.data##s, \
2821 .mux = n##_mux.data##s, \
2822 .nr_pins = ARRAY_SIZE(n##_pins.data##s), \
2825 /* - VIN0 ------------------------------------------------------------------- */
2826 static const union vin_data vin0_data_pins = {
2827 .data24 = {
2828 /* B */
2829 RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6),
2830 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
2831 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
2832 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
2833 /* G */
2834 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
2835 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
2836 RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
2837 RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
2838 /* R */
2839 RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22),
2840 RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
2841 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
2842 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
2845 static const union vin_data vin0_data_mux = {
2846 .data24 = {
2847 /* B */
2848 VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
2849 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
2850 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
2851 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
2852 /* G */
2853 VI0_G0_MARK, VI0_G1_MARK,
2854 VI0_G2_MARK, VI0_G3_MARK,
2855 VI0_G4_MARK, VI0_G5_MARK,
2856 VI0_G6_MARK, VI0_G7_MARK,
2857 /* R */
2858 VI0_R0_MARK, VI0_R1_MARK,
2859 VI0_R2_MARK, VI0_R3_MARK,
2860 VI0_R4_MARK, VI0_R5_MARK,
2861 VI0_R6_MARK, VI0_R7_MARK,
2864 static const unsigned int vin0_data18_pins[] = {
2865 /* B */
2866 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
2867 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
2868 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
2869 /* G */
2870 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
2871 RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
2872 RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
2873 /* R */
2874 RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
2875 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
2876 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
2878 static const unsigned int vin0_data18_mux[] = {
2879 /* B */
2880 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
2881 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
2882 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
2883 /* G */
2884 VI0_G2_MARK, VI0_G3_MARK,
2885 VI0_G4_MARK, VI0_G5_MARK,
2886 VI0_G6_MARK, VI0_G7_MARK,
2887 /* R */
2888 VI0_R2_MARK, VI0_R3_MARK,
2889 VI0_R4_MARK, VI0_R5_MARK,
2890 VI0_R6_MARK, VI0_R7_MARK,
2892 static const unsigned int vin0_sync_pins[] = {
2893 RCAR_GP_PIN(4, 3), /* HSYNC */
2894 RCAR_GP_PIN(4, 4), /* VSYNC */
2896 static const unsigned int vin0_sync_mux[] = {
2897 VI0_HSYNC_N_MARK,
2898 VI0_VSYNC_N_MARK,
2900 static const unsigned int vin0_field_pins[] = {
2901 RCAR_GP_PIN(4, 2),
2903 static const unsigned int vin0_field_mux[] = {
2904 VI0_FIELD_MARK,
2906 static const unsigned int vin0_clkenb_pins[] = {
2907 RCAR_GP_PIN(4, 1),
2909 static const unsigned int vin0_clkenb_mux[] = {
2910 VI0_CLKENB_MARK,
2912 static const unsigned int vin0_clk_pins[] = {
2913 RCAR_GP_PIN(4, 0),
2915 static const unsigned int vin0_clk_mux[] = {
2916 VI0_CLK_MARK,
2918 /* - VIN1 ----------------------------------------------------------------- */
2919 static const unsigned int vin1_data8_pins[] = {
2920 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
2921 RCAR_GP_PIN(5, 7), RCAR_GP_PIN(5, 8),
2922 RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 10),
2923 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
2925 static const unsigned int vin1_data8_mux[] = {
2926 VI1_DATA0_MARK, VI1_DATA1_MARK,
2927 VI1_DATA2_MARK, VI1_DATA3_MARK,
2928 VI1_DATA4_MARK, VI1_DATA5_MARK,
2929 VI1_DATA6_MARK, VI1_DATA7_MARK,
2931 static const unsigned int vin1_sync_pins[] = {
2932 RCAR_GP_PIN(5, 0), /* HSYNC */
2933 RCAR_GP_PIN(5, 1), /* VSYNC */
2935 static const unsigned int vin1_sync_mux[] = {
2936 VI1_HSYNC_N_MARK,
2937 VI1_VSYNC_N_MARK,
2939 static const unsigned int vin1_field_pins[] = {
2940 RCAR_GP_PIN(5, 3),
2942 static const unsigned int vin1_field_mux[] = {
2943 VI1_FIELD_MARK,
2945 static const unsigned int vin1_clkenb_pins[] = {
2946 RCAR_GP_PIN(5, 2),
2948 static const unsigned int vin1_clkenb_mux[] = {
2949 VI1_CLKENB_MARK,
2951 static const unsigned int vin1_clk_pins[] = {
2952 RCAR_GP_PIN(5, 4),
2954 static const unsigned int vin1_clk_mux[] = {
2955 VI1_CLK_MARK,
2957 static const union vin_data vin1_b_data_pins = {
2958 .data24 = {
2959 /* B */
2960 RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
2961 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
2962 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
2963 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
2964 /* G */
2965 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
2966 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
2967 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
2968 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
2969 /* R */
2970 RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
2971 RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
2972 RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
2973 RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
2976 static const union vin_data vin1_b_data_mux = {
2977 .data24 = {
2978 /* B */
2979 VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
2980 VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
2981 VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
2982 VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
2983 /* G */
2984 VI1_G0_B_MARK, VI1_G1_B_MARK,
2985 VI1_G2_B_MARK, VI1_G3_B_MARK,
2986 VI1_G4_B_MARK, VI1_G5_B_MARK,
2987 VI1_G6_B_MARK, VI1_G7_B_MARK,
2988 /* R */
2989 VI1_R0_B_MARK, VI1_R1_B_MARK,
2990 VI1_R2_B_MARK, VI1_R3_B_MARK,
2991 VI1_R4_B_MARK, VI1_R5_B_MARK,
2992 VI1_R6_B_MARK, VI1_R7_B_MARK,
2995 static const unsigned int vin1_b_data18_pins[] = {
2996 /* B */
2997 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
2998 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
2999 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
3000 /* G */
3001 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
3002 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
3003 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
3004 /* R */
3005 RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
3006 RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
3007 RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
3009 static const unsigned int vin1_b_data18_mux[] = {
3010 /* B */
3011 VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
3012 VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
3013 VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
3014 VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
3015 /* G */
3016 VI1_G0_B_MARK, VI1_G1_B_MARK,
3017 VI1_G2_B_MARK, VI1_G3_B_MARK,
3018 VI1_G4_B_MARK, VI1_G5_B_MARK,
3019 VI1_G6_B_MARK, VI1_G7_B_MARK,
3020 /* R */
3021 VI1_R0_B_MARK, VI1_R1_B_MARK,
3022 VI1_R2_B_MARK, VI1_R3_B_MARK,
3023 VI1_R4_B_MARK, VI1_R5_B_MARK,
3024 VI1_R6_B_MARK, VI1_R7_B_MARK,
3026 static const unsigned int vin1_b_sync_pins[] = {
3027 RCAR_GP_PIN(3, 17), /* HSYNC */
3028 RCAR_GP_PIN(3, 18), /* VSYNC */
3030 static const unsigned int vin1_b_sync_mux[] = {
3031 VI1_HSYNC_N_B_MARK,
3032 VI1_VSYNC_N_B_MARK,
3034 static const unsigned int vin1_b_field_pins[] = {
3035 RCAR_GP_PIN(3, 20),
3037 static const unsigned int vin1_b_field_mux[] = {
3038 VI1_FIELD_B_MARK,
3040 static const unsigned int vin1_b_clkenb_pins[] = {
3041 RCAR_GP_PIN(3, 19),
3043 static const unsigned int vin1_b_clkenb_mux[] = {
3044 VI1_CLKENB_B_MARK,
3046 static const unsigned int vin1_b_clk_pins[] = {
3047 RCAR_GP_PIN(3, 16),
3049 static const unsigned int vin1_b_clk_mux[] = {
3050 VI1_CLK_B_MARK,
3052 /* - VIN2 ----------------------------------------------------------------- */
3053 static const unsigned int vin2_data8_pins[] = {
3054 RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
3055 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
3056 RCAR_GP_PIN(4, 24), RCAR_GP_PIN(4, 25),
3057 RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 27),
3059 static const unsigned int vin2_data8_mux[] = {
3060 VI2_DATA0_MARK, VI2_DATA1_MARK,
3061 VI2_DATA2_MARK, VI2_DATA3_MARK,
3062 VI2_DATA4_MARK, VI2_DATA5_MARK,
3063 VI2_DATA6_MARK, VI2_DATA7_MARK,
3065 static const unsigned int vin2_sync_pins[] = {
3066 RCAR_GP_PIN(4, 15), /* HSYNC */
3067 RCAR_GP_PIN(4, 16), /* VSYNC */
3069 static const unsigned int vin2_sync_mux[] = {
3070 VI2_HSYNC_N_MARK,
3071 VI2_VSYNC_N_MARK,
3073 static const unsigned int vin2_field_pins[] = {
3074 RCAR_GP_PIN(4, 18),
3076 static const unsigned int vin2_field_mux[] = {
3077 VI2_FIELD_MARK,
3079 static const unsigned int vin2_clkenb_pins[] = {
3080 RCAR_GP_PIN(4, 17),
3082 static const unsigned int vin2_clkenb_mux[] = {
3083 VI2_CLKENB_MARK,
3085 static const unsigned int vin2_clk_pins[] = {
3086 RCAR_GP_PIN(4, 19),
3088 static const unsigned int vin2_clk_mux[] = {
3089 VI2_CLK_MARK,
3092 static const struct sh_pfc_pin_group pinmux_groups[] = {
3093 SH_PFC_PIN_GROUP(du_rgb666),
3094 SH_PFC_PIN_GROUP(du_rgb888),
3095 SH_PFC_PIN_GROUP(du_clk_out_0),
3096 SH_PFC_PIN_GROUP(du_clk_out_1),
3097 SH_PFC_PIN_GROUP(du_sync),
3098 SH_PFC_PIN_GROUP(du_cde_disp),
3099 SH_PFC_PIN_GROUP(du0_clk_in),
3100 SH_PFC_PIN_GROUP(du1_clk_in),
3101 SH_PFC_PIN_GROUP(du1_clk_in_b),
3102 SH_PFC_PIN_GROUP(du1_clk_in_c),
3103 SH_PFC_PIN_GROUP(eth_link),
3104 SH_PFC_PIN_GROUP(eth_magic),
3105 SH_PFC_PIN_GROUP(eth_mdio),
3106 SH_PFC_PIN_GROUP(eth_rmii),
3107 SH_PFC_PIN_GROUP(i2c0),
3108 SH_PFC_PIN_GROUP(i2c0_b),
3109 SH_PFC_PIN_GROUP(i2c0_c),
3110 SH_PFC_PIN_GROUP(i2c1),
3111 SH_PFC_PIN_GROUP(i2c1_b),
3112 SH_PFC_PIN_GROUP(i2c1_c),
3113 SH_PFC_PIN_GROUP(i2c1_d),
3114 SH_PFC_PIN_GROUP(i2c1_e),
3115 SH_PFC_PIN_GROUP(i2c2),
3116 SH_PFC_PIN_GROUP(i2c2_b),
3117 SH_PFC_PIN_GROUP(i2c2_c),
3118 SH_PFC_PIN_GROUP(i2c2_d),
3119 SH_PFC_PIN_GROUP(i2c3),
3120 SH_PFC_PIN_GROUP(i2c3_b),
3121 SH_PFC_PIN_GROUP(i2c3_c),
3122 SH_PFC_PIN_GROUP(i2c3_d),
3123 SH_PFC_PIN_GROUP(i2c4),
3124 SH_PFC_PIN_GROUP(i2c4_b),
3125 SH_PFC_PIN_GROUP(i2c4_c),
3126 SH_PFC_PIN_GROUP(intc_irq0),
3127 SH_PFC_PIN_GROUP(intc_irq1),
3128 SH_PFC_PIN_GROUP(intc_irq2),
3129 SH_PFC_PIN_GROUP(intc_irq3),
3130 SH_PFC_PIN_GROUP(mmc_data1),
3131 SH_PFC_PIN_GROUP(mmc_data4),
3132 SH_PFC_PIN_GROUP(mmc_data8),
3133 SH_PFC_PIN_GROUP(mmc_ctrl),
3134 SH_PFC_PIN_GROUP(msiof0_clk),
3135 SH_PFC_PIN_GROUP(msiof0_sync),
3136 SH_PFC_PIN_GROUP(msiof0_ss1),
3137 SH_PFC_PIN_GROUP(msiof0_ss2),
3138 SH_PFC_PIN_GROUP(msiof0_rx),
3139 SH_PFC_PIN_GROUP(msiof0_tx),
3140 SH_PFC_PIN_GROUP(msiof1_clk),
3141 SH_PFC_PIN_GROUP(msiof1_sync),
3142 SH_PFC_PIN_GROUP(msiof1_ss1),
3143 SH_PFC_PIN_GROUP(msiof1_ss2),
3144 SH_PFC_PIN_GROUP(msiof1_rx),
3145 SH_PFC_PIN_GROUP(msiof1_tx),
3146 SH_PFC_PIN_GROUP(msiof2_clk),
3147 SH_PFC_PIN_GROUP(msiof2_sync),
3148 SH_PFC_PIN_GROUP(msiof2_ss1),
3149 SH_PFC_PIN_GROUP(msiof2_ss2),
3150 SH_PFC_PIN_GROUP(msiof2_rx),
3151 SH_PFC_PIN_GROUP(msiof2_tx),
3152 SH_PFC_PIN_GROUP(scif0_data),
3153 SH_PFC_PIN_GROUP(scif0_data_b),
3154 SH_PFC_PIN_GROUP(scif0_data_c),
3155 SH_PFC_PIN_GROUP(scif0_data_d),
3156 SH_PFC_PIN_GROUP(scif0_data_e),
3157 SH_PFC_PIN_GROUP(scif1_data),
3158 SH_PFC_PIN_GROUP(scif1_data_b),
3159 SH_PFC_PIN_GROUP(scif1_clk_b),
3160 SH_PFC_PIN_GROUP(scif1_data_c),
3161 SH_PFC_PIN_GROUP(scif1_data_d),
3162 SH_PFC_PIN_GROUP(scif2_data),
3163 SH_PFC_PIN_GROUP(scif2_data_b),
3164 SH_PFC_PIN_GROUP(scif2_clk_b),
3165 SH_PFC_PIN_GROUP(scif2_data_c),
3166 SH_PFC_PIN_GROUP(scif2_data_e),
3167 SH_PFC_PIN_GROUP(scif3_data),
3168 SH_PFC_PIN_GROUP(scif3_clk),
3169 SH_PFC_PIN_GROUP(scif3_data_b),
3170 SH_PFC_PIN_GROUP(scif3_clk_b),
3171 SH_PFC_PIN_GROUP(scif3_data_c),
3172 SH_PFC_PIN_GROUP(scif3_data_d),
3173 SH_PFC_PIN_GROUP(scif4_data),
3174 SH_PFC_PIN_GROUP(scif4_data_b),
3175 SH_PFC_PIN_GROUP(scif4_data_c),
3176 SH_PFC_PIN_GROUP(scif5_data),
3177 SH_PFC_PIN_GROUP(scif5_data_b),
3178 SH_PFC_PIN_GROUP(scifa0_data),
3179 SH_PFC_PIN_GROUP(scifa0_data_b),
3180 SH_PFC_PIN_GROUP(scifa1_data),
3181 SH_PFC_PIN_GROUP(scifa1_clk),
3182 SH_PFC_PIN_GROUP(scifa1_data_b),
3183 SH_PFC_PIN_GROUP(scifa1_clk_b),
3184 SH_PFC_PIN_GROUP(scifa1_data_c),
3185 SH_PFC_PIN_GROUP(scifa2_data),
3186 SH_PFC_PIN_GROUP(scifa2_clk),
3187 SH_PFC_PIN_GROUP(scifa2_data_b),
3188 SH_PFC_PIN_GROUP(scifa3_data),
3189 SH_PFC_PIN_GROUP(scifa3_clk),
3190 SH_PFC_PIN_GROUP(scifa3_data_b),
3191 SH_PFC_PIN_GROUP(scifa3_clk_b),
3192 SH_PFC_PIN_GROUP(scifa3_data_c),
3193 SH_PFC_PIN_GROUP(scifa3_clk_c),
3194 SH_PFC_PIN_GROUP(scifa4_data),
3195 SH_PFC_PIN_GROUP(scifa4_data_b),
3196 SH_PFC_PIN_GROUP(scifa4_data_c),
3197 SH_PFC_PIN_GROUP(scifa5_data),
3198 SH_PFC_PIN_GROUP(scifa5_data_b),
3199 SH_PFC_PIN_GROUP(scifa5_data_c),
3200 SH_PFC_PIN_GROUP(scifb0_data),
3201 SH_PFC_PIN_GROUP(scifb0_clk),
3202 SH_PFC_PIN_GROUP(scifb0_ctrl),
3203 SH_PFC_PIN_GROUP(scifb0_data_b),
3204 SH_PFC_PIN_GROUP(scifb0_clk_b),
3205 SH_PFC_PIN_GROUP(scifb0_ctrl_b),
3206 SH_PFC_PIN_GROUP(scifb0_data_c),
3207 SH_PFC_PIN_GROUP(scifb0_clk_c),
3208 SH_PFC_PIN_GROUP(scifb0_data_d),
3209 SH_PFC_PIN_GROUP(scifb0_clk_d),
3210 SH_PFC_PIN_GROUP(scifb1_data),
3211 SH_PFC_PIN_GROUP(scifb1_clk),
3212 SH_PFC_PIN_GROUP(scifb1_ctrl),
3213 SH_PFC_PIN_GROUP(scifb1_data_b),
3214 SH_PFC_PIN_GROUP(scifb1_clk_b),
3215 SH_PFC_PIN_GROUP(scifb1_data_c),
3216 SH_PFC_PIN_GROUP(scifb1_clk_c),
3217 SH_PFC_PIN_GROUP(scifb1_data_d),
3218 SH_PFC_PIN_GROUP(scifb2_data),
3219 SH_PFC_PIN_GROUP(scifb2_clk),
3220 SH_PFC_PIN_GROUP(scifb2_ctrl),
3221 SH_PFC_PIN_GROUP(scifb2_data_b),
3222 SH_PFC_PIN_GROUP(scifb2_clk_b),
3223 SH_PFC_PIN_GROUP(scifb2_ctrl_b),
3224 SH_PFC_PIN_GROUP(scifb2_data_c),
3225 SH_PFC_PIN_GROUP(scifb2_clk_c),
3226 SH_PFC_PIN_GROUP(scifb2_data_d),
3227 SH_PFC_PIN_GROUP(sdhi0_data1),
3228 SH_PFC_PIN_GROUP(sdhi0_data4),
3229 SH_PFC_PIN_GROUP(sdhi0_ctrl),
3230 SH_PFC_PIN_GROUP(sdhi0_cd),
3231 SH_PFC_PIN_GROUP(sdhi0_wp),
3232 SH_PFC_PIN_GROUP(sdhi1_data1),
3233 SH_PFC_PIN_GROUP(sdhi1_data4),
3234 SH_PFC_PIN_GROUP(sdhi1_ctrl),
3235 SH_PFC_PIN_GROUP(sdhi1_cd),
3236 SH_PFC_PIN_GROUP(sdhi1_wp),
3237 SH_PFC_PIN_GROUP(sdhi2_data1),
3238 SH_PFC_PIN_GROUP(sdhi2_data4),
3239 SH_PFC_PIN_GROUP(sdhi2_ctrl),
3240 SH_PFC_PIN_GROUP(sdhi2_cd),
3241 SH_PFC_PIN_GROUP(sdhi2_wp),
3242 SH_PFC_PIN_GROUP(usb0),
3243 SH_PFC_PIN_GROUP(usb1),
3244 VIN_DATA_PIN_GROUP(vin0_data, 24),
3245 VIN_DATA_PIN_GROUP(vin0_data, 20),
3246 SH_PFC_PIN_GROUP(vin0_data18),
3247 VIN_DATA_PIN_GROUP(vin0_data, 16),
3248 VIN_DATA_PIN_GROUP(vin0_data, 12),
3249 VIN_DATA_PIN_GROUP(vin0_data, 10),
3250 VIN_DATA_PIN_GROUP(vin0_data, 8),
3251 SH_PFC_PIN_GROUP(vin0_sync),
3252 SH_PFC_PIN_GROUP(vin0_field),
3253 SH_PFC_PIN_GROUP(vin0_clkenb),
3254 SH_PFC_PIN_GROUP(vin0_clk),
3255 SH_PFC_PIN_GROUP(vin1_data8),
3256 SH_PFC_PIN_GROUP(vin1_sync),
3257 SH_PFC_PIN_GROUP(vin1_field),
3258 SH_PFC_PIN_GROUP(vin1_clkenb),
3259 SH_PFC_PIN_GROUP(vin1_clk),
3260 VIN_DATA_PIN_GROUP(vin1_b_data, 24),
3261 VIN_DATA_PIN_GROUP(vin1_b_data, 20),
3262 SH_PFC_PIN_GROUP(vin1_b_data18),
3263 VIN_DATA_PIN_GROUP(vin1_b_data, 16),
3264 VIN_DATA_PIN_GROUP(vin1_b_data, 12),
3265 VIN_DATA_PIN_GROUP(vin1_b_data, 10),
3266 VIN_DATA_PIN_GROUP(vin1_b_data, 8),
3267 SH_PFC_PIN_GROUP(vin1_b_sync),
3268 SH_PFC_PIN_GROUP(vin1_b_field),
3269 SH_PFC_PIN_GROUP(vin1_b_clkenb),
3270 SH_PFC_PIN_GROUP(vin1_b_clk),
3271 SH_PFC_PIN_GROUP(vin2_data8),
3272 SH_PFC_PIN_GROUP(vin2_sync),
3273 SH_PFC_PIN_GROUP(vin2_field),
3274 SH_PFC_PIN_GROUP(vin2_clkenb),
3275 SH_PFC_PIN_GROUP(vin2_clk),
3278 static const char * const du_groups[] = {
3279 "du_rgb666",
3280 "du_rgb888",
3281 "du_clk_out_0",
3282 "du_clk_out_1",
3283 "du_sync",
3284 "du_cde_disp",
3287 static const char * const du0_groups[] = {
3288 "du0_clk_in",
3291 static const char * const du1_groups[] = {
3292 "du1_clk_in",
3293 "du1_clk_in_b",
3294 "du1_clk_in_c",
3297 static const char * const eth_groups[] = {
3298 "eth_link",
3299 "eth_magic",
3300 "eth_mdio",
3301 "eth_rmii",
3304 static const char * const i2c0_groups[] = {
3305 "i2c0",
3306 "i2c0_b",
3307 "i2c0_c",
3310 static const char * const i2c1_groups[] = {
3311 "i2c1",
3312 "i2c1_b",
3313 "i2c1_c",
3314 "i2c1_d",
3315 "i2c1_e",
3318 static const char * const i2c2_groups[] = {
3319 "i2c2",
3320 "i2c2_b",
3321 "i2c2_c",
3322 "i2c2_d",
3325 static const char * const i2c3_groups[] = {
3326 "i2c3",
3327 "i2c3_b",
3328 "i2c3_c",
3329 "i2c3_d",
3332 static const char * const i2c4_groups[] = {
3333 "i2c4",
3334 "i2c4_b",
3335 "i2c4_c",
3338 static const char * const intc_groups[] = {
3339 "intc_irq0",
3340 "intc_irq1",
3341 "intc_irq2",
3342 "intc_irq3",
3345 static const char * const mmc_groups[] = {
3346 "mmc_data1",
3347 "mmc_data4",
3348 "mmc_data8",
3349 "mmc_ctrl",
3352 static const char * const msiof0_groups[] = {
3353 "msiof0_clk",
3354 "msiof0_sync",
3355 "msiof0_ss1",
3356 "msiof0_ss2",
3357 "msiof0_rx",
3358 "msiof0_tx",
3361 static const char * const msiof1_groups[] = {
3362 "msiof1_clk",
3363 "msiof1_sync",
3364 "msiof1_ss1",
3365 "msiof1_ss2",
3366 "msiof1_rx",
3367 "msiof1_tx",
3370 static const char * const msiof2_groups[] = {
3371 "msiof2_clk",
3372 "msiof2_sync",
3373 "msiof2_ss1",
3374 "msiof2_ss2",
3375 "msiof2_rx",
3376 "msiof2_tx",
3379 static const char * const scif0_groups[] = {
3380 "scif0_data",
3381 "scif0_data_b",
3382 "scif0_data_c",
3383 "scif0_data_d",
3384 "scif0_data_e",
3387 static const char * const scif1_groups[] = {
3388 "scif1_data",
3389 "scif1_data_b",
3390 "scif1_clk_b",
3391 "scif1_data_c",
3392 "scif1_data_d",
3395 static const char * const scif2_groups[] = {
3396 "scif2_data",
3397 "scif2_data_b",
3398 "scif2_clk_b",
3399 "scif2_data_c",
3400 "scif2_data_e",
3402 static const char * const scif3_groups[] = {
3403 "scif3_data",
3404 "scif3_clk",
3405 "scif3_data_b",
3406 "scif3_clk_b",
3407 "scif3_data_c",
3408 "scif3_data_d",
3410 static const char * const scif4_groups[] = {
3411 "scif4_data",
3412 "scif4_data_b",
3413 "scif4_data_c",
3415 static const char * const scif5_groups[] = {
3416 "scif5_data",
3417 "scif5_data_b",
3419 static const char * const scifa0_groups[] = {
3420 "scifa0_data",
3421 "scifa0_data_b",
3423 static const char * const scifa1_groups[] = {
3424 "scifa1_data",
3425 "scifa1_clk",
3426 "scifa1_data_b",
3427 "scifa1_clk_b",
3428 "scifa1_data_c",
3430 static const char * const scifa2_groups[] = {
3431 "scifa2_data",
3432 "scifa2_clk",
3433 "scifa2_data_b",
3435 static const char * const scifa3_groups[] = {
3436 "scifa3_data",
3437 "scifa3_clk",
3438 "scifa3_data_b",
3439 "scifa3_clk_b",
3440 "scifa3_data_c",
3441 "scifa3_clk_c",
3443 static const char * const scifa4_groups[] = {
3444 "scifa4_data",
3445 "scifa4_data_b",
3446 "scifa4_data_c",
3448 static const char * const scifa5_groups[] = {
3449 "scifa5_data",
3450 "scifa5_data_b",
3451 "scifa5_data_c",
3453 static const char * const scifb0_groups[] = {
3454 "scifb0_data",
3455 "scifb0_clk",
3456 "scifb0_ctrl",
3457 "scifb0_data_b",
3458 "scifb0_clk_b",
3459 "scifb0_ctrl_b",
3460 "scifb0_data_c",
3461 "scifb0_clk_c",
3462 "scifb0_data_d",
3463 "scifb0_clk_d",
3465 static const char * const scifb1_groups[] = {
3466 "scifb1_data",
3467 "scifb1_clk",
3468 "scifb1_ctrl",
3469 "scifb1_data_b",
3470 "scifb1_clk_b",
3471 "scifb1_data_c",
3472 "scifb1_clk_c",
3473 "scifb1_data_d",
3475 static const char * const scifb2_groups[] = {
3476 "scifb2_data",
3477 "scifb2_clk",
3478 "scifb2_ctrl",
3479 "scifb2_data_b",
3480 "scifb2_clk_b",
3481 "scifb2_ctrl_b",
3482 "scifb0_data_c",
3483 "scifb2_clk_c",
3484 "scifb2_data_d",
3487 static const char * const sdhi0_groups[] = {
3488 "sdhi0_data1",
3489 "sdhi0_data4",
3490 "sdhi0_ctrl",
3491 "sdhi0_cd",
3492 "sdhi0_wp",
3495 static const char * const sdhi1_groups[] = {
3496 "sdhi1_data1",
3497 "sdhi1_data4",
3498 "sdhi1_ctrl",
3499 "sdhi1_cd",
3500 "sdhi1_wp",
3503 static const char * const sdhi2_groups[] = {
3504 "sdhi2_data1",
3505 "sdhi2_data4",
3506 "sdhi2_ctrl",
3507 "sdhi2_cd",
3508 "sdhi2_wp",
3511 static const char * const usb0_groups[] = {
3512 "usb0",
3514 static const char * const usb1_groups[] = {
3515 "usb1",
3518 static const char * const vin0_groups[] = {
3519 "vin0_data24",
3520 "vin0_data20",
3521 "vin0_data18",
3522 "vin0_data16",
3523 "vin0_data12",
3524 "vin0_data10",
3525 "vin0_data8",
3526 "vin0_sync",
3527 "vin0_field",
3528 "vin0_clkenb",
3529 "vin0_clk",
3532 static const char * const vin1_groups[] = {
3533 "vin1_data8",
3534 "vin1_sync",
3535 "vin1_field",
3536 "vin1_clkenb",
3537 "vin1_clk",
3538 "vin1_b_data24",
3539 "vin1_b_data20",
3540 "vin1_b_data18",
3541 "vin1_b_data16",
3542 "vin1_b_data12",
3543 "vin1_b_data10",
3544 "vin1_b_data8",
3545 "vin1_b_sync",
3546 "vin1_b_field",
3547 "vin1_b_clkenb",
3548 "vin1_b_clk",
3551 static const char * const vin2_groups[] = {
3552 "vin2_data8",
3553 "vin2_sync",
3554 "vin2_field",
3555 "vin2_clkenb",
3556 "vin2_clk",
3559 static const struct sh_pfc_function pinmux_functions[] = {
3560 SH_PFC_FUNCTION(du),
3561 SH_PFC_FUNCTION(du0),
3562 SH_PFC_FUNCTION(du1),
3563 SH_PFC_FUNCTION(eth),
3564 SH_PFC_FUNCTION(i2c0),
3565 SH_PFC_FUNCTION(i2c1),
3566 SH_PFC_FUNCTION(i2c2),
3567 SH_PFC_FUNCTION(i2c3),
3568 SH_PFC_FUNCTION(i2c4),
3569 SH_PFC_FUNCTION(intc),
3570 SH_PFC_FUNCTION(mmc),
3571 SH_PFC_FUNCTION(msiof0),
3572 SH_PFC_FUNCTION(msiof1),
3573 SH_PFC_FUNCTION(msiof2),
3574 SH_PFC_FUNCTION(scif0),
3575 SH_PFC_FUNCTION(scif1),
3576 SH_PFC_FUNCTION(scif2),
3577 SH_PFC_FUNCTION(scif3),
3578 SH_PFC_FUNCTION(scif4),
3579 SH_PFC_FUNCTION(scif5),
3580 SH_PFC_FUNCTION(scifa0),
3581 SH_PFC_FUNCTION(scifa1),
3582 SH_PFC_FUNCTION(scifa2),
3583 SH_PFC_FUNCTION(scifa3),
3584 SH_PFC_FUNCTION(scifa4),
3585 SH_PFC_FUNCTION(scifa5),
3586 SH_PFC_FUNCTION(scifb0),
3587 SH_PFC_FUNCTION(scifb1),
3588 SH_PFC_FUNCTION(scifb2),
3589 SH_PFC_FUNCTION(sdhi0),
3590 SH_PFC_FUNCTION(sdhi1),
3591 SH_PFC_FUNCTION(sdhi2),
3592 SH_PFC_FUNCTION(usb0),
3593 SH_PFC_FUNCTION(usb1),
3594 SH_PFC_FUNCTION(vin0),
3595 SH_PFC_FUNCTION(vin1),
3596 SH_PFC_FUNCTION(vin2),
3599 static const struct pinmux_cfg_reg pinmux_config_regs[] = {
3600 { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
3601 GP_0_31_FN, FN_IP1_22_20,
3602 GP_0_30_FN, FN_IP1_19_17,
3603 GP_0_29_FN, FN_IP1_16_14,
3604 GP_0_28_FN, FN_IP1_13_11,
3605 GP_0_27_FN, FN_IP1_10_8,
3606 GP_0_26_FN, FN_IP1_7_6,
3607 GP_0_25_FN, FN_IP1_5_4,
3608 GP_0_24_FN, FN_IP1_3_2,
3609 GP_0_23_FN, FN_IP1_1_0,
3610 GP_0_22_FN, FN_IP0_30_29,
3611 GP_0_21_FN, FN_IP0_28_27,
3612 GP_0_20_FN, FN_IP0_26_25,
3613 GP_0_19_FN, FN_IP0_24_23,
3614 GP_0_18_FN, FN_IP0_22_21,
3615 GP_0_17_FN, FN_IP0_20_19,
3616 GP_0_16_FN, FN_IP0_18_16,
3617 GP_0_15_FN, FN_IP0_15,
3618 GP_0_14_FN, FN_IP0_14,
3619 GP_0_13_FN, FN_IP0_13,
3620 GP_0_12_FN, FN_IP0_12,
3621 GP_0_11_FN, FN_IP0_11,
3622 GP_0_10_FN, FN_IP0_10,
3623 GP_0_9_FN, FN_IP0_9,
3624 GP_0_8_FN, FN_IP0_8,
3625 GP_0_7_FN, FN_IP0_7,
3626 GP_0_6_FN, FN_IP0_6,
3627 GP_0_5_FN, FN_IP0_5,
3628 GP_0_4_FN, FN_IP0_4,
3629 GP_0_3_FN, FN_IP0_3,
3630 GP_0_2_FN, FN_IP0_2,
3631 GP_0_1_FN, FN_IP0_1,
3632 GP_0_0_FN, FN_IP0_0, }
3634 { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
3635 0, 0,
3636 0, 0,
3637 0, 0,
3638 0, 0,
3639 0, 0,
3640 0, 0,
3641 GP_1_25_FN, FN_IP3_21_20,
3642 GP_1_24_FN, FN_IP3_19_18,
3643 GP_1_23_FN, FN_IP3_17_16,
3644 GP_1_22_FN, FN_IP3_15_14,
3645 GP_1_21_FN, FN_IP3_13_12,
3646 GP_1_20_FN, FN_IP3_11_9,
3647 GP_1_19_FN, FN_RD_N,
3648 GP_1_18_FN, FN_IP3_8_6,
3649 GP_1_17_FN, FN_IP3_5_3,
3650 GP_1_16_FN, FN_IP3_2_0,
3651 GP_1_15_FN, FN_IP2_29_27,
3652 GP_1_14_FN, FN_IP2_26_25,
3653 GP_1_13_FN, FN_IP2_24_23,
3654 GP_1_12_FN, FN_EX_CS0_N,
3655 GP_1_11_FN, FN_IP2_22_21,
3656 GP_1_10_FN, FN_IP2_20_19,
3657 GP_1_9_FN, FN_IP2_18_16,
3658 GP_1_8_FN, FN_IP2_15_13,
3659 GP_1_7_FN, FN_IP2_12_10,
3660 GP_1_6_FN, FN_IP2_9_7,
3661 GP_1_5_FN, FN_IP2_6_5,
3662 GP_1_4_FN, FN_IP2_4_3,
3663 GP_1_3_FN, FN_IP2_2_0,
3664 GP_1_2_FN, FN_IP1_31_29,
3665 GP_1_1_FN, FN_IP1_28_26,
3666 GP_1_0_FN, FN_IP1_25_23, }
3668 { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
3669 GP_2_31_FN, FN_IP6_7_6,
3670 GP_2_30_FN, FN_IP6_5_3,
3671 GP_2_29_FN, FN_IP6_2_0,
3672 GP_2_28_FN, FN_AUDIO_CLKA,
3673 GP_2_27_FN, FN_IP5_31_29,
3674 GP_2_26_FN, FN_IP5_28_26,
3675 GP_2_25_FN, FN_IP5_25_24,
3676 GP_2_24_FN, FN_IP5_23_22,
3677 GP_2_23_FN, FN_IP5_21_20,
3678 GP_2_22_FN, FN_IP5_19_17,
3679 GP_2_21_FN, FN_IP5_16_15,
3680 GP_2_20_FN, FN_IP5_14_12,
3681 GP_2_19_FN, FN_IP5_11_9,
3682 GP_2_18_FN, FN_IP5_8_6,
3683 GP_2_17_FN, FN_IP5_5_3,
3684 GP_2_16_FN, FN_IP5_2_0,
3685 GP_2_15_FN, FN_IP4_30_28,
3686 GP_2_14_FN, FN_IP4_27_26,
3687 GP_2_13_FN, FN_IP4_25_24,
3688 GP_2_12_FN, FN_IP4_23_22,
3689 GP_2_11_FN, FN_IP4_21,
3690 GP_2_10_FN, FN_IP4_20,
3691 GP_2_9_FN, FN_IP4_19,
3692 GP_2_8_FN, FN_IP4_18_16,
3693 GP_2_7_FN, FN_IP4_15_13,
3694 GP_2_6_FN, FN_IP4_12_10,
3695 GP_2_5_FN, FN_IP4_9_8,
3696 GP_2_4_FN, FN_IP4_7_5,
3697 GP_2_3_FN, FN_IP4_4_2,
3698 GP_2_2_FN, FN_IP4_1_0,
3699 GP_2_1_FN, FN_IP3_30_28,
3700 GP_2_0_FN, FN_IP3_27_25 }
3702 { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
3703 GP_3_31_FN, FN_IP9_18_17,
3704 GP_3_30_FN, FN_IP9_16,
3705 GP_3_29_FN, FN_IP9_15_13,
3706 GP_3_28_FN, FN_IP9_12,
3707 GP_3_27_FN, FN_IP9_11,
3708 GP_3_26_FN, FN_IP9_10_8,
3709 GP_3_25_FN, FN_IP9_7,
3710 GP_3_24_FN, FN_IP9_6,
3711 GP_3_23_FN, FN_IP9_5_3,
3712 GP_3_22_FN, FN_IP9_2_0,
3713 GP_3_21_FN, FN_IP8_30_28,
3714 GP_3_20_FN, FN_IP8_27_26,
3715 GP_3_19_FN, FN_IP8_25_24,
3716 GP_3_18_FN, FN_IP8_23_21,
3717 GP_3_17_FN, FN_IP8_20_18,
3718 GP_3_16_FN, FN_IP8_17_15,
3719 GP_3_15_FN, FN_IP8_14_12,
3720 GP_3_14_FN, FN_IP8_11_9,
3721 GP_3_13_FN, FN_IP8_8_6,
3722 GP_3_12_FN, FN_IP8_5_3,
3723 GP_3_11_FN, FN_IP8_2_0,
3724 GP_3_10_FN, FN_IP7_29_27,
3725 GP_3_9_FN, FN_IP7_26_24,
3726 GP_3_8_FN, FN_IP7_23_21,
3727 GP_3_7_FN, FN_IP7_20_19,
3728 GP_3_6_FN, FN_IP7_18_17,
3729 GP_3_5_FN, FN_IP7_16_15,
3730 GP_3_4_FN, FN_IP7_14_13,
3731 GP_3_3_FN, FN_IP7_12_11,
3732 GP_3_2_FN, FN_IP7_10_9,
3733 GP_3_1_FN, FN_IP7_8_6,
3734 GP_3_0_FN, FN_IP7_5_3 }
3736 { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
3737 GP_4_31_FN, FN_IP15_5_4,
3738 GP_4_30_FN, FN_IP15_3_2,
3739 GP_4_29_FN, FN_IP15_1_0,
3740 GP_4_28_FN, FN_IP11_8_6,
3741 GP_4_27_FN, FN_IP11_5_3,
3742 GP_4_26_FN, FN_IP11_2_0,
3743 GP_4_25_FN, FN_IP10_31_29,
3744 GP_4_24_FN, FN_IP10_28_27,
3745 GP_4_23_FN, FN_IP10_26_25,
3746 GP_4_22_FN, FN_IP10_24_22,
3747 GP_4_21_FN, FN_IP10_21_19,
3748 GP_4_20_FN, FN_IP10_18_17,
3749 GP_4_19_FN, FN_IP10_16_15,
3750 GP_4_18_FN, FN_IP10_14_12,
3751 GP_4_17_FN, FN_IP10_11_9,
3752 GP_4_16_FN, FN_IP10_8_6,
3753 GP_4_15_FN, FN_IP10_5_3,
3754 GP_4_14_FN, FN_IP10_2_0,
3755 GP_4_13_FN, FN_IP9_31_29,
3756 GP_4_12_FN, FN_VI0_DATA7_VI0_B7,
3757 GP_4_11_FN, FN_VI0_DATA6_VI0_B6,
3758 GP_4_10_FN, FN_VI0_DATA5_VI0_B5,
3759 GP_4_9_FN, FN_VI0_DATA4_VI0_B4,
3760 GP_4_8_FN, FN_IP9_28_27,
3761 GP_4_7_FN, FN_VI0_DATA2_VI0_B2,
3762 GP_4_6_FN, FN_VI0_DATA1_VI0_B1,
3763 GP_4_5_FN, FN_VI0_DATA0_VI0_B0,
3764 GP_4_4_FN, FN_IP9_26_25,
3765 GP_4_3_FN, FN_IP9_24_23,
3766 GP_4_2_FN, FN_IP9_22_21,
3767 GP_4_1_FN, FN_IP9_20_19,
3768 GP_4_0_FN, FN_VI0_CLK }
3770 { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
3771 GP_5_31_FN, FN_IP3_24_22,
3772 GP_5_30_FN, FN_IP13_9_7,
3773 GP_5_29_FN, FN_IP13_6_5,
3774 GP_5_28_FN, FN_IP13_4_3,
3775 GP_5_27_FN, FN_IP13_2_0,
3776 GP_5_26_FN, FN_IP12_29_27,
3777 GP_5_25_FN, FN_IP12_26_24,
3778 GP_5_24_FN, FN_IP12_23_22,
3779 GP_5_23_FN, FN_IP12_21_20,
3780 GP_5_22_FN, FN_IP12_19_18,
3781 GP_5_21_FN, FN_IP12_17_16,
3782 GP_5_20_FN, FN_IP12_15_13,
3783 GP_5_19_FN, FN_IP12_12_10,
3784 GP_5_18_FN, FN_IP12_9_7,
3785 GP_5_17_FN, FN_IP12_6_4,
3786 GP_5_16_FN, FN_IP12_3_2,
3787 GP_5_15_FN, FN_IP12_1_0,
3788 GP_5_14_FN, FN_IP11_31_30,
3789 GP_5_13_FN, FN_IP11_29_28,
3790 GP_5_12_FN, FN_IP11_27,
3791 GP_5_11_FN, FN_IP11_26,
3792 GP_5_10_FN, FN_IP11_25,
3793 GP_5_9_FN, FN_IP11_24,
3794 GP_5_8_FN, FN_IP11_23,
3795 GP_5_7_FN, FN_IP11_22,
3796 GP_5_6_FN, FN_IP11_21,
3797 GP_5_5_FN, FN_IP11_20,
3798 GP_5_4_FN, FN_IP11_19,
3799 GP_5_3_FN, FN_IP11_18_17,
3800 GP_5_2_FN, FN_IP11_16_15,
3801 GP_5_1_FN, FN_IP11_14_12,
3802 GP_5_0_FN, FN_IP11_11_9 }
3804 { PINMUX_CFG_REG("GPSR6", 0xE606001C, 32, 1) {
3805 GP_6_31_FN, FN_DU0_DOTCLKIN,
3806 GP_6_30_FN, FN_USB1_OVC,
3807 GP_6_29_FN, FN_IP14_31_29,
3808 GP_6_28_FN, FN_IP14_28_26,
3809 GP_6_27_FN, FN_IP14_25_23,
3810 GP_6_26_FN, FN_IP14_22_20,
3811 GP_6_25_FN, FN_IP14_19_17,
3812 GP_6_24_FN, FN_IP14_16_14,
3813 GP_6_23_FN, FN_IP14_13_11,
3814 GP_6_22_FN, FN_IP14_10_8,
3815 GP_6_21_FN, FN_IP14_7,
3816 GP_6_20_FN, FN_IP14_6,
3817 GP_6_19_FN, FN_IP14_5,
3818 GP_6_18_FN, FN_IP14_4,
3819 GP_6_17_FN, FN_IP14_3,
3820 GP_6_16_FN, FN_IP14_2,
3821 GP_6_15_FN, FN_IP14_1_0,
3822 GP_6_14_FN, FN_IP13_30_28,
3823 GP_6_13_FN, FN_IP13_27,
3824 GP_6_12_FN, FN_IP13_26,
3825 GP_6_11_FN, FN_IP13_25,
3826 GP_6_10_FN, FN_IP13_24_23,
3827 GP_6_9_FN, FN_IP13_22,
3828 0, 0,
3829 GP_6_7_FN, FN_IP13_21_19,
3830 GP_6_6_FN, FN_IP13_18_16,
3831 GP_6_5_FN, FN_IP13_15,
3832 GP_6_4_FN, FN_IP13_14,
3833 GP_6_3_FN, FN_IP13_13,
3834 GP_6_2_FN, FN_IP13_12,
3835 GP_6_1_FN, FN_IP13_11,
3836 GP_6_0_FN, FN_IP13_10 }
3838 { PINMUX_CFG_REG("GPSR7", 0xE6060074, 32, 1) {
3839 0, 0,
3840 0, 0,
3841 0, 0,
3842 0, 0,
3843 0, 0,
3844 0, 0,
3845 GP_7_25_FN, FN_USB1_PWEN,
3846 GP_7_24_FN, FN_USB0_OVC,
3847 GP_7_23_FN, FN_USB0_PWEN,
3848 GP_7_22_FN, FN_IP15_14_12,
3849 GP_7_21_FN, FN_IP15_11_9,
3850 GP_7_20_FN, FN_IP15_8_6,
3851 GP_7_19_FN, FN_IP7_2_0,
3852 GP_7_18_FN, FN_IP6_29_27,
3853 GP_7_17_FN, FN_IP6_26_24,
3854 GP_7_16_FN, FN_IP6_23_21,
3855 GP_7_15_FN, FN_IP6_20_19,
3856 GP_7_14_FN, FN_IP6_18_16,
3857 GP_7_13_FN, FN_IP6_15_14,
3858 GP_7_12_FN, FN_IP6_13_12,
3859 GP_7_11_FN, FN_IP6_11_10,
3860 GP_7_10_FN, FN_IP6_9_8,
3861 GP_7_9_FN, FN_IP16_11_10,
3862 GP_7_8_FN, FN_IP16_9_8,
3863 GP_7_7_FN, FN_IP16_7_6,
3864 GP_7_6_FN, FN_IP16_5_3,
3865 GP_7_5_FN, FN_IP16_2_0,
3866 GP_7_4_FN, FN_IP15_29_27,
3867 GP_7_3_FN, FN_IP15_26_24,
3868 GP_7_2_FN, FN_IP15_23_21,
3869 GP_7_1_FN, FN_IP15_20_18,
3870 GP_7_0_FN, FN_IP15_17_15 }
3872 { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
3873 1, 2, 2, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1,
3874 1, 1, 1, 1, 1, 1, 1, 1) {
3875 /* IP0_31 [1] */
3876 0, 0,
3877 /* IP0_30_29 [2] */
3878 FN_A6, FN_MSIOF1_SCK,
3879 0, 0,
3880 /* IP0_28_27 [2] */
3881 FN_A5, FN_MSIOF0_RXD_B,
3882 0, 0,
3883 /* IP0_26_25 [2] */
3884 FN_A4, FN_MSIOF0_TXD_B,
3885 0, 0,
3886 /* IP0_24_23 [2] */
3887 FN_A3, FN_MSIOF0_SS2_B,
3888 0, 0,
3889 /* IP0_22_21 [2] */
3890 FN_A2, FN_MSIOF0_SS1_B,
3891 0, 0,
3892 /* IP0_20_19 [2] */
3893 FN_A1, FN_MSIOF0_SYNC_B,
3894 0, 0,
3895 /* IP0_18_16 [3] */
3896 FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
3897 0, 0, 0,
3898 /* IP0_15 [1] */
3899 FN_D15, 0,
3900 /* IP0_14 [1] */
3901 FN_D14, 0,
3902 /* IP0_13 [1] */
3903 FN_D13, 0,
3904 /* IP0_12 [1] */
3905 FN_D12, 0,
3906 /* IP0_11 [1] */
3907 FN_D11, 0,
3908 /* IP0_10 [1] */
3909 FN_D10, 0,
3910 /* IP0_9 [1] */
3911 FN_D9, 0,
3912 /* IP0_8 [1] */
3913 FN_D8, 0,
3914 /* IP0_7 [1] */
3915 FN_D7, 0,
3916 /* IP0_6 [1] */
3917 FN_D6, 0,
3918 /* IP0_5 [1] */
3919 FN_D5, 0,
3920 /* IP0_4 [1] */
3921 FN_D4, 0,
3922 /* IP0_3 [1] */
3923 FN_D3, 0,
3924 /* IP0_2 [1] */
3925 FN_D2, 0,
3926 /* IP0_1 [1] */
3927 FN_D1, 0,
3928 /* IP0_0 [1] */
3929 FN_D0, 0, }
3931 { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
3932 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2) {
3933 /* IP1_31_29 [3] */
3934 FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, 0, FN_SCIFB1_RXD_C,
3935 0, 0, 0,
3936 /* IP1_28_26 [3] */
3937 FN_A17, FN_DACK2_B, 0, FN_SDA0_C,
3938 0, 0, 0, 0,
3939 /* IP1_25_23 [3] */
3940 FN_A16, FN_DREQ2_B, FN_FMCLK_C, 0, FN_SCIFA1_SCK_B,
3941 0, 0, 0,
3942 /* IP1_22_20 [3] */
3943 FN_A15, FN_BPFCLK_C,
3944 0, 0, 0, 0, 0, 0,
3945 /* IP1_19_17 [3] */
3946 FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
3947 0, 0, 0,
3948 /* IP1_16_14 [3] */
3949 FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
3950 0, 0, 0, 0,
3951 /* IP1_13_11 [3] */
3952 FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
3953 0, 0, 0, 0,
3954 /* IP1_10_8 [3] */
3955 FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
3956 0, 0, 0, 0,
3957 /* IP1_7_6 [2] */
3958 FN_A10, FN_MSIOF1_TXD, 0, FN_MSIOF1_TXD_D,
3959 /* IP1_5_4 [2] */
3960 FN_A9, FN_MSIOF1_SS2, FN_SDA0, 0,
3961 /* IP1_3_2 [2] */
3962 FN_A8, FN_MSIOF1_SS1, FN_SCL0, 0,
3963 /* IP1_1_0 [2] */
3964 FN_A7, FN_MSIOF1_SYNC,
3965 0, 0, }
3967 { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
3968 2, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 3) {
3969 /* IP2_31_20 [2] */
3970 0, 0, 0, 0,
3971 /* IP2_29_27 [3] */
3972 FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD,
3973 FN_ATAG0_N, 0, FN_EX_WAIT1,
3974 0, 0,
3975 /* IP2_26_25 [2] */
3976 FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC, 0,
3977 /* IP2_24_23 [2] */
3978 FN_EX_CS1_N, FN_MSIOF2_SCK, 0, 0,
3979 /* IP2_22_21 [2] */
3980 FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1, 0,
3981 /* IP2_20_19 [2] */
3982 FN_CS0_N, FN_ATAG0_N_B, FN_SCL1, 0,
3983 /* IP2_18_16 [3] */
3984 FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
3985 0, 0,
3986 /* IP2_15_13 [3] */
3987 FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
3988 0, 0, 0,
3989 /* IP2_12_0 [3] */
3990 FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
3991 0, 0, 0,
3992 /* IP2_9_7 [3] */
3993 FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
3994 0, 0, 0,
3995 /* IP2_6_5 [2] */
3996 FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0, 0,
3997 /* IP2_4_3 [2] */
3998 FN_A20, FN_SPCLK, 0, 0,
3999 /* IP2_2_0 [3] */
4000 FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, 0,
4001 FN_SCIFB1_TXD_C, 0, FN_SCIFB1_SCK_B, 0, }
4003 { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
4004 1, 3, 3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3) {
4005 /* IP3_31 [1] */
4006 0, 0,
4007 /* IP3_30_28 [3] */
4008 FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C,
4009 FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
4010 0, 0, 0,
4011 /* IP3_27_25 [3] */
4012 FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C,
4013 FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
4014 0, 0, 0,
4015 /* IP3_24_22 [3] */
4016 FN_SPEEDIN, 0, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
4017 FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
4018 /* IP3_21_20 [2] */
4019 FN_DACK0, FN_DRACK0, FN_REMOCON, 0,
4020 /* IP3_19_18 [2] */
4021 FN_DREQ0, FN_PWM3, FN_TPU_TO3, 0,
4022 /* IP3_17_16 [2] */
4023 FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B, 0,
4024 /* IP3_15_14 [2] */
4025 FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
4026 /* IP3_13_12 [2] */
4027 FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B, 0,
4028 /* IP3_11_9 [3] */
4029 FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
4030 0, 0, 0,
4031 /* IP3_8_6 [3] */
4032 FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
4033 FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2, 0,
4034 /* IP3_5_3 [3] */
4035 FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
4036 FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1, 0,
4037 /* IP3_2_0 [3] */
4038 FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, 0, FN_EX_WAIT2,
4039 0, 0, 0, }
4041 { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
4042 1, 3, 2, 2, 2, 1, 1, 1, 3, 3, 3, 2, 3, 3, 2) {
4043 /* IP4_31 [1] */
4044 0, 0,
4045 /* IP4_30_28 [3] */
4046 FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
4047 FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
4048 0, 0,
4049 /* IP4_27_26 [2] */
4050 FN_SSI_SDATA4, FN_MSIOF2_SCK_D, 0, 0,
4051 /* IP4_25_24 [2] */
4052 FN_SSI_WS4, FN_GLO_RFON_D, 0, 0,
4053 /* IP4_23_22 [2] */
4054 FN_SSI_SCK4, FN_GLO_SS_D, 0, 0,
4055 /* IP4_21 [1] */
4056 FN_SSI_SDATA3, 0,
4057 /* IP4_20 [1] */
4058 FN_SSI_WS34, 0,
4059 /* IP4_19 [1] */
4060 FN_SSI_SCK34, 0,
4061 /* IP4_18_16 [3] */
4062 FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
4063 0, 0, 0, 0,
4064 /* IP4_15_13 [3] */
4065 FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
4066 FN_GLO_Q1_D, FN_HCTS1_N_E,
4067 0, 0,
4068 /* IP4_12_10 [3] */
4069 FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
4070 0, 0, 0,
4071 /* IP4_9_8 [2] */
4072 FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
4073 /* IP4_7_5 [3] */
4074 FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
4075 0, 0, 0,
4076 /* IP4_4_2 [3] */
4077 FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B,
4078 FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
4079 0, 0, 0,
4080 /* IP4_1_0 [2] */
4081 FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C, }
4083 { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
4084 3, 3, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3) {
4085 /* IP5_31_29 [3] */
4086 FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
4087 0, 0, 0, 0, 0,
4088 /* IP5_28_26 [3] */
4089 FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
4090 0, 0, 0, 0,
4091 /* IP5_25_24 [2] */
4092 FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D, 0,
4093 /* IP5_23_22 [2] */
4094 FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B, 0,
4095 /* IP5_21_20 [2] */
4096 FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B, 0,
4097 /* IP5_19_17 [3] */
4098 FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
4099 0, 0, 0, 0,
4100 /* IP5_16_15 [2] */
4101 FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS, 0,
4102 /* IP5_14_12 [3] */
4103 FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
4104 0, 0, 0, 0,
4105 /* IP5_11_9 [3] */
4106 FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
4107 0, 0, 0, 0,
4108 /* IP5_8_6 [3] */
4109 FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
4110 FN_MSIOF2_RXD_D, FN_VI1_R5_B,
4111 0, 0,
4112 /* IP5_5_3 [3] */
4113 FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
4114 FN_MSIOF2_SS1_D, FN_VI1_R4_B,
4115 0, 0,
4116 /* IP5_2_0 [3] */
4117 FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
4118 FN_MSIOF2_TXD_D, FN_VI1_R3_B,
4119 0, 0, }
4121 { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
4122 2, 3, 3, 3, 2, 3, 2, 2, 2, 2, 2, 3, 3) {
4123 /* IP6_31_30 [2] */
4124 0, 0, 0, 0,
4125 /* IP6_29_27 [3] */
4126 FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B,
4127 FN_GPS_SIGN_C, FN_GPS_SIGN_D,
4128 0, 0, 0,
4129 /* IP6_26_24 [3] */
4130 FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B,
4131 FN_GPS_CLK_C, FN_GPS_CLK_D,
4132 0, 0, 0,
4133 /* IP6_23_21 [3] */
4134 FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B,
4135 FN_SDA1_E, FN_MSIOF2_SYNC_E,
4136 0, 0, 0,
4137 /* IP6_20_19 [2] */
4138 FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
4139 /* IP6_18_16 [3] */
4140 FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
4141 0, 0, 0,
4142 /* IP6_15_14 [2] */
4143 FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
4144 /* IP6_13_12 [2] */
4145 FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N, 0,
4146 /* IP6_11_10 [2] */
4147 FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N, 0,
4148 /* IP6_9_8 [2] */
4149 FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N, 0,
4150 /* IP6_7_6 [2] */
4151 FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
4152 /* IP6_5_3 [3] */
4153 FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
4154 FN_SCIFA2_RXD, FN_FMIN_E,
4155 0, 0,
4156 /* IP6_2_0 [3] */
4157 FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
4158 FN_SCIF_CLK, 0, FN_BPFCLK_E,
4159 0, 0, }
4161 { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
4162 2, 3, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3) {
4163 /* IP7_31_30 [2] */
4164 0, 0, 0, 0,
4165 /* IP7_29_27 [3] */
4166 FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
4167 FN_SCIFA1_SCK, FN_SSI_SCK78_B,
4168 0, 0,
4169 /* IP7_26_24 [3] */
4170 FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
4171 FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
4172 0, 0,
4173 /* IP7_23_21 [3] */
4174 FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
4175 FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
4176 0, 0,
4177 /* IP7_20_19 [2] */
4178 FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B, 0,
4179 /* IP7_18_17 [2] */
4180 FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B, 0,
4181 /* IP7_16_15 [2] */
4182 FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B, 0,
4183 /* IP7_14_13 [2] */
4184 FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B, 0,
4185 /* IP7_12_11 [2] */
4186 FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B, 0,
4187 /* IP7_10_9 [2] */
4188 FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B, 0,
4189 /* IP7_8_6 [3] */
4190 FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
4191 FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
4192 0, 0,
4193 /* IP7_5_3 [3] */
4194 FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
4195 FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
4196 0, 0,
4197 /* IP7_2_0 [3] */
4198 FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
4199 FN_SCIF_CLK_B, FN_GPS_MAG_D,
4200 0, 0, }
4202 { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
4203 1, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3) {
4204 /* IP8_31 [1] */
4205 0, 0,
4206 /* IP8_30_28 [3] */
4207 FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
4208 0, 0, 0,
4209 /* IP8_27_26 [2] */
4210 FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
4211 /* IP8_25_24 [2] */
4212 FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B, 0,
4213 /* IP8_23_21 [3] */
4214 FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
4215 FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
4216 0, 0,
4217 /* IP8_20_18 [3] */
4218 FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
4219 FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
4220 0, 0,
4221 /* IP8_17_15 [3] */
4222 FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
4223 FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
4224 0, 0,
4225 /* IP8_14_12 [3] */
4226 FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B,
4227 FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
4228 0, 0, 0,
4229 /* IP8_11_9 [3] */
4230 FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
4231 FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
4232 0, 0, 0,
4233 /* IP8_8_6 [3] */
4234 FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
4235 FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
4236 0, 0,
4237 /* IP8_5_3 [3] */
4238 FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
4239 FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
4240 0, 0,
4241 /* IP8_2_0 [3] */
4242 FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, 0, FN_SSI_WS78_B,
4243 0, 0, 0, }
4245 { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
4246 3, 2, 2, 2, 2, 2, 2, 1, 3, 1, 1, 3, 1, 1, 3, 3) {
4247 /* IP9_31_29 [3] */
4248 FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
4249 FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N, 0,
4250 /* IP9_28_27 [2] */
4251 FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B, 0,
4252 /* IP9_26_25 [2] */
4253 FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
4254 /* IP9_24_23 [2] */
4255 FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
4256 /* IP9_22_21 [2] */
4257 FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
4258 /* IP9_20_19 [2] */
4259 FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
4260 /* IP9_18_17 [2] */
4261 FN_DU1_CDE, FN_QPOLB, FN_PWM4_B, 0,
4262 /* IP9_16 [1] */
4263 FN_DU1_DISP, FN_QPOLA,
4264 /* IP9_15_13 [3] */
4265 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
4266 FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
4267 0, 0, 0,
4268 /* IP9_12 [1] */
4269 FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
4270 /* IP9_11 [1] */
4271 FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
4272 /* IP9_10_8 [3] */
4273 FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
4274 FN_TX3_B, FN_SCL2_B, FN_PWM4,
4275 0, 0,
4276 /* IP9_7 [1] */
4277 FN_DU1_DOTCLKOUT0, FN_QCLK,
4278 /* IP9_6 [1] */
4279 FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
4280 /* IP9_5_3 [3] */
4281 FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C,
4282 FN_SCIF3_SCK, FN_SCIFA3_SCK,
4283 0, 0, 0,
4284 /* IP9_2_0 [3] */
4285 FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
4286 0, 0, 0, }
4288 { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
4289 3, 2, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3) {
4290 /* IP10_31_29 [3] */
4291 FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
4292 0, 0, 0,
4293 /* IP10_28_27 [2] */
4294 FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
4295 /* IP10_26_25 [2] */
4296 FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
4297 /* IP10_24_22 [3] */
4298 FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B, FN_TS_SCK0_C, FN_ATAG1_N,
4299 0, 0, 0,
4300 /* IP10_21_29 [3] */
4301 FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
4302 FN_TS_SDATA0_C, FN_ATACS11_N,
4303 0, 0, 0,
4304 /* IP10_18_17 [2] */
4305 FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D, 0,
4306 /* IP10_16_15 [2] */
4307 FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D, 0,
4308 /* IP10_14_12 [3] */
4309 FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
4310 FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D, 0,
4311 /* IP10_11_9 [3] */
4312 FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
4313 FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
4314 0, 0,
4315 /* IP10_8_6 [3] */
4316 FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
4317 FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N, 0,
4318 /* IP10_5_3 [3] */
4319 FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
4320 FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N, 0,
4321 /* IP10_2_0 [3] */
4322 FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
4323 FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N, 0, }
4325 { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
4326 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
4327 3, 3, 3, 3, 3) {
4328 /* IP11_31_30 [2] */
4329 FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C, 0,
4330 /* IP11_29_28 [2] */
4331 FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C, 0,
4332 /* IP11_27 [1] */
4333 FN_VI1_DATA7, FN_AVB_MDC,
4334 /* IP11_26 [1] */
4335 FN_VI1_DATA6, FN_AVB_MAGIC,
4336 /* IP11_25 [1] */
4337 FN_VI1_DATA5, FN_AVB_RX_DV,
4338 /* IP11_24 [1] */
4339 FN_VI1_DATA4, FN_AVB_MDIO,
4340 /* IP11_23 [1] */
4341 FN_VI1_DATA3, FN_AVB_RX_ER,
4342 /* IP11_22 [1] */
4343 FN_VI1_DATA2, FN_AVB_RXD7,
4344 /* IP11_21 [1] */
4345 FN_VI1_DATA1, FN_AVB_RXD6,
4346 /* IP11_20 [1] */
4347 FN_VI1_DATA0, FN_AVB_RXD5,
4348 /* IP11_19 [1] */
4349 FN_VI1_CLK, FN_AVB_RXD4,
4350 /* IP11_18_17 [2] */
4351 FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B, 0,
4352 /* IP11_16_15 [2] */
4353 FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B, 0,
4354 /* IP11_14_12 [3] */
4355 FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B,
4356 FN_RX4_B, FN_SCIFA4_RXD_B,
4357 0, 0, 0,
4358 /* IP11_11_9 [3] */
4359 FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B,
4360 FN_TX4_B, FN_SCIFA4_TXD_B,
4361 0, 0, 0,
4362 /* IP11_8_6 [3] */
4363 FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
4364 FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D, 0,
4365 /* IP11_5_3 [3] */
4366 FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
4367 0, 0, 0,
4368 /* IP11_2_0 [3] */
4369 FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
4370 0, 0, 0, }
4372 { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
4373 2, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2) {
4374 /* IP12_31_30 [2] */
4375 0, 0, 0, 0,
4376 /* IP12_29_27 [3] */
4377 FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
4378 FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
4379 0, 0, 0,
4380 /* IP12_26_24 [3] */
4381 FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
4382 FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
4383 0, 0, 0,
4384 /* IP12_23_22 [2] */
4385 FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C, 0,
4386 /* IP12_21_20 [2] */
4387 FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C, 0,
4388 /* IP12_19_18 [2] */
4389 FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C, 0,
4390 /* IP12_17_16 [2] */
4391 FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
4392 /* IP12_15_13 [3] */
4393 FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
4394 FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
4395 0, 0, 0,
4396 /* IP12_12_10 [3] */
4397 FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
4398 FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
4399 0, 0, 0,
4400 /* IP12_9_7 [3] */
4401 FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C,
4402 FN_SDA2_D, FN_MSIOF1_SCK_E,
4403 0, 0, 0,
4404 /* IP12_6_4 [3] */
4405 FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
4406 FN_SCL2_D, FN_MSIOF1_RXD_E,
4407 0, 0, 0,
4408 /* IP12_3_2 [2] */
4409 FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
4410 /* IP12_1_0 [2] */
4411 FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7, }
4413 { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
4414 1, 3, 1, 1, 1, 2, 1, 3, 3, 1, 1, 1, 1, 1, 1,
4415 3, 2, 2, 3) {
4416 /* IP13_31 [1] */
4417 0, 0,
4418 /* IP13_30_28 [3] */
4419 FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
4420 0, 0, 0, 0,
4421 /* IP13_27 [1] */
4422 FN_SD1_DATA3, FN_IERX_B,
4423 /* IP13_26 [1] */
4424 FN_SD1_DATA2, FN_IECLK_B,
4425 /* IP13_25 [1] */
4426 FN_SD1_DATA1, FN_IETX_B,
4427 /* IP13_24_23 [2] */
4428 FN_SD1_DATA0, FN_SPEEDIN_B, 0, 0,
4429 /* IP13_22 [1] */
4430 FN_SD1_CMD, FN_REMOCON_B,
4431 /* IP13_21_19 [3] */
4432 FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
4433 FN_SCIFA5_RXD_B, FN_RX3_C,
4434 0, 0,
4435 /* IP13_18_16 [3] */
4436 FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
4437 FN_SCIFA5_TXD_B, FN_TX3_C,
4438 0, 0,
4439 /* IP13_15 [1] */
4440 FN_SD0_DATA3, FN_SSL_B,
4441 /* IP13_14 [1] */
4442 FN_SD0_DATA2, FN_IO3_B,
4443 /* IP13_13 [1] */
4444 FN_SD0_DATA1, FN_IO2_B,
4445 /* IP13_12 [1] */
4446 FN_SD0_DATA0, FN_MISO_IO1_B,
4447 /* IP13_11 [1] */
4448 FN_SD0_CMD, FN_MOSI_IO0_B,
4449 /* IP13_10 [1] */
4450 FN_SD0_CLK, FN_SPCLK_B,
4451 /* IP13_9_7 [3] */
4452 FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
4453 FN_ADICHS2_B, FN_MSIOF0_TXD_C,
4454 0, 0, 0,
4455 /* IP13_6_5 [2] */
4456 FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
4457 /* IP13_4_3 [2] */
4458 FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
4459 /* IP13_2_0 [3] */
4460 FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
4461 FN_ADICLK_B, FN_MSIOF0_SS1_C,
4462 0, 0, 0, }
4464 { PINMUX_CFG_REG_VAR("IPSR14", 0xE6060058, 32,
4465 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 2) {
4466 /* IP14_31_29 [3] */
4467 FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
4468 FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B, 0,
4469 /* IP14_28_26 [3] */
4470 FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
4471 FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B, 0,
4472 /* IP14_25_23 [3] */
4473 FN_MSIOF0_RXD, FN_ADICHS0, 0, FN_VI1_DATA0_C, FN_VI1_G3_B,
4474 0, 0, 0,
4475 /* IP14_22_20 [3] */
4476 FN_MSIOF0_TXD, FN_ADICLK, 0, FN_VI1_FIELD_C, FN_VI1_G2_B,
4477 0, 0, 0,
4478 /* IP14_19_17 [3] */
4479 FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, 0,
4480 FN_VI1_CLKENB_C, FN_VI1_G1_B,
4481 0, 0,
4482 /* IP14_16_14 [3] */
4483 FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, 0,
4484 FN_VI1_CLK_C, FN_VI1_G0_B,
4485 0, 0,
4486 /* IP14_13_11 [3] */
4487 FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
4488 0, 0, 0,
4489 /* IP14_10_8 [3] */
4490 FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
4491 0, 0, 0,
4492 /* IP14_7 [1] */
4493 FN_SD2_DATA3, FN_MMC_D3,
4494 /* IP14_6 [1] */
4495 FN_SD2_DATA2, FN_MMC_D2,
4496 /* IP14_5 [1] */
4497 FN_SD2_DATA1, FN_MMC_D1,
4498 /* IP14_4 [1] */
4499 FN_SD2_DATA0, FN_MMC_D0,
4500 /* IP14_3 [1] */
4501 FN_SD2_CMD, FN_MMC_CMD,
4502 /* IP14_2 [1] */
4503 FN_SD2_CLK, FN_MMC_CLK,
4504 /* IP14_1_0 [2] */
4505 FN_SD1_WP, FN_PWM1_B, FN_SDA1_C, 0, }
4507 { PINMUX_CFG_REG_VAR("IPSR15", 0xE606005C, 32,
4508 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2) {
4509 /* IP15_31_30 [2] */
4510 0, 0, 0, 0,
4511 /* IP15_29_27 [3] */
4512 FN_HTX0, FN_SCIFB0_TXD, 0, FN_GLO_SCLK_C,
4513 FN_CAN0_TX_B, FN_VI1_DATA5_C,
4514 0, 0,
4515 /* IP15_26_24 [3] */
4516 FN_HRX0, FN_SCIFB0_RXD, 0, FN_GLO_Q1_C,
4517 FN_CAN0_RX_B, FN_VI1_DATA4_C,
4518 0, 0,
4519 /* IP15_23_21 [3] */
4520 FN_HSCK0, FN_SCIFB0_SCK, 0, FN_GLO_Q0_C, FN_CAN_CLK,
4521 FN_TCLK2, FN_VI1_DATA3_C, 0,
4522 /* IP15_20_18 [3] */
4523 FN_HRTS0_N, FN_SCIFB0_RTS_N, 0, FN_GLO_I1_C, FN_VI1_DATA2_C,
4524 0, 0, 0,
4525 /* IP15_17_15 [3] */
4526 FN_HCTS0_N, FN_SCIFB0_CTS_N, 0, FN_GLO_I0_C,
4527 FN_TCLK1, FN_VI1_DATA1_C,
4528 0, 0,
4529 /* IP15_14_12 [3] */
4530 FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
4531 FN_VI1_G7_B, FN_SCIFA3_SCK_C,
4532 0, 0,
4533 /* IP15_11_9 [3] */
4534 FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
4535 FN_VI1_G6_B, FN_SCIFA3_RXD_C,
4536 0, 0,
4537 /* IP15_8_6 [3] */
4538 FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
4539 FN_PWM5_B, FN_SCIFA3_TXD_C,
4540 0, 0, 0,
4541 /* IP15_5_4 [2] */
4542 FN_SIM0_D, FN_IERX, FN_CAN1_RX_D, 0,
4543 /* IP15_3_2 [2] */
4544 FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C, 0,
4545 /* IP15_1_0 [2] */
4546 FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D, 0, }
4548 { PINMUX_CFG_REG_VAR("IPSR16", 0xE6060160, 32,
4549 4, 4, 4, 4, 4, 2, 2, 2, 3, 3) {
4550 /* IP16_31_28 [4] */
4551 0, 0, 0, 0, 0, 0, 0, 0,
4552 0, 0, 0, 0, 0, 0, 0, 0,
4553 /* IP16_27_24 [4] */
4554 0, 0, 0, 0, 0, 0, 0, 0,
4555 0, 0, 0, 0, 0, 0, 0, 0,
4556 /* IP16_23_20 [4] */
4557 0, 0, 0, 0, 0, 0, 0, 0,
4558 0, 0, 0, 0, 0, 0, 0, 0,
4559 /* IP16_19_16 [4] */
4560 0, 0, 0, 0, 0, 0, 0, 0,
4561 0, 0, 0, 0, 0, 0, 0, 0,
4562 /* IP16_15_12 [4] */
4563 0, 0, 0, 0, 0, 0, 0, 0,
4564 0, 0, 0, 0, 0, 0, 0, 0,
4565 /* IP16_11_10 [2] */
4566 FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
4567 /* IP16_9_8 [2] */
4568 FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
4569 /* IP16_7_6 [2] */
4570 FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CK, FN_GLO_RFON_C,
4571 /* IP16_5_3 [3] */
4572 FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B,
4573 FN_GLO_SS_C, FN_VI1_DATA7_C,
4574 0, 0, 0,
4575 /* IP16_2_0 [3] */
4576 FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B,
4577 FN_GLO_SDATA_C, FN_VI1_DATA6_C,
4578 0, 0, 0, }
4580 { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
4581 1, 2, 2, 2, 3, 2, 1, 1, 1, 1,
4582 3, 2, 2, 2, 1, 2, 2, 2) {
4583 /* RESEVED [1] */
4584 0, 0,
4585 /* SEL_SCIF1 [2] */
4586 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
4587 /* SEL_SCIFB [2] */
4588 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
4589 /* SEL_SCIFB2 [2] */
4590 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1,
4591 FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
4592 /* SEL_SCIFB1 [3] */
4593 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1,
4594 FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
4595 0, 0, 0, 0,
4596 /* SEL_SCIFA1 [2] */
4597 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, 0,
4598 /* SEL_SSI9 [1] */
4599 FN_SEL_SSI9_0, FN_SEL_SSI9_1,
4600 /* SEL_SCFA [1] */
4601 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
4602 /* SEL_QSP [1] */
4603 FN_SEL_QSP_0, FN_SEL_QSP_1,
4604 /* SEL_SSI7 [1] */
4605 FN_SEL_SSI7_0, FN_SEL_SSI7_1,
4606 /* SEL_HSCIF1 [3] */
4607 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2,
4608 FN_SEL_HSCIF1_3, FN_SEL_HSCIF1_4,
4609 0, 0, 0,
4610 /* RESEVED [2] */
4611 0, 0, 0, 0,
4612 /* SEL_VI1 [2] */
4613 FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2, 0,
4614 /* RESEVED [2] */
4615 0, 0, 0, 0,
4616 /* SEL_TMU [1] */
4617 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
4618 /* SEL_LBS [2] */
4619 FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
4620 /* SEL_TSIF0 [2] */
4621 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
4622 /* SEL_SOF0 [2] */
4623 FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2, 0, }
4625 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
4626 3, 1, 1, 3, 2, 1, 1, 2, 2,
4627 1, 3, 2, 1, 2, 2, 2, 1, 1, 1) {
4628 /* SEL_SCIF0 [3] */
4629 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2,
4630 FN_SEL_SCIF0_3, FN_SEL_SCIF0_4,
4631 0, 0, 0,
4632 /* RESEVED [1] */
4633 0, 0,
4634 /* SEL_SCIF [1] */
4635 FN_SEL_SCIF_0, FN_SEL_SCIF_1,
4636 /* SEL_CAN0 [3] */
4637 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
4638 FN_SEL_CAN0_4, FN_SEL_CAN0_5,
4639 0, 0,
4640 /* SEL_CAN1 [2] */
4641 FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
4642 /* RESEVED [1] */
4643 0, 0,
4644 /* SEL_SCIFA2 [1] */
4645 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
4646 /* SEL_SCIF4 [2] */
4647 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, 0,
4648 /* RESEVED [2] */
4649 0, 0, 0, 0,
4650 /* SEL_ADG [1] */
4651 FN_SEL_ADG_0, FN_SEL_ADG_1,
4652 /* SEL_FM [3] */
4653 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2,
4654 FN_SEL_FM_3, FN_SEL_FM_4,
4655 0, 0, 0,
4656 /* SEL_SCIFA5 [2] */
4657 FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2, 0,
4658 /* RESEVED [1] */
4659 0, 0,
4660 /* SEL_GPS [2] */
4661 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
4662 /* SEL_SCIFA4 [2] */
4663 FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2, 0,
4664 /* SEL_SCIFA3 [2] */
4665 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2, 0,
4666 /* SEL_SIM [1] */
4667 FN_SEL_SIM_0, FN_SEL_SIM_1,
4668 /* RESEVED [1] */
4669 0, 0,
4670 /* SEL_SSI8 [1] */
4671 FN_SEL_SSI8_0, FN_SEL_SSI8_1, }
4673 { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
4674 2, 2, 2, 2, 2, 2, 2, 2,
4675 1, 1, 2, 2, 3, 2, 2, 2, 1) {
4676 /* SEL_HSCIF2 [2] */
4677 FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1,
4678 FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
4679 /* SEL_CANCLK [2] */
4680 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
4681 FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
4682 /* SEL_IIC8 [2] */
4683 FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2, 0,
4684 /* SEL_IIC7 [2] */
4685 FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2, 0,
4686 /* SEL_IIC4 [2] */
4687 FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2, 0,
4688 /* SEL_IIC3 [2] */
4689 FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
4690 /* SEL_SCIF3 [2] */
4691 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
4692 /* SEL_IEB [2] */
4693 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
4694 /* SEL_MMC [1] */
4695 FN_SEL_MMC_0, FN_SEL_MMC_1,
4696 /* SEL_SCIF5 [1] */
4697 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
4698 /* RESEVED [2] */
4699 0, 0, 0, 0,
4700 /* SEL_IIC2 [2] */
4701 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
4702 /* SEL_IIC1 [3] */
4703 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
4704 FN_SEL_IIC1_4,
4705 0, 0, 0,
4706 /* SEL_IIC0 [2] */
4707 FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2, 0,
4708 /* RESEVED [2] */
4709 0, 0, 0, 0,
4710 /* RESEVED [2] */
4711 0, 0, 0, 0,
4712 /* RESEVED [1] */
4713 0, 0, }
4715 { PINMUX_CFG_REG_VAR("MOD_SEL4", 0xE606009C, 32,
4716 3, 2, 2, 1, 1, 1, 1, 3, 2,
4717 2, 3, 1, 1, 1, 2, 2, 2, 2) {
4718 /* SEL_SOF1 [3] */
4719 FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
4720 FN_SEL_SOF1_4,
4721 0, 0, 0,
4722 /* SEL_HSCIF0 [2] */
4723 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, 0,
4724 /* SEL_DIS [2] */
4725 FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2, 0,
4726 /* RESEVED [1] */
4727 0, 0,
4728 /* SEL_RAD [1] */
4729 FN_SEL_RAD_0, FN_SEL_RAD_1,
4730 /* SEL_RCN [1] */
4731 FN_SEL_RCN_0, FN_SEL_RCN_1,
4732 /* SEL_RSP [1] */
4733 FN_SEL_RSP_0, FN_SEL_RSP_1,
4734 /* SEL_SCIF2 [3] */
4735 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2,
4736 FN_SEL_SCIF2_3, FN_SEL_SCIF2_4,
4737 0, 0, 0,
4738 /* RESEVED [2] */
4739 0, 0, 0, 0,
4740 /* RESEVED [2] */
4741 0, 0, 0, 0,
4742 /* SEL_SOF2 [3] */
4743 FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2,
4744 FN_SEL_SOF2_3, FN_SEL_SOF2_4,
4745 0, 0, 0,
4746 /* RESEVED [1] */
4747 0, 0,
4748 /* SEL_SSI1 [1] */
4749 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
4750 /* SEL_SSI0 [1] */
4751 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
4752 /* SEL_SSP [2] */
4753 FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2, 0,
4754 /* RESEVED [2] */
4755 0, 0, 0, 0,
4756 /* RESEVED [2] */
4757 0, 0, 0, 0,
4758 /* RESEVED [2] */
4759 0, 0, 0, 0, }
4761 { },
4764 const struct sh_pfc_soc_info r8a7791_pinmux_info = {
4765 .name = "r8a77910_pfc",
4766 .unlock_reg = 0xe6060000, /* PMMR */
4768 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
4770 .pins = pinmux_pins,
4771 .nr_pins = ARRAY_SIZE(pinmux_pins),
4772 .groups = pinmux_groups,
4773 .nr_groups = ARRAY_SIZE(pinmux_groups),
4774 .functions = pinmux_functions,
4775 .nr_functions = ARRAY_SIZE(pinmux_functions),
4777 .cfg_regs = pinmux_config_regs,
4779 .gpio_data = pinmux_data,
4780 .gpio_data_size = ARRAY_SIZE(pinmux_data),