blob: f9b9dc381db70c5f1e140ec74fc386ee644b48fa [file] [log] [blame]
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001/*
2 * r8a7794 processor support - PFC hardware block.
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2015 Renesas Solutions Corp.
6 * Copyright (C) 2015 Cogent Embedded, Inc., <source@cogentembedded.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
11 */
12
13#include <linux/kernel.h>
14#include <linux/platform_data/gpio-rcar.h>
15
16#include "core.h"
17#include "sh_pfc.h"
18
19#define PORT_GP_26(bank, fn, sfx) \
20 PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \
21 PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \
22 PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \
23 PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \
24 PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \
25 PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \
26 PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \
27 PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \
28 PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \
29 PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \
30 PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \
31 PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \
32 PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx)
33
34#define PORT_GP_28(bank, fn, sfx) \
35 PORT_GP_26(bank, fn, sfx), \
36 PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx)
37
38#define CPU_ALL_PORT(fn, sfx) \
39 PORT_GP_32(0, fn, sfx), \
40 PORT_GP_26(1, fn, sfx), \
41 PORT_GP_32(2, fn, sfx), \
42 PORT_GP_32(3, fn, sfx), \
43 PORT_GP_32(4, fn, sfx), \
44 PORT_GP_28(5, fn, sfx), \
45 PORT_GP_26(6, fn, sfx)
46
47enum {
48 PINMUX_RESERVED = 0,
49
50 PINMUX_DATA_BEGIN,
51 GP_ALL(DATA),
52 PINMUX_DATA_END,
53
54 PINMUX_FUNCTION_BEGIN,
55 GP_ALL(FN),
56
57 /* GPSR0 */
58 FN_IP0_23_22, FN_IP0_24, FN_IP0_25, FN_IP0_27_26, FN_IP0_29_28,
59 FN_IP0_31_30, FN_IP1_1_0, FN_IP1_3_2, FN_IP1_5_4, FN_IP1_7_6,
60 FN_IP1_10_8, FN_IP1_12_11, FN_IP1_14_13, FN_IP1_17_15, FN_IP1_19_18,
61 FN_IP1_21_20, FN_IP1_23_22, FN_IP1_24, FN_A2, FN_IP1_26, FN_IP1_27,
62 FN_IP1_29_28, FN_IP1_31_30, FN_IP2_1_0, FN_IP2_3_2, FN_IP2_5_4,
63 FN_IP2_7_6, FN_IP2_9_8, FN_IP2_11_10, FN_IP2_13_12, FN_IP2_15_14,
64 FN_IP2_17_16,
65
66 /* GPSR1 */
67 FN_IP2_20_18, FN_IP2_23_21, FN_IP2_26_24, FN_IP2_29_27, FN_IP2_31_30,
68 FN_IP3_1_0, FN_IP3_3_2, FN_IP3_5_4, FN_IP3_7_6, FN_IP3_9_8, FN_IP3_10,
69 FN_IP3_11, FN_IP3_12, FN_IP3_14_13, FN_IP3_17_15, FN_IP3_20_18,
70 FN_IP3_23_21, FN_IP3_26_24, FN_IP3_29_27, FN_IP3_30, FN_IP3_31,
71 FN_WE0_N, FN_WE1_N, FN_IP4_1_0 , FN_IP7_31, FN_DACK0,
72
73 /* GPSR2 */
74 FN_IP4_4_2, FN_IP4_7_5, FN_IP4_9_8, FN_IP4_11_10, FN_IP4_13_12,
75 FN_IP4_15_14, FN_IP4_17_16, FN_IP4_19_18, FN_IP4_22_20, FN_IP4_25_23,
76 FN_IP4_27_26, FN_IP4_29_28, FN_IP4_31_30, FN_IP5_1_0, FN_IP5_3_2,
77 FN_IP5_5_4, FN_IP5_8_6, FN_IP5_11_9, FN_IP5_13_12, FN_IP5_15_14,
78 FN_IP5_17_16, FN_IP5_19_18, FN_IP5_21_20, FN_IP5_23_22, FN_IP5_25_24,
79 FN_IP5_27_26, FN_IP5_29_28, FN_IP5_31_30, FN_IP6_1_0, FN_IP6_3_2,
80 FN_IP6_5_4, FN_IP6_7_6,
81
82 /* GPSR3 */
83 FN_IP6_8, FN_IP6_9, FN_IP6_10, FN_IP6_11, FN_IP6_12, FN_IP6_13,
84 FN_IP6_14, FN_IP6_15, FN_IP6_16, FN_IP6_19_17, FN_IP6_22_20,
85 FN_IP6_25_23, FN_IP6_28_26, FN_IP6_31_29, FN_IP7_2_0, FN_IP7_5_3,
86 FN_IP7_8_6, FN_IP7_11_9, FN_IP7_14_12, FN_IP7_17_15, FN_IP7_20_18,
87 FN_IP7_23_21, FN_IP7_26_24, FN_IP7_29_27, FN_IP8_2_0, FN_IP8_5_3,
88 FN_IP8_8_6, FN_IP8_11_9, FN_IP8_14_12, FN_IP8_16_15, FN_IP8_19_17,
89 FN_IP8_22_20,
90
91 /* GPSR4 */
92 FN_IP8_25_23, FN_IP8_28_26, FN_IP8_31_29, FN_IP9_2_0, FN_IP9_5_3,
93 FN_IP9_8_6, FN_IP9_11_9, FN_IP9_14_12, FN_IP9_16_15, FN_IP9_18_17,
94 FN_IP9_21_19, FN_IP9_24_22, FN_IP9_27_25, FN_IP9_30_28, FN_IP10_2_0,
95 FN_IP10_5_3, FN_IP10_8_6, FN_IP10_11_9, FN_IP10_14_12, FN_IP10_17_15,
96 FN_IP10_20_18, FN_IP10_23_21, FN_IP10_26_24, FN_IP10_29_27,
97 FN_IP10_31_30, FN_IP11_2_0, FN_IP11_5_3, FN_IP11_7_6, FN_IP11_10_8,
98 FN_IP11_13_11, FN_IP11_15_14, FN_IP11_17_16,
99
100 /* GPSR5 */
101 FN_IP11_20_18, FN_IP11_23_21, FN_IP11_26_24, FN_IP11_29_27, FN_IP12_2_0,
102 FN_IP12_5_3, FN_IP12_8_6, FN_IP12_10_9, FN_IP12_12_11, FN_IP12_14_13,
103 FN_IP12_17_15, FN_IP12_20_18, FN_IP12_23_21, FN_IP12_26_24,
104 FN_IP12_29_27, FN_IP13_2_0, FN_IP13_5_3, FN_IP13_8_6, FN_IP13_11_9,
105 FN_IP13_14_12, FN_IP13_17_15, FN_IP13_20_18, FN_IP13_23_21,
106 FN_IP13_26_24, FN_USB0_PWEN, FN_USB0_OVC, FN_USB1_PWEN, FN_USB1_OVC,
107
108 /* GPSR6 */
109 FN_SD0_CLK, FN_SD0_CMD, FN_SD0_DATA0, FN_SD0_DATA1, FN_SD0_DATA2,
110 FN_SD0_DATA3, FN_SD0_CD, FN_SD0_WP, FN_SD1_CLK, FN_SD1_CMD,
111 FN_SD1_DATA0, FN_SD1_DATA1, FN_SD1_DATA2, FN_SD1_DATA3, FN_IP0_0,
112 FN_IP0_9_8, FN_IP0_10, FN_IP0_11, FN_IP0_12, FN_IP0_13, FN_IP0_14,
113 FN_IP0_15, FN_IP0_16, FN_IP0_17, FN_IP0_19_18, FN_IP0_21_20,
114
115 /* IPSR0 */
116 FN_SD1_CD, FN_CAN0_RX, FN_SD1_WP, FN_IRQ7, FN_CAN0_TX, FN_MMC_CLK,
117 FN_SD2_CLK, FN_MMC_CMD, FN_SD2_CMD, FN_MMC_D0, FN_SD2_DATA0, FN_MMC_D1,
118 FN_SD2_DATA1, FN_MMC_D2, FN_SD2_DATA2, FN_MMC_D3, FN_SD2_DATA3,
119 FN_MMC_D4, FN_SD2_CD, FN_MMC_D5, FN_SD2_WP, FN_MMC_D6, FN_SCIF0_RXD,
120 FN_I2C2_SCL_B, FN_CAN1_RX, FN_MMC_D7, FN_SCIF0_TXD, FN_I2C2_SDA_B,
121 FN_CAN1_TX, FN_D0, FN_SCIFA3_SCK_B, FN_IRQ4, FN_D1, FN_SCIFA3_RXD_B,
122 FN_D2, FN_SCIFA3_TXD_B, FN_D3, FN_I2C3_SCL_B, FN_SCIF5_RXD_B, FN_D4,
123 FN_I2C3_SDA_B, FN_SCIF5_TXD_B, FN_D5, FN_SCIF4_RXD_B, FN_I2C0_SCL_D,
124
125 /* IPSR1 */
126 FN_D6, FN_SCIF4_TXD_B, FN_I2C0_SDA_D, FN_D7, FN_IRQ3, FN_TCLK1,
127 FN_PWM6_B, FN_D8, FN_HSCIF2_HRX, FN_I2C1_SCL_B, FN_D9, FN_HSCIF2_HTX,
128 FN_I2C1_SDA_B, FN_D10, FN_HSCIF2_HSCK, FN_SCIF1_SCK_C, FN_IRQ6,
129 FN_PWM5_C, FN_D11, FN_HSCIF2_HCTS_N, FN_SCIF1_RXD_C, FN_I2C1_SCL_D,
130 FN_D12, FN_HSCIF2_HRTS_N, FN_SCIF1_TXD_C, FN_I2C1_SDA_D, FN_D13,
131 FN_SCIFA1_SCK, FN_TANS1, FN_PWM2_C, FN_TCLK2_B, FN_D14, FN_SCIFA1_RXD,
132 FN_IIC0_SCL_B, FN_D15, FN_SCIFA1_TXD, FN_IIC0_SDA_B, FN_A0,
133 FN_SCIFB1_SCK, FN_PWM3_B, FN_A1, FN_SCIFB1_TXD, FN_A3, FN_SCIFB0_SCK,
134 FN_A4, FN_SCIFB0_TXD, FN_A5, FN_SCIFB0_RXD, FN_PWM4_B, FN_TPUTO3_C,
135 FN_A6, FN_SCIFB0_CTS_N, FN_SCIFA4_RXD_B, FN_TPUTO2_C,
136
137 /* IPSR2 */
138 FN_A7, FN_SCIFB0_RTS_N, FN_SCIFA4_TXD_B, FN_A8, FN_MSIOF1_RXD,
139 FN_SCIFA0_RXD_B, FN_A9, FN_MSIOF1_TXD, FN_SCIFA0_TXD_B, FN_A10,
140 FN_MSIOF1_SCK, FN_IIC1_SCL_B, FN_A11, FN_MSIOF1_SYNC, FN_IIC1_SDA_B,
141 FN_A12, FN_MSIOF1_SS1, FN_SCIFA5_RXD_B, FN_A13, FN_MSIOF1_SS2,
142 FN_SCIFA5_TXD_B, FN_A14, FN_MSIOF2_RXD, FN_HSCIF0_HRX_B, FN_DREQ1_N,
143 FN_A15, FN_MSIOF2_TXD, FN_HSCIF0_HTX_B, FN_DACK1, FN_A16,
144 FN_MSIOF2_SCK, FN_HSCIF0_HSCK_B, FN_SPEEDIN, FN_VSP, FN_CAN_CLK_C,
145 FN_TPUTO2_B, FN_A17, FN_MSIOF2_SYNC, FN_SCIF4_RXD_E, FN_CAN1_RX_B,
146 FN_AVB_AVTP_CAPTURE_B, FN_A18, FN_MSIOF2_SS1, FN_SCIF4_TXD_E,
147 FN_CAN1_TX_B, FN_AVB_AVTP_MATCH_B, FN_A19, FN_MSIOF2_SS2, FN_PWM4,
148 FN_TPUTO2, FN_MOUT0, FN_A20, FN_SPCLK, FN_MOUT1,
149
150 /* IPSR3 */
151 FN_A21, FN_MOSI_IO0, FN_MOUT2, FN_A22, FN_MISO_IO1, FN_MOUT5,
152 FN_ATADIR1_N, FN_A23, FN_IO2, FN_MOUT6, FN_ATAWR1_N, FN_A24, FN_IO3,
153 FN_EX_WAIT2, FN_A25, FN_SSL, FN_ATARD1_N, FN_CS0_N, FN_VI1_DATA8,
154 FN_CS1_N_A26, FN_VI1_DATA9, FN_EX_CS0_N, FN_VI1_DATA10, FN_EX_CS1_N,
155 FN_TPUTO3_B, FN_SCIFB2_RXD, FN_VI1_DATA11, FN_EX_CS2_N, FN_PWM0,
156 FN_SCIF4_RXD_C, FN_TS_SDATA_B, FN_RIF0_SYNC, FN_TPUTO3, FN_SCIFB2_TXD,
157 FN_SDATA_B, FN_EX_CS3_N, FN_SCIFA2_SCK, FN_SCIF4_TXD_C, FN_TS_SCK_B,
158 FN_RIF0_CLK, FN_BPFCLK, FN_SCIFB2_SCK, FN_MDATA_B, FN_EX_CS4_N,
159 FN_SCIFA2_RXD, FN_I2C2_SCL_E, FN_TS_SDEN_B, FN_RIF0_D0, FN_FMCLK,
160 FN_SCIFB2_CTS_N, FN_SCKZ_B, FN_EX_CS5_N, FN_SCIFA2_TXD, FN_I2C2_SDA_E,
161 FN_TS_SPSYNC_B, FN_RIF0_D1, FN_FMIN, FN_SCIFB2_RTS_N, FN_STM_N_B,
162 FN_BS_N, FN_DRACK0, FN_PWM1_C, FN_TPUTO0_C, FN_ATACS01_N, FN_MTS_N_B,
163 FN_RD_N, FN_ATACS11_N, FN_RD_WR_N, FN_ATAG1_N,
164
165 /* IPSR4 */
166 FN_EX_WAIT0, FN_CAN_CLK_B, FN_SCIF_CLK, FN_PWMFSW0, FN_DU0_DR0,
167 FN_LCDOUT16, FN_SCIF5_RXD_C, FN_I2C2_SCL_D, FN_CC50_STATE0,
168 FN_DU0_DR1, FN_LCDOUT17, FN_SCIF5_TXD_C, FN_I2C2_SDA_D, FN_CC50_STATE1,
169 FN_DU0_DR2, FN_LCDOUT18, FN_CC50_STATE2, FN_DU0_DR3, FN_LCDOUT19,
170 FN_CC50_STATE3, FN_DU0_DR4, FN_LCDOUT20, FN_CC50_STATE4, FN_DU0_DR5,
171 FN_LCDOUT21, FN_CC50_STATE5, FN_DU0_DR6, FN_LCDOUT22, FN_CC50_STATE6,
172 FN_DU0_DR7, FN_LCDOUT23, FN_CC50_STATE7, FN_DU0_DG0, FN_LCDOUT8,
173 FN_SCIFA0_RXD_C, FN_I2C3_SCL_D, FN_CC50_STATE8, FN_DU0_DG1, FN_LCDOUT9,
174 FN_SCIFA0_TXD_C, FN_I2C3_SDA_D, FN_CC50_STATE9, FN_DU0_DG2, FN_LCDOUT10,
175 FN_CC50_STATE10, FN_DU0_DG3, FN_LCDOUT11, FN_CC50_STATE11, FN_DU0_DG4,
176 FN_LCDOUT12, FN_CC50_STATE12,
177
178 /* IPSR5 */
179 FN_DU0_DG5, FN_LCDOUT13, FN_CC50_STATE13, FN_DU0_DG6, FN_LCDOUT14,
180 FN_CC50_STATE14, FN_DU0_DG7, FN_LCDOUT15, FN_CC50_STATE15, FN_DU0_DB0,
181 FN_LCDOUT0, FN_SCIFA4_RXD_C, FN_I2C4_SCL_D, FN_CAN0_RX_C,
182 FN_CC50_STATE16, FN_DU0_DB1, FN_LCDOUT1, FN_SCIFA4_TXD_C, FN_I2C4_SDA_D,
183 FN_CAN0_TX_C, FN_CC50_STATE17, FN_DU0_DB2, FN_LCDOUT2, FN_CC50_STATE18,
184 FN_DU0_DB3, FN_LCDOUT3, FN_CC50_STATE19, FN_DU0_DB4, FN_LCDOUT4,
185 FN_CC50_STATE20, FN_DU0_DB5, FN_LCDOUT5, FN_CC50_STATE21, FN_DU0_DB6,
186 FN_LCDOUT6, FN_CC50_STATE22, FN_DU0_DB7, FN_LCDOUT7, FN_CC50_STATE23,
187 FN_DU0_DOTCLKIN, FN_QSTVA_QVS, FN_CC50_STATE24, FN_DU0_DOTCLKOUT0,
188 FN_QCLK, FN_CC50_STATE25, FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE,
189 FN_CC50_STATE26, FN_DU0_EXHSYNC_DU0_HSYNC, FN_QSTH_QHS, FN_CC50_STATE27,
190
191 /* IPSR6 */
192 FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, FN_CC50_STATE28,
193 FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CC50_STATE29,
194 FN_DU0_DISP, FN_QPOLA, FN_CC50_STATE30, FN_DU0_CDE, FN_QPOLB,
195 FN_CC50_STATE31, FN_VI0_CLK, FN_AVB_RX_CLK, FN_VI0_DATA0_VI0_B0,
196 FN_AVB_RX_DV, FN_VI0_DATA1_VI0_B1, FN_AVB_RXD0, FN_VI0_DATA2_VI0_B2,
197 FN_AVB_RXD1, FN_VI0_DATA3_VI0_B3, FN_AVB_RXD2, FN_VI0_DATA4_VI0_B4,
198 FN_AVB_RXD3, FN_VI0_DATA5_VI0_B5, FN_AVB_RXD4, FN_VI0_DATA6_VI0_B6,
199 FN_AVB_RXD5, FN_VI0_DATA7_VI0_B7, FN_AVB_RXD6, FN_VI0_CLKENB,
200 FN_I2C3_SCL, FN_SCIFA5_RXD_C, FN_IETX_C, FN_AVB_RXD7, FN_VI0_FIELD,
201 FN_I2C3_SDA, FN_SCIFA5_TXD_C, FN_IECLK_C, FN_AVB_RX_ER, FN_VI0_HSYNC_N,
202 FN_SCIF0_RXD_B, FN_I2C0_SCL_C, FN_IERX_C, FN_AVB_COL, FN_VI0_VSYNC_N,
203 FN_SCIF0_TXD_B, FN_I2C0_SDA_C, FN_AUDIO_CLKOUT_B, FN_AVB_TX_EN,
204 FN_ETH_MDIO, FN_VI0_G0, FN_MSIOF2_RXD_B, FN_IIC0_SCL_D, FN_AVB_TX_CLK,
205 FN_ADIDATA, FN_AD_DI,
206
207 /* IPSR7 */
208 FN_ETH_CRS_DV, FN_VI0_G1, FN_MSIOF2_TXD_B, FN_IIC0_SDA_D, FN_AVB_TXD0,
209 FN_ADICS_SAMP, FN_AD_DO, FN_ETH_RX_ER, FN_VI0_G2, FN_MSIOF2_SCK_B,
210 FN_CAN0_RX_B, FN_AVB_TXD1, FN_ADICLK, FN_AD_CLK, FN_ETH_RXD0, FN_VI0_G3,
211 FN_MSIOF2_SYNC_B, FN_CAN0_TX_B, FN_AVB_TXD2, FN_ADICHS0, FN_AD_NCS_N,
212 FN_ETH_RXD1, FN_VI0_G4, FN_MSIOF2_SS1_B, FN_SCIF4_RXD_D, FN_AVB_TXD3,
213 FN_ADICHS1, FN_ETH_LINK, FN_VI0_G5, FN_MSIOF2_SS2_B, FN_SCIF4_TXD_D,
214 FN_AVB_TXD4, FN_ADICHS2, FN_ETH_REFCLK, FN_VI0_G6, FN_SCIF2_SCK_C,
215 FN_AVB_TXD5, FN_SSI_SCK5_B, FN_ETH_TXD1, FN_VI0_G7, FN_SCIF2_RXD_C,
216 FN_IIC1_SCL_D, FN_AVB_TXD6, FN_SSI_WS5_B, FN_ETH_TX_EN, FN_VI0_R0,
217 FN_SCIF2_TXD_C, FN_IIC1_SDA_D, FN_AVB_TXD7, FN_SSI_SDATA5_B,
218 FN_ETH_MAGIC, FN_VI0_R1, FN_SCIF3_SCK_B, FN_AVB_TX_ER, FN_SSI_SCK6_B,
219 FN_ETH_TXD0, FN_VI0_R2, FN_SCIF3_RXD_B, FN_I2C4_SCL_E, FN_AVB_GTX_CLK,
220 FN_SSI_WS6_B, FN_DREQ0_N, FN_SCIFB1_RXD,
221
222 /* IPSR8 */
223 FN_ETH_MDC, FN_VI0_R3, FN_SCIF3_TXD_B, FN_I2C4_SDA_E, FN_AVB_MDC,
224 FN_SSI_SDATA6_B, FN_HSCIF0_HRX, FN_VI0_R4, FN_I2C1_SCL_C,
225 FN_AUDIO_CLKA_B, FN_AVB_MDIO, FN_SSI_SCK78_B, FN_HSCIF0_HTX,
226 FN_VI0_R5, FN_I2C1_SDA_C, FN_AUDIO_CLKB_B, FN_AVB_LINK, FN_SSI_WS78_B,
227 FN_HSCIF0_HCTS_N, FN_VI0_R6, FN_SCIF0_RXD_D, FN_I2C0_SCL_E,
228 FN_AVB_MAGIC, FN_SSI_SDATA7_B, FN_HSCIF0_HRTS_N, FN_VI0_R7,
229 FN_SCIF0_TXD_D, FN_I2C0_SDA_E, FN_AVB_PHY_INT, FN_SSI_SDATA8_B,
230 FN_HSCIF0_HSCK, FN_SCIF_CLK_B, FN_AVB_CRS, FN_AUDIO_CLKC_B,
231 FN_I2C0_SCL, FN_SCIF0_RXD_C, FN_PWM5, FN_TCLK1_B, FN_AVB_GTXREFCLK,
232 FN_CAN1_RX_D, FN_TPUTO0_B, FN_I2C0_SDA, FN_SCIF0_TXD_C, FN_TPUTO0,
233 FN_CAN_CLK, FN_DVC_MUTE, FN_CAN1_TX_D, FN_I2C1_SCL, FN_SCIF4_RXD,
234 FN_PWM5_B, FN_DU1_DR0, FN_RIF1_SYNC_B, FN_TS_SDATA_D, FN_TPUTO1_B,
235 FN_I2C1_SDA, FN_SCIF4_TXD, FN_IRQ5, FN_DU1_DR1, FN_RIF1_CLK_B,
236 FN_TS_SCK_D, FN_BPFCLK_C, FN_MSIOF0_RXD, FN_SCIF5_RXD, FN_I2C2_SCL_C,
237 FN_DU1_DR2, FN_RIF1_D0_B, FN_TS_SDEN_D, FN_FMCLK_C, FN_RDS_CLK,
238
239 /* IPSR9 */
240 FN_MSIOF0_TXD, FN_SCIF5_TXD, FN_I2C2_SDA_C, FN_DU1_DR3, FN_RIF1_D1_B,
241 FN_TS_SPSYNC_D, FN_FMIN_C, FN_RDS_DATA, FN_MSIOF0_SCK, FN_IRQ0,
242 FN_TS_SDATA, FN_DU1_DR4, FN_RIF1_SYNC, FN_TPUTO1_C, FN_MSIOF0_SYNC,
243 FN_PWM1, FN_TS_SCK, FN_DU1_DR5, FN_RIF1_CLK, FN_BPFCLK_B, FN_MSIOF0_SS1,
244 FN_SCIFA0_RXD, FN_TS_SDEN, FN_DU1_DR6, FN_RIF1_D0, FN_FMCLK_B,
245 FN_RDS_CLK_B, FN_MSIOF0_SS2, FN_SCIFA0_TXD, FN_TS_SPSYNC, FN_DU1_DR7,
246 FN_RIF1_D1, FN_FMIN_B, FN_RDS_DATA_B, FN_HSCIF1_HRX, FN_I2C4_SCL,
247 FN_PWM6, FN_DU1_DG0, FN_HSCIF1_HTX, FN_I2C4_SDA, FN_TPUTO1, FN_DU1_DG1,
248 FN_HSCIF1_HSCK, FN_PWM2, FN_IETX, FN_DU1_DG2, FN_REMOCON_B,
249 FN_SPEEDIN_B, FN_VSP_B, FN_HSCIF1_HCTS_N, FN_SCIFA4_RXD, FN_IECLK,
250 FN_DU1_DG3, FN_SSI_SCK1_B, FN_CAN_DEBUG_HW_TRIGGER, FN_CC50_STATE32,
251 FN_HSCIF1_HRTS_N, FN_SCIFA4_TXD, FN_IERX, FN_DU1_DG4, FN_SSI_WS1_B,
252 FN_CAN_STEP0, FN_CC50_STATE33, FN_SCIF1_SCK, FN_PWM3, FN_TCLK2,
253 FN_DU1_DG5, FN_SSI_SDATA1_B, FN_CAN_TXCLK, FN_CC50_STATE34,
254
255 /* IPSR10 */
256 FN_SCIF1_RXD, FN_IIC0_SCL, FN_DU1_DG6, FN_SSI_SCK2_B, FN_CAN_DEBUGOUT0,
257 FN_CC50_STATE35, FN_SCIF1_TXD, FN_IIC0_SDA, FN_DU1_DG7, FN_SSI_WS2_B,
258 FN_CAN_DEBUGOUT1, FN_CC50_STATE36, FN_SCIF2_RXD, FN_IIC1_SCL,
259 FN_DU1_DB0, FN_SSI_SDATA2_B, FN_USB0_EXTLP, FN_CAN_DEBUGOUT2,
260 FN_CC50_STATE37, FN_SCIF2_TXD, FN_IIC1_SDA, FN_DU1_DB1, FN_SSI_SCK9_B,
261 FN_USB0_OVC1, FN_CAN_DEBUGOUT3, FN_CC50_STATE38, FN_SCIF2_SCK, FN_IRQ1,
262 FN_DU1_DB2, FN_SSI_WS9_B, FN_USB0_IDIN, FN_CAN_DEBUGOUT4,
263 FN_CC50_STATE39, FN_SCIF3_SCK, FN_IRQ2, FN_BPFCLK_D, FN_DU1_DB3,
264 FN_SSI_SDATA9_B, FN_TANS2, FN_CAN_DEBUGOUT5, FN_CC50_OSCOUT,
265 FN_SCIF3_RXD, FN_I2C1_SCL_E, FN_FMCLK_D, FN_DU1_DB4, FN_AUDIO_CLKA_C,
266 FN_SSI_SCK4_B, FN_CAN_DEBUGOUT6, FN_RDS_CLK_C, FN_SCIF3_TXD,
267 FN_I2C1_SDA_E, FN_FMIN_D, FN_DU1_DB5, FN_AUDIO_CLKB_C, FN_SSI_WS4_B,
268 FN_CAN_DEBUGOUT7, FN_RDS_DATA_C, FN_I2C2_SCL, FN_SCIFA5_RXD, FN_DU1_DB6,
269 FN_AUDIO_CLKC_C, FN_SSI_SDATA4_B, FN_CAN_DEBUGOUT8, FN_I2C2_SDA,
270 FN_SCIFA5_TXD, FN_DU1_DB7, FN_AUDIO_CLKOUT_C, FN_CAN_DEBUGOUT9,
271 FN_SSI_SCK5, FN_SCIFA3_SCK, FN_DU1_DOTCLKIN, FN_CAN_DEBUGOUT10,
272
273 /* IPSR11 */
274 FN_SSI_WS5, FN_SCIFA3_RXD, FN_I2C3_SCL_C, FN_DU1_DOTCLKOUT0,
275 FN_CAN_DEBUGOUT11, FN_SSI_SDATA5, FN_SCIFA3_TXD, FN_I2C3_SDA_C,
276 FN_DU1_DOTCLKOUT1, FN_CAN_DEBUGOUT12, FN_SSI_SCK6, FN_SCIFA1_SCK_B,
277 FN_DU1_EXHSYNC_DU1_HSYNC, FN_CAN_DEBUGOUT13, FN_SSI_WS6,
278 FN_SCIFA1_RXD_B, FN_I2C4_SCL_C, FN_DU1_EXVSYNC_DU1_VSYNC,
279 FN_CAN_DEBUGOUT14, FN_SSI_SDATA6, FN_SCIFA1_TXD_B, FN_I2C4_SDA_C,
280 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_CAN_DEBUGOUT15, FN_SSI_SCK78,
281 FN_SCIFA2_SCK_B, FN_IIC0_SDA_C, FN_DU1_DISP, FN_SSI_WS78,
282 FN_SCIFA2_RXD_B, FN_IIC0_SCL_C, FN_DU1_CDE, FN_SSI_SDATA7,
283 FN_SCIFA2_TXD_B, FN_IRQ8, FN_AUDIO_CLKA_D, FN_CAN_CLK_D, FN_PCMOE_N,
284 FN_SSI_SCK0129, FN_MSIOF1_RXD_B, FN_SCIF5_RXD_D, FN_ADIDATA_B,
285 FN_AD_DI_B, FN_PCMWE_N, FN_SSI_WS0129, FN_MSIOF1_TXD_B, FN_SCIF5_TXD_D,
286 FN_ADICS_SAMP_B, FN_AD_DO_B, FN_SSI_SDATA0, FN_MSIOF1_SCK_B, FN_PWM0_B,
287 FN_ADICLK_B, FN_AD_CLK_B,
288
289 /* IPSR12 */
290 FN_SSI_SCK34, FN_MSIOF1_SYNC_B, FN_SCIFA1_SCK_C, FN_ADICHS0_B,
291 FN_AD_NCS_N_B, FN_DREQ1_N_B, FN_SSI_WS34, FN_MSIOF1_SS1_B,
292 FN_SCIFA1_RXD_C, FN_ADICHS1_B, FN_CAN1_RX_C, FN_DACK1_B, FN_SSI_SDATA3,
293 FN_MSIOF1_SS2_B, FN_SCIFA1_TXD_C, FN_ADICHS2_B, FN_CAN1_TX_C,
294 FN_DREQ2_N, FN_SSI_SCK4, FN_MLB_CLK, FN_IETX_B, FN_IRD_TX, FN_SSI_WS4,
295 FN_MLB_SIG, FN_IECLK_B, FN_IRD_RX, FN_SSI_SDATA4, FN_MLB_DAT,
296 FN_IERX_B, FN_IRD_SCK, FN_SSI_SDATA8, FN_SCIF1_SCK_B,
297 FN_PWM1_B, FN_IRQ9, FN_REMOCON, FN_DACK2, FN_ETH_MDIO_B, FN_SSI_SCK1,
298 FN_SCIF1_RXD_B, FN_IIC1_SCL_C, FN_VI1_CLK, FN_CAN0_RX_D,
299 FN_AVB_AVTP_CAPTURE, FN_ETH_CRS_DV_B, FN_SSI_WS1, FN_SCIF1_TXD_B,
300 FN_IIC1_SDA_C, FN_VI1_DATA0, FN_CAN0_TX_D, FN_AVB_AVTP_MATCH,
301 FN_ETH_RX_ER_B, FN_SSI_SDATA1, FN_HSCIF1_HRX_B, FN_SDATA, FN_VI1_DATA1,
302 FN_ATAG0_N, FN_ETH_RXD0_B, FN_SSI_SCK2, FN_HSCIF1_HTX_B, FN_VI1_DATA2,
303 FN_MDATA, FN_ATAWR0_N, FN_ETH_RXD1_B,
304
305 /* IPSR13 */
306 FN_SSI_WS2, FN_HSCIF1_HCTS_N_B, FN_SCIFA0_RXD_D, FN_VI1_DATA3, FN_SCKZ,
307 FN_ATACS00_N, FN_ETH_LINK_B, FN_SSI_SDATA2, FN_HSCIF1_HRTS_N_B,
308 FN_SCIFA0_TXD_D, FN_VI1_DATA4, FN_STM_N, FN_ATACS10_N, FN_ETH_REFCLK_B,
309 FN_SSI_SCK9, FN_SCIF2_SCK_B, FN_PWM2_B, FN_VI1_DATA5, FN_MTS_N,
310 FN_EX_WAIT1, FN_ETH_TXD1_B, FN_SSI_WS9, FN_SCIF2_RXD_B, FN_I2C3_SCL_E,
311 FN_VI1_DATA6, FN_ATARD0_N, FN_ETH_TX_EN_B, FN_SSI_SDATA9,
312 FN_SCIF2_TXD_B, FN_I2C3_SDA_E, FN_VI1_DATA7, FN_ATADIR0_N,
313 FN_ETH_MAGIC_B, FN_AUDIO_CLKA, FN_I2C0_SCL_B, FN_SCIFA4_RXD_D,
314 FN_VI1_CLKENB, FN_TS_SDATA_C, FN_RIF0_SYNC_B, FN_ETH_TXD0_B,
315 FN_AUDIO_CLKB, FN_I2C0_SDA_B, FN_SCIFA4_TXD_D, FN_VI1_FIELD,
316 FN_TS_SCK_C, FN_RIF0_CLK_B, FN_BPFCLK_E, FN_ETH_MDC_B, FN_AUDIO_CLKC,
317 FN_I2C4_SCL_B, FN_SCIFA5_RXD_D, FN_VI1_HSYNC_N, FN_TS_SDEN_C,
318 FN_RIF0_D0_B, FN_FMCLK_E, FN_RDS_CLK_D, FN_AUDIO_CLKOUT, FN_I2C4_SDA_B,
319 FN_SCIFA5_TXD_D, FN_VI1_VSYNC_N, FN_TS_SPSYNC_C, FN_RIF0_D1_B,
320 FN_FMIN_E, FN_RDS_DATA_D,
321
322 /* MOD_SEL */
323 FN_SEL_ADG_0, FN_SEL_ADG_1, FN_SEL_ADG_2, FN_SEL_ADG_3,
324 FN_SEL_ADI_0, FN_SEL_ADI_1, FN_SEL_CAN_0, FN_SEL_CAN_1,
325 FN_SEL_CAN_2, FN_SEL_CAN_3, FN_SEL_DARC_0, FN_SEL_DARC_1,
326 FN_SEL_DARC_2, FN_SEL_DARC_3, FN_SEL_DARC_4, FN_SEL_DR0_0,
327 FN_SEL_DR0_1, FN_SEL_DR1_0, FN_SEL_DR1_1, FN_SEL_DR2_0, FN_SEL_DR2_1,
328 FN_SEL_DR3_0, FN_SEL_DR3_1, FN_SEL_ETH_0, FN_SEL_ETH_1, FN_SEL_FSN_0,
329 FN_SEL_FSN_1, FN_SEL_I2C00_0, FN_SEL_I2C00_1, FN_SEL_I2C00_2,
330 FN_SEL_I2C00_3, FN_SEL_I2C00_4, FN_SEL_I2C01_0, FN_SEL_I2C01_1,
331 FN_SEL_I2C01_2, FN_SEL_I2C01_3, FN_SEL_I2C01_4, FN_SEL_I2C02_0,
332 FN_SEL_I2C02_1, FN_SEL_I2C02_2, FN_SEL_I2C02_3, FN_SEL_I2C02_4,
333 FN_SEL_I2C03_0, FN_SEL_I2C03_1, FN_SEL_I2C03_2, FN_SEL_I2C03_3,
334 FN_SEL_I2C03_4, FN_SEL_I2C04_0, FN_SEL_I2C04_1, FN_SEL_I2C04_2,
335 FN_SEL_I2C04_3, FN_SEL_I2C04_4, FN_SEL_IIC00_0, FN_SEL_IIC00_1,
336 FN_SEL_IIC00_2, FN_SEL_IIC00_3, FN_SEL_AVB_0, FN_SEL_AVB_1,
337
338 /* MOD_SEL2 */
339 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, FN_SEL_IIC01_0,
340 FN_SEL_IIC01_1, FN_SEL_IIC01_2, FN_SEL_IIC01_3, FN_SEL_LBS_0,
341 FN_SEL_LBS_1, FN_SEL_MSI1_0, FN_SEL_MSI1_1, FN_SEL_MSI2_0,
342 FN_SEL_MSI2_1, FN_SEL_RAD_0, FN_SEL_RAD_1, FN_SEL_RCN_0,
343 FN_SEL_RCN_1, FN_SEL_RSP_0, FN_SEL_RSP_1, FN_SEL_SCIFA0_0,
344 FN_SEL_SCIFA0_1, FN_SEL_SCIFA0_2, FN_SEL_SCIFA0_3, FN_SEL_SCIFA1_0,
345 FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
346 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1, FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1,
347 FN_SEL_SCIFA4_2, FN_SEL_SCIFA4_3, FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1,
348 FN_SEL_SCIFA5_2, FN_SEL_SCIFA5_3, FN_SEL_SPDM_0, FN_SEL_SPDM_1,
349 FN_SEL_TMU_0, FN_SEL_TMU_1, FN_SEL_TSIF0_0, FN_SEL_TSIF0_1,
350 FN_SEL_TSIF0_2, FN_SEL_TSIF0_3, FN_SEL_CAN0_0, FN_SEL_CAN0_1,
351 FN_SEL_CAN0_2, FN_SEL_CAN0_3, FN_SEL_CAN1_0, FN_SEL_CAN1_1,
352 FN_SEL_CAN1_2, FN_SEL_CAN1_3, FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
353 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1, FN_SEL_RDS_0, FN_SEL_RDS_1,
354 FN_SEL_RDS_2, FN_SEL_RDS_3,
355
356 /* MOD_SEL3 */
357 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
358 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, FN_SEL_SCIF2_0,
359 FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, FN_SEL_SCIF3_0, FN_SEL_SCIF3_1,
360 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
361 FN_SEL_SCIF4_4, FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2,
362 FN_SEL_SCIF5_3, FN_SEL_SSI1_0, FN_SEL_SSI1_1, FN_SEL_SSI2_0,
363 FN_SEL_SSI2_1, FN_SEL_SSI4_0, FN_SEL_SSI4_1, FN_SEL_SSI5_0,
364 FN_SEL_SSI5_1, FN_SEL_SSI6_0, FN_SEL_SSI6_1, FN_SEL_SSI7_0,
365 FN_SEL_SSI7_1, FN_SEL_SSI8_0, FN_SEL_SSI8_1, FN_SEL_SSI9_0,
366 FN_SEL_SSI9_1,
367 PINMUX_FUNCTION_END,
368
369 PINMUX_MARK_BEGIN,
370 A2_MARK, WE0_N_MARK, WE1_N_MARK, DACK0_MARK,
371
372 USB0_PWEN_MARK, USB0_OVC_MARK, USB1_PWEN_MARK, USB1_OVC_MARK,
373
374 SD0_CLK_MARK, SD0_CMD_MARK, SD0_DATA0_MARK, SD0_DATA1_MARK,
375 SD0_DATA2_MARK, SD0_DATA3_MARK, SD0_CD_MARK, SD0_WP_MARK,
376
377 SD1_CLK_MARK, SD1_CMD_MARK, SD1_DATA0_MARK, SD1_DATA1_MARK,
378 SD1_DATA2_MARK, SD1_DATA3_MARK,
379
380 /* IPSR0 */
381 SD1_CD_MARK, CAN0_RX_MARK, SD1_WP_MARK, IRQ7_MARK, CAN0_TX_MARK,
382 MMC_CLK_MARK, SD2_CLK_MARK, MMC_CMD_MARK, SD2_CMD_MARK, MMC_D0_MARK,
383 SD2_DATA0_MARK, MMC_D1_MARK, SD2_DATA1_MARK, MMC_D2_MARK,
384 SD2_DATA2_MARK, MMC_D3_MARK, SD2_DATA3_MARK, MMC_D4_MARK, SD2_CD_MARK,
385 MMC_D5_MARK, SD2_WP_MARK, MMC_D6_MARK, SCIF0_RXD_MARK, I2C2_SCL_B_MARK,
386 CAN1_RX_MARK, MMC_D7_MARK, SCIF0_TXD_MARK, I2C2_SDA_B_MARK,
387 CAN1_TX_MARK, D0_MARK, SCIFA3_SCK_B_MARK, IRQ4_MARK, D1_MARK,
388 SCIFA3_RXD_B_MARK, D2_MARK, SCIFA3_TXD_B_MARK, D3_MARK, I2C3_SCL_B_MARK,
389 SCIF5_RXD_B_MARK, D4_MARK, I2C3_SDA_B_MARK, SCIF5_TXD_B_MARK, D5_MARK,
390 SCIF4_RXD_B_MARK, I2C0_SCL_D_MARK,
391
392 /* IPSR1 */
393 D6_MARK, SCIF4_TXD_B_MARK, I2C0_SDA_D_MARK, D7_MARK, IRQ3_MARK,
394 TCLK1_MARK, PWM6_B_MARK, D8_MARK, HSCIF2_HRX_MARK, I2C1_SCL_B_MARK,
395 D9_MARK, HSCIF2_HTX_MARK, I2C1_SDA_B_MARK, D10_MARK,
396 HSCIF2_HSCK_MARK, SCIF1_SCK_C_MARK, IRQ6_MARK, PWM5_C_MARK,
397 D11_MARK, HSCIF2_HCTS_N_MARK, SCIF1_RXD_C_MARK, I2C1_SCL_D_MARK,
398 D12_MARK, HSCIF2_HRTS_N_MARK, SCIF1_TXD_C_MARK, I2C1_SDA_D_MARK,
399 D13_MARK, SCIFA1_SCK_MARK, TANS1_MARK, PWM2_C_MARK, TCLK2_B_MARK,
400 D14_MARK, SCIFA1_RXD_MARK, IIC0_SCL_B_MARK, D15_MARK, SCIFA1_TXD_MARK,
401 IIC0_SDA_B_MARK, A0_MARK, SCIFB1_SCK_MARK, PWM3_B_MARK, A1_MARK,
402 SCIFB1_TXD_MARK, A3_MARK, SCIFB0_SCK_MARK, A4_MARK, SCIFB0_TXD_MARK,
403 A5_MARK, SCIFB0_RXD_MARK, PWM4_B_MARK, TPUTO3_C_MARK, A6_MARK,
404 SCIFB0_CTS_N_MARK, SCIFA4_RXD_B_MARK, TPUTO2_C_MARK,
405
406 /* IPSR2 */
407 A7_MARK, SCIFB0_RTS_N_MARK, SCIFA4_TXD_B_MARK, A8_MARK, MSIOF1_RXD_MARK,
408 SCIFA0_RXD_B_MARK, A9_MARK, MSIOF1_TXD_MARK, SCIFA0_TXD_B_MARK,
409 A10_MARK, MSIOF1_SCK_MARK, IIC1_SCL_B_MARK, A11_MARK, MSIOF1_SYNC_MARK,
410 IIC1_SDA_B_MARK, A12_MARK, MSIOF1_SS1_MARK, SCIFA5_RXD_B_MARK,
411 A13_MARK, MSIOF1_SS2_MARK, SCIFA5_TXD_B_MARK, A14_MARK, MSIOF2_RXD_MARK,
412 HSCIF0_HRX_B_MARK, DREQ1_N_MARK, A15_MARK, MSIOF2_TXD_MARK,
413 HSCIF0_HTX_B_MARK, DACK1_MARK, A16_MARK, MSIOF2_SCK_MARK,
414 HSCIF0_HSCK_B_MARK, SPEEDIN_MARK, VSP_MARK, CAN_CLK_C_MARK,
415 TPUTO2_B_MARK, A17_MARK, MSIOF2_SYNC_MARK, SCIF4_RXD_E_MARK,
416 CAN1_RX_B_MARK, AVB_AVTP_CAPTURE_B_MARK, A18_MARK, MSIOF2_SS1_MARK,
417 SCIF4_TXD_E_MARK, CAN1_TX_B_MARK, AVB_AVTP_MATCH_B_MARK, A19_MARK,
418 MSIOF2_SS2_MARK, PWM4_MARK, TPUTO2_MARK, MOUT0_MARK, A20_MARK,
419 SPCLK_MARK, MOUT1_MARK,
420
421 /* IPSR3 */
422 A21_MARK, MOSI_IO0_MARK, MOUT2_MARK, A22_MARK, MISO_IO1_MARK,
423 MOUT5_MARK, ATADIR1_N_MARK, A23_MARK, IO2_MARK, MOUT6_MARK,
424 ATAWR1_N_MARK, A24_MARK, IO3_MARK, EX_WAIT2_MARK, A25_MARK, SSL_MARK,
425 ATARD1_N_MARK, CS0_N_MARK, VI1_DATA8_MARK, CS1_N_A26_MARK,
426 VI1_DATA9_MARK, EX_CS0_N_MARK, VI1_DATA10_MARK, EX_CS1_N_MARK,
427 TPUTO3_B_MARK, SCIFB2_RXD_MARK, VI1_DATA11_MARK, EX_CS2_N_MARK,
428 PWM0_MARK, SCIF4_RXD_C_MARK, TS_SDATA_B_MARK, RIF0_SYNC_MARK,
429 TPUTO3_MARK, SCIFB2_TXD_MARK, SDATA_B_MARK, EX_CS3_N_MARK,
430 SCIFA2_SCK_MARK, SCIF4_TXD_C_MARK, TS_SCK_B_MARK, RIF0_CLK_MARK,
431 BPFCLK_MARK, SCIFB2_SCK_MARK, MDATA_B_MARK, EX_CS4_N_MARK,
432 SCIFA2_RXD_MARK, I2C2_SCL_E_MARK, TS_SDEN_B_MARK, RIF0_D0_MARK,
433 FMCLK_MARK, SCIFB2_CTS_N_MARK, SCKZ_B_MARK, EX_CS5_N_MARK,
434 SCIFA2_TXD_MARK, I2C2_SDA_E_MARK, TS_SPSYNC_B_MARK, RIF0_D1_MARK,
435 FMIN_MARK, SCIFB2_RTS_N_MARK, STM_N_B_MARK, BS_N_MARK, DRACK0_MARK,
436 PWM1_C_MARK, TPUTO0_C_MARK, ATACS01_N_MARK, MTS_N_B_MARK, RD_N_MARK,
437 ATACS11_N_MARK, RD_WR_N_MARK, ATAG1_N_MARK,
438
439 /* IPSR4 */
440 EX_WAIT0_MARK, CAN_CLK_B_MARK, SCIF_CLK_MARK, PWMFSW0_MARK,
441 DU0_DR0_MARK, LCDOUT16_MARK, SCIF5_RXD_C_MARK, I2C2_SCL_D_MARK,
442 CC50_STATE0_MARK, DU0_DR1_MARK, LCDOUT17_MARK, SCIF5_TXD_C_MARK,
443 I2C2_SDA_D_MARK, CC50_STATE1_MARK, DU0_DR2_MARK, LCDOUT18_MARK,
444 CC50_STATE2_MARK, DU0_DR3_MARK, LCDOUT19_MARK, CC50_STATE3_MARK,
445 DU0_DR4_MARK, LCDOUT20_MARK, CC50_STATE4_MARK, DU0_DR5_MARK,
446 LCDOUT21_MARK, CC50_STATE5_MARK, DU0_DR6_MARK, LCDOUT22_MARK,
447 CC50_STATE6_MARK, DU0_DR7_MARK, LCDOUT23_MARK, CC50_STATE7_MARK,
448 DU0_DG0_MARK, LCDOUT8_MARK, SCIFA0_RXD_C_MARK, I2C3_SCL_D_MARK,
449 CC50_STATE8_MARK, DU0_DG1_MARK, LCDOUT9_MARK, SCIFA0_TXD_C_MARK,
450 I2C3_SDA_D_MARK, CC50_STATE9_MARK, DU0_DG2_MARK, LCDOUT10_MARK,
451 CC50_STATE10_MARK, DU0_DG3_MARK, LCDOUT11_MARK, CC50_STATE11_MARK,
452 DU0_DG4_MARK, LCDOUT12_MARK, CC50_STATE12_MARK,
453
454 /* IPSR5 */
455 DU0_DG5_MARK, LCDOUT13_MARK, CC50_STATE13_MARK, DU0_DG6_MARK,
456 LCDOUT14_MARK, CC50_STATE14_MARK, DU0_DG7_MARK, LCDOUT15_MARK,
457 CC50_STATE15_MARK, DU0_DB0_MARK, LCDOUT0_MARK, SCIFA4_RXD_C_MARK,
458 I2C4_SCL_D_MARK, CAN0_RX_C_MARK, CC50_STATE16_MARK, DU0_DB1_MARK,
459 LCDOUT1_MARK, SCIFA4_TXD_C_MARK, I2C4_SDA_D_MARK, CAN0_TX_C_MARK,
460 CC50_STATE17_MARK, DU0_DB2_MARK, LCDOUT2_MARK, CC50_STATE18_MARK,
461 DU0_DB3_MARK, LCDOUT3_MARK, CC50_STATE19_MARK, DU0_DB4_MARK,
462 LCDOUT4_MARK, CC50_STATE20_MARK, DU0_DB5_MARK, LCDOUT5_MARK,
463 CC50_STATE21_MARK, DU0_DB6_MARK, LCDOUT6_MARK, CC50_STATE22_MARK,
464 DU0_DB7_MARK, LCDOUT7_MARK, CC50_STATE23_MARK, DU0_DOTCLKIN_MARK,
465 QSTVA_QVS_MARK, CC50_STATE24_MARK, DU0_DOTCLKOUT0_MARK,
466 QCLK_MARK, CC50_STATE25_MARK, DU0_DOTCLKOUT1_MARK, QSTVB_QVE_MARK,
467 CC50_STATE26_MARK, DU0_EXHSYNC_DU0_HSYNC_MARK, QSTH_QHS_MARK,
468 CC50_STATE27_MARK,
469
470 /* IPSR6 */
471 DU0_EXVSYNC_DU0_VSYNC_MARK, QSTB_QHE_MARK, CC50_STATE28_MARK,
472 DU0_EXODDF_DU0_ODDF_DISP_CDE_MARK, QCPV_QDE_MARK, CC50_STATE29_MARK,
473 DU0_DISP_MARK, QPOLA_MARK, CC50_STATE30_MARK, DU0_CDE_MARK, QPOLB_MARK,
474 CC50_STATE31_MARK, VI0_CLK_MARK, AVB_RX_CLK_MARK, VI0_DATA0_VI0_B0_MARK,
475 AVB_RX_DV_MARK, VI0_DATA1_VI0_B1_MARK, AVB_RXD0_MARK,
476 VI0_DATA2_VI0_B2_MARK, AVB_RXD1_MARK, VI0_DATA3_VI0_B3_MARK,
477 AVB_RXD2_MARK, VI0_DATA4_VI0_B4_MARK, AVB_RXD3_MARK,
478 VI0_DATA5_VI0_B5_MARK, AVB_RXD4_MARK, VI0_DATA6_VI0_B6_MARK,
479 AVB_RXD5_MARK, VI0_DATA7_VI0_B7_MARK, AVB_RXD6_MARK, VI0_CLKENB_MARK,
480 I2C3_SCL_MARK, SCIFA5_RXD_C_MARK, IETX_C_MARK, AVB_RXD7_MARK,
481 VI0_FIELD_MARK, I2C3_SDA_MARK, SCIFA5_TXD_C_MARK, IECLK_C_MARK,
482 AVB_RX_ER_MARK, VI0_HSYNC_N_MARK, SCIF0_RXD_B_MARK, I2C0_SCL_C_MARK,
483 IERX_C_MARK, AVB_COL_MARK, VI0_VSYNC_N_MARK, SCIF0_TXD_B_MARK,
484 I2C0_SDA_C_MARK, AUDIO_CLKOUT_B_MARK, AVB_TX_EN_MARK, ETH_MDIO_MARK,
485 VI0_G0_MARK, MSIOF2_RXD_B_MARK, IIC0_SCL_D_MARK, AVB_TX_CLK_MARK,
486 ADIDATA_MARK, AD_DI_MARK,
487
488 /* IPSR7 */
489 ETH_CRS_DV_MARK, VI0_G1_MARK, MSIOF2_TXD_B_MARK, IIC0_SDA_D_MARK,
490 AVB_TXD0_MARK, ADICS_SAMP_MARK, AD_DO_MARK, ETH_RX_ER_MARK, VI0_G2_MARK,
491 MSIOF2_SCK_B_MARK, CAN0_RX_B_MARK, AVB_TXD1_MARK, ADICLK_MARK,
492 AD_CLK_MARK, ETH_RXD0_MARK, VI0_G3_MARK, MSIOF2_SYNC_B_MARK,
493 CAN0_TX_B_MARK, AVB_TXD2_MARK, ADICHS0_MARK, AD_NCS_N_MARK,
494 ETH_RXD1_MARK, VI0_G4_MARK, MSIOF2_SS1_B_MARK, SCIF4_RXD_D_MARK,
495 AVB_TXD3_MARK, ADICHS1_MARK, ETH_LINK_MARK, VI0_G5_MARK,
496 MSIOF2_SS2_B_MARK, SCIF4_TXD_D_MARK, AVB_TXD4_MARK, ADICHS2_MARK,
497 ETH_REFCLK_MARK, VI0_G6_MARK, SCIF2_SCK_C_MARK, AVB_TXD5_MARK,
498 SSI_SCK5_B_MARK, ETH_TXD1_MARK, VI0_G7_MARK, SCIF2_RXD_C_MARK,
499 IIC1_SCL_D_MARK, AVB_TXD6_MARK, SSI_WS5_B_MARK, ETH_TX_EN_MARK,
500 VI0_R0_MARK, SCIF2_TXD_C_MARK, IIC1_SDA_D_MARK, AVB_TXD7_MARK,
501 SSI_SDATA5_B_MARK, ETH_MAGIC_MARK, VI0_R1_MARK, SCIF3_SCK_B_MARK,
502 AVB_TX_ER_MARK, SSI_SCK6_B_MARK, ETH_TXD0_MARK, VI0_R2_MARK,
503 SCIF3_RXD_B_MARK, I2C4_SCL_E_MARK, AVB_GTX_CLK_MARK, SSI_WS6_B_MARK,
504 DREQ0_N_MARK, SCIFB1_RXD_MARK,
505
506 /* IPSR8 */
507 ETH_MDC_MARK, VI0_R3_MARK, SCIF3_TXD_B_MARK, I2C4_SDA_E_MARK,
508 AVB_MDC_MARK, SSI_SDATA6_B_MARK, HSCIF0_HRX_MARK, VI0_R4_MARK,
509 I2C1_SCL_C_MARK, AUDIO_CLKA_B_MARK, AVB_MDIO_MARK, SSI_SCK78_B_MARK,
510 HSCIF0_HTX_MARK, VI0_R5_MARK, I2C1_SDA_C_MARK, AUDIO_CLKB_B_MARK,
511 AVB_LINK_MARK, SSI_WS78_B_MARK, HSCIF0_HCTS_N_MARK, VI0_R6_MARK,
512 SCIF0_RXD_D_MARK, I2C0_SCL_E_MARK, AVB_MAGIC_MARK, SSI_SDATA7_B_MARK,
513 HSCIF0_HRTS_N_MARK, VI0_R7_MARK, SCIF0_TXD_D_MARK, I2C0_SDA_E_MARK,
514 AVB_PHY_INT_MARK, SSI_SDATA8_B_MARK,
515 HSCIF0_HSCK_MARK, SCIF_CLK_B_MARK, AVB_CRS_MARK, AUDIO_CLKC_B_MARK,
516 I2C0_SCL_MARK, SCIF0_RXD_C_MARK, PWM5_MARK, TCLK1_B_MARK,
517 AVB_GTXREFCLK_MARK, CAN1_RX_D_MARK, TPUTO0_B_MARK, I2C0_SDA_MARK,
518 SCIF0_TXD_C_MARK, TPUTO0_MARK, CAN_CLK_MARK, DVC_MUTE_MARK,
519 CAN1_TX_D_MARK, I2C1_SCL_MARK, SCIF4_RXD_MARK, PWM5_B_MARK,
520 DU1_DR0_MARK, RIF1_SYNC_B_MARK, TS_SDATA_D_MARK, TPUTO1_B_MARK,
521 I2C1_SDA_MARK, SCIF4_TXD_MARK, IRQ5_MARK, DU1_DR1_MARK, RIF1_CLK_B_MARK,
522 TS_SCK_D_MARK, BPFCLK_C_MARK, MSIOF0_RXD_MARK, SCIF5_RXD_MARK,
523 I2C2_SCL_C_MARK, DU1_DR2_MARK, RIF1_D0_B_MARK, TS_SDEN_D_MARK,
524 FMCLK_C_MARK, RDS_CLK_MARK,
525
526 /* IPSR9 */
527 MSIOF0_TXD_MARK, SCIF5_TXD_MARK, I2C2_SDA_C_MARK, DU1_DR3_MARK,
528 RIF1_D1_B_MARK, TS_SPSYNC_D_MARK, FMIN_C_MARK, RDS_DATA_MARK,
529 MSIOF0_SCK_MARK, IRQ0_MARK, TS_SDATA_MARK, DU1_DR4_MARK, RIF1_SYNC_MARK,
530 TPUTO1_C_MARK, MSIOF0_SYNC_MARK, PWM1_MARK, TS_SCK_MARK, DU1_DR5_MARK,
531 RIF1_CLK_MARK, BPFCLK_B_MARK, MSIOF0_SS1_MARK, SCIFA0_RXD_MARK,
532 TS_SDEN_MARK, DU1_DR6_MARK, RIF1_D0_MARK, FMCLK_B_MARK, RDS_CLK_B_MARK,
533 MSIOF0_SS2_MARK, SCIFA0_TXD_MARK, TS_SPSYNC_MARK, DU1_DR7_MARK,
534 RIF1_D1_MARK, FMIN_B_MARK, RDS_DATA_B_MARK, HSCIF1_HRX_MARK,
535 I2C4_SCL_MARK, PWM6_MARK, DU1_DG0_MARK, HSCIF1_HTX_MARK,
536 I2C4_SDA_MARK, TPUTO1_MARK, DU1_DG1_MARK, HSCIF1_HSCK_MARK,
537 PWM2_MARK, IETX_MARK, DU1_DG2_MARK, REMOCON_B_MARK, SPEEDIN_B_MARK,
538 VSP_B_MARK, HSCIF1_HCTS_N_MARK, SCIFA4_RXD_MARK, IECLK_MARK,
539 DU1_DG3_MARK, SSI_SCK1_B_MARK, CAN_DEBUG_HW_TRIGGER_MARK,
540 CC50_STATE32_MARK, HSCIF1_HRTS_N_MARK, SCIFA4_TXD_MARK, IERX_MARK,
541 DU1_DG4_MARK, SSI_WS1_B_MARK, CAN_STEP0_MARK, CC50_STATE33_MARK,
542 SCIF1_SCK_MARK, PWM3_MARK, TCLK2_MARK, DU1_DG5_MARK, SSI_SDATA1_B_MARK,
543 CAN_TXCLK_MARK, CC50_STATE34_MARK,
544
545 /* IPSR10 */
546 SCIF1_RXD_MARK, IIC0_SCL_MARK, DU1_DG6_MARK, SSI_SCK2_B_MARK,
547 CAN_DEBUGOUT0_MARK, CC50_STATE35_MARK, SCIF1_TXD_MARK, IIC0_SDA_MARK,
548 DU1_DG7_MARK, SSI_WS2_B_MARK, CAN_DEBUGOUT1_MARK, CC50_STATE36_MARK,
549 SCIF2_RXD_MARK, IIC1_SCL_MARK, DU1_DB0_MARK, SSI_SDATA2_B_MARK,
550 USB0_EXTLP_MARK, CAN_DEBUGOUT2_MARK, CC50_STATE37_MARK, SCIF2_TXD_MARK,
551 IIC1_SDA_MARK, DU1_DB1_MARK, SSI_SCK9_B_MARK, USB0_OVC1_MARK,
552 CAN_DEBUGOUT3_MARK, CC50_STATE38_MARK, SCIF2_SCK_MARK, IRQ1_MARK,
553 DU1_DB2_MARK, SSI_WS9_B_MARK, USB0_IDIN_MARK, CAN_DEBUGOUT4_MARK,
554 CC50_STATE39_MARK, SCIF3_SCK_MARK, IRQ2_MARK, BPFCLK_D_MARK,
555 DU1_DB3_MARK, SSI_SDATA9_B_MARK, TANS2_MARK, CAN_DEBUGOUT5_MARK,
556 CC50_OSCOUT_MARK, SCIF3_RXD_MARK, I2C1_SCL_E_MARK, FMCLK_D_MARK,
557 DU1_DB4_MARK, AUDIO_CLKA_C_MARK, SSI_SCK4_B_MARK, CAN_DEBUGOUT6_MARK,
558 RDS_CLK_C_MARK, SCIF3_TXD_MARK, I2C1_SDA_E_MARK, FMIN_D_MARK,
559 DU1_DB5_MARK, AUDIO_CLKB_C_MARK, SSI_WS4_B_MARK, CAN_DEBUGOUT7_MARK,
560 RDS_DATA_C_MARK, I2C2_SCL_MARK, SCIFA5_RXD_MARK, DU1_DB6_MARK,
561 AUDIO_CLKC_C_MARK, SSI_SDATA4_B_MARK, CAN_DEBUGOUT8_MARK, I2C2_SDA_MARK,
562 SCIFA5_TXD_MARK, DU1_DB7_MARK, AUDIO_CLKOUT_C_MARK, CAN_DEBUGOUT9_MARK,
563 SSI_SCK5_MARK, SCIFA3_SCK_MARK, DU1_DOTCLKIN_MARK, CAN_DEBUGOUT10_MARK,
564
565 /* IPSR11 */
566 SSI_WS5_MARK, SCIFA3_RXD_MARK, I2C3_SCL_C_MARK, DU1_DOTCLKOUT0_MARK,
567 CAN_DEBUGOUT11_MARK, SSI_SDATA5_MARK, SCIFA3_TXD_MARK, I2C3_SDA_C_MARK,
568 DU1_DOTCLKOUT1_MARK, CAN_DEBUGOUT12_MARK, SSI_SCK6_MARK,
569 SCIFA1_SCK_B_MARK, DU1_EXHSYNC_DU1_HSYNC_MARK, CAN_DEBUGOUT13_MARK,
570 SSI_WS6_MARK, SCIFA1_RXD_B_MARK, I2C4_SCL_C_MARK,
571 DU1_EXVSYNC_DU1_VSYNC_MARK, CAN_DEBUGOUT14_MARK, SSI_SDATA6_MARK,
572 SCIFA1_TXD_B_MARK, I2C4_SDA_C_MARK, DU1_EXODDF_DU1_ODDF_DISP_CDE_MARK,
573 CAN_DEBUGOUT15_MARK, SSI_SCK78_MARK, SCIFA2_SCK_B_MARK, IIC0_SDA_C_MARK,
574 DU1_DISP_MARK, SSI_WS78_MARK, SCIFA2_RXD_B_MARK, IIC0_SCL_C_MARK,
575 DU1_CDE_MARK, SSI_SDATA7_MARK, SCIFA2_TXD_B_MARK, IRQ8_MARK,
576 AUDIO_CLKA_D_MARK, CAN_CLK_D_MARK, PCMOE_N_MARK, SSI_SCK0129_MARK,
577 MSIOF1_RXD_B_MARK, SCIF5_RXD_D_MARK, ADIDATA_B_MARK, AD_DI_B_MARK,
578 PCMWE_N_MARK, SSI_WS0129_MARK, MSIOF1_TXD_B_MARK, SCIF5_TXD_D_MARK,
579 ADICS_SAMP_B_MARK, AD_DO_B_MARK, SSI_SDATA0_MARK, MSIOF1_SCK_B_MARK,
580 PWM0_B_MARK, ADICLK_B_MARK, AD_CLK_B_MARK,
581
582 /* IPSR12 */
583 SSI_SCK34_MARK, MSIOF1_SYNC_B_MARK, SCIFA1_SCK_C_MARK, ADICHS0_B_MARK,
584 AD_NCS_N_B_MARK, DREQ1_N_B_MARK, SSI_WS34_MARK, MSIOF1_SS1_B_MARK,
585 SCIFA1_RXD_C_MARK, ADICHS1_B_MARK, CAN1_RX_C_MARK, DACK1_B_MARK,
586 SSI_SDATA3_MARK, MSIOF1_SS2_B_MARK, SCIFA1_TXD_C_MARK, ADICHS2_B_MARK,
587 CAN1_TX_C_MARK, DREQ2_N_MARK, SSI_SCK4_MARK, MLB_CLK_MARK, IETX_B_MARK,
588 IRD_TX_MARK, SSI_WS4_MARK, MLB_SIG_MARK, IECLK_B_MARK, IRD_RX_MARK,
589 SSI_SDATA4_MARK, MLB_DAT_MARK, IERX_B_MARK, IRD_SCK_MARK,
590 SSI_SDATA8_MARK, SCIF1_SCK_B_MARK, PWM1_B_MARK, IRQ9_MARK, REMOCON_MARK,
591 DACK2_MARK, ETH_MDIO_B_MARK, SSI_SCK1_MARK, SCIF1_RXD_B_MARK,
592 IIC1_SCL_C_MARK, VI1_CLK_MARK, CAN0_RX_D_MARK, AVB_AVTP_CAPTURE_MARK,
593 ETH_CRS_DV_B_MARK, SSI_WS1_MARK, SCIF1_TXD_B_MARK, IIC1_SDA_C_MARK,
594 VI1_DATA0_MARK, CAN0_TX_D_MARK, AVB_AVTP_MATCH_MARK, ETH_RX_ER_B_MARK,
595 SSI_SDATA1_MARK, HSCIF1_HRX_B_MARK, VI1_DATA1_MARK, SDATA_MARK,
596 ATAG0_N_MARK, ETH_RXD0_B_MARK, SSI_SCK2_MARK, HSCIF1_HTX_B_MARK,
597 VI1_DATA2_MARK, MDATA_MARK, ATAWR0_N_MARK, ETH_RXD1_B_MARK,
598
599 /* IPSR13 */
600 SSI_WS2_MARK, HSCIF1_HCTS_N_B_MARK, SCIFA0_RXD_D_MARK, VI1_DATA3_MARK,
601 SCKZ_MARK, ATACS00_N_MARK, ETH_LINK_B_MARK, SSI_SDATA2_MARK,
602 HSCIF1_HRTS_N_B_MARK, SCIFA0_TXD_D_MARK, VI1_DATA4_MARK, STM_N_MARK,
603 ATACS10_N_MARK, ETH_REFCLK_B_MARK, SSI_SCK9_MARK, SCIF2_SCK_B_MARK,
604 PWM2_B_MARK, VI1_DATA5_MARK, MTS_N_MARK, EX_WAIT1_MARK,
605 ETH_TXD1_B_MARK, SSI_WS9_MARK, SCIF2_RXD_B_MARK, I2C3_SCL_E_MARK,
606 VI1_DATA6_MARK, ATARD0_N_MARK, ETH_TX_EN_B_MARK, SSI_SDATA9_MARK,
607 SCIF2_TXD_B_MARK, I2C3_SDA_E_MARK, VI1_DATA7_MARK, ATADIR0_N_MARK,
608 ETH_MAGIC_B_MARK, AUDIO_CLKA_MARK, I2C0_SCL_B_MARK, SCIFA4_RXD_D_MARK,
609 VI1_CLKENB_MARK, TS_SDATA_C_MARK, RIF0_SYNC_B_MARK, ETH_TXD0_B_MARK,
610 AUDIO_CLKB_MARK, I2C0_SDA_B_MARK, SCIFA4_TXD_D_MARK, VI1_FIELD_MARK,
611 TS_SCK_C_MARK, RIF0_CLK_B_MARK, BPFCLK_E_MARK, ETH_MDC_B_MARK,
612 AUDIO_CLKC_MARK, I2C4_SCL_B_MARK, SCIFA5_RXD_D_MARK, VI1_HSYNC_N_MARK,
613 TS_SDEN_C_MARK, RIF0_D0_B_MARK, FMCLK_E_MARK, RDS_CLK_D_MARK,
614 AUDIO_CLKOUT_MARK, I2C4_SDA_B_MARK, SCIFA5_TXD_D_MARK, VI1_VSYNC_N_MARK,
615 TS_SPSYNC_C_MARK, RIF0_D1_B_MARK, FMIN_E_MARK, RDS_DATA_D_MARK,
616 PINMUX_MARK_END,
617};
618
619static const u16 pinmux_data[] = {
620 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */
621
622 PINMUX_DATA(A2_MARK, FN_A2),
623 PINMUX_DATA(WE0_N_MARK, FN_WE0_N),
624 PINMUX_DATA(WE1_N_MARK, FN_WE1_N),
625 PINMUX_DATA(DACK0_MARK, FN_DACK0),
626 PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN),
627 PINMUX_DATA(USB0_OVC_MARK, FN_USB0_OVC),
628 PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
629 PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
630 PINMUX_DATA(SD0_CLK_MARK, FN_SD0_CLK),
631 PINMUX_DATA(SD0_CMD_MARK, FN_SD0_CMD),
632 PINMUX_DATA(SD0_DATA0_MARK, FN_SD0_DATA0),
633 PINMUX_DATA(SD0_DATA1_MARK, FN_SD0_DATA1),
634 PINMUX_DATA(SD0_DATA2_MARK, FN_SD0_DATA2),
635 PINMUX_DATA(SD0_DATA3_MARK, FN_SD0_DATA3),
636 PINMUX_DATA(SD0_CD_MARK, FN_SD0_CD),
637 PINMUX_DATA(SD0_WP_MARK, FN_SD0_WP),
638 PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
639 PINMUX_DATA(SD1_CMD_MARK, FN_SD1_CMD),
640 PINMUX_DATA(SD1_DATA0_MARK, FN_SD1_DATA0),
641 PINMUX_DATA(SD1_DATA1_MARK, FN_SD1_DATA1),
642 PINMUX_DATA(SD1_DATA2_MARK, FN_SD1_DATA2),
643 PINMUX_DATA(SD1_DATA3_MARK, FN_SD1_DATA3),
644
645 /* IPSR0 */
646 PINMUX_IPSR_DATA(IP0_0, SD1_CD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000647 PINMUX_IPSR_MSEL(IP0_0, CAN0_RX, SEL_CAN0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300648 PINMUX_IPSR_DATA(IP0_9_8, SD1_WP),
649 PINMUX_IPSR_DATA(IP0_9_8, IRQ7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000650 PINMUX_IPSR_MSEL(IP0_9_8, CAN0_TX, SEL_CAN0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300651 PINMUX_IPSR_DATA(IP0_10, MMC_CLK),
652 PINMUX_IPSR_DATA(IP0_10, SD2_CLK),
653 PINMUX_IPSR_DATA(IP0_11, MMC_CMD),
654 PINMUX_IPSR_DATA(IP0_11, SD2_CMD),
655 PINMUX_IPSR_DATA(IP0_12, MMC_D0),
656 PINMUX_IPSR_DATA(IP0_12, SD2_DATA0),
657 PINMUX_IPSR_DATA(IP0_13, MMC_D1),
658 PINMUX_IPSR_DATA(IP0_13, SD2_DATA1),
659 PINMUX_IPSR_DATA(IP0_14, MMC_D2),
660 PINMUX_IPSR_DATA(IP0_14, SD2_DATA2),
661 PINMUX_IPSR_DATA(IP0_15, MMC_D3),
662 PINMUX_IPSR_DATA(IP0_15, SD2_DATA3),
663 PINMUX_IPSR_DATA(IP0_16, MMC_D4),
664 PINMUX_IPSR_DATA(IP0_16, SD2_CD),
665 PINMUX_IPSR_DATA(IP0_17, MMC_D5),
666 PINMUX_IPSR_DATA(IP0_17, SD2_WP),
667 PINMUX_IPSR_DATA(IP0_19_18, MMC_D6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000668 PINMUX_IPSR_MSEL(IP0_19_18, SCIF0_RXD, SEL_SCIF0_0),
669 PINMUX_IPSR_MSEL(IP0_19_18, I2C2_SCL_B, SEL_I2C02_1),
670 PINMUX_IPSR_MSEL(IP0_19_18, CAN1_RX, SEL_CAN1_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300671 PINMUX_IPSR_DATA(IP0_21_20, MMC_D7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000672 PINMUX_IPSR_MSEL(IP0_21_20, SCIF0_TXD, SEL_SCIF0_0),
673 PINMUX_IPSR_MSEL(IP0_21_20, I2C2_SDA_B, SEL_I2C02_1),
674 PINMUX_IPSR_MSEL(IP0_21_20, CAN1_TX, SEL_CAN1_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300675 PINMUX_IPSR_DATA(IP0_23_22, D0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000676 PINMUX_IPSR_MSEL(IP0_23_22, SCIFA3_SCK_B, SEL_SCIFA3_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300677 PINMUX_IPSR_DATA(IP0_23_22, IRQ4),
678 PINMUX_IPSR_DATA(IP0_24, D1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000679 PINMUX_IPSR_MSEL(IP0_24, SCIFA3_RXD_B, SEL_SCIFA3_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300680 PINMUX_IPSR_DATA(IP0_25, D2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000681 PINMUX_IPSR_MSEL(IP0_25, SCIFA3_TXD_B, SEL_SCIFA3_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300682 PINMUX_IPSR_DATA(IP0_27_26, D3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000683 PINMUX_IPSR_MSEL(IP0_27_26, I2C3_SCL_B, SEL_I2C03_1),
684 PINMUX_IPSR_MSEL(IP0_27_26, SCIF5_RXD_B, SEL_SCIF5_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300685 PINMUX_IPSR_DATA(IP0_29_28, D4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000686 PINMUX_IPSR_MSEL(IP0_29_28, I2C3_SDA_B, SEL_I2C03_1),
687 PINMUX_IPSR_MSEL(IP0_29_28, SCIF5_TXD_B, SEL_SCIF5_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300688 PINMUX_IPSR_DATA(IP0_31_30, D5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000689 PINMUX_IPSR_MSEL(IP0_31_30, SCIF4_RXD_B, SEL_SCIF4_1),
690 PINMUX_IPSR_MSEL(IP0_31_30, I2C0_SCL_D, SEL_I2C00_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300691
692 /* IPSR1 */
693 PINMUX_IPSR_DATA(IP1_1_0, D6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000694 PINMUX_IPSR_MSEL(IP1_1_0, SCIF4_TXD_B, SEL_SCIF4_1),
695 PINMUX_IPSR_MSEL(IP1_1_0, I2C0_SDA_D, SEL_I2C00_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300696 PINMUX_IPSR_DATA(IP1_3_2, D7),
697 PINMUX_IPSR_DATA(IP1_3_2, IRQ3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000698 PINMUX_IPSR_MSEL(IP1_3_2, TCLK1, SEL_TMU_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300699 PINMUX_IPSR_DATA(IP1_3_2, PWM6_B),
700 PINMUX_IPSR_DATA(IP1_5_4, D8),
701 PINMUX_IPSR_DATA(IP1_5_4, HSCIF2_HRX),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000702 PINMUX_IPSR_MSEL(IP1_5_4, I2C1_SCL_B, SEL_I2C01_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300703 PINMUX_IPSR_DATA(IP1_7_6, D9),
704 PINMUX_IPSR_DATA(IP1_7_6, HSCIF2_HTX),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000705 PINMUX_IPSR_MSEL(IP1_7_6, I2C1_SDA_B, SEL_I2C01_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300706 PINMUX_IPSR_DATA(IP1_10_8, D10),
707 PINMUX_IPSR_DATA(IP1_10_8, HSCIF2_HSCK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000708 PINMUX_IPSR_MSEL(IP1_10_8, SCIF1_SCK_C, SEL_SCIF1_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300709 PINMUX_IPSR_DATA(IP1_10_8, IRQ6),
710 PINMUX_IPSR_DATA(IP1_10_8, PWM5_C),
711 PINMUX_IPSR_DATA(IP1_12_11, D11),
712 PINMUX_IPSR_DATA(IP1_12_11, HSCIF2_HCTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000713 PINMUX_IPSR_MSEL(IP1_12_11, SCIF1_RXD_C, SEL_SCIF1_2),
714 PINMUX_IPSR_MSEL(IP1_12_11, I2C1_SCL_D, SEL_I2C01_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300715 PINMUX_IPSR_DATA(IP1_14_13, D12),
716 PINMUX_IPSR_DATA(IP1_14_13, HSCIF2_HRTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000717 PINMUX_IPSR_MSEL(IP1_14_13, SCIF1_TXD_C, SEL_SCIF1_2),
718 PINMUX_IPSR_MSEL(IP1_14_13, I2C1_SDA_D, SEL_I2C01_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300719 PINMUX_IPSR_DATA(IP1_17_15, D13),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000720 PINMUX_IPSR_MSEL(IP1_17_15, SCIFA1_SCK, SEL_SCIFA1_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300721 PINMUX_IPSR_DATA(IP1_17_15, TANS1),
722 PINMUX_IPSR_DATA(IP1_17_15, PWM2_C),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000723 PINMUX_IPSR_MSEL(IP1_17_15, TCLK2_B, SEL_TMU_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300724 PINMUX_IPSR_DATA(IP1_19_18, D14),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000725 PINMUX_IPSR_MSEL(IP1_19_18, SCIFA1_RXD, SEL_SCIFA1_0),
726 PINMUX_IPSR_MSEL(IP1_19_18, IIC0_SCL_B, SEL_IIC00_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300727 PINMUX_IPSR_DATA(IP1_21_20, D15),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000728 PINMUX_IPSR_MSEL(IP1_21_20, SCIFA1_TXD, SEL_SCIFA1_0),
729 PINMUX_IPSR_MSEL(IP1_21_20, IIC0_SDA_B, SEL_IIC00_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300730 PINMUX_IPSR_DATA(IP1_23_22, A0),
731 PINMUX_IPSR_DATA(IP1_23_22, SCIFB1_SCK),
732 PINMUX_IPSR_DATA(IP1_23_22, PWM3_B),
733 PINMUX_IPSR_DATA(IP1_24, A1),
734 PINMUX_IPSR_DATA(IP1_24, SCIFB1_TXD),
735 PINMUX_IPSR_DATA(IP1_26, A3),
736 PINMUX_IPSR_DATA(IP1_26, SCIFB0_SCK),
737 PINMUX_IPSR_DATA(IP1_27, A4),
738 PINMUX_IPSR_DATA(IP1_27, SCIFB0_TXD),
739 PINMUX_IPSR_DATA(IP1_29_28, A5),
740 PINMUX_IPSR_DATA(IP1_29_28, SCIFB0_RXD),
741 PINMUX_IPSR_DATA(IP1_29_28, PWM4_B),
742 PINMUX_IPSR_DATA(IP1_29_28, TPUTO3_C),
743 PINMUX_IPSR_DATA(IP1_31_30, A6),
744 PINMUX_IPSR_DATA(IP1_31_30, SCIFB0_CTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000745 PINMUX_IPSR_MSEL(IP1_31_30, SCIFA4_RXD_B, SEL_SCIFA4_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300746 PINMUX_IPSR_DATA(IP1_31_30, TPUTO2_C),
747
748 /* IPSR2 */
749 PINMUX_IPSR_DATA(IP2_1_0, A7),
750 PINMUX_IPSR_DATA(IP2_1_0, SCIFB0_RTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000751 PINMUX_IPSR_MSEL(IP2_1_0, SCIFA4_TXD_B, SEL_SCIFA4_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300752 PINMUX_IPSR_DATA(IP2_3_2, A8),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000753 PINMUX_IPSR_MSEL(IP2_3_2, MSIOF1_RXD, SEL_MSI1_0),
754 PINMUX_IPSR_MSEL(IP2_3_2, SCIFA0_RXD_B, SEL_SCIFA0_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300755 PINMUX_IPSR_DATA(IP2_5_4, A9),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000756 PINMUX_IPSR_MSEL(IP2_5_4, MSIOF1_TXD, SEL_MSI1_0),
757 PINMUX_IPSR_MSEL(IP2_5_4, SCIFA0_TXD_B, SEL_SCIFA0_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300758 PINMUX_IPSR_DATA(IP2_7_6, A10),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000759 PINMUX_IPSR_MSEL(IP2_7_6, MSIOF1_SCK, SEL_MSI1_0),
760 PINMUX_IPSR_MSEL(IP2_7_6, IIC1_SCL_B, SEL_IIC01_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300761 PINMUX_IPSR_DATA(IP2_9_8, A11),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000762 PINMUX_IPSR_MSEL(IP2_9_8, MSIOF1_SYNC, SEL_MSI1_0),
763 PINMUX_IPSR_MSEL(IP2_9_8, IIC1_SDA_B, SEL_IIC01_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300764 PINMUX_IPSR_DATA(IP2_11_10, A12),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000765 PINMUX_IPSR_MSEL(IP2_11_10, MSIOF1_SS1, SEL_MSI1_0),
766 PINMUX_IPSR_MSEL(IP2_11_10, SCIFA5_RXD_B, SEL_SCIFA5_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300767 PINMUX_IPSR_DATA(IP2_13_12, A13),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000768 PINMUX_IPSR_MSEL(IP2_13_12, MSIOF1_SS2, SEL_MSI1_0),
769 PINMUX_IPSR_MSEL(IP2_13_12, SCIFA5_TXD_B, SEL_SCIFA5_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300770 PINMUX_IPSR_DATA(IP2_15_14, A14),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000771 PINMUX_IPSR_MSEL(IP2_15_14, MSIOF2_RXD, SEL_MSI2_0),
772 PINMUX_IPSR_MSEL(IP2_15_14, HSCIF0_HRX_B, SEL_HSCIF0_1),
773 PINMUX_IPSR_MSEL(IP2_15_14, DREQ1_N, SEL_LBS_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300774 PINMUX_IPSR_DATA(IP2_17_16, A15),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000775 PINMUX_IPSR_MSEL(IP2_17_16, MSIOF2_TXD, SEL_MSI2_0),
776 PINMUX_IPSR_MSEL(IP2_17_16, HSCIF0_HTX_B, SEL_HSCIF0_1),
777 PINMUX_IPSR_MSEL(IP2_17_16, DACK1, SEL_LBS_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300778 PINMUX_IPSR_DATA(IP2_20_18, A16),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000779 PINMUX_IPSR_MSEL(IP2_20_18, MSIOF2_SCK, SEL_MSI2_0),
780 PINMUX_IPSR_MSEL(IP2_20_18, HSCIF0_HSCK_B, SEL_HSCIF0_1),
781 PINMUX_IPSR_MSEL(IP2_20_18, SPEEDIN, SEL_RSP_0),
782 PINMUX_IPSR_MSEL(IP2_20_18, VSP, SEL_SPDM_0),
783 PINMUX_IPSR_MSEL(IP2_20_18, CAN_CLK_C, SEL_CAN_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300784 PINMUX_IPSR_DATA(IP2_20_18, TPUTO2_B),
785 PINMUX_IPSR_DATA(IP2_23_21, A17),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000786 PINMUX_IPSR_MSEL(IP2_23_21, MSIOF2_SYNC, SEL_MSI2_0),
787 PINMUX_IPSR_MSEL(IP2_23_21, SCIF4_RXD_E, SEL_SCIF4_4),
788 PINMUX_IPSR_MSEL(IP2_23_21, CAN1_RX_B, SEL_CAN1_1),
789 PINMUX_IPSR_MSEL(IP2_23_21, AVB_AVTP_CAPTURE_B, SEL_AVB_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300790 PINMUX_IPSR_DATA(IP2_26_24, A18),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000791 PINMUX_IPSR_MSEL(IP2_26_24, MSIOF2_SS1, SEL_MSI2_0),
792 PINMUX_IPSR_MSEL(IP2_26_24, SCIF4_TXD_E, SEL_SCIF4_4),
793 PINMUX_IPSR_MSEL(IP2_26_24, CAN1_TX_B, SEL_CAN1_1),
794 PINMUX_IPSR_MSEL(IP2_26_24, AVB_AVTP_MATCH_B, SEL_AVB_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300795 PINMUX_IPSR_DATA(IP2_29_27, A19),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000796 PINMUX_IPSR_MSEL(IP2_29_27, MSIOF2_SS2, SEL_MSI2_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300797 PINMUX_IPSR_DATA(IP2_29_27, PWM4),
798 PINMUX_IPSR_DATA(IP2_29_27, TPUTO2),
799 PINMUX_IPSR_DATA(IP2_29_27, MOUT0),
800 PINMUX_IPSR_DATA(IP2_31_30, A20),
801 PINMUX_IPSR_DATA(IP2_31_30, SPCLK),
802 PINMUX_IPSR_DATA(IP2_29_27, MOUT1),
803
804 /* IPSR3 */
805 PINMUX_IPSR_DATA(IP3_1_0, A21),
806 PINMUX_IPSR_DATA(IP3_1_0, MOSI_IO0),
807 PINMUX_IPSR_DATA(IP3_1_0, MOUT2),
808 PINMUX_IPSR_DATA(IP3_3_2, A22),
809 PINMUX_IPSR_DATA(IP3_3_2, MISO_IO1),
810 PINMUX_IPSR_DATA(IP3_3_2, MOUT5),
811 PINMUX_IPSR_DATA(IP3_3_2, ATADIR1_N),
812 PINMUX_IPSR_DATA(IP3_5_4, A23),
813 PINMUX_IPSR_DATA(IP3_5_4, IO2),
814 PINMUX_IPSR_DATA(IP3_5_4, MOUT6),
815 PINMUX_IPSR_DATA(IP3_5_4, ATAWR1_N),
816 PINMUX_IPSR_DATA(IP3_7_6, A24),
817 PINMUX_IPSR_DATA(IP3_7_6, IO3),
818 PINMUX_IPSR_DATA(IP3_7_6, EX_WAIT2),
819 PINMUX_IPSR_DATA(IP3_9_8, A25),
820 PINMUX_IPSR_DATA(IP3_9_8, SSL),
821 PINMUX_IPSR_DATA(IP3_9_8, ATARD1_N),
822 PINMUX_IPSR_DATA(IP3_10, CS0_N),
823 PINMUX_IPSR_DATA(IP3_10, VI1_DATA8),
824 PINMUX_IPSR_DATA(IP3_11, CS1_N_A26),
825 PINMUX_IPSR_DATA(IP3_11, VI1_DATA9),
826 PINMUX_IPSR_DATA(IP3_12, EX_CS0_N),
827 PINMUX_IPSR_DATA(IP3_12, VI1_DATA10),
828 PINMUX_IPSR_DATA(IP3_14_13, EX_CS1_N),
829 PINMUX_IPSR_DATA(IP3_14_13, TPUTO3_B),
830 PINMUX_IPSR_DATA(IP3_14_13, SCIFB2_RXD),
831 PINMUX_IPSR_DATA(IP3_14_13, VI1_DATA11),
832 PINMUX_IPSR_DATA(IP3_17_15, EX_CS2_N),
833 PINMUX_IPSR_DATA(IP3_17_15, PWM0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000834 PINMUX_IPSR_MSEL(IP3_17_15, SCIF4_RXD_C, SEL_SCIF4_2),
835 PINMUX_IPSR_MSEL(IP3_17_15, TS_SDATA_B, SEL_TSIF0_1),
836 PINMUX_IPSR_MSEL(IP3_17_15, RIF0_SYNC, SEL_DR0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300837 PINMUX_IPSR_DATA(IP3_17_15, TPUTO3),
838 PINMUX_IPSR_DATA(IP3_17_15, SCIFB2_TXD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000839 PINMUX_IPSR_MSEL(IP3_17_15, SDATA_B, SEL_FSN_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300840 PINMUX_IPSR_DATA(IP3_20_18, EX_CS3_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000841 PINMUX_IPSR_MSEL(IP3_20_18, SCIFA2_SCK, SEL_SCIFA2_0),
842 PINMUX_IPSR_MSEL(IP3_20_18, SCIF4_TXD_C, SEL_SCIF4_2),
843 PINMUX_IPSR_MSEL(IP3_20_18, TS_SCK_B, SEL_TSIF0_1),
844 PINMUX_IPSR_MSEL(IP3_20_18, RIF0_CLK, SEL_DR0_0),
845 PINMUX_IPSR_MSEL(IP3_20_18, BPFCLK, SEL_DARC_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300846 PINMUX_IPSR_DATA(IP3_20_18, SCIFB2_SCK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000847 PINMUX_IPSR_MSEL(IP3_20_18, MDATA_B, SEL_FSN_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300848 PINMUX_IPSR_DATA(IP3_23_21, EX_CS4_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000849 PINMUX_IPSR_MSEL(IP3_23_21, SCIFA2_RXD, SEL_SCIFA2_0),
850 PINMUX_IPSR_MSEL(IP3_23_21, I2C2_SCL_E, SEL_I2C02_4),
851 PINMUX_IPSR_MSEL(IP3_23_21, TS_SDEN_B, SEL_TSIF0_1),
852 PINMUX_IPSR_MSEL(IP3_23_21, RIF0_D0, SEL_DR0_0),
853 PINMUX_IPSR_MSEL(IP3_23_21, FMCLK, SEL_DARC_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300854 PINMUX_IPSR_DATA(IP3_23_21, SCIFB2_CTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000855 PINMUX_IPSR_MSEL(IP3_23_21, SCKZ_B, SEL_FSN_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300856 PINMUX_IPSR_DATA(IP3_26_24, EX_CS5_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000857 PINMUX_IPSR_MSEL(IP3_26_24, SCIFA2_TXD, SEL_SCIFA2_0),
858 PINMUX_IPSR_MSEL(IP3_26_24, I2C2_SDA_E, SEL_I2C02_4),
859 PINMUX_IPSR_MSEL(IP3_26_24, TS_SPSYNC_B, SEL_TSIF0_1),
860 PINMUX_IPSR_MSEL(IP3_26_24, RIF0_D1, SEL_DR1_0),
861 PINMUX_IPSR_MSEL(IP3_26_24, FMIN, SEL_DARC_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300862 PINMUX_IPSR_DATA(IP3_26_24, SCIFB2_RTS_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000863 PINMUX_IPSR_MSEL(IP3_26_24, STM_N_B, SEL_FSN_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300864 PINMUX_IPSR_DATA(IP3_29_27, BS_N),
865 PINMUX_IPSR_DATA(IP3_29_27, DRACK0),
866 PINMUX_IPSR_DATA(IP3_29_27, PWM1_C),
867 PINMUX_IPSR_DATA(IP3_29_27, TPUTO0_C),
868 PINMUX_IPSR_DATA(IP3_29_27, ATACS01_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000869 PINMUX_IPSR_MSEL(IP3_29_27, MTS_N_B, SEL_FSN_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300870 PINMUX_IPSR_DATA(IP3_30, RD_N),
871 PINMUX_IPSR_DATA(IP3_30, ATACS11_N),
872 PINMUX_IPSR_DATA(IP3_31, RD_WR_N),
873 PINMUX_IPSR_DATA(IP3_31, ATAG1_N),
874
875 /* IPSR4 */
876 PINMUX_IPSR_DATA(IP4_1_0, EX_WAIT0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000877 PINMUX_IPSR_MSEL(IP4_1_0, CAN_CLK_B, SEL_CAN_1),
878 PINMUX_IPSR_MSEL(IP4_1_0, SCIF_CLK, SEL_SCIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300879 PINMUX_IPSR_DATA(IP4_1_0, PWMFSW0),
880 PINMUX_IPSR_DATA(IP4_4_2, DU0_DR0),
881 PINMUX_IPSR_DATA(IP4_4_2, LCDOUT16),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000882 PINMUX_IPSR_MSEL(IP4_4_2, SCIF5_RXD_C, SEL_SCIF5_2),
883 PINMUX_IPSR_MSEL(IP4_4_2, I2C2_SCL_D, SEL_I2C02_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300884 PINMUX_IPSR_DATA(IP4_4_2, CC50_STATE0),
885 PINMUX_IPSR_DATA(IP4_7_5, DU0_DR1),
886 PINMUX_IPSR_DATA(IP4_7_5, LCDOUT17),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000887 PINMUX_IPSR_MSEL(IP4_7_5, SCIF5_TXD_C, SEL_SCIF5_2),
888 PINMUX_IPSR_MSEL(IP4_7_5, I2C2_SDA_D, SEL_I2C02_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300889 PINMUX_IPSR_DATA(IP4_9_8, CC50_STATE1),
890 PINMUX_IPSR_DATA(IP4_9_8, DU0_DR2),
891 PINMUX_IPSR_DATA(IP4_9_8, LCDOUT18),
892 PINMUX_IPSR_DATA(IP4_9_8, CC50_STATE2),
893 PINMUX_IPSR_DATA(IP4_11_10, DU0_DR3),
894 PINMUX_IPSR_DATA(IP4_11_10, LCDOUT19),
895 PINMUX_IPSR_DATA(IP4_11_10, CC50_STATE3),
896 PINMUX_IPSR_DATA(IP4_13_12, DU0_DR4),
897 PINMUX_IPSR_DATA(IP4_13_12, LCDOUT20),
898 PINMUX_IPSR_DATA(IP4_13_12, CC50_STATE4),
899 PINMUX_IPSR_DATA(IP4_15_14, DU0_DR5),
900 PINMUX_IPSR_DATA(IP4_15_14, LCDOUT21),
901 PINMUX_IPSR_DATA(IP4_15_14, CC50_STATE5),
902 PINMUX_IPSR_DATA(IP4_17_16, DU0_DR6),
903 PINMUX_IPSR_DATA(IP4_17_16, LCDOUT22),
904 PINMUX_IPSR_DATA(IP4_17_16, CC50_STATE6),
905 PINMUX_IPSR_DATA(IP4_19_18, DU0_DR7),
906 PINMUX_IPSR_DATA(IP4_19_18, LCDOUT23),
907 PINMUX_IPSR_DATA(IP4_19_18, CC50_STATE7),
908 PINMUX_IPSR_DATA(IP4_22_20, DU0_DG0),
909 PINMUX_IPSR_DATA(IP4_22_20, LCDOUT8),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000910 PINMUX_IPSR_MSEL(IP4_22_20, SCIFA0_RXD_C, SEL_SCIFA0_2),
911 PINMUX_IPSR_MSEL(IP4_22_20, I2C3_SCL_D, SEL_I2C03_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300912 PINMUX_IPSR_DATA(IP4_22_20, CC50_STATE8),
913 PINMUX_IPSR_DATA(IP4_25_23, DU0_DG1),
914 PINMUX_IPSR_DATA(IP4_25_23, LCDOUT9),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000915 PINMUX_IPSR_MSEL(IP4_25_23, SCIFA0_TXD_C, SEL_SCIFA0_2),
916 PINMUX_IPSR_MSEL(IP4_25_23, I2C3_SDA_D, SEL_I2C03_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300917 PINMUX_IPSR_DATA(IP4_25_23, CC50_STATE9),
918 PINMUX_IPSR_DATA(IP4_27_26, DU0_DG2),
919 PINMUX_IPSR_DATA(IP4_27_26, LCDOUT10),
920 PINMUX_IPSR_DATA(IP4_27_26, CC50_STATE10),
921 PINMUX_IPSR_DATA(IP4_29_28, DU0_DG3),
922 PINMUX_IPSR_DATA(IP4_29_28, LCDOUT11),
923 PINMUX_IPSR_DATA(IP4_29_28, CC50_STATE11),
924 PINMUX_IPSR_DATA(IP4_31_30, DU0_DG4),
925 PINMUX_IPSR_DATA(IP4_31_30, LCDOUT12),
926 PINMUX_IPSR_DATA(IP4_31_30, CC50_STATE12),
927
928 /* IPSR5 */
929 PINMUX_IPSR_DATA(IP5_1_0, DU0_DG5),
930 PINMUX_IPSR_DATA(IP5_1_0, LCDOUT13),
931 PINMUX_IPSR_DATA(IP5_1_0, CC50_STATE13),
932 PINMUX_IPSR_DATA(IP5_3_2, DU0_DG6),
933 PINMUX_IPSR_DATA(IP5_3_2, LCDOUT14),
934 PINMUX_IPSR_DATA(IP5_3_2, CC50_STATE14),
935 PINMUX_IPSR_DATA(IP5_5_4, DU0_DG7),
936 PINMUX_IPSR_DATA(IP5_5_4, LCDOUT15),
937 PINMUX_IPSR_DATA(IP5_5_4, CC50_STATE15),
938 PINMUX_IPSR_DATA(IP5_8_6, DU0_DB0),
939 PINMUX_IPSR_DATA(IP5_8_6, LCDOUT0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000940 PINMUX_IPSR_MSEL(IP5_8_6, SCIFA4_RXD_C, SEL_SCIFA4_2),
941 PINMUX_IPSR_MSEL(IP5_8_6, I2C4_SCL_D, SEL_I2C04_3),
942 PINMUX_IPSR_MSEL(IP7_8_6, CAN0_RX_C, SEL_CAN0_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300943 PINMUX_IPSR_DATA(IP5_8_6, CC50_STATE16),
944 PINMUX_IPSR_DATA(IP5_11_9, DU0_DB1),
945 PINMUX_IPSR_DATA(IP5_11_9, LCDOUT1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +0000946 PINMUX_IPSR_MSEL(IP5_11_9, SCIFA4_TXD_C, SEL_SCIFA4_2),
947 PINMUX_IPSR_MSEL(IP5_11_9, I2C4_SDA_D, SEL_I2C04_3),
948 PINMUX_IPSR_MSEL(IP5_11_9, CAN0_TX_C, SEL_CAN0_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +0300949 PINMUX_IPSR_DATA(IP5_11_9, CC50_STATE17),
950 PINMUX_IPSR_DATA(IP5_13_12, DU0_DB2),
951 PINMUX_IPSR_DATA(IP5_13_12, LCDOUT2),
952 PINMUX_IPSR_DATA(IP5_13_12, CC50_STATE18),
953 PINMUX_IPSR_DATA(IP5_15_14, DU0_DB3),
954 PINMUX_IPSR_DATA(IP5_15_14, LCDOUT3),
955 PINMUX_IPSR_DATA(IP5_15_14, CC50_STATE19),
956 PINMUX_IPSR_DATA(IP5_17_16, DU0_DB4),
957 PINMUX_IPSR_DATA(IP5_17_16, LCDOUT4),
958 PINMUX_IPSR_DATA(IP5_17_16, CC50_STATE20),
959 PINMUX_IPSR_DATA(IP5_19_18, DU0_DB5),
960 PINMUX_IPSR_DATA(IP5_19_18, LCDOUT5),
961 PINMUX_IPSR_DATA(IP5_19_18, CC50_STATE21),
962 PINMUX_IPSR_DATA(IP5_21_20, DU0_DB6),
963 PINMUX_IPSR_DATA(IP5_21_20, LCDOUT6),
964 PINMUX_IPSR_DATA(IP5_21_20, CC50_STATE22),
965 PINMUX_IPSR_DATA(IP5_23_22, DU0_DB7),
966 PINMUX_IPSR_DATA(IP5_23_22, LCDOUT7),
967 PINMUX_IPSR_DATA(IP5_23_22, CC50_STATE23),
968 PINMUX_IPSR_DATA(IP5_25_24, DU0_DOTCLKIN),
969 PINMUX_IPSR_DATA(IP5_25_24, QSTVA_QVS),
970 PINMUX_IPSR_DATA(IP5_25_24, CC50_STATE24),
971 PINMUX_IPSR_DATA(IP5_27_26, DU0_DOTCLKOUT0),
972 PINMUX_IPSR_DATA(IP5_27_26, QCLK),
973 PINMUX_IPSR_DATA(IP5_27_26, CC50_STATE25),
974 PINMUX_IPSR_DATA(IP5_29_28, DU0_DOTCLKOUT1),
975 PINMUX_IPSR_DATA(IP5_29_28, QSTVB_QVE),
976 PINMUX_IPSR_DATA(IP5_29_28, CC50_STATE26),
977 PINMUX_IPSR_DATA(IP5_31_30, DU0_EXHSYNC_DU0_HSYNC),
978 PINMUX_IPSR_DATA(IP5_31_30, QSTH_QHS),
979 PINMUX_IPSR_DATA(IP5_31_30, CC50_STATE27),
980
981 /* IPSR6 */
982 PINMUX_IPSR_DATA(IP6_1_0, DU0_EXVSYNC_DU0_VSYNC),
983 PINMUX_IPSR_DATA(IP6_1_0, QSTB_QHE),
984 PINMUX_IPSR_DATA(IP6_1_0, CC50_STATE28),
985 PINMUX_IPSR_DATA(IP6_3_2, DU0_EXODDF_DU0_ODDF_DISP_CDE),
986 PINMUX_IPSR_DATA(IP6_3_2, QCPV_QDE),
987 PINMUX_IPSR_DATA(IP6_3_2, CC50_STATE29),
988 PINMUX_IPSR_DATA(IP6_5_4, DU0_DISP),
989 PINMUX_IPSR_DATA(IP6_5_4, QPOLA),
990 PINMUX_IPSR_DATA(IP6_5_4, CC50_STATE30),
991 PINMUX_IPSR_DATA(IP6_7_6, DU0_CDE),
992 PINMUX_IPSR_DATA(IP6_7_6, QPOLB),
993 PINMUX_IPSR_DATA(IP6_7_6, CC50_STATE31),
994 PINMUX_IPSR_DATA(IP6_8, VI0_CLK),
995 PINMUX_IPSR_DATA(IP6_8, AVB_RX_CLK),
996 PINMUX_IPSR_DATA(IP6_9, VI0_DATA0_VI0_B0),
997 PINMUX_IPSR_DATA(IP6_9, AVB_RX_DV),
998 PINMUX_IPSR_DATA(IP6_10, VI0_DATA1_VI0_B1),
999 PINMUX_IPSR_DATA(IP6_10, AVB_RXD0),
1000 PINMUX_IPSR_DATA(IP6_11, VI0_DATA2_VI0_B2),
1001 PINMUX_IPSR_DATA(IP6_11, AVB_RXD1),
1002 PINMUX_IPSR_DATA(IP6_12, VI0_DATA3_VI0_B3),
1003 PINMUX_IPSR_DATA(IP6_12, AVB_RXD2),
1004 PINMUX_IPSR_DATA(IP6_13, VI0_DATA4_VI0_B4),
1005 PINMUX_IPSR_DATA(IP6_13, AVB_RXD3),
1006 PINMUX_IPSR_DATA(IP6_14, VI0_DATA5_VI0_B5),
1007 PINMUX_IPSR_DATA(IP6_14, AVB_RXD4),
1008 PINMUX_IPSR_DATA(IP6_15, VI0_DATA6_VI0_B6),
1009 PINMUX_IPSR_DATA(IP6_15, AVB_RXD5),
1010 PINMUX_IPSR_DATA(IP6_16, VI0_DATA7_VI0_B7),
1011 PINMUX_IPSR_DATA(IP6_16, AVB_RXD6),
1012 PINMUX_IPSR_DATA(IP6_19_17, VI0_CLKENB),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001013 PINMUX_IPSR_MSEL(IP6_19_17, I2C3_SCL, SEL_I2C03_0),
1014 PINMUX_IPSR_MSEL(IP6_19_17, SCIFA5_RXD_C, SEL_SCIFA5_2),
1015 PINMUX_IPSR_MSEL(IP6_19_17, IETX_C, SEL_IEB_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001016 PINMUX_IPSR_DATA(IP6_19_17, AVB_RXD7),
1017 PINMUX_IPSR_DATA(IP6_22_20, VI0_FIELD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001018 PINMUX_IPSR_MSEL(IP6_22_20, I2C3_SDA, SEL_I2C03_0),
1019 PINMUX_IPSR_MSEL(IP6_22_20, SCIFA5_TXD_C, SEL_SCIFA5_2),
1020 PINMUX_IPSR_MSEL(IP6_22_20, IECLK_C, SEL_IEB_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001021 PINMUX_IPSR_DATA(IP6_22_20, AVB_RX_ER),
1022 PINMUX_IPSR_DATA(IP6_25_23, VI0_HSYNC_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001023 PINMUX_IPSR_MSEL(IP6_25_23, SCIF0_RXD_B, SEL_SCIF0_1),
1024 PINMUX_IPSR_MSEL(IP6_25_23, I2C0_SCL_C, SEL_I2C00_2),
1025 PINMUX_IPSR_MSEL(IP6_25_23, IERX_C, SEL_IEB_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001026 PINMUX_IPSR_DATA(IP6_25_23, AVB_COL),
1027 PINMUX_IPSR_DATA(IP6_28_26, VI0_VSYNC_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001028 PINMUX_IPSR_MSEL(IP6_28_26, SCIF0_TXD_B, SEL_SCIF0_1),
1029 PINMUX_IPSR_MSEL(IP6_28_26, I2C0_SDA_C, SEL_I2C00_2),
1030 PINMUX_IPSR_MSEL(IP6_28_26, AUDIO_CLKOUT_B, SEL_ADG_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001031 PINMUX_IPSR_DATA(IP6_28_26, AVB_TX_EN),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001032 PINMUX_IPSR_MSEL(IP6_31_29, ETH_MDIO, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001033 PINMUX_IPSR_DATA(IP6_31_29, VI0_G0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001034 PINMUX_IPSR_MSEL(IP6_31_29, MSIOF2_RXD_B, SEL_MSI2_1),
1035 PINMUX_IPSR_MSEL(IP6_31_29, IIC0_SCL_D, SEL_IIC00_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001036 PINMUX_IPSR_DATA(IP6_31_29, AVB_TX_CLK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001037 PINMUX_IPSR_MSEL(IP6_31_29, ADIDATA, SEL_RAD_0),
1038 PINMUX_IPSR_MSEL(IP6_31_29, AD_DI, SEL_ADI_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001039
1040 /* IPSR7 */
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001041 PINMUX_IPSR_MSEL(IP7_2_0, ETH_CRS_DV, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001042 PINMUX_IPSR_DATA(IP7_2_0, VI0_G1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001043 PINMUX_IPSR_MSEL(IP7_2_0, MSIOF2_TXD_B, SEL_MSI2_1),
1044 PINMUX_IPSR_MSEL(IP7_2_0, IIC0_SDA_D, SEL_IIC00_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001045 PINMUX_IPSR_DATA(IP7_2_0, AVB_TXD0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001046 PINMUX_IPSR_MSEL(IP7_2_0, ADICS_SAMP, SEL_RAD_0),
1047 PINMUX_IPSR_MSEL(IP7_2_0, AD_DO, SEL_ADI_0),
1048 PINMUX_IPSR_MSEL(IP7_5_3, ETH_RX_ER, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001049 PINMUX_IPSR_DATA(IP7_5_3, VI0_G2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001050 PINMUX_IPSR_MSEL(IP7_5_3, MSIOF2_SCK_B, SEL_MSI2_1),
1051 PINMUX_IPSR_MSEL(IP7_5_3, CAN0_RX_B, SEL_CAN0_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001052 PINMUX_IPSR_DATA(IP7_5_3, AVB_TXD1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001053 PINMUX_IPSR_MSEL(IP7_5_3, ADICLK, SEL_RAD_0),
1054 PINMUX_IPSR_MSEL(IP7_5_3, AD_CLK, SEL_ADI_0),
1055 PINMUX_IPSR_MSEL(IP7_8_6, ETH_RXD0, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001056 PINMUX_IPSR_DATA(IP7_8_6, VI0_G3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001057 PINMUX_IPSR_MSEL(IP7_8_6, MSIOF2_SYNC_B, SEL_MSI2_1),
1058 PINMUX_IPSR_MSEL(IP7_8_6, CAN0_TX_B, SEL_CAN0_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001059 PINMUX_IPSR_DATA(IP7_8_6, AVB_TXD2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001060 PINMUX_IPSR_MSEL(IP7_8_6, ADICHS0, SEL_RAD_0),
1061 PINMUX_IPSR_MSEL(IP7_8_6, AD_NCS_N, SEL_ADI_0),
1062 PINMUX_IPSR_MSEL(IP7_11_9, ETH_RXD1, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001063 PINMUX_IPSR_DATA(IP7_11_9, VI0_G4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001064 PINMUX_IPSR_MSEL(IP7_11_9, MSIOF2_SS1_B, SEL_MSI2_1),
1065 PINMUX_IPSR_MSEL(IP7_11_9, SCIF4_RXD_D, SEL_SCIF4_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001066 PINMUX_IPSR_DATA(IP7_11_9, AVB_TXD3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001067 PINMUX_IPSR_MSEL(IP7_11_9, ADICHS1, SEL_RAD_0),
1068 PINMUX_IPSR_MSEL(IP7_14_12, ETH_LINK, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001069 PINMUX_IPSR_DATA(IP7_14_12, VI0_G5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001070 PINMUX_IPSR_MSEL(IP7_14_12, MSIOF2_SS2_B, SEL_MSI2_1),
1071 PINMUX_IPSR_MSEL(IP7_14_12, SCIF4_TXD_D, SEL_SCIF4_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001072 PINMUX_IPSR_DATA(IP7_14_12, AVB_TXD4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001073 PINMUX_IPSR_MSEL(IP7_14_12, ADICHS2, SEL_RAD_0),
1074 PINMUX_IPSR_MSEL(IP7_17_15, ETH_REFCLK, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001075 PINMUX_IPSR_DATA(IP7_17_15, VI0_G6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001076 PINMUX_IPSR_MSEL(IP7_17_15, SCIF2_SCK_C, SEL_SCIF2_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001077 PINMUX_IPSR_DATA(IP7_17_15, AVB_TXD5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001078 PINMUX_IPSR_MSEL(IP7_17_15, SSI_SCK5_B, SEL_SSI5_1),
1079 PINMUX_IPSR_MSEL(IP7_20_18, ETH_TXD1, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001080 PINMUX_IPSR_DATA(IP7_20_18, VI0_G7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001081 PINMUX_IPSR_MSEL(IP7_20_18, SCIF2_RXD_C, SEL_SCIF2_2),
1082 PINMUX_IPSR_MSEL(IP7_20_18, IIC1_SCL_D, SEL_IIC01_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001083 PINMUX_IPSR_DATA(IP7_20_18, AVB_TXD6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001084 PINMUX_IPSR_MSEL(IP7_20_18, SSI_WS5_B, SEL_SSI5_1),
1085 PINMUX_IPSR_MSEL(IP7_23_21, ETH_TX_EN, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001086 PINMUX_IPSR_DATA(IP7_23_21, VI0_R0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001087 PINMUX_IPSR_MSEL(IP7_23_21, SCIF2_TXD_C, SEL_SCIF2_2),
1088 PINMUX_IPSR_MSEL(IP7_23_21, IIC1_SDA_D, SEL_IIC01_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001089 PINMUX_IPSR_DATA(IP7_23_21, AVB_TXD7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001090 PINMUX_IPSR_MSEL(IP7_23_21, SSI_SDATA5_B, SEL_SSI5_1),
1091 PINMUX_IPSR_MSEL(IP7_26_24, ETH_MAGIC, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001092 PINMUX_IPSR_DATA(IP7_26_24, VI0_R1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001093 PINMUX_IPSR_MSEL(IP7_26_24, SCIF3_SCK_B, SEL_SCIF3_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001094 PINMUX_IPSR_DATA(IP7_26_24, AVB_TX_ER),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001095 PINMUX_IPSR_MSEL(IP7_26_24, SSI_SCK6_B, SEL_SSI6_1),
1096 PINMUX_IPSR_MSEL(IP7_29_27, ETH_TXD0, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001097 PINMUX_IPSR_DATA(IP7_29_27, VI0_R2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001098 PINMUX_IPSR_MSEL(IP7_29_27, SCIF3_RXD_B, SEL_SCIF3_1),
1099 PINMUX_IPSR_MSEL(IP7_29_27, I2C4_SCL_E, SEL_I2C04_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001100 PINMUX_IPSR_DATA(IP7_29_27, AVB_GTX_CLK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001101 PINMUX_IPSR_MSEL(IP7_29_27, SSI_WS6_B, SEL_SSI6_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001102 PINMUX_IPSR_DATA(IP7_31, DREQ0_N),
1103 PINMUX_IPSR_DATA(IP7_31, SCIFB1_RXD),
1104
1105 /* IPSR8 */
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001106 PINMUX_IPSR_MSEL(IP8_2_0, ETH_MDC, SEL_ETH_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001107 PINMUX_IPSR_DATA(IP8_2_0, VI0_R3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001108 PINMUX_IPSR_MSEL(IP8_2_0, SCIF3_TXD_B, SEL_SCIF3_1),
1109 PINMUX_IPSR_MSEL(IP8_2_0, I2C4_SDA_E, SEL_I2C04_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001110 PINMUX_IPSR_DATA(IP8_2_0, AVB_MDC),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001111 PINMUX_IPSR_MSEL(IP8_2_0, SSI_SDATA6_B, SEL_SSI6_1),
1112 PINMUX_IPSR_MSEL(IP8_5_3, HSCIF0_HRX, SEL_HSCIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001113 PINMUX_IPSR_DATA(IP8_5_3, VI0_R4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001114 PINMUX_IPSR_MSEL(IP8_5_3, I2C1_SCL_C, SEL_I2C01_2),
1115 PINMUX_IPSR_MSEL(IP8_5_3, AUDIO_CLKA_B, SEL_ADG_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001116 PINMUX_IPSR_DATA(IP8_5_3, AVB_MDIO),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001117 PINMUX_IPSR_MSEL(IP8_5_3, SSI_SCK78_B, SEL_SSI7_1),
1118 PINMUX_IPSR_MSEL(IP8_8_6, HSCIF0_HTX, SEL_HSCIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001119 PINMUX_IPSR_DATA(IP8_8_6, VI0_R5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001120 PINMUX_IPSR_MSEL(IP8_8_6, I2C1_SDA_C, SEL_I2C01_2),
1121 PINMUX_IPSR_MSEL(IP8_8_6, AUDIO_CLKB_B, SEL_ADG_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001122 PINMUX_IPSR_DATA(IP8_5_3, AVB_LINK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001123 PINMUX_IPSR_MSEL(IP8_8_6, SSI_WS78_B, SEL_SSI7_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001124 PINMUX_IPSR_DATA(IP8_11_9, HSCIF0_HCTS_N),
1125 PINMUX_IPSR_DATA(IP8_11_9, VI0_R6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001126 PINMUX_IPSR_MSEL(IP8_11_9, SCIF0_RXD_D, SEL_SCIF0_3),
1127 PINMUX_IPSR_MSEL(IP8_11_9, I2C0_SCL_E, SEL_I2C00_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001128 PINMUX_IPSR_DATA(IP8_11_9, AVB_MAGIC),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001129 PINMUX_IPSR_MSEL(IP8_11_9, SSI_SDATA7_B, SEL_SSI7_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001130 PINMUX_IPSR_DATA(IP8_14_12, HSCIF0_HRTS_N),
1131 PINMUX_IPSR_DATA(IP8_14_12, VI0_R7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001132 PINMUX_IPSR_MSEL(IP8_14_12, SCIF0_TXD_D, SEL_SCIF0_3),
1133 PINMUX_IPSR_MSEL(IP8_14_12, I2C0_SDA_E, SEL_I2C00_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001134 PINMUX_IPSR_DATA(IP8_14_12, AVB_PHY_INT),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001135 PINMUX_IPSR_MSEL(IP8_14_12, SSI_SDATA8_B, SEL_SSI8_1),
1136 PINMUX_IPSR_MSEL(IP8_16_15, HSCIF0_HSCK, SEL_HSCIF0_0),
1137 PINMUX_IPSR_MSEL(IP8_16_15, SCIF_CLK_B, SEL_SCIF0_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001138 PINMUX_IPSR_DATA(IP8_16_15, AVB_CRS),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001139 PINMUX_IPSR_MSEL(IP8_16_15, AUDIO_CLKC_B, SEL_ADG_1),
1140 PINMUX_IPSR_MSEL(IP8_19_17, I2C0_SCL, SEL_I2C00_0),
1141 PINMUX_IPSR_MSEL(IP8_19_17, SCIF0_RXD_C, SEL_SCIF0_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001142 PINMUX_IPSR_DATA(IP8_19_17, PWM5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001143 PINMUX_IPSR_MSEL(IP8_19_17, TCLK1_B, SEL_TMU_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001144 PINMUX_IPSR_DATA(IP8_19_17, AVB_GTXREFCLK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001145 PINMUX_IPSR_MSEL(IP8_19_17, CAN1_RX_D, SEL_CAN1_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001146 PINMUX_IPSR_DATA(IP8_19_17, TPUTO0_B),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001147 PINMUX_IPSR_MSEL(IP8_22_20, I2C0_SDA, SEL_I2C00_0),
1148 PINMUX_IPSR_MSEL(IP8_22_20, SCIF0_TXD_C, SEL_SCIF0_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001149 PINMUX_IPSR_DATA(IP8_22_20, TPUTO0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001150 PINMUX_IPSR_MSEL(IP8_22_20, CAN_CLK, SEL_CAN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001151 PINMUX_IPSR_DATA(IP8_22_20, DVC_MUTE),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001152 PINMUX_IPSR_MSEL(IP8_22_20, CAN1_TX_D, SEL_CAN1_3),
1153 PINMUX_IPSR_MSEL(IP8_25_23, I2C1_SCL, SEL_I2C01_0),
1154 PINMUX_IPSR_MSEL(IP8_25_23, SCIF4_RXD, SEL_SCIF4_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001155 PINMUX_IPSR_DATA(IP8_25_23, PWM5_B),
1156 PINMUX_IPSR_DATA(IP8_25_23, DU1_DR0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001157 PINMUX_IPSR_MSEL(IP8_25_23, RIF1_SYNC_B, SEL_DR2_1),
1158 PINMUX_IPSR_MSEL(IP8_25_23, TS_SDATA_D, SEL_TSIF0_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001159 PINMUX_IPSR_DATA(IP8_25_23, TPUTO1_B),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001160 PINMUX_IPSR_MSEL(IP8_28_26, I2C1_SDA, SEL_I2C01_0),
1161 PINMUX_IPSR_MSEL(IP8_28_26, SCIF4_TXD, SEL_SCIF4_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001162 PINMUX_IPSR_DATA(IP8_28_26, IRQ5),
1163 PINMUX_IPSR_DATA(IP8_28_26, DU1_DR1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001164 PINMUX_IPSR_MSEL(IP8_28_26, RIF1_CLK_B, SEL_DR2_1),
1165 PINMUX_IPSR_MSEL(IP8_28_26, TS_SCK_D, SEL_TSIF0_3),
1166 PINMUX_IPSR_MSEL(IP8_28_26, BPFCLK_C, SEL_DARC_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001167 PINMUX_IPSR_DATA(IP8_31_29, MSIOF0_RXD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001168 PINMUX_IPSR_MSEL(IP8_31_29, SCIF5_RXD, SEL_SCIF5_0),
1169 PINMUX_IPSR_MSEL(IP8_31_29, I2C2_SCL_C, SEL_I2C02_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001170 PINMUX_IPSR_DATA(IP8_31_29, DU1_DR2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001171 PINMUX_IPSR_MSEL(IP8_31_29, RIF1_D0_B, SEL_DR2_1),
1172 PINMUX_IPSR_MSEL(IP8_31_29, TS_SDEN_D, SEL_TSIF0_3),
1173 PINMUX_IPSR_MSEL(IP8_31_29, FMCLK_C, SEL_DARC_2),
1174 PINMUX_IPSR_MSEL(IP8_31_29, RDS_CLK, SEL_RDS_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001175
1176 /* IPSR9 */
1177 PINMUX_IPSR_DATA(IP9_2_0, MSIOF0_TXD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001178 PINMUX_IPSR_MSEL(IP9_2_0, SCIF5_TXD, SEL_SCIF5_0),
1179 PINMUX_IPSR_MSEL(IP9_2_0, I2C2_SDA_C, SEL_I2C02_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001180 PINMUX_IPSR_DATA(IP9_2_0, DU1_DR3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001181 PINMUX_IPSR_MSEL(IP9_2_0, RIF1_D1_B, SEL_DR3_1),
1182 PINMUX_IPSR_MSEL(IP9_2_0, TS_SPSYNC_D, SEL_TSIF0_3),
1183 PINMUX_IPSR_MSEL(IP9_2_0, FMIN_C, SEL_DARC_2),
1184 PINMUX_IPSR_MSEL(IP9_2_0, RDS_DATA, SEL_RDS_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001185 PINMUX_IPSR_DATA(IP9_5_3, MSIOF0_SCK),
1186 PINMUX_IPSR_DATA(IP9_5_3, IRQ0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001187 PINMUX_IPSR_MSEL(IP9_5_3, TS_SDATA, SEL_TSIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001188 PINMUX_IPSR_DATA(IP9_5_3, DU1_DR4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001189 PINMUX_IPSR_MSEL(IP9_5_3, RIF1_SYNC, SEL_DR2_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001190 PINMUX_IPSR_DATA(IP9_5_3, TPUTO1_C),
1191 PINMUX_IPSR_DATA(IP9_8_6, MSIOF0_SYNC),
1192 PINMUX_IPSR_DATA(IP9_8_6, PWM1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001193 PINMUX_IPSR_MSEL(IP9_8_6, TS_SCK, SEL_TSIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001194 PINMUX_IPSR_DATA(IP9_8_6, DU1_DR5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001195 PINMUX_IPSR_MSEL(IP9_8_6, RIF1_CLK, SEL_DR2_0),
1196 PINMUX_IPSR_MSEL(IP9_8_6, BPFCLK_B, SEL_DARC_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001197 PINMUX_IPSR_DATA(IP9_11_9, MSIOF0_SS1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001198 PINMUX_IPSR_MSEL(IP9_11_9, SCIFA0_RXD, SEL_SCIFA0_0),
1199 PINMUX_IPSR_MSEL(IP9_11_9, TS_SDEN, SEL_TSIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001200 PINMUX_IPSR_DATA(IP9_11_9, DU1_DR6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001201 PINMUX_IPSR_MSEL(IP9_11_9, RIF1_D0, SEL_DR2_0),
1202 PINMUX_IPSR_MSEL(IP9_11_9, FMCLK_B, SEL_DARC_1),
1203 PINMUX_IPSR_MSEL(IP9_11_9, RDS_CLK_B, SEL_RDS_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001204 PINMUX_IPSR_DATA(IP9_14_12, MSIOF0_SS2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001205 PINMUX_IPSR_MSEL(IP9_14_12, SCIFA0_TXD, SEL_SCIFA0_0),
1206 PINMUX_IPSR_MSEL(IP9_14_12, TS_SPSYNC, SEL_TSIF0_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001207 PINMUX_IPSR_DATA(IP9_14_12, DU1_DR7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001208 PINMUX_IPSR_MSEL(IP9_14_12, RIF1_D1, SEL_DR3_0),
1209 PINMUX_IPSR_MSEL(IP9_14_12, FMIN_B, SEL_DARC_1),
1210 PINMUX_IPSR_MSEL(IP9_14_12, RDS_DATA_B, SEL_RDS_1),
1211 PINMUX_IPSR_MSEL(IP9_16_15, HSCIF1_HRX, SEL_HSCIF1_0),
1212 PINMUX_IPSR_MSEL(IP9_16_15, I2C4_SCL, SEL_I2C04_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001213 PINMUX_IPSR_DATA(IP9_16_15, PWM6),
1214 PINMUX_IPSR_DATA(IP9_16_15, DU1_DG0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001215 PINMUX_IPSR_MSEL(IP9_18_17, HSCIF1_HTX, SEL_HSCIF1_0),
1216 PINMUX_IPSR_MSEL(IP9_18_17, I2C4_SDA, SEL_I2C04_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001217 PINMUX_IPSR_DATA(IP9_18_17, TPUTO1),
1218 PINMUX_IPSR_DATA(IP9_18_17, DU1_DG1),
1219 PINMUX_IPSR_DATA(IP9_21_19, HSCIF1_HSCK),
1220 PINMUX_IPSR_DATA(IP9_21_19, PWM2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001221 PINMUX_IPSR_MSEL(IP9_21_19, IETX, SEL_IEB_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001222 PINMUX_IPSR_DATA(IP9_21_19, DU1_DG2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001223 PINMUX_IPSR_MSEL(IP9_21_19, REMOCON_B, SEL_RCN_1),
1224 PINMUX_IPSR_MSEL(IP9_21_19, SPEEDIN_B, SEL_RSP_1),
1225 PINMUX_IPSR_MSEL(IP9_21_19, VSP_B, SEL_SPDM_1),
1226 PINMUX_IPSR_MSEL(IP9_24_22, HSCIF1_HCTS_N, SEL_HSCIF1_0),
1227 PINMUX_IPSR_MSEL(IP9_24_22, SCIFA4_RXD, SEL_SCIFA4_0),
1228 PINMUX_IPSR_MSEL(IP9_24_22, IECLK, SEL_IEB_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001229 PINMUX_IPSR_DATA(IP9_24_22, DU1_DG3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001230 PINMUX_IPSR_MSEL(IP9_24_22, SSI_SCK1_B, SEL_SSI1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001231 PINMUX_IPSR_DATA(IP9_24_22, CAN_DEBUG_HW_TRIGGER),
1232 PINMUX_IPSR_DATA(IP9_24_22, CC50_STATE32),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001233 PINMUX_IPSR_MSEL(IP9_27_25, HSCIF1_HRTS_N, SEL_HSCIF1_0),
1234 PINMUX_IPSR_MSEL(IP9_27_25, SCIFA4_TXD, SEL_SCIFA4_0),
1235 PINMUX_IPSR_MSEL(IP9_27_25, IERX, SEL_IEB_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001236 PINMUX_IPSR_DATA(IP9_27_25, DU1_DG4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001237 PINMUX_IPSR_MSEL(IP9_27_25, SSI_WS1_B, SEL_SSI1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001238 PINMUX_IPSR_DATA(IP9_27_25, CAN_STEP0),
1239 PINMUX_IPSR_DATA(IP9_27_25, CC50_STATE33),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001240 PINMUX_IPSR_MSEL(IP9_30_28, SCIF1_SCK, SEL_SCIF1_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001241 PINMUX_IPSR_DATA(IP9_30_28, PWM3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001242 PINMUX_IPSR_MSEL(IP9_30_28, TCLK2, SEL_TMU_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001243 PINMUX_IPSR_DATA(IP9_30_28, DU1_DG5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001244 PINMUX_IPSR_MSEL(IP9_30_28, SSI_SDATA1_B, SEL_SSI1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001245 PINMUX_IPSR_DATA(IP9_30_28, CAN_TXCLK),
1246 PINMUX_IPSR_DATA(IP9_30_28, CC50_STATE34),
1247
1248 /* IPSR10 */
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001249 PINMUX_IPSR_MSEL(IP10_2_0, SCIF1_RXD, SEL_SCIF1_0),
1250 PINMUX_IPSR_MSEL(IP10_2_0, IIC0_SCL, SEL_IIC00_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001251 PINMUX_IPSR_DATA(IP10_2_0, DU1_DG6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001252 PINMUX_IPSR_MSEL(IP10_2_0, SSI_SCK2_B, SEL_SSI2_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001253 PINMUX_IPSR_DATA(IP10_2_0, CAN_DEBUGOUT0),
1254 PINMUX_IPSR_DATA(IP10_2_0, CC50_STATE35),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001255 PINMUX_IPSR_MSEL(IP10_5_3, SCIF1_TXD, SEL_SCIF1_0),
1256 PINMUX_IPSR_MSEL(IP10_5_3, IIC0_SDA, SEL_IIC00_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001257 PINMUX_IPSR_DATA(IP10_5_3, DU1_DG7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001258 PINMUX_IPSR_MSEL(IP10_5_3, SSI_WS2_B, SEL_SSI2_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001259 PINMUX_IPSR_DATA(IP10_5_3, CAN_DEBUGOUT1),
1260 PINMUX_IPSR_DATA(IP10_5_3, CC50_STATE36),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001261 PINMUX_IPSR_MSEL(IP10_8_6, SCIF2_RXD, SEL_SCIF2_0),
1262 PINMUX_IPSR_MSEL(IP10_8_6, IIC1_SCL, SEL_IIC01_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001263 PINMUX_IPSR_DATA(IP10_8_6, DU1_DB0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001264 PINMUX_IPSR_MSEL(IP10_8_6, SSI_SDATA2_B, SEL_SSI2_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001265 PINMUX_IPSR_DATA(IP10_8_6, USB0_EXTLP),
1266 PINMUX_IPSR_DATA(IP10_8_6, CAN_DEBUGOUT2),
1267 PINMUX_IPSR_DATA(IP10_8_6, CC50_STATE37),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001268 PINMUX_IPSR_MSEL(IP10_11_9, SCIF2_TXD, SEL_SCIF2_0),
1269 PINMUX_IPSR_MSEL(IP10_11_9, IIC1_SDA, SEL_IIC01_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001270 PINMUX_IPSR_DATA(IP10_11_9, DU1_DB1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001271 PINMUX_IPSR_MSEL(IP10_11_9, SSI_SCK9_B, SEL_SSI9_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001272 PINMUX_IPSR_DATA(IP10_11_9, USB0_OVC1),
1273 PINMUX_IPSR_DATA(IP10_11_9, CAN_DEBUGOUT3),
1274 PINMUX_IPSR_DATA(IP10_11_9, CC50_STATE38),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001275 PINMUX_IPSR_MSEL(IP10_14_12, SCIF2_SCK, SEL_SCIF2_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001276 PINMUX_IPSR_DATA(IP10_14_12, IRQ1),
1277 PINMUX_IPSR_DATA(IP10_14_12, DU1_DB2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001278 PINMUX_IPSR_MSEL(IP10_14_12, SSI_WS9_B, SEL_SSI9_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001279 PINMUX_IPSR_DATA(IP10_14_12, USB0_IDIN),
1280 PINMUX_IPSR_DATA(IP10_14_12, CAN_DEBUGOUT4),
1281 PINMUX_IPSR_DATA(IP10_14_12, CC50_STATE39),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001282 PINMUX_IPSR_MSEL(IP10_17_15, SCIF3_SCK, SEL_SCIF3_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001283 PINMUX_IPSR_DATA(IP10_17_15, IRQ2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001284 PINMUX_IPSR_MSEL(IP10_17_15, BPFCLK_D, SEL_DARC_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001285 PINMUX_IPSR_DATA(IP10_17_15, DU1_DB3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001286 PINMUX_IPSR_MSEL(IP10_17_15, SSI_SDATA9_B, SEL_SSI9_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001287 PINMUX_IPSR_DATA(IP10_17_15, TANS2),
1288 PINMUX_IPSR_DATA(IP10_17_15, CAN_DEBUGOUT5),
1289 PINMUX_IPSR_DATA(IP10_17_15, CC50_OSCOUT),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001290 PINMUX_IPSR_MSEL(IP10_20_18, SCIF3_RXD, SEL_SCIF3_0),
1291 PINMUX_IPSR_MSEL(IP10_20_18, I2C1_SCL_E, SEL_I2C01_4),
1292 PINMUX_IPSR_MSEL(IP10_20_18, FMCLK_D, SEL_DARC_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001293 PINMUX_IPSR_DATA(IP10_20_18, DU1_DB4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001294 PINMUX_IPSR_MSEL(IP10_20_18, AUDIO_CLKA_C, SEL_ADG_2),
1295 PINMUX_IPSR_MSEL(IP10_20_18, SSI_SCK4_B, SEL_SSI4_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001296 PINMUX_IPSR_DATA(IP10_20_18, CAN_DEBUGOUT6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001297 PINMUX_IPSR_MSEL(IP10_20_18, RDS_CLK_C, SEL_RDS_2),
1298 PINMUX_IPSR_MSEL(IP10_23_21, SCIF3_TXD, SEL_SCIF3_0),
1299 PINMUX_IPSR_MSEL(IP10_23_21, I2C1_SDA_E, SEL_I2C01_4),
1300 PINMUX_IPSR_MSEL(IP10_23_21, FMIN_D, SEL_DARC_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001301 PINMUX_IPSR_DATA(IP10_23_21, DU1_DB5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001302 PINMUX_IPSR_MSEL(IP10_23_21, AUDIO_CLKB_C, SEL_ADG_2),
1303 PINMUX_IPSR_MSEL(IP10_23_21, SSI_WS4_B, SEL_SSI4_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001304 PINMUX_IPSR_DATA(IP10_23_21, CAN_DEBUGOUT7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001305 PINMUX_IPSR_MSEL(IP10_23_21, RDS_DATA_C, SEL_RDS_2),
1306 PINMUX_IPSR_MSEL(IP10_26_24, I2C2_SCL, SEL_I2C02_0),
1307 PINMUX_IPSR_MSEL(IP10_26_24, SCIFA5_RXD, SEL_SCIFA5_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001308 PINMUX_IPSR_DATA(IP10_26_24, DU1_DB6),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001309 PINMUX_IPSR_MSEL(IP10_26_24, AUDIO_CLKC_C, SEL_ADG_2),
1310 PINMUX_IPSR_MSEL(IP10_26_24, SSI_SDATA4_B, SEL_SSI4_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001311 PINMUX_IPSR_DATA(IP10_26_24, CAN_DEBUGOUT8),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001312 PINMUX_IPSR_MSEL(IP10_29_27, I2C2_SDA, SEL_I2C02_0),
1313 PINMUX_IPSR_MSEL(IP10_29_27, SCIFA5_TXD, SEL_SCIFA5_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001314 PINMUX_IPSR_DATA(IP10_29_27, DU1_DB7),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001315 PINMUX_IPSR_MSEL(IP10_29_27, AUDIO_CLKOUT_C, SEL_ADG_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001316 PINMUX_IPSR_DATA(IP10_29_27, CAN_DEBUGOUT9),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001317 PINMUX_IPSR_MSEL(IP10_31_30, SSI_SCK5, SEL_SSI5_0),
1318 PINMUX_IPSR_MSEL(IP10_31_30, SCIFA3_SCK, SEL_SCIFA3_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001319 PINMUX_IPSR_DATA(IP10_31_30, DU1_DOTCLKIN),
1320 PINMUX_IPSR_DATA(IP10_31_30, CAN_DEBUGOUT10),
1321
1322 /* IPSR11 */
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001323 PINMUX_IPSR_MSEL(IP11_2_0, SSI_WS5, SEL_SSI5_0),
1324 PINMUX_IPSR_MSEL(IP11_2_0, SCIFA3_RXD, SEL_SCIFA3_0),
1325 PINMUX_IPSR_MSEL(IP11_2_0, I2C3_SCL_C, SEL_I2C03_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001326 PINMUX_IPSR_DATA(IP11_2_0, DU1_DOTCLKOUT0),
1327 PINMUX_IPSR_DATA(IP11_2_0, CAN_DEBUGOUT11),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001328 PINMUX_IPSR_MSEL(IP11_5_3, SSI_SDATA5, SEL_SSI5_0),
1329 PINMUX_IPSR_MSEL(IP11_5_3, SCIFA3_TXD, SEL_SCIFA3_0),
1330 PINMUX_IPSR_MSEL(IP11_5_3, I2C3_SDA_C, SEL_I2C03_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001331 PINMUX_IPSR_DATA(IP11_5_3, DU1_DOTCLKOUT1),
1332 PINMUX_IPSR_DATA(IP11_5_3, CAN_DEBUGOUT12),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001333 PINMUX_IPSR_MSEL(IP11_7_6, SSI_SCK6, SEL_SSI6_0),
1334 PINMUX_IPSR_MSEL(IP11_7_6, SCIFA1_SCK_B, SEL_SCIFA1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001335 PINMUX_IPSR_DATA(IP11_7_6, DU1_EXHSYNC_DU1_HSYNC),
1336 PINMUX_IPSR_DATA(IP11_7_6, CAN_DEBUGOUT13),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001337 PINMUX_IPSR_MSEL(IP11_10_8, SSI_WS6, SEL_SSI6_0),
1338 PINMUX_IPSR_MSEL(IP11_10_8, SCIFA1_RXD_B, SEL_SCIFA1_1),
1339 PINMUX_IPSR_MSEL(IP11_10_8, I2C4_SCL_C, SEL_I2C04_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001340 PINMUX_IPSR_DATA(IP11_10_8, DU1_EXVSYNC_DU1_VSYNC),
1341 PINMUX_IPSR_DATA(IP11_10_8, CAN_DEBUGOUT14),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001342 PINMUX_IPSR_MSEL(IP11_13_11, SSI_SDATA6, SEL_SSI6_0),
1343 PINMUX_IPSR_MSEL(IP11_13_11, SCIFA1_TXD_B, SEL_SCIFA1_1),
1344 PINMUX_IPSR_MSEL(IP11_13_11, I2C4_SDA_C, SEL_I2C04_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001345 PINMUX_IPSR_DATA(IP11_13_11, DU1_EXODDF_DU1_ODDF_DISP_CDE),
1346 PINMUX_IPSR_DATA(IP11_13_11, CAN_DEBUGOUT15),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001347 PINMUX_IPSR_MSEL(IP11_15_14, SSI_SCK78, SEL_SSI7_0),
1348 PINMUX_IPSR_MSEL(IP11_15_14, SCIFA2_SCK_B, SEL_SCIFA2_1),
1349 PINMUX_IPSR_MSEL(IP11_15_14, IIC0_SDA_C, SEL_IIC00_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001350 PINMUX_IPSR_DATA(IP11_15_14, DU1_DISP),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001351 PINMUX_IPSR_MSEL(IP11_17_16, SSI_WS78, SEL_SSI7_0),
1352 PINMUX_IPSR_MSEL(IP11_17_16, SCIFA2_RXD_B, SEL_SCIFA2_1),
1353 PINMUX_IPSR_MSEL(IP11_17_16, IIC0_SCL_C, SEL_IIC00_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001354 PINMUX_IPSR_DATA(IP11_17_16, DU1_CDE),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001355 PINMUX_IPSR_MSEL(IP11_20_18, SSI_SDATA7, SEL_SSI7_0),
1356 PINMUX_IPSR_MSEL(IP11_20_18, SCIFA2_TXD_B, SEL_SCIFA2_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001357 PINMUX_IPSR_DATA(IP11_20_18, IRQ8),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001358 PINMUX_IPSR_MSEL(IP11_20_18, AUDIO_CLKA_D, SEL_ADG_3),
1359 PINMUX_IPSR_MSEL(IP11_20_18, CAN_CLK_D, SEL_CAN_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001360 PINMUX_IPSR_DATA(IP11_20_18, PCMOE_N),
1361 PINMUX_IPSR_DATA(IP11_23_21, SSI_SCK0129),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001362 PINMUX_IPSR_MSEL(IP11_23_21, MSIOF1_RXD_B, SEL_MSI1_1),
1363 PINMUX_IPSR_MSEL(IP11_23_21, SCIF5_RXD_D, SEL_SCIF5_3),
1364 PINMUX_IPSR_MSEL(IP11_23_21, ADIDATA_B, SEL_RAD_1),
1365 PINMUX_IPSR_MSEL(IP11_23_21, AD_DI_B, SEL_ADI_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001366 PINMUX_IPSR_DATA(IP11_23_21, PCMWE_N),
1367 PINMUX_IPSR_DATA(IP11_26_24, SSI_WS0129),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001368 PINMUX_IPSR_MSEL(IP11_26_24, MSIOF1_TXD_B, SEL_MSI1_1),
1369 PINMUX_IPSR_MSEL(IP11_26_24, SCIF5_TXD_D, SEL_SCIF5_3),
1370 PINMUX_IPSR_MSEL(IP11_26_24, ADICS_SAMP_B, SEL_RAD_1),
1371 PINMUX_IPSR_MSEL(IP11_26_24, AD_DO_B, SEL_ADI_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001372 PINMUX_IPSR_DATA(IP11_29_27, SSI_SDATA0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001373 PINMUX_IPSR_MSEL(IP11_29_27, MSIOF1_SCK_B, SEL_MSI1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001374 PINMUX_IPSR_DATA(IP11_29_27, PWM0_B),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001375 PINMUX_IPSR_MSEL(IP11_29_27, ADICLK_B, SEL_RAD_1),
1376 PINMUX_IPSR_MSEL(IP11_29_27, AD_CLK_B, SEL_ADI_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001377
1378 /* IPSR12 */
1379 PINMUX_IPSR_DATA(IP12_2_0, SSI_SCK34),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001380 PINMUX_IPSR_MSEL(IP12_2_0, MSIOF1_SYNC_B, SEL_MSI1_1),
1381 PINMUX_IPSR_MSEL(IP12_2_0, SCIFA1_SCK_C, SEL_SCIFA1_2),
1382 PINMUX_IPSR_MSEL(IP12_2_0, ADICHS0_B, SEL_RAD_1),
1383 PINMUX_IPSR_MSEL(IP12_2_0, AD_NCS_N_B, SEL_ADI_1),
1384 PINMUX_IPSR_MSEL(IP12_2_0, DREQ1_N_B, SEL_LBS_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001385 PINMUX_IPSR_DATA(IP12_5_3, SSI_WS34),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001386 PINMUX_IPSR_MSEL(IP12_5_3, MSIOF1_SS1_B, SEL_MSI1_1),
1387 PINMUX_IPSR_MSEL(IP12_5_3, SCIFA1_RXD_C, SEL_SCIFA1_2),
1388 PINMUX_IPSR_MSEL(IP12_5_3, ADICHS1_B, SEL_RAD_1),
1389 PINMUX_IPSR_MSEL(IP12_5_3, CAN1_RX_C, SEL_CAN1_2),
1390 PINMUX_IPSR_MSEL(IP12_5_3, DACK1_B, SEL_LBS_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001391 PINMUX_IPSR_DATA(IP12_8_6, SSI_SDATA3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001392 PINMUX_IPSR_MSEL(IP12_8_6, MSIOF1_SS2_B, SEL_MSI1_1),
1393 PINMUX_IPSR_MSEL(IP12_8_6, SCIFA1_TXD_C, SEL_SCIFA1_2),
1394 PINMUX_IPSR_MSEL(IP12_8_6, ADICHS2_B, SEL_RAD_1),
1395 PINMUX_IPSR_MSEL(IP12_8_6, CAN1_TX_C, SEL_CAN1_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001396 PINMUX_IPSR_DATA(IP12_8_6, DREQ2_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001397 PINMUX_IPSR_MSEL(IP12_10_9, SSI_SCK4, SEL_SSI4_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001398 PINMUX_IPSR_DATA(IP12_10_9, MLB_CLK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001399 PINMUX_IPSR_MSEL(IP12_10_9, IETX_B, SEL_IEB_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001400 PINMUX_IPSR_DATA(IP12_10_9, IRD_TX),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001401 PINMUX_IPSR_MSEL(IP12_12_11, SSI_WS4, SEL_SSI4_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001402 PINMUX_IPSR_DATA(IP12_12_11, MLB_SIG),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001403 PINMUX_IPSR_MSEL(IP12_12_11, IECLK_B, SEL_IEB_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001404 PINMUX_IPSR_DATA(IP12_12_11, IRD_RX),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001405 PINMUX_IPSR_MSEL(IP12_14_13, SSI_SDATA4, SEL_SSI4_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001406 PINMUX_IPSR_DATA(IP12_14_13, MLB_DAT),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001407 PINMUX_IPSR_MSEL(IP12_14_13, IERX_B, SEL_IEB_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001408 PINMUX_IPSR_DATA(IP12_14_13, IRD_SCK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001409 PINMUX_IPSR_MSEL(IP12_17_15, SSI_SDATA8, SEL_SSI8_0),
1410 PINMUX_IPSR_MSEL(IP12_17_15, SCIF1_SCK_B, SEL_SCIF1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001411 PINMUX_IPSR_DATA(IP12_17_15, PWM1_B),
1412 PINMUX_IPSR_DATA(IP12_17_15, IRQ9),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001413 PINMUX_IPSR_MSEL(IP12_17_15, REMOCON, SEL_RCN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001414 PINMUX_IPSR_DATA(IP12_17_15, DACK2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001415 PINMUX_IPSR_MSEL(IP12_17_15, ETH_MDIO_B, SEL_ETH_1),
1416 PINMUX_IPSR_MSEL(IP12_20_18, SSI_SCK1, SEL_SSI1_0),
1417 PINMUX_IPSR_MSEL(IP12_20_18, SCIF1_RXD_B, SEL_SCIF1_1),
1418 PINMUX_IPSR_MSEL(IP12_20_18, IIC1_SCL_C, SEL_IIC01_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001419 PINMUX_IPSR_DATA(IP12_20_18, VI1_CLK),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001420 PINMUX_IPSR_MSEL(IP12_20_18, CAN0_RX_D, SEL_CAN0_3),
1421 PINMUX_IPSR_MSEL(IP12_20_18, AVB_AVTP_CAPTURE, SEL_AVB_0),
1422 PINMUX_IPSR_MSEL(IP12_20_18, ETH_CRS_DV_B, SEL_ETH_1),
1423 PINMUX_IPSR_MSEL(IP12_23_21, SSI_WS1, SEL_SSI1_0),
1424 PINMUX_IPSR_MSEL(IP12_23_21, SCIF1_TXD_B, SEL_SCIF1_1),
1425 PINMUX_IPSR_MSEL(IP12_23_21, IIC1_SDA_C, SEL_IIC01_2),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001426 PINMUX_IPSR_DATA(IP12_23_21, VI1_DATA0),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001427 PINMUX_IPSR_MSEL(IP12_23_21, CAN0_TX_D, SEL_CAN0_3),
1428 PINMUX_IPSR_MSEL(IP12_23_21, AVB_AVTP_MATCH, SEL_AVB_0),
1429 PINMUX_IPSR_MSEL(IP12_23_21, ETH_RX_ER_B, SEL_ETH_1),
1430 PINMUX_IPSR_MSEL(IP12_26_24, SSI_SDATA1, SEL_SSI1_0),
1431 PINMUX_IPSR_MSEL(IP12_26_24, HSCIF1_HRX_B, SEL_HSCIF1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001432 PINMUX_IPSR_DATA(IP12_26_24, VI1_DATA1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001433 PINMUX_IPSR_MSEL(IP12_26_24, SDATA, SEL_FSN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001434 PINMUX_IPSR_DATA(IP12_26_24, ATAG0_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001435 PINMUX_IPSR_MSEL(IP12_26_24, ETH_RXD0_B, SEL_ETH_1),
1436 PINMUX_IPSR_MSEL(IP12_29_27, SSI_SCK2, SEL_SSI2_0),
1437 PINMUX_IPSR_MSEL(IP12_29_27, HSCIF1_HTX_B, SEL_HSCIF1_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001438 PINMUX_IPSR_DATA(IP12_29_27, VI1_DATA2),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001439 PINMUX_IPSR_MSEL(IP12_29_27, MDATA, SEL_FSN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001440 PINMUX_IPSR_DATA(IP12_29_27, ATAWR0_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001441 PINMUX_IPSR_MSEL(IP12_29_27, ETH_RXD1_B, SEL_ETH_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001442
1443 /* IPSR13 */
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001444 PINMUX_IPSR_MSEL(IP13_2_0, SSI_WS2, SEL_SSI2_0),
1445 PINMUX_IPSR_MSEL(IP13_2_0, HSCIF1_HCTS_N_B, SEL_HSCIF1_1),
1446 PINMUX_IPSR_MSEL(IP13_2_0, SCIFA0_RXD_D, SEL_SCIFA0_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001447 PINMUX_IPSR_DATA(IP13_2_0, VI1_DATA3),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001448 PINMUX_IPSR_MSEL(IP13_2_0, SCKZ, SEL_FSN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001449 PINMUX_IPSR_DATA(IP13_2_0, ATACS00_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001450 PINMUX_IPSR_MSEL(IP13_2_0, ETH_LINK_B, SEL_ETH_1),
1451 PINMUX_IPSR_MSEL(IP13_5_3, SSI_SDATA2, SEL_SSI2_0),
1452 PINMUX_IPSR_MSEL(IP13_5_3, HSCIF1_HRTS_N_B, SEL_HSCIF1_1),
1453 PINMUX_IPSR_MSEL(IP13_5_3, SCIFA0_TXD_D, SEL_SCIFA0_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001454 PINMUX_IPSR_DATA(IP13_5_3, VI1_DATA4),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001455 PINMUX_IPSR_MSEL(IP13_5_3, STM_N, SEL_FSN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001456 PINMUX_IPSR_DATA(IP13_5_3, ATACS10_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001457 PINMUX_IPSR_MSEL(IP13_5_3, ETH_REFCLK_B, SEL_ETH_1),
1458 PINMUX_IPSR_MSEL(IP13_8_6, SSI_SCK9, SEL_SSI9_0),
1459 PINMUX_IPSR_MSEL(IP13_8_6, SCIF2_SCK_B, SEL_SCIF2_1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001460 PINMUX_IPSR_DATA(IP13_8_6, PWM2_B),
1461 PINMUX_IPSR_DATA(IP13_8_6, VI1_DATA5),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001462 PINMUX_IPSR_MSEL(IP13_8_6, MTS_N, SEL_FSN_0),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001463 PINMUX_IPSR_DATA(IP13_8_6, EX_WAIT1),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001464 PINMUX_IPSR_MSEL(IP13_8_6, ETH_TXD1_B, SEL_ETH_1),
1465 PINMUX_IPSR_MSEL(IP13_11_9, SSI_WS9, SEL_SSI9_0),
1466 PINMUX_IPSR_MSEL(IP13_11_9, SCIF2_RXD_B, SEL_SCIF2_1),
1467 PINMUX_IPSR_MSEL(IP13_11_9, I2C3_SCL_E, SEL_I2C03_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001468 PINMUX_IPSR_DATA(IP13_11_9, VI1_DATA6),
1469 PINMUX_IPSR_DATA(IP13_11_9, ATARD0_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001470 PINMUX_IPSR_MSEL(IP13_11_9, ETH_TX_EN_B, SEL_ETH_1),
1471 PINMUX_IPSR_MSEL(IP13_14_12, SSI_SDATA9, SEL_SSI9_0),
1472 PINMUX_IPSR_MSEL(IP13_14_12, SCIF2_TXD_B, SEL_SCIF2_1),
1473 PINMUX_IPSR_MSEL(IP13_14_12, I2C3_SDA_E, SEL_I2C03_4),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001474 PINMUX_IPSR_DATA(IP13_14_12, VI1_DATA7),
1475 PINMUX_IPSR_DATA(IP13_14_12, ATADIR0_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001476 PINMUX_IPSR_MSEL(IP13_14_12, ETH_MAGIC_B, SEL_ETH_1),
1477 PINMUX_IPSR_MSEL(IP13_17_15, AUDIO_CLKA, SEL_ADG_0),
1478 PINMUX_IPSR_MSEL(IP13_17_15, I2C0_SCL_B, SEL_I2C00_1),
1479 PINMUX_IPSR_MSEL(IP13_17_15, SCIFA4_RXD_D, SEL_SCIFA4_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001480 PINMUX_IPSR_DATA(IP13_17_15, VI1_CLKENB),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001481 PINMUX_IPSR_MSEL(IP13_17_15, TS_SDATA_C, SEL_TSIF0_2),
1482 PINMUX_IPSR_MSEL(IP13_17_15, RIF0_SYNC_B, SEL_DR0_1),
1483 PINMUX_IPSR_MSEL(IP13_17_15, ETH_TXD0_B, SEL_ETH_1),
1484 PINMUX_IPSR_MSEL(IP13_20_18, AUDIO_CLKB, SEL_ADG_0),
1485 PINMUX_IPSR_MSEL(IP13_20_18, I2C0_SDA_B, SEL_I2C00_1),
1486 PINMUX_IPSR_MSEL(IP13_20_18, SCIFA4_TXD_D, SEL_SCIFA4_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001487 PINMUX_IPSR_DATA(IP13_20_18, VI1_FIELD),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001488 PINMUX_IPSR_MSEL(IP13_20_18, TS_SCK_C, SEL_TSIF0_2),
1489 PINMUX_IPSR_MSEL(IP13_20_18, RIF0_CLK_B, SEL_DR0_1),
1490 PINMUX_IPSR_MSEL(IP13_20_18, BPFCLK_E, SEL_DARC_4),
1491 PINMUX_IPSR_MSEL(IP13_20_18, ETH_MDC_B, SEL_ETH_1),
1492 PINMUX_IPSR_MSEL(IP13_23_21, AUDIO_CLKC, SEL_ADG_0),
1493 PINMUX_IPSR_MSEL(IP13_23_21, I2C4_SCL_B, SEL_I2C04_1),
1494 PINMUX_IPSR_MSEL(IP13_23_21, SCIFA5_RXD_D, SEL_SCIFA5_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001495 PINMUX_IPSR_DATA(IP13_23_21, VI1_HSYNC_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001496 PINMUX_IPSR_MSEL(IP13_23_21, TS_SDEN_C, SEL_TSIF0_2),
1497 PINMUX_IPSR_MSEL(IP13_23_21, RIF0_D0_B, SEL_DR0_1),
1498 PINMUX_IPSR_MSEL(IP13_23_21, FMCLK_E, SEL_DARC_4),
1499 PINMUX_IPSR_MSEL(IP13_23_21, RDS_CLK_D, SEL_RDS_3),
1500 PINMUX_IPSR_MSEL(IP13_26_24, AUDIO_CLKOUT, SEL_ADG_0),
1501 PINMUX_IPSR_MSEL(IP13_26_24, I2C4_SDA_B, SEL_I2C04_1),
1502 PINMUX_IPSR_MSEL(IP13_26_24, SCIFA5_TXD_D, SEL_SCIFA5_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001503 PINMUX_IPSR_DATA(IP13_26_24, VI1_VSYNC_N),
Kuninori Morimotoadedb872015-09-03 02:49:56 +00001504 PINMUX_IPSR_MSEL(IP13_26_24, TS_SPSYNC_C, SEL_TSIF0_2),
1505 PINMUX_IPSR_MSEL(IP13_26_24, RIF0_D1_B, SEL_DR1_1),
1506 PINMUX_IPSR_MSEL(IP13_26_24, FMIN_E, SEL_DARC_4),
1507 PINMUX_IPSR_MSEL(IP13_26_24, RDS_DATA_D, SEL_RDS_3),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001508};
1509
1510static const struct sh_pfc_pin pinmux_pins[] = {
1511 PINMUX_GPIO_GP_ALL(),
1512};
1513
1514/* - ETH -------------------------------------------------------------------- */
1515static const unsigned int eth_link_pins[] = {
1516 /* LINK */
1517 RCAR_GP_PIN(3, 18),
1518};
1519static const unsigned int eth_link_mux[] = {
1520 ETH_LINK_MARK,
1521};
1522static const unsigned int eth_magic_pins[] = {
1523 /* MAGIC */
1524 RCAR_GP_PIN(3, 22),
1525};
1526static const unsigned int eth_magic_mux[] = {
1527 ETH_MAGIC_MARK,
1528};
1529static const unsigned int eth_mdio_pins[] = {
1530 /* MDC, MDIO */
1531 RCAR_GP_PIN(3, 24), RCAR_GP_PIN(3, 13),
1532};
1533static const unsigned int eth_mdio_mux[] = {
1534 ETH_MDC_MARK, ETH_MDIO_MARK,
1535};
1536static const unsigned int eth_rmii_pins[] = {
1537 /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
1538 RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 15),
1539 RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 20),
1540 RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 19),
1541};
1542static const unsigned int eth_rmii_mux[] = {
1543 ETH_RXD0_MARK, ETH_RXD1_MARK, ETH_RX_ER_MARK, ETH_CRS_DV_MARK,
1544 ETH_TXD0_MARK, ETH_TXD1_MARK, ETH_TX_EN_MARK, ETH_REFCLK_MARK,
1545};
1546static const unsigned int eth_link_b_pins[] = {
1547 /* LINK */
1548 RCAR_GP_PIN(5, 15),
1549};
1550static const unsigned int eth_link_b_mux[] = {
1551 ETH_LINK_B_MARK,
1552};
1553static const unsigned int eth_magic_b_pins[] = {
1554 /* MAGIC */
1555 RCAR_GP_PIN(5, 19),
1556};
1557static const unsigned int eth_magic_b_mux[] = {
1558 ETH_MAGIC_B_MARK,
1559};
1560static const unsigned int eth_mdio_b_pins[] = {
1561 /* MDC, MDIO */
1562 RCAR_GP_PIN(5, 21), RCAR_GP_PIN(5, 10),
1563};
1564static const unsigned int eth_mdio_b_mux[] = {
1565 ETH_MDC_B_MARK, ETH_MDIO_B_MARK,
1566};
1567static const unsigned int eth_rmii_b_pins[] = {
1568 /* RXD[0:1], RX_ER, CRS_DV, TXD[0:1], TX_EN, REF_CLK */
1569 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 12),
1570 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 17),
1571 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 16),
1572};
1573static const unsigned int eth_rmii_b_mux[] = {
1574 ETH_RXD0_B_MARK, ETH_RXD1_B_MARK, ETH_RX_ER_B_MARK, ETH_CRS_DV_B_MARK,
1575 ETH_TXD0_B_MARK, ETH_TXD1_B_MARK, ETH_TX_EN_B_MARK, ETH_REFCLK_B_MARK,
1576};
1577/* - HSCIF0 ----------------------------------------------------------------- */
1578static const unsigned int hscif0_data_pins[] = {
1579 /* RX, TX */
1580 RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
1581};
1582static const unsigned int hscif0_data_mux[] = {
1583 HSCIF0_HRX_MARK, HSCIF0_HTX_MARK,
1584};
1585static const unsigned int hscif0_clk_pins[] = {
1586 /* SCK */
1587 RCAR_GP_PIN(3, 29),
1588};
1589static const unsigned int hscif0_clk_mux[] = {
1590 HSCIF0_HSCK_MARK,
1591};
1592static const unsigned int hscif0_ctrl_pins[] = {
1593 /* RTS, CTS */
1594 RCAR_GP_PIN(3, 28), RCAR_GP_PIN(3, 27),
1595};
1596static const unsigned int hscif0_ctrl_mux[] = {
1597 HSCIF0_HRTS_N_MARK, HSCIF0_HCTS_N_MARK,
1598};
1599static const unsigned int hscif0_data_b_pins[] = {
1600 /* RX, TX */
1601 RCAR_GP_PIN(0, 30), RCAR_GP_PIN(0, 31),
1602};
1603static const unsigned int hscif0_data_b_mux[] = {
1604 HSCIF0_HRX_B_MARK, HSCIF0_HTX_B_MARK,
1605};
1606static const unsigned int hscif0_clk_b_pins[] = {
1607 /* SCK */
1608 RCAR_GP_PIN(1, 0),
1609};
1610static const unsigned int hscif0_clk_b_mux[] = {
1611 HSCIF0_HSCK_B_MARK,
1612};
1613/* - HSCIF1 ----------------------------------------------------------------- */
1614static const unsigned int hscif1_data_pins[] = {
1615 /* RX, TX */
1616 RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9),
1617};
1618static const unsigned int hscif1_data_mux[] = {
1619 HSCIF1_HRX_MARK, HSCIF1_HTX_MARK,
1620};
1621static const unsigned int hscif1_clk_pins[] = {
1622 /* SCK */
1623 RCAR_GP_PIN(4, 10),
1624};
1625static const unsigned int hscif1_clk_mux[] = {
1626 HSCIF1_HSCK_MARK,
1627};
1628static const unsigned int hscif1_ctrl_pins[] = {
1629 /* RTS, CTS */
1630 RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 11),
1631};
1632static const unsigned int hscif1_ctrl_mux[] = {
1633 HSCIF1_HRTS_N_MARK, HSCIF1_HCTS_N_MARK,
1634};
1635static const unsigned int hscif1_data_b_pins[] = {
1636 /* RX, TX */
1637 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
1638};
1639static const unsigned int hscif1_data_b_mux[] = {
1640 HSCIF1_HRX_B_MARK, HSCIF1_HTX_B_MARK,
1641};
1642static const unsigned int hscif1_ctrl_b_pins[] = {
1643 /* RTS, CTS */
1644 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15),
1645};
1646static const unsigned int hscif1_ctrl_b_mux[] = {
1647 HSCIF1_HRTS_N_B_MARK, HSCIF1_HCTS_N_B_MARK,
1648};
1649/* - HSCIF2 ----------------------------------------------------------------- */
1650static const unsigned int hscif2_data_pins[] = {
1651 /* RX, TX */
1652 RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
1653};
1654static const unsigned int hscif2_data_mux[] = {
1655 HSCIF2_HRX_MARK, HSCIF2_HTX_MARK,
1656};
1657static const unsigned int hscif2_clk_pins[] = {
1658 /* SCK */
1659 RCAR_GP_PIN(0, 10),
1660};
1661static const unsigned int hscif2_clk_mux[] = {
1662 HSCIF2_HSCK_MARK,
1663};
1664static const unsigned int hscif2_ctrl_pins[] = {
1665 /* RTS, CTS */
1666 RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 11),
1667};
1668static const unsigned int hscif2_ctrl_mux[] = {
1669 HSCIF2_HRTS_N_MARK, HSCIF2_HCTS_N_MARK,
1670};
1671/* - I2C0 ------------------------------------------------------------------- */
1672static const unsigned int i2c0_pins[] = {
1673 /* SCL, SDA */
1674 RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
1675};
1676static const unsigned int i2c0_mux[] = {
1677 I2C0_SCL_MARK, I2C0_SDA_MARK,
1678};
1679static const unsigned int i2c0_b_pins[] = {
1680 /* SCL, SDA */
1681 RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 21),
1682};
1683static const unsigned int i2c0_b_mux[] = {
1684 I2C0_SCL_B_MARK, I2C0_SDA_B_MARK,
1685};
1686static const unsigned int i2c0_c_pins[] = {
1687 /* SCL, SDA */
1688 RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12),
1689};
1690static const unsigned int i2c0_c_mux[] = {
1691 I2C0_SCL_C_MARK, I2C0_SDA_C_MARK,
1692};
1693static const unsigned int i2c0_d_pins[] = {
1694 /* SCL, SDA */
1695 RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6),
1696};
1697static const unsigned int i2c0_d_mux[] = {
1698 I2C0_SCL_D_MARK, I2C0_SDA_D_MARK,
1699};
1700static const unsigned int i2c0_e_pins[] = {
1701 /* SCL, SDA */
1702 RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
1703};
1704static const unsigned int i2c0_e_mux[] = {
1705 I2C0_SCL_E_MARK, I2C0_SDA_E_MARK,
1706};
1707/* - I2C1 ------------------------------------------------------------------- */
1708static const unsigned int i2c1_pins[] = {
1709 /* SCL, SDA */
1710 RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
1711};
1712static const unsigned int i2c1_mux[] = {
1713 I2C1_SCL_MARK, I2C1_SDA_MARK,
1714};
1715static const unsigned int i2c1_b_pins[] = {
1716 /* SCL, SDA */
1717 RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9),
1718};
1719static const unsigned int i2c1_b_mux[] = {
1720 I2C1_SCL_B_MARK, I2C1_SDA_B_MARK,
1721};
1722static const unsigned int i2c1_c_pins[] = {
1723 /* SCL, SDA */
1724 RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
1725};
1726static const unsigned int i2c1_c_mux[] = {
1727 I2C1_SCL_C_MARK, I2C1_SDA_C_MARK,
1728};
1729static const unsigned int i2c1_d_pins[] = {
1730 /* SCL, SDA */
1731 RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 12),
1732};
1733static const unsigned int i2c1_d_mux[] = {
1734 I2C1_SCL_D_MARK, I2C1_SDA_D_MARK,
1735};
1736static const unsigned int i2c1_e_pins[] = {
1737 /* SCL, SDA */
1738 RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
1739};
1740static const unsigned int i2c1_e_mux[] = {
1741 I2C1_SCL_E_MARK, I2C1_SDA_E_MARK,
1742};
1743/* - I2C2 ------------------------------------------------------------------- */
1744static const unsigned int i2c2_pins[] = {
1745 /* SCL, SDA */
1746 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
1747};
1748static const unsigned int i2c2_mux[] = {
1749 I2C2_SCL_MARK, I2C2_SDA_MARK,
1750};
1751static const unsigned int i2c2_b_pins[] = {
1752 /* SCL, SDA */
1753 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
1754};
1755static const unsigned int i2c2_b_mux[] = {
1756 I2C2_SCL_B_MARK, I2C2_SDA_B_MARK,
1757};
1758static const unsigned int i2c2_c_pins[] = {
1759 /* SCL, SDA */
1760 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3),
1761};
1762static const unsigned int i2c2_c_mux[] = {
1763 I2C2_SCL_C_MARK, I2C2_SDA_C_MARK,
1764};
1765static const unsigned int i2c2_d_pins[] = {
1766 /* SCL, SDA */
1767 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1),
1768};
1769static const unsigned int i2c2_d_mux[] = {
1770 I2C2_SCL_D_MARK, I2C2_SDA_D_MARK,
1771};
1772static const unsigned int i2c2_e_pins[] = {
1773 /* SCL, SDA */
1774 RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
1775};
1776static const unsigned int i2c2_e_mux[] = {
1777 I2C2_SCL_E_MARK, I2C2_SDA_E_MARK,
1778};
1779/* - I2C3 ------------------------------------------------------------------- */
1780static const unsigned int i2c3_pins[] = {
1781 /* SCL, SDA */
1782 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 10),
1783};
1784static const unsigned int i2c3_mux[] = {
1785 I2C3_SCL_MARK, I2C3_SDA_MARK,
1786};
1787static const unsigned int i2c3_b_pins[] = {
1788 /* SCL, SDA */
1789 RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4),
1790};
1791static const unsigned int i2c3_b_mux[] = {
1792 I2C3_SCL_B_MARK, I2C3_SDA_B_MARK,
1793};
1794static const unsigned int i2c3_c_pins[] = {
1795 /* SCL, SDA */
1796 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
1797};
1798static const unsigned int i2c3_c_mux[] = {
1799 I2C3_SCL_C_MARK, I2C3_SDA_C_MARK,
1800};
1801static const unsigned int i2c3_d_pins[] = {
1802 /* SCL, SDA */
1803 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
1804};
1805static const unsigned int i2c3_d_mux[] = {
1806 I2C3_SCL_D_MARK, I2C3_SDA_D_MARK,
1807};
1808static const unsigned int i2c3_e_pins[] = {
1809 /* SCL, SDA */
1810 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
1811};
1812static const unsigned int i2c3_e_mux[] = {
1813 I2C3_SCL_E_MARK, I2C3_SDA_E_MARK,
1814};
1815/* - I2C4 ------------------------------------------------------------------- */
1816static const unsigned int i2c4_pins[] = {
1817 /* SCL, SDA */
1818 RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9),
1819};
1820static const unsigned int i2c4_mux[] = {
1821 I2C4_SCL_MARK, I2C4_SDA_MARK,
1822};
1823static const unsigned int i2c4_b_pins[] = {
1824 /* SCL, SDA */
1825 RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
1826};
1827static const unsigned int i2c4_b_mux[] = {
1828 I2C4_SCL_B_MARK, I2C4_SDA_B_MARK,
1829};
1830static const unsigned int i2c4_c_pins[] = {
1831 /* SCL, SDA */
1832 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
1833};
1834static const unsigned int i2c4_c_mux[] = {
1835 I2C4_SCL_C_MARK, I2C4_SDA_C_MARK,
1836};
1837static const unsigned int i2c4_d_pins[] = {
1838 /* SCL, SDA */
1839 RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
1840};
1841static const unsigned int i2c4_d_mux[] = {
1842 I2C4_SCL_D_MARK, I2C4_SDA_D_MARK,
1843};
1844static const unsigned int i2c4_e_pins[] = {
1845 /* SCL, SDA */
1846 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
1847};
1848static const unsigned int i2c4_e_mux[] = {
1849 I2C4_SCL_E_MARK, I2C4_SDA_E_MARK,
1850};
1851/* - INTC ------------------------------------------------------------------- */
1852static const unsigned int intc_irq0_pins[] = {
1853 /* IRQ0 */
1854 RCAR_GP_PIN(4, 4),
1855};
1856static const unsigned int intc_irq0_mux[] = {
1857 IRQ0_MARK,
1858};
1859static const unsigned int intc_irq1_pins[] = {
1860 /* IRQ1 */
1861 RCAR_GP_PIN(4, 18),
1862};
1863static const unsigned int intc_irq1_mux[] = {
1864 IRQ1_MARK,
1865};
1866static const unsigned int intc_irq2_pins[] = {
1867 /* IRQ2 */
1868 RCAR_GP_PIN(4, 19),
1869};
1870static const unsigned int intc_irq2_mux[] = {
1871 IRQ2_MARK,
1872};
1873static const unsigned int intc_irq3_pins[] = {
1874 /* IRQ3 */
1875 RCAR_GP_PIN(0, 7),
1876};
1877static const unsigned int intc_irq3_mux[] = {
1878 IRQ3_MARK,
1879};
1880static const unsigned int intc_irq4_pins[] = {
1881 /* IRQ4 */
1882 RCAR_GP_PIN(0, 0),
1883};
1884static const unsigned int intc_irq4_mux[] = {
1885 IRQ4_MARK,
1886};
1887static const unsigned int intc_irq5_pins[] = {
1888 /* IRQ5 */
1889 RCAR_GP_PIN(4, 1),
1890};
1891static const unsigned int intc_irq5_mux[] = {
1892 IRQ5_MARK,
1893};
1894static const unsigned int intc_irq6_pins[] = {
1895 /* IRQ6 */
1896 RCAR_GP_PIN(0, 10),
1897};
1898static const unsigned int intc_irq6_mux[] = {
1899 IRQ6_MARK,
1900};
1901static const unsigned int intc_irq7_pins[] = {
1902 /* IRQ7 */
1903 RCAR_GP_PIN(6, 15),
1904};
1905static const unsigned int intc_irq7_mux[] = {
1906 IRQ7_MARK,
1907};
1908static const unsigned int intc_irq8_pins[] = {
1909 /* IRQ8 */
1910 RCAR_GP_PIN(5, 0),
1911};
1912static const unsigned int intc_irq8_mux[] = {
1913 IRQ8_MARK,
1914};
1915static const unsigned int intc_irq9_pins[] = {
1916 /* IRQ9 */
1917 RCAR_GP_PIN(5, 10),
1918};
1919static const unsigned int intc_irq9_mux[] = {
1920 IRQ9_MARK,
1921};
Shinobu Ueharaf1f74b62015-06-06 01:35:54 +03001922/* - MMCIF ------------------------------------------------------------------ */
1923static const unsigned int mmc_data1_pins[] = {
1924 /* D[0] */
1925 RCAR_GP_PIN(6, 18),
1926};
1927static const unsigned int mmc_data1_mux[] = {
1928 MMC_D0_MARK,
1929};
1930static const unsigned int mmc_data4_pins[] = {
1931 /* D[0:3] */
1932 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
1933 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
1934};
1935static const unsigned int mmc_data4_mux[] = {
1936 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
1937};
1938static const unsigned int mmc_data8_pins[] = {
1939 /* D[0:7] */
1940 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
1941 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
1942 RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
1943 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
1944};
1945static const unsigned int mmc_data8_mux[] = {
1946 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
1947 MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
1948};
1949static const unsigned int mmc_ctrl_pins[] = {
1950 /* CLK, CMD */
1951 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
1952};
1953static const unsigned int mmc_ctrl_mux[] = {
1954 MMC_CLK_MARK, MMC_CMD_MARK,
1955};
Hisashi Nakamura43c44362015-06-06 01:34:48 +03001956/* - MSIOF0 ----------------------------------------------------------------- */
1957static const unsigned int msiof0_clk_pins[] = {
1958 /* SCK */
1959 RCAR_GP_PIN(4, 4),
1960};
1961static const unsigned int msiof0_clk_mux[] = {
1962 MSIOF0_SCK_MARK,
1963};
1964static const unsigned int msiof0_sync_pins[] = {
1965 /* SYNC */
1966 RCAR_GP_PIN(4, 5),
1967};
1968static const unsigned int msiof0_sync_mux[] = {
1969 MSIOF0_SYNC_MARK,
1970};
1971static const unsigned int msiof0_ss1_pins[] = {
1972 /* SS1 */
1973 RCAR_GP_PIN(4, 6),
1974};
1975static const unsigned int msiof0_ss1_mux[] = {
1976 MSIOF0_SS1_MARK,
1977};
1978static const unsigned int msiof0_ss2_pins[] = {
1979 /* SS2 */
1980 RCAR_GP_PIN(4, 7),
1981};
1982static const unsigned int msiof0_ss2_mux[] = {
1983 MSIOF0_SS2_MARK,
1984};
1985static const unsigned int msiof0_rx_pins[] = {
1986 /* RXD */
1987 RCAR_GP_PIN(4, 2),
1988};
1989static const unsigned int msiof0_rx_mux[] = {
1990 MSIOF0_RXD_MARK,
1991};
1992static const unsigned int msiof0_tx_pins[] = {
1993 /* TXD */
1994 RCAR_GP_PIN(4, 3),
1995};
1996static const unsigned int msiof0_tx_mux[] = {
1997 MSIOF0_TXD_MARK,
1998};
1999/* - MSIOF1 ----------------------------------------------------------------- */
2000static const unsigned int msiof1_clk_pins[] = {
2001 /* SCK */
2002 RCAR_GP_PIN(0, 26),
2003};
2004static const unsigned int msiof1_clk_mux[] = {
2005 MSIOF1_SCK_MARK,
2006};
2007static const unsigned int msiof1_sync_pins[] = {
2008 /* SYNC */
2009 RCAR_GP_PIN(0, 27),
2010};
2011static const unsigned int msiof1_sync_mux[] = {
2012 MSIOF1_SYNC_MARK,
2013};
2014static const unsigned int msiof1_ss1_pins[] = {
2015 /* SS1 */
2016 RCAR_GP_PIN(0, 28),
2017};
2018static const unsigned int msiof1_ss1_mux[] = {
2019 MSIOF1_SS1_MARK,
2020};
2021static const unsigned int msiof1_ss2_pins[] = {
2022 /* SS2 */
2023 RCAR_GP_PIN(0, 29),
2024};
2025static const unsigned int msiof1_ss2_mux[] = {
2026 MSIOF1_SS2_MARK,
2027};
2028static const unsigned int msiof1_rx_pins[] = {
2029 /* RXD */
2030 RCAR_GP_PIN(0, 24),
2031};
2032static const unsigned int msiof1_rx_mux[] = {
2033 MSIOF1_RXD_MARK,
2034};
2035static const unsigned int msiof1_tx_pins[] = {
2036 /* TXD */
2037 RCAR_GP_PIN(0, 25),
2038};
2039static const unsigned int msiof1_tx_mux[] = {
2040 MSIOF1_TXD_MARK,
2041};
2042static const unsigned int msiof1_clk_b_pins[] = {
2043 /* SCK */
2044 RCAR_GP_PIN(5, 3),
2045};
2046static const unsigned int msiof1_clk_b_mux[] = {
2047 MSIOF1_SCK_B_MARK,
2048};
2049static const unsigned int msiof1_sync_b_pins[] = {
2050 /* SYNC */
2051 RCAR_GP_PIN(5, 4),
2052};
2053static const unsigned int msiof1_sync_b_mux[] = {
2054 MSIOF1_SYNC_B_MARK,
2055};
2056static const unsigned int msiof1_ss1_b_pins[] = {
2057 /* SS1 */
2058 RCAR_GP_PIN(5, 5),
2059};
2060static const unsigned int msiof1_ss1_b_mux[] = {
2061 MSIOF1_SS1_B_MARK,
2062};
2063static const unsigned int msiof1_ss2_b_pins[] = {
2064 /* SS2 */
2065 RCAR_GP_PIN(5, 6),
2066};
2067static const unsigned int msiof1_ss2_b_mux[] = {
2068 MSIOF1_SS2_B_MARK,
2069};
2070static const unsigned int msiof1_rx_b_pins[] = {
2071 /* RXD */
2072 RCAR_GP_PIN(5, 1),
2073};
2074static const unsigned int msiof1_rx_b_mux[] = {
2075 MSIOF1_RXD_B_MARK,
2076};
2077static const unsigned int msiof1_tx_b_pins[] = {
2078 /* TXD */
2079 RCAR_GP_PIN(5, 2),
2080};
2081static const unsigned int msiof1_tx_b_mux[] = {
2082 MSIOF1_TXD_B_MARK,
2083};
2084/* - MSIOF2 ----------------------------------------------------------------- */
2085static const unsigned int msiof2_clk_pins[] = {
2086 /* SCK */
2087 RCAR_GP_PIN(1, 0),
2088};
2089static const unsigned int msiof2_clk_mux[] = {
2090 MSIOF2_SCK_MARK,
2091};
2092static const unsigned int msiof2_sync_pins[] = {
2093 /* SYNC */
2094 RCAR_GP_PIN(1, 1),
2095};
2096static const unsigned int msiof2_sync_mux[] = {
2097 MSIOF2_SYNC_MARK,
2098};
2099static const unsigned int msiof2_ss1_pins[] = {
2100 /* SS1 */
2101 RCAR_GP_PIN(1, 2),
2102};
2103static const unsigned int msiof2_ss1_mux[] = {
2104 MSIOF2_SS1_MARK,
2105};
2106static const unsigned int msiof2_ss2_pins[] = {
2107 /* SS2 */
2108 RCAR_GP_PIN(1, 3),
2109};
2110static const unsigned int msiof2_ss2_mux[] = {
2111 MSIOF2_SS2_MARK,
2112};
2113static const unsigned int msiof2_rx_pins[] = {
2114 /* RXD */
2115 RCAR_GP_PIN(0, 30),
2116};
2117static const unsigned int msiof2_rx_mux[] = {
2118 MSIOF2_RXD_MARK,
2119};
2120static const unsigned int msiof2_tx_pins[] = {
2121 /* TXD */
2122 RCAR_GP_PIN(0, 31),
2123};
2124static const unsigned int msiof2_tx_mux[] = {
2125 MSIOF2_TXD_MARK,
2126};
2127static const unsigned int msiof2_clk_b_pins[] = {
2128 /* SCK */
2129 RCAR_GP_PIN(3, 15),
2130};
2131static const unsigned int msiof2_clk_b_mux[] = {
2132 MSIOF2_SCK_B_MARK,
2133};
2134static const unsigned int msiof2_sync_b_pins[] = {
2135 /* SYNC */
2136 RCAR_GP_PIN(3, 16),
2137};
2138static const unsigned int msiof2_sync_b_mux[] = {
2139 MSIOF2_SYNC_B_MARK,
2140};
2141static const unsigned int msiof2_ss1_b_pins[] = {
2142 /* SS1 */
2143 RCAR_GP_PIN(3, 17),
2144};
2145static const unsigned int msiof2_ss1_b_mux[] = {
2146 MSIOF2_SS1_B_MARK,
2147};
2148static const unsigned int msiof2_ss2_b_pins[] = {
2149 /* SS2 */
2150 RCAR_GP_PIN(3, 18),
2151};
2152static const unsigned int msiof2_ss2_b_mux[] = {
2153 MSIOF2_SS2_B_MARK,
2154};
2155static const unsigned int msiof2_rx_b_pins[] = {
2156 /* RXD */
2157 RCAR_GP_PIN(3, 13),
2158};
2159static const unsigned int msiof2_rx_b_mux[] = {
2160 MSIOF2_RXD_B_MARK,
2161};
2162static const unsigned int msiof2_tx_b_pins[] = {
2163 /* TXD */
2164 RCAR_GP_PIN(3, 14),
2165};
2166static const unsigned int msiof2_tx_b_mux[] = {
2167 MSIOF2_TXD_B_MARK,
2168};
2169/* - QSPI ------------------------------------------------------------------- */
2170static const unsigned int qspi_ctrl_pins[] = {
2171 /* SPCLK, SSL */
2172 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 9),
2173};
2174static const unsigned int qspi_ctrl_mux[] = {
2175 SPCLK_MARK, SSL_MARK,
2176};
2177static const unsigned int qspi_data2_pins[] = {
2178 /* MOSI_IO0, MISO_IO1 */
2179 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6),
2180};
2181static const unsigned int qspi_data2_mux[] = {
2182 MOSI_IO0_MARK, MISO_IO1_MARK,
2183};
2184static const unsigned int qspi_data4_pins[] = {
2185 /* MOSI_IO0, MISO_IO1, IO2, IO3 */
2186 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7),
2187 RCAR_GP_PIN(1, 8),
2188};
2189static const unsigned int qspi_data4_mux[] = {
2190 MOSI_IO0_MARK, MISO_IO1_MARK, IO2_MARK, IO3_MARK,
2191};
2192/* - SCIF0 ------------------------------------------------------------------ */
2193static const unsigned int scif0_data_pins[] = {
2194 /* RX, TX */
2195 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25),
2196};
2197static const unsigned int scif0_data_mux[] = {
2198 SCIF0_RXD_MARK, SCIF0_TXD_MARK,
2199};
Hisashi Nakamura43c44362015-06-06 01:34:48 +03002200static const unsigned int scif0_data_b_pins[] = {
2201 /* RX, TX */
2202 RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12),
2203};
2204static const unsigned int scif0_data_b_mux[] = {
2205 SCIF0_RXD_B_MARK, SCIF0_TXD_B_MARK,
2206};
Hisashi Nakamura43c44362015-06-06 01:34:48 +03002207static const unsigned int scif0_data_c_pins[] = {
2208 /* RX, TX */
2209 RCAR_GP_PIN(3, 30), RCAR_GP_PIN(3, 31),
2210};
2211static const unsigned int scif0_data_c_mux[] = {
2212 SCIF0_RXD_C_MARK, SCIF0_TXD_C_MARK,
2213};
2214static const unsigned int scif0_data_d_pins[] = {
2215 /* RX, TX */
2216 RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
2217};
2218static const unsigned int scif0_data_d_mux[] = {
2219 SCIF0_RXD_D_MARK, SCIF0_TXD_D_MARK,
2220};
2221/* - SCIF1 ------------------------------------------------------------------ */
2222static const unsigned int scif1_data_pins[] = {
2223 /* RX, TX */
2224 RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15),
2225};
2226static const unsigned int scif1_data_mux[] = {
2227 SCIF1_RXD_MARK, SCIF1_TXD_MARK,
2228};
2229static const unsigned int scif1_clk_pins[] = {
2230 /* SCK */
2231 RCAR_GP_PIN(4, 13),
2232};
2233static const unsigned int scif1_clk_mux[] = {
2234 SCIF1_SCK_MARK,
2235};
2236static const unsigned int scif1_data_b_pins[] = {
2237 /* RX, TX */
2238 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 12),
2239};
2240static const unsigned int scif1_data_b_mux[] = {
2241 SCIF1_RXD_B_MARK, SCIF1_TXD_B_MARK,
2242};
2243static const unsigned int scif1_clk_b_pins[] = {
2244 /* SCK */
2245 RCAR_GP_PIN(5, 10),
2246};
2247static const unsigned int scif1_clk_b_mux[] = {
2248 SCIF1_SCK_B_MARK,
2249};
2250static const unsigned int scif1_data_c_pins[] = {
2251 /* RX, TX */
2252 RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 12),
2253};
2254static const unsigned int scif1_data_c_mux[] = {
2255 SCIF1_RXD_C_MARK, SCIF1_TXD_C_MARK,
2256};
2257static const unsigned int scif1_clk_c_pins[] = {
2258 /* SCK */
2259 RCAR_GP_PIN(0, 10),
2260};
2261static const unsigned int scif1_clk_c_mux[] = {
2262 SCIF1_SCK_C_MARK,
2263};
2264/* - SCIF2 ------------------------------------------------------------------ */
2265static const unsigned int scif2_data_pins[] = {
2266 /* RX, TX */
2267 RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17),
2268};
2269static const unsigned int scif2_data_mux[] = {
2270 SCIF2_RXD_MARK, SCIF2_TXD_MARK,
2271};
2272static const unsigned int scif2_clk_pins[] = {
2273 /* SCK */
2274 RCAR_GP_PIN(4, 18),
2275};
2276static const unsigned int scif2_clk_mux[] = {
2277 SCIF2_SCK_MARK,
2278};
2279static const unsigned int scif2_data_b_pins[] = {
2280 /* RX, TX */
2281 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
2282};
2283static const unsigned int scif2_data_b_mux[] = {
2284 SCIF2_RXD_B_MARK, SCIF2_TXD_B_MARK,
2285};
2286static const unsigned int scif2_clk_b_pins[] = {
2287 /* SCK */
2288 RCAR_GP_PIN(5, 17),
2289};
2290static const unsigned int scif2_clk_b_mux[] = {
2291 SCIF2_SCK_B_MARK,
2292};
2293static const unsigned int scif2_data_c_pins[] = {
2294 /* RX, TX */
2295 RCAR_GP_PIN(3, 20), RCAR_GP_PIN(3, 21),
2296};
2297static const unsigned int scif2_data_c_mux[] = {
2298 SCIF2_RXD_C_MARK, SCIF2_TXD_C_MARK,
2299};
2300static const unsigned int scif2_clk_c_pins[] = {
2301 /* SCK */
2302 RCAR_GP_PIN(3, 19),
2303};
2304static const unsigned int scif2_clk_c_mux[] = {
2305 SCIF2_SCK_C_MARK,
2306};
2307/* - SCIF3 ------------------------------------------------------------------ */
2308static const unsigned int scif3_data_pins[] = {
2309 /* RX, TX */
2310 RCAR_GP_PIN(4, 20), RCAR_GP_PIN(4, 21),
2311};
2312static const unsigned int scif3_data_mux[] = {
2313 SCIF3_RXD_MARK, SCIF3_TXD_MARK,
2314};
2315static const unsigned int scif3_clk_pins[] = {
2316 /* SCK */
2317 RCAR_GP_PIN(4, 19),
2318};
2319static const unsigned int scif3_clk_mux[] = {
2320 SCIF3_SCK_MARK,
2321};
2322static const unsigned int scif3_data_b_pins[] = {
2323 /* RX, TX */
2324 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
2325};
2326static const unsigned int scif3_data_b_mux[] = {
2327 SCIF3_RXD_B_MARK, SCIF3_TXD_B_MARK,
2328};
2329static const unsigned int scif3_clk_b_pins[] = {
2330 /* SCK */
2331 RCAR_GP_PIN(3, 22),
2332};
2333static const unsigned int scif3_clk_b_mux[] = {
2334 SCIF3_SCK_B_MARK,
2335};
2336/* - SCIF4 ------------------------------------------------------------------ */
2337static const unsigned int scif4_data_pins[] = {
2338 /* RX, TX */
2339 RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1),
2340};
2341static const unsigned int scif4_data_mux[] = {
2342 SCIF4_RXD_MARK, SCIF4_TXD_MARK,
2343};
2344static const unsigned int scif4_data_b_pins[] = {
2345 /* RX, TX */
2346 RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 6),
2347};
2348static const unsigned int scif4_data_b_mux[] = {
2349 SCIF4_RXD_B_MARK, SCIF4_TXD_B_MARK,
2350};
2351static const unsigned int scif4_data_c_pins[] = {
2352 /* RX, TX */
2353 RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15),
2354};
2355static const unsigned int scif4_data_c_mux[] = {
2356 SCIF4_RXD_C_MARK, SCIF4_TXD_C_MARK,
2357};
2358static const unsigned int scif4_data_d_pins[] = {
2359 /* RX, TX */
2360 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
2361};
2362static const unsigned int scif4_data_d_mux[] = {
2363 SCIF4_RXD_D_MARK, SCIF4_TXD_D_MARK,
2364};
2365static const unsigned int scif4_data_e_pins[] = {
2366 /* RX, TX */
2367 RCAR_GP_PIN(1, 1), RCAR_GP_PIN(1, 2),
2368};
2369static const unsigned int scif4_data_e_mux[] = {
2370 SCIF4_RXD_E_MARK, SCIF4_TXD_E_MARK,
2371};
2372/* - SCIF5 ------------------------------------------------------------------ */
2373static const unsigned int scif5_data_pins[] = {
2374 /* RX, TX */
2375 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3),
2376};
2377static const unsigned int scif5_data_mux[] = {
2378 SCIF5_RXD_MARK, SCIF5_TXD_MARK,
2379};
2380static const unsigned int scif5_data_b_pins[] = {
2381 /* RX, TX */
2382 RCAR_GP_PIN(0, 3), RCAR_GP_PIN(0, 4),
2383};
2384static const unsigned int scif5_data_b_mux[] = {
2385 SCIF5_RXD_B_MARK, SCIF5_TXD_B_MARK,
2386};
2387static const unsigned int scif5_data_c_pins[] = {
2388 /* RX, TX */
2389 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 11),
2390};
2391static const unsigned int scif5_data_c_mux[] = {
2392 SCIF5_RXD_C_MARK, SCIF5_TXD_C_MARK,
2393};
2394static const unsigned int scif5_data_d_pins[] = {
2395 /* RX, TX */
2396 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
2397};
2398static const unsigned int scif5_data_d_mux[] = {
2399 SCIF5_RXD_D_MARK, SCIF5_TXD_D_MARK,
2400};
2401/* - SCIFA0 ----------------------------------------------------------------- */
2402static const unsigned int scifa0_data_pins[] = {
2403 /* RXD, TXD */
2404 RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 7),
2405};
2406static const unsigned int scifa0_data_mux[] = {
2407 SCIFA0_RXD_MARK, SCIFA0_TXD_MARK,
2408};
2409static const unsigned int scifa0_data_b_pins[] = {
2410 /* RXD, TXD */
2411 RCAR_GP_PIN(0, 24), RCAR_GP_PIN(0, 25),
2412};
2413static const unsigned int scifa0_data_b_mux[] = {
2414 SCIFA0_RXD_B_MARK, SCIFA0_TXD_B_MARK
2415};
2416static const unsigned int scifa0_data_c_pins[] = {
2417 /* RXD, TXD */
2418 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9),
2419};
2420static const unsigned int scifa0_data_c_mux[] = {
2421 SCIFA0_RXD_C_MARK, SCIFA0_TXD_C_MARK
2422};
2423static const unsigned int scifa0_data_d_pins[] = {
2424 /* RXD, TXD */
2425 RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
2426};
2427static const unsigned int scifa0_data_d_mux[] = {
2428 SCIFA0_RXD_D_MARK, SCIFA0_TXD_D_MARK
2429};
2430/* - SCIFA1 ----------------------------------------------------------------- */
2431static const unsigned int scifa1_data_pins[] = {
2432 /* RXD, TXD */
2433 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
2434};
2435static const unsigned int scifa1_data_mux[] = {
2436 SCIFA1_RXD_MARK, SCIFA1_TXD_MARK,
2437};
2438static const unsigned int scifa1_clk_pins[] = {
2439 /* SCK */
2440 RCAR_GP_PIN(0, 13),
2441};
2442static const unsigned int scifa1_clk_mux[] = {
2443 SCIFA1_SCK_MARK,
2444};
2445static const unsigned int scifa1_data_b_pins[] = {
2446 /* RXD, TXD */
2447 RCAR_GP_PIN(4, 28), RCAR_GP_PIN(4, 29),
2448};
2449static const unsigned int scifa1_data_b_mux[] = {
2450 SCIFA1_RXD_B_MARK, SCIFA1_TXD_B_MARK,
2451};
2452static const unsigned int scifa1_clk_b_pins[] = {
2453 /* SCK */
2454 RCAR_GP_PIN(4, 27),
2455};
2456static const unsigned int scifa1_clk_b_mux[] = {
2457 SCIFA1_SCK_B_MARK,
2458};
2459static const unsigned int scifa1_data_c_pins[] = {
2460 /* RXD, TXD */
2461 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
2462};
2463static const unsigned int scifa1_data_c_mux[] = {
2464 SCIFA1_RXD_C_MARK, SCIFA1_TXD_C_MARK,
2465};
2466static const unsigned int scifa1_clk_c_pins[] = {
2467 /* SCK */
2468 RCAR_GP_PIN(5, 4),
2469};
2470static const unsigned int scifa1_clk_c_mux[] = {
2471 SCIFA1_SCK_C_MARK,
2472};
2473/* - SCIFA2 ----------------------------------------------------------------- */
2474static const unsigned int scifa2_data_pins[] = {
2475 /* RXD, TXD */
2476 RCAR_GP_PIN(1, 16), RCAR_GP_PIN(1, 17),
2477};
2478static const unsigned int scifa2_data_mux[] = {
2479 SCIFA2_RXD_MARK, SCIFA2_TXD_MARK,
2480};
2481static const unsigned int scifa2_clk_pins[] = {
2482 /* SCK */
2483 RCAR_GP_PIN(1, 15),
2484};
2485static const unsigned int scifa2_clk_mux[] = {
2486 SCIFA2_SCK_MARK,
2487};
2488static const unsigned int scifa2_data_b_pins[] = {
2489 /* RXD, TXD */
2490 RCAR_GP_PIN(4, 31), RCAR_GP_PIN(5, 0),
2491};
2492static const unsigned int scifa2_data_b_mux[] = {
2493 SCIFA2_RXD_B_MARK, SCIFA2_TXD_B_MARK,
2494};
2495static const unsigned int scifa2_clk_b_pins[] = {
2496 /* SCK */
2497 RCAR_GP_PIN(4, 30),
2498};
2499static const unsigned int scifa2_clk_b_mux[] = {
2500 SCIFA2_SCK_B_MARK,
2501};
2502/* - SCIFA3 ----------------------------------------------------------------- */
2503static const unsigned int scifa3_data_pins[] = {
2504 /* RXD, TXD */
2505 RCAR_GP_PIN(4, 25), RCAR_GP_PIN(4, 26),
2506};
2507static const unsigned int scifa3_data_mux[] = {
2508 SCIFA3_RXD_MARK, SCIFA3_TXD_MARK,
2509};
2510static const unsigned int scifa3_clk_pins[] = {
2511 /* SCK */
2512 RCAR_GP_PIN(4, 24),
2513};
2514static const unsigned int scifa3_clk_mux[] = {
2515 SCIFA3_SCK_MARK,
2516};
2517static const unsigned int scifa3_data_b_pins[] = {
2518 /* RXD, TXD */
2519 RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2),
2520};
2521static const unsigned int scifa3_data_b_mux[] = {
2522 SCIFA3_RXD_B_MARK, SCIFA3_TXD_B_MARK,
2523};
2524static const unsigned int scifa3_clk_b_pins[] = {
2525 /* SCK */
2526 RCAR_GP_PIN(0, 0),
2527};
2528static const unsigned int scifa3_clk_b_mux[] = {
2529 SCIFA3_SCK_B_MARK,
2530};
2531/* - SCIFA4 ----------------------------------------------------------------- */
2532static const unsigned int scifa4_data_pins[] = {
2533 /* RXD, TXD */
2534 RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 12),
2535};
2536static const unsigned int scifa4_data_mux[] = {
2537 SCIFA4_RXD_MARK, SCIFA4_TXD_MARK,
2538};
2539static const unsigned int scifa4_data_b_pins[] = {
2540 /* RXD, TXD */
2541 RCAR_GP_PIN(0, 22), RCAR_GP_PIN(0, 23),
2542};
2543static const unsigned int scifa4_data_b_mux[] = {
2544 SCIFA4_RXD_B_MARK, SCIFA4_TXD_B_MARK,
2545};
2546static const unsigned int scifa4_data_c_pins[] = {
2547 /* RXD, TXD */
2548 RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 17),
2549};
2550static const unsigned int scifa4_data_c_mux[] = {
2551 SCIFA4_RXD_C_MARK, SCIFA4_TXD_C_MARK,
2552};
2553static const unsigned int scifa4_data_d_pins[] = {
2554 /* RXD, TXD */
2555 RCAR_GP_PIN(5, 20), RCAR_GP_PIN(5, 21),
2556};
2557static const unsigned int scifa4_data_d_mux[] = {
2558 SCIFA4_RXD_D_MARK, SCIFA4_TXD_D_MARK,
2559};
2560/* - SCIFA5 ----------------------------------------------------------------- */
2561static const unsigned int scifa5_data_pins[] = {
2562 /* RXD, TXD */
2563 RCAR_GP_PIN(4, 22), RCAR_GP_PIN(4, 23),
2564};
2565static const unsigned int scifa5_data_mux[] = {
2566 SCIFA5_RXD_MARK, SCIFA5_TXD_MARK,
2567};
2568static const unsigned int scifa5_data_b_pins[] = {
2569 /* RXD, TXD */
2570 RCAR_GP_PIN(0, 28), RCAR_GP_PIN(0, 29),
2571};
2572static const unsigned int scifa5_data_b_mux[] = {
2573 SCIFA5_RXD_B_MARK, SCIFA5_TXD_B_MARK,
2574};
2575static const unsigned int scifa5_data_c_pins[] = {
2576 /* RXD, TXD */
2577 RCAR_GP_PIN(3, 9), RCAR_GP_PIN(3, 10),
2578};
2579static const unsigned int scifa5_data_c_mux[] = {
2580 SCIFA5_RXD_C_MARK, SCIFA5_TXD_C_MARK,
2581};
2582static const unsigned int scifa5_data_d_pins[] = {
2583 /* RXD, TXD */
2584 RCAR_GP_PIN(5, 22), RCAR_GP_PIN(5, 23),
2585};
2586static const unsigned int scifa5_data_d_mux[] = {
2587 SCIFA5_RXD_D_MARK, SCIFA5_TXD_D_MARK,
2588};
2589/* - SCIFB0 ----------------------------------------------------------------- */
2590static const unsigned int scifb0_data_pins[] = {
2591 /* RXD, TXD */
2592 RCAR_GP_PIN(0, 21), RCAR_GP_PIN(0, 20),
2593};
2594static const unsigned int scifb0_data_mux[] = {
2595 SCIFB0_RXD_MARK, SCIFB0_TXD_MARK,
2596};
2597static const unsigned int scifb0_clk_pins[] = {
2598 /* SCK */
2599 RCAR_GP_PIN(0, 19),
2600};
2601static const unsigned int scifb0_clk_mux[] = {
2602 SCIFB0_SCK_MARK,
2603};
2604static const unsigned int scifb0_ctrl_pins[] = {
2605 /* RTS, CTS */
2606 RCAR_GP_PIN(0, 23), RCAR_GP_PIN(0, 22),
2607};
2608static const unsigned int scifb0_ctrl_mux[] = {
2609 SCIFB0_RTS_N_MARK, SCIFB0_CTS_N_MARK,
2610};
2611/* - SCIFB1 ----------------------------------------------------------------- */
2612static const unsigned int scifb1_data_pins[] = {
2613 /* RXD, TXD */
2614 RCAR_GP_PIN(1, 24), RCAR_GP_PIN(0, 17),
2615};
2616static const unsigned int scifb1_data_mux[] = {
2617 SCIFB1_RXD_MARK, SCIFB1_TXD_MARK,
2618};
2619static const unsigned int scifb1_clk_pins[] = {
2620 /* SCK */
2621 RCAR_GP_PIN(0, 16),
2622};
2623static const unsigned int scifb1_clk_mux[] = {
2624 SCIFB1_SCK_MARK,
2625};
2626/* - SCIFB2 ----------------------------------------------------------------- */
2627static const unsigned int scifb2_data_pins[] = {
2628 /* RXD, TXD */
2629 RCAR_GP_PIN(1, 13), RCAR_GP_PIN(1, 14),
2630};
2631static const unsigned int scifb2_data_mux[] = {
2632 SCIFB2_RXD_MARK, SCIFB2_TXD_MARK,
2633};
2634static const unsigned int scifb2_clk_pins[] = {
2635 /* SCK */
2636 RCAR_GP_PIN(1, 15),
2637};
2638static const unsigned int scifb2_clk_mux[] = {
2639 SCIFB2_SCK_MARK,
2640};
2641static const unsigned int scifb2_ctrl_pins[] = {
2642 /* RTS, CTS */
2643 RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 16),
2644};
2645static const unsigned int scifb2_ctrl_mux[] = {
2646 SCIFB2_RTS_N_MARK, SCIFB2_CTS_N_MARK,
2647};
Shinobu Uehara7ac91bd2015-06-06 01:36:50 +03002648/* - SDHI0 ------------------------------------------------------------------ */
2649static const unsigned int sdhi0_data1_pins[] = {
2650 /* D0 */
2651 RCAR_GP_PIN(6, 2),
2652};
2653static const unsigned int sdhi0_data1_mux[] = {
2654 SD0_DATA0_MARK,
2655};
2656static const unsigned int sdhi0_data4_pins[] = {
2657 /* D[0:3] */
2658 RCAR_GP_PIN(6, 2), RCAR_GP_PIN(6, 3),
2659 RCAR_GP_PIN(6, 4), RCAR_GP_PIN(6, 5),
2660};
2661static const unsigned int sdhi0_data4_mux[] = {
2662 SD0_DATA0_MARK, SD0_DATA1_MARK, SD0_DATA2_MARK, SD0_DATA3_MARK,
2663};
2664static const unsigned int sdhi0_ctrl_pins[] = {
2665 /* CLK, CMD */
2666 RCAR_GP_PIN(6, 0), RCAR_GP_PIN(6, 1),
2667};
2668static const unsigned int sdhi0_ctrl_mux[] = {
2669 SD0_CLK_MARK, SD0_CMD_MARK,
2670};
2671static const unsigned int sdhi0_cd_pins[] = {
2672 /* CD */
2673 RCAR_GP_PIN(6, 6),
2674};
2675static const unsigned int sdhi0_cd_mux[] = {
2676 SD0_CD_MARK,
2677};
2678static const unsigned int sdhi0_wp_pins[] = {
2679 /* WP */
2680 RCAR_GP_PIN(6, 7),
2681};
2682static const unsigned int sdhi0_wp_mux[] = {
2683 SD0_WP_MARK,
2684};
2685/* - SDHI1 ------------------------------------------------------------------ */
2686static const unsigned int sdhi1_data1_pins[] = {
2687 /* D0 */
2688 RCAR_GP_PIN(6, 10),
2689};
2690static const unsigned int sdhi1_data1_mux[] = {
2691 SD1_DATA0_MARK,
2692};
2693static const unsigned int sdhi1_data4_pins[] = {
2694 /* D[0:3] */
2695 RCAR_GP_PIN(6, 10), RCAR_GP_PIN(6, 11),
2696 RCAR_GP_PIN(6, 12), RCAR_GP_PIN(6, 13),
2697};
2698static const unsigned int sdhi1_data4_mux[] = {
2699 SD1_DATA0_MARK, SD1_DATA1_MARK, SD1_DATA2_MARK, SD1_DATA3_MARK,
2700};
2701static const unsigned int sdhi1_ctrl_pins[] = {
2702 /* CLK, CMD */
2703 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
2704};
2705static const unsigned int sdhi1_ctrl_mux[] = {
2706 SD1_CLK_MARK, SD1_CMD_MARK,
2707};
2708static const unsigned int sdhi1_cd_pins[] = {
2709 /* CD */
2710 RCAR_GP_PIN(6, 14),
2711};
2712static const unsigned int sdhi1_cd_mux[] = {
2713 SD1_CD_MARK,
2714};
2715static const unsigned int sdhi1_wp_pins[] = {
2716 /* WP */
2717 RCAR_GP_PIN(6, 15),
2718};
2719static const unsigned int sdhi1_wp_mux[] = {
2720 SD1_WP_MARK,
2721};
2722/* - SDHI2 ------------------------------------------------------------------ */
2723static const unsigned int sdhi2_data1_pins[] = {
2724 /* D0 */
2725 RCAR_GP_PIN(6, 18),
2726};
2727static const unsigned int sdhi2_data1_mux[] = {
2728 SD2_DATA0_MARK,
2729};
2730static const unsigned int sdhi2_data4_pins[] = {
2731 /* D[0:3] */
2732 RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
2733 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
2734};
2735static const unsigned int sdhi2_data4_mux[] = {
2736 SD2_DATA0_MARK, SD2_DATA1_MARK, SD2_DATA2_MARK, SD2_DATA3_MARK,
2737};
2738static const unsigned int sdhi2_ctrl_pins[] = {
2739 /* CLK, CMD */
2740 RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
2741};
2742static const unsigned int sdhi2_ctrl_mux[] = {
2743 SD2_CLK_MARK, SD2_CMD_MARK,
2744};
2745static const unsigned int sdhi2_cd_pins[] = {
2746 /* CD */
2747 RCAR_GP_PIN(6, 22),
2748};
2749static const unsigned int sdhi2_cd_mux[] = {
2750 SD2_CD_MARK,
2751};
2752static const unsigned int sdhi2_wp_pins[] = {
2753 /* WP */
2754 RCAR_GP_PIN(6, 23),
2755};
2756static const unsigned int sdhi2_wp_mux[] = {
2757 SD2_WP_MARK,
2758};
Shinobu Uehara580a7ee2015-08-19 01:26:55 +03002759/* - USB0 ------------------------------------------------------------------- */
2760static const unsigned int usb0_pins[] = {
2761 RCAR_GP_PIN(5, 24), /* PWEN */
2762 RCAR_GP_PIN(5, 25), /* OVC */
2763};
2764static const unsigned int usb0_mux[] = {
2765 USB0_PWEN_MARK,
2766 USB0_OVC_MARK,
2767};
2768/* - USB1 ------------------------------------------------------------------- */
2769static const unsigned int usb1_pins[] = {
2770 RCAR_GP_PIN(5, 26), /* PWEN */
2771 RCAR_GP_PIN(5, 27), /* OVC */
2772};
2773static const unsigned int usb1_mux[] = {
2774 USB1_PWEN_MARK,
2775 USB1_OVC_MARK,
2776};
Koji Matsuoka0f7711a2015-10-03 02:21:49 +03002777/* - VIN0 ------------------------------------------------------------------- */
2778static const union vin_data vin0_data_pins = {
2779 .data24 = {
2780 /* B */
2781 RCAR_GP_PIN(3, 1), RCAR_GP_PIN(3, 2),
2782 RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
2783 RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
2784 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 8),
2785 /* G */
2786 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14),
2787 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
2788 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
2789 RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20),
2790 /* R */
2791 RCAR_GP_PIN(3, 21), RCAR_GP_PIN(3, 22),
2792 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
2793 RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
2794 RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
2795 },
2796};
2797static const union vin_data vin0_data_mux = {
2798 .data24 = {
2799 /* B */
2800 VI0_DATA0_VI0_B0_MARK, VI0_DATA1_VI0_B1_MARK,
2801 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
2802 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
2803 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
2804 /* G */
2805 VI0_G0_MARK, VI0_G1_MARK,
2806 VI0_G2_MARK, VI0_G3_MARK,
2807 VI0_G4_MARK, VI0_G5_MARK,
2808 VI0_G6_MARK, VI0_G7_MARK,
2809 /* R */
2810 VI0_R0_MARK, VI0_R1_MARK,
2811 VI0_R2_MARK, VI0_R3_MARK,
2812 VI0_R4_MARK, VI0_R5_MARK,
2813 VI0_R6_MARK, VI0_R7_MARK,
2814 },
2815};
2816static const unsigned int vin0_data18_pins[] = {
2817 /* B */
2818 RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 4),
2819 RCAR_GP_PIN(3, 5), RCAR_GP_PIN(3, 6),
2820 RCAR_GP_PIN(3, 7), RCAR_GP_PIN(3, 8),
2821 /* G */
2822 RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16),
2823 RCAR_GP_PIN(3, 17), RCAR_GP_PIN(3, 18),
2824 RCAR_GP_PIN(3, 19), RCAR_GP_PIN(3, 20),
2825 /* R */
2826 RCAR_GP_PIN(3, 23), RCAR_GP_PIN(3, 24),
2827 RCAR_GP_PIN(3, 25), RCAR_GP_PIN(3, 26),
2828 RCAR_GP_PIN(3, 27), RCAR_GP_PIN(3, 28),
2829};
2830static const unsigned int vin0_data18_mux[] = {
2831 /* B */
2832 VI0_DATA2_VI0_B2_MARK, VI0_DATA3_VI0_B3_MARK,
2833 VI0_DATA4_VI0_B4_MARK, VI0_DATA5_VI0_B5_MARK,
2834 VI0_DATA6_VI0_B6_MARK, VI0_DATA7_VI0_B7_MARK,
2835 /* G */
2836 VI0_G2_MARK, VI0_G3_MARK,
2837 VI0_G4_MARK, VI0_G5_MARK,
2838 VI0_G6_MARK, VI0_G7_MARK,
2839 /* R */
2840 VI0_R2_MARK, VI0_R3_MARK,
2841 VI0_R4_MARK, VI0_R5_MARK,
2842 VI0_R6_MARK, VI0_R7_MARK,
2843};
2844static const unsigned int vin0_sync_pins[] = {
2845 RCAR_GP_PIN(3, 11), /* HSYNC */
2846 RCAR_GP_PIN(3, 12), /* VSYNC */
2847};
2848static const unsigned int vin0_sync_mux[] = {
2849 VI0_HSYNC_N_MARK,
2850 VI0_VSYNC_N_MARK,
2851};
2852static const unsigned int vin0_field_pins[] = {
2853 RCAR_GP_PIN(3, 10),
2854};
2855static const unsigned int vin0_field_mux[] = {
2856 VI0_FIELD_MARK,
2857};
2858static const unsigned int vin0_clkenb_pins[] = {
2859 RCAR_GP_PIN(3, 9),
2860};
2861static const unsigned int vin0_clkenb_mux[] = {
2862 VI0_CLKENB_MARK,
2863};
2864static const unsigned int vin0_clk_pins[] = {
2865 RCAR_GP_PIN(3, 0),
2866};
2867static const unsigned int vin0_clk_mux[] = {
2868 VI0_CLK_MARK,
2869};
2870/* - VIN1 ------------------------------------------------------------------- */
2871static const union vin_data vin1_data_pins = {
2872 .data12 = {
2873 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 13),
2874 RCAR_GP_PIN(5, 14), RCAR_GP_PIN(5, 15),
2875 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 17),
2876 RCAR_GP_PIN(5, 18), RCAR_GP_PIN(5, 19),
2877 RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 11),
2878 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13),
2879 },
2880};
2881static const union vin_data vin1_data_mux = {
2882 .data12 = {
2883 VI1_DATA0_MARK, VI1_DATA1_MARK,
2884 VI1_DATA2_MARK, VI1_DATA3_MARK,
2885 VI1_DATA4_MARK, VI1_DATA5_MARK,
2886 VI1_DATA6_MARK, VI1_DATA7_MARK,
2887 VI1_DATA8_MARK, VI1_DATA9_MARK,
2888 VI1_DATA10_MARK, VI1_DATA11_MARK,
2889 },
2890};
2891static const unsigned int vin1_sync_pins[] = {
2892 RCAR_GP_PIN(5, 22), /* HSYNC */
2893 RCAR_GP_PIN(5, 23), /* VSYNC */
2894};
2895static const unsigned int vin1_sync_mux[] = {
2896 VI1_HSYNC_N_MARK,
2897 VI1_VSYNC_N_MARK,
2898};
2899static const unsigned int vin1_field_pins[] = {
2900 RCAR_GP_PIN(5, 21),
2901};
2902static const unsigned int vin1_field_mux[] = {
2903 VI1_FIELD_MARK,
2904};
2905static const unsigned int vin1_clkenb_pins[] = {
2906 RCAR_GP_PIN(5, 20),
2907};
2908static const unsigned int vin1_clkenb_mux[] = {
2909 VI1_CLKENB_MARK,
2910};
2911static const unsigned int vin1_clk_pins[] = {
2912 RCAR_GP_PIN(5, 11),
2913};
2914static const unsigned int vin1_clk_mux[] = {
2915 VI1_CLK_MARK,
2916};
Hisashi Nakamura43c44362015-06-06 01:34:48 +03002917
2918static const struct sh_pfc_pin_group pinmux_groups[] = {
2919 SH_PFC_PIN_GROUP(eth_link),
2920 SH_PFC_PIN_GROUP(eth_magic),
2921 SH_PFC_PIN_GROUP(eth_mdio),
2922 SH_PFC_PIN_GROUP(eth_rmii),
2923 SH_PFC_PIN_GROUP(eth_link_b),
2924 SH_PFC_PIN_GROUP(eth_magic_b),
2925 SH_PFC_PIN_GROUP(eth_mdio_b),
2926 SH_PFC_PIN_GROUP(eth_rmii_b),
2927 SH_PFC_PIN_GROUP(hscif0_data),
2928 SH_PFC_PIN_GROUP(hscif0_clk),
2929 SH_PFC_PIN_GROUP(hscif0_ctrl),
2930 SH_PFC_PIN_GROUP(hscif0_data_b),
2931 SH_PFC_PIN_GROUP(hscif0_clk_b),
2932 SH_PFC_PIN_GROUP(hscif1_data),
2933 SH_PFC_PIN_GROUP(hscif1_clk),
2934 SH_PFC_PIN_GROUP(hscif1_ctrl),
2935 SH_PFC_PIN_GROUP(hscif1_data_b),
2936 SH_PFC_PIN_GROUP(hscif1_ctrl_b),
2937 SH_PFC_PIN_GROUP(hscif2_data),
2938 SH_PFC_PIN_GROUP(hscif2_clk),
2939 SH_PFC_PIN_GROUP(hscif2_ctrl),
2940 SH_PFC_PIN_GROUP(i2c0),
2941 SH_PFC_PIN_GROUP(i2c0_b),
2942 SH_PFC_PIN_GROUP(i2c0_c),
2943 SH_PFC_PIN_GROUP(i2c0_d),
2944 SH_PFC_PIN_GROUP(i2c0_e),
2945 SH_PFC_PIN_GROUP(i2c1),
2946 SH_PFC_PIN_GROUP(i2c1_b),
2947 SH_PFC_PIN_GROUP(i2c1_c),
2948 SH_PFC_PIN_GROUP(i2c1_d),
2949 SH_PFC_PIN_GROUP(i2c1_e),
2950 SH_PFC_PIN_GROUP(i2c2),
2951 SH_PFC_PIN_GROUP(i2c2_b),
2952 SH_PFC_PIN_GROUP(i2c2_c),
2953 SH_PFC_PIN_GROUP(i2c2_d),
2954 SH_PFC_PIN_GROUP(i2c2_e),
2955 SH_PFC_PIN_GROUP(i2c3),
2956 SH_PFC_PIN_GROUP(i2c3_b),
2957 SH_PFC_PIN_GROUP(i2c3_c),
2958 SH_PFC_PIN_GROUP(i2c3_d),
2959 SH_PFC_PIN_GROUP(i2c3_e),
2960 SH_PFC_PIN_GROUP(i2c4),
2961 SH_PFC_PIN_GROUP(i2c4_b),
2962 SH_PFC_PIN_GROUP(i2c4_c),
2963 SH_PFC_PIN_GROUP(i2c4_d),
2964 SH_PFC_PIN_GROUP(i2c4_e),
2965 SH_PFC_PIN_GROUP(intc_irq0),
2966 SH_PFC_PIN_GROUP(intc_irq1),
2967 SH_PFC_PIN_GROUP(intc_irq2),
2968 SH_PFC_PIN_GROUP(intc_irq3),
2969 SH_PFC_PIN_GROUP(intc_irq4),
2970 SH_PFC_PIN_GROUP(intc_irq5),
2971 SH_PFC_PIN_GROUP(intc_irq6),
2972 SH_PFC_PIN_GROUP(intc_irq7),
2973 SH_PFC_PIN_GROUP(intc_irq8),
2974 SH_PFC_PIN_GROUP(intc_irq9),
Shinobu Ueharaf1f74b62015-06-06 01:35:54 +03002975 SH_PFC_PIN_GROUP(mmc_data1),
2976 SH_PFC_PIN_GROUP(mmc_data4),
2977 SH_PFC_PIN_GROUP(mmc_data8),
2978 SH_PFC_PIN_GROUP(mmc_ctrl),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03002979 SH_PFC_PIN_GROUP(msiof0_clk),
2980 SH_PFC_PIN_GROUP(msiof0_sync),
2981 SH_PFC_PIN_GROUP(msiof0_ss1),
2982 SH_PFC_PIN_GROUP(msiof0_ss2),
2983 SH_PFC_PIN_GROUP(msiof0_rx),
2984 SH_PFC_PIN_GROUP(msiof0_tx),
2985 SH_PFC_PIN_GROUP(msiof1_clk),
2986 SH_PFC_PIN_GROUP(msiof1_sync),
2987 SH_PFC_PIN_GROUP(msiof1_ss1),
2988 SH_PFC_PIN_GROUP(msiof1_ss2),
2989 SH_PFC_PIN_GROUP(msiof1_rx),
2990 SH_PFC_PIN_GROUP(msiof1_tx),
2991 SH_PFC_PIN_GROUP(msiof1_clk_b),
2992 SH_PFC_PIN_GROUP(msiof1_sync_b),
2993 SH_PFC_PIN_GROUP(msiof1_ss1_b),
2994 SH_PFC_PIN_GROUP(msiof1_ss2_b),
2995 SH_PFC_PIN_GROUP(msiof1_rx_b),
2996 SH_PFC_PIN_GROUP(msiof1_tx_b),
2997 SH_PFC_PIN_GROUP(msiof2_clk),
2998 SH_PFC_PIN_GROUP(msiof2_sync),
2999 SH_PFC_PIN_GROUP(msiof2_ss1),
3000 SH_PFC_PIN_GROUP(msiof2_ss2),
3001 SH_PFC_PIN_GROUP(msiof2_rx),
3002 SH_PFC_PIN_GROUP(msiof2_tx),
3003 SH_PFC_PIN_GROUP(msiof2_clk_b),
3004 SH_PFC_PIN_GROUP(msiof2_sync_b),
3005 SH_PFC_PIN_GROUP(msiof2_ss1_b),
3006 SH_PFC_PIN_GROUP(msiof2_ss2_b),
3007 SH_PFC_PIN_GROUP(msiof2_rx_b),
3008 SH_PFC_PIN_GROUP(msiof2_tx_b),
3009 SH_PFC_PIN_GROUP(qspi_ctrl),
3010 SH_PFC_PIN_GROUP(qspi_data2),
3011 SH_PFC_PIN_GROUP(qspi_data4),
3012 SH_PFC_PIN_GROUP(scif0_data),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003013 SH_PFC_PIN_GROUP(scif0_data_b),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003014 SH_PFC_PIN_GROUP(scif0_data_c),
3015 SH_PFC_PIN_GROUP(scif0_data_d),
3016 SH_PFC_PIN_GROUP(scif1_data),
3017 SH_PFC_PIN_GROUP(scif1_clk),
3018 SH_PFC_PIN_GROUP(scif1_data_b),
3019 SH_PFC_PIN_GROUP(scif1_clk_b),
3020 SH_PFC_PIN_GROUP(scif1_data_c),
3021 SH_PFC_PIN_GROUP(scif1_clk_c),
3022 SH_PFC_PIN_GROUP(scif2_data),
3023 SH_PFC_PIN_GROUP(scif2_clk),
3024 SH_PFC_PIN_GROUP(scif2_data_b),
3025 SH_PFC_PIN_GROUP(scif2_clk_b),
3026 SH_PFC_PIN_GROUP(scif2_data_c),
3027 SH_PFC_PIN_GROUP(scif2_clk_c),
3028 SH_PFC_PIN_GROUP(scif3_data),
3029 SH_PFC_PIN_GROUP(scif3_clk),
3030 SH_PFC_PIN_GROUP(scif3_data_b),
3031 SH_PFC_PIN_GROUP(scif3_clk_b),
3032 SH_PFC_PIN_GROUP(scif4_data),
3033 SH_PFC_PIN_GROUP(scif4_data_b),
3034 SH_PFC_PIN_GROUP(scif4_data_c),
3035 SH_PFC_PIN_GROUP(scif4_data_d),
3036 SH_PFC_PIN_GROUP(scif4_data_e),
3037 SH_PFC_PIN_GROUP(scif5_data),
3038 SH_PFC_PIN_GROUP(scif5_data_b),
3039 SH_PFC_PIN_GROUP(scif5_data_c),
3040 SH_PFC_PIN_GROUP(scif5_data_d),
3041 SH_PFC_PIN_GROUP(scifa0_data),
3042 SH_PFC_PIN_GROUP(scifa0_data_b),
3043 SH_PFC_PIN_GROUP(scifa0_data_c),
3044 SH_PFC_PIN_GROUP(scifa0_data_d),
3045 SH_PFC_PIN_GROUP(scifa1_data),
3046 SH_PFC_PIN_GROUP(scifa1_clk),
3047 SH_PFC_PIN_GROUP(scifa1_data_b),
3048 SH_PFC_PIN_GROUP(scifa1_clk_b),
3049 SH_PFC_PIN_GROUP(scifa1_data_c),
3050 SH_PFC_PIN_GROUP(scifa1_clk_c),
3051 SH_PFC_PIN_GROUP(scifa2_data),
3052 SH_PFC_PIN_GROUP(scifa2_clk),
3053 SH_PFC_PIN_GROUP(scifa2_data_b),
3054 SH_PFC_PIN_GROUP(scifa2_clk_b),
3055 SH_PFC_PIN_GROUP(scifa3_data),
3056 SH_PFC_PIN_GROUP(scifa3_clk),
3057 SH_PFC_PIN_GROUP(scifa3_data_b),
3058 SH_PFC_PIN_GROUP(scifa3_clk_b),
3059 SH_PFC_PIN_GROUP(scifa4_data),
3060 SH_PFC_PIN_GROUP(scifa4_data_b),
3061 SH_PFC_PIN_GROUP(scifa4_data_c),
3062 SH_PFC_PIN_GROUP(scifa4_data_d),
3063 SH_PFC_PIN_GROUP(scifa5_data),
3064 SH_PFC_PIN_GROUP(scifa5_data_b),
3065 SH_PFC_PIN_GROUP(scifa5_data_c),
3066 SH_PFC_PIN_GROUP(scifa5_data_d),
3067 SH_PFC_PIN_GROUP(scifb0_data),
3068 SH_PFC_PIN_GROUP(scifb0_clk),
3069 SH_PFC_PIN_GROUP(scifb0_ctrl),
3070 SH_PFC_PIN_GROUP(scifb1_data),
3071 SH_PFC_PIN_GROUP(scifb1_clk),
3072 SH_PFC_PIN_GROUP(scifb2_data),
3073 SH_PFC_PIN_GROUP(scifb2_clk),
3074 SH_PFC_PIN_GROUP(scifb2_ctrl),
Shinobu Uehara7ac91bd2015-06-06 01:36:50 +03003075 SH_PFC_PIN_GROUP(sdhi0_data1),
3076 SH_PFC_PIN_GROUP(sdhi0_data4),
3077 SH_PFC_PIN_GROUP(sdhi0_ctrl),
3078 SH_PFC_PIN_GROUP(sdhi0_cd),
3079 SH_PFC_PIN_GROUP(sdhi0_wp),
3080 SH_PFC_PIN_GROUP(sdhi1_data1),
3081 SH_PFC_PIN_GROUP(sdhi1_data4),
3082 SH_PFC_PIN_GROUP(sdhi1_ctrl),
3083 SH_PFC_PIN_GROUP(sdhi1_cd),
3084 SH_PFC_PIN_GROUP(sdhi1_wp),
3085 SH_PFC_PIN_GROUP(sdhi2_data1),
3086 SH_PFC_PIN_GROUP(sdhi2_data4),
3087 SH_PFC_PIN_GROUP(sdhi2_ctrl),
3088 SH_PFC_PIN_GROUP(sdhi2_cd),
3089 SH_PFC_PIN_GROUP(sdhi2_wp),
Shinobu Uehara580a7ee2015-08-19 01:26:55 +03003090 SH_PFC_PIN_GROUP(usb0),
3091 SH_PFC_PIN_GROUP(usb1),
Koji Matsuoka0f7711a2015-10-03 02:21:49 +03003092 VIN_DATA_PIN_GROUP(vin0_data, 24),
3093 VIN_DATA_PIN_GROUP(vin0_data, 20),
3094 SH_PFC_PIN_GROUP(vin0_data18),
3095 VIN_DATA_PIN_GROUP(vin0_data, 16),
3096 VIN_DATA_PIN_GROUP(vin0_data, 12),
3097 VIN_DATA_PIN_GROUP(vin0_data, 10),
3098 VIN_DATA_PIN_GROUP(vin0_data, 8),
3099 SH_PFC_PIN_GROUP(vin0_sync),
3100 SH_PFC_PIN_GROUP(vin0_field),
3101 SH_PFC_PIN_GROUP(vin0_clkenb),
3102 SH_PFC_PIN_GROUP(vin0_clk),
3103 VIN_DATA_PIN_GROUP(vin1_data, 12),
3104 VIN_DATA_PIN_GROUP(vin1_data, 10),
3105 VIN_DATA_PIN_GROUP(vin1_data, 8),
3106 SH_PFC_PIN_GROUP(vin1_sync),
3107 SH_PFC_PIN_GROUP(vin1_field),
3108 SH_PFC_PIN_GROUP(vin1_clkenb),
3109 SH_PFC_PIN_GROUP(vin1_clk),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003110};
3111
3112static const char * const eth_groups[] = {
3113 "eth_link",
3114 "eth_magic",
3115 "eth_mdio",
3116 "eth_rmii",
3117 "eth_link_b",
3118 "eth_magic_b",
3119 "eth_mdio_b",
3120 "eth_rmii_b",
3121};
3122
3123static const char * const hscif0_groups[] = {
3124 "hscif0_data",
3125 "hscif0_clk",
3126 "hscif0_ctrl",
3127 "hscif0_data_b",
3128 "hscif0_clk_b",
3129};
3130
3131static const char * const hscif1_groups[] = {
3132 "hscif1_data",
3133 "hscif1_clk",
3134 "hscif1_ctrl",
3135 "hscif1_data_b",
3136 "hscif1_ctrl_b",
3137};
3138
3139static const char * const hscif2_groups[] = {
3140 "hscif2_data",
3141 "hscif2_clk",
3142 "hscif2_ctrl",
3143};
3144
3145static const char * const i2c0_groups[] = {
3146 "i2c0",
3147 "i2c0_b",
3148 "i2c0_c",
3149 "i2c0_d",
3150 "i2c0_e",
3151};
3152
3153static const char * const i2c1_groups[] = {
3154 "i2c1",
3155 "i2c1_b",
3156 "i2c1_c",
3157 "i2c1_d",
3158 "i2c1_e",
3159};
3160
3161static const char * const i2c2_groups[] = {
3162 "i2c2",
3163 "i2c2_b",
3164 "i2c2_c",
3165 "i2c2_d",
3166 "i2c2_e",
3167};
3168
3169static const char * const i2c3_groups[] = {
3170 "i2c3",
3171 "i2c3_b",
3172 "i2c3_c",
3173 "i2c3_d",
3174 "i2c3_e",
3175};
3176
3177static const char * const i2c4_groups[] = {
3178 "i2c4",
3179 "i2c4_b",
3180 "i2c4_c",
3181 "i2c4_d",
3182 "i2c4_e",
3183};
3184
3185static const char * const intc_groups[] = {
3186 "intc_irq0",
3187 "intc_irq1",
3188 "intc_irq2",
3189 "intc_irq3",
3190 "intc_irq4",
3191 "intc_irq5",
3192 "intc_irq6",
3193 "intc_irq7",
3194 "intc_irq8",
3195 "intc_irq9",
3196};
3197
Shinobu Ueharaf1f74b62015-06-06 01:35:54 +03003198static const char * const mmc_groups[] = {
3199 "mmc_data1",
3200 "mmc_data4",
3201 "mmc_data8",
3202 "mmc_ctrl",
3203};
3204
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003205static const char * const msiof0_groups[] = {
3206 "msiof0_clk",
3207 "msiof0_sync",
3208 "msiof0_ss1",
3209 "msiof0_ss2",
3210 "msiof0_rx",
3211 "msiof0_tx",
3212};
3213
3214static const char * const msiof1_groups[] = {
3215 "msiof1_clk",
3216 "msiof1_sync",
3217 "msiof1_ss1",
3218 "msiof1_ss2",
3219 "msiof1_rx",
3220 "msiof1_tx",
3221 "msiof1_clk_b",
3222 "msiof1_sync_b",
3223 "msiof1_ss1_b",
3224 "msiof1_ss2_b",
3225 "msiof1_rx_b",
3226 "msiof1_tx_b",
3227};
3228
3229static const char * const msiof2_groups[] = {
3230 "msiof2_clk",
3231 "msiof2_sync",
3232 "msiof2_ss1",
3233 "msiof2_ss2",
3234 "msiof2_rx",
3235 "msiof2_tx",
3236 "msiof2_clk_b",
3237 "msiof2_sync_b",
3238 "msiof2_ss1_b",
3239 "msiof2_ss2_b",
3240 "msiof2_rx_b",
3241 "msiof2_tx_b",
3242};
3243
3244static const char * const qspi_groups[] = {
3245 "qspi_ctrl",
3246 "qspi_data2",
3247 "qspi_data4",
3248};
3249
3250static const char * const scif0_groups[] = {
3251 "scif0_data",
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003252 "scif0_data_b",
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003253 "scif0_data_c",
3254 "scif0_data_d",
3255};
3256
3257static const char * const scif1_groups[] = {
3258 "scif1_data",
3259 "scif1_clk",
3260 "scif1_data_b",
3261 "scif1_clk_b",
3262 "scif1_data_c",
3263 "scif1_clk_c",
3264};
3265
3266static const char * const scif2_groups[] = {
3267 "scif2_data",
3268 "scif2_clk",
3269 "scif2_data_b",
3270 "scif2_clk_b",
3271 "scif2_data_c",
3272 "scif2_clk_c",
3273};
3274
3275static const char * const scif3_groups[] = {
3276 "scif3_data",
3277 "scif3_clk",
3278 "scif3_data_b",
3279 "scif3_clk_b",
3280};
3281
3282static const char * const scif4_groups[] = {
3283 "scif4_data",
3284 "scif4_data_b",
3285 "scif4_data_c",
3286 "scif4_data_d",
3287 "scif4_data_e",
3288};
3289
3290static const char * const scif5_groups[] = {
3291 "scif5_data",
3292 "scif5_data_b",
3293 "scif5_data_c",
3294 "scif5_data_d",
3295};
3296
3297static const char * const scifa0_groups[] = {
3298 "scifa0_data",
3299 "scifa0_data_b",
3300 "scifa0_data_c",
3301 "scifa0_data_d",
3302};
3303
3304static const char * const scifa1_groups[] = {
3305 "scifa1_data",
3306 "scifa1_clk",
3307 "scifa1_data_b",
3308 "scifa1_clk_b",
3309 "scifa1_data_c",
3310 "scifa1_clk_c",
3311};
3312
3313static const char * const scifa2_groups[] = {
3314 "scifa2_data",
3315 "scifa2_clk",
3316 "scifa2_data_b",
3317 "scifa2_clk_b",
3318};
3319
3320static const char * const scifa3_groups[] = {
3321 "scifa3_data",
3322 "scifa3_clk",
3323 "scifa3_data_b",
3324 "scifa3_clk_b",
3325};
3326
3327static const char * const scifa4_groups[] = {
3328 "scifa4_data",
3329 "scifa4_data_b",
3330 "scifa4_data_c",
3331 "scifa4_data_d",
3332};
3333
3334static const char * const scifa5_groups[] = {
3335 "scifa5_data",
3336 "scifa5_data_b",
3337 "scifa5_data_c",
3338 "scifa5_data_d",
3339};
3340
3341static const char * const scifb0_groups[] = {
3342 "scifb0_data",
3343 "scifb0_clk",
3344 "scifb0_ctrl",
3345};
3346
3347static const char * const scifb1_groups[] = {
3348 "scifb1_data",
3349 "scifb1_clk",
3350};
3351
3352static const char * const scifb2_groups[] = {
3353 "scifb2_data",
3354 "scifb2_clk",
3355 "scifb2_ctrl",
3356};
3357
Shinobu Uehara7ac91bd2015-06-06 01:36:50 +03003358static const char * const sdhi0_groups[] = {
3359 "sdhi0_data1",
3360 "sdhi0_data4",
3361 "sdhi0_ctrl",
3362 "sdhi0_cd",
3363 "sdhi0_wp",
3364};
3365
3366static const char * const sdhi1_groups[] = {
3367 "sdhi1_data1",
3368 "sdhi1_data4",
3369 "sdhi1_ctrl",
3370 "sdhi1_cd",
3371 "sdhi1_wp",
3372};
3373
3374static const char * const sdhi2_groups[] = {
3375 "sdhi2_data1",
3376 "sdhi2_data4",
3377 "sdhi2_ctrl",
3378 "sdhi2_cd",
3379 "sdhi2_wp",
3380};
3381
Shinobu Uehara580a7ee2015-08-19 01:26:55 +03003382static const char * const usb0_groups[] = {
3383 "usb0",
3384};
3385
3386static const char * const usb1_groups[] = {
3387 "usb1",
3388};
3389
Koji Matsuoka0f7711a2015-10-03 02:21:49 +03003390static const char * const vin0_groups[] = {
3391 "vin0_data24",
3392 "vin0_data20",
3393 "vin0_data18",
3394 "vin0_data16",
3395 "vin0_data12",
3396 "vin0_data10",
3397 "vin0_data8",
3398 "vin0_sync",
3399 "vin0_field",
3400 "vin0_clkenb",
3401 "vin0_clk",
3402};
3403
3404static const char * const vin1_groups[] = {
3405 "vin1_data12",
3406 "vin1_data10",
3407 "vin1_data8",
3408 "vin1_sync",
3409 "vin1_field",
3410 "vin1_clkenb",
3411 "vin1_clk",
3412};
3413
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003414static const struct sh_pfc_function pinmux_functions[] = {
3415 SH_PFC_FUNCTION(eth),
3416 SH_PFC_FUNCTION(hscif0),
3417 SH_PFC_FUNCTION(hscif1),
3418 SH_PFC_FUNCTION(hscif2),
3419 SH_PFC_FUNCTION(i2c0),
3420 SH_PFC_FUNCTION(i2c1),
3421 SH_PFC_FUNCTION(i2c2),
3422 SH_PFC_FUNCTION(i2c3),
3423 SH_PFC_FUNCTION(i2c4),
3424 SH_PFC_FUNCTION(intc),
Shinobu Ueharaf1f74b62015-06-06 01:35:54 +03003425 SH_PFC_FUNCTION(mmc),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003426 SH_PFC_FUNCTION(msiof0),
3427 SH_PFC_FUNCTION(msiof1),
3428 SH_PFC_FUNCTION(msiof2),
3429 SH_PFC_FUNCTION(qspi),
3430 SH_PFC_FUNCTION(scif0),
3431 SH_PFC_FUNCTION(scif1),
3432 SH_PFC_FUNCTION(scif2),
3433 SH_PFC_FUNCTION(scif3),
3434 SH_PFC_FUNCTION(scif4),
3435 SH_PFC_FUNCTION(scif5),
3436 SH_PFC_FUNCTION(scifa0),
3437 SH_PFC_FUNCTION(scifa1),
3438 SH_PFC_FUNCTION(scifa2),
3439 SH_PFC_FUNCTION(scifa3),
3440 SH_PFC_FUNCTION(scifa4),
3441 SH_PFC_FUNCTION(scifa5),
3442 SH_PFC_FUNCTION(scifb0),
3443 SH_PFC_FUNCTION(scifb1),
3444 SH_PFC_FUNCTION(scifb2),
Shinobu Uehara7ac91bd2015-06-06 01:36:50 +03003445 SH_PFC_FUNCTION(sdhi0),
3446 SH_PFC_FUNCTION(sdhi1),
3447 SH_PFC_FUNCTION(sdhi2),
Shinobu Uehara580a7ee2015-08-19 01:26:55 +03003448 SH_PFC_FUNCTION(usb0),
3449 SH_PFC_FUNCTION(usb1),
Koji Matsuoka0f7711a2015-10-03 02:21:49 +03003450 SH_PFC_FUNCTION(vin0),
3451 SH_PFC_FUNCTION(vin1),
Hisashi Nakamura43c44362015-06-06 01:34:48 +03003452};
3453
3454static const struct pinmux_cfg_reg pinmux_config_regs[] = {
3455 { PINMUX_CFG_REG("GPSR0", 0xE6060004, 32, 1) {
3456 GP_0_31_FN, FN_IP2_17_16,
3457 GP_0_30_FN, FN_IP2_15_14,
3458 GP_0_29_FN, FN_IP2_13_12,
3459 GP_0_28_FN, FN_IP2_11_10,
3460 GP_0_27_FN, FN_IP2_9_8,
3461 GP_0_26_FN, FN_IP2_7_6,
3462 GP_0_25_FN, FN_IP2_5_4,
3463 GP_0_24_FN, FN_IP2_3_2,
3464 GP_0_23_FN, FN_IP2_1_0,
3465 GP_0_22_FN, FN_IP1_31_30,
3466 GP_0_21_FN, FN_IP1_29_28,
3467 GP_0_20_FN, FN_IP1_27,
3468 GP_0_19_FN, FN_IP1_26,
3469 GP_0_18_FN, FN_A2,
3470 GP_0_17_FN, FN_IP1_24,
3471 GP_0_16_FN, FN_IP1_23_22,
3472 GP_0_15_FN, FN_IP1_21_20,
3473 GP_0_14_FN, FN_IP1_19_18,
3474 GP_0_13_FN, FN_IP1_17_15,
3475 GP_0_12_FN, FN_IP1_14_13,
3476 GP_0_11_FN, FN_IP1_12_11,
3477 GP_0_10_FN, FN_IP1_10_8,
3478 GP_0_9_FN, FN_IP1_7_6,
3479 GP_0_8_FN, FN_IP1_5_4,
3480 GP_0_7_FN, FN_IP1_3_2,
3481 GP_0_6_FN, FN_IP1_1_0,
3482 GP_0_5_FN, FN_IP0_31_30,
3483 GP_0_4_FN, FN_IP0_29_28,
3484 GP_0_3_FN, FN_IP0_27_26,
3485 GP_0_2_FN, FN_IP0_25,
3486 GP_0_1_FN, FN_IP0_24,
3487 GP_0_0_FN, FN_IP0_23_22, }
3488 },
3489 { PINMUX_CFG_REG("GPSR1", 0xE6060008, 32, 1) {
3490 0, 0,
3491 0, 0,
3492 0, 0,
3493 0, 0,
3494 0, 0,
3495 0, 0,
3496 GP_1_25_FN, FN_DACK0,
3497 GP_1_24_FN, FN_IP7_31,
3498 GP_1_23_FN, FN_IP4_1_0,
3499 GP_1_22_FN, FN_WE1_N,
3500 GP_1_21_FN, FN_WE0_N,
3501 GP_1_20_FN, FN_IP3_31,
3502 GP_1_19_FN, FN_IP3_30,
3503 GP_1_18_FN, FN_IP3_29_27,
3504 GP_1_17_FN, FN_IP3_26_24,
3505 GP_1_16_FN, FN_IP3_23_21,
3506 GP_1_15_FN, FN_IP3_20_18,
3507 GP_1_14_FN, FN_IP3_17_15,
3508 GP_1_13_FN, FN_IP3_14_13,
3509 GP_1_12_FN, FN_IP3_12,
3510 GP_1_11_FN, FN_IP3_11,
3511 GP_1_10_FN, FN_IP3_10,
3512 GP_1_9_FN, FN_IP3_9_8,
3513 GP_1_8_FN, FN_IP3_7_6,
3514 GP_1_7_FN, FN_IP3_5_4,
3515 GP_1_6_FN, FN_IP3_3_2,
3516 GP_1_5_FN, FN_IP3_1_0,
3517 GP_1_4_FN, FN_IP2_31_30,
3518 GP_1_3_FN, FN_IP2_29_27,
3519 GP_1_2_FN, FN_IP2_26_24,
3520 GP_1_1_FN, FN_IP2_23_21,
3521 GP_1_0_FN, FN_IP2_20_18, }
3522 },
3523 { PINMUX_CFG_REG("GPSR2", 0xE606000C, 32, 1) {
3524 GP_2_31_FN, FN_IP6_7_6,
3525 GP_2_30_FN, FN_IP6_5_4,
3526 GP_2_29_FN, FN_IP6_3_2,
3527 GP_2_28_FN, FN_IP6_1_0,
3528 GP_2_27_FN, FN_IP5_31_30,
3529 GP_2_26_FN, FN_IP5_29_28,
3530 GP_2_25_FN, FN_IP5_27_26,
3531 GP_2_24_FN, FN_IP5_25_24,
3532 GP_2_23_FN, FN_IP5_23_22,
3533 GP_2_22_FN, FN_IP5_21_20,
3534 GP_2_21_FN, FN_IP5_19_18,
3535 GP_2_20_FN, FN_IP5_17_16,
3536 GP_2_19_FN, FN_IP5_15_14,
3537 GP_2_18_FN, FN_IP5_13_12,
3538 GP_2_17_FN, FN_IP5_11_9,
3539 GP_2_16_FN, FN_IP5_8_6,
3540 GP_2_15_FN, FN_IP5_5_4,
3541 GP_2_14_FN, FN_IP5_3_2,
3542 GP_2_13_FN, FN_IP5_1_0,
3543 GP_2_12_FN, FN_IP4_31_30,
3544 GP_2_11_FN, FN_IP4_29_28,
3545 GP_2_10_FN, FN_IP4_27_26,
3546 GP_2_9_FN, FN_IP4_25_23,
3547 GP_2_8_FN, FN_IP4_22_20,
3548 GP_2_7_FN, FN_IP4_19_18,
3549 GP_2_6_FN, FN_IP4_17_16,
3550 GP_2_5_FN, FN_IP4_15_14,
3551 GP_2_4_FN, FN_IP4_13_12,
3552 GP_2_3_FN, FN_IP4_11_10,
3553 GP_2_2_FN, FN_IP4_9_8,
3554 GP_2_1_FN, FN_IP4_7_5,
3555 GP_2_0_FN, FN_IP4_4_2 }
3556 },
3557 { PINMUX_CFG_REG("GPSR3", 0xE6060010, 32, 1) {
3558 GP_3_31_FN, FN_IP8_22_20,
3559 GP_3_30_FN, FN_IP8_19_17,
3560 GP_3_29_FN, FN_IP8_16_15,
3561 GP_3_28_FN, FN_IP8_14_12,
3562 GP_3_27_FN, FN_IP8_11_9,
3563 GP_3_26_FN, FN_IP8_8_6,
3564 GP_3_25_FN, FN_IP8_5_3,
3565 GP_3_24_FN, FN_IP8_2_0,
3566 GP_3_23_FN, FN_IP7_29_27,
3567 GP_3_22_FN, FN_IP7_26_24,
3568 GP_3_21_FN, FN_IP7_23_21,
3569 GP_3_20_FN, FN_IP7_20_18,
3570 GP_3_19_FN, FN_IP7_17_15,
3571 GP_3_18_FN, FN_IP7_14_12,
3572 GP_3_17_FN, FN_IP7_11_9,
3573 GP_3_16_FN, FN_IP7_8_6,
3574 GP_3_15_FN, FN_IP7_5_3,
3575 GP_3_14_FN, FN_IP7_2_0,
3576 GP_3_13_FN, FN_IP6_31_29,
3577 GP_3_12_FN, FN_IP6_28_26,
3578 GP_3_11_FN, FN_IP6_25_23,
3579 GP_3_10_FN, FN_IP6_22_20,
3580 GP_3_9_FN, FN_IP6_19_17,
3581 GP_3_8_FN, FN_IP6_16,
3582 GP_3_7_FN, FN_IP6_15,
3583 GP_3_6_FN, FN_IP6_14,
3584 GP_3_5_FN, FN_IP6_13,
3585 GP_3_4_FN, FN_IP6_12,
3586 GP_3_3_FN, FN_IP6_11,
3587 GP_3_2_FN, FN_IP6_10,
3588 GP_3_1_FN, FN_IP6_9,
3589 GP_3_0_FN, FN_IP6_8 }
3590 },
3591 { PINMUX_CFG_REG("GPSR4", 0xE6060014, 32, 1) {
3592 GP_4_31_FN, FN_IP11_17_16,
3593 GP_4_30_FN, FN_IP11_15_14,
3594 GP_4_29_FN, FN_IP11_13_11,
3595 GP_4_28_FN, FN_IP11_10_8,
3596 GP_4_27_FN, FN_IP11_7_6,
3597 GP_4_26_FN, FN_IP11_5_3,
3598 GP_4_25_FN, FN_IP11_2_0,
3599 GP_4_24_FN, FN_IP10_31_30,
3600 GP_4_23_FN, FN_IP10_29_27,
3601 GP_4_22_FN, FN_IP10_26_24,
3602 GP_4_21_FN, FN_IP10_23_21,
3603 GP_4_20_FN, FN_IP10_20_18,
3604 GP_4_19_FN, FN_IP10_17_15,
3605 GP_4_18_FN, FN_IP10_14_12,
3606 GP_4_17_FN, FN_IP10_11_9,
3607 GP_4_16_FN, FN_IP10_8_6,
3608 GP_4_15_FN, FN_IP10_5_3,
3609 GP_4_14_FN, FN_IP10_2_0,
3610 GP_4_13_FN, FN_IP9_30_28,
3611 GP_4_12_FN, FN_IP9_27_25,
3612 GP_4_11_FN, FN_IP9_24_22,
3613 GP_4_10_FN, FN_IP9_21_19,
3614 GP_4_9_FN, FN_IP9_18_17,
3615 GP_4_8_FN, FN_IP9_16_15,
3616 GP_4_7_FN, FN_IP9_14_12,
3617 GP_4_6_FN, FN_IP9_11_9,
3618 GP_4_5_FN, FN_IP9_8_6,
3619 GP_4_4_FN, FN_IP9_5_3,
3620 GP_4_3_FN, FN_IP9_2_0,
3621 GP_4_2_FN, FN_IP8_31_29,
3622 GP_4_1_FN, FN_IP8_28_26,
3623 GP_4_0_FN, FN_IP8_25_23 }
3624 },
3625 { PINMUX_CFG_REG("GPSR5", 0xE6060018, 32, 1) {
3626 0, 0,
3627 0, 0,
3628 0, 0,
3629 0, 0,
3630 GP_5_27_FN, FN_USB1_OVC,
3631 GP_5_26_FN, FN_USB1_PWEN,
3632 GP_5_25_FN, FN_USB0_OVC,
3633 GP_5_24_FN, FN_USB0_PWEN,
3634 GP_5_23_FN, FN_IP13_26_24,
3635 GP_5_22_FN, FN_IP13_23_21,
3636 GP_5_21_FN, FN_IP13_20_18,
3637 GP_5_20_FN, FN_IP13_17_15,
3638 GP_5_19_FN, FN_IP13_14_12,
3639 GP_5_18_FN, FN_IP13_11_9,
3640 GP_5_17_FN, FN_IP13_8_6,
3641 GP_5_16_FN, FN_IP13_5_3,
3642 GP_5_15_FN, FN_IP13_2_0,
3643 GP_5_14_FN, FN_IP12_29_27,
3644 GP_5_13_FN, FN_IP12_26_24,
3645 GP_5_12_FN, FN_IP12_23_21,
3646 GP_5_11_FN, FN_IP12_20_18,
3647 GP_5_10_FN, FN_IP12_17_15,
3648 GP_5_9_FN, FN_IP12_14_13,
3649 GP_5_8_FN, FN_IP12_12_11,
3650 GP_5_7_FN, FN_IP12_10_9,
3651 GP_5_6_FN, FN_IP12_8_6,
3652 GP_5_5_FN, FN_IP12_5_3,
3653 GP_5_4_FN, FN_IP12_2_0,
3654 GP_5_3_FN, FN_IP11_29_27,
3655 GP_5_2_FN, FN_IP11_26_24,
3656 GP_5_1_FN, FN_IP11_23_21,
3657 GP_5_0_FN, FN_IP11_20_18 }
3658 },
3659 { PINMUX_CFG_REG("GPSR6", 0xE606001C, 32, 1) {
3660 0, 0,
3661 0, 0,
3662 0, 0,
3663 0, 0,
3664 0, 0,
3665 0, 0,
3666 GP_6_25_FN, FN_IP0_21_20,
3667 GP_6_24_FN, FN_IP0_19_18,
3668 GP_6_23_FN, FN_IP0_17,
3669 GP_6_22_FN, FN_IP0_16,
3670 GP_6_21_FN, FN_IP0_15,
3671 GP_6_20_FN, FN_IP0_14,
3672 GP_6_19_FN, FN_IP0_13,
3673 GP_6_18_FN, FN_IP0_12,
3674 GP_6_17_FN, FN_IP0_11,
3675 GP_6_16_FN, FN_IP0_10,
3676 GP_6_15_FN, FN_IP0_9_8,
3677 GP_6_14_FN, FN_IP0_0,
3678 GP_6_13_FN, FN_SD1_DATA3,
3679 GP_6_12_FN, FN_SD1_DATA2,
3680 GP_6_11_FN, FN_SD1_DATA1,
3681 GP_6_10_FN, FN_SD1_DATA0,
3682 GP_6_9_FN, FN_SD1_CMD,
3683 GP_6_8_FN, FN_SD1_CLK,
3684 GP_6_7_FN, FN_SD0_WP,
3685 GP_6_6_FN, FN_SD0_CD,
3686 GP_6_5_FN, FN_SD0_DATA3,
3687 GP_6_4_FN, FN_SD0_DATA2,
3688 GP_6_3_FN, FN_SD0_DATA1,
3689 GP_6_2_FN, FN_SD0_DATA0,
3690 GP_6_1_FN, FN_SD0_CMD,
3691 GP_6_0_FN, FN_SD0_CLK }
3692 },
3693 { PINMUX_CFG_REG_VAR("IPSR0", 0xE6060020, 32,
3694 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,
3695 2, 1, 1, 1, 1, 1, 1, 1, 1) {
3696 /* IP0_31_30 [2] */
3697 FN_D5, FN_SCIF4_RXD_B, FN_I2C0_SCL_D, 0,
3698 /* IP0_29_28 [2] */
3699 FN_D4, FN_I2C3_SDA_B, FN_SCIF5_TXD_B, 0,
3700 /* IP0_27_26 [2] */
3701 FN_D3, FN_I2C3_SCL_B, FN_SCIF5_RXD_B, 0,
3702 /* IP0_25 [1] */
3703 FN_D2, FN_SCIFA3_TXD_B,
3704 /* IP0_24 [1] */
3705 FN_D1, FN_SCIFA3_RXD_B,
3706 /* IP0_23_22 [2] */
3707 FN_D0, FN_SCIFA3_SCK_B, FN_IRQ4, 0,
3708 /* IP0_21_20 [2] */
3709 FN_MMC_D7, FN_SCIF0_TXD, FN_I2C2_SDA_B, FN_CAN1_TX,
3710 /* IP0_19_18 [2] */
3711 FN_MMC_D6, FN_SCIF0_RXD, FN_I2C2_SCL_B, FN_CAN1_RX,
3712 /* IP0_17 [1] */
3713 FN_MMC_D5, FN_SD2_WP,
3714 /* IP0_16 [1] */
3715 FN_MMC_D4, FN_SD2_CD,
3716 /* IP0_15 [1] */
3717 FN_MMC_D3, FN_SD2_DATA3,
3718 /* IP0_14 [1] */
3719 FN_MMC_D2, FN_SD2_DATA2,
3720 /* IP0_13 [1] */
3721 FN_MMC_D1, FN_SD2_DATA1,
3722 /* IP0_12 [1] */
3723 FN_MMC_D0, FN_SD2_DATA0,
3724 /* IP0_11 [1] */
3725 FN_MMC_CMD, FN_SD2_CMD,
3726 /* IP0_10 [1] */
3727 FN_MMC_CLK, FN_SD2_CLK,
3728 /* IP0_9_8 [2] */
3729 FN_SD1_WP, FN_IRQ7, FN_CAN0_TX, 0,
3730 /* IP0_7 [1] */
3731 0, 0,
3732 /* IP0_6 [1] */
3733 0, 0,
3734 /* IP0_5 [1] */
3735 0, 0,
3736 /* IP0_4 [1] */
3737 0, 0,
3738 /* IP0_3 [1] */
3739 0, 0,
3740 /* IP0_2 [1] */
3741 0, 0,
3742 /* IP0_1 [1] */
3743 0, 0,
3744 /* IP0_0 [1] */
3745 FN_SD1_CD, FN_CAN0_RX, }
3746 },
3747 { PINMUX_CFG_REG_VAR("IPSR1", 0xE6060024, 32,
3748 2, 2, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 3, 2, 2,
3749 2, 2) {
3750 /* IP1_31_30 [2] */
3751 FN_A6, FN_SCIFB0_CTS_N, FN_SCIFA4_RXD_B, FN_TPUTO2_C,
3752 /* IP1_29_28 [2] */
3753 FN_A5, FN_SCIFB0_RXD, FN_PWM4_B, FN_TPUTO3_C,
3754 /* IP1_27 [1] */
3755 FN_A4, FN_SCIFB0_TXD,
3756 /* IP1_26 [1] */
3757 FN_A3, FN_SCIFB0_SCK,
3758 /* IP1_25 [1] */
3759 0, 0,
3760 /* IP1_24 [1] */
3761 FN_A1, FN_SCIFB1_TXD,
3762 /* IP1_23_22 [2] */
3763 FN_A0, FN_SCIFB1_SCK, FN_PWM3_B, 0,
3764 /* IP1_21_20 [2] */
3765 FN_D15, FN_SCIFA1_TXD, FN_IIC0_SDA_B, 0,
3766 /* IP1_19_18 [2] */
3767 FN_D14, FN_SCIFA1_RXD, FN_IIC0_SCL_B, 0,
3768 /* IP1_17_15 [3] */
3769 FN_D13, FN_SCIFA1_SCK, FN_TANS1, FN_PWM2_C, FN_TCLK2_B,
3770 0, 0, 0,
3771 /* IP1_14_13 [2] */
3772 FN_D12, FN_HSCIF2_HRTS_N, FN_SCIF1_TXD_C, FN_I2C1_SDA_D,
3773 /* IP1_12_11 [2] */
3774 FN_D11, FN_HSCIF2_HCTS_N, FN_SCIF1_RXD_C, FN_I2C1_SCL_D,
3775 /* IP1_10_8 [3] */
3776 FN_D10, FN_HSCIF2_HSCK, FN_SCIF1_SCK_C, FN_IRQ6, FN_PWM5_C,
3777 0, 0, 0,
3778 /* IP1_7_6 [2] */
3779 FN_D9, FN_HSCIF2_HTX, FN_I2C1_SDA_B, 0,
3780 /* IP1_5_4 [2] */
3781 FN_D8, FN_HSCIF2_HRX, FN_I2C1_SCL_B, 0,
3782 /* IP1_3_2 [2] */
3783 FN_D7, FN_IRQ3, FN_TCLK1, FN_PWM6_B,
3784 /* IP1_1_0 [2] */
3785 FN_D6, FN_SCIF4_TXD_B, FN_I2C0_SDA_D, 0, }
3786 },
3787 { PINMUX_CFG_REG_VAR("IPSR2", 0xE6060028, 32,
3788 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2) {
3789 /* IP2_31_30 [2] */
3790 FN_A20, FN_SPCLK, FN_MOUT1, 0,
3791 /* IP2_29_27 [3] */
3792 FN_A19, FN_MSIOF2_SS2, FN_PWM4, FN_TPUTO2,
3793 FN_MOUT0, 0, 0, 0,
3794 /* IP2_26_24 [3] */
3795 FN_A18, FN_MSIOF2_SS1, FN_SCIF4_TXD_E, FN_CAN1_TX_B,
3796 FN_AVB_AVTP_MATCH_B, 0, 0, 0,
3797 /* IP2_23_21 [3] */
3798 FN_A17, FN_MSIOF2_SYNC, FN_SCIF4_RXD_E, FN_CAN1_RX_B,
3799 FN_AVB_AVTP_CAPTURE_B, 0, 0, 0,
3800 /* IP2_20_18 [3] */
3801 FN_A16, FN_MSIOF2_SCK, FN_HSCIF0_HSCK_B, FN_SPEEDIN,
3802 FN_VSP, FN_CAN_CLK_C, FN_TPUTO2_B, 0,
3803 /* IP2_17_16 [2] */
3804 FN_A15, FN_MSIOF2_TXD, FN_HSCIF0_HTX_B, FN_DACK1,
3805 /* IP2_15_14 [2] */
3806 FN_A14, FN_MSIOF2_RXD, FN_HSCIF0_HRX_B, FN_DREQ1_N,
3807 /* IP2_13_12 [2] */
3808 FN_A13, FN_MSIOF1_SS2, FN_SCIFA5_TXD_B, 0,
3809 /* IP2_11_10 [2] */
3810 FN_A12, FN_MSIOF1_SS1, FN_SCIFA5_RXD_B, 0,
3811 /* IP2_9_8 [2] */
3812 FN_A11, FN_MSIOF1_SYNC, FN_IIC1_SDA_B, 0,
3813 /* IP2_7_6 [2] */
3814 FN_A10, FN_MSIOF1_SCK, FN_IIC1_SCL_B, 0,
3815 /* IP2_5_4 [2] */
3816 FN_A9, FN_MSIOF1_TXD, FN_SCIFA0_TXD_B, 0,
3817 /* IP2_3_2 [2] */
3818 FN_A8, FN_MSIOF1_RXD, FN_SCIFA0_RXD_B, 0,
3819 /* IP2_1_0 [2] */
3820 FN_A7, FN_SCIFB0_RTS_N, FN_SCIFA4_TXD_B, 0, }
3821 },
3822 { PINMUX_CFG_REG_VAR("IPSR3", 0xE606002C, 32,
3823 1, 1, 3, 3, 3, 3, 3, 2, 1, 1, 1, 2, 2, 2, 2, 2) {
3824 /* IP3_31 [1] */
3825 FN_RD_WR_N, FN_ATAG1_N,
3826 /* IP3_30 [1] */
3827 FN_RD_N, FN_ATACS11_N,
3828 /* IP3_29_27 [3] */
3829 FN_BS_N, FN_DRACK0, FN_PWM1_C, FN_TPUTO0_C, FN_ATACS01_N,
3830 FN_MTS_N_B, 0, 0,
3831 /* IP3_26_24 [3] */
3832 FN_EX_CS5_N, FN_SCIFA2_TXD, FN_I2C2_SDA_E, FN_TS_SPSYNC_B,
3833 FN_RIF0_D1, FN_FMIN, FN_SCIFB2_RTS_N, FN_STM_N_B,
3834 /* IP3_23_21 [3] */
3835 FN_EX_CS4_N, FN_SCIFA2_RXD, FN_I2C2_SCL_E, FN_TS_SDEN_B,
3836 FN_RIF0_D0, FN_FMCLK, FN_SCIFB2_CTS_N, FN_SCKZ_B,
3837 /* IP3_20_18 [3] */
3838 FN_EX_CS3_N, FN_SCIFA2_SCK, FN_SCIF4_TXD_C, FN_TS_SCK_B,
3839 FN_RIF0_CLK, FN_BPFCLK, FN_SCIFB2_SCK, FN_MDATA_B,
3840 /* IP3_17_15 [3] */
3841 FN_EX_CS2_N, FN_PWM0, FN_SCIF4_RXD_C, FN_TS_SDATA_B,
3842 FN_RIF0_SYNC, FN_TPUTO3, FN_SCIFB2_TXD, FN_SDATA_B,
3843 /* IP3_14_13 [2] */
3844 FN_EX_CS1_N, FN_TPUTO3_B, FN_SCIFB2_RXD, FN_VI1_DATA11,
3845 /* IP3_12 [1] */
3846 FN_EX_CS0_N, FN_VI1_DATA10,
3847 /* IP3_11 [1] */
3848 FN_CS1_N_A26, FN_VI1_DATA9,
3849 /* IP3_10 [1] */
3850 FN_CS0_N, FN_VI1_DATA8,
3851 /* IP3_9_8 [2] */
3852 FN_A25, FN_SSL, FN_ATARD1_N, 0,
3853 /* IP3_7_6 [2] */
3854 FN_A24, FN_IO3, FN_EX_WAIT2, 0,
3855 /* IP3_5_4 [2] */
3856 FN_A23, FN_IO2, FN_MOUT6, FN_ATAWR1_N,
3857 /* IP3_3_2 [2] */
3858 FN_A22, FN_MISO_IO1, FN_MOUT5, FN_ATADIR1_N,
3859 /* IP3_1_0 [2] */
3860 FN_A21, FN_MOSI_IO0, FN_MOUT2, 0, }
3861 },
3862 { PINMUX_CFG_REG_VAR("IPSR4", 0xE6060030, 32,
3863 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 2) {
3864 /* IP4_31_30 [2] */
3865 FN_DU0_DG4, FN_LCDOUT12, FN_CC50_STATE12, 0,
3866 /* IP4_29_28 [2] */
3867 FN_DU0_DG3, FN_LCDOUT11, FN_CC50_STATE11, 0,
3868 /* IP4_27_26 [2] */
3869 FN_DU0_DG2, FN_LCDOUT10, FN_CC50_STATE10, 0,
3870 /* IP4_25_23 [3] */
3871 FN_DU0_DG1, FN_LCDOUT9, FN_SCIFA0_TXD_C, FN_I2C3_SDA_D,
3872 FN_CC50_STATE9, 0, 0, 0,
3873 /* IP4_22_20 [3] */
3874 FN_DU0_DG0, FN_LCDOUT8, FN_SCIFA0_RXD_C, FN_I2C3_SCL_D,
3875 FN_CC50_STATE8, 0, 0, 0,
3876 /* IP4_19_18 [2] */
3877 FN_DU0_DR7, FN_LCDOUT23, FN_CC50_STATE7, 0,
3878 /* IP4_17_16 [2] */
3879 FN_DU0_DR6, FN_LCDOUT22, FN_CC50_STATE6, 0,
3880 /* IP4_15_14 [2] */
3881 FN_DU0_DR5, FN_LCDOUT21, FN_CC50_STATE5, 0,
3882 /* IP4_13_12 [2] */
3883 FN_DU0_DR4, FN_LCDOUT20, FN_CC50_STATE4, 0,
3884 /* IP4_11_10 [2] */
3885 FN_DU0_DR3, FN_LCDOUT19, FN_CC50_STATE3, 0,
3886 /* IP4_9_8 [2] */
3887 FN_DU0_DR2, FN_LCDOUT18, FN_CC50_STATE2, 0,
3888 /* IP4_7_5 [3] */
3889 FN_DU0_DR1, FN_LCDOUT17, FN_SCIF5_TXD_C, FN_I2C2_SDA_D,
3890 FN_CC50_STATE1, 0, 0, 0,
3891 /* IP4_4_2 [3] */
3892 FN_DU0_DR0, FN_LCDOUT16, FN_SCIF5_RXD_C, FN_I2C2_SCL_D,
3893 FN_CC50_STATE0, 0, 0, 0,
3894 /* IP4_1_0 [2] */
3895 FN_EX_WAIT0, FN_CAN_CLK_B, FN_SCIF_CLK, FN_PWMFSW0, }
3896 },
3897 { PINMUX_CFG_REG_VAR("IPSR5", 0xE6060034, 32,
3898 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2) {
3899 /* IP5_31_30 [2] */
3900 FN_DU0_EXHSYNC_DU0_HSYNC, FN_QSTH_QHS, FN_CC50_STATE27, 0,
3901 /* IP5_29_28 [2] */
3902 FN_DU0_DOTCLKOUT1, FN_QSTVB_QVE, FN_CC50_STATE26, 0,
3903 /* IP5_27_26 [2] */
3904 FN_DU0_DOTCLKOUT0, FN_QCLK, FN_CC50_STATE25, 0,
3905 /* IP5_25_24 [2] */
3906 FN_DU0_DOTCLKIN, FN_QSTVA_QVS, FN_CC50_STATE24, 0,
3907 /* IP5_23_22 [2] */
3908 FN_DU0_DB7, FN_LCDOUT7, FN_CC50_STATE23, 0,
3909 /* IP5_21_20 [2] */
3910 FN_DU0_DB6, FN_LCDOUT6, FN_CC50_STATE22, 0,
3911 /* IP5_19_18 [2] */
3912 FN_DU0_DB5, FN_LCDOUT5, FN_CC50_STATE21, 0,
3913 /* IP5_17_16 [2] */
3914 FN_DU0_DB4, FN_LCDOUT4, FN_CC50_STATE20, 0,
3915 /* IP5_15_14 [2] */
3916 FN_DU0_DB3, FN_LCDOUT3, FN_CC50_STATE19, 0,
3917 /* IP5_13_12 [2] */
3918 FN_DU0_DB2, FN_LCDOUT2, FN_CC50_STATE18, 0,
3919 /* IP5_11_9 [3] */
3920 FN_DU0_DB1, FN_LCDOUT1, FN_SCIFA4_TXD_C, FN_I2C4_SDA_D,
3921 FN_CAN0_TX_C, FN_CC50_STATE17, 0, 0,
3922 /* IP5_8_6 [3] */
3923 FN_DU0_DB0, FN_LCDOUT0, FN_SCIFA4_RXD_C, FN_I2C4_SCL_D,
3924 FN_CAN0_RX_C, FN_CC50_STATE16, 0, 0,
3925 /* IP5_5_4 [2] */
3926 FN_DU0_DG7, FN_LCDOUT15, FN_CC50_STATE15, 0,
3927 /* IP5_3_2 [2] */
3928 FN_DU0_DG6, FN_LCDOUT14, FN_CC50_STATE14, 0,
3929 /* IP5_1_0 [2] */
3930 FN_DU0_DG5, FN_LCDOUT13, FN_CC50_STATE13, 0, }
3931 },
3932 { PINMUX_CFG_REG_VAR("IPSR6", 0xE6060038, 32,
3933 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
3934 2, 2) {
3935 /* IP6_31_29 [3] */
3936 FN_ETH_MDIO, FN_VI0_G0, FN_MSIOF2_RXD_B, FN_IIC0_SCL_D,
3937 FN_AVB_TX_CLK, FN_ADIDATA, FN_AD_DI, 0,
3938 /* IP6_28_26 [3] */
3939 FN_VI0_VSYNC_N, FN_SCIF0_TXD_B, FN_I2C0_SDA_C,
3940 FN_AUDIO_CLKOUT_B, FN_AVB_TX_EN, 0, 0, 0,
3941 /* IP6_25_23 [3] */
3942 FN_VI0_HSYNC_N, FN_SCIF0_RXD_B, FN_I2C0_SCL_C, FN_IERX_C,
3943 FN_AVB_COL, 0, 0, 0,
3944 /* IP6_22_20 [3] */
3945 FN_VI0_FIELD, FN_I2C3_SDA, FN_SCIFA5_TXD_C, FN_IECLK_C,
3946 FN_AVB_RX_ER, 0, 0, 0,
3947 /* IP6_19_17 [3] */
3948 FN_VI0_CLKENB, FN_I2C3_SCL, FN_SCIFA5_RXD_C, FN_IETX_C,
3949 FN_AVB_RXD7, 0, 0, 0,
3950 /* IP6_16 [1] */
3951 FN_VI0_DATA7_VI0_B7, FN_AVB_RXD6,
3952 /* IP6_15 [1] */
3953 FN_VI0_DATA6_VI0_B6, FN_AVB_RXD5,
3954 /* IP6_14 [1] */
3955 FN_VI0_DATA5_VI0_B5, FN_AVB_RXD4,
3956 /* IP6_13 [1] */
3957 FN_VI0_DATA4_VI0_B4, FN_AVB_RXD3,
3958 /* IP6_12 [1] */
3959 FN_VI0_DATA3_VI0_B3, FN_AVB_RXD2,
3960 /* IP6_11 [1] */
3961 FN_VI0_DATA2_VI0_B2, FN_AVB_RXD1,
3962 /* IP6_10 [1] */
3963 FN_VI0_DATA1_VI0_B1, FN_AVB_RXD0,
3964 /* IP6_9 [1] */
3965 FN_VI0_DATA0_VI0_B0, FN_AVB_RX_DV,
3966 /* IP6_8 [1] */
3967 FN_VI0_CLK, FN_AVB_RX_CLK,
3968 /* IP6_7_6 [2] */
3969 FN_DU0_CDE, FN_QPOLB, FN_CC50_STATE31, 0,
3970 /* IP6_5_4 [2] */
3971 FN_DU0_DISP, FN_QPOLA, FN_CC50_STATE30, 0,
3972 /* IP6_3_2 [2] */
3973 FN_DU0_EXODDF_DU0_ODDF_DISP_CDE, FN_QCPV_QDE, FN_CC50_STATE29,
3974 /* IP6_1_0 [2] */
3975 FN_DU0_EXVSYNC_DU0_VSYNC, FN_QSTB_QHE, FN_CC50_STATE28, 0, }
3976 },
3977 { PINMUX_CFG_REG_VAR("IPSR7", 0xE606003C, 32,
3978 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
3979 /* IP7_31 [1] */
3980 FN_DREQ0_N, FN_SCIFB1_RXD,
3981 /* IP7_30 [1] */
3982 0, 0,
3983 /* IP7_29_27 [3] */
3984 FN_ETH_TXD0, FN_VI0_R2, FN_SCIF3_RXD_B, FN_I2C4_SCL_E,
3985 FN_AVB_GTX_CLK, FN_SSI_WS6_B, 0, 0,
3986 /* IP7_26_24 [3] */
3987 FN_ETH_MAGIC, FN_VI0_R1, FN_SCIF3_SCK_B, FN_AVB_TX_ER,
3988 FN_SSI_SCK6_B, 0, 0, 0,
3989 /* IP7_23_21 [3] */
3990 FN_ETH_TX_EN, FN_VI0_R0, FN_SCIF2_TXD_C, FN_IIC1_SDA_D,
3991 FN_AVB_TXD7, FN_SSI_SDATA5_B, 0, 0,
3992 /* IP7_20_18 [3] */
3993 FN_ETH_TXD1, FN_VI0_G7, FN_SCIF2_RXD_C, FN_IIC1_SCL_D,
3994 FN_AVB_TXD6, FN_SSI_WS5_B, 0, 0,
3995 /* IP7_17_15 [3] */
3996 FN_ETH_REFCLK, FN_VI0_G6, FN_SCIF2_SCK_C, FN_AVB_TXD5,
3997 FN_SSI_SCK5_B, 0, 0, 0,
3998 /* IP7_14_12 [3] */
3999 FN_ETH_LINK, FN_VI0_G5, FN_MSIOF2_SS2_B, FN_SCIF4_TXD_D,
4000 FN_AVB_TXD4, FN_ADICHS2, 0, 0,
4001 /* IP7_11_9 [3] */
4002 FN_ETH_RXD1, FN_VI0_G4, FN_MSIOF2_SS1_B, FN_SCIF4_RXD_D,
4003 FN_AVB_TXD3, FN_ADICHS1, 0, 0,
4004 /* IP7_8_6 [3] */
4005 FN_ETH_RXD0, FN_VI0_G3, FN_MSIOF2_SYNC_B, FN_CAN0_TX_B,
4006 FN_AVB_TXD2, FN_ADICHS0, FN_AD_NCS_N, 0,
4007 /* IP7_5_3 [3] */
4008 FN_ETH_RX_ER, FN_VI0_G2, FN_MSIOF2_SCK_B, FN_CAN0_RX_B,
4009 FN_AVB_TXD1, FN_ADICLK, FN_AD_CLK, 0,
4010 /* IP7_2_0 [3] */
4011 FN_ETH_CRS_DV, FN_VI0_G1, FN_MSIOF2_TXD_B, FN_IIC0_SDA_D,
4012 FN_AVB_TXD0, FN_ADICS_SAMP, FN_AD_DO, 0, }
4013 },
4014 { PINMUX_CFG_REG_VAR("IPSR8", 0xE6060040, 32,
4015 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3) {
4016 /* IP8_31_29 [3] */
4017 FN_MSIOF0_RXD, FN_SCIF5_RXD, FN_I2C2_SCL_C, FN_DU1_DR2,
4018 FN_RIF1_D0_B, FN_TS_SDEN_D, FN_FMCLK_C, FN_RDS_CLK,
4019 /* IP8_28_26 [3] */
4020 FN_I2C1_SDA, FN_SCIF4_TXD, FN_IRQ5, FN_DU1_DR1,
4021 FN_RIF1_CLK_B, FN_TS_SCK_D, FN_BPFCLK_C, 0,
4022 /* IP8_25_23 [3] */
4023 FN_I2C1_SCL, FN_SCIF4_RXD, FN_PWM5_B, FN_DU1_DR0,
4024 FN_RIF1_SYNC_B, FN_TS_SDATA_D, FN_TPUTO1_B, 0,
4025 /* IP8_22_20 [3] */
4026 FN_I2C0_SDA, FN_SCIF0_TXD_C, FN_TPUTO0, FN_CAN_CLK,
4027 FN_DVC_MUTE, FN_CAN1_TX_D, 0, 0,
4028 /* IP8_19_17 [3] */
4029 FN_I2C0_SCL, FN_SCIF0_RXD_C, FN_PWM5, FN_TCLK1_B,
4030 FN_AVB_GTXREFCLK, FN_CAN1_RX_D, FN_TPUTO0_B, 0,
4031 /* IP8_16_15 [2] */
4032 FN_HSCIF0_HSCK, FN_SCIF_CLK_B, FN_AVB_CRS, FN_AUDIO_CLKC_B,
4033 /* IP8_14_12 [3] */
4034 FN_HSCIF0_HRTS_N, FN_VI0_R7, FN_SCIF0_TXD_D, FN_I2C0_SDA_E,
4035 FN_AVB_PHY_INT, FN_SSI_SDATA8_B, 0, 0,
4036 /* IP8_11_9 [3] */
4037 FN_HSCIF0_HCTS_N, FN_VI0_R6, FN_SCIF0_RXD_D, FN_I2C0_SCL_E,
4038 FN_AVB_MAGIC, FN_SSI_SDATA7_B, 0, 0,
4039 /* IP8_8_6 [3] */
4040 FN_HSCIF0_HTX, FN_VI0_R5, FN_I2C1_SDA_C, FN_AUDIO_CLKB_B,
4041 FN_AVB_LINK, FN_SSI_WS78_B, 0, 0,
4042 /* IP8_5_3 [3] */
4043 FN_HSCIF0_HRX, FN_VI0_R4, FN_I2C1_SCL_C, FN_AUDIO_CLKA_B,
4044 FN_AVB_MDIO, FN_SSI_SCK78_B, 0, 0,
4045 /* IP8_2_0 [3] */
4046 FN_ETH_MDC, FN_VI0_R3, FN_SCIF3_TXD_B, FN_I2C4_SDA_E,
4047 FN_AVB_MDC, FN_SSI_SDATA6_B, 0, 0, }
4048 },
4049 { PINMUX_CFG_REG_VAR("IPSR9", 0xE6060044, 32,
4050 1, 3, 3, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3) {
4051 /* IP9_31 [1] */
4052 0, 0,
4053 /* IP9_30_28 [3] */
4054 FN_SCIF1_SCK, FN_PWM3, FN_TCLK2, FN_DU1_DG5,
4055 FN_SSI_SDATA1_B, FN_CAN_TXCLK, FN_CC50_STATE34, 0,
4056 /* IP9_27_25 [3] */
4057 FN_HSCIF1_HRTS_N, FN_SCIFA4_TXD, FN_IERX, FN_DU1_DG4,
4058 FN_SSI_WS1_B, FN_CAN_STEP0, FN_CC50_STATE33, 0,
4059 /* IP9_24_22 [3] */
4060 FN_HSCIF1_HCTS_N, FN_SCIFA4_RXD, FN_IECLK, FN_DU1_DG3,
4061 FN_SSI_SCK1_B, FN_CAN_DEBUG_HW_TRIGGER, FN_CC50_STATE32, 0,
4062 /* IP9_21_19 [3] */
4063 FN_HSCIF1_HSCK, FN_PWM2, FN_IETX, FN_DU1_DG2,
4064 FN_REMOCON_B, FN_SPEEDIN_B, FN_VSP_B, 0,
4065 /* IP9_18_17 [2] */
4066 FN_HSCIF1_HTX, FN_I2C4_SDA, FN_TPUTO1, FN_DU1_DG1,
4067 /* IP9_16_15 [2] */
4068 FN_HSCIF1_HRX, FN_I2C4_SCL, FN_PWM6, FN_DU1_DG0,
4069 /* IP9_14_12 [3] */
4070 FN_MSIOF0_SS2, FN_SCIFA0_TXD, FN_TS_SPSYNC, FN_DU1_DR7,
4071 FN_RIF1_D1, FN_FMIN_B, FN_RDS_DATA_B, 0,
4072 /* IP9_11_9 [3] */
4073 FN_MSIOF0_SS1, FN_SCIFA0_RXD, FN_TS_SDEN, FN_DU1_DR6,
4074 FN_RIF1_D0, FN_FMCLK_B, FN_RDS_CLK_B, 0,
4075 /* IP9_8_6 [3] */
4076 FN_MSIOF0_SYNC, FN_PWM1, FN_TS_SCK, FN_DU1_DR5,
4077 FN_RIF1_CLK, FN_BPFCLK_B, 0, 0,
4078 /* IP9_5_3 [3] */
4079 FN_MSIOF0_SCK, FN_IRQ0, FN_TS_SDATA, FN_DU1_DR4,
4080 FN_RIF1_SYNC, FN_TPUTO1_C, 0, 0,
4081 /* IP9_2_0 [3] */
4082 FN_MSIOF0_TXD, FN_SCIF5_TXD, FN_I2C2_SDA_C, FN_DU1_DR3,
4083 FN_RIF1_D1_B, FN_TS_SPSYNC_D, FN_FMIN_C, FN_RDS_DATA, }
4084 },
4085 { PINMUX_CFG_REG_VAR("IPSR10", 0xE6060048, 32,
4086 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
4087 /* IP10_31_30 [2] */
4088 FN_SSI_SCK5, FN_SCIFA3_SCK, FN_DU1_DOTCLKIN, FN_CAN_DEBUGOUT10,
4089 /* IP10_29_27 [3] */
4090 FN_I2C2_SDA, FN_SCIFA5_TXD, FN_DU1_DB7, FN_AUDIO_CLKOUT_C,
4091 FN_CAN_DEBUGOUT9, 0, 0, 0,
4092 /* IP10_26_24 [3] */
4093 FN_I2C2_SCL, FN_SCIFA5_RXD, FN_DU1_DB6, FN_AUDIO_CLKC_C,
4094 FN_SSI_SDATA4_B, FN_CAN_DEBUGOUT8, 0, 0,
4095 /* IP10_23_21 [3] */
4096 FN_SCIF3_TXD, FN_I2C1_SDA_E, FN_FMIN_D, FN_DU1_DB5,
4097 FN_AUDIO_CLKB_C, FN_SSI_WS4_B, FN_CAN_DEBUGOUT7, FN_RDS_DATA_C,
4098 /* IP10_20_18 [3] */
4099 FN_SCIF3_RXD, FN_I2C1_SCL_E, FN_FMCLK_D, FN_DU1_DB4,
4100 FN_AUDIO_CLKA_C, FN_SSI_SCK4_B, FN_CAN_DEBUGOUT6, FN_RDS_CLK_C,
4101 /* IP10_17_15 [3] */
4102 FN_SCIF3_SCK, FN_IRQ2, FN_BPFCLK_D, FN_DU1_DB3,
4103 FN_SSI_SDATA9_B, FN_TANS2, FN_CAN_DEBUGOUT5, FN_CC50_OSCOUT,
4104 /* IP10_14_12 [3] */
4105 FN_SCIF2_SCK, FN_IRQ1, FN_DU1_DB2, FN_SSI_WS9_B,
4106 FN_USB0_IDIN, FN_CAN_DEBUGOUT4, FN_CC50_STATE39, 0,
4107 /* IP10_11_9 [3] */
4108 FN_SCIF2_TXD, FN_IIC1_SDA, FN_DU1_DB1, FN_SSI_SCK9_B,
4109 FN_USB0_OVC1, FN_CAN_DEBUGOUT3, FN_CC50_STATE38, 0,
4110 /* IP10_8_6 [3] */
4111 FN_SCIF2_RXD, FN_IIC1_SCL, FN_DU1_DB0, FN_SSI_SDATA2_B,
4112 FN_USB0_EXTLP, FN_CAN_DEBUGOUT2, FN_CC50_STATE37, 0,
4113 /* IP10_5_3 [3] */
4114 FN_SCIF1_TXD, FN_IIC0_SDA, FN_DU1_DG7, FN_SSI_WS2_B,
4115 FN_CAN_DEBUGOUT1, FN_CC50_STATE36, 0, 0,
4116 /* IP10_2_0 [3] */
4117 FN_SCIF1_RXD, FN_IIC0_SCL, FN_DU1_DG6, FN_SSI_SCK2_B,
4118 FN_CAN_DEBUGOUT0, FN_CC50_STATE35, 0, 0, }
4119 },
4120 { PINMUX_CFG_REG_VAR("IPSR11", 0xE606004C, 32,
4121 2, 3, 3, 3, 3, 2, 2, 3, 3, 2, 3, 3) {
4122 /* IP11_31_30 [2] */
4123 0, 0, 0, 0,
4124 /* IP11_29_27 [3] */
4125 FN_SSI_SDATA0, FN_MSIOF1_SCK_B, FN_PWM0_B, FN_ADICLK_B,
4126 FN_AD_CLK_B, 0, 0, 0,
4127 /* IP11_26_24 [3] */
4128 FN_SSI_WS0129, FN_MSIOF1_TXD_B, FN_SCIF5_TXD_D, FN_ADICS_SAMP_B,
4129 FN_AD_DO_B, 0, 0, 0,
4130 /* IP11_23_21 [3] */
4131 FN_SSI_SCK0129, FN_MSIOF1_RXD_B, FN_SCIF5_RXD_D, FN_ADIDATA_B,
4132 FN_AD_DI_B, FN_PCMWE_N, 0, 0,
4133 /* IP11_20_18 [3] */
4134 FN_SSI_SDATA7, FN_SCIFA2_TXD_B, FN_IRQ8, FN_AUDIO_CLKA_D,
4135 FN_CAN_CLK_D, FN_PCMOE_N, 0, 0,
4136 /* IP11_17_16 [2] */
4137 FN_SSI_WS78, FN_SCIFA2_RXD_B, FN_IIC0_SCL_C, FN_DU1_CDE,
4138 /* IP11_15_14 [2] */
4139 FN_SSI_SCK78, FN_SCIFA2_SCK_B, FN_IIC0_SDA_C, FN_DU1_DISP,
4140 /* IP11_13_11 [3] */
4141 FN_SSI_SDATA6, FN_SCIFA1_TXD_B, FN_I2C4_SDA_C,
4142 FN_DU1_EXODDF_DU1_ODDF_DISP_CDE, FN_CAN_DEBUGOUT15, 0, 0, 0,
4143 /* IP11_10_8 [3] */
4144 FN_SSI_WS6, FN_SCIFA1_RXD_B, FN_I2C4_SCL_C,
4145 FN_DU1_EXVSYNC_DU1_VSYNC, FN_CAN_DEBUGOUT14, 0, 0, 0,
4146 /* IP11_7_6 [2] */
4147 FN_SSI_SCK6, FN_SCIFA1_SCK_B, FN_DU1_EXHSYNC_DU1_HSYNC,
4148 FN_CAN_DEBUGOUT13,
4149 /* IP11_5_3 [3] */
4150 FN_SSI_SDATA5, FN_SCIFA3_TXD, FN_I2C3_SDA_C, FN_DU1_DOTCLKOUT1,
4151 FN_CAN_DEBUGOUT12, 0, 0, 0,
4152 /* IP11_2_0 [3] */
4153 FN_SSI_WS5, FN_SCIFA3_RXD, FN_I2C3_SCL_C, FN_DU1_DOTCLKOUT0,
4154 FN_CAN_DEBUGOUT11, 0, 0, 0, }
4155 },
4156 { PINMUX_CFG_REG_VAR("IPSR12", 0xE6060050, 32,
4157 2, 3, 3, 3, 3, 3, 2, 2, 2, 3, 3, 3) {
4158 /* IP12_31_30 [2] */
4159 0, 0, 0, 0,
4160 /* IP12_29_27 [3] */
4161 FN_SSI_SCK2, FN_HSCIF1_HTX_B, FN_VI1_DATA2, FN_MDATA,
4162 FN_ATAWR0_N, FN_ETH_RXD1_B, 0, 0,
4163 /* IP12_26_24 [3] */
4164 FN_SSI_SDATA1, FN_HSCIF1_HRX_B, FN_VI1_DATA1, FN_SDATA,
4165 FN_ATAG0_N, FN_ETH_RXD0_B, 0, 0,
4166 /* IP12_23_21 [3] */
4167 FN_SSI_WS1, FN_SCIF1_TXD_B, FN_IIC1_SDA_C, FN_VI1_DATA0,
4168 FN_CAN0_TX_D, FN_AVB_AVTP_MATCH, FN_ETH_RX_ER_B, 0,
4169 /* IP12_20_18 [3] */
4170 FN_SSI_SCK1, FN_SCIF1_RXD_B, FN_IIC1_SCL_C, FN_VI1_CLK,
4171 FN_CAN0_RX_D, FN_AVB_AVTP_CAPTURE, FN_ETH_CRS_DV_B, 0,
4172 /* IP12_17_15 [3] */
4173 FN_SSI_SDATA8, FN_SCIF1_SCK_B, FN_PWM1_B, FN_IRQ9,
4174 FN_REMOCON, FN_DACK2, FN_ETH_MDIO_B, 0,
4175 /* IP12_14_13 [2] */
4176 FN_SSI_SDATA4, FN_MLB_DAT, FN_IERX_B, FN_IRD_SCK,
4177 /* IP12_12_11 [2] */
4178 FN_SSI_WS4, FN_MLB_SIG, FN_IECLK_B, FN_IRD_RX,
4179 /* IP12_10_9 [2] */
4180 FN_SSI_SCK4, FN_MLB_CLK, FN_IETX_B, FN_IRD_TX,
4181 /* IP12_8_6 [3] */
4182 FN_SSI_SDATA3, FN_MSIOF1_SS2_B, FN_SCIFA1_TXD_C, FN_ADICHS2_B,
4183 FN_CAN1_TX_C, FN_DREQ2_N, 0, 0,
4184 /* IP12_5_3 [3] */
4185 FN_SSI_WS34, FN_MSIOF1_SS1_B, FN_SCIFA1_RXD_C, FN_ADICHS1_B,
4186 FN_CAN1_RX_C, FN_DACK1_B, 0, 0,
4187 /* IP12_2_0 [3] */
4188 FN_SSI_SCK34, FN_MSIOF1_SYNC_B, FN_SCIFA1_SCK_C, FN_ADICHS0_B,
4189 FN_AD_NCS_N_B, FN_DREQ1_N_B, 0, 0, }
4190 },
4191 { PINMUX_CFG_REG_VAR("IPSR13", 0xE6060054, 32,
4192 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3) {
4193 /* IP13_31 [1] */
4194 0, 0,
4195 /* IP13_30 [1] */
4196 0, 0,
4197 /* IP13_29 [1] */
4198 0, 0,
4199 /* IP13_28 [1] */
4200 0, 0,
4201 /* IP13_27 [1] */
4202 0, 0,
4203 /* IP13_26_24 [3] */
4204 FN_AUDIO_CLKOUT, FN_I2C4_SDA_B, FN_SCIFA5_TXD_D, FN_VI1_VSYNC_N,
4205 FN_TS_SPSYNC_C, FN_RIF0_D1_B, FN_FMIN_E, FN_RDS_DATA_D,
4206 /* IP13_23_21 [3] */
4207 FN_AUDIO_CLKC, FN_I2C4_SCL_B, FN_SCIFA5_RXD_D, FN_VI1_HSYNC_N,
4208 FN_TS_SDEN_C, FN_RIF0_D0_B, FN_FMCLK_E, FN_RDS_CLK_D,
4209 /* IP13_20_18 [3] */
4210 FN_AUDIO_CLKB, FN_I2C0_SDA_B, FN_SCIFA4_TXD_D, FN_VI1_FIELD,
4211 FN_TS_SCK_C, FN_RIF0_CLK_B, FN_BPFCLK_E, FN_ETH_MDC_B,
4212 /* IP13_17_15 [3] */
4213 FN_AUDIO_CLKA, FN_I2C0_SCL_B, FN_SCIFA4_RXD_D, FN_VI1_CLKENB,
4214 FN_TS_SDATA_C, FN_RIF0_SYNC_B, FN_ETH_TXD0_B, 0,
4215 /* IP13_14_12 [3] */
4216 FN_SSI_SDATA9, FN_SCIF2_TXD_B, FN_I2C3_SDA_E, FN_VI1_DATA7,
4217 FN_ATADIR0_N, FN_ETH_MAGIC_B, 0, 0,
4218 /* IP13_11_9 [3] */
4219 FN_SSI_WS9, FN_SCIF2_RXD_B, FN_I2C3_SCL_E, FN_VI1_DATA6,
4220 FN_ATARD0_N, FN_ETH_TX_EN_B, 0, 0,
4221 /* IP13_8_6 [3] */
4222 FN_SSI_SCK9, FN_SCIF2_SCK_B, FN_PWM2_B, FN_VI1_DATA5,
4223 FN_MTS_N, FN_EX_WAIT1, FN_ETH_TXD1_B, 0,
4224 /* IP13_5_3 [2] */
4225 FN_SSI_SDATA2, FN_HSCIF1_HRTS_N_B, FN_SCIFA0_TXD_D,
4226 FN_VI1_DATA4, FN_STM_N, FN_ATACS10_N, FN_ETH_REFCLK_B, 0,
4227 /* IP13_2_0 [3] */
4228 FN_SSI_WS2, FN_HSCIF1_HCTS_N_B, FN_SCIFA0_RXD_D, FN_VI1_DATA3,
4229 FN_SCKZ, FN_ATACS00_N, FN_ETH_LINK_B, 0, }
4230 },
4231 { PINMUX_CFG_REG_VAR("MOD_SEL", 0xE6060090, 32,
4232 2, 1, 2, 3, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3,
4233 2, 1) {
4234 /* SEL_ADG [2] */
4235 FN_SEL_ADG_0, FN_SEL_ADG_1, FN_SEL_ADG_2, FN_SEL_ADG_3,
4236 /* SEL_ADI [1] */
4237 FN_SEL_ADI_0, FN_SEL_ADI_1,
4238 /* SEL_CAN [2] */
4239 FN_SEL_CAN_0, FN_SEL_CAN_1, FN_SEL_CAN_2, FN_SEL_CAN_3,
4240 /* SEL_DARC [3] */
4241 FN_SEL_DARC_0, FN_SEL_DARC_1, FN_SEL_DARC_2, FN_SEL_DARC_3,
4242 FN_SEL_DARC_4, 0, 0, 0,
4243 /* SEL_DR0 [1] */
4244 FN_SEL_DR0_0, FN_SEL_DR0_1,
4245 /* SEL_DR1 [1] */
4246 FN_SEL_DR1_0, FN_SEL_DR1_1,
4247 /* SEL_DR2 [1] */
4248 FN_SEL_DR2_0, FN_SEL_DR2_1,
4249 /* SEL_DR3 [1] */
4250 FN_SEL_DR3_0, FN_SEL_DR3_1,
4251 /* SEL_ETH [1] */
4252 FN_SEL_ETH_0, FN_SEL_ETH_1,
4253 /* SLE_FSN [1] */
4254 FN_SEL_FSN_0, FN_SEL_FSN_1,
4255 /* SEL_IC200 [3] */
4256 FN_SEL_I2C00_0, FN_SEL_I2C00_1, FN_SEL_I2C00_2, FN_SEL_I2C00_3,
4257 FN_SEL_I2C00_4, 0, 0, 0,
4258 /* SEL_I2C01 [3] */
4259 FN_SEL_I2C01_0, FN_SEL_I2C01_1, FN_SEL_I2C01_2, FN_SEL_I2C01_3,
4260 FN_SEL_I2C01_4, 0, 0, 0,
4261 /* SEL_I2C02 [3] */
4262 FN_SEL_I2C02_0, FN_SEL_I2C02_1, FN_SEL_I2C02_2, FN_SEL_I2C02_3,
4263 FN_SEL_I2C02_4, 0, 0, 0,
4264 /* SEL_I2C03 [3] */
4265 FN_SEL_I2C03_0, FN_SEL_I2C03_1, FN_SEL_I2C03_2, FN_SEL_I2C03_3,
4266 FN_SEL_I2C03_4, 0, 0, 0,
4267 /* SEL_I2C04 [3] */
4268 FN_SEL_I2C04_0, FN_SEL_I2C04_1, FN_SEL_I2C04_2, FN_SEL_I2C04_3,
4269 FN_SEL_I2C04_4, 0, 0, 0,
4270 /* SEL_IIC00 [2] */
4271 FN_SEL_IIC00_0, FN_SEL_IIC00_1, FN_SEL_IIC00_2, FN_SEL_IIC00_3,
4272 /* SEL_AVB [1] */
4273 FN_SEL_AVB_0, FN_SEL_AVB_1, }
4274 },
4275 { PINMUX_CFG_REG_VAR("MOD_SEL2", 0xE6060094, 32,
4276 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1,
4277 2, 2, 2, 1, 1, 2) {
4278 /* SEL_IEB [2] */
4279 FN_SEL_IEB_0, FN_SEL_IEB_1, FN_SEL_IEB_2, 0,
4280 /* SEL_IIC0 [2] */
4281 FN_SEL_IIC01_0, FN_SEL_IIC01_1, FN_SEL_IIC01_2, FN_SEL_IIC01_3,
4282 /* SEL_LBS [1] */
4283 FN_SEL_LBS_0, FN_SEL_LBS_1,
4284 /* SEL_MSI1 [1] */
4285 FN_SEL_MSI1_0, FN_SEL_MSI1_1,
4286 /* SEL_MSI2 [1] */
4287 FN_SEL_MSI2_0, FN_SEL_MSI2_1,
4288 /* SEL_RAD [1] */
4289 FN_SEL_RAD_0, FN_SEL_RAD_1,
4290 /* SEL_RCN [1] */
4291 FN_SEL_RCN_0, FN_SEL_RCN_1,
4292 /* SEL_RSP [1] */
4293 FN_SEL_RSP_0, FN_SEL_RSP_1,
4294 /* SEL_SCIFA0 [2] */
4295 FN_SEL_SCIFA0_0, FN_SEL_SCIFA0_1, FN_SEL_SCIFA0_2,
4296 FN_SEL_SCIFA0_3,
4297 /* SEL_SCIFA1 [2] */
4298 FN_SEL_SCIFA1_0, FN_SEL_SCIFA1_1, FN_SEL_SCIFA1_2, 0,
4299 /* SEL_SCIFA2 [1] */
4300 FN_SEL_SCIFA2_0, FN_SEL_SCIFA2_1,
4301 /* SEL_SCIFA3 [1] */
4302 FN_SEL_SCIFA3_0, FN_SEL_SCIFA3_1,
4303 /* SEL_SCIFA4 [2] */
4304 FN_SEL_SCIFA4_0, FN_SEL_SCIFA4_1, FN_SEL_SCIFA4_2,
4305 FN_SEL_SCIFA4_3,
4306 /* SEL_SCIFA5 [2] */
4307 FN_SEL_SCIFA5_0, FN_SEL_SCIFA5_1, FN_SEL_SCIFA5_2,
4308 FN_SEL_SCIFA5_3,
4309 /* SEL_SPDM [1] */
4310 FN_SEL_SPDM_0, FN_SEL_SPDM_1,
4311 /* SEL_TMU [1] */
4312 FN_SEL_TMU_0, FN_SEL_TMU_1,
4313 /* SEL_TSIF0 [2] */
4314 FN_SEL_TSIF0_0, FN_SEL_TSIF0_1, FN_SEL_TSIF0_2, FN_SEL_TSIF0_3,
4315 /* SEL_CAN0 [2] */
4316 FN_SEL_CAN0_0, FN_SEL_CAN0_1, FN_SEL_CAN0_2, FN_SEL_CAN0_3,
4317 /* SEL_CAN1 [2] */
4318 FN_SEL_CAN1_0, FN_SEL_CAN1_1, FN_SEL_CAN1_2, FN_SEL_CAN1_3,
4319 /* SEL_HSCIF0 [1] */
4320 FN_SEL_HSCIF0_0, FN_SEL_HSCIF0_1,
4321 /* SEL_HSCIF1 [1] */
4322 FN_SEL_HSCIF1_0, FN_SEL_HSCIF1_1,
4323 /* SEL_RDS [2] */
4324 FN_SEL_RDS_0, FN_SEL_RDS_1, FN_SEL_RDS_2, FN_SEL_RDS_3, }
4325 },
4326 { PINMUX_CFG_REG_VAR("MOD_SEL3", 0xE6060098, 32,
4327 2, 2, 2, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1,
4328 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) {
4329 /* SEL_SCIF0 [2] */
4330 FN_SEL_SCIF0_0, FN_SEL_SCIF0_1, FN_SEL_SCIF0_2, FN_SEL_SCIF0_3,
4331 /* SEL_SCIF1 [2] */
4332 FN_SEL_SCIF1_0, FN_SEL_SCIF1_1, FN_SEL_SCIF1_2, 0,
4333 /* SEL_SCIF2 [2] */
4334 FN_SEL_SCIF2_0, FN_SEL_SCIF2_1, FN_SEL_SCIF2_2, 0,
4335 /* SEL_SCIF3 [1] */
4336 FN_SEL_SCIF3_0, FN_SEL_SCIF3_1,
4337 /* SEL_SCIF4 [3] */
4338 FN_SEL_SCIF4_0, FN_SEL_SCIF4_1, FN_SEL_SCIF4_2, FN_SEL_SCIF4_3,
4339 FN_SEL_SCIF4_4, 0, 0, 0,
4340 /* SEL_SCIF5 [2] */
4341 FN_SEL_SCIF5_0, FN_SEL_SCIF5_1, FN_SEL_SCIF5_2, FN_SEL_SCIF5_3,
4342 /* SEL_SSI1 [1] */
4343 FN_SEL_SSI1_0, FN_SEL_SSI1_1,
4344 /* SEL_SSI2 [1] */
4345 FN_SEL_SSI2_0, FN_SEL_SSI2_1,
4346 /* SEL_SSI4 [1] */
4347 FN_SEL_SSI4_0, FN_SEL_SSI4_1,
4348 /* SEL_SSI5 [1] */
4349 FN_SEL_SSI5_0, FN_SEL_SSI5_1,
4350 /* SEL_SSI6 [1] */
4351 FN_SEL_SSI6_0, FN_SEL_SSI6_1,
4352 /* SEL_SSI7 [1] */
4353 FN_SEL_SSI7_0, FN_SEL_SSI7_1,
4354 /* SEL_SSI8 [1] */
4355 FN_SEL_SSI8_0, FN_SEL_SSI8_1,
4356 /* SEL_SSI9 [1] */
4357 FN_SEL_SSI9_0, FN_SEL_SSI9_1,
4358 /* RESERVED [1] */
4359 0, 0,
4360 /* RESERVED [1] */
4361 0, 0,
4362 /* RESERVED [1] */
4363 0, 0,
4364 /* RESERVED [1] */
4365 0, 0,
4366 /* RESERVED [1] */
4367 0, 0,
4368 /* RESERVED [1] */
4369 0, 0,
4370 /* RESERVED [1] */
4371 0, 0,
4372 /* RESERVED [1] */
4373 0, 0,
4374 /* RESERVED [1] */
4375 0, 0,
4376 /* RESERVED [1] */
4377 0, 0,
4378 /* RESERVED [1] */
4379 0, 0,
4380 /* RESERVED [1] */
4381 0, 0, }
4382 },
4383 { },
4384};
4385
4386const struct sh_pfc_soc_info r8a7794_pinmux_info = {
4387 .name = "r8a77940_pfc",
4388 .unlock_reg = 0xe6060000, /* PMMR */
4389
4390 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
4391
4392 .pins = pinmux_pins,
4393 .nr_pins = ARRAY_SIZE(pinmux_pins),
4394 .groups = pinmux_groups,
4395 .nr_groups = ARRAY_SIZE(pinmux_groups),
4396 .functions = pinmux_functions,
4397 .nr_functions = ARRAY_SIZE(pinmux_functions),
4398
4399 .cfg_regs = pinmux_config_regs,
4400
4401 .gpio_data = pinmux_data,
4402 .gpio_data_size = ARRAY_SIZE(pinmux_data),
4403};