1
|
/*
|
2
|
MUX1 Pins:
|
3
|
ACLKR ACLKX AFSR AFSX AHCLKR AHCLKX AMUTE AXR[15] AXR[14] AXR[13]
|
4
|
AXR[12] AXR[11] AXR[10] AXR[9] AXR[8] AXR[6] AXR[5] AXR[4] AXR[3] AXR[2]
|
5
|
AXR[1] AXR[0] SPI1_SCS[1] SPI1_CLK SPI1_ENA SPI1_SOMI SPI1_SIMO EMA_BA[1] EMA_BA[0] EMA_CLK
|
6
|
EMA_SDCKE EMA_RAS EMA_CAS EMA_WE_DQM[0] EMA_WE_DQM[1] EMA_WAIT[1] EMA_CS[0] EMA_CS[2] EMA_CS[3] EMA_CS[4]
|
7
|
EMA_CS[5] EMA_WE EMA_OE EMA_RNW EMA_WAIT[0] EMA_D[15] EMA_D[14] EMA_D[13] EMA_D[12] EMA_D[11]
|
8
|
EMA_D[10] EMA_D[9] EMA_D[8] EMA_D[7] EMA_D[6] EMA_D[5] EMA_D[4] EMA_D[3] EMA_D[2] EMA_D[1]
|
9
|
EMA_D[0] EMA_A[13] EMA_A[12] EMA_A[11] EMA_A[10] EMA_A[9] EMA_A[8] EMA_A[7] EMA_A[6] EMA_A[5]
|
10
|
EMA_A[4] EMA_A[3] EMA_A[2] EMA_A[1] EMA_A[0]
|
11
|
|
12
|
MUX2 Pins:
|
13
|
RTC_ALARM UART0_RXD UART0_TXD UART0_CTS UART0_RTS I2C0_SCL I2C0_SDA UART2_RXD UART2_TXD UART1_RXD
|
14
|
UART1_TXD MMCSD0_CLK MMCSD0_CMD MMCSD0_DAT[0] MMCSD0_DAT[1] MMCSD0_DAT[2] MMCSD0_DAT[3] MMCSD0_DAT[4] MMCSD0_DAT[5] MMCSD0_DAT[6]
|
15
|
MMCSD0_DAT[7] LCD_D[7] LCD_D[6] LCD_D[5] LCD_D[4] LCD_D[3] LCD_D[2] LCD_D[1] LCD_D[0] LCD_D[15]
|
16
|
LCD_D[14] LCD_D[13] LCD_D[12] LCD_D[11] LCD_D[10] LCD_D[9] LCD_D[8] LCD_PCLK LCD_MCLK LCD_HSYNC
|
17
|
LCD_VSYNC LCD_AC_ENB_CS
|
18
|
|
19
|
MUX3 Pins:
|
20
|
GP1[8] GP8[6] GP8[5] GP1[7] GP1[6]
|
21
|
|
22
|
MUX4 Pins:
|
23
|
GP6[11] GP6[10] GP6[9] GP6[8] GP6[7] GP6[6] RMII_TXD[1] RMII_TXD[0] RMII_TXEN RMII_RXD[1]
|
24
|
RMII_RXD[0] RMII_RXER RMII_MHZ_50_CLK RMII_CRS_DV GP6[5] GP8[15] GP8[14] GP8[13] GP8[12] GP6[4]
|
25
|
GP6[3] GP6[2] GP6[1]
|
26
|
|
27
|
MUX5 Pins:
|
28
|
|
29
|
*/
|
30
|
|
31
|
#define PINMUX0_VALUE 0x21111111
|
32
|
#define PINMUX1_VALUE 0x11111111
|
33
|
#define PINMUX2_VALUE 0x11111110
|
34
|
#define PINMUX3_VALUE 0x22224404
|
35
|
#define PINMUX4_VALUE 0x22222244
|
36
|
#define PINMUX5_VALUE 0x11111101
|
37
|
#define PINMUX6_VALUE 0x11111111
|
38
|
#define PINMUX7_VALUE 0x11111111
|
39
|
#define PINMUX8_VALUE 0x11111111
|
40
|
#define PINMUX9_VALUE 0x11111111
|
41
|
#define PINMUX10_VALUE 0x22222222
|
42
|
#define PINMUX11_VALUE 0x11111122
|
43
|
#define PINMUX12_VALUE 0x11111111
|
44
|
#define PINMUX13_VALUE 0x88880000
|
45
|
#define PINMUX14_VALUE 0x88888888
|
46
|
#define PINMUX15_VALUE 0x00000088
|
47
|
#define PINMUX16_VALUE 0x22222280
|
48
|
#define PINMUX17_VALUE 0x22222222
|
49
|
#define PINMUX18_VALUE 0x22888822
|
50
|
#define PINMUX19_VALUE 0x02888822
|