blob: 59158a75e45a9fb5a45c7224b2bcbfcd61be8e8a [file] [log] [blame]
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001/*
2 * SH7734 processor support - PFC hardware block
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 * Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive
9 * for more details.
10 */
11#include <linux/init.h>
12#include <linux/kernel.h>
Laurent Pinchartac1ebc22012-12-15 23:51:36 +010013#include <cpu/sh7734.h>
14
Laurent Pinchartc3323802012-12-15 23:51:55 +010015#include "sh_pfc.h"
16
Laurent Pinchart8157b962013-07-15 16:07:08 +020017#define PORT_GP_12(bank, fn, sfx) \
18 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \
19 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \
20 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \
21 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \
22 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \
23 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx)
Laurent Pinchartac1ebc22012-12-15 23:51:36 +010024
Laurent Pinchart8157b962013-07-15 16:07:08 +020025#define CPU_ALL_PORT(fn, sfx) \
26 PORT_GP_32(0, fn, sfx), \
27 PORT_GP_32(1, fn, sfx), \
28 PORT_GP_32(2, fn, sfx), \
29 PORT_GP_32(3, fn, sfx), \
30 PORT_GP_32(4, fn, sfx), \
31 PORT_GP_12(5, fn, sfx)
Laurent Pinchartac1ebc22012-12-15 23:51:36 +010032
Laurent Pincharte3d93b42013-07-15 15:14:22 +020033#undef _GP_DATA
Laurent Pinchart8157b962013-07-15 16:07:08 +020034#define _GP_DATA(bank, pin, name, sfx) \
35 PINMUX_DATA(name##_DATA, name##_FN, name##_IN, name##_OUT)
Laurent Pincharte3d93b42013-07-15 15:14:22 +020036
Laurent Pinchart8157b962013-07-15 16:07:08 +020037#define _GP_INOUTSEL(bank, pin, name, sfx) name##_IN, name##_OUT
38#define _GP_INDT(bank, pin, name, sfx) name##_DATA
39#define GP_INOUTSEL(bank) PORT_GP_32_REV(bank, _GP_INOUTSEL, unused)
40#define GP_INDT(bank) PORT_GP_32_REV(bank, _GP_INDT, unused)
Laurent Pinchartac1ebc22012-12-15 23:51:36 +010041
Laurent Pinchartac1ebc22012-12-15 23:51:36 +010042enum {
43 PINMUX_RESERVED = 0,
44
45 PINMUX_DATA_BEGIN,
46 GP_ALL(DATA), /* GP_0_0_DATA -> GP_5_11_DATA */
47 PINMUX_DATA_END,
48
49 PINMUX_INPUT_BEGIN,
50 GP_ALL(IN), /* GP_0_0_IN -> GP_5_11_IN */
51 PINMUX_INPUT_END,
52
53 PINMUX_OUTPUT_BEGIN,
54 GP_ALL(OUT), /* GP_0_0_OUT -> GP_5_11_OUT */
55 PINMUX_OUTPUT_END,
56
57 PINMUX_FUNCTION_BEGIN,
58 GP_ALL(FN), /* GP_0_0_FN -> GP_5_11_FN */
59
60 /* GPSR0 */
61 FN_IP1_9_8, FN_IP1_11_10, FN_IP1_13_12, FN_IP1_15_14,
62 FN_IP0_7_6, FN_IP0_9_8, FN_IP0_11_10, FN_IP0_13_12,
63 FN_IP0_15_14, FN_IP0_17_16, FN_IP0_19_18, FN_IP0_21_20,
64 FN_IP0_23_22, FN_IP0_25_24, FN_IP0_27_26, FN_IP0_29_28,
65 FN_IP0_31_30, FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4,
66 FN_IP1_7_6, FN_IP11_28, FN_IP0_1_0, FN_IP0_3_2,
67 FN_IP0_5_4, FN_IP1_17_16, FN_IP1_19_18, FN_IP1_22_20,
68 FN_IP1_25_23, FN_IP1_28_26, FN_IP1_31_29, FN_IP2_2_0,
69
70 /* GPSR1 */
71 FN_IP3_20, FN_IP3_29_27, FN_IP11_20_19, FN_IP11_22_21,
72 FN_IP2_16_14, FN_IP2_19_17, FN_IP2_22_20, FN_IP2_24_23,
73 FN_IP2_27_25, FN_IP2_30_28, FN_IP3_1_0, FN_CLKOUT,
74 FN_BS, FN_CS0, FN_IP3_2, FN_EX_CS0,
75 FN_IP3_5_3, FN_IP3_8_6, FN_IP3_11_9, FN_IP3_14_12,
76 FN_IP3_17_15, FN_RD, FN_IP3_19_18, FN_WE0,
77 FN_WE1, FN_IP2_4_3, FN_IP3_23_21, FN_IP3_26_24,
78 FN_IP2_7_5, FN_IP2_10_8, FN_IP2_13_11, FN_IP11_25_23,
79
80 /* GPSR2 */
81 FN_IP11_6_4, FN_IP11_9_7, FN_IP11_11_10, FN_IP4_2_0,
82 FN_IP8_29_28, FN_IP11_27_26, FN_IP8_22_20, FN_IP8_25_23,
83 FN_IP11_12, FN_IP8_27_26, FN_IP4_5_3, FN_IP4_8_6,
84 FN_IP4_11_9, FN_IP4_14_12, FN_IP4_17_15, FN_IP4_19_18,
85 FN_IP4_21_20, FN_IP4_23_22, FN_IP4_25_24, FN_IP4_27_26,
86 FN_IP4_29_28, FN_IP4_31_30, FN_IP5_2_0, FN_IP5_5_3,
87 FN_IP5_8_6, FN_IP5_11_9, FN_IP5_14_12, FN_IP5_17_15,
88 FN_IP5_20_18, FN_IP5_22_21, FN_IP5_24_23, FN_IP5_26_25,
89
90 /* GPSR3 */
91 FN_IP6_2_0, FN_IP6_5_3, FN_IP6_7_6, FN_IP6_9_8,
92 FN_IP6_11_10, FN_IP6_13_12, FN_IP6_15_14, FN_IP6_17_16,
93 FN_IP6_20_18, FN_IP6_23_21, FN_IP7_2_0, FN_IP7_5_3,
94 FN_IP7_8_6, FN_IP7_11_9, FN_IP7_14_12, FN_IP7_17_15,
95 FN_IP7_20_18, FN_IP7_23_21, FN_IP7_26_24, FN_IP7_28_27,
96 FN_IP7_30_29, FN_IP8_1_0, FN_IP8_3_2, FN_IP8_5_4,
97 FN_IP8_7_6, FN_IP8_9_8, FN_IP8_11_10, FN_IP8_13_12,
98 FN_IP8_15_14, FN_IP8_17_16, FN_IP8_19_18, FN_IP9_1_0,
99
100 /* GPSR4 */
101 FN_IP9_19_18, FN_IP9_21_20, FN_IP9_23_22, FN_IP9_25_24,
102 FN_IP9_11_10, FN_IP9_13_12, FN_IP9_15_14, FN_IP9_17_16,
103 FN_IP9_3_2, FN_IP9_5_4, FN_IP9_7_6, FN_IP9_9_8,
104 FN_IP9_27_26, FN_IP9_29_28, FN_IP10_2_0, FN_IP10_5_3,
105 FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_15,
106 FN_IP10_18_16, FN_IP10_21_19, FN_IP11_0, FN_IP11_1,
107 FN_SCL0, FN_IP11_2, FN_PENC0, FN_IP11_15_13, /* Need check*/
108 FN_USB_OVC0, FN_IP11_18_16,
109 FN_IP10_22, FN_IP10_24_23,
110
111 /* GPSR5 */
112 FN_IP10_25, FN_IP11_3, FN_IRQ2_B, FN_IRQ3_B,
113 FN_IP10_27_26, /* 10 */
114 FN_IP10_29_28, /* 11 */
115
116 /* IPSR0 */
117 FN_A15, FN_ST0_VCO_CLKIN, FN_LCD_DATA15_A, FN_TIOC3D_C,
118 FN_A14, FN_LCD_DATA14_A, FN_TIOC3C_C,
119 FN_A13, FN_LCD_DATA13_A, FN_TIOC3B_C,
120 FN_A12, FN_LCD_DATA12_A, FN_TIOC3A_C,
121 FN_A11, FN_ST0_D7, FN_LCD_DATA11_A, FN_TIOC2B_C,
122 FN_A10, FN_ST0_D6, FN_LCD_DATA10_A, FN_TIOC2A_C,
123 FN_A9, FN_ST0_D5, FN_LCD_DATA9_A, FN_TIOC1B_C,
124 FN_A8, FN_ST0_D4, FN_LCD_DATA8_A, FN_TIOC1A_C,
125 FN_A7, FN_ST0_D3, FN_LCD_DATA7_A, FN_TIOC0D_C,
126 FN_A6, FN_ST0_D2, FN_LCD_DATA6_A, FN_TIOC0C_C,
127 FN_A5, FN_ST0_D1, FN_LCD_DATA5_A, FN_TIOC0B_C,
128 FN_A4, FN_ST0_D0, FN_LCD_DATA4_A, FN_TIOC0A_C,
129 FN_A3, FN_ST0_VLD, FN_LCD_DATA3_A, FN_TCLKD_C,
130 FN_A2, FN_ST0_SYC, FN_LCD_DATA2_A, FN_TCLKC_C,
131 FN_A1, FN_ST0_REQ, FN_LCD_DATA1_A, FN_TCLKB_C,
132 FN_A0, FN_ST0_CLKIN, FN_LCD_DATA0_A, FN_TCLKA_C,
133
134 /* IPSR1 */
135 FN_D3, FN_SD0_DAT3_A, FN_MMC_D3_A, FN_ST1_D6, FN_FD3_A,
136 FN_D2, FN_SD0_DAT2_A, FN_MMC_D2_A, FN_ST1_D5, FN_FD2_A,
137 FN_D1, FN_SD0_DAT1_A, FN_MMC_D1_A, FN_ST1_D4, FN_FD1_A,
138 FN_D0, FN_SD0_DAT0_A, FN_MMC_D0_A, FN_ST1_D3, FN_FD0_A,
139 FN_A25, FN_TX2_D, FN_ST1_D2,
140 FN_A24, FN_RX2_D, FN_ST1_D1,
141 FN_A23, FN_ST1_D0, FN_LCD_M_DISP_A,
142 FN_A22, FN_ST1_VLD, FN_LCD_VEPWC_A,
143 FN_A21, FN_ST1_SYC, FN_LCD_VCPWC_A,
144 FN_A20, FN_ST1_REQ, FN_LCD_FLM_A,
145 FN_A19, FN_ST1_CLKIN, FN_LCD_CLK_A, FN_TIOC4D_C,
146 FN_A18, FN_ST1_PWM, FN_LCD_CL2_A, FN_TIOC4C_C,
147 FN_A17, FN_ST1_VCO_CLKIN, FN_LCD_CL1_A, FN_TIOC4B_C,
148 FN_A16, FN_ST0_PWM, FN_LCD_DON_A, FN_TIOC4A_C,
149
150 /* IPSR2 */
151 FN_D14, FN_TX2_B, FN_FSE_A, FN_ET0_TX_CLK_B,
152 FN_D13, FN_RX2_B, FN_FRB_A, FN_ET0_ETXD6_B,
153 FN_D12, FN_FWE_A, FN_ET0_ETXD5_B,
154 FN_D11, FN_RSPI_MISO_A, FN_QMI_QIO1_A, FN_FRE_A,
155 FN_ET0_ETXD3_B,
156 FN_D10, FN_RSPI_MOSI_A, FN_QMO_QIO0_A, FN_FALE_A,
157 FN_ET0_ETXD2_B,
158 FN_D9, FN_SD0_CMD_A, FN_MMC_CMD_A, FN_QIO3_A, FN_FCLE_A,
159 FN_ET0_ETXD1_B,
160 FN_D8, FN_SD0_CLK_A, FN_MMC_CLK_A, FN_QIO2_A, FN_FCE_A,
161 FN_ET0_GTX_CLK_B,
162 FN_D7, FN_RSPI_SSL_A, FN_MMC_D7_A, FN_QSSL_A, FN_FD7_A,
163 FN_D6, FN_RSPI_RSPCK_A, FN_MMC_D6_A, FN_QSPCLK_A, FN_FD6_A,
164 FN_D5, FN_SD0_WP_A, FN_MMC_D5_A, FN_FD5_A,
165 FN_D4, FN_SD0_CD_A, FN_MMC_D4_A, FN_ST1_D7, FN_FD4_A,
166
167 /* IPSR3 */
168 FN_DRACK0, FN_SD1_DAT2_A, FN_ATAG, FN_TCLK1_A, FN_ET0_ETXD7,
169 FN_EX_WAIT2, FN_SD1_DAT1_A, FN_DACK2, FN_CAN1_RX_C,
170 FN_ET0_MAGIC_C, FN_ET0_ETXD6_A,
171 FN_EX_WAIT1, FN_SD1_DAT0_A, FN_DREQ2, FN_CAN1_TX_C,
172 FN_ET0_LINK_C, FN_ET0_ETXD5_A,
173 FN_EX_WAIT0, FN_TCLK1_B,
174 FN_RD_WR, FN_TCLK0, FN_CAN_CLK_B, FN_ET0_ETXD4,
175 FN_EX_CS5, FN_SD1_CMD_A, FN_ATADIR, FN_QSSL_B, FN_ET0_ETXD3_A,
176 FN_EX_CS4, FN_SD1_WP_A, FN_ATAWR, FN_QMI_QIO1_B, FN_ET0_ETXD2_A,
177 FN_EX_CS3, FN_SD1_CD_A, FN_ATARD, FN_QMO_QIO0_B, FN_ET0_ETXD1_A,
178 FN_EX_CS2, FN_TX3_B, FN_ATACS1, FN_QSPCLK_B, FN_ET0_GTX_CLK_A,
179 FN_EX_CS1, FN_RX3_B, FN_ATACS0, FN_QIO2_B, FN_ET0_ETXD0,
180 FN_CS1_A26, FN_QIO3_B,
181 FN_D15, FN_SCK2_B,
182
183 /* IPSR4 */
184 FN_SCK2_A, FN_VI0_G3,
185 FN_RTS1_B, FN_VI0_G2,
186 FN_CTS1_B, FN_VI0_DATA7_VI0_G1,
187 FN_TX1_B, FN_VI0_DATA6_VI0_G0, FN_ET0_PHY_INT_A,
188 FN_RX1_B, FN_VI0_DATA5_VI0_B5, FN_ET0_MAGIC_A,
189 FN_SCK1_B, FN_VI0_DATA4_VI0_B4, FN_ET0_LINK_A,
190 FN_RTS0_B, FN_VI0_DATA3_VI0_B3, FN_ET0_MDIO_A,
191 FN_CTS0_B, FN_VI0_DATA2_VI0_B2, FN_RMII0_MDIO_A, FN_ET0_MDC,
192 FN_HTX0_A, FN_TX1_A, FN_VI0_DATA1_VI0_B1, FN_RMII0_MDC_A, FN_ET0_COL,
193 FN_HRX0_A, FN_RX1_A, FN_VI0_DATA0_VI0_B0, FN_RMII0_CRS_DV_A, FN_ET0_CRS,
194 FN_HSCK0_A, FN_SCK1_A, FN_VI0_VSYNC, FN_RMII0_RX_ER_A, FN_ET0_RX_ER,
195 FN_HRTS0_A, FN_RTS1_A, FN_VI0_HSYNC, FN_RMII0_TXD_EN_A, FN_ET0_RX_DV,
196 FN_HCTS0_A, FN_CTS1_A, FN_VI0_FIELD, FN_RMII0_RXD1_A, FN_ET0_ERXD7,
197
198 /* IPSR5 */
199 FN_SD2_CLK_A, FN_RX2_A, FN_VI0_G4, FN_ET0_RX_CLK_B,
200 FN_SD2_CMD_A, FN_TX2_A, FN_VI0_G5, FN_ET0_ERXD2_B,
201 FN_SD2_DAT0_A, FN_RX3_A, FN_VI0_R0, FN_ET0_ERXD3_B,
202 FN_SD2_DAT1_A, FN_TX3_A, FN_VI0_R1, FN_ET0_MDIO_B,
203 FN_SD2_DAT2_A, FN_RX4_A, FN_VI0_R2, FN_ET0_LINK_B,
204 FN_SD2_DAT3_A, FN_TX4_A, FN_VI0_R3, FN_ET0_MAGIC_B,
205 FN_SD2_CD_A, FN_RX5_A, FN_VI0_R4, FN_ET0_PHY_INT_B,
206 FN_SD2_WP_A, FN_TX5_A, FN_VI0_R5,
207 FN_REF125CK, FN_ADTRG, FN_RX5_C,
208 FN_REF50CK, FN_CTS1_E, FN_HCTS0_D,
209
210 /* IPSR6 */
211 FN_DU0_DR0, FN_SCIF_CLK_B, FN_HRX0_D, FN_IETX_A, FN_TCLKA_A, FN_HIFD00,
212 FN_DU0_DR1, FN_SCK0_B, FN_HTX0_D, FN_IERX_A, FN_TCLKB_A, FN_HIFD01,
213 FN_DU0_DR2, FN_RX0_B, FN_TCLKC_A, FN_HIFD02,
214 FN_DU0_DR3, FN_TX0_B, FN_TCLKD_A, FN_HIFD03,
215 FN_DU0_DR4, FN_CTS0_C, FN_TIOC0A_A, FN_HIFD04,
216 FN_DU0_DR5, FN_RTS0_C, FN_TIOC0B_A, FN_HIFD05,
217 FN_DU0_DR6, FN_SCK1_C, FN_TIOC0C_A, FN_HIFD06,
218 FN_DU0_DR7, FN_RX1_C, FN_TIOC0D_A, FN_HIFD07,
219 FN_DU0_DG0, FN_TX1_C, FN_HSCK0_D, FN_IECLK_A, FN_TIOC1A_A, FN_HIFD08,
220 FN_DU0_DG1, FN_CTS1_C, FN_HRTS0_D, FN_TIOC1B_A, FN_HIFD09,
221
222 /* IPSR7 */
223 FN_DU0_DG2, FN_RTS1_C, FN_RMII0_MDC_B, FN_TIOC2A_A, FN_HIFD10,
224 FN_DU0_DG3, FN_SCK2_C, FN_RMII0_MDIO_B, FN_TIOC2B_A, FN_HIFD11,
225 FN_DU0_DG4, FN_RX2_C, FN_RMII0_CRS_DV_B, FN_TIOC3A_A, FN_HIFD12,
226 FN_DU0_DG5, FN_TX2_C, FN_RMII0_RX_ER_B, FN_TIOC3B_A, FN_HIFD13,
227 FN_DU0_DG6, FN_RX3_C, FN_RMII0_RXD0_B, FN_TIOC3C_A, FN_HIFD14,
228 FN_DU0_DG7, FN_TX3_C, FN_RMII0_RXD1_B, FN_TIOC3D_A, FN_HIFD15,
229 FN_DU0_DB0, FN_RX4_C, FN_RMII0_TXD_EN_B, FN_TIOC4A_A, FN_HIFCS,
230 FN_DU0_DB1, FN_TX4_C, FN_RMII0_TXD0_B, FN_TIOC4B_A, FN_HIFRS,
231 FN_DU0_DB2, FN_RX5_B, FN_RMII0_TXD1_B, FN_TIOC4C_A, FN_HIFWR,
232 FN_DU0_DB3, FN_TX5_B, FN_TIOC4D_A, FN_HIFRD,
233 FN_DU0_DB4, FN_HIFINT,
234
235 /* IPSR8 */
236 FN_DU0_DB5, FN_HIFDREQ,
237 FN_DU0_DB6, FN_HIFRDY,
238 FN_DU0_DB7, FN_SSI_SCK0_B, FN_HIFEBL_B,
239 FN_DU0_DOTCLKIN, FN_HSPI_CS0_C, FN_SSI_WS0_B,
240 FN_DU0_DOTCLKOUT, FN_HSPI_CLK0_C, FN_SSI_SDATA0_B,
241 FN_DU0_EXHSYNC_DU0_HSYNC, FN_HSPI_TX0_C, FN_SSI_SCK1_B,
242 FN_DU0_EXVSYNC_DU0_VSYNC, FN_HSPI_RX0_C, FN_SSI_WS1_B,
243 FN_DU0_EXODDF_DU0_ODDF, FN_CAN0_RX_B, FN_HSCK0_B, FN_SSI_SDATA1_B,
244 FN_DU0_DISP, FN_CAN0_TX_B, FN_HRX0_B, FN_AUDIO_CLKA_B,
245 FN_DU0_CDE, FN_HTX0_B, FN_AUDIO_CLKB_B, FN_LCD_VCPWC_B,
246 FN_IRQ0_A, FN_HSPI_TX_B, FN_RX3_E, FN_ET0_ERXD0,
247 FN_IRQ1_A, FN_HSPI_RX_B, FN_TX3_E, FN_ET0_ERXD1,
248 FN_IRQ2_A, FN_CTS0_A, FN_HCTS0_B, FN_ET0_ERXD2_A,
249 FN_IRQ3_A, FN_RTS0_A, FN_HRTS0_B, FN_ET0_ERXD3_A,
250
251 /* IPSR9 */
252 FN_VI1_CLK_A, FN_FD0_B, FN_LCD_DATA0_B,
253 FN_VI1_0_A, FN_FD1_B, FN_LCD_DATA1_B,
254 FN_VI1_1_A, FN_FD2_B, FN_LCD_DATA2_B,
255 FN_VI1_2_A, FN_FD3_B, FN_LCD_DATA3_B,
256 FN_VI1_3_A, FN_FD4_B, FN_LCD_DATA4_B,
257 FN_VI1_4_A, FN_FD5_B, FN_LCD_DATA5_B,
258 FN_VI1_5_A, FN_FD6_B, FN_LCD_DATA6_B,
259 FN_VI1_6_A, FN_FD7_B, FN_LCD_DATA7_B,
260 FN_VI1_7_A, FN_FCE_B, FN_LCD_DATA8_B,
261 FN_SSI_SCK0_A, FN_TIOC1A_B, FN_LCD_DATA9_B,
262 FN_SSI_WS0_A, FN_TIOC1B_B, FN_LCD_DATA10_B,
263 FN_SSI_SDATA0_A, FN_VI1_0_B, FN_TIOC2A_B, FN_LCD_DATA11_B,
264 FN_SSI_SCK1_A, FN_VI1_1_B, FN_TIOC2B_B, FN_LCD_DATA12_B,
265 FN_SSI_WS1_A, FN_VI1_2_B, FN_LCD_DATA13_B,
266 FN_SSI_SDATA1_A, FN_VI1_3_B, FN_LCD_DATA14_B,
267
268 /* IPSR10 */
269 FN_SSI_SCK23, FN_VI1_4_B, FN_RX1_D, FN_FCLE_B, FN_LCD_DATA15_B,
270 FN_SSI_WS23, FN_VI1_5_B, FN_TX1_D, FN_HSCK0_C, FN_FALE_B, FN_LCD_DON_B,
271 FN_SSI_SDATA2, FN_VI1_6_B, FN_HRX0_C, FN_FRE_B, FN_LCD_CL1_B,
272 FN_SSI_SDATA3, FN_VI1_7_B, FN_HTX0_C, FN_FWE_B, FN_LCD_CL2_B,
273 FN_AUDIO_CLKA_A, FN_VI1_CLK_B, FN_SCK1_D, FN_IECLK_B, FN_LCD_FLM_B,
274 FN_AUDIO_CLKB_A, FN_LCD_CLK_B,
275 FN_AUDIO_CLKC, FN_SCK1_E, FN_HCTS0_C, FN_FRB_B, FN_LCD_VEPWC_B,
276 FN_AUDIO_CLKOUT, FN_TX1_E, FN_HRTS0_C, FN_FSE_B, FN_LCD_M_DISP_B,
277 FN_CAN_CLK_A, FN_RX4_D,
278 FN_CAN0_TX_A, FN_TX4_D, FN_MLB_CLK,
279 FN_CAN1_RX_A, FN_IRQ1_B,
280 FN_CAN0_RX_A, FN_IRQ0_B, FN_MLB_SIG,
281 FN_CAN1_TX_A, FN_TX5_C, FN_MLB_DAT,
282
283 /* IPSR11 */
284 FN_SCL1, FN_SCIF_CLK_C,
285 FN_SDA1, FN_RX1_E,
286 FN_SDA0, FN_HIFEBL_A,
287 FN_SDSELF, FN_RTS1_E,
288 FN_SCIF_CLK_A, FN_HSPI_CLK_A, FN_VI0_CLK, FN_RMII0_TXD0_A, FN_ET0_ERXD4,
289 FN_SCK0_A, FN_HSPI_CS_A, FN_VI0_CLKENB, FN_RMII0_TXD1_A, FN_ET0_ERXD5,
290 FN_RX0_A, FN_HSPI_RX_A, FN_RMII0_RXD0_A, FN_ET0_ERXD6,
291 FN_TX0_A, FN_HSPI_TX_A,
292 FN_PENC1, FN_TX3_D, FN_CAN1_TX_B, FN_TX5_D, FN_IETX_B,
293 FN_USB_OVC1, FN_RX3_D, FN_CAN1_RX_B, FN_RX5_D, FN_IERX_B,
294 FN_DREQ0, FN_SD1_CLK_A, FN_ET0_TX_EN,
295 FN_DACK0, FN_SD1_DAT3_A, FN_ET0_TX_ER,
296 FN_DREQ1, FN_HSPI_CLK_B, FN_RX4_B, FN_ET0_PHY_INT_C, FN_ET0_TX_CLK_A,
297 FN_DACK1, FN_HSPI_CS_B, FN_TX4_B, FN_ET0_RX_CLK_A,
298 FN_PRESETOUT, FN_ST_CLKOUT,
299
300 /* MOD_SEL1 */
301 FN_SEL_IEBUS_0, FN_SEL_IEBUS_1,
302 FN_SEL_RQSPI_0, FN_SEL_RQSPI_1,
303 FN_SEL_VIN1_0, FN_SEL_VIN1_1,
304 FN_SEL_HIF_0, FN_SEL_HIF_1,
305 FN_SEL_RSPI_0, FN_SEL_RSPI_1,
306 FN_SEL_LCDC_0, FN_SEL_LCDC_1,
307 FN_SEL_ET0_CTL_0, FN_SEL_ET0_CTL_1, FN_SEL_ET0_CTL_2,
308 FN_SEL_ET0_0, FN_SEL_ET0_1,
309 FN_SEL_RMII_0, FN_SEL_RMII_1,
310 FN_SEL_TMU_0, FN_SEL_TMU_1,
311 FN_SEL_HSPI_0, FN_SEL_HSPI_1, FN_SEL_HSPI_2,
312 FN_SEL_HSCIF_0, FN_SEL_HSCIF_1, FN_SEL_HSCIF_2, FN_SEL_HSCIF_3,
313 FN_SEL_RCAN_CLK_0, FN_SEL_RCAN_CLK_1,
314 FN_SEL_RCAN1_0, FN_SEL_RCAN1_1, FN_SEL_RCAN1_2,
315 FN_SEL_RCAN0_0, FN_SEL_RCAN0_1,
316 FN_SEL_SDHI2_0, FN_SEL_SDHI2_1,
317 FN_SEL_SDHI1_0, FN_SEL_SDHI1_1,
318 FN_SEL_SDHI0_0, FN_SEL_SDHI0_1,
319 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
320 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
321 FN_SEL_AUDIO_CLKB_0, FN_SEL_AUDIO_CLKB_1,
322 FN_SEL_AUDIO_CLKA_0, FN_SEL_AUDIO_CLKA_1,
323 FN_SEL_FLCTL_0, FN_SEL_FLCTL_1,
324 FN_SEL_MMC_0, FN_SEL_MMC_1,
325 FN_SEL_INTC_0, FN_SEL_INTC_1,
326
327 /* MOD_SEL2 */
328 FN_SEL_MTU2_CLK_0, FN_SEL_MTU2_CLK_1,
329 FN_SEL_MTU2_CH4_0, FN_SEL_MTU2_CH4_1,
330 FN_SEL_MTU2_CH3_0, FN_SEL_MTU2_CH3_1,
331 FN_SEL_MTU2_CH2_0, FN_SEL_MTU2_CH2_1, FN_SEL_MTU2_CH2_2,
332 FN_SEL_MTU2_CH1_0, FN_SEL_MTU2_CH1_1, FN_SEL_MTU2_CH1_2,
333 FN_SEL_MTU2_CH0_0, FN_SEL_MTU2_CH0_1,
334 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
335 FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
336 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1,
337 FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
338 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2,
339 FN_SEL_SCIF3_3, FN_SEL_SCIF3_4,
340 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2,
341 FN_SEL_SCIF2_3,
342 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2,
343 FN_SEL_SCIF1_3, FN_SEL_SCIF1_4,
344 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2,
345 FN_SEL_SCIF_CLK_0, FN_SEL_SCIF_CLK_1, FN_SEL_SCIF_CLK_2,
346
347 PINMUX_FUNCTION_END,
348
349 PINMUX_MARK_BEGIN,
350
351 CLKOUT_MARK, BS_MARK, CS0_MARK, EX_CS0_MARK, RD_MARK,
352 WE0_MARK, WE1_MARK,
353
354 SCL0_MARK, PENC0_MARK, USB_OVC0_MARK,
355
356 IRQ2_B_MARK, IRQ3_B_MARK,
357
358 /* IPSR0 */
359 A15_MARK, ST0_VCO_CLKIN_MARK, LCD_DATA15_A_MARK, TIOC3D_C_MARK,
360 A14_MARK, LCD_DATA14_A_MARK, TIOC3C_C_MARK,
361 A13_MARK, LCD_DATA13_A_MARK, TIOC3B_C_MARK,
362 A12_MARK, LCD_DATA12_A_MARK, TIOC3A_C_MARK,
363 A11_MARK, ST0_D7_MARK, LCD_DATA11_A_MARK, TIOC2B_C_MARK,
364 A10_MARK, ST0_D6_MARK, LCD_DATA10_A_MARK, TIOC2A_C_MARK,
365 A9_MARK, ST0_D5_MARK, LCD_DATA9_A_MARK, TIOC1B_C_MARK,
366 A8_MARK, ST0_D4_MARK, LCD_DATA8_A_MARK, TIOC1A_C_MARK,
367 A7_MARK, ST0_D3_MARK, LCD_DATA7_A_MARK, TIOC0D_C_MARK,
368 A6_MARK, ST0_D2_MARK, LCD_DATA6_A_MARK, TIOC0C_C_MARK,
369 A5_MARK, ST0_D1_MARK, LCD_DATA5_A_MARK, TIOC0B_C_MARK,
370 A4_MARK, ST0_D0_MARK, LCD_DATA4_A_MARK, TIOC0A_C_MARK,
371 A3_MARK, ST0_VLD_MARK, LCD_DATA3_A_MARK, TCLKD_C_MARK,
372 A2_MARK, ST0_SYC_MARK, LCD_DATA2_A_MARK, TCLKC_C_MARK,
373 A1_MARK, ST0_REQ_MARK, LCD_DATA1_A_MARK, TCLKB_C_MARK,
374 A0_MARK, ST0_CLKIN_MARK, LCD_DATA0_A_MARK, TCLKA_C_MARK,
375
376 /* IPSR1 */
377 D3_MARK, SD0_DAT3_A_MARK, MMC_D3_A_MARK, ST1_D6_MARK, FD3_A_MARK,
378 D2_MARK, SD0_DAT2_A_MARK, MMC_D2_A_MARK, ST1_D5_MARK, FD2_A_MARK,
379 D1_MARK, SD0_DAT1_A_MARK, MMC_D1_A_MARK, ST1_D4_MARK, FD1_A_MARK,
380 D0_MARK, SD0_DAT0_A_MARK, MMC_D0_A_MARK, ST1_D3_MARK, FD0_A_MARK,
381 A25_MARK, TX2_D_MARK, ST1_D2_MARK,
382 A24_MARK, RX2_D_MARK, ST1_D1_MARK,
383 A23_MARK, ST1_D0_MARK, LCD_M_DISP_A_MARK,
384 A22_MARK, ST1_VLD_MARK, LCD_VEPWC_A_MARK,
385 A21_MARK, ST1_SYC_MARK, LCD_VCPWC_A_MARK,
386 A20_MARK, ST1_REQ_MARK, LCD_FLM_A_MARK,
387 A19_MARK, ST1_CLKIN_MARK, LCD_CLK_A_MARK, TIOC4D_C_MARK,
388 A18_MARK, ST1_PWM_MARK, LCD_CL2_A_MARK, TIOC4C_C_MARK,
389 A17_MARK, ST1_VCO_CLKIN_MARK, LCD_CL1_A_MARK, TIOC4B_C_MARK,
390 A16_MARK, ST0_PWM_MARK, LCD_DON_A_MARK, TIOC4A_C_MARK,
391
392 /* IPSR2 */
393 D14_MARK, TX2_B_MARK, FSE_A_MARK, ET0_TX_CLK_B_MARK,
394 D13_MARK, RX2_B_MARK, FRB_A_MARK, ET0_ETXD6_B_MARK,
395 D12_MARK, FWE_A_MARK, ET0_ETXD5_B_MARK,
396 D11_MARK, RSPI_MISO_A_MARK, QMI_QIO1_A_MARK, FRE_A_MARK,
397 ET0_ETXD3_B_MARK,
398 D10_MARK, RSPI_MOSI_A_MARK, QMO_QIO0_A_MARK, FALE_A_MARK,
399 ET0_ETXD2_B_MARK,
400 D9_MARK, SD0_CMD_A_MARK, MMC_CMD_A_MARK, QIO3_A_MARK,
401 FCLE_A_MARK, ET0_ETXD1_B_MARK,
402 D8_MARK, SD0_CLK_A_MARK, MMC_CLK_A_MARK, QIO2_A_MARK,
403 FCE_A_MARK, ET0_GTX_CLK_B_MARK,
404 D7_MARK, RSPI_SSL_A_MARK, MMC_D7_A_MARK, QSSL_A_MARK,
405 FD7_A_MARK,
406 D6_MARK, RSPI_RSPCK_A_MARK, MMC_D6_A_MARK, QSPCLK_A_MARK,
407 FD6_A_MARK,
408 D5_MARK, SD0_WP_A_MARK, MMC_D5_A_MARK, FD5_A_MARK,
409 D4_MARK, SD0_CD_A_MARK, MMC_D4_A_MARK, ST1_D7_MARK,
410 FD4_A_MARK,
411
412 /* IPSR3 */
413 DRACK0_MARK, SD1_DAT2_A_MARK, ATAG_MARK, TCLK1_A_MARK, ET0_ETXD7_MARK,
414 EX_WAIT2_MARK, SD1_DAT1_A_MARK, DACK2_MARK, CAN1_RX_C_MARK,
415 ET0_MAGIC_C_MARK, ET0_ETXD6_A_MARK,
416 EX_WAIT1_MARK, SD1_DAT0_A_MARK, DREQ2_MARK, CAN1_TX_C_MARK,
417 ET0_LINK_C_MARK, ET0_ETXD5_A_MARK,
418 EX_WAIT0_MARK, TCLK1_B_MARK,
419 RD_WR_MARK, TCLK0_MARK, CAN_CLK_B_MARK, ET0_ETXD4_MARK,
420 EX_CS5_MARK, SD1_CMD_A_MARK, ATADIR_MARK, QSSL_B_MARK,
421 ET0_ETXD3_A_MARK,
422 EX_CS4_MARK, SD1_WP_A_MARK, ATAWR_MARK, QMI_QIO1_B_MARK,
423 ET0_ETXD2_A_MARK,
424 EX_CS3_MARK, SD1_CD_A_MARK, ATARD_MARK, QMO_QIO0_B_MARK,
425 ET0_ETXD1_A_MARK,
426 EX_CS2_MARK, TX3_B_MARK, ATACS1_MARK, QSPCLK_B_MARK,
427 ET0_GTX_CLK_A_MARK,
428 EX_CS1_MARK, RX3_B_MARK, ATACS0_MARK, QIO2_B_MARK,
429 ET0_ETXD0_MARK,
430 CS1_A26_MARK, QIO3_B_MARK,
431 D15_MARK, SCK2_B_MARK,
432
433 /* IPSR4 */
434 SCK2_A_MARK, VI0_G3_MARK,
435 RTS1_B_MARK, VI0_G2_MARK,
436 CTS1_B_MARK, VI0_DATA7_VI0_G1_MARK,
437 TX1_B_MARK, VI0_DATA6_VI0_G0_MARK, ET0_PHY_INT_A_MARK,
438 RX1_B_MARK, VI0_DATA5_VI0_B5_MARK, ET0_MAGIC_A_MARK,
439 SCK1_B_MARK, VI0_DATA4_VI0_B4_MARK, ET0_LINK_A_MARK,
440 RTS0_B_MARK, VI0_DATA3_VI0_B3_MARK, ET0_MDIO_A_MARK,
441 CTS0_B_MARK, VI0_DATA2_VI0_B2_MARK, RMII0_MDIO_A_MARK,
442 ET0_MDC_MARK,
443 HTX0_A_MARK, TX1_A_MARK, VI0_DATA1_VI0_B1_MARK,
444 RMII0_MDC_A_MARK, ET0_COL_MARK,
445 HRX0_A_MARK, RX1_A_MARK, VI0_DATA0_VI0_B0_MARK,
446 RMII0_CRS_DV_A_MARK, ET0_CRS_MARK,
447 HSCK0_A_MARK, SCK1_A_MARK, VI0_VSYNC_MARK,
448 RMII0_RX_ER_A_MARK, ET0_RX_ER_MARK,
449 HRTS0_A_MARK, RTS1_A_MARK, VI0_HSYNC_MARK,
450 RMII0_TXD_EN_A_MARK, ET0_RX_DV_MARK,
451 HCTS0_A_MARK, CTS1_A_MARK, VI0_FIELD_MARK,
452 RMII0_RXD1_A_MARK, ET0_ERXD7_MARK,
453
454 /* IPSR5 */
455 SD2_CLK_A_MARK, RX2_A_MARK, VI0_G4_MARK, ET0_RX_CLK_B_MARK,
456 SD2_CMD_A_MARK, TX2_A_MARK, VI0_G5_MARK, ET0_ERXD2_B_MARK,
457 SD2_DAT0_A_MARK, RX3_A_MARK, VI0_R0_MARK, ET0_ERXD3_B_MARK,
458 SD2_DAT1_A_MARK, TX3_A_MARK, VI0_R1_MARK, ET0_MDIO_B_MARK,
459 SD2_DAT2_A_MARK, RX4_A_MARK, VI0_R2_MARK, ET0_LINK_B_MARK,
460 SD2_DAT3_A_MARK, TX4_A_MARK, VI0_R3_MARK, ET0_MAGIC_B_MARK,
461 SD2_CD_A_MARK, RX5_A_MARK, VI0_R4_MARK, ET0_PHY_INT_B_MARK,
462 SD2_WP_A_MARK, TX5_A_MARK, VI0_R5_MARK,
463 REF125CK_MARK, ADTRG_MARK, RX5_C_MARK,
464 REF50CK_MARK, CTS1_E_MARK, HCTS0_D_MARK,
465
466 /* IPSR6 */
467 DU0_DR0_MARK, SCIF_CLK_B_MARK, HRX0_D_MARK, IETX_A_MARK,
468 TCLKA_A_MARK, HIFD00_MARK,
469 DU0_DR1_MARK, SCK0_B_MARK, HTX0_D_MARK, IERX_A_MARK,
470 TCLKB_A_MARK, HIFD01_MARK,
471 DU0_DR2_MARK, RX0_B_MARK, TCLKC_A_MARK, HIFD02_MARK,
472 DU0_DR3_MARK, TX0_B_MARK, TCLKD_A_MARK, HIFD03_MARK,
473 DU0_DR4_MARK, CTS0_C_MARK, TIOC0A_A_MARK, HIFD04_MARK,
474 DU0_DR5_MARK, RTS0_C_MARK, TIOC0B_A_MARK, HIFD05_MARK,
475 DU0_DR6_MARK, SCK1_C_MARK, TIOC0C_A_MARK, HIFD06_MARK,
476 DU0_DR7_MARK, RX1_C_MARK, TIOC0D_A_MARK, HIFD07_MARK,
477 DU0_DG0_MARK, TX1_C_MARK, HSCK0_D_MARK, IECLK_A_MARK,
478 TIOC1A_A_MARK, HIFD08_MARK,
479 DU0_DG1_MARK, CTS1_C_MARK, HRTS0_D_MARK, TIOC1B_A_MARK,
480 HIFD09_MARK,
481
482 /* IPSR7 */
483 DU0_DG2_MARK, RTS1_C_MARK, RMII0_MDC_B_MARK, TIOC2A_A_MARK,
484 HIFD10_MARK,
485 DU0_DG3_MARK, SCK2_C_MARK, RMII0_MDIO_B_MARK, TIOC2B_A_MARK,
486 HIFD11_MARK,
487 DU0_DG4_MARK, RX2_C_MARK, RMII0_CRS_DV_B_MARK, TIOC3A_A_MARK,
488 HIFD12_MARK,
489 DU0_DG5_MARK, TX2_C_MARK, RMII0_RX_ER_B_MARK, TIOC3B_A_MARK,
490 HIFD13_MARK,
491 DU0_DG6_MARK, RX3_C_MARK, RMII0_RXD0_B_MARK, TIOC3C_A_MARK,
492 HIFD14_MARK,
493 DU0_DG7_MARK, TX3_C_MARK, RMII0_RXD1_B_MARK, TIOC3D_A_MARK,
494 HIFD15_MARK,
495 DU0_DB0_MARK, RX4_C_MARK, RMII0_TXD_EN_B_MARK, TIOC4A_A_MARK,
496 HIFCS_MARK,
497 DU0_DB1_MARK, TX4_C_MARK, RMII0_TXD0_B_MARK, TIOC4B_A_MARK,
498 HIFRS_MARK,
499 DU0_DB2_MARK, RX5_B_MARK, RMII0_TXD1_B_MARK, TIOC4C_A_MARK,
500 HIFWR_MARK,
501 DU0_DB3_MARK, TX5_B_MARK, TIOC4D_A_MARK, HIFRD_MARK,
502 DU0_DB4_MARK, HIFINT_MARK,
503
504 /* IPSR8 */
505 DU0_DB5_MARK, HIFDREQ_MARK,
506 DU0_DB6_MARK, HIFRDY_MARK,
507 DU0_DB7_MARK, SSI_SCK0_B_MARK, HIFEBL_B_MARK,
508 DU0_DOTCLKIN_MARK, HSPI_CS0_C_MARK, SSI_WS0_B_MARK,
509 DU0_DOTCLKOUT_MARK, HSPI_CLK0_C_MARK, SSI_SDATA0_B_MARK,
510 DU0_EXHSYNC_DU0_HSYNC_MARK, HSPI_TX0_C_MARK, SSI_SCK1_B_MARK,
511 DU0_EXVSYNC_DU0_VSYNC_MARK, HSPI_RX0_C_MARK, SSI_WS1_B_MARK,
512 DU0_EXODDF_DU0_ODDF_MARK, CAN0_RX_B_MARK, HSCK0_B_MARK,
513 SSI_SDATA1_B_MARK,
514 DU0_DISP_MARK, CAN0_TX_B_MARK, HRX0_B_MARK, AUDIO_CLKA_B_MARK,
515 DU0_CDE_MARK, HTX0_B_MARK, AUDIO_CLKB_B_MARK, LCD_VCPWC_B_MARK,
516 IRQ0_A_MARK, HSPI_TX_B_MARK, RX3_E_MARK, ET0_ERXD0_MARK,
517 IRQ1_A_MARK, HSPI_RX_B_MARK, TX3_E_MARK, ET0_ERXD1_MARK,
518 IRQ2_A_MARK, CTS0_A_MARK, HCTS0_B_MARK, ET0_ERXD2_A_MARK,
519 IRQ3_A_MARK, RTS0_A_MARK, HRTS0_B_MARK, ET0_ERXD3_A_MARK,
520
521 /* IPSR9 */
522 VI1_CLK_A_MARK, FD0_B_MARK, LCD_DATA0_B_MARK,
523 VI1_0_A_MARK, FD1_B_MARK, LCD_DATA1_B_MARK,
524 VI1_1_A_MARK, FD2_B_MARK, LCD_DATA2_B_MARK,
525 VI1_2_A_MARK, FD3_B_MARK, LCD_DATA3_B_MARK,
526 VI1_3_A_MARK, FD4_B_MARK, LCD_DATA4_B_MARK,
527 VI1_4_A_MARK, FD5_B_MARK, LCD_DATA5_B_MARK,
528 VI1_5_A_MARK, FD6_B_MARK, LCD_DATA6_B_MARK,
529 VI1_6_A_MARK, FD7_B_MARK, LCD_DATA7_B_MARK,
530 VI1_7_A_MARK, FCE_B_MARK, LCD_DATA8_B_MARK,
531 SSI_SCK0_A_MARK, TIOC1A_B_MARK, LCD_DATA9_B_MARK,
532 SSI_WS0_A_MARK, TIOC1B_B_MARK, LCD_DATA10_B_MARK,
533 SSI_SDATA0_A_MARK, VI1_0_B_MARK, TIOC2A_B_MARK, LCD_DATA11_B_MARK,
534 SSI_SCK1_A_MARK, VI1_1_B_MARK, TIOC2B_B_MARK, LCD_DATA12_B_MARK,
535 SSI_WS1_A_MARK, VI1_2_B_MARK, LCD_DATA13_B_MARK,
536 SSI_SDATA1_A_MARK, VI1_3_B_MARK, LCD_DATA14_B_MARK,
537
538 /* IPSR10 */
539 SSI_SCK23_MARK, VI1_4_B_MARK, RX1_D_MARK, FCLE_B_MARK,
540 LCD_DATA15_B_MARK,
541 SSI_WS23_MARK, VI1_5_B_MARK, TX1_D_MARK, HSCK0_C_MARK,
542 FALE_B_MARK, LCD_DON_B_MARK,
543 SSI_SDATA2_MARK, VI1_6_B_MARK, HRX0_C_MARK, FRE_B_MARK,
544 LCD_CL1_B_MARK,
545 SSI_SDATA3_MARK, VI1_7_B_MARK, HTX0_C_MARK, FWE_B_MARK,
546 LCD_CL2_B_MARK,
547 AUDIO_CLKA_A_MARK, VI1_CLK_B_MARK, SCK1_D_MARK, IECLK_B_MARK,
548 LCD_FLM_B_MARK,
549 AUDIO_CLKB_A_MARK, LCD_CLK_B_MARK,
550 AUDIO_CLKC_MARK, SCK1_E_MARK, HCTS0_C_MARK, FRB_B_MARK,
551 LCD_VEPWC_B_MARK,
552 AUDIO_CLKOUT_MARK, TX1_E_MARK, HRTS0_C_MARK, FSE_B_MARK,
553 LCD_M_DISP_B_MARK,
554 CAN_CLK_A_MARK, RX4_D_MARK,
555 CAN0_TX_A_MARK, TX4_D_MARK, MLB_CLK_MARK,
556 CAN1_RX_A_MARK, IRQ1_B_MARK,
557 CAN0_RX_A_MARK, IRQ0_B_MARK, MLB_SIG_MARK,
558 CAN1_TX_A_MARK, TX5_C_MARK, MLB_DAT_MARK,
559
560 /* IPSR11 */
561 SCL1_MARK, SCIF_CLK_C_MARK,
562 SDA1_MARK, RX1_E_MARK,
563 SDA0_MARK, HIFEBL_A_MARK,
564 SDSELF_MARK, RTS1_E_MARK,
565 SCIF_CLK_A_MARK, HSPI_CLK_A_MARK, VI0_CLK_MARK, RMII0_TXD0_A_MARK,
566 ET0_ERXD4_MARK,
567 SCK0_A_MARK, HSPI_CS_A_MARK, VI0_CLKENB_MARK, RMII0_TXD1_A_MARK,
568 ET0_ERXD5_MARK,
569 RX0_A_MARK, HSPI_RX_A_MARK, RMII0_RXD0_A_MARK, ET0_ERXD6_MARK,
570 TX0_A_MARK, HSPI_TX_A_MARK,
571 PENC1_MARK, TX3_D_MARK, CAN1_TX_B_MARK, TX5_D_MARK,
572 IETX_B_MARK,
573 USB_OVC1_MARK, RX3_D_MARK, CAN1_RX_B_MARK, RX5_D_MARK,
574 IERX_B_MARK,
575 DREQ0_MARK, SD1_CLK_A_MARK, ET0_TX_EN_MARK,
576 DACK0_MARK, SD1_DAT3_A_MARK, ET0_TX_ER_MARK,
577 DREQ1_MARK, HSPI_CLK_B_MARK, RX4_B_MARK, ET0_PHY_INT_C_MARK,
578 ET0_TX_CLK_A_MARK,
579 DACK1_MARK, HSPI_CS_B_MARK, TX4_B_MARK, ET0_RX_CLK_A_MARK,
580 PRESETOUT_MARK, ST_CLKOUT_MARK,
581
582 PINMUX_MARK_END,
583};
584
Laurent Pinchart533743d2013-07-15 13:03:20 +0200585static const u16 pinmux_data[] = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100586 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
587
588 PINMUX_DATA(CLKOUT_MARK, FN_CLKOUT),
589 PINMUX_DATA(BS_MARK, FN_BS), PINMUX_DATA(CS0_MARK, FN_CS0),
590 PINMUX_DATA(EX_CS0_MARK, FN_EX_CS0),
591 PINMUX_DATA(RD_MARK, FN_RD), PINMUX_DATA(WE0_MARK, FN_WE0),
592 PINMUX_DATA(WE1_MARK, FN_WE1),
593 PINMUX_DATA(SCL0_MARK, FN_SCL0), PINMUX_DATA(PENC0_MARK, FN_PENC0),
594 PINMUX_DATA(USB_OVC0_MARK, FN_USB_OVC0),
595 PINMUX_DATA(IRQ2_B_MARK, FN_IRQ2_B),
596 PINMUX_DATA(IRQ3_B_MARK, FN_IRQ3_B),
597
598 /* IPSR0 */
599 PINMUX_IPSR_DATA(IP0_1_0, A0),
600 PINMUX_IPSR_DATA(IP0_1_0, ST0_CLKIN),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000601 PINMUX_IPSR_MSEL(IP0_1_0, LCD_DATA0_A, SEL_LCDC_0),
602 PINMUX_IPSR_MSEL(IP0_1_0, TCLKA_C, SEL_MTU2_CLK_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100603
604 PINMUX_IPSR_DATA(IP0_3_2, A1),
605 PINMUX_IPSR_DATA(IP0_3_2, ST0_REQ),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000606 PINMUX_IPSR_MSEL(IP0_3_2, LCD_DATA1_A, SEL_LCDC_0),
607 PINMUX_IPSR_MSEL(IP0_3_2, TCLKB_C, SEL_MTU2_CLK_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100608
609 PINMUX_IPSR_DATA(IP0_5_4, A2),
610 PINMUX_IPSR_DATA(IP0_5_4, ST0_SYC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000611 PINMUX_IPSR_MSEL(IP0_5_4, LCD_DATA2_A, SEL_LCDC_0),
612 PINMUX_IPSR_MSEL(IP0_5_4, TCLKC_C, SEL_MTU2_CLK_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100613
614 PINMUX_IPSR_DATA(IP0_7_6, A3),
615 PINMUX_IPSR_DATA(IP0_7_6, ST0_VLD),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000616 PINMUX_IPSR_MSEL(IP0_7_6, LCD_DATA3_A, SEL_LCDC_0),
617 PINMUX_IPSR_MSEL(IP0_7_6, TCLKD_C, SEL_MTU2_CLK_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100618
619 PINMUX_IPSR_DATA(IP0_9_8, A4),
620 PINMUX_IPSR_DATA(IP0_9_8, ST0_D0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000621 PINMUX_IPSR_MSEL(IP0_9_8, LCD_DATA4_A, SEL_LCDC_0),
622 PINMUX_IPSR_MSEL(IP0_9_8, TIOC0A_C, SEL_MTU2_CH0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100623
624 PINMUX_IPSR_DATA(IP0_11_10, A5),
625 PINMUX_IPSR_DATA(IP0_11_10, ST0_D1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000626 PINMUX_IPSR_MSEL(IP0_11_10, LCD_DATA5_A, SEL_LCDC_0),
627 PINMUX_IPSR_MSEL(IP0_11_10, TIOC0B_C, SEL_MTU2_CH0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100628
629 PINMUX_IPSR_DATA(IP0_13_12, A6),
630 PINMUX_IPSR_DATA(IP0_13_12, ST0_D2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000631 PINMUX_IPSR_MSEL(IP0_13_12, LCD_DATA6_A, SEL_LCDC_0),
632 PINMUX_IPSR_MSEL(IP0_13_12, TIOC0C_C, SEL_MTU2_CH0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100633
634 PINMUX_IPSR_DATA(IP0_15_14, A7),
635 PINMUX_IPSR_DATA(IP0_15_14, ST0_D3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000636 PINMUX_IPSR_MSEL(IP0_15_14, LCD_DATA7_A, SEL_LCDC_0),
637 PINMUX_IPSR_MSEL(IP0_15_14, TIOC0D_C, SEL_MTU2_CH0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100638
639 PINMUX_IPSR_DATA(IP0_17_16, A8),
640 PINMUX_IPSR_DATA(IP0_17_16, ST0_D4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000641 PINMUX_IPSR_MSEL(IP0_17_16, LCD_DATA8_A, SEL_LCDC_0),
642 PINMUX_IPSR_MSEL(IP0_17_16, TIOC1A_C, SEL_MTU2_CH1_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100643
644 PINMUX_IPSR_DATA(IP0_19_18, A9),
645 PINMUX_IPSR_DATA(IP0_19_18, ST0_D5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000646 PINMUX_IPSR_MSEL(IP0_19_18, LCD_DATA9_A, SEL_LCDC_0),
647 PINMUX_IPSR_MSEL(IP0_19_18, TIOC1B_C, SEL_MTU2_CH1_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100648
649 PINMUX_IPSR_DATA(IP0_21_20, A10),
650 PINMUX_IPSR_DATA(IP0_21_20, ST0_D6),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000651 PINMUX_IPSR_MSEL(IP0_21_20, LCD_DATA10_A, SEL_LCDC_0),
652 PINMUX_IPSR_MSEL(IP0_21_20, TIOC2A_C, SEL_MTU2_CH2_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100653
654 PINMUX_IPSR_DATA(IP0_23_22, A11),
655 PINMUX_IPSR_DATA(IP0_23_22, ST0_D7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000656 PINMUX_IPSR_MSEL(IP0_23_22, LCD_DATA11_A, SEL_LCDC_0),
657 PINMUX_IPSR_MSEL(IP0_23_22, TIOC2B_C, SEL_MTU2_CH2_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100658
659 PINMUX_IPSR_DATA(IP0_25_24, A12),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000660 PINMUX_IPSR_MSEL(IP0_25_24, LCD_DATA12_A, SEL_LCDC_0),
661 PINMUX_IPSR_MSEL(IP0_25_24, TIOC3A_C, SEL_MTU2_CH3_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100662
663 PINMUX_IPSR_DATA(IP0_27_26, A13),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000664 PINMUX_IPSR_MSEL(IP0_27_26, LCD_DATA13_A, SEL_LCDC_0),
665 PINMUX_IPSR_MSEL(IP0_27_26, TIOC3B_C, SEL_MTU2_CH3_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100666
667 PINMUX_IPSR_DATA(IP0_29_28, A14),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000668 PINMUX_IPSR_MSEL(IP0_29_28, LCD_DATA14_A, SEL_LCDC_0),
669 PINMUX_IPSR_MSEL(IP0_29_28, TIOC3C_C, SEL_MTU2_CH3_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100670
671 PINMUX_IPSR_DATA(IP0_31_30, A15),
672 PINMUX_IPSR_DATA(IP0_31_30, ST0_VCO_CLKIN),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000673 PINMUX_IPSR_MSEL(IP0_31_30, LCD_DATA15_A, SEL_LCDC_0),
674 PINMUX_IPSR_MSEL(IP0_31_30, TIOC3D_C, SEL_MTU2_CH3_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100675
676
677 /* IPSR1 */
678 PINMUX_IPSR_DATA(IP1_1_0, A16),
679 PINMUX_IPSR_DATA(IP1_1_0, ST0_PWM),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000680 PINMUX_IPSR_MSEL(IP1_1_0, LCD_DON_A, SEL_LCDC_0),
681 PINMUX_IPSR_MSEL(IP1_1_0, TIOC4A_C, SEL_MTU2_CH4_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100682
683 PINMUX_IPSR_DATA(IP1_3_2, A17),
684 PINMUX_IPSR_DATA(IP1_3_2, ST1_VCO_CLKIN),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000685 PINMUX_IPSR_MSEL(IP1_3_2, LCD_CL1_A, SEL_LCDC_0),
686 PINMUX_IPSR_MSEL(IP1_3_2, TIOC4B_C, SEL_MTU2_CH4_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100687
688 PINMUX_IPSR_DATA(IP1_5_4, A18),
689 PINMUX_IPSR_DATA(IP1_5_4, ST1_PWM),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000690 PINMUX_IPSR_MSEL(IP1_5_4, LCD_CL2_A, SEL_LCDC_0),
691 PINMUX_IPSR_MSEL(IP1_5_4, TIOC4C_C, SEL_MTU2_CH4_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100692
693 PINMUX_IPSR_DATA(IP1_7_6, A19),
694 PINMUX_IPSR_DATA(IP1_7_6, ST1_CLKIN),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000695 PINMUX_IPSR_MSEL(IP1_7_6, LCD_CLK_A, SEL_LCDC_0),
696 PINMUX_IPSR_MSEL(IP1_7_6, TIOC4D_C, SEL_MTU2_CH4_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100697
698 PINMUX_IPSR_DATA(IP1_9_8, A20),
699 PINMUX_IPSR_DATA(IP1_9_8, ST1_REQ),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000700 PINMUX_IPSR_MSEL(IP1_9_8, LCD_FLM_A, SEL_LCDC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100701
702 PINMUX_IPSR_DATA(IP1_11_10, A21),
703 PINMUX_IPSR_DATA(IP1_11_10, ST1_SYC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000704 PINMUX_IPSR_MSEL(IP1_11_10, LCD_VCPWC_A, SEL_LCDC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100705
706 PINMUX_IPSR_DATA(IP1_13_12, A22),
707 PINMUX_IPSR_DATA(IP1_13_12, ST1_VLD),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000708 PINMUX_IPSR_MSEL(IP1_13_12, LCD_VEPWC_A, SEL_LCDC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100709
710 PINMUX_IPSR_DATA(IP1_15_14, A23),
711 PINMUX_IPSR_DATA(IP1_15_14, ST1_D0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000712 PINMUX_IPSR_MSEL(IP1_15_14, LCD_M_DISP_A, SEL_LCDC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100713
714 PINMUX_IPSR_DATA(IP1_17_16, A24),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000715 PINMUX_IPSR_MSEL(IP1_17_16, RX2_D, SEL_SCIF2_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100716 PINMUX_IPSR_DATA(IP1_17_16, ST1_D1),
717
718 PINMUX_IPSR_DATA(IP1_19_18, A25),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000719 PINMUX_IPSR_MSEL(IP1_17_16, RX2_D, SEL_SCIF2_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100720 PINMUX_IPSR_DATA(IP1_17_16, ST1_D2),
721
722 PINMUX_IPSR_DATA(IP1_22_20, D0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000723 PINMUX_IPSR_MSEL(IP1_22_20, SD0_DAT0_A, SEL_SDHI0_0),
724 PINMUX_IPSR_MSEL(IP1_22_20, MMC_D0_A, SEL_MMC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100725 PINMUX_IPSR_DATA(IP1_22_20, ST1_D3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000726 PINMUX_IPSR_MSEL(IP1_22_20, FD0_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100727
728 PINMUX_IPSR_DATA(IP1_25_23, D1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000729 PINMUX_IPSR_MSEL(IP1_25_23, SD0_DAT0_A, SEL_SDHI0_0),
730 PINMUX_IPSR_MSEL(IP1_25_23, MMC_D1_A, SEL_MMC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100731 PINMUX_IPSR_DATA(IP1_25_23, ST1_D4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000732 PINMUX_IPSR_MSEL(IP1_25_23, FD1_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100733
734 PINMUX_IPSR_DATA(IP1_28_26, D2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000735 PINMUX_IPSR_MSEL(IP1_28_26, SD0_DAT0_A, SEL_SDHI0_0),
736 PINMUX_IPSR_MSEL(IP1_28_26, MMC_D2_A, SEL_MMC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100737 PINMUX_IPSR_DATA(IP1_28_26, ST1_D5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000738 PINMUX_IPSR_MSEL(IP1_28_26, FD2_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100739
740 PINMUX_IPSR_DATA(IP1_31_29, D3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000741 PINMUX_IPSR_MSEL(IP1_31_29, SD0_DAT0_A, SEL_SDHI0_0),
742 PINMUX_IPSR_MSEL(IP1_31_29, MMC_D3_A, SEL_MMC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100743 PINMUX_IPSR_DATA(IP1_31_29, ST1_D6),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000744 PINMUX_IPSR_MSEL(IP1_31_29, FD3_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100745
746 /* IPSR2 */
747 PINMUX_IPSR_DATA(IP2_2_0, D4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000748 PINMUX_IPSR_MSEL(IP2_2_0, SD0_CD_A, SEL_SDHI0_0),
749 PINMUX_IPSR_MSEL(IP2_2_0, MMC_D4_A, SEL_MMC_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100750 PINMUX_IPSR_DATA(IP2_2_0, ST1_D7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000751 PINMUX_IPSR_MSEL(IP2_2_0, FD4_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100752
753 PINMUX_IPSR_DATA(IP2_4_3, D5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000754 PINMUX_IPSR_MSEL(IP2_4_3, SD0_WP_A, SEL_SDHI0_0),
755 PINMUX_IPSR_MSEL(IP2_4_3, MMC_D5_A, SEL_MMC_0),
756 PINMUX_IPSR_MSEL(IP2_4_3, FD5_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100757
758 PINMUX_IPSR_DATA(IP2_7_5, D6),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000759 PINMUX_IPSR_MSEL(IP2_7_5, RSPI_RSPCK_A, SEL_RSPI_0),
760 PINMUX_IPSR_MSEL(IP2_7_5, MMC_D6_A, SEL_MMC_0),
761 PINMUX_IPSR_MSEL(IP2_7_5, QSPCLK_A, SEL_RQSPI_0),
762 PINMUX_IPSR_MSEL(IP2_7_5, FD6_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100763
764 PINMUX_IPSR_DATA(IP2_10_8, D7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000765 PINMUX_IPSR_MSEL(IP2_10_8, RSPI_SSL_A, SEL_RSPI_0),
766 PINMUX_IPSR_MSEL(IP2_10_8, MMC_D7_A, SEL_MMC_0),
767 PINMUX_IPSR_MSEL(IP2_10_8, QSSL_A, SEL_RQSPI_0),
768 PINMUX_IPSR_MSEL(IP2_10_8, FD7_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100769
770 PINMUX_IPSR_DATA(IP2_13_11, D8),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000771 PINMUX_IPSR_MSEL(IP2_13_11, SD0_CLK_A, SEL_SDHI0_0),
772 PINMUX_IPSR_MSEL(IP2_13_11, MMC_CLK_A, SEL_MMC_0),
773 PINMUX_IPSR_MSEL(IP2_13_11, QIO2_A, SEL_RQSPI_0),
774 PINMUX_IPSR_MSEL(IP2_13_11, FCE_A, SEL_FLCTL_0),
775 PINMUX_IPSR_MSEL(IP2_13_11, ET0_GTX_CLK_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100776
777 PINMUX_IPSR_DATA(IP2_16_14, D9),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000778 PINMUX_IPSR_MSEL(IP2_16_14, SD0_CMD_A, SEL_SDHI0_0),
779 PINMUX_IPSR_MSEL(IP2_16_14, MMC_CMD_A, SEL_MMC_0),
780 PINMUX_IPSR_MSEL(IP2_16_14, QIO3_A, SEL_RQSPI_0),
781 PINMUX_IPSR_MSEL(IP2_16_14, FCLE_A, SEL_FLCTL_0),
782 PINMUX_IPSR_MSEL(IP2_16_14, ET0_ETXD1_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100783
784 PINMUX_IPSR_DATA(IP2_19_17, D10),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000785 PINMUX_IPSR_MSEL(IP2_19_17, RSPI_MOSI_A, SEL_RSPI_0),
786 PINMUX_IPSR_MSEL(IP2_19_17, QMO_QIO0_A, SEL_RQSPI_0),
787 PINMUX_IPSR_MSEL(IP2_19_17, FALE_A, SEL_FLCTL_0),
788 PINMUX_IPSR_MSEL(IP2_19_17, ET0_ETXD2_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100789
790 PINMUX_IPSR_DATA(IP2_22_20, D11),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000791 PINMUX_IPSR_MSEL(IP2_22_20, RSPI_MISO_A, SEL_RSPI_0),
792 PINMUX_IPSR_MSEL(IP2_22_20, QMI_QIO1_A, SEL_RQSPI_0),
793 PINMUX_IPSR_MSEL(IP2_22_20, FRE_A, SEL_FLCTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100794
795 PINMUX_IPSR_DATA(IP2_24_23, D12),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000796 PINMUX_IPSR_MSEL(IP2_24_23, FWE_A, SEL_FLCTL_0),
797 PINMUX_IPSR_MSEL(IP2_24_23, ET0_ETXD5_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100798
799 PINMUX_IPSR_DATA(IP2_27_25, D13),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000800 PINMUX_IPSR_MSEL(IP2_27_25, RX2_B, SEL_SCIF2_1),
801 PINMUX_IPSR_MSEL(IP2_27_25, FRB_A, SEL_FLCTL_0),
802 PINMUX_IPSR_MSEL(IP2_27_25, ET0_ETXD6_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100803
804 PINMUX_IPSR_DATA(IP2_30_28, D14),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000805 PINMUX_IPSR_MSEL(IP2_30_28, TX2_B, SEL_SCIF2_1),
806 PINMUX_IPSR_MSEL(IP2_30_28, FSE_A, SEL_FLCTL_0),
807 PINMUX_IPSR_MSEL(IP2_30_28, ET0_TX_CLK_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100808
809 /* IPSR3 */
810 PINMUX_IPSR_DATA(IP3_1_0, D15),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000811 PINMUX_IPSR_MSEL(IP3_1_0, SCK2_B, SEL_SCIF2_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100812
813 PINMUX_IPSR_DATA(IP3_2, CS1_A26),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000814 PINMUX_IPSR_MSEL(IP3_2, QIO3_B, SEL_RQSPI_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100815
816 PINMUX_IPSR_DATA(IP3_5_3, EX_CS1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000817 PINMUX_IPSR_MSEL(IP3_5_3, RX3_B, SEL_SCIF2_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100818 PINMUX_IPSR_DATA(IP3_5_3, ATACS0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000819 PINMUX_IPSR_MSEL(IP3_5_3, QIO2_B, SEL_RQSPI_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100820 PINMUX_IPSR_DATA(IP3_5_3, ET0_ETXD0),
821
822 PINMUX_IPSR_DATA(IP3_8_6, EX_CS2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000823 PINMUX_IPSR_MSEL(IP3_8_6, TX3_B, SEL_SCIF3_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100824 PINMUX_IPSR_DATA(IP3_8_6, ATACS1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000825 PINMUX_IPSR_MSEL(IP3_8_6, QSPCLK_B, SEL_RQSPI_1),
826 PINMUX_IPSR_MSEL(IP3_8_6, ET0_GTX_CLK_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100827
828 PINMUX_IPSR_DATA(IP3_11_9, EX_CS3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000829 PINMUX_IPSR_MSEL(IP3_11_9, SD1_CD_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100830 PINMUX_IPSR_DATA(IP3_11_9, ATARD),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000831 PINMUX_IPSR_MSEL(IP3_11_9, QMO_QIO0_B, SEL_RQSPI_1),
832 PINMUX_IPSR_MSEL(IP3_11_9, ET0_ETXD1_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100833
834 PINMUX_IPSR_DATA(IP3_14_12, EX_CS4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000835 PINMUX_IPSR_MSEL(IP3_14_12, SD1_WP_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100836 PINMUX_IPSR_DATA(IP3_14_12, ATAWR),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000837 PINMUX_IPSR_MSEL(IP3_14_12, QMI_QIO1_B, SEL_RQSPI_1),
838 PINMUX_IPSR_MSEL(IP3_14_12, ET0_ETXD2_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100839
840 PINMUX_IPSR_DATA(IP3_17_15, EX_CS5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000841 PINMUX_IPSR_MSEL(IP3_17_15, SD1_CMD_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100842 PINMUX_IPSR_DATA(IP3_17_15, ATADIR),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000843 PINMUX_IPSR_MSEL(IP3_17_15, QSSL_B, SEL_RQSPI_1),
844 PINMUX_IPSR_MSEL(IP3_17_15, ET0_ETXD3_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100845
846 PINMUX_IPSR_DATA(IP3_19_18, RD_WR),
847 PINMUX_IPSR_DATA(IP3_19_18, TCLK0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000848 PINMUX_IPSR_MSEL(IP3_19_18, CAN_CLK_B, SEL_RCAN_CLK_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100849 PINMUX_IPSR_DATA(IP3_19_18, ET0_ETXD4),
850
851 PINMUX_IPSR_DATA(IP3_20, EX_WAIT0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000852 PINMUX_IPSR_MSEL(IP3_20, TCLK1_B, SEL_TMU_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100853
854 PINMUX_IPSR_DATA(IP3_23_21, EX_WAIT1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000855 PINMUX_IPSR_MSEL(IP3_23_21, SD1_DAT0_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100856 PINMUX_IPSR_DATA(IP3_23_21, DREQ2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000857 PINMUX_IPSR_MSEL(IP3_23_21, CAN1_TX_C, SEL_RCAN1_2),
858 PINMUX_IPSR_MSEL(IP3_23_21, ET0_LINK_C, SEL_ET0_CTL_2),
859 PINMUX_IPSR_MSEL(IP3_23_21, ET0_ETXD5_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100860
861 PINMUX_IPSR_DATA(IP3_26_24, EX_WAIT2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000862 PINMUX_IPSR_MSEL(IP3_26_24, SD1_DAT1_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100863 PINMUX_IPSR_DATA(IP3_26_24, DACK2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000864 PINMUX_IPSR_MSEL(IP3_26_24, CAN1_RX_C, SEL_RCAN1_2),
865 PINMUX_IPSR_MSEL(IP3_26_24, ET0_MAGIC_C, SEL_ET0_CTL_2),
866 PINMUX_IPSR_MSEL(IP3_26_24, ET0_ETXD6_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100867
868 PINMUX_IPSR_DATA(IP3_29_27, DRACK0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000869 PINMUX_IPSR_MSEL(IP3_29_27, SD1_DAT2_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100870 PINMUX_IPSR_DATA(IP3_29_27, ATAG),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000871 PINMUX_IPSR_MSEL(IP3_29_27, TCLK1_A, SEL_TMU_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100872 PINMUX_IPSR_DATA(IP3_29_27, ET0_ETXD7),
873
874 /* IPSR4 */
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000875 PINMUX_IPSR_MSEL(IP4_2_0, HCTS0_A, SEL_HSCIF_0),
876 PINMUX_IPSR_MSEL(IP4_2_0, CTS1_A, SEL_SCIF1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100877 PINMUX_IPSR_DATA(IP4_2_0, VI0_FIELD),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000878 PINMUX_IPSR_MSEL(IP4_2_0, RMII0_RXD1_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100879 PINMUX_IPSR_DATA(IP4_2_0, ET0_ERXD7),
880
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000881 PINMUX_IPSR_MSEL(IP4_5_3, HRTS0_A, SEL_HSCIF_0),
882 PINMUX_IPSR_MSEL(IP4_5_3, RTS1_A, SEL_SCIF1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100883 PINMUX_IPSR_DATA(IP4_5_3, VI0_HSYNC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000884 PINMUX_IPSR_MSEL(IP4_5_3, RMII0_TXD_EN_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100885 PINMUX_IPSR_DATA(IP4_5_3, ET0_RX_DV),
886
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000887 PINMUX_IPSR_MSEL(IP4_8_6, HSCK0_A, SEL_HSCIF_0),
888 PINMUX_IPSR_MSEL(IP4_8_6, SCK1_A, SEL_SCIF1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100889 PINMUX_IPSR_DATA(IP4_8_6, VI0_VSYNC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000890 PINMUX_IPSR_MSEL(IP4_8_6, RMII0_RX_ER_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100891 PINMUX_IPSR_DATA(IP4_8_6, ET0_RX_ER),
892
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000893 PINMUX_IPSR_MSEL(IP4_11_9, HRX0_A, SEL_HSCIF_0),
894 PINMUX_IPSR_MSEL(IP4_11_9, RX1_A, SEL_SCIF1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100895 PINMUX_IPSR_DATA(IP4_11_9, VI0_DATA0_VI0_B0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000896 PINMUX_IPSR_MSEL(IP4_11_9, RMII0_CRS_DV_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100897 PINMUX_IPSR_DATA(IP4_11_9, ET0_CRS),
898
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000899 PINMUX_IPSR_MSEL(IP4_14_12, HTX0_A, SEL_HSCIF_0),
900 PINMUX_IPSR_MSEL(IP4_14_12, TX1_A, SEL_SCIF1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100901 PINMUX_IPSR_DATA(IP4_14_12, VI0_DATA1_VI0_B1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000902 PINMUX_IPSR_MSEL(IP4_14_12, RMII0_MDC_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100903 PINMUX_IPSR_DATA(IP4_14_12, ET0_COL),
904
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000905 PINMUX_IPSR_MSEL(IP4_17_15, CTS0_B, SEL_SCIF0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100906 PINMUX_IPSR_DATA(IP4_17_15, VI0_DATA2_VI0_B2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000907 PINMUX_IPSR_MSEL(IP4_17_15, RMII0_MDIO_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100908 PINMUX_IPSR_DATA(IP4_17_15, ET0_MDC),
909
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000910 PINMUX_IPSR_MSEL(IP4_19_18, RTS0_B, SEL_SCIF0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100911 PINMUX_IPSR_DATA(IP4_19_18, VI0_DATA3_VI0_B3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000912 PINMUX_IPSR_MSEL(IP4_19_18, ET0_MDIO_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100913
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000914 PINMUX_IPSR_MSEL(IP4_21_20, SCK1_B, SEL_SCIF1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100915 PINMUX_IPSR_DATA(IP4_21_20, VI0_DATA4_VI0_B4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000916 PINMUX_IPSR_MSEL(IP4_21_20, ET0_LINK_A, SEL_ET0_CTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100917
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000918 PINMUX_IPSR_MSEL(IP4_23_22, RX1_B, SEL_SCIF1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100919 PINMUX_IPSR_DATA(IP4_23_22, VI0_DATA5_VI0_B5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000920 PINMUX_IPSR_MSEL(IP4_23_22, ET0_MAGIC_A, SEL_ET0_CTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100921
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000922 PINMUX_IPSR_MSEL(IP4_25_24, TX1_B, SEL_SCIF1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100923 PINMUX_IPSR_DATA(IP4_25_24, VI0_DATA6_VI0_G0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000924 PINMUX_IPSR_MSEL(IP4_25_24, ET0_PHY_INT_A, SEL_ET0_CTL_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100925
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000926 PINMUX_IPSR_MSEL(IP4_27_26, CTS1_B, SEL_SCIF1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100927 PINMUX_IPSR_DATA(IP4_27_26, VI0_DATA7_VI0_G1),
928
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000929 PINMUX_IPSR_MSEL(IP4_29_28, RTS1_B, SEL_SCIF1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100930 PINMUX_IPSR_DATA(IP4_29_28, VI0_G2),
931
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000932 PINMUX_IPSR_MSEL(IP4_31_30, SCK2_A, SEL_SCIF2_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100933 PINMUX_IPSR_DATA(IP4_31_30, VI0_G3),
934
935 /* IPSR5 */
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000936 PINMUX_IPSR_MSEL(IP5_2_0, SD2_CLK_A, SEL_SDHI2_0),
937 PINMUX_IPSR_MSEL(IP5_2_0, RX2_A, SEL_SCIF2_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100938 PINMUX_IPSR_DATA(IP5_2_0, VI0_G4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000939 PINMUX_IPSR_MSEL(IP5_2_0, ET0_RX_CLK_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100940
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000941 PINMUX_IPSR_MSEL(IP5_5_3, SD2_CMD_A, SEL_SDHI2_0),
942 PINMUX_IPSR_MSEL(IP5_5_3, TX2_A, SEL_SCIF2_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100943 PINMUX_IPSR_DATA(IP5_5_3, VI0_G5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000944 PINMUX_IPSR_MSEL(IP5_5_3, ET0_ERXD2_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100945
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000946 PINMUX_IPSR_MSEL(IP5_8_6, SD2_DAT0_A, SEL_SDHI2_0),
947 PINMUX_IPSR_MSEL(IP5_8_6, RX3_A, SEL_SCIF3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100948 PINMUX_IPSR_DATA(IP4_8_6, VI0_R0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000949 PINMUX_IPSR_MSEL(IP4_8_6, ET0_ERXD2_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100950
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000951 PINMUX_IPSR_MSEL(IP5_11_9, SD2_DAT1_A, SEL_SDHI2_0),
952 PINMUX_IPSR_MSEL(IP5_11_9, TX3_A, SEL_SCIF3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100953 PINMUX_IPSR_DATA(IP5_11_9, VI0_R1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000954 PINMUX_IPSR_MSEL(IP5_11_9, ET0_MDIO_B, SEL_ET0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100955
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000956 PINMUX_IPSR_MSEL(IP5_14_12, SD2_DAT2_A, SEL_SDHI2_0),
957 PINMUX_IPSR_MSEL(IP5_14_12, RX4_A, SEL_SCIF4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100958 PINMUX_IPSR_DATA(IP5_14_12, VI0_R2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000959 PINMUX_IPSR_MSEL(IP5_14_12, ET0_LINK_B, SEL_ET0_CTL_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100960
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000961 PINMUX_IPSR_MSEL(IP5_17_15, SD2_DAT3_A, SEL_SDHI2_0),
962 PINMUX_IPSR_MSEL(IP5_17_15, TX4_A, SEL_SCIF4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100963 PINMUX_IPSR_DATA(IP5_17_15, VI0_R3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000964 PINMUX_IPSR_MSEL(IP5_17_15, ET0_MAGIC_B, SEL_ET0_CTL_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100965
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000966 PINMUX_IPSR_MSEL(IP5_20_18, SD2_CD_A, SEL_SDHI2_0),
967 PINMUX_IPSR_MSEL(IP5_20_18, RX5_A, SEL_SCIF5_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100968 PINMUX_IPSR_DATA(IP5_20_18, VI0_R4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000969 PINMUX_IPSR_MSEL(IP5_20_18, ET0_PHY_INT_B, SEL_ET0_CTL_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100970
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000971 PINMUX_IPSR_MSEL(IP5_22_21, SD2_WP_A, SEL_SDHI2_0),
972 PINMUX_IPSR_MSEL(IP5_22_21, TX5_A, SEL_SCIF5_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100973 PINMUX_IPSR_DATA(IP5_22_21, VI0_R5),
974
975 PINMUX_IPSR_DATA(IP5_24_23, REF125CK),
976 PINMUX_IPSR_DATA(IP5_24_23, ADTRG),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000977 PINMUX_IPSR_MSEL(IP5_24_23, RX5_C, SEL_SCIF5_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100978 PINMUX_IPSR_DATA(IP5_26_25, REF50CK),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000979 PINMUX_IPSR_MSEL(IP5_26_25, CTS1_E, SEL_SCIF1_3),
980 PINMUX_IPSR_MSEL(IP5_26_25, HCTS0_D, SEL_HSCIF_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100981
982 /* IPSR6 */
983 PINMUX_IPSR_DATA(IP6_2_0, DU0_DR0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000984 PINMUX_IPSR_MSEL(IP6_2_0, SCIF_CLK_B, SEL_SCIF_CLK_1),
985 PINMUX_IPSR_MSEL(IP6_2_0, HRX0_D, SEL_HSCIF_3),
986 PINMUX_IPSR_MSEL(IP6_2_0, IETX_A, SEL_IEBUS_0),
987 PINMUX_IPSR_MSEL(IP6_2_0, TCLKA_A, SEL_MTU2_CLK_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100988 PINMUX_IPSR_DATA(IP6_2_0, HIFD00),
989
990 PINMUX_IPSR_DATA(IP6_5_3, DU0_DR1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000991 PINMUX_IPSR_MSEL(IP6_5_3, SCK0_B, SEL_SCIF0_1),
992 PINMUX_IPSR_MSEL(IP6_5_3, HTX0_D, SEL_HSCIF_3),
993 PINMUX_IPSR_MSEL(IP6_5_3, IERX_A, SEL_IEBUS_0),
994 PINMUX_IPSR_MSEL(IP6_5_3, TCLKB_A, SEL_MTU2_CLK_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +0100995 PINMUX_IPSR_DATA(IP6_5_3, HIFD01),
996
997 PINMUX_IPSR_DATA(IP6_7_6, DU0_DR2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +0000998 PINMUX_IPSR_MSEL(IP6_7_6, RX0_B, SEL_SCIF0_1),
999 PINMUX_IPSR_MSEL(IP6_7_6, TCLKC_A, SEL_MTU2_CLK_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001000 PINMUX_IPSR_DATA(IP6_7_6, HIFD02),
1001
1002 PINMUX_IPSR_DATA(IP6_9_8, DU0_DR3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001003 PINMUX_IPSR_MSEL(IP6_9_8, TX0_B, SEL_SCIF0_1),
1004 PINMUX_IPSR_MSEL(IP6_9_8, TCLKD_A, SEL_MTU2_CLK_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001005 PINMUX_IPSR_DATA(IP6_9_8, HIFD03),
1006
1007 PINMUX_IPSR_DATA(IP6_11_10, DU0_DR4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001008 PINMUX_IPSR_MSEL(IP6_11_10, CTS0_C, SEL_SCIF0_2),
1009 PINMUX_IPSR_MSEL(IP6_11_10, TIOC0A_A, SEL_MTU2_CH0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001010 PINMUX_IPSR_DATA(IP6_11_10, HIFD04),
1011
1012 PINMUX_IPSR_DATA(IP6_13_12, DU0_DR5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001013 PINMUX_IPSR_MSEL(IP6_13_12, RTS0_C, SEL_SCIF0_1),
1014 PINMUX_IPSR_MSEL(IP6_13_12, TIOC0B_A, SEL_MTU2_CH0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001015 PINMUX_IPSR_DATA(IP6_13_12, HIFD05),
1016
1017 PINMUX_IPSR_DATA(IP6_15_14, DU0_DR6),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001018 PINMUX_IPSR_MSEL(IP6_15_14, SCK1_C, SEL_SCIF1_2),
1019 PINMUX_IPSR_MSEL(IP6_15_14, TIOC0C_A, SEL_MTU2_CH0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001020 PINMUX_IPSR_DATA(IP6_15_14, HIFD06),
1021
1022 PINMUX_IPSR_DATA(IP6_17_16, DU0_DR7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001023 PINMUX_IPSR_MSEL(IP6_17_16, RX1_C, SEL_SCIF1_2),
1024 PINMUX_IPSR_MSEL(IP6_17_16, TIOC0D_A, SEL_MTU2_CH0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001025 PINMUX_IPSR_DATA(IP6_17_16, HIFD07),
1026
1027 PINMUX_IPSR_DATA(IP6_20_18, DU0_DG0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001028 PINMUX_IPSR_MSEL(IP6_20_18, TX1_C, SEL_SCIF1_2),
1029 PINMUX_IPSR_MSEL(IP6_20_18, HSCK0_D, SEL_HSCIF_3),
1030 PINMUX_IPSR_MSEL(IP6_20_18, IECLK_A, SEL_IEBUS_0),
1031 PINMUX_IPSR_MSEL(IP6_20_18, TIOC1A_A, SEL_MTU2_CH1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001032 PINMUX_IPSR_DATA(IP6_20_18, HIFD08),
1033
1034 PINMUX_IPSR_DATA(IP6_23_21, DU0_DG1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001035 PINMUX_IPSR_MSEL(IP6_23_21, CTS1_C, SEL_SCIF1_2),
1036 PINMUX_IPSR_MSEL(IP6_23_21, HRTS0_D, SEL_HSCIF_3),
1037 PINMUX_IPSR_MSEL(IP6_23_21, TIOC1B_A, SEL_MTU2_CH1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001038 PINMUX_IPSR_DATA(IP6_23_21, HIFD09),
1039
1040 /* IPSR7 */
1041 PINMUX_IPSR_DATA(IP7_2_0, DU0_DG2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001042 PINMUX_IPSR_MSEL(IP7_2_0, RTS1_C, SEL_SCIF1_2),
1043 PINMUX_IPSR_MSEL(IP7_2_0, RMII0_MDC_B, SEL_RMII_1),
1044 PINMUX_IPSR_MSEL(IP7_2_0, TIOC2A_A, SEL_MTU2_CH2_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001045 PINMUX_IPSR_DATA(IP7_2_0, HIFD10),
1046
1047 PINMUX_IPSR_DATA(IP7_5_3, DU0_DG3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001048 PINMUX_IPSR_MSEL(IP7_5_3, SCK2_C, SEL_SCIF2_2),
1049 PINMUX_IPSR_MSEL(IP7_5_3, RMII0_MDIO_B, SEL_RMII_1),
1050 PINMUX_IPSR_MSEL(IP7_5_3, TIOC2B_A, SEL_MTU2_CH2_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001051 PINMUX_IPSR_DATA(IP7_5_3, HIFD11),
1052
1053 PINMUX_IPSR_DATA(IP7_8_6, DU0_DG4),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001054 PINMUX_IPSR_MSEL(IP7_8_6, RX2_C, SEL_SCIF2_2),
1055 PINMUX_IPSR_MSEL(IP7_8_6, RMII0_CRS_DV_B, SEL_RMII_1),
1056 PINMUX_IPSR_MSEL(IP7_8_6, TIOC3A_A, SEL_MTU2_CH3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001057 PINMUX_IPSR_DATA(IP7_8_6, HIFD12),
1058
1059 PINMUX_IPSR_DATA(IP7_11_9, DU0_DG5),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001060 PINMUX_IPSR_MSEL(IP7_11_9, TX2_C, SEL_SCIF2_2),
1061 PINMUX_IPSR_MSEL(IP7_11_9, RMII0_RX_ER_B, SEL_RMII_1),
1062 PINMUX_IPSR_MSEL(IP7_11_9, TIOC3B_A, SEL_MTU2_CH3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001063 PINMUX_IPSR_DATA(IP7_11_9, HIFD13),
1064
1065 PINMUX_IPSR_DATA(IP7_14_12, DU0_DG6),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001066 PINMUX_IPSR_MSEL(IP7_14_12, RX3_C, SEL_SCIF3_2),
1067 PINMUX_IPSR_MSEL(IP7_14_12, RMII0_RXD0_B, SEL_RMII_1),
1068 PINMUX_IPSR_MSEL(IP7_14_12, TIOC3C_A, SEL_MTU2_CH3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001069 PINMUX_IPSR_DATA(IP7_14_12, HIFD14),
1070
1071 PINMUX_IPSR_DATA(IP7_17_15, DU0_DG7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001072 PINMUX_IPSR_MSEL(IP7_17_15, TX3_C, SEL_SCIF3_2),
1073 PINMUX_IPSR_MSEL(IP7_17_15, RMII0_RXD1_B, SEL_RMII_1),
1074 PINMUX_IPSR_MSEL(IP7_17_15, TIOC3D_A, SEL_MTU2_CH3_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001075 PINMUX_IPSR_DATA(IP7_17_15, HIFD15),
1076
1077 PINMUX_IPSR_DATA(IP7_20_18, DU0_DB0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001078 PINMUX_IPSR_MSEL(IP7_20_18, RX4_C, SEL_SCIF4_2),
1079 PINMUX_IPSR_MSEL(IP7_20_18, RMII0_TXD_EN_B, SEL_RMII_1),
1080 PINMUX_IPSR_MSEL(IP7_20_18, TIOC4A_A, SEL_MTU2_CH4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001081 PINMUX_IPSR_DATA(IP7_20_18, HIFCS),
1082
1083 PINMUX_IPSR_DATA(IP7_23_21, DU0_DB1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001084 PINMUX_IPSR_MSEL(IP7_23_21, TX4_C, SEL_SCIF4_2),
1085 PINMUX_IPSR_MSEL(IP7_23_21, RMII0_TXD0_B, SEL_RMII_1),
1086 PINMUX_IPSR_MSEL(IP7_23_21, TIOC4B_A, SEL_MTU2_CH4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001087 PINMUX_IPSR_DATA(IP7_23_21, HIFWR),
1088
1089 PINMUX_IPSR_DATA(IP7_26_24, DU0_DB2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001090 PINMUX_IPSR_MSEL(IP7_26_24, RX5_B, SEL_SCIF5_1),
1091 PINMUX_IPSR_MSEL(IP7_26_24, RMII0_TXD1_B, SEL_RMII_1),
1092 PINMUX_IPSR_MSEL(IP7_26_24, TIOC4C_A, SEL_MTU2_CH4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001093
1094 PINMUX_IPSR_DATA(IP7_28_27, DU0_DB3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001095 PINMUX_IPSR_MSEL(IP7_28_27, TX5_B, SEL_SCIF5_1),
1096 PINMUX_IPSR_MSEL(IP7_28_27, TIOC4D_A, SEL_MTU2_CH4_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001097 PINMUX_IPSR_DATA(IP7_28_27, HIFRD),
1098
1099 PINMUX_IPSR_DATA(IP7_30_29, DU0_DB4),
1100 PINMUX_IPSR_DATA(IP7_30_29, HIFINT),
1101
1102 /* IPSR8 */
1103 PINMUX_IPSR_DATA(IP8_1_0, DU0_DB5),
1104 PINMUX_IPSR_DATA(IP8_1_0, HIFDREQ),
1105
1106 PINMUX_IPSR_DATA(IP8_3_2, DU0_DB6),
1107 PINMUX_IPSR_DATA(IP8_3_2, HIFRDY),
1108
1109 PINMUX_IPSR_DATA(IP8_5_4, DU0_DB7),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001110 PINMUX_IPSR_MSEL(IP8_5_4, SSI_SCK0_B, SEL_SSI0_1),
1111 PINMUX_IPSR_MSEL(IP8_5_4, HIFEBL_B, SEL_HIF_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001112
1113 PINMUX_IPSR_DATA(IP8_7_6, DU0_DOTCLKIN),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001114 PINMUX_IPSR_MSEL(IP8_7_6, HSPI_CS0_C, SEL_HSPI_2),
1115 PINMUX_IPSR_MSEL(IP8_7_6, SSI_WS0_B, SEL_SSI0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001116
1117 PINMUX_IPSR_DATA(IP8_9_8, DU0_DOTCLKOUT),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001118 PINMUX_IPSR_MSEL(IP8_9_8, HSPI_CLK0_C, SEL_HSPI_2),
1119 PINMUX_IPSR_MSEL(IP8_9_8, SSI_SDATA0_B, SEL_SSI0_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001120
1121 PINMUX_IPSR_DATA(IP8_11_10, DU0_EXHSYNC_DU0_HSYNC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001122 PINMUX_IPSR_MSEL(IP8_11_10, HSPI_TX0_C, SEL_HSPI_2),
1123 PINMUX_IPSR_MSEL(IP8_11_10, SSI_SCK1_B, SEL_SSI1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001124
1125 PINMUX_IPSR_DATA(IP8_13_12, DU0_EXVSYNC_DU0_VSYNC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001126 PINMUX_IPSR_MSEL(IP8_13_12, HSPI_RX0_C, SEL_HSPI_2),
1127 PINMUX_IPSR_MSEL(IP8_13_12, SSI_WS1_B, SEL_SSI1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001128
1129 PINMUX_IPSR_DATA(IP8_15_14, DU0_EXODDF_DU0_ODDF),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001130 PINMUX_IPSR_MSEL(IP8_15_14, CAN0_RX_B, SEL_RCAN0_1),
1131 PINMUX_IPSR_MSEL(IP8_15_14, HSCK0_B, SEL_HSCIF_1),
1132 PINMUX_IPSR_MSEL(IP8_15_14, SSI_SDATA1_B, SEL_SSI1_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001133
1134 PINMUX_IPSR_DATA(IP8_17_16, DU0_DISP),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001135 PINMUX_IPSR_MSEL(IP8_17_16, CAN0_TX_B, SEL_RCAN0_1),
1136 PINMUX_IPSR_MSEL(IP8_17_16, HRX0_B, SEL_HSCIF_1),
1137 PINMUX_IPSR_MSEL(IP8_17_16, AUDIO_CLKA_B, SEL_AUDIO_CLKA_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001138
1139 PINMUX_IPSR_DATA(IP8_19_18, DU0_CDE),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001140 PINMUX_IPSR_MSEL(IP8_19_18, HTX0_B, SEL_HSCIF_1),
1141 PINMUX_IPSR_MSEL(IP8_19_18, AUDIO_CLKB_B, SEL_AUDIO_CLKB_1),
1142 PINMUX_IPSR_MSEL(IP8_19_18, LCD_VCPWC_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001143
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001144 PINMUX_IPSR_MSEL(IP8_22_20, IRQ0_A, SEL_INTC_0),
1145 PINMUX_IPSR_MSEL(IP8_22_20, HSPI_TX_B, SEL_HSPI_1),
1146 PINMUX_IPSR_MSEL(IP8_22_20, RX3_E, SEL_SCIF3_4),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001147 PINMUX_IPSR_DATA(IP8_22_20, ET0_ERXD0),
1148
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001149 PINMUX_IPSR_MSEL(IP8_25_23, IRQ1_A, SEL_INTC_0),
1150 PINMUX_IPSR_MSEL(IP8_25_23, HSPI_RX_B, SEL_HSPI_1),
1151 PINMUX_IPSR_MSEL(IP8_25_23, TX3_E, SEL_SCIF3_4),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001152 PINMUX_IPSR_DATA(IP8_25_23, ET0_ERXD1),
1153
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001154 PINMUX_IPSR_MSEL(IP8_27_26, IRQ2_A, SEL_INTC_0),
1155 PINMUX_IPSR_MSEL(IP8_27_26, CTS0_A, SEL_SCIF0_0),
1156 PINMUX_IPSR_MSEL(IP8_27_26, HCTS0_B, SEL_HSCIF_1),
1157 PINMUX_IPSR_MSEL(IP8_27_26, ET0_ERXD2_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001158
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001159 PINMUX_IPSR_MSEL(IP8_29_28, IRQ3_A, SEL_INTC_0),
1160 PINMUX_IPSR_MSEL(IP8_29_28, RTS0_A, SEL_SCIF0_0),
1161 PINMUX_IPSR_MSEL(IP8_29_28, HRTS0_B, SEL_HSCIF_1),
1162 PINMUX_IPSR_MSEL(IP8_29_28, ET0_ERXD3_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001163
1164 /* IPSR9 */
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001165 PINMUX_IPSR_MSEL(IP9_1_0, VI1_CLK_A, SEL_VIN1_0),
1166 PINMUX_IPSR_MSEL(IP9_1_0, FD0_B, SEL_FLCTL_1),
1167 PINMUX_IPSR_MSEL(IP9_1_0, LCD_DATA0_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001168
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001169 PINMUX_IPSR_MSEL(IP9_3_2, VI1_0_A, SEL_VIN1_0),
1170 PINMUX_IPSR_MSEL(IP9_3_2, FD1_B, SEL_FLCTL_1),
1171 PINMUX_IPSR_MSEL(IP9_3_2, LCD_DATA1_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001172
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001173 PINMUX_IPSR_MSEL(IP9_5_4, VI1_1_A, SEL_VIN1_0),
1174 PINMUX_IPSR_MSEL(IP9_5_4, FD2_B, SEL_FLCTL_1),
1175 PINMUX_IPSR_MSEL(IP9_5_4, LCD_DATA2_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001176
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001177 PINMUX_IPSR_MSEL(IP9_7_6, VI1_2_A, SEL_VIN1_0),
1178 PINMUX_IPSR_MSEL(IP9_7_6, FD3_B, SEL_FLCTL_1),
1179 PINMUX_IPSR_MSEL(IP9_7_6, LCD_DATA3_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001180
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001181 PINMUX_IPSR_MSEL(IP9_9_8, VI1_3_A, SEL_VIN1_0),
1182 PINMUX_IPSR_MSEL(IP9_9_8, FD4_B, SEL_FLCTL_1),
1183 PINMUX_IPSR_MSEL(IP9_9_8, LCD_DATA4_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001184
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001185 PINMUX_IPSR_MSEL(IP9_11_10, VI1_4_A, SEL_VIN1_0),
1186 PINMUX_IPSR_MSEL(IP9_11_10, FD5_B, SEL_FLCTL_1),
1187 PINMUX_IPSR_MSEL(IP9_11_10, LCD_DATA5_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001188
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001189 PINMUX_IPSR_MSEL(IP9_13_12, VI1_5_A, SEL_VIN1_0),
1190 PINMUX_IPSR_MSEL(IP9_13_12, FD6_B, SEL_FLCTL_1),
1191 PINMUX_IPSR_MSEL(IP9_13_12, LCD_DATA6_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001192
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001193 PINMUX_IPSR_MSEL(IP9_15_14, VI1_6_A, SEL_VIN1_0),
1194 PINMUX_IPSR_MSEL(IP9_15_14, FD7_B, SEL_FLCTL_1),
1195 PINMUX_IPSR_MSEL(IP9_15_14, LCD_DATA7_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001196
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001197 PINMUX_IPSR_MSEL(IP9_17_16, VI1_7_A, SEL_VIN1_0),
1198 PINMUX_IPSR_MSEL(IP9_17_16, FCE_B, SEL_FLCTL_1),
1199 PINMUX_IPSR_MSEL(IP9_17_16, LCD_DATA8_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001200
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001201 PINMUX_IPSR_MSEL(IP9_19_18, SSI_SCK0_A, SEL_SSI0_0),
1202 PINMUX_IPSR_MSEL(IP9_19_18, TIOC1A_B, SEL_MTU2_CH1_1),
1203 PINMUX_IPSR_MSEL(IP9_19_18, LCD_DATA9_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001204
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001205 PINMUX_IPSR_MSEL(IP9_21_20, SSI_WS0_A, SEL_SSI0_0),
1206 PINMUX_IPSR_MSEL(IP9_21_20, TIOC1B_B, SEL_MTU2_CH1_1),
1207 PINMUX_IPSR_MSEL(IP9_21_20, LCD_DATA10_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001208
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001209 PINMUX_IPSR_MSEL(IP9_23_22, SSI_SDATA0_A, SEL_SSI0_0),
1210 PINMUX_IPSR_MSEL(IP9_23_22, VI1_0_B, SEL_VIN1_1),
1211 PINMUX_IPSR_MSEL(IP9_23_22, TIOC2A_B, SEL_MTU2_CH2_1),
1212 PINMUX_IPSR_MSEL(IP9_23_22, LCD_DATA11_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001213
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001214 PINMUX_IPSR_MSEL(IP9_25_24, SSI_SCK1_A, SEL_SSI1_0),
1215 PINMUX_IPSR_MSEL(IP9_25_24, VI1_1_B, SEL_VIN1_1),
1216 PINMUX_IPSR_MSEL(IP9_25_24, TIOC2B_B, SEL_MTU2_CH2_1),
1217 PINMUX_IPSR_MSEL(IP9_25_24, LCD_DATA12_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001218
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001219 PINMUX_IPSR_MSEL(IP9_27_26, SSI_WS1_A, SEL_SSI1_0),
1220 PINMUX_IPSR_MSEL(IP9_27_26, VI1_2_B, SEL_VIN1_1),
1221 PINMUX_IPSR_MSEL(IP9_27_26, LCD_DATA13_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001222
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001223 PINMUX_IPSR_MSEL(IP9_29_28, SSI_SDATA1_A, SEL_SSI1_0),
1224 PINMUX_IPSR_MSEL(IP9_29_28, VI1_3_B, SEL_VIN1_1),
1225 PINMUX_IPSR_MSEL(IP9_29_28, LCD_DATA14_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001226
1227 /* IPSE10 */
1228 PINMUX_IPSR_DATA(IP10_2_0, SSI_SCK23),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001229 PINMUX_IPSR_MSEL(IP10_2_0, VI1_4_B, SEL_VIN1_1),
1230 PINMUX_IPSR_MSEL(IP10_2_0, RX1_D, SEL_SCIF1_3),
1231 PINMUX_IPSR_MSEL(IP10_2_0, FCLE_B, SEL_FLCTL_1),
1232 PINMUX_IPSR_MSEL(IP10_2_0, LCD_DATA15_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001233
1234 PINMUX_IPSR_DATA(IP10_5_3, SSI_WS23),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001235 PINMUX_IPSR_MSEL(IP10_5_3, VI1_5_B, SEL_VIN1_1),
1236 PINMUX_IPSR_MSEL(IP10_5_3, TX1_D, SEL_SCIF1_3),
1237 PINMUX_IPSR_MSEL(IP10_5_3, HSCK0_C, SEL_HSCIF_2),
1238 PINMUX_IPSR_MSEL(IP10_5_3, FALE_B, SEL_FLCTL_1),
1239 PINMUX_IPSR_MSEL(IP10_5_3, LCD_DON_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001240
1241 PINMUX_IPSR_DATA(IP10_8_6, SSI_SDATA2),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001242 PINMUX_IPSR_MSEL(IP10_8_6, VI1_6_B, SEL_VIN1_1),
1243 PINMUX_IPSR_MSEL(IP10_8_6, HRX0_C, SEL_HSCIF_2),
1244 PINMUX_IPSR_MSEL(IP10_8_6, FRE_B, SEL_FLCTL_1),
1245 PINMUX_IPSR_MSEL(IP10_8_6, LCD_CL1_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001246
1247 PINMUX_IPSR_DATA(IP10_11_9, SSI_SDATA3),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001248 PINMUX_IPSR_MSEL(IP10_11_9, VI1_7_B, SEL_VIN1_1),
1249 PINMUX_IPSR_MSEL(IP10_11_9, HTX0_C, SEL_HSCIF_2),
1250 PINMUX_IPSR_MSEL(IP10_11_9, FWE_B, SEL_FLCTL_1),
1251 PINMUX_IPSR_MSEL(IP10_11_9, LCD_CL2_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001252
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001253 PINMUX_IPSR_MSEL(IP10_14_12, AUDIO_CLKA_A, SEL_AUDIO_CLKA_0),
1254 PINMUX_IPSR_MSEL(IP10_14_12, VI1_CLK_B, SEL_VIN1_1),
1255 PINMUX_IPSR_MSEL(IP10_14_12, SCK1_D, SEL_SCIF1_3),
1256 PINMUX_IPSR_MSEL(IP10_14_12, IECLK_B, SEL_IEBUS_1),
1257 PINMUX_IPSR_MSEL(IP10_14_12, LCD_FLM_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001258
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001259 PINMUX_IPSR_MSEL(IP10_15, AUDIO_CLKB_A, SEL_AUDIO_CLKB_0),
1260 PINMUX_IPSR_MSEL(IP10_15, LCD_CLK_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001261
1262 PINMUX_IPSR_DATA(IP10_18_16, AUDIO_CLKC),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001263 PINMUX_IPSR_MSEL(IP10_18_16, SCK1_E, SEL_SCIF1_4),
1264 PINMUX_IPSR_MSEL(IP10_18_16, HCTS0_C, SEL_HSCIF_2),
1265 PINMUX_IPSR_MSEL(IP10_18_16, FRB_B, SEL_FLCTL_1),
1266 PINMUX_IPSR_MSEL(IP10_18_16, LCD_VEPWC_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001267
1268 PINMUX_IPSR_DATA(IP10_21_19, AUDIO_CLKOUT),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001269 PINMUX_IPSR_MSEL(IP10_21_19, TX1_E, SEL_SCIF1_4),
1270 PINMUX_IPSR_MSEL(IP10_21_19, HRTS0_C, SEL_HSCIF_2),
1271 PINMUX_IPSR_MSEL(IP10_21_19, FSE_B, SEL_FLCTL_1),
1272 PINMUX_IPSR_MSEL(IP10_21_19, LCD_M_DISP_B, SEL_LCDC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001273
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001274 PINMUX_IPSR_MSEL(IP10_22, CAN_CLK_A, SEL_RCAN_CLK_0),
1275 PINMUX_IPSR_MSEL(IP10_22, RX4_D, SEL_SCIF4_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001276
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001277 PINMUX_IPSR_MSEL(IP10_24_23, CAN0_TX_A, SEL_RCAN0_0),
1278 PINMUX_IPSR_MSEL(IP10_24_23, TX4_D, SEL_SCIF4_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001279 PINMUX_IPSR_DATA(IP10_24_23, MLB_CLK),
1280
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001281 PINMUX_IPSR_MSEL(IP10_25, CAN1_RX_A, SEL_RCAN1_0),
1282 PINMUX_IPSR_MSEL(IP10_25, IRQ1_B, SEL_INTC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001283
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001284 PINMUX_IPSR_MSEL(IP10_27_26, CAN0_RX_A, SEL_RCAN0_0),
1285 PINMUX_IPSR_MSEL(IP10_27_26, IRQ0_B, SEL_INTC_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001286 PINMUX_IPSR_DATA(IP10_27_26, MLB_SIG),
1287
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001288 PINMUX_IPSR_MSEL(IP10_29_28, CAN1_TX_A, SEL_RCAN1_0),
1289 PINMUX_IPSR_MSEL(IP10_29_28, TX5_C, SEL_SCIF1_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001290 PINMUX_IPSR_DATA(IP10_29_28, MLB_DAT),
1291
1292 /* IPSR11 */
1293 PINMUX_IPSR_DATA(IP11_0, SCL1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001294 PINMUX_IPSR_MSEL(IP11_0, SCIF_CLK_C, SEL_SCIF_CLK_2),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001295
1296 PINMUX_IPSR_DATA(IP11_1, SDA1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001297 PINMUX_IPSR_MSEL(IP11_0, RX1_E, SEL_SCIF1_4),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001298
1299 PINMUX_IPSR_DATA(IP11_2, SDA0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001300 PINMUX_IPSR_MSEL(IP11_2, HIFEBL_A, SEL_HIF_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001301
1302 PINMUX_IPSR_DATA(IP11_3, SDSELF),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001303 PINMUX_IPSR_MSEL(IP11_3, RTS1_E, SEL_SCIF1_3),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001304
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001305 PINMUX_IPSR_MSEL(IP11_6_4, SCIF_CLK_A, SEL_SCIF_CLK_0),
1306 PINMUX_IPSR_MSEL(IP11_6_4, HSPI_CLK_A, SEL_HSPI_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001307 PINMUX_IPSR_DATA(IP11_6_4, VI0_CLK),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001308 PINMUX_IPSR_MSEL(IP11_6_4, RMII0_TXD0_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001309 PINMUX_IPSR_DATA(IP11_6_4, ET0_ERXD4),
1310
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001311 PINMUX_IPSR_MSEL(IP11_9_7, SCK0_A, SEL_SCIF0_0),
1312 PINMUX_IPSR_MSEL(IP11_9_7, HSPI_CS_A, SEL_HSPI_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001313 PINMUX_IPSR_DATA(IP11_9_7, VI0_CLKENB),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001314 PINMUX_IPSR_MSEL(IP11_9_7, RMII0_TXD1_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001315 PINMUX_IPSR_DATA(IP11_9_7, ET0_ERXD5),
1316
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001317 PINMUX_IPSR_MSEL(IP11_11_10, RX0_A, SEL_SCIF0_0),
1318 PINMUX_IPSR_MSEL(IP11_11_10, HSPI_RX_A, SEL_HSPI_0),
1319 PINMUX_IPSR_MSEL(IP11_11_10, RMII0_RXD0_A, SEL_RMII_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001320 PINMUX_IPSR_DATA(IP11_11_10, ET0_ERXD6),
1321
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001322 PINMUX_IPSR_MSEL(IP11_12, TX0_A, SEL_SCIF0_0),
1323 PINMUX_IPSR_MSEL(IP11_12, HSPI_TX_A, SEL_HSPI_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001324
1325 PINMUX_IPSR_DATA(IP11_15_13, PENC1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001326 PINMUX_IPSR_MSEL(IP11_15_13, TX3_D, SEL_SCIF3_3),
1327 PINMUX_IPSR_MSEL(IP11_15_13, CAN1_TX_B, SEL_RCAN1_1),
1328 PINMUX_IPSR_MSEL(IP11_15_13, TX5_D, SEL_SCIF5_3),
1329 PINMUX_IPSR_MSEL(IP11_15_13, IETX_B, SEL_IEBUS_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001330
1331 PINMUX_IPSR_DATA(IP11_18_16, USB_OVC1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001332 PINMUX_IPSR_MSEL(IP11_18_16, RX3_D, SEL_SCIF3_3),
1333 PINMUX_IPSR_MSEL(IP11_18_16, CAN1_RX_B, SEL_RCAN1_1),
1334 PINMUX_IPSR_MSEL(IP11_18_16, RX5_D, SEL_SCIF5_3),
1335 PINMUX_IPSR_MSEL(IP11_18_16, IERX_B, SEL_IEBUS_1),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001336
1337 PINMUX_IPSR_DATA(IP11_20_19, DREQ0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001338 PINMUX_IPSR_MSEL(IP11_20_19, SD1_CLK_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001339 PINMUX_IPSR_DATA(IP11_20_19, ET0_TX_EN),
1340
1341 PINMUX_IPSR_DATA(IP11_22_21, DACK0),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001342 PINMUX_IPSR_MSEL(IP11_22_21, SD1_DAT3_A, SEL_SDHI1_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001343 PINMUX_IPSR_DATA(IP11_22_21, ET0_TX_ER),
1344
1345 PINMUX_IPSR_DATA(IP11_25_23, DREQ1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001346 PINMUX_IPSR_MSEL(IP11_25_23, HSPI_CLK_B, SEL_HSPI_1),
1347 PINMUX_IPSR_MSEL(IP11_25_23, RX4_B, SEL_SCIF4_1),
1348 PINMUX_IPSR_MSEL(IP11_25_23, ET0_PHY_INT_C, SEL_ET0_CTL_0),
1349 PINMUX_IPSR_MSEL(IP11_25_23, ET0_TX_CLK_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001350
1351 PINMUX_IPSR_DATA(IP11_27_26, DACK1),
Kuninori Morimoto3d8c1202015-09-03 02:49:36 +00001352 PINMUX_IPSR_MSEL(IP11_27_26, HSPI_CS_B, SEL_HSPI_1),
1353 PINMUX_IPSR_MSEL(IP11_27_26, TX4_B, SEL_SCIF3_1),
1354 PINMUX_IPSR_MSEL(IP11_27_26, ET0_RX_CLK_A, SEL_ET0_0),
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001355
1356 PINMUX_IPSR_DATA(IP11_28, PRESETOUT),
1357 PINMUX_IPSR_DATA(IP11_28, ST_CLKOUT),
1358};
1359
Laurent Pinchartf41a1ef2013-12-16 20:25:16 +01001360static const struct sh_pfc_pin pinmux_pins[] = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001361 PINMUX_GPIO_GP_ALL(),
Laurent Pincharta373ed02012-11-29 13:24:07 +01001362};
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001363
Laurent Pincharta373ed02012-11-29 13:24:07 +01001364#define PINMUX_FN_BASE ARRAY_SIZE(pinmux_pins)
1365
Laurent Pinchartcd3c1be2013-02-16 18:47:05 +01001366static const struct pinmux_func pinmux_func_gpios[] = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001367 GPIO_FN(CLKOUT), GPIO_FN(BS), GPIO_FN(CS0), GPIO_FN(EX_CS0),
1368 GPIO_FN(RD), GPIO_FN(WE0), GPIO_FN(WE1),
1369 GPIO_FN(SCL0), GPIO_FN(PENC0), GPIO_FN(USB_OVC0),
1370 GPIO_FN(IRQ2_B), GPIO_FN(IRQ3_B),
1371
1372 /* IPSR0 */
1373 GPIO_FN(A0), GPIO_FN(ST0_CLKIN), GPIO_FN(LCD_DATA0_A),
1374 GPIO_FN(TCLKA_C),
1375 GPIO_FN(A1), GPIO_FN(ST0_REQ), GPIO_FN(LCD_DATA1_A),
1376 GPIO_FN(TCLKB_C),
1377 GPIO_FN(A2), GPIO_FN(ST0_SYC), GPIO_FN(LCD_DATA2_A),
1378 GPIO_FN(TCLKC_C),
1379 GPIO_FN(A3), GPIO_FN(ST0_VLD), GPIO_FN(LCD_DATA3_A),
1380 GPIO_FN(TCLKD_C),
1381 GPIO_FN(A4), GPIO_FN(ST0_D0), GPIO_FN(LCD_DATA4_A),
1382 GPIO_FN(TIOC0A_C),
1383 GPIO_FN(A5), GPIO_FN(ST0_D1), GPIO_FN(LCD_DATA5_A),
1384 GPIO_FN(TIOC0B_C),
1385 GPIO_FN(A6), GPIO_FN(ST0_D2), GPIO_FN(LCD_DATA6_A),
1386 GPIO_FN(TIOC0C_C),
1387 GPIO_FN(A7), GPIO_FN(ST0_D3), GPIO_FN(LCD_DATA7_A),
1388 GPIO_FN(TIOC0D_C),
1389 GPIO_FN(A8), GPIO_FN(ST0_D4), GPIO_FN(LCD_DATA8_A),
1390 GPIO_FN(TIOC1A_C),
1391 GPIO_FN(A9), GPIO_FN(ST0_D5), GPIO_FN(LCD_DATA9_A),
1392 GPIO_FN(TIOC1B_C),
1393 GPIO_FN(A10), GPIO_FN(ST0_D6), GPIO_FN(LCD_DATA10_A),
1394 GPIO_FN(TIOC2A_C),
1395 GPIO_FN(A11), GPIO_FN(ST0_D7), GPIO_FN(LCD_DATA11_A),
1396 GPIO_FN(TIOC2B_C),
1397 GPIO_FN(A12), GPIO_FN(LCD_DATA12_A), GPIO_FN(TIOC3A_C),
1398 GPIO_FN(A13), GPIO_FN(LCD_DATA13_A), GPIO_FN(TIOC3B_C),
1399 GPIO_FN(A14), GPIO_FN(LCD_DATA14_A), GPIO_FN(TIOC3C_C),
1400 GPIO_FN(A15), GPIO_FN(ST0_VCO_CLKIN), GPIO_FN(LCD_DATA15_A),
1401 GPIO_FN(TIOC3D_C),
1402
1403 /* IPSR1 */
1404 GPIO_FN(A16), GPIO_FN(ST0_PWM), GPIO_FN(LCD_DON_A),
1405 GPIO_FN(TIOC4A_C),
1406 GPIO_FN(A17), GPIO_FN(ST1_VCO_CLKIN), GPIO_FN(LCD_CL1_A),
1407 GPIO_FN(TIOC4B_C),
1408 GPIO_FN(A18), GPIO_FN(ST1_PWM), GPIO_FN(LCD_CL2_A),
1409 GPIO_FN(TIOC4C_C),
1410 GPIO_FN(A19), GPIO_FN(ST1_CLKIN), GPIO_FN(LCD_CLK_A),
1411 GPIO_FN(TIOC4D_C),
1412 GPIO_FN(A20), GPIO_FN(ST1_REQ), GPIO_FN(LCD_FLM_A),
1413 GPIO_FN(A21), GPIO_FN(ST1_SYC), GPIO_FN(LCD_VCPWC_A),
1414 GPIO_FN(A22), GPIO_FN(ST1_VLD), GPIO_FN(LCD_VEPWC_A),
1415 GPIO_FN(A23), GPIO_FN(ST1_D0), GPIO_FN(LCD_M_DISP_A),
1416 GPIO_FN(A24), GPIO_FN(RX2_D), GPIO_FN(ST1_D1),
1417 GPIO_FN(A25), GPIO_FN(TX2_D), GPIO_FN(ST1_D2),
1418 GPIO_FN(D0), GPIO_FN(SD0_DAT0_A), GPIO_FN(MMC_D0_A),
1419 GPIO_FN(ST1_D3), GPIO_FN(FD0_A),
1420 GPIO_FN(D1), GPIO_FN(SD0_DAT1_A), GPIO_FN(MMC_D1_A),
1421 GPIO_FN(ST1_D4), GPIO_FN(FD1_A),
1422 GPIO_FN(D2), GPIO_FN(SD0_DAT2_A), GPIO_FN(MMC_D2_A),
1423 GPIO_FN(ST1_D5), GPIO_FN(FD2_A),
1424 GPIO_FN(D3), GPIO_FN(SD0_DAT3_A), GPIO_FN(MMC_D3_A),
1425 GPIO_FN(ST1_D6), GPIO_FN(FD3_A),
1426
1427 /* IPSR2 */
1428 GPIO_FN(D4), GPIO_FN(SD0_CD_A), GPIO_FN(MMC_D4_A), GPIO_FN(ST1_D7),
1429 GPIO_FN(FD4_A),
1430 GPIO_FN(D5), GPIO_FN(SD0_WP_A), GPIO_FN(MMC_D5_A), GPIO_FN(FD5_A),
1431 GPIO_FN(D6), GPIO_FN(RSPI_RSPCK_A), GPIO_FN(MMC_D6_A),
1432 GPIO_FN(QSPCLK_A),
1433 GPIO_FN(FD6_A),
1434 GPIO_FN(D7), GPIO_FN(RSPI_SSL_A), GPIO_FN(MMC_D7_A), GPIO_FN(QSSL_A),
1435 GPIO_FN(FD7_A),
1436 GPIO_FN(D8), GPIO_FN(SD0_CLK_A), GPIO_FN(MMC_CLK_A), GPIO_FN(QIO2_A),
1437 GPIO_FN(FCE_A), GPIO_FN(ET0_GTX_CLK_B),
1438 GPIO_FN(D9), GPIO_FN(SD0_CMD_A), GPIO_FN(MMC_CMD_A), GPIO_FN(QIO3_A),
1439 GPIO_FN(FCLE_A), GPIO_FN(ET0_ETXD1_B),
1440 GPIO_FN(D10), GPIO_FN(RSPI_MOSI_A), GPIO_FN(QMO_QIO0_A),
1441 GPIO_FN(FALE_A), GPIO_FN(ET0_ETXD2_B),
1442 GPIO_FN(D11), GPIO_FN(RSPI_MISO_A), GPIO_FN(QMI_QIO1_A), GPIO_FN(FRE_A),
1443 GPIO_FN(ET0_ETXD3_B),
1444 GPIO_FN(D12), GPIO_FN(FWE_A), GPIO_FN(ET0_ETXD5_B),
1445 GPIO_FN(D13), GPIO_FN(RX2_B), GPIO_FN(FRB_A), GPIO_FN(ET0_ETXD6_B),
1446 GPIO_FN(D14), GPIO_FN(TX2_B), GPIO_FN(FSE_A), GPIO_FN(ET0_TX_CLK_B),
1447
1448 /* IPSR3 */
1449 GPIO_FN(D15), GPIO_FN(SCK2_B),
1450 GPIO_FN(CS1_A26), GPIO_FN(QIO3_B),
1451 GPIO_FN(EX_CS1), GPIO_FN(RX3_B), GPIO_FN(ATACS0), GPIO_FN(QIO2_B),
1452 GPIO_FN(ET0_ETXD0),
1453 GPIO_FN(EX_CS2), GPIO_FN(TX3_B), GPIO_FN(ATACS1), GPIO_FN(QSPCLK_B),
1454 GPIO_FN(ET0_GTX_CLK_A),
1455 GPIO_FN(EX_CS3), GPIO_FN(SD1_CD_A), GPIO_FN(ATARD), GPIO_FN(QMO_QIO0_B),
1456 GPIO_FN(ET0_ETXD1_A),
1457 GPIO_FN(EX_CS4), GPIO_FN(SD1_WP_A), GPIO_FN(ATAWR), GPIO_FN(QMI_QIO1_B),
1458 GPIO_FN(ET0_ETXD2_A),
1459 GPIO_FN(EX_CS5), GPIO_FN(SD1_CMD_A), GPIO_FN(ATADIR), GPIO_FN(QSSL_B),
1460 GPIO_FN(ET0_ETXD3_A),
1461 GPIO_FN(RD_WR), GPIO_FN(TCLK1_B),
1462 GPIO_FN(EX_WAIT0), GPIO_FN(TCLK1_B),
1463 GPIO_FN(EX_WAIT1), GPIO_FN(SD1_DAT0_A), GPIO_FN(DREQ2),
1464 GPIO_FN(CAN1_TX_C), GPIO_FN(ET0_LINK_C), GPIO_FN(ET0_ETXD5_A),
1465 GPIO_FN(EX_WAIT2), GPIO_FN(SD1_DAT1_A), GPIO_FN(DACK2),
1466 GPIO_FN(CAN1_RX_C), GPIO_FN(ET0_MAGIC_C), GPIO_FN(ET0_ETXD6_A),
1467 GPIO_FN(DRACK0), GPIO_FN(SD1_DAT2_A), GPIO_FN(ATAG), GPIO_FN(TCLK1_A),
1468 GPIO_FN(ET0_ETXD7),
1469
1470 /* IPSR4 */
1471 GPIO_FN(HCTS0_A), GPIO_FN(CTS1_A), GPIO_FN(VI0_FIELD),
1472 GPIO_FN(RMII0_RXD1_A), GPIO_FN(ET0_ERXD7),
1473 GPIO_FN(HRTS0_A), GPIO_FN(RTS1_A), GPIO_FN(VI0_HSYNC),
1474 GPIO_FN(RMII0_TXD_EN_A), GPIO_FN(ET0_RX_DV),
1475 GPIO_FN(HSCK0_A), GPIO_FN(SCK1_A), GPIO_FN(VI0_VSYNC),
1476 GPIO_FN(RMII0_RX_ER_A), GPIO_FN(ET0_RX_ER),
1477 GPIO_FN(HRX0_A), GPIO_FN(RX1_A), GPIO_FN(VI0_DATA0_VI0_B0),
1478 GPIO_FN(RMII0_CRS_DV_A), GPIO_FN(ET0_CRS),
1479 GPIO_FN(HTX0_A), GPIO_FN(TX1_A), GPIO_FN(VI0_DATA1_VI0_B1),
1480 GPIO_FN(RMII0_MDC_A), GPIO_FN(ET0_COL),
1481 GPIO_FN(CTS0_B), GPIO_FN(VI0_DATA2_VI0_B2), GPIO_FN(RMII0_MDIO_A),
1482 GPIO_FN(ET0_MDC),
1483 GPIO_FN(RTS0_B), GPIO_FN(VI0_DATA3_VI0_B3), GPIO_FN(ET0_MDIO_A),
1484 GPIO_FN(SCK1_B), GPIO_FN(VI0_DATA4_VI0_B4), GPIO_FN(ET0_LINK_A),
1485 GPIO_FN(RX1_B), GPIO_FN(VI0_DATA5_VI0_B5), GPIO_FN(ET0_MAGIC_A),
1486 GPIO_FN(TX1_B), GPIO_FN(VI0_DATA6_VI0_G0), GPIO_FN(ET0_PHY_INT_A),
1487 GPIO_FN(CTS1_B), GPIO_FN(VI0_DATA7_VI0_G1),
1488 GPIO_FN(RTS1_B), GPIO_FN(VI0_G2),
1489 GPIO_FN(SCK2_A), GPIO_FN(VI0_G3),
1490
1491 /* IPSR5 */
1492 GPIO_FN(REF50CK), GPIO_FN(CTS1_E), GPIO_FN(HCTS0_D),
1493 GPIO_FN(REF125CK), GPIO_FN(ADTRG), GPIO_FN(RX5_C),
1494 GPIO_FN(SD2_WP_A), GPIO_FN(TX5_A), GPIO_FN(VI0_R5),
1495 GPIO_FN(SD2_CD_A), GPIO_FN(RX5_A), GPIO_FN(VI0_R4),
1496 GPIO_FN(ET0_PHY_INT_B),
1497 GPIO_FN(SD2_DAT3_A), GPIO_FN(TX4_A), GPIO_FN(VI0_R3),
1498 GPIO_FN(ET0_MAGIC_B),
1499 GPIO_FN(SD2_DAT2_A), GPIO_FN(RX4_A), GPIO_FN(VI0_R2),
1500 GPIO_FN(ET0_LINK_B),
1501 GPIO_FN(SD2_DAT1_A), GPIO_FN(TX3_A), GPIO_FN(VI0_R1),
1502 GPIO_FN(ET0_MDIO_B),
1503 GPIO_FN(SD2_DAT0_A), GPIO_FN(RX3_A), GPIO_FN(VI0_R0),
1504 GPIO_FN(ET0_ERXD3_B),
1505 GPIO_FN(SD2_CMD_A), GPIO_FN(TX2_A), GPIO_FN(VI0_G5),
1506 GPIO_FN(ET0_ERXD2_B),
1507 GPIO_FN(SD2_CLK_A), GPIO_FN(RX2_A), GPIO_FN(VI0_G4),
1508 GPIO_FN(ET0_RX_CLK_B),
1509
1510 /* IPSR6 */
1511 GPIO_FN(DU0_DG1), GPIO_FN(CTS1_C), GPIO_FN(HRTS0_D),
1512 GPIO_FN(TIOC1B_A), GPIO_FN(HIFD09),
1513 GPIO_FN(DU0_DG0), GPIO_FN(TX1_C), GPIO_FN(HSCK0_D),
1514 GPIO_FN(IECLK_A), GPIO_FN(TIOC1A_A), GPIO_FN(HIFD08),
1515 GPIO_FN(DU0_DR7), GPIO_FN(RX1_C), GPIO_FN(TIOC0D_A),
1516 GPIO_FN(HIFD07),
1517 GPIO_FN(DU0_DR6), GPIO_FN(SCK1_C), GPIO_FN(TIOC0C_A),
1518 GPIO_FN(HIFD06),
1519 GPIO_FN(DU0_DR5), GPIO_FN(RTS0_C), GPIO_FN(TIOC0B_A),
1520 GPIO_FN(HIFD05),
1521 GPIO_FN(DU0_DR4), GPIO_FN(CTS0_C), GPIO_FN(TIOC0A_A),
1522 GPIO_FN(HIFD04),
1523 GPIO_FN(DU0_DR3), GPIO_FN(TX0_B), GPIO_FN(TCLKD_A), GPIO_FN(HIFD03),
1524 GPIO_FN(DU0_DR2), GPIO_FN(RX0_B), GPIO_FN(TCLKC_A), GPIO_FN(HIFD02),
1525 GPIO_FN(DU0_DR1), GPIO_FN(SCK0_B), GPIO_FN(HTX0_D),
1526 GPIO_FN(IERX_A), GPIO_FN(TCLKB_A), GPIO_FN(HIFD01),
1527 GPIO_FN(DU0_DR0), GPIO_FN(SCIF_CLK_B), GPIO_FN(HRX0_D),
1528 GPIO_FN(IETX_A), GPIO_FN(TCLKA_A), GPIO_FN(HIFD00),
1529
1530 /* IPSR7 */
1531 GPIO_FN(DU0_DB4), GPIO_FN(HIFINT),
1532 GPIO_FN(DU0_DB3), GPIO_FN(TX5_B), GPIO_FN(TIOC4D_A), GPIO_FN(HIFRD),
1533 GPIO_FN(DU0_DB2), GPIO_FN(RX5_B), GPIO_FN(RMII0_TXD1_B),
1534 GPIO_FN(TIOC4C_A), GPIO_FN(HIFWR),
1535 GPIO_FN(DU0_DB1), GPIO_FN(TX4_C), GPIO_FN(RMII0_TXD0_B),
1536 GPIO_FN(TIOC4B_A), GPIO_FN(HIFRS),
1537 GPIO_FN(DU0_DB0), GPIO_FN(RX4_C), GPIO_FN(RMII0_TXD_EN_B),
1538 GPIO_FN(TIOC4A_A), GPIO_FN(HIFCS),
1539 GPIO_FN(DU0_DG7), GPIO_FN(TX3_C), GPIO_FN(RMII0_RXD1_B),
1540 GPIO_FN(TIOC3D_A), GPIO_FN(HIFD15),
1541 GPIO_FN(DU0_DG6), GPIO_FN(RX3_C), GPIO_FN(RMII0_RXD0_B),
1542 GPIO_FN(TIOC3C_A), GPIO_FN(HIFD14),
1543 GPIO_FN(DU0_DG5), GPIO_FN(TX2_C), GPIO_FN(RMII0_RX_ER_B),
1544 GPIO_FN(TIOC3B_A), GPIO_FN(HIFD13),
1545 GPIO_FN(DU0_DG4), GPIO_FN(RX2_C), GPIO_FN(RMII0_CRS_DV_B),
1546 GPIO_FN(TIOC3A_A), GPIO_FN(HIFD12),
1547 GPIO_FN(DU0_DG3), GPIO_FN(SCK2_C), GPIO_FN(RMII0_MDIO_B),
1548 GPIO_FN(TIOC2B_A), GPIO_FN(HIFD11),
1549 GPIO_FN(DU0_DG2), GPIO_FN(RTS1_C), GPIO_FN(RMII0_MDC_B),
1550 GPIO_FN(TIOC2A_A), GPIO_FN(HIFD10),
1551
1552 /* IPSR8 */
1553 GPIO_FN(IRQ3_A), GPIO_FN(RTS0_A), GPIO_FN(HRTS0_B),
1554 GPIO_FN(ET0_ERXD3_A),
1555 GPIO_FN(IRQ2_A), GPIO_FN(CTS0_A), GPIO_FN(HCTS0_B),
1556 GPIO_FN(ET0_ERXD2_A),
1557 GPIO_FN(IRQ1_A), GPIO_FN(HSPI_RX_B), GPIO_FN(TX3_E),
1558 GPIO_FN(ET0_ERXD1),
1559 GPIO_FN(IRQ0_A), GPIO_FN(HSPI_TX_B), GPIO_FN(RX3_E),
1560 GPIO_FN(ET0_ERXD0),
1561 GPIO_FN(DU0_CDE), GPIO_FN(HTX0_B), GPIO_FN(AUDIO_CLKB_B),
1562 GPIO_FN(LCD_VCPWC_B),
1563 GPIO_FN(DU0_DISP), GPIO_FN(CAN0_TX_B), GPIO_FN(HRX0_B),
1564 GPIO_FN(AUDIO_CLKA_B),
1565 GPIO_FN(DU0_EXODDF_DU0_ODDF), GPIO_FN(CAN0_RX_B), GPIO_FN(HSCK0_B),
1566 GPIO_FN(SSI_SDATA1_B),
1567 GPIO_FN(DU0_EXVSYNC_DU0_VSYNC), GPIO_FN(HSPI_RX0_C),
1568 GPIO_FN(SSI_WS1_B),
1569 GPIO_FN(DU0_EXHSYNC_DU0_HSYNC), GPIO_FN(HSPI_TX0_C),
1570 GPIO_FN(SSI_SCK1_B),
1571 GPIO_FN(DU0_DOTCLKOUT), GPIO_FN(HSPI_CLK0_C),
1572 GPIO_FN(SSI_SDATA0_B),
1573 GPIO_FN(DU0_DOTCLKIN), GPIO_FN(HSPI_CS0_C),
1574 GPIO_FN(SSI_WS0_B),
1575 GPIO_FN(DU0_DB7), GPIO_FN(SSI_SCK0_B), GPIO_FN(HIFEBL_B),
1576 GPIO_FN(DU0_DB6), GPIO_FN(HIFRDY),
1577 GPIO_FN(DU0_DB5), GPIO_FN(HIFDREQ),
1578
1579 /* IPSR9 */
1580 GPIO_FN(SSI_SDATA1_A), GPIO_FN(VI1_3_B), GPIO_FN(LCD_DATA14_B),
1581 GPIO_FN(SSI_WS1_A), GPIO_FN(VI1_2_B), GPIO_FN(LCD_DATA13_B),
1582 GPIO_FN(SSI_SCK1_A), GPIO_FN(VI1_1_B), GPIO_FN(TIOC2B_B),
1583 GPIO_FN(LCD_DATA12_B),
1584 GPIO_FN(SSI_SDATA0_A), GPIO_FN(VI1_0_B), GPIO_FN(TIOC2A_B),
1585 GPIO_FN(LCD_DATA11_B),
1586 GPIO_FN(SSI_WS0_A), GPIO_FN(TIOC1B_B), GPIO_FN(LCD_DATA10_B),
1587 GPIO_FN(SSI_SCK0_A), GPIO_FN(TIOC1A_B), GPIO_FN(LCD_DATA9_B),
1588 GPIO_FN(VI1_7_A), GPIO_FN(FCE_B), GPIO_FN(LCD_DATA8_B),
1589 GPIO_FN(VI1_6_A), GPIO_FN(FD7_B), GPIO_FN(LCD_DATA7_B),
1590 GPIO_FN(VI1_5_A), GPIO_FN(FD6_B), GPIO_FN(LCD_DATA6_B),
1591 GPIO_FN(VI1_4_A), GPIO_FN(FD5_B), GPIO_FN(LCD_DATA5_B),
1592 GPIO_FN(VI1_3_A), GPIO_FN(FD4_B), GPIO_FN(LCD_DATA4_B),
1593 GPIO_FN(VI1_2_A), GPIO_FN(FD3_B), GPIO_FN(LCD_DATA3_B),
1594 GPIO_FN(VI1_1_A), GPIO_FN(FD2_B), GPIO_FN(LCD_DATA2_B),
1595 GPIO_FN(VI1_0_A), GPIO_FN(FD1_B), GPIO_FN(LCD_DATA1_B),
1596 GPIO_FN(VI1_CLK_A), GPIO_FN(FD0_B), GPIO_FN(LCD_DATA0_B),
1597
1598 /* IPSR10 */
1599 GPIO_FN(CAN1_TX_A), GPIO_FN(TX5_C), GPIO_FN(MLB_DAT),
1600 GPIO_FN(CAN0_RX_A), GPIO_FN(IRQ0_B), GPIO_FN(MLB_SIG),
1601 GPIO_FN(CAN1_RX_A), GPIO_FN(IRQ1_B),
1602 GPIO_FN(CAN0_TX_A), GPIO_FN(TX4_D), GPIO_FN(MLB_CLK),
1603 GPIO_FN(CAN_CLK_A), GPIO_FN(RX4_D),
1604 GPIO_FN(AUDIO_CLKOUT), GPIO_FN(TX1_E), GPIO_FN(HRTS0_C),
1605 GPIO_FN(FSE_B), GPIO_FN(LCD_M_DISP_B),
1606 GPIO_FN(AUDIO_CLKC), GPIO_FN(SCK1_E), GPIO_FN(HCTS0_C),
1607 GPIO_FN(FRB_B), GPIO_FN(LCD_VEPWC_B),
1608 GPIO_FN(AUDIO_CLKB_A), GPIO_FN(LCD_CLK_B),
1609 GPIO_FN(AUDIO_CLKA_A), GPIO_FN(VI1_CLK_B), GPIO_FN(SCK1_D),
1610 GPIO_FN(IECLK_B), GPIO_FN(LCD_FLM_B),
1611 GPIO_FN(SSI_SDATA3), GPIO_FN(VI1_7_B), GPIO_FN(HTX0_C),
1612 GPIO_FN(FWE_B), GPIO_FN(LCD_CL2_B),
1613 GPIO_FN(SSI_SDATA2), GPIO_FN(VI1_6_B), GPIO_FN(HRX0_C),
1614 GPIO_FN(FRE_B), GPIO_FN(LCD_CL1_B),
1615 GPIO_FN(SSI_WS23), GPIO_FN(VI1_5_B), GPIO_FN(TX1_D),
1616 GPIO_FN(HSCK0_C), GPIO_FN(FALE_B), GPIO_FN(LCD_DON_B),
1617 GPIO_FN(SSI_SCK23), GPIO_FN(VI1_4_B), GPIO_FN(RX1_D),
1618 GPIO_FN(FCLE_B), GPIO_FN(LCD_DATA15_B),
1619
1620 /* IPSR11 */
1621 GPIO_FN(PRESETOUT), GPIO_FN(ST_CLKOUT),
1622 GPIO_FN(DACK1), GPIO_FN(HSPI_CS_B), GPIO_FN(TX4_B),
1623 GPIO_FN(ET0_RX_CLK_A),
1624 GPIO_FN(DREQ1), GPIO_FN(HSPI_CLK_B), GPIO_FN(RX4_B),
1625 GPIO_FN(ET0_PHY_INT_C), GPIO_FN(ET0_TX_CLK_A),
1626 GPIO_FN(DACK0), GPIO_FN(SD1_DAT3_A), GPIO_FN(ET0_TX_ER),
1627 GPIO_FN(DREQ0), GPIO_FN(SD1_CLK_A), GPIO_FN(ET0_TX_EN),
1628 GPIO_FN(USB_OVC1), GPIO_FN(RX3_D), GPIO_FN(CAN1_RX_B),
1629 GPIO_FN(RX5_D), GPIO_FN(IERX_B),
1630 GPIO_FN(PENC1), GPIO_FN(TX3_D), GPIO_FN(CAN1_TX_B),
1631 GPIO_FN(TX5_D), GPIO_FN(IETX_B),
1632 GPIO_FN(TX0_A), GPIO_FN(HSPI_TX_A),
1633 GPIO_FN(RX0_A), GPIO_FN(HSPI_RX_A), GPIO_FN(RMII0_RXD0_A),
1634 GPIO_FN(ET0_ERXD6),
1635 GPIO_FN(SCK0_A), GPIO_FN(HSPI_CS_A), GPIO_FN(VI0_CLKENB),
1636 GPIO_FN(RMII0_TXD1_A), GPIO_FN(ET0_ERXD5),
1637 GPIO_FN(SCIF_CLK_A), GPIO_FN(HSPI_CLK_A), GPIO_FN(VI0_CLK),
1638 GPIO_FN(RMII0_TXD0_A), GPIO_FN(ET0_ERXD4),
1639 GPIO_FN(SDSELF), GPIO_FN(RTS1_E),
1640 GPIO_FN(SDA0), GPIO_FN(HIFEBL_A),
1641 GPIO_FN(SDA1), GPIO_FN(RX1_E),
1642 GPIO_FN(SCL1), GPIO_FN(SCIF_CLK_C),
1643};
1644
Laurent Pinchartcd3c1be2013-02-16 18:47:05 +01001645static const struct pinmux_cfg_reg pinmux_config_regs[] = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01001646 { PINMUX_CFG_REG("GPSR0", 0xFFFC0004, 32, 1) {
1647 GP_0_31_FN, FN_IP2_2_0,
1648 GP_0_30_FN, FN_IP1_31_29,
1649 GP_0_29_FN, FN_IP1_28_26,
1650 GP_0_28_FN, FN_IP1_25_23,
1651 GP_0_27_FN, FN_IP1_22_20,
1652 GP_0_26_FN, FN_IP1_19_18,
1653 GP_0_25_FN, FN_IP1_17_16,
1654 GP_0_24_FN, FN_IP0_5_4,
1655 GP_0_23_FN, FN_IP0_3_2,
1656 GP_0_22_FN, FN_IP0_1_0,
1657 GP_0_21_FN, FN_IP11_28,
1658 GP_0_20_FN, FN_IP1_7_6,
1659 GP_0_19_FN, FN_IP1_5_4,
1660 GP_0_18_FN, FN_IP1_3_2,
1661 GP_0_17_FN, FN_IP1_1_0,
1662 GP_0_16_FN, FN_IP0_31_30,
1663 GP_0_15_FN, FN_IP0_29_28,
1664 GP_0_14_FN, FN_IP0_27_26,
1665 GP_0_13_FN, FN_IP0_25_24,
1666 GP_0_12_FN, FN_IP0_23_22,
1667 GP_0_11_FN, FN_IP0_21_20,
1668 GP_0_10_FN, FN_IP0_19_18,
1669 GP_0_9_FN, FN_IP0_17_16,
1670 GP_0_8_FN, FN_IP0_15_14,
1671 GP_0_7_FN, FN_IP0_13_12,
1672 GP_0_6_FN, FN_IP0_11_10,
1673 GP_0_5_FN, FN_IP0_9_8,
1674 GP_0_4_FN, FN_IP0_7_6,
1675 GP_0_3_FN, FN_IP1_15_14,
1676 GP_0_2_FN, FN_IP1_13_12,
1677 GP_0_1_FN, FN_IP1_11_10,
1678 GP_0_0_FN, FN_IP1_9_8 }
1679 },
1680 { PINMUX_CFG_REG("GPSR1", 0xFFFC0008, 32, 1) {
1681 GP_1_31_FN, FN_IP11_25_23,
1682 GP_1_30_FN, FN_IP2_13_11,
1683 GP_1_29_FN, FN_IP2_10_8,
1684 GP_1_28_FN, FN_IP2_7_5,
1685 GP_1_27_FN, FN_IP3_26_24,
1686 GP_1_26_FN, FN_IP3_23_21,
1687 GP_1_25_FN, FN_IP2_4_3,
1688 GP_1_24_FN, FN_WE1,
1689 GP_1_23_FN, FN_WE0,
1690 GP_1_22_FN, FN_IP3_19_18,
1691 GP_1_21_FN, FN_RD,
1692 GP_1_20_FN, FN_IP3_17_15,
1693 GP_1_19_FN, FN_IP3_14_12,
1694 GP_1_18_FN, FN_IP3_11_9,
1695 GP_1_17_FN, FN_IP3_8_6,
1696 GP_1_16_FN, FN_IP3_5_3,
1697 GP_1_15_FN, FN_EX_CS0,
1698 GP_1_14_FN, FN_IP3_2,
1699 GP_1_13_FN, FN_CS0,
1700 GP_1_12_FN, FN_BS,
1701 GP_1_11_FN, FN_CLKOUT,
1702 GP_1_10_FN, FN_IP3_1_0,
1703 GP_1_9_FN, FN_IP2_30_28,
1704 GP_1_8_FN, FN_IP2_27_25,
1705 GP_1_7_FN, FN_IP2_24_23,
1706 GP_1_6_FN, FN_IP2_22_20,
1707 GP_1_5_FN, FN_IP2_19_17,
1708 GP_1_4_FN, FN_IP2_16_14,
1709 GP_1_3_FN, FN_IP11_22_21,
1710 GP_1_2_FN, FN_IP11_20_19,
1711 GP_1_1_FN, FN_IP3_29_27,
1712 GP_1_0_FN, FN_IP3_20 }
1713 },
1714 { PINMUX_CFG_REG("GPSR2", 0xFFFC000C, 32, 1) {
1715 GP_2_31_FN, FN_IP4_31_30,
1716 GP_2_30_FN, FN_IP5_2_0,
1717 GP_2_29_FN, FN_IP5_5_3,
1718 GP_2_28_FN, FN_IP5_8_6,
1719 GP_2_27_FN, FN_IP5_11_9,
1720 GP_2_26_FN, FN_IP5_14_12,
1721 GP_2_25_FN, FN_IP5_17_15,
1722 GP_2_24_FN, FN_IP5_20_18,
1723 GP_2_23_FN, FN_IP5_22_21,
1724 GP_2_22_FN, FN_IP5_24_23,
1725 GP_2_21_FN, FN_IP5_26_25,
1726 GP_2_20_FN, FN_IP4_29_28,
1727 GP_2_19_FN, FN_IP4_27_26,
1728 GP_2_18_FN, FN_IP4_25_24,
1729 GP_2_17_FN, FN_IP4_23_22,
1730 GP_2_16_FN, FN_IP4_21_20,
1731 GP_2_15_FN, FN_IP4_19_18,
1732 GP_2_14_FN, FN_IP4_17_15,
1733 GP_2_13_FN, FN_IP4_14_12,
1734 GP_2_12_FN, FN_IP4_11_9,
1735 GP_2_11_FN, FN_IP4_8_6,
1736 GP_2_10_FN, FN_IP4_5_3,
1737 GP_2_9_FN, FN_IP8_27_26,
1738 GP_2_8_FN, FN_IP11_12,
1739 GP_2_7_FN, FN_IP8_25_23,
1740 GP_2_6_FN, FN_IP8_22_20,
1741 GP_2_5_FN, FN_IP11_27_26,
1742 GP_2_4_FN, FN_IP8_29_28,
1743 GP_2_3_FN, FN_IP4_2_0,
1744 GP_2_2_FN, FN_IP11_11_10,
1745 GP_2_1_FN, FN_IP11_9_7,
1746 GP_2_0_FN, FN_IP11_6_4 }
1747 },
1748 { PINMUX_CFG_REG("GPSR3", 0xFFFC0010, 32, 1) {
1749 GP_3_31_FN, FN_IP9_1_0,
1750 GP_3_30_FN, FN_IP8_19_18,
1751 GP_3_29_FN, FN_IP8_17_16,
1752 GP_3_28_FN, FN_IP8_15_14,
1753 GP_3_27_FN, FN_IP8_13_12,
1754 GP_3_26_FN, FN_IP8_11_10,
1755 GP_3_25_FN, FN_IP8_9_8,
1756 GP_3_24_FN, FN_IP8_7_6,
1757 GP_3_23_FN, FN_IP8_5_4,
1758 GP_3_22_FN, FN_IP8_3_2,
1759 GP_3_21_FN, FN_IP8_1_0,
1760 GP_3_20_FN, FN_IP7_30_29,
1761 GP_3_19_FN, FN_IP7_28_27,
1762 GP_3_18_FN, FN_IP7_26_24,
1763 GP_3_17_FN, FN_IP7_23_21,
1764 GP_3_16_FN, FN_IP7_20_18,
1765 GP_3_15_FN, FN_IP7_17_15,
1766 GP_3_14_FN, FN_IP7_14_12,
1767 GP_3_13_FN, FN_IP7_11_9,
1768 GP_3_12_FN, FN_IP7_8_6,
1769 GP_3_11_FN, FN_IP7_5_3,
1770 GP_3_10_FN, FN_IP7_2_0,
1771 GP_3_9_FN, FN_IP6_23_21,
1772 GP_3_8_FN, FN_IP6_20_18,
1773 GP_3_7_FN, FN_IP6_17_16,
1774 GP_3_6_FN, FN_IP6_15_14,
1775 GP_3_5_FN, FN_IP6_13_12,
1776 GP_3_4_FN, FN_IP6_11_10,
1777 GP_3_3_FN, FN_IP6_9_8,
1778 GP_3_2_FN, FN_IP6_7_6,
1779 GP_3_1_FN, FN_IP6_5_3,
1780 GP_3_0_FN, FN_IP6_2_0 }
1781 },
1782
1783 { PINMUX_CFG_REG("GPSR4", 0xFFFC0014, 32, 1) {
1784 GP_4_31_FN, FN_IP10_24_23,
1785 GP_4_30_FN, FN_IP10_22,
1786 GP_4_29_FN, FN_IP11_18_16,
1787 GP_4_28_FN, FN_USB_OVC0,
1788 GP_4_27_FN, FN_IP11_15_13,
1789 GP_4_26_FN, FN_PENC0,
1790 GP_4_25_FN, FN_IP11_2,
1791 GP_4_24_FN, FN_SCL0,
1792 GP_4_23_FN, FN_IP11_1,
1793 GP_4_22_FN, FN_IP11_0,
1794 GP_4_21_FN, FN_IP10_21_19,
1795 GP_4_20_FN, FN_IP10_18_16,
1796 GP_4_19_FN, FN_IP10_15,
1797 GP_4_18_FN, FN_IP10_14_12,
1798 GP_4_17_FN, FN_IP10_11_9,
1799 GP_4_16_FN, FN_IP10_8_6,
1800 GP_4_15_FN, FN_IP10_5_3,
1801 GP_4_14_FN, FN_IP10_2_0,
1802 GP_4_13_FN, FN_IP9_29_28,
1803 GP_4_12_FN, FN_IP9_27_26,
1804 GP_4_11_FN, FN_IP9_9_8,
1805 GP_4_10_FN, FN_IP9_7_6,
1806 GP_4_9_FN, FN_IP9_5_4,
1807 GP_4_8_FN, FN_IP9_3_2,
1808 GP_4_7_FN, FN_IP9_17_16,
1809 GP_4_6_FN, FN_IP9_15_14,
1810 GP_4_5_FN, FN_IP9_13_12,
1811 GP_4_4_FN, FN_IP9_11_10,
1812 GP_4_3_FN, FN_IP9_25_24,
1813 GP_4_2_FN, FN_IP9_23_22,
1814 GP_4_1_FN, FN_IP9_21_20,
1815 GP_4_0_FN, FN_IP9_19_18 }
1816 },
1817 { PINMUX_CFG_REG("GPSR5", 0xFFFC0018, 32, 1) {
1818 0, 0, 0, 0, 0, 0, 0, 0, /* 31 - 28 */
1819 0, 0, 0, 0, 0, 0, 0, 0, /* 27 - 24 */
1820 0, 0, 0, 0, 0, 0, 0, 0, /* 23 - 20 */
1821 0, 0, 0, 0, 0, 0, 0, 0, /* 19 - 16 */
1822 0, 0, 0, 0, 0, 0, 0, 0, /* 15 - 12 */
1823 GP_5_11_FN, FN_IP10_29_28,
1824 GP_5_10_FN, FN_IP10_27_26,
1825 0, 0, 0, 0, 0, 0, 0, 0, /* 9 - 6 */
1826 0, 0, 0, 0, /* 5, 4 */
1827 GP_5_3_FN, FN_IRQ3_B,
1828 GP_5_2_FN, FN_IRQ2_B,
1829 GP_5_1_FN, FN_IP11_3,
1830 GP_5_0_FN, FN_IP10_25 }
1831 },
1832
1833 { PINMUX_CFG_REG_VAR("IPSR0", 0xFFFC001C, 32,
1834 2, 2, 2, 2, 2, 2, 2, 2,
1835 2, 2, 2, 2, 2, 2, 2, 2) {
1836 /* IP0_31_30 [2] */
1837 FN_A15, FN_ST0_VCO_CLKIN, FN_LCD_DATA15_A,
1838 FN_TIOC3D_C,
1839 /* IP0_29_28 [2] */
1840 FN_A14, FN_LCD_DATA14_A, FN_TIOC3C_C, 0,
1841 /* IP0_27_26 [2] */
1842 FN_A13, FN_LCD_DATA13_A, FN_TIOC3B_C, 0,
1843 /* IP0_25_24 [2] */
1844 FN_A12, FN_LCD_DATA12_A, FN_TIOC3A_C, 0,
1845 /* IP0_23_22 [2] */
1846 FN_A11, FN_ST0_D7, FN_LCD_DATA11_A, FN_TIOC2B_C,
1847 /* IP0_21_20 [2] */
1848 FN_A10, FN_ST0_D6, FN_LCD_DATA10_A, FN_TIOC2A_C,
1849 /* IP0_19_18 [2] */
1850 FN_A9, FN_ST0_D5, FN_LCD_DATA9_A, FN_TIOC1B_C,
1851 /* IP0_17_16 [2] */
1852 FN_A8, FN_ST0_D4, FN_LCD_DATA8_A, FN_TIOC1A_C,
1853 /* IP0_15_14 [2] */
1854 FN_A7, FN_ST0_D3, FN_LCD_DATA7_A, FN_TIOC0D_C,
1855 /* IP0_13_12 [2] */
1856 FN_A6, FN_ST0_D2, FN_LCD_DATA6_A, FN_TIOC0C_C,
1857 /* IP0_11_10 [2] */
1858 FN_A5, FN_ST0_D1, FN_LCD_DATA5_A, FN_TIOC0B_C,
1859 /* IP0_9_8 [2] */
1860 FN_A4, FN_ST0_D0, FN_LCD_DATA4_A, FN_TIOC0A_C,
1861 /* IP0_7_6 [2] */
1862 FN_A3, FN_ST0_VLD, FN_LCD_DATA3_A, FN_TCLKD_C,
1863 /* IP0_5_4 [2] */
1864 FN_A2, FN_ST0_SYC, FN_LCD_DATA2_A, FN_TCLKC_C,
1865 /* IP0_3_2 [2] */
1866 FN_A1, FN_ST0_REQ, FN_LCD_DATA1_A, FN_TCLKB_C,
1867 /* IP0_1_0 [2] */
1868 FN_A0, FN_ST0_CLKIN, FN_LCD_DATA0_A, FN_TCLKA_C }
1869 },
1870 { PINMUX_CFG_REG_VAR("IPSR1", 0xFFFC0020, 32,
1871 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2) {
1872 /* IP1_31_29 [3] */
1873 FN_D3, FN_SD0_DAT3_A, FN_MMC_D3_A, FN_ST1_D6,
1874 FN_FD3_A, 0, 0, 0,
1875 /* IP1_28_26 [3] */
1876 FN_D2, FN_SD0_DAT2_A, FN_MMC_D2_A, FN_ST1_D5,
1877 FN_FD2_A, 0, 0, 0,
1878 /* IP1_25_23 [3] */
1879 FN_D1, FN_SD0_DAT1_A, FN_MMC_D1_A, FN_ST1_D4,
1880 FN_FD1_A, 0, 0, 0,
1881 /* IP1_22_20 [3] */
1882 FN_D0, FN_SD0_DAT0_A, FN_MMC_D0_A, FN_ST1_D3,
1883 FN_FD0_A, 0, 0, 0,
1884 /* IP1_19_18 [2] */
1885 FN_A25, FN_TX2_D, FN_ST1_D2, 0,
1886 /* IP1_17_16 [2] */
1887 FN_A24, FN_RX2_D, FN_ST1_D1, 0,
1888 /* IP1_15_14 [2] */
1889 FN_A23, FN_ST1_D0, FN_LCD_M_DISP_A, 0,
1890 /* IP1_13_12 [2] */
1891 FN_A22, FN_ST1_VLD, FN_LCD_VEPWC_A, 0,
1892 /* IP1_11_10 [2] */
1893 FN_A21, FN_ST1_SYC, FN_LCD_VCPWC_A, 0,
1894 /* IP1_9_8 [2] */
1895 FN_A20, FN_ST1_REQ, FN_LCD_FLM_A, 0,
1896 /* IP1_7_6 [2] */
1897 FN_A19, FN_ST1_CLKIN, FN_LCD_CLK_A, FN_TIOC4D_C,
1898 /* IP1_5_4 [2] */
1899 FN_A18, FN_ST1_PWM, FN_LCD_CL2_A, FN_TIOC4C_C,
1900 /* IP1_3_2 [2] */
1901 FN_A17, FN_ST1_VCO_CLKIN, FN_LCD_CL1_A, FN_TIOC4B_C,
1902 /* IP1_1_0 [2] */
1903 FN_A16, FN_ST0_PWM, FN_LCD_DON_A, FN_TIOC4A_C }
1904 },
1905 { PINMUX_CFG_REG_VAR("IPSR2", 0xFFFC0024, 32,
1906 1, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3) {
1907 /* IP2_31 [1] */
1908 0, 0,
1909 /* IP2_30_28 [3] */
1910 FN_D14, FN_TX2_B, 0, FN_FSE_A,
1911 FN_ET0_TX_CLK_B, 0, 0, 0,
1912 /* IP2_27_25 [3] */
1913 FN_D13, FN_RX2_B, 0, FN_FRB_A,
1914 FN_ET0_ETXD6_B, 0, 0, 0,
1915 /* IP2_24_23 [2] */
1916 FN_D12, 0, FN_FWE_A, FN_ET0_ETXD5_B,
1917 /* IP2_22_20 [3] */
1918 FN_D11, FN_RSPI_MISO_A, 0, FN_QMI_QIO1_A,
1919 FN_FRE_A, FN_ET0_ETXD3_B, 0, 0,
1920 /* IP2_19_17 [3] */
1921 FN_D10, FN_RSPI_MOSI_A, 0, FN_QMO_QIO0_A,
1922 FN_FALE_A, FN_ET0_ETXD2_B, 0, 0,
1923 /* IP2_16_14 [3] */
1924 FN_D9, FN_SD0_CMD_A, FN_MMC_CMD_A, FN_QIO3_A,
1925 FN_FCLE_A, FN_ET0_ETXD1_B, 0, 0,
1926 /* IP2_13_11 [3] */
1927 FN_D8, FN_SD0_CLK_A, FN_MMC_CLK_A, FN_QIO2_A,
1928 FN_FCE_A, FN_ET0_GTX_CLK_B, 0, 0,
1929 /* IP2_10_8 [3] */
1930 FN_D7, FN_RSPI_SSL_A, FN_MMC_D7_A, FN_QSSL_A,
1931 FN_FD7_A, 0, 0, 0,
1932 /* IP2_7_5 [3] */
1933 FN_D6, FN_RSPI_RSPCK_A, FN_MMC_D6_A, FN_QSPCLK_A,
1934 FN_FD6_A, 0, 0, 0,
1935 /* IP2_4_3 [2] */
1936 FN_D5, FN_SD0_WP_A, FN_MMC_D5_A, FN_FD5_A,
1937 /* IP2_2_0 [3] */
1938 FN_D4, FN_SD0_CD_A, FN_MMC_D4_A, FN_ST1_D7,
1939 FN_FD4_A, 0, 0, 0 }
1940 },
1941 { PINMUX_CFG_REG_VAR("IPSR3", 0xFFFC0028, 32,
1942 2, 3, 3, 3, 1, 2, 3, 3, 3, 3, 3, 1, 2) {
1943 /* IP3_31_30 [2] */
1944 0, 0, 0, 0,
1945 /* IP3_29_27 [3] */
1946 FN_DRACK0, FN_SD1_DAT2_A, FN_ATAG, FN_TCLK1_A,
1947 FN_ET0_ETXD7, 0, 0, 0,
1948 /* IP3_26_24 [3] */
1949 FN_EX_WAIT2, FN_SD1_DAT1_A, FN_DACK2, FN_CAN1_RX_C,
1950 FN_ET0_MAGIC_C, FN_ET0_ETXD6_A, 0, 0,
1951 /* IP3_23_21 [3] */
1952 FN_EX_WAIT1, FN_SD1_DAT0_A, FN_DREQ2, FN_CAN1_TX_C,
1953 FN_ET0_LINK_C, FN_ET0_ETXD5_A, 0, 0,
1954 /* IP3_20 [1] */
1955 FN_EX_WAIT0, FN_TCLK1_B,
1956 /* IP3_19_18 [2] */
1957 FN_RD_WR, FN_TCLK1_B, 0, 0,
1958 /* IP3_17_15 [3] */
1959 FN_EX_CS5, FN_SD1_CMD_A, FN_ATADIR, FN_QSSL_B,
1960 FN_ET0_ETXD3_A, 0, 0, 0,
1961 /* IP3_14_12 [3] */
1962 FN_EX_CS4, FN_SD1_WP_A, FN_ATAWR, FN_QMI_QIO1_B,
1963 FN_ET0_ETXD2_A, 0, 0, 0,
1964 /* IP3_11_9 [3] */
1965 FN_EX_CS3, FN_SD1_CD_A, FN_ATARD, FN_QMO_QIO0_B,
1966 FN_ET0_ETXD1_A, 0, 0, 0,
1967 /* IP3_8_6 [3] */
1968 FN_EX_CS2, FN_TX3_B, FN_ATACS1, FN_QSPCLK_B,
1969 FN_ET0_GTX_CLK_A, 0, 0, 0,
1970 /* IP3_5_3 [3] */
1971 FN_EX_CS1, FN_RX3_B, FN_ATACS0, FN_QIO2_B,
1972 FN_ET0_ETXD0, 0, 0, 0,
1973 /* IP3_2 [1] */
1974 FN_CS1_A26, FN_QIO3_B,
1975 /* IP3_1_0 [2] */
1976 FN_D15, FN_SCK2_B, 0, 0 }
1977 },
1978 { PINMUX_CFG_REG_VAR("IPSR4", 0xFFFC002C, 32,
1979 2, 2, 2, 2, 2, 2 , 2, 3, 3, 3, 3, 3, 3) {
1980 /* IP4_31_30 [2] */
1981 0, FN_SCK2_A, FN_VI0_G3, 0,
1982 /* IP4_29_28 [2] */
1983 0, FN_RTS1_B, FN_VI0_G2, 0,
1984 /* IP4_27_26 [2] */
1985 0, FN_CTS1_B, FN_VI0_DATA7_VI0_G1, 0,
1986 /* IP4_25_24 [2] */
1987 0, FN_TX1_B, FN_VI0_DATA6_VI0_G0, FN_ET0_PHY_INT_A,
1988 /* IP4_23_22 [2] */
1989 0, FN_RX1_B, FN_VI0_DATA5_VI0_B5, FN_ET0_MAGIC_A,
1990 /* IP4_21_20 [2] */
1991 0, FN_SCK1_B, FN_VI0_DATA4_VI0_B4, FN_ET0_LINK_A,
1992 /* IP4_19_18 [2] */
1993 0, FN_RTS0_B, FN_VI0_DATA3_VI0_B3, FN_ET0_MDIO_A,
1994 /* IP4_17_15 [3] */
1995 0, FN_CTS0_B, FN_VI0_DATA2_VI0_B2, FN_RMII0_MDIO_A,
1996 FN_ET0_MDC, 0, 0, 0,
1997 /* IP4_14_12 [3] */
1998 FN_HTX0_A, FN_TX1_A, FN_VI0_DATA1_VI0_B1, FN_RMII0_MDC_A,
1999 FN_ET0_COL, 0, 0, 0,
2000 /* IP4_11_9 [3] */
2001 FN_HRX0_A, FN_RX1_A, FN_VI0_DATA0_VI0_B0, FN_RMII0_CRS_DV_A,
2002 FN_ET0_CRS, 0, 0, 0,
2003 /* IP4_8_6 [3] */
2004 FN_HSCK0_A, FN_SCK1_A, FN_VI0_VSYNC, FN_RMII0_RX_ER_A,
2005 FN_ET0_RX_ER, 0, 0, 0,
2006 /* IP4_5_3 [3] */
2007 FN_HRTS0_A, FN_RTS1_A, FN_VI0_HSYNC, FN_RMII0_TXD_EN_A,
2008 FN_ET0_RX_DV, 0, 0, 0,
2009 /* IP4_2_0 [3] */
2010 FN_HCTS0_A, FN_CTS1_A, FN_VI0_FIELD, FN_RMII0_RXD1_A,
2011 FN_ET0_ERXD7, 0, 0, 0 }
2012 },
2013 { PINMUX_CFG_REG_VAR("IPSR5", 0xFFFC0030, 32,
2014 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3) {
2015 /* IP5_31 [1] */
2016 0, 0,
2017 /* IP5_30 [1] */
2018 0, 0,
2019 /* IP5_29 [1] */
2020 0, 0,
2021 /* IP5_28 [1] */
2022 0, 0,
2023 /* IP5_27 [1] */
2024 0, 0,
2025 /* IP5_26_25 [2] */
2026 FN_REF50CK, FN_CTS1_E, FN_HCTS0_D, 0,
2027 /* IP5_24_23 [2] */
2028 FN_REF125CK, FN_ADTRG, FN_RX5_C, 0,
2029 /* IP5_22_21 [2] */
2030 FN_SD2_WP_A, FN_TX5_A, FN_VI0_R5, 0,
2031 /* IP5_20_18 [3] */
2032 FN_SD2_CD_A, FN_RX5_A, FN_VI0_R4, 0,
2033 0, 0, 0, FN_ET0_PHY_INT_B,
2034 /* IP5_17_15 [3] */
2035 FN_SD2_DAT3_A, FN_TX4_A, FN_VI0_R3, 0,
2036 0, 0, 0, FN_ET0_MAGIC_B,
2037 /* IP5_14_12 [3] */
2038 FN_SD2_DAT2_A, FN_RX4_A, FN_VI0_R2, 0,
2039 0, 0, 0, FN_ET0_LINK_B,
2040 /* IP5_11_9 [3] */
2041 FN_SD2_DAT1_A, FN_TX3_A, FN_VI0_R1, 0,
2042 0, 0, 0, FN_ET0_MDIO_B,
2043 /* IP5_8_6 [3] */
2044 FN_SD2_DAT0_A, FN_RX3_A, FN_VI0_R0, 0,
2045 0, 0, 0, FN_ET0_ERXD3_B,
2046 /* IP5_5_3 [3] */
2047 FN_SD2_CMD_A, FN_TX2_A, FN_VI0_G5, 0,
2048 0, 0, 0, FN_ET0_ERXD2_B,
2049 /* IP5_2_0 [3] */
2050 FN_SD2_CLK_A, FN_RX2_A, FN_VI0_G4, 0,
2051 FN_ET0_RX_CLK_B, 0, 0, 0 }
2052 },
2053 { PINMUX_CFG_REG_VAR("IPSR6", 0xFFFC0034, 32,
2054 1, 1, 1, 1, 1, 1, 1, 1,
2055 3, 3, 2, 2, 2, 2, 2, 2, 3, 3) {
2056 /* IP5_31 [1] */
2057 0, 0,
2058 /* IP6_30 [1] */
2059 0, 0,
2060 /* IP6_29 [1] */
2061 0, 0,
2062 /* IP6_28 [1] */
2063 0, 0,
2064 /* IP6_27 [1] */
2065 0, 0,
2066 /* IP6_26 [1] */
2067 0, 0,
2068 /* IP6_25 [1] */
2069 0, 0,
2070 /* IP6_24 [1] */
2071 0, 0,
2072 /* IP6_23_21 [3] */
2073 FN_DU0_DG1, FN_CTS1_C, FN_HRTS0_D, FN_TIOC1B_A,
2074 FN_HIFD09, 0, 0, 0,
2075 /* IP6_20_18 [3] */
2076 FN_DU0_DG0, FN_TX1_C, FN_HSCK0_D, FN_IECLK_A,
2077 FN_TIOC1A_A, FN_HIFD08, 0, 0,
2078 /* IP6_17_16 [2] */
2079 FN_DU0_DR7, FN_RX1_C, FN_TIOC0D_A, FN_HIFD07,
2080 /* IP6_15_14 [2] */
2081 FN_DU0_DR6, FN_SCK1_C, FN_TIOC0C_A, FN_HIFD06,
2082 /* IP6_13_12 [2] */
2083 FN_DU0_DR5, FN_RTS0_C, FN_TIOC0B_A, FN_HIFD05,
2084 /* IP6_11_10 [2] */
2085 FN_DU0_DR4, FN_CTS0_C, FN_TIOC0A_A, FN_HIFD04,
2086 /* IP6_9_8 [2] */
2087 FN_DU0_DR3, FN_TX0_B, FN_TCLKD_A, FN_HIFD03,
2088 /* IP6_7_6 [2] */
2089 FN_DU0_DR2, FN_RX0_B, FN_TCLKC_A, FN_HIFD02,
2090 /* IP6_5_3 [3] */
2091 FN_DU0_DR1, FN_SCK0_B, FN_HTX0_D, FN_IERX_A,
2092 FN_TCLKB_A, FN_HIFD01, 0, 0,
2093 /* IP6_2_0 [3] */
2094 FN_DU0_DR0, FN_SCIF_CLK_B, FN_HRX0_D, FN_IETX_A,
2095 FN_TCLKA_A, FN_HIFD00, 0, 0 }
2096 },
2097 { PINMUX_CFG_REG_VAR("IPSR7", 0xFFFC0038, 32,
2098 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
2099 /* IP7_31 [1] */
2100 0, 0,
2101 /* IP7_30_29 [2] */
2102 FN_DU0_DB4, 0, FN_HIFINT, 0,
2103 /* IP7_28_27 [2] */
2104 FN_DU0_DB3, FN_TX5_B, FN_TIOC4D_A, FN_HIFRD,
2105 /* IP7_26_24 [3] */
2106 FN_DU0_DB2, FN_RX5_B, FN_RMII0_TXD1_B, FN_TIOC4C_A,
2107 FN_HIFWR, 0, 0, 0,
2108 /* IP7_23_21 [3] */
2109 FN_DU0_DB1, FN_TX4_C, FN_RMII0_TXD0_B, FN_TIOC4B_A,
2110 FN_HIFRS, 0, 0, 0,
2111 /* IP7_20_18 [3] */
2112 FN_DU0_DB0, FN_RX4_C, FN_RMII0_TXD_EN_B, FN_TIOC4A_A,
2113 FN_HIFCS, 0, 0, 0,
2114 /* IP7_17_15 [3] */
2115 FN_DU0_DG7, FN_TX3_C, FN_RMII0_RXD1_B, FN_TIOC3D_A,
2116 FN_HIFD15, 0, 0, 0,
2117 /* IP7_14_12 [3] */
2118 FN_DU0_DG6, FN_RX3_C, FN_RMII0_RXD0_B, FN_TIOC3C_A,
2119 FN_HIFD14, 0, 0, 0,
2120 /* IP7_11_9 [3] */
2121 FN_DU0_DG5, FN_TX2_C, FN_RMII0_RX_ER_B, FN_TIOC3B_A,
2122 FN_HIFD13, 0, 0, 0,
2123 /* IP7_8_6 [3] */
2124 FN_DU0_DG4, FN_RX2_C, FN_RMII0_CRS_DV_B, FN_TIOC3A_A,
2125 FN_HIFD12, 0, 0, 0,
2126 /* IP7_5_3 [3] */
2127 FN_DU0_DG3, FN_SCK2_C, FN_RMII0_MDIO_B, FN_TIOC2B_A,
2128 FN_HIFD11, 0, 0, 0,
2129 /* IP7_2_0 [3] */
2130 FN_DU0_DG2, FN_RTS1_C, FN_RMII0_MDC_B, FN_TIOC2A_A,
2131 FN_HIFD10, 0, 0, 0 }
2132 },
2133 { PINMUX_CFG_REG_VAR("IPSR8", 0xFFFC003C, 32,
2134 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2) {
2135 /* IP9_31_30 [2] */
2136 0, 0, 0, 0,
2137 /* IP8_29_28 [2] */
2138 FN_IRQ3_A, FN_RTS0_A, FN_HRTS0_B, FN_ET0_ERXD3_A,
2139 /* IP8_27_26 [2] */
2140 FN_IRQ2_A, FN_CTS0_A, FN_HCTS0_B, FN_ET0_ERXD2_A,
2141 /* IP8_25_23 [3] */
2142 FN_IRQ1_A, 0, FN_HSPI_RX_B, FN_TX3_E,
2143 FN_ET0_ERXD1, 0, 0, 0,
2144 /* IP8_22_20 [3] */
2145 FN_IRQ0_A, 0, FN_HSPI_TX_B, FN_RX3_E,
2146 FN_ET0_ERXD0, 0, 0, 0,
2147 /* IP8_19_18 [2] */
2148 FN_DU0_CDE, FN_HTX0_B, FN_AUDIO_CLKB_B, FN_LCD_VCPWC_B,
2149 /* IP8_17_16 [2] */
2150 FN_DU0_DISP, FN_CAN0_TX_B, FN_HRX0_B, FN_AUDIO_CLKA_B,
2151 /* IP8_15_14 [2] */
2152 FN_DU0_EXODDF_DU0_ODDF, FN_CAN0_RX_B, FN_HSCK0_B,
2153 FN_SSI_SDATA1_B,
2154 /* IP8_13_12 [2] */
2155 FN_DU0_EXVSYNC_DU0_VSYNC, 0, FN_HSPI_RX0_C, FN_SSI_WS1_B,
2156 /* IP8_11_10 [2] */
2157 FN_DU0_EXHSYNC_DU0_HSYNC, 0, FN_HSPI_TX0_C, FN_SSI_SCK1_B,
2158 /* IP8_9_8 [2] */
2159 FN_DU0_DOTCLKOUT, 0, FN_HSPI_CLK0_C, FN_SSI_SDATA0_B,
2160 /* IP8_7_6 [2] */
2161 FN_DU0_DOTCLKIN, 0, FN_HSPI_CS0_C, FN_SSI_WS0_B,
2162 /* IP8_5_4 [2] */
2163 FN_DU0_DB7, 0, FN_SSI_SCK0_B, FN_HIFEBL_B,
2164 /* IP8_3_2 [2] */
2165 FN_DU0_DB6, 0, FN_HIFRDY, 0,
2166 /* IP8_1_0 [2] */
2167 FN_DU0_DB5, 0, FN_HIFDREQ, 0 }
2168 },
2169 { PINMUX_CFG_REG_VAR("IPSR9", 0xFFFC0040, 32,
2170 2, 2, 2, 2, 2, 2, 2, 2,
2171 2, 2, 2, 2, 2, 2, 2, 2) {
2172 /* IP9_31_30 [2] */
2173 0, 0, 0, 0,
2174 /* IP9_29_28 [2] */
2175 FN_SSI_SDATA1_A, FN_VI1_3_B, FN_LCD_DATA14_B, 0,
2176 /* IP9_27_26 [2] */
2177 FN_SSI_WS1_A, FN_VI1_2_B, FN_LCD_DATA13_B, 0,
2178 /* IP9_25_24 [2] */
2179 FN_SSI_SCK1_A, FN_VI1_1_B, FN_TIOC2B_B, FN_LCD_DATA12_B,
2180 /* IP9_23_22 [2] */
2181 FN_SSI_SDATA0_A, FN_VI1_0_B, FN_TIOC2A_B, FN_LCD_DATA11_B,
2182 /* IP9_21_20 [2] */
2183 FN_SSI_WS0_A, FN_TIOC1B_B, FN_LCD_DATA10_B, 0,
2184 /* IP9_19_18 [2] */
2185 FN_SSI_SCK0_A, FN_TIOC1A_B, FN_LCD_DATA9_B, 0,
2186 /* IP9_17_16 [2] */
2187 FN_VI1_7_A, FN_FCE_B, FN_LCD_DATA8_B, 0,
2188 /* IP9_15_14 [2] */
2189 FN_VI1_6_A, 0, FN_FD7_B, FN_LCD_DATA7_B,
2190 /* IP9_13_12 [2] */
2191 FN_VI1_5_A, 0, FN_FD6_B, FN_LCD_DATA6_B,
2192 /* IP9_11_10 [2] */
2193 FN_VI1_4_A, 0, FN_FD5_B, FN_LCD_DATA5_B,
2194 /* IP9_9_8 [2] */
2195 FN_VI1_3_A, 0, FN_FD4_B, FN_LCD_DATA4_B,
2196 /* IP9_7_6 [2] */
2197 FN_VI1_2_A, 0, FN_FD3_B, FN_LCD_DATA3_B,
2198 /* IP9_5_4 [2] */
2199 FN_VI1_1_A, 0, FN_FD2_B, FN_LCD_DATA2_B,
2200 /* IP9_3_2 [2] */
2201 FN_VI1_0_A, 0, FN_FD1_B, FN_LCD_DATA1_B,
2202 /* IP9_1_0 [2] */
2203 FN_VI1_CLK_A, 0, FN_FD0_B, FN_LCD_DATA0_B }
2204 },
2205 { PINMUX_CFG_REG_VAR("IPSR10", 0xFFFC0044, 32,
2206 2, 2, 2, 1, 2, 1, 3,
2207 3, 1, 3, 3, 3, 3, 3) {
2208 /* IP9_31_30 [2] */
2209 0, 0, 0, 0,
2210 /* IP10_29_28 [2] */
2211 FN_CAN1_TX_A, FN_TX5_C, FN_MLB_DAT, 0,
2212 /* IP10_27_26 [2] */
2213 FN_CAN0_RX_A, FN_IRQ0_B, FN_MLB_SIG, 0,
2214 /* IP10_25 [1] */
2215 FN_CAN1_RX_A, FN_IRQ1_B,
2216 /* IP10_24_23 [2] */
2217 FN_CAN0_TX_A, FN_TX4_D, FN_MLB_CLK, 0,
2218 /* IP10_22 [1] */
2219 FN_CAN_CLK_A, FN_RX4_D,
2220 /* IP10_21_19 [3] */
2221 FN_AUDIO_CLKOUT, FN_TX1_E, FN_HRTS0_C, FN_FSE_B,
2222 FN_LCD_M_DISP_B, 0, 0, 0,
2223 /* IP10_18_16 [3] */
2224 FN_AUDIO_CLKC, FN_SCK1_E, FN_HCTS0_C, FN_FRB_B,
2225 FN_LCD_VEPWC_B, 0, 0, 0,
2226 /* IP10_15 [1] */
2227 FN_AUDIO_CLKB_A, FN_LCD_CLK_B,
2228 /* IP10_14_12 [3] */
2229 FN_AUDIO_CLKA_A, FN_VI1_CLK_B, FN_SCK1_D, FN_IECLK_B,
2230 FN_LCD_FLM_B, 0, 0, 0,
2231 /* IP10_11_9 [3] */
2232 FN_SSI_SDATA3, FN_VI1_7_B, FN_HTX0_C, FN_FWE_B,
2233 FN_LCD_CL2_B, 0, 0, 0,
2234 /* IP10_8_6 [3] */
2235 FN_SSI_SDATA2, FN_VI1_6_B, FN_HRX0_C, FN_FRE_B,
2236 FN_LCD_CL1_B, 0, 0, 0,
2237 /* IP10_5_3 [3] */
2238 FN_SSI_WS23, FN_VI1_5_B, FN_TX1_D, FN_HSCK0_C, FN_FALE_B,
2239 FN_LCD_DON_B, 0, 0, 0,
2240 /* IP10_2_0 [3] */
2241 FN_SSI_SCK23, FN_VI1_4_B, FN_RX1_D, FN_FCLE_B,
2242 FN_LCD_DATA15_B, 0, 0, 0 }
2243 },
2244 { PINMUX_CFG_REG_VAR("IPSR11", 0xFFFC0048, 32,
2245 3, 1, 2, 2, 2, 3, 3, 1, 2, 3, 3, 1, 1, 1, 1) {
2246 /* IP11_31_29 [3] */
2247 0, 0, 0, 0, 0, 0, 0, 0,
2248 /* IP11_28 [1] */
2249 FN_PRESETOUT, FN_ST_CLKOUT,
2250 /* IP11_27_26 [2] */
2251 FN_DACK1, FN_HSPI_CS_B, FN_TX4_B, FN_ET0_RX_CLK_A,
2252 /* IP11_25_23 [3] */
2253 FN_DREQ1, FN_HSPI_CLK_B, FN_RX4_B, FN_ET0_PHY_INT_C,
2254 FN_ET0_TX_CLK_A, 0, 0, 0,
2255 /* IP11_22_21 [2] */
2256 FN_DACK0, FN_SD1_DAT3_A, FN_ET0_TX_ER, 0,
2257 /* IP11_20_19 [2] */
2258 FN_DREQ0, FN_SD1_CLK_A, FN_ET0_TX_EN, 0,
2259 /* IP11_18_16 [3] */
2260 FN_USB_OVC1, FN_RX3_D, FN_CAN1_RX_B, FN_RX5_D,
2261 FN_IERX_B, 0, 0, 0,
2262 /* IP11_15_13 [3] */
2263 FN_PENC1, FN_TX3_D, FN_CAN1_TX_B, FN_TX5_D,
2264 FN_IETX_B, 0, 0, 0,
2265 /* IP11_12 [1] */
2266 FN_TX0_A, FN_HSPI_TX_A,
2267 /* IP11_11_10 [2] */
2268 FN_RX0_A, FN_HSPI_RX_A, FN_RMII0_RXD0_A, FN_ET0_ERXD6,
2269 /* IP11_9_7 [3] */
2270 FN_SCK0_A, FN_HSPI_CS_A, FN_VI0_CLKENB, FN_RMII0_TXD1_A,
2271 FN_ET0_ERXD5, 0, 0, 0,
2272 /* IP11_6_4 [3] */
2273 FN_SCIF_CLK_A, FN_HSPI_CLK_A, FN_VI0_CLK, FN_RMII0_TXD0_A,
2274 FN_ET0_ERXD4, 0, 0, 0,
2275 /* IP11_3 [1] */
2276 FN_SDSELF, FN_RTS1_E,
2277 /* IP11_2 [1] */
2278 FN_SDA0, FN_HIFEBL_A,
2279 /* IP11_1 [1] */
2280 FN_SDA1, FN_RX1_E,
2281 /* IP11_0 [1] */
2282 FN_SCL1, FN_SCIF_CLK_C }
2283 },
2284 { PINMUX_CFG_REG_VAR("MOD_SEL1", 0xFFFC004C, 32,
2285 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2,
2286 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) {
2287 /* SEL1_31_29 [3] */
2288 0, 0, 0, 0, 0, 0, 0, 0,
2289 /* SEL1_28 [1] */
2290 FN_SEL_IEBUS_0, FN_SEL_IEBUS_1,
2291 /* SEL1_27 [1] */
2292 FN_SEL_RQSPI_0, FN_SEL_RQSPI_1,
2293 /* SEL1_26 [1] */
2294 FN_SEL_VIN1_0, FN_SEL_VIN1_1,
2295 /* SEL1_25 [1] */
2296 FN_SEL_HIF_0, FN_SEL_HIF_1,
2297 /* SEL1_24 [1] */
2298 FN_SEL_RSPI_0, FN_SEL_RSPI_1,
2299 /* SEL1_23 [1] */
2300 FN_SEL_LCDC_0, FN_SEL_LCDC_1,
2301 /* SEL1_22_21 [2] */
2302 FN_SEL_ET0_CTL_0, FN_SEL_ET0_CTL_1, FN_SEL_ET0_CTL_2, 0,
2303 /* SEL1_20 [1] */
2304 FN_SEL_ET0_0, FN_SEL_ET0_1,
2305 /* SEL1_19 [1] */
2306 FN_SEL_RMII_0, FN_SEL_RMII_1,
2307 /* SEL1_18 [1] */
2308 FN_SEL_TMU_0, FN_SEL_TMU_1,
2309 /* SEL1_17_16 [2] */
2310 FN_SEL_HSPI_0, FN_SEL_HSPI_1, FN_SEL_HSPI_2, 0,
2311 /* SEL1_15_14 [2] */
2312 FN_SEL_HSCIF_0, FN_SEL_HSCIF_1, FN_SEL_HSCIF_2, FN_SEL_HSCIF_3,
2313 /* SEL1_13 [1] */
2314 FN_SEL_RCAN_CLK_0, FN_SEL_RCAN_CLK_1,
2315 /* SEL1_12_11 [2] */
2316 FN_SEL_RCAN1_0, FN_SEL_RCAN1_1, FN_SEL_RCAN1_2, 0,
2317 /* SEL1_10 [1] */
2318 FN_SEL_RCAN0_0, FN_SEL_RCAN0_1,
2319 /* SEL1_9 [1] */
2320 FN_SEL_SDHI2_0, FN_SEL_SDHI2_1,
2321 /* SEL1_8 [1] */
2322 FN_SEL_SDHI1_0, FN_SEL_SDHI1_1,
2323 /* SEL1_7 [1] */
2324 FN_SEL_SDHI0_0, FN_SEL_SDHI0_1,
2325 /* SEL1_6 [1] */
2326 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
2327 /* SEL1_5 [1] */
2328 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
2329 /* SEL1_4 [1] */
2330 FN_SEL_AUDIO_CLKB_0, FN_SEL_AUDIO_CLKB_1,
2331 /* SEL1_3 [1] */
2332 FN_SEL_AUDIO_CLKA_0, FN_SEL_AUDIO_CLKA_1,
2333 /* SEL1_2 [1] */
2334 FN_SEL_FLCTL_0, FN_SEL_FLCTL_1,
2335 /* SEL1_1 [1] */
2336 FN_SEL_MMC_0, FN_SEL_MMC_1,
2337 /* SEL1_0 [1] */
2338 FN_SEL_INTC_0, FN_SEL_INTC_1 }
2339 },
2340 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xFFFC0050, 32,
2341 1, 1, 1, 1, 1, 1, 1, 1,
2342 1, 1, 1, 2, 2, 1, 2, 2, 3, 2, 3, 2, 2) {
2343 /* SEL2_31 [1] */
2344 0, 0,
2345 /* SEL2_30 [1] */
2346 0, 0,
2347 /* SEL2_29 [1] */
2348 0, 0,
2349 /* SEL2_28 [1] */
2350 0, 0,
2351 /* SEL2_27 [1] */
2352 0, 0,
2353 /* SEL2_26 [1] */
2354 0, 0,
2355 /* SEL2_25 [1] */
2356 0, 0,
2357 /* SEL2_24 [1] */
2358 0, 0,
2359 /* SEL2_23 [1] */
2360 FN_SEL_MTU2_CLK_0, FN_SEL_MTU2_CLK_1,
2361 /* SEL2_22 [1] */
2362 FN_SEL_MTU2_CH4_0, FN_SEL_MTU2_CH4_1,
2363 /* SEL2_21 [1] */
2364 FN_SEL_MTU2_CH3_0, FN_SEL_MTU2_CH3_1,
2365 /* SEL2_20_19 [2] */
2366 FN_SEL_MTU2_CH2_0, FN_SEL_MTU2_CH2_1, FN_SEL_MTU2_CH2_2, 0,
2367 /* SEL2_18_17 [2] */
2368 FN_SEL_MTU2_CH1_0, FN_SEL_MTU2_CH1_1, FN_SEL_MTU2_CH1_2, 0,
2369 /* SEL2_16 [1] */
2370 FN_SEL_MTU2_CH0_0, FN_SEL_MTU2_CH0_1,
2371 /* SEL2_15_14 [2] */
2372 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
2373 /* SEL2_13_12 [2] */
2374 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
2375 /* SEL2_11_9 [3] */
2376 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
2377 FN_SEL_SCIF3_4, 0, 0, 0,
2378 /* SEL2_8_7 [2] */
2379 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF2_3,
2380 /* SEL2_6_4 [3] */
2381 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
2382 FN_SEL_SCIF1_4, 0, 0, 0,
2383 /* SEL2_3_2 [2] */
2384 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, 0,
2385 /* SEL2_1_0 [2] */
2386 FN_SEL_SCIF_CLK_0, FN_SEL_SCIF_CLK_1, FN_SEL_SCIF_CLK_2, 0 }
2387 },
2388 /* GPIO 0 - 5*/
2389 { PINMUX_CFG_REG("INOUTSEL0", 0xFFC40004, 32, 1) { GP_INOUTSEL(0) } },
2390 { PINMUX_CFG_REG("INOUTSEL1", 0xFFC41004, 32, 1) { GP_INOUTSEL(1) } },
2391 { PINMUX_CFG_REG("INOUTSEL2", 0xFFC42004, 32, 1) { GP_INOUTSEL(2) } },
2392 { PINMUX_CFG_REG("INOUTSEL3", 0xFFC43004, 32, 1) { GP_INOUTSEL(3) } },
2393 { PINMUX_CFG_REG("INOUTSEL4", 0xFFC44004, 32, 1) { GP_INOUTSEL(4) } },
2394 { PINMUX_CFG_REG("INOUTSEL5", 0xffc45004, 32, 1) {
2395 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 31 - 24 */
2396 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 23 - 16 */
2397 0, 0, 0, 0, 0, 0, 0, 0, /* 15 - 12 */
2398 GP_5_11_IN, GP_5_11_OUT,
2399 GP_5_10_IN, GP_5_10_OUT,
2400 GP_5_9_IN, GP_5_9_OUT,
2401 GP_5_8_IN, GP_5_8_OUT,
2402 GP_5_7_IN, GP_5_7_OUT,
2403 GP_5_6_IN, GP_5_6_OUT,
2404 GP_5_5_IN, GP_5_5_OUT,
2405 GP_5_4_IN, GP_5_4_OUT,
2406 GP_5_3_IN, GP_5_3_OUT,
2407 GP_5_2_IN, GP_5_2_OUT,
2408 GP_5_1_IN, GP_5_1_OUT,
2409 GP_5_0_IN, GP_5_0_OUT }
2410 },
2411 { },
2412};
2413
Laurent Pinchartcd3c1be2013-02-16 18:47:05 +01002414static const struct pinmux_data_reg pinmux_data_regs[] = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01002415 /* GPIO 0 - 5*/
2416 { PINMUX_DATA_REG("INDT0", 0xFFC4000C, 32) { GP_INDT(0) } },
2417 { PINMUX_DATA_REG("INDT1", 0xFFC4100C, 32) { GP_INDT(1) } },
2418 { PINMUX_DATA_REG("INDT2", 0xFFC4200C, 32) { GP_INDT(2) } },
2419 { PINMUX_DATA_REG("INDT3", 0xFFC4300C, 32) { GP_INDT(3) } },
2420 { PINMUX_DATA_REG("INDT4", 0xFFC4400C, 32) { GP_INDT(4) } },
2421 { PINMUX_DATA_REG("INDT5", 0xFFC4500C, 32) {
2422 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2423 0, 0, 0, 0,
2424 GP_5_11_DATA, GP_5_10_DATA, GP_5_9_DATA, GP_5_8_DATA,
2425 GP_5_7_DATA, GP_5_6_DATA, GP_5_5_DATA, GP_5_4_DATA,
2426 GP_5_3_DATA, GP_5_2_DATA, GP_5_1_DATA, GP_5_0_DATA }
2427 },
2428 { },
2429};
2430
Laurent Pinchartcd3c1be2013-02-16 18:47:05 +01002431const struct sh_pfc_soc_info sh7734_pinmux_info = {
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01002432 .name = "sh7734_pfc",
2433
2434 .unlock_reg = 0xFFFC0000,
2435
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01002436 .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END },
2437 .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END },
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01002438 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
2439
Laurent Pincharta373ed02012-11-29 13:24:07 +01002440 .pins = pinmux_pins,
2441 .nr_pins = ARRAY_SIZE(pinmux_pins),
2442 .func_gpios = pinmux_func_gpios,
2443 .nr_func_gpios = ARRAY_SIZE(pinmux_func_gpios),
Laurent Pinchartd7a7ca52012-11-28 17:51:00 +01002444
Laurent Pinchartac1ebc22012-12-15 23:51:36 +01002445 .cfg_regs = pinmux_config_regs,
2446 .data_regs = pinmux_data_regs,
2447
2448 .gpio_data = pinmux_data,
2449 .gpio_data_size = ARRAY_SIZE(pinmux_data),
2450};