Lines Matching +full:2 +full:- +full:3

1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "pinctrl-pxa2xx.h"
18 PXA_FUNCTION(0, 3, "FFCTS"),
20 PXA_FUNCTION(1, 3, "CHOUT<0>")),
23 PXA_FUNCTION(0, 3, "USB_P3_5"),
25 PXA_FUNCTION(1, 3, "CHOUT<1>")),
28 PXA_FUNCTION(0, 2, "SSPRXD2"),
29 PXA_FUNCTION(0, 3, "USB_P3_1"),
31 PXA_FUNCTION(1, 1, "PWM_OUT<2>"),
32 PXA_FUNCTION(1, 3, "48_MHz")),
35 PXA_FUNCTION(0, 2, "CIF_DD<7>"),
37 PXA_FUNCTION(1, 1, "PWM_OUT<3>"),
38 PXA_FUNCTION(1, 3, "48_MHz")),
41 PXA_FUNCTION(0, 2, "KP_DKIN<7>"),
42 PXA_FUNCTION(0, 3, "KP_MKIN<7>"),
46 PXA_FUNCTION(0, 2, "SSPSFRM2"),
48 PXA_FUNCTION(1, 3, "UCLK")),
52 PXA_FUNCTION(1, 2, "PWM_OUT<0>"),
53 PXA_FUNCTION(1, 3, "FFTXD")),
56 PXA_FUNCTION(0, 2, "CIF_DD<6>"),
57 PXA_FUNCTION(1, 2, "PWM_OUT<1>")),
62 PXA_FUNCTION(0, 3, "FFRXD"),
64 PXA_FUNCTION(1, 2, "L_CS"),
65 PXA_FUNCTION(1, 3, "nURST")),
68 PXA_FUNCTION(0, 2, "MBREQ"),
69 PXA_FUNCTION(1, 1, "nSDCS<2>")),
71 PXA_FUNCTION(1, 1, "nSDCS<3>"),
72 PXA_FUNCTION(1, 2, "DVAL<0>"),
73 PXA_FUNCTION(1, 3, "MBGNT")),
76 PXA_FUNCTION(0, 2, "SSPSCLKEN2"),
77 PXA_FUNCTION(0, 3, "SSPSCLK2"),
79 PXA_FUNCTION(1, 2, "SSPSYSCLK2"),
80 PXA_FUNCTION(1, 3, "SSPSCLK2")),
82 PXA_FUNCTION(0, 2, "SSPSCLK"),
87 PXA_FUNCTION(0, 2, "SSPSFRM"),
89 PXA_FUNCTION(1, 2, "SSPSFRM")),
93 PXA_FUNCTION(1, 2, "SSPTXD")),
96 PXA_FUNCTION(0, 2, "CIF_PCLK"),
97 PXA_FUNCTION(0, 3, "FFCTS")),
100 PXA_FUNCTION(0, 2, "SSPSCLKEN"),
101 PXA_FUNCTION(0, 3, "CIF_DD<0>"),
103 PXA_FUNCTION(1, 3, "FFRTS")),
106 PXA_FUNCTION(0, 2, "I2S_BITCLK"),
107 PXA_FUNCTION(0, 3, "SSPSFRM"),
109 PXA_FUNCTION(1, 3, "SSPSFRM")),
112 PXA_FUNCTION(0, 2, "I2S_SDATA_IN"),
113 PXA_FUNCTION(0, 3, "SSPSCLK"),
115 PXA_FUNCTION(1, 3, "SSPSCLK")),
118 PXA_FUNCTION(1, 2, "AC97_SDATA_OUT"),
119 PXA_FUNCTION(1, 3, "USB_P3_2")),
122 PXA_FUNCTION(1, 2, "AC97_SYNC"),
123 PXA_FUNCTION(1, 3, "USB_P3_6")),
126 PXA_FUNCTION(1, 2, "MMCLK")),
129 PXA_FUNCTION(0, 2, "FFDSR"),
131 PXA_FUNCTION(1, 2, "nCS<5>"),
132 PXA_FUNCTION(1, 3, "MBGNT")),
135 PXA_FUNCTION(0, 2, "KP_MKIN<3>"),
136 PXA_FUNCTION(0, 3, "SSPSCLK3"),
138 PXA_FUNCTION(1, 3, "SSPSCLK3")),
141 PXA_FUNCTION(0, 2, "USB_P2_1"),
142 PXA_FUNCTION(0, 3, "SSPSFRM3"),
143 PXA_FUNCTION(1, 2, "KP_MKOUT<6>"),
144 PXA_FUNCTION(1, 3, "SSPTXD3")),
147 PXA_FUNCTION(0, 2, "SSPSCLK2"),
148 PXA_FUNCTION(0, 3, "KP_MKIN<7>"),
150 PXA_FUNCTION(1, 2, "SSPSCLK2")),
153 PXA_FUNCTION(0, 2, "SSPSFRM2"),
154 PXA_FUNCTION(0, 3, "KP_MKIN<3>"),
156 PXA_FUNCTION(1, 2, "SSPSFRM2"),
157 PXA_FUNCTION(1, 3, "FFTXD")),
160 PXA_FUNCTION(0, 2, "KP_MKIN<4>"),
161 PXA_FUNCTION(0, 3, "USB_P2_3"),
163 PXA_FUNCTION(1, 2, "SSPTXD2"),
164 PXA_FUNCTION(1, 3, "PWM_OUT<0>")),
167 PXA_FUNCTION(0, 3, "SSPSFRM3"),
169 PXA_FUNCTION(1, 2, "FFTXD"),
170 PXA_FUNCTION(1, 3, "SSPSFRM3")),
173 PXA_FUNCTION(0, 3, "USB_P2_5"),
175 PXA_FUNCTION(1, 2, "FFDTR"),
176 PXA_FUNCTION(1, 3, "SSPSCLK3")),
179 PXA_FUNCTION(0, 2, "USB_P2_7"),
180 PXA_FUNCTION(0, 3, "SSPRXD3"),
182 PXA_FUNCTION(1, 2, "FFRTS")),
185 PXA_FUNCTION(0, 2, "ICP_RXD"),
186 PXA_FUNCTION(1, 3, "CIF_MCLK")),
188 PXA_FUNCTION(0, 3, "CIF_FV"),
190 PXA_FUNCTION(1, 2, "BTTXD"),
191 PXA_FUNCTION(1, 3, "CIF_FV")),
194 PXA_FUNCTION(0, 3, "CIF_LV"),
195 PXA_FUNCTION(1, 3, "CIF_LV")),
197 PXA_FUNCTION(0, 3, "CIF_PCLK"),
199 PXA_FUNCTION(1, 2, "BTRTS"),
200 PXA_FUNCTION(1, 3, "SSPSYSCLK3")),
203 PXA_FUNCTION(0, 2, "STD_RXD"),
204 PXA_FUNCTION(1, 2, "PWM_OUT<2>")),
208 PXA_FUNCTION(1, 2, "ICP_TXD"),
209 PXA_FUNCTION(1, 3, "PWM_OUT<3>")),
213 PXA_FUNCTION(1, 2, "nPOE")),
215 PXA_FUNCTION(1, 2, "nPWE")),
217 PXA_FUNCTION(0, 1, "CIF_DD<3>"),
218 PXA_FUNCTION(0, 3, "SSPSCLK2"),
219 PXA_FUNCTION(1, 1, "BB_OB_DAT<2>"),
220 PXA_FUNCTION(1, 2, "nPIOR"),
221 PXA_FUNCTION(1, 3, "SSPSCLK2")),
223 PXA_FUNCTION(0, 1, "CIF_DD<2>"),
224 PXA_FUNCTION(1, 1, "BB_OB_DAT<3>"),
225 PXA_FUNCTION(1, 2, "nPIOW")),
228 PXA_FUNCTION(0, 2, "SSPSCLK3"),
230 PXA_FUNCTION(1, 2, "SSPSCLK3")),
233 PXA_FUNCTION(0, 2, "USB_P2_3"),
235 PXA_FUNCTION(1, 2, "CIF_MCLK"),
236 PXA_FUNCTION(1, 3, "SSPSYSCLK")),
238 PXA_FUNCTION(0, 2, "BB_OB_WAIT"),
239 PXA_FUNCTION(0, 3, "CIF_PCLK"),
240 PXA_FUNCTION(1, 2, "nPCE<2>")),
243 PXA_FUNCTION(0, 2, "BB_IB_DAT<1>"),
244 PXA_FUNCTION(1, 2, "nPREG")),
247 PXA_FUNCTION(0, 2, "BB_IB_DAT<2>"),
251 PXA_FUNCTION(0, 2, "BB_IB_DAT<3>"),
252 PXA_FUNCTION(1, 3, "SSPTXD")),
254 PXA_FUNCTION(0, 2, "LDD<0>"),
255 PXA_FUNCTION(1, 2, "LDD<0>")),
257 PXA_FUNCTION(0, 2, "LDD<1>"),
258 PXA_FUNCTION(1, 2, "LDD<1>")),
260 PXA_FUNCTION(0, 2, "LDD<2>"),
261 PXA_FUNCTION(1, 2, "LDD<2>")),
263 PXA_FUNCTION(0, 2, "LDD<3>"),
264 PXA_FUNCTION(1, 2, "LDD<3>")),
266 PXA_FUNCTION(0, 2, "LDD<4>"),
267 PXA_FUNCTION(1, 2, "LDD<4>")),
269 PXA_FUNCTION(0, 2, "LDD<5>"),
270 PXA_FUNCTION(1, 2, "LDD<5>")),
272 PXA_FUNCTION(0, 2, "LDD<6>"),
273 PXA_FUNCTION(1, 2, "LDD<6>")),
275 PXA_FUNCTION(0, 2, "LDD<7>"),
276 PXA_FUNCTION(1, 2, "LDD<7>")),
278 PXA_FUNCTION(0, 2, "LDD<8>"),
279 PXA_FUNCTION(1, 2, "LDD<8>")),
281 PXA_FUNCTION(0, 2, "LDD<9>"),
282 PXA_FUNCTION(1, 2, "LDD<9>")),
284 PXA_FUNCTION(0, 2, "LDD<10>"),
285 PXA_FUNCTION(1, 2, "LDD<10>")),
287 PXA_FUNCTION(0, 2, "LDD<11>"),
288 PXA_FUNCTION(1, 2, "LDD<11>")),
290 PXA_FUNCTION(0, 2, "LDD<12>"),
291 PXA_FUNCTION(1, 2, "LDD<12>")),
293 PXA_FUNCTION(0, 2, "LDD<13>"),
294 PXA_FUNCTION(1, 2, "LDD<13>")),
296 PXA_FUNCTION(0, 2, "LDD<14>"),
297 PXA_FUNCTION(1, 2, "LDD<14>")),
299 PXA_FUNCTION(0, 2, "LDD<15>"),
300 PXA_FUNCTION(1, 2, "LDD<15>")),
302 PXA_FUNCTION(1, 2, "L_FCLK_RD")),
304 PXA_FUNCTION(1, 2, "L_LCLK_A0")),
306 PXA_FUNCTION(1, 2, "L_PCLK_WR")),
308 PXA_FUNCTION(1, 2, "L_BIAS")),
310 PXA_FUNCTION(1, 1, "nPCE<2>"),
311 PXA_FUNCTION(1, 2, "nCS<2>")),
314 PXA_FUNCTION(1, 2, "nCS<3>"),
315 PXA_FUNCTION(1, 3, "PWM_OUT<2>")),
318 PXA_FUNCTION(0, 2, "MBREQ"),
319 PXA_FUNCTION(1, 2, "nCS<4>"),
320 PXA_FUNCTION(1, 3, "PWM_OUT<3>")),
322 PXA_FUNCTION(0, 2, "CIF_DD<0>"),
324 PXA_FUNCTION(1, 2, "BB_OB_DAT<0>")),
327 PXA_FUNCTION(0, 2, "BB_IB_DAT<0>"),
328 PXA_FUNCTION(0, 3, "CIF_DD<5>"),
329 PXA_FUNCTION(1, 3, "FFDTR")),
332 PXA_FUNCTION(0, 2, "BB_IB_CLK"),
333 PXA_FUNCTION(0, 3, "CIF_DD<5>"),
335 PXA_FUNCTION(1, 2, "FFTXD"),
336 PXA_FUNCTION(1, 3, "FFRTS")),
339 PXA_FUNCTION(0, 2, "BB_IB_STB"),
340 PXA_FUNCTION(0, 3, "CIF_FV"),
342 PXA_FUNCTION(1, 3, "CIF_FV")),
345 PXA_FUNCTION(0, 2, "DREQ<2>"),
346 PXA_FUNCTION(0, 3, "CIF_LV"),
348 PXA_FUNCTION(1, 2, "BB_IB_WAIT"),
349 PXA_FUNCTION(1, 3, "CIF_LV")),
352 PXA_FUNCTION(0, 2, "LDD<16>"),
353 PXA_FUNCTION(0, 3, "USB_P3_5"),
355 PXA_FUNCTION(1, 2, "LDD<16>")),
357 PXA_FUNCTION(0, 1, "nPCE<2>"),
358 PXA_FUNCTION(0, 2, "LDD<17>"),
359 PXA_FUNCTION(0, 3, "USB_P3_1"),
361 PXA_FUNCTION(1, 2, "LDD<17>"),
362 PXA_FUNCTION(1, 3, "SSPSFRM2")),
365 PXA_FUNCTION(0, 2, "SSPRXD2"),
366 PXA_FUNCTION(0, 3, "SSPSFRM2"),
367 PXA_FUNCTION(1, 2, "SSPTXD2"),
368 PXA_FUNCTION(1, 3, "SSPSFRM2")),
371 PXA_FUNCTION(0, 3, "FFRI"),
373 PXA_FUNCTION(1, 2, "USBHPEN<1>"),
374 PXA_FUNCTION(1, 3, "SSPTXD2")),
377 PXA_FUNCTION(0, 3, "USB_P3_5"),
379 PXA_FUNCTION(1, 2, "nURST")),
382 PXA_FUNCTION(0, 3, "USB_P3_1"),
384 PXA_FUNCTION(1, 2, "UCLK")),
388 PXA_FUNCTION(1, 2, "MSBS")),
391 PXA_FUNCTION(0, 2, "CIF_DD<6>"),
395 PXA_FUNCTION(0, 2, "CIF_DD<5>"),
398 PXA_FUNCTION(0, 1, "KP_DKIN<2>"),
399 PXA_FUNCTION(0, 2, "CIF_DD<4>"),
400 PXA_FUNCTION(0, 3, "KP_MKIN<6>"),
403 PXA_FUNCTION(0, 1, "KP_DKIN<3>"),
404 PXA_FUNCTION(0, 2, "MBREQ"),
405 PXA_FUNCTION(0, 3, "FFRXD"),
406 PXA_FUNCTION(1, 2, "DVAL<1>"),
407 PXA_FUNCTION(1, 3, "KP_MKOUT<6>")),
410 PXA_FUNCTION(0, 2, "DREQ<1>"),
411 PXA_FUNCTION(0, 3, "KP_MKIN<3>"),
412 PXA_FUNCTION(1, 2, "MBGNT")),
415 PXA_FUNCTION(0, 2, "CIF_DD<0>"),
416 PXA_FUNCTION(0, 3, "KP_MKIN<4>"),
418 PXA_FUNCTION(1, 3, "FFRTS")),
421 PXA_FUNCTION(0, 2, "AC97_SDATA_IN_1"),
422 PXA_FUNCTION(0, 3, "KP_MKIN<5>"),
423 PXA_FUNCTION(1, 3, "FFTXD")),
426 PXA_FUNCTION(0, 2, "DREQ<2>"),
427 PXA_FUNCTION(0, 3, "FFCTS")),
431 PXA_FUNCTION(0, 1, "KP_MKIN<2>"),
432 PXA_FUNCTION(0, 3, "FFRXD"),
435 PXA_FUNCTION(0, 1, "CIF_DD<3>"),
436 PXA_FUNCTION(1, 2, "KP_MKOUT<0>")),
438 PXA_FUNCTION(0, 1, "CIF_DD<2>"),
440 PXA_FUNCTION(1, 2, "KP_MKOUT<1>")),
443 PXA_FUNCTION(1, 1, "nPCE<2>"),
444 PXA_FUNCTION(1, 2, "KP_MKOUT<2>")),
447 PXA_FUNCTION(1, 2, "KP_MKOUT<3>")),
450 PXA_FUNCTION(1, 2, "KP_MKOUT<4>")),
454 PXA_FUNCTION(1, 2, "KP_MKOUT<5>")),
457 PXA_FUNCTION(0, 2, "MSSDIO"),
459 PXA_FUNCTION(1, 2, "MSSDIO")),
461 PXA_FUNCTION(0, 1, "MMDAT<2>"),
462 PXA_FUNCTION(1, 1, "MMDAT<2>")),
464 PXA_FUNCTION(0, 1, "MMDAT<3>"),
465 PXA_FUNCTION(1, 1, "MMDAT<3>")),
468 PXA_FUNCTION(0, 2, "nMSINS"),
471 PXA_FUNCTION(0, 3, "USB_P3_3"),
473 PXA_FUNCTION(1, 2, "AC97_RESET_n")),
477 PXA_FUNCTION(1, 2, "UVS0")),
480 PXA_FUNCTION(0, 2, "CIF_DD<3>"),
481 PXA_FUNCTION(0, 3, "MBREQ"),
483 PXA_FUNCTION(1, 2, "nUVS1"),
484 PXA_FUNCTION(1, 3, "PWM_OUT<1>")),
486 PXA_FUNCTION(0, 1, "CIF_DD<2>"),
487 PXA_FUNCTION(0, 2, "AC97_SDATA_IN_0"),
488 PXA_FUNCTION(0, 3, "UDET"),
490 PXA_FUNCTION(1, 2, "nUVS2"),
491 PXA_FUNCTION(1, 3, "MBGNT")),
499 PXA_FUNCTION(0, 1, "USBHPWR<2>")),
501 PXA_FUNCTION(1, 2, "USBHPEN<2>")),
519 base_dir[3] = devm_platform_ioremap_resource(pdev, 2); in pxa27x_pinctrl_probe()
520 if (IS_ERR(base_dir[3])) in pxa27x_pinctrl_probe()
521 return PTR_ERR(base_dir[3]); in pxa27x_pinctrl_probe()
523 base_sleep[0] = devm_platform_ioremap_resource(pdev, 3); in pxa27x_pinctrl_probe()
529 for (i = 0; i < 3; i++) in pxa27x_pinctrl_probe()
539 { .compatible = "marvell,pxa27x-pinctrl", },
547 .name = "pxa27x-pinctrl",