1*4882a593Smuzhiyun #ifndef __ASM_SH73A0_H__ 2*4882a593Smuzhiyun #define __ASM_SH73A0_H__ 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun /* Pin Function Controller: 5*4882a593Smuzhiyun * GPIO_FN_xx - GPIO used to select pin function and MSEL switch 6*4882a593Smuzhiyun * GPIO_PORTxx - GPIO mapped to real I/O pin on CPU 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun enum { 9*4882a593Smuzhiyun /* Hardware manual Table 25-1 (GPIO) */ 10*4882a593Smuzhiyun GPIO_PORT0, GPIO_PORT1, GPIO_PORT2, GPIO_PORT3, GPIO_PORT4, 11*4882a593Smuzhiyun GPIO_PORT5, GPIO_PORT6, GPIO_PORT7, GPIO_PORT8, GPIO_PORT9, 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun GPIO_PORT10, GPIO_PORT11, GPIO_PORT12, GPIO_PORT13, GPIO_PORT14, 14*4882a593Smuzhiyun GPIO_PORT15, GPIO_PORT16, GPIO_PORT17, GPIO_PORT18, GPIO_PORT19, 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun GPIO_PORT20, GPIO_PORT21, GPIO_PORT22, GPIO_PORT23, GPIO_PORT24, 17*4882a593Smuzhiyun GPIO_PORT25, GPIO_PORT26, GPIO_PORT27, GPIO_PORT28, GPIO_PORT29, 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun GPIO_PORT30, GPIO_PORT31, GPIO_PORT32, GPIO_PORT33, GPIO_PORT34, 20*4882a593Smuzhiyun GPIO_PORT35, GPIO_PORT36, GPIO_PORT37, GPIO_PORT38, GPIO_PORT39, 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun GPIO_PORT40, GPIO_PORT41, GPIO_PORT42, GPIO_PORT43, GPIO_PORT44, 23*4882a593Smuzhiyun GPIO_PORT45, GPIO_PORT46, GPIO_PORT47, GPIO_PORT48, GPIO_PORT49, 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun GPIO_PORT50, GPIO_PORT51, GPIO_PORT52, GPIO_PORT53, GPIO_PORT54, 26*4882a593Smuzhiyun GPIO_PORT55, GPIO_PORT56, GPIO_PORT57, GPIO_PORT58, GPIO_PORT59, 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun GPIO_PORT60, GPIO_PORT61, GPIO_PORT62, GPIO_PORT63, GPIO_PORT64, 29*4882a593Smuzhiyun GPIO_PORT65, GPIO_PORT66, GPIO_PORT67, GPIO_PORT68, GPIO_PORT69, 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun GPIO_PORT70, GPIO_PORT71, GPIO_PORT72, GPIO_PORT73, GPIO_PORT74, 32*4882a593Smuzhiyun GPIO_PORT75, GPIO_PORT76, GPIO_PORT77, GPIO_PORT78, GPIO_PORT79, 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun GPIO_PORT80, GPIO_PORT81, GPIO_PORT82, GPIO_PORT83, GPIO_PORT84, 35*4882a593Smuzhiyun GPIO_PORT85, GPIO_PORT86, GPIO_PORT87, GPIO_PORT88, GPIO_PORT89, 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun GPIO_PORT90, GPIO_PORT91, GPIO_PORT92, GPIO_PORT93, GPIO_PORT94, 38*4882a593Smuzhiyun GPIO_PORT95, GPIO_PORT96, GPIO_PORT97, GPIO_PORT98, GPIO_PORT99, 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun GPIO_PORT100, GPIO_PORT101, GPIO_PORT102, GPIO_PORT103, GPIO_PORT104, 41*4882a593Smuzhiyun GPIO_PORT105, GPIO_PORT106, GPIO_PORT107, GPIO_PORT108, GPIO_PORT109, 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun GPIO_PORT110, GPIO_PORT111, GPIO_PORT112, GPIO_PORT113, GPIO_PORT114, 44*4882a593Smuzhiyun GPIO_PORT115, GPIO_PORT116, GPIO_PORT117, GPIO_PORT118, 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun GPIO_PORT128, GPIO_PORT129, 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun GPIO_PORT130, GPIO_PORT131, GPIO_PORT132, GPIO_PORT133, GPIO_PORT134, 49*4882a593Smuzhiyun GPIO_PORT135, GPIO_PORT136, GPIO_PORT137, GPIO_PORT138, GPIO_PORT139, 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun GPIO_PORT140, GPIO_PORT141, GPIO_PORT142, GPIO_PORT143, GPIO_PORT144, 52*4882a593Smuzhiyun GPIO_PORT145, GPIO_PORT146, GPIO_PORT147, GPIO_PORT148, GPIO_PORT149, 53*4882a593Smuzhiyun 54*4882a593Smuzhiyun GPIO_PORT150, GPIO_PORT151, GPIO_PORT152, GPIO_PORT153, GPIO_PORT154, 55*4882a593Smuzhiyun GPIO_PORT155, GPIO_PORT156, GPIO_PORT157, GPIO_PORT158, GPIO_PORT159, 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun GPIO_PORT160, GPIO_PORT161, GPIO_PORT162, GPIO_PORT163, GPIO_PORT164, 58*4882a593Smuzhiyun 59*4882a593Smuzhiyun GPIO_PORT192, GPIO_PORT193, GPIO_PORT194, 60*4882a593Smuzhiyun GPIO_PORT195, GPIO_PORT196, GPIO_PORT197, GPIO_PORT198, GPIO_PORT199, 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun GPIO_PORT200, GPIO_PORT201, GPIO_PORT202, GPIO_PORT203, GPIO_PORT204, 63*4882a593Smuzhiyun GPIO_PORT205, GPIO_PORT206, GPIO_PORT207, GPIO_PORT208, GPIO_PORT209, 64*4882a593Smuzhiyun 65*4882a593Smuzhiyun GPIO_PORT210, GPIO_PORT211, GPIO_PORT212, GPIO_PORT213, GPIO_PORT214, 66*4882a593Smuzhiyun GPIO_PORT215, GPIO_PORT216, GPIO_PORT217, GPIO_PORT218, GPIO_PORT219, 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun GPIO_PORT220, GPIO_PORT221, GPIO_PORT222, GPIO_PORT223, GPIO_PORT224, 69*4882a593Smuzhiyun GPIO_PORT225, GPIO_PORT226, GPIO_PORT227, GPIO_PORT228, GPIO_PORT229, 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun GPIO_PORT230, GPIO_PORT231, GPIO_PORT232, GPIO_PORT233, GPIO_PORT234, 72*4882a593Smuzhiyun GPIO_PORT235, GPIO_PORT236, GPIO_PORT237, GPIO_PORT238, GPIO_PORT239, 73*4882a593Smuzhiyun 74*4882a593Smuzhiyun GPIO_PORT240, GPIO_PORT241, GPIO_PORT242, GPIO_PORT243, GPIO_PORT244, 75*4882a593Smuzhiyun GPIO_PORT245, GPIO_PORT246, GPIO_PORT247, GPIO_PORT248, GPIO_PORT249, 76*4882a593Smuzhiyun 77*4882a593Smuzhiyun GPIO_PORT250, GPIO_PORT251, GPIO_PORT252, GPIO_PORT253, GPIO_PORT254, 78*4882a593Smuzhiyun GPIO_PORT255, GPIO_PORT256, GPIO_PORT257, GPIO_PORT258, GPIO_PORT259, 79*4882a593Smuzhiyun 80*4882a593Smuzhiyun GPIO_PORT260, GPIO_PORT261, GPIO_PORT262, GPIO_PORT263, GPIO_PORT264, 81*4882a593Smuzhiyun GPIO_PORT265, GPIO_PORT266, GPIO_PORT267, GPIO_PORT268, GPIO_PORT269, 82*4882a593Smuzhiyun 83*4882a593Smuzhiyun GPIO_PORT270, GPIO_PORT271, GPIO_PORT272, GPIO_PORT273, GPIO_PORT274, 84*4882a593Smuzhiyun GPIO_PORT275, GPIO_PORT276, GPIO_PORT277, GPIO_PORT278, GPIO_PORT279, 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun GPIO_PORT280, GPIO_PORT281, GPIO_PORT282, 87*4882a593Smuzhiyun 88*4882a593Smuzhiyun GPIO_PORT288, GPIO_PORT289, 89*4882a593Smuzhiyun 90*4882a593Smuzhiyun GPIO_PORT290, GPIO_PORT291, GPIO_PORT292, GPIO_PORT293, GPIO_PORT294, 91*4882a593Smuzhiyun GPIO_PORT295, GPIO_PORT296, GPIO_PORT297, GPIO_PORT298, GPIO_PORT299, 92*4882a593Smuzhiyun 93*4882a593Smuzhiyun GPIO_PORT300, GPIO_PORT301, GPIO_PORT302, GPIO_PORT303, GPIO_PORT304, 94*4882a593Smuzhiyun GPIO_PORT305, GPIO_PORT306, GPIO_PORT307, GPIO_PORT308, GPIO_PORT309, 95*4882a593Smuzhiyun 96*4882a593Smuzhiyun /* Table 25-1 (Function 0-7) */ 97*4882a593Smuzhiyun GPIO_FN_VBUS_0, 98*4882a593Smuzhiyun GPIO_FN_GPI0, 99*4882a593Smuzhiyun GPIO_FN_GPI1, 100*4882a593Smuzhiyun GPIO_FN_GPI2, 101*4882a593Smuzhiyun GPIO_FN_GPI3, 102*4882a593Smuzhiyun GPIO_FN_GPI4, 103*4882a593Smuzhiyun GPIO_FN_GPI5, 104*4882a593Smuzhiyun GPIO_FN_GPI6, 105*4882a593Smuzhiyun GPIO_FN_GPI7, 106*4882a593Smuzhiyun GPIO_FN_SCIFA7_RXD, 107*4882a593Smuzhiyun GPIO_FN_SCIFA7_CTS_, 108*4882a593Smuzhiyun GPIO_FN_GPO7, GPIO_FN_MFG0_OUT2, 109*4882a593Smuzhiyun GPIO_FN_GPO6, GPIO_FN_MFG1_OUT2, 110*4882a593Smuzhiyun GPIO_FN_GPO5, GPIO_FN_SCIFA0_SCK, GPIO_FN_FSICOSLDT3, \ 111*4882a593Smuzhiyun GPIO_FN_PORT16_VIO_CKOR, 112*4882a593Smuzhiyun GPIO_FN_SCIFA0_TXD, 113*4882a593Smuzhiyun GPIO_FN_SCIFA7_TXD, 114*4882a593Smuzhiyun GPIO_FN_SCIFA7_RTS_, GPIO_FN_PORT19_VIO_CKO2, 115*4882a593Smuzhiyun GPIO_FN_GPO0, 116*4882a593Smuzhiyun GPIO_FN_GPO1, 117*4882a593Smuzhiyun GPIO_FN_GPO2, GPIO_FN_STATUS0, 118*4882a593Smuzhiyun GPIO_FN_GPO3, GPIO_FN_STATUS1, 119*4882a593Smuzhiyun GPIO_FN_GPO4, GPIO_FN_STATUS2, 120*4882a593Smuzhiyun GPIO_FN_VINT, 121*4882a593Smuzhiyun GPIO_FN_TCKON, 122*4882a593Smuzhiyun GPIO_FN_XDVFS1, GPIO_FN_PORT27_I2C_SCL2, GPIO_FN_PORT27_I2C_SCL3, \ 123*4882a593Smuzhiyun GPIO_FN_MFG0_OUT1, GPIO_FN_PORT27_IROUT, 124*4882a593Smuzhiyun GPIO_FN_XDVFS2, GPIO_FN_PORT28_I2C_SDA2, GPIO_FN_PORT28_I2C_SDA3, \ 125*4882a593Smuzhiyun GPIO_FN_PORT28_TPU1TO1, 126*4882a593Smuzhiyun GPIO_FN_SIM_RST, GPIO_FN_PORT29_TPU1TO1, 127*4882a593Smuzhiyun GPIO_FN_SIM_CLK, GPIO_FN_PORT30_VIO_CKOR, 128*4882a593Smuzhiyun GPIO_FN_SIM_D, GPIO_FN_PORT31_IROUT, 129*4882a593Smuzhiyun GPIO_FN_SCIFA4_TXD, 130*4882a593Smuzhiyun GPIO_FN_SCIFA4_RXD, GPIO_FN_XWUP, 131*4882a593Smuzhiyun GPIO_FN_SCIFA4_RTS_, 132*4882a593Smuzhiyun GPIO_FN_SCIFA4_CTS_, 133*4882a593Smuzhiyun GPIO_FN_FSIBOBT, GPIO_FN_FSIBIBT, 134*4882a593Smuzhiyun GPIO_FN_FSIBOLR, GPIO_FN_FSIBILR, 135*4882a593Smuzhiyun GPIO_FN_FSIBOSLD, 136*4882a593Smuzhiyun GPIO_FN_FSIBISLD, 137*4882a593Smuzhiyun GPIO_FN_VACK, 138*4882a593Smuzhiyun GPIO_FN_XTAL1L, 139*4882a593Smuzhiyun GPIO_FN_SCIFA0_RTS_, GPIO_FN_FSICOSLDT2, 140*4882a593Smuzhiyun GPIO_FN_SCIFA0_RXD, 141*4882a593Smuzhiyun GPIO_FN_SCIFA0_CTS_, GPIO_FN_FSICOSLDT1, 142*4882a593Smuzhiyun GPIO_FN_FSICOBT, GPIO_FN_FSICIBT, GPIO_FN_FSIDOBT, GPIO_FN_FSIDIBT, 143*4882a593Smuzhiyun GPIO_FN_FSICOLR, GPIO_FN_FSICILR, GPIO_FN_FSIDOLR, GPIO_FN_FSIDILR, 144*4882a593Smuzhiyun GPIO_FN_FSICOSLD, GPIO_FN_PORT47_FSICSPDIF, 145*4882a593Smuzhiyun GPIO_FN_FSICISLD, GPIO_FN_FSIDISLD, 146*4882a593Smuzhiyun GPIO_FN_FSIACK, GPIO_FN_PORT49_IRDA_OUT, GPIO_FN_PORT49_IROUT, \ 147*4882a593Smuzhiyun GPIO_FN_FSIAOMC, 148*4882a593Smuzhiyun GPIO_FN_FSIAOLR, GPIO_FN_BBIF2_TSYNC2, GPIO_FN_TPU2TO2, GPIO_FN_FSIAILR, 149*4882a593Smuzhiyun 150*4882a593Smuzhiyun GPIO_FN_FSIAOBT, GPIO_FN_BBIF2_TSCK2, GPIO_FN_TPU2TO3, GPIO_FN_FSIAIBT, 151*4882a593Smuzhiyun GPIO_FN_FSIAOSLD, GPIO_FN_BBIF2_TXD2, 152*4882a593Smuzhiyun GPIO_FN_FSIASPDIF, GPIO_FN_PORT53_IRDA_IN, GPIO_FN_TPU3TO3, \ 153*4882a593Smuzhiyun GPIO_FN_FSIBSPDIF, GPIO_FN_PORT53_FSICSPDIF, 154*4882a593Smuzhiyun GPIO_FN_FSIBCK, GPIO_FN_PORT54_IRDA_FIRSEL, GPIO_FN_TPU3TO2, \ 155*4882a593Smuzhiyun GPIO_FN_FSIBOMC, GPIO_FN_FSICCK, GPIO_FN_FSICOMC, 156*4882a593Smuzhiyun GPIO_FN_FSIAISLD, GPIO_FN_TPU0TO0, 157*4882a593Smuzhiyun GPIO_FN_A0, GPIO_FN_BS_, 158*4882a593Smuzhiyun GPIO_FN_A12, GPIO_FN_PORT58_KEYOUT7, GPIO_FN_TPU4TO2, 159*4882a593Smuzhiyun GPIO_FN_A13, GPIO_FN_PORT59_KEYOUT6, GPIO_FN_TPU0TO1, 160*4882a593Smuzhiyun GPIO_FN_A14, GPIO_FN_KEYOUT5, 161*4882a593Smuzhiyun GPIO_FN_A15, GPIO_FN_KEYOUT4, 162*4882a593Smuzhiyun GPIO_FN_A16, GPIO_FN_KEYOUT3, GPIO_FN_MSIOF0_SS1, 163*4882a593Smuzhiyun GPIO_FN_A17, GPIO_FN_KEYOUT2, GPIO_FN_MSIOF0_TSYNC, 164*4882a593Smuzhiyun GPIO_FN_A18, GPIO_FN_KEYOUT1, GPIO_FN_MSIOF0_TSCK, 165*4882a593Smuzhiyun GPIO_FN_A19, GPIO_FN_KEYOUT0, GPIO_FN_MSIOF0_TXD, 166*4882a593Smuzhiyun GPIO_FN_A20, GPIO_FN_KEYIN0, GPIO_FN_MSIOF0_RSCK, 167*4882a593Smuzhiyun GPIO_FN_A21, GPIO_FN_KEYIN1, GPIO_FN_MSIOF0_RSYNC, 168*4882a593Smuzhiyun GPIO_FN_A22, GPIO_FN_KEYIN2, GPIO_FN_MSIOF0_MCK0, 169*4882a593Smuzhiyun GPIO_FN_A23, GPIO_FN_KEYIN3, GPIO_FN_MSIOF0_MCK1, 170*4882a593Smuzhiyun GPIO_FN_A24, GPIO_FN_KEYIN4, GPIO_FN_MSIOF0_RXD, 171*4882a593Smuzhiyun GPIO_FN_A25, GPIO_FN_KEYIN5, GPIO_FN_MSIOF0_SS2, 172*4882a593Smuzhiyun GPIO_FN_A26, GPIO_FN_KEYIN6, 173*4882a593Smuzhiyun GPIO_FN_KEYIN7, 174*4882a593Smuzhiyun GPIO_FN_D0_NAF0, 175*4882a593Smuzhiyun GPIO_FN_D1_NAF1, 176*4882a593Smuzhiyun GPIO_FN_D2_NAF2, 177*4882a593Smuzhiyun GPIO_FN_D3_NAF3, 178*4882a593Smuzhiyun GPIO_FN_D4_NAF4, 179*4882a593Smuzhiyun GPIO_FN_D5_NAF5, 180*4882a593Smuzhiyun GPIO_FN_D6_NAF6, 181*4882a593Smuzhiyun GPIO_FN_D7_NAF7, 182*4882a593Smuzhiyun GPIO_FN_D8_NAF8, 183*4882a593Smuzhiyun GPIO_FN_D9_NAF9, 184*4882a593Smuzhiyun GPIO_FN_D10_NAF10, 185*4882a593Smuzhiyun GPIO_FN_D11_NAF11, 186*4882a593Smuzhiyun GPIO_FN_D12_NAF12, 187*4882a593Smuzhiyun GPIO_FN_D13_NAF13, 188*4882a593Smuzhiyun GPIO_FN_D14_NAF14, 189*4882a593Smuzhiyun GPIO_FN_D15_NAF15, 190*4882a593Smuzhiyun GPIO_FN_CS4_, 191*4882a593Smuzhiyun GPIO_FN_CS5A_, GPIO_FN_PORT91_RDWR, 192*4882a593Smuzhiyun GPIO_FN_CS5B_, GPIO_FN_FCE1_, 193*4882a593Smuzhiyun GPIO_FN_CS6B_, GPIO_FN_DACK0, 194*4882a593Smuzhiyun GPIO_FN_FCE0_, GPIO_FN_CS6A_, 195*4882a593Smuzhiyun GPIO_FN_WAIT_, GPIO_FN_DREQ0, 196*4882a593Smuzhiyun GPIO_FN_RD__FSC, 197*4882a593Smuzhiyun GPIO_FN_WE0__FWE, GPIO_FN_RDWR_FWE, 198*4882a593Smuzhiyun GPIO_FN_WE1_, 199*4882a593Smuzhiyun GPIO_FN_FRB, 200*4882a593Smuzhiyun GPIO_FN_CKO, 201*4882a593Smuzhiyun GPIO_FN_NBRSTOUT_, 202*4882a593Smuzhiyun GPIO_FN_NBRST_, 203*4882a593Smuzhiyun GPIO_FN_BBIF2_TXD, 204*4882a593Smuzhiyun GPIO_FN_BBIF2_RXD, 205*4882a593Smuzhiyun GPIO_FN_BBIF2_SYNC, 206*4882a593Smuzhiyun GPIO_FN_BBIF2_SCK, 207*4882a593Smuzhiyun GPIO_FN_SCIFA3_CTS_, GPIO_FN_MFG3_IN2, 208*4882a593Smuzhiyun GPIO_FN_SCIFA3_RXD, GPIO_FN_MFG3_IN1, 209*4882a593Smuzhiyun GPIO_FN_BBIF1_SS2, GPIO_FN_SCIFA3_RTS_, GPIO_FN_MFG3_OUT1, 210*4882a593Smuzhiyun GPIO_FN_SCIFA3_TXD, 211*4882a593Smuzhiyun GPIO_FN_HSI_RX_DATA, GPIO_FN_BBIF1_RXD, 212*4882a593Smuzhiyun GPIO_FN_HSI_TX_WAKE, GPIO_FN_BBIF1_TSCK, 213*4882a593Smuzhiyun GPIO_FN_HSI_TX_DATA, GPIO_FN_BBIF1_TSYNC, 214*4882a593Smuzhiyun GPIO_FN_HSI_TX_READY, GPIO_FN_BBIF1_TXD, 215*4882a593Smuzhiyun GPIO_FN_HSI_RX_READY, GPIO_FN_BBIF1_RSCK, GPIO_FN_PORT115_I2C_SCL2, \ 216*4882a593Smuzhiyun GPIO_FN_PORT115_I2C_SCL3, 217*4882a593Smuzhiyun GPIO_FN_HSI_RX_WAKE, GPIO_FN_BBIF1_RSYNC, GPIO_FN_PORT116_I2C_SDA2, \ 218*4882a593Smuzhiyun GPIO_FN_PORT116_I2C_SDA3, 219*4882a593Smuzhiyun GPIO_FN_HSI_RX_FLAG, GPIO_FN_BBIF1_SS1, GPIO_FN_BBIF1_FLOW, 220*4882a593Smuzhiyun GPIO_FN_HSI_TX_FLAG, 221*4882a593Smuzhiyun GPIO_FN_VIO_VD, GPIO_FN_PORT128_LCD2VSYN, GPIO_FN_VIO2_VD, \ 222*4882a593Smuzhiyun GPIO_FN_LCD2D0, 223*4882a593Smuzhiyun 224*4882a593Smuzhiyun GPIO_FN_VIO_HD, GPIO_FN_PORT129_LCD2HSYN, GPIO_FN_PORT129_LCD2CS_, \ 225*4882a593Smuzhiyun GPIO_FN_VIO2_HD, GPIO_FN_LCD2D1, 226*4882a593Smuzhiyun GPIO_FN_VIO_D0, GPIO_FN_PORT130_MSIOF2_RXD, GPIO_FN_LCD2D10, 227*4882a593Smuzhiyun GPIO_FN_VIO_D1, GPIO_FN_PORT131_KEYOUT6, GPIO_FN_PORT131_MSIOF2_SS1, \ 228*4882a593Smuzhiyun GPIO_FN_PORT131_KEYOUT11, GPIO_FN_LCD2D11, 229*4882a593Smuzhiyun GPIO_FN_VIO_D2, GPIO_FN_PORT132_KEYOUT7, GPIO_FN_PORT132_MSIOF2_SS2, \ 230*4882a593Smuzhiyun GPIO_FN_PORT132_KEYOUT10, GPIO_FN_LCD2D12, 231*4882a593Smuzhiyun GPIO_FN_VIO_D3, GPIO_FN_MSIOF2_TSYNC, GPIO_FN_LCD2D13, 232*4882a593Smuzhiyun GPIO_FN_VIO_D4, GPIO_FN_MSIOF2_TXD, GPIO_FN_LCD2D14, 233*4882a593Smuzhiyun GPIO_FN_VIO_D5, GPIO_FN_MSIOF2_TSCK, GPIO_FN_LCD2D15, 234*4882a593Smuzhiyun GPIO_FN_VIO_D6, GPIO_FN_PORT136_KEYOUT8, GPIO_FN_LCD2D16, 235*4882a593Smuzhiyun GPIO_FN_VIO_D7, GPIO_FN_PORT137_KEYOUT9, GPIO_FN_LCD2D17, 236*4882a593Smuzhiyun GPIO_FN_VIO_D8, GPIO_FN_PORT138_KEYOUT8, GPIO_FN_VIO2_D0, \ 237*4882a593Smuzhiyun GPIO_FN_LCD2D6, 238*4882a593Smuzhiyun GPIO_FN_VIO_D9, GPIO_FN_PORT139_KEYOUT9, GPIO_FN_VIO2_D1, \ 239*4882a593Smuzhiyun GPIO_FN_LCD2D7, 240*4882a593Smuzhiyun GPIO_FN_VIO_D10, GPIO_FN_TPU0TO2, GPIO_FN_VIO2_D2, GPIO_FN_LCD2D8, 241*4882a593Smuzhiyun GPIO_FN_VIO_D11, GPIO_FN_TPU0TO3, GPIO_FN_VIO2_D3, GPIO_FN_LCD2D9, 242*4882a593Smuzhiyun GPIO_FN_VIO_D12, GPIO_FN_PORT142_KEYOUT10, GPIO_FN_VIO2_D4, \ 243*4882a593Smuzhiyun GPIO_FN_LCD2D2, 244*4882a593Smuzhiyun GPIO_FN_VIO_D13, GPIO_FN_PORT143_KEYOUT11, GPIO_FN_PORT143_KEYOUT6, \ 245*4882a593Smuzhiyun GPIO_FN_VIO2_D5, GPIO_FN_LCD2D3, 246*4882a593Smuzhiyun GPIO_FN_VIO_D14, GPIO_FN_PORT144_KEYOUT7, GPIO_FN_VIO2_D6, \ 247*4882a593Smuzhiyun GPIO_FN_LCD2D4, 248*4882a593Smuzhiyun GPIO_FN_VIO_D15, GPIO_FN_TPU1TO3, GPIO_FN_PORT145_LCD2DISP, \ 249*4882a593Smuzhiyun GPIO_FN_PORT145_LCD2RS, GPIO_FN_VIO2_D7, GPIO_FN_LCD2D5, 250*4882a593Smuzhiyun GPIO_FN_VIO_CLK, GPIO_FN_LCD2DCK, GPIO_FN_PORT146_LCD2WR_, \ 251*4882a593Smuzhiyun GPIO_FN_VIO2_CLK, GPIO_FN_LCD2D18, 252*4882a593Smuzhiyun GPIO_FN_VIO_FIELD, GPIO_FN_LCD2RD_, GPIO_FN_VIO2_FIELD, GPIO_FN_LCD2D19, 253*4882a593Smuzhiyun GPIO_FN_VIO_CKO, 254*4882a593Smuzhiyun GPIO_FN_A27, GPIO_FN_PORT149_RDWR, GPIO_FN_MFG0_IN1, \ 255*4882a593Smuzhiyun GPIO_FN_PORT149_KEYOUT9, 256*4882a593Smuzhiyun GPIO_FN_MFG0_IN2, 257*4882a593Smuzhiyun GPIO_FN_TS_SPSYNC3, GPIO_FN_MSIOF2_RSCK, 258*4882a593Smuzhiyun GPIO_FN_TS_SDAT3, GPIO_FN_MSIOF2_RSYNC, 259*4882a593Smuzhiyun GPIO_FN_TPU1TO2, GPIO_FN_TS_SDEN3, GPIO_FN_PORT153_MSIOF2_SS1, 260*4882a593Smuzhiyun GPIO_FN_SCIFA2_TXD1, GPIO_FN_MSIOF2_MCK0, 261*4882a593Smuzhiyun GPIO_FN_SCIFA2_RXD1, GPIO_FN_MSIOF2_MCK1, 262*4882a593Smuzhiyun GPIO_FN_SCIFA2_RTS1_, GPIO_FN_PORT156_MSIOF2_SS2, 263*4882a593Smuzhiyun GPIO_FN_SCIFA2_CTS1_, GPIO_FN_PORT157_MSIOF2_RXD, 264*4882a593Smuzhiyun GPIO_FN_DINT_, GPIO_FN_SCIFA2_SCK1, GPIO_FN_TS_SCK3, 265*4882a593Smuzhiyun GPIO_FN_PORT159_SCIFB_SCK, GPIO_FN_PORT159_SCIFA5_SCK, GPIO_FN_NMI, 266*4882a593Smuzhiyun GPIO_FN_PORT160_SCIFB_TXD, GPIO_FN_PORT160_SCIFA5_TXD, 267*4882a593Smuzhiyun GPIO_FN_PORT161_SCIFB_CTS_, GPIO_FN_PORT161_SCIFA5_CTS_, 268*4882a593Smuzhiyun GPIO_FN_PORT162_SCIFB_RXD, GPIO_FN_PORT162_SCIFA5_RXD, 269*4882a593Smuzhiyun GPIO_FN_PORT163_SCIFB_RTS_, GPIO_FN_PORT163_SCIFA5_RTS_, \ 270*4882a593Smuzhiyun GPIO_FN_TPU3TO0, 271*4882a593Smuzhiyun GPIO_FN_LCDD0, 272*4882a593Smuzhiyun GPIO_FN_LCDD1, GPIO_FN_PORT193_SCIFA5_CTS_, GPIO_FN_BBIF2_TSYNC1, 273*4882a593Smuzhiyun GPIO_FN_LCDD2, GPIO_FN_PORT194_SCIFA5_RTS_, GPIO_FN_BBIF2_TSCK1, 274*4882a593Smuzhiyun GPIO_FN_LCDD3, GPIO_FN_PORT195_SCIFA5_RXD, GPIO_FN_BBIF2_TXD1, 275*4882a593Smuzhiyun GPIO_FN_LCDD4, GPIO_FN_PORT196_SCIFA5_TXD, 276*4882a593Smuzhiyun GPIO_FN_LCDD5, GPIO_FN_PORT197_SCIFA5_SCK, GPIO_FN_MFG2_OUT2, \ 277*4882a593Smuzhiyun GPIO_FN_TPU2TO1, 278*4882a593Smuzhiyun GPIO_FN_LCDD6, 279*4882a593Smuzhiyun GPIO_FN_LCDD7, GPIO_FN_TPU4TO1, GPIO_FN_MFG4_OUT2, 280*4882a593Smuzhiyun GPIO_FN_LCDD8, GPIO_FN_D16, 281*4882a593Smuzhiyun GPIO_FN_LCDD9, GPIO_FN_D17, 282*4882a593Smuzhiyun GPIO_FN_LCDD10, GPIO_FN_D18, 283*4882a593Smuzhiyun GPIO_FN_LCDD11, GPIO_FN_D19, 284*4882a593Smuzhiyun GPIO_FN_LCDD12, GPIO_FN_D20, 285*4882a593Smuzhiyun GPIO_FN_LCDD13, GPIO_FN_D21, 286*4882a593Smuzhiyun GPIO_FN_LCDD14, GPIO_FN_D22, 287*4882a593Smuzhiyun GPIO_FN_LCDD15, GPIO_FN_PORT207_MSIOF0L_SS1, GPIO_FN_D23, 288*4882a593Smuzhiyun GPIO_FN_LCDD16, GPIO_FN_PORT208_MSIOF0L_SS2, GPIO_FN_D24, 289*4882a593Smuzhiyun GPIO_FN_LCDD17, GPIO_FN_D25, 290*4882a593Smuzhiyun GPIO_FN_LCDD18, GPIO_FN_DREQ2, GPIO_FN_PORT210_MSIOF0L_SS1, GPIO_FN_D26, 291*4882a593Smuzhiyun GPIO_FN_LCDD19, GPIO_FN_PORT211_MSIOF0L_SS2, GPIO_FN_D27, 292*4882a593Smuzhiyun GPIO_FN_LCDD20, GPIO_FN_TS_SPSYNC1, GPIO_FN_MSIOF0L_MCK0, GPIO_FN_D28, 293*4882a593Smuzhiyun GPIO_FN_LCDD21, GPIO_FN_TS_SDAT1, GPIO_FN_MSIOF0L_MCK1, GPIO_FN_D29, 294*4882a593Smuzhiyun GPIO_FN_LCDD22, GPIO_FN_TS_SDEN1, GPIO_FN_MSIOF0L_RSCK, GPIO_FN_D30, 295*4882a593Smuzhiyun GPIO_FN_LCDD23, GPIO_FN_TS_SCK1, GPIO_FN_MSIOF0L_RSYNC, GPIO_FN_D31, 296*4882a593Smuzhiyun GPIO_FN_LCDDCK, GPIO_FN_LCDWR_, 297*4882a593Smuzhiyun GPIO_FN_LCDRD_, GPIO_FN_DACK2, GPIO_FN_PORT217_LCD2RS, \ 298*4882a593Smuzhiyun GPIO_FN_MSIOF0L_TSYNC, GPIO_FN_VIO2_FIELD3, GPIO_FN_PORT217_LCD2DISP, 299*4882a593Smuzhiyun GPIO_FN_LCDHSYN, GPIO_FN_LCDCS_, GPIO_FN_LCDCS2_, GPIO_FN_DACK3, \ 300*4882a593Smuzhiyun GPIO_FN_PORT218_VIO_CKOR, 301*4882a593Smuzhiyun GPIO_FN_LCDDISP, GPIO_FN_LCDRS, GPIO_FN_PORT219_LCD2WR_, \ 302*4882a593Smuzhiyun GPIO_FN_DREQ3, GPIO_FN_MSIOF0L_TSCK, GPIO_FN_VIO2_CLK3, \ 303*4882a593Smuzhiyun GPIO_FN_LCD2DCK_2, 304*4882a593Smuzhiyun GPIO_FN_LCDVSYN, GPIO_FN_LCDVSYN2, 305*4882a593Smuzhiyun GPIO_FN_LCDLCLK, GPIO_FN_DREQ1, GPIO_FN_PORT221_LCD2CS_, \ 306*4882a593Smuzhiyun GPIO_FN_PWEN, GPIO_FN_MSIOF0L_RXD, GPIO_FN_VIO2_HD3, \ 307*4882a593Smuzhiyun GPIO_FN_PORT221_LCD2HSYN, 308*4882a593Smuzhiyun GPIO_FN_LCDDON, GPIO_FN_LCDDON2, GPIO_FN_DACK1, GPIO_FN_OVCN, \ 309*4882a593Smuzhiyun GPIO_FN_MSIOF0L_TXD, GPIO_FN_VIO2_VD3, GPIO_FN_PORT222_LCD2VSYN, 310*4882a593Smuzhiyun 311*4882a593Smuzhiyun GPIO_FN_SCIFA1_TXD, GPIO_FN_OVCN2, 312*4882a593Smuzhiyun GPIO_FN_EXTLP, GPIO_FN_SCIFA1_SCK, GPIO_FN_PORT226_VIO_CKO2, 313*4882a593Smuzhiyun GPIO_FN_SCIFA1_RTS_, GPIO_FN_IDIN, 314*4882a593Smuzhiyun GPIO_FN_SCIFA1_RXD, 315*4882a593Smuzhiyun GPIO_FN_SCIFA1_CTS_, GPIO_FN_MFG1_IN1, 316*4882a593Smuzhiyun GPIO_FN_MSIOF1_TXD, GPIO_FN_SCIFA2_TXD2, 317*4882a593Smuzhiyun GPIO_FN_MSIOF1_TSYNC, GPIO_FN_SCIFA2_CTS2_, 318*4882a593Smuzhiyun GPIO_FN_MSIOF1_TSCK, GPIO_FN_SCIFA2_SCK2, 319*4882a593Smuzhiyun GPIO_FN_MSIOF1_RXD, GPIO_FN_SCIFA2_RXD2, 320*4882a593Smuzhiyun GPIO_FN_MSIOF1_RSCK, GPIO_FN_SCIFA2_RTS2_, GPIO_FN_VIO2_CLK2, \ 321*4882a593Smuzhiyun GPIO_FN_LCD2D20, 322*4882a593Smuzhiyun GPIO_FN_MSIOF1_RSYNC, GPIO_FN_MFG1_IN2, GPIO_FN_VIO2_VD2, \ 323*4882a593Smuzhiyun GPIO_FN_LCD2D21, 324*4882a593Smuzhiyun GPIO_FN_MSIOF1_MCK0, GPIO_FN_PORT236_I2C_SDA2, 325*4882a593Smuzhiyun GPIO_FN_MSIOF1_MCK1, GPIO_FN_PORT237_I2C_SCL2, 326*4882a593Smuzhiyun GPIO_FN_MSIOF1_SS1, GPIO_FN_VIO2_FIELD2, GPIO_FN_LCD2D22, 327*4882a593Smuzhiyun GPIO_FN_MSIOF1_SS2, GPIO_FN_VIO2_HD2, GPIO_FN_LCD2D23, 328*4882a593Smuzhiyun GPIO_FN_SCIFA6_TXD, 329*4882a593Smuzhiyun GPIO_FN_PORT241_IRDA_OUT, GPIO_FN_PORT241_IROUT, GPIO_FN_MFG4_OUT1, \ 330*4882a593Smuzhiyun GPIO_FN_TPU4TO0, 331*4882a593Smuzhiyun GPIO_FN_PORT242_IRDA_IN, GPIO_FN_MFG4_IN2, 332*4882a593Smuzhiyun GPIO_FN_PORT243_IRDA_FIRSEL, GPIO_FN_PORT243_VIO_CKO2, 333*4882a593Smuzhiyun GPIO_FN_PORT244_SCIFA5_CTS_, GPIO_FN_MFG2_IN1, \ 334*4882a593Smuzhiyun GPIO_FN_PORT244_SCIFB_CTS_, GPIO_FN_MSIOF2R_RXD, 335*4882a593Smuzhiyun GPIO_FN_PORT245_SCIFA5_RTS_, GPIO_FN_MFG2_IN2, \ 336*4882a593Smuzhiyun GPIO_FN_PORT245_SCIFB_RTS_, GPIO_FN_MSIOF2R_TXD, 337*4882a593Smuzhiyun GPIO_FN_PORT246_SCIFA5_RXD, GPIO_FN_MFG1_OUT1, \ 338*4882a593Smuzhiyun GPIO_FN_PORT246_SCIFB_RXD, GPIO_FN_TPU1TO0, 339*4882a593Smuzhiyun GPIO_FN_PORT247_SCIFA5_TXD, GPIO_FN_MFG3_OUT2, \ 340*4882a593Smuzhiyun GPIO_FN_PORT247_SCIFB_TXD, GPIO_FN_TPU3TO1, 341*4882a593Smuzhiyun GPIO_FN_PORT248_SCIFA5_SCK, GPIO_FN_MFG2_OUT1, \ 342*4882a593Smuzhiyun GPIO_FN_PORT248_SCIFB_SCK, GPIO_FN_TPU2TO0, \ 343*4882a593Smuzhiyun GPIO_FN_PORT248_I2C_SCL3, GPIO_FN_MSIOF2R_TSCK, 344*4882a593Smuzhiyun GPIO_FN_PORT249_IROUT, GPIO_FN_MFG4_IN1, \ 345*4882a593Smuzhiyun GPIO_FN_PORT249_I2C_SDA3, GPIO_FN_MSIOF2R_TSYNC, 346*4882a593Smuzhiyun GPIO_FN_SDHICLK0, 347*4882a593Smuzhiyun GPIO_FN_SDHICD0, 348*4882a593Smuzhiyun GPIO_FN_SDHID0_0, 349*4882a593Smuzhiyun GPIO_FN_SDHID0_1, 350*4882a593Smuzhiyun GPIO_FN_SDHID0_2, 351*4882a593Smuzhiyun GPIO_FN_SDHID0_3, 352*4882a593Smuzhiyun GPIO_FN_SDHICMD0, 353*4882a593Smuzhiyun GPIO_FN_SDHIWP0, 354*4882a593Smuzhiyun GPIO_FN_SDHICLK1, 355*4882a593Smuzhiyun GPIO_FN_SDHID1_0, GPIO_FN_TS_SPSYNC2, 356*4882a593Smuzhiyun GPIO_FN_SDHID1_1, GPIO_FN_TS_SDAT2, 357*4882a593Smuzhiyun GPIO_FN_SDHID1_2, GPIO_FN_TS_SDEN2, 358*4882a593Smuzhiyun GPIO_FN_SDHID1_3, GPIO_FN_TS_SCK2, 359*4882a593Smuzhiyun GPIO_FN_SDHICMD1, 360*4882a593Smuzhiyun GPIO_FN_SDHICLK2, 361*4882a593Smuzhiyun GPIO_FN_SDHID2_0, GPIO_FN_TS_SPSYNC4, 362*4882a593Smuzhiyun GPIO_FN_SDHID2_1, GPIO_FN_TS_SDAT4, 363*4882a593Smuzhiyun GPIO_FN_SDHID2_2, GPIO_FN_TS_SDEN4, 364*4882a593Smuzhiyun GPIO_FN_SDHID2_3, GPIO_FN_TS_SCK4, 365*4882a593Smuzhiyun GPIO_FN_SDHICMD2, 366*4882a593Smuzhiyun GPIO_FN_MMCCLK0, 367*4882a593Smuzhiyun GPIO_FN_MMCD0_0, 368*4882a593Smuzhiyun GPIO_FN_MMCD0_1, 369*4882a593Smuzhiyun GPIO_FN_MMCD0_2, 370*4882a593Smuzhiyun GPIO_FN_MMCD0_3, 371*4882a593Smuzhiyun GPIO_FN_MMCD0_4, GPIO_FN_TS_SPSYNC5, 372*4882a593Smuzhiyun GPIO_FN_MMCD0_5, GPIO_FN_TS_SDAT5, 373*4882a593Smuzhiyun GPIO_FN_MMCD0_6, GPIO_FN_TS_SDEN5, 374*4882a593Smuzhiyun GPIO_FN_MMCD0_7, GPIO_FN_TS_SCK5, 375*4882a593Smuzhiyun GPIO_FN_MMCCMD0, 376*4882a593Smuzhiyun GPIO_FN_RESETOUTS_, GPIO_FN_EXTAL2OUT, 377*4882a593Smuzhiyun GPIO_FN_MCP_WAIT__MCP_FRB, 378*4882a593Smuzhiyun GPIO_FN_MCP_CKO, GPIO_FN_MMCCLK1, 379*4882a593Smuzhiyun GPIO_FN_MCP_D15_MCP_NAF15, 380*4882a593Smuzhiyun GPIO_FN_MCP_D14_MCP_NAF14, 381*4882a593Smuzhiyun GPIO_FN_MCP_D13_MCP_NAF13, 382*4882a593Smuzhiyun GPIO_FN_MCP_D12_MCP_NAF12, 383*4882a593Smuzhiyun GPIO_FN_MCP_D11_MCP_NAF11, 384*4882a593Smuzhiyun GPIO_FN_MCP_D10_MCP_NAF10, 385*4882a593Smuzhiyun GPIO_FN_MCP_D9_MCP_NAF9, 386*4882a593Smuzhiyun GPIO_FN_MCP_D8_MCP_NAF8, GPIO_FN_MMCCMD1, 387*4882a593Smuzhiyun GPIO_FN_MCP_D7_MCP_NAF7, GPIO_FN_MMCD1_7, 388*4882a593Smuzhiyun 389*4882a593Smuzhiyun GPIO_FN_MCP_D6_MCP_NAF6, GPIO_FN_MMCD1_6, 390*4882a593Smuzhiyun GPIO_FN_MCP_D5_MCP_NAF5, GPIO_FN_MMCD1_5, 391*4882a593Smuzhiyun GPIO_FN_MCP_D4_MCP_NAF4, GPIO_FN_MMCD1_4, 392*4882a593Smuzhiyun GPIO_FN_MCP_D3_MCP_NAF3, GPIO_FN_MMCD1_3, 393*4882a593Smuzhiyun GPIO_FN_MCP_D2_MCP_NAF2, GPIO_FN_MMCD1_2, 394*4882a593Smuzhiyun GPIO_FN_MCP_D1_MCP_NAF1, GPIO_FN_MMCD1_1, 395*4882a593Smuzhiyun GPIO_FN_MCP_D0_MCP_NAF0, GPIO_FN_MMCD1_0, 396*4882a593Smuzhiyun GPIO_FN_MCP_NBRSTOUT_, 397*4882a593Smuzhiyun GPIO_FN_MCP_WE0__MCP_FWE, GPIO_FN_MCP_RDWR_MCP_FWE, 398*4882a593Smuzhiyun 399*4882a593Smuzhiyun /* MSEL2 special case */ 400*4882a593Smuzhiyun GPIO_FN_TSIF2_TS_XX1, 401*4882a593Smuzhiyun GPIO_FN_TSIF2_TS_XX2, 402*4882a593Smuzhiyun GPIO_FN_TSIF2_TS_XX3, 403*4882a593Smuzhiyun GPIO_FN_TSIF2_TS_XX4, 404*4882a593Smuzhiyun GPIO_FN_TSIF2_TS_XX5, 405*4882a593Smuzhiyun GPIO_FN_TSIF1_TS_XX1, 406*4882a593Smuzhiyun GPIO_FN_TSIF1_TS_XX2, 407*4882a593Smuzhiyun GPIO_FN_TSIF1_TS_XX3, 408*4882a593Smuzhiyun GPIO_FN_TSIF1_TS_XX4, 409*4882a593Smuzhiyun GPIO_FN_TSIF1_TS_XX5, 410*4882a593Smuzhiyun GPIO_FN_TSIF0_TS_XX1, 411*4882a593Smuzhiyun GPIO_FN_TSIF0_TS_XX2, 412*4882a593Smuzhiyun GPIO_FN_TSIF0_TS_XX3, 413*4882a593Smuzhiyun GPIO_FN_TSIF0_TS_XX4, 414*4882a593Smuzhiyun GPIO_FN_TSIF0_TS_XX5, 415*4882a593Smuzhiyun GPIO_FN_MST1_TS_XX1, 416*4882a593Smuzhiyun GPIO_FN_MST1_TS_XX2, 417*4882a593Smuzhiyun GPIO_FN_MST1_TS_XX3, 418*4882a593Smuzhiyun GPIO_FN_MST1_TS_XX4, 419*4882a593Smuzhiyun GPIO_FN_MST1_TS_XX5, 420*4882a593Smuzhiyun GPIO_FN_MST0_TS_XX1, 421*4882a593Smuzhiyun GPIO_FN_MST0_TS_XX2, 422*4882a593Smuzhiyun GPIO_FN_MST0_TS_XX3, 423*4882a593Smuzhiyun GPIO_FN_MST0_TS_XX4, 424*4882a593Smuzhiyun GPIO_FN_MST0_TS_XX5, 425*4882a593Smuzhiyun 426*4882a593Smuzhiyun /* MSEL3 special cases */ 427*4882a593Smuzhiyun GPIO_FN_SDHI0_VCCQ_MC0_ON, 428*4882a593Smuzhiyun GPIO_FN_SDHI0_VCCQ_MC0_OFF, 429*4882a593Smuzhiyun GPIO_FN_DEBUG_MON_VIO, 430*4882a593Smuzhiyun GPIO_FN_DEBUG_MON_LCDD, 431*4882a593Smuzhiyun GPIO_FN_LCDC_LCDC0, 432*4882a593Smuzhiyun GPIO_FN_LCDC_LCDC1, 433*4882a593Smuzhiyun 434*4882a593Smuzhiyun /* MSEL4 special cases */ 435*4882a593Smuzhiyun GPIO_FN_IRQ9_MEM_INT, 436*4882a593Smuzhiyun GPIO_FN_IRQ9_MCP_INT, 437*4882a593Smuzhiyun GPIO_FN_A11, 438*4882a593Smuzhiyun GPIO_FN_KEYOUT8, 439*4882a593Smuzhiyun GPIO_FN_TPU4TO3, 440*4882a593Smuzhiyun GPIO_FN_RESETA_N_PU_ON, 441*4882a593Smuzhiyun GPIO_FN_RESETA_N_PU_OFF, 442*4882a593Smuzhiyun GPIO_FN_EDBGREQ_PD, 443*4882a593Smuzhiyun GPIO_FN_EDBGREQ_PU, 444*4882a593Smuzhiyun 445*4882a593Smuzhiyun /* Functions with pull-ups */ 446*4882a593Smuzhiyun GPIO_FN_KEYIN0_PU, 447*4882a593Smuzhiyun GPIO_FN_KEYIN1_PU, 448*4882a593Smuzhiyun GPIO_FN_KEYIN2_PU, 449*4882a593Smuzhiyun GPIO_FN_KEYIN3_PU, 450*4882a593Smuzhiyun GPIO_FN_KEYIN4_PU, 451*4882a593Smuzhiyun GPIO_FN_KEYIN5_PU, 452*4882a593Smuzhiyun GPIO_FN_KEYIN6_PU, 453*4882a593Smuzhiyun GPIO_FN_KEYIN7_PU, 454*4882a593Smuzhiyun GPIO_FN_SDHICD0_PU, 455*4882a593Smuzhiyun GPIO_FN_SDHID0_0_PU, 456*4882a593Smuzhiyun GPIO_FN_SDHID0_1_PU, 457*4882a593Smuzhiyun GPIO_FN_SDHID0_2_PU, 458*4882a593Smuzhiyun GPIO_FN_SDHID0_3_PU, 459*4882a593Smuzhiyun GPIO_FN_SDHICMD0_PU, 460*4882a593Smuzhiyun GPIO_FN_SDHIWP0_PU, 461*4882a593Smuzhiyun GPIO_FN_SDHID1_0_PU, 462*4882a593Smuzhiyun GPIO_FN_SDHID1_1_PU, 463*4882a593Smuzhiyun GPIO_FN_SDHID1_2_PU, 464*4882a593Smuzhiyun GPIO_FN_SDHID1_3_PU, 465*4882a593Smuzhiyun GPIO_FN_SDHICMD1_PU, 466*4882a593Smuzhiyun GPIO_FN_SDHID2_0_PU, 467*4882a593Smuzhiyun GPIO_FN_SDHID2_1_PU, 468*4882a593Smuzhiyun GPIO_FN_SDHID2_2_PU, 469*4882a593Smuzhiyun GPIO_FN_SDHID2_3_PU, 470*4882a593Smuzhiyun GPIO_FN_SDHICMD2_PU, 471*4882a593Smuzhiyun GPIO_FN_MMCCMD0_PU, 472*4882a593Smuzhiyun GPIO_FN_MMCCMD1_PU, 473*4882a593Smuzhiyun GPIO_FN_MMCD0_0_PU, 474*4882a593Smuzhiyun GPIO_FN_MMCD0_1_PU, 475*4882a593Smuzhiyun GPIO_FN_MMCD0_2_PU, 476*4882a593Smuzhiyun GPIO_FN_MMCD0_3_PU, 477*4882a593Smuzhiyun GPIO_FN_MMCD0_4_PU, 478*4882a593Smuzhiyun GPIO_FN_MMCD0_5_PU, 479*4882a593Smuzhiyun GPIO_FN_MMCD0_6_PU, 480*4882a593Smuzhiyun GPIO_FN_MMCD0_7_PU, 481*4882a593Smuzhiyun GPIO_FN_FSIACK_PU, 482*4882a593Smuzhiyun GPIO_FN_FSIAILR_PU, 483*4882a593Smuzhiyun GPIO_FN_FSIAIBT_PU, 484*4882a593Smuzhiyun GPIO_FN_FSIAISLD_PU, 485*4882a593Smuzhiyun 486*4882a593Smuzhiyun /* end of GPIO */ 487*4882a593Smuzhiyun GPIO_NR, 488*4882a593Smuzhiyun }; 489*4882a593Smuzhiyun 490*4882a593Smuzhiyun /* DMA slave IDs */ 491*4882a593Smuzhiyun enum { 492*4882a593Smuzhiyun SHDMA_SLAVE_INVALID, 493*4882a593Smuzhiyun SHDMA_SLAVE_SCIF0_TX, 494*4882a593Smuzhiyun SHDMA_SLAVE_SCIF0_RX, 495*4882a593Smuzhiyun SHDMA_SLAVE_SCIF1_TX, 496*4882a593Smuzhiyun SHDMA_SLAVE_SCIF1_RX, 497*4882a593Smuzhiyun SHDMA_SLAVE_SCIF2_TX, 498*4882a593Smuzhiyun SHDMA_SLAVE_SCIF2_RX, 499*4882a593Smuzhiyun SHDMA_SLAVE_SCIF3_TX, 500*4882a593Smuzhiyun SHDMA_SLAVE_SCIF3_RX, 501*4882a593Smuzhiyun SHDMA_SLAVE_SCIF4_TX, 502*4882a593Smuzhiyun SHDMA_SLAVE_SCIF4_RX, 503*4882a593Smuzhiyun SHDMA_SLAVE_SCIF5_TX, 504*4882a593Smuzhiyun SHDMA_SLAVE_SCIF5_RX, 505*4882a593Smuzhiyun SHDMA_SLAVE_SCIF6_TX, 506*4882a593Smuzhiyun SHDMA_SLAVE_SCIF6_RX, 507*4882a593Smuzhiyun SHDMA_SLAVE_SCIF7_TX, 508*4882a593Smuzhiyun SHDMA_SLAVE_SCIF7_RX, 509*4882a593Smuzhiyun SHDMA_SLAVE_SCIF8_TX, 510*4882a593Smuzhiyun SHDMA_SLAVE_SCIF8_RX, 511*4882a593Smuzhiyun SHDMA_SLAVE_SDHI0_TX, 512*4882a593Smuzhiyun SHDMA_SLAVE_SDHI0_RX, 513*4882a593Smuzhiyun SHDMA_SLAVE_SDHI1_TX, 514*4882a593Smuzhiyun SHDMA_SLAVE_SDHI1_RX, 515*4882a593Smuzhiyun SHDMA_SLAVE_SDHI2_TX, 516*4882a593Smuzhiyun SHDMA_SLAVE_SDHI2_RX, 517*4882a593Smuzhiyun SHDMA_SLAVE_MMCIF_TX, 518*4882a593Smuzhiyun SHDMA_SLAVE_MMCIF_RX, 519*4882a593Smuzhiyun }; 520*4882a593Smuzhiyun 521*4882a593Smuzhiyun /* 522*4882a593Smuzhiyun * SH73A0 IRQ LOCATION TABLE 523*4882a593Smuzhiyun * 524*4882a593Smuzhiyun * 416 ----------------------------------------- 525*4882a593Smuzhiyun * IRQ0-IRQ15 526*4882a593Smuzhiyun * 431 ----------------------------------------- 527*4882a593Smuzhiyun * ... 528*4882a593Smuzhiyun * 448 ----------------------------------------- 529*4882a593Smuzhiyun * sh73a0-intcs 530*4882a593Smuzhiyun * sh73a0-intca-irq-pins 531*4882a593Smuzhiyun * 680 ----------------------------------------- 532*4882a593Smuzhiyun * ... 533*4882a593Smuzhiyun * 700 ----------------------------------------- 534*4882a593Smuzhiyun * sh73a0-pint0 535*4882a593Smuzhiyun * 731 ----------------------------------------- 536*4882a593Smuzhiyun * 732 ----------------------------------------- 537*4882a593Smuzhiyun * sh73a0-pint1 538*4882a593Smuzhiyun * 739 ----------------------------------------- 539*4882a593Smuzhiyun * ... 540*4882a593Smuzhiyun * 800 ----------------------------------------- 541*4882a593Smuzhiyun * IRQ16-IRQ31 542*4882a593Smuzhiyun * 815 ----------------------------------------- 543*4882a593Smuzhiyun * ... 544*4882a593Smuzhiyun * 928 ----------------------------------------- 545*4882a593Smuzhiyun * sh73a0-intca-irq-pins 546*4882a593Smuzhiyun * 943 ----------------------------------------- 547*4882a593Smuzhiyun */ 548*4882a593Smuzhiyun 549*4882a593Smuzhiyun /* PINT interrupts are located at Linux IRQ 700 and up */ 550*4882a593Smuzhiyun #define SH73A0_PINT0_IRQ(irq) ((irq) + 700) 551*4882a593Smuzhiyun #define SH73A0_PINT1_IRQ(irq) ((irq) + 732) 552*4882a593Smuzhiyun 553*4882a593Smuzhiyun #endif /* __ASM_SH73A0_H__ */ 554