Lines Matching +full:1 +full:- +full:5
3 * Copyright (c) 2023-2024 EPAM Systems
5 * SPDX-License-Identifier: Apache-2.0
10 #include "pinctrl-rcar-common.h"
13 #define PIN_NONE -1
15 #define PIN_D1 RCAR_GP_PIN(0, 1)
19 #define PIN_D5 RCAR_GP_PIN(0, 5)
30 #define PIN_A0 RCAR_GP_PIN(1, 0)
31 #define PIN_A1 RCAR_GP_PIN(1, 1)
32 #define PIN_A2 RCAR_GP_PIN(1, 2)
33 #define PIN_A3 RCAR_GP_PIN(1, 3)
34 #define PIN_A4 RCAR_GP_PIN(1, 4)
35 #define PIN_A5 RCAR_GP_PIN(1, 5)
36 #define PIN_A6 RCAR_GP_PIN(1, 6)
37 #define PIN_A7 RCAR_GP_PIN(1, 7)
38 #define PIN_A8 RCAR_GP_PIN(1, 8)
39 #define PIN_A9 RCAR_GP_PIN(1, 9)
40 #define PIN_A10 RCAR_GP_PIN(1, 10)
41 #define PIN_A11 RCAR_GP_PIN(1, 11)
42 #define PIN_A12 RCAR_GP_PIN(1, 12)
43 #define PIN_A13 RCAR_GP_PIN(1, 13)
44 #define PIN_A14 RCAR_GP_PIN(1, 14)
45 #define PIN_A15 RCAR_GP_PIN(1, 15)
46 #define PIN_A16 RCAR_GP_PIN(1, 16)
47 #define PIN_A17 RCAR_GP_PIN(1, 17)
48 #define PIN_A18 RCAR_GP_PIN(1, 18)
49 #define PIN_A19 RCAR_GP_PIN(1, 19)
50 #define PIN_CS0 RCAR_GP_PIN(1, 20)
51 #define PIN_CS1 RCAR_GP_PIN(1, 21)
52 #define PIN_BS RCAR_GP_PIN(1, 22)
53 #define PIN_RD RCAR_GP_PIN(1, 23)
54 #define PIN_RD_WR RCAR_GP_PIN(1, 24)
55 #define PIN_WE0 RCAR_GP_PIN(1, 25)
56 #define PIN_WE1 RCAR_GP_PIN(1, 26)
57 #define PIN_EX_WAIT0 RCAR_GP_PIN(1, 27)
58 #define PIN_CLKOUT RCAR_GP_PIN(1, 28)
60 #define PIN_IRQ1 RCAR_GP_PIN(2, 1)
64 #define PIN_IRQ5 RCAR_GP_PIN(2, 5)
75 #define PIN_SD0_CMD RCAR_GP_PIN(3, 1)
79 #define PIN_SD0_DATA3 RCAR_GP_PIN(3, 5)
91 #define PIN_SD2_CMD RCAR_GP_PIN(4, 1)
95 #define PIN_SD2_DATA3 RCAR_GP_PIN(4, 5)
108 #define PIN_SCK0 RCAR_GP_PIN(5, 0)
109 #define PIN_RX0 RCAR_GP_PIN(5, 1)
110 #define PIN_TX0 RCAR_GP_PIN(5, 2)
111 #define PIN_CTS0 RCAR_GP_PIN(5, 3)
112 #define PIN_RTS0 RCAR_GP_PIN(5, 4)
113 #define PIN_RX1_A RCAR_GP_PIN(5, 5)
114 #define PIN_TX1_A RCAR_GP_PIN(5, 6)
115 #define PIN_CTS1 RCAR_GP_PIN(5, 7)
116 #define PIN_RTS1 RCAR_GP_PIN(5, 8)
117 #define PIN_SCK2 RCAR_GP_PIN(5, 9)
118 #define PIN_TX2_A RCAR_GP_PIN(5, 10)
119 #define PIN_RX2_A RCAR_GP_PIN(5, 11)
120 #define PIN_HSCK0 RCAR_GP_PIN(5, 12)
121 #define PIN_HRX0 RCAR_GP_PIN(5, 13)
122 #define PIN_HTX0 RCAR_GP_PIN(5, 14)
123 #define PIN_HCTS0 RCAR_GP_PIN(5, 15)
124 #define PIN_HRTS0 RCAR_GP_PIN(5, 16)
125 #define PIN_MSIOF0_SCK RCAR_GP_PIN(5, 17)
126 #define PIN_MSIOF0_SYNC RCAR_GP_PIN(5, 18)
127 #define PIN_MSIOF0_SS1 RCAR_GP_PIN(5, 19)
128 #define PIN_MSIOF0_TXD RCAR_GP_PIN(5, 20)
129 #define PIN_MSIOF0_SS2 RCAR_GP_PIN(5, 21)
130 #define PIN_MSIOF0_RXD RCAR_GP_PIN(5, 22)
131 #define PIN_MLB_CLK RCAR_GP_PIN(5, 23)
132 #define PIN_MLB_SIG RCAR_GP_PIN(5, 24)
133 #define PIN_MLB_DAT RCAR_GP_PIN(5, 25)
135 #define PIN_SSI_WS01239 RCAR_GP_PIN(6, 1)
139 #define PIN_SSI_SCK349 RCAR_GP_PIN(6, 5)
167 #define PIN_AVS2 RCAR_GP_PIN(7, 1)
170 #define PIN_ASEBRK RCAR_NOGP_PIN(1)
174 #define PIN_AVB_RD2 RCAR_NOGP_PIN(5)
233 #define FUNC_QPOLB IPSR(0, 24, 1)
236 #define FUNC_CAN0_TX_B IPSR(0, 24, 5)
240 #define FUNC_QPOLA IPSR(0, 28, 1)
243 #define FUNC_CAN0_RX_B IPSR(0, 28, 5)
246 #define FUNC_IRQ2 IPSR(1, 0, 0)
247 #define FUNC_QCPV_QDE IPSR(1, 0, 1)
248 #define FUNC_DU_EXODDF_DU_ODDF_DISP_CDE IPSR(1, 0, 3)
249 #define FUNC_VI4_DATA2_B IPSR(1, 0, 4)
250 #define FUNC_MSIOF3_SYNC_E IPSR(1, 0, 7)
251 #define FUNC_PWM3_B IPSR(1, 0, 9)
252 #define FUNC_IRQ3 IPSR(1, 4, 0)
253 #define FUNC_QSTVB_QVE IPSR(1, 4, 1)
254 #define FUNC_DU_DOTCLKOUT1 IPSR(1, 4, 3)
255 #define FUNC_VI4_DATA3_B IPSR(1, 4, 4)
256 #define FUNC_MSIOF3_SCK_E IPSR(1, 4, 7)
257 #define FUNC_PWM4_B IPSR(1, 4, 9)
258 #define FUNC_IRQ4 IPSR(1, 8, 0)
259 #define FUNC_QSTH_QHS IPSR(1, 8, 1)
260 #define FUNC_DU_EXHSYNC_DU_HSYNC IPSR(1, 8, 3)
261 #define FUNC_VI4_DATA4_B IPSR(1, 8, 4)
262 #define FUNC_MSIOF3_RXD_E IPSR(1, 8, 7)
263 #define FUNC_PWM5_B IPSR(1, 8, 9)
264 #define FUNC_IRQ5 IPSR(1, 12, 0)
265 #define FUNC_QSTB_QHE IPSR(1, 12, 1)
266 #define FUNC_DU_EXVSYNC_DU_VSYNC IPSR(1, 12, 3)
267 #define FUNC_VI4_DATA5_B IPSR(1, 12, 4)
268 #define FUNC_MSIOF3_TXD_E IPSR(1, 12, 7)
269 #define FUNC_PWM6_B IPSR(1, 12, 9)
270 #define FUNC_PWM0 IPSR(1, 16, 0)
271 #define FUNC_AVB_AVTP_PPS IPSR(1, 16, 1)
272 #define FUNC_VI4_DATA6_B IPSR(1, 16, 4)
273 #define FUNC_IECLK_B IPSR(1, 16, 9)
274 #define FUNC_PWM1_A IPSR(1, 20, 0)
275 #define FUNC_HRX3_D IPSR(1, 20, 3)
276 #define FUNC_VI4_DATA7_B IPSR(1, 20, 4)
277 #define FUNC_IERX_B IPSR(1, 20, 9)
278 #define FUNC_PWM2_A IPSR(1, 24, 0)
279 #define FUNC_HTX3_D IPSR(1, 24, 3)
280 #define FUNC_IETX_B IPSR(1, 24, 9)
281 #define FUNC_A0 IPSR(1, 28, 0)
282 #define FUNC_LCDOUT16 IPSR(1, 28, 1)
283 #define FUNC_MSIOF3_SYNC_B IPSR(1, 28, 2)
284 #define FUNC_VI4_DATA8 IPSR(1, 28, 4)
285 #define FUNC_DU_DB0 IPSR(1, 28, 6)
286 #define FUNC_PWM3_A IPSR(1, 28, 9)
288 #define FUNC_LCDOUT17 IPSR(2, 0, 1)
294 #define FUNC_LCDOUT18 IPSR(2, 4, 1)
300 #define FUNC_LCDOUT19 IPSR(2, 8, 1)
306 #define FUNC_LCDOUT20 IPSR(2, 12, 1)
309 #define FUNC_VI5_DATA12 IPSR(2, 12, 5)
312 #define FUNC_LCDOUT21 IPSR(2, 16, 1)
316 #define FUNC_VI5_DATA13 IPSR(2, 16, 5)
319 #define FUNC_LCDOUT22 IPSR(2, 20, 1)
323 #define FUNC_VI5_DATA14 IPSR(2, 20, 5)
326 #define FUNC_LCDOUT23 IPSR(2, 24, 1)
330 #define FUNC_VI5_DATA15 IPSR(2, 24, 5)
333 #define FUNC_RX3_B IPSR(2, 28, 1)
342 #define FUNC_VI5_VSYNC_N IPSR(3, 0, 5)
346 #define FUNC_VI5_HSYNC_N IPSR(3, 4, 5)
348 #define FUNC_TX3_B IPSR(3, 8, 1)
352 #define FUNC_VI5_FIELD IPSR(3, 8, 5)
357 #define FUNC_LCDOUT12 IPSR(3, 12, 1)
360 #define FUNC_VI5_DATA8 IPSR(3, 12, 5)
363 #define FUNC_LCDOUT13 IPSR(3, 16, 1)
366 #define FUNC_VI5_DATA9 IPSR(3, 16, 5)
369 #define FUNC_LCDOUT14 IPSR(3, 20, 1)
372 #define FUNC_VI5_DATA10 IPSR(3, 20, 5)
375 #define FUNC_LCDOUT15 IPSR(3, 24, 1)
378 #define FUNC_VI5_DATA11 IPSR(3, 24, 5)
381 #define FUNC_LCDOUT8 IPSR(3, 28, 1)
385 #define FUNC_LCDOUT9 IPSR(4, 0, 1)
389 #define FUNC_LCDOUT10 IPSR(4, 4, 1)
393 #define FUNC_LCDOUT11 IPSR(4, 8, 1)
397 #define FUNC_VI5_CLKENB IPSR(4, 12, 5)
399 #define FUNC_VI5_CLK IPSR(4, 16, 5)
402 #define FUNC_QSTVA_QVS IPSR(4, 20, 1)
421 #define FUNC_WE0_N IPSR(5, 0, 0)
422 #define FUNC_MSIOF3_TXD_D IPSR(5, 0, 2)
423 #define FUNC_CTS3_N IPSR(5, 0, 3)
424 #define FUNC_HCTS3_N IPSR(5, 0, 4)
425 #define FUNC_SCL6_B IPSR(5, 0, 7)
426 #define FUNC_CAN_CLK IPSR(5, 0, 8)
427 #define FUNC_IECLK_A IPSR(5, 0, 0xA)
428 #define FUNC_WE1_N IPSR(5, 4, 0)
429 #define FUNC_MSIOF3_SS1_D IPSR(5, 4, 2)
430 #define FUNC_RTS3_N IPSR(5, 4, 3)
431 #define FUNC_HRTS3_N IPSR(5, 4, 4)
432 #define FUNC_SDA6_B IPSR(5, 4, 7)
433 #define FUNC_CAN1_RX IPSR(5, 4, 8)
434 #define FUNC_CANFD1_RX IPSR(5, 4, 9)
435 #define FUNC_IERX_A IPSR(5, 4, 0xA)
436 #define FUNC_EX_WAIT0_A IPSR(5, 8, 0)
437 #define FUNC_QCLK IPSR(5, 8, 1)
438 #define FUNC_VI4_CLK IPSR(5, 8, 4)
439 #define FUNC_DU_DOTCLKOUT0 IPSR(5, 8, 6)
440 #define FUNC_D0 IPSR(5, 12, 0)
441 #define FUNC_MSIOF2_SS1_B IPSR(5, 12, 1)
442 #define FUNC_MSIOF3_SCK_A IPSR(5, 12, 2)
443 #define FUNC_VI4_DATA16 IPSR(5, 12, 4)
444 #define FUNC_VI5_DATA0 IPSR(5, 12, 5)
445 #define FUNC_D1 IPSR(5, 16, 0)
446 #define FUNC_MSIOF2_SS2_B IPSR(5, 16, 1)
447 #define FUNC_MSIOF3_SYNC_A IPSR(5, 16, 2)
448 #define FUNC_VI4_DATA17 IPSR(5, 16, 4)
449 #define FUNC_VI5_DATA1 IPSR(5, 16, 5)
450 #define FUNC_D2 IPSR(5, 20, 0)
451 #define FUNC_MSIOF3_RXD_A IPSR(5, 20, 2)
452 #define FUNC_VI4_DATA18 IPSR(5, 20, 4)
453 #define FUNC_VI5_DATA2 IPSR(5, 20, 5)
454 #define FUNC_D3 IPSR(5, 24, 0)
455 #define FUNC_MSIOF3_TXD_A IPSR(5, 24, 2)
456 #define FUNC_VI4_DATA19 IPSR(5, 24, 4)
457 #define FUNC_VI5_DATA3 IPSR(5, 24, 5)
458 #define FUNC_D4 IPSR(5, 28, 0)
459 #define FUNC_MSIOF2_SCK_B IPSR(5, 28, 1)
460 #define FUNC_VI4_DATA20 IPSR(5, 28, 4)
461 #define FUNC_VI5_DATA4 IPSR(5, 28, 5)
463 #define FUNC_MSIOF2_SYNC_B IPSR(6, 0, 1)
465 #define FUNC_VI5_DATA5 IPSR(6, 0, 5)
467 #define FUNC_MSIOF2_RXD_B IPSR(6, 4, 1)
469 #define FUNC_VI5_DATA6 IPSR(6, 4, 5)
471 #define FUNC_MSIOF2_TXD_B IPSR(6, 8, 1)
473 #define FUNC_VI5_DATA7 IPSR(6, 8, 5)
475 #define FUNC_LCDOUT0 IPSR(6, 12, 1)
481 #define FUNC_LCDOUT1 IPSR(6, 16, 1)
486 #define FUNC_LCDOUT2 IPSR(6, 20, 1)
490 #define FUNC_CTS4_N_C IPSR(6, 20, 5)
493 #define FUNC_LCDOUT3 IPSR(6, 24, 1)
497 #define FUNC_RTS4_N_C IPSR(6, 24, 5)
500 #define FUNC_LCDOUT4 IPSR(6, 28, 1)
506 #define FUNC_LCDOUT5 IPSR(7, 0, 1)
512 #define FUNC_LCDOUT6 IPSR(7, 4, 1)
519 #define FUNC_LCDOUT7 IPSR(7, 8, 1)
533 #define FUNC_TS_SCK0_B IPSR(7, 24, 5)
537 #define FUNC_TS_SPSYNC0_B IPSR(7, 28, 5)
541 #define FUNC_TS_SDAT0_B IPSR(8, 0, 5)
545 #define FUNC_TS_SDEN0_B IPSR(8, 4, 5)
549 #define FUNC_SIM0_CLK_A IPSR(8, 8, 5)
553 #define FUNC_SIM0_D_A IPSR(8, 12, 5)
556 #define FUNC_SD2_DAT4 IPSR(8, 16, 1)
559 #define FUNC_TS_SCK1_B IPSR(8, 16, 5)
562 #define FUNC_SD2_DAT5 IPSR(8, 20, 1)
565 #define FUNC_TS_SPSYNC1_B IPSR(8, 20, 5)
568 #define FUNC_SD2_DAT6 IPSR(8, 24, 1)
571 #define FUNC_TS_SDAT1_B IPSR(8, 24, 5)
574 #define FUNC_SD2_DAT7 IPSR(8, 28, 1)
577 #define FUNC_TS_SDEN1_B IPSR(8, 28, 5)
606 #define FUNC_SD2_CD_A IPSR(10, 20, 1)
609 #define FUNC_SD2_WP_A IPSR(10, 24, 1)
612 #define FUNC_SD3_CD IPSR(10, 28, 1)
615 #define FUNC_SD3_WP IPSR(11, 0, 1)
622 #define FUNC_SIM0_RST_A IPSR(11, 8, 5)
628 #define FUNC_SIM0_CLK_B IPSR(11, 16, 5)
631 #define FUNC_SIM0_D_B IPSR(11, 20, 5)
633 #define FUNC_HSCK1_B IPSR(11, 24, 1)
637 #define FUNC_SIM0_RST_B IPSR(11, 24, 5)
643 #define FUNC_HRX1_B IPSR(11, 28, 1)
644 #define FUNC_TS_SCK0_C IPSR(11, 28, 5)
648 #define FUNC_HTX1_B IPSR(12, 0, 1)
649 #define FUNC_TS_SPSYNC0_C IPSR(12, 0, 5)
653 #define FUNC_HCTS1_N_B IPSR(12, 4, 1)
655 #define FUNC_TS_SPSYNC1_C IPSR(12, 4, 5)
661 #define FUNC_HRTS1_N_B IPSR(12, 8, 1)
669 #define FUNC_HRX1_A IPSR(12, 12, 1)
670 #define FUNC_TS_SDAT0_C IPSR(12, 12, 5)
674 #define FUNC_HTX1_A IPSR(12, 16, 1)
675 #define FUNC_TS_SDEN0_C IPSR(12, 16, 5)
679 #define FUNC_HCTS1_N_A IPSR(12, 20, 1)
681 #define FUNC_TS_SDEN1_C IPSR(12, 20, 5)
686 #define FUNC_HRTS1_N_A IPSR(12, 24, 1)
688 #define FUNC_TS_SDAT1_C IPSR(12, 24, 5)
693 #define FUNC_SCIF_CLK_B IPSR(12, 28, 1)
695 #define FUNC_TS_SCK1_C IPSR(12, 28, 5)
715 #define FUNC_TS_SCK0_D IPSR(13, 8, 5)
722 #define FUNC_TS_SDEN0_D IPSR(13, 12, 5)
728 #define FUNC_TS_SDAT0_D IPSR(13, 16, 5)
732 #define FUNC_RX2_B IPSR(13, 20, 1)
735 #define FUNC_TS_SPSYNC0_D IPSR(13, 20, 5)
740 #define FUNC_TX2_B IPSR(13, 24, 1)
751 #define FUNC_RX5_A IPSR(14, 0, 1)
759 #define FUNC_TX5_A IPSR(14, 4, 1)
770 #define FUNC_RX1_B IPSR(14, 12, 1)
774 #define FUNC_TX1_B IPSR(14, 16, 1)
789 #define FUNC_HCTS2_N_A IPSR(15, 12, 1)
793 #define FUNC_HRTS2_N_A IPSR(15, 16, 1)
795 #define FUNC_TS_SCK0_A IPSR(15, 16, 5)
800 #define FUNC_HRX2_A IPSR(15, 20, 1)
802 #define FUNC_TS_SDAT0_A IPSR(15, 20, 5)
807 #define FUNC_HTX2_A IPSR(15, 24, 1)
809 #define FUNC_TS_SDEN0_A IPSR(15, 24, 5)
814 #define FUNC_HSCK2_A IPSR(15, 28, 1)
816 #define FUNC_TS_SPSYNC0_A IPSR(15, 28, 5)
827 #define FUNC_HRX2_B IPSR(16, 12, 1)
829 #define FUNC_TS_SCK1_A IPSR(16, 12, 5)
834 #define FUNC_HTX2_B IPSR(16, 16, 1)
836 #define FUNC_TS_SDAT1_A IPSR(16, 16, 5)
841 #define FUNC_HCTS2_N_B IPSR(16, 20, 1)
843 #define FUNC_TS_SDEN1_A IPSR(16, 20, 5)
849 #define FUNC_HRTS2_N_B IPSR(16, 24, 1)
851 #define FUNC_TS_SPSYNC1_A IPSR(16, 24, 5)
856 #define FUNC_HSCK2_B IPSR(16, 28, 1)
860 #define FUNC_SCK1 IPSR(16, 28, 5)
865 #define FUNC_SCIF_CLK_A IPSR(17, 4, 1)
871 #define FUNC_TS_SCK1_D IPSR(17, 8, 5)
878 #define FUNC_TS_SDAT1_D IPSR(17, 12, 5)
885 #define FUNC_TS_SCK0_E IPSR(17, 16, 5)
894 #define FUNC_TS_SDAT0_E IPSR(17, 20, 5)
903 #define FUNC_TS_SDEN1_D IPSR(17, 24, 5)
914 #define FUNC_TS_SPSYNC1_D IPSR(17, 28, 5)
923 #define FUNC_TS_SDEN0_E IPSR(18, 0, 5)
932 #define FUNC_TS_SPSYNC0_E IPSR(18, 4, 5)