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