blob: 0c1a60c9a844c7eee8f9f78ea5a2d1face37c69b [file] [log] [blame]
Hisashi Nakamura50884512013-10-17 06:46:05 +09001/*
2 * r8a7791 processor support - PFC hardware block.
3 *
4 * Copyright (C) 2013 Renesas Electronics Corporation
Sergei Shtylyov59508082015-12-15 01:06:55 +03005 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
Hisashi Nakamura50884512013-10-17 06:46:05 +09006 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
10 */
11
12#include <linux/kernel.h>
Hisashi Nakamura50884512013-10-17 06:46:05 +090013
Hisashi Nakamura50884512013-10-17 06:46:05 +090014#include "sh_pfc.h"
15
16#define CPU_ALL_PORT(fn, sfx) \
17 PORT_GP_32(0, fn, sfx), \
Laurent Pinchart441f77d2015-06-26 01:43:07 +030018 PORT_GP_26(1, fn, sfx), \
Hisashi Nakamura50884512013-10-17 06:46:05 +090019 PORT_GP_32(2, fn, sfx), \
20 PORT_GP_32(3, fn, sfx), \
21 PORT_GP_32(4, fn, sfx), \
22 PORT_GP_32(5, fn, sfx), \
23 PORT_GP_32(6, fn, sfx), \
Laurent Pinchart441f77d2015-06-26 01:43:07 +030024 PORT_GP_26(7, fn, sfx)
Hisashi Nakamura50884512013-10-17 06:46:05 +090025
26enum {
27 PINMUX_RESERVED = 0,
28
29 PINMUX_DATA_BEGIN,
30 GP_ALL(DATA),
31 PINMUX_DATA_END,
32
33 PINMUX_FUNCTION_BEGIN,
34 GP_ALL(FN),
35
36 /* GPSR0 */
37 FN_IP0_0, FN_IP0_1, FN_IP0_2, FN_IP0_3, FN_IP0_4, FN_IP0_5,
38 FN_IP0_6, FN_IP0_7, FN_IP0_8, FN_IP0_9, FN_IP0_10, FN_IP0_11,
39 FN_IP0_12, FN_IP0_13, FN_IP0_14, FN_IP0_15, FN_IP0_18_16, FN_IP0_20_19,
40 FN_IP0_22_21, FN_IP0_24_23, FN_IP0_26_25, FN_IP0_28_27, FN_IP0_30_29,
41 FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4, FN_IP1_7_6, FN_IP1_10_8,
42 FN_IP1_13_11, FN_IP1_16_14, FN_IP1_19_17, FN_IP1_22_20,
43
44 /* GPSR1 */
45 FN_IP1_25_23, FN_IP1_28_26, FN_IP1_31_29, FN_IP2_2_0, FN_IP2_4_3,
46 FN_IP2_6_5, FN_IP2_9_7, FN_IP2_12_10, FN_IP2_15_13, FN_IP2_18_16,
47 FN_IP2_20_19, FN_IP2_22_21, FN_EX_CS0_N, FN_IP2_24_23, FN_IP2_26_25,
48 FN_IP2_29_27, FN_IP3_2_0, FN_IP3_5_3, FN_IP3_8_6, FN_RD_N,
49 FN_IP3_11_9, FN_IP3_13_12, FN_IP3_15_14 , FN_IP3_17_16 , FN_IP3_19_18,
50 FN_IP3_21_20,
51
52 /* GPSR2 */
53 FN_IP3_27_25, FN_IP3_30_28, FN_IP4_1_0, FN_IP4_4_2, FN_IP4_7_5,
54 FN_IP4_9_8, FN_IP4_12_10, FN_IP4_15_13, FN_IP4_18_16, FN_IP4_19,
55 FN_IP4_20, FN_IP4_21, FN_IP4_23_22, FN_IP4_25_24, FN_IP4_27_26,
56 FN_IP4_30_28, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_8_6, FN_IP5_11_9,
57 FN_IP5_14_12, FN_IP5_16_15, FN_IP5_19_17, FN_IP5_21_20, FN_IP5_23_22,
58 FN_IP5_25_24, FN_IP5_28_26, FN_IP5_31_29, FN_AUDIO_CLKA, FN_IP6_2_0,
59 FN_IP6_5_3, FN_IP6_7_6,
60
61 /* GPSR3 */
62 FN_IP7_5_3, FN_IP7_8_6, FN_IP7_10_9, FN_IP7_12_11, FN_IP7_14_13,
63 FN_IP7_16_15, FN_IP7_18_17, FN_IP7_20_19, FN_IP7_23_21, FN_IP7_26_24,
64 FN_IP7_29_27, FN_IP8_2_0, FN_IP8_5_3, FN_IP8_8_6, FN_IP8_11_9,
65 FN_IP8_14_12, FN_IP8_17_15, FN_IP8_20_18, FN_IP8_23_21, FN_IP8_25_24,
66 FN_IP8_27_26, FN_IP8_30_28, FN_IP9_2_0, FN_IP9_5_3, FN_IP9_6, FN_IP9_7,
67 FN_IP9_10_8, FN_IP9_11, FN_IP9_12, FN_IP9_15_13, FN_IP9_16,
68 FN_IP9_18_17,
69
70 /* GPSR4 */
71 FN_VI0_CLK, FN_IP9_20_19, FN_IP9_22_21, FN_IP9_24_23, FN_IP9_26_25,
72 FN_VI0_DATA0_VI0_B0, FN_VI0_DATA1_VI0_B1, FN_VI0_DATA2_VI0_B2,
73 FN_IP9_28_27, FN_VI0_DATA4_VI0_B4, FN_VI0_DATA5_VI0_B5,
74 FN_VI0_DATA6_VI0_B6, FN_VI0_DATA7_VI0_B7, FN_IP9_31_29, FN_IP10_2_0,
75 FN_IP10_5_3, FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_16_15,
76 FN_IP10_18_17, FN_IP10_21_19, FN_IP10_24_22, FN_IP10_26_25,
77 FN_IP10_28_27, FN_IP10_31_29, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_8_6,
78 FN_IP15_1_0, FN_IP15_3_2, FN_IP15_5_4,
79
80 /* GPSR5 */
81 FN_IP11_11_9, FN_IP11_14_12, FN_IP11_16_15, FN_IP11_18_17, FN_IP11_19,
82 FN_IP11_20, FN_IP11_21, FN_IP11_22, FN_IP11_23, FN_IP11_24,
83 FN_IP11_25, FN_IP11_26, FN_IP11_27, FN_IP11_29_28, FN_IP11_31_30,
84 FN_IP12_1_0, FN_IP12_3_2, FN_IP12_6_4, FN_IP12_9_7, FN_IP12_12_10,
85 FN_IP12_15_13, FN_IP12_17_16, FN_IP12_19_18, FN_IP12_21_20,
86 FN_IP12_23_22, FN_IP12_26_24, FN_IP12_29_27, FN_IP13_2_0, FN_IP13_4_3,
87 FN_IP13_6_5, FN_IP13_9_7, FN_IP3_24_22,
88
89 /* GPSR6 */
90 FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
Magnus Dammb5973fc2014-02-26 19:10:26 +090091 FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
92 FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
Hisashi Nakamura50884512013-10-17 06:46:05 +090093 FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
94 FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
95 FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
96 FN_IP14_22_20, FN_IP14_25_23, FN_IP14_28_26, FN_IP14_31_29,
97 FN_USB1_OVC, FN_DU0_DOTCLKIN,
98
99 /* GPSR7 */
100 FN_IP15_17_15, FN_IP15_20_18, FN_IP15_23_21, FN_IP15_26_24,
101 FN_IP15_29_27, FN_IP16_2_0, FN_IP16_5_3, FN_IP16_7_6, FN_IP16_9_8,
102 FN_IP16_11_10, FN_IP6_9_8, FN_IP6_11_10, FN_IP6_13_12, FN_IP6_15_14,
103 FN_IP6_18_16, FN_IP6_20_19, FN_IP6_23_21, FN_IP6_26_24, FN_IP6_29_27,
104 FN_IP7_2_0, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_14_12,
105 FN_USB0_PWEN, FN_USB0_OVC, FN_USB1_PWEN,
106
107 /* IPSR0 */
108 FN_D0, FN_D1, FN_D2, FN_D3, FN_D4, FN_D5, FN_D6, FN_D7, FN_D8,
109 FN_D9, FN_D10, FN_D11, FN_D12, FN_D13, FN_D14, FN_D15,
110 FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
111 FN_A1, FN_MSIOF0_SYNC_B, FN_A2, FN_MSIOF0_SS1_B,
112 FN_A3, FN_MSIOF0_SS2_B, FN_A4, FN_MSIOF0_TXD_B,
113 FN_A5, FN_MSIOF0_RXD_B, FN_A6, FN_MSIOF1_SCK,
114
115 /* IPSR1 */
116 FN_A7, FN_MSIOF1_SYNC, FN_A8, FN_MSIOF1_SS1, FN_SCL0,
117 FN_A9, FN_MSIOF1_SS2, FN_SDA0,
118 FN_A10, FN_MSIOF1_TXD, FN_MSIOF1_TXD_D,
119 FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
120 FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
121 FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
122 FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
123 FN_A15, FN_BPFCLK_C,
124 FN_A16, FN_DREQ2_B, FN_FMCLK_C, FN_SCIFA1_SCK_B,
125 FN_A17, FN_DACK2_B, FN_SDA0_C,
126 FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, FN_SCIFB1_RXD_C,
127
128 /* IPSR2 */
129 FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, FN_SCIFB1_TXD_C, FN_SCIFB1_SCK_B,
130 FN_A20, FN_SPCLK,
131 FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0,
132 FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
133 FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
134 FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
135 FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
136 FN_CS0_N, FN_ATAG0_N_B, FN_SCL1,
137 FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1,
138 FN_EX_CS1_N, FN_MSIOF2_SCK,
139 FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC,
140 FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD, FN_ATAG0_N, FN_EX_WAIT1,
141
142 /* IPSR3 */
143 FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, FN_EX_WAIT2,
144 FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
145 FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1,
146 FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
147 FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2,
148 FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
149 FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B,
150 FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
151 FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B,
152 FN_DREQ0, FN_PWM3, FN_TPU_TO3,
153 FN_DACK0, FN_DRACK0, FN_REMOCON,
154 FN_SPEEDIN, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
155 FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
156 FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C, FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
157 FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C, FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
158
159 /* IPSR4 */
160 FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C,
161 FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B, FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
162 FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
163 FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
164 FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
165 FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
166 FN_GLO_Q1_D, FN_HCTS1_N_E,
167 FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
168 FN_SSI_SCK34, FN_SSI_WS34, FN_SSI_SDATA3,
169 FN_SSI_SCK4, FN_GLO_SS_D,
170 FN_SSI_WS4, FN_GLO_RFON_D,
171 FN_SSI_SDATA4, FN_MSIOF2_SCK_D,
172 FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
173 FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
174
175 /* IPSR5 */
176 FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
177 FN_MSIOF2_TXD_D, FN_VI1_R3_B,
178 FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
179 FN_MSIOF2_SS1_D, FN_VI1_R4_B,
180 FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
181 FN_MSIOF2_RXD_D, FN_VI1_R5_B,
182 FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
183 FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
184 FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS,
185 FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
186 FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B,
187 FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B,
188 FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D,
189 FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
190 FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
191
192 /* IPSR6 */
193 FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
194 FN_SCIF_CLK, FN_BPFCLK_E,
195 FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
196 FN_SCIFA2_RXD, FN_FMIN_E,
197 FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
198 FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N,
199 FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N,
200 FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N,
201 FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
202 FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
203 FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
204 FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B, FN_SDA1_E, FN_MSIOF2_SYNC_E,
205 FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B, FN_GPS_CLK_C, FN_GPS_CLK_D,
206 FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B, FN_GPS_SIGN_C, FN_GPS_SIGN_D,
207
208 /* IPSR7 */
209 FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
210 FN_SCIF_CLK_B, FN_GPS_MAG_D,
211 FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
212 FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
213 FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
214 FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
215 FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B,
216 FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B,
217 FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B,
218 FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B,
219 FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B,
220 FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B,
221 FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
222 FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
223 FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
224 FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
225 FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
226 FN_SCIFA1_SCK, FN_SSI_SCK78_B,
227
228 /* IPSR8 */
229 FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, FN_SSI_WS78_B,
230 FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
231 FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
232 FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
233 FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
234 FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
235 FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
236 FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B, FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
237 FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
238 FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
239 FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
240 FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
241 FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
242 FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
243 FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B,
244 FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
245 FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
246
247 /* IPSR9 */
248 FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
249 FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C, FN_SCIF3_SCK, FN_SCIFA3_SCK,
250 FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
251 FN_DU1_DOTCLKOUT0, FN_QCLK,
252 FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
253 FN_TX3_B, FN_SCL2_B, FN_PWM4,
254 FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
255 FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
256 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
257 FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
258 FN_DU1_DISP, FN_QPOLA,
259 FN_DU1_CDE, FN_QPOLB, FN_PWM4_B,
260 FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
261 FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
262 FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
263 FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
264 FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B,
265 FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
266 FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N,
267
268 /* IPSR10 */
269 FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
270 FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N,
271 FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
272 FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N,
273 FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
274 FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N,
275 FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
276 FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
277 FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
278 FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D,
279 FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D,
280 FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D,
281 FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
282 FN_TS_SDATA0_C, FN_ATACS11_N,
283 FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B,
284 FN_TS_SCK0_C, FN_ATAG1_N,
285 FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
286 FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
287 FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
288
289 /* IPSR11 */
290 FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
291 FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
292 FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
293 FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D,
294 FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B, FN_TX4_B, FN_SCIFA4_TXD_B,
295 FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B, FN_RX4_B, FN_SCIFA4_RXD_B,
296 FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B,
297 FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B,
298 FN_VI1_CLK, FN_AVB_RXD4, FN_VI1_DATA0, FN_AVB_RXD5,
299 FN_VI1_DATA1, FN_AVB_RXD6, FN_VI1_DATA2, FN_AVB_RXD7,
300 FN_VI1_DATA3, FN_AVB_RX_ER, FN_VI1_DATA4, FN_AVB_MDIO,
301 FN_VI1_DATA5, FN_AVB_RX_DV, FN_VI1_DATA6, FN_AVB_MAGIC,
302 FN_VI1_DATA7, FN_AVB_MDC,
303 FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C,
304 FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C,
305
306 /* IPSR12 */
307 FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7,
308 FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
309 FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
310 FN_SCL2_D, FN_MSIOF1_RXD_E,
311 FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C, FN_SDA2_D, FN_MSIOF1_SCK_E,
312 FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
313 FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
314 FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
315 FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
316 FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
317 FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C,
318 FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C,
319 FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C,
320 FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
321 FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
322 FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
323 FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
324
325 /* IPSR13 */
326 FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
327 FN_ADICLK_B, FN_MSIOF0_SS1_C,
328 FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
329 FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
330 FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
331 FN_ADICHS2_B, FN_MSIOF0_TXD_C,
332 FN_SD0_CLK, FN_SPCLK_B, FN_SD0_CMD, FN_MOSI_IO0_B,
333 FN_SD0_DATA0, FN_MISO_IO1_B, FN_SD0_DATA1, FN_IO2_B,
334 FN_SD0_DATA2, FN_IO3_B, FN_SD0_DATA3, FN_SSL_B,
335 FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
336 FN_SCIFA5_TXD_B, FN_TX3_C,
337 FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
338 FN_SCIFA5_RXD_B, FN_RX3_C,
339 FN_SD1_CMD, FN_REMOCON_B, FN_SD1_DATA0, FN_SPEEDIN_B,
340 FN_SD1_DATA1, FN_IETX_B, FN_SD1_DATA2, FN_IECLK_B,
341 FN_SD1_DATA3, FN_IERX_B,
342 FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
343
344 /* IPSR14 */
345 FN_SD1_WP, FN_PWM1_B, FN_SDA1_C,
346 FN_SD2_CLK, FN_MMC_CLK, FN_SD2_CMD, FN_MMC_CMD,
347 FN_SD2_DATA0, FN_MMC_D0, FN_SD2_DATA1, FN_MMC_D1,
348 FN_SD2_DATA2, FN_MMC_D2, FN_SD2_DATA3, FN_MMC_D3,
349 FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
350 FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
351 FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, FN_VI1_CLK_C, FN_VI1_G0_B,
352 FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, FN_VI1_CLKENB_C, FN_VI1_G1_B,
353 FN_MSIOF0_TXD, FN_ADICLK, FN_VI1_FIELD_C, FN_VI1_G2_B,
354 FN_MSIOF0_RXD, FN_ADICHS0, FN_VI1_DATA0_C, FN_VI1_G3_B,
355 FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
356 FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B,
357 FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
358 FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B,
359
360 /* IPSR15 */
361 FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D,
362 FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C,
363 FN_SIM0_D, FN_IERX, FN_CAN1_RX_D,
364 FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
365 FN_PWM5_B, FN_SCIFA3_TXD_C,
366 FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
367 FN_VI1_G6_B, FN_SCIFA3_RXD_C,
368 FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
369 FN_VI1_G7_B, FN_SCIFA3_SCK_C,
370 FN_HCTS0_N, FN_SCIFB0_CTS_N, FN_GLO_I0_C, FN_TCLK1, FN_VI1_DATA1_C,
371 FN_HRTS0_N, FN_SCIFB0_RTS_N, FN_GLO_I1_C, FN_VI1_DATA2_C,
372 FN_HSCK0, FN_SCIFB0_SCK, FN_GLO_Q0_C, FN_CAN_CLK,
373 FN_TCLK2, FN_VI1_DATA3_C,
374 FN_HRX0, FN_SCIFB0_RXD, FN_GLO_Q1_C, FN_CAN0_RX_B, FN_VI1_DATA4_C,
375 FN_HTX0, FN_SCIFB0_TXD, FN_GLO_SCLK_C, FN_CAN0_TX_B, FN_VI1_DATA5_C,
376
377 /* IPSR16 */
378 FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B, FN_GLO_SDATA_C, FN_VI1_DATA6_C,
379 FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B, FN_GLO_SS_C, FN_VI1_DATA7_C,
Sergei Shtylyov87f27fe2015-01-10 21:21:46 +0300380 FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CLK, FN_GLO_RFON_C,
Hisashi Nakamura50884512013-10-17 06:46:05 +0900381 FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
382 FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
383
384 /* MOD_SEL */
385 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
386 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
387 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
388 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
389 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
390 FN_SEL_SSI9_0, FN_SEL_SSI9_1,
391 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
392 FN_SEL_QSP_0, FN_SEL_QSP_1,
393 FN_SEL_SSI7_0, FN_SEL_SSI7_1,
394 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2, FN_SEL_HSCIF1_3,
395 FN_SEL_HSCIF1_4,
396 FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2,
397 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
398 FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
399 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
400 FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2,
401
402 /* MOD_SEL2 */
403 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
404 FN_SEL_SCIF0_4,
405 FN_SEL_SCIF_0, FN_SEL_SCIF_1,
406 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
407 FN_SEL_CAN0_4, FN_SEL_CAN0_5,
408 FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
409 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
410 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2,
411 FN_SEL_ADG_0, FN_SEL_ADG_1,
412 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3, FN_SEL_FM_4,
413 FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2,
414 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
415 FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2,
416 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2,
417 FN_SEL_SIM_0, FN_SEL_SIM_1,
418 FN_SEL_SSI8_0, FN_SEL_SSI8_1,
419
420 /* MOD_SEL3 */
421 FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1, FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
422 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1, FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
423 FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2,
424 FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2,
425 FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2,
426 FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
427 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
428 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
429 FN_SEL_MMC_0, FN_SEL_MMC_1,
430 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
431 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
432 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
433 FN_SEL_IIC1_4,
434 FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2,
435
436 /* MOD_SEL4 */
437 FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
438 FN_SEL_SOF1_4,
439 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
440 FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2,
441 FN_SEL_RAD_0, FN_SEL_RAD_1,
442 FN_SEL_RCN_0, FN_SEL_RCN_1,
443 FN_SEL_RSP_0, FN_SEL_RSP_1,
444 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF2_3,
445 FN_SEL_SCIF2_4,
446 FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2, FN_SEL_SOF2_3,
447 FN_SEL_SOF2_4,
448 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
449 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
450 FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2,
451 PINMUX_FUNCTION_END,
452
453 PINMUX_MARK_BEGIN,
454
455 EX_CS0_N_MARK, RD_N_MARK,
456
457 AUDIO_CLKA_MARK,
458
459 VI0_CLK_MARK, VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
460 VI0_DATA2_VI0_B2_MARK, VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
461 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
462
463 SD1_CLK_MARK,
464
465 USB0_PWEN_MARK, USB0_OVC_MARK, USB1_PWEN_MARK, USB1_OVC_MARK,
466 DU0_DOTCLKIN_MARK,
467
468 /* IPSR0 */
469 D0_MARK, D1_MARK, D2_MARK, D3_MARK, D4_MARK, D5_MARK,
470 D6_MARK, D7_MARK, D8_MARK,
471 D9_MARK, D10_MARK, D11_MARK, D12_MARK, D13_MARK, D14_MARK, D15_MARK,
472 A0_MARK, ATAWR0_N_C_MARK, MSIOF0_SCK_B_MARK, SCL0_C_MARK, PWM2_B_MARK,
473 A1_MARK, MSIOF0_SYNC_B_MARK, A2_MARK, MSIOF0_SS1_B_MARK,
474 A3_MARK, MSIOF0_SS2_B_MARK, A4_MARK, MSIOF0_TXD_B_MARK,
475 A5_MARK, MSIOF0_RXD_B_MARK, A6_MARK, MSIOF1_SCK_MARK,
476
477 /* IPSR1 */
478 A7_MARK, MSIOF1_SYNC_MARK, A8_MARK, MSIOF1_SS1_MARK, SCL0_MARK,
479 A9_MARK, MSIOF1_SS2_MARK, SDA0_MARK,
480 A10_MARK, MSIOF1_TXD_MARK, MSIOF1_TXD_D_MARK,
481 A11_MARK, MSIOF1_RXD_MARK, SCL3_D_MARK, MSIOF1_RXD_D_MARK,
482 A12_MARK, FMCLK_MARK, SDA3_D_MARK, MSIOF1_SCK_D_MARK,
483 A13_MARK, ATAG0_N_C_MARK, BPFCLK_MARK, MSIOF1_SS1_D_MARK,
484 A14_MARK, ATADIR0_N_C_MARK, FMIN_MARK, FMIN_C_MARK, MSIOF1_SYNC_D_MARK,
485 A15_MARK, BPFCLK_C_MARK,
486 A16_MARK, DREQ2_B_MARK, FMCLK_C_MARK, SCIFA1_SCK_B_MARK,
487 A17_MARK, DACK2_B_MARK, SDA0_C_MARK,
488 A18_MARK, DREQ1_MARK, SCIFA1_RXD_C_MARK, SCIFB1_RXD_C_MARK,
489
490 /* IPSR2 */
491 A19_MARK, DACK1_MARK, SCIFA1_TXD_C_MARK,
492 SCIFB1_TXD_C_MARK, SCIFB1_SCK_B_MARK,
493 A20_MARK, SPCLK_MARK,
494 A21_MARK, ATAWR0_N_B_MARK, MOSI_IO0_MARK,
495 A22_MARK, MISO_IO1_MARK, FMCLK_B_MARK, TX0_MARK, SCIFA0_TXD_MARK,
496 A23_MARK, IO2_MARK, BPFCLK_B_MARK, RX0_MARK, SCIFA0_RXD_MARK,
497 A24_MARK, DREQ2_MARK, IO3_MARK, TX1_MARK, SCIFA1_TXD_MARK,
498 A25_MARK, DACK2_MARK, SSL_MARK, DREQ1_C_MARK,
499 RX1_MARK, SCIFA1_RXD_MARK,
500 CS0_N_MARK, ATAG0_N_B_MARK, SCL1_MARK,
501 CS1_N_A26_MARK, ATADIR0_N_B_MARK, SDA1_MARK,
502 EX_CS1_N_MARK, MSIOF2_SCK_MARK,
503 EX_CS2_N_MARK, ATAWR0_N_MARK, MSIOF2_SYNC_MARK,
504 EX_CS3_N_MARK, ATADIR0_N_MARK, MSIOF2_TXD_MARK,
505 ATAG0_N_MARK, EX_WAIT1_MARK,
506
507 /* IPSR3 */
508 EX_CS4_N_MARK, ATARD0_N_MARK, MSIOF2_RXD_MARK, EX_WAIT2_MARK,
509 EX_CS5_N_MARK, ATACS00_N_MARK, MSIOF2_SS1_MARK, HRX1_B_MARK,
510 SCIFB1_RXD_B_MARK, PWM1_MARK, TPU_TO1_MARK,
511 BS_N_MARK, ATACS10_N_MARK, MSIOF2_SS2_MARK, HTX1_B_MARK,
512 SCIFB1_TXD_B_MARK, PWM2_MARK, TPU_TO2_MARK,
513 RD_WR_N_MARK, HRX2_B_MARK, FMIN_B_MARK,
514 SCIFB0_RXD_B_MARK, DREQ1_D_MARK,
515 WE0_N_MARK, HCTS2_N_B_MARK, SCIFB0_TXD_B_MARK,
516 WE1_N_MARK, ATARD0_N_B_MARK, HTX2_B_MARK, SCIFB0_RTS_N_B_MARK,
517 EX_WAIT0_MARK, HRTS2_N_B_MARK, SCIFB0_CTS_N_B_MARK,
518 DREQ0_MARK, PWM3_MARK, TPU_TO3_MARK,
519 DACK0_MARK, DRACK0_MARK, REMOCON_MARK,
520 SPEEDIN_MARK, HSCK0_C_MARK, HSCK2_C_MARK, SCIFB0_SCK_B_MARK,
521 SCIFB2_SCK_B_MARK, DREQ2_C_MARK, HTX2_D_MARK,
522 SSI_SCK0129_MARK, HRX0_C_MARK, HRX2_C_MARK,
523 SCIFB0_RXD_C_MARK, SCIFB2_RXD_C_MARK,
524 SSI_WS0129_MARK, HTX0_C_MARK, HTX2_C_MARK,
525 SCIFB0_TXD_C_MARK, SCIFB2_TXD_C_MARK,
526
527 /* IPSR4 */
528 SSI_SDATA0_MARK, SCL0_B_MARK, SCL7_B_MARK, MSIOF2_SCK_C_MARK,
529 SSI_SCK1_MARK, SDA0_B_MARK, SDA7_B_MARK,
530 MSIOF2_SYNC_C_MARK, GLO_I0_D_MARK,
531 SSI_WS1_MARK, SCL1_B_MARK, SCL8_B_MARK,
532 MSIOF2_TXD_C_MARK, GLO_I1_D_MARK,
533 SSI_SDATA1_MARK, SDA1_B_MARK, SDA8_B_MARK, MSIOF2_RXD_C_MARK,
534 SSI_SCK2_MARK, SCL2_MARK, GPS_CLK_B_MARK, GLO_Q0_D_MARK, HSCK1_E_MARK,
535 SSI_WS2_MARK, SDA2_MARK, GPS_SIGN_B_MARK, RX2_E_MARK,
536 GLO_Q1_D_MARK, HCTS1_N_E_MARK,
537 SSI_SDATA2_MARK, GPS_MAG_B_MARK, TX2_E_MARK, HRTS1_N_E_MARK,
538 SSI_SCK34_MARK, SSI_WS34_MARK, SSI_SDATA3_MARK,
539 SSI_SCK4_MARK, GLO_SS_D_MARK,
540 SSI_WS4_MARK, GLO_RFON_D_MARK,
541 SSI_SDATA4_MARK, MSIOF2_SCK_D_MARK,
542 SSI_SCK5_MARK, MSIOF1_SCK_C_MARK, TS_SDATA0_MARK, GLO_I0_MARK,
543 MSIOF2_SYNC_D_MARK, VI1_R2_B_MARK,
544
545 /* IPSR5 */
546 SSI_WS5_MARK, MSIOF1_SYNC_C_MARK, TS_SCK0_MARK, GLO_I1_MARK,
547 MSIOF2_TXD_D_MARK, VI1_R3_B_MARK,
548 SSI_SDATA5_MARK, MSIOF1_TXD_C_MARK, TS_SDEN0_MARK, GLO_Q0_MARK,
549 MSIOF2_SS1_D_MARK, VI1_R4_B_MARK,
550 SSI_SCK6_MARK, MSIOF1_RXD_C_MARK, TS_SPSYNC0_MARK, GLO_Q1_MARK,
551 MSIOF2_RXD_D_MARK, VI1_R5_B_MARK,
552 SSI_WS6_MARK, GLO_SCLK_MARK, MSIOF2_SS2_D_MARK, VI1_R6_B_MARK,
553 SSI_SDATA6_MARK, STP_IVCXO27_0_B_MARK, GLO_SDATA_MARK, VI1_R7_B_MARK,
554 SSI_SCK78_MARK, STP_ISCLK_0_B_MARK, GLO_SS_MARK,
555 SSI_WS78_MARK, TX0_D_MARK, STP_ISD_0_B_MARK, GLO_RFON_MARK,
556 SSI_SDATA7_MARK, RX0_D_MARK, STP_ISEN_0_B_MARK,
557 SSI_SDATA8_MARK, TX1_D_MARK, STP_ISSYNC_0_B_MARK,
558 SSI_SCK9_MARK, RX1_D_MARK, GLO_SCLK_D_MARK,
559 SSI_WS9_MARK, TX3_D_MARK, CAN0_TX_D_MARK, GLO_SDATA_D_MARK,
560 SSI_SDATA9_MARK, RX3_D_MARK, CAN0_RX_D_MARK,
561
562 /* IPSR6 */
563 AUDIO_CLKB_MARK, STP_OPWM_0_B_MARK, MSIOF1_SCK_B_MARK,
564 SCIF_CLK_MARK, BPFCLK_E_MARK,
565 AUDIO_CLKC_MARK, SCIFB0_SCK_C_MARK, MSIOF1_SYNC_B_MARK, RX2_MARK,
566 SCIFA2_RXD_MARK, FMIN_E_MARK,
567 AUDIO_CLKOUT_MARK, MSIOF1_SS1_B_MARK, TX2_MARK, SCIFA2_TXD_MARK,
568 IRQ0_MARK, SCIFB1_RXD_D_MARK, INTC_IRQ0_N_MARK,
569 IRQ1_MARK, SCIFB1_SCK_C_MARK, INTC_IRQ1_N_MARK,
570 IRQ2_MARK, SCIFB1_TXD_D_MARK, INTC_IRQ2_N_MARK,
571 IRQ3_MARK, SCL4_C_MARK, MSIOF2_TXD_E_MARK, INTC_IRQ3_N_MARK,
572 IRQ4_MARK, HRX1_C_MARK, SDA4_C_MARK,
573 MSIOF2_RXD_E_MARK, INTC_IRQ4_N_MARK,
574 IRQ5_MARK, HTX1_C_MARK, SCL1_E_MARK, MSIOF2_SCK_E_MARK,
575 IRQ6_MARK, HSCK1_C_MARK, MSIOF1_SS2_B_MARK,
576 SDA1_E_MARK, MSIOF2_SYNC_E_MARK,
577 IRQ7_MARK, HCTS1_N_C_MARK, MSIOF1_TXD_B_MARK,
578 GPS_CLK_C_MARK, GPS_CLK_D_MARK,
579 IRQ8_MARK, HRTS1_N_C_MARK, MSIOF1_RXD_B_MARK,
580 GPS_SIGN_C_MARK, GPS_SIGN_D_MARK,
581
582 /* IPSR7 */
583 IRQ9_MARK, DU1_DOTCLKIN_B_MARK, CAN_CLK_D_MARK, GPS_MAG_C_MARK,
584 SCIF_CLK_B_MARK, GPS_MAG_D_MARK,
585 DU1_DR0_MARK, LCDOUT0_MARK, VI1_DATA0_B_MARK, TX0_B_MARK,
586 SCIFA0_TXD_B_MARK, MSIOF2_SCK_B_MARK,
587 DU1_DR1_MARK, LCDOUT1_MARK, VI1_DATA1_B_MARK, RX0_B_MARK,
588 SCIFA0_RXD_B_MARK, MSIOF2_SYNC_B_MARK,
589 DU1_DR2_MARK, LCDOUT2_MARK, SSI_SCK0129_B_MARK,
590 DU1_DR3_MARK, LCDOUT3_MARK, SSI_WS0129_B_MARK,
591 DU1_DR4_MARK, LCDOUT4_MARK, SSI_SDATA0_B_MARK,
592 DU1_DR5_MARK, LCDOUT5_MARK, SSI_SCK1_B_MARK,
593 DU1_DR6_MARK, LCDOUT6_MARK, SSI_WS1_B_MARK,
594 DU1_DR7_MARK, LCDOUT7_MARK, SSI_SDATA1_B_MARK,
595 DU1_DG0_MARK, LCDOUT8_MARK, VI1_DATA2_B_MARK, TX1_B_MARK,
596 SCIFA1_TXD_B_MARK, MSIOF2_SS1_B_MARK,
597 DU1_DG1_MARK, LCDOUT9_MARK, VI1_DATA3_B_MARK, RX1_B_MARK,
598 SCIFA1_RXD_B_MARK, MSIOF2_SS2_B_MARK,
599 DU1_DG2_MARK, LCDOUT10_MARK, VI1_DATA4_B_MARK, SCIF1_SCK_B_MARK,
600 SCIFA1_SCK_MARK, SSI_SCK78_B_MARK,
601
602 /* IPSR8 */
603 DU1_DG3_MARK, LCDOUT11_MARK, VI1_DATA5_B_MARK, SSI_WS78_B_MARK,
604 DU1_DG4_MARK, LCDOUT12_MARK, VI1_DATA6_B_MARK, HRX0_B_MARK,
605 SCIFB2_RXD_B_MARK, SSI_SDATA7_B_MARK,
606 DU1_DG5_MARK, LCDOUT13_MARK, VI1_DATA7_B_MARK, HCTS0_N_B_MARK,
607 SCIFB2_TXD_B_MARK, SSI_SDATA8_B_MARK,
608 DU1_DG6_MARK, LCDOUT14_MARK, HRTS0_N_B_MARK,
609 SCIFB2_CTS_N_B_MARK, SSI_SCK9_B_MARK,
610 DU1_DG7_MARK, LCDOUT15_MARK, HTX0_B_MARK,
611 SCIFB2_RTS_N_B_MARK, SSI_WS9_B_MARK,
612 DU1_DB0_MARK, LCDOUT16_MARK, VI1_CLK_B_MARK, TX2_B_MARK,
613 SCIFA2_TXD_B_MARK, MSIOF2_TXD_B_MARK,
614 DU1_DB1_MARK, LCDOUT17_MARK, VI1_HSYNC_N_B_MARK, RX2_B_MARK,
615 SCIFA2_RXD_B_MARK, MSIOF2_RXD_B_MARK,
616 DU1_DB2_MARK, LCDOUT18_MARK, VI1_VSYNC_N_B_MARK, SCIF2_SCK_B_MARK,
617 SCIFA2_SCK_MARK, SSI_SDATA9_B_MARK,
618 DU1_DB3_MARK, LCDOUT19_MARK, VI1_CLKENB_B_MARK,
619 DU1_DB4_MARK, LCDOUT20_MARK, VI1_FIELD_B_MARK, CAN1_RX_MARK,
620 DU1_DB5_MARK, LCDOUT21_MARK, TX3_MARK, SCIFA3_TXD_MARK, CAN1_TX_MARK,
621
622 /* IPSR9 */
623 DU1_DB6_MARK, LCDOUT22_MARK, SCL3_C_MARK, RX3_MARK, SCIFA3_RXD_MARK,
624 DU1_DB7_MARK, LCDOUT23_MARK, SDA3_C_MARK,
625 SCIF3_SCK_MARK, SCIFA3_SCK_MARK,
626 DU1_DOTCLKIN_MARK, QSTVA_QVS_MARK,
627 DU1_DOTCLKOUT0_MARK, QCLK_MARK,
628 DU1_DOTCLKOUT1_MARK, QSTVB_QVE_MARK, CAN0_TX_MARK,
629 TX3_B_MARK, SCL2_B_MARK, PWM4_MARK,
630 DU1_EXHSYNC_DU1_HSYNC_MARK, QSTH_QHS_MARK,
631 DU1_EXVSYNC_DU1_VSYNC_MARK, QSTB_QHE_MARK,
632 DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
633 CAN0_RX_MARK, RX3_B_MARK, SDA2_B_MARK,
634 DU1_DISP_MARK, QPOLA_MARK,
635 DU1_CDE_MARK, QPOLB_MARK, PWM4_B_MARK,
636 VI0_CLKENB_MARK, TX4_MARK, SCIFA4_TXD_MARK, TS_SDATA0_D_MARK,
637 VI0_FIELD_MARK, RX4_MARK, SCIFA4_RXD_MARK, TS_SCK0_D_MARK,
638 VI0_HSYNC_N_MARK, TX5_MARK, SCIFA5_TXD_MARK, TS_SDEN0_D_MARK,
639 VI0_VSYNC_N_MARK, RX5_MARK, SCIFA5_RXD_MARK, TS_SPSYNC0_D_MARK,
640 VI0_DATA3_VI0_B3_MARK, SCIF3_SCK_B_MARK, SCIFA3_SCK_B_MARK,
641 VI0_G0_MARK, SCL8_MARK, STP_IVCXO27_0_C_MARK, SCL4_MARK,
642 HCTS2_N_MARK, SCIFB2_CTS_N_MARK, ATAWR1_N_MARK,
643
644 /* IPSR10 */
645 VI0_G1_MARK, SDA8_MARK, STP_ISCLK_0_C_MARK, SDA4_MARK,
646 HRTS2_N_MARK, SCIFB2_RTS_N_MARK, ATADIR1_N_MARK,
647 VI0_G2_MARK, VI2_HSYNC_N_MARK, STP_ISD_0_C_MARK, SCL3_B_MARK,
648 HSCK2_MARK, SCIFB2_SCK_MARK, ATARD1_N_MARK,
649 VI0_G3_MARK, VI2_VSYNC_N_MARK, STP_ISEN_0_C_MARK, SDA3_B_MARK,
650 HRX2_MARK, SCIFB2_RXD_MARK, ATACS01_N_MARK,
651 VI0_G4_MARK, VI2_CLKENB_MARK, STP_ISSYNC_0_C_MARK,
652 HTX2_MARK, SCIFB2_TXD_MARK, SCIFB0_SCK_D_MARK,
653 VI0_G5_MARK, VI2_FIELD_MARK, STP_OPWM_0_C_MARK, FMCLK_D_MARK,
654 CAN0_TX_E_MARK, HTX1_D_MARK, SCIFB0_TXD_D_MARK,
655 VI0_G6_MARK, VI2_CLK_MARK, BPFCLK_D_MARK,
656 VI0_G7_MARK, VI2_DATA0_MARK, FMIN_D_MARK,
657 VI0_R0_MARK, VI2_DATA1_MARK, GLO_I0_B_MARK,
658 TS_SDATA0_C_MARK, ATACS11_N_MARK,
659 VI0_R1_MARK, VI2_DATA2_MARK, GLO_I1_B_MARK,
660 TS_SCK0_C_MARK, ATAG1_N_MARK,
661 VI0_R2_MARK, VI2_DATA3_MARK, GLO_Q0_B_MARK, TS_SDEN0_C_MARK,
662 VI0_R3_MARK, VI2_DATA4_MARK, GLO_Q1_B_MARK, TS_SPSYNC0_C_MARK,
663 VI0_R4_MARK, VI2_DATA5_MARK, GLO_SCLK_B_MARK, TX0_C_MARK, SCL1_D_MARK,
664
665 /* IPSR11 */
666 VI0_R5_MARK, VI2_DATA6_MARK, GLO_SDATA_B_MARK, RX0_C_MARK, SDA1_D_MARK,
667 VI0_R6_MARK, VI2_DATA7_MARK, GLO_SS_B_MARK, TX1_C_MARK, SCL4_B_MARK,
668 VI0_R7_MARK, GLO_RFON_B_MARK, RX1_C_MARK, CAN0_RX_E_MARK,
669 SDA4_B_MARK, HRX1_D_MARK, SCIFB0_RXD_D_MARK,
670 VI1_HSYNC_N_MARK, AVB_RXD0_MARK, TS_SDATA0_B_MARK,
671 TX4_B_MARK, SCIFA4_TXD_B_MARK,
672 VI1_VSYNC_N_MARK, AVB_RXD1_MARK, TS_SCK0_B_MARK,
673 RX4_B_MARK, SCIFA4_RXD_B_MARK,
674 VI1_CLKENB_MARK, AVB_RXD2_MARK, TS_SDEN0_B_MARK,
675 VI1_FIELD_MARK, AVB_RXD3_MARK, TS_SPSYNC0_B_MARK,
676 VI1_CLK_MARK, AVB_RXD4_MARK, VI1_DATA0_MARK, AVB_RXD5_MARK,
677 VI1_DATA1_MARK, AVB_RXD6_MARK, VI1_DATA2_MARK, AVB_RXD7_MARK,
678 VI1_DATA3_MARK, AVB_RX_ER_MARK, VI1_DATA4_MARK, AVB_MDIO_MARK,
679 VI1_DATA5_MARK, AVB_RX_DV_MARK, VI1_DATA6_MARK, AVB_MAGIC_MARK,
680 VI1_DATA7_MARK, AVB_MDC_MARK,
681 ETH_MDIO_MARK, AVB_RX_CLK_MARK, SCL2_C_MARK,
682 ETH_CRS_DV_MARK, AVB_LINK_MARK, SDA2_C_MARK,
683
684 /* IPSR12 */
685 ETH_RX_ER_MARK, AVB_CRS_MARK, SCL3_MARK, SCL7_MARK,
686 ETH_RXD0_MARK, AVB_PHY_INT_MARK, SDA3_MARK, SDA7_MARK,
687 ETH_RXD1_MARK, AVB_GTXREFCLK_MARK, CAN0_TX_C_MARK,
688 SCL2_D_MARK, MSIOF1_RXD_E_MARK,
689 ETH_LINK_MARK, AVB_TXD0_MARK, CAN0_RX_C_MARK,
690 SDA2_D_MARK, MSIOF1_SCK_E_MARK,
691 ETH_REFCLK_MARK, AVB_TXD1_MARK, SCIFA3_RXD_B_MARK,
692 CAN1_RX_C_MARK, MSIOF1_SYNC_E_MARK,
693 ETH_TXD1_MARK, AVB_TXD2_MARK, SCIFA3_TXD_B_MARK,
694 CAN1_TX_C_MARK, MSIOF1_TXD_E_MARK,
695 ETH_TX_EN_MARK, AVB_TXD3_MARK, TCLK1_B_MARK, CAN_CLK_B_MARK,
696 ETH_MAGIC_MARK, AVB_TXD4_MARK, IETX_C_MARK,
697 ETH_TXD0_MARK, AVB_TXD5_MARK, IECLK_C_MARK,
698 ETH_MDC_MARK, AVB_TXD6_MARK, IERX_C_MARK,
699 STP_IVCXO27_0_MARK, AVB_TXD7_MARK, SCIFB2_TXD_D_MARK,
700 ADIDATA_B_MARK, MSIOF0_SYNC_C_MARK,
701 STP_ISCLK_0_MARK, AVB_TX_EN_MARK, SCIFB2_RXD_D_MARK,
702 ADICS_SAMP_B_MARK, MSIOF0_SCK_C_MARK,
703
704 /* IPSR13 */
705 STP_ISD_0_MARK, AVB_TX_ER_MARK, SCIFB2_SCK_C_MARK,
706 ADICLK_B_MARK, MSIOF0_SS1_C_MARK,
707 STP_ISEN_0_MARK, AVB_TX_CLK_MARK, ADICHS0_B_MARK, MSIOF0_SS2_C_MARK,
708 STP_ISSYNC_0_MARK, AVB_COL_MARK, ADICHS1_B_MARK, MSIOF0_RXD_C_MARK,
709 STP_OPWM_0_MARK, AVB_GTX_CLK_MARK, PWM0_B_MARK,
710 ADICHS2_B_MARK, MSIOF0_TXD_C_MARK,
711 SD0_CLK_MARK, SPCLK_B_MARK, SD0_CMD_MARK, MOSI_IO0_B_MARK,
712 SD0_DATA0_MARK, MISO_IO1_B_MARK, SD0_DATA1_MARK, IO2_B_MARK,
713 SD0_DATA2_MARK, IO3_B_MARK, SD0_DATA3_MARK, SSL_B_MARK,
714 SD0_CD_MARK, MMC_D6_B_MARK, SIM0_RST_B_MARK, CAN0_RX_F_MARK,
715 SCIFA5_TXD_B_MARK, TX3_C_MARK,
716 SD0_WP_MARK, MMC_D7_B_MARK, SIM0_D_B_MARK, CAN0_TX_F_MARK,
717 SCIFA5_RXD_B_MARK, RX3_C_MARK,
718 SD1_CMD_MARK, REMOCON_B_MARK, SD1_DATA0_MARK, SPEEDIN_B_MARK,
719 SD1_DATA1_MARK, IETX_B_MARK, SD1_DATA2_MARK, IECLK_B_MARK,
720 SD1_DATA3_MARK, IERX_B_MARK,
721 SD1_CD_MARK, PWM0_MARK, TPU_TO0_MARK, SCL1_C_MARK,
722
723 /* IPSR14 */
724 SD1_WP_MARK, PWM1_B_MARK, SDA1_C_MARK,
725 SD2_CLK_MARK, MMC_CLK_MARK, SD2_CMD_MARK, MMC_CMD_MARK,
726 SD2_DATA0_MARK, MMC_D0_MARK, SD2_DATA1_MARK, MMC_D1_MARK,
727 SD2_DATA2_MARK, MMC_D2_MARK, SD2_DATA3_MARK, MMC_D3_MARK,
728 SD2_CD_MARK, MMC_D4_MARK, SCL8_C_MARK, TX5_B_MARK, SCIFA5_TXD_C_MARK,
729 SD2_WP_MARK, MMC_D5_MARK, SDA8_C_MARK, RX5_B_MARK, SCIFA5_RXD_C_MARK,
730 MSIOF0_SCK_MARK, RX2_C_MARK, ADIDATA_MARK,
731 VI1_CLK_C_MARK, VI1_G0_B_MARK,
732 MSIOF0_SYNC_MARK, TX2_C_MARK, ADICS_SAMP_MARK,
733 VI1_CLKENB_C_MARK, VI1_G1_B_MARK,
734 MSIOF0_TXD_MARK, ADICLK_MARK, VI1_FIELD_C_MARK, VI1_G2_B_MARK,
735 MSIOF0_RXD_MARK, ADICHS0_MARK, VI1_DATA0_C_MARK, VI1_G3_B_MARK,
736 MSIOF0_SS1_MARK, MMC_D6_MARK, ADICHS1_MARK, TX0_E_MARK,
737 VI1_HSYNC_N_C_MARK, SCL7_C_MARK, VI1_G4_B_MARK,
738 MSIOF0_SS2_MARK, MMC_D7_MARK, ADICHS2_MARK, RX0_E_MARK,
739 VI1_VSYNC_N_C_MARK, SDA7_C_MARK, VI1_G5_B_MARK,
740
741 /* IPSR15 */
742 SIM0_RST_MARK, IETX_MARK, CAN1_TX_D_MARK,
743 SIM0_CLK_MARK, IECLK_MARK, CAN_CLK_C_MARK,
744 SIM0_D_MARK, IERX_MARK, CAN1_RX_D_MARK,
745 GPS_CLK_MARK, DU1_DOTCLKIN_C_MARK, AUDIO_CLKB_B_MARK,
746 PWM5_B_MARK, SCIFA3_TXD_C_MARK,
747 GPS_SIGN_MARK, TX4_C_MARK, SCIFA4_TXD_C_MARK, PWM5_MARK,
748 VI1_G6_B_MARK, SCIFA3_RXD_C_MARK,
749 GPS_MAG_MARK, RX4_C_MARK, SCIFA4_RXD_C_MARK, PWM6_MARK,
750 VI1_G7_B_MARK, SCIFA3_SCK_C_MARK,
751 HCTS0_N_MARK, SCIFB0_CTS_N_MARK, GLO_I0_C_MARK,
752 TCLK1_MARK, VI1_DATA1_C_MARK,
753 HRTS0_N_MARK, SCIFB0_RTS_N_MARK, GLO_I1_C_MARK, VI1_DATA2_C_MARK,
754 HSCK0_MARK, SCIFB0_SCK_MARK, GLO_Q0_C_MARK, CAN_CLK_MARK,
755 TCLK2_MARK, VI1_DATA3_C_MARK,
756 HRX0_MARK, SCIFB0_RXD_MARK, GLO_Q1_C_MARK,
757 CAN0_RX_B_MARK, VI1_DATA4_C_MARK,
758 HTX0_MARK, SCIFB0_TXD_MARK, GLO_SCLK_C_MARK,
759 CAN0_TX_B_MARK, VI1_DATA5_C_MARK,
760
761 /* IPSR16 */
762 HRX1_MARK, SCIFB1_RXD_MARK, VI1_R0_B_MARK,
763 GLO_SDATA_C_MARK, VI1_DATA6_C_MARK,
764 HTX1_MARK, SCIFB1_TXD_MARK, VI1_R1_B_MARK,
765 GLO_SS_C_MARK, VI1_DATA7_C_MARK,
Sergei Shtylyov87f27fe2015-01-10 21:21:46 +0300766 HSCK1_MARK, SCIFB1_SCK_MARK, MLB_CLK_MARK, GLO_RFON_C_MARK,
Hisashi Nakamura50884512013-10-17 06:46:05 +0900767 HCTS1_N_MARK, SCIFB1_CTS_N_MARK, MLB_SIG_MARK, CAN1_TX_B_MARK,
768 HRTS1_N_MARK, SCIFB1_RTS_N_MARK, MLB_DAT_MARK, CAN1_RX_B_MARK,
769 PINMUX_MARK_END,
770};
771
772static const u16 pinmux_data[] = {
773 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
774
Geert Uytterhoevenbc3341d2015-10-20 19:34:56 +0200775 PINMUX_SINGLE(EX_CS0_N),
776 PINMUX_SINGLE(RD_N),
777 PINMUX_SINGLE(AUDIO_CLKA),
778 PINMUX_SINGLE(VI0_CLK),
779 PINMUX_SINGLE(VI0_DATA0_VI0_B0),
780 PINMUX_SINGLE(VI0_DATA1_VI0_B1),
781 PINMUX_SINGLE(VI0_DATA2_VI0_B2),
782 PINMUX_SINGLE(VI0_DATA4_VI0_B4),
783 PINMUX_SINGLE(VI0_DATA5_VI0_B5),
784 PINMUX_SINGLE(VI0_DATA6_VI0_B6),
785 PINMUX_SINGLE(VI0_DATA7_VI0_B7),
786 PINMUX_SINGLE(USB0_PWEN),
787 PINMUX_SINGLE(USB0_OVC),
788 PINMUX_SINGLE(USB1_PWEN),
789 PINMUX_SINGLE(USB1_OVC),
790 PINMUX_SINGLE(DU0_DOTCLKIN),
791 PINMUX_SINGLE(SD1_CLK),
Hisashi Nakamura50884512013-10-17 06:46:05 +0900792
793 /* IPSR0 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100794 PINMUX_IPSR_GPSR(IP0_0, D0),
795 PINMUX_IPSR_GPSR(IP0_1, D1),
796 PINMUX_IPSR_GPSR(IP0_2, D2),
797 PINMUX_IPSR_GPSR(IP0_3, D3),
798 PINMUX_IPSR_GPSR(IP0_4, D4),
799 PINMUX_IPSR_GPSR(IP0_5, D5),
800 PINMUX_IPSR_GPSR(IP0_6, D6),
801 PINMUX_IPSR_GPSR(IP0_7, D7),
802 PINMUX_IPSR_GPSR(IP0_8, D8),
803 PINMUX_IPSR_GPSR(IP0_9, D9),
804 PINMUX_IPSR_GPSR(IP0_10, D10),
805 PINMUX_IPSR_GPSR(IP0_11, D11),
806 PINMUX_IPSR_GPSR(IP0_12, D12),
807 PINMUX_IPSR_GPSR(IP0_13, D13),
808 PINMUX_IPSR_GPSR(IP0_14, D14),
809 PINMUX_IPSR_GPSR(IP0_15, D15),
810 PINMUX_IPSR_GPSR(IP0_18_16, A0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000811 PINMUX_IPSR_MSEL(IP0_18_16, ATAWR0_N_C, SEL_LBS_2),
812 PINMUX_IPSR_MSEL(IP0_18_16, MSIOF0_SCK_B, SEL_SOF0_1),
813 PINMUX_IPSR_MSEL(IP0_18_16, SCL0_C, SEL_IIC0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100814 PINMUX_IPSR_GPSR(IP0_18_16, PWM2_B),
815 PINMUX_IPSR_GPSR(IP0_20_19, A1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000816 PINMUX_IPSR_MSEL(IP0_20_19, MSIOF0_SYNC_B, SEL_SOF0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100817 PINMUX_IPSR_GPSR(IP0_22_21, A2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000818 PINMUX_IPSR_MSEL(IP0_22_21, MSIOF0_SS1_B, SEL_SOF0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100819 PINMUX_IPSR_GPSR(IP0_24_23, A3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000820 PINMUX_IPSR_MSEL(IP0_24_23, MSIOF0_SS2_B, SEL_SOF0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100821 PINMUX_IPSR_GPSR(IP0_26_25, A4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000822 PINMUX_IPSR_MSEL(IP0_26_25, MSIOF0_TXD_B, SEL_SOF0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100823 PINMUX_IPSR_GPSR(IP0_28_27, A5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000824 PINMUX_IPSR_MSEL(IP0_28_27, MSIOF0_RXD_B, SEL_SOF0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100825 PINMUX_IPSR_GPSR(IP0_30_29, A6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000826 PINMUX_IPSR_MSEL(IP0_30_29, MSIOF1_SCK, SEL_SOF1_0),
Hisashi Nakamura50884512013-10-17 06:46:05 +0900827
828 /* IPSR1 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100829 PINMUX_IPSR_GPSR(IP1_1_0, A7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000830 PINMUX_IPSR_MSEL(IP1_1_0, MSIOF1_SYNC, SEL_SOF1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100831 PINMUX_IPSR_GPSR(IP1_3_2, A8),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000832 PINMUX_IPSR_MSEL(IP1_3_2, MSIOF1_SS1, SEL_SOF1_0),
833 PINMUX_IPSR_MSEL(IP1_3_2, SCL0, SEL_IIC0_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100834 PINMUX_IPSR_GPSR(IP1_5_4, A9),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000835 PINMUX_IPSR_MSEL(IP1_5_4, MSIOF1_SS2, SEL_SOF1_0),
836 PINMUX_IPSR_MSEL(IP1_5_4, SDA0, SEL_IIC0_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100837 PINMUX_IPSR_GPSR(IP1_7_6, A10),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000838 PINMUX_IPSR_MSEL(IP1_7_6, MSIOF1_TXD, SEL_SOF1_0),
839 PINMUX_IPSR_MSEL(IP1_7_6, MSIOF1_TXD_D, SEL_SOF1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100840 PINMUX_IPSR_GPSR(IP1_10_8, A11),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000841 PINMUX_IPSR_MSEL(IP1_10_8, MSIOF1_RXD, SEL_SOF1_0),
842 PINMUX_IPSR_MSEL(IP1_10_8, SCL3_D, SEL_IIC3_3),
843 PINMUX_IPSR_MSEL(IP1_10_8, MSIOF1_RXD_D, SEL_SOF1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100844 PINMUX_IPSR_GPSR(IP1_13_11, A12),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000845 PINMUX_IPSR_MSEL(IP1_13_11, FMCLK, SEL_FM_0),
846 PINMUX_IPSR_MSEL(IP1_13_11, SDA3_D, SEL_IIC3_3),
847 PINMUX_IPSR_MSEL(IP1_13_11, MSIOF1_SCK_D, SEL_SOF1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100848 PINMUX_IPSR_GPSR(IP1_16_14, A13),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000849 PINMUX_IPSR_MSEL(IP1_16_14, ATAG0_N_C, SEL_LBS_2),
850 PINMUX_IPSR_MSEL(IP1_16_14, BPFCLK, SEL_FM_0),
851 PINMUX_IPSR_MSEL(IP1_16_14, MSIOF1_SS1_D, SEL_SOF1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100852 PINMUX_IPSR_GPSR(IP1_19_17, A14),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000853 PINMUX_IPSR_MSEL(IP1_19_17, ATADIR0_N_C, SEL_LBS_2),
854 PINMUX_IPSR_MSEL(IP1_19_17, FMIN, SEL_FM_0),
855 PINMUX_IPSR_MSEL(IP1_19_17, FMIN_C, SEL_FM_2),
856 PINMUX_IPSR_MSEL(IP1_19_17, MSIOF1_SYNC_D, SEL_SOF1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100857 PINMUX_IPSR_GPSR(IP1_22_20, A15),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000858 PINMUX_IPSR_MSEL(IP1_22_20, BPFCLK_C, SEL_FM_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100859 PINMUX_IPSR_GPSR(IP1_25_23, A16),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000860 PINMUX_IPSR_MSEL(IP1_25_23, DREQ2_B, SEL_LBS_1),
861 PINMUX_IPSR_MSEL(IP1_25_23, FMCLK_C, SEL_FM_2),
862 PINMUX_IPSR_MSEL(IP1_25_23, SCIFA1_SCK_B, SEL_SCIFA1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100863 PINMUX_IPSR_GPSR(IP1_28_26, A17),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000864 PINMUX_IPSR_MSEL(IP1_28_26, DACK2_B, SEL_LBS_1),
865 PINMUX_IPSR_MSEL(IP1_28_26, SDA0_C, SEL_IIC0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100866 PINMUX_IPSR_GPSR(IP1_31_29, A18),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000867 PINMUX_IPSR_MSEL(IP1_31_29, DREQ1, SEL_LBS_0),
868 PINMUX_IPSR_MSEL(IP1_31_29, SCIFA1_RXD_C, SEL_SCIFA1_2),
869 PINMUX_IPSR_MSEL(IP1_31_29, SCIFB1_RXD_C, SEL_SCIFB1_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +0900870
871 /* IPSR2 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100872 PINMUX_IPSR_GPSR(IP2_2_0, A19),
873 PINMUX_IPSR_GPSR(IP2_2_0, DACK1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000874 PINMUX_IPSR_MSEL(IP2_2_0, SCIFA1_TXD_C, SEL_SCIFA1_2),
875 PINMUX_IPSR_MSEL(IP2_2_0, SCIFB1_TXD_C, SEL_SCIFB1_2),
876 PINMUX_IPSR_MSEL(IP2_2_0, SCIFB1_SCK_B, SEL_SCIFB1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100877 PINMUX_IPSR_GPSR(IP2_2_0, A20),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000878 PINMUX_IPSR_MSEL(IP2_4_3, SPCLK, SEL_QSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100879 PINMUX_IPSR_GPSR(IP2_6_5, A21),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000880 PINMUX_IPSR_MSEL(IP2_6_5, ATAWR0_N_B, SEL_LBS_1),
881 PINMUX_IPSR_MSEL(IP2_6_5, MOSI_IO0, SEL_QSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100882 PINMUX_IPSR_GPSR(IP2_9_7, A22),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000883 PINMUX_IPSR_MSEL(IP2_9_7, MISO_IO1, SEL_QSP_0),
884 PINMUX_IPSR_MSEL(IP2_9_7, FMCLK_B, SEL_FM_1),
885 PINMUX_IPSR_MSEL(IP2_9_7, TX0, SEL_SCIF0_0),
886 PINMUX_IPSR_MSEL(IP2_9_7, SCIFA0_TXD, SEL_SCFA_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100887 PINMUX_IPSR_GPSR(IP2_12_10, A23),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000888 PINMUX_IPSR_MSEL(IP2_12_10, IO2, SEL_QSP_0),
889 PINMUX_IPSR_MSEL(IP2_12_10, BPFCLK_B, SEL_FM_1),
890 PINMUX_IPSR_MSEL(IP2_12_10, RX0, SEL_SCIF0_0),
891 PINMUX_IPSR_MSEL(IP2_12_10, SCIFA0_RXD, SEL_SCFA_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100892 PINMUX_IPSR_GPSR(IP2_15_13, A24),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000893 PINMUX_IPSR_MSEL(IP2_15_13, DREQ2, SEL_LBS_0),
894 PINMUX_IPSR_MSEL(IP2_15_13, IO3, SEL_QSP_0),
895 PINMUX_IPSR_MSEL(IP2_15_13, TX1, SEL_SCIF1_0),
896 PINMUX_IPSR_MSEL(IP2_15_13, SCIFA1_TXD, SEL_SCIFA1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100897 PINMUX_IPSR_GPSR(IP2_18_16, A25),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000898 PINMUX_IPSR_MSEL(IP2_18_16, DACK2, SEL_LBS_0),
899 PINMUX_IPSR_MSEL(IP2_18_16, SSL, SEL_QSP_0),
900 PINMUX_IPSR_MSEL(IP2_18_16, DREQ1_C, SEL_LBS_2),
901 PINMUX_IPSR_MSEL(IP2_18_16, RX1, SEL_SCIF1_0),
902 PINMUX_IPSR_MSEL(IP2_18_16, SCIFA1_RXD, SEL_SCIFA1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100903 PINMUX_IPSR_GPSR(IP2_20_19, CS0_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000904 PINMUX_IPSR_MSEL(IP2_20_19, ATAG0_N_B, SEL_LBS_1),
905 PINMUX_IPSR_MSEL(IP2_20_19, SCL1, SEL_IIC1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100906 PINMUX_IPSR_GPSR(IP2_22_21, CS1_N_A26),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000907 PINMUX_IPSR_MSEL(IP2_22_21, ATADIR0_N_B, SEL_LBS_1),
908 PINMUX_IPSR_MSEL(IP2_22_21, SDA1, SEL_IIC1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100909 PINMUX_IPSR_GPSR(IP2_24_23, EX_CS1_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000910 PINMUX_IPSR_MSEL(IP2_24_23, MSIOF2_SCK, SEL_SOF2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100911 PINMUX_IPSR_GPSR(IP2_26_25, EX_CS2_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000912 PINMUX_IPSR_MSEL(IP2_26_25, ATAWR0_N, SEL_LBS_0),
913 PINMUX_IPSR_MSEL(IP2_26_25, MSIOF2_SYNC, SEL_SOF2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100914 PINMUX_IPSR_GPSR(IP2_29_27, EX_CS3_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000915 PINMUX_IPSR_MSEL(IP2_29_27, ATADIR0_N, SEL_LBS_0),
916 PINMUX_IPSR_MSEL(IP2_29_27, MSIOF2_TXD, SEL_SOF2_0),
917 PINMUX_IPSR_MSEL(IP2_29_27, ATAG0_N, SEL_LBS_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100918 PINMUX_IPSR_GPSR(IP2_29_27, EX_WAIT1),
Hisashi Nakamura50884512013-10-17 06:46:05 +0900919
920 /* IPSR3 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100921 PINMUX_IPSR_GPSR(IP3_2_0, EX_CS4_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000922 PINMUX_IPSR_MSEL(IP3_2_0, ATARD0_N, SEL_LBS_0),
923 PINMUX_IPSR_MSEL(IP3_2_0, MSIOF2_RXD, SEL_SOF2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100924 PINMUX_IPSR_GPSR(IP3_2_0, EX_WAIT2),
925 PINMUX_IPSR_GPSR(IP3_5_3, EX_CS5_N),
926 PINMUX_IPSR_GPSR(IP3_5_3, ATACS00_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000927 PINMUX_IPSR_MSEL(IP3_5_3, MSIOF2_SS1, SEL_SOF2_0),
928 PINMUX_IPSR_MSEL(IP3_5_3, HRX1_B, SEL_HSCIF1_1),
929 PINMUX_IPSR_MSEL(IP3_5_3, SCIFB1_RXD_B, SEL_SCIFB1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100930 PINMUX_IPSR_GPSR(IP3_5_3, PWM1),
931 PINMUX_IPSR_GPSR(IP3_5_3, TPU_TO1),
932 PINMUX_IPSR_GPSR(IP3_8_6, BS_N),
933 PINMUX_IPSR_GPSR(IP3_8_6, ATACS10_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000934 PINMUX_IPSR_MSEL(IP3_8_6, MSIOF2_SS2, SEL_SOF2_0),
935 PINMUX_IPSR_MSEL(IP3_8_6, HTX1_B, SEL_HSCIF1_1),
936 PINMUX_IPSR_MSEL(IP3_8_6, SCIFB1_TXD_B, SEL_SCIFB1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100937 PINMUX_IPSR_GPSR(IP3_8_6, PWM2),
938 PINMUX_IPSR_GPSR(IP3_8_6, TPU_TO2),
939 PINMUX_IPSR_GPSR(IP3_11_9, RD_WR_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000940 PINMUX_IPSR_MSEL(IP3_11_9, HRX2_B, SEL_HSCIF2_1),
941 PINMUX_IPSR_MSEL(IP3_11_9, FMIN_B, SEL_FM_1),
942 PINMUX_IPSR_MSEL(IP3_11_9, SCIFB0_RXD_B, SEL_SCIFB_1),
943 PINMUX_IPSR_MSEL(IP3_11_9, DREQ1_D, SEL_LBS_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100944 PINMUX_IPSR_GPSR(IP3_13_12, WE0_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000945 PINMUX_IPSR_MSEL(IP3_13_12, HCTS2_N_B, SEL_HSCIF2_1),
946 PINMUX_IPSR_MSEL(IP3_13_12, SCIFB0_TXD_B, SEL_SCIFB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100947 PINMUX_IPSR_GPSR(IP3_15_14, WE1_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000948 PINMUX_IPSR_MSEL(IP3_15_14, ATARD0_N_B, SEL_LBS_1),
949 PINMUX_IPSR_MSEL(IP3_15_14, HTX2_B, SEL_HSCIF2_1),
950 PINMUX_IPSR_MSEL(IP3_15_14, SCIFB0_RTS_N_B, SEL_SCIFB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100951 PINMUX_IPSR_GPSR(IP3_17_16, EX_WAIT0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000952 PINMUX_IPSR_MSEL(IP3_17_16, HRTS2_N_B, SEL_HSCIF2_1),
953 PINMUX_IPSR_MSEL(IP3_17_16, SCIFB0_CTS_N_B, SEL_SCIFB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100954 PINMUX_IPSR_GPSR(IP3_19_18, DREQ0),
955 PINMUX_IPSR_GPSR(IP3_19_18, PWM3),
956 PINMUX_IPSR_GPSR(IP3_19_18, TPU_TO3),
957 PINMUX_IPSR_GPSR(IP3_21_20, DACK0),
958 PINMUX_IPSR_GPSR(IP3_21_20, DRACK0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000959 PINMUX_IPSR_MSEL(IP3_21_20, REMOCON, SEL_RCN_0),
960 PINMUX_IPSR_MSEL(IP3_24_22, SPEEDIN, SEL_RSP_0),
961 PINMUX_IPSR_MSEL(IP3_24_22, HSCK0_C, SEL_HSCIF0_2),
962 PINMUX_IPSR_MSEL(IP3_24_22, HSCK2_C, SEL_HSCIF2_2),
963 PINMUX_IPSR_MSEL(IP3_24_22, SCIFB0_SCK_B, SEL_SCIFB_1),
964 PINMUX_IPSR_MSEL(IP3_24_22, SCIFB2_SCK_B, SEL_SCIFB2_1),
965 PINMUX_IPSR_MSEL(IP3_24_22, DREQ2_C, SEL_LBS_2),
966 PINMUX_IPSR_MSEL(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
967 PINMUX_IPSR_MSEL(IP3_27_25, SSI_SCK0129, SEL_SSI0_0),
968 PINMUX_IPSR_MSEL(IP3_27_25, HRX0_C, SEL_HSCIF0_2),
969 PINMUX_IPSR_MSEL(IP3_27_25, HRX2_C, SEL_HSCIF2_2),
970 PINMUX_IPSR_MSEL(IP3_27_25, SCIFB0_RXD_C, SEL_SCIFB_2),
971 PINMUX_IPSR_MSEL(IP3_27_25, SCIFB2_RXD_C, SEL_SCIFB2_2),
972 PINMUX_IPSR_MSEL(IP3_30_28, SSI_WS0129, SEL_SSI0_0),
973 PINMUX_IPSR_MSEL(IP3_30_28, HTX0_C, SEL_HSCIF0_2),
974 PINMUX_IPSR_MSEL(IP3_30_28, HTX2_C, SEL_HSCIF2_2),
975 PINMUX_IPSR_MSEL(IP3_30_28, SCIFB0_TXD_C, SEL_SCIFB_2),
976 PINMUX_IPSR_MSEL(IP3_30_28, SCIFB2_TXD_C, SEL_SCIFB2_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +0900977
978 /* IPSR4 */
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000979 PINMUX_IPSR_MSEL(IP4_1_0, SSI_SDATA0, SEL_SSI0_0),
980 PINMUX_IPSR_MSEL(IP4_1_0, SCL0_B, SEL_IIC0_1),
981 PINMUX_IPSR_MSEL(IP4_1_0, SCL7_B, SEL_IIC7_1),
982 PINMUX_IPSR_MSEL(IP4_1_0, MSIOF2_SCK_C, SEL_SOF2_2),
983 PINMUX_IPSR_MSEL(IP4_4_2, SSI_SCK1, SEL_SSI1_0),
984 PINMUX_IPSR_MSEL(IP4_4_2, SDA0_B, SEL_IIC0_1),
985 PINMUX_IPSR_MSEL(IP4_4_2, SDA7_B, SEL_IIC7_1),
986 PINMUX_IPSR_MSEL(IP4_4_2, MSIOF2_SYNC_C, SEL_SOF2_2),
987 PINMUX_IPSR_MSEL(IP4_4_2, GLO_I0_D, SEL_GPS_3),
988 PINMUX_IPSR_MSEL(IP4_7_5, SSI_WS1, SEL_SSI1_0),
989 PINMUX_IPSR_MSEL(IP4_7_5, SCL1_B, SEL_IIC1_1),
990 PINMUX_IPSR_MSEL(IP4_7_5, SCL8_B, SEL_IIC8_1),
991 PINMUX_IPSR_MSEL(IP4_7_5, MSIOF2_TXD_C, SEL_SOF2_2),
992 PINMUX_IPSR_MSEL(IP4_7_5, GLO_I1_D, SEL_GPS_3),
993 PINMUX_IPSR_MSEL(IP4_9_8, SSI_SDATA1, SEL_SSI1_0),
994 PINMUX_IPSR_MSEL(IP4_9_8, SDA1_B, SEL_IIC1_1),
995 PINMUX_IPSR_MSEL(IP4_9_8, SDA8_B, SEL_IIC8_1),
996 PINMUX_IPSR_MSEL(IP4_9_8, MSIOF2_RXD_C, SEL_SOF2_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +0100997 PINMUX_IPSR_GPSR(IP4_12_10, SSI_SCK2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +0000998 PINMUX_IPSR_MSEL(IP4_12_10, SCL2, SEL_IIC2_0),
999 PINMUX_IPSR_MSEL(IP4_12_10, GPS_CLK_B, SEL_GPS_1),
1000 PINMUX_IPSR_MSEL(IP4_12_10, GLO_Q0_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001001 PINMUX_IPSR_GPSR(IP4_15_13, SSI_WS2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001002 PINMUX_IPSR_MSEL(IP4_15_13, SDA2, SEL_IIC2_0),
1003 PINMUX_IPSR_MSEL(IP4_15_13, GPS_SIGN_B, SEL_GPS_1),
1004 PINMUX_IPSR_MSEL(IP4_15_13, RX2_E, SEL_SCIF2_4),
1005 PINMUX_IPSR_MSEL(IP4_15_13, GLO_Q1_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001006 PINMUX_IPSR_GPSR(IP4_18_16, SSI_SDATA2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001007 PINMUX_IPSR_MSEL(IP4_18_16, GPS_MAG_B, SEL_GPS_1),
1008 PINMUX_IPSR_MSEL(IP4_18_16, TX2_E, SEL_SCIF2_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001009 PINMUX_IPSR_GPSR(IP4_19, SSI_SCK34),
1010 PINMUX_IPSR_GPSR(IP4_20, SSI_WS34),
1011 PINMUX_IPSR_GPSR(IP4_21, SSI_SDATA3),
1012 PINMUX_IPSR_GPSR(IP4_23_22, SSI_SCK4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001013 PINMUX_IPSR_MSEL(IP4_23_22, GLO_SS_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001014 PINMUX_IPSR_GPSR(IP4_25_24, SSI_WS4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001015 PINMUX_IPSR_MSEL(IP4_25_24, GLO_RFON_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001016 PINMUX_IPSR_GPSR(IP4_27_26, SSI_SDATA4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001017 PINMUX_IPSR_MSEL(IP4_27_26, MSIOF2_SCK_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001018 PINMUX_IPSR_GPSR(IP4_30_28, SSI_SCK5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001019 PINMUX_IPSR_MSEL(IP4_30_28, MSIOF1_SCK_C, SEL_SOF1_2),
1020 PINMUX_IPSR_MSEL(IP4_30_28, TS_SDATA0, SEL_TSIF0_0),
1021 PINMUX_IPSR_MSEL(IP4_30_28, GLO_I0, SEL_GPS_0),
1022 PINMUX_IPSR_MSEL(IP4_30_28, MSIOF2_SYNC_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001023 PINMUX_IPSR_GPSR(IP4_30_28, VI1_R2_B),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001024
1025 /* IPSR5 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001026 PINMUX_IPSR_GPSR(IP5_2_0, SSI_WS5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001027 PINMUX_IPSR_MSEL(IP5_2_0, MSIOF1_SYNC_C, SEL_SOF1_2),
1028 PINMUX_IPSR_MSEL(IP5_2_0, TS_SCK0, SEL_TSIF0_0),
1029 PINMUX_IPSR_MSEL(IP5_2_0, GLO_I1, SEL_GPS_0),
1030 PINMUX_IPSR_MSEL(IP5_2_0, MSIOF2_TXD_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001031 PINMUX_IPSR_GPSR(IP5_2_0, VI1_R3_B),
1032 PINMUX_IPSR_GPSR(IP5_5_3, SSI_SDATA5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001033 PINMUX_IPSR_MSEL(IP5_5_3, MSIOF1_TXD_C, SEL_SOF1_2),
1034 PINMUX_IPSR_MSEL(IP5_5_3, TS_SDEN0, SEL_TSIF0_0),
1035 PINMUX_IPSR_MSEL(IP5_5_3, GLO_Q0, SEL_GPS_0),
1036 PINMUX_IPSR_MSEL(IP5_5_3, MSIOF2_SS1_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001037 PINMUX_IPSR_GPSR(IP5_5_3, VI1_R4_B),
1038 PINMUX_IPSR_GPSR(IP5_8_6, SSI_SCK6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001039 PINMUX_IPSR_MSEL(IP5_8_6, MSIOF1_RXD_C, SEL_SOF1_2),
1040 PINMUX_IPSR_MSEL(IP5_8_6, TS_SPSYNC0, SEL_TSIF0_0),
1041 PINMUX_IPSR_MSEL(IP5_8_6, GLO_Q1, SEL_GPS_0),
1042 PINMUX_IPSR_MSEL(IP5_8_6, MSIOF2_RXD_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001043 PINMUX_IPSR_GPSR(IP5_8_6, VI1_R5_B),
1044 PINMUX_IPSR_GPSR(IP5_11_9, SSI_WS6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001045 PINMUX_IPSR_MSEL(IP5_11_9, GLO_SCLK, SEL_GPS_0),
1046 PINMUX_IPSR_MSEL(IP5_11_9, MSIOF2_SS2_D, SEL_SOF2_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001047 PINMUX_IPSR_GPSR(IP5_11_9, VI1_R6_B),
1048 PINMUX_IPSR_GPSR(IP5_14_12, SSI_SDATA6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001049 PINMUX_IPSR_MSEL(IP5_14_12, STP_IVCXO27_0_B, SEL_SSP_1),
1050 PINMUX_IPSR_MSEL(IP5_14_12, GLO_SDATA, SEL_GPS_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001051 PINMUX_IPSR_GPSR(IP5_14_12, VI1_R7_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001052 PINMUX_IPSR_MSEL(IP5_16_15, SSI_SCK78, SEL_SSI7_0),
1053 PINMUX_IPSR_MSEL(IP5_16_15, STP_ISCLK_0_B, SEL_SSP_1),
1054 PINMUX_IPSR_MSEL(IP5_16_15, GLO_SS, SEL_GPS_0),
1055 PINMUX_IPSR_MSEL(IP5_19_17, SSI_WS78, SEL_SSI7_0),
1056 PINMUX_IPSR_MSEL(IP5_19_17, TX0_D, SEL_SCIF0_3),
1057 PINMUX_IPSR_MSEL(IP5_19_17, STP_ISD_0_B, SEL_SSP_1),
1058 PINMUX_IPSR_MSEL(IP5_19_17, GLO_RFON, SEL_GPS_0),
1059 PINMUX_IPSR_MSEL(IP5_21_20, SSI_SDATA7, SEL_SSI7_0),
1060 PINMUX_IPSR_MSEL(IP5_21_20, RX0_D, SEL_SCIF0_3),
1061 PINMUX_IPSR_MSEL(IP5_21_20, STP_ISEN_0_B, SEL_SSP_1),
1062 PINMUX_IPSR_MSEL(IP5_23_22, SSI_SDATA8, SEL_SSI8_0),
1063 PINMUX_IPSR_MSEL(IP5_23_22, TX1_D, SEL_SCIF1_3),
1064 PINMUX_IPSR_MSEL(IP5_23_22, STP_ISSYNC_0_B, SEL_SSP_1),
1065 PINMUX_IPSR_MSEL(IP5_25_24, SSI_SCK9, SEL_SSI9_0),
1066 PINMUX_IPSR_MSEL(IP5_25_24, RX1_D, SEL_SCIF1_3),
1067 PINMUX_IPSR_MSEL(IP5_25_24, GLO_SCLK_D, SEL_GPS_3),
1068 PINMUX_IPSR_MSEL(IP5_28_26, SSI_WS9, SEL_SSI9_0),
1069 PINMUX_IPSR_MSEL(IP5_28_26, TX3_D, SEL_SCIF3_3),
1070 PINMUX_IPSR_MSEL(IP5_28_26, CAN0_TX_D, SEL_CAN0_3),
1071 PINMUX_IPSR_MSEL(IP5_28_26, GLO_SDATA_D, SEL_GPS_3),
1072 PINMUX_IPSR_MSEL(IP5_31_29, SSI_SDATA9, SEL_SSI9_0),
1073 PINMUX_IPSR_MSEL(IP5_31_29, RX3_D, SEL_SCIF3_3),
1074 PINMUX_IPSR_MSEL(IP5_31_29, CAN0_RX_D, SEL_CAN0_3),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001075
1076 /* IPSR6 */
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001077 PINMUX_IPSR_MSEL(IP6_2_0, AUDIO_CLKB, SEL_ADG_0),
1078 PINMUX_IPSR_MSEL(IP6_2_0, STP_OPWM_0_B, SEL_SSP_1),
1079 PINMUX_IPSR_MSEL(IP6_2_0, MSIOF1_SCK_B, SEL_SOF1_1),
1080 PINMUX_IPSR_MSEL(IP6_2_0, SCIF_CLK, SEL_SCIF_0),
1081 PINMUX_IPSR_MSEL(IP6_2_0, BPFCLK_E, SEL_FM_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001082 PINMUX_IPSR_GPSR(IP6_5_3, AUDIO_CLKC),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001083 PINMUX_IPSR_MSEL(IP6_5_3, SCIFB0_SCK_C, SEL_SCIFB_2),
1084 PINMUX_IPSR_MSEL(IP6_5_3, MSIOF1_SYNC_B, SEL_SOF1_1),
1085 PINMUX_IPSR_MSEL(IP6_5_3, RX2, SEL_SCIF2_0),
1086 PINMUX_IPSR_MSEL(IP6_5_3, SCIFA2_RXD, SEL_SCIFA2_0),
1087 PINMUX_IPSR_MSEL(IP6_5_3, FMIN_E, SEL_FM_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001088 PINMUX_IPSR_GPSR(IP6_7_6, AUDIO_CLKOUT),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001089 PINMUX_IPSR_MSEL(IP6_7_6, MSIOF1_SS1_B, SEL_SOF1_1),
1090 PINMUX_IPSR_MSEL(IP6_5_3, TX2, SEL_SCIF2_0),
1091 PINMUX_IPSR_MSEL(IP6_7_6, SCIFA2_TXD, SEL_SCIFA2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001092 PINMUX_IPSR_GPSR(IP6_9_8, IRQ0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001093 PINMUX_IPSR_MSEL(IP6_9_8, SCIFB1_RXD_D, SEL_SCIFB1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001094 PINMUX_IPSR_GPSR(IP6_9_8, INTC_IRQ0_N),
1095 PINMUX_IPSR_GPSR(IP6_11_10, IRQ1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001096 PINMUX_IPSR_MSEL(IP6_11_10, SCIFB1_SCK_C, SEL_SCIFB1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001097 PINMUX_IPSR_GPSR(IP6_11_10, INTC_IRQ1_N),
1098 PINMUX_IPSR_GPSR(IP6_13_12, IRQ2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001099 PINMUX_IPSR_MSEL(IP6_13_12, SCIFB1_TXD_D, SEL_SCIFB1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001100 PINMUX_IPSR_GPSR(IP6_13_12, INTC_IRQ2_N),
1101 PINMUX_IPSR_GPSR(IP6_15_14, IRQ3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001102 PINMUX_IPSR_MSEL(IP6_15_14, SCL4_C, SEL_IIC4_2),
1103 PINMUX_IPSR_MSEL(IP6_15_14, MSIOF2_TXD_E, SEL_SOF2_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001104 PINMUX_IPSR_GPSR(IP6_15_14, INTC_IRQ4_N),
1105 PINMUX_IPSR_GPSR(IP6_18_16, IRQ4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001106 PINMUX_IPSR_MSEL(IP6_18_16, HRX1_C, SEL_HSCIF1_2),
1107 PINMUX_IPSR_MSEL(IP6_18_16, SDA4_C, SEL_IIC4_2),
1108 PINMUX_IPSR_MSEL(IP6_18_16, MSIOF2_RXD_E, SEL_SOF2_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001109 PINMUX_IPSR_GPSR(IP6_18_16, INTC_IRQ4_N),
1110 PINMUX_IPSR_GPSR(IP6_20_19, IRQ5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001111 PINMUX_IPSR_MSEL(IP6_20_19, HTX1_C, SEL_HSCIF1_2),
1112 PINMUX_IPSR_MSEL(IP6_20_19, SCL1_E, SEL_IIC1_4),
1113 PINMUX_IPSR_MSEL(IP6_20_19, MSIOF2_SCK_E, SEL_SOF2_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001114 PINMUX_IPSR_GPSR(IP6_23_21, IRQ6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001115 PINMUX_IPSR_MSEL(IP6_23_21, HSCK1_C, SEL_HSCIF1_2),
1116 PINMUX_IPSR_MSEL(IP6_23_21, MSIOF1_SS2_B, SEL_SOF1_1),
1117 PINMUX_IPSR_MSEL(IP6_23_21, SDA1_E, SEL_IIC1_4),
1118 PINMUX_IPSR_MSEL(IP6_23_21, MSIOF2_SYNC_E, SEL_SOF2_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001119 PINMUX_IPSR_GPSR(IP6_26_24, IRQ7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001120 PINMUX_IPSR_MSEL(IP6_26_24, HCTS1_N_C, SEL_HSCIF1_2),
1121 PINMUX_IPSR_MSEL(IP6_26_24, MSIOF1_TXD_B, SEL_SOF1_1),
1122 PINMUX_IPSR_MSEL(IP6_26_24, GPS_CLK_C, SEL_GPS_2),
1123 PINMUX_IPSR_MSEL(IP6_26_24, GPS_CLK_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001124 PINMUX_IPSR_GPSR(IP6_29_27, IRQ8),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001125 PINMUX_IPSR_MSEL(IP6_29_27, HRTS1_N_C, SEL_HSCIF1_2),
1126 PINMUX_IPSR_MSEL(IP6_29_27, MSIOF1_RXD_B, SEL_SOF1_1),
1127 PINMUX_IPSR_MSEL(IP6_29_27, GPS_SIGN_C, SEL_GPS_2),
1128 PINMUX_IPSR_MSEL(IP6_29_27, GPS_SIGN_D, SEL_GPS_3),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001129
1130 /* IPSR7 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001131 PINMUX_IPSR_GPSR(IP7_2_0, IRQ9),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001132 PINMUX_IPSR_MSEL(IP7_2_0, DU1_DOTCLKIN_B, SEL_DIS_1),
1133 PINMUX_IPSR_MSEL(IP7_2_0, CAN_CLK_D, SEL_CANCLK_3),
1134 PINMUX_IPSR_MSEL(IP7_2_0, GPS_MAG_C, SEL_GPS_2),
1135 PINMUX_IPSR_MSEL(IP7_2_0, SCIF_CLK_B, SEL_SCIF_1),
1136 PINMUX_IPSR_MSEL(IP7_2_0, GPS_MAG_D, SEL_GPS_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001137 PINMUX_IPSR_GPSR(IP7_5_3, DU1_DR0),
1138 PINMUX_IPSR_GPSR(IP7_5_3, LCDOUT0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001139 PINMUX_IPSR_MSEL(IP7_5_3, VI1_DATA0_B, SEL_VI1_1),
1140 PINMUX_IPSR_MSEL(IP7_5_3, TX0_B, SEL_SCIF0_1),
1141 PINMUX_IPSR_MSEL(IP7_5_3, SCIFA0_TXD_B, SEL_SCFA_1),
1142 PINMUX_IPSR_MSEL(IP7_5_3, MSIOF2_SCK_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001143 PINMUX_IPSR_GPSR(IP7_8_6, DU1_DR1),
1144 PINMUX_IPSR_GPSR(IP7_8_6, LCDOUT1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001145 PINMUX_IPSR_MSEL(IP7_8_6, VI1_DATA1_B, SEL_VI1_1),
1146 PINMUX_IPSR_MSEL(IP7_8_6, RX0_B, SEL_SCIF0_1),
1147 PINMUX_IPSR_MSEL(IP7_8_6, SCIFA0_RXD_B, SEL_SCFA_1),
1148 PINMUX_IPSR_MSEL(IP7_8_6, MSIOF2_SYNC_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001149 PINMUX_IPSR_GPSR(IP7_10_9, DU1_DR2),
1150 PINMUX_IPSR_GPSR(IP7_10_9, LCDOUT2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001151 PINMUX_IPSR_MSEL(IP7_10_9, SSI_SCK0129_B, SEL_SSI0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001152 PINMUX_IPSR_GPSR(IP7_12_11, DU1_DR3),
1153 PINMUX_IPSR_GPSR(IP7_12_11, LCDOUT3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001154 PINMUX_IPSR_MSEL(IP7_12_11, SSI_WS0129_B, SEL_SSI0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001155 PINMUX_IPSR_GPSR(IP7_14_13, DU1_DR4),
1156 PINMUX_IPSR_GPSR(IP7_14_13, LCDOUT4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001157 PINMUX_IPSR_MSEL(IP7_14_13, SSI_SDATA0_B, SEL_SSI0_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001158 PINMUX_IPSR_GPSR(IP7_16_15, DU1_DR5),
1159 PINMUX_IPSR_GPSR(IP7_16_15, LCDOUT5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001160 PINMUX_IPSR_MSEL(IP7_16_15, SSI_SCK1_B, SEL_SSI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001161 PINMUX_IPSR_GPSR(IP7_18_17, DU1_DR6),
1162 PINMUX_IPSR_GPSR(IP7_18_17, LCDOUT6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001163 PINMUX_IPSR_MSEL(IP7_18_17, SSI_WS1_B, SEL_SSI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001164 PINMUX_IPSR_GPSR(IP7_20_19, DU1_DR7),
1165 PINMUX_IPSR_GPSR(IP7_20_19, LCDOUT7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001166 PINMUX_IPSR_MSEL(IP7_20_19, SSI_SDATA1_B, SEL_SSI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001167 PINMUX_IPSR_GPSR(IP7_23_21, DU1_DG0),
1168 PINMUX_IPSR_GPSR(IP7_23_21, LCDOUT8),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001169 PINMUX_IPSR_MSEL(IP7_23_21, VI1_DATA2_B, SEL_VI1_1),
1170 PINMUX_IPSR_MSEL(IP7_23_21, TX1_B, SEL_SCIF1_1),
1171 PINMUX_IPSR_MSEL(IP7_23_21, SCIFA1_TXD_B, SEL_SCIFA1_1),
1172 PINMUX_IPSR_MSEL(IP7_23_21, MSIOF2_SS1_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001173 PINMUX_IPSR_GPSR(IP7_26_24, DU1_DG1),
1174 PINMUX_IPSR_GPSR(IP7_26_24, LCDOUT9),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001175 PINMUX_IPSR_MSEL(IP7_26_24, VI1_DATA3_B, SEL_VI1_1),
1176 PINMUX_IPSR_MSEL(IP7_26_24, RX1_B, SEL_SCIF1_1),
1177 PINMUX_IPSR_MSEL(IP7_26_24, SCIFA1_RXD_B, SEL_SCIFA1_1),
1178 PINMUX_IPSR_MSEL(IP7_26_24, MSIOF2_SS2_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001179 PINMUX_IPSR_GPSR(IP7_29_27, DU1_DG2),
1180 PINMUX_IPSR_GPSR(IP7_29_27, LCDOUT10),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001181 PINMUX_IPSR_MSEL(IP7_29_27, VI1_DATA4_B, SEL_VI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001182 PINMUX_IPSR_GPSR(IP7_29_27, SCIF1_SCK_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001183 PINMUX_IPSR_MSEL(IP7_29_27, SCIFA1_SCK, SEL_SCIFA1_0),
1184 PINMUX_IPSR_MSEL(IP7_29_27, SSI_SCK78_B, SEL_SSI7_1),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001185
1186 /* IPSR8 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001187 PINMUX_IPSR_GPSR(IP8_2_0, DU1_DG3),
1188 PINMUX_IPSR_GPSR(IP8_2_0, LCDOUT11),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001189 PINMUX_IPSR_MSEL(IP8_2_0, VI1_DATA5_B, SEL_VI1_1),
1190 PINMUX_IPSR_MSEL(IP8_2_0, SSI_WS78_B, SEL_SSI7_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001191 PINMUX_IPSR_GPSR(IP8_5_3, DU1_DG4),
1192 PINMUX_IPSR_GPSR(IP8_5_3, LCDOUT12),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001193 PINMUX_IPSR_MSEL(IP8_5_3, VI1_DATA6_B, SEL_VI1_1),
1194 PINMUX_IPSR_MSEL(IP8_5_3, HRX0_B, SEL_HSCIF0_1),
1195 PINMUX_IPSR_MSEL(IP8_5_3, SCIFB2_RXD_B, SEL_SCIFB2_1),
1196 PINMUX_IPSR_MSEL(IP8_5_3, SSI_SDATA7_B, SEL_SSI7_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001197 PINMUX_IPSR_GPSR(IP8_8_6, DU1_DG5),
1198 PINMUX_IPSR_GPSR(IP8_8_6, LCDOUT13),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001199 PINMUX_IPSR_MSEL(IP8_8_6, VI1_DATA7_B, SEL_VI1_1),
1200 PINMUX_IPSR_MSEL(IP8_8_6, HCTS0_N_B, SEL_HSCIF0_1),
1201 PINMUX_IPSR_MSEL(IP8_8_6, SCIFB2_TXD_B, SEL_SCIFB2_1),
1202 PINMUX_IPSR_MSEL(IP8_8_6, SSI_SDATA8_B, SEL_SSI8_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001203 PINMUX_IPSR_GPSR(IP8_11_9, DU1_DG6),
1204 PINMUX_IPSR_GPSR(IP8_11_9, LCDOUT14),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001205 PINMUX_IPSR_MSEL(IP8_11_9, HRTS0_N_B, SEL_HSCIF0_1),
1206 PINMUX_IPSR_MSEL(IP8_11_9, SCIFB2_CTS_N_B, SEL_SCIFB2_1),
1207 PINMUX_IPSR_MSEL(IP8_11_9, SSI_SCK9_B, SEL_SSI9_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001208 PINMUX_IPSR_GPSR(IP8_14_12, DU1_DG7),
1209 PINMUX_IPSR_GPSR(IP8_14_12, LCDOUT15),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001210 PINMUX_IPSR_MSEL(IP8_14_12, HTX0_B, SEL_HSCIF0_1),
1211 PINMUX_IPSR_MSEL(IP8_14_12, SCIFB2_RTS_N_B, SEL_SCIFB2_1),
1212 PINMUX_IPSR_MSEL(IP8_14_12, SSI_WS9_B, SEL_SSI9_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001213 PINMUX_IPSR_GPSR(IP8_17_15, DU1_DB0),
1214 PINMUX_IPSR_GPSR(IP8_17_15, LCDOUT16),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001215 PINMUX_IPSR_MSEL(IP8_17_15, VI1_CLK_B, SEL_VI1_1),
1216 PINMUX_IPSR_MSEL(IP8_17_15, TX2_B, SEL_SCIF2_1),
1217 PINMUX_IPSR_MSEL(IP8_17_15, SCIFA2_TXD_B, SEL_SCIFA2_1),
1218 PINMUX_IPSR_MSEL(IP8_17_15, MSIOF2_TXD_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001219 PINMUX_IPSR_GPSR(IP8_20_18, DU1_DB1),
1220 PINMUX_IPSR_GPSR(IP8_20_18, LCDOUT17),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001221 PINMUX_IPSR_MSEL(IP8_20_18, VI1_HSYNC_N_B, SEL_VI1_1),
1222 PINMUX_IPSR_MSEL(IP8_20_18, RX2_B, SEL_SCIF2_1),
1223 PINMUX_IPSR_MSEL(IP8_20_18, SCIFA2_RXD_B, SEL_SCIFA2_1),
1224 PINMUX_IPSR_MSEL(IP8_20_18, MSIOF2_RXD_B, SEL_SOF2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001225 PINMUX_IPSR_GPSR(IP8_23_21, DU1_DB2),
1226 PINMUX_IPSR_GPSR(IP8_23_21, LCDOUT18),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001227 PINMUX_IPSR_MSEL(IP8_23_21, VI1_VSYNC_N_B, SEL_VI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001228 PINMUX_IPSR_GPSR(IP8_23_21, SCIF2_SCK_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001229 PINMUX_IPSR_MSEL(IP8_23_21, SCIFA2_SCK, SEL_SCIFA2_1),
1230 PINMUX_IPSR_MSEL(IP8_23_21, SSI_SDATA9_B, SEL_SSI9_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001231 PINMUX_IPSR_GPSR(IP8_25_24, DU1_DB3),
1232 PINMUX_IPSR_GPSR(IP8_25_24, LCDOUT19),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001233 PINMUX_IPSR_MSEL(IP8_25_24, VI1_CLKENB_B, SEL_VI1_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001234 PINMUX_IPSR_GPSR(IP8_27_26, DU1_DB4),
1235 PINMUX_IPSR_GPSR(IP8_27_26, LCDOUT20),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001236 PINMUX_IPSR_MSEL(IP8_27_26, VI1_FIELD_B, SEL_VI1_1),
1237 PINMUX_IPSR_MSEL(IP8_27_26, CAN1_RX, SEL_CAN1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001238 PINMUX_IPSR_GPSR(IP8_30_28, DU1_DB5),
1239 PINMUX_IPSR_GPSR(IP8_30_28, LCDOUT21),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001240 PINMUX_IPSR_MSEL(IP8_30_28, TX3, SEL_SCIF3_0),
1241 PINMUX_IPSR_MSEL(IP8_30_28, SCIFA3_TXD, SEL_SCIFA3_0),
1242 PINMUX_IPSR_MSEL(IP8_30_28, CAN1_TX, SEL_CAN1_0),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001243
1244 /* IPSR9 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001245 PINMUX_IPSR_GPSR(IP9_2_0, DU1_DB6),
1246 PINMUX_IPSR_GPSR(IP9_2_0, LCDOUT22),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001247 PINMUX_IPSR_MSEL(IP9_2_0, SCL3_C, SEL_IIC3_2),
1248 PINMUX_IPSR_MSEL(IP9_2_0, RX3, SEL_SCIF3_0),
1249 PINMUX_IPSR_MSEL(IP9_2_0, SCIFA3_RXD, SEL_SCIFA3_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001250 PINMUX_IPSR_GPSR(IP9_5_3, DU1_DB7),
1251 PINMUX_IPSR_GPSR(IP9_5_3, LCDOUT23),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001252 PINMUX_IPSR_MSEL(IP9_5_3, SDA3_C, SEL_IIC3_2),
1253 PINMUX_IPSR_MSEL(IP9_5_3, SCIF3_SCK, SEL_SCIF3_0),
1254 PINMUX_IPSR_MSEL(IP9_5_3, SCIFA3_SCK, SEL_SCIFA3_0),
1255 PINMUX_IPSR_MSEL(IP9_6, DU1_DOTCLKIN, SEL_DIS_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001256 PINMUX_IPSR_GPSR(IP9_6, QSTVA_QVS),
1257 PINMUX_IPSR_GPSR(IP9_7, DU1_DOTCLKOUT0),
1258 PINMUX_IPSR_GPSR(IP9_7, QCLK),
1259 PINMUX_IPSR_GPSR(IP9_10_8, DU1_DOTCLKOUT1),
1260 PINMUX_IPSR_GPSR(IP9_10_8, QSTVB_QVE),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001261 PINMUX_IPSR_MSEL(IP9_10_8, CAN0_TX, SEL_CAN0_0),
1262 PINMUX_IPSR_MSEL(IP9_10_8, TX3_B, SEL_SCIF3_1),
1263 PINMUX_IPSR_MSEL(IP9_10_8, SCL2_B, SEL_IIC2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001264 PINMUX_IPSR_GPSR(IP9_10_8, PWM4),
1265 PINMUX_IPSR_GPSR(IP9_11, DU1_EXHSYNC_DU1_HSYNC),
1266 PINMUX_IPSR_GPSR(IP9_11, QSTH_QHS),
1267 PINMUX_IPSR_GPSR(IP9_12, DU1_EXVSYNC_DU1_VSYNC),
1268 PINMUX_IPSR_GPSR(IP9_12, QSTB_QHE),
1269 PINMUX_IPSR_GPSR(IP9_15_13, DU1_EXODDF_DU1_ODDF_DISP_CDE),
1270 PINMUX_IPSR_GPSR(IP9_15_13, QCPV_QDE),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001271 PINMUX_IPSR_MSEL(IP9_15_13, CAN0_RX, SEL_CAN0_0),
1272 PINMUX_IPSR_MSEL(IP9_15_13, RX3_B, SEL_SCIF3_1),
1273 PINMUX_IPSR_MSEL(IP9_15_13, SDA2_B, SEL_IIC2_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001274 PINMUX_IPSR_GPSR(IP9_16, DU1_DISP),
1275 PINMUX_IPSR_GPSR(IP9_16, QPOLA),
1276 PINMUX_IPSR_GPSR(IP9_18_17, DU1_CDE),
1277 PINMUX_IPSR_GPSR(IP9_18_17, QPOLB),
1278 PINMUX_IPSR_GPSR(IP9_18_17, PWM4_B),
1279 PINMUX_IPSR_GPSR(IP9_20_19, VI0_CLKENB),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001280 PINMUX_IPSR_MSEL(IP9_20_19, TX4, SEL_SCIF4_0),
1281 PINMUX_IPSR_MSEL(IP9_20_19, SCIFA4_TXD, SEL_SCIFA4_0),
1282 PINMUX_IPSR_MSEL(IP9_20_19, TS_SDATA0_D, SEL_TSIF0_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001283 PINMUX_IPSR_GPSR(IP9_22_21, VI0_FIELD),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001284 PINMUX_IPSR_MSEL(IP9_22_21, RX4, SEL_SCIF4_0),
1285 PINMUX_IPSR_MSEL(IP9_22_21, SCIFA4_RXD, SEL_SCIFA4_0),
1286 PINMUX_IPSR_MSEL(IP9_22_21, TS_SCK0_D, SEL_TSIF0_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001287 PINMUX_IPSR_GPSR(IP9_24_23, VI0_HSYNC_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001288 PINMUX_IPSR_MSEL(IP9_24_23, TX5, SEL_SCIF5_0),
1289 PINMUX_IPSR_MSEL(IP9_24_23, SCIFA5_TXD, SEL_SCIFA5_0),
1290 PINMUX_IPSR_MSEL(IP9_24_23, TS_SDEN0_D, SEL_TSIF0_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001291 PINMUX_IPSR_GPSR(IP9_26_25, VI0_VSYNC_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001292 PINMUX_IPSR_MSEL(IP9_26_25, RX5, SEL_SCIF5_0),
1293 PINMUX_IPSR_MSEL(IP9_26_25, SCIFA5_RXD, SEL_SCIFA5_0),
1294 PINMUX_IPSR_MSEL(IP9_26_25, TS_SPSYNC0_D, SEL_TSIF0_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001295 PINMUX_IPSR_GPSR(IP9_28_27, VI0_DATA3_VI0_B3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001296 PINMUX_IPSR_MSEL(IP9_28_27, SCIF3_SCK_B, SEL_SCIF3_1),
1297 PINMUX_IPSR_MSEL(IP9_28_27, SCIFA3_SCK_B, SEL_SCIFA3_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001298 PINMUX_IPSR_GPSR(IP9_31_29, VI0_G0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001299 PINMUX_IPSR_MSEL(IP9_31_29, SCL8, SEL_IIC8_0),
1300 PINMUX_IPSR_MSEL(IP9_31_29, STP_IVCXO27_0_C, SEL_SSP_2),
1301 PINMUX_IPSR_MSEL(IP9_31_29, SCL4, SEL_IIC4_0),
1302 PINMUX_IPSR_MSEL(IP9_31_29, HCTS2_N, SEL_HSCIF2_0),
1303 PINMUX_IPSR_MSEL(IP9_31_29, SCIFB2_CTS_N, SEL_SCIFB2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001304 PINMUX_IPSR_GPSR(IP9_31_29, ATAWR1_N),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001305
1306 /* IPSR10 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001307 PINMUX_IPSR_GPSR(IP10_2_0, VI0_G1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001308 PINMUX_IPSR_MSEL(IP10_2_0, SDA8, SEL_IIC8_0),
1309 PINMUX_IPSR_MSEL(IP10_2_0, STP_ISCLK_0_C, SEL_SSP_2),
1310 PINMUX_IPSR_MSEL(IP10_2_0, SDA4, SEL_IIC4_0),
1311 PINMUX_IPSR_MSEL(IP10_2_0, HRTS2_N, SEL_HSCIF2_0),
1312 PINMUX_IPSR_MSEL(IP10_2_0, SCIFB2_RTS_N, SEL_SCIFB2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001313 PINMUX_IPSR_GPSR(IP10_2_0, ATADIR1_N),
1314 PINMUX_IPSR_GPSR(IP10_5_3, VI0_G2),
1315 PINMUX_IPSR_GPSR(IP10_5_3, VI2_HSYNC_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001316 PINMUX_IPSR_MSEL(IP10_5_3, STP_ISD_0_C, SEL_SSP_2),
1317 PINMUX_IPSR_MSEL(IP10_5_3, SCL3_B, SEL_IIC3_1),
1318 PINMUX_IPSR_MSEL(IP10_5_3, HSCK2, SEL_HSCIF2_0),
1319 PINMUX_IPSR_MSEL(IP10_5_3, SCIFB2_SCK, SEL_SCIFB2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001320 PINMUX_IPSR_GPSR(IP10_5_3, ATARD1_N),
1321 PINMUX_IPSR_GPSR(IP10_8_6, VI0_G3),
1322 PINMUX_IPSR_GPSR(IP10_8_6, VI2_VSYNC_N),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001323 PINMUX_IPSR_MSEL(IP10_8_6, STP_ISEN_0_C, SEL_SSP_2),
1324 PINMUX_IPSR_MSEL(IP10_8_6, SDA3_B, SEL_IIC3_1),
1325 PINMUX_IPSR_MSEL(IP10_8_6, HRX2, SEL_HSCIF2_0),
1326 PINMUX_IPSR_MSEL(IP10_8_6, SCIFB2_RXD, SEL_SCIFB2_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001327 PINMUX_IPSR_GPSR(IP10_8_6, ATACS01_N),
1328 PINMUX_IPSR_GPSR(IP10_11_9, VI0_G4),
1329 PINMUX_IPSR_GPSR(IP10_11_9, VI2_CLKENB),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001330 PINMUX_IPSR_MSEL(IP10_11_9, STP_ISSYNC_0_C, SEL_SSP_2),
1331 PINMUX_IPSR_MSEL(IP10_11_9, HTX2, SEL_HSCIF2_0),
1332 PINMUX_IPSR_MSEL(IP10_11_9, SCIFB2_TXD, SEL_SCIFB2_0),
1333 PINMUX_IPSR_MSEL(IP10_11_9, SCIFB0_SCK_D, SEL_SCIFB_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001334 PINMUX_IPSR_GPSR(IP10_14_12, VI0_G5),
1335 PINMUX_IPSR_GPSR(IP10_14_12, VI2_FIELD),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001336 PINMUX_IPSR_MSEL(IP10_14_12, STP_OPWM_0_C, SEL_SSP_2),
1337 PINMUX_IPSR_MSEL(IP10_14_12, FMCLK_D, SEL_FM_3),
1338 PINMUX_IPSR_MSEL(IP10_14_12, CAN0_TX_E, SEL_CAN0_4),
1339 PINMUX_IPSR_MSEL(IP10_14_12, HTX1_D, SEL_HSCIF1_3),
1340 PINMUX_IPSR_MSEL(IP10_14_12, SCIFB0_TXD_D, SEL_SCIFB_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001341 PINMUX_IPSR_GPSR(IP10_16_15, VI0_G6),
1342 PINMUX_IPSR_GPSR(IP10_16_15, VI2_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001343 PINMUX_IPSR_MSEL(IP10_16_15, BPFCLK_D, SEL_FM_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001344 PINMUX_IPSR_GPSR(IP10_18_17, VI0_G7),
1345 PINMUX_IPSR_GPSR(IP10_18_17, VI2_DATA0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001346 PINMUX_IPSR_MSEL(IP10_18_17, FMIN_D, SEL_FM_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001347 PINMUX_IPSR_GPSR(IP10_21_19, VI0_R0),
1348 PINMUX_IPSR_GPSR(IP10_21_19, VI2_DATA1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001349 PINMUX_IPSR_MSEL(IP10_21_19, GLO_I0_B, SEL_GPS_1),
1350 PINMUX_IPSR_MSEL(IP10_21_19, TS_SDATA0_C, SEL_TSIF0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001351 PINMUX_IPSR_GPSR(IP10_21_19, ATACS11_N),
1352 PINMUX_IPSR_GPSR(IP10_24_22, VI0_R1),
1353 PINMUX_IPSR_GPSR(IP10_24_22, VI2_DATA2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001354 PINMUX_IPSR_MSEL(IP10_24_22, GLO_I1_B, SEL_GPS_1),
1355 PINMUX_IPSR_MSEL(IP10_24_22, TS_SCK0_C, SEL_TSIF0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001356 PINMUX_IPSR_GPSR(IP10_24_22, ATAG1_N),
1357 PINMUX_IPSR_GPSR(IP10_26_25, VI0_R2),
1358 PINMUX_IPSR_GPSR(IP10_26_25, VI2_DATA3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001359 PINMUX_IPSR_MSEL(IP10_26_25, GLO_Q0_B, SEL_GPS_1),
1360 PINMUX_IPSR_MSEL(IP10_26_25, TS_SDEN0_C, SEL_TSIF0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001361 PINMUX_IPSR_GPSR(IP10_28_27, VI0_R3),
1362 PINMUX_IPSR_GPSR(IP10_28_27, VI2_DATA4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001363 PINMUX_IPSR_MSEL(IP10_28_27, GLO_Q1_B, SEL_GPS_1),
1364 PINMUX_IPSR_MSEL(IP10_28_27, TS_SPSYNC0_C, SEL_TSIF0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001365 PINMUX_IPSR_GPSR(IP10_31_29, VI0_R4),
1366 PINMUX_IPSR_GPSR(IP10_31_29, VI2_DATA5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001367 PINMUX_IPSR_MSEL(IP10_31_29, GLO_SCLK_B, SEL_GPS_1),
1368 PINMUX_IPSR_MSEL(IP10_31_29, TX0_C, SEL_SCIF0_2),
1369 PINMUX_IPSR_MSEL(IP10_31_29, SCL1_D, SEL_IIC1_3),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001370
1371 /* IPSR11 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001372 PINMUX_IPSR_GPSR(IP11_2_0, VI0_R5),
1373 PINMUX_IPSR_GPSR(IP11_2_0, VI2_DATA6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001374 PINMUX_IPSR_MSEL(IP11_2_0, GLO_SDATA_B, SEL_GPS_1),
1375 PINMUX_IPSR_MSEL(IP11_2_0, RX0_C, SEL_SCIF0_2),
1376 PINMUX_IPSR_MSEL(IP11_2_0, SDA1_D, SEL_IIC1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001377 PINMUX_IPSR_GPSR(IP11_5_3, VI0_R6),
1378 PINMUX_IPSR_GPSR(IP11_5_3, VI2_DATA7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001379 PINMUX_IPSR_MSEL(IP11_5_3, GLO_SS_B, SEL_GPS_1),
1380 PINMUX_IPSR_MSEL(IP11_5_3, TX1_C, SEL_SCIF1_2),
1381 PINMUX_IPSR_MSEL(IP11_5_3, SCL4_B, SEL_IIC4_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001382 PINMUX_IPSR_GPSR(IP11_8_6, VI0_R7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001383 PINMUX_IPSR_MSEL(IP11_8_6, GLO_RFON_B, SEL_GPS_1),
1384 PINMUX_IPSR_MSEL(IP11_8_6, RX1_C, SEL_SCIF1_2),
1385 PINMUX_IPSR_MSEL(IP11_8_6, CAN0_RX_E, SEL_CAN0_4),
1386 PINMUX_IPSR_MSEL(IP11_8_6, SDA4_B, SEL_IIC4_1),
1387 PINMUX_IPSR_MSEL(IP11_8_6, HRX1_D, SEL_HSCIF1_3),
1388 PINMUX_IPSR_MSEL(IP11_8_6, SCIFB0_RXD_D, SEL_SCIFB_3),
1389 PINMUX_IPSR_MSEL(IP11_11_9, VI1_HSYNC_N, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001390 PINMUX_IPSR_GPSR(IP11_11_9, AVB_RXD0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001391 PINMUX_IPSR_MSEL(IP11_11_9, TS_SDATA0_B, SEL_TSIF0_1),
1392 PINMUX_IPSR_MSEL(IP11_11_9, TX4_B, SEL_SCIF4_1),
1393 PINMUX_IPSR_MSEL(IP11_11_9, SCIFA4_TXD_B, SEL_SCIFA4_1),
1394 PINMUX_IPSR_MSEL(IP11_14_12, VI1_VSYNC_N, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001395 PINMUX_IPSR_GPSR(IP11_14_12, AVB_RXD1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001396 PINMUX_IPSR_MSEL(IP11_14_12, TS_SCK0_B, SEL_TSIF0_1),
1397 PINMUX_IPSR_MSEL(IP11_14_12, RX4_B, SEL_SCIF4_1),
1398 PINMUX_IPSR_MSEL(IP11_14_12, SCIFA4_RXD_B, SEL_SCIFA4_1),
1399 PINMUX_IPSR_MSEL(IP11_16_15, VI1_CLKENB, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001400 PINMUX_IPSR_GPSR(IP11_16_15, AVB_RXD2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001401 PINMUX_IPSR_MSEL(IP11_16_15, TS_SDEN0_B, SEL_TSIF0_1),
1402 PINMUX_IPSR_MSEL(IP11_18_17, VI1_FIELD, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001403 PINMUX_IPSR_GPSR(IP11_18_17, AVB_RXD3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001404 PINMUX_IPSR_MSEL(IP11_18_17, TS_SPSYNC0_B, SEL_TSIF0_1),
1405 PINMUX_IPSR_MSEL(IP11_19, VI1_CLK, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001406 PINMUX_IPSR_GPSR(IP11_19, AVB_RXD4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001407 PINMUX_IPSR_MSEL(IP11_20, VI1_DATA0, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001408 PINMUX_IPSR_GPSR(IP11_20, AVB_RXD5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001409 PINMUX_IPSR_MSEL(IP11_21, VI1_DATA1, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001410 PINMUX_IPSR_GPSR(IP11_21, AVB_RXD6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001411 PINMUX_IPSR_MSEL(IP11_22, VI1_DATA2, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001412 PINMUX_IPSR_GPSR(IP11_22, AVB_RXD7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001413 PINMUX_IPSR_MSEL(IP11_23, VI1_DATA3, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001414 PINMUX_IPSR_GPSR(IP11_23, AVB_RX_ER),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001415 PINMUX_IPSR_MSEL(IP11_24, VI1_DATA4, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001416 PINMUX_IPSR_GPSR(IP11_24, AVB_MDIO),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001417 PINMUX_IPSR_MSEL(IP11_25, VI1_DATA5, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001418 PINMUX_IPSR_GPSR(IP11_25, AVB_RX_DV),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001419 PINMUX_IPSR_MSEL(IP11_26, VI1_DATA6, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001420 PINMUX_IPSR_GPSR(IP11_26, AVB_MAGIC),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001421 PINMUX_IPSR_MSEL(IP11_27, VI1_DATA7, SEL_VI1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001422 PINMUX_IPSR_GPSR(IP11_27, AVB_MDC),
1423 PINMUX_IPSR_GPSR(IP11_29_28, ETH_MDIO),
1424 PINMUX_IPSR_GPSR(IP11_29_28, AVB_RX_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001425 PINMUX_IPSR_MSEL(IP11_29_28, SCL2_C, SEL_IIC2_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001426 PINMUX_IPSR_GPSR(IP11_31_30, ETH_CRS_DV),
1427 PINMUX_IPSR_GPSR(IP11_31_30, AVB_LINK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001428 PINMUX_IPSR_MSEL(IP11_31_30, SDA2_C, SEL_IIC2_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001429
1430 /* IPSR12 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001431 PINMUX_IPSR_GPSR(IP12_1_0, ETH_RX_ER),
1432 PINMUX_IPSR_GPSR(IP12_1_0, AVB_CRS),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001433 PINMUX_IPSR_MSEL(IP12_1_0, SCL3, SEL_IIC3_0),
1434 PINMUX_IPSR_MSEL(IP12_1_0, SCL7, SEL_IIC7_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001435 PINMUX_IPSR_GPSR(IP12_3_2, ETH_RXD0),
1436 PINMUX_IPSR_GPSR(IP12_3_2, AVB_PHY_INT),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001437 PINMUX_IPSR_MSEL(IP12_3_2, SDA3, SEL_IIC3_0),
1438 PINMUX_IPSR_MSEL(IP12_3_2, SDA7, SEL_IIC7_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001439 PINMUX_IPSR_GPSR(IP12_6_4, ETH_RXD1),
1440 PINMUX_IPSR_GPSR(IP12_6_4, AVB_GTXREFCLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001441 PINMUX_IPSR_MSEL(IP12_6_4, CAN0_TX_C, SEL_CAN0_2),
1442 PINMUX_IPSR_MSEL(IP12_6_4, SCL2_D, SEL_IIC2_3),
1443 PINMUX_IPSR_MSEL(IP12_6_4, MSIOF1_RXD_E, SEL_SOF1_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001444 PINMUX_IPSR_GPSR(IP12_9_7, ETH_LINK),
1445 PINMUX_IPSR_GPSR(IP12_9_7, AVB_TXD0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001446 PINMUX_IPSR_MSEL(IP12_9_7, CAN0_RX_C, SEL_CAN0_2),
1447 PINMUX_IPSR_MSEL(IP12_9_7, SDA2_D, SEL_IIC2_3),
1448 PINMUX_IPSR_MSEL(IP12_9_7, MSIOF1_SCK_E, SEL_SOF1_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001449 PINMUX_IPSR_GPSR(IP12_12_10, ETH_REFCLK),
1450 PINMUX_IPSR_GPSR(IP12_12_10, AVB_TXD1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001451 PINMUX_IPSR_MSEL(IP12_12_10, SCIFA3_RXD_B, SEL_SCIFA3_1),
1452 PINMUX_IPSR_MSEL(IP12_12_10, CAN1_RX_C, SEL_CAN1_2),
1453 PINMUX_IPSR_MSEL(IP12_12_10, MSIOF1_SYNC_E, SEL_SOF1_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001454 PINMUX_IPSR_GPSR(IP12_15_13, ETH_TXD1),
1455 PINMUX_IPSR_GPSR(IP12_15_13, AVB_TXD2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001456 PINMUX_IPSR_MSEL(IP12_15_13, SCIFA3_TXD_B, SEL_SCIFA3_1),
1457 PINMUX_IPSR_MSEL(IP12_15_13, CAN1_TX_C, SEL_CAN1_2),
1458 PINMUX_IPSR_MSEL(IP12_15_13, MSIOF1_TXD_E, SEL_SOF1_4),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001459 PINMUX_IPSR_GPSR(IP12_17_16, ETH_TX_EN),
1460 PINMUX_IPSR_GPSR(IP12_17_16, AVB_TXD3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001461 PINMUX_IPSR_MSEL(IP12_17_16, TCLK1_B, SEL_TMU1_0),
1462 PINMUX_IPSR_MSEL(IP12_17_16, CAN_CLK_B, SEL_CANCLK_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001463 PINMUX_IPSR_GPSR(IP12_19_18, ETH_MAGIC),
1464 PINMUX_IPSR_GPSR(IP12_19_18, AVB_TXD4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001465 PINMUX_IPSR_MSEL(IP12_19_18, IETX_C, SEL_IEB_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001466 PINMUX_IPSR_GPSR(IP12_21_20, ETH_TXD0),
1467 PINMUX_IPSR_GPSR(IP12_21_20, AVB_TXD5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001468 PINMUX_IPSR_MSEL(IP12_21_20, IECLK_C, SEL_IEB_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001469 PINMUX_IPSR_GPSR(IP12_23_22, ETH_MDC),
1470 PINMUX_IPSR_GPSR(IP12_23_22, AVB_TXD6),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001471 PINMUX_IPSR_MSEL(IP12_23_22, IERX_C, SEL_IEB_2),
1472 PINMUX_IPSR_MSEL(IP12_26_24, STP_IVCXO27_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001473 PINMUX_IPSR_GPSR(IP12_26_24, AVB_TXD7),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001474 PINMUX_IPSR_MSEL(IP12_26_24, SCIFB2_TXD_D, SEL_SCIFB2_3),
1475 PINMUX_IPSR_MSEL(IP12_26_24, ADIDATA_B, SEL_RAD_1),
1476 PINMUX_IPSR_MSEL(IP12_26_24, MSIOF0_SYNC_C, SEL_SOF0_2),
1477 PINMUX_IPSR_MSEL(IP12_29_27, STP_ISCLK_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001478 PINMUX_IPSR_GPSR(IP12_29_27, AVB_TX_EN),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001479 PINMUX_IPSR_MSEL(IP12_29_27, SCIFB2_RXD_D, SEL_SCIFB2_3),
1480 PINMUX_IPSR_MSEL(IP12_29_27, ADICS_SAMP_B, SEL_RAD_1),
1481 PINMUX_IPSR_MSEL(IP12_29_27, MSIOF0_SCK_C, SEL_SOF0_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001482
1483 /* IPSR13 */
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001484 PINMUX_IPSR_MSEL(IP13_2_0, STP_ISD_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001485 PINMUX_IPSR_GPSR(IP13_2_0, AVB_TX_ER),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001486 PINMUX_IPSR_MSEL(IP13_2_0, SCIFB2_SCK_C, SEL_SCIFB2_2),
1487 PINMUX_IPSR_MSEL(IP13_2_0, ADICLK_B, SEL_RAD_1),
1488 PINMUX_IPSR_MSEL(IP13_2_0, MSIOF0_SS1_C, SEL_SOF0_2),
1489 PINMUX_IPSR_MSEL(IP13_4_3, STP_ISEN_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001490 PINMUX_IPSR_GPSR(IP13_4_3, AVB_TX_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001491 PINMUX_IPSR_MSEL(IP13_4_3, ADICHS0_B, SEL_RAD_1),
1492 PINMUX_IPSR_MSEL(IP13_4_3, MSIOF0_SS2_C, SEL_SOF0_2),
1493 PINMUX_IPSR_MSEL(IP13_6_5, STP_ISSYNC_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001494 PINMUX_IPSR_GPSR(IP13_6_5, AVB_COL),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001495 PINMUX_IPSR_MSEL(IP13_6_5, ADICHS1_B, SEL_RAD_1),
1496 PINMUX_IPSR_MSEL(IP13_6_5, MSIOF0_RXD_C, SEL_SOF0_2),
1497 PINMUX_IPSR_MSEL(IP13_9_7, STP_OPWM_0, SEL_SSP_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001498 PINMUX_IPSR_GPSR(IP13_9_7, AVB_GTX_CLK),
1499 PINMUX_IPSR_GPSR(IP13_9_7, PWM0_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001500 PINMUX_IPSR_MSEL(IP13_9_7, ADICHS2_B, SEL_RAD_1),
1501 PINMUX_IPSR_MSEL(IP13_9_7, MSIOF0_TXD_C, SEL_SOF0_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001502 PINMUX_IPSR_GPSR(IP13_10, SD0_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001503 PINMUX_IPSR_MSEL(IP13_10, SPCLK_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001504 PINMUX_IPSR_GPSR(IP13_11, SD0_CMD),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001505 PINMUX_IPSR_MSEL(IP13_11, MOSI_IO0_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001506 PINMUX_IPSR_GPSR(IP13_12, SD0_DATA0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001507 PINMUX_IPSR_MSEL(IP13_12, MISO_IO1_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001508 PINMUX_IPSR_GPSR(IP13_13, SD0_DATA1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001509 PINMUX_IPSR_MSEL(IP13_13, IO2_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001510 PINMUX_IPSR_GPSR(IP13_14, SD0_DATA2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001511 PINMUX_IPSR_MSEL(IP13_14, IO3_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001512 PINMUX_IPSR_GPSR(IP13_15, SD0_DATA3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001513 PINMUX_IPSR_MSEL(IP13_15, SSL_B, SEL_QSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001514 PINMUX_IPSR_GPSR(IP13_18_16, SD0_CD),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001515 PINMUX_IPSR_MSEL(IP13_18_16, MMC_D6_B, SEL_MMC_1),
1516 PINMUX_IPSR_MSEL(IP13_18_16, SIM0_RST_B, SEL_SIM_1),
1517 PINMUX_IPSR_MSEL(IP13_18_16, CAN0_RX_F, SEL_CAN0_5),
1518 PINMUX_IPSR_MSEL(IP13_18_16, SCIFA5_TXD_B, SEL_SCIFA5_1),
1519 PINMUX_IPSR_MSEL(IP13_18_16, TX3_C, SEL_SCIF3_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001520 PINMUX_IPSR_GPSR(IP13_21_19, SD0_WP),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001521 PINMUX_IPSR_MSEL(IP13_21_19, MMC_D7_B, SEL_MMC_1),
1522 PINMUX_IPSR_MSEL(IP13_21_19, SIM0_D_B, SEL_SIM_1),
1523 PINMUX_IPSR_MSEL(IP13_21_19, CAN0_TX_F, SEL_CAN0_5),
1524 PINMUX_IPSR_MSEL(IP13_21_19, SCIFA5_RXD_B, SEL_SCIFA5_1),
1525 PINMUX_IPSR_MSEL(IP13_21_19, RX3_C, SEL_SCIF3_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001526 PINMUX_IPSR_GPSR(IP13_22, SD1_CMD),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001527 PINMUX_IPSR_MSEL(IP13_22, REMOCON_B, SEL_RCN_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001528 PINMUX_IPSR_GPSR(IP13_24_23, SD1_DATA0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001529 PINMUX_IPSR_MSEL(IP13_24_23, SPEEDIN_B, SEL_RSP_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001530 PINMUX_IPSR_GPSR(IP13_25, SD1_DATA1),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001531 PINMUX_IPSR_MSEL(IP13_25, IETX_B, SEL_IEB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001532 PINMUX_IPSR_GPSR(IP13_26, SD1_DATA2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001533 PINMUX_IPSR_MSEL(IP13_26, IECLK_B, SEL_IEB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001534 PINMUX_IPSR_GPSR(IP13_27, SD1_DATA3),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001535 PINMUX_IPSR_MSEL(IP13_27, IERX_B, SEL_IEB_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001536 PINMUX_IPSR_GPSR(IP13_30_28, SD1_CD),
1537 PINMUX_IPSR_GPSR(IP13_30_28, PWM0),
1538 PINMUX_IPSR_GPSR(IP13_30_28, TPU_TO0),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001539 PINMUX_IPSR_MSEL(IP13_30_28, SCL1_C, SEL_IIC1_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001540
1541 /* IPSR14 */
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001542 PINMUX_IPSR_GPSR(IP14_1_0, SD1_WP),
1543 PINMUX_IPSR_GPSR(IP14_1_0, PWM1_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001544 PINMUX_IPSR_MSEL(IP14_1_0, SDA1_C, SEL_IIC1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001545 PINMUX_IPSR_GPSR(IP14_2, SD2_CLK),
1546 PINMUX_IPSR_GPSR(IP14_2, MMC_CLK),
1547 PINMUX_IPSR_GPSR(IP14_3, SD2_CMD),
1548 PINMUX_IPSR_GPSR(IP14_3, MMC_CMD),
1549 PINMUX_IPSR_GPSR(IP14_4, SD2_DATA0),
1550 PINMUX_IPSR_GPSR(IP14_4, MMC_D0),
1551 PINMUX_IPSR_GPSR(IP14_5, SD2_DATA1),
1552 PINMUX_IPSR_GPSR(IP14_5, MMC_D1),
1553 PINMUX_IPSR_GPSR(IP14_6, SD2_DATA2),
1554 PINMUX_IPSR_GPSR(IP14_6, MMC_D2),
1555 PINMUX_IPSR_GPSR(IP14_7, SD2_DATA3),
1556 PINMUX_IPSR_GPSR(IP14_7, MMC_D3),
1557 PINMUX_IPSR_GPSR(IP14_10_8, SD2_CD),
1558 PINMUX_IPSR_GPSR(IP14_10_8, MMC_D4),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001559 PINMUX_IPSR_MSEL(IP14_10_8, SCL8_C, SEL_IIC8_2),
1560 PINMUX_IPSR_MSEL(IP14_10_8, TX5_B, SEL_SCIF5_1),
1561 PINMUX_IPSR_MSEL(IP14_10_8, SCIFA5_TXD_C, SEL_SCIFA5_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001562 PINMUX_IPSR_GPSR(IP14_13_11, SD2_WP),
1563 PINMUX_IPSR_GPSR(IP14_13_11, MMC_D5),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001564 PINMUX_IPSR_MSEL(IP14_13_11, SDA8_C, SEL_IIC8_2),
1565 PINMUX_IPSR_MSEL(IP14_13_11, RX5_B, SEL_SCIF5_1),
1566 PINMUX_IPSR_MSEL(IP14_13_11, SCIFA5_RXD_C, SEL_SCIFA5_2),
1567 PINMUX_IPSR_MSEL(IP14_16_14, MSIOF0_SCK, SEL_SOF0_0),
1568 PINMUX_IPSR_MSEL(IP14_16_14, RX2_C, SEL_SCIF2_2),
1569 PINMUX_IPSR_MSEL(IP14_16_14, ADIDATA, SEL_RAD_0),
1570 PINMUX_IPSR_MSEL(IP14_16_14, VI1_CLK_C, SEL_VI1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001571 PINMUX_IPSR_GPSR(IP14_16_14, VI1_G0_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001572 PINMUX_IPSR_MSEL(IP14_19_17, MSIOF0_SYNC, SEL_SOF0_0),
1573 PINMUX_IPSR_MSEL(IP14_19_17, TX2_C, SEL_SCIF2_2),
1574 PINMUX_IPSR_MSEL(IP14_19_17, ADICS_SAMP, SEL_RAD_0),
1575 PINMUX_IPSR_MSEL(IP14_19_17, VI1_CLKENB_C, SEL_VI1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001576 PINMUX_IPSR_GPSR(IP14_19_17, VI1_G1_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001577 PINMUX_IPSR_MSEL(IP14_22_20, MSIOF0_TXD, SEL_SOF0_0),
1578 PINMUX_IPSR_MSEL(IP14_22_20, ADICLK, SEL_RAD_0),
1579 PINMUX_IPSR_MSEL(IP14_22_20, VI1_FIELD_C, SEL_VI1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001580 PINMUX_IPSR_GPSR(IP14_22_20, VI1_G2_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001581 PINMUX_IPSR_MSEL(IP14_25_23, MSIOF0_RXD, SEL_SOF0_0),
1582 PINMUX_IPSR_MSEL(IP14_25_23, ADICHS0, SEL_RAD_0),
1583 PINMUX_IPSR_MSEL(IP14_25_23, VI1_DATA0_C, SEL_VI1_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001584 PINMUX_IPSR_GPSR(IP14_25_23, VI1_G3_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001585 PINMUX_IPSR_MSEL(IP14_28_26, MSIOF0_SS1, SEL_SOF0_0),
1586 PINMUX_IPSR_MSEL(IP14_28_26, MMC_D6, SEL_MMC_0),
1587 PINMUX_IPSR_MSEL(IP14_28_26, ADICHS1, SEL_RAD_0),
1588 PINMUX_IPSR_MSEL(IP14_28_26, TX0_E, SEL_SCIF0_4),
1589 PINMUX_IPSR_MSEL(IP14_28_26, VI1_HSYNC_N_C, SEL_VI1_2),
1590 PINMUX_IPSR_MSEL(IP14_28_26, SCL7_C, SEL_IIC7_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001591 PINMUX_IPSR_GPSR(IP14_28_26, VI1_G4_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001592 PINMUX_IPSR_MSEL(IP14_31_29, MSIOF0_SS2, SEL_SOF0_0),
1593 PINMUX_IPSR_MSEL(IP14_31_29, MMC_D7, SEL_MMC_0),
1594 PINMUX_IPSR_MSEL(IP14_31_29, ADICHS2, SEL_RAD_0),
1595 PINMUX_IPSR_MSEL(IP14_31_29, RX0_E, SEL_SCIF0_4),
1596 PINMUX_IPSR_MSEL(IP14_31_29, VI1_VSYNC_N_C, SEL_VI1_2),
1597 PINMUX_IPSR_MSEL(IP14_31_29, SDA7_C, SEL_IIC7_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001598 PINMUX_IPSR_GPSR(IP14_31_29, VI1_G5_B),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001599
1600 /* IPSR15 */
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001601 PINMUX_IPSR_MSEL(IP15_1_0, SIM0_RST, SEL_SIM_0),
1602 PINMUX_IPSR_MSEL(IP15_1_0, IETX, SEL_IEB_0),
1603 PINMUX_IPSR_MSEL(IP15_1_0, CAN1_TX_D, SEL_CAN1_3),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001604 PINMUX_IPSR_GPSR(IP15_3_2, SIM0_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001605 PINMUX_IPSR_MSEL(IP15_3_2, IECLK, SEL_IEB_0),
1606 PINMUX_IPSR_MSEL(IP15_3_2, CAN_CLK_C, SEL_CANCLK_2),
1607 PINMUX_IPSR_MSEL(IP15_5_4, SIM0_D, SEL_SIM_0),
1608 PINMUX_IPSR_MSEL(IP15_5_4, IERX, SEL_IEB_0),
1609 PINMUX_IPSR_MSEL(IP15_5_4, CAN1_RX_D, SEL_CAN1_3),
1610 PINMUX_IPSR_MSEL(IP15_8_6, GPS_CLK, SEL_GPS_0),
1611 PINMUX_IPSR_MSEL(IP15_8_6, DU1_DOTCLKIN_C, SEL_DIS_2),
1612 PINMUX_IPSR_MSEL(IP15_8_6, AUDIO_CLKB_B, SEL_ADG_1),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001613 PINMUX_IPSR_GPSR(IP15_8_6, PWM5_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001614 PINMUX_IPSR_MSEL(IP15_8_6, SCIFA3_TXD_C, SEL_SCIFA3_2),
1615 PINMUX_IPSR_MSEL(IP15_11_9, GPS_SIGN, SEL_GPS_0),
1616 PINMUX_IPSR_MSEL(IP15_11_9, TX4_C, SEL_SCIF4_2),
1617 PINMUX_IPSR_MSEL(IP15_11_9, SCIFA4_TXD_C, SEL_SCIFA4_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001618 PINMUX_IPSR_GPSR(IP15_11_9, PWM5),
1619 PINMUX_IPSR_GPSR(IP15_11_9, VI1_G6_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001620 PINMUX_IPSR_MSEL(IP15_11_9, SCIFA3_RXD_C, SEL_SCIFA3_2),
1621 PINMUX_IPSR_MSEL(IP15_14_12, GPS_MAG, SEL_GPS_0),
1622 PINMUX_IPSR_MSEL(IP15_14_12, RX4_C, SEL_SCIF4_2),
1623 PINMUX_IPSR_MSEL(IP15_14_12, SCIFA4_RXD_C, SEL_SCIFA4_2),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001624 PINMUX_IPSR_GPSR(IP15_14_12, PWM6),
1625 PINMUX_IPSR_GPSR(IP15_14_12, VI1_G7_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001626 PINMUX_IPSR_MSEL(IP15_14_12, SCIFA3_SCK_C, SEL_SCIFA3_2),
1627 PINMUX_IPSR_MSEL(IP15_17_15, HCTS0_N, SEL_HSCIF0_0),
1628 PINMUX_IPSR_MSEL(IP15_17_15, SCIFB0_CTS_N, SEL_SCIFB_0),
1629 PINMUX_IPSR_MSEL(IP15_17_15, GLO_I0_C, SEL_GPS_2),
1630 PINMUX_IPSR_MSEL(IP15_17_15, TCLK1, SEL_TMU1_0),
1631 PINMUX_IPSR_MSEL(IP15_17_15, VI1_DATA1_C, SEL_VI1_2),
1632 PINMUX_IPSR_MSEL(IP15_20_18, HRTS0_N, SEL_HSCIF0_0),
1633 PINMUX_IPSR_MSEL(IP15_20_18, SCIFB0_RTS_N, SEL_SCIFB_0),
1634 PINMUX_IPSR_MSEL(IP15_20_18, GLO_I1_C, SEL_GPS_2),
1635 PINMUX_IPSR_MSEL(IP15_20_18, VI1_DATA2_C, SEL_VI1_2),
1636 PINMUX_IPSR_MSEL(IP15_23_21, HSCK0, SEL_HSCIF0_0),
1637 PINMUX_IPSR_MSEL(IP15_23_21, SCIFB0_SCK, SEL_SCIFB_0),
1638 PINMUX_IPSR_MSEL(IP15_23_21, GLO_Q0_C, SEL_GPS_2),
1639 PINMUX_IPSR_MSEL(IP15_23_21, CAN_CLK, SEL_CANCLK_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001640 PINMUX_IPSR_GPSR(IP15_23_21, TCLK2),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001641 PINMUX_IPSR_MSEL(IP15_23_21, VI1_DATA3_C, SEL_VI1_2),
1642 PINMUX_IPSR_MSEL(IP15_26_24, HRX0, SEL_HSCIF0_0),
1643 PINMUX_IPSR_MSEL(IP15_26_24, SCIFB0_RXD, SEL_SCIFB_0),
1644 PINMUX_IPSR_MSEL(IP15_26_24, GLO_Q1_C, SEL_GPS_2),
1645 PINMUX_IPSR_MSEL(IP15_26_24, CAN0_RX_B, SEL_CAN0_1),
1646 PINMUX_IPSR_MSEL(IP15_26_24, VI1_DATA4_C, SEL_VI1_2),
1647 PINMUX_IPSR_MSEL(IP15_29_27, HTX0, SEL_HSCIF0_0),
1648 PINMUX_IPSR_MSEL(IP15_29_27, SCIFB0_TXD, SEL_SCIFB_0),
1649 PINMUX_IPSR_MSEL(IP15_29_27, GLO_SCLK_C, SEL_GPS_2),
1650 PINMUX_IPSR_MSEL(IP15_29_27, CAN0_TX_B, SEL_CAN0_1),
1651 PINMUX_IPSR_MSEL(IP15_29_27, VI1_DATA5_C, SEL_VI1_2),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001652
1653 /* IPSR16 */
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001654 PINMUX_IPSR_MSEL(IP16_2_0, HRX1, SEL_HSCIF1_0),
1655 PINMUX_IPSR_MSEL(IP16_2_0, SCIFB1_RXD, SEL_SCIFB1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001656 PINMUX_IPSR_GPSR(IP16_2_0, VI1_R0_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001657 PINMUX_IPSR_MSEL(IP16_2_0, GLO_SDATA_C, SEL_GPS_2),
1658 PINMUX_IPSR_MSEL(IP16_2_0, VI1_DATA6_C, SEL_VI1_2),
1659 PINMUX_IPSR_MSEL(IP16_5_3, HTX1, SEL_HSCIF1_0),
1660 PINMUX_IPSR_MSEL(IP16_5_3, SCIFB1_TXD, SEL_SCIFB1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001661 PINMUX_IPSR_GPSR(IP16_5_3, VI1_R1_B),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001662 PINMUX_IPSR_MSEL(IP16_5_3, GLO_SS_C, SEL_GPS_2),
1663 PINMUX_IPSR_MSEL(IP16_5_3, VI1_DATA7_C, SEL_VI1_2),
1664 PINMUX_IPSR_MSEL(IP16_7_6, HSCK1, SEL_HSCIF1_0),
1665 PINMUX_IPSR_MSEL(IP16_7_6, SCIFB1_SCK, SEL_SCIFB1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001666 PINMUX_IPSR_GPSR(IP16_7_6, MLB_CLK),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001667 PINMUX_IPSR_MSEL(IP16_7_6, GLO_RFON_C, SEL_GPS_2),
1668 PINMUX_IPSR_MSEL(IP16_9_8, HCTS1_N, SEL_HSCIF1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001669 PINMUX_IPSR_GPSR(IP16_9_8, SCIFB1_CTS_N),
1670 PINMUX_IPSR_GPSR(IP16_9_8, MLB_SIG),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001671 PINMUX_IPSR_MSEL(IP16_9_8, CAN1_TX_B, SEL_CAN1_1),
1672 PINMUX_IPSR_MSEL(IP16_11_10, HRTS1_N, SEL_HSCIF1_0),
Geert Uytterhoevene01678e2015-11-30 13:34:47 +01001673 PINMUX_IPSR_GPSR(IP16_11_10, SCIFB1_RTS_N),
1674 PINMUX_IPSR_GPSR(IP16_11_10, MLB_DAT),
Kuninori Morimoto13ce3c32015-09-03 02:50:16 +00001675 PINMUX_IPSR_MSEL(IP16_11_10, CAN1_RX_B, SEL_CAN1_1),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001676};
1677
Laurent Pinchart44a45b52013-12-16 20:25:17 +01001678static const struct sh_pfc_pin pinmux_pins[] = {
Hisashi Nakamura50884512013-10-17 06:46:05 +09001679 PINMUX_GPIO_GP_ALL(),
1680};
1681
Kuninori Morimotoc57a05b2014-04-13 17:24:04 -07001682/* - Audio Clock ------------------------------------------------------------ */
1683static const unsigned int audio_clk_a_pins[] = {
1684 /* CLK */
1685 RCAR_GP_PIN(2, 28),
1686};
1687
1688static const unsigned int audio_clk_a_mux[] = {
1689 AUDIO_CLKA_MARK,
1690};
1691
1692static const unsigned int audio_clk_b_pins[] = {
1693 /* CLK */
1694 RCAR_GP_PIN(2, 29),
1695};
1696
1697static const unsigned int audio_clk_b_mux[] = {
1698 AUDIO_CLKB_MARK,
1699};
1700
1701static const unsigned int audio_clk_b_b_pins[] = {
1702 /* CLK */
1703 RCAR_GP_PIN(7, 20),
1704};
1705
1706static const unsigned int audio_clk_b_b_mux[] = {
1707 AUDIO_CLKB_B_MARK,
1708};
1709
1710static const unsigned int audio_clk_c_pins[] = {
1711 /* CLK */
1712 RCAR_GP_PIN(2, 30),
1713};
1714
1715static const unsigned int audio_clk_c_mux[] = {
1716 AUDIO_CLKC_MARK,
1717};
1718
1719static const unsigned int audio_clkout_pins[] = {
1720 /* CLK */
1721 RCAR_GP_PIN(2, 31),
1722};
1723
1724static const unsigned int audio_clkout_mux[] = {
1725 AUDIO_CLKOUT_MARK,
1726};
1727
Sergei Shtylyov59508082015-12-15 01:06:55 +03001728/* - AVB -------------------------------------------------------------------- */
1729static const unsigned int avb_link_pins[] = {
1730 RCAR_GP_PIN(5, 14),
1731};
1732static const unsigned int avb_link_mux[] = {
1733 AVB_LINK_MARK,
1734};
1735static const unsigned int avb_magic_pins[] = {
1736 RCAR_GP_PIN(5, 11),
1737};
1738static const unsigned int avb_magic_mux[] = {
1739 AVB_MAGIC_MARK,
1740};
1741static const unsigned int avb_phy_int_pins[] = {
1742 RCAR_GP_PIN(5, 16),
1743};
1744static const unsigned int avb_phy_int_mux[] = {
1745 AVB_PHY_INT_MARK,
1746};
1747static const unsigned int avb_mdio_pins[] = {
1748 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 9),
1749};
1750static const unsigned int avb_mdio_mux[] = {
1751 AVB_MDC_MARK, AVB_MDIO_MARK,
1752};
1753static const unsigned int avb_mii_pins[] = {
1754 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 20),
1755 RCAR_GP_PIN(5, 21),
1756
1757 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
1758 RCAR_GP_PIN(5, 3),
1759
1760 RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 10),
1761 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 27),
1762 RCAR_GP_PIN(5, 28), RCAR_GP_PIN(5, 29),
1763};
1764static const unsigned int avb_mii_mux[] = {
1765 AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
1766 AVB_TXD3_MARK,
1767
1768 AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
1769 AVB_RXD3_MARK,
1770
1771 AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
1772 AVB_CRS_MARK, AVB_TX_EN_MARK, AVB_TX_ER_MARK,
1773 AVB_TX_CLK_MARK, AVB_COL_MARK,
1774};
1775static const unsigned int avb_gmii_pins[] = {
1776 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 20),
1777 RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
1778 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 25),
1779
1780 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
1781 RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 5),
1782 RCAR_GP_PIN(5, 6), RCAR_GP_PIN(5, 7),
1783
1784 RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 10),
1785 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 30), RCAR_GP_PIN(5, 17),
1786 RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 27), RCAR_GP_PIN(5, 28),
1787 RCAR_GP_PIN(5, 29),
1788};
1789static const unsigned int avb_gmii_mux[] = {
1790 AVB_TXD0_MARK, AVB_TXD1_MARK, AVB_TXD2_MARK,
1791 AVB_TXD3_MARK, AVB_TXD4_MARK, AVB_TXD5_MARK,
1792 AVB_TXD6_MARK, AVB_TXD7_MARK,
1793
1794 AVB_RXD0_MARK, AVB_RXD1_MARK, AVB_RXD2_MARK,
1795 AVB_RXD3_MARK, AVB_RXD4_MARK, AVB_RXD5_MARK,
1796 AVB_RXD6_MARK, AVB_RXD7_MARK,
1797
1798 AVB_RX_ER_MARK, AVB_RX_CLK_MARK, AVB_RX_DV_MARK,
1799 AVB_CRS_MARK, AVB_GTX_CLK_MARK, AVB_GTXREFCLK_MARK,
1800 AVB_TX_EN_MARK, AVB_TX_ER_MARK, AVB_TX_CLK_MARK,
1801 AVB_COL_MARK,
1802};
1803
Sergei Shtylyov0e938672014-07-02 00:58:16 +04001804/* - CAN -------------------------------------------------------------------- */
1805
1806static const unsigned int can0_data_pins[] = {
1807 /* TX, RX */
1808 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 29),
1809};
1810
1811static const unsigned int can0_data_mux[] = {
1812 CAN0_TX_MARK, CAN0_RX_MARK,
1813};
1814
1815static const unsigned int can0_data_b_pins[] = {
1816 /* TX, RX */
1817 RCAR_GP_PIN(7, 4), RCAR_GP_PIN(7, 3),
1818};
1819
1820static const unsigned int can0_data_b_mux[] = {
1821 CAN0_TX_B_MARK, CAN0_RX_B_MARK,
1822};
1823
1824static const unsigned int can0_data_c_pins[] = {
1825 /* TX, RX */
1826 RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
1827};
1828
1829static const unsigned int can0_data_c_mux[] = {
1830 CAN0_TX_C_MARK, CAN0_RX_C_MARK,
1831};
1832
1833static const unsigned int can0_data_d_pins[] = {
1834 /* TX, RX */
1835 RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 27),
1836};
1837
1838static const unsigned int can0_data_d_mux[] = {
1839 CAN0_TX_D_MARK, CAN0_RX_D_MARK,
1840};
1841
1842static const unsigned int can0_data_e_pins[] = {
1843 /* TX, RX */
1844 RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 28),
1845};
1846
1847static const unsigned int can0_data_e_mux[] = {
1848 CAN0_TX_E_MARK, CAN0_RX_E_MARK,
1849};
1850
1851static const unsigned int can0_data_f_pins[] = {
1852 /* TX, RX */
1853 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
1854};
1855
1856static const unsigned int can0_data_f_mux[] = {
1857 CAN0_TX_F_MARK, CAN0_RX_F_MARK,
1858};
1859
1860static const unsigned int can1_data_pins[] = {
1861 /* TX, RX */
1862 RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 20),
1863};
1864
1865static const unsigned int can1_data_mux[] = {
1866 CAN1_TX_MARK, CAN1_RX_MARK,
1867};
1868
1869static const unsigned int can1_data_b_pins[] = {
1870 /* TX, RX */
1871 RCAR_GP_PIN(7, 8), RCAR_GP_PIN(7, 9),
1872};
1873
1874static const unsigned int can1_data_b_mux[] = {
1875 CAN1_TX_B_MARK, CAN1_RX_B_MARK,
1876};
1877
1878static const unsigned int can1_data_c_pins[] = {
1879 /* TX, RX */
1880 RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 19),
1881};
1882
1883static const unsigned int can1_data_c_mux[] = {
1884 CAN1_TX_C_MARK, CAN1_RX_C_MARK,
1885};
1886
1887static const unsigned int can1_data_d_pins[] = {
1888 /* TX, RX */
1889 RCAR_GP_PIN(4, 29), RCAR_GP_PIN(4, 31),
1890};
1891
1892static const unsigned int can1_data_d_mux[] = {
1893 CAN1_TX_D_MARK, CAN1_RX_D_MARK,
1894};
1895
1896static const unsigned int can_clk_pins[] = {
1897 /* CLK */
1898 RCAR_GP_PIN(7, 2),
1899};
1900
1901static const unsigned int can_clk_mux[] = {
1902 CAN_CLK_MARK,
1903};
1904
1905static const unsigned int can_clk_b_pins[] = {
1906 /* CLK */
1907 RCAR_GP_PIN(5, 21),
1908};
1909
1910static const unsigned int can_clk_b_mux[] = {
1911 CAN_CLK_B_MARK,
1912};
1913
1914static const unsigned int can_clk_c_pins[] = {
1915 /* CLK */
1916 RCAR_GP_PIN(4, 30),
1917};
1918
1919static const unsigned int can_clk_c_mux[] = {
1920 CAN_CLK_C_MARK,
1921};
1922
1923static const unsigned int can_clk_d_pins[] = {
1924 /* CLK */
1925 RCAR_GP_PIN(7, 19),
1926};
1927
1928static const unsigned int can_clk_d_mux[] = {
1929 CAN_CLK_D_MARK,
1930};
Kuninori Morimotoc57a05b2014-04-13 17:24:04 -07001931
Hisashi Nakamura50884512013-10-17 06:46:05 +09001932/* - DU --------------------------------------------------------------------- */
1933static const unsigned int du_rgb666_pins[] = {
1934 /* R[7:2], G[7:2], B[7:2] */
1935 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
1936 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
1937 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
1938 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
1939 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
1940 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
1941};
1942static const unsigned int du_rgb666_mux[] = {
1943 DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
1944 DU1_DR3_MARK, DU1_DR2_MARK,
1945 DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
1946 DU1_DG3_MARK, DU1_DG2_MARK,
1947 DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
1948 DU1_DB3_MARK, DU1_DB2_MARK,
1949};
1950static const unsigned int du_rgb888_pins[] = {
1951 /* R[7:0], G[7:0], B[7:0] */
1952 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 5),
1953 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2),
1954 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
1955 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
1956 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 10),
1957 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
1958 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
1959 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 18),
1960 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
1961};
1962static const unsigned int du_rgb888_mux[] = {
1963 DU1_DR7_MARK, DU1_DR6_MARK, DU1_DR5_MARK, DU1_DR4_MARK,
1964 DU1_DR3_MARK, DU1_DR2_MARK, DU1_DR1_MARK, DU1_DR0_MARK,
1965 DU1_DG7_MARK, DU1_DG6_MARK, DU1_DG5_MARK, DU1_DG4_MARK,
1966 DU1_DG3_MARK, DU1_DG2_MARK, DU1_DG1_MARK, DU1_DG0_MARK,
1967 DU1_DB7_MARK, DU1_DB6_MARK, DU1_DB5_MARK, DU1_DB4_MARK,
1968 DU1_DB3_MARK, DU1_DB2_MARK, DU1_DB1_MARK, DU1_DB0_MARK,
1969};
1970static const unsigned int du_clk_out_0_pins[] = {
1971 /* CLKOUT */
1972 RCAR_GP_PIN(3, 25),
1973};
1974static const unsigned int du_clk_out_0_mux[] = {
1975 DU1_DOTCLKOUT0_MARK
1976};
1977static const unsigned int du_clk_out_1_pins[] = {
1978 /* CLKOUT */
1979 RCAR_GP_PIN(3, 26),
1980};
1981static const unsigned int du_clk_out_1_mux[] = {
1982 DU1_DOTCLKOUT1_MARK
1983};
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01001984static const unsigned int du_sync_pins[] = {
Laurent Pinchartd10046e2014-04-01 12:59:09 +02001985 /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */
1986 RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001987};
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01001988static const unsigned int du_sync_mux[] = {
Hisashi Nakamura50884512013-10-17 06:46:05 +09001989 DU1_EXVSYNC_DU1_VSYNC_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK
1990};
Laurent Pinchartd10046e2014-04-01 12:59:09 +02001991static const unsigned int du_oddf_pins[] = {
1992 /* EXDISP/EXODDF/EXCDE */
1993 RCAR_GP_PIN(3, 29),
Hisashi Nakamura50884512013-10-17 06:46:05 +09001994};
Laurent Pinchartd10046e2014-04-01 12:59:09 +02001995static const unsigned int du_oddf_mux[] = {
1996 DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
1997};
1998static const unsigned int du_cde_pins[] = {
1999 /* CDE */
2000 RCAR_GP_PIN(3, 31),
2001};
2002static const unsigned int du_cde_mux[] = {
2003 DU1_CDE_MARK,
2004};
2005static const unsigned int du_disp_pins[] = {
2006 /* DISP */
2007 RCAR_GP_PIN(3, 30),
2008};
2009static const unsigned int du_disp_mux[] = {
2010 DU1_DISP_MARK,
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01002011};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002012static const unsigned int du0_clk_in_pins[] = {
2013 /* CLKIN */
2014 RCAR_GP_PIN(6, 31),
2015};
2016static const unsigned int du0_clk_in_mux[] = {
2017 DU0_DOTCLKIN_MARK
2018};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002019static const unsigned int du1_clk_in_pins[] = {
2020 /* CLKIN */
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01002021 RCAR_GP_PIN(3, 24),
Hisashi Nakamura50884512013-10-17 06:46:05 +09002022};
2023static const unsigned int du1_clk_in_mux[] = {
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01002024 DU1_DOTCLKIN_MARK
2025};
2026static const unsigned int du1_clk_in_b_pins[] = {
2027 /* CLKIN */
2028 RCAR_GP_PIN(7, 19),
2029};
2030static const unsigned int du1_clk_in_b_mux[] = {
2031 DU1_DOTCLKIN_B_MARK,
2032};
2033static const unsigned int du1_clk_in_c_pins[] = {
2034 /* CLKIN */
2035 RCAR_GP_PIN(7, 20),
2036};
2037static const unsigned int du1_clk_in_c_mux[] = {
2038 DU1_DOTCLKIN_C_MARK,
Hisashi Nakamura50884512013-10-17 06:46:05 +09002039};
2040/* - ETH -------------------------------------------------------------------- */
2041static const unsigned int eth_link_pins[] = {
2042 /* LINK */
2043 RCAR_GP_PIN(5, 18),
2044};
2045static const unsigned int eth_link_mux[] = {
2046 ETH_LINK_MARK,
2047};
2048static const unsigned int eth_magic_pins[] = {
2049 /* MAGIC */
2050 RCAR_GP_PIN(5, 22),
2051};
2052static const unsigned int eth_magic_mux[] = {
2053 ETH_MAGIC_MARK,
2054};
2055static const unsigned int eth_mdio_pins[] = {
2056 /* MDC, MDIO */
2057 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 13),
2058};
2059static const unsigned int eth_mdio_mux[] = {
2060 ETH_MDC_MARK, ETH_MDIO_MARK,
2061};
2062static const unsigned int eth_rmii_pins[] = {
2063 /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
2064 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 15),
2065 RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 23), RCAR_GP_PIN(5, 20),
2066 RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 19),
2067};
2068static const unsigned int eth_rmii_mux[] = {
2069 ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
2070 ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REFCLK_MARK,
2071};
Nobuhiro Iwamatsu7d98fd32014-06-10 11:37:15 +09002072
2073/* - HSCIF0 ----------------------------------------------------------------- */
2074static const unsigned int hscif0_data_pins[] = {
2075 /* RX, TX */
2076 RCAR_GP_PIN(7, 3), RCAR_GP_PIN(7, 4),
2077};
2078static const unsigned int hscif0_data_mux[] = {
2079 HRX0_MARK, HTX0_MARK,
2080};
2081static const unsigned int hscif0_clk_pins[] = {
2082 /* SCK */
2083 RCAR_GP_PIN(7, 2),
2084};
2085static const unsigned int hscif0_clk_mux[] = {
2086 HSCK0_MARK,
2087};
2088static const unsigned int hscif0_ctrl_pins[] = {
2089 /* RTS, CTS */
2090 RCAR_GP_PIN(7, 1), RCAR_GP_PIN(7, 0),
2091};
2092static const unsigned int hscif0_ctrl_mux[] = {
2093 HRTS0_N_MARK, HCTS0_N_MARK,
2094};
2095static const unsigned int hscif0_data_b_pins[] = {
2096 /* RX, TX */
2097 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 15),
2098};
2099static const unsigned int hscif0_data_b_mux[] = {
2100 HRX0_B_MARK, HTX0_B_MARK,
2101};
2102static const unsigned int hscif0_ctrl_b_pins[] = {
2103 /* RTS, CTS */
2104 RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13),
2105};
2106static const unsigned int hscif0_ctrl_b_mux[] = {
2107 HRTS0_N_B_MARK, HCTS0_N_B_MARK,
2108};
2109static const unsigned int hscif0_data_c_pins[] = {
2110 /* RX, TX */
2111 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
2112};
2113static const unsigned int hscif0_data_c_mux[] = {
2114 HRX0_C_MARK, HTX0_C_MARK,
2115};
2116static const unsigned int hscif0_clk_c_pins[] = {
2117 /* SCK */
2118 RCAR_GP_PIN(5, 31),
2119};
2120static const unsigned int hscif0_clk_c_mux[] = {
2121 HSCK0_C_MARK,
2122};
2123/* - HSCIF1 ----------------------------------------------------------------- */
2124static const unsigned int hscif1_data_pins[] = {
2125 /* RX, TX */
2126 RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
2127};
2128static const unsigned int hscif1_data_mux[] = {
2129 HRX1_MARK, HTX1_MARK,
2130};
2131static const unsigned int hscif1_clk_pins[] = {
2132 /* SCK */
2133 RCAR_GP_PIN(7, 7),
2134};
2135static const unsigned int hscif1_clk_mux[] = {
2136 HSCK1_MARK,
2137};
2138static const unsigned int hscif1_ctrl_pins[] = {
2139 /* RTS, CTS */
2140 RCAR_GP_PIN(7, 9), RCAR_GP_PIN(7, 8),
2141};
2142static const unsigned int hscif1_ctrl_mux[] = {
2143 HRTS1_N_MARK, HCTS1_N_MARK,
2144};
2145static const unsigned int hscif1_data_b_pins[] = {
2146 /* RX, TX */
2147 RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18),
2148};
2149static const unsigned int hscif1_data_b_mux[] = {
2150 HRX1_B_MARK, HTX1_B_MARK,
2151};
2152static const unsigned int hscif1_data_c_pins[] = {
2153 /* RX, TX */
2154 RCAR_GP_PIN(7, 14), RCAR_GP_PIN(7, 15),
2155};
2156static const unsigned int hscif1_data_c_mux[] = {
2157 HRX1_C_MARK, HTX1_C_MARK,
2158};
2159static const unsigned int hscif1_clk_c_pins[] = {
2160 /* SCK */
2161 RCAR_GP_PIN(7, 16),
2162};
2163static const unsigned int hscif1_clk_c_mux[] = {
2164 HSCK1_C_MARK,
2165};
2166static const unsigned int hscif1_ctrl_c_pins[] = {
2167 /* RTS, CTS */
2168 RCAR_GP_PIN(7, 18), RCAR_GP_PIN(7, 17),
2169};
2170static const unsigned int hscif1_ctrl_c_mux[] = {
2171 HRTS1_N_C_MARK, HCTS1_N_C_MARK,
2172};
2173static const unsigned int hscif1_data_d_pins[] = {
2174 /* RX, TX */
2175 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 18),
2176};
2177static const unsigned int hscif1_data_d_mux[] = {
2178 HRX1_D_MARK, HTX1_D_MARK,
2179};
2180static const unsigned int hscif1_data_e_pins[] = {
2181 /* RX, TX */
2182 RCAR_GP_PIN(7, 14), RCAR_GP_PIN(7, 15),
2183};
2184static const unsigned int hscif1_data_e_mux[] = {
2185 HRX1_C_MARK, HTX1_C_MARK,
2186};
2187static const unsigned int hscif1_clk_e_pins[] = {
2188 /* SCK */
2189 RCAR_GP_PIN(2, 6),
2190};
2191static const unsigned int hscif1_clk_e_mux[] = {
2192 HSCK1_E_MARK,
2193};
2194static const unsigned int hscif1_ctrl_e_pins[] = {
2195 /* RTS, CTS */
2196 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 7),
2197};
2198static const unsigned int hscif1_ctrl_e_mux[] = {
2199 HRTS1_N_E_MARK, HCTS1_N_E_MARK,
2200};
2201/* - HSCIF2 ----------------------------------------------------------------- */
2202static const unsigned int hscif2_data_pins[] = {
2203 /* RX, TX */
2204 RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
2205};
2206static const unsigned int hscif2_data_mux[] = {
2207 HRX2_MARK, HTX2_MARK,
2208};
2209static const unsigned int hscif2_clk_pins[] = {
2210 /* SCK */
2211 RCAR_GP_PIN(4, 15),
2212};
2213static const unsigned int hscif2_clk_mux[] = {
2214 HSCK2_MARK,
2215};
2216static const unsigned int hscif2_ctrl_pins[] = {
2217 /* RTS, CTS */
2218 RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
2219};
2220static const unsigned int hscif2_ctrl_mux[] = {
2221 HRTS2_N_MARK, HCTS2_N_MARK,
2222};
2223static const unsigned int hscif2_data_b_pins[] = {
2224 /* RX, TX */
2225 RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 22),
2226};
2227static const unsigned int hscif2_data_b_mux[] = {
2228 HRX2_B_MARK, HTX2_B_MARK,
2229};
2230static const unsigned int hscif2_ctrl_b_pins[] = {
2231 /* RTS, CTS */
2232 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 21),
2233};
2234static const unsigned int hscif2_ctrl_b_mux[] = {
2235 HRTS2_N_B_MARK, HCTS2_N_B_MARK,
2236};
2237static const unsigned int hscif2_data_c_pins[] = {
2238 /* RX, TX */
2239 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
2240};
2241static const unsigned int hscif2_data_c_mux[] = {
2242 HRX2_C_MARK, HTX2_C_MARK,
2243};
2244static const unsigned int hscif2_clk_c_pins[] = {
2245 /* SCK */
2246 RCAR_GP_PIN(5, 31),
2247};
2248static const unsigned int hscif2_clk_c_mux[] = {
2249 HSCK2_C_MARK,
2250};
2251static const unsigned int hscif2_data_d_pins[] = {
2252 /* RX, TX */
2253 RCAR_GP_PIN(1, 20), RCAR_GP_PIN(5, 31),
2254};
2255static const unsigned int hscif2_data_d_mux[] = {
2256 HRX2_B_MARK, HTX2_D_MARK,
2257};
Valentine Barshaka5ffaf62013-12-27 15:27:37 +04002258/* - I2C0 ------------------------------------------------------------------- */
2259static const unsigned int i2c0_pins[] = {
2260 /* SCL, SDA */
2261 RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
2262};
2263static const unsigned int i2c0_mux[] = {
2264 SCL0_MARK, SDA0_MARK,
2265};
2266static const unsigned int i2c0_b_pins[] = {
2267 /* SCL, SDA */
2268 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
2269};
2270static const unsigned int i2c0_b_mux[] = {
2271 SCL0_B_MARK, SDA0_B_MARK,
2272};
2273static const unsigned int i2c0_c_pins[] = {
2274 /* SCL, SDA */
2275 RCAR_GP_PIN(0, 16), RCAR_GP_PIN(1, 1),
2276};
2277static const unsigned int i2c0_c_mux[] = {
2278 SCL0_C_MARK, SDA0_C_MARK,
2279};
2280/* - I2C1 ------------------------------------------------------------------- */
2281static const unsigned int i2c1_pins[] = {
2282 /* SCL, SDA */
2283 RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 11),
2284};
2285static const unsigned int i2c1_mux[] = {
2286 SCL1_MARK, SDA1_MARK,
2287};
2288static const unsigned int i2c1_b_pins[] = {
2289 /* SCL, SDA */
2290 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
2291};
2292static const unsigned int i2c1_b_mux[] = {
2293 SCL1_B_MARK, SDA1_B_MARK,
2294};
2295static const unsigned int i2c1_c_pins[] = {
2296 /* SCL, SDA */
2297 RCAR_GP_PIN(6, 14), RCAR_GP_PIN(6, 15),
2298};
2299static const unsigned int i2c1_c_mux[] = {
2300 SCL1_C_MARK, SDA1_C_MARK,
2301};
2302static const unsigned int i2c1_d_pins[] = {
2303 /* SCL, SDA */
2304 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
2305};
2306static const unsigned int i2c1_d_mux[] = {
2307 SCL1_D_MARK, SDA1_D_MARK,
2308};
2309static const unsigned int i2c1_e_pins[] = {
2310 /* SCL, SDA */
2311 RCAR_GP_PIN(7, 15), RCAR_GP_PIN(7, 16),
2312};
2313static const unsigned int i2c1_e_mux[] = {
2314 SCL1_E_MARK, SDA1_E_MARK,
2315};
2316/* - I2C2 ------------------------------------------------------------------- */
2317static const unsigned int i2c2_pins[] = {
2318 /* SCL, SDA */
2319 RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7),
2320};
2321static const unsigned int i2c2_mux[] = {
2322 SCL2_MARK, SDA2_MARK,
2323};
2324static const unsigned int i2c2_b_pins[] = {
2325 /* SCL, SDA */
2326 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 29),
2327};
2328static const unsigned int i2c2_b_mux[] = {
2329 SCL2_B_MARK, SDA2_B_MARK,
2330};
2331static const unsigned int i2c2_c_pins[] = {
2332 /* SCL, SDA */
2333 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
2334};
2335static const unsigned int i2c2_c_mux[] = {
2336 SCL2_C_MARK, SDA2_C_MARK,
2337};
2338static const unsigned int i2c2_d_pins[] = {
2339 /* SCL, SDA */
2340 RCAR_GP_PIN(5, 17), RCAR_GP_PIN(5, 18),
2341};
2342static const unsigned int i2c2_d_mux[] = {
2343 SCL2_D_MARK, SDA2_D_MARK,
2344};
2345/* - I2C3 ------------------------------------------------------------------- */
2346static const unsigned int i2c3_pins[] = {
2347 /* SCL, SDA */
2348 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
2349};
2350static const unsigned int i2c3_mux[] = {
2351 SCL3_MARK, SDA3_MARK,
2352};
2353static const unsigned int i2c3_b_pins[] = {
2354 /* SCL, SDA */
2355 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
2356};
2357static const unsigned int i2c3_b_mux[] = {
2358 SCL3_B_MARK, SDA3_B_MARK,
2359};
2360static const unsigned int i2c3_c_pins[] = {
2361 /* SCL, SDA */
2362 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
2363};
2364static const unsigned int i2c3_c_mux[] = {
2365 SCL3_C_MARK, SDA3_C_MARK,
2366};
2367static const unsigned int i2c3_d_pins[] = {
2368 /* SCL, SDA */
2369 RCAR_GP_PIN(0, 27), RCAR_GP_PIN(0, 28),
2370};
2371static const unsigned int i2c3_d_mux[] = {
2372 SCL3_D_MARK, SDA3_D_MARK,
2373};
2374/* - I2C4 ------------------------------------------------------------------- */
2375static const unsigned int i2c4_pins[] = {
2376 /* SCL, SDA */
2377 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
2378};
2379static const unsigned int i2c4_mux[] = {
2380 SCL4_MARK, SDA4_MARK,
2381};
2382static const unsigned int i2c4_b_pins[] = {
2383 /* SCL, SDA */
2384 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
2385};
2386static const unsigned int i2c4_b_mux[] = {
2387 SCL4_B_MARK, SDA4_B_MARK,
2388};
2389static const unsigned int i2c4_c_pins[] = {
2390 /* SCL, SDA */
2391 RCAR_GP_PIN(7, 13), RCAR_GP_PIN(7, 14),
2392};
2393static const unsigned int i2c4_c_mux[] = {
2394 SCL4_C_MARK, SDA4_C_MARK,
2395};
Wolfram Sang67871412014-02-23 13:38:12 +01002396/* - I2C7 ------------------------------------------------------------------- */
2397static const unsigned int i2c7_pins[] = {
2398 /* SCL, SDA */
2399 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
2400};
2401static const unsigned int i2c7_mux[] = {
2402 SCL7_MARK, SDA7_MARK,
2403};
2404static const unsigned int i2c7_b_pins[] = {
2405 /* SCL, SDA */
2406 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3),
2407};
2408static const unsigned int i2c7_b_mux[] = {
2409 SCL7_B_MARK, SDA7_B_MARK,
2410};
2411static const unsigned int i2c7_c_pins[] = {
2412 /* SCL, SDA */
2413 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
2414};
2415static const unsigned int i2c7_c_mux[] = {
2416 SCL7_C_MARK, SDA7_C_MARK,
2417};
2418/* - I2C8 ------------------------------------------------------------------- */
2419static const unsigned int i2c8_pins[] = {
2420 /* SCL, SDA */
2421 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
2422};
2423static const unsigned int i2c8_mux[] = {
2424 SCL8_MARK, SDA8_MARK,
2425};
2426static const unsigned int i2c8_b_pins[] = {
2427 /* SCL, SDA */
2428 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5),
2429};
2430static const unsigned int i2c8_b_mux[] = {
2431 SCL8_B_MARK, SDA8_B_MARK,
2432};
2433static const unsigned int i2c8_c_pins[] = {
2434 /* SCL, SDA */
2435 RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
2436};
2437static const unsigned int i2c8_c_mux[] = {
2438 SCL8_C_MARK, SDA8_C_MARK,
2439};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002440/* - INTC ------------------------------------------------------------------- */
2441static const unsigned int intc_irq0_pins[] = {
2442 /* IRQ */
2443 RCAR_GP_PIN(7, 10),
2444};
2445static const unsigned int intc_irq0_mux[] = {
2446 IRQ0_MARK,
2447};
2448static const unsigned int intc_irq1_pins[] = {
2449 /* IRQ */
2450 RCAR_GP_PIN(7, 11),
2451};
2452static const unsigned int intc_irq1_mux[] = {
2453 IRQ1_MARK,
2454};
2455static const unsigned int intc_irq2_pins[] = {
2456 /* IRQ */
2457 RCAR_GP_PIN(7, 12),
2458};
2459static const unsigned int intc_irq2_mux[] = {
2460 IRQ2_MARK,
2461};
2462static const unsigned int intc_irq3_pins[] = {
2463 /* IRQ */
2464 RCAR_GP_PIN(7, 13),
2465};
2466static const unsigned int intc_irq3_mux[] = {
2467 IRQ3_MARK,
2468};
Sergei Shtylyov8271ee92015-01-10 21:22:36 +03002469/* - MLB+ ------------------------------------------------------------------- */
2470static const unsigned int mlb_3pin_pins[] = {
2471 RCAR_GP_PIN(7, 7), RCAR_GP_PIN(7, 8), RCAR_GP_PIN(7, 9),
2472};
2473static const unsigned int mlb_3pin_mux[] = {
2474 MLB_CLK_MARK, MLB_SIG_MARK, MLB_DAT_MARK,
2475};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002476/* - MMCIF ------------------------------------------------------------------ */
2477static const unsigned int mmc_data1_pins[] = {
2478 /* D[0] */
2479 RCAR_GP_PIN(6, 18),
2480};
2481static const unsigned int mmc_data1_mux[] = {
2482 MMC_D0_MARK,
2483};
2484static const unsigned int mmc_data4_pins[] = {
2485 /* D[0:3] */
2486 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
2487 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
2488};
2489static const unsigned int mmc_data4_mux[] = {
2490 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
2491};
2492static const unsigned int mmc_data8_pins[] = {
2493 /* D[0:7] */
2494 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
2495 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
2496 RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
2497 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
2498};
2499static const unsigned int mmc_data8_mux[] = {
2500 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
2501 MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
2502};
2503static const unsigned int mmc_ctrl_pins[] = {
2504 /* CLK, CMD */
2505 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
2506};
2507static const unsigned int mmc_ctrl_mux[] = {
2508 MMC_CLK_MARK, MMC_CMD_MARK,
2509};
2510/* - MSIOF0 ----------------------------------------------------------------- */
2511static const unsigned int msiof0_clk_pins[] = {
2512 /* SCK */
2513 RCAR_GP_PIN(6, 24),
2514};
2515static const unsigned int msiof0_clk_mux[] = {
2516 MSIOF0_SCK_MARK,
2517};
2518static const unsigned int msiof0_sync_pins[] = {
2519 /* SYNC */
2520 RCAR_GP_PIN(6, 25),
2521};
2522static const unsigned int msiof0_sync_mux[] = {
2523 MSIOF0_SYNC_MARK,
2524};
2525static const unsigned int msiof0_ss1_pins[] = {
2526 /* SS1 */
2527 RCAR_GP_PIN(6, 28),
2528};
2529static const unsigned int msiof0_ss1_mux[] = {
2530 MSIOF0_SS1_MARK,
2531};
2532static const unsigned int msiof0_ss2_pins[] = {
2533 /* SS2 */
2534 RCAR_GP_PIN(6, 29),
2535};
2536static const unsigned int msiof0_ss2_mux[] = {
2537 MSIOF0_SS2_MARK,
2538};
2539static const unsigned int msiof0_rx_pins[] = {
2540 /* RXD */
2541 RCAR_GP_PIN(6, 27),
2542};
2543static const unsigned int msiof0_rx_mux[] = {
2544 MSIOF0_RXD_MARK,
2545};
2546static const unsigned int msiof0_tx_pins[] = {
2547 /* TXD */
2548 RCAR_GP_PIN(6, 26),
2549};
2550static const unsigned int msiof0_tx_mux[] = {
2551 MSIOF0_TXD_MARK,
2552};
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01002553
2554static const unsigned int msiof0_clk_b_pins[] = {
2555 /* SCK */
2556 RCAR_GP_PIN(0, 16),
2557};
2558static const unsigned int msiof0_clk_b_mux[] = {
2559 MSIOF0_SCK_B_MARK,
2560};
2561static const unsigned int msiof0_sync_b_pins[] = {
2562 /* SYNC */
2563 RCAR_GP_PIN(0, 17),
2564};
2565static const unsigned int msiof0_sync_b_mux[] = {
2566 MSIOF0_SYNC_B_MARK,
2567};
2568static const unsigned int msiof0_ss1_b_pins[] = {
2569 /* SS1 */
2570 RCAR_GP_PIN(0, 18),
2571};
2572static const unsigned int msiof0_ss1_b_mux[] = {
2573 MSIOF0_SS1_B_MARK,
2574};
2575static const unsigned int msiof0_ss2_b_pins[] = {
2576 /* SS2 */
2577 RCAR_GP_PIN(0, 19),
2578};
2579static const unsigned int msiof0_ss2_b_mux[] = {
2580 MSIOF0_SS2_B_MARK,
2581};
2582static const unsigned int msiof0_rx_b_pins[] = {
2583 /* RXD */
2584 RCAR_GP_PIN(0, 21),
2585};
2586static const unsigned int msiof0_rx_b_mux[] = {
2587 MSIOF0_RXD_B_MARK,
2588};
2589static const unsigned int msiof0_tx_b_pins[] = {
2590 /* TXD */
2591 RCAR_GP_PIN(0, 20),
2592};
2593static const unsigned int msiof0_tx_b_mux[] = {
2594 MSIOF0_TXD_B_MARK,
2595};
2596
2597static const unsigned int msiof0_clk_c_pins[] = {
2598 /* SCK */
2599 RCAR_GP_PIN(5, 26),
2600};
2601static const unsigned int msiof0_clk_c_mux[] = {
2602 MSIOF0_SCK_C_MARK,
2603};
2604static const unsigned int msiof0_sync_c_pins[] = {
2605 /* SYNC */
2606 RCAR_GP_PIN(5, 25),
2607};
2608static const unsigned int msiof0_sync_c_mux[] = {
2609 MSIOF0_SYNC_C_MARK,
2610};
2611static const unsigned int msiof0_ss1_c_pins[] = {
2612 /* SS1 */
2613 RCAR_GP_PIN(5, 27),
2614};
2615static const unsigned int msiof0_ss1_c_mux[] = {
2616 MSIOF0_SS1_C_MARK,
2617};
2618static const unsigned int msiof0_ss2_c_pins[] = {
2619 /* SS2 */
2620 RCAR_GP_PIN(5, 28),
2621};
2622static const unsigned int msiof0_ss2_c_mux[] = {
2623 MSIOF0_SS2_C_MARK,
2624};
2625static const unsigned int msiof0_rx_c_pins[] = {
2626 /* RXD */
2627 RCAR_GP_PIN(5, 29),
2628};
2629static const unsigned int msiof0_rx_c_mux[] = {
2630 MSIOF0_RXD_C_MARK,
2631};
2632static const unsigned int msiof0_tx_c_pins[] = {
2633 /* TXD */
2634 RCAR_GP_PIN(5, 30),
2635};
2636static const unsigned int msiof0_tx_c_mux[] = {
2637 MSIOF0_TXD_C_MARK,
2638};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002639/* - MSIOF1 ----------------------------------------------------------------- */
2640static const unsigned int msiof1_clk_pins[] = {
2641 /* SCK */
2642 RCAR_GP_PIN(0, 22),
2643};
2644static const unsigned int msiof1_clk_mux[] = {
2645 MSIOF1_SCK_MARK,
2646};
2647static const unsigned int msiof1_sync_pins[] = {
2648 /* SYNC */
2649 RCAR_GP_PIN(0, 23),
2650};
2651static const unsigned int msiof1_sync_mux[] = {
2652 MSIOF1_SYNC_MARK,
2653};
2654static const unsigned int msiof1_ss1_pins[] = {
2655 /* SS1 */
2656 RCAR_GP_PIN(0, 24),
2657};
2658static const unsigned int msiof1_ss1_mux[] = {
2659 MSIOF1_SS1_MARK,
2660};
2661static const unsigned int msiof1_ss2_pins[] = {
2662 /* SS2 */
2663 RCAR_GP_PIN(0, 25),
2664};
2665static const unsigned int msiof1_ss2_mux[] = {
2666 MSIOF1_SS2_MARK,
2667};
2668static const unsigned int msiof1_rx_pins[] = {
2669 /* RXD */
2670 RCAR_GP_PIN(0, 27),
2671};
2672static const unsigned int msiof1_rx_mux[] = {
2673 MSIOF1_RXD_MARK,
2674};
2675static const unsigned int msiof1_tx_pins[] = {
2676 /* TXD */
2677 RCAR_GP_PIN(0, 26),
2678};
2679static const unsigned int msiof1_tx_mux[] = {
2680 MSIOF1_TXD_MARK,
2681};
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01002682
2683static const unsigned int msiof1_clk_b_pins[] = {
2684 /* SCK */
2685 RCAR_GP_PIN(2, 29),
2686};
2687static const unsigned int msiof1_clk_b_mux[] = {
2688 MSIOF1_SCK_B_MARK,
2689};
2690static const unsigned int msiof1_sync_b_pins[] = {
2691 /* SYNC */
2692 RCAR_GP_PIN(2, 30),
2693};
2694static const unsigned int msiof1_sync_b_mux[] = {
2695 MSIOF1_SYNC_B_MARK,
2696};
2697static const unsigned int msiof1_ss1_b_pins[] = {
2698 /* SS1 */
2699 RCAR_GP_PIN(2, 31),
2700};
2701static const unsigned int msiof1_ss1_b_mux[] = {
2702 MSIOF1_SS1_B_MARK,
2703};
2704static const unsigned int msiof1_ss2_b_pins[] = {
2705 /* SS2 */
2706 RCAR_GP_PIN(7, 16),
2707};
2708static const unsigned int msiof1_ss2_b_mux[] = {
2709 MSIOF1_SS2_B_MARK,
2710};
2711static const unsigned int msiof1_rx_b_pins[] = {
2712 /* RXD */
2713 RCAR_GP_PIN(7, 18),
2714};
2715static const unsigned int msiof1_rx_b_mux[] = {
2716 MSIOF1_RXD_B_MARK,
2717};
2718static const unsigned int msiof1_tx_b_pins[] = {
2719 /* TXD */
2720 RCAR_GP_PIN(7, 17),
2721};
2722static const unsigned int msiof1_tx_b_mux[] = {
2723 MSIOF1_TXD_B_MARK,
2724};
2725
2726static const unsigned int msiof1_clk_c_pins[] = {
2727 /* SCK */
2728 RCAR_GP_PIN(2, 15),
2729};
2730static const unsigned int msiof1_clk_c_mux[] = {
2731 MSIOF1_SCK_C_MARK,
2732};
2733static const unsigned int msiof1_sync_c_pins[] = {
2734 /* SYNC */
2735 RCAR_GP_PIN(2, 16),
2736};
2737static const unsigned int msiof1_sync_c_mux[] = {
2738 MSIOF1_SYNC_C_MARK,
2739};
2740static const unsigned int msiof1_rx_c_pins[] = {
2741 /* RXD */
2742 RCAR_GP_PIN(2, 18),
2743};
2744static const unsigned int msiof1_rx_c_mux[] = {
2745 MSIOF1_RXD_C_MARK,
2746};
2747static const unsigned int msiof1_tx_c_pins[] = {
2748 /* TXD */
2749 RCAR_GP_PIN(2, 17),
2750};
2751static const unsigned int msiof1_tx_c_mux[] = {
2752 MSIOF1_TXD_C_MARK,
2753};
2754
2755static const unsigned int msiof1_clk_d_pins[] = {
2756 /* SCK */
2757 RCAR_GP_PIN(0, 28),
2758};
2759static const unsigned int msiof1_clk_d_mux[] = {
2760 MSIOF1_SCK_D_MARK,
2761};
2762static const unsigned int msiof1_sync_d_pins[] = {
2763 /* SYNC */
2764 RCAR_GP_PIN(0, 30),
2765};
2766static const unsigned int msiof1_sync_d_mux[] = {
2767 MSIOF1_SYNC_D_MARK,
2768};
2769static const unsigned int msiof1_ss1_d_pins[] = {
2770 /* SS1 */
2771 RCAR_GP_PIN(0, 29),
2772};
2773static const unsigned int msiof1_ss1_d_mux[] = {
2774 MSIOF1_SS1_D_MARK,
2775};
2776static const unsigned int msiof1_rx_d_pins[] = {
2777 /* RXD */
2778 RCAR_GP_PIN(0, 27),
2779};
2780static const unsigned int msiof1_rx_d_mux[] = {
2781 MSIOF1_RXD_D_MARK,
2782};
2783static const unsigned int msiof1_tx_d_pins[] = {
2784 /* TXD */
2785 RCAR_GP_PIN(0, 26),
2786};
2787static const unsigned int msiof1_tx_d_mux[] = {
2788 MSIOF1_TXD_D_MARK,
2789};
2790
2791static const unsigned int msiof1_clk_e_pins[] = {
2792 /* SCK */
2793 RCAR_GP_PIN(5, 18),
2794};
2795static const unsigned int msiof1_clk_e_mux[] = {
2796 MSIOF1_SCK_E_MARK,
2797};
2798static const unsigned int msiof1_sync_e_pins[] = {
2799 /* SYNC */
2800 RCAR_GP_PIN(5, 19),
2801};
2802static const unsigned int msiof1_sync_e_mux[] = {
2803 MSIOF1_SYNC_E_MARK,
2804};
2805static const unsigned int msiof1_rx_e_pins[] = {
2806 /* RXD */
2807 RCAR_GP_PIN(5, 17),
2808};
2809static const unsigned int msiof1_rx_e_mux[] = {
2810 MSIOF1_RXD_E_MARK,
2811};
2812static const unsigned int msiof1_tx_e_pins[] = {
2813 /* TXD */
2814 RCAR_GP_PIN(5, 20),
2815};
2816static const unsigned int msiof1_tx_e_mux[] = {
2817 MSIOF1_TXD_E_MARK,
2818};
Hisashi Nakamura50884512013-10-17 06:46:05 +09002819/* - MSIOF2 ----------------------------------------------------------------- */
2820static const unsigned int msiof2_clk_pins[] = {
2821 /* SCK */
2822 RCAR_GP_PIN(1, 13),
2823};
2824static const unsigned int msiof2_clk_mux[] = {
2825 MSIOF2_SCK_MARK,
2826};
2827static const unsigned int msiof2_sync_pins[] = {
2828 /* SYNC */
2829 RCAR_GP_PIN(1, 14),
2830};
2831static const unsigned int msiof2_sync_mux[] = {
2832 MSIOF2_SYNC_MARK,
2833};
2834static const unsigned int msiof2_ss1_pins[] = {
2835 /* SS1 */
2836 RCAR_GP_PIN(1, 17),
2837};
2838static const unsigned int msiof2_ss1_mux[] = {
2839 MSIOF2_SS1_MARK,
2840};
2841static const unsigned int msiof2_ss2_pins[] = {
2842 /* SS2 */
2843 RCAR_GP_PIN(1, 18),
2844};
2845static const unsigned int msiof2_ss2_mux[] = {
2846 MSIOF2_SS2_MARK,
2847};
2848static const unsigned int msiof2_rx_pins[] = {
2849 /* RXD */
2850 RCAR_GP_PIN(1, 16),
2851};
2852static const unsigned int msiof2_rx_mux[] = {
2853 MSIOF2_RXD_MARK,
2854};
2855static const unsigned int msiof2_tx_pins[] = {
2856 /* TXD */
2857 RCAR_GP_PIN(1, 15),
2858};
2859static const unsigned int msiof2_tx_mux[] = {
2860 MSIOF2_TXD_MARK,
2861};
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01002862
2863static const unsigned int msiof2_clk_b_pins[] = {
2864 /* SCK */
2865 RCAR_GP_PIN(3, 0),
2866};
2867static const unsigned int msiof2_clk_b_mux[] = {
2868 MSIOF2_SCK_B_MARK,
2869};
2870static const unsigned int msiof2_sync_b_pins[] = {
2871 /* SYNC */
2872 RCAR_GP_PIN(3, 1),
2873};
2874static const unsigned int msiof2_sync_b_mux[] = {
2875 MSIOF2_SYNC_B_MARK,
2876};
2877static const unsigned int msiof2_ss1_b_pins[] = {
2878 /* SS1 */
2879 RCAR_GP_PIN(3, 8),
2880};
2881static const unsigned int msiof2_ss1_b_mux[] = {
2882 MSIOF2_SS1_B_MARK,
2883};
2884static const unsigned int msiof2_ss2_b_pins[] = {
2885 /* SS2 */
2886 RCAR_GP_PIN(3, 9),
2887};
2888static const unsigned int msiof2_ss2_b_mux[] = {
2889 MSIOF2_SS2_B_MARK,
2890};
2891static const unsigned int msiof2_rx_b_pins[] = {
2892 /* RXD */
2893 RCAR_GP_PIN(3, 17),
2894};
2895static const unsigned int msiof2_rx_b_mux[] = {
2896 MSIOF2_RXD_B_MARK,
2897};
2898static const unsigned int msiof2_tx_b_pins[] = {
2899 /* TXD */
2900 RCAR_GP_PIN(3, 16),
2901};
2902static const unsigned int msiof2_tx_b_mux[] = {
2903 MSIOF2_TXD_B_MARK,
2904};
2905
2906static const unsigned int msiof2_clk_c_pins[] = {
2907 /* SCK */
2908 RCAR_GP_PIN(2, 2),
2909};
2910static const unsigned int msiof2_clk_c_mux[] = {
2911 MSIOF2_SCK_C_MARK,
2912};
2913static const unsigned int msiof2_sync_c_pins[] = {
2914 /* SYNC */
2915 RCAR_GP_PIN(2, 3),
2916};
2917static const unsigned int msiof2_sync_c_mux[] = {
2918 MSIOF2_SYNC_C_MARK,
2919};
2920static const unsigned int msiof2_rx_c_pins[] = {
2921 /* RXD */
2922 RCAR_GP_PIN(2, 5),
2923};
2924static const unsigned int msiof2_rx_c_mux[] = {
2925 MSIOF2_RXD_C_MARK,
2926};
2927static const unsigned int msiof2_tx_c_pins[] = {
2928 /* TXD */
2929 RCAR_GP_PIN(2, 4),
2930};
2931static const unsigned int msiof2_tx_c_mux[] = {
2932 MSIOF2_TXD_C_MARK,
2933};
2934
2935static const unsigned int msiof2_clk_d_pins[] = {
2936 /* SCK */
2937 RCAR_GP_PIN(2, 14),
2938};
2939static const unsigned int msiof2_clk_d_mux[] = {
2940 MSIOF2_SCK_D_MARK,
2941};
2942static const unsigned int msiof2_sync_d_pins[] = {
2943 /* SYNC */
2944 RCAR_GP_PIN(2, 15),
2945};
2946static const unsigned int msiof2_sync_d_mux[] = {
2947 MSIOF2_SYNC_D_MARK,
2948};
2949static const unsigned int msiof2_ss1_d_pins[] = {
2950 /* SS1 */
2951 RCAR_GP_PIN(2, 17),
2952};
2953static const unsigned int msiof2_ss1_d_mux[] = {
2954 MSIOF2_SS1_D_MARK,
2955};
2956static const unsigned int msiof2_ss2_d_pins[] = {
2957 /* SS2 */
2958 RCAR_GP_PIN(2, 19),
2959};
2960static const unsigned int msiof2_ss2_d_mux[] = {
2961 MSIOF2_SS2_D_MARK,
2962};
2963static const unsigned int msiof2_rx_d_pins[] = {
2964 /* RXD */
2965 RCAR_GP_PIN(2, 18),
2966};
2967static const unsigned int msiof2_rx_d_mux[] = {
2968 MSIOF2_RXD_D_MARK,
2969};
2970static const unsigned int msiof2_tx_d_pins[] = {
2971 /* TXD */
2972 RCAR_GP_PIN(2, 16),
2973};
2974static const unsigned int msiof2_tx_d_mux[] = {
2975 MSIOF2_TXD_D_MARK,
2976};
2977
2978static const unsigned int msiof2_clk_e_pins[] = {
2979 /* SCK */
2980 RCAR_GP_PIN(7, 15),
2981};
2982static const unsigned int msiof2_clk_e_mux[] = {
2983 MSIOF2_SCK_E_MARK,
2984};
2985static const unsigned int msiof2_sync_e_pins[] = {
2986 /* SYNC */
2987 RCAR_GP_PIN(7, 16),
2988};
2989static const unsigned int msiof2_sync_e_mux[] = {
2990 MSIOF2_SYNC_E_MARK,
2991};
2992static const unsigned int msiof2_rx_e_pins[] = {
2993 /* RXD */
2994 RCAR_GP_PIN(7, 14),
2995};
2996static const unsigned int msiof2_rx_e_mux[] = {
2997 MSIOF2_RXD_E_MARK,
2998};
2999static const unsigned int msiof2_tx_e_pins[] = {
3000 /* TXD */
3001 RCAR_GP_PIN(7, 13),
3002};
3003static const unsigned int msiof2_tx_e_mux[] = {
3004 MSIOF2_TXD_E_MARK,
3005};
Yoshihiro Shimodaf9784292015-05-18 10:41:05 +09003006/* - PWM -------------------------------------------------------------------- */
3007static const unsigned int pwm0_pins[] = {
3008 RCAR_GP_PIN(6, 14),
3009};
3010static const unsigned int pwm0_mux[] = {
3011 PWM0_MARK,
3012};
3013static const unsigned int pwm0_b_pins[] = {
3014 RCAR_GP_PIN(5, 30),
3015};
3016static const unsigned int pwm0_b_mux[] = {
3017 PWM0_B_MARK,
3018};
3019static const unsigned int pwm1_pins[] = {
3020 RCAR_GP_PIN(1, 17),
3021};
3022static const unsigned int pwm1_mux[] = {
3023 PWM1_MARK,
3024};
3025static const unsigned int pwm1_b_pins[] = {
3026 RCAR_GP_PIN(6, 15),
3027};
3028static const unsigned int pwm1_b_mux[] = {
3029 PWM1_B_MARK,
3030};
3031static const unsigned int pwm2_pins[] = {
3032 RCAR_GP_PIN(1, 18),
3033};
3034static const unsigned int pwm2_mux[] = {
3035 PWM2_MARK,
3036};
3037static const unsigned int pwm2_b_pins[] = {
3038 RCAR_GP_PIN(0, 16),
3039};
3040static const unsigned int pwm2_b_mux[] = {
3041 PWM2_B_MARK,
3042};
3043static const unsigned int pwm3_pins[] = {
3044 RCAR_GP_PIN(1, 24),
3045};
3046static const unsigned int pwm3_mux[] = {
3047 PWM3_MARK,
3048};
3049static const unsigned int pwm4_pins[] = {
3050 RCAR_GP_PIN(3, 26),
3051};
3052static const unsigned int pwm4_mux[] = {
3053 PWM4_MARK,
3054};
3055static const unsigned int pwm4_b_pins[] = {
3056 RCAR_GP_PIN(3, 31),
3057};
3058static const unsigned int pwm4_b_mux[] = {
3059 PWM4_B_MARK,
3060};
3061static const unsigned int pwm5_pins[] = {
3062 RCAR_GP_PIN(7, 21),
3063};
3064static const unsigned int pwm5_mux[] = {
3065 PWM5_MARK,
3066};
3067static const unsigned int pwm5_b_pins[] = {
3068 RCAR_GP_PIN(7, 20),
3069};
3070static const unsigned int pwm5_b_mux[] = {
3071 PWM5_B_MARK,
3072};
3073static const unsigned int pwm6_pins[] = {
3074 RCAR_GP_PIN(7, 22),
3075};
3076static const unsigned int pwm6_mux[] = {
3077 PWM6_MARK,
3078};
Geert Uytterhoeven2d0c3862014-01-12 12:00:30 +01003079/* - QSPI ------------------------------------------------------------------- */
3080static const unsigned int qspi_ctrl_pins[] = {
3081 /* SPCLK, SSL */
3082 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 9),
3083};
3084static const unsigned int qspi_ctrl_mux[] = {
3085 SPCLK_MARK, SSL_MARK,
3086};
3087static const unsigned int qspi_data2_pins[] = {
3088 /* MOSI_IO0, MISO_IO1 */
3089 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
3090};
3091static const unsigned int qspi_data2_mux[] = {
3092 MOSI_IO0_MARK, MISO_IO1_MARK,
3093};
3094static const unsigned int qspi_data4_pins[] = {
3095 /* MOSI_IO0, MISO_IO1, IO2, IO3 */
3096 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
3097 RCAR_GP_PIN(1, 8),
3098};
3099static const unsigned int qspi_data4_mux[] = {
3100 MOSI_IO0_MARK, MISO_IO1_MARK, IO2_MARK, IO3_MARK,
3101};
3102
3103static const unsigned int qspi_ctrl_b_pins[] = {
3104 /* SPCLK, SSL */
3105 RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 5),
3106};
3107static const unsigned int qspi_ctrl_b_mux[] = {
3108 SPCLK_B_MARK, SSL_B_MARK,
3109};
3110static const unsigned int qspi_data2_b_pins[] = {
3111 /* MOSI_IO0, MISO_IO1 */
3112 RCAR_GP_PIN(6, 1), RCAR_GP_PIN(6, 2),
3113};
3114static const unsigned int qspi_data2_b_mux[] = {
3115 MOSI_IO0_B_MARK, MISO_IO1_B_MARK,
3116};
3117static const unsigned int qspi_data4_b_pins[] = {
3118 /* MOSI_IO0, MISO_IO1, IO2, IO3 */
3119 RCAR_GP_PIN(6, 1), RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
3120 RCAR_GP_PIN(6, 4),
3121};
3122static const unsigned int qspi_data4_b_mux[] = {
3123 SPCLK_B_MARK, MOSI_IO0_B_MARK, MISO_IO1_B_MARK,
3124 IO2_B_MARK, IO3_B_MARK, SSL_B_MARK,
3125};
Hisashi Nakamura50884512013-10-17 06:46:05 +09003126/* - SCIF0 ------------------------------------------------------------------ */
3127static const unsigned int scif0_data_pins[] = {
3128 /* RX, TX */
3129 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
3130};
3131static const unsigned int scif0_data_mux[] = {
3132 RX0_MARK, TX0_MARK,
3133};
3134static const unsigned int scif0_data_b_pins[] = {
3135 /* RX, TX */
3136 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
3137};
3138static const unsigned int scif0_data_b_mux[] = {
3139 RX0_B_MARK, TX0_B_MARK,
3140};
3141static const unsigned int scif0_data_c_pins[] = {
3142 /* RX, TX */
3143 RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 25),
3144};
3145static const unsigned int scif0_data_c_mux[] = {
3146 RX0_C_MARK, TX0_C_MARK,
3147};
3148static const unsigned int scif0_data_d_pins[] = {
3149 /* RX, TX */
3150 RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 22),
3151};
3152static const unsigned int scif0_data_d_mux[] = {
3153 RX0_D_MARK, TX0_D_MARK,
3154};
3155static const unsigned int scif0_data_e_pins[] = {
3156 /* RX, TX */
3157 RCAR_GP_PIN(6, 29), RCAR_GP_PIN(6, 28),
3158};
3159static const unsigned int scif0_data_e_mux[] = {
3160 RX0_E_MARK, TX0_E_MARK,
3161};
3162/* - SCIF1 ------------------------------------------------------------------ */
3163static const unsigned int scif1_data_pins[] = {
3164 /* RX, TX */
3165 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
3166};
3167static const unsigned int scif1_data_mux[] = {
3168 RX1_MARK, TX1_MARK,
3169};
3170static const unsigned int scif1_data_b_pins[] = {
3171 /* RX, TX */
3172 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
3173};
3174static const unsigned int scif1_data_b_mux[] = {
3175 RX1_B_MARK, TX1_B_MARK,
3176};
3177static const unsigned int scif1_clk_b_pins[] = {
3178 /* SCK */
3179 RCAR_GP_PIN(3, 10),
3180};
3181static const unsigned int scif1_clk_b_mux[] = {
3182 SCIF1_SCK_B_MARK,
3183};
3184static const unsigned int scif1_data_c_pins[] = {
3185 /* RX, TX */
3186 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 27),
3187};
3188static const unsigned int scif1_data_c_mux[] = {
3189 RX1_C_MARK, TX1_C_MARK,
3190};
3191static const unsigned int scif1_data_d_pins[] = {
3192 /* RX, TX */
3193 RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 24),
3194};
3195static const unsigned int scif1_data_d_mux[] = {
3196 RX1_D_MARK, TX1_D_MARK,
3197};
3198/* - SCIF2 ------------------------------------------------------------------ */
3199static const unsigned int scif2_data_pins[] = {
3200 /* RX, TX */
3201 RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
3202};
3203static const unsigned int scif2_data_mux[] = {
3204 RX2_MARK, TX2_MARK,
3205};
3206static const unsigned int scif2_data_b_pins[] = {
3207 /* RX, TX */
3208 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
3209};
3210static const unsigned int scif2_data_b_mux[] = {
3211 RX2_B_MARK, TX2_B_MARK,
3212};
3213static const unsigned int scif2_clk_b_pins[] = {
3214 /* SCK */
3215 RCAR_GP_PIN(3, 18),
3216};
3217static const unsigned int scif2_clk_b_mux[] = {
3218 SCIF2_SCK_B_MARK,
3219};
3220static const unsigned int scif2_data_c_pins[] = {
3221 /* RX, TX */
3222 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
3223};
3224static const unsigned int scif2_data_c_mux[] = {
3225 RX2_C_MARK, TX2_C_MARK,
3226};
3227static const unsigned int scif2_data_e_pins[] = {
3228 /* RX, TX */
3229 RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
3230};
3231static const unsigned int scif2_data_e_mux[] = {
3232 RX2_E_MARK, TX2_E_MARK,
3233};
3234/* - SCIF3 ------------------------------------------------------------------ */
3235static const unsigned int scif3_data_pins[] = {
3236 /* RX, TX */
3237 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
3238};
3239static const unsigned int scif3_data_mux[] = {
3240 RX3_MARK, TX3_MARK,
3241};
3242static const unsigned int scif3_clk_pins[] = {
3243 /* SCK */
3244 RCAR_GP_PIN(3, 23),
3245};
3246static const unsigned int scif3_clk_mux[] = {
3247 SCIF3_SCK_MARK,
3248};
3249static const unsigned int scif3_data_b_pins[] = {
3250 /* RX, TX */
3251 RCAR_GP_PIN(3, 29), RCAR_GP_PIN(3, 26),
3252};
3253static const unsigned int scif3_data_b_mux[] = {
3254 RX3_B_MARK, TX3_B_MARK,
3255};
3256static const unsigned int scif3_clk_b_pins[] = {
3257 /* SCK */
3258 RCAR_GP_PIN(4, 8),
3259};
3260static const unsigned int scif3_clk_b_mux[] = {
3261 SCIF3_SCK_B_MARK,
3262};
3263static const unsigned int scif3_data_c_pins[] = {
3264 /* RX, TX */
3265 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
3266};
3267static const unsigned int scif3_data_c_mux[] = {
3268 RX3_C_MARK, TX3_C_MARK,
3269};
3270static const unsigned int scif3_data_d_pins[] = {
3271 /* RX, TX */
3272 RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 26),
3273};
3274static const unsigned int scif3_data_d_mux[] = {
3275 RX3_D_MARK, TX3_D_MARK,
3276};
3277/* - SCIF4 ------------------------------------------------------------------ */
3278static const unsigned int scif4_data_pins[] = {
3279 /* RX, TX */
3280 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
3281};
3282static const unsigned int scif4_data_mux[] = {
3283 RX4_MARK, TX4_MARK,
3284};
3285static const unsigned int scif4_data_b_pins[] = {
3286 /* RX, TX */
3287 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
3288};
3289static const unsigned int scif4_data_b_mux[] = {
3290 RX4_B_MARK, TX4_B_MARK,
3291};
3292static const unsigned int scif4_data_c_pins[] = {
3293 /* RX, TX */
3294 RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
3295};
3296static const unsigned int scif4_data_c_mux[] = {
3297 RX4_C_MARK, TX4_C_MARK,
3298};
3299/* - SCIF5 ------------------------------------------------------------------ */
3300static const unsigned int scif5_data_pins[] = {
3301 /* RX, TX */
3302 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
3303};
3304static const unsigned int scif5_data_mux[] = {
3305 RX5_MARK, TX5_MARK,
3306};
3307static const unsigned int scif5_data_b_pins[] = {
3308 /* RX, TX */
3309 RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
3310};
3311static const unsigned int scif5_data_b_mux[] = {
3312 RX5_B_MARK, TX5_B_MARK,
3313};
3314/* - SCIFA0 ----------------------------------------------------------------- */
3315static const unsigned int scifa0_data_pins[] = {
3316 /* RXD, TXD */
3317 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6),
3318};
3319static const unsigned int scifa0_data_mux[] = {
3320 SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
3321};
3322static const unsigned int scifa0_data_b_pins[] = {
3323 /* RXD, TXD */
3324 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 0),
3325};
3326static const unsigned int scifa0_data_b_mux[] = {
3327 SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
3328};
3329/* - SCIFA1 ----------------------------------------------------------------- */
3330static const unsigned int scifa1_data_pins[] = {
3331 /* RXD, TXD */
3332 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 8),
3333};
3334static const unsigned int scifa1_data_mux[] = {
3335 SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
3336};
3337static const unsigned int scifa1_clk_pins[] = {
3338 /* SCK */
3339 RCAR_GP_PIN(3, 10),
3340};
3341static const unsigned int scifa1_clk_mux[] = {
3342 SCIFA1_SCK_MARK,
3343};
3344static const unsigned int scifa1_data_b_pins[] = {
3345 /* RXD, TXD */
3346 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 8),
3347};
3348static const unsigned int scifa1_data_b_mux[] = {
3349 SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
3350};
3351static const unsigned int scifa1_clk_b_pins[] = {
3352 /* SCK */
3353 RCAR_GP_PIN(1, 0),
3354};
3355static const unsigned int scifa1_clk_b_mux[] = {
3356 SCIFA1_SCK_B_MARK,
3357};
3358static const unsigned int scifa1_data_c_pins[] = {
3359 /* RXD, TXD */
3360 RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
3361};
3362static const unsigned int scifa1_data_c_mux[] = {
3363 SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
3364};
3365/* - SCIFA2 ----------------------------------------------------------------- */
3366static const unsigned int scifa2_data_pins[] = {
3367 /* RXD, TXD */
3368 RCAR_GP_PIN(2, 30), RCAR_GP_PIN(2, 31),
3369};
3370static const unsigned int scifa2_data_mux[] = {
3371 SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
3372};
3373static const unsigned int scifa2_clk_pins[] = {
3374 /* SCK */
3375 RCAR_GP_PIN(3, 18),
3376};
3377static const unsigned int scifa2_clk_mux[] = {
3378 SCIFA2_SCK_MARK,
3379};
3380static const unsigned int scifa2_data_b_pins[] = {
3381 /* RXD, TXD */
3382 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 16),
3383};
3384static const unsigned int scifa2_data_b_mux[] = {
3385 SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
3386};
3387/* - SCIFA3 ----------------------------------------------------------------- */
3388static const unsigned int scifa3_data_pins[] = {
3389 /* RXD, TXD */
3390 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 21),
3391};
3392static const unsigned int scifa3_data_mux[] = {
3393 SCIFA3_RXD_MARK, SCIFA3_TXD_MARK,
3394};
3395static const unsigned int scifa3_clk_pins[] = {
3396 /* SCK */
3397 RCAR_GP_PIN(3, 23),
3398};
3399static const unsigned int scifa3_clk_mux[] = {
3400 SCIFA3_SCK_MARK,
3401};
3402static const unsigned int scifa3_data_b_pins[] = {
3403 /* RXD, TXD */
3404 RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 20),
3405};
3406static const unsigned int scifa3_data_b_mux[] = {
3407 SCIFA3_RXD_B_MARK, SCIFA3_TXD_B_MARK,
3408};
3409static const unsigned int scifa3_clk_b_pins[] = {
3410 /* SCK */
3411 RCAR_GP_PIN(4, 8),
3412};
3413static const unsigned int scifa3_clk_b_mux[] = {
3414 SCIFA3_SCK_B_MARK,
3415};
3416static const unsigned int scifa3_data_c_pins[] = {
3417 /* RXD, TXD */
3418 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 20),
3419};
3420static const unsigned int scifa3_data_c_mux[] = {
3421 SCIFA3_RXD_C_MARK, SCIFA3_TXD_C_MARK,
3422};
3423static const unsigned int scifa3_clk_c_pins[] = {
3424 /* SCK */
3425 RCAR_GP_PIN(7, 22),
3426};
3427static const unsigned int scifa3_clk_c_mux[] = {
3428 SCIFA3_SCK_C_MARK,
3429};
3430/* - SCIFA4 ----------------------------------------------------------------- */
3431static const unsigned int scifa4_data_pins[] = {
3432 /* RXD, TXD */
3433 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 1),
3434};
3435static const unsigned int scifa4_data_mux[] = {
3436 SCIFA4_RXD_MARK, SCIFA4_TXD_MARK,
3437};
3438static const unsigned int scifa4_data_b_pins[] = {
3439 /* RXD, TXD */
3440 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 0),
3441};
3442static const unsigned int scifa4_data_b_mux[] = {
3443 SCIFA4_RXD_B_MARK, SCIFA4_TXD_B_MARK,
3444};
3445static const unsigned int scifa4_data_c_pins[] = {
3446 /* RXD, TXD */
3447 RCAR_GP_PIN(7, 22), RCAR_GP_PIN(7, 21),
3448};
3449static const unsigned int scifa4_data_c_mux[] = {
3450 SCIFA4_RXD_C_MARK, SCIFA4_TXD_C_MARK,
3451};
3452/* - SCIFA5 ----------------------------------------------------------------- */
3453static const unsigned int scifa5_data_pins[] = {
3454 /* RXD, TXD */
3455 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 3),
3456};
3457static const unsigned int scifa5_data_mux[] = {
3458 SCIFA5_RXD_MARK, SCIFA5_TXD_MARK,
3459};
3460static const unsigned int scifa5_data_b_pins[] = {
3461 /* RXD, TXD */
3462 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
3463};
3464static const unsigned int scifa5_data_b_mux[] = {
3465 SCIFA5_RXD_B_MARK, SCIFA5_TXD_B_MARK,
3466};
3467static const unsigned int scifa5_data_c_pins[] = {
3468 /* RXD, TXD */
3469 RCAR_GP_PIN(6, 23), RCAR_GP_PIN(6, 22),
3470};
3471static const unsigned int scifa5_data_c_mux[] = {
3472 SCIFA5_RXD_C_MARK, SCIFA5_TXD_C_MARK,
3473};
3474/* - SCIFB0 ----------------------------------------------------------------- */
3475static const unsigned int scifb0_data_pins[] = {
3476 /* RXD, TXD */
3477 RCAR_GP_PIN(7, 3), RCAR_GP_PIN(7, 4),
3478};
3479static const unsigned int scifb0_data_mux[] = {
3480 SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
3481};
3482static const unsigned int scifb0_clk_pins[] = {
3483 /* SCK */
3484 RCAR_GP_PIN(7, 2),
3485};
3486static const unsigned int scifb0_clk_mux[] = {
3487 SCIFB0_SCK_MARK,
3488};
3489static const unsigned int scifb0_ctrl_pins[] = {
3490 /* RTS, CTS */
3491 RCAR_GP_PIN(7, 1), RCAR_GP_PIN(7, 0),
3492};
3493static const unsigned int scifb0_ctrl_mux[] = {
3494 SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
3495};
3496static const unsigned int scifb0_data_b_pins[] = {
3497 /* RXD, TXD */
3498 RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21),
3499};
3500static const unsigned int scifb0_data_b_mux[] = {
3501 SCIFB0_RXD_B_MARK, SCIFB0_TXD_B_MARK,
3502};
3503static const unsigned int scifb0_clk_b_pins[] = {
3504 /* SCK */
3505 RCAR_GP_PIN(5, 31),
3506};
3507static const unsigned int scifb0_clk_b_mux[] = {
3508 SCIFB0_SCK_B_MARK,
3509};
3510static const unsigned int scifb0_ctrl_b_pins[] = {
3511 /* RTS, CTS */
3512 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 23),
3513};
3514static const unsigned int scifb0_ctrl_b_mux[] = {
3515 SCIFB0_RTS_N_B_MARK, SCIFB0_CTS_N_B_MARK,
3516};
3517static const unsigned int scifb0_data_c_pins[] = {
3518 /* RXD, TXD */
3519 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
3520};
3521static const unsigned int scifb0_data_c_mux[] = {
3522 SCIFB0_RXD_C_MARK, SCIFB0_TXD_C_MARK,
3523};
3524static const unsigned int scifb0_clk_c_pins[] = {
3525 /* SCK */
3526 RCAR_GP_PIN(2, 30),
3527};
3528static const unsigned int scifb0_clk_c_mux[] = {
3529 SCIFB0_SCK_C_MARK,
3530};
3531static const unsigned int scifb0_data_d_pins[] = {
3532 /* RXD, TXD */
3533 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 18),
3534};
3535static const unsigned int scifb0_data_d_mux[] = {
3536 SCIFB0_RXD_D_MARK, SCIFB0_TXD_D_MARK,
3537};
3538static const unsigned int scifb0_clk_d_pins[] = {
3539 /* SCK */
3540 RCAR_GP_PIN(4, 17),
3541};
3542static const unsigned int scifb0_clk_d_mux[] = {
3543 SCIFB0_SCK_D_MARK,
3544};
3545/* - SCIFB1 ----------------------------------------------------------------- */
3546static const unsigned int scifb1_data_pins[] = {
3547 /* RXD, TXD */
3548 RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
3549};
3550static const unsigned int scifb1_data_mux[] = {
3551 SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
3552};
3553static const unsigned int scifb1_clk_pins[] = {
3554 /* SCK */
3555 RCAR_GP_PIN(7, 7),
3556};
3557static const unsigned int scifb1_clk_mux[] = {
3558 SCIFB1_SCK_MARK,
3559};
3560static const unsigned int scifb1_ctrl_pins[] = {
3561 /* RTS, CTS */
3562 RCAR_GP_PIN(7, 9), RCAR_GP_PIN(7, 8),
3563};
3564static const unsigned int scifb1_ctrl_mux[] = {
3565 SCIFB1_RTS_N_MARK, SCIFB1_CTS_N_MARK,
3566};
3567static const unsigned int scifb1_data_b_pins[] = {
3568 /* RXD, TXD */
3569 RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18),
3570};
3571static const unsigned int scifb1_data_b_mux[] = {
3572 SCIFB1_RXD_B_MARK, SCIFB1_TXD_B_MARK,
3573};
3574static const unsigned int scifb1_clk_b_pins[] = {
3575 /* SCK */
3576 RCAR_GP_PIN(1, 3),
3577};
3578static const unsigned int scifb1_clk_b_mux[] = {
3579 SCIFB1_SCK_B_MARK,
3580};
3581static const unsigned int scifb1_data_c_pins[] = {
3582 /* RXD, TXD */
3583 RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3),
3584};
3585static const unsigned int scifb1_data_c_mux[] = {
3586 SCIFB1_RXD_C_MARK, SCIFB1_TXD_C_MARK,
3587};
3588static const unsigned int scifb1_clk_c_pins[] = {
3589 /* SCK */
3590 RCAR_GP_PIN(7, 11),
3591};
3592static const unsigned int scifb1_clk_c_mux[] = {
3593 SCIFB1_SCK_C_MARK,
3594};
3595static const unsigned int scifb1_data_d_pins[] = {
3596 /* RXD, TXD */
3597 RCAR_GP_PIN(7, 10), RCAR_GP_PIN(7, 12),
3598};
3599static const unsigned int scifb1_data_d_mux[] = {
3600 SCIFB1_RXD_D_MARK, SCIFB1_TXD_D_MARK,
3601};
3602/* - SCIFB2 ----------------------------------------------------------------- */
3603static const unsigned int scifb2_data_pins[] = {
3604 /* RXD, TXD */
3605 RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
3606};
3607static const unsigned int scifb2_data_mux[] = {
3608 SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
3609};
3610static const unsigned int scifb2_clk_pins[] = {
3611 /* SCK */
3612 RCAR_GP_PIN(4, 15),
3613};
3614static const unsigned int scifb2_clk_mux[] = {
3615 SCIFB2_SCK_MARK,
3616};
3617static const unsigned int scifb2_ctrl_pins[] = {
3618 /* RTS, CTS */
3619 RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 13),
3620};
3621static const unsigned int scifb2_ctrl_mux[] = {
3622 SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
3623};
3624static const unsigned int scifb2_data_b_pins[] = {
3625 /* RXD, TXD */
3626 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
3627};
3628static const unsigned int scifb2_data_b_mux[] = {
3629 SCIFB2_RXD_B_MARK, SCIFB2_TXD_B_MARK,
3630};
3631static const unsigned int scifb2_clk_b_pins[] = {
3632 /* SCK */
3633 RCAR_GP_PIN(5, 31),
3634};
3635static const unsigned int scifb2_clk_b_mux[] = {
3636 SCIFB2_SCK_B_MARK,
3637};
3638static const unsigned int scifb2_ctrl_b_pins[] = {
3639 /* RTS, CTS */
3640 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 14),
3641};
3642static const unsigned int scifb2_ctrl_b_mux[] = {
3643 SCIFB2_RTS_N_B_MARK, SCIFB2_CTS_N_B_MARK,
3644};
3645static const unsigned int scifb2_data_c_pins[] = {
3646 /* RXD, TXD */
3647 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
3648};
3649static const unsigned int scifb2_data_c_mux[] = {
3650 SCIFB2_RXD_C_MARK, SCIFB2_TXD_C_MARK,
3651};
3652static const unsigned int scifb2_clk_c_pins[] = {
3653 /* SCK */
3654 RCAR_GP_PIN(5, 27),
3655};
3656static const unsigned int scifb2_clk_c_mux[] = {
3657 SCIFB2_SCK_C_MARK,
3658};
3659static const unsigned int scifb2_data_d_pins[] = {
3660 /* RXD, TXD */
3661 RCAR_GP_PIN(5, 26), RCAR_GP_PIN(5, 25),
3662};
3663static const unsigned int scifb2_data_d_mux[] = {
3664 SCIFB2_RXD_D_MARK, SCIFB2_TXD_D_MARK,
3665};
Geert Uytterhoevena4c8a6d2015-10-26 09:53:28 +01003666
3667/* - SCIF Clock ------------------------------------------------------------- */
3668static const unsigned int scif_clk_pins[] = {
3669 /* SCIF_CLK */
3670 RCAR_GP_PIN(2, 29),
3671};
3672static const unsigned int scif_clk_mux[] = {
3673 SCIF_CLK_MARK,
3674};
3675static const unsigned int scif_clk_b_pins[] = {
3676 /* SCIF_CLK */
3677 RCAR_GP_PIN(7, 19),
3678};
3679static const unsigned int scif_clk_b_mux[] = {
3680 SCIF_CLK_B_MARK,
3681};
3682
Hisashi Nakamura50884512013-10-17 06:46:05 +09003683/* - SDHI0 ------------------------------------------------------------------ */
3684static const unsigned int sdhi0_data1_pins[] = {
3685 /* D0 */
3686 RCAR_GP_PIN(6, 2),
3687};
3688static const unsigned int sdhi0_data1_mux[] = {
3689 SD0_DATA0_MARK,
3690};
3691static const unsigned int sdhi0_data4_pins[] = {
3692 /* D[0:3] */
3693 RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
3694 RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 5),
3695};
3696static const unsigned int sdhi0_data4_mux[] = {
3697 SD0_DATA0_MARK, SD0_DATA1_MARK, SD0_DATA2_MARK, SD0_DATA3_MARK,
3698};
3699static const unsigned int sdhi0_ctrl_pins[] = {
3700 /* CLK, CMD */
3701 RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1),
3702};
3703static const unsigned int sdhi0_ctrl_mux[] = {
3704 SD0_CLK_MARK, SD0_CMD_MARK,
3705};
3706static const unsigned int sdhi0_cd_pins[] = {
3707 /* CD */
3708 RCAR_GP_PIN(6, 6),
3709};
3710static const unsigned int sdhi0_cd_mux[] = {
3711 SD0_CD_MARK,
3712};
3713static const unsigned int sdhi0_wp_pins[] = {
3714 /* WP */
3715 RCAR_GP_PIN(6, 7),
3716};
3717static const unsigned int sdhi0_wp_mux[] = {
3718 SD0_WP_MARK,
3719};
3720/* - SDHI1 ------------------------------------------------------------------ */
3721static const unsigned int sdhi1_data1_pins[] = {
3722 /* D0 */
3723 RCAR_GP_PIN(6, 10),
3724};
3725static const unsigned int sdhi1_data1_mux[] = {
3726 SD1_DATA0_MARK,
3727};
3728static const unsigned int sdhi1_data4_pins[] = {
3729 /* D[0:3] */
3730 RCAR_GP_PIN(6, 10), RCAR_GP_PIN(6, 11),
3731 RCAR_GP_PIN(6, 12), RCAR_GP_PIN(6, 13),
3732};
3733static const unsigned int sdhi1_data4_mux[] = {
3734 SD1_DATA0_MARK, SD1_DATA1_MARK, SD1_DATA2_MARK, SD1_DATA3_MARK,
3735};
3736static const unsigned int sdhi1_ctrl_pins[] = {
3737 /* CLK, CMD */
3738 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
3739};
3740static const unsigned int sdhi1_ctrl_mux[] = {
3741 SD1_CLK_MARK, SD1_CMD_MARK,
3742};
3743static const unsigned int sdhi1_cd_pins[] = {
3744 /* CD */
3745 RCAR_GP_PIN(6, 14),
3746};
3747static const unsigned int sdhi1_cd_mux[] = {
3748 SD1_CD_MARK,
3749};
3750static const unsigned int sdhi1_wp_pins[] = {
3751 /* WP */
3752 RCAR_GP_PIN(6, 15),
3753};
3754static const unsigned int sdhi1_wp_mux[] = {
3755 SD1_WP_MARK,
3756};
3757/* - SDHI2 ------------------------------------------------------------------ */
3758static const unsigned int sdhi2_data1_pins[] = {
3759 /* D0 */
3760 RCAR_GP_PIN(6, 18),
3761};
3762static const unsigned int sdhi2_data1_mux[] = {
3763 SD2_DATA0_MARK,
3764};
3765static const unsigned int sdhi2_data4_pins[] = {
3766 /* D[0:3] */
3767 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
3768 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
3769};
3770static const unsigned int sdhi2_data4_mux[] = {
3771 SD2_DATA0_MARK, SD2_DATA1_MARK, SD2_DATA2_MARK, SD2_DATA3_MARK,
3772};
3773static const unsigned int sdhi2_ctrl_pins[] = {
3774 /* CLK, CMD */
3775 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
3776};
3777static const unsigned int sdhi2_ctrl_mux[] = {
3778 SD2_CLK_MARK, SD2_CMD_MARK,
3779};
3780static const unsigned int sdhi2_cd_pins[] = {
3781 /* CD */
3782 RCAR_GP_PIN(6, 22),
3783};
3784static const unsigned int sdhi2_cd_mux[] = {
3785 SD2_CD_MARK,
3786};
3787static const unsigned int sdhi2_wp_pins[] = {
3788 /* WP */
3789 RCAR_GP_PIN(6, 23),
3790};
3791static const unsigned int sdhi2_wp_mux[] = {
3792 SD2_WP_MARK,
3793};
Kuninori Morimotob664cd12014-04-13 17:23:35 -07003794
3795/* - SSI -------------------------------------------------------------------- */
3796static const unsigned int ssi0_data_pins[] = {
3797 /* SDATA */
3798 RCAR_GP_PIN(2, 2),
3799};
3800
3801static const unsigned int ssi0_data_mux[] = {
3802 SSI_SDATA0_MARK,
3803};
3804
3805static const unsigned int ssi0_data_b_pins[] = {
3806 /* SDATA */
3807 RCAR_GP_PIN(3, 4),
3808};
3809
3810static const unsigned int ssi0_data_b_mux[] = {
3811 SSI_SDATA0_B_MARK,
3812};
3813
3814static const unsigned int ssi0129_ctrl_pins[] = {
3815 /* SCK, WS */
3816 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
3817};
3818
3819static const unsigned int ssi0129_ctrl_mux[] = {
3820 SSI_SCK0129_MARK, SSI_WS0129_MARK,
3821};
3822
3823static const unsigned int ssi0129_ctrl_b_pins[] = {
3824 /* SCK, WS */
3825 RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3),
3826};
3827
3828static const unsigned int ssi0129_ctrl_b_mux[] = {
3829 SSI_SCK0129_B_MARK, SSI_WS0129_B_MARK,
3830};
3831
3832static const unsigned int ssi1_data_pins[] = {
3833 /* SDATA */
3834 RCAR_GP_PIN(2, 5),
3835};
3836
3837static const unsigned int ssi1_data_mux[] = {
3838 SSI_SDATA1_MARK,
3839};
3840
3841static const unsigned int ssi1_data_b_pins[] = {
3842 /* SDATA */
3843 RCAR_GP_PIN(3, 7),
3844};
3845
3846static const unsigned int ssi1_data_b_mux[] = {
3847 SSI_SDATA1_B_MARK,
3848};
3849
3850static const unsigned int ssi1_ctrl_pins[] = {
3851 /* SCK, WS */
3852 RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 4),
3853};
3854
3855static const unsigned int ssi1_ctrl_mux[] = {
3856 SSI_SCK1_MARK, SSI_WS1_MARK,
3857};
3858
3859static const unsigned int ssi1_ctrl_b_pins[] = {
3860 /* SCK, WS */
3861 RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
3862};
3863
3864static const unsigned int ssi1_ctrl_b_mux[] = {
3865 SSI_SCK1_B_MARK, SSI_WS1_B_MARK,
3866};
3867
3868static const unsigned int ssi2_data_pins[] = {
3869 /* SDATA */
3870 RCAR_GP_PIN(2, 8),
3871};
3872
3873static const unsigned int ssi2_data_mux[] = {
3874 SSI_SDATA2_MARK,
3875};
3876
3877static const unsigned int ssi2_ctrl_pins[] = {
3878 /* SCK, WS */
3879 RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7),
3880};
3881
3882static const unsigned int ssi2_ctrl_mux[] = {
3883 SSI_SCK2_MARK, SSI_WS2_MARK,
3884};
3885
3886static const unsigned int ssi3_data_pins[] = {
3887 /* SDATA */
3888 RCAR_GP_PIN(2, 11),
3889};
3890
3891static const unsigned int ssi3_data_mux[] = {
3892 SSI_SDATA3_MARK,
3893};
3894
3895static const unsigned int ssi34_ctrl_pins[] = {
3896 /* SCK, WS */
3897 RCAR_GP_PIN(2, 9), RCAR_GP_PIN(2, 10),
3898};
3899
3900static const unsigned int ssi34_ctrl_mux[] = {
3901 SSI_SCK34_MARK, SSI_WS34_MARK,
3902};
3903
3904static const unsigned int ssi4_data_pins[] = {
3905 /* SDATA */
3906 RCAR_GP_PIN(2, 14),
3907};
3908
3909static const unsigned int ssi4_data_mux[] = {
3910 SSI_SDATA4_MARK,
3911};
3912
3913static const unsigned int ssi4_ctrl_pins[] = {
3914 /* SCK, WS */
3915 RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13),
3916};
3917
3918static const unsigned int ssi4_ctrl_mux[] = {
3919 SSI_SCK4_MARK, SSI_WS4_MARK,
3920};
3921
3922static const unsigned int ssi5_data_pins[] = {
3923 /* SDATA */
3924 RCAR_GP_PIN(2, 17),
3925};
3926
3927static const unsigned int ssi5_data_mux[] = {
3928 SSI_SDATA5_MARK,
3929};
3930
3931static const unsigned int ssi5_ctrl_pins[] = {
3932 /* SCK, WS */
3933 RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
3934};
3935
3936static const unsigned int ssi5_ctrl_mux[] = {
3937 SSI_SCK5_MARK, SSI_WS5_MARK,
3938};
3939
3940static const unsigned int ssi6_data_pins[] = {
3941 /* SDATA */
3942 RCAR_GP_PIN(2, 20),
3943};
3944
3945static const unsigned int ssi6_data_mux[] = {
3946 SSI_SDATA6_MARK,
3947};
3948
3949static const unsigned int ssi6_ctrl_pins[] = {
3950 /* SCK, WS */
3951 RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 19),
3952};
3953
3954static const unsigned int ssi6_ctrl_mux[] = {
3955 SSI_SCK6_MARK, SSI_WS6_MARK,
3956};
3957
3958static const unsigned int ssi7_data_pins[] = {
3959 /* SDATA */
3960 RCAR_GP_PIN(2, 23),
3961};
3962
3963static const unsigned int ssi7_data_mux[] = {
3964 SSI_SDATA7_MARK,
3965};
3966
3967static const unsigned int ssi7_data_b_pins[] = {
3968 /* SDATA */
3969 RCAR_GP_PIN(3, 12),
3970};
3971
3972static const unsigned int ssi7_data_b_mux[] = {
3973 SSI_SDATA7_B_MARK,
3974};
3975
3976static const unsigned int ssi78_ctrl_pins[] = {
3977 /* SCK, WS */
3978 RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
3979};
3980
3981static const unsigned int ssi78_ctrl_mux[] = {
3982 SSI_SCK78_MARK, SSI_WS78_MARK,
3983};
3984
3985static const unsigned int ssi78_ctrl_b_pins[] = {
3986 /* SCK, WS */
3987 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
3988};
3989
3990static const unsigned int ssi78_ctrl_b_mux[] = {
3991 SSI_SCK78_B_MARK, SSI_WS78_B_MARK,
3992};
3993
3994static const unsigned int ssi8_data_pins[] = {
3995 /* SDATA */
3996 RCAR_GP_PIN(2, 24),
3997};
3998
3999static const unsigned int ssi8_data_mux[] = {
4000 SSI_SDATA8_MARK,
4001};
4002
4003static const unsigned int ssi8_data_b_pins[] = {
4004 /* SDATA */
4005 RCAR_GP_PIN(3, 13),
4006};
4007
4008static const unsigned int ssi8_data_b_mux[] = {
4009 SSI_SDATA8_B_MARK,
4010};
4011
4012static const unsigned int ssi9_data_pins[] = {
4013 /* SDATA */
4014 RCAR_GP_PIN(2, 27),
4015};
4016
4017static const unsigned int ssi9_data_mux[] = {
4018 SSI_SDATA9_MARK,
4019};
4020
4021static const unsigned int ssi9_data_b_pins[] = {
4022 /* SDATA */
4023 RCAR_GP_PIN(3, 18),
4024};
4025
4026static const unsigned int ssi9_data_b_mux[] = {
4027 SSI_SDATA9_B_MARK,
4028};
4029
4030static const unsigned int ssi9_ctrl_pins[] = {
4031 /* SCK, WS */
4032 RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26),
4033};
4034
4035static const unsigned int ssi9_ctrl_mux[] = {
4036 SSI_SCK9_MARK, SSI_WS9_MARK,
4037};
4038
4039static const unsigned int ssi9_ctrl_b_pins[] = {
4040 /* SCK, WS */
4041 RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
4042};
4043
4044static const unsigned int ssi9_ctrl_b_mux[] = {
4045 SSI_SCK9_B_MARK, SSI_WS9_B_MARK,
4046};
4047
Hisashi Nakamura50884512013-10-17 06:46:05 +09004048/* - USB0 ------------------------------------------------------------------- */
Valentine Barshak5e5a2982013-12-20 18:14:24 +04004049static const unsigned int usb0_pins[] = {
4050 RCAR_GP_PIN(7, 23), /* PWEN */
4051 RCAR_GP_PIN(7, 24), /* OVC */
Hisashi Nakamura50884512013-10-17 06:46:05 +09004052};
Valentine Barshak5e5a2982013-12-20 18:14:24 +04004053static const unsigned int usb0_mux[] = {
Hisashi Nakamura50884512013-10-17 06:46:05 +09004054 USB0_PWEN_MARK,
Hisashi Nakamura50884512013-10-17 06:46:05 +09004055 USB0_OVC_MARK,
4056};
4057/* - USB1 ------------------------------------------------------------------- */
Valentine Barshak5e5a2982013-12-20 18:14:24 +04004058static const unsigned int usb1_pins[] = {
4059 RCAR_GP_PIN(7, 25), /* PWEN */
4060 RCAR_GP_PIN(6, 30), /* OVC */
Hisashi Nakamura50884512013-10-17 06:46:05 +09004061};
Valentine Barshak5e5a2982013-12-20 18:14:24 +04004062static const unsigned int usb1_mux[] = {
Hisashi Nakamura50884512013-10-17 06:46:05 +09004063 USB1_PWEN_MARK,
Hisashi Nakamura50884512013-10-17 06:46:05 +09004064 USB1_OVC_MARK,
4065};
Valentine Barshak8e32c962013-12-25 23:36:01 +04004066/* - VIN0 ------------------------------------------------------------------- */
4067static const union vin_data vin0_data_pins = {
4068 .data24 = {
4069 /* B */
4070 RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 6),
4071 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
4072 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
4073 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
4074 /* G */
4075 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14),
4076 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
4077 RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
4078 RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
4079 /* R */
4080 RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 22),
4081 RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
4082 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
4083 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
4084 },
4085};
4086static const union vin_data vin0_data_mux = {
4087 .data24 = {
4088 /* B */
4089 VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
4090 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
4091 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
4092 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
4093 /* G */
4094 VI0_G0_MARK, VI0_G1_MARK,
4095 VI0_G2_MARK, VI0_G3_MARK,
4096 VI0_G4_MARK, VI0_G5_MARK,
4097 VI0_G6_MARK, VI0_G7_MARK,
4098 /* R */
4099 VI0_R0_MARK, VI0_R1_MARK,
4100 VI0_R2_MARK, VI0_R3_MARK,
4101 VI0_R4_MARK, VI0_R5_MARK,
4102 VI0_R6_MARK, VI0_R7_MARK,
4103 },
4104};
4105static const unsigned int vin0_data18_pins[] = {
4106 /* B */
4107 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8),
4108 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
4109 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12),
4110 /* G */
4111 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
4112 RCAR_GP_PIN(4, 17), RCAR_GP_PIN(4, 18),
4113 RCAR_GP_PIN(4, 19), RCAR_GP_PIN(4, 20),
4114 /* R */
4115 RCAR_GP_PIN(4, 23), RCAR_GP_PIN(4, 24),
4116 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
4117 RCAR_GP_PIN(4, 27), RCAR_GP_PIN(4, 28),
4118};
4119static const unsigned int vin0_data18_mux[] = {
4120 /* B */
4121 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
4122 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
4123 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
4124 /* G */
4125 VI0_G2_MARK, VI0_G3_MARK,
4126 VI0_G4_MARK, VI0_G5_MARK,
4127 VI0_G6_MARK, VI0_G7_MARK,
4128 /* R */
4129 VI0_R2_MARK, VI0_R3_MARK,
4130 VI0_R4_MARK, VI0_R5_MARK,
4131 VI0_R6_MARK, VI0_R7_MARK,
4132};
4133static const unsigned int vin0_sync_pins[] = {
4134 RCAR_GP_PIN(4, 3), /* HSYNC */
4135 RCAR_GP_PIN(4, 4), /* VSYNC */
4136};
4137static const unsigned int vin0_sync_mux[] = {
4138 VI0_HSYNC_N_MARK,
4139 VI0_VSYNC_N_MARK,
4140};
4141static const unsigned int vin0_field_pins[] = {
4142 RCAR_GP_PIN(4, 2),
4143};
4144static const unsigned int vin0_field_mux[] = {
4145 VI0_FIELD_MARK,
4146};
4147static const unsigned int vin0_clkenb_pins[] = {
4148 RCAR_GP_PIN(4, 1),
4149};
4150static const unsigned int vin0_clkenb_mux[] = {
4151 VI0_CLKENB_MARK,
4152};
4153static const unsigned int vin0_clk_pins[] = {
4154 RCAR_GP_PIN(4, 0),
4155};
4156static const unsigned int vin0_clk_mux[] = {
4157 VI0_CLK_MARK,
4158};
4159/* - VIN1 ----------------------------------------------------------------- */
4160static const unsigned int vin1_data8_pins[] = {
4161 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
4162 RCAR_GP_PIN(5, 7), RCAR_GP_PIN(5, 8),
4163 RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 10),
4164 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
4165};
4166static const unsigned int vin1_data8_mux[] = {
4167 VI1_DATA0_MARK, VI1_DATA1_MARK,
4168 VI1_DATA2_MARK, VI1_DATA3_MARK,
4169 VI1_DATA4_MARK, VI1_DATA5_MARK,
4170 VI1_DATA6_MARK, VI1_DATA7_MARK,
4171};
4172static const unsigned int vin1_sync_pins[] = {
4173 RCAR_GP_PIN(5, 0), /* HSYNC */
4174 RCAR_GP_PIN(5, 1), /* VSYNC */
4175};
4176static const unsigned int vin1_sync_mux[] = {
4177 VI1_HSYNC_N_MARK,
4178 VI1_VSYNC_N_MARK,
4179};
4180static const unsigned int vin1_field_pins[] = {
4181 RCAR_GP_PIN(5, 3),
4182};
4183static const unsigned int vin1_field_mux[] = {
4184 VI1_FIELD_MARK,
4185};
4186static const unsigned int vin1_clkenb_pins[] = {
4187 RCAR_GP_PIN(5, 2),
4188};
4189static const unsigned int vin1_clkenb_mux[] = {
4190 VI1_CLKENB_MARK,
4191};
4192static const unsigned int vin1_clk_pins[] = {
4193 RCAR_GP_PIN(5, 4),
4194};
4195static const unsigned int vin1_clk_mux[] = {
4196 VI1_CLK_MARK,
4197};
4198static const union vin_data vin1_b_data_pins = {
4199 .data24 = {
4200 /* B */
4201 RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
4202 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
4203 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
4204 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
4205 /* G */
4206 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
4207 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
4208 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
4209 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
4210 /* R */
4211 RCAR_GP_PIN(7, 5), RCAR_GP_PIN(7, 6),
4212 RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
4213 RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
4214 RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
4215 },
4216};
4217static const union vin_data vin1_b_data_mux = {
4218 .data24 = {
4219 /* B */
4220 VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
4221 VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
4222 VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
4223 VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
4224 /* G */
4225 VI1_G0_B_MARK, VI1_G1_B_MARK,
4226 VI1_G2_B_MARK, VI1_G3_B_MARK,
4227 VI1_G4_B_MARK, VI1_G5_B_MARK,
4228 VI1_G6_B_MARK, VI1_G7_B_MARK,
4229 /* R */
4230 VI1_R0_B_MARK, VI1_R1_B_MARK,
4231 VI1_R2_B_MARK, VI1_R3_B_MARK,
4232 VI1_R4_B_MARK, VI1_R5_B_MARK,
4233 VI1_R6_B_MARK, VI1_R7_B_MARK,
4234 },
4235};
4236static const unsigned int vin1_b_data18_pins[] = {
4237 /* B */
4238 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
4239 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
4240 RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
4241 /* G */
4242 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27),
4243 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29),
4244 RCAR_GP_PIN(7, 21), RCAR_GP_PIN(7, 22),
4245 /* R */
4246 RCAR_GP_PIN(2, 15), RCAR_GP_PIN(2, 16),
4247 RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18),
4248 RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20),
4249};
4250static const unsigned int vin1_b_data18_mux[] = {
4251 /* B */
4252 VI1_DATA0_B_MARK, VI1_DATA1_B_MARK,
4253 VI1_DATA2_B_MARK, VI1_DATA3_B_MARK,
4254 VI1_DATA4_B_MARK, VI1_DATA5_B_MARK,
4255 VI1_DATA6_B_MARK, VI1_DATA7_B_MARK,
4256 /* G */
4257 VI1_G0_B_MARK, VI1_G1_B_MARK,
4258 VI1_G2_B_MARK, VI1_G3_B_MARK,
4259 VI1_G4_B_MARK, VI1_G5_B_MARK,
4260 VI1_G6_B_MARK, VI1_G7_B_MARK,
4261 /* R */
4262 VI1_R0_B_MARK, VI1_R1_B_MARK,
4263 VI1_R2_B_MARK, VI1_R3_B_MARK,
4264 VI1_R4_B_MARK, VI1_R5_B_MARK,
4265 VI1_R6_B_MARK, VI1_R7_B_MARK,
4266};
4267static const unsigned int vin1_b_sync_pins[] = {
4268 RCAR_GP_PIN(3, 17), /* HSYNC */
4269 RCAR_GP_PIN(3, 18), /* VSYNC */
4270};
4271static const unsigned int vin1_b_sync_mux[] = {
4272 VI1_HSYNC_N_B_MARK,
4273 VI1_VSYNC_N_B_MARK,
4274};
4275static const unsigned int vin1_b_field_pins[] = {
4276 RCAR_GP_PIN(3, 20),
4277};
4278static const unsigned int vin1_b_field_mux[] = {
4279 VI1_FIELD_B_MARK,
4280};
4281static const unsigned int vin1_b_clkenb_pins[] = {
4282 RCAR_GP_PIN(3, 19),
4283};
4284static const unsigned int vin1_b_clkenb_mux[] = {
4285 VI1_CLKENB_B_MARK,
4286};
4287static const unsigned int vin1_b_clk_pins[] = {
4288 RCAR_GP_PIN(3, 16),
4289};
4290static const unsigned int vin1_b_clk_mux[] = {
4291 VI1_CLK_B_MARK,
4292};
4293/* - VIN2 ----------------------------------------------------------------- */
4294static const unsigned int vin2_data8_pins[] = {
4295 RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
4296 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
4297 RCAR_GP_PIN(4, 24), RCAR_GP_PIN(4, 25),
4298 RCAR_GP_PIN(4, 26), RCAR_GP_PIN(4, 27),
4299};
4300static const unsigned int vin2_data8_mux[] = {
4301 VI2_DATA0_MARK, VI2_DATA1_MARK,
4302 VI2_DATA2_MARK, VI2_DATA3_MARK,
4303 VI2_DATA4_MARK, VI2_DATA5_MARK,
4304 VI2_DATA6_MARK, VI2_DATA7_MARK,
4305};
4306static const unsigned int vin2_sync_pins[] = {
4307 RCAR_GP_PIN(4, 15), /* HSYNC */
4308 RCAR_GP_PIN(4, 16), /* VSYNC */
4309};
4310static const unsigned int vin2_sync_mux[] = {
4311 VI2_HSYNC_N_MARK,
4312 VI2_VSYNC_N_MARK,
4313};
4314static const unsigned int vin2_field_pins[] = {
4315 RCAR_GP_PIN(4, 18),
4316};
4317static const unsigned int vin2_field_mux[] = {
4318 VI2_FIELD_MARK,
4319};
4320static const unsigned int vin2_clkenb_pins[] = {
4321 RCAR_GP_PIN(4, 17),
4322};
4323static const unsigned int vin2_clkenb_mux[] = {
4324 VI2_CLKENB_MARK,
4325};
4326static const unsigned int vin2_clk_pins[] = {
4327 RCAR_GP_PIN(4, 19),
4328};
4329static const unsigned int vin2_clk_mux[] = {
4330 VI2_CLK_MARK,
4331};
4332
Hisashi Nakamura50884512013-10-17 06:46:05 +09004333static const struct sh_pfc_pin_group pinmux_groups[] = {
Kuninori Morimotoc57a05b2014-04-13 17:24:04 -07004334 SH_PFC_PIN_GROUP(audio_clk_a),
4335 SH_PFC_PIN_GROUP(audio_clk_b),
4336 SH_PFC_PIN_GROUP(audio_clk_b_b),
4337 SH_PFC_PIN_GROUP(audio_clk_c),
4338 SH_PFC_PIN_GROUP(audio_clkout),
Sergei Shtylyov59508082015-12-15 01:06:55 +03004339 SH_PFC_PIN_GROUP(avb_link),
4340 SH_PFC_PIN_GROUP(avb_magic),
4341 SH_PFC_PIN_GROUP(avb_phy_int),
4342 SH_PFC_PIN_GROUP(avb_mdio),
4343 SH_PFC_PIN_GROUP(avb_mii),
4344 SH_PFC_PIN_GROUP(avb_gmii),
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004345 SH_PFC_PIN_GROUP(can0_data),
4346 SH_PFC_PIN_GROUP(can0_data_b),
4347 SH_PFC_PIN_GROUP(can0_data_c),
4348 SH_PFC_PIN_GROUP(can0_data_d),
4349 SH_PFC_PIN_GROUP(can0_data_e),
4350 SH_PFC_PIN_GROUP(can0_data_f),
4351 SH_PFC_PIN_GROUP(can1_data),
4352 SH_PFC_PIN_GROUP(can1_data_b),
4353 SH_PFC_PIN_GROUP(can1_data_c),
4354 SH_PFC_PIN_GROUP(can1_data_d),
4355 SH_PFC_PIN_GROUP(can_clk),
4356 SH_PFC_PIN_GROUP(can_clk_b),
4357 SH_PFC_PIN_GROUP(can_clk_c),
4358 SH_PFC_PIN_GROUP(can_clk_d),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004359 SH_PFC_PIN_GROUP(du_rgb666),
4360 SH_PFC_PIN_GROUP(du_rgb888),
4361 SH_PFC_PIN_GROUP(du_clk_out_0),
4362 SH_PFC_PIN_GROUP(du_clk_out_1),
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01004363 SH_PFC_PIN_GROUP(du_sync),
Laurent Pinchartd10046e2014-04-01 12:59:09 +02004364 SH_PFC_PIN_GROUP(du_oddf),
4365 SH_PFC_PIN_GROUP(du_cde),
4366 SH_PFC_PIN_GROUP(du_disp),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004367 SH_PFC_PIN_GROUP(du0_clk_in),
4368 SH_PFC_PIN_GROUP(du1_clk_in),
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01004369 SH_PFC_PIN_GROUP(du1_clk_in_b),
4370 SH_PFC_PIN_GROUP(du1_clk_in_c),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004371 SH_PFC_PIN_GROUP(eth_link),
4372 SH_PFC_PIN_GROUP(eth_magic),
4373 SH_PFC_PIN_GROUP(eth_mdio),
4374 SH_PFC_PIN_GROUP(eth_rmii),
Nobuhiro Iwamatsu7d98fd32014-06-10 11:37:15 +09004375 SH_PFC_PIN_GROUP(hscif0_data),
4376 SH_PFC_PIN_GROUP(hscif0_clk),
4377 SH_PFC_PIN_GROUP(hscif0_ctrl),
4378 SH_PFC_PIN_GROUP(hscif0_data_b),
4379 SH_PFC_PIN_GROUP(hscif0_ctrl_b),
4380 SH_PFC_PIN_GROUP(hscif0_data_c),
4381 SH_PFC_PIN_GROUP(hscif0_clk_c),
4382 SH_PFC_PIN_GROUP(hscif1_data),
4383 SH_PFC_PIN_GROUP(hscif1_clk),
4384 SH_PFC_PIN_GROUP(hscif1_ctrl),
4385 SH_PFC_PIN_GROUP(hscif1_data_b),
4386 SH_PFC_PIN_GROUP(hscif1_data_c),
4387 SH_PFC_PIN_GROUP(hscif1_clk_c),
4388 SH_PFC_PIN_GROUP(hscif1_ctrl_c),
4389 SH_PFC_PIN_GROUP(hscif1_data_d),
4390 SH_PFC_PIN_GROUP(hscif1_data_e),
4391 SH_PFC_PIN_GROUP(hscif1_clk_e),
4392 SH_PFC_PIN_GROUP(hscif1_ctrl_e),
4393 SH_PFC_PIN_GROUP(hscif2_data),
4394 SH_PFC_PIN_GROUP(hscif2_clk),
4395 SH_PFC_PIN_GROUP(hscif2_ctrl),
4396 SH_PFC_PIN_GROUP(hscif2_data_b),
4397 SH_PFC_PIN_GROUP(hscif2_ctrl_b),
4398 SH_PFC_PIN_GROUP(hscif2_data_c),
4399 SH_PFC_PIN_GROUP(hscif2_clk_c),
4400 SH_PFC_PIN_GROUP(hscif2_data_d),
Valentine Barshaka5ffaf62013-12-27 15:27:37 +04004401 SH_PFC_PIN_GROUP(i2c0),
4402 SH_PFC_PIN_GROUP(i2c0_b),
4403 SH_PFC_PIN_GROUP(i2c0_c),
4404 SH_PFC_PIN_GROUP(i2c1),
4405 SH_PFC_PIN_GROUP(i2c1_b),
4406 SH_PFC_PIN_GROUP(i2c1_c),
4407 SH_PFC_PIN_GROUP(i2c1_d),
4408 SH_PFC_PIN_GROUP(i2c1_e),
4409 SH_PFC_PIN_GROUP(i2c2),
4410 SH_PFC_PIN_GROUP(i2c2_b),
4411 SH_PFC_PIN_GROUP(i2c2_c),
4412 SH_PFC_PIN_GROUP(i2c2_d),
4413 SH_PFC_PIN_GROUP(i2c3),
4414 SH_PFC_PIN_GROUP(i2c3_b),
4415 SH_PFC_PIN_GROUP(i2c3_c),
4416 SH_PFC_PIN_GROUP(i2c3_d),
4417 SH_PFC_PIN_GROUP(i2c4),
4418 SH_PFC_PIN_GROUP(i2c4_b),
4419 SH_PFC_PIN_GROUP(i2c4_c),
Wolfram Sang67871412014-02-23 13:38:12 +01004420 SH_PFC_PIN_GROUP(i2c7),
4421 SH_PFC_PIN_GROUP(i2c7_b),
4422 SH_PFC_PIN_GROUP(i2c7_c),
4423 SH_PFC_PIN_GROUP(i2c8),
4424 SH_PFC_PIN_GROUP(i2c8_b),
4425 SH_PFC_PIN_GROUP(i2c8_c),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004426 SH_PFC_PIN_GROUP(intc_irq0),
4427 SH_PFC_PIN_GROUP(intc_irq1),
4428 SH_PFC_PIN_GROUP(intc_irq2),
4429 SH_PFC_PIN_GROUP(intc_irq3),
Sergei Shtylyov8271ee92015-01-10 21:22:36 +03004430 SH_PFC_PIN_GROUP(mlb_3pin),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004431 SH_PFC_PIN_GROUP(mmc_data1),
4432 SH_PFC_PIN_GROUP(mmc_data4),
4433 SH_PFC_PIN_GROUP(mmc_data8),
4434 SH_PFC_PIN_GROUP(mmc_ctrl),
4435 SH_PFC_PIN_GROUP(msiof0_clk),
4436 SH_PFC_PIN_GROUP(msiof0_sync),
4437 SH_PFC_PIN_GROUP(msiof0_ss1),
4438 SH_PFC_PIN_GROUP(msiof0_ss2),
4439 SH_PFC_PIN_GROUP(msiof0_rx),
4440 SH_PFC_PIN_GROUP(msiof0_tx),
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004441 SH_PFC_PIN_GROUP(msiof0_clk_b),
4442 SH_PFC_PIN_GROUP(msiof0_sync_b),
4443 SH_PFC_PIN_GROUP(msiof0_ss1_b),
4444 SH_PFC_PIN_GROUP(msiof0_ss2_b),
4445 SH_PFC_PIN_GROUP(msiof0_rx_b),
4446 SH_PFC_PIN_GROUP(msiof0_tx_b),
4447 SH_PFC_PIN_GROUP(msiof0_clk_c),
4448 SH_PFC_PIN_GROUP(msiof0_sync_c),
4449 SH_PFC_PIN_GROUP(msiof0_ss1_c),
4450 SH_PFC_PIN_GROUP(msiof0_ss2_c),
4451 SH_PFC_PIN_GROUP(msiof0_rx_c),
4452 SH_PFC_PIN_GROUP(msiof0_tx_c),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004453 SH_PFC_PIN_GROUP(msiof1_clk),
4454 SH_PFC_PIN_GROUP(msiof1_sync),
4455 SH_PFC_PIN_GROUP(msiof1_ss1),
4456 SH_PFC_PIN_GROUP(msiof1_ss2),
4457 SH_PFC_PIN_GROUP(msiof1_rx),
4458 SH_PFC_PIN_GROUP(msiof1_tx),
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004459 SH_PFC_PIN_GROUP(msiof1_clk_b),
4460 SH_PFC_PIN_GROUP(msiof1_sync_b),
4461 SH_PFC_PIN_GROUP(msiof1_ss1_b),
4462 SH_PFC_PIN_GROUP(msiof1_ss2_b),
4463 SH_PFC_PIN_GROUP(msiof1_rx_b),
4464 SH_PFC_PIN_GROUP(msiof1_tx_b),
4465 SH_PFC_PIN_GROUP(msiof1_clk_c),
4466 SH_PFC_PIN_GROUP(msiof1_sync_c),
4467 SH_PFC_PIN_GROUP(msiof1_rx_c),
4468 SH_PFC_PIN_GROUP(msiof1_tx_c),
4469 SH_PFC_PIN_GROUP(msiof1_clk_d),
4470 SH_PFC_PIN_GROUP(msiof1_sync_d),
4471 SH_PFC_PIN_GROUP(msiof1_ss1_d),
4472 SH_PFC_PIN_GROUP(msiof1_rx_d),
4473 SH_PFC_PIN_GROUP(msiof1_tx_d),
4474 SH_PFC_PIN_GROUP(msiof1_clk_e),
4475 SH_PFC_PIN_GROUP(msiof1_sync_e),
4476 SH_PFC_PIN_GROUP(msiof1_rx_e),
4477 SH_PFC_PIN_GROUP(msiof1_tx_e),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004478 SH_PFC_PIN_GROUP(msiof2_clk),
4479 SH_PFC_PIN_GROUP(msiof2_sync),
4480 SH_PFC_PIN_GROUP(msiof2_ss1),
4481 SH_PFC_PIN_GROUP(msiof2_ss2),
4482 SH_PFC_PIN_GROUP(msiof2_rx),
4483 SH_PFC_PIN_GROUP(msiof2_tx),
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004484 SH_PFC_PIN_GROUP(msiof2_clk_b),
4485 SH_PFC_PIN_GROUP(msiof2_sync_b),
4486 SH_PFC_PIN_GROUP(msiof2_ss1_b),
4487 SH_PFC_PIN_GROUP(msiof2_ss2_b),
4488 SH_PFC_PIN_GROUP(msiof2_rx_b),
4489 SH_PFC_PIN_GROUP(msiof2_tx_b),
4490 SH_PFC_PIN_GROUP(msiof2_clk_c),
4491 SH_PFC_PIN_GROUP(msiof2_sync_c),
4492 SH_PFC_PIN_GROUP(msiof2_rx_c),
4493 SH_PFC_PIN_GROUP(msiof2_tx_c),
4494 SH_PFC_PIN_GROUP(msiof2_clk_d),
4495 SH_PFC_PIN_GROUP(msiof2_sync_d),
4496 SH_PFC_PIN_GROUP(msiof2_ss1_d),
4497 SH_PFC_PIN_GROUP(msiof2_ss2_d),
4498 SH_PFC_PIN_GROUP(msiof2_rx_d),
4499 SH_PFC_PIN_GROUP(msiof2_tx_d),
4500 SH_PFC_PIN_GROUP(msiof2_clk_e),
4501 SH_PFC_PIN_GROUP(msiof2_sync_e),
4502 SH_PFC_PIN_GROUP(msiof2_rx_e),
4503 SH_PFC_PIN_GROUP(msiof2_tx_e),
Yoshihiro Shimodaf9784292015-05-18 10:41:05 +09004504 SH_PFC_PIN_GROUP(pwm0),
4505 SH_PFC_PIN_GROUP(pwm0_b),
4506 SH_PFC_PIN_GROUP(pwm1),
4507 SH_PFC_PIN_GROUP(pwm1_b),
4508 SH_PFC_PIN_GROUP(pwm2),
4509 SH_PFC_PIN_GROUP(pwm2_b),
4510 SH_PFC_PIN_GROUP(pwm3),
4511 SH_PFC_PIN_GROUP(pwm4),
4512 SH_PFC_PIN_GROUP(pwm4_b),
4513 SH_PFC_PIN_GROUP(pwm5),
4514 SH_PFC_PIN_GROUP(pwm5_b),
4515 SH_PFC_PIN_GROUP(pwm6),
Geert Uytterhoeven2d0c3862014-01-12 12:00:30 +01004516 SH_PFC_PIN_GROUP(qspi_ctrl),
4517 SH_PFC_PIN_GROUP(qspi_data2),
4518 SH_PFC_PIN_GROUP(qspi_data4),
4519 SH_PFC_PIN_GROUP(qspi_ctrl_b),
4520 SH_PFC_PIN_GROUP(qspi_data2_b),
4521 SH_PFC_PIN_GROUP(qspi_data4_b),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004522 SH_PFC_PIN_GROUP(scif0_data),
4523 SH_PFC_PIN_GROUP(scif0_data_b),
4524 SH_PFC_PIN_GROUP(scif0_data_c),
4525 SH_PFC_PIN_GROUP(scif0_data_d),
4526 SH_PFC_PIN_GROUP(scif0_data_e),
4527 SH_PFC_PIN_GROUP(scif1_data),
4528 SH_PFC_PIN_GROUP(scif1_data_b),
4529 SH_PFC_PIN_GROUP(scif1_clk_b),
4530 SH_PFC_PIN_GROUP(scif1_data_c),
4531 SH_PFC_PIN_GROUP(scif1_data_d),
4532 SH_PFC_PIN_GROUP(scif2_data),
4533 SH_PFC_PIN_GROUP(scif2_data_b),
4534 SH_PFC_PIN_GROUP(scif2_clk_b),
4535 SH_PFC_PIN_GROUP(scif2_data_c),
4536 SH_PFC_PIN_GROUP(scif2_data_e),
4537 SH_PFC_PIN_GROUP(scif3_data),
4538 SH_PFC_PIN_GROUP(scif3_clk),
4539 SH_PFC_PIN_GROUP(scif3_data_b),
4540 SH_PFC_PIN_GROUP(scif3_clk_b),
4541 SH_PFC_PIN_GROUP(scif3_data_c),
4542 SH_PFC_PIN_GROUP(scif3_data_d),
4543 SH_PFC_PIN_GROUP(scif4_data),
4544 SH_PFC_PIN_GROUP(scif4_data_b),
4545 SH_PFC_PIN_GROUP(scif4_data_c),
4546 SH_PFC_PIN_GROUP(scif5_data),
4547 SH_PFC_PIN_GROUP(scif5_data_b),
4548 SH_PFC_PIN_GROUP(scifa0_data),
4549 SH_PFC_PIN_GROUP(scifa0_data_b),
4550 SH_PFC_PIN_GROUP(scifa1_data),
4551 SH_PFC_PIN_GROUP(scifa1_clk),
4552 SH_PFC_PIN_GROUP(scifa1_data_b),
4553 SH_PFC_PIN_GROUP(scifa1_clk_b),
4554 SH_PFC_PIN_GROUP(scifa1_data_c),
4555 SH_PFC_PIN_GROUP(scifa2_data),
4556 SH_PFC_PIN_GROUP(scifa2_clk),
4557 SH_PFC_PIN_GROUP(scifa2_data_b),
4558 SH_PFC_PIN_GROUP(scifa3_data),
4559 SH_PFC_PIN_GROUP(scifa3_clk),
4560 SH_PFC_PIN_GROUP(scifa3_data_b),
4561 SH_PFC_PIN_GROUP(scifa3_clk_b),
4562 SH_PFC_PIN_GROUP(scifa3_data_c),
4563 SH_PFC_PIN_GROUP(scifa3_clk_c),
4564 SH_PFC_PIN_GROUP(scifa4_data),
4565 SH_PFC_PIN_GROUP(scifa4_data_b),
4566 SH_PFC_PIN_GROUP(scifa4_data_c),
4567 SH_PFC_PIN_GROUP(scifa5_data),
4568 SH_PFC_PIN_GROUP(scifa5_data_b),
4569 SH_PFC_PIN_GROUP(scifa5_data_c),
4570 SH_PFC_PIN_GROUP(scifb0_data),
4571 SH_PFC_PIN_GROUP(scifb0_clk),
4572 SH_PFC_PIN_GROUP(scifb0_ctrl),
4573 SH_PFC_PIN_GROUP(scifb0_data_b),
4574 SH_PFC_PIN_GROUP(scifb0_clk_b),
4575 SH_PFC_PIN_GROUP(scifb0_ctrl_b),
4576 SH_PFC_PIN_GROUP(scifb0_data_c),
4577 SH_PFC_PIN_GROUP(scifb0_clk_c),
4578 SH_PFC_PIN_GROUP(scifb0_data_d),
4579 SH_PFC_PIN_GROUP(scifb0_clk_d),
4580 SH_PFC_PIN_GROUP(scifb1_data),
4581 SH_PFC_PIN_GROUP(scifb1_clk),
4582 SH_PFC_PIN_GROUP(scifb1_ctrl),
4583 SH_PFC_PIN_GROUP(scifb1_data_b),
4584 SH_PFC_PIN_GROUP(scifb1_clk_b),
4585 SH_PFC_PIN_GROUP(scifb1_data_c),
4586 SH_PFC_PIN_GROUP(scifb1_clk_c),
4587 SH_PFC_PIN_GROUP(scifb1_data_d),
4588 SH_PFC_PIN_GROUP(scifb2_data),
4589 SH_PFC_PIN_GROUP(scifb2_clk),
4590 SH_PFC_PIN_GROUP(scifb2_ctrl),
4591 SH_PFC_PIN_GROUP(scifb2_data_b),
4592 SH_PFC_PIN_GROUP(scifb2_clk_b),
4593 SH_PFC_PIN_GROUP(scifb2_ctrl_b),
4594 SH_PFC_PIN_GROUP(scifb2_data_c),
4595 SH_PFC_PIN_GROUP(scifb2_clk_c),
4596 SH_PFC_PIN_GROUP(scifb2_data_d),
Geert Uytterhoevena4c8a6d2015-10-26 09:53:28 +01004597 SH_PFC_PIN_GROUP(scif_clk),
4598 SH_PFC_PIN_GROUP(scif_clk_b),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004599 SH_PFC_PIN_GROUP(sdhi0_data1),
4600 SH_PFC_PIN_GROUP(sdhi0_data4),
4601 SH_PFC_PIN_GROUP(sdhi0_ctrl),
4602 SH_PFC_PIN_GROUP(sdhi0_cd),
4603 SH_PFC_PIN_GROUP(sdhi0_wp),
4604 SH_PFC_PIN_GROUP(sdhi1_data1),
4605 SH_PFC_PIN_GROUP(sdhi1_data4),
4606 SH_PFC_PIN_GROUP(sdhi1_ctrl),
4607 SH_PFC_PIN_GROUP(sdhi1_cd),
4608 SH_PFC_PIN_GROUP(sdhi1_wp),
4609 SH_PFC_PIN_GROUP(sdhi2_data1),
4610 SH_PFC_PIN_GROUP(sdhi2_data4),
4611 SH_PFC_PIN_GROUP(sdhi2_ctrl),
4612 SH_PFC_PIN_GROUP(sdhi2_cd),
4613 SH_PFC_PIN_GROUP(sdhi2_wp),
Kuninori Morimotob664cd12014-04-13 17:23:35 -07004614 SH_PFC_PIN_GROUP(ssi0_data),
4615 SH_PFC_PIN_GROUP(ssi0_data_b),
4616 SH_PFC_PIN_GROUP(ssi0129_ctrl),
4617 SH_PFC_PIN_GROUP(ssi0129_ctrl_b),
4618 SH_PFC_PIN_GROUP(ssi1_data),
4619 SH_PFC_PIN_GROUP(ssi1_data_b),
4620 SH_PFC_PIN_GROUP(ssi1_ctrl),
4621 SH_PFC_PIN_GROUP(ssi1_ctrl_b),
4622 SH_PFC_PIN_GROUP(ssi2_data),
4623 SH_PFC_PIN_GROUP(ssi2_ctrl),
4624 SH_PFC_PIN_GROUP(ssi3_data),
4625 SH_PFC_PIN_GROUP(ssi34_ctrl),
4626 SH_PFC_PIN_GROUP(ssi4_data),
4627 SH_PFC_PIN_GROUP(ssi4_ctrl),
4628 SH_PFC_PIN_GROUP(ssi5_data),
4629 SH_PFC_PIN_GROUP(ssi5_ctrl),
4630 SH_PFC_PIN_GROUP(ssi6_data),
4631 SH_PFC_PIN_GROUP(ssi6_ctrl),
4632 SH_PFC_PIN_GROUP(ssi7_data),
4633 SH_PFC_PIN_GROUP(ssi7_data_b),
4634 SH_PFC_PIN_GROUP(ssi78_ctrl),
4635 SH_PFC_PIN_GROUP(ssi78_ctrl_b),
4636 SH_PFC_PIN_GROUP(ssi8_data),
4637 SH_PFC_PIN_GROUP(ssi8_data_b),
4638 SH_PFC_PIN_GROUP(ssi9_data),
4639 SH_PFC_PIN_GROUP(ssi9_data_b),
4640 SH_PFC_PIN_GROUP(ssi9_ctrl),
4641 SH_PFC_PIN_GROUP(ssi9_ctrl_b),
Valentine Barshak5e5a2982013-12-20 18:14:24 +04004642 SH_PFC_PIN_GROUP(usb0),
4643 SH_PFC_PIN_GROUP(usb1),
Valentine Barshak8e32c962013-12-25 23:36:01 +04004644 VIN_DATA_PIN_GROUP(vin0_data, 24),
4645 VIN_DATA_PIN_GROUP(vin0_data, 20),
4646 SH_PFC_PIN_GROUP(vin0_data18),
4647 VIN_DATA_PIN_GROUP(vin0_data, 16),
4648 VIN_DATA_PIN_GROUP(vin0_data, 12),
4649 VIN_DATA_PIN_GROUP(vin0_data, 10),
4650 VIN_DATA_PIN_GROUP(vin0_data, 8),
4651 SH_PFC_PIN_GROUP(vin0_sync),
4652 SH_PFC_PIN_GROUP(vin0_field),
4653 SH_PFC_PIN_GROUP(vin0_clkenb),
4654 SH_PFC_PIN_GROUP(vin0_clk),
4655 SH_PFC_PIN_GROUP(vin1_data8),
4656 SH_PFC_PIN_GROUP(vin1_sync),
4657 SH_PFC_PIN_GROUP(vin1_field),
4658 SH_PFC_PIN_GROUP(vin1_clkenb),
4659 SH_PFC_PIN_GROUP(vin1_clk),
4660 VIN_DATA_PIN_GROUP(vin1_b_data, 24),
4661 VIN_DATA_PIN_GROUP(vin1_b_data, 20),
4662 SH_PFC_PIN_GROUP(vin1_b_data18),
4663 VIN_DATA_PIN_GROUP(vin1_b_data, 16),
4664 VIN_DATA_PIN_GROUP(vin1_b_data, 12),
4665 VIN_DATA_PIN_GROUP(vin1_b_data, 10),
4666 VIN_DATA_PIN_GROUP(vin1_b_data, 8),
4667 SH_PFC_PIN_GROUP(vin1_b_sync),
4668 SH_PFC_PIN_GROUP(vin1_b_field),
4669 SH_PFC_PIN_GROUP(vin1_b_clkenb),
4670 SH_PFC_PIN_GROUP(vin1_b_clk),
4671 SH_PFC_PIN_GROUP(vin2_data8),
4672 SH_PFC_PIN_GROUP(vin2_sync),
4673 SH_PFC_PIN_GROUP(vin2_field),
4674 SH_PFC_PIN_GROUP(vin2_clkenb),
4675 SH_PFC_PIN_GROUP(vin2_clk),
Hisashi Nakamura50884512013-10-17 06:46:05 +09004676};
4677
Kuninori Morimotoc57a05b2014-04-13 17:24:04 -07004678static const char * const audio_clk_groups[] = {
4679 "audio_clk_a",
4680 "audio_clk_b",
4681 "audio_clk_b_b",
4682 "audio_clk_c",
4683 "audio_clkout",
4684};
4685
Sergei Shtylyov59508082015-12-15 01:06:55 +03004686static const char * const avb_groups[] = {
4687 "avb_link",
4688 "avb_magic",
4689 "avb_phy_int",
4690 "avb_mdio",
4691 "avb_mii",
4692 "avb_gmii",
4693};
4694
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004695static const char * const can0_groups[] = {
Sergei Shtylyov302fb172014-07-29 02:12:55 +04004696 "can0_data",
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004697 "can0_data_b",
4698 "can0_data_c",
4699 "can0_data_d",
4700 "can0_data_e",
4701 "can0_data_f",
Sergei Shtylyov302fb172014-07-29 02:12:55 +04004702 "can_clk",
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004703 "can_clk_b",
4704 "can_clk_c",
4705 "can_clk_d",
4706};
4707
4708static const char * const can1_groups[] = {
Sergei Shtylyov302fb172014-07-29 02:12:55 +04004709 "can1_data",
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004710 "can1_data_b",
4711 "can1_data_c",
4712 "can1_data_d",
Sergei Shtylyov302fb172014-07-29 02:12:55 +04004713 "can_clk",
Sergei Shtylyov0e938672014-07-02 00:58:16 +04004714 "can_clk_b",
4715 "can_clk_c",
4716 "can_clk_d",
4717};
4718
Hisashi Nakamura50884512013-10-17 06:46:05 +09004719static const char * const du_groups[] = {
4720 "du_rgb666",
4721 "du_rgb888",
4722 "du_clk_out_0",
4723 "du_clk_out_1",
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01004724 "du_sync",
Laurent Pinchartd10046e2014-04-01 12:59:09 +02004725 "du_oddf",
4726 "du_cde",
4727 "du_disp",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004728};
4729
4730static const char * const du0_groups[] = {
4731 "du0_clk_in",
4732};
4733
4734static const char * const du1_groups[] = {
4735 "du1_clk_in",
Laurent Pinchartbc41f9f2013-11-13 13:46:17 +01004736 "du1_clk_in_b",
4737 "du1_clk_in_c",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004738};
4739
4740static const char * const eth_groups[] = {
4741 "eth_link",
4742 "eth_magic",
4743 "eth_mdio",
4744 "eth_rmii",
4745};
4746
Nobuhiro Iwamatsu7d98fd32014-06-10 11:37:15 +09004747static const char * const hscif0_groups[] = {
4748 "hscif0_data",
4749 "hscif0_clk",
4750 "hscif0_ctrl",
4751 "hscif0_data_b",
4752 "hscif0_ctrl_b",
4753 "hscif0_data_c",
4754 "hscif0_clk_c",
4755};
4756
4757static const char * const hscif1_groups[] = {
4758 "hscif1_data",
4759 "hscif1_clk",
4760 "hscif1_ctrl",
4761 "hscif1_data_b",
4762 "hscif1_data_c",
4763 "hscif1_clk_c",
4764 "hscif1_ctrl_c",
4765 "hscif1_data_d",
4766 "hscif1_data_e",
4767 "hscif1_clk_e",
4768 "hscif1_ctrl_e",
4769};
4770
4771static const char * const hscif2_groups[] = {
4772 "hscif2_data",
4773 "hscif2_clk",
4774 "hscif2_ctrl",
4775 "hscif2_data_b",
4776 "hscif2_ctrl_b",
4777 "hscif2_data_c",
4778 "hscif2_clk_c",
4779 "hscif2_data_d",
4780};
4781
Valentine Barshaka5ffaf62013-12-27 15:27:37 +04004782static const char * const i2c0_groups[] = {
4783 "i2c0",
4784 "i2c0_b",
4785 "i2c0_c",
4786};
4787
4788static const char * const i2c1_groups[] = {
4789 "i2c1",
4790 "i2c1_b",
4791 "i2c1_c",
4792 "i2c1_d",
4793 "i2c1_e",
4794};
4795
4796static const char * const i2c2_groups[] = {
4797 "i2c2",
4798 "i2c2_b",
4799 "i2c2_c",
4800 "i2c2_d",
4801};
4802
4803static const char * const i2c3_groups[] = {
4804 "i2c3",
4805 "i2c3_b",
4806 "i2c3_c",
4807 "i2c3_d",
4808};
4809
4810static const char * const i2c4_groups[] = {
4811 "i2c4",
4812 "i2c4_b",
4813 "i2c4_c",
4814};
4815
Wolfram Sang67871412014-02-23 13:38:12 +01004816static const char * const i2c7_groups[] = {
4817 "i2c7",
4818 "i2c7_b",
4819 "i2c7_c",
4820};
4821
4822static const char * const i2c8_groups[] = {
4823 "i2c8",
4824 "i2c8_b",
4825 "i2c8_c",
4826};
4827
Hisashi Nakamura50884512013-10-17 06:46:05 +09004828static const char * const intc_groups[] = {
4829 "intc_irq0",
4830 "intc_irq1",
4831 "intc_irq2",
4832 "intc_irq3",
4833};
4834
Sergei Shtylyov8271ee92015-01-10 21:22:36 +03004835static const char * const mlb_groups[] = {
4836 "mlb_3pin",
4837};
4838
Hisashi Nakamura50884512013-10-17 06:46:05 +09004839static const char * const mmc_groups[] = {
4840 "mmc_data1",
4841 "mmc_data4",
4842 "mmc_data8",
4843 "mmc_ctrl",
4844};
4845
4846static const char * const msiof0_groups[] = {
4847 "msiof0_clk",
Takashi Yoshii2ef39672013-12-02 03:19:12 +09004848 "msiof0_sync",
4849 "msiof0_ss1",
4850 "msiof0_ss2",
4851 "msiof0_rx",
4852 "msiof0_tx",
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004853 "msiof0_clk_b",
4854 "msiof0_sync_b",
4855 "msiof0_ss1_b",
4856 "msiof0_ss2_b",
4857 "msiof0_rx_b",
4858 "msiof0_tx_b",
4859 "msiof0_clk_c",
4860 "msiof0_sync_c",
4861 "msiof0_ss1_c",
4862 "msiof0_ss2_c",
4863 "msiof0_rx_c",
4864 "msiof0_tx_c",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004865};
4866
4867static const char * const msiof1_groups[] = {
4868 "msiof1_clk",
Takashi Yoshii2ef39672013-12-02 03:19:12 +09004869 "msiof1_sync",
4870 "msiof1_ss1",
4871 "msiof1_ss2",
4872 "msiof1_rx",
4873 "msiof1_tx",
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004874 "msiof1_clk_b",
4875 "msiof1_sync_b",
4876 "msiof1_ss1_b",
4877 "msiof1_ss2_b",
4878 "msiof1_rx_b",
4879 "msiof1_tx_b",
4880 "msiof1_clk_c",
4881 "msiof1_sync_c",
4882 "msiof1_rx_c",
4883 "msiof1_tx_c",
4884 "msiof1_clk_d",
4885 "msiof1_sync_d",
4886 "msiof1_ss1_d",
4887 "msiof1_rx_d",
4888 "msiof1_tx_d",
4889 "msiof1_clk_e",
4890 "msiof1_sync_e",
4891 "msiof1_rx_e",
4892 "msiof1_tx_e",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004893};
4894
4895static const char * const msiof2_groups[] = {
4896 "msiof2_clk",
Takashi Yoshii2ef39672013-12-02 03:19:12 +09004897 "msiof2_sync",
4898 "msiof2_ss1",
4899 "msiof2_ss2",
4900 "msiof2_rx",
4901 "msiof2_tx",
Geert Uytterhoevene6fae2d2014-02-26 10:16:57 +01004902 "msiof2_clk_b",
4903 "msiof2_sync_b",
4904 "msiof2_ss1_b",
4905 "msiof2_ss2_b",
4906 "msiof2_rx_b",
4907 "msiof2_tx_b",
4908 "msiof2_clk_c",
4909 "msiof2_sync_c",
4910 "msiof2_rx_c",
4911 "msiof2_tx_c",
4912 "msiof2_clk_d",
4913 "msiof2_sync_d",
4914 "msiof2_ss1_d",
4915 "msiof2_ss2_d",
4916 "msiof2_rx_d",
4917 "msiof2_tx_d",
4918 "msiof2_clk_e",
4919 "msiof2_sync_e",
4920 "msiof2_rx_e",
4921 "msiof2_tx_e",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004922};
4923
Yoshihiro Shimodaf9784292015-05-18 10:41:05 +09004924static const char * const pwm0_groups[] = {
4925 "pwm0",
4926 "pwm0_b",
4927};
4928
4929static const char * const pwm1_groups[] = {
4930 "pwm1",
4931 "pwm1_b",
4932};
4933
4934static const char * const pwm2_groups[] = {
4935 "pwm2",
4936 "pwm2_b",
4937};
4938
4939static const char * const pwm3_groups[] = {
4940 "pwm3",
4941};
4942
4943static const char * const pwm4_groups[] = {
4944 "pwm4",
4945 "pwm4_b",
4946};
4947
4948static const char * const pwm5_groups[] = {
4949 "pwm5",
4950 "pwm5_b",
4951};
4952
4953static const char * const pwm6_groups[] = {
4954 "pwm6",
4955};
4956
Geert Uytterhoeven2d0c3862014-01-12 12:00:30 +01004957static const char * const qspi_groups[] = {
4958 "qspi_ctrl",
4959 "qspi_data2",
4960 "qspi_data4",
4961 "qspi_ctrl_b",
4962 "qspi_data2_b",
4963 "qspi_data4_b",
Hisashi Nakamura50884512013-10-17 06:46:05 +09004964};
4965
4966static const char * const scif0_groups[] = {
4967 "scif0_data",
4968 "scif0_data_b",
4969 "scif0_data_c",
4970 "scif0_data_d",
4971 "scif0_data_e",
4972};
4973
4974static const char * const scif1_groups[] = {
4975 "scif1_data",
4976 "scif1_data_b",
4977 "scif1_clk_b",
4978 "scif1_data_c",
4979 "scif1_data_d",
4980};
4981
4982static const char * const scif2_groups[] = {
4983 "scif2_data",
4984 "scif2_data_b",
4985 "scif2_clk_b",
4986 "scif2_data_c",
4987 "scif2_data_e",
4988};
4989static const char * const scif3_groups[] = {
4990 "scif3_data",
4991 "scif3_clk",
4992 "scif3_data_b",
4993 "scif3_clk_b",
4994 "scif3_data_c",
4995 "scif3_data_d",
4996};
4997static const char * const scif4_groups[] = {
4998 "scif4_data",
4999 "scif4_data_b",
5000 "scif4_data_c",
5001};
5002static const char * const scif5_groups[] = {
5003 "scif5_data",
5004 "scif5_data_b",
5005};
5006static const char * const scifa0_groups[] = {
5007 "scifa0_data",
5008 "scifa0_data_b",
5009};
5010static const char * const scifa1_groups[] = {
5011 "scifa1_data",
5012 "scifa1_clk",
5013 "scifa1_data_b",
5014 "scifa1_clk_b",
5015 "scifa1_data_c",
5016};
5017static const char * const scifa2_groups[] = {
5018 "scifa2_data",
5019 "scifa2_clk",
5020 "scifa2_data_b",
5021};
5022static const char * const scifa3_groups[] = {
5023 "scifa3_data",
5024 "scifa3_clk",
5025 "scifa3_data_b",
5026 "scifa3_clk_b",
5027 "scifa3_data_c",
5028 "scifa3_clk_c",
5029};
5030static const char * const scifa4_groups[] = {
5031 "scifa4_data",
5032 "scifa4_data_b",
5033 "scifa4_data_c",
5034};
5035static const char * const scifa5_groups[] = {
5036 "scifa5_data",
5037 "scifa5_data_b",
5038 "scifa5_data_c",
5039};
5040static const char * const scifb0_groups[] = {
5041 "scifb0_data",
5042 "scifb0_clk",
5043 "scifb0_ctrl",
5044 "scifb0_data_b",
5045 "scifb0_clk_b",
5046 "scifb0_ctrl_b",
5047 "scifb0_data_c",
5048 "scifb0_clk_c",
5049 "scifb0_data_d",
5050 "scifb0_clk_d",
5051};
5052static const char * const scifb1_groups[] = {
5053 "scifb1_data",
5054 "scifb1_clk",
5055 "scifb1_ctrl",
5056 "scifb1_data_b",
5057 "scifb1_clk_b",
5058 "scifb1_data_c",
5059 "scifb1_clk_c",
5060 "scifb1_data_d",
5061};
5062static const char * const scifb2_groups[] = {
5063 "scifb2_data",
5064 "scifb2_clk",
5065 "scifb2_ctrl",
5066 "scifb2_data_b",
5067 "scifb2_clk_b",
5068 "scifb2_ctrl_b",
5069 "scifb0_data_c",
5070 "scifb2_clk_c",
5071 "scifb2_data_d",
5072};
5073
Geert Uytterhoevena4c8a6d2015-10-26 09:53:28 +01005074static const char * const scif_clk_groups[] = {
5075 "scif_clk",
5076 "scif_clk_b",
5077};
5078
Hisashi Nakamura50884512013-10-17 06:46:05 +09005079static const char * const sdhi0_groups[] = {
5080 "sdhi0_data1",
5081 "sdhi0_data4",
5082 "sdhi0_ctrl",
5083 "sdhi0_cd",
5084 "sdhi0_wp",
5085};
5086
5087static const char * const sdhi1_groups[] = {
5088 "sdhi1_data1",
5089 "sdhi1_data4",
5090 "sdhi1_ctrl",
5091 "sdhi1_cd",
5092 "sdhi1_wp",
5093};
5094
5095static const char * const sdhi2_groups[] = {
5096 "sdhi2_data1",
5097 "sdhi2_data4",
5098 "sdhi2_ctrl",
5099 "sdhi2_cd",
5100 "sdhi2_wp",
5101};
5102
Kuninori Morimotob664cd12014-04-13 17:23:35 -07005103static const char * const ssi_groups[] = {
5104 "ssi0_data",
5105 "ssi0_data_b",
5106 "ssi0129_ctrl",
5107 "ssi0129_ctrl_b",
5108 "ssi1_data",
5109 "ssi1_data_b",
5110 "ssi1_ctrl",
5111 "ssi1_ctrl_b",
5112 "ssi2_data",
5113 "ssi2_ctrl",
5114 "ssi3_data",
5115 "ssi34_ctrl",
5116 "ssi4_data",
5117 "ssi4_ctrl",
5118 "ssi5_data",
5119 "ssi5_ctrl",
5120 "ssi6_data",
5121 "ssi6_ctrl",
5122 "ssi7_data",
5123 "ssi7_data_b",
5124 "ssi78_ctrl",
5125 "ssi78_ctrl_b",
5126 "ssi8_data",
5127 "ssi8_data_b",
5128 "ssi9_data",
5129 "ssi9_data_b",
5130 "ssi9_ctrl",
5131 "ssi9_ctrl_b",
5132};
5133
Hisashi Nakamura50884512013-10-17 06:46:05 +09005134static const char * const usb0_groups[] = {
Valentine Barshak5e5a2982013-12-20 18:14:24 +04005135 "usb0",
Hisashi Nakamura50884512013-10-17 06:46:05 +09005136};
5137static const char * const usb1_groups[] = {
Valentine Barshak5e5a2982013-12-20 18:14:24 +04005138 "usb1",
Hisashi Nakamura50884512013-10-17 06:46:05 +09005139};
5140
Valentine Barshak8e32c962013-12-25 23:36:01 +04005141static const char * const vin0_groups[] = {
5142 "vin0_data24",
5143 "vin0_data20",
5144 "vin0_data18",
5145 "vin0_data16",
5146 "vin0_data12",
5147 "vin0_data10",
5148 "vin0_data8",
5149 "vin0_sync",
5150 "vin0_field",
5151 "vin0_clkenb",
5152 "vin0_clk",
5153};
5154
5155static const char * const vin1_groups[] = {
5156 "vin1_data8",
5157 "vin1_sync",
5158 "vin1_field",
5159 "vin1_clkenb",
5160 "vin1_clk",
5161 "vin1_b_data24",
5162 "vin1_b_data20",
5163 "vin1_b_data18",
5164 "vin1_b_data16",
5165 "vin1_b_data12",
5166 "vin1_b_data10",
5167 "vin1_b_data8",
5168 "vin1_b_sync",
5169 "vin1_b_field",
5170 "vin1_b_clkenb",
5171 "vin1_b_clk",
5172};
5173
5174static const char * const vin2_groups[] = {
5175 "vin2_data8",
5176 "vin2_sync",
5177 "vin2_field",
5178 "vin2_clkenb",
5179 "vin2_clk",
5180};
5181
Hisashi Nakamura50884512013-10-17 06:46:05 +09005182static const struct sh_pfc_function pinmux_functions[] = {
Kuninori Morimotoc57a05b2014-04-13 17:24:04 -07005183 SH_PFC_FUNCTION(audio_clk),
Sergei Shtylyov59508082015-12-15 01:06:55 +03005184 SH_PFC_FUNCTION(avb),
Sergei Shtylyov0e938672014-07-02 00:58:16 +04005185 SH_PFC_FUNCTION(can0),
5186 SH_PFC_FUNCTION(can1),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005187 SH_PFC_FUNCTION(du),
5188 SH_PFC_FUNCTION(du0),
5189 SH_PFC_FUNCTION(du1),
5190 SH_PFC_FUNCTION(eth),
Nobuhiro Iwamatsu7d98fd32014-06-10 11:37:15 +09005191 SH_PFC_FUNCTION(hscif0),
5192 SH_PFC_FUNCTION(hscif1),
5193 SH_PFC_FUNCTION(hscif2),
Valentine Barshaka5ffaf62013-12-27 15:27:37 +04005194 SH_PFC_FUNCTION(i2c0),
5195 SH_PFC_FUNCTION(i2c1),
5196 SH_PFC_FUNCTION(i2c2),
5197 SH_PFC_FUNCTION(i2c3),
5198 SH_PFC_FUNCTION(i2c4),
Wolfram Sang67871412014-02-23 13:38:12 +01005199 SH_PFC_FUNCTION(i2c7),
5200 SH_PFC_FUNCTION(i2c8),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005201 SH_PFC_FUNCTION(intc),
Sergei Shtylyov8271ee92015-01-10 21:22:36 +03005202 SH_PFC_FUNCTION(mlb),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005203 SH_PFC_FUNCTION(mmc),
5204 SH_PFC_FUNCTION(msiof0),
5205 SH_PFC_FUNCTION(msiof1),
5206 SH_PFC_FUNCTION(msiof2),
Yoshihiro Shimodaf9784292015-05-18 10:41:05 +09005207 SH_PFC_FUNCTION(pwm0),
5208 SH_PFC_FUNCTION(pwm1),
5209 SH_PFC_FUNCTION(pwm2),
5210 SH_PFC_FUNCTION(pwm3),
5211 SH_PFC_FUNCTION(pwm4),
5212 SH_PFC_FUNCTION(pwm5),
5213 SH_PFC_FUNCTION(pwm6),
Geert Uytterhoeven2d0c3862014-01-12 12:00:30 +01005214 SH_PFC_FUNCTION(qspi),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005215 SH_PFC_FUNCTION(scif0),
5216 SH_PFC_FUNCTION(scif1),
5217 SH_PFC_FUNCTION(scif2),
5218 SH_PFC_FUNCTION(scif3),
5219 SH_PFC_FUNCTION(scif4),
5220 SH_PFC_FUNCTION(scif5),
5221 SH_PFC_FUNCTION(scifa0),
5222 SH_PFC_FUNCTION(scifa1),
5223 SH_PFC_FUNCTION(scifa2),
5224 SH_PFC_FUNCTION(scifa3),
5225 SH_PFC_FUNCTION(scifa4),
5226 SH_PFC_FUNCTION(scifa5),
5227 SH_PFC_FUNCTION(scifb0),
5228 SH_PFC_FUNCTION(scifb1),
5229 SH_PFC_FUNCTION(scifb2),
Geert Uytterhoevena4c8a6d2015-10-26 09:53:28 +01005230 SH_PFC_FUNCTION(scif_clk),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005231 SH_PFC_FUNCTION(sdhi0),
5232 SH_PFC_FUNCTION(sdhi1),
5233 SH_PFC_FUNCTION(sdhi2),
Kuninori Morimotob664cd12014-04-13 17:23:35 -07005234 SH_PFC_FUNCTION(ssi),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005235 SH_PFC_FUNCTION(usb0),
5236 SH_PFC_FUNCTION(usb1),
Valentine Barshak8e32c962013-12-25 23:36:01 +04005237 SH_PFC_FUNCTION(vin0),
5238 SH_PFC_FUNCTION(vin1),
5239 SH_PFC_FUNCTION(vin2),
Hisashi Nakamura50884512013-10-17 06:46:05 +09005240};
5241
Laurent Pinchart44a45b52013-12-16 20:25:17 +01005242static const struct pinmux_cfg_reg pinmux_config_regs[] = {
Hisashi Nakamura50884512013-10-17 06:46:05 +09005243 { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
5244 GP_0_31_FN, FN_IP1_22_20,
5245 GP_0_30_FN, FN_IP1_19_17,
5246 GP_0_29_FN, FN_IP1_16_14,
5247 GP_0_28_FN, FN_IP1_13_11,
5248 GP_0_27_FN, FN_IP1_10_8,
5249 GP_0_26_FN, FN_IP1_7_6,
5250 GP_0_25_FN, FN_IP1_5_4,
5251 GP_0_24_FN, FN_IP1_3_2,
5252 GP_0_23_FN, FN_IP1_1_0,
5253 GP_0_22_FN, FN_IP0_30_29,
5254 GP_0_21_FN, FN_IP0_28_27,
5255 GP_0_20_FN, FN_IP0_26_25,
5256 GP_0_19_FN, FN_IP0_24_23,
5257 GP_0_18_FN, FN_IP0_22_21,
5258 GP_0_17_FN, FN_IP0_20_19,
5259 GP_0_16_FN, FN_IP0_18_16,
5260 GP_0_15_FN, FN_IP0_15,
5261 GP_0_14_FN, FN_IP0_14,
5262 GP_0_13_FN, FN_IP0_13,
5263 GP_0_12_FN, FN_IP0_12,
5264 GP_0_11_FN, FN_IP0_11,
5265 GP_0_10_FN, FN_IP0_10,
5266 GP_0_9_FN, FN_IP0_9,
5267 GP_0_8_FN, FN_IP0_8,
5268 GP_0_7_FN, FN_IP0_7,
5269 GP_0_6_FN, FN_IP0_6,
5270 GP_0_5_FN, FN_IP0_5,
5271 GP_0_4_FN, FN_IP0_4,
5272 GP_0_3_FN, FN_IP0_3,
5273 GP_0_2_FN, FN_IP0_2,
5274 GP_0_1_FN, FN_IP0_1,
5275 GP_0_0_FN, FN_IP0_0, }
5276 },
5277 { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
5278 0, 0,
5279 0, 0,
5280 0, 0,
5281 0, 0,
5282 0, 0,
5283 0, 0,
5284 GP_1_25_FN, FN_IP3_21_20,
5285 GP_1_24_FN, FN_IP3_19_18,
5286 GP_1_23_FN, FN_IP3_17_16,
5287 GP_1_22_FN, FN_IP3_15_14,
5288 GP_1_21_FN, FN_IP3_13_12,
5289 GP_1_20_FN, FN_IP3_11_9,
5290 GP_1_19_FN, FN_RD_N,
5291 GP_1_18_FN, FN_IP3_8_6,
5292 GP_1_17_FN, FN_IP3_5_3,
5293 GP_1_16_FN, FN_IP3_2_0,
5294 GP_1_15_FN, FN_IP2_29_27,
5295 GP_1_14_FN, FN_IP2_26_25,
5296 GP_1_13_FN, FN_IP2_24_23,
5297 GP_1_12_FN, FN_EX_CS0_N,
5298 GP_1_11_FN, FN_IP2_22_21,
5299 GP_1_10_FN, FN_IP2_20_19,
5300 GP_1_9_FN, FN_IP2_18_16,
5301 GP_1_8_FN, FN_IP2_15_13,
5302 GP_1_7_FN, FN_IP2_12_10,
5303 GP_1_6_FN, FN_IP2_9_7,
5304 GP_1_5_FN, FN_IP2_6_5,
5305 GP_1_4_FN, FN_IP2_4_3,
5306 GP_1_3_FN, FN_IP2_2_0,
5307 GP_1_2_FN, FN_IP1_31_29,
5308 GP_1_1_FN, FN_IP1_28_26,
5309 GP_1_0_FN, FN_IP1_25_23, }
5310 },
5311 { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
5312 GP_2_31_FN, FN_IP6_7_6,
5313 GP_2_30_FN, FN_IP6_5_3,
5314 GP_2_29_FN, FN_IP6_2_0,
5315 GP_2_28_FN, FN_AUDIO_CLKA,
5316 GP_2_27_FN, FN_IP5_31_29,
5317 GP_2_26_FN, FN_IP5_28_26,
5318 GP_2_25_FN, FN_IP5_25_24,
5319 GP_2_24_FN, FN_IP5_23_22,
5320 GP_2_23_FN, FN_IP5_21_20,
5321 GP_2_22_FN, FN_IP5_19_17,
5322 GP_2_21_FN, FN_IP5_16_15,
5323 GP_2_20_FN, FN_IP5_14_12,
5324 GP_2_19_FN, FN_IP5_11_9,
5325 GP_2_18_FN, FN_IP5_8_6,
5326 GP_2_17_FN, FN_IP5_5_3,
5327 GP_2_16_FN, FN_IP5_2_0,
5328 GP_2_15_FN, FN_IP4_30_28,
5329 GP_2_14_FN, FN_IP4_27_26,
5330 GP_2_13_FN, FN_IP4_25_24,
5331 GP_2_12_FN, FN_IP4_23_22,
5332 GP_2_11_FN, FN_IP4_21,
5333 GP_2_10_FN, FN_IP4_20,
5334 GP_2_9_FN, FN_IP4_19,
5335 GP_2_8_FN, FN_IP4_18_16,
5336 GP_2_7_FN, FN_IP4_15_13,
5337 GP_2_6_FN, FN_IP4_12_10,
5338 GP_2_5_FN, FN_IP4_9_8,
5339 GP_2_4_FN, FN_IP4_7_5,
5340 GP_2_3_FN, FN_IP4_4_2,
5341 GP_2_2_FN, FN_IP4_1_0,
5342 GP_2_1_FN, FN_IP3_30_28,
5343 GP_2_0_FN, FN_IP3_27_25 }
5344 },
5345 { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
5346 GP_3_31_FN, FN_IP9_18_17,
5347 GP_3_30_FN, FN_IP9_16,
5348 GP_3_29_FN, FN_IP9_15_13,
5349 GP_3_28_FN, FN_IP9_12,
5350 GP_3_27_FN, FN_IP9_11,
5351 GP_3_26_FN, FN_IP9_10_8,
5352 GP_3_25_FN, FN_IP9_7,
5353 GP_3_24_FN, FN_IP9_6,
5354 GP_3_23_FN, FN_IP9_5_3,
5355 GP_3_22_FN, FN_IP9_2_0,
5356 GP_3_21_FN, FN_IP8_30_28,
5357 GP_3_20_FN, FN_IP8_27_26,
5358 GP_3_19_FN, FN_IP8_25_24,
5359 GP_3_18_FN, FN_IP8_23_21,
5360 GP_3_17_FN, FN_IP8_20_18,
5361 GP_3_16_FN, FN_IP8_17_15,
5362 GP_3_15_FN, FN_IP8_14_12,
5363 GP_3_14_FN, FN_IP8_11_9,
5364 GP_3_13_FN, FN_IP8_8_6,
5365 GP_3_12_FN, FN_IP8_5_3,
5366 GP_3_11_FN, FN_IP8_2_0,
5367 GP_3_10_FN, FN_IP7_29_27,
5368 GP_3_9_FN, FN_IP7_26_24,
5369 GP_3_8_FN, FN_IP7_23_21,
5370 GP_3_7_FN, FN_IP7_20_19,
5371 GP_3_6_FN, FN_IP7_18_17,
5372 GP_3_5_FN, FN_IP7_16_15,
5373 GP_3_4_FN, FN_IP7_14_13,
5374 GP_3_3_FN, FN_IP7_12_11,
5375 GP_3_2_FN, FN_IP7_10_9,
5376 GP_3_1_FN, FN_IP7_8_6,
5377 GP_3_0_FN, FN_IP7_5_3 }
5378 },
5379 { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
5380 GP_4_31_FN, FN_IP15_5_4,
5381 GP_4_30_FN, FN_IP15_3_2,
5382 GP_4_29_FN, FN_IP15_1_0,
5383 GP_4_28_FN, FN_IP11_8_6,
5384 GP_4_27_FN, FN_IP11_5_3,
5385 GP_4_26_FN, FN_IP11_2_0,
5386 GP_4_25_FN, FN_IP10_31_29,
5387 GP_4_24_FN, FN_IP10_28_27,
5388 GP_4_23_FN, FN_IP10_26_25,
5389 GP_4_22_FN, FN_IP10_24_22,
5390 GP_4_21_FN, FN_IP10_21_19,
5391 GP_4_20_FN, FN_IP10_18_17,
5392 GP_4_19_FN, FN_IP10_16_15,
5393 GP_4_18_FN, FN_IP10_14_12,
5394 GP_4_17_FN, FN_IP10_11_9,
5395 GP_4_16_FN, FN_IP10_8_6,
5396 GP_4_15_FN, FN_IP10_5_3,
5397 GP_4_14_FN, FN_IP10_2_0,
5398 GP_4_13_FN, FN_IP9_31_29,
5399 GP_4_12_FN, FN_VI0_DATA7_VI0_B7,
5400 GP_4_11_FN, FN_VI0_DATA6_VI0_B6,
5401 GP_4_10_FN, FN_VI0_DATA5_VI0_B5,
5402 GP_4_9_FN, FN_VI0_DATA4_VI0_B4,
5403 GP_4_8_FN, FN_IP9_28_27,
5404 GP_4_7_FN, FN_VI0_DATA2_VI0_B2,
5405 GP_4_6_FN, FN_VI0_DATA1_VI0_B1,
5406 GP_4_5_FN, FN_VI0_DATA0_VI0_B0,
5407 GP_4_4_FN, FN_IP9_26_25,
5408 GP_4_3_FN, FN_IP9_24_23,
5409 GP_4_2_FN, FN_IP9_22_21,
5410 GP_4_1_FN, FN_IP9_20_19,
5411 GP_4_0_FN, FN_VI0_CLK }
5412 },
5413 { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
5414 GP_5_31_FN, FN_IP3_24_22,
5415 GP_5_30_FN, FN_IP13_9_7,
5416 GP_5_29_FN, FN_IP13_6_5,
5417 GP_5_28_FN, FN_IP13_4_3,
5418 GP_5_27_FN, FN_IP13_2_0,
5419 GP_5_26_FN, FN_IP12_29_27,
5420 GP_5_25_FN, FN_IP12_26_24,
5421 GP_5_24_FN, FN_IP12_23_22,
5422 GP_5_23_FN, FN_IP12_21_20,
5423 GP_5_22_FN, FN_IP12_19_18,
5424 GP_5_21_FN, FN_IP12_17_16,
5425 GP_5_20_FN, FN_IP12_15_13,
5426 GP_5_19_FN, FN_IP12_12_10,
5427 GP_5_18_FN, FN_IP12_9_7,
5428 GP_5_17_FN, FN_IP12_6_4,
5429 GP_5_16_FN, FN_IP12_3_2,
5430 GP_5_15_FN, FN_IP12_1_0,
5431 GP_5_14_FN, FN_IP11_31_30,
5432 GP_5_13_FN, FN_IP11_29_28,
5433 GP_5_12_FN, FN_IP11_27,
5434 GP_5_11_FN, FN_IP11_26,
5435 GP_5_10_FN, FN_IP11_25,
5436 GP_5_9_FN, FN_IP11_24,
5437 GP_5_8_FN, FN_IP11_23,
5438 GP_5_7_FN, FN_IP11_22,
5439 GP_5_6_FN, FN_IP11_21,
5440 GP_5_5_FN, FN_IP11_20,
5441 GP_5_4_FN, FN_IP11_19,
5442 GP_5_3_FN, FN_IP11_18_17,
5443 GP_5_2_FN, FN_IP11_16_15,
5444 GP_5_1_FN, FN_IP11_14_12,
5445 GP_5_0_FN, FN_IP11_11_9 }
5446 },
5447 { PINMUX_CFG_REG("GPSR6", 0xE606001C, 32, 1) {
5448 GP_6_31_FN, FN_DU0_DOTCLKIN,
5449 GP_6_30_FN, FN_USB1_OVC,
5450 GP_6_29_FN, FN_IP14_31_29,
5451 GP_6_28_FN, FN_IP14_28_26,
5452 GP_6_27_FN, FN_IP14_25_23,
5453 GP_6_26_FN, FN_IP14_22_20,
5454 GP_6_25_FN, FN_IP14_19_17,
5455 GP_6_24_FN, FN_IP14_16_14,
5456 GP_6_23_FN, FN_IP14_13_11,
5457 GP_6_22_FN, FN_IP14_10_8,
5458 GP_6_21_FN, FN_IP14_7,
5459 GP_6_20_FN, FN_IP14_6,
5460 GP_6_19_FN, FN_IP14_5,
5461 GP_6_18_FN, FN_IP14_4,
5462 GP_6_17_FN, FN_IP14_3,
5463 GP_6_16_FN, FN_IP14_2,
5464 GP_6_15_FN, FN_IP14_1_0,
5465 GP_6_14_FN, FN_IP13_30_28,
5466 GP_6_13_FN, FN_IP13_27,
5467 GP_6_12_FN, FN_IP13_26,
5468 GP_6_11_FN, FN_IP13_25,
5469 GP_6_10_FN, FN_IP13_24_23,
5470 GP_6_9_FN, FN_IP13_22,
Magnus Dammb5973fc2014-02-26 19:10:26 +09005471 GP_6_8_FN, FN_SD1_CLK,
Hisashi Nakamura50884512013-10-17 06:46:05 +09005472 GP_6_7_FN, FN_IP13_21_19,
5473 GP_6_6_FN, FN_IP13_18_16,
5474 GP_6_5_FN, FN_IP13_15,
5475 GP_6_4_FN, FN_IP13_14,
5476 GP_6_3_FN, FN_IP13_13,
5477 GP_6_2_FN, FN_IP13_12,
5478 GP_6_1_FN, FN_IP13_11,
5479 GP_6_0_FN, FN_IP13_10 }
5480 },
5481 { PINMUX_CFG_REG("GPSR7", 0xE6060074, 32, 1) {
5482 0, 0,
5483 0, 0,
5484 0, 0,
5485 0, 0,
5486 0, 0,
5487 0, 0,
5488 GP_7_25_FN, FN_USB1_PWEN,
5489 GP_7_24_FN, FN_USB0_OVC,
5490 GP_7_23_FN, FN_USB0_PWEN,
5491 GP_7_22_FN, FN_IP15_14_12,
5492 GP_7_21_FN, FN_IP15_11_9,
5493 GP_7_20_FN, FN_IP15_8_6,
5494 GP_7_19_FN, FN_IP7_2_0,
5495 GP_7_18_FN, FN_IP6_29_27,
5496 GP_7_17_FN, FN_IP6_26_24,
5497 GP_7_16_FN, FN_IP6_23_21,
5498 GP_7_15_FN, FN_IP6_20_19,
5499 GP_7_14_FN, FN_IP6_18_16,
5500 GP_7_13_FN, FN_IP6_15_14,
5501 GP_7_12_FN, FN_IP6_13_12,
5502 GP_7_11_FN, FN_IP6_11_10,
5503 GP_7_10_FN, FN_IP6_9_8,
5504 GP_7_9_FN, FN_IP16_11_10,
5505 GP_7_8_FN, FN_IP16_9_8,
5506 GP_7_7_FN, FN_IP16_7_6,
5507 GP_7_6_FN, FN_IP16_5_3,
5508 GP_7_5_FN, FN_IP16_2_0,
5509 GP_7_4_FN, FN_IP15_29_27,
5510 GP_7_3_FN, FN_IP15_26_24,
5511 GP_7_2_FN, FN_IP15_23_21,
5512 GP_7_1_FN, FN_IP15_20_18,
5513 GP_7_0_FN, FN_IP15_17_15 }
5514 },
5515 { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
5516 1, 2, 2, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1,
5517 1, 1, 1, 1, 1, 1, 1, 1) {
5518 /* IP0_31 [1] */
5519 0, 0,
5520 /* IP0_30_29 [2] */
5521 FN_A6, FN_MSIOF1_SCK,
5522 0, 0,
5523 /* IP0_28_27 [2] */
5524 FN_A5, FN_MSIOF0_RXD_B,
5525 0, 0,
5526 /* IP0_26_25 [2] */
5527 FN_A4, FN_MSIOF0_TXD_B,
5528 0, 0,
5529 /* IP0_24_23 [2] */
5530 FN_A3, FN_MSIOF0_SS2_B,
5531 0, 0,
5532 /* IP0_22_21 [2] */
5533 FN_A2, FN_MSIOF0_SS1_B,
5534 0, 0,
5535 /* IP0_20_19 [2] */
5536 FN_A1, FN_MSIOF0_SYNC_B,
5537 0, 0,
5538 /* IP0_18_16 [3] */
5539 FN_A0, FN_ATAWR0_N_C, FN_MSIOF0_SCK_B, FN_SCL0_C, FN_PWM2_B,
5540 0, 0, 0,
5541 /* IP0_15 [1] */
5542 FN_D15, 0,
5543 /* IP0_14 [1] */
5544 FN_D14, 0,
5545 /* IP0_13 [1] */
5546 FN_D13, 0,
5547 /* IP0_12 [1] */
5548 FN_D12, 0,
5549 /* IP0_11 [1] */
5550 FN_D11, 0,
5551 /* IP0_10 [1] */
5552 FN_D10, 0,
5553 /* IP0_9 [1] */
5554 FN_D9, 0,
5555 /* IP0_8 [1] */
5556 FN_D8, 0,
5557 /* IP0_7 [1] */
5558 FN_D7, 0,
5559 /* IP0_6 [1] */
5560 FN_D6, 0,
5561 /* IP0_5 [1] */
5562 FN_D5, 0,
5563 /* IP0_4 [1] */
5564 FN_D4, 0,
5565 /* IP0_3 [1] */
5566 FN_D3, 0,
5567 /* IP0_2 [1] */
5568 FN_D2, 0,
5569 /* IP0_1 [1] */
5570 FN_D1, 0,
5571 /* IP0_0 [1] */
5572 FN_D0, 0, }
5573 },
5574 { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
5575 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2) {
5576 /* IP1_31_29 [3] */
5577 FN_A18, FN_DREQ1, FN_SCIFA1_RXD_C, 0, FN_SCIFB1_RXD_C,
5578 0, 0, 0,
5579 /* IP1_28_26 [3] */
5580 FN_A17, FN_DACK2_B, 0, FN_SDA0_C,
5581 0, 0, 0, 0,
5582 /* IP1_25_23 [3] */
5583 FN_A16, FN_DREQ2_B, FN_FMCLK_C, 0, FN_SCIFA1_SCK_B,
5584 0, 0, 0,
5585 /* IP1_22_20 [3] */
5586 FN_A15, FN_BPFCLK_C,
5587 0, 0, 0, 0, 0, 0,
5588 /* IP1_19_17 [3] */
5589 FN_A14, FN_ATADIR0_N_C, FN_FMIN, FN_FMIN_C, FN_MSIOF1_SYNC_D,
5590 0, 0, 0,
5591 /* IP1_16_14 [3] */
5592 FN_A13, FN_ATAG0_N_C, FN_BPFCLK, FN_MSIOF1_SS1_D,
5593 0, 0, 0, 0,
5594 /* IP1_13_11 [3] */
5595 FN_A12, FN_FMCLK, FN_SDA3_D, FN_MSIOF1_SCK_D,
5596 0, 0, 0, 0,
5597 /* IP1_10_8 [3] */
5598 FN_A11, FN_MSIOF1_RXD, FN_SCL3_D, FN_MSIOF1_RXD_D,
5599 0, 0, 0, 0,
5600 /* IP1_7_6 [2] */
5601 FN_A10, FN_MSIOF1_TXD, 0, FN_MSIOF1_TXD_D,
5602 /* IP1_5_4 [2] */
5603 FN_A9, FN_MSIOF1_SS2, FN_SDA0, 0,
5604 /* IP1_3_2 [2] */
5605 FN_A8, FN_MSIOF1_SS1, FN_SCL0, 0,
5606 /* IP1_1_0 [2] */
5607 FN_A7, FN_MSIOF1_SYNC,
5608 0, 0, }
5609 },
5610 { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
5611 2, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 3) {
5612 /* IP2_31_20 [2] */
5613 0, 0, 0, 0,
5614 /* IP2_29_27 [3] */
5615 FN_EX_CS3_N, FN_ATADIR0_N, FN_MSIOF2_TXD,
5616 FN_ATAG0_N, 0, FN_EX_WAIT1,
5617 0, 0,
5618 /* IP2_26_25 [2] */
5619 FN_EX_CS2_N, FN_ATAWR0_N, FN_MSIOF2_SYNC, 0,
5620 /* IP2_24_23 [2] */
5621 FN_EX_CS1_N, FN_MSIOF2_SCK, 0, 0,
5622 /* IP2_22_21 [2] */
5623 FN_CS1_N_A26, FN_ATADIR0_N_B, FN_SDA1, 0,
5624 /* IP2_20_19 [2] */
5625 FN_CS0_N, FN_ATAG0_N_B, FN_SCL1, 0,
5626 /* IP2_18_16 [3] */
5627 FN_A25, FN_DACK2, FN_SSL, FN_DREQ1_C, FN_RX1, FN_SCIFA1_RXD,
5628 0, 0,
5629 /* IP2_15_13 [3] */
5630 FN_A24, FN_DREQ2, FN_IO3, FN_TX1, FN_SCIFA1_TXD,
5631 0, 0, 0,
5632 /* IP2_12_0 [3] */
5633 FN_A23, FN_IO2, FN_BPFCLK_B, FN_RX0, FN_SCIFA0_RXD,
5634 0, 0, 0,
5635 /* IP2_9_7 [3] */
5636 FN_A22, FN_MISO_IO1, FN_FMCLK_B, FN_TX0, FN_SCIFA0_TXD,
5637 0, 0, 0,
5638 /* IP2_6_5 [2] */
5639 FN_A21, FN_ATAWR0_N_B, FN_MOSI_IO0, 0,
5640 /* IP2_4_3 [2] */
5641 FN_A20, FN_SPCLK, 0, 0,
5642 /* IP2_2_0 [3] */
5643 FN_A19, FN_DACK1, FN_SCIFA1_TXD_C, 0,
5644 FN_SCIFB1_TXD_C, 0, FN_SCIFB1_SCK_B, 0, }
5645 },
5646 { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
5647 1, 3, 3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3) {
5648 /* IP3_31 [1] */
5649 0, 0,
5650 /* IP3_30_28 [3] */
5651 FN_SSI_WS0129, FN_HTX0_C, FN_HTX2_C,
5652 FN_SCIFB0_TXD_C, FN_SCIFB2_TXD_C,
5653 0, 0, 0,
5654 /* IP3_27_25 [3] */
5655 FN_SSI_SCK0129, FN_HRX0_C, FN_HRX2_C,
5656 FN_SCIFB0_RXD_C, FN_SCIFB2_RXD_C,
5657 0, 0, 0,
5658 /* IP3_24_22 [3] */
5659 FN_SPEEDIN, 0, FN_HSCK0_C, FN_HSCK2_C, FN_SCIFB0_SCK_B,
5660 FN_SCIFB2_SCK_B, FN_DREQ2_C, FN_HTX2_D,
5661 /* IP3_21_20 [2] */
5662 FN_DACK0, FN_DRACK0, FN_REMOCON, 0,
5663 /* IP3_19_18 [2] */
5664 FN_DREQ0, FN_PWM3, FN_TPU_TO3, 0,
5665 /* IP3_17_16 [2] */
5666 FN_EX_WAIT0, FN_HRTS2_N_B, FN_SCIFB0_CTS_N_B, 0,
5667 /* IP3_15_14 [2] */
5668 FN_WE1_N, FN_ATARD0_N_B, FN_HTX2_B, FN_SCIFB0_RTS_N_B,
5669 /* IP3_13_12 [2] */
5670 FN_WE0_N, FN_HCTS2_N_B, FN_SCIFB0_TXD_B, 0,
5671 /* IP3_11_9 [3] */
5672 FN_RD_WR_N, FN_HRX2_B, FN_FMIN_B, FN_SCIFB0_RXD_B, FN_DREQ1_D,
5673 0, 0, 0,
5674 /* IP3_8_6 [3] */
5675 FN_BS_N, FN_ATACS10_N, FN_MSIOF2_SS2, FN_HTX1_B,
5676 FN_SCIFB1_TXD_B, FN_PWM2, FN_TPU_TO2, 0,
5677 /* IP3_5_3 [3] */
5678 FN_EX_CS5_N, FN_ATACS00_N, FN_MSIOF2_SS1, FN_HRX1_B,
5679 FN_SCIFB1_RXD_B, FN_PWM1, FN_TPU_TO1, 0,
5680 /* IP3_2_0 [3] */
5681 FN_EX_CS4_N, FN_ATARD0_N, FN_MSIOF2_RXD, 0, FN_EX_WAIT2,
5682 0, 0, 0, }
5683 },
5684 { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
5685 1, 3, 2, 2, 2, 1, 1, 1, 3, 3, 3, 2, 3, 3, 2) {
5686 /* IP4_31 [1] */
5687 0, 0,
5688 /* IP4_30_28 [3] */
5689 FN_SSI_SCK5, FN_MSIOF1_SCK_C, FN_TS_SDATA0, FN_GLO_I0,
5690 FN_MSIOF2_SYNC_D, FN_VI1_R2_B,
5691 0, 0,
5692 /* IP4_27_26 [2] */
5693 FN_SSI_SDATA4, FN_MSIOF2_SCK_D, 0, 0,
5694 /* IP4_25_24 [2] */
5695 FN_SSI_WS4, FN_GLO_RFON_D, 0, 0,
5696 /* IP4_23_22 [2] */
5697 FN_SSI_SCK4, FN_GLO_SS_D, 0, 0,
5698 /* IP4_21 [1] */
5699 FN_SSI_SDATA3, 0,
5700 /* IP4_20 [1] */
5701 FN_SSI_WS34, 0,
5702 /* IP4_19 [1] */
5703 FN_SSI_SCK34, 0,
5704 /* IP4_18_16 [3] */
5705 FN_SSI_SDATA2, FN_GPS_MAG_B, FN_TX2_E, FN_HRTS1_N_E,
5706 0, 0, 0, 0,
5707 /* IP4_15_13 [3] */
5708 FN_SSI_WS2, FN_SDA2, FN_GPS_SIGN_B, FN_RX2_E,
5709 FN_GLO_Q1_D, FN_HCTS1_N_E,
5710 0, 0,
5711 /* IP4_12_10 [3] */
5712 FN_SSI_SCK2, FN_SCL2, FN_GPS_CLK_B, FN_GLO_Q0_D, FN_HSCK1_E,
5713 0, 0, 0,
5714 /* IP4_9_8 [2] */
5715 FN_SSI_SDATA1, FN_SDA1_B, FN_SDA8_B, FN_MSIOF2_RXD_C,
5716 /* IP4_7_5 [3] */
5717 FN_SSI_WS1, FN_SCL1_B, FN_SCL8_B, FN_MSIOF2_TXD_C, FN_GLO_I1_D,
5718 0, 0, 0,
5719 /* IP4_4_2 [3] */
5720 FN_SSI_SCK1, FN_SDA0_B, FN_SDA7_B,
5721 FN_MSIOF2_SYNC_C, FN_GLO_I0_D,
5722 0, 0, 0,
5723 /* IP4_1_0 [2] */
5724 FN_SSI_SDATA0, FN_SCL0_B, FN_SCL7_B, FN_MSIOF2_SCK_C, }
5725 },
5726 { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
5727 3, 3, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3) {
5728 /* IP5_31_29 [3] */
5729 FN_SSI_SDATA9, FN_RX3_D, FN_CAN0_RX_D,
5730 0, 0, 0, 0, 0,
5731 /* IP5_28_26 [3] */
5732 FN_SSI_WS9, FN_TX3_D, FN_CAN0_TX_D, FN_GLO_SDATA_D,
5733 0, 0, 0, 0,
5734 /* IP5_25_24 [2] */
5735 FN_SSI_SCK9, FN_RX1_D, FN_GLO_SCLK_D, 0,
5736 /* IP5_23_22 [2] */
5737 FN_SSI_SDATA8, FN_TX1_D, FN_STP_ISSYNC_0_B, 0,
5738 /* IP5_21_20 [2] */
5739 FN_SSI_SDATA7, FN_RX0_D, FN_STP_ISEN_0_B, 0,
5740 /* IP5_19_17 [3] */
5741 FN_SSI_WS78, FN_TX0_D, FN_STP_ISD_0_B, FN_GLO_RFON,
5742 0, 0, 0, 0,
5743 /* IP5_16_15 [2] */
5744 FN_SSI_SCK78, FN_STP_ISCLK_0_B, FN_GLO_SS, 0,
5745 /* IP5_14_12 [3] */
5746 FN_SSI_SDATA6, FN_STP_IVCXO27_0_B, FN_GLO_SDATA, FN_VI1_R7_B,
5747 0, 0, 0, 0,
5748 /* IP5_11_9 [3] */
5749 FN_SSI_WS6, FN_GLO_SCLK, FN_MSIOF2_SS2_D, FN_VI1_R6_B,
5750 0, 0, 0, 0,
5751 /* IP5_8_6 [3] */
5752 FN_SSI_SCK6, FN_MSIOF1_RXD_C, FN_TS_SPSYNC0, FN_GLO_Q1,
5753 FN_MSIOF2_RXD_D, FN_VI1_R5_B,
5754 0, 0,
5755 /* IP5_5_3 [3] */
5756 FN_SSI_SDATA5, FN_MSIOF1_TXD_C, FN_TS_SDEN0, FN_GLO_Q0,
5757 FN_MSIOF2_SS1_D, FN_VI1_R4_B,
5758 0, 0,
5759 /* IP5_2_0 [3] */
5760 FN_SSI_WS5, FN_MSIOF1_SYNC_C, FN_TS_SCK0, FN_GLO_I1,
5761 FN_MSIOF2_TXD_D, FN_VI1_R3_B,
5762 0, 0, }
5763 },
5764 { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
5765 2, 3, 3, 3, 2, 3, 2, 2, 2, 2, 2, 3, 3) {
5766 /* IP6_31_30 [2] */
5767 0, 0, 0, 0,
5768 /* IP6_29_27 [3] */
5769 FN_IRQ8, FN_HRTS1_N_C, FN_MSIOF1_RXD_B,
5770 FN_GPS_SIGN_C, FN_GPS_SIGN_D,
5771 0, 0, 0,
5772 /* IP6_26_24 [3] */
5773 FN_IRQ7, FN_HCTS1_N_C, FN_MSIOF1_TXD_B,
5774 FN_GPS_CLK_C, FN_GPS_CLK_D,
5775 0, 0, 0,
5776 /* IP6_23_21 [3] */
5777 FN_IRQ6, FN_HSCK1_C, FN_MSIOF1_SS2_B,
5778 FN_SDA1_E, FN_MSIOF2_SYNC_E,
5779 0, 0, 0,
5780 /* IP6_20_19 [2] */
5781 FN_IRQ5, FN_HTX1_C, FN_SCL1_E, FN_MSIOF2_SCK_E,
5782 /* IP6_18_16 [3] */
5783 FN_IRQ4, FN_HRX1_C, FN_SDA4_C, FN_MSIOF2_RXD_E, FN_INTC_IRQ4_N,
5784 0, 0, 0,
5785 /* IP6_15_14 [2] */
5786 FN_IRQ3, FN_SCL4_C, FN_MSIOF2_TXD_E, FN_INTC_IRQ3_N,
5787 /* IP6_13_12 [2] */
5788 FN_IRQ2, FN_SCIFB1_TXD_D, FN_INTC_IRQ2_N, 0,
5789 /* IP6_11_10 [2] */
5790 FN_IRQ1, FN_SCIFB1_SCK_C, FN_INTC_IRQ1_N, 0,
5791 /* IP6_9_8 [2] */
5792 FN_IRQ0, FN_SCIFB1_RXD_D, FN_INTC_IRQ0_N, 0,
5793 /* IP6_7_6 [2] */
5794 FN_AUDIO_CLKOUT, FN_MSIOF1_SS1_B, FN_TX2, FN_SCIFA2_TXD,
5795 /* IP6_5_3 [3] */
5796 FN_AUDIO_CLKC, FN_SCIFB0_SCK_C, FN_MSIOF1_SYNC_B, FN_RX2,
5797 FN_SCIFA2_RXD, FN_FMIN_E,
5798 0, 0,
5799 /* IP6_2_0 [3] */
5800 FN_AUDIO_CLKB, FN_STP_OPWM_0_B, FN_MSIOF1_SCK_B,
5801 FN_SCIF_CLK, 0, FN_BPFCLK_E,
5802 0, 0, }
5803 },
5804 { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
5805 2, 3, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3) {
5806 /* IP7_31_30 [2] */
5807 0, 0, 0, 0,
5808 /* IP7_29_27 [3] */
5809 FN_DU1_DG2, FN_LCDOUT10, FN_VI1_DATA4_B, FN_SCIF1_SCK_B,
5810 FN_SCIFA1_SCK, FN_SSI_SCK78_B,
5811 0, 0,
5812 /* IP7_26_24 [3] */
5813 FN_DU1_DG1, FN_LCDOUT9, FN_VI1_DATA3_B, FN_RX1_B,
5814 FN_SCIFA1_RXD_B, FN_MSIOF2_SS2_B,
5815 0, 0,
5816 /* IP7_23_21 [3] */
5817 FN_DU1_DG0, FN_LCDOUT8, FN_VI1_DATA2_B, FN_TX1_B,
5818 FN_SCIFA1_TXD_B, FN_MSIOF2_SS1_B,
5819 0, 0,
5820 /* IP7_20_19 [2] */
5821 FN_DU1_DR7, FN_LCDOUT7, FN_SSI_SDATA1_B, 0,
5822 /* IP7_18_17 [2] */
5823 FN_DU1_DR6, FN_LCDOUT6, FN_SSI_WS1_B, 0,
5824 /* IP7_16_15 [2] */
5825 FN_DU1_DR5, FN_LCDOUT5, FN_SSI_SCK1_B, 0,
5826 /* IP7_14_13 [2] */
5827 FN_DU1_DR4, FN_LCDOUT4, FN_SSI_SDATA0_B, 0,
5828 /* IP7_12_11 [2] */
5829 FN_DU1_DR3, FN_LCDOUT3, FN_SSI_WS0129_B, 0,
5830 /* IP7_10_9 [2] */
5831 FN_DU1_DR2, FN_LCDOUT2, FN_SSI_SCK0129_B, 0,
5832 /* IP7_8_6 [3] */
5833 FN_DU1_DR1, FN_LCDOUT1, FN_VI1_DATA1_B, FN_RX0_B,
5834 FN_SCIFA0_RXD_B, FN_MSIOF2_SYNC_B,
5835 0, 0,
5836 /* IP7_5_3 [3] */
5837 FN_DU1_DR0, FN_LCDOUT0, FN_VI1_DATA0_B, FN_TX0_B,
5838 FN_SCIFA0_TXD_B, FN_MSIOF2_SCK_B,
5839 0, 0,
5840 /* IP7_2_0 [3] */
5841 FN_IRQ9, FN_DU1_DOTCLKIN_B, FN_CAN_CLK_D, FN_GPS_MAG_C,
5842 FN_SCIF_CLK_B, FN_GPS_MAG_D,
5843 0, 0, }
5844 },
5845 { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
5846 1, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3) {
5847 /* IP8_31 [1] */
5848 0, 0,
5849 /* IP8_30_28 [3] */
5850 FN_DU1_DB5, FN_LCDOUT21, FN_TX3, FN_SCIFA3_TXD, FN_CAN1_TX,
5851 0, 0, 0,
5852 /* IP8_27_26 [2] */
5853 FN_DU1_DB4, FN_LCDOUT20, FN_VI1_FIELD_B, FN_CAN1_RX,
5854 /* IP8_25_24 [2] */
5855 FN_DU1_DB3, FN_LCDOUT19, FN_VI1_CLKENB_B, 0,
5856 /* IP8_23_21 [3] */
5857 FN_DU1_DB2, FN_LCDOUT18, FN_VI1_VSYNC_N_B, FN_SCIF2_SCK_B,
5858 FN_SCIFA2_SCK, FN_SSI_SDATA9_B,
5859 0, 0,
5860 /* IP8_20_18 [3] */
5861 FN_DU1_DB1, FN_LCDOUT17, FN_VI1_HSYNC_N_B, FN_RX2_B,
5862 FN_SCIFA2_RXD_B, FN_MSIOF2_RXD_B,
5863 0, 0,
5864 /* IP8_17_15 [3] */
5865 FN_DU1_DB0, FN_LCDOUT16, FN_VI1_CLK_B, FN_TX2_B,
5866 FN_SCIFA2_TXD_B, FN_MSIOF2_TXD_B,
5867 0, 0,
5868 /* IP8_14_12 [3] */
5869 FN_DU1_DG7, FN_LCDOUT15, FN_HTX0_B,
5870 FN_SCIFB2_RTS_N_B, FN_SSI_WS9_B,
5871 0, 0, 0,
5872 /* IP8_11_9 [3] */
5873 FN_DU1_DG6, FN_LCDOUT14, FN_HRTS0_N_B,
5874 FN_SCIFB2_CTS_N_B, FN_SSI_SCK9_B,
5875 0, 0, 0,
5876 /* IP8_8_6 [3] */
5877 FN_DU1_DG5, FN_LCDOUT13, FN_VI1_DATA7_B, FN_HCTS0_N_B,
5878 FN_SCIFB2_TXD_B, FN_SSI_SDATA8_B,
5879 0, 0,
5880 /* IP8_5_3 [3] */
5881 FN_DU1_DG4, FN_LCDOUT12, FN_VI1_DATA6_B, FN_HRX0_B,
5882 FN_SCIFB2_RXD_B, FN_SSI_SDATA7_B,
5883 0, 0,
5884 /* IP8_2_0 [3] */
5885 FN_DU1_DG3, FN_LCDOUT11, FN_VI1_DATA5_B, 0, FN_SSI_WS78_B,
5886 0, 0, 0, }
5887 },
5888 { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
5889 3, 2, 2, 2, 2, 2, 2, 1, 3, 1, 1, 3, 1, 1, 3, 3) {
5890 /* IP9_31_29 [3] */
5891 FN_VI0_G0, FN_SCL8, FN_STP_IVCXO27_0_C, FN_SCL4,
5892 FN_HCTS2_N, FN_SCIFB2_CTS_N, FN_ATAWR1_N, 0,
5893 /* IP9_28_27 [2] */
5894 FN_VI0_DATA3_VI0_B3, FN_SCIF3_SCK_B, FN_SCIFA3_SCK_B, 0,
5895 /* IP9_26_25 [2] */
5896 FN_VI0_VSYNC_N, FN_RX5, FN_SCIFA5_RXD, FN_TS_SPSYNC0_D,
5897 /* IP9_24_23 [2] */
5898 FN_VI0_HSYNC_N, FN_TX5, FN_SCIFA5_TXD, FN_TS_SDEN0_D,
5899 /* IP9_22_21 [2] */
5900 FN_VI0_FIELD, FN_RX4, FN_SCIFA4_RXD, FN_TS_SCK0_D,
5901 /* IP9_20_19 [2] */
5902 FN_VI0_CLKENB, FN_TX4, FN_SCIFA4_TXD, FN_TS_SDATA0_D,
5903 /* IP9_18_17 [2] */
5904 FN_DU1_CDE, FN_QPOLB, FN_PWM4_B, 0,
5905 /* IP9_16 [1] */
5906 FN_DU1_DISP, FN_QPOLA,
5907 /* IP9_15_13 [3] */
5908 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_QCPV_QDE,
5909 FN_CAN0_RX, FN_RX3_B, FN_SDA2_B,
5910 0, 0, 0,
5911 /* IP9_12 [1] */
5912 FN_DU1_EXVSYNC_DU1_VSYNC, FN_QSTB_QHE,
5913 /* IP9_11 [1] */
5914 FN_DU1_EXHSYNC_DU1_HSYNC, FN_QSTH_QHS,
5915 /* IP9_10_8 [3] */
5916 FN_DU1_DOTCLKOUT1, FN_QSTVB_QVE, FN_CAN0_TX,
5917 FN_TX3_B, FN_SCL2_B, FN_PWM4,
5918 0, 0,
5919 /* IP9_7 [1] */
5920 FN_DU1_DOTCLKOUT0, FN_QCLK,
5921 /* IP9_6 [1] */
5922 FN_DU1_DOTCLKIN, FN_QSTVA_QVS,
5923 /* IP9_5_3 [3] */
5924 FN_DU1_DB7, FN_LCDOUT23, FN_SDA3_C,
5925 FN_SCIF3_SCK, FN_SCIFA3_SCK,
5926 0, 0, 0,
5927 /* IP9_2_0 [3] */
5928 FN_DU1_DB6, FN_LCDOUT22, FN_SCL3_C, FN_RX3, FN_SCIFA3_RXD,
5929 0, 0, 0, }
5930 },
5931 { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
5932 3, 2, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3) {
5933 /* IP10_31_29 [3] */
5934 FN_VI0_R4, FN_VI2_DATA5, FN_GLO_SCLK_B, FN_TX0_C, FN_SCL1_D,
5935 0, 0, 0,
5936 /* IP10_28_27 [2] */
5937 FN_VI0_R3, FN_VI2_DATA4, FN_GLO_Q1_B, FN_TS_SPSYNC0_C,
5938 /* IP10_26_25 [2] */
5939 FN_VI0_R2, FN_VI2_DATA3, FN_GLO_Q0_B, FN_TS_SDEN0_C,
5940 /* IP10_24_22 [3] */
5941 FN_VI0_R1, FN_VI2_DATA2, FN_GLO_I1_B, FN_TS_SCK0_C, FN_ATAG1_N,
5942 0, 0, 0,
5943 /* IP10_21_29 [3] */
5944 FN_VI0_R0, FN_VI2_DATA1, FN_GLO_I0_B,
5945 FN_TS_SDATA0_C, FN_ATACS11_N,
5946 0, 0, 0,
5947 /* IP10_18_17 [2] */
5948 FN_VI0_G7, FN_VI2_DATA0, FN_FMIN_D, 0,
5949 /* IP10_16_15 [2] */
5950 FN_VI0_G6, FN_VI2_CLK, FN_BPFCLK_D, 0,
5951 /* IP10_14_12 [3] */
5952 FN_VI0_G5, FN_VI2_FIELD, FN_STP_OPWM_0_C, FN_FMCLK_D,
5953 FN_CAN0_TX_E, FN_HTX1_D, FN_SCIFB0_TXD_D, 0,
5954 /* IP10_11_9 [3] */
5955 FN_VI0_G4, FN_VI2_CLKENB, FN_STP_ISSYNC_0_C,
5956 FN_HTX2, FN_SCIFB2_TXD, FN_SCIFB0_SCK_D,
5957 0, 0,
5958 /* IP10_8_6 [3] */
5959 FN_VI0_G3, FN_VI2_VSYNC_N, FN_STP_ISEN_0_C, FN_SDA3_B,
5960 FN_HRX2, FN_SCIFB2_RXD, FN_ATACS01_N, 0,
5961 /* IP10_5_3 [3] */
5962 FN_VI0_G2, FN_VI2_HSYNC_N, FN_STP_ISD_0_C, FN_SCL3_B,
5963 FN_HSCK2, FN_SCIFB2_SCK, FN_ATARD1_N, 0,
5964 /* IP10_2_0 [3] */
5965 FN_VI0_G1, FN_SDA8, FN_STP_ISCLK_0_C, FN_SDA4,
5966 FN_HRTS2_N, FN_SCIFB2_RTS_N, FN_ATADIR1_N, 0, }
5967 },
5968 { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
5969 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
5970 3, 3, 3, 3, 3) {
5971 /* IP11_31_30 [2] */
5972 FN_ETH_CRS_DV, FN_AVB_LINK, FN_SDA2_C, 0,
5973 /* IP11_29_28 [2] */
5974 FN_ETH_MDIO, FN_AVB_RX_CLK, FN_SCL2_C, 0,
5975 /* IP11_27 [1] */
5976 FN_VI1_DATA7, FN_AVB_MDC,
5977 /* IP11_26 [1] */
5978 FN_VI1_DATA6, FN_AVB_MAGIC,
5979 /* IP11_25 [1] */
5980 FN_VI1_DATA5, FN_AVB_RX_DV,
5981 /* IP11_24 [1] */
5982 FN_VI1_DATA4, FN_AVB_MDIO,
5983 /* IP11_23 [1] */
5984 FN_VI1_DATA3, FN_AVB_RX_ER,
5985 /* IP11_22 [1] */
5986 FN_VI1_DATA2, FN_AVB_RXD7,
5987 /* IP11_21 [1] */
5988 FN_VI1_DATA1, FN_AVB_RXD6,
5989 /* IP11_20 [1] */
5990 FN_VI1_DATA0, FN_AVB_RXD5,
5991 /* IP11_19 [1] */
5992 FN_VI1_CLK, FN_AVB_RXD4,
5993 /* IP11_18_17 [2] */
5994 FN_VI1_FIELD, FN_AVB_RXD3, FN_TS_SPSYNC0_B, 0,
5995 /* IP11_16_15 [2] */
5996 FN_VI1_CLKENB, FN_AVB_RXD2, FN_TS_SDEN0_B, 0,
5997 /* IP11_14_12 [3] */
5998 FN_VI1_VSYNC_N, FN_AVB_RXD1, FN_TS_SCK0_B,
5999 FN_RX4_B, FN_SCIFA4_RXD_B,
6000 0, 0, 0,
6001 /* IP11_11_9 [3] */
6002 FN_VI1_HSYNC_N, FN_AVB_RXD0, FN_TS_SDATA0_B,
6003 FN_TX4_B, FN_SCIFA4_TXD_B,
6004 0, 0, 0,
6005 /* IP11_8_6 [3] */
6006 FN_VI0_R7, FN_GLO_RFON_B, FN_RX1_C, FN_CAN0_RX_E,
6007 FN_SDA4_B, FN_HRX1_D, FN_SCIFB0_RXD_D, 0,
6008 /* IP11_5_3 [3] */
6009 FN_VI0_R6, FN_VI2_DATA7, FN_GLO_SS_B, FN_TX1_C, FN_SCL4_B,
6010 0, 0, 0,
6011 /* IP11_2_0 [3] */
6012 FN_VI0_R5, FN_VI2_DATA6, FN_GLO_SDATA_B, FN_RX0_C, FN_SDA1_D,
6013 0, 0, 0, }
6014 },
6015 { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
6016 2, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2) {
6017 /* IP12_31_30 [2] */
6018 0, 0, 0, 0,
6019 /* IP12_29_27 [3] */
6020 FN_STP_ISCLK_0, FN_AVB_TX_EN, FN_SCIFB2_RXD_D,
6021 FN_ADICS_SAMP_B, FN_MSIOF0_SCK_C,
6022 0, 0, 0,
6023 /* IP12_26_24 [3] */
6024 FN_STP_IVCXO27_0, FN_AVB_TXD7, FN_SCIFB2_TXD_D,
6025 FN_ADIDATA_B, FN_MSIOF0_SYNC_C,
6026 0, 0, 0,
6027 /* IP12_23_22 [2] */
6028 FN_ETH_MDC, FN_AVB_TXD6, FN_IERX_C, 0,
6029 /* IP12_21_20 [2] */
6030 FN_ETH_TXD0, FN_AVB_TXD5, FN_IECLK_C, 0,
6031 /* IP12_19_18 [2] */
6032 FN_ETH_MAGIC, FN_AVB_TXD4, FN_IETX_C, 0,
6033 /* IP12_17_16 [2] */
6034 FN_ETH_TX_EN, FN_AVB_TXD3, FN_TCLK1_B, FN_CAN_CLK_B,
6035 /* IP12_15_13 [3] */
6036 FN_ETH_TXD1, FN_AVB_TXD2, FN_SCIFA3_TXD_B,
6037 FN_CAN1_TX_C, FN_MSIOF1_TXD_E,
6038 0, 0, 0,
6039 /* IP12_12_10 [3] */
6040 FN_ETH_REFCLK, FN_AVB_TXD1, FN_SCIFA3_RXD_B,
6041 FN_CAN1_RX_C, FN_MSIOF1_SYNC_E,
6042 0, 0, 0,
6043 /* IP12_9_7 [3] */
6044 FN_ETH_LINK, FN_AVB_TXD0, FN_CAN0_RX_C,
6045 FN_SDA2_D, FN_MSIOF1_SCK_E,
6046 0, 0, 0,
6047 /* IP12_6_4 [3] */
6048 FN_ETH_RXD1, FN_AVB_GTXREFCLK, FN_CAN0_TX_C,
6049 FN_SCL2_D, FN_MSIOF1_RXD_E,
6050 0, 0, 0,
6051 /* IP12_3_2 [2] */
6052 FN_ETH_RXD0, FN_AVB_PHY_INT, FN_SDA3, FN_SDA7,
6053 /* IP12_1_0 [2] */
6054 FN_ETH_RX_ER, FN_AVB_CRS, FN_SCL3, FN_SCL7, }
6055 },
6056 { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
6057 1, 3, 1, 1, 1, 2, 1, 3, 3, 1, 1, 1, 1, 1, 1,
6058 3, 2, 2, 3) {
6059 /* IP13_31 [1] */
6060 0, 0,
6061 /* IP13_30_28 [3] */
6062 FN_SD1_CD, FN_PWM0, FN_TPU_TO0, FN_SCL1_C,
6063 0, 0, 0, 0,
6064 /* IP13_27 [1] */
6065 FN_SD1_DATA3, FN_IERX_B,
6066 /* IP13_26 [1] */
6067 FN_SD1_DATA2, FN_IECLK_B,
6068 /* IP13_25 [1] */
6069 FN_SD1_DATA1, FN_IETX_B,
6070 /* IP13_24_23 [2] */
6071 FN_SD1_DATA0, FN_SPEEDIN_B, 0, 0,
6072 /* IP13_22 [1] */
6073 FN_SD1_CMD, FN_REMOCON_B,
6074 /* IP13_21_19 [3] */
6075 FN_SD0_WP, FN_MMC_D7_B, FN_SIM0_D_B, FN_CAN0_TX_F,
6076 FN_SCIFA5_RXD_B, FN_RX3_C,
6077 0, 0,
6078 /* IP13_18_16 [3] */
6079 FN_SD0_CD, FN_MMC_D6_B, FN_SIM0_RST_B, FN_CAN0_RX_F,
6080 FN_SCIFA5_TXD_B, FN_TX3_C,
6081 0, 0,
6082 /* IP13_15 [1] */
6083 FN_SD0_DATA3, FN_SSL_B,
6084 /* IP13_14 [1] */
6085 FN_SD0_DATA2, FN_IO3_B,
6086 /* IP13_13 [1] */
6087 FN_SD0_DATA1, FN_IO2_B,
6088 /* IP13_12 [1] */
6089 FN_SD0_DATA0, FN_MISO_IO1_B,
6090 /* IP13_11 [1] */
6091 FN_SD0_CMD, FN_MOSI_IO0_B,
6092 /* IP13_10 [1] */
6093 FN_SD0_CLK, FN_SPCLK_B,
6094 /* IP13_9_7 [3] */
6095 FN_STP_OPWM_0, FN_AVB_GTX_CLK, FN_PWM0_B,
6096 FN_ADICHS2_B, FN_MSIOF0_TXD_C,
6097 0, 0, 0,
6098 /* IP13_6_5 [2] */
6099 FN_STP_ISSYNC_0, FN_AVB_COL, FN_ADICHS1_B, FN_MSIOF0_RXD_C,
6100 /* IP13_4_3 [2] */
6101 FN_STP_ISEN_0, FN_AVB_TX_CLK, FN_ADICHS0_B, FN_MSIOF0_SS2_C,
6102 /* IP13_2_0 [3] */
6103 FN_STP_ISD_0, FN_AVB_TX_ER, FN_SCIFB2_SCK_C,
6104 FN_ADICLK_B, FN_MSIOF0_SS1_C,
6105 0, 0, 0, }
6106 },
6107 { PINMUX_CFG_REG_VAR("IPSR14", 0xE6060058, 32,
6108 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 2) {
6109 /* IP14_31_29 [3] */
6110 FN_MSIOF0_SS2, FN_MMC_D7, FN_ADICHS2, FN_RX0_E,
6111 FN_VI1_VSYNC_N_C, FN_SDA7_C, FN_VI1_G5_B, 0,
6112 /* IP14_28_26 [3] */
6113 FN_MSIOF0_SS1, FN_MMC_D6, FN_ADICHS1, FN_TX0_E,
6114 FN_VI1_HSYNC_N_C, FN_SCL7_C, FN_VI1_G4_B, 0,
6115 /* IP14_25_23 [3] */
6116 FN_MSIOF0_RXD, FN_ADICHS0, 0, FN_VI1_DATA0_C, FN_VI1_G3_B,
6117 0, 0, 0,
6118 /* IP14_22_20 [3] */
6119 FN_MSIOF0_TXD, FN_ADICLK, 0, FN_VI1_FIELD_C, FN_VI1_G2_B,
6120 0, 0, 0,
6121 /* IP14_19_17 [3] */
6122 FN_MSIOF0_SYNC, FN_TX2_C, FN_ADICS_SAMP, 0,
6123 FN_VI1_CLKENB_C, FN_VI1_G1_B,
6124 0, 0,
6125 /* IP14_16_14 [3] */
6126 FN_MSIOF0_SCK, FN_RX2_C, FN_ADIDATA, 0,
6127 FN_VI1_CLK_C, FN_VI1_G0_B,
6128 0, 0,
6129 /* IP14_13_11 [3] */
6130 FN_SD2_WP, FN_MMC_D5, FN_SDA8_C, FN_RX5_B, FN_SCIFA5_RXD_C,
6131 0, 0, 0,
6132 /* IP14_10_8 [3] */
6133 FN_SD2_CD, FN_MMC_D4, FN_SCL8_C, FN_TX5_B, FN_SCIFA5_TXD_C,
6134 0, 0, 0,
6135 /* IP14_7 [1] */
6136 FN_SD2_DATA3, FN_MMC_D3,
6137 /* IP14_6 [1] */
6138 FN_SD2_DATA2, FN_MMC_D2,
6139 /* IP14_5 [1] */
6140 FN_SD2_DATA1, FN_MMC_D1,
6141 /* IP14_4 [1] */
6142 FN_SD2_DATA0, FN_MMC_D0,
6143 /* IP14_3 [1] */
6144 FN_SD2_CMD, FN_MMC_CMD,
6145 /* IP14_2 [1] */
6146 FN_SD2_CLK, FN_MMC_CLK,
6147 /* IP14_1_0 [2] */
6148 FN_SD1_WP, FN_PWM1_B, FN_SDA1_C, 0, }
6149 },
6150 { PINMUX_CFG_REG_VAR("IPSR15", 0xE606005C, 32,
6151 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2) {
6152 /* IP15_31_30 [2] */
6153 0, 0, 0, 0,
6154 /* IP15_29_27 [3] */
6155 FN_HTX0, FN_SCIFB0_TXD, 0, FN_GLO_SCLK_C,
6156 FN_CAN0_TX_B, FN_VI1_DATA5_C,
6157 0, 0,
6158 /* IP15_26_24 [3] */
6159 FN_HRX0, FN_SCIFB0_RXD, 0, FN_GLO_Q1_C,
6160 FN_CAN0_RX_B, FN_VI1_DATA4_C,
6161 0, 0,
6162 /* IP15_23_21 [3] */
6163 FN_HSCK0, FN_SCIFB0_SCK, 0, FN_GLO_Q0_C, FN_CAN_CLK,
6164 FN_TCLK2, FN_VI1_DATA3_C, 0,
6165 /* IP15_20_18 [3] */
6166 FN_HRTS0_N, FN_SCIFB0_RTS_N, 0, FN_GLO_I1_C, FN_VI1_DATA2_C,
6167 0, 0, 0,
6168 /* IP15_17_15 [3] */
6169 FN_HCTS0_N, FN_SCIFB0_CTS_N, 0, FN_GLO_I0_C,
6170 FN_TCLK1, FN_VI1_DATA1_C,
6171 0, 0,
6172 /* IP15_14_12 [3] */
6173 FN_GPS_MAG, FN_RX4_C, FN_SCIFA4_RXD_C, FN_PWM6,
6174 FN_VI1_G7_B, FN_SCIFA3_SCK_C,
6175 0, 0,
6176 /* IP15_11_9 [3] */
6177 FN_GPS_SIGN, FN_TX4_C, FN_SCIFA4_TXD_C, FN_PWM5,
6178 FN_VI1_G6_B, FN_SCIFA3_RXD_C,
6179 0, 0,
6180 /* IP15_8_6 [3] */
6181 FN_GPS_CLK, FN_DU1_DOTCLKIN_C, FN_AUDIO_CLKB_B,
6182 FN_PWM5_B, FN_SCIFA3_TXD_C,
6183 0, 0, 0,
6184 /* IP15_5_4 [2] */
6185 FN_SIM0_D, FN_IERX, FN_CAN1_RX_D, 0,
6186 /* IP15_3_2 [2] */
6187 FN_SIM0_CLK, FN_IECLK, FN_CAN_CLK_C, 0,
6188 /* IP15_1_0 [2] */
6189 FN_SIM0_RST, FN_IETX, FN_CAN1_TX_D, 0, }
6190 },
6191 { PINMUX_CFG_REG_VAR("IPSR16", 0xE6060160, 32,
6192 4, 4, 4, 4, 4, 2, 2, 2, 3, 3) {
6193 /* IP16_31_28 [4] */
6194 0, 0, 0, 0, 0, 0, 0, 0,
6195 0, 0, 0, 0, 0, 0, 0, 0,
6196 /* IP16_27_24 [4] */
6197 0, 0, 0, 0, 0, 0, 0, 0,
6198 0, 0, 0, 0, 0, 0, 0, 0,
6199 /* IP16_23_20 [4] */
6200 0, 0, 0, 0, 0, 0, 0, 0,
6201 0, 0, 0, 0, 0, 0, 0, 0,
6202 /* IP16_19_16 [4] */
6203 0, 0, 0, 0, 0, 0, 0, 0,
6204 0, 0, 0, 0, 0, 0, 0, 0,
6205 /* IP16_15_12 [4] */
6206 0, 0, 0, 0, 0, 0, 0, 0,
6207 0, 0, 0, 0, 0, 0, 0, 0,
6208 /* IP16_11_10 [2] */
6209 FN_HRTS1_N, FN_SCIFB1_RTS_N, FN_MLB_DAT, FN_CAN1_RX_B,
6210 /* IP16_9_8 [2] */
6211 FN_HCTS1_N, FN_SCIFB1_CTS_N, FN_MLB_SIG, FN_CAN1_TX_B,
6212 /* IP16_7_6 [2] */
Sergei Shtylyov87f27fe2015-01-10 21:21:46 +03006213 FN_HSCK1, FN_SCIFB1_SCK, FN_MLB_CLK, FN_GLO_RFON_C,
Hisashi Nakamura50884512013-10-17 06:46:05 +09006214 /* IP16_5_3 [3] */
6215 FN_HTX1, FN_SCIFB1_TXD, FN_VI1_R1_B,
6216 FN_GLO_SS_C, FN_VI1_DATA7_C,
6217 0, 0, 0,
6218 /* IP16_2_0 [3] */
6219 FN_HRX1, FN_SCIFB1_RXD, FN_VI1_R0_B,
6220 FN_GLO_SDATA_C, FN_VI1_DATA6_C,
6221 0, 0, 0, }
6222 },
6223 { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
6224 1, 2, 2, 2, 3, 2, 1, 1, 1, 1,
6225 3, 2, 2, 2, 1, 2, 2, 2) {
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006226 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006227 0, 0,
6228 /* SEL_SCIF1 [2] */
6229 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
6230 /* SEL_SCIFB [2] */
6231 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, FN_SEL_SCIFB_3,
6232 /* SEL_SCIFB2 [2] */
6233 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1,
6234 FN_SEL_SCIFB2_2, FN_SEL_SCIFB2_3,
6235 /* SEL_SCIFB1 [3] */
6236 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1,
6237 FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
6238 0, 0, 0, 0,
6239 /* SEL_SCIFA1 [2] */
6240 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, 0,
6241 /* SEL_SSI9 [1] */
6242 FN_SEL_SSI9_0, FN_SEL_SSI9_1,
6243 /* SEL_SCFA [1] */
6244 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
6245 /* SEL_QSP [1] */
6246 FN_SEL_QSP_0, FN_SEL_QSP_1,
6247 /* SEL_SSI7 [1] */
6248 FN_SEL_SSI7_0, FN_SEL_SSI7_1,
6249 /* SEL_HSCIF1 [3] */
6250 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_HSCIF1_2,
6251 FN_SEL_HSCIF1_3, FN_SEL_HSCIF1_4,
6252 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006253 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006254 0, 0, 0, 0,
6255 /* SEL_VI1 [2] */
6256 FN_SEL_VI1_0, FN_SEL_VI1_1, FN_SEL_VI1_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006257 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006258 0, 0, 0, 0,
6259 /* SEL_TMU [1] */
6260 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
6261 /* SEL_LBS [2] */
6262 FN_SEL_LBS_0, FN_SEL_LBS_1, FN_SEL_LBS_2, FN_SEL_LBS_3,
6263 /* SEL_TSIF0 [2] */
6264 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
6265 /* SEL_SOF0 [2] */
6266 FN_SEL_SOF0_0, FN_SEL_SOF0_1, FN_SEL_SOF0_2, 0, }
6267 },
6268 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
6269 3, 1, 1, 3, 2, 1, 1, 2, 2,
6270 1, 3, 2, 1, 2, 2, 2, 1, 1, 1) {
6271 /* SEL_SCIF0 [3] */
6272 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2,
6273 FN_SEL_SCIF0_3, FN_SEL_SCIF0_4,
6274 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006275 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006276 0, 0,
6277 /* SEL_SCIF [1] */
6278 FN_SEL_SCIF_0, FN_SEL_SCIF_1,
6279 /* SEL_CAN0 [3] */
6280 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
6281 FN_SEL_CAN0_4, FN_SEL_CAN0_5,
6282 0, 0,
6283 /* SEL_CAN1 [2] */
6284 FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006285 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006286 0, 0,
6287 /* SEL_SCIFA2 [1] */
6288 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
6289 /* SEL_SCIF4 [2] */
6290 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006291 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006292 0, 0, 0, 0,
6293 /* SEL_ADG [1] */
6294 FN_SEL_ADG_0, FN_SEL_ADG_1,
6295 /* SEL_FM [3] */
6296 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2,
6297 FN_SEL_FM_3, FN_SEL_FM_4,
6298 0, 0, 0,
6299 /* SEL_SCIFA5 [2] */
6300 FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006301 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006302 0, 0,
6303 /* SEL_GPS [2] */
6304 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, FN_SEL_GPS_3,
6305 /* SEL_SCIFA4 [2] */
6306 FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2, 0,
6307 /* SEL_SCIFA3 [2] */
6308 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA3_2, 0,
6309 /* SEL_SIM [1] */
6310 FN_SEL_SIM_0, FN_SEL_SIM_1,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006311 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006312 0, 0,
6313 /* SEL_SSI8 [1] */
6314 FN_SEL_SSI8_0, FN_SEL_SSI8_1, }
6315 },
6316 { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
6317 2, 2, 2, 2, 2, 2, 2, 2,
6318 1, 1, 2, 2, 3, 2, 2, 2, 1) {
6319 /* SEL_HSCIF2 [2] */
6320 FN_SEL_HSCIF2_0, FN_SEL_HSCIF2_1,
6321 FN_SEL_HSCIF2_2, FN_SEL_HSCIF2_3,
6322 /* SEL_CANCLK [2] */
6323 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
6324 FN_SEL_CANCLK_2, FN_SEL_CANCLK_3,
6325 /* SEL_IIC8 [2] */
6326 FN_SEL_IIC8_0, FN_SEL_IIC8_1, FN_SEL_IIC8_2, 0,
6327 /* SEL_IIC7 [2] */
6328 FN_SEL_IIC7_0, FN_SEL_IIC7_1, FN_SEL_IIC7_2, 0,
6329 /* SEL_IIC4 [2] */
6330 FN_SEL_IIC4_0, FN_SEL_IIC4_1, FN_SEL_IIC4_2, 0,
6331 /* SEL_IIC3 [2] */
6332 FN_SEL_IIC3_0, FN_SEL_IIC3_1, FN_SEL_IIC3_2, FN_SEL_IIC3_3,
6333 /* SEL_SCIF3 [2] */
6334 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1, FN_SEL_SCIF3_2, FN_SEL_SCIF3_3,
6335 /* SEL_IEB [2] */
Phil Edworthy0c66c562014-04-22 17:38:05 +01006336 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
Hisashi Nakamura50884512013-10-17 06:46:05 +09006337 /* SEL_MMC [1] */
6338 FN_SEL_MMC_0, FN_SEL_MMC_1,
6339 /* SEL_SCIF5 [1] */
6340 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006341 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006342 0, 0, 0, 0,
6343 /* SEL_IIC2 [2] */
6344 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
6345 /* SEL_IIC1 [3] */
6346 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, FN_SEL_IIC1_3,
6347 FN_SEL_IIC1_4,
6348 0, 0, 0,
6349 /* SEL_IIC0 [2] */
6350 FN_SEL_IIC0_0, FN_SEL_IIC0_1, FN_SEL_IIC0_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006351 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006352 0, 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006353 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006354 0, 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006355 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006356 0, 0, }
6357 },
6358 { PINMUX_CFG_REG_VAR("MOD_SEL4", 0xE606009C, 32,
6359 3, 2, 2, 1, 1, 1, 1, 3, 2,
6360 2, 3, 1, 1, 1, 2, 2, 2, 2) {
6361 /* SEL_SOF1 [3] */
6362 FN_SEL_SOF1_0, FN_SEL_SOF1_1, FN_SEL_SOF1_2, FN_SEL_SOF1_3,
6363 FN_SEL_SOF1_4,
6364 0, 0, 0,
6365 /* SEL_HSCIF0 [2] */
6366 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, 0,
6367 /* SEL_DIS [2] */
6368 FN_SEL_DIS_0, FN_SEL_DIS_1, FN_SEL_DIS_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006369 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006370 0, 0,
6371 /* SEL_RAD [1] */
6372 FN_SEL_RAD_0, FN_SEL_RAD_1,
6373 /* SEL_RCN [1] */
6374 FN_SEL_RCN_0, FN_SEL_RCN_1,
6375 /* SEL_RSP [1] */
6376 FN_SEL_RSP_0, FN_SEL_RSP_1,
6377 /* SEL_SCIF2 [3] */
6378 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2,
6379 FN_SEL_SCIF2_3, FN_SEL_SCIF2_4,
6380 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006381 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006382 0, 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006383 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006384 0, 0, 0, 0,
6385 /* SEL_SOF2 [3] */
6386 FN_SEL_SOF2_0, FN_SEL_SOF2_1, FN_SEL_SOF2_2,
6387 FN_SEL_SOF2_3, FN_SEL_SOF2_4,
6388 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006389 /* RESERVED [1] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006390 0, 0,
6391 /* SEL_SSI1 [1] */
6392 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
6393 /* SEL_SSI0 [1] */
6394 FN_SEL_SSI0_0, FN_SEL_SSI0_1,
6395 /* SEL_SSP [2] */
6396 FN_SEL_SSP_0, FN_SEL_SSP_1, FN_SEL_SSP_2, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006397 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006398 0, 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006399 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006400 0, 0, 0, 0,
Geert Uytterhoeven5b441eb2015-05-21 14:05:10 +02006401 /* RESERVED [2] */
Hisashi Nakamura50884512013-10-17 06:46:05 +09006402 0, 0, 0, 0, }
6403 },
6404 { },
6405};
6406
Ulrich Hecht19e1e982015-05-12 11:13:19 +02006407#ifdef CONFIG_PINCTRL_PFC_R8A7791
Hisashi Nakamura50884512013-10-17 06:46:05 +09006408const struct sh_pfc_soc_info r8a7791_pinmux_info = {
6409 .name = "r8a77910_pfc",
6410 .unlock_reg = 0xe6060000, /* PMMR */
6411
6412 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
6413
6414 .pins = pinmux_pins,
6415 .nr_pins = ARRAY_SIZE(pinmux_pins),
6416 .groups = pinmux_groups,
6417 .nr_groups = ARRAY_SIZE(pinmux_groups),
6418 .functions = pinmux_functions,
6419 .nr_functions = ARRAY_SIZE(pinmux_functions),
6420
6421 .cfg_regs = pinmux_config_regs,
6422
Geert Uytterhoevenb8b47d62015-09-21 16:27:23 +02006423 .pinmux_data = pinmux_data,
6424 .pinmux_data_size = ARRAY_SIZE(pinmux_data),
Hisashi Nakamura50884512013-10-17 06:46:05 +09006425};
Ulrich Hecht19e1e982015-05-12 11:13:19 +02006426#endif
6427
6428#ifdef CONFIG_PINCTRL_PFC_R8A7793
6429const struct sh_pfc_soc_info r8a7793_pinmux_info = {
6430 .name = "r8a77930_pfc",
6431 .unlock_reg = 0xe6060000, /* PMMR */
6432
6433 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
6434
6435 .pins = pinmux_pins,
6436 .nr_pins = ARRAY_SIZE(pinmux_pins),
6437 .groups = pinmux_groups,
6438 .nr_groups = ARRAY_SIZE(pinmux_groups),
6439 .functions = pinmux_functions,
6440 .nr_functions = ARRAY_SIZE(pinmux_functions),
6441
6442 .cfg_regs = pinmux_config_regs,
6443
Geert Uytterhoevenb8b47d62015-09-21 16:27:23 +02006444 .pinmux_data = pinmux_data,
6445 .pinmux_data_size = ARRAY_SIZE(pinmux_data),
Ulrich Hecht19e1e982015-05-12 11:13:19 +02006446};
6447#endif