Go to the documentation of this file.
12 #define P_IDENT(x) ((x) & 0x1FF)
13 #define P_FUNCT(x) (((x) & 0x3) << 9)
14 #define P_FUNCT2MUX(x) (((x) >> 9) & 0x3)
15 #define P_DEFINED 0x8000
16 #define P_UNDEF 0x4000
17 #define P_MAYSHARE 0x2000
18 #define P_DONTCARE 0x1000
27 #include <mach/portmux.h>
30 #define P_SPORT2_TFS P_UNDEF
33 #ifndef P_SPORT2_DTSEC
34 #define P_SPORT2_DTSEC P_UNDEF
37 #ifndef P_SPORT2_DTPRI
38 #define P_SPORT2_DTPRI P_UNDEF
41 #ifndef P_SPORT2_TSCLK
42 #define P_SPORT2_TSCLK P_UNDEF
46 #define P_SPORT2_RFS P_UNDEF
49 #ifndef P_SPORT2_DRSEC
50 #define P_SPORT2_DRSEC P_UNDEF
53 #ifndef P_SPORT2_DRPRI
54 #define P_SPORT2_DRPRI P_UNDEF
57 #ifndef P_SPORT2_RSCLK
58 #define P_SPORT2_RSCLK P_UNDEF
62 #define P_SPORT3_TFS P_UNDEF
65 #ifndef P_SPORT3_DTSEC
66 #define P_SPORT3_DTSEC P_UNDEF
69 #ifndef P_SPORT3_DTPRI
70 #define P_SPORT3_DTPRI P_UNDEF
73 #ifndef P_SPORT3_TSCLK
74 #define P_SPORT3_TSCLK P_UNDEF
78 #define P_SPORT3_RFS P_UNDEF
81 #ifndef P_SPORT3_DRSEC
82 #define P_SPORT3_DRSEC P_UNDEF
85 #ifndef P_SPORT3_DRPRI
86 #define P_SPORT3_DRPRI P_UNDEF
89 #ifndef P_SPORT3_RSCLK
90 #define P_SPORT3_RSCLK P_UNDEF
94 #define P_TMR4 P_UNDEF
98 #define P_TMR5 P_UNDEF
102 #define P_TMR6 P_UNDEF
106 #define P_TMR7 P_UNDEF
110 #define P_TWI1_SCL P_UNDEF
114 #define P_TWI1_SDA P_UNDEF
118 #define P_UART3_RTS P_UNDEF
122 #define P_UART3_CTS P_UNDEF
126 #define P_UART2_TX P_UNDEF
130 #define P_UART2_RX P_UNDEF
134 #define P_UART3_TX P_UNDEF
138 #define P_UART3_RX P_UNDEF
142 #define P_SPI2_SS P_UNDEF
146 #define P_SPI2_SSEL1 P_UNDEF
150 #define P_SPI2_SSEL2 P_UNDEF
154 #define P_SPI2_SSEL3 P_UNDEF
158 #define P_SPI2_SSEL4 P_UNDEF
162 #define P_SPI2_SSEL5 P_UNDEF
166 #define P_SPI2_SSEL6 P_UNDEF
170 #define P_SPI2_SSEL7 P_UNDEF
174 #define P_SPI2_SCK P_UNDEF
178 #define P_SPI2_MOSI P_UNDEF
182 #define P_SPI2_MISO P_UNDEF
186 #define P_TMR0 P_UNDEF
190 #define P_TMR1 P_UNDEF
194 #define P_TMR2 P_UNDEF
198 #define P_TMR3 P_UNDEF
202 #define P_SPORT0_TFS P_UNDEF
205 #ifndef P_SPORT0_DTSEC
206 #define P_SPORT0_DTSEC P_UNDEF
209 #ifndef P_SPORT0_DTPRI
210 #define P_SPORT0_DTPRI P_UNDEF
213 #ifndef P_SPORT0_TSCLK
214 #define P_SPORT0_TSCLK P_UNDEF
218 #define P_SPORT0_RFS P_UNDEF
221 #ifndef P_SPORT0_DRSEC
222 #define P_SPORT0_DRSEC P_UNDEF
225 #ifndef P_SPORT0_DRPRI
226 #define P_SPORT0_DRPRI P_UNDEF
229 #ifndef P_SPORT0_RSCLK
230 #define P_SPORT0_RSCLK P_UNDEF
234 #define P_SD_D0 P_UNDEF
238 #define P_SD_D1 P_UNDEF
242 #define P_SD_D2 P_UNDEF
246 #define P_SD_D3 P_UNDEF
250 #define P_SD_CLK P_UNDEF
254 #define P_SD_CMD P_UNDEF
258 #define P_MMCLK P_UNDEF
262 #define P_MBCLK P_UNDEF
266 #define P_PPI1_D0 P_UNDEF
270 #define P_PPI1_D1 P_UNDEF
274 #define P_PPI1_D2 P_UNDEF
278 #define P_PPI1_D3 P_UNDEF
282 #define P_PPI1_D4 P_UNDEF
286 #define P_PPI1_D5 P_UNDEF
290 #define P_PPI1_D6 P_UNDEF
294 #define P_PPI1_D7 P_UNDEF
298 #define P_PPI1_D8 P_UNDEF
302 #define P_PPI1_D9 P_UNDEF
306 #define P_PPI1_D10 P_UNDEF
310 #define P_PPI1_D11 P_UNDEF
314 #define P_PPI1_D12 P_UNDEF
318 #define P_PPI1_D13 P_UNDEF
322 #define P_PPI1_D14 P_UNDEF
326 #define P_PPI1_D15 P_UNDEF
330 #define P_HOST_D8 P_UNDEF
334 #define P_HOST_D9 P_UNDEF
338 #define P_HOST_D10 P_UNDEF
342 #define P_HOST_D11 P_UNDEF
346 #define P_HOST_D12 P_UNDEF
350 #define P_HOST_D13 P_UNDEF
354 #define P_HOST_D14 P_UNDEF
358 #define P_HOST_D15 P_UNDEF
362 #define P_HOST_D0 P_UNDEF
366 #define P_HOST_D1 P_UNDEF
370 #define P_HOST_D2 P_UNDEF
374 #define P_HOST_D3 P_UNDEF
378 #define P_HOST_D4 P_UNDEF
382 #define P_HOST_D5 P_UNDEF
386 #define P_HOST_D6 P_UNDEF
390 #define P_HOST_D7 P_UNDEF
394 #define P_SPORT1_TFS P_UNDEF
397 #ifndef P_SPORT1_DTSEC
398 #define P_SPORT1_DTSEC P_UNDEF
401 #ifndef P_SPORT1_DTPRI
402 #define P_SPORT1_DTPRI P_UNDEF
405 #ifndef P_SPORT1_TSCLK
406 #define P_SPORT1_TSCLK P_UNDEF
410 #define P_SPORT1_RFS P_UNDEF
413 #ifndef P_SPORT1_DRSEC
414 #define P_SPORT1_DRSEC P_UNDEF
417 #ifndef P_SPORT1_DRPRI
418 #define P_SPORT1_DRPRI P_UNDEF
421 #ifndef P_SPORT1_RSCLK
422 #define P_SPORT1_RSCLK P_UNDEF
426 #define P_PPI2_D0 P_UNDEF
430 #define P_PPI2_D1 P_UNDEF
434 #define P_PPI2_D2 P_UNDEF
438 #define P_PPI2_D3 P_UNDEF
442 #define P_PPI2_D4 P_UNDEF
446 #define P_PPI2_D5 P_UNDEF
450 #define P_PPI2_D6 P_UNDEF
454 #define P_PPI2_D7 P_UNDEF
458 #define P_PPI0_D18 P_UNDEF
462 #define P_PPI0_D19 P_UNDEF
466 #define P_PPI0_D20 P_UNDEF
470 #define P_PPI0_D21 P_UNDEF
474 #define P_PPI0_D22 P_UNDEF
478 #define P_PPI0_D23 P_UNDEF
482 #define P_KEY_ROW0 P_UNDEF
486 #define P_KEY_ROW1 P_UNDEF
490 #define P_KEY_ROW2 P_UNDEF
494 #define P_KEY_ROW3 P_UNDEF
498 #define P_KEY_COL0 P_UNDEF
502 #define P_KEY_COL1 P_UNDEF
506 #define P_KEY_COL2 P_UNDEF
510 #define P_KEY_COL3 P_UNDEF
514 #define P_SPI0_SCK P_UNDEF
518 #define P_SPI0_MISO P_UNDEF
522 #define P_SPI0_MOSI P_UNDEF
526 #define P_SPI0_SS P_UNDEF
530 #define P_SPI0_SSEL1 P_UNDEF
534 #define P_SPI0_SSEL2 P_UNDEF
538 #define P_SPI0_SSEL3 P_UNDEF
542 #define P_SPI0_SSEL4 P_UNDEF
546 #define P_SPI0_SSEL5 P_UNDEF
550 #define P_SPI0_SSEL6 P_UNDEF
554 #define P_SPI0_SSEL7 P_UNDEF
558 #define P_UART0_TX P_UNDEF
562 #define P_UART0_RX P_UNDEF
566 #define P_UART1_RTS P_UNDEF
570 #define P_UART1_CTS P_UNDEF
574 #define P_PPI1_CLK P_UNDEF
578 #define P_PPI1_FS1 P_UNDEF
582 #define P_PPI1_FS2 P_UNDEF
586 #define P_TWI0_SCL P_UNDEF
590 #define P_TWI0_SDA P_UNDEF
594 #define P_KEY_COL7 P_UNDEF
598 #define P_KEY_ROW6 P_UNDEF
602 #define P_KEY_COL6 P_UNDEF
606 #define P_KEY_ROW5 P_UNDEF
610 #define P_KEY_COL5 P_UNDEF
614 #define P_KEY_ROW4 P_UNDEF
618 #define P_KEY_COL4 P_UNDEF
622 #define P_KEY_ROW7 P_UNDEF
626 #define P_PPI0_D0 P_UNDEF
630 #define P_PPI0_D1 P_UNDEF
634 #define P_PPI0_D2 P_UNDEF
638 #define P_PPI0_D3 P_UNDEF
642 #define P_PPI0_D4 P_UNDEF
646 #define P_PPI0_D5 P_UNDEF
650 #define P_PPI0_D6 P_UNDEF
654 #define P_PPI0_D7 P_UNDEF
658 #define P_PPI0_D8 P_UNDEF
662 #define P_PPI0_D9 P_UNDEF
666 #define P_PPI0_D10 P_UNDEF
670 #define P_PPI0_D11 P_UNDEF
674 #define P_PPI0_D12 P_UNDEF
678 #define P_PPI0_D13 P_UNDEF
682 #define P_PPI0_D14 P_UNDEF
686 #define P_PPI0_D15 P_UNDEF
690 #define P_ATAPI_D0A P_UNDEF
694 #define P_ATAPI_D1A P_UNDEF
698 #define P_ATAPI_D2A P_UNDEF
702 #define P_ATAPI_D3A P_UNDEF
706 #define P_ATAPI_D4A P_UNDEF
710 #define P_ATAPI_D5A P_UNDEF
714 #define P_ATAPI_D6A P_UNDEF
718 #define P_ATAPI_D7A P_UNDEF
722 #define P_ATAPI_D8A P_UNDEF
726 #define P_ATAPI_D9A P_UNDEF
730 #define P_ATAPI_D10A P_UNDEF
734 #define P_ATAPI_D11A P_UNDEF
738 #define P_ATAPI_D12A P_UNDEF
742 #define P_ATAPI_D13A P_UNDEF
746 #define P_ATAPI_D14A P_UNDEF
750 #define P_ATAPI_D15A P_UNDEF
754 #define P_PPI0_CLK P_UNDEF
758 #define P_PPI0_FS1 P_UNDEF
762 #define P_PPI0_FS2 P_UNDEF
766 #define P_PPI0_D16 P_UNDEF
770 #define P_PPI0_D17 P_UNDEF
774 #define P_SPI1_SSEL1 P_UNDEF
778 #define P_SPI1_SSEL2 P_UNDEF
782 #define P_SPI1_SSEL3 P_UNDEF
787 #define P_SPI1_SSEL4 P_UNDEF
791 #define P_SPI1_SSEL5 P_UNDEF
795 #define P_SPI1_SSEL6 P_UNDEF
799 #define P_SPI1_SSEL7 P_UNDEF
803 #define P_SPI1_SCK P_UNDEF
807 #define P_SPI1_MISO P_UNDEF
811 #define P_SPI1_MOSI P_UNDEF
815 #define P_SPI1_SS P_UNDEF
819 #define P_CAN0_TX P_UNDEF
823 #define P_CAN0_RX P_UNDEF
827 #define P_CAN1_TX P_UNDEF
831 #define P_CAN1_RX P_UNDEF
835 #define P_ATAPI_A0A P_UNDEF
839 #define P_ATAPI_A1A P_UNDEF
843 #define P_ATAPI_A2A P_UNDEF
847 #define P_HOST_CE P_UNDEF
851 #define P_HOST_RD P_UNDEF
855 #define P_HOST_WR P_UNDEF
859 #define P_MTXONB P_UNDEF
863 #define P_PPI2_FS2 P_UNDEF
867 #define P_PPI2_FS1 P_UNDEF
871 #define P_PPI2_CLK P_UNDEF
875 #define P_CNT_CZM P_UNDEF
879 #define P_UART1_TX P_UNDEF
883 #define P_UART1_RX P_UNDEF
886 #ifndef P_ATAPI_RESET
887 #define P_ATAPI_RESET P_UNDEF
891 #define P_HOST_ADDR P_UNDEF
895 #define P_HOST_ACK P_UNDEF
899 #define P_MTX P_UNDEF
903 #define P_MRX P_UNDEF
907 #define P_MRXONB P_UNDEF
935 #define P_PPI1_FS3 P_UNDEF
939 #define P_PPI2_FS3 P_UNDEF
943 #define P_TMR8 P_UNDEF
947 #define P_TMR9 P_UNDEF
951 #define P_TMR10 P_UNDEF
954 #define P_TMR11 P_UNDEF
958 #define P_DMAR0 P_UNDEF
962 #define P_DMAR1 P_UNDEF
966 #define P_PPI0_FS3 P_UNDEF
970 #define P_CNT_CDG P_UNDEF
974 #define P_CNT_CUD P_UNDEF
978 #define P_A10 P_UNDEF
982 #define P_A11 P_UNDEF
986 #define P_A12 P_UNDEF
990 #define P_A13 P_UNDEF
994 #define P_A14 P_UNDEF
998 #define P_A15 P_UNDEF
1002 #define P_A16 P_UNDEF
1006 #define P_A17 P_UNDEF
1010 #define P_A18 P_UNDEF
1014 #define P_A19 P_UNDEF
1018 #define P_A20 P_UNDEF
1022 #define P_A21 P_UNDEF
1026 #define P_A22 P_UNDEF
1030 #define P_A23 P_UNDEF
1034 #define P_A24 P_UNDEF
1038 #define P_A25 P_UNDEF
1042 #define P_NOR_CLK P_UNDEF
1046 #define P_TMRCLK P_UNDEF
1049 #ifndef P_AMC_ARDY_NOR_WAIT
1050 #define P_AMC_ARDY_NOR_WAIT P_UNDEF
1054 #define P_NAND_CE P_UNDEF
1058 #define P_NAND_RB P_UNDEF
1061 #ifndef P_ATAPI_DIOR
1062 #define P_ATAPI_DIOR P_UNDEF
1065 #ifndef P_ATAPI_DIOW
1066 #define P_ATAPI_DIOW P_UNDEF
1070 #define P_ATAPI_CS0 P_UNDEF
1074 #define P_ATAPI_CS1 P_UNDEF
1077 #ifndef P_ATAPI_DMACK
1078 #define P_ATAPI_DMACK P_UNDEF
1081 #ifndef P_ATAPI_DMARQ
1082 #define P_ATAPI_DMARQ P_UNDEF
1085 #ifndef P_ATAPI_INTRQ
1086 #define P_ATAPI_INTRQ P_UNDEF
1089 #ifndef P_ATAPI_IORDY
1090 #define P_ATAPI_IORDY P_UNDEF
1094 #define P_AMC_BR P_UNDEF
1098 #define P_AMC_BG P_UNDEF
1102 #define P_AMC_BGH P_UNDEF
1107 #ifndef P_MII0_ETxD0
1108 #define P_MII0_ETxD0 P_UNDEF
1111 #ifndef P_MII0_ETxD1
1112 #define P_MII0_ETxD1 P_UNDEF
1115 #ifndef P_MII0_ETxD2
1116 #define P_MII0_ETxD2 P_UNDEF
1119 #ifndef P_MII0_ETxD3
1120 #define P_MII0_ETxD3 P_UNDEF
1123 #ifndef P_MII0_ETxEN
1124 #define P_MII0_ETxEN P_UNDEF
1127 #ifndef P_MII0_TxCLK
1128 #define P_MII0_TxCLK P_UNDEF
1131 #ifndef P_MII0_PHYINT
1132 #define P_MII0_PHYINT P_UNDEF
1136 #define P_MII0_COL P_UNDEF
1139 #ifndef P_MII0_ERxD0
1140 #define P_MII0_ERxD0 P_UNDEF
1143 #ifndef P_MII0_ERxD1
1144 #define P_MII0_ERxD1 P_UNDEF
1147 #ifndef P_MII0_ERxD2
1148 #define P_MII0_ERxD2 P_UNDEF
1151 #ifndef P_MII0_ERxD3
1152 #define P_MII0_ERxD3 P_UNDEF
1155 #ifndef P_MII0_ERxDV
1156 #define P_MII0_ERxDV P_UNDEF
1159 #ifndef P_MII0_ERxCLK
1160 #define P_MII0_ERxCLK P_UNDEF
1163 #ifndef P_MII0_ERxER
1164 #define P_MII0_ERxER P_UNDEF
1168 #define P_MII0_CRS P_UNDEF
1171 #ifndef P_RMII0_REF_CLK
1172 #define P_RMII0_REF_CLK P_UNDEF
1175 #ifndef P_RMII0_MDINT
1176 #define P_RMII0_MDINT P_UNDEF
1179 #ifndef P_RMII0_CRS_DV
1180 #define P_RMII0_CRS_DV P_UNDEF
1184 #define P_MDC P_UNDEF
1188 #define P_MDIO P_UNDEF