xref: /linux/drivers/pinctrl/renesas/pfc-sh7723.c (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1077365a9SGeert Uytterhoeven // SPDX-License-Identifier: GPL-2.0
2077365a9SGeert Uytterhoeven /*
3077365a9SGeert Uytterhoeven  * SH7723 Pinmux
4077365a9SGeert Uytterhoeven  *
5077365a9SGeert Uytterhoeven  *  Copyright (C) 2008  Magnus Damm
6077365a9SGeert Uytterhoeven  */
7077365a9SGeert Uytterhoeven 
8077365a9SGeert Uytterhoeven #include <linux/kernel.h>
9077365a9SGeert Uytterhoeven #include <cpu/sh7723.h>
10077365a9SGeert Uytterhoeven 
11077365a9SGeert Uytterhoeven #include "sh_pfc.h"
12077365a9SGeert Uytterhoeven 
13077365a9SGeert Uytterhoeven enum {
14077365a9SGeert Uytterhoeven 	PINMUX_RESERVED = 0,
15077365a9SGeert Uytterhoeven 
16077365a9SGeert Uytterhoeven 	PINMUX_DATA_BEGIN,
17077365a9SGeert Uytterhoeven 	PTA7_DATA, PTA6_DATA, PTA5_DATA, PTA4_DATA,
18077365a9SGeert Uytterhoeven 	PTA3_DATA, PTA2_DATA, PTA1_DATA, PTA0_DATA,
19077365a9SGeert Uytterhoeven 	PTB7_DATA, PTB6_DATA, PTB5_DATA, PTB4_DATA,
20077365a9SGeert Uytterhoeven 	PTB3_DATA, PTB2_DATA, PTB1_DATA, PTB0_DATA,
21077365a9SGeert Uytterhoeven 	PTC7_DATA, PTC6_DATA, PTC5_DATA, PTC4_DATA,
22077365a9SGeert Uytterhoeven 	PTC3_DATA, PTC2_DATA, PTC1_DATA, PTC0_DATA,
23077365a9SGeert Uytterhoeven 	PTD7_DATA, PTD6_DATA, PTD5_DATA, PTD4_DATA,
24077365a9SGeert Uytterhoeven 	PTD3_DATA, PTD2_DATA, PTD1_DATA, PTD0_DATA,
25077365a9SGeert Uytterhoeven 	PTE5_DATA, PTE4_DATA, PTE3_DATA, PTE2_DATA, PTE1_DATA, PTE0_DATA,
26077365a9SGeert Uytterhoeven 	PTF7_DATA, PTF6_DATA, PTF5_DATA, PTF4_DATA,
27077365a9SGeert Uytterhoeven 	PTF3_DATA, PTF2_DATA, PTF1_DATA, PTF0_DATA,
28077365a9SGeert Uytterhoeven 	PTG5_DATA, PTG4_DATA, PTG3_DATA, PTG2_DATA, PTG1_DATA, PTG0_DATA,
29077365a9SGeert Uytterhoeven 	PTH7_DATA, PTH6_DATA, PTH5_DATA, PTH4_DATA,
30077365a9SGeert Uytterhoeven 	PTH3_DATA, PTH2_DATA, PTH1_DATA, PTH0_DATA,
31077365a9SGeert Uytterhoeven 	PTJ7_DATA, PTJ5_DATA, PTJ3_DATA, PTJ2_DATA, PTJ1_DATA, PTJ0_DATA,
32077365a9SGeert Uytterhoeven 	PTK7_DATA, PTK6_DATA, PTK5_DATA, PTK4_DATA,
33077365a9SGeert Uytterhoeven 	PTK3_DATA, PTK2_DATA, PTK1_DATA, PTK0_DATA,
34077365a9SGeert Uytterhoeven 	PTL7_DATA, PTL6_DATA, PTL5_DATA, PTL4_DATA,
35077365a9SGeert Uytterhoeven 	PTL3_DATA, PTL2_DATA, PTL1_DATA, PTL0_DATA,
36077365a9SGeert Uytterhoeven 	PTM7_DATA, PTM6_DATA, PTM5_DATA, PTM4_DATA,
37077365a9SGeert Uytterhoeven 	PTM3_DATA, PTM2_DATA, PTM1_DATA, PTM0_DATA,
38077365a9SGeert Uytterhoeven 	PTN7_DATA, PTN6_DATA, PTN5_DATA, PTN4_DATA,
39077365a9SGeert Uytterhoeven 	PTN3_DATA, PTN2_DATA, PTN1_DATA, PTN0_DATA,
40077365a9SGeert Uytterhoeven 	PTQ3_DATA, PTQ2_DATA, PTQ1_DATA, PTQ0_DATA,
41077365a9SGeert Uytterhoeven 	PTR7_DATA, PTR6_DATA, PTR5_DATA, PTR4_DATA,
42077365a9SGeert Uytterhoeven 	PTR3_DATA, PTR2_DATA, PTR1_DATA, PTR0_DATA,
43077365a9SGeert Uytterhoeven 	PTS7_DATA, PTS6_DATA, PTS5_DATA, PTS4_DATA,
44077365a9SGeert Uytterhoeven 	PTS3_DATA, PTS2_DATA, PTS1_DATA, PTS0_DATA,
45077365a9SGeert Uytterhoeven 	PTT5_DATA, PTT4_DATA, PTT3_DATA, PTT2_DATA, PTT1_DATA, PTT0_DATA,
46077365a9SGeert Uytterhoeven 	PTU5_DATA, PTU4_DATA, PTU3_DATA, PTU2_DATA, PTU1_DATA, PTU0_DATA,
47077365a9SGeert Uytterhoeven 	PTV7_DATA, PTV6_DATA, PTV5_DATA, PTV4_DATA,
48077365a9SGeert Uytterhoeven 	PTV3_DATA, PTV2_DATA, PTV1_DATA, PTV0_DATA,
49077365a9SGeert Uytterhoeven 	PTW7_DATA, PTW6_DATA, PTW5_DATA, PTW4_DATA,
50077365a9SGeert Uytterhoeven 	PTW3_DATA, PTW2_DATA, PTW1_DATA, PTW0_DATA,
51077365a9SGeert Uytterhoeven 	PTX7_DATA, PTX6_DATA, PTX5_DATA, PTX4_DATA,
52077365a9SGeert Uytterhoeven 	PTX3_DATA, PTX2_DATA, PTX1_DATA, PTX0_DATA,
53077365a9SGeert Uytterhoeven 	PTY7_DATA, PTY6_DATA, PTY5_DATA, PTY4_DATA,
54077365a9SGeert Uytterhoeven 	PTY3_DATA, PTY2_DATA, PTY1_DATA, PTY0_DATA,
55077365a9SGeert Uytterhoeven 	PTZ7_DATA, PTZ6_DATA, PTZ5_DATA, PTZ4_DATA,
56077365a9SGeert Uytterhoeven 	PTZ3_DATA, PTZ2_DATA, PTZ1_DATA, PTZ0_DATA,
57077365a9SGeert Uytterhoeven 	PINMUX_DATA_END,
58077365a9SGeert Uytterhoeven 
59077365a9SGeert Uytterhoeven 	PINMUX_INPUT_BEGIN,
60077365a9SGeert Uytterhoeven 	PTA7_IN, PTA6_IN, PTA5_IN, PTA4_IN,
61077365a9SGeert Uytterhoeven 	PTA3_IN, PTA2_IN, PTA1_IN, PTA0_IN,
62077365a9SGeert Uytterhoeven 	PTB7_IN, PTB6_IN, PTB5_IN, PTB4_IN,
63077365a9SGeert Uytterhoeven 	PTB3_IN, PTB2_IN, PTB1_IN, PTB0_IN,
64077365a9SGeert Uytterhoeven 	PTC7_IN, PTC6_IN, PTC5_IN, PTC4_IN,
65077365a9SGeert Uytterhoeven 	PTC3_IN, PTC2_IN, PTC1_IN, PTC0_IN,
66077365a9SGeert Uytterhoeven 	PTD7_IN, PTD6_IN, PTD5_IN, PTD4_IN,
67077365a9SGeert Uytterhoeven 	PTD3_IN, PTD2_IN, PTD1_IN, PTD0_IN,
68077365a9SGeert Uytterhoeven 	PTE5_IN, PTE4_IN, PTE3_IN, PTE2_IN, PTE1_IN, PTE0_IN,
69077365a9SGeert Uytterhoeven 	PTF7_IN, PTF6_IN, PTF5_IN, PTF4_IN,
70077365a9SGeert Uytterhoeven 	PTF3_IN, PTF2_IN, PTF1_IN, PTF0_IN,
71077365a9SGeert Uytterhoeven 	PTH7_IN, PTH6_IN, PTH5_IN, PTH4_IN,
72077365a9SGeert Uytterhoeven 	PTH3_IN, PTH2_IN, PTH1_IN, PTH0_IN,
73077365a9SGeert Uytterhoeven 	PTJ3_IN, PTJ2_IN, PTJ1_IN, PTJ0_IN,
74077365a9SGeert Uytterhoeven 	PTK7_IN, PTK6_IN, PTK5_IN, PTK4_IN,
75077365a9SGeert Uytterhoeven 	PTK3_IN, PTK2_IN, PTK1_IN, PTK0_IN,
76077365a9SGeert Uytterhoeven 	PTL7_IN, PTL6_IN, PTL5_IN, PTL4_IN,
77077365a9SGeert Uytterhoeven 	PTL3_IN, PTL2_IN, PTL1_IN, PTL0_IN,
78077365a9SGeert Uytterhoeven 	PTM7_IN, PTM6_IN, PTM5_IN, PTM4_IN,
79077365a9SGeert Uytterhoeven 	PTM3_IN, PTM2_IN, PTM1_IN, PTM0_IN,
80077365a9SGeert Uytterhoeven 	PTN7_IN, PTN6_IN, PTN5_IN, PTN4_IN,
81077365a9SGeert Uytterhoeven 	PTN3_IN, PTN2_IN, PTN1_IN, PTN0_IN,
82077365a9SGeert Uytterhoeven 	PTQ3_IN, PTQ2_IN, PTQ1_IN, PTQ0_IN,
83077365a9SGeert Uytterhoeven 	PTR7_IN, PTR6_IN, PTR5_IN, PTR4_IN,
84077365a9SGeert Uytterhoeven 	PTR3_IN, PTR2_IN, PTR1_IN, PTR0_IN,
85077365a9SGeert Uytterhoeven 	PTS7_IN, PTS6_IN, PTS5_IN, PTS4_IN,
86077365a9SGeert Uytterhoeven 	PTS3_IN, PTS2_IN, PTS1_IN, PTS0_IN,
87077365a9SGeert Uytterhoeven 	PTT5_IN, PTT4_IN, PTT3_IN, PTT2_IN, PTT1_IN, PTT0_IN,
88077365a9SGeert Uytterhoeven 	PTU5_IN, PTU4_IN, PTU3_IN, PTU2_IN, PTU1_IN, PTU0_IN,
89077365a9SGeert Uytterhoeven 	PTV7_IN, PTV6_IN, PTV5_IN, PTV4_IN,
90077365a9SGeert Uytterhoeven 	PTV3_IN, PTV2_IN, PTV1_IN, PTV0_IN,
91077365a9SGeert Uytterhoeven 	PTW7_IN, PTW6_IN, PTW5_IN, PTW4_IN,
92077365a9SGeert Uytterhoeven 	PTW3_IN, PTW2_IN, PTW1_IN, PTW0_IN,
93077365a9SGeert Uytterhoeven 	PTX7_IN, PTX6_IN, PTX5_IN, PTX4_IN,
94077365a9SGeert Uytterhoeven 	PTX3_IN, PTX2_IN, PTX1_IN, PTX0_IN,
95077365a9SGeert Uytterhoeven 	PTY7_IN, PTY6_IN, PTY5_IN, PTY4_IN,
96077365a9SGeert Uytterhoeven 	PTY3_IN, PTY2_IN, PTY1_IN, PTY0_IN,
97077365a9SGeert Uytterhoeven 	PTZ7_IN, PTZ6_IN, PTZ5_IN, PTZ4_IN,
98077365a9SGeert Uytterhoeven 	PTZ3_IN, PTZ2_IN, PTZ1_IN, PTZ0_IN,
99077365a9SGeert Uytterhoeven 	PINMUX_INPUT_END,
100077365a9SGeert Uytterhoeven 
101077365a9SGeert Uytterhoeven 	PINMUX_OUTPUT_BEGIN,
102077365a9SGeert Uytterhoeven 	PTA7_OUT, PTA6_OUT, PTA5_OUT, PTA4_OUT,
103077365a9SGeert Uytterhoeven 	PTA3_OUT, PTA2_OUT, PTA1_OUT, PTA0_OUT,
104077365a9SGeert Uytterhoeven 	PTB7_OUT, PTB6_OUT, PTB5_OUT, PTB4_OUT,
105077365a9SGeert Uytterhoeven 	PTB3_OUT, PTB2_OUT, PTB1_OUT, PTB0_OUT,
106077365a9SGeert Uytterhoeven 	PTC7_OUT, PTC6_OUT, PTC5_OUT, PTC4_OUT,
107077365a9SGeert Uytterhoeven 	PTC3_OUT, PTC2_OUT, PTC1_OUT, PTC0_OUT,
108077365a9SGeert Uytterhoeven 	PTD7_OUT, PTD6_OUT, PTD5_OUT, PTD4_OUT,
109077365a9SGeert Uytterhoeven 	PTD3_OUT, PTD2_OUT, PTD1_OUT, PTD0_OUT,
110077365a9SGeert Uytterhoeven 	PTE5_OUT, PTE4_OUT, PTE3_OUT, PTE2_OUT, PTE1_OUT, PTE0_OUT,
111077365a9SGeert Uytterhoeven 	PTF7_OUT, PTF6_OUT, PTF5_OUT, PTF4_OUT,
112077365a9SGeert Uytterhoeven 	PTF3_OUT, PTF2_OUT, PTF1_OUT, PTF0_OUT,
113077365a9SGeert Uytterhoeven 	PTG5_OUT, PTG4_OUT, PTG3_OUT, PTG2_OUT, PTG1_OUT, PTG0_OUT,
114077365a9SGeert Uytterhoeven 	PTH7_OUT, PTH6_OUT, PTH5_OUT, PTH4_OUT,
115077365a9SGeert Uytterhoeven 	PTH3_OUT, PTH2_OUT, PTH1_OUT, PTH0_OUT,
116077365a9SGeert Uytterhoeven 	PTJ7_OUT, PTJ5_OUT, PTJ3_OUT, PTJ2_OUT, PTJ1_OUT, PTJ0_OUT,
117077365a9SGeert Uytterhoeven 	PTK7_OUT, PTK6_OUT, PTK5_OUT, PTK4_OUT,
118077365a9SGeert Uytterhoeven 	PTK3_OUT, PTK2_OUT, PTK1_OUT, PTK0_OUT,
119077365a9SGeert Uytterhoeven 	PTL7_OUT, PTL6_OUT, PTL5_OUT, PTL4_OUT,
120077365a9SGeert Uytterhoeven 	PTL3_OUT, PTL2_OUT, PTL1_OUT, PTL0_OUT,
121077365a9SGeert Uytterhoeven 	PTM7_OUT, PTM6_OUT, PTM5_OUT, PTM4_OUT,
122077365a9SGeert Uytterhoeven 	PTM3_OUT, PTM2_OUT, PTM1_OUT, PTM0_OUT,
123077365a9SGeert Uytterhoeven 	PTN7_OUT, PTN6_OUT, PTN5_OUT, PTN4_OUT,
124077365a9SGeert Uytterhoeven 	PTN3_OUT, PTN2_OUT, PTN1_OUT, PTN0_OUT,
125077365a9SGeert Uytterhoeven 	PTR7_OUT, PTR6_OUT, PTR5_OUT, PTR4_OUT,
126077365a9SGeert Uytterhoeven 	PTR1_OUT, PTR0_OUT,
127077365a9SGeert Uytterhoeven 	PTS7_OUT, PTS6_OUT, PTS5_OUT, PTS4_OUT,
128077365a9SGeert Uytterhoeven 	PTS3_OUT, PTS2_OUT, PTS1_OUT, PTS0_OUT,
129077365a9SGeert Uytterhoeven 	PTT5_OUT, PTT4_OUT, PTT3_OUT, PTT2_OUT, PTT1_OUT, PTT0_OUT,
130077365a9SGeert Uytterhoeven 	PTU5_OUT, PTU4_OUT, PTU3_OUT, PTU2_OUT, PTU1_OUT, PTU0_OUT,
131077365a9SGeert Uytterhoeven 	PTV7_OUT, PTV6_OUT, PTV5_OUT, PTV4_OUT,
132077365a9SGeert Uytterhoeven 	PTV3_OUT, PTV2_OUT, PTV1_OUT, PTV0_OUT,
133077365a9SGeert Uytterhoeven 	PTW7_OUT, PTW6_OUT, PTW5_OUT, PTW4_OUT,
134077365a9SGeert Uytterhoeven 	PTW3_OUT, PTW2_OUT, PTW1_OUT, PTW0_OUT,
135077365a9SGeert Uytterhoeven 	PTX7_OUT, PTX6_OUT, PTX5_OUT, PTX4_OUT,
136077365a9SGeert Uytterhoeven 	PTX3_OUT, PTX2_OUT, PTX1_OUT, PTX0_OUT,
137077365a9SGeert Uytterhoeven 	PTY7_OUT, PTY6_OUT, PTY5_OUT, PTY4_OUT,
138077365a9SGeert Uytterhoeven 	PTY3_OUT, PTY2_OUT, PTY1_OUT, PTY0_OUT,
139077365a9SGeert Uytterhoeven 	PTZ7_OUT, PTZ6_OUT, PTZ5_OUT, PTZ4_OUT,
140077365a9SGeert Uytterhoeven 	PTZ3_OUT, PTZ2_OUT, PTZ1_OUT, PTZ0_OUT,
141077365a9SGeert Uytterhoeven 	PINMUX_OUTPUT_END,
142077365a9SGeert Uytterhoeven 
143077365a9SGeert Uytterhoeven 	PINMUX_FUNCTION_BEGIN,
144077365a9SGeert Uytterhoeven 	PTA7_FN, PTA6_FN, PTA5_FN, PTA4_FN,
145077365a9SGeert Uytterhoeven 	PTA3_FN, PTA2_FN, PTA1_FN, PTA0_FN,
146077365a9SGeert Uytterhoeven 	PTB7_FN, PTB6_FN, PTB5_FN, PTB4_FN,
147077365a9SGeert Uytterhoeven 	PTB3_FN, PTB2_FN, PTB1_FN, PTB0_FN,
148077365a9SGeert Uytterhoeven 	PTC7_FN, PTC6_FN, PTC5_FN, PTC4_FN,
149077365a9SGeert Uytterhoeven 	PTC3_FN, PTC2_FN, PTC1_FN, PTC0_FN,
150077365a9SGeert Uytterhoeven 	PTD7_FN, PTD6_FN, PTD5_FN, PTD4_FN,
151077365a9SGeert Uytterhoeven 	PTD3_FN, PTD2_FN, PTD1_FN, PTD0_FN,
152077365a9SGeert Uytterhoeven 	PTE5_FN, PTE4_FN, PTE3_FN, PTE2_FN, PTE1_FN, PTE0_FN,
153077365a9SGeert Uytterhoeven 	PTF7_FN, PTF6_FN, PTF5_FN, PTF4_FN,
154077365a9SGeert Uytterhoeven 	PTF3_FN, PTF2_FN, PTF1_FN, PTF0_FN,
155077365a9SGeert Uytterhoeven 	PTG5_FN, PTG4_FN, PTG3_FN, PTG2_FN, PTG1_FN, PTG0_FN,
156077365a9SGeert Uytterhoeven 	PTH7_FN, PTH6_FN, PTH5_FN, PTH4_FN,
157077365a9SGeert Uytterhoeven 	PTH3_FN, PTH2_FN, PTH1_FN, PTH0_FN,
158077365a9SGeert Uytterhoeven 	PTJ7_FN, PTJ5_FN, PTJ3_FN, PTJ2_FN, PTJ1_FN, PTJ0_FN,
159077365a9SGeert Uytterhoeven 	PTK7_FN, PTK6_FN, PTK5_FN, PTK4_FN,
160077365a9SGeert Uytterhoeven 	PTK3_FN, PTK2_FN, PTK1_FN, PTK0_FN,
161077365a9SGeert Uytterhoeven 	PTL7_FN, PTL6_FN, PTL5_FN, PTL4_FN,
162077365a9SGeert Uytterhoeven 	PTL3_FN, PTL2_FN, PTL1_FN, PTL0_FN,
163077365a9SGeert Uytterhoeven 	PTM7_FN, PTM6_FN, PTM5_FN, PTM4_FN,
164077365a9SGeert Uytterhoeven 	PTM3_FN, PTM2_FN, PTM1_FN, PTM0_FN,
165077365a9SGeert Uytterhoeven 	PTN7_FN, PTN6_FN, PTN5_FN, PTN4_FN,
166077365a9SGeert Uytterhoeven 	PTN3_FN, PTN2_FN, PTN1_FN, PTN0_FN,
167077365a9SGeert Uytterhoeven 	PTQ3_FN, PTQ2_FN, PTQ1_FN, PTQ0_FN,
168077365a9SGeert Uytterhoeven 	PTR7_FN, PTR6_FN, PTR5_FN, PTR4_FN,
169077365a9SGeert Uytterhoeven 	PTR3_FN, PTR2_FN, PTR1_FN, PTR0_FN,
170077365a9SGeert Uytterhoeven 	PTS7_FN, PTS6_FN, PTS5_FN, PTS4_FN,
171077365a9SGeert Uytterhoeven 	PTS3_FN, PTS2_FN, PTS1_FN, PTS0_FN,
172077365a9SGeert Uytterhoeven 	PTT5_FN, PTT4_FN, PTT3_FN, PTT2_FN, PTT1_FN, PTT0_FN,
173077365a9SGeert Uytterhoeven 	PTU5_FN, PTU4_FN, PTU3_FN, PTU2_FN, PTU1_FN, PTU0_FN,
174077365a9SGeert Uytterhoeven 	PTV7_FN, PTV6_FN, PTV5_FN, PTV4_FN,
175077365a9SGeert Uytterhoeven 	PTV3_FN, PTV2_FN, PTV1_FN, PTV0_FN,
176077365a9SGeert Uytterhoeven 	PTW7_FN, PTW6_FN, PTW5_FN, PTW4_FN,
177077365a9SGeert Uytterhoeven 	PTW3_FN, PTW2_FN, PTW1_FN, PTW0_FN,
178077365a9SGeert Uytterhoeven 	PTX7_FN, PTX6_FN, PTX5_FN, PTX4_FN,
179077365a9SGeert Uytterhoeven 	PTX3_FN, PTX2_FN, PTX1_FN, PTX0_FN,
180077365a9SGeert Uytterhoeven 	PTY7_FN, PTY6_FN, PTY5_FN, PTY4_FN,
181077365a9SGeert Uytterhoeven 	PTY3_FN, PTY2_FN, PTY1_FN, PTY0_FN,
182077365a9SGeert Uytterhoeven 	PTZ7_FN, PTZ6_FN, PTZ5_FN, PTZ4_FN,
183077365a9SGeert Uytterhoeven 	PTZ3_FN, PTZ2_FN, PTZ1_FN, PTZ0_FN,
184077365a9SGeert Uytterhoeven 
185077365a9SGeert Uytterhoeven 
186077365a9SGeert Uytterhoeven 	PSA15_PSA14_FN1, PSA15_PSA14_FN2,
187077365a9SGeert Uytterhoeven 	PSA13_PSA12_FN1, PSA13_PSA12_FN2,
188077365a9SGeert Uytterhoeven 	PSA11_PSA10_FN1, PSA11_PSA10_FN2,
189077365a9SGeert Uytterhoeven 	PSA5_PSA4_FN1, PSA5_PSA4_FN2, PSA5_PSA4_FN3,
190077365a9SGeert Uytterhoeven 	PSA3_PSA2_FN1, PSA3_PSA2_FN2,
191077365a9SGeert Uytterhoeven 	PSB15_PSB14_FN1, PSB15_PSB14_FN2,
192077365a9SGeert Uytterhoeven 	PSB13_PSB12_LCDC_RGB, PSB13_PSB12_LCDC_SYS,
193077365a9SGeert Uytterhoeven 	PSB9_PSB8_FN1, PSB9_PSB8_FN2, PSB9_PSB8_FN3,
194077365a9SGeert Uytterhoeven 	PSB7_PSB6_FN1, PSB7_PSB6_FN2,
195077365a9SGeert Uytterhoeven 	PSB5_PSB4_FN1, PSB5_PSB4_FN2,
196077365a9SGeert Uytterhoeven 	PSB3_PSB2_FN1, PSB3_PSB2_FN2,
197077365a9SGeert Uytterhoeven 	PSC15_PSC14_FN1, PSC15_PSC14_FN2,
198077365a9SGeert Uytterhoeven 	PSC13_PSC12_FN1, PSC13_PSC12_FN2,
199077365a9SGeert Uytterhoeven 	PSC11_PSC10_FN1, PSC11_PSC10_FN2, PSC11_PSC10_FN3,
200077365a9SGeert Uytterhoeven 	PSC9_PSC8_FN1, PSC9_PSC8_FN2,
201077365a9SGeert Uytterhoeven 	PSC7_PSC6_FN1, PSC7_PSC6_FN2, PSC7_PSC6_FN3,
202077365a9SGeert Uytterhoeven 	PSD15_PSD14_FN1, PSD15_PSD14_FN2,
203077365a9SGeert Uytterhoeven 	PSD13_PSD12_FN1, PSD13_PSD12_FN2,
204077365a9SGeert Uytterhoeven 	PSD11_PSD10_FN1, PSD11_PSD10_FN2, PSD11_PSD10_FN3,
205077365a9SGeert Uytterhoeven 	PSD9_PSD8_FN1, PSD9_PSD8_FN2,
206077365a9SGeert Uytterhoeven 	PSD7_PSD6_FN1, PSD7_PSD6_FN2,
207077365a9SGeert Uytterhoeven 	PSD5_PSD4_FN1, PSD5_PSD4_FN2,
208077365a9SGeert Uytterhoeven 	PSD3_PSD2_FN1, PSD3_PSD2_FN2,
209077365a9SGeert Uytterhoeven 	PSD1_PSD0_FN1, PSD1_PSD0_FN2,
210077365a9SGeert Uytterhoeven 	PINMUX_FUNCTION_END,
211077365a9SGeert Uytterhoeven 
212077365a9SGeert Uytterhoeven 	PINMUX_MARK_BEGIN,
213077365a9SGeert Uytterhoeven 	SCIF0_PTT_TXD_MARK, SCIF0_PTT_RXD_MARK,
214077365a9SGeert Uytterhoeven 	SCIF0_PTT_SCK_MARK, SCIF0_PTU_TXD_MARK,
215077365a9SGeert Uytterhoeven 	SCIF0_PTU_RXD_MARK, SCIF0_PTU_SCK_MARK,
216077365a9SGeert Uytterhoeven 
217077365a9SGeert Uytterhoeven 	SCIF1_PTS_TXD_MARK, SCIF1_PTS_RXD_MARK,
218077365a9SGeert Uytterhoeven 	SCIF1_PTS_SCK_MARK, SCIF1_PTV_TXD_MARK,
219077365a9SGeert Uytterhoeven 	SCIF1_PTV_RXD_MARK, SCIF1_PTV_SCK_MARK,
220077365a9SGeert Uytterhoeven 
221077365a9SGeert Uytterhoeven 	SCIF2_PTT_TXD_MARK, SCIF2_PTT_RXD_MARK,
222077365a9SGeert Uytterhoeven 	SCIF2_PTT_SCK_MARK, SCIF2_PTU_TXD_MARK,
223077365a9SGeert Uytterhoeven 	SCIF2_PTU_RXD_MARK, SCIF2_PTU_SCK_MARK,
224077365a9SGeert Uytterhoeven 
225077365a9SGeert Uytterhoeven 	SCIF3_PTS_TXD_MARK, SCIF3_PTS_RXD_MARK,
226077365a9SGeert Uytterhoeven 	SCIF3_PTS_SCK_MARK, SCIF3_PTS_RTS_MARK,
227077365a9SGeert Uytterhoeven 	SCIF3_PTS_CTS_MARK, SCIF3_PTV_TXD_MARK,
228077365a9SGeert Uytterhoeven 	SCIF3_PTV_RXD_MARK, SCIF3_PTV_SCK_MARK,
229077365a9SGeert Uytterhoeven 	SCIF3_PTV_RTS_MARK, SCIF3_PTV_CTS_MARK,
230077365a9SGeert Uytterhoeven 
231077365a9SGeert Uytterhoeven 	SCIF4_PTE_TXD_MARK, SCIF4_PTE_RXD_MARK,
232077365a9SGeert Uytterhoeven 	SCIF4_PTE_SCK_MARK, SCIF4_PTN_TXD_MARK,
233077365a9SGeert Uytterhoeven 	SCIF4_PTN_RXD_MARK, SCIF4_PTN_SCK_MARK,
234077365a9SGeert Uytterhoeven 
235077365a9SGeert Uytterhoeven 	SCIF5_PTE_TXD_MARK, SCIF5_PTE_RXD_MARK,
236077365a9SGeert Uytterhoeven 	SCIF5_PTE_SCK_MARK, SCIF5_PTN_TXD_MARK,
237077365a9SGeert Uytterhoeven 	SCIF5_PTN_RXD_MARK, SCIF5_PTN_SCK_MARK,
238077365a9SGeert Uytterhoeven 
239077365a9SGeert Uytterhoeven 	VIO_D15_MARK, VIO_D14_MARK, VIO_D13_MARK, VIO_D12_MARK,
240077365a9SGeert Uytterhoeven 	VIO_D11_MARK, VIO_D10_MARK, VIO_D9_MARK, VIO_D8_MARK,
241077365a9SGeert Uytterhoeven 	VIO_D7_MARK, VIO_D6_MARK, VIO_D5_MARK, VIO_D4_MARK,
242077365a9SGeert Uytterhoeven 	VIO_D3_MARK, VIO_D2_MARK, VIO_D1_MARK, VIO_D0_MARK,
243077365a9SGeert Uytterhoeven 	VIO_FLD_MARK, VIO_CKO_MARK,
244077365a9SGeert Uytterhoeven 	VIO_VD1_MARK, VIO_HD1_MARK, VIO_CLK1_MARK,
245077365a9SGeert Uytterhoeven 	VIO_HD2_MARK, VIO_VD2_MARK, VIO_CLK2_MARK,
246077365a9SGeert Uytterhoeven 
247077365a9SGeert Uytterhoeven 	LCDD23_MARK, LCDD22_MARK, LCDD21_MARK, LCDD20_MARK,
248077365a9SGeert Uytterhoeven 	LCDD19_MARK, LCDD18_MARK, LCDD17_MARK, LCDD16_MARK,
249077365a9SGeert Uytterhoeven 	LCDD15_MARK, LCDD14_MARK, LCDD13_MARK, LCDD12_MARK,
250077365a9SGeert Uytterhoeven 	LCDD11_MARK, LCDD10_MARK, LCDD9_MARK, LCDD8_MARK,
251077365a9SGeert Uytterhoeven 	LCDD7_MARK, LCDD6_MARK, LCDD5_MARK, LCDD4_MARK,
252077365a9SGeert Uytterhoeven 	LCDD3_MARK, LCDD2_MARK, LCDD1_MARK, LCDD0_MARK,
253077365a9SGeert Uytterhoeven 	LCDDON_MARK, LCDVCPWC_MARK, LCDVEPWC_MARK,
254077365a9SGeert Uytterhoeven 	LCDVSYN_MARK, LCDDCK_MARK, LCDHSYN_MARK, LCDDISP_MARK,
255077365a9SGeert Uytterhoeven 	LCDRS_MARK, LCDCS_MARK, LCDWR_MARK, LCDRD_MARK,
256077365a9SGeert Uytterhoeven 	LCDLCLK_PTR_MARK, LCDLCLK_PTW_MARK,
257077365a9SGeert Uytterhoeven 
258077365a9SGeert Uytterhoeven 	IRQ0_MARK, IRQ1_MARK, IRQ2_MARK, IRQ3_MARK,
259077365a9SGeert Uytterhoeven 	IRQ4_MARK, IRQ5_MARK, IRQ6_MARK, IRQ7_MARK,
260077365a9SGeert Uytterhoeven 
261077365a9SGeert Uytterhoeven 	AUDATA3_MARK, AUDATA2_MARK, AUDATA1_MARK, AUDATA0_MARK,
262077365a9SGeert Uytterhoeven 	AUDCK_MARK, AUDSYNC_MARK,
263077365a9SGeert Uytterhoeven 
264077365a9SGeert Uytterhoeven 	SDHI0CD_PTD_MARK, SDHI0WP_PTD_MARK,
265077365a9SGeert Uytterhoeven 	SDHI0D3_PTD_MARK, SDHI0D2_PTD_MARK,
266077365a9SGeert Uytterhoeven 	SDHI0D1_PTD_MARK, SDHI0D0_PTD_MARK,
267077365a9SGeert Uytterhoeven 	SDHI0CMD_PTD_MARK, SDHI0CLK_PTD_MARK,
268077365a9SGeert Uytterhoeven 
269077365a9SGeert Uytterhoeven 	SDHI0CD_PTS_MARK, SDHI0WP_PTS_MARK,
270077365a9SGeert Uytterhoeven 	SDHI0D3_PTS_MARK, SDHI0D2_PTS_MARK,
271077365a9SGeert Uytterhoeven 	SDHI0D1_PTS_MARK, SDHI0D0_PTS_MARK,
272077365a9SGeert Uytterhoeven 	SDHI0CMD_PTS_MARK, SDHI0CLK_PTS_MARK,
273077365a9SGeert Uytterhoeven 
274077365a9SGeert Uytterhoeven 	SDHI1CD_MARK, SDHI1WP_MARK, SDHI1D3_MARK, SDHI1D2_MARK,
275077365a9SGeert Uytterhoeven 	SDHI1D1_MARK, SDHI1D0_MARK, SDHI1CMD_MARK, SDHI1CLK_MARK,
276077365a9SGeert Uytterhoeven 
277077365a9SGeert Uytterhoeven 	SIUAFCK_MARK, SIUAILR_MARK, SIUAIBT_MARK, SIUAISLD_MARK,
278077365a9SGeert Uytterhoeven 	SIUAOLR_MARK, SIUAOBT_MARK, SIUAOSLD_MARK, SIUAMCK_MARK,
279077365a9SGeert Uytterhoeven 	SIUAISPD_MARK, SIUAOSPD_MARK,
280077365a9SGeert Uytterhoeven 
281077365a9SGeert Uytterhoeven 	SIUBFCK_MARK, SIUBILR_MARK, SIUBIBT_MARK, SIUBISLD_MARK,
282077365a9SGeert Uytterhoeven 	SIUBOLR_MARK, SIUBOBT_MARK, SIUBOSLD_MARK, SIUBMCK_MARK,
283077365a9SGeert Uytterhoeven 
284077365a9SGeert Uytterhoeven 	IRDA_IN_MARK, IRDA_OUT_MARK,
285077365a9SGeert Uytterhoeven 
286077365a9SGeert Uytterhoeven 	DV_CLKI_MARK, DV_CLK_MARK, DV_HSYNC_MARK, DV_VSYNC_MARK,
287077365a9SGeert Uytterhoeven 	DV_D15_MARK, DV_D14_MARK, DV_D13_MARK, DV_D12_MARK,
288077365a9SGeert Uytterhoeven 	DV_D11_MARK, DV_D10_MARK, DV_D9_MARK, DV_D8_MARK,
289077365a9SGeert Uytterhoeven 	DV_D7_MARK, DV_D6_MARK, DV_D5_MARK, DV_D4_MARK,
290077365a9SGeert Uytterhoeven 	DV_D3_MARK, DV_D2_MARK, DV_D1_MARK, DV_D0_MARK,
291077365a9SGeert Uytterhoeven 
292077365a9SGeert Uytterhoeven 	KEYIN0_MARK, KEYIN1_MARK, KEYIN2_MARK, KEYIN3_MARK, KEYIN4_MARK,
293077365a9SGeert Uytterhoeven 	KEYOUT0_MARK, KEYOUT1_MARK, KEYOUT2_MARK, KEYOUT3_MARK,
294077365a9SGeert Uytterhoeven 	KEYOUT4_IN6_MARK, KEYOUT5_IN5_MARK,
295077365a9SGeert Uytterhoeven 
296077365a9SGeert Uytterhoeven 	MSIOF0_PTF_TXD_MARK, MSIOF0_PTF_RXD_MARK, MSIOF0_PTF_MCK_MARK,
297077365a9SGeert Uytterhoeven 	MSIOF0_PTF_TSYNC_MARK, MSIOF0_PTF_TSCK_MARK, MSIOF0_PTF_RSYNC_MARK,
298077365a9SGeert Uytterhoeven 	MSIOF0_PTF_RSCK_MARK, MSIOF0_PTF_SS1_MARK, MSIOF0_PTF_SS2_MARK,
299077365a9SGeert Uytterhoeven 
300077365a9SGeert Uytterhoeven 	MSIOF0_PTT_TXD_MARK, MSIOF0_PTT_RXD_MARK, MSIOF0_PTX_MCK_MARK,
301077365a9SGeert Uytterhoeven 	MSIOF0_PTT_TSYNC_MARK, MSIOF0_PTT_TSCK_MARK, MSIOF0_PTT_RSYNC_MARK,
302077365a9SGeert Uytterhoeven 	MSIOF0_PTT_RSCK_MARK, MSIOF0_PTT_SS1_MARK, MSIOF0_PTT_SS2_MARK,
303077365a9SGeert Uytterhoeven 
304077365a9SGeert Uytterhoeven 	MSIOF1_TXD_MARK, MSIOF1_RXD_MARK, MSIOF1_MCK_MARK,
305077365a9SGeert Uytterhoeven 	MSIOF1_TSYNC_MARK, MSIOF1_TSCK_MARK, MSIOF1_RSYNC_MARK,
306077365a9SGeert Uytterhoeven 	MSIOF1_RSCK_MARK, MSIOF1_SS1_MARK, MSIOF1_SS2_MARK,
307077365a9SGeert Uytterhoeven 
308077365a9SGeert Uytterhoeven 	TS0_SDAT_MARK, TS0_SCK_MARK, TS0_SDEN_MARK, TS0_SPSYNC_MARK,
309077365a9SGeert Uytterhoeven 
310077365a9SGeert Uytterhoeven 	FCE_MARK, NAF7_MARK, NAF6_MARK, NAF5_MARK, NAF4_MARK,
311077365a9SGeert Uytterhoeven 	NAF3_MARK, NAF2_MARK, NAF1_MARK, NAF0_MARK, FCDE_MARK,
312077365a9SGeert Uytterhoeven 	FOE_MARK, FSC_MARK, FWE_MARK, FRB_MARK,
313077365a9SGeert Uytterhoeven 
314077365a9SGeert Uytterhoeven 	DACK1_MARK, DREQ1_MARK, DACK0_MARK, DREQ0_MARK,
315077365a9SGeert Uytterhoeven 
316077365a9SGeert Uytterhoeven 	AN3_MARK, AN2_MARK, AN1_MARK, AN0_MARK, ADTRG_MARK,
317077365a9SGeert Uytterhoeven 
318077365a9SGeert Uytterhoeven 	STATUS0_MARK, PDSTATUS_MARK,
319077365a9SGeert Uytterhoeven 
320077365a9SGeert Uytterhoeven 	TPUTO3_MARK, TPUTO2_MARK, TPUTO1_MARK, TPUTO0_MARK,
321077365a9SGeert Uytterhoeven 
322077365a9SGeert Uytterhoeven 	D31_MARK, D30_MARK, D29_MARK, D28_MARK,
323077365a9SGeert Uytterhoeven 	D27_MARK, D26_MARK, D25_MARK, D24_MARK,
324077365a9SGeert Uytterhoeven 	D23_MARK, D22_MARK, D21_MARK, D20_MARK,
325077365a9SGeert Uytterhoeven 	D19_MARK, D18_MARK, D17_MARK, D16_MARK,
326077365a9SGeert Uytterhoeven 	IOIS16_MARK, WAIT_MARK, BS_MARK,
327077365a9SGeert Uytterhoeven 	A25_MARK, A24_MARK, A23_MARK, A22_MARK,
328077365a9SGeert Uytterhoeven 	CS6B_CE1B_MARK, CS6A_CE2B_MARK,
329077365a9SGeert Uytterhoeven 	CS5B_CE1A_MARK, CS5A_CE2A_MARK,
330077365a9SGeert Uytterhoeven 	WE3_ICIOWR_MARK, WE2_ICIORD_MARK,
331077365a9SGeert Uytterhoeven 
332077365a9SGeert Uytterhoeven 	IDED15_MARK, IDED14_MARK, IDED13_MARK, IDED12_MARK,
333077365a9SGeert Uytterhoeven 	IDED11_MARK, IDED10_MARK, IDED9_MARK, IDED8_MARK,
334077365a9SGeert Uytterhoeven 	IDED7_MARK, IDED6_MARK, IDED5_MARK, IDED4_MARK,
335077365a9SGeert Uytterhoeven 	IDED3_MARK, IDED2_MARK, IDED1_MARK, IDED0_MARK,
336077365a9SGeert Uytterhoeven 	DIRECTION_MARK, EXBUF_ENB_MARK, IDERST_MARK, IODACK_MARK,
337077365a9SGeert Uytterhoeven 	IODREQ_MARK, IDEIORDY_MARK, IDEINT_MARK, IDEIOWR_MARK,
338077365a9SGeert Uytterhoeven 	IDEIORD_MARK, IDECS1_MARK, IDECS0_MARK, IDEA2_MARK,
339077365a9SGeert Uytterhoeven 	IDEA1_MARK, IDEA0_MARK,
340077365a9SGeert Uytterhoeven 	PINMUX_MARK_END,
341077365a9SGeert Uytterhoeven };
342077365a9SGeert Uytterhoeven 
343077365a9SGeert Uytterhoeven static const u16 pinmux_data[] = {
344077365a9SGeert Uytterhoeven 	/* PTA GPIO */
345077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT),
346077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA6_DATA, PTA6_IN, PTA6_OUT),
347077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA5_DATA, PTA5_IN, PTA5_OUT),
348077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA4_DATA, PTA4_IN, PTA4_OUT),
349077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA3_DATA, PTA3_IN, PTA3_OUT),
350077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA2_DATA, PTA2_IN, PTA2_OUT),
351077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA1_DATA, PTA1_IN, PTA1_OUT),
352077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTA0_DATA, PTA0_IN, PTA0_OUT),
353077365a9SGeert Uytterhoeven 
354077365a9SGeert Uytterhoeven 	/* PTB GPIO */
355077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB7_DATA, PTB7_IN, PTB7_OUT),
356077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB6_DATA, PTB6_IN, PTB6_OUT),
357077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB5_DATA, PTB5_IN, PTB5_OUT),
358077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB4_DATA, PTB4_IN, PTB4_OUT),
359077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB3_DATA, PTB3_IN, PTB3_OUT),
360077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB2_DATA, PTB2_IN, PTB2_OUT),
361077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB1_DATA, PTB1_IN, PTB1_OUT),
362077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTB0_DATA, PTB0_IN, PTB0_OUT),
363077365a9SGeert Uytterhoeven 
364077365a9SGeert Uytterhoeven 	/* PTC GPIO */
365077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC7_DATA, PTC7_IN, PTC7_OUT),
366077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC6_DATA, PTC6_IN, PTC6_OUT),
367077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC5_DATA, PTC5_IN, PTC5_OUT),
368077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC4_DATA, PTC4_IN, PTC4_OUT),
369077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC3_DATA, PTC3_IN, PTC3_OUT),
370077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC2_DATA, PTC2_IN, PTC2_OUT),
371077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC1_DATA, PTC1_IN, PTC1_OUT),
372077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTC0_DATA, PTC0_IN, PTC0_OUT),
373077365a9SGeert Uytterhoeven 
374077365a9SGeert Uytterhoeven 	/* PTD GPIO */
375077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD7_DATA, PTD7_IN, PTD7_OUT),
376077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD6_DATA, PTD6_IN, PTD6_OUT),
377077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD5_DATA, PTD5_IN, PTD5_OUT),
378077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD4_DATA, PTD4_IN, PTD4_OUT),
379077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD3_DATA, PTD3_IN, PTD3_OUT),
380077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD2_DATA, PTD2_IN, PTD2_OUT),
381077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD1_DATA, PTD1_IN, PTD1_OUT),
382077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTD0_DATA, PTD0_IN, PTD0_OUT),
383077365a9SGeert Uytterhoeven 
384077365a9SGeert Uytterhoeven 	/* PTE GPIO */
385077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE5_DATA, PTE5_IN, PTE5_OUT),
386077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE4_DATA, PTE4_IN, PTE4_OUT),
387077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE3_DATA, PTE3_IN, PTE3_OUT),
388077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE2_DATA, PTE2_IN, PTE2_OUT),
389077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE1_DATA, PTE1_IN, PTE1_OUT),
390077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTE0_DATA, PTE0_IN, PTE0_OUT),
391077365a9SGeert Uytterhoeven 
392077365a9SGeert Uytterhoeven 	/* PTF GPIO */
393077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF7_DATA, PTF7_IN, PTF7_OUT),
394077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF6_DATA, PTF6_IN, PTF6_OUT),
395077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF5_DATA, PTF5_IN, PTF5_OUT),
396077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF4_DATA, PTF4_IN, PTF4_OUT),
397077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF3_DATA, PTF3_IN, PTF3_OUT),
398077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF2_DATA, PTF2_IN, PTF2_OUT),
399077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF1_DATA, PTF1_IN, PTF1_OUT),
400077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTF0_DATA, PTF0_IN, PTF0_OUT),
401077365a9SGeert Uytterhoeven 
402077365a9SGeert Uytterhoeven 	/* PTG GPIO */
403077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG5_DATA, PTG5_OUT),
404077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG4_DATA, PTG4_OUT),
405077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG3_DATA, PTG3_OUT),
406077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG2_DATA, PTG2_OUT),
407077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG1_DATA, PTG1_OUT),
408077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTG0_DATA, PTG0_OUT),
409077365a9SGeert Uytterhoeven 
410077365a9SGeert Uytterhoeven 	/* PTH GPIO */
411077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH7_DATA, PTH7_IN, PTH7_OUT),
412077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH6_DATA, PTH6_IN, PTH6_OUT),
413077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH5_DATA, PTH5_IN, PTH5_OUT),
414077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH4_DATA, PTH4_IN, PTH4_OUT),
415077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH3_DATA, PTH3_IN, PTH3_OUT),
416077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH2_DATA, PTH2_IN, PTH2_OUT),
417077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH1_DATA, PTH1_IN, PTH1_OUT),
418077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTH0_DATA, PTH0_IN, PTH0_OUT),
419077365a9SGeert Uytterhoeven 
420077365a9SGeert Uytterhoeven 	/* PTJ GPIO */
421077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ7_DATA, PTJ7_OUT),
422077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ5_DATA, PTJ5_OUT),
423077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ3_DATA, PTJ3_IN, PTJ3_OUT),
424077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ2_DATA, PTJ2_IN, PTJ2_OUT),
425077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ1_DATA, PTJ1_IN, PTJ1_OUT),
426077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTJ0_DATA, PTJ0_IN, PTJ0_OUT),
427077365a9SGeert Uytterhoeven 
428077365a9SGeert Uytterhoeven 	/* PTK GPIO */
429077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK7_DATA, PTK7_IN, PTK7_OUT),
430077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK6_DATA, PTK6_IN, PTK6_OUT),
431077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK5_DATA, PTK5_IN, PTK5_OUT),
432077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK4_DATA, PTK4_IN, PTK4_OUT),
433077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK3_DATA, PTK3_IN, PTK3_OUT),
434077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK2_DATA, PTK2_IN, PTK2_OUT),
435077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK1_DATA, PTK1_IN, PTK1_OUT),
436077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTK0_DATA, PTK0_IN, PTK0_OUT),
437077365a9SGeert Uytterhoeven 
438077365a9SGeert Uytterhoeven 	/* PTL GPIO */
439077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL7_DATA, PTL7_IN, PTL7_OUT),
440077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL6_DATA, PTL6_IN, PTL6_OUT),
441077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL5_DATA, PTL5_IN, PTL5_OUT),
442077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL4_DATA, PTL4_IN, PTL4_OUT),
443077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL3_DATA, PTL3_IN, PTL3_OUT),
444077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL2_DATA, PTL2_IN, PTL2_OUT),
445077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL1_DATA, PTL1_IN, PTL1_OUT),
446077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTL0_DATA, PTL0_IN, PTL0_OUT),
447077365a9SGeert Uytterhoeven 
448077365a9SGeert Uytterhoeven 	/* PTM GPIO */
449077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM7_DATA, PTM7_IN, PTM7_OUT),
450077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM6_DATA, PTM6_IN, PTM6_OUT),
451077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM5_DATA, PTM5_IN, PTM5_OUT),
452077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM4_DATA, PTM4_IN, PTM4_OUT),
453077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM3_DATA, PTM3_IN, PTM3_OUT),
454077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM2_DATA, PTM2_IN, PTM2_OUT),
455077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM1_DATA, PTM1_IN, PTM1_OUT),
456077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTM0_DATA, PTM0_IN, PTM0_OUT),
457077365a9SGeert Uytterhoeven 
458077365a9SGeert Uytterhoeven 	/* PTN GPIO */
459077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN7_DATA, PTN7_IN, PTN7_OUT),
460077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN6_DATA, PTN6_IN, PTN6_OUT),
461077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN5_DATA, PTN5_IN, PTN5_OUT),
462077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN4_DATA, PTN4_IN, PTN4_OUT),
463077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN3_DATA, PTN3_IN, PTN3_OUT),
464077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN2_DATA, PTN2_IN, PTN2_OUT),
465077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN1_DATA, PTN1_IN, PTN1_OUT),
466077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTN0_DATA, PTN0_IN, PTN0_OUT),
467077365a9SGeert Uytterhoeven 
468077365a9SGeert Uytterhoeven 	/* PTQ GPIO */
469077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTQ3_DATA, PTQ3_IN),
470077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTQ2_DATA, PTQ2_IN),
471077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTQ1_DATA, PTQ1_IN),
472077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTQ0_DATA, PTQ0_IN),
473077365a9SGeert Uytterhoeven 
474077365a9SGeert Uytterhoeven 	/* PTR GPIO */
475077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR7_DATA, PTR7_IN, PTR7_OUT),
476077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR6_DATA, PTR6_IN, PTR6_OUT),
477077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR5_DATA, PTR5_IN, PTR5_OUT),
478077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR4_DATA, PTR4_IN, PTR4_OUT),
479077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR3_DATA, PTR3_IN),
480077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR2_DATA, PTR2_IN),
481077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR1_DATA, PTR1_IN, PTR1_OUT),
482077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTR0_DATA, PTR0_IN, PTR0_OUT),
483077365a9SGeert Uytterhoeven 
484077365a9SGeert Uytterhoeven 	/* PTS GPIO */
485077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS7_DATA, PTS7_IN, PTS7_OUT),
486077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS6_DATA, PTS6_IN, PTS6_OUT),
487077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS5_DATA, PTS5_IN, PTS5_OUT),
488077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS4_DATA, PTS4_IN, PTS4_OUT),
489077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS3_DATA, PTS3_IN, PTS3_OUT),
490077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS2_DATA, PTS2_IN, PTS2_OUT),
491077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS1_DATA, PTS1_IN, PTS1_OUT),
492077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTS0_DATA, PTS0_IN, PTS0_OUT),
493077365a9SGeert Uytterhoeven 
494077365a9SGeert Uytterhoeven 	/* PTT GPIO */
495077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT5_DATA, PTT5_IN, PTT5_OUT),
496077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT4_DATA, PTT4_IN, PTT4_OUT),
497077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT3_DATA, PTT3_IN, PTT3_OUT),
498077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT2_DATA, PTT2_IN, PTT2_OUT),
499077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT1_DATA, PTT1_IN, PTT1_OUT),
500077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTT0_DATA, PTT0_IN, PTT0_OUT),
501077365a9SGeert Uytterhoeven 
502077365a9SGeert Uytterhoeven 	/* PTU GPIO */
503077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU5_DATA, PTU5_IN, PTU5_OUT),
504077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU4_DATA, PTU4_IN, PTU4_OUT),
505077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU3_DATA, PTU3_IN, PTU3_OUT),
506077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU2_DATA, PTU2_IN, PTU2_OUT),
507077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU1_DATA, PTU1_IN, PTU1_OUT),
508077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTU0_DATA, PTU0_IN, PTU0_OUT),
509077365a9SGeert Uytterhoeven 
510077365a9SGeert Uytterhoeven 	/* PTV GPIO */
511077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV7_DATA, PTV7_IN, PTV7_OUT),
512077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV6_DATA, PTV6_IN, PTV6_OUT),
513077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV5_DATA, PTV5_IN, PTV5_OUT),
514077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV4_DATA, PTV4_IN, PTV4_OUT),
515077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV3_DATA, PTV3_IN, PTV3_OUT),
516077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV2_DATA, PTV2_IN, PTV2_OUT),
517077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV1_DATA, PTV1_IN, PTV1_OUT),
518077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTV0_DATA, PTV0_IN, PTV0_OUT),
519077365a9SGeert Uytterhoeven 
520077365a9SGeert Uytterhoeven 	/* PTW GPIO */
521077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW7_DATA, PTW7_IN, PTW7_OUT),
522077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW6_DATA, PTW6_IN, PTW6_OUT),
523077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW5_DATA, PTW5_IN, PTW5_OUT),
524077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW4_DATA, PTW4_IN, PTW4_OUT),
525077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW3_DATA, PTW3_IN, PTW3_OUT),
526077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW2_DATA, PTW2_IN, PTW2_OUT),
527077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW1_DATA, PTW1_IN, PTW1_OUT),
528077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTW0_DATA, PTW0_IN, PTW0_OUT),
529077365a9SGeert Uytterhoeven 
530077365a9SGeert Uytterhoeven 	/* PTX GPIO */
531077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX7_DATA, PTX7_IN, PTX7_OUT),
532077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX6_DATA, PTX6_IN, PTX6_OUT),
533077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX5_DATA, PTX5_IN, PTX5_OUT),
534077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX4_DATA, PTX4_IN, PTX4_OUT),
535077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX3_DATA, PTX3_IN, PTX3_OUT),
536077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX2_DATA, PTX2_IN, PTX2_OUT),
537077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX1_DATA, PTX1_IN, PTX1_OUT),
538077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTX0_DATA, PTX0_IN, PTX0_OUT),
539077365a9SGeert Uytterhoeven 
540077365a9SGeert Uytterhoeven 	/* PTY GPIO */
541077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY7_DATA, PTY7_IN, PTY7_OUT),
542077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY6_DATA, PTY6_IN, PTY6_OUT),
543077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY5_DATA, PTY5_IN, PTY5_OUT),
544077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY4_DATA, PTY4_IN, PTY4_OUT),
545077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY3_DATA, PTY3_IN, PTY3_OUT),
546077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY2_DATA, PTY2_IN, PTY2_OUT),
547077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY1_DATA, PTY1_IN, PTY1_OUT),
548077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTY0_DATA, PTY0_IN, PTY0_OUT),
549077365a9SGeert Uytterhoeven 
550077365a9SGeert Uytterhoeven 	/* PTZ GPIO */
551077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ7_DATA, PTZ7_IN, PTZ7_OUT),
552077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ6_DATA, PTZ6_IN, PTZ6_OUT),
553077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ5_DATA, PTZ5_IN, PTZ5_OUT),
554077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ4_DATA, PTZ4_IN, PTZ4_OUT),
555077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ3_DATA, PTZ3_IN, PTZ3_OUT),
556077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ2_DATA, PTZ2_IN, PTZ2_OUT),
557077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ1_DATA, PTZ1_IN, PTZ1_OUT),
558077365a9SGeert Uytterhoeven 	PINMUX_DATA(PTZ0_DATA, PTZ0_IN, PTZ0_OUT),
559077365a9SGeert Uytterhoeven 
560077365a9SGeert Uytterhoeven 	/* PTA FN */
561077365a9SGeert Uytterhoeven 	PINMUX_DATA(D23_MARK, PSA15_PSA14_FN1, PTA7_FN),
562077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT2_MARK, PSA15_PSA14_FN2, PTA7_FN),
563077365a9SGeert Uytterhoeven 	PINMUX_DATA(D22_MARK, PSA15_PSA14_FN1, PTA6_FN),
564077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT1_MARK, PSA15_PSA14_FN2, PTA6_FN),
565077365a9SGeert Uytterhoeven 	PINMUX_DATA(D21_MARK, PSA15_PSA14_FN1, PTA5_FN),
566077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT0_MARK, PSA15_PSA14_FN2, PTA5_FN),
567077365a9SGeert Uytterhoeven 	PINMUX_DATA(D20_MARK, PSA15_PSA14_FN1, PTA4_FN),
568077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYIN4_MARK, PSA15_PSA14_FN2, PTA4_FN),
569077365a9SGeert Uytterhoeven 	PINMUX_DATA(D19_MARK, PSA15_PSA14_FN1, PTA3_FN),
570077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYIN3_MARK, PSA15_PSA14_FN2, PTA3_FN),
571077365a9SGeert Uytterhoeven 	PINMUX_DATA(D18_MARK, PSA15_PSA14_FN1, PTA2_FN),
572077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYIN2_MARK, PSA15_PSA14_FN2, PTA2_FN),
573077365a9SGeert Uytterhoeven 	PINMUX_DATA(D17_MARK, PSA15_PSA14_FN1, PTA1_FN),
574077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYIN1_MARK, PSA15_PSA14_FN2, PTA1_FN),
575077365a9SGeert Uytterhoeven 	PINMUX_DATA(D16_MARK, PSA15_PSA14_FN1, PTA0_FN),
576077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYIN0_MARK, PSA15_PSA14_FN2, PTA0_FN),
577077365a9SGeert Uytterhoeven 
578077365a9SGeert Uytterhoeven 	/* PTB FN */
579077365a9SGeert Uytterhoeven 	PINMUX_DATA(D31_MARK, PTB7_FN),
580077365a9SGeert Uytterhoeven 	PINMUX_DATA(D30_MARK, PTB6_FN),
581077365a9SGeert Uytterhoeven 	PINMUX_DATA(D29_MARK, PTB5_FN),
582077365a9SGeert Uytterhoeven 	PINMUX_DATA(D28_MARK, PTB4_FN),
583077365a9SGeert Uytterhoeven 	PINMUX_DATA(D27_MARK, PTB3_FN),
584077365a9SGeert Uytterhoeven 	PINMUX_DATA(D26_MARK, PSA15_PSA14_FN1, PTB2_FN),
585077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT5_IN5_MARK, PSA15_PSA14_FN2, PTB2_FN),
586077365a9SGeert Uytterhoeven 	PINMUX_DATA(D25_MARK, PSA15_PSA14_FN1, PTB1_FN),
587077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT4_IN6_MARK, PSA15_PSA14_FN2, PTB1_FN),
588077365a9SGeert Uytterhoeven 	PINMUX_DATA(D24_MARK, PSA15_PSA14_FN1, PTB0_FN),
589077365a9SGeert Uytterhoeven 	PINMUX_DATA(KEYOUT3_MARK, PSA15_PSA14_FN2, PTB0_FN),
590077365a9SGeert Uytterhoeven 
591077365a9SGeert Uytterhoeven 	/* PTC FN */
592077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED15_MARK, PSA11_PSA10_FN1, PTC7_FN),
593077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1CD_MARK, PSA11_PSA10_FN2, PTC7_FN),
594077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED14_MARK, PSA11_PSA10_FN1, PTC6_FN),
595077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1WP_MARK, PSA11_PSA10_FN2, PTC6_FN),
596077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED13_MARK, PSA11_PSA10_FN1, PTC5_FN),
597077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1D3_MARK, PSA11_PSA10_FN2, PTC5_FN),
598077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED12_MARK, PSA11_PSA10_FN1, PTC4_FN),
599077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1D2_MARK, PSA11_PSA10_FN2, PTC4_FN),
600077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED11_MARK, PSA11_PSA10_FN1, PTC3_FN),
601077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1D1_MARK, PSA11_PSA10_FN2, PTC3_FN),
602077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED10_MARK, PSA11_PSA10_FN1, PTC2_FN),
603077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1D0_MARK, PSA11_PSA10_FN2, PTC2_FN),
604077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED9_MARK, PSA11_PSA10_FN1, PTC1_FN),
605077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1CMD_MARK, PSA11_PSA10_FN2, PTC1_FN),
606077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED8_MARK, PSA11_PSA10_FN1, PTC0_FN),
607077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI1CLK_MARK, PSA11_PSA10_FN2, PTC0_FN),
608077365a9SGeert Uytterhoeven 
609077365a9SGeert Uytterhoeven 	/* PTD FN */
610077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED7_MARK, PSA11_PSA10_FN1, PTD7_FN),
611077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CD_PTD_MARK, PSA11_PSA10_FN2, PTD7_FN),
612077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED6_MARK, PSA11_PSA10_FN1, PTD6_FN),
613077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0WP_PTD_MARK, PSA11_PSA10_FN2, PTD6_FN),
614077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED5_MARK, PSA11_PSA10_FN1, PTD5_FN),
615077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D3_PTD_MARK, PSA11_PSA10_FN2, PTD5_FN),
616077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED4_MARK, PSA11_PSA10_FN1, PTD4_FN),
617077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D2_PTD_MARK, PSA11_PSA10_FN2, PTD4_FN),
618077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED3_MARK, PSA11_PSA10_FN1, PTD3_FN),
619077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D1_PTD_MARK, PSA11_PSA10_FN2, PTD3_FN),
620077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED2_MARK, PSA11_PSA10_FN1, PTD2_FN),
621077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D0_PTD_MARK, PSA11_PSA10_FN2, PTD2_FN),
622077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED1_MARK, PSA11_PSA10_FN1, PTD1_FN),
623077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CMD_PTD_MARK, PSA11_PSA10_FN2, PTD1_FN),
624077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDED0_MARK, PSA11_PSA10_FN1, PTD0_FN),
625077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CLK_PTD_MARK, PSA11_PSA10_FN2, PTD0_FN),
626077365a9SGeert Uytterhoeven 
627077365a9SGeert Uytterhoeven 	/* PTE FN */
628077365a9SGeert Uytterhoeven 	PINMUX_DATA(DIRECTION_MARK, PSA11_PSA10_FN1, PTE5_FN),
629077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTE_SCK_MARK, PSA11_PSA10_FN2, PTE5_FN),
630077365a9SGeert Uytterhoeven 	PINMUX_DATA(EXBUF_ENB_MARK, PSA11_PSA10_FN1, PTE4_FN),
631077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTE_RXD_MARK, PSA11_PSA10_FN2, PTE4_FN),
632077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDERST_MARK, PSA11_PSA10_FN1, PTE3_FN),
633077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTE_TXD_MARK, PSA11_PSA10_FN2, PTE3_FN),
634077365a9SGeert Uytterhoeven 	PINMUX_DATA(IODACK_MARK, PSA11_PSA10_FN1, PTE2_FN),
635077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTE_SCK_MARK, PSA11_PSA10_FN2, PTE2_FN),
636077365a9SGeert Uytterhoeven 	PINMUX_DATA(IODREQ_MARK, PSA11_PSA10_FN1, PTE1_FN),
637077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTE_RXD_MARK, PSA11_PSA10_FN2, PTE1_FN),
638077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEIORDY_MARK, PSA11_PSA10_FN1, PTE0_FN),
639077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTE_TXD_MARK, PSA11_PSA10_FN2, PTE0_FN),
640077365a9SGeert Uytterhoeven 
641077365a9SGeert Uytterhoeven 	/* PTF FN */
642077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEINT_MARK, PTF7_FN),
643077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEIOWR_MARK, PSA5_PSA4_FN1, PTF6_FN),
644077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_SS2_MARK, PSA5_PSA4_FN2, PTF6_FN),
645077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_RSYNC_MARK, PSA5_PSA4_FN3, PTF6_FN),
646077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEIORD_MARK, PSA5_PSA4_FN1, PTF5_FN),
647077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_SS1_MARK, PSA5_PSA4_FN2, PTF5_FN),
648077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_RSCK_MARK, PSA5_PSA4_FN3, PTF5_FN),
649077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDECS1_MARK, PSA11_PSA10_FN1, PTF4_FN),
650077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_TSYNC_MARK, PSA11_PSA10_FN2, PTF4_FN),
651077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDECS0_MARK, PSA11_PSA10_FN1, PTF3_FN),
652077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_TSCK_MARK, PSA11_PSA10_FN2, PTF3_FN),
653077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEA2_MARK, PSA11_PSA10_FN1, PTF2_FN),
654077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_RXD_MARK, PSA11_PSA10_FN2, PTF2_FN),
655077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEA1_MARK, PSA11_PSA10_FN1, PTF1_FN),
656077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_TXD_MARK, PSA11_PSA10_FN2, PTF1_FN),
657077365a9SGeert Uytterhoeven 	PINMUX_DATA(IDEA0_MARK, PSA11_PSA10_FN1, PTF0_FN),
658077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTF_MCK_MARK, PSA11_PSA10_FN2, PTF0_FN),
659077365a9SGeert Uytterhoeven 
660077365a9SGeert Uytterhoeven 	/* PTG FN */
661077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDCK_MARK, PTG5_FN),
662077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDSYNC_MARK, PTG4_FN),
663077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDATA3_MARK, PSA3_PSA2_FN1, PTG3_FN),
664077365a9SGeert Uytterhoeven 	PINMUX_DATA(TPUTO3_MARK, PSA3_PSA2_FN2, PTG3_FN),
665077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDATA2_MARK, PSA3_PSA2_FN1, PTG2_FN),
666077365a9SGeert Uytterhoeven 	PINMUX_DATA(TPUTO2_MARK, PSA3_PSA2_FN2, PTG2_FN),
667077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDATA1_MARK, PSA3_PSA2_FN1, PTG1_FN),
668077365a9SGeert Uytterhoeven 	PINMUX_DATA(TPUTO1_MARK, PSA3_PSA2_FN2, PTG1_FN),
669077365a9SGeert Uytterhoeven 	PINMUX_DATA(AUDATA0_MARK, PSA3_PSA2_FN1, PTG0_FN),
670077365a9SGeert Uytterhoeven 	PINMUX_DATA(TPUTO0_MARK, PSA3_PSA2_FN2, PTG0_FN),
671077365a9SGeert Uytterhoeven 
672077365a9SGeert Uytterhoeven 	/* PTG FN */
673077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDVCPWC_MARK, PTH7_FN),
674077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDRD_MARK, PSB15_PSB14_FN1, PTH6_FN),
675077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_CLKI_MARK, PSB15_PSB14_FN2, PTH6_FN),
676077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDVSYN_MARK, PSB15_PSB14_FN1, PTH5_FN),
677077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_CLK_MARK, PSB15_PSB14_FN2, PTH5_FN),
678077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDDISP_MARK, PSB13_PSB12_LCDC_RGB, PTH4_FN),
679077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDRS_MARK, PSB13_PSB12_LCDC_SYS, PTH4_FN),
680077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDHSYN_MARK, PSB13_PSB12_LCDC_RGB, PTH3_FN),
681077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDCS_MARK, PSB13_PSB12_LCDC_SYS, PTH3_FN),
682077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDDON_MARK, PTH2_FN),
683077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDDCK_MARK, PSB13_PSB12_LCDC_RGB, PTH1_FN),
684077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDWR_MARK, PSB13_PSB12_LCDC_SYS, PTH1_FN),
685077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDVEPWC_MARK, PTH0_FN),
686077365a9SGeert Uytterhoeven 
687077365a9SGeert Uytterhoeven 	/* PTJ FN */
688077365a9SGeert Uytterhoeven 	PINMUX_DATA(STATUS0_MARK, PTJ7_FN),
689077365a9SGeert Uytterhoeven 	PINMUX_DATA(PDSTATUS_MARK, PTJ5_FN),
690077365a9SGeert Uytterhoeven 	PINMUX_DATA(A25_MARK, PTJ3_FN),
691077365a9SGeert Uytterhoeven 	PINMUX_DATA(A24_MARK, PTJ2_FN),
692077365a9SGeert Uytterhoeven 	PINMUX_DATA(A23_MARK, PTJ1_FN),
693077365a9SGeert Uytterhoeven 	PINMUX_DATA(A22_MARK, PTJ0_FN),
694077365a9SGeert Uytterhoeven 
695077365a9SGeert Uytterhoeven 	/* PTK FN */
696077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAFCK_MARK, PTK7_FN),
697077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAILR_MARK, PSB9_PSB8_FN1, PTK6_FN),
698077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_SS2_MARK, PSB9_PSB8_FN2, PTK6_FN),
699077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_RSYNC_MARK, PSB9_PSB8_FN3, PTK6_FN),
700077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAIBT_MARK, PSB9_PSB8_FN1, PTK5_FN),
701077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_SS1_MARK, PSB9_PSB8_FN2, PTK5_FN),
702077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_RSCK_MARK, PSB9_PSB8_FN3, PTK5_FN),
703077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAISLD_MARK, PSB7_PSB6_FN1, PTK4_FN),
704077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_RXD_MARK, PSB7_PSB6_FN2, PTK4_FN),
705077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAOLR_MARK, PSB7_PSB6_FN1, PTK3_FN),
706077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_TSYNC_MARK, PSB7_PSB6_FN2, PTK3_FN),
707077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAOBT_MARK, PSB7_PSB6_FN1, PTK2_FN),
708077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_TSCK_MARK, PSB7_PSB6_FN2, PTK2_FN),
709077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAOSLD_MARK, PSB7_PSB6_FN1, PTK1_FN),
710077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_RXD_MARK, PSB7_PSB6_FN2, PTK1_FN),
711077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAMCK_MARK, PSB7_PSB6_FN1, PTK0_FN),
712077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF1_MCK_MARK, PSB7_PSB6_FN2, PTK0_FN),
713077365a9SGeert Uytterhoeven 
714077365a9SGeert Uytterhoeven 	/* PTL FN */
715077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD15_MARK, PSB5_PSB4_FN1, PTL7_FN),
716077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D15_MARK, PSB5_PSB4_FN2, PTL7_FN),
717077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD14_MARK, PSB5_PSB4_FN1, PTL6_FN),
718077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D14_MARK, PSB5_PSB4_FN2, PTL6_FN),
719077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD13_MARK, PSB5_PSB4_FN1, PTL5_FN),
720077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D13_MARK, PSB5_PSB4_FN2, PTL5_FN),
721077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD12_MARK, PSB5_PSB4_FN1, PTL4_FN),
722077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D12_MARK, PSB5_PSB4_FN2, PTL4_FN),
723077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD11_MARK, PSB5_PSB4_FN1, PTL3_FN),
724077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D11_MARK, PSB5_PSB4_FN2, PTL3_FN),
725077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD10_MARK, PSB5_PSB4_FN1, PTL2_FN),
726077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D10_MARK, PSB5_PSB4_FN2, PTL2_FN),
727077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD9_MARK, PSB5_PSB4_FN1, PTL1_FN),
728077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D9_MARK, PSB5_PSB4_FN2, PTL1_FN),
729077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD8_MARK, PSB5_PSB4_FN1, PTL0_FN),
730077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D8_MARK, PSB5_PSB4_FN2, PTL0_FN),
731077365a9SGeert Uytterhoeven 
732077365a9SGeert Uytterhoeven 	/* PTM FN */
733077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD7_MARK, PSB5_PSB4_FN1, PTM7_FN),
734077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D7_MARK, PSB5_PSB4_FN2, PTM7_FN),
735077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD6_MARK, PSB5_PSB4_FN1, PTM6_FN),
736077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D6_MARK, PSB5_PSB4_FN2, PTM6_FN),
737077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD5_MARK, PSB5_PSB4_FN1, PTM5_FN),
738077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D5_MARK, PSB5_PSB4_FN2, PTM5_FN),
739077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD4_MARK, PSB5_PSB4_FN1, PTM4_FN),
740077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D4_MARK, PSB5_PSB4_FN2, PTM4_FN),
741077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD3_MARK, PSB5_PSB4_FN1, PTM3_FN),
742077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D3_MARK, PSB5_PSB4_FN2, PTM3_FN),
743077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD2_MARK, PSB5_PSB4_FN1, PTM2_FN),
744077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D2_MARK, PSB5_PSB4_FN2, PTM2_FN),
745077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD1_MARK, PSB5_PSB4_FN1, PTM1_FN),
746077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D1_MARK, PSB5_PSB4_FN2, PTM1_FN),
747077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD0_MARK, PSB5_PSB4_FN1, PTM0_FN),
748077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_D0_MARK, PSB5_PSB4_FN2, PTM0_FN),
749077365a9SGeert Uytterhoeven 
750077365a9SGeert Uytterhoeven 	/* PTN FN */
751077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD23_MARK, PSB3_PSB2_FN1, PTN7_FN),
752077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTN_SCK_MARK, PSB3_PSB2_FN2, PTN7_FN),
753077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD22_MARK, PSB3_PSB2_FN1, PTN6_FN),
754077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTN_RXD_MARK, PSB3_PSB2_FN2, PTN6_FN),
755077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD21_MARK, PSB3_PSB2_FN1, PTN5_FN),
756077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF5_PTN_TXD_MARK, PSB3_PSB2_FN2, PTN5_FN),
757077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD20_MARK, PSB3_PSB2_FN1, PTN4_FN),
758077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTN_SCK_MARK, PSB3_PSB2_FN2, PTN4_FN),
759077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD19_MARK, PSB3_PSB2_FN1, PTN3_FN),
760077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTN_RXD_MARK, PSB3_PSB2_FN2, PTN3_FN),
761077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD18_MARK, PSB3_PSB2_FN1, PTN2_FN),
762077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF4_PTN_TXD_MARK, PSB3_PSB2_FN2, PTN2_FN),
763077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD17_MARK, PSB5_PSB4_FN1, PTN1_FN),
764077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_VSYNC_MARK, PSB5_PSB4_FN2, PTN1_FN),
765077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDD16_MARK, PSB5_PSB4_FN1, PTN0_FN),
766077365a9SGeert Uytterhoeven 	PINMUX_DATA(DV_HSYNC_MARK, PSB5_PSB4_FN2, PTN0_FN),
767077365a9SGeert Uytterhoeven 
768077365a9SGeert Uytterhoeven 	/* PTQ FN */
769077365a9SGeert Uytterhoeven 	PINMUX_DATA(AN3_MARK, PTQ3_FN),
770077365a9SGeert Uytterhoeven 	PINMUX_DATA(AN2_MARK, PTQ2_FN),
771077365a9SGeert Uytterhoeven 	PINMUX_DATA(AN1_MARK, PTQ1_FN),
772077365a9SGeert Uytterhoeven 	PINMUX_DATA(AN0_MARK, PTQ0_FN),
773077365a9SGeert Uytterhoeven 
774077365a9SGeert Uytterhoeven 	/* PTR FN */
775077365a9SGeert Uytterhoeven 	PINMUX_DATA(CS6B_CE1B_MARK, PTR7_FN),
776077365a9SGeert Uytterhoeven 	PINMUX_DATA(CS6A_CE2B_MARK, PTR6_FN),
777077365a9SGeert Uytterhoeven 	PINMUX_DATA(CS5B_CE1A_MARK, PTR5_FN),
778077365a9SGeert Uytterhoeven 	PINMUX_DATA(CS5A_CE2A_MARK, PTR4_FN),
779077365a9SGeert Uytterhoeven 	PINMUX_DATA(IOIS16_MARK, PSA13_PSA12_FN1, PTR3_FN),
780077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDLCLK_PTR_MARK, PSA13_PSA12_FN2, PTR3_FN),
781077365a9SGeert Uytterhoeven 	PINMUX_DATA(WAIT_MARK, PTR2_FN),
782077365a9SGeert Uytterhoeven 	PINMUX_DATA(WE3_ICIOWR_MARK, PTR1_FN),
783077365a9SGeert Uytterhoeven 	PINMUX_DATA(WE2_ICIORD_MARK, PTR0_FN),
784077365a9SGeert Uytterhoeven 
785077365a9SGeert Uytterhoeven 	/* PTS FN */
786077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTS_SCK_MARK, PSC15_PSC14_FN1, PTS7_FN),
787077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CD_PTS_MARK, PSC15_PSC14_FN2, PTS7_FN),
788077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTS_RXD_MARK, PSC15_PSC14_FN1, PTS6_FN),
789077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0WP_PTS_MARK, PSC15_PSC14_FN2, PTS6_FN),
790077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTS_TXD_MARK, PSC15_PSC14_FN1, PTS5_FN),
791077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D3_PTS_MARK, PSC15_PSC14_FN2, PTS5_FN),
792077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTS_CTS_MARK, PSC15_PSC14_FN1, PTS4_FN),
793077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D2_PTS_MARK, PSC15_PSC14_FN2, PTS4_FN),
794077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTS_RTS_MARK, PSC15_PSC14_FN1, PTS3_FN),
795077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D1_PTS_MARK, PSC15_PSC14_FN2, PTS3_FN),
796077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTS_SCK_MARK, PSC15_PSC14_FN1, PTS2_FN),
797077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0D0_PTS_MARK, PSC15_PSC14_FN2, PTS2_FN),
798077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTS_RXD_MARK, PSC15_PSC14_FN1, PTS1_FN),
799077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CMD_PTS_MARK, PSC15_PSC14_FN2, PTS1_FN),
800077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTS_TXD_MARK, PSC15_PSC14_FN1, PTS0_FN),
801077365a9SGeert Uytterhoeven 	PINMUX_DATA(SDHI0CLK_PTS_MARK, PSC15_PSC14_FN2, PTS0_FN),
802077365a9SGeert Uytterhoeven 
803077365a9SGeert Uytterhoeven 	/* PTT FN */
804077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTT_SCK_MARK, PSC13_PSC12_FN1, PTT5_FN),
805077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_TSCK_MARK, PSC13_PSC12_FN2, PTT5_FN),
806077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTT_RXD_MARK, PSC13_PSC12_FN1, PTT4_FN),
807077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_RXD_MARK, PSC13_PSC12_FN2, PTT4_FN),
808077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTT_TXD_MARK, PSC13_PSC12_FN1, PTT3_FN),
809077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_TXD_MARK, PSC13_PSC12_FN2, PTT3_FN),
810077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTT_SCK_MARK, PSC11_PSC10_FN1, PTT2_FN),
811077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_TSYNC_MARK, PSC11_PSC10_FN2, PTT2_FN),
812077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTT_RXD_MARK, PSC11_PSC10_FN1, PTT1_FN),
813077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_SS1_MARK, PSC11_PSC10_FN2, PTT1_FN),
814077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_RSCK_MARK, PSC11_PSC10_FN3, PTT1_FN),
815077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTT_TXD_MARK, PSC11_PSC10_FN1, PTT0_FN),
816077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_SS2_MARK, PSC11_PSC10_FN2, PTT0_FN),
817077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTT_RSYNC_MARK, PSC11_PSC10_FN3, PTT0_FN),
818077365a9SGeert Uytterhoeven 
819077365a9SGeert Uytterhoeven 	/* PTU FN */
820077365a9SGeert Uytterhoeven 	PINMUX_DATA(FCDE_MARK, PSC9_PSC8_FN1, PTU5_FN),
821077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTU_SCK_MARK, PSC9_PSC8_FN2, PTU5_FN),
822077365a9SGeert Uytterhoeven 	PINMUX_DATA(FSC_MARK, PSC9_PSC8_FN1, PTU4_FN),
823077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTU_RXD_MARK, PSC9_PSC8_FN2, PTU4_FN),
824077365a9SGeert Uytterhoeven 	PINMUX_DATA(FWE_MARK, PSC9_PSC8_FN1, PTU3_FN),
825077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF0_PTU_TXD_MARK, PSC9_PSC8_FN2, PTU3_FN),
826077365a9SGeert Uytterhoeven 	PINMUX_DATA(FOE_MARK, PSC7_PSC6_FN1, PTU2_FN),
827077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTU_SCK_MARK, PSC7_PSC6_FN2, PTU2_FN),
828077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_VD2_MARK, PSC7_PSC6_FN3, PTU2_FN),
829077365a9SGeert Uytterhoeven 	PINMUX_DATA(FRB_MARK, PSC7_PSC6_FN1, PTU1_FN),
830077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTU_RXD_MARK, PSC7_PSC6_FN2, PTU1_FN),
831077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_CLK2_MARK, PSC7_PSC6_FN3, PTU1_FN),
832077365a9SGeert Uytterhoeven 	PINMUX_DATA(FCE_MARK, PSC7_PSC6_FN1, PTU0_FN),
833077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF2_PTU_TXD_MARK, PSC7_PSC6_FN2, PTU0_FN),
834077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_HD2_MARK, PSC7_PSC6_FN3, PTU0_FN),
835077365a9SGeert Uytterhoeven 
836077365a9SGeert Uytterhoeven 	/* PTV FN */
837077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF7_MARK, PSC7_PSC6_FN1, PTV7_FN),
838077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTV_SCK_MARK, PSC7_PSC6_FN2, PTV7_FN),
839077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D15_MARK, PSC7_PSC6_FN3, PTV7_FN),
840077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF6_MARK, PSC7_PSC6_FN1, PTV6_FN),
841077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTV_RXD_MARK, PSC7_PSC6_FN2, PTV6_FN),
842077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D14_MARK, PSC7_PSC6_FN3, PTV6_FN),
843077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF5_MARK, PSC7_PSC6_FN1, PTV5_FN),
844077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF1_PTV_TXD_MARK, PSC7_PSC6_FN2, PTV5_FN),
845077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D13_MARK, PSC7_PSC6_FN3, PTV5_FN),
846077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF4_MARK, PSC7_PSC6_FN1, PTV4_FN),
847077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTV_CTS_MARK, PSC7_PSC6_FN2, PTV4_FN),
848077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D12_MARK, PSC7_PSC6_FN3, PTV4_FN),
849077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF3_MARK, PSC7_PSC6_FN1, PTV3_FN),
850077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTV_RTS_MARK, PSC7_PSC6_FN2, PTV3_FN),
851077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D11_MARK, PSC7_PSC6_FN3, PTV3_FN),
852077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF2_MARK, PSC7_PSC6_FN1, PTV2_FN),
853077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTV_SCK_MARK, PSC7_PSC6_FN2, PTV2_FN),
854077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D10_MARK, PSC7_PSC6_FN3, PTV2_FN),
855077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF1_MARK, PSC7_PSC6_FN1, PTV1_FN),
856077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTV_RXD_MARK, PSC7_PSC6_FN2, PTV1_FN),
857077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D9_MARK, PSC7_PSC6_FN3, PTV1_FN),
858077365a9SGeert Uytterhoeven 	PINMUX_DATA(NAF0_MARK, PSC7_PSC6_FN1, PTV0_FN),
859077365a9SGeert Uytterhoeven 	PINMUX_DATA(SCIF3_PTV_TXD_MARK, PSC7_PSC6_FN2, PTV0_FN),
860077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D8_MARK, PSC7_PSC6_FN3, PTV0_FN),
861077365a9SGeert Uytterhoeven 
862077365a9SGeert Uytterhoeven 	/* PTW FN */
863077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ7_MARK, PTW7_FN),
864077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ6_MARK, PTW6_FN),
865077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ5_MARK, PTW5_FN),
866077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ4_MARK, PSD15_PSD14_FN1, PTW4_FN),
867077365a9SGeert Uytterhoeven 	PINMUX_DATA(LCDLCLK_PTW_MARK, PSD15_PSD14_FN2, PTW4_FN),
868077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ3_MARK, PSD13_PSD12_FN1, PTW3_FN),
869077365a9SGeert Uytterhoeven 	PINMUX_DATA(ADTRG_MARK, PSD13_PSD12_FN2, PTW3_FN),
870077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ2_MARK, PSD11_PSD10_FN1, PTW2_FN),
871077365a9SGeert Uytterhoeven 	PINMUX_DATA(BS_MARK, PSD11_PSD10_FN2, PTW2_FN),
872077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_CKO_MARK, PSD11_PSD10_FN3, PTW2_FN),
873077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ1_MARK, PSD9_PSD8_FN1, PTW1_FN),
874077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAISPD_MARK, PSD9_PSD8_FN2, PTW1_FN),
875077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRQ0_MARK, PSD7_PSD6_FN1, PTW0_FN),
876077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUAOSPD_MARK, PSD7_PSD6_FN2, PTW0_FN),
877077365a9SGeert Uytterhoeven 
878077365a9SGeert Uytterhoeven 	/* PTX FN */
879077365a9SGeert Uytterhoeven 	PINMUX_DATA(DACK1_MARK, PTX7_FN),
880077365a9SGeert Uytterhoeven 	PINMUX_DATA(DREQ1_MARK, PSD3_PSD2_FN1, PTX6_FN),
881077365a9SGeert Uytterhoeven 	PINMUX_DATA(MSIOF0_PTX_MCK_MARK, PSD3_PSD2_FN2, PTX6_FN),
882077365a9SGeert Uytterhoeven 	PINMUX_DATA(DACK1_MARK, PTX5_FN),
883077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRDA_OUT_MARK, PSD5_PSD4_FN2, PTX5_FN),
884077365a9SGeert Uytterhoeven 	PINMUX_DATA(DREQ1_MARK, PTX4_FN),
885077365a9SGeert Uytterhoeven 	PINMUX_DATA(IRDA_IN_MARK, PSD5_PSD4_FN2, PTX4_FN),
886077365a9SGeert Uytterhoeven 	PINMUX_DATA(TS0_SDAT_MARK, PTX3_FN),
887077365a9SGeert Uytterhoeven 	PINMUX_DATA(TS0_SCK_MARK, PTX2_FN),
888077365a9SGeert Uytterhoeven 	PINMUX_DATA(TS0_SDEN_MARK, PTX1_FN),
889077365a9SGeert Uytterhoeven 	PINMUX_DATA(TS0_SPSYNC_MARK, PTX0_FN),
890077365a9SGeert Uytterhoeven 
891077365a9SGeert Uytterhoeven 	/* PTY FN */
892077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D7_MARK, PTY7_FN),
893077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D6_MARK, PTY6_FN),
894077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D5_MARK, PTY5_FN),
895077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D4_MARK, PTY4_FN),
896077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D3_MARK, PTY3_FN),
897077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D2_MARK, PTY2_FN),
898077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D1_MARK, PTY1_FN),
899077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_D0_MARK, PTY0_FN),
900077365a9SGeert Uytterhoeven 
901077365a9SGeert Uytterhoeven 	/* PTZ FN */
902077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBOBT_MARK, PTZ7_FN),
903077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBOLR_MARK, PTZ6_FN),
904077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBOSLD_MARK, PTZ5_FN),
905077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBMCK_MARK, PTZ4_FN),
906077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_FLD_MARK, PSD1_PSD0_FN1, PTZ3_FN),
907077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBFCK_MARK, PSD1_PSD0_FN2, PTZ3_FN),
908077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_HD1_MARK, PSD1_PSD0_FN1, PTZ2_FN),
909077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBILR_MARK, PSD1_PSD0_FN2, PTZ2_FN),
910077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_VD1_MARK, PSD1_PSD0_FN1, PTZ1_FN),
911077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBIBT_MARK, PSD1_PSD0_FN2, PTZ1_FN),
912077365a9SGeert Uytterhoeven 	PINMUX_DATA(VIO_CLK1_MARK, PSD1_PSD0_FN1, PTZ0_FN),
913077365a9SGeert Uytterhoeven 	PINMUX_DATA(SIUBISLD_MARK, PSD1_PSD0_FN2, PTZ0_FN),
914077365a9SGeert Uytterhoeven };
915077365a9SGeert Uytterhoeven 
916077365a9SGeert Uytterhoeven static const struct sh_pfc_pin pinmux_pins[] = {
917077365a9SGeert Uytterhoeven 	/* PTA */
918077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA7),
919077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA6),
920077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA5),
921077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA4),
922077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA3),
923077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA2),
924077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA1),
925077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTA0),
926077365a9SGeert Uytterhoeven 
927077365a9SGeert Uytterhoeven 	/* PTB */
928077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB7),
929077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB6),
930077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB5),
931077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB4),
932077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB3),
933077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB2),
934077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB1),
935077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTB0),
936077365a9SGeert Uytterhoeven 
937077365a9SGeert Uytterhoeven 	/* PTC */
938077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC7),
939077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC6),
940077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC5),
941077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC4),
942077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC3),
943077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC2),
944077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC1),
945077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTC0),
946077365a9SGeert Uytterhoeven 
947077365a9SGeert Uytterhoeven 	/* PTD */
948077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD7),
949077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD6),
950077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD5),
951077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD4),
952077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD3),
953077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD2),
954077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD1),
955077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTD0),
956077365a9SGeert Uytterhoeven 
957077365a9SGeert Uytterhoeven 	/* PTE */
958077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE5),
959077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE4),
960077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE3),
961077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE2),
962077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE1),
963077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTE0),
964077365a9SGeert Uytterhoeven 
965077365a9SGeert Uytterhoeven 	/* PTF */
966077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF7),
967077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF6),
968077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF5),
969077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF4),
970077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF3),
971077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF2),
972077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF1),
973077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTF0),
974077365a9SGeert Uytterhoeven 
975077365a9SGeert Uytterhoeven 	/* PTG */
976077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG5),
977077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG4),
978077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG3),
979077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG2),
980077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG1),
981077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTG0),
982077365a9SGeert Uytterhoeven 
983077365a9SGeert Uytterhoeven 	/* PTH */
984077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH7),
985077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH6),
986077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH5),
987077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH4),
988077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH3),
989077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH2),
990077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH1),
991077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTH0),
992077365a9SGeert Uytterhoeven 
993077365a9SGeert Uytterhoeven 	/* PTJ */
994077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ7),
995077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ5),
996077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ3),
997077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ2),
998077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ1),
999077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTJ0),
1000077365a9SGeert Uytterhoeven 
1001077365a9SGeert Uytterhoeven 	/* PTK */
1002077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK7),
1003077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK6),
1004077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK5),
1005077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK4),
1006077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK3),
1007077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK2),
1008077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK1),
1009077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTK0),
1010077365a9SGeert Uytterhoeven 
1011077365a9SGeert Uytterhoeven 	/* PTL */
1012077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL7),
1013077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL6),
1014077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL5),
1015077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL4),
1016077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL3),
1017077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL2),
1018077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL1),
1019077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTL0),
1020077365a9SGeert Uytterhoeven 
1021077365a9SGeert Uytterhoeven 	/* PTM */
1022077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM7),
1023077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM6),
1024077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM5),
1025077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM4),
1026077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM3),
1027077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM2),
1028077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM1),
1029077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTM0),
1030077365a9SGeert Uytterhoeven 
1031077365a9SGeert Uytterhoeven 	/* PTN */
1032077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN7),
1033077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN6),
1034077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN5),
1035077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN4),
1036077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN3),
1037077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN2),
1038077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN1),
1039077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTN0),
1040077365a9SGeert Uytterhoeven 
1041077365a9SGeert Uytterhoeven 	/* PTQ */
1042077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTQ3),
1043077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTQ2),
1044077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTQ1),
1045077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTQ0),
1046077365a9SGeert Uytterhoeven 
1047077365a9SGeert Uytterhoeven 	/* PTR */
1048077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR7),
1049077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR6),
1050077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR5),
1051077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR4),
1052077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR3),
1053077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR2),
1054077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR1),
1055077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTR0),
1056077365a9SGeert Uytterhoeven 
1057077365a9SGeert Uytterhoeven 	/* PTS */
1058077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS7),
1059077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS6),
1060077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS5),
1061077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS4),
1062077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS3),
1063077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS2),
1064077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS1),
1065077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTS0),
1066077365a9SGeert Uytterhoeven 
1067077365a9SGeert Uytterhoeven 	/* PTT */
1068077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT5),
1069077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT4),
1070077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT3),
1071077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT2),
1072077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT1),
1073077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTT0),
1074077365a9SGeert Uytterhoeven 
1075077365a9SGeert Uytterhoeven 	/* PTU */
1076077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU5),
1077077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU4),
1078077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU3),
1079077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU2),
1080077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU1),
1081077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTU0),
1082077365a9SGeert Uytterhoeven 
1083077365a9SGeert Uytterhoeven 	/* PTV */
1084077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV7),
1085077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV6),
1086077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV5),
1087077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV4),
1088077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV3),
1089077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV2),
1090077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV1),
1091077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTV0),
1092077365a9SGeert Uytterhoeven 
1093077365a9SGeert Uytterhoeven 	/* PTW */
1094077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW7),
1095077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW6),
1096077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW5),
1097077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW4),
1098077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW3),
1099077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW2),
1100077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW1),
1101077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTW0),
1102077365a9SGeert Uytterhoeven 
1103077365a9SGeert Uytterhoeven 	/* PTX */
1104077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX7),
1105077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX6),
1106077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX5),
1107077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX4),
1108077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX3),
1109077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX2),
1110077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX1),
1111077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTX0),
1112077365a9SGeert Uytterhoeven 
1113077365a9SGeert Uytterhoeven 	/* PTY */
1114077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY7),
1115077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY6),
1116077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY5),
1117077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY4),
1118077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY3),
1119077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY2),
1120077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY1),
1121077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTY0),
1122077365a9SGeert Uytterhoeven 
1123077365a9SGeert Uytterhoeven 	/* PTZ */
1124077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ7),
1125077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ6),
1126077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ5),
1127077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ4),
1128077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ3),
1129077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ2),
1130077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ1),
1131077365a9SGeert Uytterhoeven 	PINMUX_GPIO(PTZ0),
1132077365a9SGeert Uytterhoeven };
1133077365a9SGeert Uytterhoeven 
1134077365a9SGeert Uytterhoeven #define PINMUX_FN_BASE	ARRAY_SIZE(pinmux_pins)
1135077365a9SGeert Uytterhoeven 
1136077365a9SGeert Uytterhoeven static const struct pinmux_func pinmux_func_gpios[] = {
1137077365a9SGeert Uytterhoeven 	/* SCIF0 */
1138077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTT_TXD),
1139077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTT_RXD),
1140077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTT_SCK),
1141077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTU_TXD),
1142077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTU_RXD),
1143077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF0_PTU_SCK),
1144077365a9SGeert Uytterhoeven 
1145077365a9SGeert Uytterhoeven 	/* SCIF1 */
1146077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTS_TXD),
1147077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTS_RXD),
1148077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTS_SCK),
1149077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTV_TXD),
1150077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTV_RXD),
1151077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF1_PTV_SCK),
1152077365a9SGeert Uytterhoeven 
1153077365a9SGeert Uytterhoeven 	/* SCIF2 */
1154077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTT_TXD),
1155077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTT_RXD),
1156077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTT_SCK),
1157077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTU_TXD),
1158077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTU_RXD),
1159077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF2_PTU_SCK),
1160077365a9SGeert Uytterhoeven 
1161077365a9SGeert Uytterhoeven 	/* SCIF3 */
1162077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTS_TXD),
1163077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTS_RXD),
1164077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTS_SCK),
1165077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTS_RTS),
1166077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTS_CTS),
1167077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTV_TXD),
1168077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTV_RXD),
1169077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTV_SCK),
1170077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTV_RTS),
1171077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF3_PTV_CTS),
1172077365a9SGeert Uytterhoeven 
1173077365a9SGeert Uytterhoeven 	/* SCIF4 */
1174077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTE_TXD),
1175077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTE_RXD),
1176077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTE_SCK),
1177077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTN_TXD),
1178077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTN_RXD),
1179077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF4_PTN_SCK),
1180077365a9SGeert Uytterhoeven 
1181077365a9SGeert Uytterhoeven 	/* SCIF5 */
1182077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTE_TXD),
1183077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTE_RXD),
1184077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTE_SCK),
1185077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTN_TXD),
1186077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTN_RXD),
1187077365a9SGeert Uytterhoeven 	GPIO_FN(SCIF5_PTN_SCK),
1188077365a9SGeert Uytterhoeven 
1189077365a9SGeert Uytterhoeven 	/* CEU */
1190077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D15),
1191077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D14),
1192077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D13),
1193077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D12),
1194077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D11),
1195077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D10),
1196077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D9),
1197077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D8),
1198077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D7),
1199077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D6),
1200077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D5),
1201077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D4),
1202077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D3),
1203077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D2),
1204077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D1),
1205077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_D0),
1206077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_CLK1),
1207077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_VD1),
1208077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_HD1),
1209077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_FLD),
1210077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_CKO),
1211077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_VD2),
1212077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_HD2),
1213077365a9SGeert Uytterhoeven 	GPIO_FN(VIO_CLK2),
1214077365a9SGeert Uytterhoeven 
1215077365a9SGeert Uytterhoeven 	/* LCDC */
1216077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD23),
1217077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD22),
1218077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD21),
1219077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD20),
1220077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD19),
1221077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD18),
1222077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD17),
1223077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD16),
1224077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD15),
1225077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD14),
1226077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD13),
1227077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD12),
1228077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD11),
1229077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD10),
1230077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD9),
1231077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD8),
1232077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD7),
1233077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD6),
1234077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD5),
1235077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD4),
1236077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD3),
1237077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD2),
1238077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD1),
1239077365a9SGeert Uytterhoeven 	GPIO_FN(LCDD0),
1240077365a9SGeert Uytterhoeven 	GPIO_FN(LCDLCLK_PTR),
1241077365a9SGeert Uytterhoeven 	GPIO_FN(LCDLCLK_PTW),
1242077365a9SGeert Uytterhoeven 	/* Main LCD */
1243077365a9SGeert Uytterhoeven 	GPIO_FN(LCDDON),
1244077365a9SGeert Uytterhoeven 	GPIO_FN(LCDVCPWC),
1245077365a9SGeert Uytterhoeven 	GPIO_FN(LCDVEPWC),
1246077365a9SGeert Uytterhoeven 	GPIO_FN(LCDVSYN),
1247077365a9SGeert Uytterhoeven 	/* Main LCD - RGB Mode */
1248077365a9SGeert Uytterhoeven 	GPIO_FN(LCDDCK),
1249077365a9SGeert Uytterhoeven 	GPIO_FN(LCDHSYN),
1250077365a9SGeert Uytterhoeven 	GPIO_FN(LCDDISP),
1251077365a9SGeert Uytterhoeven 	/* Main LCD - SYS Mode */
1252077365a9SGeert Uytterhoeven 	GPIO_FN(LCDRS),
1253077365a9SGeert Uytterhoeven 	GPIO_FN(LCDCS),
1254077365a9SGeert Uytterhoeven 	GPIO_FN(LCDWR),
1255077365a9SGeert Uytterhoeven 	GPIO_FN(LCDRD),
1256077365a9SGeert Uytterhoeven 
1257077365a9SGeert Uytterhoeven 	/* IRQ */
1258077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ0),
1259077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ1),
1260077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ2),
1261077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ3),
1262077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ4),
1263077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ5),
1264077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ6),
1265077365a9SGeert Uytterhoeven 	GPIO_FN(IRQ7),
1266077365a9SGeert Uytterhoeven 
1267077365a9SGeert Uytterhoeven 	/* AUD */
1268077365a9SGeert Uytterhoeven 	GPIO_FN(AUDCK),
1269077365a9SGeert Uytterhoeven 	GPIO_FN(AUDSYNC),
1270077365a9SGeert Uytterhoeven 	GPIO_FN(AUDATA3),
1271077365a9SGeert Uytterhoeven 	GPIO_FN(AUDATA2),
1272077365a9SGeert Uytterhoeven 	GPIO_FN(AUDATA1),
1273077365a9SGeert Uytterhoeven 	GPIO_FN(AUDATA0),
1274077365a9SGeert Uytterhoeven 
1275077365a9SGeert Uytterhoeven 	/* SDHI0 (PTD) */
1276077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CD_PTD),
1277077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0WP_PTD),
1278077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D3_PTD),
1279077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D2_PTD),
1280077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D1_PTD),
1281077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D0_PTD),
1282077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CMD_PTD),
1283077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CLK_PTD),
1284077365a9SGeert Uytterhoeven 
1285077365a9SGeert Uytterhoeven 	/* SDHI0 (PTS) */
1286077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CD_PTS),
1287077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0WP_PTS),
1288077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D3_PTS),
1289077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D2_PTS),
1290077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D1_PTS),
1291077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0D0_PTS),
1292077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CMD_PTS),
1293077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI0CLK_PTS),
1294077365a9SGeert Uytterhoeven 
1295077365a9SGeert Uytterhoeven 	/* SDHI1 */
1296077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1CD),
1297077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1WP),
1298077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1D3),
1299077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1D2),
1300077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1D1),
1301077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1D0),
1302077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1CMD),
1303077365a9SGeert Uytterhoeven 	GPIO_FN(SDHI1CLK),
1304077365a9SGeert Uytterhoeven 
1305077365a9SGeert Uytterhoeven 	/* SIUA */
1306077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAFCK),
1307077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAILR),
1308077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAIBT),
1309077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAISLD),
1310077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAOLR),
1311077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAOBT),
1312077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAOSLD),
1313077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAMCK),
1314077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAISPD),
1315077365a9SGeert Uytterhoeven 	GPIO_FN(SIUAOSPD),
1316077365a9SGeert Uytterhoeven 
1317077365a9SGeert Uytterhoeven 	/* SIUB */
1318077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBFCK),
1319077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBILR),
1320077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBIBT),
1321077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBISLD),
1322077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBOLR),
1323077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBOBT),
1324077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBOSLD),
1325077365a9SGeert Uytterhoeven 	GPIO_FN(SIUBMCK),
1326077365a9SGeert Uytterhoeven 
1327077365a9SGeert Uytterhoeven 	/* IRDA */
1328077365a9SGeert Uytterhoeven 	GPIO_FN(IRDA_IN),
1329077365a9SGeert Uytterhoeven 	GPIO_FN(IRDA_OUT),
1330077365a9SGeert Uytterhoeven 
1331077365a9SGeert Uytterhoeven 	/* VOU */
1332077365a9SGeert Uytterhoeven 	GPIO_FN(DV_CLKI),
1333077365a9SGeert Uytterhoeven 	GPIO_FN(DV_CLK),
1334077365a9SGeert Uytterhoeven 	GPIO_FN(DV_HSYNC),
1335077365a9SGeert Uytterhoeven 	GPIO_FN(DV_VSYNC),
1336077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D15),
1337077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D14),
1338077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D13),
1339077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D12),
1340077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D11),
1341077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D10),
1342077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D9),
1343077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D8),
1344077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D7),
1345077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D6),
1346077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D5),
1347077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D4),
1348077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D3),
1349077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D2),
1350077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D1),
1351077365a9SGeert Uytterhoeven 	GPIO_FN(DV_D0),
1352077365a9SGeert Uytterhoeven 
1353077365a9SGeert Uytterhoeven 	/* KEYSC */
1354077365a9SGeert Uytterhoeven 	GPIO_FN(KEYIN0),
1355077365a9SGeert Uytterhoeven 	GPIO_FN(KEYIN1),
1356077365a9SGeert Uytterhoeven 	GPIO_FN(KEYIN2),
1357077365a9SGeert Uytterhoeven 	GPIO_FN(KEYIN3),
1358077365a9SGeert Uytterhoeven 	GPIO_FN(KEYIN4),
1359077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT0),
1360077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT1),
1361077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT2),
1362077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT3),
1363077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT4_IN6),
1364077365a9SGeert Uytterhoeven 	GPIO_FN(KEYOUT5_IN5),
1365077365a9SGeert Uytterhoeven 
1366077365a9SGeert Uytterhoeven 	/* MSIOF0 (PTF) */
1367077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_TXD),
1368077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_RXD),
1369077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_MCK),
1370077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_TSYNC),
1371077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_TSCK),
1372077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_RSYNC),
1373077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_RSCK),
1374077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_SS1),
1375077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTF_SS2),
1376077365a9SGeert Uytterhoeven 
1377077365a9SGeert Uytterhoeven 	/* MSIOF0 (PTT+PTX) */
1378077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_TXD),
1379077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_RXD),
1380077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTX_MCK),
1381077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_TSYNC),
1382077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_TSCK),
1383077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_RSYNC),
1384077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_RSCK),
1385077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_SS1),
1386077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF0_PTT_SS2),
1387077365a9SGeert Uytterhoeven 
1388077365a9SGeert Uytterhoeven 	/* MSIOF1 */
1389077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_TXD),
1390077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_RXD),
1391077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_MCK),
1392077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_TSYNC),
1393077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_TSCK),
1394077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_RSYNC),
1395077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_RSCK),
1396077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_SS1),
1397077365a9SGeert Uytterhoeven 	GPIO_FN(MSIOF1_SS2),
1398077365a9SGeert Uytterhoeven 
1399077365a9SGeert Uytterhoeven 	/* TSIF */
1400077365a9SGeert Uytterhoeven 	GPIO_FN(TS0_SDAT),
1401077365a9SGeert Uytterhoeven 	GPIO_FN(TS0_SCK),
1402077365a9SGeert Uytterhoeven 	GPIO_FN(TS0_SDEN),
1403077365a9SGeert Uytterhoeven 	GPIO_FN(TS0_SPSYNC),
1404077365a9SGeert Uytterhoeven 
1405077365a9SGeert Uytterhoeven 	/* FLCTL */
1406077365a9SGeert Uytterhoeven 	GPIO_FN(FCE),
1407077365a9SGeert Uytterhoeven 	GPIO_FN(NAF7),
1408077365a9SGeert Uytterhoeven 	GPIO_FN(NAF6),
1409077365a9SGeert Uytterhoeven 	GPIO_FN(NAF5),
1410077365a9SGeert Uytterhoeven 	GPIO_FN(NAF4),
1411077365a9SGeert Uytterhoeven 	GPIO_FN(NAF3),
1412077365a9SGeert Uytterhoeven 	GPIO_FN(NAF2),
1413077365a9SGeert Uytterhoeven 	GPIO_FN(NAF1),
1414077365a9SGeert Uytterhoeven 	GPIO_FN(NAF0),
1415077365a9SGeert Uytterhoeven 	GPIO_FN(FCDE),
1416077365a9SGeert Uytterhoeven 	GPIO_FN(FOE),
1417077365a9SGeert Uytterhoeven 	GPIO_FN(FSC),
1418077365a9SGeert Uytterhoeven 	GPIO_FN(FWE),
1419077365a9SGeert Uytterhoeven 	GPIO_FN(FRB),
1420077365a9SGeert Uytterhoeven 
1421077365a9SGeert Uytterhoeven 	/* DMAC */
1422077365a9SGeert Uytterhoeven 	GPIO_FN(DACK1),
1423077365a9SGeert Uytterhoeven 	GPIO_FN(DREQ1),
1424077365a9SGeert Uytterhoeven 	GPIO_FN(DACK0),
1425077365a9SGeert Uytterhoeven 	GPIO_FN(DREQ0),
1426077365a9SGeert Uytterhoeven 
1427077365a9SGeert Uytterhoeven 	/* ADC */
1428077365a9SGeert Uytterhoeven 	GPIO_FN(AN3),
1429077365a9SGeert Uytterhoeven 	GPIO_FN(AN2),
1430077365a9SGeert Uytterhoeven 	GPIO_FN(AN1),
1431077365a9SGeert Uytterhoeven 	GPIO_FN(AN0),
1432077365a9SGeert Uytterhoeven 	GPIO_FN(ADTRG),
1433077365a9SGeert Uytterhoeven 
1434077365a9SGeert Uytterhoeven 	/* CPG */
1435077365a9SGeert Uytterhoeven 	GPIO_FN(STATUS0),
1436077365a9SGeert Uytterhoeven 	GPIO_FN(PDSTATUS),
1437077365a9SGeert Uytterhoeven 
1438077365a9SGeert Uytterhoeven 	/* TPU */
1439077365a9SGeert Uytterhoeven 	GPIO_FN(TPUTO0),
1440077365a9SGeert Uytterhoeven 	GPIO_FN(TPUTO1),
1441077365a9SGeert Uytterhoeven 	GPIO_FN(TPUTO2),
1442077365a9SGeert Uytterhoeven 	GPIO_FN(TPUTO3),
1443077365a9SGeert Uytterhoeven 
1444077365a9SGeert Uytterhoeven 	/* BSC */
1445077365a9SGeert Uytterhoeven 	GPIO_FN(D31),
1446077365a9SGeert Uytterhoeven 	GPIO_FN(D30),
1447077365a9SGeert Uytterhoeven 	GPIO_FN(D29),
1448077365a9SGeert Uytterhoeven 	GPIO_FN(D28),
1449077365a9SGeert Uytterhoeven 	GPIO_FN(D27),
1450077365a9SGeert Uytterhoeven 	GPIO_FN(D26),
1451077365a9SGeert Uytterhoeven 	GPIO_FN(D25),
1452077365a9SGeert Uytterhoeven 	GPIO_FN(D24),
1453077365a9SGeert Uytterhoeven 	GPIO_FN(D23),
1454077365a9SGeert Uytterhoeven 	GPIO_FN(D22),
1455077365a9SGeert Uytterhoeven 	GPIO_FN(D21),
1456077365a9SGeert Uytterhoeven 	GPIO_FN(D20),
1457077365a9SGeert Uytterhoeven 	GPIO_FN(D19),
1458077365a9SGeert Uytterhoeven 	GPIO_FN(D18),
1459077365a9SGeert Uytterhoeven 	GPIO_FN(D17),
1460077365a9SGeert Uytterhoeven 	GPIO_FN(D16),
1461077365a9SGeert Uytterhoeven 	GPIO_FN(IOIS16),
1462077365a9SGeert Uytterhoeven 	GPIO_FN(WAIT),
1463077365a9SGeert Uytterhoeven 	GPIO_FN(BS),
1464077365a9SGeert Uytterhoeven 	GPIO_FN(A25),
1465077365a9SGeert Uytterhoeven 	GPIO_FN(A24),
1466077365a9SGeert Uytterhoeven 	GPIO_FN(A23),
1467077365a9SGeert Uytterhoeven 	GPIO_FN(A22),
1468077365a9SGeert Uytterhoeven 	GPIO_FN(CS6B_CE1B),
1469077365a9SGeert Uytterhoeven 	GPIO_FN(CS6A_CE2B),
1470077365a9SGeert Uytterhoeven 	GPIO_FN(CS5B_CE1A),
1471077365a9SGeert Uytterhoeven 	GPIO_FN(CS5A_CE2A),
1472077365a9SGeert Uytterhoeven 	GPIO_FN(WE3_ICIOWR),
1473077365a9SGeert Uytterhoeven 	GPIO_FN(WE2_ICIORD),
1474077365a9SGeert Uytterhoeven 
1475077365a9SGeert Uytterhoeven 	/* ATAPI */
1476077365a9SGeert Uytterhoeven 	GPIO_FN(IDED15),
1477077365a9SGeert Uytterhoeven 	GPIO_FN(IDED14),
1478077365a9SGeert Uytterhoeven 	GPIO_FN(IDED13),
1479077365a9SGeert Uytterhoeven 	GPIO_FN(IDED12),
1480077365a9SGeert Uytterhoeven 	GPIO_FN(IDED11),
1481077365a9SGeert Uytterhoeven 	GPIO_FN(IDED10),
1482077365a9SGeert Uytterhoeven 	GPIO_FN(IDED9),
1483077365a9SGeert Uytterhoeven 	GPIO_FN(IDED8),
1484077365a9SGeert Uytterhoeven 	GPIO_FN(IDED7),
1485077365a9SGeert Uytterhoeven 	GPIO_FN(IDED6),
1486077365a9SGeert Uytterhoeven 	GPIO_FN(IDED5),
1487077365a9SGeert Uytterhoeven 	GPIO_FN(IDED4),
1488077365a9SGeert Uytterhoeven 	GPIO_FN(IDED3),
1489077365a9SGeert Uytterhoeven 	GPIO_FN(IDED2),
1490077365a9SGeert Uytterhoeven 	GPIO_FN(IDED1),
1491077365a9SGeert Uytterhoeven 	GPIO_FN(IDED0),
1492077365a9SGeert Uytterhoeven 	GPIO_FN(DIRECTION),
1493077365a9SGeert Uytterhoeven 	GPIO_FN(EXBUF_ENB),
1494077365a9SGeert Uytterhoeven 	GPIO_FN(IDERST),
1495077365a9SGeert Uytterhoeven 	GPIO_FN(IODACK),
1496077365a9SGeert Uytterhoeven 	GPIO_FN(IODREQ),
1497077365a9SGeert Uytterhoeven 	GPIO_FN(IDEIORDY),
1498077365a9SGeert Uytterhoeven 	GPIO_FN(IDEINT),
1499077365a9SGeert Uytterhoeven 	GPIO_FN(IDEIOWR),
1500077365a9SGeert Uytterhoeven 	GPIO_FN(IDEIORD),
1501077365a9SGeert Uytterhoeven 	GPIO_FN(IDECS1),
1502077365a9SGeert Uytterhoeven 	GPIO_FN(IDECS0),
1503077365a9SGeert Uytterhoeven 	GPIO_FN(IDEA2),
1504077365a9SGeert Uytterhoeven 	GPIO_FN(IDEA1),
1505077365a9SGeert Uytterhoeven 	GPIO_FN(IDEA0),
1506077365a9SGeert Uytterhoeven };
1507077365a9SGeert Uytterhoeven 
1508077365a9SGeert Uytterhoeven static const struct pinmux_cfg_reg pinmux_config_regs[] = {
1509077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PACR", 0xa4050100, 16, 2, GROUP(
1510077365a9SGeert Uytterhoeven 		PTA7_FN, PTA7_OUT, 0, PTA7_IN,
1511077365a9SGeert Uytterhoeven 		PTA6_FN, PTA6_OUT, 0, PTA6_IN,
1512077365a9SGeert Uytterhoeven 		PTA5_FN, PTA5_OUT, 0, PTA5_IN,
1513077365a9SGeert Uytterhoeven 		PTA4_FN, PTA4_OUT, 0, PTA4_IN,
1514077365a9SGeert Uytterhoeven 		PTA3_FN, PTA3_OUT, 0, PTA3_IN,
1515077365a9SGeert Uytterhoeven 		PTA2_FN, PTA2_OUT, 0, PTA2_IN,
1516077365a9SGeert Uytterhoeven 		PTA1_FN, PTA1_OUT, 0, PTA1_IN,
1517077365a9SGeert Uytterhoeven 		PTA0_FN, PTA0_OUT, 0, PTA0_IN ))
1518077365a9SGeert Uytterhoeven 	},
1519077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PBCR", 0xa4050102, 16, 2, GROUP(
1520077365a9SGeert Uytterhoeven 		PTB7_FN, PTB7_OUT, 0, PTB7_IN,
1521077365a9SGeert Uytterhoeven 		PTB6_FN, PTB6_OUT, 0, PTB6_IN,
1522077365a9SGeert Uytterhoeven 		PTB5_FN, PTB5_OUT, 0, PTB5_IN,
1523077365a9SGeert Uytterhoeven 		PTB4_FN, PTB4_OUT, 0, PTB4_IN,
1524077365a9SGeert Uytterhoeven 		PTB3_FN, PTB3_OUT, 0, PTB3_IN,
1525077365a9SGeert Uytterhoeven 		PTB2_FN, PTB2_OUT, 0, PTB2_IN,
1526077365a9SGeert Uytterhoeven 		PTB1_FN, PTB1_OUT, 0, PTB1_IN,
1527077365a9SGeert Uytterhoeven 		PTB0_FN, PTB0_OUT, 0, PTB0_IN ))
1528077365a9SGeert Uytterhoeven 	},
1529077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PCCR", 0xa4050104, 16, 2, GROUP(
1530077365a9SGeert Uytterhoeven 		PTC7_FN, PTC7_OUT, 0, PTC7_IN,
1531077365a9SGeert Uytterhoeven 		PTC6_FN, PTC6_OUT, 0, PTC6_IN,
1532077365a9SGeert Uytterhoeven 		PTC5_FN, PTC5_OUT, 0, PTC5_IN,
1533077365a9SGeert Uytterhoeven 		PTC4_FN, PTC4_OUT, 0, PTC4_IN,
1534077365a9SGeert Uytterhoeven 		PTC3_FN, PTC3_OUT, 0, PTC3_IN,
1535077365a9SGeert Uytterhoeven 		PTC2_FN, PTC2_OUT, 0, PTC2_IN,
1536077365a9SGeert Uytterhoeven 		PTC1_FN, PTC1_OUT, 0, PTC1_IN,
1537077365a9SGeert Uytterhoeven 		PTC0_FN, PTC0_OUT, 0, PTC0_IN ))
1538077365a9SGeert Uytterhoeven 	},
1539077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PDCR", 0xa4050106, 16, 2, GROUP(
1540077365a9SGeert Uytterhoeven 		PTD7_FN, PTD7_OUT, 0, PTD7_IN,
1541077365a9SGeert Uytterhoeven 		PTD6_FN, PTD6_OUT, 0, PTD6_IN,
1542077365a9SGeert Uytterhoeven 		PTD5_FN, PTD5_OUT, 0, PTD5_IN,
1543077365a9SGeert Uytterhoeven 		PTD4_FN, PTD4_OUT, 0, PTD4_IN,
1544077365a9SGeert Uytterhoeven 		PTD3_FN, PTD3_OUT, 0, PTD3_IN,
1545077365a9SGeert Uytterhoeven 		PTD2_FN, PTD2_OUT, 0, PTD2_IN,
1546077365a9SGeert Uytterhoeven 		PTD1_FN, PTD1_OUT, 0, PTD1_IN,
1547077365a9SGeert Uytterhoeven 		PTD0_FN, PTD0_OUT, 0, PTD0_IN ))
1548077365a9SGeert Uytterhoeven 	},
154998edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PECR", 0xa4050108, 16,
155098edc79dSGeert Uytterhoeven 			     GROUP(-4, 2, 2, 2, 2, 2, 2),
155198edc79dSGeert Uytterhoeven 			     GROUP(
155298edc79dSGeert Uytterhoeven 		/* RESERVED [4] */
1553077365a9SGeert Uytterhoeven 		PTE5_FN, PTE5_OUT, 0, PTE5_IN,
1554077365a9SGeert Uytterhoeven 		PTE4_FN, PTE4_OUT, 0, PTE4_IN,
1555077365a9SGeert Uytterhoeven 		PTE3_FN, PTE3_OUT, 0, PTE3_IN,
1556077365a9SGeert Uytterhoeven 		PTE2_FN, PTE2_OUT, 0, PTE2_IN,
1557077365a9SGeert Uytterhoeven 		PTE1_FN, PTE1_OUT, 0, PTE1_IN,
1558077365a9SGeert Uytterhoeven 		PTE0_FN, PTE0_OUT, 0, PTE0_IN ))
1559077365a9SGeert Uytterhoeven 	},
1560077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PFCR", 0xa405010a, 16, 2, GROUP(
1561077365a9SGeert Uytterhoeven 		PTF7_FN, PTF7_OUT, 0, PTF7_IN,
1562077365a9SGeert Uytterhoeven 		PTF6_FN, PTF6_OUT, 0, PTF6_IN,
1563077365a9SGeert Uytterhoeven 		PTF5_FN, PTF5_OUT, 0, PTF5_IN,
1564077365a9SGeert Uytterhoeven 		PTF4_FN, PTF4_OUT, 0, PTF4_IN,
1565077365a9SGeert Uytterhoeven 		PTF3_FN, PTF3_OUT, 0, PTF3_IN,
1566077365a9SGeert Uytterhoeven 		PTF2_FN, PTF2_OUT, 0, PTF2_IN,
1567077365a9SGeert Uytterhoeven 		PTF1_FN, PTF1_OUT, 0, PTF1_IN,
1568077365a9SGeert Uytterhoeven 		PTF0_FN, PTF0_OUT, 0, PTF0_IN ))
1569077365a9SGeert Uytterhoeven 	},
157098edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PGCR", 0xa405010c, 16,
157198edc79dSGeert Uytterhoeven 			     GROUP(-4, 2, 2, 2, 2, 2, 2),
157298edc79dSGeert Uytterhoeven 			     GROUP(
157398edc79dSGeert Uytterhoeven 		/* RESERVED [4] */
1574077365a9SGeert Uytterhoeven 		PTG5_FN, PTG5_OUT, 0, 0,
1575077365a9SGeert Uytterhoeven 		PTG4_FN, PTG4_OUT, 0, 0,
1576077365a9SGeert Uytterhoeven 		PTG3_FN, PTG3_OUT, 0, 0,
1577077365a9SGeert Uytterhoeven 		PTG2_FN, PTG2_OUT, 0, 0,
1578077365a9SGeert Uytterhoeven 		PTG1_FN, PTG1_OUT, 0, 0,
1579077365a9SGeert Uytterhoeven 		PTG0_FN, PTG0_OUT, 0, 0 ))
1580077365a9SGeert Uytterhoeven 	},
1581077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PHCR", 0xa405010e, 16, 2, GROUP(
1582077365a9SGeert Uytterhoeven 		PTH7_FN, PTH7_OUT, 0, PTH7_IN,
1583077365a9SGeert Uytterhoeven 		PTH6_FN, PTH6_OUT, 0, PTH6_IN,
1584077365a9SGeert Uytterhoeven 		PTH5_FN, PTH5_OUT, 0, PTH5_IN,
1585077365a9SGeert Uytterhoeven 		PTH4_FN, PTH4_OUT, 0, PTH4_IN,
1586077365a9SGeert Uytterhoeven 		PTH3_FN, PTH3_OUT, 0, PTH3_IN,
1587077365a9SGeert Uytterhoeven 		PTH2_FN, PTH2_OUT, 0, PTH2_IN,
1588077365a9SGeert Uytterhoeven 		PTH1_FN, PTH1_OUT, 0, PTH1_IN,
1589077365a9SGeert Uytterhoeven 		PTH0_FN, PTH0_OUT, 0, PTH0_IN ))
1590077365a9SGeert Uytterhoeven 	},
159198edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PJCR", 0xa4050110, 16,
159298edc79dSGeert Uytterhoeven 			     GROUP(2, -2, 2, -2, 2, 2, 2, 2),
159398edc79dSGeert Uytterhoeven 			     GROUP(
1594077365a9SGeert Uytterhoeven 		PTJ7_FN, PTJ7_OUT, 0, 0,
159598edc79dSGeert Uytterhoeven 		/* RESERVED [2] */
1596077365a9SGeert Uytterhoeven 		PTJ5_FN, PTJ5_OUT, 0, 0,
159798edc79dSGeert Uytterhoeven 		/* RESERVED [2] */
1598077365a9SGeert Uytterhoeven 		PTJ3_FN, PTJ3_OUT, 0, PTJ3_IN,
1599077365a9SGeert Uytterhoeven 		PTJ2_FN, PTJ2_OUT, 0, PTJ2_IN,
1600077365a9SGeert Uytterhoeven 		PTJ1_FN, PTJ1_OUT, 0, PTJ1_IN,
1601077365a9SGeert Uytterhoeven 		PTJ0_FN, PTJ0_OUT, 0, PTJ0_IN ))
1602077365a9SGeert Uytterhoeven 	},
1603077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PKCR", 0xa4050112, 16, 2, GROUP(
1604077365a9SGeert Uytterhoeven 		PTK7_FN, PTK7_OUT, 0, PTK7_IN,
1605077365a9SGeert Uytterhoeven 		PTK6_FN, PTK6_OUT, 0, PTK6_IN,
1606077365a9SGeert Uytterhoeven 		PTK5_FN, PTK5_OUT, 0, PTK5_IN,
1607077365a9SGeert Uytterhoeven 		PTK4_FN, PTK4_OUT, 0, PTK4_IN,
1608077365a9SGeert Uytterhoeven 		PTK3_FN, PTK3_OUT, 0, PTK3_IN,
1609077365a9SGeert Uytterhoeven 		PTK2_FN, PTK2_OUT, 0, PTK2_IN,
1610077365a9SGeert Uytterhoeven 		PTK1_FN, PTK1_OUT, 0, PTK1_IN,
1611077365a9SGeert Uytterhoeven 		PTK0_FN, PTK0_OUT, 0, PTK0_IN ))
1612077365a9SGeert Uytterhoeven 	},
1613077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PLCR", 0xa4050114, 16, 2, GROUP(
1614077365a9SGeert Uytterhoeven 		PTL7_FN, PTL7_OUT, 0, PTL7_IN,
1615077365a9SGeert Uytterhoeven 		PTL6_FN, PTL6_OUT, 0, PTL6_IN,
1616077365a9SGeert Uytterhoeven 		PTL5_FN, PTL5_OUT, 0, PTL5_IN,
1617077365a9SGeert Uytterhoeven 		PTL4_FN, PTL4_OUT, 0, PTL4_IN,
1618077365a9SGeert Uytterhoeven 		PTL3_FN, PTL3_OUT, 0, PTL3_IN,
1619077365a9SGeert Uytterhoeven 		PTL2_FN, PTL2_OUT, 0, PTL2_IN,
1620077365a9SGeert Uytterhoeven 		PTL1_FN, PTL1_OUT, 0, PTL1_IN,
1621077365a9SGeert Uytterhoeven 		PTL0_FN, PTL0_OUT, 0, PTL0_IN ))
1622077365a9SGeert Uytterhoeven 	},
1623077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PMCR", 0xa4050116, 16, 2, GROUP(
1624077365a9SGeert Uytterhoeven 		PTM7_FN, PTM7_OUT, 0, PTM7_IN,
1625077365a9SGeert Uytterhoeven 		PTM6_FN, PTM6_OUT, 0, PTM6_IN,
1626077365a9SGeert Uytterhoeven 		PTM5_FN, PTM5_OUT, 0, PTM5_IN,
1627077365a9SGeert Uytterhoeven 		PTM4_FN, PTM4_OUT, 0, PTM4_IN,
1628077365a9SGeert Uytterhoeven 		PTM3_FN, PTM3_OUT, 0, PTM3_IN,
1629077365a9SGeert Uytterhoeven 		PTM2_FN, PTM2_OUT, 0, PTM2_IN,
1630077365a9SGeert Uytterhoeven 		PTM1_FN, PTM1_OUT, 0, PTM1_IN,
1631077365a9SGeert Uytterhoeven 		PTM0_FN, PTM0_OUT, 0, PTM0_IN ))
1632077365a9SGeert Uytterhoeven 	},
1633077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PNCR", 0xa4050118, 16, 2, GROUP(
1634077365a9SGeert Uytterhoeven 		PTN7_FN, PTN7_OUT, 0, PTN7_IN,
1635077365a9SGeert Uytterhoeven 		PTN6_FN, PTN6_OUT, 0, PTN6_IN,
1636077365a9SGeert Uytterhoeven 		PTN5_FN, PTN5_OUT, 0, PTN5_IN,
1637077365a9SGeert Uytterhoeven 		PTN4_FN, PTN4_OUT, 0, PTN4_IN,
1638077365a9SGeert Uytterhoeven 		PTN3_FN, PTN3_OUT, 0, PTN3_IN,
1639077365a9SGeert Uytterhoeven 		PTN2_FN, PTN2_OUT, 0, PTN2_IN,
1640077365a9SGeert Uytterhoeven 		PTN1_FN, PTN1_OUT, 0, PTN1_IN,
1641077365a9SGeert Uytterhoeven 		PTN0_FN, PTN0_OUT, 0, PTN0_IN ))
1642077365a9SGeert Uytterhoeven 	},
164398edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PQCR", 0xa405011a, 16,
164498edc79dSGeert Uytterhoeven 			     GROUP(-8, 2, 2, 2, 2),
164598edc79dSGeert Uytterhoeven 			     GROUP(
164698edc79dSGeert Uytterhoeven 		/* RESERVED [8] */
1647077365a9SGeert Uytterhoeven 		PTQ3_FN, 0, 0, PTQ3_IN,
1648077365a9SGeert Uytterhoeven 		PTQ2_FN, 0, 0, PTQ2_IN,
1649077365a9SGeert Uytterhoeven 		PTQ1_FN, 0, 0, PTQ1_IN,
1650077365a9SGeert Uytterhoeven 		PTQ0_FN, 0, 0, PTQ0_IN ))
1651077365a9SGeert Uytterhoeven 	},
1652077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PRCR", 0xa405011c, 16, 2, GROUP(
1653077365a9SGeert Uytterhoeven 		PTR7_FN, PTR7_OUT, 0, PTR7_IN,
1654077365a9SGeert Uytterhoeven 		PTR6_FN, PTR6_OUT, 0, PTR6_IN,
1655077365a9SGeert Uytterhoeven 		PTR5_FN, PTR5_OUT, 0, PTR5_IN,
1656077365a9SGeert Uytterhoeven 		PTR4_FN, PTR4_OUT, 0, PTR4_IN,
1657077365a9SGeert Uytterhoeven 		PTR3_FN, 0, 0, PTR3_IN,
1658077365a9SGeert Uytterhoeven 		PTR2_FN, 0, 0, PTR2_IN,
1659077365a9SGeert Uytterhoeven 		PTR1_FN, PTR1_OUT, 0, PTR1_IN,
1660077365a9SGeert Uytterhoeven 		PTR0_FN, PTR0_OUT, 0, PTR0_IN ))
1661077365a9SGeert Uytterhoeven 	},
1662077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PSCR", 0xa405011e, 16, 2, GROUP(
1663077365a9SGeert Uytterhoeven 		PTS7_FN, PTS7_OUT, 0, PTS7_IN,
1664077365a9SGeert Uytterhoeven 		PTS6_FN, PTS6_OUT, 0, PTS6_IN,
1665077365a9SGeert Uytterhoeven 		PTS5_FN, PTS5_OUT, 0, PTS5_IN,
1666077365a9SGeert Uytterhoeven 		PTS4_FN, PTS4_OUT, 0, PTS4_IN,
1667077365a9SGeert Uytterhoeven 		PTS3_FN, PTS3_OUT, 0, PTS3_IN,
1668077365a9SGeert Uytterhoeven 		PTS2_FN, PTS2_OUT, 0, PTS2_IN,
1669077365a9SGeert Uytterhoeven 		PTS1_FN, PTS1_OUT, 0, PTS1_IN,
1670077365a9SGeert Uytterhoeven 		PTS0_FN, PTS0_OUT, 0, PTS0_IN ))
1671077365a9SGeert Uytterhoeven 	},
167298edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PTCR", 0xa4050140, 16,
167398edc79dSGeert Uytterhoeven 			     GROUP(-4, 2, 2, 2, 2, 2, 2),
167498edc79dSGeert Uytterhoeven 			     GROUP(
167598edc79dSGeert Uytterhoeven 		/* RESERVED [4] */
1676077365a9SGeert Uytterhoeven 		PTT5_FN, PTT5_OUT, 0, PTT5_IN,
1677077365a9SGeert Uytterhoeven 		PTT4_FN, PTT4_OUT, 0, PTT4_IN,
1678077365a9SGeert Uytterhoeven 		PTT3_FN, PTT3_OUT, 0, PTT3_IN,
1679077365a9SGeert Uytterhoeven 		PTT2_FN, PTT2_OUT, 0, PTT2_IN,
1680077365a9SGeert Uytterhoeven 		PTT1_FN, PTT1_OUT, 0, PTT1_IN,
1681077365a9SGeert Uytterhoeven 		PTT0_FN, PTT0_OUT, 0, PTT0_IN ))
1682077365a9SGeert Uytterhoeven 	},
168398edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PUCR", 0xa4050142, 16,
168498edc79dSGeert Uytterhoeven 			     GROUP(-4, 2, 2, 2, 2, 2, 2),
168598edc79dSGeert Uytterhoeven 			     GROUP(
168698edc79dSGeert Uytterhoeven 		/* RESERVED [4] */
1687077365a9SGeert Uytterhoeven 		PTU5_FN, PTU5_OUT, 0, PTU5_IN,
1688077365a9SGeert Uytterhoeven 		PTU4_FN, PTU4_OUT, 0, PTU4_IN,
1689077365a9SGeert Uytterhoeven 		PTU3_FN, PTU3_OUT, 0, PTU3_IN,
1690077365a9SGeert Uytterhoeven 		PTU2_FN, PTU2_OUT, 0, PTU2_IN,
1691077365a9SGeert Uytterhoeven 		PTU1_FN, PTU1_OUT, 0, PTU1_IN,
1692077365a9SGeert Uytterhoeven 		PTU0_FN, PTU0_OUT, 0, PTU0_IN ))
1693077365a9SGeert Uytterhoeven 	},
1694077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PVCR", 0xa4050144, 16, 2, GROUP(
1695077365a9SGeert Uytterhoeven 		PTV7_FN, PTV7_OUT, 0, PTV7_IN,
1696077365a9SGeert Uytterhoeven 		PTV6_FN, PTV6_OUT, 0, PTV6_IN,
1697077365a9SGeert Uytterhoeven 		PTV5_FN, PTV5_OUT, 0, PTV5_IN,
1698077365a9SGeert Uytterhoeven 		PTV4_FN, PTV4_OUT, 0, PTV4_IN,
1699077365a9SGeert Uytterhoeven 		PTV3_FN, PTV3_OUT, 0, PTV3_IN,
1700077365a9SGeert Uytterhoeven 		PTV2_FN, PTV2_OUT, 0, PTV2_IN,
1701077365a9SGeert Uytterhoeven 		PTV1_FN, PTV1_OUT, 0, PTV1_IN,
1702077365a9SGeert Uytterhoeven 		PTV0_FN, PTV0_OUT, 0, PTV0_IN ))
1703077365a9SGeert Uytterhoeven 	},
1704077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PWCR", 0xa4050146, 16, 2, GROUP(
1705077365a9SGeert Uytterhoeven 		PTW7_FN, PTW7_OUT, 0, PTW7_IN,
1706077365a9SGeert Uytterhoeven 		PTW6_FN, PTW6_OUT, 0, PTW6_IN,
1707077365a9SGeert Uytterhoeven 		PTW5_FN, PTW5_OUT, 0, PTW5_IN,
1708077365a9SGeert Uytterhoeven 		PTW4_FN, PTW4_OUT, 0, PTW4_IN,
1709077365a9SGeert Uytterhoeven 		PTW3_FN, PTW3_OUT, 0, PTW3_IN,
1710077365a9SGeert Uytterhoeven 		PTW2_FN, PTW2_OUT, 0, PTW2_IN,
1711077365a9SGeert Uytterhoeven 		PTW1_FN, PTW1_OUT, 0, PTW1_IN,
1712077365a9SGeert Uytterhoeven 		PTW0_FN, PTW0_OUT, 0, PTW0_IN ))
1713077365a9SGeert Uytterhoeven 	},
1714077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PXCR", 0xa4050148, 16, 2, GROUP(
1715077365a9SGeert Uytterhoeven 		PTX7_FN, PTX7_OUT, 0, PTX7_IN,
1716077365a9SGeert Uytterhoeven 		PTX6_FN, PTX6_OUT, 0, PTX6_IN,
1717077365a9SGeert Uytterhoeven 		PTX5_FN, PTX5_OUT, 0, PTX5_IN,
1718077365a9SGeert Uytterhoeven 		PTX4_FN, PTX4_OUT, 0, PTX4_IN,
1719077365a9SGeert Uytterhoeven 		PTX3_FN, PTX3_OUT, 0, PTX3_IN,
1720077365a9SGeert Uytterhoeven 		PTX2_FN, PTX2_OUT, 0, PTX2_IN,
1721077365a9SGeert Uytterhoeven 		PTX1_FN, PTX1_OUT, 0, PTX1_IN,
1722077365a9SGeert Uytterhoeven 		PTX0_FN, PTX0_OUT, 0, PTX0_IN ))
1723077365a9SGeert Uytterhoeven 	},
1724077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PYCR", 0xa405014a, 16, 2, GROUP(
1725077365a9SGeert Uytterhoeven 		PTY7_FN, PTY7_OUT, 0, PTY7_IN,
1726077365a9SGeert Uytterhoeven 		PTY6_FN, PTY6_OUT, 0, PTY6_IN,
1727077365a9SGeert Uytterhoeven 		PTY5_FN, PTY5_OUT, 0, PTY5_IN,
1728077365a9SGeert Uytterhoeven 		PTY4_FN, PTY4_OUT, 0, PTY4_IN,
1729077365a9SGeert Uytterhoeven 		PTY3_FN, PTY3_OUT, 0, PTY3_IN,
1730077365a9SGeert Uytterhoeven 		PTY2_FN, PTY2_OUT, 0, PTY2_IN,
1731077365a9SGeert Uytterhoeven 		PTY1_FN, PTY1_OUT, 0, PTY1_IN,
1732077365a9SGeert Uytterhoeven 		PTY0_FN, PTY0_OUT, 0, PTY0_IN ))
1733077365a9SGeert Uytterhoeven 	},
1734077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PZCR", 0xa405014c, 16, 2, GROUP(
1735077365a9SGeert Uytterhoeven 		PTZ7_FN, PTZ7_OUT, 0, PTZ7_IN,
1736077365a9SGeert Uytterhoeven 		PTZ6_FN, PTZ6_OUT, 0, PTZ6_IN,
1737077365a9SGeert Uytterhoeven 		PTZ5_FN, PTZ5_OUT, 0, PTZ5_IN,
1738077365a9SGeert Uytterhoeven 		PTZ4_FN, PTZ4_OUT, 0, PTZ4_IN,
1739077365a9SGeert Uytterhoeven 		PTZ3_FN, PTZ3_OUT, 0, PTZ3_IN,
1740077365a9SGeert Uytterhoeven 		PTZ2_FN, PTZ2_OUT, 0, PTZ2_IN,
1741077365a9SGeert Uytterhoeven 		PTZ1_FN, PTZ1_OUT, 0, PTZ1_IN,
1742077365a9SGeert Uytterhoeven 		PTZ0_FN, PTZ0_OUT, 0, PTZ0_IN ))
1743077365a9SGeert Uytterhoeven 	},
174498edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PSELA", 0xa405014e, 16,
174598edc79dSGeert Uytterhoeven 			     GROUP(2, 2, 2, -4, 2, 2, -2),
174698edc79dSGeert Uytterhoeven 			     GROUP(
1747077365a9SGeert Uytterhoeven 		PSA15_PSA14_FN1, PSA15_PSA14_FN2, 0, 0,
1748077365a9SGeert Uytterhoeven 		PSA13_PSA12_FN1, PSA13_PSA12_FN2, 0, 0,
1749077365a9SGeert Uytterhoeven 		PSA11_PSA10_FN1, PSA11_PSA10_FN2, 0, 0,
175098edc79dSGeert Uytterhoeven 		/* RESERVED [4] */
1751077365a9SGeert Uytterhoeven 		PSA5_PSA4_FN1, PSA5_PSA4_FN2, PSA5_PSA4_FN3, 0,
1752077365a9SGeert Uytterhoeven 		PSA3_PSA2_FN1, PSA3_PSA2_FN2, 0, 0,
175398edc79dSGeert Uytterhoeven 		/* RESERVED [2] */ ))
1754077365a9SGeert Uytterhoeven 	},
175598edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PSELB", 0xa4050150, 16,
175698edc79dSGeert Uytterhoeven 			     GROUP(2, 2, -2, 2, 2, 2, 2, -2),
175798edc79dSGeert Uytterhoeven 			     GROUP(
1758077365a9SGeert Uytterhoeven 		PSB15_PSB14_FN1, PSB15_PSB14_FN2, 0, 0,
1759077365a9SGeert Uytterhoeven 		PSB13_PSB12_LCDC_RGB, PSB13_PSB12_LCDC_SYS, 0, 0,
176098edc79dSGeert Uytterhoeven 		/* RESERVED [2] */
1761077365a9SGeert Uytterhoeven 		PSB9_PSB8_FN1, PSB9_PSB8_FN2, PSB9_PSB8_FN3, 0,
1762077365a9SGeert Uytterhoeven 		PSB7_PSB6_FN1, PSB7_PSB6_FN2, 0, 0,
1763077365a9SGeert Uytterhoeven 		PSB5_PSB4_FN1, PSB5_PSB4_FN2, 0, 0,
1764077365a9SGeert Uytterhoeven 		PSB3_PSB2_FN1, PSB3_PSB2_FN2, 0, 0,
176598edc79dSGeert Uytterhoeven 		/* RESERVED [2] */ ))
1766077365a9SGeert Uytterhoeven 	},
176798edc79dSGeert Uytterhoeven 	{ PINMUX_CFG_REG_VAR("PSELC", 0xa4050152, 16,
176898edc79dSGeert Uytterhoeven 			     GROUP(2, 2, 2, 2, 2, -6),
176998edc79dSGeert Uytterhoeven 			     GROUP(
1770077365a9SGeert Uytterhoeven 		PSC15_PSC14_FN1, PSC15_PSC14_FN2, 0, 0,
1771077365a9SGeert Uytterhoeven 		PSC13_PSC12_FN1, PSC13_PSC12_FN2, 0, 0,
1772077365a9SGeert Uytterhoeven 		PSC11_PSC10_FN1, PSC11_PSC10_FN2, PSC11_PSC10_FN3, 0,
1773077365a9SGeert Uytterhoeven 		PSC9_PSC8_FN1, PSC9_PSC8_FN2, 0, 0,
1774077365a9SGeert Uytterhoeven 		PSC7_PSC6_FN1, PSC7_PSC6_FN2, PSC7_PSC6_FN3, 0,
177598edc79dSGeert Uytterhoeven 		/* RESERVED [3] */ ))
1776077365a9SGeert Uytterhoeven 	},
1777077365a9SGeert Uytterhoeven 	{ PINMUX_CFG_REG("PSELD", 0xa4050154, 16, 2, GROUP(
1778077365a9SGeert Uytterhoeven 		PSD15_PSD14_FN1, PSD15_PSD14_FN2, 0, 0,
1779077365a9SGeert Uytterhoeven 		PSD13_PSD12_FN1, PSD13_PSD12_FN2, 0, 0,
1780077365a9SGeert Uytterhoeven 		PSD11_PSD10_FN1, PSD11_PSD10_FN2, PSD11_PSD10_FN3, 0,
1781077365a9SGeert Uytterhoeven 		PSD9_PSD8_FN1, PSD9_PSD8_FN2, 0, 0,
1782077365a9SGeert Uytterhoeven 		PSD7_PSD6_FN1, PSD7_PSD6_FN2, 0, 0,
1783077365a9SGeert Uytterhoeven 		PSD5_PSD4_FN1, PSD5_PSD4_FN2, 0, 0,
1784077365a9SGeert Uytterhoeven 		PSD3_PSD2_FN1, PSD3_PSD2_FN2, 0, 0,
1785077365a9SGeert Uytterhoeven 		PSD1_PSD0_FN1, PSD1_PSD0_FN2, 0, 0 ))
1786077365a9SGeert Uytterhoeven 	},
1787*0256b6aeSGeert Uytterhoeven 	{ /* sentinel */ }
1788077365a9SGeert Uytterhoeven };
1789077365a9SGeert Uytterhoeven 
1790077365a9SGeert Uytterhoeven static const struct pinmux_data_reg pinmux_data_regs[] = {
1791077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PADR", 0xa4050120, 8, GROUP(
1792077365a9SGeert Uytterhoeven 		PTA7_DATA, PTA6_DATA, PTA5_DATA, PTA4_DATA,
1793077365a9SGeert Uytterhoeven 		PTA3_DATA, PTA2_DATA, PTA1_DATA, PTA0_DATA ))
1794077365a9SGeert Uytterhoeven 	},
1795077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PBDR", 0xa4050122, 8, GROUP(
1796077365a9SGeert Uytterhoeven 		PTB7_DATA, PTB6_DATA, PTB5_DATA, PTB4_DATA,
1797077365a9SGeert Uytterhoeven 		PTB3_DATA, PTB2_DATA, PTB1_DATA, PTB0_DATA ))
1798077365a9SGeert Uytterhoeven 	},
1799077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PCDR", 0xa4050124, 8, GROUP(
1800077365a9SGeert Uytterhoeven 		PTC7_DATA, PTC6_DATA, PTC5_DATA, PTC4_DATA,
1801077365a9SGeert Uytterhoeven 		PTC3_DATA, PTC2_DATA, PTC1_DATA, PTC0_DATA ))
1802077365a9SGeert Uytterhoeven 	},
1803077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PDDR", 0xa4050126, 8, GROUP(
1804077365a9SGeert Uytterhoeven 		PTD7_DATA, PTD6_DATA, PTD5_DATA, PTD4_DATA,
1805077365a9SGeert Uytterhoeven 		PTD3_DATA, PTD2_DATA, PTD1_DATA, PTD0_DATA ))
1806077365a9SGeert Uytterhoeven 	},
1807077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PEDR", 0xa4050128, 8, GROUP(
1808077365a9SGeert Uytterhoeven 		0, 0, PTE5_DATA, PTE4_DATA,
1809077365a9SGeert Uytterhoeven 		PTE3_DATA, PTE2_DATA, PTE1_DATA, PTE0_DATA ))
1810077365a9SGeert Uytterhoeven 	},
1811077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PFDR", 0xa405012a, 8, GROUP(
1812077365a9SGeert Uytterhoeven 		PTF7_DATA, PTF6_DATA, PTF5_DATA, PTF4_DATA,
1813077365a9SGeert Uytterhoeven 		PTF3_DATA, PTF2_DATA, PTF1_DATA, PTF0_DATA ))
1814077365a9SGeert Uytterhoeven 	},
1815077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PGDR", 0xa405012c, 8, GROUP(
1816077365a9SGeert Uytterhoeven 		0, 0, PTG5_DATA, PTG4_DATA,
1817077365a9SGeert Uytterhoeven 		PTG3_DATA, PTG2_DATA, PTG1_DATA, PTG0_DATA ))
1818077365a9SGeert Uytterhoeven 	},
1819077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PHDR", 0xa405012e, 8, GROUP(
1820077365a9SGeert Uytterhoeven 		PTH7_DATA, PTH6_DATA, PTH5_DATA, PTH4_DATA,
1821077365a9SGeert Uytterhoeven 		PTH3_DATA, PTH2_DATA, PTH1_DATA, PTH0_DATA ))
1822077365a9SGeert Uytterhoeven 	},
1823077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PJDR", 0xa4050130, 8, GROUP(
1824077365a9SGeert Uytterhoeven 		PTJ7_DATA, 0, PTJ5_DATA, 0,
1825077365a9SGeert Uytterhoeven 		PTJ3_DATA, PTJ2_DATA, PTJ1_DATA, PTJ0_DATA ))
1826077365a9SGeert Uytterhoeven 	},
1827077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PKDR", 0xa4050132, 8, GROUP(
1828077365a9SGeert Uytterhoeven 		PTK7_DATA, PTK6_DATA, PTK5_DATA, PTK4_DATA,
1829077365a9SGeert Uytterhoeven 		PTK3_DATA, PTK2_DATA, PTK1_DATA, PTK0_DATA ))
1830077365a9SGeert Uytterhoeven 	},
1831077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PLDR", 0xa4050134, 8, GROUP(
1832077365a9SGeert Uytterhoeven 		PTL7_DATA, PTL6_DATA, PTL5_DATA, PTL4_DATA,
1833077365a9SGeert Uytterhoeven 		PTL3_DATA, PTL2_DATA, PTL1_DATA, PTL0_DATA ))
1834077365a9SGeert Uytterhoeven 	},
1835077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PMDR", 0xa4050136, 8, GROUP(
1836077365a9SGeert Uytterhoeven 		PTM7_DATA, PTM6_DATA, PTM5_DATA, PTM4_DATA,
1837077365a9SGeert Uytterhoeven 		PTM3_DATA, PTM2_DATA, PTM1_DATA, PTM0_DATA ))
1838077365a9SGeert Uytterhoeven 	},
1839077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PNDR", 0xa4050138, 8, GROUP(
1840077365a9SGeert Uytterhoeven 		PTN7_DATA, PTN6_DATA, PTN5_DATA, PTN4_DATA,
1841077365a9SGeert Uytterhoeven 		PTN3_DATA, PTN2_DATA, PTN1_DATA, PTN0_DATA ))
1842077365a9SGeert Uytterhoeven 	},
1843077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PQDR", 0xa405013a, 8, GROUP(
1844077365a9SGeert Uytterhoeven 		0, 0, 0, 0,
1845077365a9SGeert Uytterhoeven 		PTQ3_DATA, PTQ2_DATA, PTQ1_DATA, PTQ0_DATA ))
1846077365a9SGeert Uytterhoeven 	},
1847077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PRDR", 0xa405013c, 8, GROUP(
1848077365a9SGeert Uytterhoeven 		PTR7_DATA, PTR6_DATA, PTR5_DATA, PTR4_DATA,
1849077365a9SGeert Uytterhoeven 		PTR3_DATA, PTR2_DATA, PTR1_DATA, PTR0_DATA ))
1850077365a9SGeert Uytterhoeven 	},
1851077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PSDR", 0xa405013e, 8, GROUP(
1852077365a9SGeert Uytterhoeven 		PTS7_DATA, PTS6_DATA, PTS5_DATA, PTS4_DATA,
1853077365a9SGeert Uytterhoeven 		PTS3_DATA, PTS2_DATA, PTS1_DATA, PTS0_DATA ))
1854077365a9SGeert Uytterhoeven 	},
1855077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PTDR", 0xa4050160, 8, GROUP(
1856077365a9SGeert Uytterhoeven 		0, 0, PTT5_DATA, PTT4_DATA,
1857077365a9SGeert Uytterhoeven 		PTT3_DATA, PTT2_DATA, PTT1_DATA, PTT0_DATA ))
1858077365a9SGeert Uytterhoeven 	},
1859077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PUDR", 0xa4050162, 8, GROUP(
1860077365a9SGeert Uytterhoeven 		0, 0, PTU5_DATA, PTU4_DATA,
1861077365a9SGeert Uytterhoeven 		PTU3_DATA, PTU2_DATA, PTU1_DATA, PTU0_DATA ))
1862077365a9SGeert Uytterhoeven 	},
1863077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PVDR", 0xa4050164, 8, GROUP(
1864077365a9SGeert Uytterhoeven 		PTV7_DATA, PTV6_DATA, PTV5_DATA, PTV4_DATA,
1865077365a9SGeert Uytterhoeven 		PTV3_DATA, PTV2_DATA, PTV1_DATA, PTV0_DATA ))
1866077365a9SGeert Uytterhoeven 	},
1867077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PWDR", 0xa4050166, 8, GROUP(
1868077365a9SGeert Uytterhoeven 		PTW7_DATA, PTW6_DATA, PTW5_DATA, PTW4_DATA,
1869077365a9SGeert Uytterhoeven 		PTW3_DATA, PTW2_DATA, PTW1_DATA, PTW0_DATA ))
1870077365a9SGeert Uytterhoeven 	},
1871077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PXDR", 0xa4050168, 8, GROUP(
1872077365a9SGeert Uytterhoeven 		PTX7_DATA, PTX6_DATA, PTX5_DATA, PTX4_DATA,
1873077365a9SGeert Uytterhoeven 		PTX3_DATA, PTX2_DATA, PTX1_DATA, PTX0_DATA ))
1874077365a9SGeert Uytterhoeven 	},
1875077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PYDR", 0xa405016a, 8, GROUP(
1876077365a9SGeert Uytterhoeven 		PTY7_DATA, PTY6_DATA, PTY5_DATA, PTY4_DATA,
1877077365a9SGeert Uytterhoeven 		PTY3_DATA, PTY2_DATA, PTY1_DATA, PTY0_DATA ))
1878077365a9SGeert Uytterhoeven 	},
1879077365a9SGeert Uytterhoeven 	{ PINMUX_DATA_REG("PZDR", 0xa405016c, 8, GROUP(
1880077365a9SGeert Uytterhoeven 		PTZ7_DATA, PTZ6_DATA, PTZ5_DATA, PTZ4_DATA,
1881077365a9SGeert Uytterhoeven 		PTZ3_DATA, PTZ2_DATA, PTZ1_DATA, PTZ0_DATA ))
1882077365a9SGeert Uytterhoeven 	},
1883*0256b6aeSGeert Uytterhoeven 	{ /* sentinel */ }
1884077365a9SGeert Uytterhoeven };
1885077365a9SGeert Uytterhoeven 
1886077365a9SGeert Uytterhoeven const struct sh_pfc_soc_info sh7723_pinmux_info = {
1887077365a9SGeert Uytterhoeven 	.name = "sh7723_pfc",
1888077365a9SGeert Uytterhoeven 	.input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END },
1889077365a9SGeert Uytterhoeven 	.output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END },
1890077365a9SGeert Uytterhoeven 	.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
1891077365a9SGeert Uytterhoeven 
1892077365a9SGeert Uytterhoeven 	.pins = pinmux_pins,
1893077365a9SGeert Uytterhoeven 	.nr_pins = ARRAY_SIZE(pinmux_pins),
1894077365a9SGeert Uytterhoeven 	.func_gpios = pinmux_func_gpios,
1895077365a9SGeert Uytterhoeven 	.nr_func_gpios = ARRAY_SIZE(pinmux_func_gpios),
1896077365a9SGeert Uytterhoeven 
1897077365a9SGeert Uytterhoeven 	.cfg_regs = pinmux_config_regs,
1898077365a9SGeert Uytterhoeven 	.data_regs = pinmux_data_regs,
1899077365a9SGeert Uytterhoeven 
1900077365a9SGeert Uytterhoeven 	.pinmux_data = pinmux_data,
1901077365a9SGeert Uytterhoeven 	.pinmux_data_size = ARRAY_SIZE(pinmux_data),
1902077365a9SGeert Uytterhoeven };
1903