blob: 62ac0d20c2df7fa86795e7406cbffd38df1c673b [file] [log] [blame]
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001/*
2 * R8A7790 processor support
3 *
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2013 Magnus Damm
6 * Copyright (C) 2012 Renesas Solutions Corp.
7 * Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; version 2 of the
12 * License.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
Laurent Pinchart16277692013-04-08 11:36:14 +020023
Koji Matsuoka58c229e2013-04-08 11:08:53 +090024#include <linux/kernel.h>
Laurent Pinchart16277692013-04-08 11:36:14 +020025#include <linux/platform_data/gpio-rcar.h>
26
Koji Matsuoka58c229e2013-04-08 11:08:53 +090027#include "core.h"
28#include "sh_pfc.h"
29
Laurent Pincharted3e2602013-04-08 11:36:20 +020030#define PORT_GP_1(bank, pin, fn, sfx) fn(bank, pin, GP_##bank##_##pin, sfx)
Koji Matsuoka58c229e2013-04-08 11:08:53 +090031
Laurent Pincharted3e2602013-04-08 11:36:20 +020032#define PORT_GP_32(bank, fn, sfx) \
33 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \
34 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \
35 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \
36 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \
37 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \
38 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \
39 PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \
40 PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \
41 PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \
42 PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \
43 PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \
44 PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \
45 PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \
46 PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx), \
47 PORT_GP_1(bank, 28, fn, sfx), PORT_GP_1(bank, 29, fn, sfx), \
48 PORT_GP_1(bank, 30, fn, sfx), PORT_GP_1(bank, 31, fn, sfx)
Koji Matsuoka58c229e2013-04-08 11:08:53 +090049
Laurent Pincharted3e2602013-04-08 11:36:20 +020050#define PORT_GP_32_REV(bank, fn, sfx) \
51 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \
52 PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \
53 PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \
54 PORT_GP_1(bank, 25, fn, sfx), PORT_GP_1(bank, 24, fn, sfx), \
55 PORT_GP_1(bank, 23, fn, sfx), PORT_GP_1(bank, 22, fn, sfx), \
56 PORT_GP_1(bank, 21, fn, sfx), PORT_GP_1(bank, 20, fn, sfx), \
57 PORT_GP_1(bank, 19, fn, sfx), PORT_GP_1(bank, 18, fn, sfx), \
58 PORT_GP_1(bank, 17, fn, sfx), PORT_GP_1(bank, 16, fn, sfx), \
59 PORT_GP_1(bank, 15, fn, sfx), PORT_GP_1(bank, 14, fn, sfx), \
60 PORT_GP_1(bank, 13, fn, sfx), PORT_GP_1(bank, 12, fn, sfx), \
61 PORT_GP_1(bank, 11, fn, sfx), PORT_GP_1(bank, 10, fn, sfx), \
62 PORT_GP_1(bank, 9, fn, sfx), PORT_GP_1(bank, 8, fn, sfx), \
63 PORT_GP_1(bank, 7, fn, sfx), PORT_GP_1(bank, 6, fn, sfx), \
64 PORT_GP_1(bank, 5, fn, sfx), PORT_GP_1(bank, 4, fn, sfx), \
65 PORT_GP_1(bank, 3, fn, sfx), PORT_GP_1(bank, 2, fn, sfx), \
66 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx)
Koji Matsuoka58c229e2013-04-08 11:08:53 +090067
Laurent Pincharted3e2602013-04-08 11:36:20 +020068#define CPU_ALL_PORT(fn, sfx) \
69 PORT_GP_32(0, fn, sfx), \
70 PORT_GP_32(1, fn, sfx), \
71 PORT_GP_32(2, fn, sfx), \
72 PORT_GP_32(3, fn, sfx), \
73 PORT_GP_32(4, fn, sfx), \
74 PORT_GP_32(5, fn, sfx)
Koji Matsuoka58c229e2013-04-08 11:08:53 +090075
Laurent Pincharted3e2602013-04-08 11:36:20 +020076#define _GP_PORT_ALL(bank, pin, name, sfx) name##_##sfx
Koji Matsuoka58c229e2013-04-08 11:08:53 +090077
Laurent Pincharted3e2602013-04-08 11:36:20 +020078#define _GP_GPIO(bank, pin, _name, sfx) \
79 [(bank * 32) + pin] = { \
80 .name = __stringify(_name), \
81 .enum_id = _name##_DATA, \
82 }
83
84#define _GP_DATA(bank, pin, name, sfx) \
85 PINMUX_DATA(name##_DATA, name##_FN)
86
87#define GP_ALL(str) CPU_ALL_PORT(_GP_PORT_ALL, str)
88#define PINMUX_GPIO_GP_ALL() CPU_ALL_PORT(_GP_GPIO, unused)
89#define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_GP_DATA, unused)
Koji Matsuoka58c229e2013-04-08 11:08:53 +090090
Koji Matsuoka58c229e2013-04-08 11:08:53 +090091#define PINMUX_IPSR_DATA(ipsr, fn) PINMUX_DATA(fn##_MARK, FN_##ipsr, FN_##fn)
92#define PINMUX_IPSR_MODSEL_DATA(ipsr, fn, ms) PINMUX_DATA(fn##_MARK, FN_##ms, \
93 FN_##ipsr, FN_##fn)
94
95enum {
96 PINMUX_RESERVED = 0,
97
98 PINMUX_DATA_BEGIN,
99 GP_ALL(DATA),
100 PINMUX_DATA_END,
101
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900102 PINMUX_FUNCTION_BEGIN,
103 GP_ALL(FN),
104
105 /* GPSR0 */
106 FN_IP0_2_0, FN_IP0_5_3, FN_IP0_8_6, FN_IP0_11_9, FN_IP0_15_12,
107 FN_IP0_19_16, FN_IP0_22_20, FN_IP0_26_23, FN_IP0_30_27,
108 FN_IP1_3_0, FN_IP1_7_4, FN_IP1_11_8, FN_IP1_14_12,
109 FN_IP1_17_15, FN_IP1_21_18, FN_IP1_25_22, FN_IP1_27_26,
110 FN_IP1_29_28, FN_IP2_2_0, FN_IP2_5_3, FN_IP2_8_6, FN_IP2_11_9,
111 FN_IP2_14_12, FN_IP2_17_15, FN_IP2_21_18, FN_IP2_25_22,
112 FN_IP2_28_26, FN_IP3_3_0, FN_IP3_7_4, FN_IP3_11_8,
113 FN_IP3_14_12, FN_IP3_17_15,
114
115 /* GPSR1 */
116 FN_IP3_19_18, FN_IP3_22_20, FN_IP3_25_23, FN_IP3_28_26,
117 FN_IP3_31_29, FN_IP4_2_0, FN_IP4_5_3, FN_IP4_8_6, FN_IP4_11_9,
118 FN_IP4_14_12, FN_IP4_17_15, FN_IP4_20_18, FN_IP4_23_21,
119 FN_IP4_26_24, FN_IP4_29_27, FN_IP5_2_0, FN_IP5_5_3, FN_IP5_9_6,
120 FN_IP5_12_10, FN_IP5_14_13, FN_IP5_17_15, FN_IP5_20_18,
121 FN_IP5_23_21, FN_IP5_26_24, FN_IP5_29_27, FN_IP6_2_0,
122 FN_IP6_5_3, FN_IP6_8_6, FN_IP6_10_9, FN_IP6_13_11,
123
124 /* GPSR2 */
125 FN_IP7_28_27, FN_IP7_30_29, FN_IP8_1_0, FN_IP8_3_2, FN_IP8_5_4,
126 FN_IP8_7_6, FN_IP8_9_8, FN_IP8_11_10, FN_IP8_13_12, FN_IP8_15_14,
127 FN_IP8_17_16, FN_IP8_19_18, FN_IP8_21_20, FN_IP8_23_22,
128 FN_IP8_25_24, FN_IP8_26, FN_IP8_27, FN_VI1_DATA7_VI1_B7,
129 FN_IP6_16_14, FN_IP6_19_17, FN_IP6_22_20, FN_IP6_25_23,
130 FN_IP6_28_26, FN_IP6_31_29, FN_IP7_2_0, FN_IP7_5_3, FN_IP7_7_6,
131 FN_IP7_9_8, FN_IP7_12_10, FN_IP7_15_13,
132
133 /* GPSR3 */
134 FN_IP8_28, FN_IP8_30_29, FN_IP9_1_0, FN_IP9_3_2, FN_IP9_5_4,
135 FN_IP9_7_6, FN_IP9_11_8, FN_IP9_15_12, FN_IP9_17_16, FN_IP9_19_18,
136 FN_IP9_21_20, FN_IP9_23_22, FN_IP9_25_24, FN_IP9_27_26,
137 FN_IP9_31_28, FN_IP10_3_0, FN_IP10_6_4, FN_IP10_10_7, FN_IP10_14_11,
138 FN_IP10_18_15, FN_IP10_22_19, FN_IP10_25_23, FN_IP10_29_26,
139 FN_IP11_3_0, FN_IP11_4, FN_IP11_6_5, FN_IP11_8_7, FN_IP11_10_9,
140 FN_IP11_12_11, FN_IP11_14_13, FN_IP11_17_15, FN_IP11_21_18,
141
142 /* GPSR4 */
143 FN_IP11_23_22, FN_IP11_26_24, FN_IP11_29_27, FN_IP11_31_30,
144 FN_IP12_1_0, FN_IP12_3_2, FN_IP12_5_4, FN_IP12_7_6, FN_IP12_10_8,
145 FN_IP12_13_11, FN_IP12_16_14, FN_IP12_19_17, FN_IP12_22_20,
146 FN_IP12_24_23, FN_IP12_27_25, FN_IP12_30_28, FN_IP13_2_0,
147 FN_IP13_6_3, FN_IP13_9_7, FN_IP13_12_10, FN_IP13_15_13,
148 FN_IP13_18_16, FN_IP13_22_19, FN_IP13_25_23, FN_IP13_28_26,
149 FN_IP13_30_29, FN_IP14_2_0, FN_IP14_5_3, FN_IP14_8_6, FN_IP14_11_9,
150 FN_IP14_15_12, FN_IP14_18_16,
151
152 /* GPSR5 */
153 FN_IP14_21_19, FN_IP14_24_22, FN_IP14_27_25, FN_IP14_30_28,
154 FN_IP15_2_0, FN_IP15_5_3, FN_IP15_8_6, FN_IP15_11_9, FN_IP15_13_12,
155 FN_IP15_15_14, FN_IP15_17_16, FN_IP15_19_18, FN_IP15_22_20,
156 FN_IP15_25_23, FN_IP15_27_26, FN_IP15_29_28, FN_IP16_2_0,
157 FN_IP16_5_3, FN_USB0_PWEN, FN_USB0_OVC_VBUS, FN_IP16_6, FN_IP16_7,
158 FN_USB2_PWEN, FN_USB2_OVC, FN_AVS1, FN_AVS2, FN_DU_DOTCLKIN0,
159 FN_IP7_26_25, FN_DU_DOTCLKIN2, FN_IP7_18_16, FN_IP7_21_19, FN_IP7_24_22,
160
161 /* IPSR0 */
162 FN_D0, FN_MSIOF3_SCK_B, FN_VI3_DATA0, FN_VI0_G4, FN_VI0_G4_B,
163 FN_D1, FN_MSIOF3_SYNC_B, FN_VI3_DATA1, FN_VI0_G5,
164 FN_VI0_G5_B, FN_D2, FN_MSIOF3_RXD_B, FN_VI3_DATA2,
165 FN_VI0_G6, FN_VI0_G6_B, FN_D3, FN_MSIOF3_TXD_B,
166 FN_VI3_DATA3, FN_VI0_G7, FN_VI0_G7_B, FN_D4,
167 FN_SCIFB1_RXD_F, FN_SCIFB0_RXD_C, FN_VI3_DATA4,
168 FN_VI0_R0, FN_VI0_R0_B, FN_RX0_B, FN_D5,
169 FN_SCIFB1_TXD_F, FN_SCIFB0_TXD_C, FN_VI3_DATA5,
170 FN_VI0_R1, FN_VI0_R1_B, FN_TX0_B, FN_D6,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900171 FN_IIC2_SCL_C, FN_VI3_DATA6, FN_VI0_R2, FN_VI0_R2_B,
172 FN_I2C2_SCL_C, FN_D7, FN_AD_DI_B, FN_IIC2_SDA_C,
Shinya Kuribayashi05bcb072013-05-24 16:31:32 +0900173 FN_VI3_DATA7, FN_VI0_R3, FN_VI0_R3_B, FN_I2C2_SDA_C, FN_TCLK1,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900174 FN_D8, FN_SCIFA1_SCK_C, FN_AVB_TXD0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900175 FN_VI0_G0, FN_VI0_G0_B, FN_VI2_DATA0_VI2_B0,
176
177 /* IPSR1 */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900178 FN_D9, FN_SCIFA1_RXD_C, FN_AVB_TXD1,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900179 FN_VI0_G1, FN_VI0_G1_B, FN_VI2_DATA1_VI2_B1, FN_D10,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900180 FN_SCIFA1_TXD_C, FN_AVB_TXD2,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900181 FN_VI0_G2, FN_VI0_G2_B, FN_VI2_DATA2_VI2_B2, FN_D11,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900182 FN_SCIFA1_CTS_N_C, FN_AVB_TXD3,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900183 FN_VI0_G3, FN_VI0_G3_B, FN_VI2_DATA3_VI2_B3,
184 FN_D12, FN_SCIFA1_RTS_N_C, FN_AVB_TXD4,
185 FN_VI0_HSYNC_N, FN_VI0_HSYNC_N_B, FN_VI2_DATA4_VI2_B4,
186 FN_D13, FN_AVB_TXD5, FN_VI0_VSYNC_N,
187 FN_VI0_VSYNC_N_B, FN_VI2_DATA5_VI2_B5, FN_D14,
188 FN_SCIFB1_RXD_C, FN_AVB_TXD6, FN_RX1_B,
189 FN_VI0_CLKENB, FN_VI0_CLKENB_B, FN_VI2_DATA6_VI2_B6,
190 FN_D15, FN_SCIFB1_TXD_C, FN_AVB_TXD7, FN_TX1_B,
191 FN_VI0_FIELD, FN_VI0_FIELD_B, FN_VI2_DATA7_VI2_B7,
192 FN_A0, FN_PWM3, FN_A1, FN_PWM4,
193
194 /* IPSR2 */
195 FN_A2, FN_PWM5, FN_MSIOF1_SS1_B, FN_A3,
196 FN_PWM6, FN_MSIOF1_SS2_B, FN_A4, FN_MSIOF1_TXD_B,
197 FN_TPU0TO0, FN_A5, FN_SCIFA1_TXD_B, FN_TPU0TO1,
198 FN_A6, FN_SCIFA1_RTS_N_B, FN_TPU0TO2, FN_A7,
199 FN_SCIFA1_SCK_B, FN_AUDIO_CLKOUT_B, FN_TPU0TO3,
200 FN_A8, FN_SCIFA1_RXD_B, FN_SSI_SCK5_B, FN_VI0_R4,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900201 FN_VI0_R4_B, FN_SCIFB2_RXD_C, FN_RX2_B, FN_VI2_DATA0_VI2_B0_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900202 FN_A9, FN_SCIFA1_CTS_N_B, FN_SSI_WS5_B, FN_VI0_R5,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900203 FN_VI0_R5_B, FN_SCIFB2_TXD_C, FN_TX2_B, FN_VI2_DATA1_VI2_B1_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900204 FN_A10, FN_SSI_SDATA5_B, FN_MSIOF2_SYNC, FN_VI0_R6,
205 FN_VI0_R6_B, FN_VI2_DATA2_VI2_B2_B,
206
207 /* IPSR3 */
208 FN_A11, FN_SCIFB2_CTS_N_B, FN_MSIOF2_SCK, FN_VI1_R0,
209 FN_VI1_R0_B, FN_VI2_G0, FN_VI2_DATA3_VI2_B3_B,
210 FN_A12, FN_SCIFB2_RXD_B, FN_MSIOF2_TXD, FN_VI1_R1,
211 FN_VI1_R1_B, FN_VI2_G1, FN_VI2_DATA4_VI2_B4_B,
212 FN_A13, FN_SCIFB2_RTS_N_B, FN_EX_WAIT2,
213 FN_MSIOF2_RXD, FN_VI1_R2, FN_VI1_R2_B, FN_VI2_G2,
214 FN_VI2_DATA5_VI2_B5_B, FN_A14, FN_SCIFB2_TXD_B,
215 FN_ATACS11_N, FN_MSIOF2_SS1, FN_A15, FN_SCIFB2_SCK_B,
216 FN_ATARD1_N, FN_MSIOF2_SS2, FN_A16, FN_ATAWR1_N,
217 FN_A17, FN_AD_DO_B, FN_ATADIR1_N, FN_A18,
218 FN_AD_CLK_B, FN_ATAG1_N, FN_A19, FN_AD_NCS_N_B,
219 FN_ATACS01_N, FN_EX_WAIT0_B, FN_A20, FN_SPCLK,
220 FN_VI1_R3, FN_VI1_R3_B, FN_VI2_G4,
221
222 /* IPSR4 */
223 FN_A21, FN_MOSI_IO0, FN_VI1_R4, FN_VI1_R4_B, FN_VI2_G5,
224 FN_A22, FN_MISO_IO1, FN_VI1_R5, FN_VI1_R5_B,
225 FN_VI2_G6, FN_A23, FN_IO2, FN_VI1_G7,
226 FN_VI1_G7_B, FN_VI2_G7, FN_A24, FN_IO3,
227 FN_VI1_R7, FN_VI1_R7_B, FN_VI2_CLKENB,
228 FN_VI2_CLKENB_B, FN_A25, FN_SSL, FN_VI1_G6,
229 FN_VI1_G6_B, FN_VI2_FIELD, FN_VI2_FIELD_B, FN_CS0_N,
230 FN_VI1_R6, FN_VI1_R6_B, FN_VI2_G3, FN_MSIOF0_SS2_B,
231 FN_CS1_N_A26, FN_SPEEDIN, FN_VI0_R7, FN_VI0_R7_B,
232 FN_VI2_CLK, FN_VI2_CLK_B, FN_EX_CS0_N, FN_HRX1_B,
233 FN_VI1_G5, FN_VI1_G5_B, FN_VI2_R0, FN_HTX0_B,
234 FN_MSIOF0_SS1_B, FN_EX_CS1_N, FN_GPS_CLK,
235 FN_HCTS1_N_B, FN_VI1_FIELD, FN_VI1_FIELD_B,
236 FN_VI2_R1, FN_EX_CS2_N, FN_GPS_SIGN, FN_HRTS1_N_B,
237 FN_VI3_CLKENB, FN_VI1_G0, FN_VI1_G0_B, FN_VI2_R2,
238
239 /* IPSR5 */
240 FN_EX_CS3_N, FN_GPS_MAG, FN_VI3_FIELD, FN_VI1_G1, FN_VI1_G1_B,
241 FN_VI2_R3, FN_EX_CS4_N, FN_MSIOF1_SCK_B, FN_VI3_HSYNC_N,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900242 FN_VI2_HSYNC_N, FN_IIC1_SCL, FN_VI2_HSYNC_N_B,
243 FN_INTC_EN0_N, FN_I2C1_SCL, FN_EX_CS5_N, FN_CAN0_RX,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900244 FN_MSIOF1_RXD_B, FN_VI3_VSYNC_N, FN_VI1_G2,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900245 FN_VI1_G2_B, FN_VI2_R4, FN_IIC1_SDA, FN_INTC_EN1_N,
246 FN_I2C1_SDA, FN_BS_N, FN_IETX, FN_HTX1_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900247 FN_CAN1_TX, FN_DRACK0, FN_IETX_C, FN_RD_N,
248 FN_CAN0_TX, FN_SCIFA0_SCK_B, FN_RD_WR_N, FN_VI1_G3,
249 FN_VI1_G3_B, FN_VI2_R5, FN_SCIFA0_RXD_B,
250 FN_INTC_IRQ4_N, FN_WE0_N, FN_IECLK, FN_CAN_CLK,
251 FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B,
252 FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
253 FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B,
254 FN_IERX_C, FN_EX_WAIT0, FN_IRQ3, FN_INTC_IRQ3_N,
255 FN_VI3_CLK, FN_SCIFA0_RTS_N_B, FN_HRX0_B,
256 FN_MSIOF0_SCK_B, FN_DREQ0_N, FN_VI1_HSYNC_N,
257 FN_VI1_HSYNC_N_B, FN_VI2_R7, FN_SSI_SCK78_C,
258 FN_SSI_WS78_B,
259
260 /* IPSR6 */
261 FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
262 FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C,
263 FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
264 FN_SSI_SDATA7_C, FN_SSI_SCK78_B, FN_DACK1, FN_IRQ1,
265 FN_INTC_IRQ1_N, FN_SSI_WS6_B, FN_SSI_SDATA8_C,
266 FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B,
267 FN_MSIOF0_TXD_B, FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
268 FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900269 FN_ETH_CRS_DV, FN_STP_ISCLK_0_B,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900270 FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_IIC2_SCL_E,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900271 FN_I2C2_SCL_E, FN_ETH_RX_ER,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900272 FN_STP_ISD_0_B, FN_TS_SPSYNC0_D, FN_GLO_Q1_C,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900273 FN_IIC2_SDA_E, FN_I2C2_SDA_E, FN_ETH_RXD0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900274 FN_STP_ISEN_0_B, FN_TS_SDAT0_D, FN_GLO_I0_C,
275 FN_SCIFB1_SCK_G, FN_SCK1_E, FN_ETH_RXD1,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900276 FN_HRX0_E, FN_STP_ISSYNC_0_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900277 FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900278 FN_RX1_E, FN_ETH_LINK, FN_HTX0_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900279 FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900280 FN_ETH_REF_CLK, FN_HCTS0_N_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900281 FN_STP_IVCXO27_1_B, FN_HRX0_F,
282
283 /* IPSR7 */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900284 FN_ETH_MDIO, FN_HRTS0_N_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900285 FN_SIM0_D_C, FN_HCTS0_N_F, FN_ETH_TXD1,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900286 FN_HTX0_F, FN_BPFCLK_G,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900287 FN_ETH_TX_EN, FN_SIM0_CLK_C,
288 FN_HRTS0_N_F, FN_ETH_MAGIC,
289 FN_SIM0_RST_C, FN_ETH_TXD0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900290 FN_STP_ISCLK_1_B, FN_TS_SDEN1_C, FN_GLO_SCLK_C,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900291 FN_ETH_MDC, FN_STP_ISD_1_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900292 FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, FN_PWM0,
293 FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
294 FN_GLO_SS_C, FN_PWM1, FN_SCIFA2_TXD_C,
295 FN_STP_ISSYNC_1_B, FN_TS_SCK1_C, FN_GLO_RFON_C,
296 FN_PCMOE_N, FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C,
297 FN_PCMWE_N, FN_IECLK_C, FN_DU1_DOTCLKIN,
298 FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, FN_VI0_CLK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900299 FN_ATACS00_N, FN_AVB_RXD1,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900300 FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900301
302 /* IPSR8 */
303 FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900304 FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900305 FN_AVB_RXD4, FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N,
306 FN_AVB_RXD5, FN_VI0_DATA4_VI0_B4, FN_ATAG0_N,
307 FN_AVB_RXD6, FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1,
308 FN_AVB_RXD7, FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900309 FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK,
310 FN_VI1_CLK, FN_AVB_RX_DV,
311 FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D,
312 FN_AVB_CRS, FN_VI1_DATA1_VI1_B1,
313 FN_SCIFA1_RXD_D, FN_AVB_MDC,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900314 FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900315 FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900316 FN_AVB_GTX_CLK, FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900317 FN_AVB_MAGIC, FN_VI1_DATA5_VI1_B5,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900318 FN_AVB_PHY_INT, FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
319 FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B, FN_SD0_CMD,
320 FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B,
321
322 /* IPSR9 */
323 FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B,
324 FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B,
325 FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B,
326 FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B,
327 FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900328 FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_IIC1_SCL_B,
329 FN_I2C1_SCL_B, FN_VI2_DATA6_VI2_B6_B, FN_SD0_WP,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900330 FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900331 FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_IIC1_SDA_B,
332 FN_I2C1_SDA_B, FN_VI2_DATA7_VI2_B7_B, FN_SD1_CLK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900333 FN_AVB_TX_EN, FN_SD1_CMD,
334 FN_AVB_TX_ER, FN_SCIFB0_SCK_B,
335 FN_SD1_DAT0, FN_AVB_TX_CLK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900336 FN_SCIFB0_RXD_B, FN_SD1_DAT1, FN_AVB_LINK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900337 FN_SCIFB0_TXD_B, FN_SD1_DAT2,
338 FN_AVB_COL, FN_SCIFB0_CTS_N_B,
339 FN_SD1_DAT3, FN_AVB_RXD0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900340 FN_SCIFB0_RTS_N_B, FN_SD1_CD, FN_MMC1_D6,
341 FN_TS_SDEN1, FN_USB1_EXTP, FN_GLO_SS, FN_VI0_CLK_B,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900342 FN_IIC2_SCL_D, FN_I2C2_SCL_D, FN_SIM0_CLK_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900343 FN_VI3_CLK_B,
344
345 /* IPSR10 */
346 FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900347 FN_GLO_RFON, FN_VI1_CLK_B, FN_IIC2_SDA_D, FN_I2C2_SDA_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900348 FN_SIM0_D_B, FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
349 FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
350 FN_VI3_DATA0_B, FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
351 FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
352 FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
353 FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
354 FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
355 FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900356 FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900357 FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
358 FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900359 FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900360 FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
361 FN_GLO_Q0_B, FN_VI3_DATA4_B, FN_SD2_DAT3,
362 FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
363 FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B,
364 FN_VI3_DATA5_B, FN_SD2_CD, FN_MMC0_D4,
365 FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
366 FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
367 FN_GLO_I0_B, FN_VI3_DATA6_B,
368
369 /* IPSR11 */
370 FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
371 FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
372 FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B,
373 FN_SD3_CLK, FN_MMC1_CLK, FN_SD3_CMD, FN_MMC1_CMD,
374 FN_MTS_N, FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N,
375 FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, FN_SD3_DAT2,
376 FN_MMC1_D2, FN_SDATA, FN_SD3_DAT3, FN_MMC1_D3,
377 FN_SCKZ, FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
378 FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, FN_SD3_WP,
379 FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900380 FN_FMIN_E, FN_FMIN_F,
381 FN_MLB_CLK, FN_IIC2_SCL_B, FN_I2C2_SCL_B,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900382 FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_IIC2_SDA_B,
Shinya Kuribayashi7d2b2852013-05-24 17:26:08 +0900383 FN_I2C2_SDA_B, FN_MLB_DAT,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900384 FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900385 FN_SSI_SCK0129, FN_CAN_CLK_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900386 FN_MOUT0,
387
388 /* IPSR12 */
389 FN_SSI_WS0129, FN_CAN0_TX_B, FN_MOUT1,
390 FN_SSI_SDATA0, FN_CAN0_RX_B, FN_MOUT2,
391 FN_SSI_SDATA1, FN_CAN1_TX_B, FN_MOUT5,
392 FN_SSI_SDATA2, FN_CAN1_RX_B, FN_SSI_SCK1, FN_MOUT6,
393 FN_SSI_SCK34, FN_STP_OPWM_0, FN_SCIFB0_SCK,
394 FN_MSIOF1_SCK, FN_CAN_DEBUG_HW_TRIGGER, FN_SSI_WS34,
395 FN_STP_IVCXO27_0, FN_SCIFB0_RXD, FN_MSIOF1_SYNC,
396 FN_CAN_STEP0, FN_SSI_SDATA3, FN_STP_ISCLK_0,
397 FN_SCIFB0_TXD, FN_MSIOF1_SS1, FN_CAN_TXCLK,
398 FN_SSI_SCK4, FN_STP_ISD_0, FN_SCIFB0_CTS_N,
399 FN_MSIOF1_SS2, FN_SSI_SCK5_C, FN_CAN_DEBUGOUT0,
400 FN_SSI_WS4, FN_STP_ISEN_0, FN_SCIFB0_RTS_N,
401 FN_MSIOF1_TXD, FN_SSI_WS5_C, FN_CAN_DEBUGOUT1,
402 FN_SSI_SDATA4, FN_STP_ISSYNC_0, FN_MSIOF1_RXD,
403 FN_CAN_DEBUGOUT2, FN_SSI_SCK5, FN_SCIFB1_SCK,
404 FN_IERX_B, FN_DU2_EXHSYNC_DU2_HSYNC, FN_QSTH_QHS,
405 FN_CAN_DEBUGOUT3, FN_SSI_WS5, FN_SCIFB1_RXD,
406 FN_IECLK_B, FN_DU2_EXVSYNC_DU2_VSYNC, FN_QSTB_QHE,
407 FN_CAN_DEBUGOUT4,
408
409 /* IPSR13 */
410 FN_SSI_SDATA5, FN_SCIFB1_TXD, FN_IETX_B, FN_DU2_DR2,
411 FN_LCDOUT2, FN_CAN_DEBUGOUT5, FN_SSI_SCK6,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900412 FN_SCIFB1_CTS_N, FN_BPFCLK_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900413 FN_DU2_DR3, FN_LCDOUT3, FN_CAN_DEBUGOUT6,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900414 FN_BPFCLK_F, FN_SSI_WS6,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900415 FN_SCIFB1_RTS_N, FN_CAN0_TX_D, FN_DU2_DR4,
416 FN_LCDOUT4, FN_CAN_DEBUGOUT7, FN_SSI_SDATA6,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900417 FN_FMIN_D, FN_DU2_DR5, FN_LCDOUT5,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900418 FN_CAN_DEBUGOUT8, FN_SSI_SCK78, FN_STP_IVCXO27_1,
419 FN_SCK1, FN_SCIFA1_SCK, FN_DU2_DR6, FN_LCDOUT6,
420 FN_CAN_DEBUGOUT9, FN_SSI_WS78, FN_STP_ISCLK_1,
421 FN_SCIFB2_SCK, FN_SCIFA2_CTS_N, FN_DU2_DR7,
422 FN_LCDOUT7, FN_CAN_DEBUGOUT10, FN_SSI_SDATA7,
423 FN_STP_ISD_1, FN_SCIFB2_RXD, FN_SCIFA2_RTS_N,
424 FN_TCLK2, FN_QSTVA_QVS, FN_CAN_DEBUGOUT11,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900425 FN_BPFCLK_E, FN_SSI_SDATA7_B,
426 FN_FMIN_G, FN_SSI_SDATA8,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900427 FN_STP_ISEN_1, FN_SCIFB2_TXD, FN_CAN0_TX_C,
428 FN_CAN_DEBUGOUT12, FN_SSI_SDATA8_B, FN_SSI_SDATA9,
429 FN_STP_ISSYNC_1, FN_SCIFB2_CTS_N, FN_SSI_WS1,
430 FN_SSI_SDATA5_C, FN_CAN_DEBUGOUT13, FN_AUDIO_CLKA,
431 FN_SCIFB2_RTS_N, FN_CAN_DEBUGOUT14,
432
433 /* IPSR14 */
434 FN_AUDIO_CLKB, FN_SCIF_CLK, FN_CAN0_RX_D,
435 FN_DVC_MUTE, FN_CAN0_RX_C, FN_CAN_DEBUGOUT15,
436 FN_REMOCON, FN_SCIFA0_SCK, FN_HSCK1, FN_SCK0,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900437 FN_MSIOF3_SS2, FN_DU2_DG2, FN_LCDOUT10, FN_IIC1_SDA_C,
438 FN_I2C1_SDA_C, FN_SCIFA0_RXD, FN_HRX1, FN_RX0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900439 FN_DU2_DR0, FN_LCDOUT0, FN_SCIFA0_TXD, FN_HTX1,
440 FN_TX0, FN_DU2_DR1, FN_LCDOUT1, FN_SCIFA0_CTS_N,
441 FN_HCTS1_N, FN_CTS0_N, FN_MSIOF3_SYNC, FN_DU2_DG3,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900442 FN_LCDOUT11, FN_PWM0_B, FN_IIC1_SCL_C, FN_I2C1_SCL_C,
Shinya Kuribayashibcec7472013-05-24 17:28:17 +0900443 FN_SCIFA0_RTS_N, FN_HRTS1_N, FN_RTS0_N,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900444 FN_MSIOF3_SS1, FN_DU2_DG0, FN_LCDOUT8, FN_PWM1_B,
445 FN_SCIFA1_RXD, FN_AD_DI, FN_RX1,
446 FN_DU2_EXODDF_DU2_ODDF_DISP_CDE, FN_QCPV_QDE,
447 FN_SCIFA1_TXD, FN_AD_DO, FN_TX1, FN_DU2_DG1,
448 FN_LCDOUT9, FN_SCIFA1_CTS_N, FN_AD_CLK,
449 FN_CTS1_N, FN_MSIOF3_RXD, FN_DU0_DOTCLKOUT, FN_QCLK,
Shinya Kuribayashibcec7472013-05-24 17:28:17 +0900450 FN_SCIFA1_RTS_N, FN_AD_NCS_N, FN_RTS1_N,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900451 FN_MSIOF3_TXD, FN_DU1_DOTCLKOUT, FN_QSTVB_QVE,
452 FN_HRTS0_N_C,
453
454 /* IPSR15 */
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900455 FN_SCIFA2_SCK, FN_FMCLK, FN_SCK2, FN_MSIOF3_SCK, FN_DU2_DG7,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900456 FN_LCDOUT15, FN_SCIF_CLK_B, FN_SCIFA2_RXD, FN_FMIN,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900457 FN_TX2, FN_DU2_DB0, FN_LCDOUT16, FN_IIC2_SCL, FN_I2C2_SCL,
458 FN_SCIFA2_TXD, FN_BPFCLK, FN_RX2, FN_DU2_DB1, FN_LCDOUT17,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900459 FN_IIC2_SDA, FN_I2C2_SDA, FN_HSCK0, FN_TS_SDEN0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900460 FN_DU2_DG4, FN_LCDOUT12, FN_HCTS0_N_C, FN_HRX0,
461 FN_DU2_DB2, FN_LCDOUT18, FN_HTX0, FN_DU2_DB3,
462 FN_LCDOUT19, FN_HCTS0_N, FN_SSI_SCK9, FN_DU2_DB4,
463 FN_LCDOUT20, FN_HRTS0_N, FN_SSI_WS9, FN_DU2_DB5,
464 FN_LCDOUT21, FN_MSIOF0_SCK, FN_TS_SDAT0, FN_ADICLK,
465 FN_DU2_DB6, FN_LCDOUT22, FN_MSIOF0_SYNC, FN_TS_SCK0,
466 FN_SSI_SCK2, FN_ADIDATA, FN_DU2_DB7, FN_LCDOUT23,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +0900467 FN_HRX0_C, FN_MSIOF0_SS1, FN_ADICHS0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900468 FN_DU2_DG5, FN_LCDOUT13, FN_MSIOF0_TXD, FN_ADICHS1,
469 FN_DU2_DG6, FN_LCDOUT14,
470
471 /* IPSR16 */
472 FN_MSIOF0_SS2, FN_AUDIO_CLKOUT, FN_ADICHS2,
473 FN_DU2_DISP, FN_QPOLA, FN_HTX0_C, FN_SCIFA2_TXD_B,
474 FN_MSIOF0_RXD, FN_TS_SPSYNC0, FN_SSI_WS2,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +0900475 FN_ADICS_SAMP, FN_DU2_CDE, FN_QPOLB, FN_SCIFA2_RXD_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900476 FN_USB1_PWEN, FN_AUDIO_CLKOUT_D, FN_USB1_OVC,
477 FN_TCLK1_B,
478
479 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
480 FN_SEL_SCIF1_4,
481 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2,
482 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2,
483 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2, FN_SEL_SCIFB1_3,
484 FN_SEL_SCIFB1_4,
485 FN_SEL_SCIFB1_5, FN_SEL_SCIFB1_6,
486 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, FN_SEL_SCIFA1_3,
487 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
488 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
489 FN_SEL_SOF1_0, FN_SEL_SOF1_1,
490 FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2,
491 FN_SEL_SSI6_0, FN_SEL_SSI6_1,
492 FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2,
493 FN_SEL_VI3_0, FN_SEL_VI3_1,
494 FN_SEL_VI2_0, FN_SEL_VI2_1,
495 FN_SEL_VI1_0, FN_SEL_VI1_1,
496 FN_SEL_VI0_0, FN_SEL_VI0_1,
497 FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2,
498 FN_SEL_LBS_0, FN_SEL_LBS_1,
499 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
500 FN_SEL_SOF3_0, FN_SEL_SOF3_1,
501 FN_SEL_SOF0_0, FN_SEL_SOF0_1,
502
503 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
504 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
505 FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
506 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
507 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
508 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2,
509 FN_SEL_CAN1_0, FN_SEL_CAN1_1,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900510 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900511 FN_SEL_ADI_0, FN_SEL_ADI_1,
512 FN_SEL_SSP_0, FN_SEL_SSP_1,
513 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
514 FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6,
515 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2, FN_SEL_HSCIF0_3,
516 FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5,
517 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900518 FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2,
519 FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2,
520
521 FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
522 FN_SEL_IIC0_0, FN_SEL_IIC0_1,
523 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2,
524 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
525 FN_SEL_IIC2_4,
526 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2,
527 FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
528 FN_SEL_I2C2_4,
529 FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2,
530 PINMUX_FUNCTION_END,
531
532 PINMUX_MARK_BEGIN,
533
534 VI1_DATA7_VI1_B7_MARK,
535
536 USB0_PWEN_MARK, USB0_OVC_VBUS_MARK,
537 USB2_PWEN_MARK, USB2_OVC_MARK, AVS1_MARK, AVS2_MARK,
538 DU_DOTCLKIN0_MARK, DU_DOTCLKIN2_MARK,
539
540 D0_MARK, MSIOF3_SCK_B_MARK, VI3_DATA0_MARK, VI0_G4_MARK, VI0_G4_B_MARK,
541 D1_MARK, MSIOF3_SYNC_B_MARK, VI3_DATA1_MARK, VI0_G5_MARK,
542 VI0_G5_B_MARK, D2_MARK, MSIOF3_RXD_B_MARK, VI3_DATA2_MARK,
543 VI0_G6_MARK, VI0_G6_B_MARK, D3_MARK, MSIOF3_TXD_B_MARK,
544 VI3_DATA3_MARK, VI0_G7_MARK, VI0_G7_B_MARK, D4_MARK,
545 SCIFB1_RXD_F_MARK, SCIFB0_RXD_C_MARK, VI3_DATA4_MARK,
546 VI0_R0_MARK, VI0_R0_B_MARK, RX0_B_MARK, D5_MARK,
547 SCIFB1_TXD_F_MARK, SCIFB0_TXD_C_MARK, VI3_DATA5_MARK,
548 VI0_R1_MARK, VI0_R1_B_MARK, TX0_B_MARK, D6_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900549 IIC2_SCL_C_MARK, VI3_DATA6_MARK, VI0_R2_MARK, VI0_R2_B_MARK,
550 I2C2_SCL_C_MARK, D7_MARK, AD_DI_B_MARK, IIC2_SDA_C_MARK,
Shinya Kuribayashi05bcb072013-05-24 16:31:32 +0900551 VI3_DATA7_MARK, VI0_R3_MARK, VI0_R3_B_MARK, I2C2_SDA_C_MARK, TCLK1_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900552 D8_MARK, SCIFA1_SCK_C_MARK, AVB_TXD0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900553 VI0_G0_MARK, VI0_G0_B_MARK, VI2_DATA0_VI2_B0_MARK,
554
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900555 D9_MARK, SCIFA1_RXD_C_MARK, AVB_TXD1_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900556 VI0_G1_MARK, VI0_G1_B_MARK, VI2_DATA1_VI2_B1_MARK, D10_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900557 SCIFA1_TXD_C_MARK, AVB_TXD2_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900558 VI0_G2_MARK, VI0_G2_B_MARK, VI2_DATA2_VI2_B2_MARK, D11_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900559 SCIFA1_CTS_N_C_MARK, AVB_TXD3_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900560 VI0_G3_MARK, VI0_G3_B_MARK, VI2_DATA3_VI2_B3_MARK,
561 D12_MARK, SCIFA1_RTS_N_C_MARK, AVB_TXD4_MARK,
562 VI0_HSYNC_N_MARK, VI0_HSYNC_N_B_MARK, VI2_DATA4_VI2_B4_MARK,
563 D13_MARK, AVB_TXD5_MARK, VI0_VSYNC_N_MARK,
564 VI0_VSYNC_N_B_MARK, VI2_DATA5_VI2_B5_MARK, D14_MARK,
565 SCIFB1_RXD_C_MARK, AVB_TXD6_MARK, RX1_B_MARK,
566 VI0_CLKENB_MARK, VI0_CLKENB_B_MARK, VI2_DATA6_VI2_B6_MARK,
567 D15_MARK, SCIFB1_TXD_C_MARK, AVB_TXD7_MARK, TX1_B_MARK,
568 VI0_FIELD_MARK, VI0_FIELD_B_MARK, VI2_DATA7_VI2_B7_MARK,
569 A0_MARK, PWM3_MARK, A1_MARK, PWM4_MARK,
570
571 A2_MARK, PWM5_MARK, MSIOF1_SS1_B_MARK, A3_MARK,
572 PWM6_MARK, MSIOF1_SS2_B_MARK, A4_MARK, MSIOF1_TXD_B_MARK,
573 TPU0TO0_MARK, A5_MARK, SCIFA1_TXD_B_MARK, TPU0TO1_MARK,
574 A6_MARK, SCIFA1_RTS_N_B_MARK, TPU0TO2_MARK, A7_MARK,
575 SCIFA1_SCK_B_MARK, AUDIO_CLKOUT_B_MARK, TPU0TO3_MARK,
576 A8_MARK, SCIFA1_RXD_B_MARK, SSI_SCK5_B_MARK, VI0_R4_MARK,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900577 VI0_R4_B_MARK, SCIFB2_RXD_C_MARK, RX2_B_MARK, VI2_DATA0_VI2_B0_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900578 A9_MARK, SCIFA1_CTS_N_B_MARK, SSI_WS5_B_MARK, VI0_R5_MARK,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900579 VI0_R5_B_MARK, SCIFB2_TXD_C_MARK, TX2_B_MARK, VI2_DATA1_VI2_B1_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900580 A10_MARK, SSI_SDATA5_B_MARK, MSIOF2_SYNC_MARK, VI0_R6_MARK,
581 VI0_R6_B_MARK, VI2_DATA2_VI2_B2_B_MARK,
582
583 A11_MARK, SCIFB2_CTS_N_B_MARK, MSIOF2_SCK_MARK, VI1_R0_MARK,
584 VI1_R0_B_MARK, VI2_G0_MARK, VI2_DATA3_VI2_B3_B_MARK,
585 A12_MARK, SCIFB2_RXD_B_MARK, MSIOF2_TXD_MARK, VI1_R1_MARK,
586 VI1_R1_B_MARK, VI2_G1_MARK, VI2_DATA4_VI2_B4_B_MARK,
587 A13_MARK, SCIFB2_RTS_N_B_MARK, EX_WAIT2_MARK,
588 MSIOF2_RXD_MARK, VI1_R2_MARK, VI1_R2_B_MARK, VI2_G2_MARK,
589 VI2_DATA5_VI2_B5_B_MARK, A14_MARK, SCIFB2_TXD_B_MARK,
590 ATACS11_N_MARK, MSIOF2_SS1_MARK, A15_MARK, SCIFB2_SCK_B_MARK,
591 ATARD1_N_MARK, MSIOF2_SS2_MARK, A16_MARK, ATAWR1_N_MARK,
592 A17_MARK, AD_DO_B_MARK, ATADIR1_N_MARK, A18_MARK,
593 AD_CLK_B_MARK, ATAG1_N_MARK, A19_MARK, AD_NCS_N_B_MARK,
594 ATACS01_N_MARK, EX_WAIT0_B_MARK, A20_MARK, SPCLK_MARK,
595 VI1_R3_MARK, VI1_R3_B_MARK, VI2_G4_MARK,
596
597 A21_MARK, MOSI_IO0_MARK, VI1_R4_MARK, VI1_R4_B_MARK, VI2_G5_MARK,
598 A22_MARK, MISO_IO1_MARK, VI1_R5_MARK, VI1_R5_B_MARK,
599 VI2_G6_MARK, A23_MARK, IO2_MARK, VI1_G7_MARK,
600 VI1_G7_B_MARK, VI2_G7_MARK, A24_MARK, IO3_MARK,
601 VI1_R7_MARK, VI1_R7_B_MARK, VI2_CLKENB_MARK,
602 VI2_CLKENB_B_MARK, A25_MARK, SSL_MARK, VI1_G6_MARK,
603 VI1_G6_B_MARK, VI2_FIELD_MARK, VI2_FIELD_B_MARK, CS0_N_MARK,
604 VI1_R6_MARK, VI1_R6_B_MARK, VI2_G3_MARK, MSIOF0_SS2_B_MARK,
605 CS1_N_A26_MARK, SPEEDIN_MARK, VI0_R7_MARK, VI0_R7_B_MARK,
606 VI2_CLK_MARK, VI2_CLK_B_MARK, EX_CS0_N_MARK, HRX1_B_MARK,
607 VI1_G5_MARK, VI1_G5_B_MARK, VI2_R0_MARK, HTX0_B_MARK,
608 MSIOF0_SS1_B_MARK, EX_CS1_N_MARK, GPS_CLK_MARK,
609 HCTS1_N_B_MARK, VI1_FIELD_MARK, VI1_FIELD_B_MARK,
610 VI2_R1_MARK, EX_CS2_N_MARK, GPS_SIGN_MARK, HRTS1_N_B_MARK,
611 VI3_CLKENB_MARK, VI1_G0_MARK, VI1_G0_B_MARK, VI2_R2_MARK,
612
613 EX_CS3_N_MARK, GPS_MAG_MARK, VI3_FIELD_MARK,
614 VI1_G1_MARK, VI1_G1_B_MARK, VI2_R3_MARK,
615 EX_CS4_N_MARK, MSIOF1_SCK_B_MARK, VI3_HSYNC_N_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900616 VI2_HSYNC_N_MARK, IIC1_SCL_MARK, VI2_HSYNC_N_B_MARK,
617 INTC_EN0_N_MARK, I2C1_SCL_MARK, EX_CS5_N_MARK, CAN0_RX_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900618 MSIOF1_RXD_B_MARK, VI3_VSYNC_N_MARK, VI1_G2_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900619 VI1_G2_B_MARK, VI2_R4_MARK, IIC1_SDA_MARK, INTC_EN1_N_MARK,
620 I2C1_SDA_MARK, BS_N_MARK, IETX_MARK, HTX1_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900621 CAN1_TX_MARK, DRACK0_MARK, IETX_C_MARK, RD_N_MARK,
622 CAN0_TX_MARK, SCIFA0_SCK_B_MARK, RD_WR_N_MARK, VI1_G3_MARK,
623 VI1_G3_B_MARK, VI2_R5_MARK, SCIFA0_RXD_B_MARK,
624 INTC_IRQ4_N_MARK, WE0_N_MARK, IECLK_MARK, CAN_CLK_MARK,
625 VI2_VSYNC_N_MARK, SCIFA0_TXD_B_MARK, VI2_VSYNC_N_B_MARK,
626 WE1_N_MARK, IERX_MARK, CAN1_RX_MARK, VI1_G4_MARK,
627 VI1_G4_B_MARK, VI2_R6_MARK, SCIFA0_CTS_N_B_MARK,
628 IERX_C_MARK, EX_WAIT0_MARK, IRQ3_MARK, INTC_IRQ3_N_MARK,
629 VI3_CLK_MARK, SCIFA0_RTS_N_B_MARK, HRX0_B_MARK,
630 MSIOF0_SCK_B_MARK, DREQ0_N_MARK, VI1_HSYNC_N_MARK,
631 VI1_HSYNC_N_B_MARK, VI2_R7_MARK, SSI_SCK78_C_MARK,
632 SSI_WS78_B_MARK,
633
634 DACK0_MARK, IRQ0_MARK, INTC_IRQ0_N_MARK, SSI_SCK6_B_MARK,
635 VI1_VSYNC_N_MARK, VI1_VSYNC_N_B_MARK, SSI_WS78_C_MARK,
636 DREQ1_N_MARK, VI1_CLKENB_MARK, VI1_CLKENB_B_MARK,
637 SSI_SDATA7_C_MARK, SSI_SCK78_B_MARK, DACK1_MARK, IRQ1_MARK,
638 INTC_IRQ1_N_MARK, SSI_WS6_B_MARK, SSI_SDATA8_C_MARK,
639 DREQ2_N_MARK, HSCK1_B_MARK, HCTS0_N_B_MARK,
640 MSIOF0_TXD_B_MARK, DACK2_MARK, IRQ2_MARK, INTC_IRQ2_N_MARK,
641 SSI_SDATA6_B_MARK, HRTS0_N_B_MARK, MSIOF0_RXD_B_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900642 ETH_CRS_DV_MARK, STP_ISCLK_0_B_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900643 TS_SDEN0_D_MARK, GLO_Q0_C_MARK, IIC2_SCL_E_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900644 I2C2_SCL_E_MARK, ETH_RX_ER_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900645 STP_ISD_0_B_MARK, TS_SPSYNC0_D_MARK, GLO_Q1_C_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900646 IIC2_SDA_E_MARK, I2C2_SDA_E_MARK, ETH_RXD0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900647 STP_ISEN_0_B_MARK, TS_SDAT0_D_MARK, GLO_I0_C_MARK,
648 SCIFB1_SCK_G_MARK, SCK1_E_MARK, ETH_RXD1_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900649 HRX0_E_MARK, STP_ISSYNC_0_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900650 TS_SCK0_D_MARK, GLO_I1_C_MARK, SCIFB1_RXD_G_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900651 RX1_E_MARK, ETH_LINK_MARK, HTX0_E_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900652 STP_IVCXO27_0_B_MARK, SCIFB1_TXD_G_MARK, TX1_E_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900653 ETH_REF_CLK_MARK, HCTS0_N_E_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900654 STP_IVCXO27_1_B_MARK, HRX0_F_MARK,
655
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900656 ETH_MDIO_MARK, HRTS0_N_E_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900657 SIM0_D_C_MARK, HCTS0_N_F_MARK, ETH_TXD1_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900658 HTX0_F_MARK, BPFCLK_G_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900659 ETH_TX_EN_MARK, SIM0_CLK_C_MARK,
660 HRTS0_N_F_MARK, ETH_MAGIC_MARK,
661 SIM0_RST_C_MARK, ETH_TXD0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900662 STP_ISCLK_1_B_MARK, TS_SDEN1_C_MARK, GLO_SCLK_C_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900663 ETH_MDC_MARK, STP_ISD_1_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900664 TS_SPSYNC1_C_MARK, GLO_SDATA_C_MARK, PWM0_MARK,
665 SCIFA2_SCK_C_MARK, STP_ISEN_1_B_MARK, TS_SDAT1_C_MARK,
666 GLO_SS_C_MARK, PWM1_MARK, SCIFA2_TXD_C_MARK,
667 STP_ISSYNC_1_B_MARK, TS_SCK1_C_MARK, GLO_RFON_C_MARK,
668 PCMOE_N_MARK, PWM2_MARK, PWMFSW0_MARK, SCIFA2_RXD_C_MARK,
669 PCMWE_N_MARK, IECLK_C_MARK, DU1_DOTCLKIN_MARK,
670 AUDIO_CLKC_MARK, AUDIO_CLKOUT_C_MARK, VI0_CLK_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900671 ATACS00_N_MARK, AVB_RXD1_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900672 VI0_DATA0_VI0_B0_MARK, ATACS10_N_MARK, AVB_RXD2_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900673
674 VI0_DATA1_VI0_B1_MARK, ATARD0_N_MARK, AVB_RXD3_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900675 VI0_DATA2_VI0_B2_MARK, ATAWR0_N_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900676 AVB_RXD4_MARK, VI0_DATA3_VI0_B3_MARK, ATADIR0_N_MARK,
677 AVB_RXD5_MARK, VI0_DATA4_VI0_B4_MARK, ATAG0_N_MARK,
678 AVB_RXD6_MARK, VI0_DATA5_VI0_B5_MARK, EX_WAIT1_MARK,
679 AVB_RXD7_MARK, VI0_DATA6_VI0_B6_MARK, AVB_RX_ER_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900680 VI0_DATA7_VI0_B7_MARK, AVB_RX_CLK_MARK,
681 VI1_CLK_MARK, AVB_RX_DV_MARK,
682 VI1_DATA0_VI1_B0_MARK, SCIFA1_SCK_D_MARK,
683 AVB_CRS_MARK, VI1_DATA1_VI1_B1_MARK,
684 SCIFA1_RXD_D_MARK, AVB_MDC_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900685 VI1_DATA2_VI1_B2_MARK, SCIFA1_TXD_D_MARK, AVB_MDIO_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900686 VI1_DATA3_VI1_B3_MARK, SCIFA1_CTS_N_D_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900687 AVB_GTX_CLK_MARK, VI1_DATA4_VI1_B4_MARK, SCIFA1_RTS_N_D_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900688 AVB_MAGIC_MARK, VI1_DATA5_VI1_B5_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900689 AVB_PHY_INT_MARK, VI1_DATA6_VI1_B6_MARK, AVB_GTXREFCLK_MARK,
690 SD0_CLK_MARK, VI1_DATA0_VI1_B0_B_MARK, SD0_CMD_MARK,
691 SCIFB1_SCK_B_MARK, VI1_DATA1_VI1_B1_B_MARK,
692
693 SD0_DAT0_MARK, SCIFB1_RXD_B_MARK, VI1_DATA2_VI1_B2_B_MARK,
694 SD0_DAT1_MARK, SCIFB1_TXD_B_MARK, VI1_DATA3_VI1_B3_B_MARK,
695 SD0_DAT2_MARK, SCIFB1_CTS_N_B_MARK, VI1_DATA4_VI1_B4_B_MARK,
696 SD0_DAT3_MARK, SCIFB1_RTS_N_B_MARK, VI1_DATA5_VI1_B5_B_MARK,
697 SD0_CD_MARK, MMC0_D6_MARK, TS_SDEN0_B_MARK, USB0_EXTP_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900698 GLO_SCLK_MARK, VI1_DATA6_VI1_B6_B_MARK, IIC1_SCL_B_MARK,
699 I2C1_SCL_B_MARK, VI2_DATA6_VI2_B6_B_MARK, SD0_WP_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900700 MMC0_D7_MARK, TS_SPSYNC0_B_MARK, USB0_IDIN_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900701 GLO_SDATA_MARK, VI1_DATA7_VI1_B7_B_MARK, IIC1_SDA_B_MARK,
702 I2C1_SDA_B_MARK, VI2_DATA7_VI2_B7_B_MARK, SD1_CLK_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900703 AVB_TX_EN_MARK, SD1_CMD_MARK,
704 AVB_TX_ER_MARK, SCIFB0_SCK_B_MARK,
705 SD1_DAT0_MARK, AVB_TX_CLK_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900706 SCIFB0_RXD_B_MARK, SD1_DAT1_MARK, AVB_LINK_MARK,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +0900707 SCIFB0_TXD_B_MARK, SD1_DAT2_MARK,
708 AVB_COL_MARK, SCIFB0_CTS_N_B_MARK,
709 SD1_DAT3_MARK, AVB_RXD0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900710 SCIFB0_RTS_N_B_MARK, SD1_CD_MARK, MMC1_D6_MARK,
711 TS_SDEN1_MARK, USB1_EXTP_MARK, GLO_SS_MARK, VI0_CLK_B_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900712 IIC2_SCL_D_MARK, I2C2_SCL_D_MARK, SIM0_CLK_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900713 VI3_CLK_B_MARK,
714
715 SD1_WP_MARK, MMC1_D7_MARK, TS_SPSYNC1_MARK, USB1_IDIN_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900716 GLO_RFON_MARK, VI1_CLK_B_MARK, IIC2_SDA_D_MARK, I2C2_SDA_D_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900717 SIM0_D_B_MARK, SD2_CLK_MARK, MMC0_CLK_MARK, SIM0_CLK_MARK,
718 VI0_DATA0_VI0_B0_B_MARK, TS_SDEN0_C_MARK, GLO_SCLK_B_MARK,
719 VI3_DATA0_B_MARK, SD2_CMD_MARK, MMC0_CMD_MARK, SIM0_D_MARK,
720 VI0_DATA1_VI0_B1_B_MARK, SCIFB1_SCK_E_MARK, SCK1_D_MARK,
721 TS_SPSYNC0_C_MARK, GLO_SDATA_B_MARK, VI3_DATA1_B_MARK,
722 SD2_DAT0_MARK, MMC0_D0_MARK, FMCLK_B_MARK,
723 VI0_DATA2_VI0_B2_B_MARK, SCIFB1_RXD_E_MARK, RX1_D_MARK,
724 TS_SDAT0_C_MARK, GLO_SS_B_MARK, VI3_DATA2_B_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900725 SD2_DAT1_MARK, MMC0_D1_MARK, FMIN_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900726 VI0_DATA3_VI0_B3_B_MARK, SCIFB1_TXD_E_MARK, TX1_D_MARK,
727 TS_SCK0_C_MARK, GLO_RFON_B_MARK, VI3_DATA3_B_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900728 SD2_DAT2_MARK, MMC0_D2_MARK, BPFCLK_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900729 VI0_DATA4_VI0_B4_B_MARK, HRX0_D_MARK, TS_SDEN1_B_MARK,
730 GLO_Q0_B_MARK, VI3_DATA4_B_MARK, SD2_DAT3_MARK,
731 MMC0_D3_MARK, SIM0_RST_MARK, VI0_DATA5_VI0_B5_B_MARK,
732 HTX0_D_MARK, TS_SPSYNC1_B_MARK, GLO_Q1_B_MARK,
733 VI3_DATA5_B_MARK, SD2_CD_MARK, MMC0_D4_MARK,
734 TS_SDAT0_B_MARK, USB2_EXTP_MARK, GLO_I0_MARK,
735 VI0_DATA6_VI0_B6_B_MARK, HCTS0_N_D_MARK, TS_SDAT1_B_MARK,
736 GLO_I0_B_MARK, VI3_DATA6_B_MARK,
737
738 SD2_WP_MARK, MMC0_D5_MARK, TS_SCK0_B_MARK, USB2_IDIN_MARK,
739 GLO_I1_MARK, VI0_DATA7_VI0_B7_B_MARK, HRTS0_N_D_MARK,
740 TS_SCK1_B_MARK, GLO_I1_B_MARK, VI3_DATA7_B_MARK,
741 SD3_CLK_MARK, MMC1_CLK_MARK, SD3_CMD_MARK, MMC1_CMD_MARK,
742 MTS_N_MARK, SD3_DAT0_MARK, MMC1_D0_MARK, STM_N_MARK,
743 SD3_DAT1_MARK, MMC1_D1_MARK, MDATA_MARK, SD3_DAT2_MARK,
744 MMC1_D2_MARK, SDATA_MARK, SD3_DAT3_MARK, MMC1_D3_MARK,
745 SCKZ_MARK, SD3_CD_MARK, MMC1_D4_MARK, TS_SDAT1_MARK,
746 VSP_MARK, GLO_Q0_MARK, SIM0_RST_B_MARK, SD3_WP_MARK,
747 MMC1_D5_MARK, TS_SCK1_MARK, GLO_Q1_MARK, FMIN_C_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900748 FMIN_E_MARK, FMIN_F_MARK,
749 MLB_CLK_MARK, IIC2_SCL_B_MARK, I2C2_SCL_B_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900750 MLB_SIG_MARK, SCIFB1_RXD_D_MARK, RX1_C_MARK, IIC2_SDA_B_MARK,
Shinya Kuribayashi7d2b2852013-05-24 17:26:08 +0900751 I2C2_SDA_B_MARK, MLB_DAT_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900752 SCIFB1_TXD_D_MARK, TX1_C_MARK, BPFCLK_C_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900753 SSI_SCK0129_MARK, CAN_CLK_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900754 MOUT0_MARK,
755
756 SSI_WS0129_MARK, CAN0_TX_B_MARK, MOUT1_MARK,
757 SSI_SDATA0_MARK, CAN0_RX_B_MARK, MOUT2_MARK,
758 SSI_SDATA1_MARK, CAN1_TX_B_MARK, MOUT5_MARK,
759 SSI_SDATA2_MARK, CAN1_RX_B_MARK, SSI_SCK1_MARK, MOUT6_MARK,
760 SSI_SCK34_MARK, STP_OPWM_0_MARK, SCIFB0_SCK_MARK,
761 MSIOF1_SCK_MARK, CAN_DEBUG_HW_TRIGGER_MARK, SSI_WS34_MARK,
762 STP_IVCXO27_0_MARK, SCIFB0_RXD_MARK, MSIOF1_SYNC_MARK,
763 CAN_STEP0_MARK, SSI_SDATA3_MARK, STP_ISCLK_0_MARK,
764 SCIFB0_TXD_MARK, MSIOF1_SS1_MARK, CAN_TXCLK_MARK,
765 SSI_SCK4_MARK, STP_ISD_0_MARK, SCIFB0_CTS_N_MARK,
766 MSIOF1_SS2_MARK, SSI_SCK5_C_MARK, CAN_DEBUGOUT0_MARK,
767 SSI_WS4_MARK, STP_ISEN_0_MARK, SCIFB0_RTS_N_MARK,
768 MSIOF1_TXD_MARK, SSI_WS5_C_MARK, CAN_DEBUGOUT1_MARK,
769 SSI_SDATA4_MARK, STP_ISSYNC_0_MARK, MSIOF1_RXD_MARK,
770 CAN_DEBUGOUT2_MARK, SSI_SCK5_MARK, SCIFB1_SCK_MARK,
771 IERX_B_MARK, DU2_EXHSYNC_DU2_HSYNC_MARK, QSTH_QHS_MARK,
772 CAN_DEBUGOUT3_MARK, SSI_WS5_MARK, SCIFB1_RXD_MARK,
773 IECLK_B_MARK, DU2_EXVSYNC_DU2_VSYNC_MARK, QSTB_QHE_MARK,
774 CAN_DEBUGOUT4_MARK,
775
776 SSI_SDATA5_MARK, SCIFB1_TXD_MARK, IETX_B_MARK, DU2_DR2_MARK,
777 LCDOUT2_MARK, CAN_DEBUGOUT5_MARK, SSI_SCK6_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900778 SCIFB1_CTS_N_MARK, BPFCLK_D_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900779 DU2_DR3_MARK, LCDOUT3_MARK, CAN_DEBUGOUT6_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900780 BPFCLK_F_MARK, SSI_WS6_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900781 SCIFB1_RTS_N_MARK, CAN0_TX_D_MARK, DU2_DR4_MARK,
782 LCDOUT4_MARK, CAN_DEBUGOUT7_MARK, SSI_SDATA6_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900783 FMIN_D_MARK, DU2_DR5_MARK, LCDOUT5_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900784 CAN_DEBUGOUT8_MARK, SSI_SCK78_MARK, STP_IVCXO27_1_MARK,
785 SCK1_MARK, SCIFA1_SCK_MARK, DU2_DR6_MARK, LCDOUT6_MARK,
786 CAN_DEBUGOUT9_MARK, SSI_WS78_MARK, STP_ISCLK_1_MARK,
787 SCIFB2_SCK_MARK, SCIFA2_CTS_N_MARK, DU2_DR7_MARK,
788 LCDOUT7_MARK, CAN_DEBUGOUT10_MARK, SSI_SDATA7_MARK,
789 STP_ISD_1_MARK, SCIFB2_RXD_MARK, SCIFA2_RTS_N_MARK,
790 TCLK2_MARK, QSTVA_QVS_MARK, CAN_DEBUGOUT11_MARK,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +0900791 BPFCLK_E_MARK, SSI_SDATA7_B_MARK,
792 FMIN_G_MARK, SSI_SDATA8_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900793 STP_ISEN_1_MARK, SCIFB2_TXD_MARK, CAN0_TX_C_MARK,
794 CAN_DEBUGOUT12_MARK, SSI_SDATA8_B_MARK, SSI_SDATA9_MARK,
795 STP_ISSYNC_1_MARK, SCIFB2_CTS_N_MARK, SSI_WS1_MARK,
796 SSI_SDATA5_C_MARK, CAN_DEBUGOUT13_MARK, AUDIO_CLKA_MARK,
797 SCIFB2_RTS_N_MARK, CAN_DEBUGOUT14_MARK,
798
799 AUDIO_CLKB_MARK, SCIF_CLK_MARK, CAN0_RX_D_MARK,
800 DVC_MUTE_MARK, CAN0_RX_C_MARK, CAN_DEBUGOUT15_MARK,
801 REMOCON_MARK, SCIFA0_SCK_MARK, HSCK1_MARK, SCK0_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900802 MSIOF3_SS2_MARK, DU2_DG2_MARK, LCDOUT10_MARK, IIC1_SDA_C_MARK,
803 I2C1_SDA_C_MARK, SCIFA0_RXD_MARK, HRX1_MARK, RX0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900804 DU2_DR0_MARK, LCDOUT0_MARK, SCIFA0_TXD_MARK, HTX1_MARK,
805 TX0_MARK, DU2_DR1_MARK, LCDOUT1_MARK, SCIFA0_CTS_N_MARK,
806 HCTS1_N_MARK, CTS0_N_MARK, MSIOF3_SYNC_MARK, DU2_DG3_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900807 LCDOUT11_MARK, PWM0_B_MARK, IIC1_SCL_C_MARK, I2C1_SCL_C_MARK,
Shinya Kuribayashibcec7472013-05-24 17:28:17 +0900808 SCIFA0_RTS_N_MARK, HRTS1_N_MARK, RTS0_N_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900809 MSIOF3_SS1_MARK, DU2_DG0_MARK, LCDOUT8_MARK, PWM1_B_MARK,
810 SCIFA1_RXD_MARK, AD_DI_MARK, RX1_MARK,
811 DU2_EXODDF_DU2_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK,
812 SCIFA1_TXD_MARK, AD_DO_MARK, TX1_MARK, DU2_DG1_MARK,
813 LCDOUT9_MARK, SCIFA1_CTS_N_MARK, AD_CLK_MARK,
814 CTS1_N_MARK, MSIOF3_RXD_MARK, DU0_DOTCLKOUT_MARK, QCLK_MARK,
Shinya Kuribayashibcec7472013-05-24 17:28:17 +0900815 SCIFA1_RTS_N_MARK, AD_NCS_N_MARK, RTS1_N_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900816 MSIOF3_TXD_MARK, DU1_DOTCLKOUT_MARK, QSTVB_QVE_MARK,
817 HRTS0_N_C_MARK,
818
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900819 SCIFA2_SCK_MARK, FMCLK_MARK, SCK2_MARK, MSIOF3_SCK_MARK, DU2_DG7_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900820 LCDOUT15_MARK, SCIF_CLK_B_MARK, SCIFA2_RXD_MARK, FMIN_MARK,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900821 TX2_MARK, DU2_DB0_MARK, LCDOUT16_MARK, IIC2_SCL_MARK, I2C2_SCL_MARK,
822 SCIFA2_TXD_MARK, BPFCLK_MARK, RX2_MARK, DU2_DB1_MARK, LCDOUT17_MARK,
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900823 IIC2_SDA_MARK, I2C2_SDA_MARK, HSCK0_MARK, TS_SDEN0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900824 DU2_DG4_MARK, LCDOUT12_MARK, HCTS0_N_C_MARK, HRX0_MARK,
825 DU2_DB2_MARK, LCDOUT18_MARK, HTX0_MARK, DU2_DB3_MARK,
826 LCDOUT19_MARK, HCTS0_N_MARK, SSI_SCK9_MARK, DU2_DB4_MARK,
827 LCDOUT20_MARK, HRTS0_N_MARK, SSI_WS9_MARK, DU2_DB5_MARK,
828 LCDOUT21_MARK, MSIOF0_SCK_MARK, TS_SDAT0_MARK, ADICLK_MARK,
829 DU2_DB6_MARK, LCDOUT22_MARK, MSIOF0_SYNC_MARK, TS_SCK0_MARK,
830 SSI_SCK2_MARK, ADIDATA_MARK, DU2_DB7_MARK, LCDOUT23_MARK,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +0900831 HRX0_C_MARK, MSIOF0_SS1_MARK, ADICHS0_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900832 DU2_DG5_MARK, LCDOUT13_MARK, MSIOF0_TXD_MARK, ADICHS1_MARK,
833 DU2_DG6_MARK, LCDOUT14_MARK,
834
835 MSIOF0_SS2_MARK, AUDIO_CLKOUT_MARK, ADICHS2_MARK,
836 DU2_DISP_MARK, QPOLA_MARK, HTX0_C_MARK, SCIFA2_TXD_B_MARK,
837 MSIOF0_RXD_MARK, TS_SPSYNC0_MARK, SSI_WS2_MARK,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +0900838 ADICS_SAMP_MARK, DU2_CDE_MARK, QPOLB_MARK, SCIFA2_RXD_B_MARK,
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900839 USB1_PWEN_MARK, AUDIO_CLKOUT_D_MARK, USB1_OVC_MARK,
840 TCLK1_B_MARK,
841 PINMUX_MARK_END,
842};
843
844static const pinmux_enum_t pinmux_data[] = {
845 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
846
847 PINMUX_DATA(VI1_DATA7_VI1_B7_MARK, FN_VI1_DATA7_VI1_B7),
848 PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
849 PINMUX_DATA(USB0_OVC_VBUS_MARK, FN_USB0_OVC_VBUS),
850 PINMUX_DATA(USB2_PWEN_MARK, FN_USB2_PWEN),
851 PINMUX_DATA(USB2_OVC_MARK, FN_USB2_OVC),
852 PINMUX_DATA(AVS1_MARK, FN_AVS1),
853 PINMUX_DATA(AVS2_MARK, FN_AVS2),
854 PINMUX_DATA(DU_DOTCLKIN0_MARK, FN_DU_DOTCLKIN0),
855 PINMUX_DATA(DU_DOTCLKIN2_MARK, FN_DU_DOTCLKIN2),
856
857 PINMUX_IPSR_DATA(IP0_2_0, D0),
858 PINMUX_IPSR_MODSEL_DATA(IP0_2_0, MSIOF3_SCK_B, SEL_SOF3_1),
859 PINMUX_IPSR_MODSEL_DATA(IP0_2_0, VI3_DATA0, SEL_VI3_0),
860 PINMUX_IPSR_MODSEL_DATA(IP0_2_0, VI0_G4, SEL_VI0_0),
861 PINMUX_IPSR_MODSEL_DATA(IP0_2_0, VI0_G4_B, SEL_VI0_1),
862 PINMUX_IPSR_DATA(IP0_5_3, D1),
863 PINMUX_IPSR_MODSEL_DATA(IP0_5_3, MSIOF3_SYNC_B, SEL_SOF3_1),
864 PINMUX_IPSR_MODSEL_DATA(IP0_5_3, VI3_DATA1, SEL_VI3_0),
865 PINMUX_IPSR_MODSEL_DATA(IP0_5_3, VI0_G5, SEL_VI0_0),
866 PINMUX_IPSR_MODSEL_DATA(IP0_5_3, VI0_G5_B, SEL_VI0_1),
867 PINMUX_IPSR_DATA(IP0_8_6, D2),
868 PINMUX_IPSR_MODSEL_DATA(IP0_8_6, MSIOF3_RXD_B, SEL_SOF3_1),
869 PINMUX_IPSR_MODSEL_DATA(IP0_8_6, VI3_DATA2, SEL_VI3_0),
870 PINMUX_IPSR_MODSEL_DATA(IP0_8_6, VI0_G6, SEL_VI0_0),
871 PINMUX_IPSR_MODSEL_DATA(IP0_8_6, VI0_G6_B, SEL_VI0_1),
872 PINMUX_IPSR_DATA(IP0_11_9, D3),
873 PINMUX_IPSR_MODSEL_DATA(IP0_11_9, MSIOF3_TXD_B, SEL_SOF3_1),
874 PINMUX_IPSR_MODSEL_DATA(IP0_11_9, VI3_DATA3, SEL_VI3_0),
875 PINMUX_IPSR_MODSEL_DATA(IP0_11_9, VI0_G7, SEL_VI0_0),
876 PINMUX_IPSR_MODSEL_DATA(IP0_11_9, VI0_G7_B, SEL_VI0_1),
877 PINMUX_IPSR_DATA(IP0_15_12, D4),
878 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, SCIFB1_RXD_F, SEL_SCIFB1_5),
879 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, SCIFB0_RXD_C, SEL_SCIFB_2),
880 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, VI3_DATA4, SEL_VI3_0),
881 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, VI0_R0, SEL_VI0_0),
882 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, VI0_R0_B, SEL_VI0_1),
883 PINMUX_IPSR_MODSEL_DATA(IP0_15_12, RX0_B, SEL_SCIF0_1),
884 PINMUX_IPSR_DATA(IP0_19_16, D5),
885 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, SCIFB1_TXD_F, SEL_SCIFB1_5),
886 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, SCIFB0_TXD_C, SEL_SCIFB_2),
887 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, VI3_DATA5, SEL_VI3_0),
888 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, VI0_R1, SEL_VI0_0),
889 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, VI0_R1_B, SEL_VI0_1),
890 PINMUX_IPSR_MODSEL_DATA(IP0_19_16, TX0_B, SEL_SCIF0_1),
891 PINMUX_IPSR_DATA(IP0_22_20, D6),
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900892 PINMUX_IPSR_MODSEL_DATA(IP0_22_20, IIC2_SCL_C, SEL_IIC2_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900893 PINMUX_IPSR_MODSEL_DATA(IP0_22_20, VI3_DATA6, SEL_VI3_0),
894 PINMUX_IPSR_MODSEL_DATA(IP0_22_20, VI0_R2, SEL_VI0_0),
895 PINMUX_IPSR_MODSEL_DATA(IP0_22_20, VI0_R2_B, SEL_VI0_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900896 PINMUX_IPSR_MODSEL_DATA(IP0_22_20, I2C2_SCL_C, SEL_I2C2_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900897 PINMUX_IPSR_DATA(IP0_26_23, D7),
898 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, AD_DI_B, SEL_ADI_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900899 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, IIC2_SDA_C, SEL_IIC2_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900900 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, VI3_DATA7, SEL_VI3_0),
901 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, VI0_R3, SEL_VI0_0),
902 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, VI0_R3_B, SEL_VI0_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +0900903 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, I2C2_SDA_C, SEL_I2C2_2),
Shinya Kuribayashi05bcb072013-05-24 16:31:32 +0900904 PINMUX_IPSR_MODSEL_DATA(IP0_26_23, TCLK1, SEL_TMU1_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900905 PINMUX_IPSR_DATA(IP0_30_27, D8),
906 PINMUX_IPSR_MODSEL_DATA(IP0_30_27, SCIFA1_SCK_C, SEL_SCIFA1_2),
907 PINMUX_IPSR_DATA(IP0_30_27, AVB_TXD0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900908 PINMUX_IPSR_MODSEL_DATA(IP0_30_27, VI0_G0, SEL_VI0_0),
909 PINMUX_IPSR_MODSEL_DATA(IP0_30_27, VI0_G0_B, SEL_VI0_1),
910 PINMUX_IPSR_MODSEL_DATA(IP0_30_27, VI2_DATA0_VI2_B0, SEL_VI2_0),
911
912 PINMUX_IPSR_DATA(IP1_3_0, D9),
913 PINMUX_IPSR_MODSEL_DATA(IP1_3_0, SCIFA1_RXD_C, SEL_SCIFA1_2),
914 PINMUX_IPSR_DATA(IP1_3_0, AVB_TXD1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900915 PINMUX_IPSR_MODSEL_DATA(IP1_3_0, VI0_G1, SEL_VI0_0),
916 PINMUX_IPSR_MODSEL_DATA(IP1_3_0, VI0_G1_B, SEL_VI0_1),
917 PINMUX_IPSR_MODSEL_DATA(IP1_3_0, VI2_DATA1_VI2_B1, SEL_VI2_0),
918 PINMUX_IPSR_DATA(IP1_7_4, D10),
919 PINMUX_IPSR_MODSEL_DATA(IP1_7_4, SCIFA1_TXD_C, SEL_SCIFA1_2),
920 PINMUX_IPSR_DATA(IP1_7_4, AVB_TXD2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900921 PINMUX_IPSR_MODSEL_DATA(IP1_7_4, VI0_G2, SEL_VI0_0),
922 PINMUX_IPSR_MODSEL_DATA(IP1_7_4, VI0_G2_B, SEL_VI0_1),
923 PINMUX_IPSR_MODSEL_DATA(IP1_7_4, VI2_DATA2_VI2_B2, SEL_VI2_0),
924 PINMUX_IPSR_DATA(IP1_11_8, D11),
925 PINMUX_IPSR_MODSEL_DATA(IP1_11_8, SCIFA1_CTS_N_C, SEL_SCIFA1_2),
926 PINMUX_IPSR_DATA(IP1_11_8, AVB_TXD3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900927 PINMUX_IPSR_MODSEL_DATA(IP1_11_8, VI0_G3, SEL_VI0_0),
928 PINMUX_IPSR_MODSEL_DATA(IP1_11_8, VI0_G3_B, SEL_VI0_1),
929 PINMUX_IPSR_MODSEL_DATA(IP1_11_8, VI2_DATA3_VI2_B3, SEL_VI2_0),
930 PINMUX_IPSR_DATA(IP1_14_12, D12),
931 PINMUX_IPSR_MODSEL_DATA(IP1_14_12, SCIFA1_RTS_N_C, SEL_SCIFA1_2),
932 PINMUX_IPSR_DATA(IP1_14_12, AVB_TXD4),
933 PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI0_HSYNC_N, SEL_VI0_0),
934 PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI0_HSYNC_N_B, SEL_VI0_1),
935 PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI2_DATA4_VI2_B4, SEL_VI2_0),
936 PINMUX_IPSR_DATA(IP1_17_15, D13),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +0900937 PINMUX_IPSR_DATA(IP1_17_15, AVB_TXD5),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900938 PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N, SEL_VI0_0),
939 PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N_B, SEL_VI0_1),
940 PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI2_DATA5_VI2_B5, SEL_VI2_0),
941 PINMUX_IPSR_DATA(IP1_21_18, D14),
942 PINMUX_IPSR_MODSEL_DATA(IP1_21_18, SCIFB1_RXD_C, SEL_SCIFB1_2),
943 PINMUX_IPSR_DATA(IP1_21_18, AVB_TXD6),
944 PINMUX_IPSR_MODSEL_DATA(IP1_21_18, RX1_B, SEL_SCIF1_1),
945 PINMUX_IPSR_MODSEL_DATA(IP1_21_18, VI0_CLKENB, SEL_VI0_0),
946 PINMUX_IPSR_MODSEL_DATA(IP1_21_18, VI0_CLKENB_B, SEL_VI0_1),
947 PINMUX_IPSR_MODSEL_DATA(IP1_21_18, VI2_DATA6_VI2_B6, SEL_VI2_0),
948 PINMUX_IPSR_DATA(IP1_25_22, D15),
949 PINMUX_IPSR_MODSEL_DATA(IP1_25_22, SCIFB1_TXD_C, SEL_SCIFB1_2),
950 PINMUX_IPSR_DATA(IP1_25_22, AVB_TXD7),
951 PINMUX_IPSR_MODSEL_DATA(IP1_25_22, TX1_B, SEL_SCIF1_1),
952 PINMUX_IPSR_MODSEL_DATA(IP1_25_22, VI0_FIELD, SEL_VI0_0),
953 PINMUX_IPSR_MODSEL_DATA(IP1_25_22, VI0_FIELD_B, SEL_VI0_1),
954 PINMUX_IPSR_MODSEL_DATA(IP1_25_22, VI2_DATA7_VI2_B7, SEL_VI2_0),
955 PINMUX_IPSR_DATA(IP1_27_26, A0),
956 PINMUX_IPSR_DATA(IP1_27_26, PWM3),
957 PINMUX_IPSR_DATA(IP1_29_28, A1),
958 PINMUX_IPSR_DATA(IP1_29_28, PWM4),
959
960 PINMUX_IPSR_DATA(IP2_2_0, A2),
961 PINMUX_IPSR_DATA(IP2_2_0, PWM5),
962 PINMUX_IPSR_MODSEL_DATA(IP2_2_0, MSIOF1_SS1_B, SEL_SOF1_1),
963 PINMUX_IPSR_DATA(IP2_5_3, A3),
964 PINMUX_IPSR_DATA(IP2_5_3, PWM6),
965 PINMUX_IPSR_MODSEL_DATA(IP2_5_3, MSIOF1_SS2_B, SEL_SOF1_1),
966 PINMUX_IPSR_DATA(IP2_8_6, A4),
967 PINMUX_IPSR_MODSEL_DATA(IP2_8_6, MSIOF1_TXD_B, SEL_SOF1_1),
968 PINMUX_IPSR_DATA(IP2_8_6, TPU0TO0),
969 PINMUX_IPSR_DATA(IP2_11_9, A5),
970 PINMUX_IPSR_MODSEL_DATA(IP2_11_9, SCIFA1_TXD_B, SEL_SCIFA1_1),
971 PINMUX_IPSR_DATA(IP2_11_9, TPU0TO1),
972 PINMUX_IPSR_DATA(IP2_14_12, A6),
973 PINMUX_IPSR_MODSEL_DATA(IP2_14_12, SCIFA1_RTS_N_B, SEL_SCIFA1_1),
974 PINMUX_IPSR_DATA(IP2_14_12, TPU0TO2),
975 PINMUX_IPSR_DATA(IP2_17_15, A7),
976 PINMUX_IPSR_MODSEL_DATA(IP2_17_15, SCIFA1_SCK_B, SEL_SCIFA1_1),
977 PINMUX_IPSR_DATA(IP2_17_15, AUDIO_CLKOUT_B),
978 PINMUX_IPSR_DATA(IP2_17_15, TPU0TO3),
979 PINMUX_IPSR_DATA(IP2_21_18, A8),
980 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, SCIFA1_RXD_B, SEL_SCIFA1_1),
981 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, SSI_SCK5_B, SEL_SSI5_1),
982 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, VI0_R4, SEL_VI0_0),
983 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, VI0_R4_B, SEL_VI0_1),
984 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, SCIFB2_RXD_C, SEL_SCIFB2_2),
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900985 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, RX2_B, SEL_SCIF2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900986 PINMUX_IPSR_MODSEL_DATA(IP2_21_18, VI2_DATA0_VI2_B0_B, SEL_VI2_1),
987 PINMUX_IPSR_DATA(IP2_25_22, A9),
988 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, SCIFA1_CTS_N_B, SEL_SCIFA1_1),
989 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, SSI_WS5_B, SEL_SSI5_1),
990 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, VI0_R5, SEL_VI0_0),
991 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, VI0_R5_B, SEL_VI0_1),
992 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, SCIFB2_TXD_C, SEL_SCIFB2_2),
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +0900993 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, TX2_B, SEL_SCIF2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +0900994 PINMUX_IPSR_MODSEL_DATA(IP2_25_22, VI2_DATA1_VI2_B1_B, SEL_VI2_1),
995 PINMUX_IPSR_DATA(IP2_28_26, A10),
996 PINMUX_IPSR_MODSEL_DATA(IP2_28_26, SSI_SDATA5_B, SEL_SSI5_1),
997 PINMUX_IPSR_DATA(IP2_28_26, MSIOF2_SYNC),
998 PINMUX_IPSR_MODSEL_DATA(IP2_28_26, VI0_R6, SEL_VI0_0),
999 PINMUX_IPSR_MODSEL_DATA(IP2_28_26, VI0_R6_B, SEL_VI0_1),
1000 PINMUX_IPSR_MODSEL_DATA(IP2_28_26, VI2_DATA2_VI2_B2_B, SEL_VI2_1),
1001
1002 PINMUX_IPSR_DATA(IP3_3_0, A11),
1003 PINMUX_IPSR_MODSEL_DATA(IP3_3_0, SCIFB2_CTS_N_B, SEL_SCIFB2_1),
1004 PINMUX_IPSR_DATA(IP3_3_0, MSIOF2_SCK),
1005 PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0, SEL_VI1_0),
1006 PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0_B, SEL_VI1_1),
1007 PINMUX_IPSR_DATA(IP3_3_0, VI2_G0),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001008 PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI2_DATA3_VI2_B3_B, SEL_VI2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001009 PINMUX_IPSR_DATA(IP3_7_4, A12),
1010 PINMUX_IPSR_MODSEL_DATA(IP3_7_4, SCIFB2_RXD_B, SEL_SCIFB2_1),
1011 PINMUX_IPSR_DATA(IP3_7_4, MSIOF2_TXD),
1012 PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1, SEL_VI1_0),
1013 PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1_B, SEL_VI1_1),
1014 PINMUX_IPSR_DATA(IP3_7_4, VI2_G1),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001015 PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI2_DATA4_VI2_B4_B, SEL_VI2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001016 PINMUX_IPSR_DATA(IP3_11_8, A13),
1017 PINMUX_IPSR_MODSEL_DATA(IP3_11_8, SCIFB2_RTS_N_B, SEL_SCIFB2_1),
1018 PINMUX_IPSR_DATA(IP3_11_8, EX_WAIT2),
1019 PINMUX_IPSR_DATA(IP3_11_8, MSIOF2_RXD),
1020 PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2, SEL_VI1_0),
1021 PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2_B, SEL_VI1_1),
1022 PINMUX_IPSR_DATA(IP3_11_8, VI2_G2),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001023 PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI2_DATA5_VI2_B5_B, SEL_VI2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001024 PINMUX_IPSR_DATA(IP3_14_12, A14),
1025 PINMUX_IPSR_MODSEL_DATA(IP3_14_12, SCIFB2_TXD_B, SEL_SCIFB2_1),
1026 PINMUX_IPSR_DATA(IP3_14_12, ATACS11_N),
1027 PINMUX_IPSR_DATA(IP3_14_12, MSIOF2_SS1),
1028 PINMUX_IPSR_DATA(IP3_17_15, A15),
1029 PINMUX_IPSR_MODSEL_DATA(IP3_17_15, SCIFB2_SCK_B, SEL_SCIFB2_1),
1030 PINMUX_IPSR_DATA(IP3_17_15, ATARD1_N),
1031 PINMUX_IPSR_DATA(IP3_17_15, MSIOF2_SS2),
1032 PINMUX_IPSR_DATA(IP3_19_18, A16),
1033 PINMUX_IPSR_DATA(IP3_19_18, ATAWR1_N),
1034 PINMUX_IPSR_DATA(IP3_22_20, A17),
1035 PINMUX_IPSR_MODSEL_DATA(IP3_22_20, AD_DO_B, SEL_ADI_1),
1036 PINMUX_IPSR_DATA(IP3_22_20, ATADIR1_N),
1037 PINMUX_IPSR_DATA(IP3_25_23, A18),
1038 PINMUX_IPSR_MODSEL_DATA(IP3_25_23, AD_CLK_B, SEL_ADI_1),
1039 PINMUX_IPSR_DATA(IP3_25_23, ATAG1_N),
1040 PINMUX_IPSR_DATA(IP3_28_26, A19),
1041 PINMUX_IPSR_MODSEL_DATA(IP3_28_26, AD_NCS_N_B, SEL_ADI_1),
1042 PINMUX_IPSR_DATA(IP3_28_26, ATACS01_N),
1043 PINMUX_IPSR_MODSEL_DATA(IP3_28_26, EX_WAIT0_B, SEL_LBS_1),
1044 PINMUX_IPSR_DATA(IP3_31_29, A20),
1045 PINMUX_IPSR_DATA(IP3_31_29, SPCLK),
1046 PINMUX_IPSR_MODSEL_DATA(IP3_31_29, VI1_R3, SEL_VI1_0),
1047 PINMUX_IPSR_MODSEL_DATA(IP3_31_29, VI1_R3_B, SEL_VI1_1),
1048 PINMUX_IPSR_DATA(IP3_31_29, VI2_G4),
1049
1050 PINMUX_IPSR_DATA(IP4_2_0, A21),
1051 PINMUX_IPSR_DATA(IP4_2_0, MOSI_IO0),
1052 PINMUX_IPSR_MODSEL_DATA(IP4_2_0, VI1_R4, SEL_VI1_0),
1053 PINMUX_IPSR_MODSEL_DATA(IP4_2_0, VI1_R4_B, SEL_VI1_1),
1054 PINMUX_IPSR_DATA(IP4_2_0, VI2_G5),
1055 PINMUX_IPSR_DATA(IP4_5_3, A22),
1056 PINMUX_IPSR_DATA(IP4_5_3, MISO_IO1),
1057 PINMUX_IPSR_MODSEL_DATA(IP4_5_3, VI1_R5, SEL_VI1_0),
1058 PINMUX_IPSR_MODSEL_DATA(IP4_5_3, VI1_R5_B, SEL_VI1_1),
1059 PINMUX_IPSR_DATA(IP4_5_3, VI2_G6),
1060 PINMUX_IPSR_DATA(IP4_8_6, A23),
1061 PINMUX_IPSR_DATA(IP4_8_6, IO2),
1062 PINMUX_IPSR_MODSEL_DATA(IP4_8_6, VI1_G7, SEL_VI1_0),
1063 PINMUX_IPSR_MODSEL_DATA(IP4_8_6, VI1_G7_B, SEL_VI1_1),
1064 PINMUX_IPSR_DATA(IP4_8_6, VI2_G7),
1065 PINMUX_IPSR_DATA(IP4_11_9, A24),
1066 PINMUX_IPSR_DATA(IP4_11_9, IO3),
1067 PINMUX_IPSR_MODSEL_DATA(IP4_11_9, VI1_R7, SEL_VI1_0),
1068 PINMUX_IPSR_MODSEL_DATA(IP4_11_9, VI1_R7_B, SEL_VI1_1),
1069 PINMUX_IPSR_MODSEL_DATA(IP4_11_9, VI2_CLKENB, SEL_VI2_0),
1070 PINMUX_IPSR_MODSEL_DATA(IP4_11_9, VI2_CLKENB_B, SEL_VI2_1),
1071 PINMUX_IPSR_DATA(IP4_14_12, A25),
1072 PINMUX_IPSR_DATA(IP4_14_12, SSL),
1073 PINMUX_IPSR_MODSEL_DATA(IP4_14_12, VI1_G6, SEL_VI1_0),
1074 PINMUX_IPSR_MODSEL_DATA(IP4_14_12, VI1_G6_B, SEL_VI1_1),
1075 PINMUX_IPSR_MODSEL_DATA(IP4_14_12, VI2_FIELD, SEL_VI2_0),
1076 PINMUX_IPSR_MODSEL_DATA(IP4_14_12, VI2_FIELD_B, SEL_VI2_1),
1077 PINMUX_IPSR_DATA(IP4_17_15, CS0_N),
1078 PINMUX_IPSR_MODSEL_DATA(IP4_17_15, VI1_R6, SEL_VI1_0),
1079 PINMUX_IPSR_MODSEL_DATA(IP4_17_15, VI1_R6_B, SEL_VI1_1),
1080 PINMUX_IPSR_DATA(IP4_17_15, VI2_G3),
1081 PINMUX_IPSR_MODSEL_DATA(IP4_17_15, MSIOF0_SS2_B, SEL_SOF0_1),
1082 PINMUX_IPSR_DATA(IP4_20_18, CS1_N_A26),
1083 PINMUX_IPSR_DATA(IP4_20_18, SPEEDIN),
1084 PINMUX_IPSR_MODSEL_DATA(IP4_20_18, VI0_R7, SEL_VI0_0),
1085 PINMUX_IPSR_MODSEL_DATA(IP4_20_18, VI0_R7_B, SEL_VI0_1),
1086 PINMUX_IPSR_MODSEL_DATA(IP4_20_18, VI2_CLK, SEL_VI2_0),
1087 PINMUX_IPSR_MODSEL_DATA(IP4_20_18, VI2_CLK_B, SEL_VI2_1),
1088 PINMUX_IPSR_DATA(IP4_23_21, EX_CS0_N),
1089 PINMUX_IPSR_MODSEL_DATA(IP4_23_21, HRX1_B, SEL_HSCIF1_1),
1090 PINMUX_IPSR_MODSEL_DATA(IP4_23_21, VI1_G5, SEL_VI1_0),
1091 PINMUX_IPSR_MODSEL_DATA(IP4_23_21, VI1_G5_B, SEL_VI1_1),
1092 PINMUX_IPSR_DATA(IP4_23_21, VI2_R0),
1093 PINMUX_IPSR_MODSEL_DATA(IP4_23_21, HTX0_B, SEL_HSCIF0_1),
1094 PINMUX_IPSR_MODSEL_DATA(IP4_23_21, MSIOF0_SS1_B, SEL_SOF0_1),
1095 PINMUX_IPSR_DATA(IP4_26_24, EX_CS1_N),
1096 PINMUX_IPSR_DATA(IP4_26_24, GPS_CLK),
1097 PINMUX_IPSR_MODSEL_DATA(IP4_26_24, HCTS1_N_B, SEL_HSCIF1_1),
1098 PINMUX_IPSR_MODSEL_DATA(IP4_26_24, VI1_FIELD, SEL_VI1_0),
1099 PINMUX_IPSR_MODSEL_DATA(IP4_26_24, VI1_FIELD_B, SEL_VI1_1),
1100 PINMUX_IPSR_DATA(IP4_26_24, VI2_R1),
1101 PINMUX_IPSR_DATA(IP4_29_27, EX_CS2_N),
1102 PINMUX_IPSR_DATA(IP4_29_27, GPS_SIGN),
1103 PINMUX_IPSR_MODSEL_DATA(IP4_29_27, HRTS1_N_B, SEL_HSCIF1_1),
1104 PINMUX_IPSR_DATA(IP4_29_27, VI3_CLKENB),
1105 PINMUX_IPSR_MODSEL_DATA(IP4_29_27, VI1_G0, SEL_VI1_0),
1106 PINMUX_IPSR_MODSEL_DATA(IP4_29_27, VI1_G0_B, SEL_VI1_1),
1107 PINMUX_IPSR_DATA(IP4_29_27, VI2_R2),
1108
1109 PINMUX_IPSR_DATA(IP5_2_0, EX_CS3_N),
1110 PINMUX_IPSR_DATA(IP5_2_0, GPS_MAG),
1111 PINMUX_IPSR_DATA(IP5_2_0, VI3_FIELD),
1112 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1, SEL_VI1_0),
1113 PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1_B, SEL_VI1_1),
1114 PINMUX_IPSR_DATA(IP5_2_0, VI2_R3),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001115 PINMUX_IPSR_DATA(IP5_5_3, EX_CS4_N),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001116 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, MSIOF1_SCK_B, SEL_SOF1_1),
1117 PINMUX_IPSR_DATA(IP5_5_3, VI3_HSYNC_N),
1118 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, VI2_HSYNC_N, SEL_VI2_0),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001119 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, IIC1_SCL, SEL_IIC1_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001120 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, VI2_HSYNC_N_B, SEL_VI2_1),
1121 PINMUX_IPSR_DATA(IP5_5_3, INTC_EN0_N),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001122 PINMUX_IPSR_MODSEL_DATA(IP5_5_3, I2C1_SCL, SEL_I2C1_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001123 PINMUX_IPSR_DATA(IP5_9_6, EX_CS5_N),
1124 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, CAN0_RX, SEL_CAN0_0),
1125 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, MSIOF1_RXD_B, SEL_SOF1_1),
1126 PINMUX_IPSR_DATA(IP5_9_6, VI3_VSYNC_N),
1127 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, VI1_G2, SEL_VI1_0),
1128 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, VI1_G2_B, SEL_VI1_1),
1129 PINMUX_IPSR_DATA(IP5_9_6, VI2_R4),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001130 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, IIC1_SDA, SEL_IIC1_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001131 PINMUX_IPSR_DATA(IP5_9_6, INTC_EN1_N),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001132 PINMUX_IPSR_MODSEL_DATA(IP5_9_6, I2C1_SDA, SEL_I2C1_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001133 PINMUX_IPSR_DATA(IP5_12_10, BS_N),
1134 PINMUX_IPSR_MODSEL_DATA(IP5_12_10, IETX, SEL_IEB_0),
1135 PINMUX_IPSR_MODSEL_DATA(IP5_12_10, HTX1_B, SEL_HSCIF1_1),
1136 PINMUX_IPSR_MODSEL_DATA(IP5_12_10, CAN1_TX, SEL_CAN1_0),
1137 PINMUX_IPSR_DATA(IP5_12_10, DRACK0),
1138 PINMUX_IPSR_MODSEL_DATA(IP5_12_10, IETX_C, SEL_IEB_2),
1139 PINMUX_IPSR_DATA(IP5_14_13, RD_N),
1140 PINMUX_IPSR_MODSEL_DATA(IP5_14_13, CAN0_TX, SEL_CAN0_0),
1141 PINMUX_IPSR_MODSEL_DATA(IP5_14_13, SCIFA0_SCK_B, SEL_SCFA_1),
1142 PINMUX_IPSR_DATA(IP5_17_15, RD_WR_N),
1143 PINMUX_IPSR_MODSEL_DATA(IP5_17_15, VI1_G3, SEL_VI1_0),
1144 PINMUX_IPSR_MODSEL_DATA(IP5_17_15, VI1_G3_B, SEL_VI1_1),
1145 PINMUX_IPSR_DATA(IP5_17_15, VI2_R5),
1146 PINMUX_IPSR_MODSEL_DATA(IP5_17_15, SCIFA0_RXD_B, SEL_SCFA_1),
1147 PINMUX_IPSR_DATA(IP5_17_15, INTC_IRQ4_N),
1148 PINMUX_IPSR_DATA(IP5_20_18, WE0_N),
1149 PINMUX_IPSR_MODSEL_DATA(IP5_20_18, IECLK, SEL_IEB_0),
1150 PINMUX_IPSR_MODSEL_DATA(IP5_20_18, CAN_CLK, SEL_CANCLK_0),
1151 PINMUX_IPSR_MODSEL_DATA(IP5_20_18, VI2_VSYNC_N, SEL_VI2_0),
1152 PINMUX_IPSR_MODSEL_DATA(IP5_20_18, SCIFA0_TXD_B, SEL_SCFA_1),
1153 PINMUX_IPSR_MODSEL_DATA(IP5_20_18, VI2_VSYNC_N_B, SEL_VI2_1),
1154 PINMUX_IPSR_DATA(IP5_23_21, WE1_N),
1155 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, IERX, SEL_IEB_0),
1156 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, CAN1_RX, SEL_CAN1_0),
1157 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, VI1_G4, SEL_VI1_0),
1158 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, VI1_G4_B, SEL_VI1_1),
1159 PINMUX_IPSR_DATA(IP5_23_21, VI2_R6),
1160 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, SCIFA0_CTS_N_B, SEL_SCFA_1),
1161 PINMUX_IPSR_MODSEL_DATA(IP5_23_21, IERX_C, SEL_IEB_2),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001162 PINMUX_IPSR_MODSEL_DATA(IP5_26_24, EX_WAIT0, SEL_LBS_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001163 PINMUX_IPSR_DATA(IP5_26_24, IRQ3),
1164 PINMUX_IPSR_DATA(IP5_26_24, INTC_IRQ3_N),
1165 PINMUX_IPSR_MODSEL_DATA(IP5_26_24, VI3_CLK, SEL_VI3_0),
1166 PINMUX_IPSR_MODSEL_DATA(IP5_26_24, SCIFA0_RTS_N_B, SEL_SCFA_1),
1167 PINMUX_IPSR_MODSEL_DATA(IP5_26_24, HRX0_B, SEL_HSCIF0_1),
1168 PINMUX_IPSR_MODSEL_DATA(IP5_26_24, MSIOF0_SCK_B, SEL_SOF0_1),
1169 PINMUX_IPSR_DATA(IP5_29_27, DREQ0_N),
1170 PINMUX_IPSR_MODSEL_DATA(IP5_29_27, VI1_HSYNC_N, SEL_VI1_0),
1171 PINMUX_IPSR_MODSEL_DATA(IP5_29_27, VI1_HSYNC_N_B, SEL_VI1_1),
1172 PINMUX_IPSR_DATA(IP5_29_27, VI2_R7),
1173 PINMUX_IPSR_MODSEL_DATA(IP5_29_27, SSI_SCK78_C, SEL_SSI7_2),
1174 PINMUX_IPSR_MODSEL_DATA(IP5_29_27, SSI_WS78_B, SEL_SSI7_1),
1175
1176 PINMUX_IPSR_DATA(IP6_2_0, DACK0),
1177 PINMUX_IPSR_DATA(IP6_2_0, IRQ0),
1178 PINMUX_IPSR_DATA(IP6_2_0, INTC_IRQ0_N),
1179 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, SSI_SCK6_B, SEL_SSI6_1),
1180 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, VI1_VSYNC_N, SEL_VI1_0),
1181 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, VI1_VSYNC_N_B, SEL_VI1_1),
1182 PINMUX_IPSR_MODSEL_DATA(IP6_2_0, SSI_WS78_C, SEL_SSI7_2),
1183 PINMUX_IPSR_DATA(IP6_5_3, DREQ1_N),
1184 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, VI1_CLKENB, SEL_VI1_0),
1185 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, VI1_CLKENB_B, SEL_VI1_1),
1186 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SSI_SDATA7_C, SEL_SSI7_2),
1187 PINMUX_IPSR_MODSEL_DATA(IP6_5_3, SSI_SCK78_B, SEL_SSI7_1),
1188 PINMUX_IPSR_DATA(IP6_8_6, DACK1),
1189 PINMUX_IPSR_DATA(IP6_8_6, IRQ1),
1190 PINMUX_IPSR_DATA(IP6_8_6, INTC_IRQ1_N),
1191 PINMUX_IPSR_MODSEL_DATA(IP6_8_6, SSI_WS6_B, SEL_SSI6_1),
1192 PINMUX_IPSR_MODSEL_DATA(IP6_8_6, SSI_SDATA8_C, SEL_SSI8_2),
1193 PINMUX_IPSR_DATA(IP6_10_9, DREQ2_N),
1194 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, HSCK1_B, SEL_HSCIF1_1),
1195 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, HCTS0_N_B, SEL_HSCIF0_1),
1196 PINMUX_IPSR_MODSEL_DATA(IP6_10_9, MSIOF0_TXD_B, SEL_SOF0_1),
1197 PINMUX_IPSR_DATA(IP6_13_11, DACK2),
1198 PINMUX_IPSR_DATA(IP6_13_11, IRQ2),
1199 PINMUX_IPSR_DATA(IP6_13_11, INTC_IRQ2_N),
1200 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, SSI_SDATA6_B, SEL_SSI6_1),
1201 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, HRTS0_N_B, SEL_HSCIF0_1),
1202 PINMUX_IPSR_MODSEL_DATA(IP6_13_11, MSIOF0_RXD_B, SEL_SOF0_1),
1203 PINMUX_IPSR_DATA(IP6_16_14, ETH_CRS_DV),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001204 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, STP_ISCLK_0_B, SEL_SSP_1),
1205 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, TS_SDEN0_D, SEL_TSIF0_3),
1206 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, GLO_Q0_C, SEL_GPS_2),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001207 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, IIC2_SCL_E, SEL_IIC2_4),
1208 PINMUX_IPSR_MODSEL_DATA(IP6_16_14, I2C2_SCL_E, SEL_I2C2_4),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001209 PINMUX_IPSR_DATA(IP6_19_17, ETH_RX_ER),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001210 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, STP_ISD_0_B, SEL_SSP_1),
1211 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, TS_SPSYNC0_D, SEL_TSIF0_3),
1212 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, GLO_Q1_C, SEL_GPS_2),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001213 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, IIC2_SDA_E, SEL_IIC2_4),
1214 PINMUX_IPSR_MODSEL_DATA(IP6_19_17, I2C2_SDA_E, SEL_I2C2_4),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001215 PINMUX_IPSR_DATA(IP6_22_20, ETH_RXD0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001216 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, STP_ISEN_0_B, SEL_SSP_1),
1217 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, TS_SDAT0_D, SEL_TSIF0_3),
1218 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, GLO_I0_C, SEL_GPS_2),
1219 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, SCIFB1_SCK_G, SEL_SCIFB1_6),
1220 PINMUX_IPSR_MODSEL_DATA(IP6_22_20, SCK1_E, SEL_SCIF1_4),
1221 PINMUX_IPSR_DATA(IP6_25_23, ETH_RXD1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001222 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, HRX0_E, SEL_HSCIF0_4),
1223 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, STP_ISSYNC_0_B, SEL_SSP_1),
1224 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, TS_SCK0_D, SEL_TSIF0_3),
1225 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, GLO_I1_C, SEL_GPS_2),
1226 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, SCIFB1_RXD_G, SEL_SCIFB1_6),
1227 PINMUX_IPSR_MODSEL_DATA(IP6_25_23, RX1_E, SEL_SCIF1_4),
1228 PINMUX_IPSR_DATA(IP6_28_26, ETH_LINK),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001229 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, HTX0_E, SEL_HSCIF0_4),
1230 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, STP_IVCXO27_0_B, SEL_SSP_1),
1231 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, SCIFB1_TXD_G, SEL_SCIFB1_6),
1232 PINMUX_IPSR_MODSEL_DATA(IP6_28_26, TX1_E, SEL_SCIF1_4),
1233 PINMUX_IPSR_DATA(IP6_31_29, ETH_REF_CLK),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001234 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, HCTS0_N_E, SEL_HSCIF0_4),
1235 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, STP_IVCXO27_1_B, SEL_SSP_1),
1236 PINMUX_IPSR_MODSEL_DATA(IP6_31_29, HRX0_F, SEL_HSCIF0_5),
1237
1238 PINMUX_IPSR_DATA(IP7_2_0, ETH_MDIO),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001239 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HRTS0_N_E, SEL_HSCIF0_4),
1240 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, SIM0_D_C, SEL_SIM_2),
1241 PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HCTS0_N_F, SEL_HSCIF0_5),
1242 PINMUX_IPSR_DATA(IP7_5_3, ETH_TXD1),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001243 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, HTX0_F, SEL_HSCIF0_5),
1244 PINMUX_IPSR_MODSEL_DATA(IP7_5_3, BPFCLK_G, SEL_FM_6),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001245 PINMUX_IPSR_DATA(IP7_7_6, ETH_TX_EN),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001246 PINMUX_IPSR_MODSEL_DATA(IP7_7_6, SIM0_CLK_C, SEL_SIM_2),
1247 PINMUX_IPSR_MODSEL_DATA(IP7_7_6, HRTS0_N_F, SEL_HSCIF0_5),
1248 PINMUX_IPSR_DATA(IP7_9_8, ETH_MAGIC),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001249 PINMUX_IPSR_MODSEL_DATA(IP7_9_8, SIM0_RST_C, SEL_SIM_2),
1250 PINMUX_IPSR_DATA(IP7_12_10, ETH_TXD0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001251 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, STP_ISCLK_1_B, SEL_SSP_1),
1252 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, TS_SDEN1_C, SEL_TSIF1_2),
1253 PINMUX_IPSR_MODSEL_DATA(IP7_12_10, GLO_SCLK_C, SEL_GPS_2),
1254 PINMUX_IPSR_DATA(IP7_15_13, ETH_MDC),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001255 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, STP_ISD_1_B, SEL_SSP_1),
1256 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, TS_SPSYNC1_C, SEL_TSIF1_2),
1257 PINMUX_IPSR_MODSEL_DATA(IP7_15_13, GLO_SDATA_C, SEL_GPS_2),
1258 PINMUX_IPSR_DATA(IP7_18_16, PWM0),
1259 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, SCIFA2_SCK_C, SEL_SCIFA2_2),
1260 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, STP_ISEN_1_B, SEL_SSP_1),
1261 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, TS_SDAT1_C, SEL_TSIF1_2),
1262 PINMUX_IPSR_MODSEL_DATA(IP7_18_16, GLO_SS_C, SEL_GPS_2),
1263 PINMUX_IPSR_DATA(IP7_21_19, PWM1),
1264 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, SCIFA2_TXD_C, SEL_SCIFA2_2),
1265 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, STP_ISSYNC_1_B, SEL_SSP_1),
1266 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, TS_SCK1_C, SEL_TSIF1_2),
1267 PINMUX_IPSR_MODSEL_DATA(IP7_21_19, GLO_RFON_C, SEL_GPS_2),
1268 PINMUX_IPSR_DATA(IP7_21_19, PCMOE_N),
1269 PINMUX_IPSR_DATA(IP7_24_22, PWM2),
1270 PINMUX_IPSR_DATA(IP7_24_22, PWMFSW0),
1271 PINMUX_IPSR_MODSEL_DATA(IP7_24_22, SCIFA2_RXD_C, SEL_SCIFA2_2),
1272 PINMUX_IPSR_DATA(IP7_24_22, PCMWE_N),
1273 PINMUX_IPSR_MODSEL_DATA(IP7_24_22, IECLK_C, SEL_IEB_2),
1274 PINMUX_IPSR_DATA(IP7_26_25, DU1_DOTCLKIN),
1275 PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKC),
1276 PINMUX_IPSR_DATA(IP7_26_25, AUDIO_CLKOUT_C),
1277 PINMUX_IPSR_MODSEL_DATA(IP7_28_27, VI0_CLK, SEL_VI0_0),
1278 PINMUX_IPSR_DATA(IP7_28_27, ATACS00_N),
1279 PINMUX_IPSR_DATA(IP7_28_27, AVB_RXD1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001280 PINMUX_IPSR_MODSEL_DATA(IP7_30_29, VI0_DATA0_VI0_B0, SEL_VI0_0),
1281 PINMUX_IPSR_DATA(IP7_30_29, ATACS10_N),
1282 PINMUX_IPSR_DATA(IP7_30_29, AVB_RXD2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001283
1284 PINMUX_IPSR_MODSEL_DATA(IP8_1_0, VI0_DATA1_VI0_B1, SEL_VI0_0),
1285 PINMUX_IPSR_DATA(IP8_1_0, ATARD0_N),
1286 PINMUX_IPSR_DATA(IP8_1_0, AVB_RXD3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001287 PINMUX_IPSR_MODSEL_DATA(IP8_3_2, VI0_DATA2_VI0_B2, SEL_VI0_0),
1288 PINMUX_IPSR_DATA(IP8_3_2, ATAWR0_N),
1289 PINMUX_IPSR_DATA(IP8_3_2, AVB_RXD4),
1290 PINMUX_IPSR_MODSEL_DATA(IP8_5_4, VI0_DATA3_VI0_B3, SEL_VI0_0),
1291 PINMUX_IPSR_DATA(IP8_5_4, ATADIR0_N),
1292 PINMUX_IPSR_DATA(IP8_5_4, AVB_RXD5),
1293 PINMUX_IPSR_MODSEL_DATA(IP8_7_6, VI0_DATA4_VI0_B4, SEL_VI0_0),
1294 PINMUX_IPSR_DATA(IP8_7_6, ATAG0_N),
1295 PINMUX_IPSR_DATA(IP8_7_6, AVB_RXD6),
1296 PINMUX_IPSR_MODSEL_DATA(IP8_9_8, VI0_DATA5_VI0_B5, SEL_VI0_0),
1297 PINMUX_IPSR_DATA(IP8_9_8, EX_WAIT1),
1298 PINMUX_IPSR_DATA(IP8_9_8, AVB_RXD7),
1299 PINMUX_IPSR_MODSEL_DATA(IP8_11_10, VI0_DATA6_VI0_B6, SEL_VI0_0),
1300 PINMUX_IPSR_DATA(IP8_11_10, AVB_RX_ER),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001301 PINMUX_IPSR_MODSEL_DATA(IP8_13_12, VI0_DATA7_VI0_B7, SEL_VI0_0),
1302 PINMUX_IPSR_DATA(IP8_13_12, AVB_RX_CLK),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001303 PINMUX_IPSR_MODSEL_DATA(IP8_15_14, VI1_CLK, SEL_VI1_0),
1304 PINMUX_IPSR_DATA(IP8_15_14, AVB_RX_DV),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001305 PINMUX_IPSR_MODSEL_DATA(IP8_17_16, VI1_DATA0_VI1_B0, SEL_VI1_0),
1306 PINMUX_IPSR_MODSEL_DATA(IP8_17_16, SCIFA1_SCK_D, SEL_SCIFA1_3),
1307 PINMUX_IPSR_DATA(IP8_17_16, AVB_CRS),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001308 PINMUX_IPSR_MODSEL_DATA(IP8_19_18, VI1_DATA1_VI1_B1, SEL_VI1_0),
1309 PINMUX_IPSR_MODSEL_DATA(IP8_19_18, SCIFA1_RXD_D, SEL_SCIFA1_3),
1310 PINMUX_IPSR_DATA(IP8_19_18, AVB_MDC),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001311 PINMUX_IPSR_MODSEL_DATA(IP8_21_20, VI1_DATA2_VI1_B2, SEL_VI1_0),
1312 PINMUX_IPSR_MODSEL_DATA(IP8_21_20, SCIFA1_TXD_D, SEL_SCIFA1_3),
1313 PINMUX_IPSR_DATA(IP8_21_20, AVB_MDIO),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001314 PINMUX_IPSR_MODSEL_DATA(IP8_23_22, VI1_DATA3_VI1_B3, SEL_VI1_0),
1315 PINMUX_IPSR_MODSEL_DATA(IP8_23_22, SCIFA1_CTS_N_D, SEL_SCIFA1_3),
1316 PINMUX_IPSR_DATA(IP8_23_22, AVB_GTX_CLK),
1317 PINMUX_IPSR_MODSEL_DATA(IP8_25_24, VI1_DATA4_VI1_B4, SEL_VI1_0),
1318 PINMUX_IPSR_MODSEL_DATA(IP8_25_24, SCIFA1_RTS_N_D, SEL_SCIFA1_3),
1319 PINMUX_IPSR_DATA(IP8_25_24, AVB_MAGIC),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001320 PINMUX_IPSR_MODSEL_DATA(IP8_26, VI1_DATA5_VI1_B5, SEL_VI1_0),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001321 PINMUX_IPSR_DATA(IP8_26, AVB_PHY_INT),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001322 PINMUX_IPSR_MODSEL_DATA(IP8_27, VI1_DATA6_VI1_B6, SEL_VI1_0),
1323 PINMUX_IPSR_DATA(IP8_27, AVB_GTXREFCLK),
1324 PINMUX_IPSR_DATA(IP8_28, SD0_CLK),
1325 PINMUX_IPSR_MODSEL_DATA(IP8_28, VI1_DATA0_VI1_B0_B, SEL_VI1_1),
1326 PINMUX_IPSR_DATA(IP8_30_29, SD0_CMD),
1327 PINMUX_IPSR_MODSEL_DATA(IP8_30_29, SCIFB1_SCK_B, SEL_SCIFB1_1),
1328 PINMUX_IPSR_MODSEL_DATA(IP8_30_29, VI1_DATA1_VI1_B1_B, SEL_VI1_1),
1329
1330 PINMUX_IPSR_DATA(IP9_1_0, SD0_DAT0),
1331 PINMUX_IPSR_MODSEL_DATA(IP9_1_0, SCIFB1_RXD_B, SEL_SCIFB1_1),
1332 PINMUX_IPSR_MODSEL_DATA(IP9_1_0, VI1_DATA2_VI1_B2_B, SEL_VI1_1),
1333 PINMUX_IPSR_DATA(IP9_3_2, SD0_DAT1),
1334 PINMUX_IPSR_MODSEL_DATA(IP9_3_2, SCIFB1_TXD_B, SEL_SCIFB1_1),
1335 PINMUX_IPSR_MODSEL_DATA(IP9_3_2, VI1_DATA3_VI1_B3_B, SEL_VI1_1),
1336 PINMUX_IPSR_DATA(IP9_5_4, SD0_DAT2),
1337 PINMUX_IPSR_MODSEL_DATA(IP9_5_4, SCIFB1_CTS_N_B, SEL_SCIFB1_1),
1338 PINMUX_IPSR_MODSEL_DATA(IP9_5_4, VI1_DATA4_VI1_B4_B, SEL_VI1_1),
1339 PINMUX_IPSR_DATA(IP9_7_6, SD0_DAT3),
1340 PINMUX_IPSR_MODSEL_DATA(IP9_7_6, SCIFB1_RTS_N_B, SEL_SCIFB1_1),
1341 PINMUX_IPSR_MODSEL_DATA(IP9_7_6, VI1_DATA5_VI1_B5_B, SEL_VI1_1),
1342 PINMUX_IPSR_DATA(IP9_11_8, SD0_CD),
1343 PINMUX_IPSR_DATA(IP9_11_8, MMC0_D6),
1344 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, TS_SDEN0_B, SEL_TSIF0_1),
1345 PINMUX_IPSR_DATA(IP9_11_8, USB0_EXTP),
1346 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, GLO_SCLK, SEL_GPS_0),
1347 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, VI1_DATA6_VI1_B6_B, SEL_VI1_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001348 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, IIC1_SCL_B, SEL_IIC1_1),
1349 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, I2C1_SCL_B, SEL_I2C1_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001350 PINMUX_IPSR_MODSEL_DATA(IP9_11_8, VI2_DATA6_VI2_B6_B, SEL_VI2_1),
1351 PINMUX_IPSR_DATA(IP9_15_12, SD0_WP),
1352 PINMUX_IPSR_DATA(IP9_15_12, MMC0_D7),
1353 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, TS_SPSYNC0_B, SEL_TSIF0_1),
1354 PINMUX_IPSR_DATA(IP9_15_12, USB0_IDIN),
1355 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, GLO_SDATA, SEL_GPS_0),
1356 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, VI1_DATA7_VI1_B7_B, SEL_VI1_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001357 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, IIC1_SDA_B, SEL_IIC1_1),
1358 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, I2C1_SDA_B, SEL_I2C1_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001359 PINMUX_IPSR_MODSEL_DATA(IP9_15_12, VI2_DATA7_VI2_B7_B, SEL_VI2_1),
1360 PINMUX_IPSR_DATA(IP9_17_16, SD1_CLK),
1361 PINMUX_IPSR_DATA(IP9_17_16, AVB_TX_EN),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001362 PINMUX_IPSR_DATA(IP9_19_18, SD1_CMD),
1363 PINMUX_IPSR_DATA(IP9_19_18, AVB_TX_ER),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001364 PINMUX_IPSR_MODSEL_DATA(IP9_19_18, SCIFB0_SCK_B, SEL_SCIFB_1),
1365 PINMUX_IPSR_DATA(IP9_21_20, SD1_DAT0),
1366 PINMUX_IPSR_DATA(IP9_21_20, AVB_TX_CLK),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001367 PINMUX_IPSR_MODSEL_DATA(IP9_21_20, SCIFB0_RXD_B, SEL_SCIFB_1),
1368 PINMUX_IPSR_DATA(IP9_23_22, SD1_DAT1),
1369 PINMUX_IPSR_DATA(IP9_23_22, AVB_LINK),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001370 PINMUX_IPSR_MODSEL_DATA(IP9_23_22, SCIFB0_TXD_B, SEL_SCIFB_1),
1371 PINMUX_IPSR_DATA(IP9_25_24, SD1_DAT2),
1372 PINMUX_IPSR_DATA(IP9_25_24, AVB_COL),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001373 PINMUX_IPSR_MODSEL_DATA(IP9_25_24, SCIFB0_CTS_N_B, SEL_SCIFB_1),
1374 PINMUX_IPSR_DATA(IP9_27_26, SD1_DAT3),
1375 PINMUX_IPSR_DATA(IP9_27_26, AVB_RXD0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001376 PINMUX_IPSR_MODSEL_DATA(IP9_27_26, SCIFB0_RTS_N_B, SEL_SCIFB_1),
1377 PINMUX_IPSR_DATA(IP9_31_28, SD1_CD),
1378 PINMUX_IPSR_DATA(IP9_31_28, MMC1_D6),
1379 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, TS_SDEN1, SEL_TSIF1_0),
1380 PINMUX_IPSR_DATA(IP9_31_28, USB1_EXTP),
1381 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, GLO_SS, SEL_GPS_0),
1382 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, VI0_CLK_B, SEL_VI0_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001383 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, IIC2_SCL_D, SEL_IIC2_3),
1384 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, I2C2_SCL_D, SEL_I2C2_3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001385 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, SIM0_CLK_B, SEL_SIM_1),
1386 PINMUX_IPSR_MODSEL_DATA(IP9_31_28, VI3_CLK_B, SEL_VI3_1),
1387
1388 PINMUX_IPSR_DATA(IP10_3_0, SD1_WP),
1389 PINMUX_IPSR_DATA(IP10_3_0, MMC1_D7),
1390 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, TS_SPSYNC1, SEL_TSIF1_0),
1391 PINMUX_IPSR_DATA(IP10_3_0, USB1_IDIN),
1392 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, GLO_RFON, SEL_GPS_0),
1393 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, VI1_CLK_B, SEL_VI1_1),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001394 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, IIC2_SDA_D, SEL_IIC2_3),
1395 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, I2C2_SDA_D, SEL_I2C2_3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001396 PINMUX_IPSR_MODSEL_DATA(IP10_3_0, SIM0_D_B, SEL_SIM_1),
1397 PINMUX_IPSR_DATA(IP10_6_4, SD2_CLK),
1398 PINMUX_IPSR_DATA(IP10_6_4, MMC0_CLK),
1399 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, SIM0_CLK, SEL_SIM_0),
1400 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, VI0_DATA0_VI0_B0_B, SEL_VI0_1),
1401 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, TS_SDEN0_C, SEL_TSIF0_2),
1402 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, GLO_SCLK_B, SEL_GPS_1),
1403 PINMUX_IPSR_MODSEL_DATA(IP10_6_4, VI3_DATA0_B, SEL_VI3_1),
1404 PINMUX_IPSR_DATA(IP10_10_7, SD2_CMD),
1405 PINMUX_IPSR_DATA(IP10_10_7, MMC0_CMD),
1406 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SIM0_D, SEL_SIM_0),
1407 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, VI0_DATA1_VI0_B1_B, SEL_VI0_1),
1408 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SCIFB1_SCK_E, SEL_SCIFB1_4),
1409 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, SCK1_D, SEL_SCIF1_3),
1410 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, TS_SPSYNC0_C, SEL_TSIF0_2),
1411 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, GLO_SDATA_B, SEL_GPS_1),
1412 PINMUX_IPSR_MODSEL_DATA(IP10_10_7, VI3_DATA1_B, SEL_VI3_1),
1413 PINMUX_IPSR_DATA(IP10_14_11, SD2_DAT0),
1414 PINMUX_IPSR_DATA(IP10_14_11, MMC0_D0),
1415 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, FMCLK_B, SEL_FM_1),
1416 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, VI0_DATA2_VI0_B2_B, SEL_VI0_1),
1417 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, SCIFB1_RXD_E, SEL_SCIFB1_4),
1418 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, RX1_D, SEL_SCIF1_3),
1419 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, TS_SDAT0_C, SEL_TSIF0_2),
1420 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, GLO_SS_B, SEL_GPS_1),
1421 PINMUX_IPSR_MODSEL_DATA(IP10_14_11, VI3_DATA2_B, SEL_VI3_1),
1422 PINMUX_IPSR_DATA(IP10_18_15, SD2_DAT1),
1423 PINMUX_IPSR_DATA(IP10_18_15, MMC0_D1),
1424 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, FMIN_B, SEL_FM_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001425 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, VI0_DATA3_VI0_B3_B, SEL_VI0_1),
1426 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, SCIFB1_TXD_E, SEL_SCIFB1_4),
1427 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, TX1_D, SEL_SCIF1_3),
1428 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, TS_SCK0_C, SEL_TSIF0_2),
1429 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, GLO_RFON_B, SEL_GPS_1),
1430 PINMUX_IPSR_MODSEL_DATA(IP10_18_15, VI3_DATA3_B, SEL_VI3_1),
1431 PINMUX_IPSR_DATA(IP10_22_19, SD2_DAT2),
1432 PINMUX_IPSR_DATA(IP10_22_19, MMC0_D2),
1433 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, BPFCLK_B, SEL_FM_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001434 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, VI0_DATA4_VI0_B4_B, SEL_VI0_1),
1435 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, HRX0_D, SEL_HSCIF0_3),
1436 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, TS_SDEN1_B, SEL_TSIF1_1),
1437 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, GLO_Q0_B, SEL_GPS_1),
1438 PINMUX_IPSR_MODSEL_DATA(IP10_22_19, VI3_DATA4_B, SEL_VI3_1),
1439 PINMUX_IPSR_DATA(IP10_25_23, SD2_DAT3),
1440 PINMUX_IPSR_DATA(IP10_25_23, MMC0_D3),
1441 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, SIM0_RST, SEL_SIM_0),
1442 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, VI0_DATA5_VI0_B5_B, SEL_VI0_1),
1443 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, HTX0_D, SEL_HSCIF0_3),
1444 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, TS_SPSYNC1_B, SEL_TSIF1_1),
1445 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, GLO_Q1_B, SEL_GPS_1),
1446 PINMUX_IPSR_MODSEL_DATA(IP10_25_23, VI3_DATA5_B, SEL_VI3_1),
1447 PINMUX_IPSR_DATA(IP10_29_26, SD2_CD),
1448 PINMUX_IPSR_DATA(IP10_29_26, MMC0_D4),
1449 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, TS_SDAT0_B, SEL_TSIF0_1),
1450 PINMUX_IPSR_DATA(IP10_29_26, USB2_EXTP),
1451 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, GLO_I0, SEL_GPS_0),
1452 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, VI0_DATA6_VI0_B6_B, SEL_VI0_1),
1453 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, HCTS0_N_D, SEL_HSCIF0_3),
1454 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, TS_SDAT1_B, SEL_TSIF1_1),
1455 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, GLO_I0_B, SEL_GPS_1),
1456 PINMUX_IPSR_MODSEL_DATA(IP10_29_26, VI3_DATA6_B, SEL_VI3_1),
1457
1458 PINMUX_IPSR_DATA(IP11_3_0, SD2_WP),
1459 PINMUX_IPSR_DATA(IP11_3_0, MMC0_D5),
1460 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, TS_SCK0_B, SEL_TSIF0_1),
1461 PINMUX_IPSR_DATA(IP11_3_0, USB2_IDIN),
1462 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, GLO_I1, SEL_GPS_0),
1463 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, VI0_DATA7_VI0_B7_B, SEL_VI0_1),
1464 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, HRTS0_N_D, SEL_HSCIF0_3),
1465 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, TS_SCK1_B, SEL_TSIF1_1),
1466 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, GLO_I1_B, SEL_GPS_1),
1467 PINMUX_IPSR_MODSEL_DATA(IP11_3_0, VI3_DATA7_B, SEL_VI3_1),
1468 PINMUX_IPSR_DATA(IP11_4, SD3_CLK),
1469 PINMUX_IPSR_DATA(IP11_4, MMC1_CLK),
1470 PINMUX_IPSR_DATA(IP11_6_5, SD3_CMD),
1471 PINMUX_IPSR_DATA(IP11_6_5, MMC1_CMD),
1472 PINMUX_IPSR_DATA(IP11_6_5, MTS_N),
1473 PINMUX_IPSR_DATA(IP11_8_7, SD3_DAT0),
1474 PINMUX_IPSR_DATA(IP11_8_7, MMC1_D0),
1475 PINMUX_IPSR_DATA(IP11_8_7, STM_N),
1476 PINMUX_IPSR_DATA(IP11_10_9, SD3_DAT1),
1477 PINMUX_IPSR_DATA(IP11_10_9, MMC1_D1),
1478 PINMUX_IPSR_DATA(IP11_10_9, MDATA),
1479 PINMUX_IPSR_DATA(IP11_12_11, SD3_DAT2),
1480 PINMUX_IPSR_DATA(IP11_12_11, MMC1_D2),
1481 PINMUX_IPSR_DATA(IP11_12_11, SDATA),
1482 PINMUX_IPSR_DATA(IP11_14_13, SD3_DAT3),
1483 PINMUX_IPSR_DATA(IP11_14_13, MMC1_D3),
1484 PINMUX_IPSR_DATA(IP11_14_13, SCKZ),
1485 PINMUX_IPSR_DATA(IP11_17_15, SD3_CD),
1486 PINMUX_IPSR_DATA(IP11_17_15, MMC1_D4),
1487 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, TS_SDAT1, SEL_TSIF1_0),
1488 PINMUX_IPSR_DATA(IP11_17_15, VSP),
1489 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, GLO_Q0, SEL_GPS_0),
1490 PINMUX_IPSR_MODSEL_DATA(IP11_17_15, SIM0_RST_B, SEL_SIM_1),
1491 PINMUX_IPSR_DATA(IP11_21_18, SD3_WP),
1492 PINMUX_IPSR_DATA(IP11_21_18, MMC1_D5),
1493 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, TS_SCK1, SEL_TSIF1_0),
1494 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, GLO_Q1, SEL_GPS_0),
1495 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_C, SEL_FM_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001496 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_E, SEL_FM_4),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001497 PINMUX_IPSR_MODSEL_DATA(IP11_21_18, FMIN_F, SEL_FM_5),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001498 PINMUX_IPSR_DATA(IP11_23_22, MLB_CLK),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001499 PINMUX_IPSR_MODSEL_DATA(IP11_23_22, IIC2_SCL_B, SEL_IIC2_1),
1500 PINMUX_IPSR_MODSEL_DATA(IP11_23_22, I2C2_SCL_B, SEL_I2C2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001501 PINMUX_IPSR_DATA(IP11_26_24, MLB_SIG),
1502 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, SCIFB1_RXD_D, SEL_SCIFB1_3),
1503 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, RX1_C, SEL_SCIF1_2),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001504 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, IIC2_SDA_B, SEL_IIC2_1),
1505 PINMUX_IPSR_MODSEL_DATA(IP11_26_24, I2C2_SDA_B, SEL_I2C2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001506 PINMUX_IPSR_DATA(IP11_29_27, MLB_DAT),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001507 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, SCIFB1_TXD_D, SEL_SCIFB1_3),
1508 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, TX1_C, SEL_SCIF1_2),
1509 PINMUX_IPSR_MODSEL_DATA(IP11_29_27, BPFCLK_C, SEL_FM_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001510 PINMUX_IPSR_DATA(IP11_31_30, SSI_SCK0129),
1511 PINMUX_IPSR_MODSEL_DATA(IP11_31_30, CAN_CLK_B, SEL_CANCLK_1),
1512 PINMUX_IPSR_DATA(IP11_31_30, MOUT0),
1513
1514 PINMUX_IPSR_DATA(IP12_1_0, SSI_WS0129),
1515 PINMUX_IPSR_MODSEL_DATA(IP12_1_0, CAN0_TX_B, SEL_CAN0_1),
1516 PINMUX_IPSR_DATA(IP12_1_0, MOUT1),
1517 PINMUX_IPSR_DATA(IP12_3_2, SSI_SDATA0),
1518 PINMUX_IPSR_MODSEL_DATA(IP12_3_2, CAN0_RX_B, SEL_CAN0_1),
1519 PINMUX_IPSR_DATA(IP12_3_2, MOUT2),
1520 PINMUX_IPSR_DATA(IP12_5_4, SSI_SDATA1),
1521 PINMUX_IPSR_MODSEL_DATA(IP12_5_4, CAN1_TX_B, SEL_CAN1_1),
1522 PINMUX_IPSR_DATA(IP12_5_4, MOUT5),
1523 PINMUX_IPSR_DATA(IP12_7_6, SSI_SDATA2),
1524 PINMUX_IPSR_MODSEL_DATA(IP12_7_6, CAN1_RX_B, SEL_CAN1_1),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001525 PINMUX_IPSR_DATA(IP12_7_6, SSI_SCK1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001526 PINMUX_IPSR_DATA(IP12_7_6, MOUT6),
1527 PINMUX_IPSR_DATA(IP12_10_8, SSI_SCK34),
1528 PINMUX_IPSR_DATA(IP12_10_8, STP_OPWM_0),
1529 PINMUX_IPSR_MODSEL_DATA(IP12_10_8, SCIFB0_SCK, SEL_SCIFB_0),
1530 PINMUX_IPSR_MODSEL_DATA(IP12_10_8, MSIOF1_SCK, SEL_SOF1_0),
1531 PINMUX_IPSR_DATA(IP12_10_8, CAN_DEBUG_HW_TRIGGER),
1532 PINMUX_IPSR_DATA(IP12_13_11, SSI_WS34),
1533 PINMUX_IPSR_MODSEL_DATA(IP12_13_11, STP_IVCXO27_0, SEL_SSP_0),
1534 PINMUX_IPSR_MODSEL_DATA(IP12_13_11, SCIFB0_RXD, SEL_SCIFB_0),
1535 PINMUX_IPSR_DATA(IP12_13_11, MSIOF1_SYNC),
1536 PINMUX_IPSR_DATA(IP12_13_11, CAN_STEP0),
1537 PINMUX_IPSR_DATA(IP12_16_14, SSI_SDATA3),
1538 PINMUX_IPSR_MODSEL_DATA(IP12_16_14, STP_ISCLK_0, SEL_SSP_0),
1539 PINMUX_IPSR_MODSEL_DATA(IP12_16_14, SCIFB0_TXD, SEL_SCIFB_0),
1540 PINMUX_IPSR_MODSEL_DATA(IP12_16_14, MSIOF1_SS1, SEL_SOF1_0),
1541 PINMUX_IPSR_DATA(IP12_16_14, CAN_TXCLK),
1542 PINMUX_IPSR_DATA(IP12_19_17, SSI_SCK4),
1543 PINMUX_IPSR_MODSEL_DATA(IP12_19_17, STP_ISD_0, SEL_SSP_0),
1544 PINMUX_IPSR_MODSEL_DATA(IP12_19_17, SCIFB0_CTS_N, SEL_SCIFB_0),
1545 PINMUX_IPSR_MODSEL_DATA(IP12_19_17, MSIOF1_SS2, SEL_SOF1_0),
1546 PINMUX_IPSR_MODSEL_DATA(IP12_19_17, SSI_SCK5_C, SEL_SSI5_2),
1547 PINMUX_IPSR_DATA(IP12_19_17, CAN_DEBUGOUT0),
1548 PINMUX_IPSR_DATA(IP12_22_20, SSI_WS4),
1549 PINMUX_IPSR_MODSEL_DATA(IP12_22_20, STP_ISEN_0, SEL_SSP_0),
1550 PINMUX_IPSR_MODSEL_DATA(IP12_22_20, SCIFB0_RTS_N, SEL_SCIFB_0),
1551 PINMUX_IPSR_MODSEL_DATA(IP12_22_20, MSIOF1_TXD, SEL_SOF1_0),
1552 PINMUX_IPSR_MODSEL_DATA(IP12_22_20, SSI_WS5_C, SEL_SSI5_2),
1553 PINMUX_IPSR_DATA(IP12_22_20, CAN_DEBUGOUT1),
1554 PINMUX_IPSR_DATA(IP12_24_23, SSI_SDATA4),
1555 PINMUX_IPSR_MODSEL_DATA(IP12_24_23, STP_ISSYNC_0, SEL_SSP_0),
1556 PINMUX_IPSR_MODSEL_DATA(IP12_24_23, MSIOF1_RXD, SEL_SOF1_0),
1557 PINMUX_IPSR_DATA(IP12_24_23, CAN_DEBUGOUT2),
1558 PINMUX_IPSR_MODSEL_DATA(IP12_27_25, SSI_SCK5, SEL_SSI5_0),
1559 PINMUX_IPSR_MODSEL_DATA(IP12_27_25, SCIFB1_SCK, SEL_SCIFB1_0),
1560 PINMUX_IPSR_MODSEL_DATA(IP12_27_25, IERX_B, SEL_IEB_1),
1561 PINMUX_IPSR_DATA(IP12_27_25, DU2_EXHSYNC_DU2_HSYNC),
1562 PINMUX_IPSR_DATA(IP12_27_25, QSTH_QHS),
1563 PINMUX_IPSR_DATA(IP12_27_25, CAN_DEBUGOUT3),
1564 PINMUX_IPSR_MODSEL_DATA(IP12_30_28, SSI_WS5, SEL_SSI5_0),
1565 PINMUX_IPSR_MODSEL_DATA(IP12_30_28, SCIFB1_RXD, SEL_SCIFB1_0),
1566 PINMUX_IPSR_MODSEL_DATA(IP12_30_28, IECLK_B, SEL_IEB_1),
1567 PINMUX_IPSR_DATA(IP12_30_28, DU2_EXVSYNC_DU2_VSYNC),
1568 PINMUX_IPSR_DATA(IP12_30_28, QSTB_QHE),
1569 PINMUX_IPSR_DATA(IP12_30_28, CAN_DEBUGOUT4),
1570
1571 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, SSI_SDATA5, SEL_SSI5_0),
1572 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, SCIFB1_TXD, SEL_SCIFB1_0),
1573 PINMUX_IPSR_MODSEL_DATA(IP13_2_0, IETX_B, SEL_IEB_1),
1574 PINMUX_IPSR_DATA(IP13_2_0, DU2_DR2),
1575 PINMUX_IPSR_DATA(IP13_2_0, LCDOUT2),
1576 PINMUX_IPSR_DATA(IP13_2_0, CAN_DEBUGOUT5),
1577 PINMUX_IPSR_MODSEL_DATA(IP13_6_3, SSI_SCK6, SEL_SSI6_0),
1578 PINMUX_IPSR_MODSEL_DATA(IP13_6_3, SCIFB1_CTS_N, SEL_SCIFB1_0),
1579 PINMUX_IPSR_MODSEL_DATA(IP13_6_3, BPFCLK_D, SEL_FM_3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001580 PINMUX_IPSR_DATA(IP13_6_3, DU2_DR3),
1581 PINMUX_IPSR_DATA(IP13_6_3, LCDOUT3),
1582 PINMUX_IPSR_DATA(IP13_6_3, CAN_DEBUGOUT6),
1583 PINMUX_IPSR_MODSEL_DATA(IP13_6_3, BPFCLK_F, SEL_FM_5),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001584 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, SSI_WS6, SEL_SSI6_0),
1585 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, SCIFB1_RTS_N, SEL_SCIFB1_0),
1586 PINMUX_IPSR_MODSEL_DATA(IP13_9_7, CAN0_TX_D, SEL_CAN0_3),
1587 PINMUX_IPSR_DATA(IP13_9_7, DU2_DR4),
1588 PINMUX_IPSR_DATA(IP13_9_7, LCDOUT4),
1589 PINMUX_IPSR_DATA(IP13_9_7, CAN_DEBUGOUT7),
1590 PINMUX_IPSR_MODSEL_DATA(IP13_12_10, SSI_SDATA6, SEL_SSI6_0),
1591 PINMUX_IPSR_MODSEL_DATA(IP13_12_10, FMIN_D, SEL_FM_3),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001592 PINMUX_IPSR_DATA(IP13_12_10, DU2_DR5),
1593 PINMUX_IPSR_DATA(IP13_12_10, LCDOUT5),
1594 PINMUX_IPSR_DATA(IP13_12_10, CAN_DEBUGOUT8),
1595 PINMUX_IPSR_MODSEL_DATA(IP13_15_13, SSI_SCK78, SEL_SSI7_0),
1596 PINMUX_IPSR_MODSEL_DATA(IP13_15_13, STP_IVCXO27_1, SEL_SSP_0),
1597 PINMUX_IPSR_MODSEL_DATA(IP13_15_13, SCK1, SEL_SCIF1_0),
1598 PINMUX_IPSR_MODSEL_DATA(IP13_15_13, SCIFA1_SCK, SEL_SCIFA1_0),
1599 PINMUX_IPSR_DATA(IP13_15_13, DU2_DR6),
1600 PINMUX_IPSR_DATA(IP13_15_13, LCDOUT6),
1601 PINMUX_IPSR_DATA(IP13_15_13, CAN_DEBUGOUT9),
1602 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, SSI_WS78, SEL_SSI7_0),
1603 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, STP_ISCLK_1, SEL_SSP_0),
1604 PINMUX_IPSR_MODSEL_DATA(IP13_18_16, SCIFB2_SCK, SEL_SCIFB2_0),
1605 PINMUX_IPSR_DATA(IP13_18_16, SCIFA2_CTS_N),
1606 PINMUX_IPSR_DATA(IP13_18_16, DU2_DR7),
1607 PINMUX_IPSR_DATA(IP13_18_16, LCDOUT7),
1608 PINMUX_IPSR_DATA(IP13_18_16, CAN_DEBUGOUT10),
1609 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, SSI_SDATA7, SEL_SSI7_0),
1610 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, STP_ISD_1, SEL_SSP_0),
1611 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, SCIFB2_RXD, SEL_SCIFB2_0),
1612 PINMUX_IPSR_DATA(IP13_22_19, SCIFA2_RTS_N),
1613 PINMUX_IPSR_DATA(IP13_22_19, TCLK2),
1614 PINMUX_IPSR_DATA(IP13_22_19, QSTVA_QVS),
1615 PINMUX_IPSR_DATA(IP13_22_19, CAN_DEBUGOUT11),
1616 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, BPFCLK_E, SEL_FM_4),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001617 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, SSI_SDATA7_B, SEL_SSI7_1),
1618 PINMUX_IPSR_MODSEL_DATA(IP13_22_19, FMIN_G, SEL_FM_6),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001619 PINMUX_IPSR_MODSEL_DATA(IP13_25_23, SSI_SDATA8, SEL_SSI8_0),
1620 PINMUX_IPSR_MODSEL_DATA(IP13_25_23, STP_ISEN_1, SEL_SSP_0),
1621 PINMUX_IPSR_MODSEL_DATA(IP13_25_23, SCIFB2_TXD, SEL_SCIFB2_0),
1622 PINMUX_IPSR_MODSEL_DATA(IP13_25_23, CAN0_TX_C, SEL_CAN0_2),
1623 PINMUX_IPSR_DATA(IP13_25_23, CAN_DEBUGOUT12),
1624 PINMUX_IPSR_MODSEL_DATA(IP13_25_23, SSI_SDATA8_B, SEL_SSI8_1),
1625 PINMUX_IPSR_DATA(IP13_28_26, SSI_SDATA9),
1626 PINMUX_IPSR_MODSEL_DATA(IP13_28_26, STP_ISSYNC_1, SEL_SSP_0),
1627 PINMUX_IPSR_MODSEL_DATA(IP13_28_26, SCIFB2_CTS_N, SEL_SCIFB2_0),
1628 PINMUX_IPSR_DATA(IP13_28_26, SSI_WS1),
1629 PINMUX_IPSR_MODSEL_DATA(IP13_28_26, SSI_SDATA5_C, SEL_SSI5_2),
1630 PINMUX_IPSR_DATA(IP13_28_26, CAN_DEBUGOUT13),
1631 PINMUX_IPSR_DATA(IP13_30_29, AUDIO_CLKA),
1632 PINMUX_IPSR_MODSEL_DATA(IP13_30_29, SCIFB2_RTS_N, SEL_SCIFB2_0),
1633 PINMUX_IPSR_DATA(IP13_30_29, CAN_DEBUGOUT14),
1634
1635 PINMUX_IPSR_DATA(IP14_2_0, AUDIO_CLKB),
1636 PINMUX_IPSR_MODSEL_DATA(IP14_2_0, SCIF_CLK, SEL_SCIFCLK_0),
1637 PINMUX_IPSR_MODSEL_DATA(IP14_2_0, CAN0_RX_D, SEL_CAN0_3),
1638 PINMUX_IPSR_DATA(IP14_2_0, DVC_MUTE),
1639 PINMUX_IPSR_MODSEL_DATA(IP14_2_0, CAN0_RX_C, SEL_CAN0_2),
1640 PINMUX_IPSR_DATA(IP14_2_0, CAN_DEBUGOUT15),
1641 PINMUX_IPSR_DATA(IP14_2_0, REMOCON),
1642 PINMUX_IPSR_MODSEL_DATA(IP14_5_3, SCIFA0_SCK, SEL_SCFA_0),
1643 PINMUX_IPSR_MODSEL_DATA(IP14_5_3, HSCK1, SEL_HSCIF1_0),
1644 PINMUX_IPSR_DATA(IP14_5_3, SCK0),
1645 PINMUX_IPSR_DATA(IP14_5_3, MSIOF3_SS2),
1646 PINMUX_IPSR_DATA(IP14_5_3, DU2_DG2),
1647 PINMUX_IPSR_DATA(IP14_5_3, LCDOUT10),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001648 PINMUX_IPSR_MODSEL_DATA(IP14_5_3, IIC1_SDA_C, SEL_IIC1_2),
1649 PINMUX_IPSR_MODSEL_DATA(IP14_5_3, I2C1_SDA_C, SEL_I2C1_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001650 PINMUX_IPSR_MODSEL_DATA(IP14_8_6, SCIFA0_RXD, SEL_SCFA_0),
1651 PINMUX_IPSR_MODSEL_DATA(IP14_8_6, HRX1, SEL_HSCIF1_0),
1652 PINMUX_IPSR_MODSEL_DATA(IP14_8_6, RX0, SEL_SCIF0_0),
1653 PINMUX_IPSR_DATA(IP14_8_6, DU2_DR0),
1654 PINMUX_IPSR_DATA(IP14_8_6, LCDOUT0),
1655 PINMUX_IPSR_MODSEL_DATA(IP14_11_9, SCIFA0_TXD, SEL_SCFA_0),
1656 PINMUX_IPSR_MODSEL_DATA(IP14_11_9, HTX1, SEL_HSCIF1_0),
1657 PINMUX_IPSR_MODSEL_DATA(IP14_11_9, TX0, SEL_SCIF0_0),
1658 PINMUX_IPSR_DATA(IP14_11_9, DU2_DR1),
1659 PINMUX_IPSR_DATA(IP14_11_9, LCDOUT1),
1660 PINMUX_IPSR_MODSEL_DATA(IP14_15_12, SCIFA0_CTS_N, SEL_SCFA_0),
1661 PINMUX_IPSR_MODSEL_DATA(IP14_15_12, HCTS1_N, SEL_HSCIF1_0),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001662 PINMUX_IPSR_DATA(IP14_15_12, CTS0_N),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001663 PINMUX_IPSR_MODSEL_DATA(IP14_15_12, MSIOF3_SYNC, SEL_SOF3_0),
1664 PINMUX_IPSR_DATA(IP14_15_12, DU2_DG3),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001665 PINMUX_IPSR_DATA(IP14_15_12, LCDOUT11),
1666 PINMUX_IPSR_DATA(IP14_15_12, PWM0_B),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001667 PINMUX_IPSR_MODSEL_DATA(IP14_15_12, IIC1_SCL_C, SEL_IIC1_2),
1668 PINMUX_IPSR_MODSEL_DATA(IP14_15_12, I2C1_SCL_C, SEL_I2C1_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001669 PINMUX_IPSR_MODSEL_DATA(IP14_18_16, SCIFA0_RTS_N, SEL_SCFA_0),
1670 PINMUX_IPSR_MODSEL_DATA(IP14_18_16, HRTS1_N, SEL_HSCIF1_0),
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09001671 PINMUX_IPSR_DATA(IP14_18_16, RTS0_N),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001672 PINMUX_IPSR_DATA(IP14_18_16, MSIOF3_SS1),
1673 PINMUX_IPSR_DATA(IP14_18_16, DU2_DG0),
1674 PINMUX_IPSR_DATA(IP14_18_16, LCDOUT8),
1675 PINMUX_IPSR_DATA(IP14_18_16, PWM1_B),
1676 PINMUX_IPSR_MODSEL_DATA(IP14_21_19, SCIFA1_RXD, SEL_SCIFA1_0),
1677 PINMUX_IPSR_MODSEL_DATA(IP14_21_19, AD_DI, SEL_ADI_0),
1678 PINMUX_IPSR_MODSEL_DATA(IP14_21_19, RX1, SEL_SCIF1_0),
1679 PINMUX_IPSR_DATA(IP14_21_19, DU2_EXODDF_DU2_ODDF_DISP_CDE),
1680 PINMUX_IPSR_DATA(IP14_21_19, QCPV_QDE),
1681 PINMUX_IPSR_MODSEL_DATA(IP14_24_22, SCIFA1_TXD, SEL_SCIFA1_0),
1682 PINMUX_IPSR_MODSEL_DATA(IP14_24_22, AD_DO, SEL_ADI_0),
1683 PINMUX_IPSR_MODSEL_DATA(IP14_24_22, TX1, SEL_SCIF1_0),
1684 PINMUX_IPSR_DATA(IP14_24_22, DU2_DG1),
1685 PINMUX_IPSR_DATA(IP14_24_22, LCDOUT9),
1686 PINMUX_IPSR_MODSEL_DATA(IP14_27_25, SCIFA1_CTS_N, SEL_SCIFA1_0),
1687 PINMUX_IPSR_MODSEL_DATA(IP14_27_25, AD_CLK, SEL_ADI_0),
1688 PINMUX_IPSR_DATA(IP14_27_25, CTS1_N),
1689 PINMUX_IPSR_MODSEL_DATA(IP14_27_25, MSIOF3_RXD, SEL_SOF3_0),
1690 PINMUX_IPSR_DATA(IP14_27_25, DU0_DOTCLKOUT),
1691 PINMUX_IPSR_DATA(IP14_27_25, QCLK),
1692 PINMUX_IPSR_MODSEL_DATA(IP14_30_28, SCIFA1_RTS_N, SEL_SCIFA1_0),
1693 PINMUX_IPSR_MODSEL_DATA(IP14_30_28, AD_NCS_N, SEL_ADI_0),
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09001694 PINMUX_IPSR_DATA(IP14_30_28, RTS1_N),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001695 PINMUX_IPSR_MODSEL_DATA(IP14_30_28, MSIOF3_TXD, SEL_SOF3_0),
1696 PINMUX_IPSR_DATA(IP14_30_28, DU1_DOTCLKOUT),
1697 PINMUX_IPSR_DATA(IP14_30_28, QSTVB_QVE),
1698 PINMUX_IPSR_MODSEL_DATA(IP14_30_28, HRTS0_N_C, SEL_HSCIF0_2),
1699
1700 PINMUX_IPSR_MODSEL_DATA(IP15_2_0, SCIFA2_SCK, SEL_SCIFA2_0),
1701 PINMUX_IPSR_MODSEL_DATA(IP15_2_0, FMCLK, SEL_FM_0),
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09001702 PINMUX_IPSR_DATA(IP15_2_0, SCK2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001703 PINMUX_IPSR_MODSEL_DATA(IP15_2_0, MSIOF3_SCK, SEL_SOF3_0),
1704 PINMUX_IPSR_DATA(IP15_2_0, DU2_DG7),
1705 PINMUX_IPSR_DATA(IP15_2_0, LCDOUT15),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001706 PINMUX_IPSR_MODSEL_DATA(IP15_2_0, SCIF_CLK_B, SEL_SCIFCLK_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001707 PINMUX_IPSR_MODSEL_DATA(IP15_5_3, SCIFA2_RXD, SEL_SCIFA2_0),
1708 PINMUX_IPSR_MODSEL_DATA(IP15_5_3, FMIN, SEL_FM_0),
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09001709 PINMUX_IPSR_MODSEL_DATA(IP15_5_3, TX2, SEL_SCIF2_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001710 PINMUX_IPSR_DATA(IP15_5_3, DU2_DB0),
1711 PINMUX_IPSR_DATA(IP15_5_3, LCDOUT16),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001712 PINMUX_IPSR_MODSEL_DATA(IP15_5_3, IIC2_SCL, SEL_IIC2_0),
1713 PINMUX_IPSR_MODSEL_DATA(IP15_5_3, I2C2_SCL, SEL_I2C2_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001714 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, SCIFA2_TXD, SEL_SCIFA2_0),
1715 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, BPFCLK, SEL_FM_0),
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09001716 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, RX2, SEL_SCIF2_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001717 PINMUX_IPSR_DATA(IP15_8_6, DU2_DB1),
1718 PINMUX_IPSR_DATA(IP15_8_6, LCDOUT17),
Shinya Kuribayashic4721242013-05-22 19:46:16 +09001719 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, IIC2_SDA, SEL_IIC2_0),
1720 PINMUX_IPSR_MODSEL_DATA(IP15_8_6, I2C2_SDA, SEL_I2C2_0),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001721 PINMUX_IPSR_DATA(IP15_11_9, HSCK0),
1722 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, TS_SDEN0, SEL_TSIF0_0),
1723 PINMUX_IPSR_DATA(IP15_11_9, DU2_DG4),
1724 PINMUX_IPSR_DATA(IP15_11_9, LCDOUT12),
Shinya Kuribayashi0a664e32013-05-27 17:10:11 +09001725 PINMUX_IPSR_MODSEL_DATA(IP15_11_9, HCTS0_N_C, SEL_HSCIF0_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001726 PINMUX_IPSR_MODSEL_DATA(IP15_13_12, HRX0, SEL_HSCIF0_0),
1727 PINMUX_IPSR_DATA(IP15_13_12, DU2_DB2),
1728 PINMUX_IPSR_DATA(IP15_13_12, LCDOUT18),
1729 PINMUX_IPSR_MODSEL_DATA(IP15_15_14, HTX0, SEL_HSCIF0_0),
1730 PINMUX_IPSR_DATA(IP15_15_14, DU2_DB3),
1731 PINMUX_IPSR_DATA(IP15_15_14, LCDOUT19),
1732 PINMUX_IPSR_MODSEL_DATA(IP15_17_16, HCTS0_N, SEL_HSCIF0_0),
1733 PINMUX_IPSR_DATA(IP15_17_16, SSI_SCK9),
1734 PINMUX_IPSR_DATA(IP15_17_16, DU2_DB4),
1735 PINMUX_IPSR_DATA(IP15_17_16, LCDOUT20),
1736 PINMUX_IPSR_MODSEL_DATA(IP15_19_18, HRTS0_N, SEL_HSCIF0_0),
1737 PINMUX_IPSR_DATA(IP15_19_18, SSI_WS9),
1738 PINMUX_IPSR_DATA(IP15_19_18, DU2_DB5),
1739 PINMUX_IPSR_DATA(IP15_19_18, LCDOUT21),
1740 PINMUX_IPSR_MODSEL_DATA(IP15_22_20, MSIOF0_SCK, SEL_SOF0_0),
1741 PINMUX_IPSR_MODSEL_DATA(IP15_22_20, TS_SDAT0, SEL_TSIF0_0),
1742 PINMUX_IPSR_DATA(IP15_22_20, ADICLK),
1743 PINMUX_IPSR_DATA(IP15_22_20, DU2_DB6),
1744 PINMUX_IPSR_DATA(IP15_22_20, LCDOUT22),
1745 PINMUX_IPSR_DATA(IP15_25_23, MSIOF0_SYNC),
1746 PINMUX_IPSR_MODSEL_DATA(IP15_25_23, TS_SCK0, SEL_TSIF0_0),
1747 PINMUX_IPSR_DATA(IP15_25_23, SSI_SCK2),
1748 PINMUX_IPSR_DATA(IP15_25_23, ADIDATA),
1749 PINMUX_IPSR_DATA(IP15_25_23, DU2_DB7),
1750 PINMUX_IPSR_DATA(IP15_25_23, LCDOUT23),
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +09001751 PINMUX_IPSR_MODSEL_DATA(IP15_25_23, HRX0_C, SEL_SCIFA2_1),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001752 PINMUX_IPSR_MODSEL_DATA(IP15_27_26, MSIOF0_SS1, SEL_SOF0_0),
1753 PINMUX_IPSR_DATA(IP15_27_26, ADICHS0),
1754 PINMUX_IPSR_DATA(IP15_27_26, DU2_DG5),
1755 PINMUX_IPSR_DATA(IP15_27_26, LCDOUT13),
1756 PINMUX_IPSR_MODSEL_DATA(IP15_29_28, MSIOF0_TXD, SEL_SOF0_0),
1757 PINMUX_IPSR_DATA(IP15_29_28, ADICHS1),
1758 PINMUX_IPSR_DATA(IP15_29_28, DU2_DG6),
1759 PINMUX_IPSR_DATA(IP15_29_28, LCDOUT14),
1760
1761 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, MSIOF0_SS2, SEL_SOF0_0),
1762 PINMUX_IPSR_DATA(IP16_2_0, AUDIO_CLKOUT),
1763 PINMUX_IPSR_DATA(IP16_2_0, ADICHS2),
1764 PINMUX_IPSR_DATA(IP16_2_0, DU2_DISP),
1765 PINMUX_IPSR_DATA(IP16_2_0, QPOLA),
1766 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, HTX0_C, SEL_HSCIF0_2),
1767 PINMUX_IPSR_MODSEL_DATA(IP16_2_0, SCIFA2_TXD_B, SEL_SCIFA2_1),
1768 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, MSIOF0_RXD, SEL_SOF0_0),
1769 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, TS_SPSYNC0, SEL_TSIF0_0),
1770 PINMUX_IPSR_DATA(IP16_5_3, SSI_WS2),
1771 PINMUX_IPSR_DATA(IP16_5_3, ADICS_SAMP),
1772 PINMUX_IPSR_DATA(IP16_5_3, DU2_CDE),
1773 PINMUX_IPSR_DATA(IP16_5_3, QPOLB),
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +09001774 PINMUX_IPSR_MODSEL_DATA(IP16_5_3, SCIFA2_RXD_B, SEL_HSCIF0_2),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09001775 PINMUX_IPSR_DATA(IP16_6, USB1_PWEN),
1776 PINMUX_IPSR_DATA(IP16_6, AUDIO_CLKOUT_D),
1777 PINMUX_IPSR_DATA(IP16_7, USB1_OVC),
1778 PINMUX_IPSR_MODSEL_DATA(IP16_7, TCLK1_B, SEL_TMU1_1),
1779};
1780
1781static struct sh_pfc_pin pinmux_pins[] = {
1782 PINMUX_GPIO_GP_ALL(),
1783};
1784
Laurent Pinchart16277692013-04-08 11:36:14 +02001785/* - ETH -------------------------------------------------------------------- */
1786static const unsigned int eth_link_pins[] = {
1787 /* LINK */
1788 RCAR_GP_PIN(2, 22),
1789};
1790static const unsigned int eth_link_mux[] = {
1791 ETH_LINK_MARK,
1792};
1793static const unsigned int eth_magic_pins[] = {
1794 /* MAGIC */
1795 RCAR_GP_PIN(2, 27),
1796};
1797static const unsigned int eth_magic_mux[] = {
1798 ETH_MAGIC_MARK,
1799};
1800static const unsigned int eth_mdio_pins[] = {
1801 /* MDC, MDIO */
1802 RCAR_GP_PIN(2, 29), RCAR_GP_PIN(2, 24),
1803};
1804static const unsigned int eth_mdio_mux[] = {
1805 ETH_MDC_MARK, ETH_MDIO_MARK,
1806};
1807static const unsigned int eth_rmii_pins[] = {
1808 /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
1809 RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 19),
1810 RCAR_GP_PIN(2, 18), RCAR_GP_PIN(2, 28), RCAR_GP_PIN(2, 25),
1811 RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 23),
1812};
1813static const unsigned int eth_rmii_mux[] = {
1814 ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
1815 ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REF_CLK_MARK,
1816};
Laurent Pinchart04e7ce72013-04-08 11:36:15 +02001817/* - INTC ------------------------------------------------------------------- */
1818static const unsigned int intc_irq0_pins[] = {
1819 /* IRQ */
1820 RCAR_GP_PIN(1, 25),
1821};
1822static const unsigned int intc_irq0_mux[] = {
1823 IRQ0_MARK,
1824};
1825static const unsigned int intc_irq1_pins[] = {
1826 /* IRQ */
1827 RCAR_GP_PIN(1, 27),
1828};
1829static const unsigned int intc_irq1_mux[] = {
1830 IRQ1_MARK,
1831};
1832static const unsigned int intc_irq2_pins[] = {
1833 /* IRQ */
1834 RCAR_GP_PIN(1, 29),
1835};
1836static const unsigned int intc_irq2_mux[] = {
1837 IRQ2_MARK,
1838};
1839static const unsigned int intc_irq3_pins[] = {
1840 /* IRQ */
1841 RCAR_GP_PIN(1, 23),
1842};
1843static const unsigned int intc_irq3_mux[] = {
1844 IRQ3_MARK,
1845};
Laurent Pinchart45c6c852013-04-08 11:36:16 +02001846/* - SCIF0 ----------------------------------------------------------------- */
1847static const unsigned int scif0_data_pins[] = {
1848 /* RX, TX */
1849 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
1850};
1851static const unsigned int scif0_data_mux[] = {
1852 RX0_MARK, TX0_MARK,
1853};
1854static const unsigned int scif0_clk_pins[] = {
1855 /* SCK */
1856 RCAR_GP_PIN(4, 27),
1857};
1858static const unsigned int scif0_clk_mux[] = {
1859 SCK0_MARK,
1860};
1861static const unsigned int scif0_ctrl_pins[] = {
1862 /* RTS, CTS */
1863 RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
1864};
1865static const unsigned int scif0_ctrl_mux[] = {
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09001866 RTS0_N_MARK, CTS0_N_MARK,
Laurent Pinchart45c6c852013-04-08 11:36:16 +02001867};
1868static const unsigned int scif0_data_b_pins[] = {
1869 /* RX, TX */
1870 RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
1871};
1872static const unsigned int scif0_data_b_mux[] = {
1873 RX0_B_MARK, TX0_B_MARK,
1874};
1875/* - SCIF1 ----------------------------------------------------------------- */
1876static const unsigned int scif1_data_pins[] = {
1877 /* RX, TX */
1878 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1),
1879};
1880static const unsigned int scif1_data_mux[] = {
1881 RX1_MARK, TX1_MARK,
1882};
1883static const unsigned int scif1_clk_pins[] = {
1884 /* SCK */
1885 RCAR_GP_PIN(4, 20),
1886};
1887static const unsigned int scif1_clk_mux[] = {
1888 SCK1_MARK,
1889};
1890static const unsigned int scif1_ctrl_pins[] = {
1891 /* RTS, CTS */
1892 RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 2),
1893};
1894static const unsigned int scif1_ctrl_mux[] = {
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09001895 RTS1_N_MARK, CTS1_N_MARK,
Laurent Pinchart45c6c852013-04-08 11:36:16 +02001896};
1897static const unsigned int scif1_data_b_pins[] = {
1898 /* RX, TX */
1899 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
1900};
1901static const unsigned int scif1_data_b_mux[] = {
1902 RX1_B_MARK, TX1_B_MARK,
1903};
1904static const unsigned int scif1_data_c_pins[] = {
1905 /* RX, TX */
1906 RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
1907};
1908static const unsigned int scif1_data_c_mux[] = {
1909 RX1_C_MARK, TX1_C_MARK,
1910};
1911static const unsigned int scif1_data_d_pins[] = {
1912 /* RX, TX */
1913 RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
1914};
1915static const unsigned int scif1_data_d_mux[] = {
1916 RX1_D_MARK, TX1_D_MARK,
1917};
1918static const unsigned int scif1_clk_d_pins[] = {
1919 /* SCK */
1920 RCAR_GP_PIN(3, 17),
1921};
1922static const unsigned int scif1_clk_d_mux[] = {
1923 SCK1_D_MARK,
1924};
1925static const unsigned int scif1_data_e_pins[] = {
1926 /* RX, TX */
1927 RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
1928};
1929static const unsigned int scif1_data_e_mux[] = {
1930 RX1_E_MARK, TX1_E_MARK,
1931};
1932static const unsigned int scif1_clk_e_pins[] = {
1933 /* SCK */
1934 RCAR_GP_PIN(2, 20),
1935};
1936static const unsigned int scif1_clk_e_mux[] = {
1937 SCK1_E_MARK,
1938};
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00001939/* - HSCIF0 ----------------------------------------------------------------- */
1940static const unsigned int hscif0_data_pins[] = {
1941 /* RX, TX */
1942 RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 9),
1943};
1944static const unsigned int hscif0_data_mux[] = {
1945 HRX0_MARK, HTX0_MARK,
1946};
1947static const unsigned int hscif0_clk_pins[] = {
1948 /* SCK */
1949 RCAR_GP_PIN(5, 7),
1950};
1951static const unsigned int hscif0_clk_mux[] = {
1952 HSCK0_MARK,
1953};
1954static const unsigned int hscif0_ctrl_pins[] = {
1955 /* RTS, CTS */
1956 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10),
1957};
1958static const unsigned int hscif0_ctrl_mux[] = {
1959 HRTS0_N_MARK, HCTS0_N_MARK,
1960};
1961static const unsigned int hscif0_data_b_pins[] = {
1962 /* RX, TX */
1963 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 12),
1964};
1965static const unsigned int hscif0_data_b_mux[] = {
1966 HRX0_B_MARK, HTX0_B_MARK,
1967};
1968static const unsigned int hscif0_ctrl_b_pins[] = {
1969 /* RTS, CTS */
1970 RCAR_GP_PIN(1, 29), RCAR_GP_PIN(1, 28),
1971};
1972static const unsigned int hscif0_ctrl_b_mux[] = {
1973 HRTS0_N_B_MARK, HCTS0_N_B_MARK,
1974};
1975static const unsigned int hscif0_data_c_pins[] = {
1976 /* RX, TX */
1977 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 16),
1978};
1979static const unsigned int hscif0_data_c_mux[] = {
1980 HRX0_C_MARK, HTX0_C_MARK,
1981};
1982static const unsigned int hscif0_ctrl_c_pins[] = {
1983 /* RTS, CTS */
1984 RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 7),
1985};
1986static const unsigned int hscif0_ctrl_c_mux[] = {
1987 HRTS0_N_C_MARK, HCTS0_N_C_MARK,
1988};
1989static const unsigned int hscif0_data_d_pins[] = {
1990 /* RX, TX */
1991 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
1992};
1993static const unsigned int hscif0_data_d_mux[] = {
1994 HRX0_D_MARK, HTX0_D_MARK,
1995};
1996static const unsigned int hscif0_ctrl_d_pins[] = {
1997 /* RTS, CTS */
1998 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 22),
1999};
2000static const unsigned int hscif0_ctrl_d_mux[] = {
2001 HRTS0_N_D_MARK, HCTS0_N_D_MARK,
2002};
2003static const unsigned int hscif0_data_e_pins[] = {
2004 /* RX, TX */
2005 RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
2006};
2007static const unsigned int hscif0_data_e_mux[] = {
2008 HRX0_E_MARK, HTX0_E_MARK,
2009};
2010static const unsigned int hscif0_ctrl_e_pins[] = {
2011 /* RTS, CTS */
2012 RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 23),
2013};
2014static const unsigned int hscif0_ctrl_e_mux[] = {
2015 HRTS0_N_E_MARK, HCTS0_N_E_MARK,
2016};
2017static const unsigned int hscif0_data_f_pins[] = {
2018 /* RX, TX */
2019 RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 25),
2020};
2021static const unsigned int hscif0_data_f_mux[] = {
2022 HRX0_F_MARK, HTX0_F_MARK,
2023};
2024static const unsigned int hscif0_ctrl_f_pins[] = {
2025 /* RTS, CTS */
2026 RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 24),
2027};
2028static const unsigned int hscif0_ctrl_f_mux[] = {
2029 HRTS0_N_F_MARK, HCTS0_N_F_MARK,
2030};
2031/* - HSCIF1 ----------------------------------------------------------------- */
2032static const unsigned int hscif1_data_pins[] = {
2033 /* RX, TX */
2034 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
2035};
2036static const unsigned int hscif1_data_mux[] = {
2037 HRX1_MARK, HTX1_MARK,
2038};
2039static const unsigned int hscif1_clk_pins[] = {
2040 /* SCK */
2041 RCAR_GP_PIN(4, 27),
2042};
2043static const unsigned int hscif1_clk_mux[] = {
2044 HSCK1_MARK,
2045};
2046static const unsigned int hscif1_ctrl_pins[] = {
2047 /* RTS, CTS */
2048 RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
2049};
2050static const unsigned int hscif1_ctrl_mux[] = {
2051 HRTS1_N_MARK, HCTS1_N_MARK,
2052};
2053static const unsigned int hscif1_data_b_pins[] = {
2054 /* RX, TX */
2055 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 18),
2056};
2057static const unsigned int hscif1_data_b_mux[] = {
2058 HRX1_B_MARK, HTX1_B_MARK,
2059};
2060static const unsigned int hscif1_clk_b_pins[] = {
2061 /* SCK */
2062 RCAR_GP_PIN(1, 28),
2063};
2064static const unsigned int hscif1_clk_b_mux[] = {
2065 HSCK1_B_MARK,
2066};
2067static const unsigned int hscif1_ctrl_b_pins[] = {
2068 /* RTS, CTS */
2069 RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 13),
2070};
2071static const unsigned int hscif1_ctrl_b_mux[] = {
2072 HRTS1_N_B_MARK, HCTS1_N_B_MARK,
2073};
Laurent Pinchart45c6c852013-04-08 11:36:16 +02002074/* - SCIFA0 ----------------------------------------------------------------- */
2075static const unsigned int scifa0_data_pins[] = {
2076 /* RXD, TXD */
2077 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
2078};
2079static const unsigned int scifa0_data_mux[] = {
2080 SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
2081};
2082static const unsigned int scifa0_clk_pins[] = {
2083 /* SCK */
2084 RCAR_GP_PIN(4, 27),
2085};
2086static const unsigned int scifa0_clk_mux[] = {
2087 SCIFA0_SCK_MARK,
2088};
2089static const unsigned int scifa0_ctrl_pins[] = {
2090 /* RTS, CTS */
2091 RCAR_GP_PIN(4, 31), RCAR_GP_PIN(4, 30),
2092};
2093static const unsigned int scifa0_ctrl_mux[] = {
2094 SCIFA0_RTS_N_MARK, SCIFA0_CTS_N_MARK,
2095};
2096static const unsigned int scifa0_data_b_pins[] = {
2097 /* RXD, TXD */
2098 RCAR_GP_PIN(1, 20), RCAR_GP_PIN(1, 21),
2099};
2100static const unsigned int scifa0_data_b_mux[] = {
2101 SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
2102};
2103static const unsigned int scifa0_clk_b_pins[] = {
2104 /* SCK */
2105 RCAR_GP_PIN(1, 19),
2106};
2107static const unsigned int scifa0_clk_b_mux[] = {
2108 SCIFA0_SCK_B_MARK,
2109};
2110static const unsigned int scifa0_ctrl_b_pins[] = {
2111 /* RTS, CTS */
2112 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 22),
2113};
2114static const unsigned int scifa0_ctrl_b_mux[] = {
2115 SCIFA0_RTS_N_B_MARK, SCIFA0_CTS_N_B_MARK,
2116};
2117/* - SCIFA1 ----------------------------------------------------------------- */
2118static const unsigned int scifa1_data_pins[] = {
2119 /* RXD, TXD */
2120 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 1),
2121};
2122static const unsigned int scifa1_data_mux[] = {
2123 SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
2124};
2125static const unsigned int scifa1_clk_pins[] = {
2126 /* SCK */
2127 RCAR_GP_PIN(4, 20),
2128};
2129static const unsigned int scifa1_clk_mux[] = {
2130 SCIFA1_SCK_MARK,
2131};
2132static const unsigned int scifa1_ctrl_pins[] = {
2133 /* RTS, CTS */
2134 RCAR_GP_PIN(5, 3), RCAR_GP_PIN(5, 2),
2135};
2136static const unsigned int scifa1_ctrl_mux[] = {
2137 SCIFA1_RTS_N_MARK, SCIFA1_CTS_N_MARK,
2138};
2139static const unsigned int scifa1_data_b_pins[] = {
2140 /* RXD, TXD */
2141 RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 21),
2142};
2143static const unsigned int scifa1_data_b_mux[] = {
2144 SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
2145};
2146static const unsigned int scifa1_clk_b_pins[] = {
2147 /* SCK */
2148 RCAR_GP_PIN(0, 23),
2149};
2150static const unsigned int scifa1_clk_b_mux[] = {
2151 SCIFA1_SCK_B_MARK,
2152};
2153static const unsigned int scifa1_ctrl_b_pins[] = {
2154 /* RTS, CTS */
2155 RCAR_GP_PIN(0, 22), RCAR_GP_PIN(0, 25),
2156};
2157static const unsigned int scifa1_ctrl_b_mux[] = {
2158 SCIFA1_RTS_N_B_MARK, SCIFA1_CTS_N_B_MARK,
2159};
2160static const unsigned int scifa1_data_c_pins[] = {
2161 /* RXD, TXD */
2162 RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10),
2163};
2164static const unsigned int scifa1_data_c_mux[] = {
2165 SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
2166};
2167static const unsigned int scifa1_clk_c_pins[] = {
2168 /* SCK */
2169 RCAR_GP_PIN(0, 8),
2170};
2171static const unsigned int scifa1_clk_c_mux[] = {
2172 SCIFA1_SCK_C_MARK,
2173};
2174static const unsigned int scifa1_ctrl_c_pins[] = {
2175 /* RTS, CTS */
2176 RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 11),
2177};
2178static const unsigned int scifa1_ctrl_c_mux[] = {
2179 SCIFA1_RTS_N_C_MARK, SCIFA1_CTS_N_C_MARK,
2180};
2181static const unsigned int scifa1_data_d_pins[] = {
2182 /* RXD, TXD */
2183 RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 12),
2184};
2185static const unsigned int scifa1_data_d_mux[] = {
2186 SCIFA1_RXD_D_MARK, SCIFA1_TXD_D_MARK,
2187};
2188static const unsigned int scifa1_clk_d_pins[] = {
2189 /* SCK */
2190 RCAR_GP_PIN(2, 10),
2191};
2192static const unsigned int scifa1_clk_d_mux[] = {
2193 SCIFA1_SCK_D_MARK,
2194};
2195static const unsigned int scifa1_ctrl_d_pins[] = {
2196 /* RTS, CTS */
2197 RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13),
2198};
2199static const unsigned int scifa1_ctrl_d_mux[] = {
2200 SCIFA1_RTS_N_D_MARK, SCIFA1_CTS_N_D_MARK,
2201};
2202/* - SCIFA2 ----------------------------------------------------------------- */
2203static const unsigned int scifa2_data_pins[] = {
2204 /* RXD, TXD */
2205 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
2206};
2207static const unsigned int scifa2_data_mux[] = {
2208 SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
2209};
2210static const unsigned int scifa2_clk_pins[] = {
2211 /* SCK */
2212 RCAR_GP_PIN(5, 4),
2213};
2214static const unsigned int scifa2_clk_mux[] = {
2215 SCIFA2_SCK_MARK,
2216};
2217static const unsigned int scifa2_ctrl_pins[] = {
2218 /* RTS, CTS */
2219 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 21),
2220};
2221static const unsigned int scifa2_ctrl_mux[] = {
2222 SCIFA2_RTS_N_MARK, SCIFA2_CTS_N_MARK,
2223};
2224static const unsigned int scifa2_data_b_pins[] = {
2225 /* RXD, TXD */
2226 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 16),
2227};
2228static const unsigned int scifa2_data_b_mux[] = {
2229 SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
2230};
2231static const unsigned int scifa2_data_c_pins[] = {
2232 /* RXD, TXD */
2233 RCAR_GP_PIN(5, 31), RCAR_GP_PIN(5, 30),
2234};
2235static const unsigned int scifa2_data_c_mux[] = {
2236 SCIFA2_RXD_C_MARK, SCIFA2_TXD_C_MARK,
2237};
2238static const unsigned int scifa2_clk_c_pins[] = {
2239 /* SCK */
2240 RCAR_GP_PIN(5, 29),
2241};
2242static const unsigned int scifa2_clk_c_mux[] = {
2243 SCIFA2_SCK_C_MARK,
2244};
2245/* - SCIFB0 ----------------------------------------------------------------- */
2246static const unsigned int scifb0_data_pins[] = {
2247 /* RXD, TXD */
2248 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10),
2249};
2250static const unsigned int scifb0_data_mux[] = {
2251 SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
2252};
2253static const unsigned int scifb0_clk_pins[] = {
2254 /* SCK */
2255 RCAR_GP_PIN(4, 8),
2256};
2257static const unsigned int scifb0_clk_mux[] = {
2258 SCIFB0_SCK_MARK,
2259};
2260static const unsigned int scifb0_ctrl_pins[] = {
2261 /* RTS, CTS */
2262 RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11),
2263};
2264static const unsigned int scifb0_ctrl_mux[] = {
2265 SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
2266};
2267static const unsigned int scifb0_data_b_pins[] = {
2268 /* RXD, TXD */
2269 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11),
2270};
2271static const unsigned int scifb0_data_b_mux[] = {
2272 SCIFB0_RXD_B_MARK, SCIFB0_TXD_B_MARK,
2273};
2274static const unsigned int scifb0_clk_b_pins[] = {
2275 /* SCK */
2276 RCAR_GP_PIN(3, 9),
2277};
2278static const unsigned int scifb0_clk_b_mux[] = {
2279 SCIFB0_SCK_B_MARK,
2280};
2281static const unsigned int scifb0_ctrl_b_pins[] = {
2282 /* RTS, CTS */
2283 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12),
2284};
2285static const unsigned int scifb0_ctrl_b_mux[] = {
2286 SCIFB0_RTS_N_B_MARK, SCIFB0_CTS_N_B_MARK,
2287};
2288static const unsigned int scifb0_data_c_pins[] = {
2289 /* RXD, TXD */
2290 RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
2291};
2292static const unsigned int scifb0_data_c_mux[] = {
2293 SCIFB0_RXD_C_MARK, SCIFB0_TXD_C_MARK,
2294};
2295/* - SCIFB1 ----------------------------------------------------------------- */
2296static const unsigned int scifb1_data_pins[] = {
2297 /* RXD, TXD */
2298 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16),
2299};
2300static const unsigned int scifb1_data_mux[] = {
2301 SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
2302};
2303static const unsigned int scifb1_clk_pins[] = {
2304 /* SCK */
2305 RCAR_GP_PIN(4, 14),
2306};
2307static const unsigned int scifb1_clk_mux[] = {
2308 SCIFB1_SCK_MARK,
2309};
2310static const unsigned int scifb1_ctrl_pins[] = {
2311 /* RTS, CTS */
2312 RCAR_GP_PIN(4, 18), RCAR_GP_PIN(4, 17),
2313};
2314static const unsigned int scifb1_ctrl_mux[] = {
2315 SCIFB1_RTS_N_MARK, SCIFB1_CTS_N_MARK,
2316};
2317static const unsigned int scifb1_data_b_pins[] = {
2318 /* RXD, TXD */
2319 RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3),
2320};
2321static const unsigned int scifb1_data_b_mux[] = {
2322 SCIFB1_RXD_B_MARK, SCIFB1_TXD_B_MARK,
2323};
2324static const unsigned int scifb1_clk_b_pins[] = {
2325 /* SCK */
2326 RCAR_GP_PIN(3, 1),
2327};
2328static const unsigned int scifb1_clk_b_mux[] = {
2329 SCIFB1_SCK_B_MARK,
2330};
2331static const unsigned int scifb1_ctrl_b_pins[] = {
2332 /* RTS, CTS */
2333 RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 4),
2334};
2335static const unsigned int scifb1_ctrl_b_mux[] = {
2336 SCIFB1_RTS_N_B_MARK, SCIFB1_CTS_N_B_MARK,
2337};
2338static const unsigned int scifb1_data_c_pins[] = {
2339 /* RXD, TXD */
2340 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
2341};
2342static const unsigned int scifb1_data_c_mux[] = {
2343 SCIFB1_RXD_C_MARK, SCIFB1_TXD_C_MARK,
2344};
2345static const unsigned int scifb1_data_d_pins[] = {
2346 /* RXD, TXD */
2347 RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
2348};
2349static const unsigned int scifb1_data_d_mux[] = {
2350 SCIFB1_RXD_D_MARK, SCIFB1_TXD_D_MARK,
2351};
2352static const unsigned int scifb1_data_e_pins[] = {
2353 /* RXD, TXD */
2354 RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
2355};
2356static const unsigned int scifb1_data_e_mux[] = {
2357 SCIFB1_RXD_E_MARK, SCIFB1_TXD_E_MARK,
2358};
2359static const unsigned int scifb1_clk_e_pins[] = {
2360 /* SCK */
2361 RCAR_GP_PIN(3, 17),
2362};
2363static const unsigned int scifb1_clk_e_mux[] = {
2364 SCIFB1_SCK_E_MARK,
2365};
2366static const unsigned int scifb1_data_f_pins[] = {
2367 /* RXD, TXD */
2368 RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5),
2369};
2370static const unsigned int scifb1_data_f_mux[] = {
2371 SCIFB1_RXD_F_MARK, SCIFB1_TXD_F_MARK,
2372};
2373static const unsigned int scifb1_data_g_pins[] = {
2374 /* RXD, TXD */
2375 RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22),
2376};
2377static const unsigned int scifb1_data_g_mux[] = {
2378 SCIFB1_RXD_G_MARK, SCIFB1_TXD_G_MARK,
2379};
2380static const unsigned int scifb1_clk_g_pins[] = {
2381 /* SCK */
2382 RCAR_GP_PIN(2, 20),
2383};
2384static const unsigned int scifb1_clk_g_mux[] = {
2385 SCIFB1_SCK_G_MARK,
2386};
2387/* - SCIFB2 ----------------------------------------------------------------- */
2388static const unsigned int scifb2_data_pins[] = {
2389 /* RXD, TXD */
2390 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
2391};
2392static const unsigned int scifb2_data_mux[] = {
2393 SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
2394};
2395static const unsigned int scifb2_clk_pins[] = {
2396 /* SCK */
2397 RCAR_GP_PIN(4, 21),
2398};
2399static const unsigned int scifb2_clk_mux[] = {
2400 SCIFB2_SCK_MARK,
2401};
2402static const unsigned int scifb2_ctrl_pins[] = {
2403 /* RTS, CTS */
2404 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 24),
2405};
2406static const unsigned int scifb2_ctrl_mux[] = {
2407 SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
2408};
2409static const unsigned int scifb2_data_b_pins[] = {
2410 /* RXD, TXD */
2411 RCAR_GP_PIN(0, 28), RCAR_GP_PIN(0, 30),
2412};
2413static const unsigned int scifb2_data_b_mux[] = {
2414 SCIFB2_RXD_B_MARK, SCIFB2_TXD_B_MARK,
2415};
2416static const unsigned int scifb2_clk_b_pins[] = {
2417 /* SCK */
2418 RCAR_GP_PIN(0, 31),
2419};
2420static const unsigned int scifb2_clk_b_mux[] = {
2421 SCIFB2_SCK_B_MARK,
2422};
2423static const unsigned int scifb2_ctrl_b_pins[] = {
2424 /* RTS, CTS */
2425 RCAR_GP_PIN(0, 29), RCAR_GP_PIN(0, 27),
2426};
2427static const unsigned int scifb2_ctrl_b_mux[] = {
2428 SCIFB2_RTS_N_B_MARK, SCIFB2_CTS_N_B_MARK,
2429};
2430static const unsigned int scifb2_data_c_pins[] = {
2431 /* RXD, TXD */
2432 RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
2433};
2434static const unsigned int scifb2_data_c_mux[] = {
2435 SCIFB2_RXD_C_MARK, SCIFB2_TXD_C_MARK,
2436};
Laurent Pinchart682e05a2013-04-24 13:20:17 +02002437/* - TPU0 ------------------------------------------------------------------- */
2438static const unsigned int tpu0_to0_pins[] = {
2439 /* TO */
2440 RCAR_GP_PIN(0, 20),
2441};
2442static const unsigned int tpu0_to0_mux[] = {
2443 TPU0TO0_MARK,
2444};
2445static const unsigned int tpu0_to1_pins[] = {
2446 /* TO */
2447 RCAR_GP_PIN(0, 21),
2448};
2449static const unsigned int tpu0_to1_mux[] = {
2450 TPU0TO1_MARK,
2451};
2452static const unsigned int tpu0_to2_pins[] = {
2453 /* TO */
2454 RCAR_GP_PIN(0, 22),
2455};
2456static const unsigned int tpu0_to2_mux[] = {
2457 TPU0TO2_MARK,
2458};
2459static const unsigned int tpu0_to3_pins[] = {
2460 /* TO */
2461 RCAR_GP_PIN(0, 23),
2462};
2463static const unsigned int tpu0_to3_mux[] = {
2464 TPU0TO3_MARK,
2465};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002466/* - MMCIF0 ----------------------------------------------------------------- */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002467static const unsigned int mmc0_data1_pins[] = {
2468 /* D[0] */
2469 RCAR_GP_PIN(3, 18),
2470};
2471static const unsigned int mmc0_data1_mux[] = {
2472 MMC0_D0_MARK,
2473};
2474static const unsigned int mmc0_data4_pins[] = {
2475 /* D[0:3] */
2476 RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
2477 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
2478};
2479static const unsigned int mmc0_data4_mux[] = {
2480 MMC0_D0_MARK, MMC0_D1_MARK, MMC0_D2_MARK, MMC0_D3_MARK,
2481};
2482static const unsigned int mmc0_data8_pins[] = {
2483 /* D[0:7] */
2484 RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19),
2485 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
2486 RCAR_GP_PIN(3, 22), RCAR_GP_PIN(3, 23),
2487 RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7),
2488};
2489static const unsigned int mmc0_data8_mux[] = {
2490 MMC0_D0_MARK, MMC0_D1_MARK, MMC0_D2_MARK, MMC0_D3_MARK,
2491 MMC0_D4_MARK, MMC0_D5_MARK, MMC0_D6_MARK, MMC0_D7_MARK,
2492};
2493static const unsigned int mmc0_ctrl_pins[] = {
2494 /* CLK, CMD */
2495 RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17),
2496};
2497static const unsigned int mmc0_ctrl_mux[] = {
2498 MMC0_CLK_MARK, MMC0_CMD_MARK,
2499};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002500/* - MMCIF1 ----------------------------------------------------------------- */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002501static const unsigned int mmc1_data1_pins[] = {
2502 /* D[0] */
2503 RCAR_GP_PIN(3, 26),
2504};
2505static const unsigned int mmc1_data1_mux[] = {
2506 MMC1_D0_MARK,
2507};
2508static const unsigned int mmc1_data4_pins[] = {
2509 /* D[0:3] */
2510 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27),
2511 RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
2512};
2513static const unsigned int mmc1_data4_mux[] = {
2514 MMC1_D0_MARK, MMC1_D1_MARK, MMC1_D2_MARK, MMC1_D3_MARK,
2515};
2516static const unsigned int mmc1_data8_pins[] = {
2517 /* D[0:7] */
2518 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27),
2519 RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
2520 RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002521 RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 15),
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002522};
2523static const unsigned int mmc1_data8_mux[] = {
2524 MMC1_D0_MARK, MMC1_D1_MARK, MMC1_D2_MARK, MMC1_D3_MARK,
2525 MMC1_D4_MARK, MMC1_D5_MARK, MMC1_D6_MARK, MMC1_D7_MARK,
2526};
2527static const unsigned int mmc1_ctrl_pins[] = {
2528 /* CLK, CMD */
2529 RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 25),
2530};
2531static const unsigned int mmc1_ctrl_mux[] = {
2532 MMC1_CLK_MARK, MMC1_CMD_MARK,
2533};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002534/* - SDHI0 ------------------------------------------------------------------ */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002535static const unsigned int sdhi0_data1_pins[] = {
2536 /* D0 */
2537 RCAR_GP_PIN(3, 2),
2538};
2539static const unsigned int sdhi0_data1_mux[] = {
2540 SD0_DAT0_MARK,
2541};
2542static const unsigned int sdhi0_data4_pins[] = {
2543 /* D[0:3] */
2544 RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 5),
2545};
2546static const unsigned int sdhi0_data4_mux[] = {
2547 SD0_DAT0_MARK, SD0_DAT1_MARK, SD0_DAT2_MARK, SD0_DAT3_MARK,
2548};
2549static const unsigned int sdhi0_ctrl_pins[] = {
2550 /* CLK, CMD */
2551 RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1),
2552};
2553static const unsigned int sdhi0_ctrl_mux[] = {
2554 SD0_CLK_MARK, SD0_CMD_MARK,
2555};
2556static const unsigned int sdhi0_cd_pins[] = {
2557 /* CD */
2558 RCAR_GP_PIN(3, 6),
2559};
2560static const unsigned int sdhi0_cd_mux[] = {
2561 SD0_CD_MARK,
2562};
2563static const unsigned int sdhi0_wp_pins[] = {
2564 /* WP */
2565 RCAR_GP_PIN(3, 7),
2566};
2567static const unsigned int sdhi0_wp_mux[] = {
2568 SD0_WP_MARK,
2569};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002570/* - SDHI1 ------------------------------------------------------------------ */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002571static const unsigned int sdhi1_data1_pins[] = {
2572 /* D0 */
2573 RCAR_GP_PIN(3, 10),
2574};
2575static const unsigned int sdhi1_data1_mux[] = {
2576 SD1_DAT0_MARK,
2577};
2578static const unsigned int sdhi1_data4_pins[] = {
2579 /* D[0:3] */
2580 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 13),
2581};
2582static const unsigned int sdhi1_data4_mux[] = {
2583 SD1_DAT0_MARK, SD1_DAT1_MARK, SD1_DAT2_MARK, SD1_DAT3_MARK,
2584};
2585static const unsigned int sdhi1_ctrl_pins[] = {
2586 /* CLK, CMD */
2587 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9),
2588};
2589static const unsigned int sdhi1_ctrl_mux[] = {
2590 SD1_CLK_MARK, SD1_CMD_MARK,
2591};
2592static const unsigned int sdhi1_cd_pins[] = {
2593 /* CD */
2594 RCAR_GP_PIN(3, 14),
2595};
2596static const unsigned int sdhi1_cd_mux[] = {
2597 SD1_CD_MARK,
2598};
2599static const unsigned int sdhi1_wp_pins[] = {
2600 /* WP */
2601 RCAR_GP_PIN(3, 15),
2602};
2603static const unsigned int sdhi1_wp_mux[] = {
2604 SD1_WP_MARK,
2605};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002606/* - SDHI2 ------------------------------------------------------------------ */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002607static const unsigned int sdhi2_data1_pins[] = {
2608 /* D0 */
2609 RCAR_GP_PIN(3, 18),
2610};
2611static const unsigned int sdhi2_data1_mux[] = {
2612 SD2_DAT0_MARK,
2613};
2614static const unsigned int sdhi2_data4_pins[] = {
2615 /* D[0:3] */
2616 RCAR_GP_PIN(3, 18), RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
2617};
2618static const unsigned int sdhi2_data4_mux[] = {
2619 SD2_DAT0_MARK, SD2_DAT1_MARK, SD2_DAT2_MARK, SD2_DAT3_MARK,
2620};
2621static const unsigned int sdhi2_ctrl_pins[] = {
2622 /* CLK, CMD */
2623 RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17),
2624};
2625static const unsigned int sdhi2_ctrl_mux[] = {
2626 SD2_CLK_MARK, SD2_CMD_MARK,
2627};
2628static const unsigned int sdhi2_cd_pins[] = {
2629 /* CD */
2630 RCAR_GP_PIN(3, 22),
2631};
2632static const unsigned int sdhi2_cd_mux[] = {
2633 SD2_CD_MARK,
2634};
2635static const unsigned int sdhi2_wp_pins[] = {
2636 /* WP */
2637 RCAR_GP_PIN(3, 23),
2638};
2639static const unsigned int sdhi2_wp_mux[] = {
2640 SD2_WP_MARK,
2641};
Guennadi Liakhovetski0a6ea54f2013-06-11 11:42:17 +00002642/* - SDHI3 ------------------------------------------------------------------ */
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002643static const unsigned int sdhi3_data1_pins[] = {
2644 /* D0 */
2645 RCAR_GP_PIN(3, 26),
2646};
2647static const unsigned int sdhi3_data1_mux[] = {
2648 SD3_DAT0_MARK,
2649};
2650static const unsigned int sdhi3_data4_pins[] = {
2651 /* D[0:3] */
2652 RCAR_GP_PIN(3, 26), RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 29),
2653};
2654static const unsigned int sdhi3_data4_mux[] = {
2655 SD3_DAT0_MARK, SD3_DAT1_MARK, SD3_DAT2_MARK, SD3_DAT3_MARK,
2656};
2657static const unsigned int sdhi3_ctrl_pins[] = {
2658 /* CLK, CMD */
2659 RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 25),
2660};
2661static const unsigned int sdhi3_ctrl_mux[] = {
2662 SD3_CLK_MARK, SD3_CMD_MARK,
2663};
2664static const unsigned int sdhi3_cd_pins[] = {
2665 /* CD */
2666 RCAR_GP_PIN(3, 30),
2667};
2668static const unsigned int sdhi3_cd_mux[] = {
2669 SD3_CD_MARK,
2670};
2671static const unsigned int sdhi3_wp_pins[] = {
2672 /* WP */
2673 RCAR_GP_PIN(3, 31),
2674};
2675static const unsigned int sdhi3_wp_mux[] = {
2676 SD3_WP_MARK,
2677};
2678
Laurent Pinchart16277692013-04-08 11:36:14 +02002679static const struct sh_pfc_pin_group pinmux_groups[] = {
2680 SH_PFC_PIN_GROUP(eth_link),
2681 SH_PFC_PIN_GROUP(eth_magic),
2682 SH_PFC_PIN_GROUP(eth_mdio),
2683 SH_PFC_PIN_GROUP(eth_rmii),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002684 SH_PFC_PIN_GROUP(hscif0_data),
2685 SH_PFC_PIN_GROUP(hscif0_clk),
2686 SH_PFC_PIN_GROUP(hscif0_ctrl),
2687 SH_PFC_PIN_GROUP(hscif0_data_b),
2688 SH_PFC_PIN_GROUP(hscif0_ctrl_b),
2689 SH_PFC_PIN_GROUP(hscif0_data_c),
2690 SH_PFC_PIN_GROUP(hscif0_ctrl_c),
2691 SH_PFC_PIN_GROUP(hscif0_data_d),
2692 SH_PFC_PIN_GROUP(hscif0_ctrl_d),
2693 SH_PFC_PIN_GROUP(hscif0_data_e),
2694 SH_PFC_PIN_GROUP(hscif0_ctrl_e),
2695 SH_PFC_PIN_GROUP(hscif0_data_f),
2696 SH_PFC_PIN_GROUP(hscif0_ctrl_f),
2697 SH_PFC_PIN_GROUP(hscif1_data),
2698 SH_PFC_PIN_GROUP(hscif1_clk),
2699 SH_PFC_PIN_GROUP(hscif1_ctrl),
2700 SH_PFC_PIN_GROUP(hscif1_data_b),
2701 SH_PFC_PIN_GROUP(hscif1_clk_b),
2702 SH_PFC_PIN_GROUP(hscif1_ctrl_b),
Laurent Pinchart04e7ce72013-04-08 11:36:15 +02002703 SH_PFC_PIN_GROUP(intc_irq0),
2704 SH_PFC_PIN_GROUP(intc_irq1),
2705 SH_PFC_PIN_GROUP(intc_irq2),
2706 SH_PFC_PIN_GROUP(intc_irq3),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002707 SH_PFC_PIN_GROUP(mmc0_data1),
2708 SH_PFC_PIN_GROUP(mmc0_data4),
2709 SH_PFC_PIN_GROUP(mmc0_data8),
2710 SH_PFC_PIN_GROUP(mmc0_ctrl),
2711 SH_PFC_PIN_GROUP(mmc1_data1),
2712 SH_PFC_PIN_GROUP(mmc1_data4),
2713 SH_PFC_PIN_GROUP(mmc1_data8),
2714 SH_PFC_PIN_GROUP(mmc1_ctrl),
Laurent Pinchart45c6c852013-04-08 11:36:16 +02002715 SH_PFC_PIN_GROUP(scif0_data),
2716 SH_PFC_PIN_GROUP(scif0_clk),
2717 SH_PFC_PIN_GROUP(scif0_ctrl),
2718 SH_PFC_PIN_GROUP(scif0_data_b),
2719 SH_PFC_PIN_GROUP(scif1_data),
2720 SH_PFC_PIN_GROUP(scif1_clk),
2721 SH_PFC_PIN_GROUP(scif1_ctrl),
2722 SH_PFC_PIN_GROUP(scif1_data_b),
2723 SH_PFC_PIN_GROUP(scif1_data_c),
2724 SH_PFC_PIN_GROUP(scif1_data_d),
2725 SH_PFC_PIN_GROUP(scif1_clk_d),
2726 SH_PFC_PIN_GROUP(scif1_data_e),
2727 SH_PFC_PIN_GROUP(scif1_clk_e),
2728 SH_PFC_PIN_GROUP(scifa0_data),
2729 SH_PFC_PIN_GROUP(scifa0_clk),
2730 SH_PFC_PIN_GROUP(scifa0_ctrl),
2731 SH_PFC_PIN_GROUP(scifa0_data_b),
2732 SH_PFC_PIN_GROUP(scifa0_clk_b),
2733 SH_PFC_PIN_GROUP(scifa0_ctrl_b),
2734 SH_PFC_PIN_GROUP(scifa1_data),
2735 SH_PFC_PIN_GROUP(scifa1_clk),
2736 SH_PFC_PIN_GROUP(scifa1_ctrl),
2737 SH_PFC_PIN_GROUP(scifa1_data_b),
2738 SH_PFC_PIN_GROUP(scifa1_clk_b),
2739 SH_PFC_PIN_GROUP(scifa1_ctrl_b),
2740 SH_PFC_PIN_GROUP(scifa1_data_c),
2741 SH_PFC_PIN_GROUP(scifa1_clk_c),
2742 SH_PFC_PIN_GROUP(scifa1_ctrl_c),
2743 SH_PFC_PIN_GROUP(scifa1_data_d),
2744 SH_PFC_PIN_GROUP(scifa1_clk_d),
2745 SH_PFC_PIN_GROUP(scifa1_ctrl_d),
2746 SH_PFC_PIN_GROUP(scifa2_data),
2747 SH_PFC_PIN_GROUP(scifa2_clk),
2748 SH_PFC_PIN_GROUP(scifa2_ctrl),
2749 SH_PFC_PIN_GROUP(scifa2_data_b),
2750 SH_PFC_PIN_GROUP(scifa2_data_c),
2751 SH_PFC_PIN_GROUP(scifa2_clk_c),
2752 SH_PFC_PIN_GROUP(scifb0_data),
2753 SH_PFC_PIN_GROUP(scifb0_clk),
2754 SH_PFC_PIN_GROUP(scifb0_ctrl),
2755 SH_PFC_PIN_GROUP(scifb0_data_b),
2756 SH_PFC_PIN_GROUP(scifb0_clk_b),
2757 SH_PFC_PIN_GROUP(scifb0_ctrl_b),
2758 SH_PFC_PIN_GROUP(scifb0_data_c),
2759 SH_PFC_PIN_GROUP(scifb1_data),
2760 SH_PFC_PIN_GROUP(scifb1_clk),
2761 SH_PFC_PIN_GROUP(scifb1_ctrl),
2762 SH_PFC_PIN_GROUP(scifb1_data_b),
2763 SH_PFC_PIN_GROUP(scifb1_clk_b),
2764 SH_PFC_PIN_GROUP(scifb1_ctrl_b),
2765 SH_PFC_PIN_GROUP(scifb1_data_c),
2766 SH_PFC_PIN_GROUP(scifb1_data_d),
2767 SH_PFC_PIN_GROUP(scifb1_data_e),
2768 SH_PFC_PIN_GROUP(scifb1_clk_e),
2769 SH_PFC_PIN_GROUP(scifb1_data_f),
2770 SH_PFC_PIN_GROUP(scifb1_data_g),
2771 SH_PFC_PIN_GROUP(scifb1_clk_g),
2772 SH_PFC_PIN_GROUP(scifb2_data),
2773 SH_PFC_PIN_GROUP(scifb2_clk),
2774 SH_PFC_PIN_GROUP(scifb2_ctrl),
2775 SH_PFC_PIN_GROUP(scifb2_data_b),
2776 SH_PFC_PIN_GROUP(scifb2_clk_b),
2777 SH_PFC_PIN_GROUP(scifb2_ctrl_b),
2778 SH_PFC_PIN_GROUP(scifb2_data_c),
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002779 SH_PFC_PIN_GROUP(sdhi0_data1),
2780 SH_PFC_PIN_GROUP(sdhi0_data4),
2781 SH_PFC_PIN_GROUP(sdhi0_ctrl),
2782 SH_PFC_PIN_GROUP(sdhi0_cd),
2783 SH_PFC_PIN_GROUP(sdhi0_wp),
2784 SH_PFC_PIN_GROUP(sdhi1_data1),
2785 SH_PFC_PIN_GROUP(sdhi1_data4),
2786 SH_PFC_PIN_GROUP(sdhi1_ctrl),
2787 SH_PFC_PIN_GROUP(sdhi1_cd),
2788 SH_PFC_PIN_GROUP(sdhi1_wp),
2789 SH_PFC_PIN_GROUP(sdhi2_data1),
2790 SH_PFC_PIN_GROUP(sdhi2_data4),
2791 SH_PFC_PIN_GROUP(sdhi2_ctrl),
2792 SH_PFC_PIN_GROUP(sdhi2_cd),
2793 SH_PFC_PIN_GROUP(sdhi2_wp),
2794 SH_PFC_PIN_GROUP(sdhi3_data1),
2795 SH_PFC_PIN_GROUP(sdhi3_data4),
2796 SH_PFC_PIN_GROUP(sdhi3_ctrl),
2797 SH_PFC_PIN_GROUP(sdhi3_cd),
2798 SH_PFC_PIN_GROUP(sdhi3_wp),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002799 SH_PFC_PIN_GROUP(tpu0_to0),
2800 SH_PFC_PIN_GROUP(tpu0_to1),
2801 SH_PFC_PIN_GROUP(tpu0_to2),
2802 SH_PFC_PIN_GROUP(tpu0_to3),
Laurent Pinchart16277692013-04-08 11:36:14 +02002803};
2804
2805static const char * const eth_groups[] = {
2806 "eth_link",
2807 "eth_magic",
2808 "eth_mdio",
2809 "eth_rmii",
2810};
2811
Laurent Pinchart04e7ce72013-04-08 11:36:15 +02002812static const char * const intc_groups[] = {
2813 "intc_irq0",
2814 "intc_irq1",
2815 "intc_irq2",
2816 "intc_irq3",
2817};
Laurent Pinchart45c6c852013-04-08 11:36:16 +02002818
2819static const char * const scif0_groups[] = {
2820 "scif0_data",
2821 "scif0_clk",
2822 "scif0_ctrl",
2823 "scif0_data_b",
2824};
2825
2826static const char * const scif1_groups[] = {
2827 "scif1_data",
2828 "scif1_clk",
2829 "scif1_ctrl",
2830 "scif1_data_b",
2831 "scif1_data_c",
2832 "scif1_data_d",
2833 "scif1_clk_d",
2834 "scif1_data_e",
2835 "scif1_clk_e",
2836};
2837
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002838static const char * const hscif0_groups[] = {
2839 "hscif0_data",
2840 "hscif0_clk",
2841 "hscif0_ctrl",
2842 "hscif0_data_b",
2843 "hscif0_ctrl_b",
2844 "hscif0_data_c",
2845 "hscif0_ctrl_c",
2846 "hscif0_data_d",
2847 "hscif0_ctrl_d",
2848 "hscif0_data_e",
2849 "hscif0_ctrl_e",
2850 "hscif0_data_f",
2851 "hscif0_ctrl_f",
2852};
2853
2854static const char * const hscif1_groups[] = {
2855 "hscif1_data",
2856 "hscif1_clk",
2857 "hscif1_ctrl",
2858 "hscif1_data_b",
2859 "hscif1_clk_b",
2860 "hscif1_ctrl_b",
2861};
2862
Laurent Pinchart45c6c852013-04-08 11:36:16 +02002863static const char * const scifa0_groups[] = {
2864 "scifa0_data",
2865 "scifa0_clk",
2866 "scifa0_ctrl",
2867 "scifa0_data_b",
2868 "scifa0_clk_b",
2869 "scifa0_ctrl_b",
2870};
2871
2872static const char * const scifa1_groups[] = {
2873 "scifa1_data",
2874 "scifa1_clk",
2875 "scifa1_ctrl",
2876 "scifa1_data_b",
2877 "scifa1_clk_b",
2878 "scifa1_ctrl_b",
2879 "scifa1_data_c",
2880 "scifa1_clk_c",
2881 "scifa1_ctrl_c",
2882 "scifa1_data_d",
2883 "scifa1_clk_d",
2884 "scifa1_ctrl_d",
2885};
2886
2887static const char * const scifa2_groups[] = {
2888 "scifa2_data",
2889 "scifa2_clk",
2890 "scifa2_ctrl",
2891 "scifa2_data_b",
2892 "scifa2_data_c",
2893 "scifa2_clk_c",
2894};
2895
2896static const char * const scifb0_groups[] = {
2897 "scifb0_data",
2898 "scifb0_clk",
2899 "scifb0_ctrl",
2900 "scifb0_data_b",
2901 "scifb0_clk_b",
2902 "scifb0_ctrl_b",
2903 "scifb0_data_c",
2904};
2905
2906static const char * const scifb1_groups[] = {
2907 "scifb1_data",
2908 "scifb1_clk",
2909 "scifb1_ctrl",
2910 "scifb1_data_b",
2911 "scifb1_clk_b",
2912 "scifb1_ctrl_b",
2913 "scifb1_data_c",
2914 "scifb1_data_d",
2915 "scifb1_data_e",
2916 "scifb1_clk_e",
2917 "scifb1_data_f",
2918 "scifb1_data_g",
2919 "scifb1_clk_g",
2920};
2921
2922static const char * const scifb2_groups[] = {
2923 "scifb2_data",
2924 "scifb2_clk",
2925 "scifb2_ctrl",
2926 "scifb2_data_b",
2927 "scifb2_clk_b",
2928 "scifb2_ctrl_b",
2929 "scifb2_data_c",
2930};
2931
Laurent Pinchart682e05a2013-04-24 13:20:17 +02002932static const char * const tpu0_groups[] = {
2933 "tpu0_to0",
2934 "tpu0_to1",
2935 "tpu0_to2",
2936 "tpu0_to3",
2937};
2938
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02002939static const char * const mmc0_groups[] = {
2940 "mmc0_data1",
2941 "mmc0_data4",
2942 "mmc0_data8",
2943 "mmc0_ctrl",
2944};
2945
2946static const char * const mmc1_groups[] = {
2947 "mmc1_data1",
2948 "mmc1_data4",
2949 "mmc1_data8",
2950 "mmc1_ctrl",
2951};
2952
2953static const char * const sdhi0_groups[] = {
2954 "sdhi0_data1",
2955 "sdhi0_data4",
2956 "sdhi0_ctrl",
2957 "sdhi0_cd",
2958 "sdhi0_wp",
2959};
2960
2961static const char * const sdhi1_groups[] = {
2962 "sdhi1_data1",
2963 "sdhi1_data4",
2964 "sdhi1_ctrl",
2965 "sdhi1_cd",
2966 "sdhi1_wp",
2967};
2968
2969static const char * const sdhi2_groups[] = {
2970 "sdhi2_data1",
2971 "sdhi2_data4",
2972 "sdhi2_ctrl",
2973 "sdhi2_cd",
2974 "sdhi2_wp",
2975};
2976
2977static const char * const sdhi3_groups[] = {
2978 "sdhi3_data1",
2979 "sdhi3_data4",
2980 "sdhi3_ctrl",
2981 "sdhi3_cd",
2982 "sdhi3_wp",
2983};
2984
Laurent Pinchart16277692013-04-08 11:36:14 +02002985static const struct sh_pfc_function pinmux_functions[] = {
2986 SH_PFC_FUNCTION(eth),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002987 SH_PFC_FUNCTION(hscif0),
2988 SH_PFC_FUNCTION(hscif1),
Laurent Pinchart04e7ce72013-04-08 11:36:15 +02002989 SH_PFC_FUNCTION(intc),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00002990 SH_PFC_FUNCTION(mmc0),
2991 SH_PFC_FUNCTION(mmc1),
Laurent Pinchart45c6c852013-04-08 11:36:16 +02002992 SH_PFC_FUNCTION(scif0),
2993 SH_PFC_FUNCTION(scif1),
2994 SH_PFC_FUNCTION(scifa0),
2995 SH_PFC_FUNCTION(scifa1),
2996 SH_PFC_FUNCTION(scifa2),
2997 SH_PFC_FUNCTION(scifb0),
2998 SH_PFC_FUNCTION(scifb1),
2999 SH_PFC_FUNCTION(scifb2),
Guennadi Liakhovetski066f0d62013-05-17 16:55:12 +02003000 SH_PFC_FUNCTION(sdhi0),
3001 SH_PFC_FUNCTION(sdhi1),
3002 SH_PFC_FUNCTION(sdhi2),
3003 SH_PFC_FUNCTION(sdhi3),
Ulrich Hechtfbd0ca32013-05-31 15:57:03 +00003004 SH_PFC_FUNCTION(tpu0),
Laurent Pinchart16277692013-04-08 11:36:14 +02003005};
3006
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003007static struct pinmux_cfg_reg pinmux_config_regs[] = {
3008 { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
3009 GP_0_31_FN, FN_IP3_17_15,
3010 GP_0_30_FN, FN_IP3_14_12,
3011 GP_0_29_FN, FN_IP3_11_8,
3012 GP_0_28_FN, FN_IP3_7_4,
3013 GP_0_27_FN, FN_IP3_3_0,
3014 GP_0_26_FN, FN_IP2_28_26,
3015 GP_0_25_FN, FN_IP2_25_22,
3016 GP_0_24_FN, FN_IP2_21_18,
3017 GP_0_23_FN, FN_IP2_17_15,
3018 GP_0_22_FN, FN_IP2_14_12,
3019 GP_0_21_FN, FN_IP2_11_9,
3020 GP_0_20_FN, FN_IP2_8_6,
3021 GP_0_19_FN, FN_IP2_5_3,
3022 GP_0_18_FN, FN_IP2_2_0,
3023 GP_0_17_FN, FN_IP1_29_28,
3024 GP_0_16_FN, FN_IP1_27_26,
3025 GP_0_15_FN, FN_IP1_25_22,
3026 GP_0_14_FN, FN_IP1_21_18,
3027 GP_0_13_FN, FN_IP1_17_15,
3028 GP_0_12_FN, FN_IP1_14_12,
3029 GP_0_11_FN, FN_IP1_11_8,
3030 GP_0_10_FN, FN_IP1_7_4,
3031 GP_0_9_FN, FN_IP1_3_0,
3032 GP_0_8_FN, FN_IP0_30_27,
3033 GP_0_7_FN, FN_IP0_26_23,
3034 GP_0_6_FN, FN_IP0_22_20,
3035 GP_0_5_FN, FN_IP0_19_16,
3036 GP_0_4_FN, FN_IP0_15_12,
3037 GP_0_3_FN, FN_IP0_11_9,
3038 GP_0_2_FN, FN_IP0_8_6,
3039 GP_0_1_FN, FN_IP0_5_3,
3040 GP_0_0_FN, FN_IP0_2_0 }
3041 },
3042 { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
3043 0, 0,
3044 0, 0,
3045 GP_1_29_FN, FN_IP6_13_11,
3046 GP_1_28_FN, FN_IP6_10_9,
3047 GP_1_27_FN, FN_IP6_8_6,
3048 GP_1_26_FN, FN_IP6_5_3,
3049 GP_1_25_FN, FN_IP6_2_0,
3050 GP_1_24_FN, FN_IP5_29_27,
3051 GP_1_23_FN, FN_IP5_26_24,
3052 GP_1_22_FN, FN_IP5_23_21,
3053 GP_1_21_FN, FN_IP5_20_18,
3054 GP_1_20_FN, FN_IP5_17_15,
3055 GP_1_19_FN, FN_IP5_14_13,
3056 GP_1_18_FN, FN_IP5_12_10,
3057 GP_1_17_FN, FN_IP5_9_6,
3058 GP_1_16_FN, FN_IP5_5_3,
3059 GP_1_15_FN, FN_IP5_2_0,
3060 GP_1_14_FN, FN_IP4_29_27,
3061 GP_1_13_FN, FN_IP4_26_24,
3062 GP_1_12_FN, FN_IP4_23_21,
3063 GP_1_11_FN, FN_IP4_20_18,
3064 GP_1_10_FN, FN_IP4_17_15,
3065 GP_1_9_FN, FN_IP4_14_12,
3066 GP_1_8_FN, FN_IP4_11_9,
3067 GP_1_7_FN, FN_IP4_8_6,
3068 GP_1_6_FN, FN_IP4_5_3,
3069 GP_1_5_FN, FN_IP4_2_0,
3070 GP_1_4_FN, FN_IP3_31_29,
3071 GP_1_3_FN, FN_IP3_28_26,
3072 GP_1_2_FN, FN_IP3_25_23,
3073 GP_1_1_FN, FN_IP3_22_20,
3074 GP_1_0_FN, FN_IP3_19_18, }
3075 },
3076 { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
3077 0, 0,
3078 0, 0,
3079 GP_2_29_FN, FN_IP7_15_13,
3080 GP_2_28_FN, FN_IP7_12_10,
3081 GP_2_27_FN, FN_IP7_9_8,
3082 GP_2_26_FN, FN_IP7_7_6,
3083 GP_2_25_FN, FN_IP7_5_3,
3084 GP_2_24_FN, FN_IP7_2_0,
3085 GP_2_23_FN, FN_IP6_31_29,
3086 GP_2_22_FN, FN_IP6_28_26,
3087 GP_2_21_FN, FN_IP6_25_23,
3088 GP_2_20_FN, FN_IP6_22_20,
3089 GP_2_19_FN, FN_IP6_19_17,
3090 GP_2_18_FN, FN_IP6_16_14,
3091 GP_2_17_FN, FN_VI1_DATA7_VI1_B7,
3092 GP_2_16_FN, FN_IP8_27,
3093 GP_2_15_FN, FN_IP8_26,
3094 GP_2_14_FN, FN_IP8_25_24,
3095 GP_2_13_FN, FN_IP8_23_22,
3096 GP_2_12_FN, FN_IP8_21_20,
3097 GP_2_11_FN, FN_IP8_19_18,
3098 GP_2_10_FN, FN_IP8_17_16,
3099 GP_2_9_FN, FN_IP8_15_14,
3100 GP_2_8_FN, FN_IP8_13_12,
3101 GP_2_7_FN, FN_IP8_11_10,
3102 GP_2_6_FN, FN_IP8_9_8,
3103 GP_2_5_FN, FN_IP8_7_6,
3104 GP_2_4_FN, FN_IP8_5_4,
3105 GP_2_3_FN, FN_IP8_3_2,
3106 GP_2_2_FN, FN_IP8_1_0,
3107 GP_2_1_FN, FN_IP7_30_29,
3108 GP_2_0_FN, FN_IP7_28_27 }
3109 },
3110 { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
3111 GP_3_31_FN, FN_IP11_21_18,
3112 GP_3_30_FN, FN_IP11_17_15,
3113 GP_3_29_FN, FN_IP11_14_13,
3114 GP_3_28_FN, FN_IP11_12_11,
3115 GP_3_27_FN, FN_IP11_10_9,
3116 GP_3_26_FN, FN_IP11_8_7,
3117 GP_3_25_FN, FN_IP11_6_5,
3118 GP_3_24_FN, FN_IP11_4,
3119 GP_3_23_FN, FN_IP11_3_0,
3120 GP_3_22_FN, FN_IP10_29_26,
3121 GP_3_21_FN, FN_IP10_25_23,
3122 GP_3_20_FN, FN_IP10_22_19,
3123 GP_3_19_FN, FN_IP10_18_15,
3124 GP_3_18_FN, FN_IP10_14_11,
3125 GP_3_17_FN, FN_IP10_10_7,
3126 GP_3_16_FN, FN_IP10_6_4,
3127 GP_3_15_FN, FN_IP10_3_0,
3128 GP_3_14_FN, FN_IP9_31_28,
3129 GP_3_13_FN, FN_IP9_27_26,
3130 GP_3_12_FN, FN_IP9_25_24,
3131 GP_3_11_FN, FN_IP9_23_22,
3132 GP_3_10_FN, FN_IP9_21_20,
3133 GP_3_9_FN, FN_IP9_19_18,
3134 GP_3_8_FN, FN_IP9_17_16,
3135 GP_3_7_FN, FN_IP9_15_12,
3136 GP_3_6_FN, FN_IP9_11_8,
3137 GP_3_5_FN, FN_IP9_7_6,
3138 GP_3_4_FN, FN_IP9_5_4,
3139 GP_3_3_FN, FN_IP9_3_2,
3140 GP_3_2_FN, FN_IP9_1_0,
3141 GP_3_1_FN, FN_IP8_30_29,
3142 GP_3_0_FN, FN_IP8_28 }
3143 },
3144 { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
3145 GP_4_31_FN, FN_IP14_18_16,
3146 GP_4_30_FN, FN_IP14_15_12,
3147 GP_4_29_FN, FN_IP14_11_9,
3148 GP_4_28_FN, FN_IP14_8_6,
3149 GP_4_27_FN, FN_IP14_5_3,
3150 GP_4_26_FN, FN_IP14_2_0,
3151 GP_4_25_FN, FN_IP13_30_29,
3152 GP_4_24_FN, FN_IP13_28_26,
3153 GP_4_23_FN, FN_IP13_25_23,
3154 GP_4_22_FN, FN_IP13_22_19,
3155 GP_4_21_FN, FN_IP13_18_16,
3156 GP_4_20_FN, FN_IP13_15_13,
3157 GP_4_19_FN, FN_IP13_12_10,
3158 GP_4_18_FN, FN_IP13_9_7,
3159 GP_4_17_FN, FN_IP13_6_3,
3160 GP_4_16_FN, FN_IP13_2_0,
3161 GP_4_15_FN, FN_IP12_30_28,
3162 GP_4_14_FN, FN_IP12_27_25,
3163 GP_4_13_FN, FN_IP12_24_23,
3164 GP_4_12_FN, FN_IP12_22_20,
3165 GP_4_11_FN, FN_IP12_19_17,
3166 GP_4_10_FN, FN_IP12_16_14,
3167 GP_4_9_FN, FN_IP12_13_11,
3168 GP_4_8_FN, FN_IP12_10_8,
3169 GP_4_7_FN, FN_IP12_7_6,
3170 GP_4_6_FN, FN_IP12_5_4,
3171 GP_4_5_FN, FN_IP12_3_2,
3172 GP_4_4_FN, FN_IP12_1_0,
3173 GP_4_3_FN, FN_IP11_31_30,
3174 GP_4_2_FN, FN_IP11_29_27,
3175 GP_4_1_FN, FN_IP11_26_24,
3176 GP_4_0_FN, FN_IP11_23_22 }
3177 },
3178 { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
3179 GP_5_31_FN, FN_IP7_24_22,
3180 GP_5_30_FN, FN_IP7_21_19,
3181 GP_5_29_FN, FN_IP7_18_16,
3182 GP_5_28_FN, FN_DU_DOTCLKIN2,
3183 GP_5_27_FN, FN_IP7_26_25,
3184 GP_5_26_FN, FN_DU_DOTCLKIN0,
3185 GP_5_25_FN, FN_AVS2,
3186 GP_5_24_FN, FN_AVS1,
3187 GP_5_23_FN, FN_USB2_OVC,
3188 GP_5_22_FN, FN_USB2_PWEN,
3189 GP_5_21_FN, FN_IP16_7,
3190 GP_5_20_FN, FN_IP16_6,
3191 GP_5_19_FN, FN_USB0_OVC_VBUS,
3192 GP_5_18_FN, FN_USB0_PWEN,
3193 GP_5_17_FN, FN_IP16_5_3,
3194 GP_5_16_FN, FN_IP16_2_0,
3195 GP_5_15_FN, FN_IP15_29_28,
3196 GP_5_14_FN, FN_IP15_27_26,
3197 GP_5_13_FN, FN_IP15_25_23,
3198 GP_5_12_FN, FN_IP15_22_20,
3199 GP_5_11_FN, FN_IP15_19_18,
3200 GP_5_10_FN, FN_IP15_17_16,
3201 GP_5_9_FN, FN_IP15_15_14,
3202 GP_5_8_FN, FN_IP15_13_12,
3203 GP_5_7_FN, FN_IP15_11_9,
3204 GP_5_6_FN, FN_IP15_8_6,
3205 GP_5_5_FN, FN_IP15_5_3,
3206 GP_5_4_FN, FN_IP15_2_0,
3207 GP_5_3_FN, FN_IP14_30_28,
3208 GP_5_2_FN, FN_IP14_27_25,
3209 GP_5_1_FN, FN_IP14_24_22,
3210 GP_5_0_FN, FN_IP14_21_19 }
3211 },
3212 { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
3213 1, 4, 4, 3, 4, 4, 3, 3, 3, 3) {
3214 /* IP0_31 [1] */
3215 0, 0,
3216 /* IP0_30_27 [4] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003217 FN_D8, FN_SCIFA1_SCK_C, FN_AVB_TXD0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003218 FN_VI0_G0, FN_VI0_G0_B, FN_VI2_DATA0_VI2_B0,
3219 0, 0, 0, 0, 0, 0, 0, 0, 0,
3220 /* IP0_26_23 [4] */
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003221 FN_D7, FN_AD_DI_B, FN_IIC2_SDA_C,
3222 FN_VI3_DATA7, FN_VI0_R3, FN_VI0_R3_B, FN_I2C2_SDA_C,
Shinya Kuribayashi05bcb072013-05-24 16:31:32 +09003223 FN_TCLK1, 0, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003224 /* IP0_22_20 [3] */
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003225 FN_D6, FN_IIC2_SCL_C, FN_VI3_DATA6, FN_VI0_R2, FN_VI0_R2_B,
3226 FN_I2C2_SCL_C, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003227 /* IP0_19_16 [4] */
3228 FN_D5, FN_SCIFB1_TXD_F, FN_SCIFB0_TXD_C, FN_VI3_DATA5,
3229 FN_VI0_R1, FN_VI0_R1_B, FN_TX0_B,
3230 0, 0, 0, 0, 0, 0, 0, 0, 0,
3231 /* IP0_15_12 [4] */
3232 FN_D4, FN_SCIFB1_RXD_F, FN_SCIFB0_RXD_C, FN_VI3_DATA4,
3233 FN_VI0_R0, FN_VI0_R0_B, FN_RX0_B,
3234 0, 0, 0, 0, 0, 0, 0, 0, 0,
3235 /* IP0_11_9 [3] */
3236 FN_D3, FN_MSIOF3_TXD_B, FN_VI3_DATA3, FN_VI0_G7, FN_VI0_G7_B,
3237 0, 0, 0,
3238 /* IP0_8_6 [3] */
3239 FN_D2, FN_MSIOF3_RXD_B, FN_VI3_DATA2, FN_VI0_G6, FN_VI0_G6_B,
3240 0, 0, 0,
3241 /* IP0_5_3 [3] */
3242 FN_D1, FN_MSIOF3_SYNC_B, FN_VI3_DATA1, FN_VI0_G5, FN_VI0_G5_B,
3243 0, 0, 0,
3244 /* IP0_2_0 [3] */
3245 FN_D0, FN_MSIOF3_SCK_B, FN_VI3_DATA0, FN_VI0_G4, FN_VI0_G4_B,
3246 0, 0, 0, }
3247 },
3248 { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
3249 2, 2, 2, 4, 4, 3, 3, 4, 4, 4) {
3250 /* IP1_31_30 [2] */
3251 0, 0, 0, 0,
3252 /* IP1_29_28 [2] */
3253 FN_A1, FN_PWM4, 0, 0,
3254 /* IP1_27_26 [2] */
3255 FN_A0, FN_PWM3, 0, 0,
3256 /* IP1_25_22 [4] */
3257 FN_D15, FN_SCIFB1_TXD_C, FN_AVB_TXD7, FN_TX1_B,
3258 FN_VI0_FIELD, FN_VI0_FIELD_B, FN_VI2_DATA7_VI2_B7,
3259 0, 0, 0, 0, 0, 0, 0, 0, 0,
3260 /* IP1_21_18 [4] */
3261 FN_D14, FN_SCIFB1_RXD_C, FN_AVB_TXD6, FN_RX1_B,
3262 FN_VI0_CLKENB, FN_VI0_CLKENB_B, FN_VI2_DATA6_VI2_B6,
3263 0, 0, 0, 0, 0, 0, 0, 0, 0,
3264 /* IP1_17_15 [3] */
3265 FN_D13, FN_AVB_TXD5, FN_VI0_VSYNC_N,
3266 FN_VI0_VSYNC_N_B, FN_VI2_DATA5_VI2_B5,
3267 0, 0, 0,
3268 /* IP1_14_12 [3] */
3269 FN_D12, FN_SCIFA1_RTS_N_C, FN_AVB_TXD4,
3270 FN_VI0_HSYNC_N, FN_VI0_HSYNC_N_B, FN_VI2_DATA4_VI2_B4,
3271 0, 0,
3272 /* IP1_11_8 [4] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003273 FN_D11, FN_SCIFA1_CTS_N_C, FN_AVB_TXD3, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003274 FN_VI0_G3, FN_VI0_G3_B, FN_VI2_DATA3_VI2_B3,
3275 0, 0, 0, 0, 0, 0, 0, 0, 0,
3276 /* IP1_7_4 [4] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003277 FN_D10, FN_SCIFA1_TXD_C, FN_AVB_TXD2, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003278 FN_VI0_G2, FN_VI0_G2_B, FN_VI2_DATA2_VI2_B2,
3279 0, 0, 0, 0, 0, 0, 0, 0, 0,
3280 /* IP1_3_0 [4] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003281 FN_D9, FN_SCIFA1_RXD_C, FN_AVB_TXD1, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003282 FN_VI0_G1, FN_VI0_G1_B, FN_VI2_DATA1_VI2_B1,
3283 0, 0, 0, 0, 0, 0, 0, 0, 0, }
3284 },
3285 { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
3286 3, 3, 4, 4, 3, 3, 3, 3, 3, 3) {
3287 /* IP2_31_29 [3] */
3288 0, 0, 0, 0, 0, 0, 0, 0,
3289 /* IP2_28_26 [3] */
3290 FN_A10, FN_SSI_SDATA5_B, FN_MSIOF2_SYNC, FN_VI0_R6,
3291 FN_VI0_R6_B, FN_VI2_DATA2_VI2_B2_B, 0, 0,
3292 /* IP2_25_22 [4] */
3293 FN_A9, FN_SCIFA1_CTS_N_B, FN_SSI_WS5_B, FN_VI0_R5,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003294 FN_VI0_R5_B, FN_SCIFB2_TXD_C, FN_TX2_B, FN_VI2_DATA1_VI2_B1_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003295 0, 0, 0, 0, 0, 0, 0, 0,
3296 /* IP2_21_18 [4] */
3297 FN_A8, FN_SCIFA1_RXD_B, FN_SSI_SCK5_B, FN_VI0_R4,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003298 FN_VI0_R4_B, FN_SCIFB2_RXD_C, FN_RX2_B, FN_VI2_DATA0_VI2_B0_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003299 0, 0, 0, 0, 0, 0, 0, 0,
3300 /* IP2_17_15 [3] */
3301 FN_A7, FN_SCIFA1_SCK_B, FN_AUDIO_CLKOUT_B, FN_TPU0TO3,
3302 0, 0, 0, 0,
3303 /* IP2_14_12 [3] */
3304 FN_A6, FN_SCIFA1_RTS_N_B, FN_TPU0TO2, 0, 0, 0, 0, 0,
3305 /* IP2_11_9 [3] */
3306 FN_A5, FN_SCIFA1_TXD_B, FN_TPU0TO1, 0, 0, 0, 0, 0,
3307 /* IP2_8_6 [3] */
3308 FN_A4, FN_MSIOF1_TXD_B, FN_TPU0TO0, 0, 0, 0, 0, 0,
3309 /* IP2_5_3 [3] */
3310 FN_A3, FN_PWM6, FN_MSIOF1_SS2_B, 0, 0, 0, 0, 0,
3311 /* IP2_2_0 [3] */
3312 FN_A2, FN_PWM5, FN_MSIOF1_SS1_B, 0, 0, 0, 0, 0, }
3313 },
3314 { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
3315 3, 3, 3, 3, 2, 3, 3, 4, 4, 4) {
3316 /* IP3_31_29 [3] */
3317 FN_A20, FN_SPCLK, FN_VI1_R3, FN_VI1_R3_B, FN_VI2_G4,
3318 0, 0, 0,
3319 /* IP3_28_26 [3] */
3320 FN_A19, FN_AD_NCS_N_B, FN_ATACS01_N, FN_EX_WAIT0_B,
3321 0, 0, 0, 0,
3322 /* IP3_25_23 [3] */
3323 FN_A18, FN_AD_CLK_B, FN_ATAG1_N, 0, 0, 0, 0, 0,
3324 /* IP3_22_20 [3] */
3325 FN_A17, FN_AD_DO_B, FN_ATADIR1_N, 0, 0, 0, 0, 0,
3326 /* IP3_19_18 [2] */
3327 FN_A16, FN_ATAWR1_N, 0, 0,
3328 /* IP3_17_15 [3] */
3329 FN_A15, FN_SCIFB2_SCK_B, FN_ATARD1_N, FN_MSIOF2_SS2,
3330 0, 0, 0, 0,
3331 /* IP3_14_12 [3] */
3332 FN_A14, FN_SCIFB2_TXD_B, FN_ATACS11_N, FN_MSIOF2_SS1,
3333 0, 0, 0, 0,
3334 /* IP3_11_8 [4] */
3335 FN_A13, FN_SCIFB2_RTS_N_B, FN_EX_WAIT2,
3336 FN_MSIOF2_RXD, FN_VI1_R2, FN_VI1_R2_B, FN_VI2_G2,
3337 FN_VI2_DATA5_VI2_B5_B, 0, 0, 0, 0, 0, 0, 0, 0,
3338 /* IP3_7_4 [4] */
3339 FN_A12, FN_SCIFB2_RXD_B, FN_MSIOF2_TXD, FN_VI1_R1,
3340 FN_VI1_R1_B, FN_VI2_G1, FN_VI2_DATA4_VI2_B4_B,
3341 0, 0, 0, 0, 0, 0, 0, 0, 0,
3342 /* IP3_3_0 [4] */
3343 FN_A11, FN_SCIFB2_CTS_N_B, FN_MSIOF2_SCK, FN_VI1_R0,
3344 FN_VI1_R0_B, FN_VI2_G0, FN_VI2_DATA3_VI2_B3_B, 0,
3345 0, 0, 0, 0, 0, 0, 0, 0, }
3346 },
3347 { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
3348 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
3349 /* IP4_31_30 [2] */
3350 0, 0, 0, 0,
3351 /* IP4_29_27 [3] */
3352 FN_EX_CS2_N, FN_GPS_SIGN, FN_HRTS1_N_B,
3353 FN_VI3_CLKENB, FN_VI1_G0, FN_VI1_G0_B, FN_VI2_R2, 0,
3354 /* IP4_26_24 [3] */
3355 FN_EX_CS1_N, FN_GPS_CLK, FN_HCTS1_N_B, FN_VI1_FIELD,
3356 FN_VI1_FIELD_B, FN_VI2_R1, 0, 0,
3357 /* IP4_23_21 [3] */
3358 FN_EX_CS0_N, FN_HRX1_B, FN_VI1_G5, FN_VI1_G5_B, FN_VI2_R0,
3359 FN_HTX0_B, FN_MSIOF0_SS1_B, 0,
3360 /* IP4_20_18 [3] */
3361 FN_CS1_N_A26, FN_SPEEDIN, FN_VI0_R7, FN_VI0_R7_B,
3362 FN_VI2_CLK, FN_VI2_CLK_B, 0, 0,
3363 /* IP4_17_15 [3] */
3364 FN_CS0_N, FN_VI1_R6, FN_VI1_R6_B, FN_VI2_G3, FN_MSIOF0_SS2_B,
3365 0, 0, 0,
3366 /* IP4_14_12 [3] */
3367 FN_A25, FN_SSL, FN_VI1_G6, FN_VI1_G6_B, FN_VI2_FIELD,
3368 FN_VI2_FIELD_B, 0, 0,
3369 /* IP4_11_9 [3] */
3370 FN_A24, FN_IO3, FN_VI1_R7, FN_VI1_R7_B, FN_VI2_CLKENB,
3371 FN_VI2_CLKENB_B, 0, 0,
3372 /* IP4_8_6 [3] */
3373 FN_A23, FN_IO2, FN_VI1_G7, FN_VI1_G7_B, FN_VI2_G7, 0, 0, 0,
3374 /* IP4_5_3 [3] */
3375 FN_A22, FN_MISO_IO1, FN_VI1_R5, FN_VI1_R5_B, FN_VI2_G6, 0, 0, 0,
3376 /* IP4_2_0 [3] */
3377 FN_A21, FN_MOSI_IO0, FN_VI1_R4, FN_VI1_R4_B, FN_VI2_G5, 0, 0, 0,
3378 }
3379 },
3380 { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
3381 2, 3, 3, 3, 3, 3, 2, 3, 4, 3, 3) {
3382 /* IP5_31_30 [2] */
3383 0, 0, 0, 0,
3384 /* IP5_29_27 [3] */
3385 FN_DREQ0_N, FN_VI1_HSYNC_N, FN_VI1_HSYNC_N_B, FN_VI2_R7,
3386 FN_SSI_SCK78_C, FN_SSI_WS78_B, 0, 0,
3387 /* IP5_26_24 [3] */
3388 FN_EX_WAIT0, FN_IRQ3, FN_INTC_IRQ3_N,
3389 FN_VI3_CLK, FN_SCIFA0_RTS_N_B, FN_HRX0_B,
3390 FN_MSIOF0_SCK_B, 0,
3391 /* IP5_23_21 [3] */
3392 FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
3393 FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B,
3394 FN_IERX_C, 0,
3395 /* IP5_20_18 [3] */
3396 FN_WE0_N, FN_IECLK, FN_CAN_CLK,
3397 FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B, 0, 0,
3398 /* IP5_17_15 [3] */
3399 FN_RD_WR_N, FN_VI1_G3, FN_VI1_G3_B, FN_VI2_R5, FN_SCIFA0_RXD_B,
3400 FN_INTC_IRQ4_N, 0, 0,
3401 /* IP5_14_13 [2] */
3402 FN_RD_N, FN_CAN0_TX, FN_SCIFA0_SCK_B, 0,
3403 /* IP5_12_10 [3] */
3404 FN_BS_N, FN_IETX, FN_HTX1_B, FN_CAN1_TX, FN_DRACK0, FN_IETX_C,
3405 0, 0,
3406 /* IP5_9_6 [4] */
3407 FN_EX_CS5_N, FN_CAN0_RX, FN_MSIOF1_RXD_B, FN_VI3_VSYNC_N,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003408 FN_VI1_G2, FN_VI1_G2_B, FN_VI2_R4, FN_IIC1_SDA, FN_INTC_EN1_N,
3409 FN_I2C1_SDA, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003410 /* IP5_5_3 [3] */
3411 FN_EX_CS4_N, FN_MSIOF1_SCK_B, FN_VI3_HSYNC_N,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003412 FN_VI2_HSYNC_N, FN_IIC1_SCL, FN_VI2_HSYNC_N_B,
3413 FN_INTC_EN0_N, FN_I2C1_SCL,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003414 /* IP5_2_0 [3] */
3415 FN_EX_CS3_N, FN_GPS_MAG, FN_VI3_FIELD, FN_VI1_G1, FN_VI1_G1_B,
3416 FN_VI2_R3, 0, 0, }
3417 },
3418 { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
3419 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3) {
3420 /* IP6_31_29 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003421 FN_ETH_REF_CLK, 0, FN_HCTS0_N_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003422 FN_STP_IVCXO27_1_B, FN_HRX0_F, 0, 0, 0,
3423 /* IP6_28_26 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003424 FN_ETH_LINK, 0, FN_HTX0_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003425 FN_STP_IVCXO27_0_B, FN_SCIFB1_TXD_G, FN_TX1_E, 0, 0,
3426 /* IP6_25_23 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003427 FN_ETH_RXD1, 0, FN_HRX0_E, FN_STP_ISSYNC_0_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003428 FN_TS_SCK0_D, FN_GLO_I1_C, FN_SCIFB1_RXD_G, FN_RX1_E,
3429 /* IP6_22_20 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003430 FN_ETH_RXD0, 0, FN_STP_ISEN_0_B, FN_TS_SDAT0_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003431 FN_GLO_I0_C, FN_SCIFB1_SCK_G, FN_SCK1_E, 0,
3432 /* IP6_19_17 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003433 FN_ETH_RX_ER, 0, FN_STP_ISD_0_B,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003434 FN_TS_SPSYNC0_D, FN_GLO_Q1_C, FN_IIC2_SDA_E, FN_I2C2_SDA_E, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003435 /* IP6_16_14 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003436 FN_ETH_CRS_DV, 0, FN_STP_ISCLK_0_B,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003437 FN_TS_SDEN0_D, FN_GLO_Q0_C, FN_IIC2_SCL_E,
3438 FN_I2C2_SCL_E, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003439 /* IP6_13_11 [3] */
3440 FN_DACK2, FN_IRQ2, FN_INTC_IRQ2_N,
3441 FN_SSI_SDATA6_B, FN_HRTS0_N_B, FN_MSIOF0_RXD_B, 0, 0,
3442 /* IP6_10_9 [2] */
3443 FN_DREQ2_N, FN_HSCK1_B, FN_HCTS0_N_B, FN_MSIOF0_TXD_B,
3444 /* IP6_8_6 [3] */
3445 FN_DACK1, FN_IRQ1, FN_INTC_IRQ1_N, FN_SSI_WS6_B,
3446 FN_SSI_SDATA8_C, 0, 0, 0,
3447 /* IP6_5_3 [3] */
3448 FN_DREQ1_N, FN_VI1_CLKENB, FN_VI1_CLKENB_B,
3449 FN_SSI_SDATA7_C, FN_SSI_SCK78_B, 0, 0, 0,
3450 /* IP6_2_0 [3] */
3451 FN_DACK0, FN_IRQ0, FN_INTC_IRQ0_N, FN_SSI_SCK6_B,
3452 FN_VI1_VSYNC_N, FN_VI1_VSYNC_N_B, FN_SSI_WS78_C, 0, }
3453 },
3454 { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
3455 1, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3) {
3456 /* IP7_31 [1] */
3457 0, 0,
3458 /* IP7_30_29 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003459 FN_VI0_DATA0_VI0_B0, FN_ATACS10_N, FN_AVB_RXD2, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003460 /* IP7_28_27 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003461 FN_VI0_CLK, FN_ATACS00_N, FN_AVB_RXD1, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003462 /* IP7_26_25 [2] */
3463 FN_DU1_DOTCLKIN, FN_AUDIO_CLKC, FN_AUDIO_CLKOUT_C, 0,
3464 /* IP7_24_22 [3] */
3465 FN_PWM2, FN_PWMFSW0, FN_SCIFA2_RXD_C, FN_PCMWE_N, FN_IECLK_C,
3466 0, 0, 0,
3467 /* IP7_21_19 [3] */
3468 FN_PWM1, FN_SCIFA2_TXD_C, FN_STP_ISSYNC_1_B, FN_TS_SCK1_C,
3469 FN_GLO_RFON_C, FN_PCMOE_N, 0, 0,
3470 /* IP7_18_16 [3] */
3471 FN_PWM0, FN_SCIFA2_SCK_C, FN_STP_ISEN_1_B, FN_TS_SDAT1_C,
3472 FN_GLO_SS_C, 0, 0, 0,
3473 /* IP7_15_13 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003474 FN_ETH_MDC, 0, FN_STP_ISD_1_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003475 FN_TS_SPSYNC1_C, FN_GLO_SDATA_C, 0, 0, 0,
3476 /* IP7_12_10 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003477 FN_ETH_TXD0, 0, FN_STP_ISCLK_1_B, FN_TS_SDEN1_C,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003478 FN_GLO_SCLK_C, 0, 0, 0,
3479 /* IP7_9_8 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003480 FN_ETH_MAGIC, 0, FN_SIM0_RST_C, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003481 /* IP7_7_6 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003482 FN_ETH_TX_EN, 0, FN_SIM0_CLK_C, FN_HRTS0_N_F,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003483 /* IP7_5_3 [3] */
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003484 FN_ETH_TXD1, 0, FN_HTX0_F, FN_BPFCLK_G, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003485 /* IP7_2_0 [3] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003486 FN_ETH_MDIO, 0, FN_HRTS0_N_E,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003487 FN_SIM0_D_C, FN_HCTS0_N_F, 0, 0, 0, }
3488 },
3489 { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
3490 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2,
3491 2, 2, 2, 2, 2, 2, 2) {
3492 /* IP8_31 [1] */
3493 0, 0,
3494 /* IP8_30_29 [2] */
3495 FN_SD0_CMD, FN_SCIFB1_SCK_B, FN_VI1_DATA1_VI1_B1_B, 0,
3496 /* IP8_28 [1] */
3497 FN_SD0_CLK, FN_VI1_DATA0_VI1_B0_B,
3498 /* IP8_27 [1] */
3499 FN_VI1_DATA6_VI1_B6, FN_AVB_GTXREFCLK,
3500 /* IP8_26 [1] */
3501 FN_VI1_DATA5_VI1_B5, FN_AVB_PHY_INT,
3502 /* IP8_25_24 [2] */
3503 FN_VI1_DATA4_VI1_B4, FN_SCIFA1_RTS_N_D,
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003504 FN_AVB_MAGIC, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003505 /* IP8_23_22 [2] */
3506 FN_VI1_DATA3_VI1_B3, FN_SCIFA1_CTS_N_D, FN_AVB_GTX_CLK, 0,
3507 /* IP8_21_20 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003508 FN_VI1_DATA2_VI1_B2, FN_SCIFA1_TXD_D, FN_AVB_MDIO, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003509 /* IP8_19_18 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003510 FN_VI1_DATA1_VI1_B1, FN_SCIFA1_RXD_D, FN_AVB_MDC, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003511 /* IP8_17_16 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003512 FN_VI1_DATA0_VI1_B0, FN_SCIFA1_SCK_D, FN_AVB_CRS, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003513 /* IP8_15_14 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003514 FN_VI1_CLK, FN_AVB_RX_DV, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003515 /* IP8_13_12 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003516 FN_VI0_DATA7_VI0_B7, FN_AVB_RX_CLK, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003517 /* IP8_11_10 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003518 FN_VI0_DATA6_VI0_B6, FN_AVB_RX_ER, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003519 /* IP8_9_8 [2] */
3520 FN_VI0_DATA5_VI0_B5, FN_EX_WAIT1, FN_AVB_RXD7, 0,
3521 /* IP8_7_6 [2] */
3522 FN_VI0_DATA4_VI0_B4, FN_ATAG0_N, FN_AVB_RXD6, 0,
3523 /* IP8_5_4 [2] */
3524 FN_VI0_DATA3_VI0_B3, FN_ATADIR0_N, FN_AVB_RXD5, 0,
3525 /* IP8_3_2 [2] */
3526 FN_VI0_DATA2_VI0_B2, FN_ATAWR0_N, FN_AVB_RXD4, 0,
3527 /* IP8_1_0 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003528 FN_VI0_DATA1_VI0_B1, FN_ATARD0_N, FN_AVB_RXD3, 0, }
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003529 },
3530 { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
3531 4, 2, 2, 2, 2, 2, 2, 4, 4, 2, 2, 2, 2) {
3532 /* IP9_31_28 [4] */
3533 FN_SD1_CD, FN_MMC1_D6, FN_TS_SDEN1, FN_USB1_EXTP,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003534 FN_GLO_SS, FN_VI0_CLK_B, FN_IIC2_SCL_D, FN_I2C2_SCL_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003535 FN_SIM0_CLK_B, FN_VI3_CLK_B, 0, 0, 0, 0, 0, 0,
3536 /* IP9_27_26 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003537 FN_SD1_DAT3, FN_AVB_RXD0, 0, FN_SCIFB0_RTS_N_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003538 /* IP9_25_24 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003539 FN_SD1_DAT2, FN_AVB_COL, 0, FN_SCIFB0_CTS_N_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003540 /* IP9_23_22 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003541 FN_SD1_DAT1, FN_AVB_LINK, 0, FN_SCIFB0_TXD_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003542 /* IP9_21_20 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003543 FN_SD1_DAT0, FN_AVB_TX_CLK, 0, FN_SCIFB0_RXD_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003544 /* IP9_19_18 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003545 FN_SD1_CMD, FN_AVB_TX_ER, 0, FN_SCIFB0_SCK_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003546 /* IP9_17_16 [2] */
Shinya Kuribayashi9f2edd42013-05-22 19:55:08 +09003547 FN_SD1_CLK, FN_AVB_TX_EN, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003548 /* IP9_15_12 [4] */
3549 FN_SD0_WP, FN_MMC0_D7, FN_TS_SPSYNC0_B, FN_USB0_IDIN,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003550 FN_GLO_SDATA, FN_VI1_DATA7_VI1_B7_B, FN_IIC1_SDA_B,
3551 FN_I2C1_SDA_B, FN_VI2_DATA7_VI2_B7_B, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003552 /* IP9_11_8 [4] */
3553 FN_SD0_CD, FN_MMC0_D6, FN_TS_SDEN0_B, FN_USB0_EXTP,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003554 FN_GLO_SCLK, FN_VI1_DATA6_VI1_B6_B, FN_IIC1_SCL_B,
3555 FN_I2C1_SCL_B, FN_VI2_DATA6_VI2_B6_B, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003556 /* IP9_7_6 [2] */
3557 FN_SD0_DAT3, FN_SCIFB1_RTS_N_B, FN_VI1_DATA5_VI1_B5_B, 0,
3558 /* IP9_5_4 [2] */
3559 FN_SD0_DAT2, FN_SCIFB1_CTS_N_B, FN_VI1_DATA4_VI1_B4_B, 0,
3560 /* IP9_3_2 [2] */
3561 FN_SD0_DAT1, FN_SCIFB1_TXD_B, FN_VI1_DATA3_VI1_B3_B, 0,
3562 /* IP9_1_0 [2] */
3563 FN_SD0_DAT0, FN_SCIFB1_RXD_B, FN_VI1_DATA2_VI1_B2_B, 0, }
3564 },
3565 { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
3566 2, 4, 3, 4, 4, 4, 4, 3, 4) {
3567 /* IP10_31_30 [2] */
3568 0, 0, 0, 0,
3569 /* IP10_29_26 [4] */
3570 FN_SD2_CD, FN_MMC0_D4, FN_TS_SDAT0_B, FN_USB2_EXTP, FN_GLO_I0,
3571 FN_VI0_DATA6_VI0_B6_B, FN_HCTS0_N_D, FN_TS_SDAT1_B,
3572 FN_GLO_I0_B, FN_VI3_DATA6_B, 0, 0, 0, 0, 0, 0,
3573 /* IP10_25_23 [3] */
3574 FN_SD2_DAT3, FN_MMC0_D3, FN_SIM0_RST, FN_VI0_DATA5_VI0_B5_B,
3575 FN_HTX0_D, FN_TS_SPSYNC1_B, FN_GLO_Q1_B, FN_VI3_DATA5_B,
3576 /* IP10_22_19 [4] */
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003577 FN_SD2_DAT2, FN_MMC0_D2, FN_BPFCLK_B, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003578 FN_VI0_DATA4_VI0_B4_B, FN_HRX0_D, FN_TS_SDEN1_B,
3579 FN_GLO_Q0_B, FN_VI3_DATA4_B, 0, 0, 0, 0, 0, 0, 0,
3580 /* IP10_18_15 [4] */
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003581 FN_SD2_DAT1, FN_MMC0_D1, FN_FMIN_B, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003582 FN_VI0_DATA3_VI0_B3_B, FN_SCIFB1_TXD_E, FN_TX1_D,
3583 FN_TS_SCK0_C, FN_GLO_RFON_B, FN_VI3_DATA3_B,
3584 0, 0, 0, 0, 0, 0,
3585 /* IP10_14_11 [4] */
3586 FN_SD2_DAT0, FN_MMC0_D0, FN_FMCLK_B,
3587 FN_VI0_DATA2_VI0_B2_B, FN_SCIFB1_RXD_E, FN_RX1_D,
3588 FN_TS_SDAT0_C, FN_GLO_SS_B, FN_VI3_DATA2_B,
3589 0, 0, 0, 0, 0, 0, 0,
3590 /* IP10_10_7 [4] */
3591 FN_SD2_CMD, FN_MMC0_CMD, FN_SIM0_D,
3592 FN_VI0_DATA1_VI0_B1_B, FN_SCIFB1_SCK_E, FN_SCK1_D,
3593 FN_TS_SPSYNC0_C, FN_GLO_SDATA_B, FN_VI3_DATA1_B,
3594 0, 0, 0, 0, 0, 0, 0,
3595 /* IP10_6_4 [3] */
3596 FN_SD2_CLK, FN_MMC0_CLK, FN_SIM0_CLK,
3597 FN_VI0_DATA0_VI0_B0_B, FN_TS_SDEN0_C, FN_GLO_SCLK_B,
3598 FN_VI3_DATA0_B, 0,
3599 /* IP10_3_0 [4] */
3600 FN_SD1_WP, FN_MMC1_D7, FN_TS_SPSYNC1, FN_USB1_IDIN,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003601 FN_GLO_RFON, FN_VI1_CLK_B, FN_IIC2_SDA_D, FN_I2C2_SDA_D,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003602 FN_SIM0_D_B, 0, 0, 0, 0, 0, 0, 0, }
3603 },
3604 { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
Guennadi Liakhovetski17babad2013-05-15 10:46:49 +00003605 2, 3, 3, 2, 4, 3, 2, 2, 2, 2, 2, 1, 4) {
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003606 /* IP11_31_30 [2] */
3607 FN_SSI_SCK0129, FN_CAN_CLK_B, FN_MOUT0, 0,
3608 /* IP11_29_27 [3] */
Shinya Kuribayashi7d2b2852013-05-24 17:26:08 +09003609 FN_MLB_DAT, 0, FN_SCIFB1_TXD_D, FN_TX1_C, FN_BPFCLK_C,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003610 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003611 /* IP11_26_24 [3] */
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003612 FN_MLB_SIG, FN_SCIFB1_RXD_D, FN_RX1_C, FN_IIC2_SDA_B, FN_I2C2_SDA_B,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003613 0, 0, 0,
3614 /* IP11_23_22 [2] */
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003615 FN_MLB_CLK, FN_IIC2_SCL_B, FN_I2C2_SCL_B, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003616 /* IP11_21_18 [4] */
3617 FN_SD3_WP, FN_MMC1_D5, FN_TS_SCK1, FN_GLO_Q1, FN_FMIN_C,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003618 0, FN_FMIN_E, 0, FN_FMIN_F, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003619 /* IP11_17_15 [3] */
3620 FN_SD3_CD, FN_MMC1_D4, FN_TS_SDAT1,
3621 FN_VSP, FN_GLO_Q0, FN_SIM0_RST_B, 0, 0,
3622 /* IP11_14_13 [2] */
3623 FN_SD3_DAT3, FN_MMC1_D3, FN_SCKZ, 0,
3624 /* IP11_12_11 [2] */
3625 FN_SD3_DAT2, FN_MMC1_D2, FN_SDATA, 0,
3626 /* IP11_10_9 [2] */
3627 FN_SD3_DAT1, FN_MMC1_D1, FN_MDATA, 0,
3628 /* IP11_8_7 [2] */
3629 FN_SD3_DAT0, FN_MMC1_D0, FN_STM_N, 0,
3630 /* IP11_6_5 [2] */
3631 FN_SD3_CMD, FN_MMC1_CMD, FN_MTS_N, 0,
3632 /* IP11_4 [1] */
3633 FN_SD3_CLK, FN_MMC1_CLK,
3634 /* IP11_3_0 [4] */
3635 FN_SD2_WP, FN_MMC0_D5, FN_TS_SCK0_B, FN_USB2_IDIN,
3636 FN_GLO_I1, FN_VI0_DATA7_VI0_B7_B, FN_HRTS0_N_D,
3637 FN_TS_SCK1_B, FN_GLO_I1_B, FN_VI3_DATA7_B, 0, 0, 0, 0, 0, 0, }
3638 },
3639 { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
3640 1, 3, 3, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2) {
3641 /* IP12_31 [1] */
3642 0, 0,
3643 /* IP12_30_28 [3] */
3644 FN_SSI_WS5, FN_SCIFB1_RXD, FN_IECLK_B,
3645 FN_DU2_EXVSYNC_DU2_VSYNC, FN_QSTB_QHE,
3646 FN_CAN_DEBUGOUT4, 0, 0,
3647 /* IP12_27_25 [3] */
3648 FN_SSI_SCK5, FN_SCIFB1_SCK,
3649 FN_IERX_B, FN_DU2_EXHSYNC_DU2_HSYNC, FN_QSTH_QHS,
3650 FN_CAN_DEBUGOUT3, 0, 0,
3651 /* IP12_24_23 [2] */
3652 FN_SSI_SDATA4, FN_STP_ISSYNC_0, FN_MSIOF1_RXD,
3653 FN_CAN_DEBUGOUT2,
3654 /* IP12_22_20 [3] */
3655 FN_SSI_WS4, FN_STP_ISEN_0, FN_SCIFB0_RTS_N,
3656 FN_MSIOF1_TXD, FN_SSI_WS5_C, FN_CAN_DEBUGOUT1, 0, 0,
3657 /* IP12_19_17 [3] */
3658 FN_SSI_SCK4, FN_STP_ISD_0, FN_SCIFB0_CTS_N,
3659 FN_MSIOF1_SS2, FN_SSI_SCK5_C, FN_CAN_DEBUGOUT0, 0, 0,
3660 /* IP12_16_14 [3] */
3661 FN_SSI_SDATA3, FN_STP_ISCLK_0,
3662 FN_SCIFB0_TXD, FN_MSIOF1_SS1, FN_CAN_TXCLK, 0, 0, 0,
3663 /* IP12_13_11 [3] */
3664 FN_SSI_WS34, FN_STP_IVCXO27_0, FN_SCIFB0_RXD, FN_MSIOF1_SYNC,
3665 FN_CAN_STEP0, 0, 0, 0,
3666 /* IP12_10_8 [3] */
3667 FN_SSI_SCK34, FN_STP_OPWM_0, FN_SCIFB0_SCK,
3668 FN_MSIOF1_SCK, FN_CAN_DEBUG_HW_TRIGGER, 0, 0, 0,
3669 /* IP12_7_6 [2] */
3670 FN_SSI_SDATA2, FN_CAN1_RX_B, FN_SSI_SCK1, FN_MOUT6,
3671 /* IP12_5_4 [2] */
3672 FN_SSI_SDATA1, FN_CAN1_TX_B, FN_MOUT5, 0,
3673 /* IP12_3_2 [2] */
3674 FN_SSI_SDATA0, FN_CAN0_RX_B, FN_MOUT2, 0,
3675 /* IP12_1_0 [2] */
3676 FN_SSI_WS0129, FN_CAN0_TX_B, FN_MOUT1, 0, }
3677 },
3678 { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
3679 1, 2, 3, 3, 4, 3, 3, 3, 3, 4, 3) {
3680 /* IP13_31 [1] */
3681 0, 0,
3682 /* IP13_30_29 [2] */
3683 FN_AUDIO_CLKA, FN_SCIFB2_RTS_N, FN_CAN_DEBUGOUT14, 0,
3684 /* IP13_28_26 [3] */
3685 FN_SSI_SDATA9, FN_STP_ISSYNC_1, FN_SCIFB2_CTS_N, FN_SSI_WS1,
3686 FN_SSI_SDATA5_C, FN_CAN_DEBUGOUT13, 0, 0,
3687 /* IP13_25_23 [3] */
3688 FN_SSI_SDATA8, FN_STP_ISEN_1, FN_SCIFB2_TXD, FN_CAN0_TX_C,
3689 FN_CAN_DEBUGOUT12, FN_SSI_SDATA8_B, 0, 0,
3690 /* IP13_22_19 [4] */
3691 FN_SSI_SDATA7, FN_STP_ISD_1, FN_SCIFB2_RXD, FN_SCIFA2_RTS_N,
3692 FN_TCLK2, FN_QSTVA_QVS, FN_CAN_DEBUGOUT11, FN_BPFCLK_E,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003693 0, FN_SSI_SDATA7_B, FN_FMIN_G, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003694 /* IP13_18_16 [3] */
3695 FN_SSI_WS78, FN_STP_ISCLK_1, FN_SCIFB2_SCK, FN_SCIFA2_CTS_N,
3696 FN_DU2_DR7, FN_LCDOUT7, FN_CAN_DEBUGOUT10, 0,
3697 /* IP13_15_13 [3] */
3698 FN_SSI_SCK78, FN_STP_IVCXO27_1, FN_SCK1, FN_SCIFA1_SCK,
3699 FN_DU2_DR6, FN_LCDOUT6, FN_CAN_DEBUGOUT9, 0,
3700 /* IP13_12_10 [3] */
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003701 FN_SSI_SDATA6, FN_FMIN_D, 0, FN_DU2_DR5, FN_LCDOUT5,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003702 FN_CAN_DEBUGOUT8, 0, 0,
3703 /* IP13_9_7 [3] */
3704 FN_SSI_WS6, FN_SCIFB1_RTS_N, FN_CAN0_TX_D, FN_DU2_DR4,
3705 FN_LCDOUT4, FN_CAN_DEBUGOUT7, 0, 0,
3706 /* IP13_6_3 [4] */
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003707 FN_SSI_SCK6, FN_SCIFB1_CTS_N, FN_BPFCLK_D, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003708 FN_DU2_DR3, FN_LCDOUT3, FN_CAN_DEBUGOUT6,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003709 FN_BPFCLK_F, 0, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003710 /* IP13_2_0 [3] */
3711 FN_SSI_SDATA5, FN_SCIFB1_TXD, FN_IETX_B, FN_DU2_DR2,
3712 FN_LCDOUT2, FN_CAN_DEBUGOUT5, 0, 0, }
3713 },
3714 { PINMUX_CFG_REG_VAR("IPSR14", 0xE6060058, 32,
3715 1, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3) {
3716 /* IP14_30 [1] */
3717 0, 0,
3718 /* IP14_30_28 [3] */
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09003719 FN_SCIFA1_RTS_N, FN_AD_NCS_N, FN_RTS1_N,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003720 FN_MSIOF3_TXD, FN_DU1_DOTCLKOUT, FN_QSTVB_QVE,
3721 FN_HRTS0_N_C, 0,
3722 /* IP14_27_25 [3] */
3723 FN_SCIFA1_CTS_N, FN_AD_CLK, FN_CTS1_N, FN_MSIOF3_RXD,
3724 FN_DU0_DOTCLKOUT, FN_QCLK, 0, 0,
3725 /* IP14_24_22 [3] */
3726 FN_SCIFA1_TXD, FN_AD_DO, FN_TX1, FN_DU2_DG1,
3727 FN_LCDOUT9, 0, 0, 0,
3728 /* IP14_21_19 [3] */
3729 FN_SCIFA1_RXD, FN_AD_DI, FN_RX1,
3730 FN_DU2_EXODDF_DU2_ODDF_DISP_CDE, FN_QCPV_QDE, 0, 0, 0,
3731 /* IP14_18_16 [3] */
Shinya Kuribayashibcec7472013-05-24 17:28:17 +09003732 FN_SCIFA0_RTS_N, FN_HRTS1_N, FN_RTS0_N,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003733 FN_MSIOF3_SS1, FN_DU2_DG0, FN_LCDOUT8, FN_PWM1_B, 0,
3734 /* IP14_15_12 [4] */
3735 FN_SCIFA0_CTS_N, FN_HCTS1_N, FN_CTS0_N, FN_MSIOF3_SYNC,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003736 FN_DU2_DG3, FN_LCDOUT11, FN_PWM0_B, FN_IIC1_SCL_C, FN_I2C1_SCL_C,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003737 0, 0, 0, 0, 0, 0, 0,
3738 /* IP14_11_9 [3] */
3739 FN_SCIFA0_TXD, FN_HTX1, FN_TX0, FN_DU2_DR1, FN_LCDOUT1,
3740 0, 0, 0,
3741 /* IP14_8_6 [3] */
3742 FN_SCIFA0_RXD, FN_HRX1, FN_RX0, FN_DU2_DR0, FN_LCDOUT0,
3743 0, 0, 0,
3744 /* IP14_5_3 [3] */
3745 FN_SCIFA0_SCK, FN_HSCK1, FN_SCK0, FN_MSIOF3_SS2, FN_DU2_DG2,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003746 FN_LCDOUT10, FN_IIC1_SDA_C, FN_I2C1_SDA_C,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003747 /* IP14_2_0 [3] */
3748 FN_AUDIO_CLKB, FN_SCIF_CLK, FN_CAN0_RX_D,
3749 FN_DVC_MUTE, FN_CAN0_RX_C, FN_CAN_DEBUGOUT15,
3750 FN_REMOCON, 0, }
3751 },
3752 { PINMUX_CFG_REG_VAR("IPSR15", 0xE606005C, 32,
3753 2, 2, 2, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3) {
3754 /* IP15_31_30 [2] */
3755 0, 0, 0, 0,
3756 /* IP15_29_28 [2] */
3757 FN_MSIOF0_TXD, FN_ADICHS1, FN_DU2_DG6, FN_LCDOUT14,
3758 /* IP15_27_26 [2] */
3759 FN_MSIOF0_SS1, FN_ADICHS0, FN_DU2_DG5, FN_LCDOUT13,
3760 /* IP15_25_23 [3] */
3761 FN_MSIOF0_SYNC, FN_TS_SCK0, FN_SSI_SCK2, FN_ADIDATA,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +09003762 FN_DU2_DB7, FN_LCDOUT23, FN_HRX0_C, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003763 /* IP15_22_20 [3] */
3764 FN_MSIOF0_SCK, FN_TS_SDAT0, FN_ADICLK,
3765 FN_DU2_DB6, FN_LCDOUT22, 0, 0, 0,
3766 /* IP15_19_18 [2] */
3767 FN_HRTS0_N, FN_SSI_WS9, FN_DU2_DB5, FN_LCDOUT21,
3768 /* IP15_17_16 [2] */
3769 FN_HCTS0_N, FN_SSI_SCK9, FN_DU2_DB4, FN_LCDOUT20,
3770 /* IP15_15_14 [2] */
3771 FN_HTX0, FN_DU2_DB3, FN_LCDOUT19, 0,
3772 /* IP15_13_12 [2] */
3773 FN_HRX0, FN_DU2_DB2, FN_LCDOUT18, 0,
3774 /* IP15_11_9 [3] */
3775 FN_HSCK0, FN_TS_SDEN0, FN_DU2_DG4, FN_LCDOUT12, FN_HCTS0_N_C,
3776 0, 0, 0,
3777 /* IP15_8_6 [3] */
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003778 FN_SCIFA2_TXD, FN_BPFCLK, FN_RX2, FN_DU2_DB1, FN_LCDOUT17,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003779 FN_IIC2_SDA, FN_I2C2_SDA, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003780 /* IP15_5_3 [3] */
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003781 FN_SCIFA2_RXD, FN_FMIN, FN_TX2, FN_DU2_DB0, FN_LCDOUT16,
Shinya Kuribayashic4721242013-05-22 19:46:16 +09003782 FN_IIC2_SCL, FN_I2C2_SCL, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003783 /* IP15_2_0 [3] */
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003784 FN_SCIFA2_SCK, FN_FMCLK, FN_SCK2, FN_MSIOF3_SCK, FN_DU2_DG7,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003785 FN_LCDOUT15, FN_SCIF_CLK_B, 0, }
3786 },
3787 { PINMUX_CFG_REG_VAR("IPSR16", 0xE6060160, 32,
3788 4, 4, 4, 4, 4, 4, 1, 1, 3, 3) {
3789 /* IP16_31_28 [4] */
3790 0, 0, 0, 0, 0, 0, 0, 0,
3791 0, 0, 0, 0, 0, 0, 0, 0,
3792 /* IP16_27_24 [4] */
3793 0, 0, 0, 0, 0, 0, 0, 0,
3794 0, 0, 0, 0, 0, 0, 0, 0,
3795 /* IP16_23_20 [4] */
3796 0, 0, 0, 0, 0, 0, 0, 0,
3797 0, 0, 0, 0, 0, 0, 0, 0,
3798 /* IP16_19_16 [4] */
3799 0, 0, 0, 0, 0, 0, 0, 0,
3800 0, 0, 0, 0, 0, 0, 0, 0,
3801 /* IP16_15_12 [4] */
3802 0, 0, 0, 0, 0, 0, 0, 0,
3803 0, 0, 0, 0, 0, 0, 0, 0,
3804 /* IP16_11_8 [4] */
3805 0, 0, 0, 0, 0, 0, 0, 0,
3806 0, 0, 0, 0, 0, 0, 0, 0,
3807 /* IP16_7 [1] */
3808 FN_USB1_OVC, FN_TCLK1_B,
3809 /* IP16_6 [1] */
3810 FN_USB1_PWEN, FN_AUDIO_CLKOUT_D,
3811 /* IP16_5_3 [3] */
3812 FN_MSIOF0_RXD, FN_TS_SPSYNC0, FN_SSI_WS2,
Shinya Kuribayashi5de880d2013-05-24 17:50:44 +09003813 FN_ADICS_SAMP, FN_DU2_CDE, FN_QPOLB, FN_SCIFA2_RXD_B, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003814 /* IP16_2_0 [3] */
3815 FN_MSIOF0_SS2, FN_AUDIO_CLKOUT, FN_ADICHS2,
3816 FN_DU2_DISP, FN_QPOLA, FN_HTX0_C, FN_SCIFA2_TXD_B, 0, }
3817 },
3818 { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
3819 3, 2, 2, 3, 2, 1, 1, 1, 2, 1,
3820 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1) {
3821 /* SEL_SCIF1 [3] */
3822 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF1_3,
3823 FN_SEL_SCIF1_4, 0, 0, 0,
3824 /* SEL_SCIFB [2] */
3825 FN_SEL_SCIFB_0, FN_SEL_SCIFB_1, FN_SEL_SCIFB_2, 0,
3826 /* SEL_SCIFB2 [2] */
3827 FN_SEL_SCIFB2_0, FN_SEL_SCIFB2_1, FN_SEL_SCIFB2_2, 0,
3828 /* SEL_SCIFB1 [3] */
3829 FN_SEL_SCIFB1_0, FN_SEL_SCIFB1_1, FN_SEL_SCIFB1_2,
3830 FN_SEL_SCIFB1_3, FN_SEL_SCIFB1_4, FN_SEL_SCIFB1_5,
3831 FN_SEL_SCIFB1_6, 0,
3832 /* SEL_SCIFA1 [2] */
3833 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2,
3834 FN_SEL_SCIFA1_3,
3835 /* SEL_SCIF0 [1] */
3836 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1,
3837 /* SEL_SCIFA [1] */
3838 FN_SEL_SCFA_0, FN_SEL_SCFA_1,
3839 /* SEL_SOF1 [1] */
3840 FN_SEL_SOF1_0, FN_SEL_SOF1_1,
3841 /* SEL_SSI7 [2] */
3842 FN_SEL_SSI7_0, FN_SEL_SSI7_1, FN_SEL_SSI7_2, 0,
3843 /* SEL_SSI6 [1] */
3844 FN_SEL_SSI6_0, FN_SEL_SSI6_1,
3845 /* SEL_SSI5 [2] */
3846 FN_SEL_SSI5_0, FN_SEL_SSI5_1, FN_SEL_SSI5_2, 0,
3847 /* SEL_VI3 [1] */
3848 FN_SEL_VI3_0, FN_SEL_VI3_1,
3849 /* SEL_VI2 [1] */
3850 FN_SEL_VI2_0, FN_SEL_VI2_1,
3851 /* SEL_VI1 [1] */
3852 FN_SEL_VI1_0, FN_SEL_VI1_1,
3853 /* SEL_VI0 [1] */
3854 FN_SEL_VI0_0, FN_SEL_VI0_1,
3855 /* SEL_TSIF1 [2] */
3856 FN_SEL_TSIF1_0, FN_SEL_TSIF1_1, FN_SEL_TSIF1_2, 0,
3857 /* RESERVED [1] */
3858 0, 0,
3859 /* SEL_LBS [1] */
3860 FN_SEL_LBS_0, FN_SEL_LBS_1,
3861 /* SEL_TSIF0 [2] */
3862 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
3863 /* SEL_SOF3 [1] */
3864 FN_SEL_SOF3_0, FN_SEL_SOF3_1,
3865 /* SEL_SOF0 [1] */
3866 FN_SEL_SOF0_0, FN_SEL_SOF0_1, }
3867 },
3868 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
Guennadi Liakhovetski17babad2013-05-15 10:46:49 +00003869 3, 1, 1, 1, 2, 1, 2, 1, 2,
3870 1, 1, 1, 3, 3, 2, 3, 2, 2) {
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003871 /* RESERVED [3] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003872 0, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003873 /* SEL_TMU1 [1] */
3874 FN_SEL_TMU1_0, FN_SEL_TMU1_1,
3875 /* SEL_HSCIF1 [1] */
3876 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
3877 /* SEL_SCIFCLK [1] */
3878 FN_SEL_SCIFCLK_0, FN_SEL_SCIFCLK_1,
3879 /* SEL_CAN0 [2] */
3880 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
3881 /* SEL_CANCLK [1] */
3882 FN_SEL_CANCLK_0, FN_SEL_CANCLK_1,
3883 /* SEL_SCIFA2 [2] */
3884 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1, FN_SEL_SCIFA2_2, 0,
3885 /* SEL_CAN1 [1] */
3886 FN_SEL_CAN1_0, FN_SEL_CAN1_1,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003887 /* RESERVED [2] */
Guennadi Liakhovetski17babad2013-05-15 10:46:49 +00003888 0, 0, 0, 0,
Shinya Kuribayashi1ddb66c2013-05-24 16:56:54 +09003889 /* SEL_SCIF2 [1] */
3890 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003891 /* SEL_ADI [1] */
3892 FN_SEL_ADI_0, FN_SEL_ADI_1,
3893 /* SEL_SSP [1] */
3894 FN_SEL_SSP_0, FN_SEL_SSP_1,
3895 /* SEL_FM [3] */
3896 FN_SEL_FM_0, FN_SEL_FM_1, FN_SEL_FM_2, FN_SEL_FM_3,
3897 FN_SEL_FM_4, FN_SEL_FM_5, FN_SEL_FM_6, 0,
3898 /* SEL_HSCIF0 [3] */
3899 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1, FN_SEL_HSCIF0_2,
3900 FN_SEL_HSCIF0_3, FN_SEL_HSCIF0_4, FN_SEL_HSCIF0_5, 0, 0,
3901 /* SEL_GPS [2] */
3902 FN_SEL_GPS_0, FN_SEL_GPS_1, FN_SEL_GPS_2, 0,
Shinya Kuribayashi14da9992013-05-24 16:14:24 +09003903 /* RESERVED [3] */
3904 0, 0, 0, 0, 0, 0, 0, 0,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003905 /* SEL_SIM [2] */
3906 FN_SEL_SIM_0, FN_SEL_SIM_1, FN_SEL_SIM_2, 0,
3907 /* SEL_SSI8 [2] */
3908 FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI8_2, 0, }
3909 },
3910 { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
3911 1, 1, 2, 4, 4, 2, 2,
3912 4, 2, 3, 2, 3, 2) {
3913 /* SEL_IICDVFS [1] */
3914 FN_SEL_IICDVFS_0, FN_SEL_IICDVFS_1,
3915 /* SEL_IIC0 [1] */
3916 FN_SEL_IIC0_0, FN_SEL_IIC0_1,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003917 /* RESERVED [2] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003918 0, 0, 0, 0,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003919 /* RESERVED [4] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003920 0, 0, 0, 0, 0, 0, 0, 0,
3921 0, 0, 0, 0, 0, 0, 0, 0,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003922 /* RESERVED [4] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003923 0, 0, 0, 0, 0, 0, 0, 0,
3924 0, 0, 0, 0, 0, 0, 0, 0,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003925 /* RESERVED [2] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003926 0, 0, 0, 0,
3927 /* SEL_IEB [2] */
3928 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003929 /* RESERVED [4] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003930 0, 0, 0, 0, 0, 0, 0, 0,
3931 0, 0, 0, 0, 0, 0, 0, 0,
Guennadi Liakhovetski7f351842013-05-15 10:46:54 +00003932 /* RESERVED [2] */
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003933 0, 0, 0, 0,
3934 /* SEL_IIC2 [3] */
3935 FN_SEL_IIC2_0, FN_SEL_IIC2_1, FN_SEL_IIC2_2, FN_SEL_IIC2_3,
3936 FN_SEL_IIC2_4, 0, 0, 0,
3937 /* SEL_IIC1 [2] */
3938 FN_SEL_IIC1_0, FN_SEL_IIC1_1, FN_SEL_IIC1_2, 0,
3939 /* SEL_I2C2 [3] */
3940 FN_SEL_I2C2_0, FN_SEL_I2C2_1, FN_SEL_I2C2_2, FN_SEL_I2C2_3,
3941 FN_SEL_I2C2_4, 0, 0, 0,
3942 /* SEL_I2C1 [2] */
3943 FN_SEL_I2C1_0, FN_SEL_I2C1_1, FN_SEL_I2C1_2, 0, }
3944 },
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003945 { },
3946};
3947
3948const struct sh_pfc_soc_info r8a7790_pinmux_info = {
3949 .name = "r8a77900_pfc",
3950 .unlock_reg = 0xe6060000, /* PMMR */
3951
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003952 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
3953
3954 .pins = pinmux_pins,
3955 .nr_pins = ARRAY_SIZE(pinmux_pins),
Laurent Pinchart16277692013-04-08 11:36:14 +02003956 .groups = pinmux_groups,
3957 .nr_groups = ARRAY_SIZE(pinmux_groups),
3958 .functions = pinmux_functions,
3959 .nr_functions = ARRAY_SIZE(pinmux_functions),
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003960
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003961 .cfg_regs = pinmux_config_regs,
Koji Matsuoka58c229e2013-04-08 11:08:53 +09003962
3963 .gpio_data = pinmux_data,
3964 .gpio_data_size = ARRAY_SIZE(pinmux_data),
3965};