1*5def4c47SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*5def4c47SEmmanuel Vadot /* 3*5def4c47SEmmanuel Vadot * Copyright (C) 2020 MediaTek Inc. 4*5def4c47SEmmanuel Vadot */ 5*5def4c47SEmmanuel Vadot #ifndef __DTS_MT8167_PINFUNC_H 6*5def4c47SEmmanuel Vadot #define __DTS_MT8167_PINFUNC_H 7*5def4c47SEmmanuel Vadot 8*5def4c47SEmmanuel Vadot #include <dt-bindings/pinctrl/mt65xx.h> 9*5def4c47SEmmanuel Vadot 10*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) 11*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_PWM_B (MTK_PIN_NO(0) | 1) 12*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_DPI_CK (MTK_PIN_NO(0) | 2) 13*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_I2S2_BCK (MTK_PIN_NO(0) | 3) 14*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_EXT_TXD0 (MTK_PIN_NO(0) | 4) 15*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_SQICS (MTK_PIN_NO(0) | 6) 16*5def4c47SEmmanuel Vadot #define MT8167_PIN_0_EINT0__FUNC_DBG_MON_A_6 (MTK_PIN_NO(0) | 7) 17*5def4c47SEmmanuel Vadot 18*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_GPIO1 (MTK_PIN_NO(1) | 0) 19*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_PWM_C (MTK_PIN_NO(1) | 1) 20*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_DPI_D12 (MTK_PIN_NO(1) | 2) 21*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_I2S2_DI (MTK_PIN_NO(1) | 3) 22*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_EXT_TXD1 (MTK_PIN_NO(1) | 4) 23*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_CONN_MCU_TDO (MTK_PIN_NO(1) | 5) 24*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_SQISO (MTK_PIN_NO(1) | 6) 25*5def4c47SEmmanuel Vadot #define MT8167_PIN_1_EINT1__FUNC_DBG_MON_A_7 (MTK_PIN_NO(1) | 7) 26*5def4c47SEmmanuel Vadot 27*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_GPIO2 (MTK_PIN_NO(2) | 0) 28*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_CLKM0 (MTK_PIN_NO(2) | 1) 29*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_DPI_D13 (MTK_PIN_NO(2) | 2) 30*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_I2S2_LRCK (MTK_PIN_NO(2) | 3) 31*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_EXT_TXD2 (MTK_PIN_NO(2) | 4) 32*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_CONN_MCU_DBGACK_N (MTK_PIN_NO(2) | 5) 33*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_SQISI (MTK_PIN_NO(2) | 6) 34*5def4c47SEmmanuel Vadot #define MT8167_PIN_2_EINT2__FUNC_DBG_MON_A_8 (MTK_PIN_NO(2) | 7) 35*5def4c47SEmmanuel Vadot 36*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_GPIO3 (MTK_PIN_NO(3) | 0) 37*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_CLKM1 (MTK_PIN_NO(3) | 1) 38*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_DPI_D14 (MTK_PIN_NO(3) | 2) 39*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_SPI_MI (MTK_PIN_NO(3) | 3) 40*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_EXT_TXD3 (MTK_PIN_NO(3) | 4) 41*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_CONN_MCU_DBGI_N (MTK_PIN_NO(3) | 5) 42*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_SQIWP (MTK_PIN_NO(3) | 6) 43*5def4c47SEmmanuel Vadot #define MT8167_PIN_3_EINT3__FUNC_DBG_MON_A_9 (MTK_PIN_NO(3) | 7) 44*5def4c47SEmmanuel Vadot 45*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_GPIO4 (MTK_PIN_NO(4) | 0) 46*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_CLKM2 (MTK_PIN_NO(4) | 1) 47*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_DPI_D15 (MTK_PIN_NO(4) | 2) 48*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_SPI_MO (MTK_PIN_NO(4) | 3) 49*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_EXT_TXC (MTK_PIN_NO(4) | 4) 50*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_CONN_MCU_TCK (MTK_PIN_NO(4) | 5) 51*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_CONN_MCU_AICE_JCKC (MTK_PIN_NO(4) | 6) 52*5def4c47SEmmanuel Vadot #define MT8167_PIN_4_EINT4__FUNC_DBG_MON_A_10 (MTK_PIN_NO(4) | 7) 53*5def4c47SEmmanuel Vadot 54*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_GPIO5 (MTK_PIN_NO(5) | 0) 55*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_UCTS2 (MTK_PIN_NO(5) | 1) 56*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_DPI_D16 (MTK_PIN_NO(5) | 2) 57*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_SPI_CSB (MTK_PIN_NO(5) | 3) 58*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_EXT_RXER (MTK_PIN_NO(5) | 4) 59*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_CONN_MCU_TDI (MTK_PIN_NO(5) | 5) 60*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_CONN_TEST_CK (MTK_PIN_NO(5) | 6) 61*5def4c47SEmmanuel Vadot #define MT8167_PIN_5_EINT5__FUNC_DBG_MON_A_11 (MTK_PIN_NO(5) | 7) 62*5def4c47SEmmanuel Vadot 63*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_GPIO6 (MTK_PIN_NO(6) | 0) 64*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_URTS2 (MTK_PIN_NO(6) | 1) 65*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_DPI_D17 (MTK_PIN_NO(6) | 2) 66*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_SPI_CLK (MTK_PIN_NO(6) | 3) 67*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_EXT_RXC (MTK_PIN_NO(6) | 4) 68*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_CONN_MCU_TRST_B (MTK_PIN_NO(6) | 5) 69*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_MM_TEST_CK (MTK_PIN_NO(6) | 6) 70*5def4c47SEmmanuel Vadot #define MT8167_PIN_6_EINT6__FUNC_DBG_MON_A_12 (MTK_PIN_NO(6) | 7) 71*5def4c47SEmmanuel Vadot 72*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_GPIO7 (MTK_PIN_NO(7) | 0) 73*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_SQIRST (MTK_PIN_NO(7) | 1) 74*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_DPI_D6 (MTK_PIN_NO(7) | 2) 75*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_SDA1_0 (MTK_PIN_NO(7) | 3) 76*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_EXT_RXDV (MTK_PIN_NO(7) | 4) 77*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_CONN_MCU_TMS (MTK_PIN_NO(7) | 5) 78*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_CONN_MCU_AICE_JMSC (MTK_PIN_NO(7) | 6) 79*5def4c47SEmmanuel Vadot #define MT8167_PIN_7_EINT7__FUNC_DBG_MON_A_13 (MTK_PIN_NO(7) | 7) 80*5def4c47SEmmanuel Vadot 81*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_GPIO8 (MTK_PIN_NO(8) | 0) 82*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_SQICK (MTK_PIN_NO(8) | 1) 83*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_CLKM3 (MTK_PIN_NO(8) | 2) 84*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_SCL1_0 (MTK_PIN_NO(8) | 3) 85*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_EXT_RXD0 (MTK_PIN_NO(8) | 4) 86*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_ANT_SEL0 (MTK_PIN_NO(8) | 5) 87*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_DPI_D7 (MTK_PIN_NO(8) | 6) 88*5def4c47SEmmanuel Vadot #define MT8167_PIN_8_EINT8__FUNC_DBG_MON_A_14 (MTK_PIN_NO(8) | 7) 89*5def4c47SEmmanuel Vadot 90*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_GPIO9 (MTK_PIN_NO(9) | 0) 91*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_CLKM4 (MTK_PIN_NO(9) | 1) 92*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_SDA2_0 (MTK_PIN_NO(9) | 2) 93*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(9) | 3) 94*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_EXT_RXD1 (MTK_PIN_NO(9) | 4) 95*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_ANT_SEL1 (MTK_PIN_NO(9) | 5) 96*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_DPI_D8 (MTK_PIN_NO(9) | 6) 97*5def4c47SEmmanuel Vadot #define MT8167_PIN_9_EINT9__FUNC_DBG_MON_A_15 (MTK_PIN_NO(9) | 7) 98*5def4c47SEmmanuel Vadot 99*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_GPIO10 (MTK_PIN_NO(10) | 0) 100*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_CLKM5 (MTK_PIN_NO(10) | 1) 101*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_SCL2_0 (MTK_PIN_NO(10) | 2) 102*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(10) | 3) 103*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_EXT_RXD2 (MTK_PIN_NO(10) | 4) 104*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_ANT_SEL2 (MTK_PIN_NO(10) | 5) 105*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_DPI_D9 (MTK_PIN_NO(10) | 6) 106*5def4c47SEmmanuel Vadot #define MT8167_PIN_10_EINT10__FUNC_DBG_MON_A_16 (MTK_PIN_NO(10) | 7) 107*5def4c47SEmmanuel Vadot 108*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_GPIO11 (MTK_PIN_NO(11) | 0) 109*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_CLKM4 (MTK_PIN_NO(11) | 1) 110*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_PWM_C (MTK_PIN_NO(11) | 2) 111*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_CONN_TEST_CK (MTK_PIN_NO(11) | 3) 112*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_ANT_SEL3 (MTK_PIN_NO(11) | 4) 113*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_DPI_D10 (MTK_PIN_NO(11) | 5) 114*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_EXT_RXD3 (MTK_PIN_NO(11) | 6) 115*5def4c47SEmmanuel Vadot #define MT8167_PIN_11_EINT11__FUNC_DBG_MON_A_17 (MTK_PIN_NO(11) | 7) 116*5def4c47SEmmanuel Vadot 117*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_GPIO12 (MTK_PIN_NO(12) | 0) 118*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_CLKM5 (MTK_PIN_NO(12) | 1) 119*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_PWM_A (MTK_PIN_NO(12) | 2) 120*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_SPDIF_OUT (MTK_PIN_NO(12) | 3) 121*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_ANT_SEL4 (MTK_PIN_NO(12) | 4) 122*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_DPI_D11 (MTK_PIN_NO(12) | 5) 123*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_EXT_TXEN (MTK_PIN_NO(12) | 6) 124*5def4c47SEmmanuel Vadot #define MT8167_PIN_12_EINT12__FUNC_DBG_MON_A_18 (MTK_PIN_NO(12) | 7) 125*5def4c47SEmmanuel Vadot 126*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_GPIO13 (MTK_PIN_NO(13) | 0) 127*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_TSF_IN (MTK_PIN_NO(13) | 3) 128*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_ANT_SEL5 (MTK_PIN_NO(13) | 4) 129*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_DPI_D0 (MTK_PIN_NO(13) | 5) 130*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_SPDIF_IN (MTK_PIN_NO(13) | 6) 131*5def4c47SEmmanuel Vadot #define MT8167_PIN_13_EINT13__FUNC_DBG_MON_A_19 (MTK_PIN_NO(13) | 7) 132*5def4c47SEmmanuel Vadot 133*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_GPIO14 (MTK_PIN_NO(14) | 0) 134*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_I2S_8CH_DO1 (MTK_PIN_NO(14) | 2) 135*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_TDM_RX_MCK (MTK_PIN_NO(14) | 3) 136*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_ANT_SEL1 (MTK_PIN_NO(14) | 4) 137*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_CONN_MCU_DBGACK_N (MTK_PIN_NO(14) | 5) 138*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_NCLE (MTK_PIN_NO(14) | 6) 139*5def4c47SEmmanuel Vadot #define MT8167_PIN_14_EINT14__FUNC_DBG_MON_B_8 (MTK_PIN_NO(14) | 7) 140*5def4c47SEmmanuel Vadot 141*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_GPIO15 (MTK_PIN_NO(15) | 0) 142*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_I2S_8CH_LRCK (MTK_PIN_NO(15) | 2) 143*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_TDM_RX_BCK (MTK_PIN_NO(15) | 3) 144*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_ANT_SEL2 (MTK_PIN_NO(15) | 4) 145*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_CONN_MCU_DBGI_N (MTK_PIN_NO(15) | 5) 146*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_NCEB1 (MTK_PIN_NO(15) | 6) 147*5def4c47SEmmanuel Vadot #define MT8167_PIN_15_EINT15__FUNC_DBG_MON_B_9 (MTK_PIN_NO(15) | 7) 148*5def4c47SEmmanuel Vadot 149*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_GPIO16 (MTK_PIN_NO(16) | 0) 150*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_I2S_8CH_BCK (MTK_PIN_NO(16) | 2) 151*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_TDM_RX_LRCK (MTK_PIN_NO(16) | 3) 152*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_ANT_SEL3 (MTK_PIN_NO(16) | 4) 153*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_CONN_MCU_TRST_B (MTK_PIN_NO(16) | 5) 154*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_NCEB0 (MTK_PIN_NO(16) | 6) 155*5def4c47SEmmanuel Vadot #define MT8167_PIN_16_EINT16__FUNC_DBG_MON_B_10 (MTK_PIN_NO(16) | 7) 156*5def4c47SEmmanuel Vadot 157*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_GPIO17 (MTK_PIN_NO(17) | 0) 158*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_I2S_8CH_MCK (MTK_PIN_NO(17) | 2) 159*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_TDM_RX_DI (MTK_PIN_NO(17) | 3) 160*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_IDDIG (MTK_PIN_NO(17) | 4) 161*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_ANT_SEL4 (MTK_PIN_NO(17) | 5) 162*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_NREB (MTK_PIN_NO(17) | 6) 163*5def4c47SEmmanuel Vadot #define MT8167_PIN_17_EINT17__FUNC_DBG_MON_B_11 (MTK_PIN_NO(17) | 7) 164*5def4c47SEmmanuel Vadot 165*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_GPIO18 (MTK_PIN_NO(18) | 0) 166*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_USB_DRVVBUS (MTK_PIN_NO(18) | 2) 167*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_I2S3_LRCK (MTK_PIN_NO(18) | 3) 168*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_CLKM1 (MTK_PIN_NO(18) | 4) 169*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_ANT_SEL3 (MTK_PIN_NO(18) | 5) 170*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_I2S2_BCK (MTK_PIN_NO(18) | 6) 171*5def4c47SEmmanuel Vadot #define MT8167_PIN_18_EINT18__FUNC_DBG_MON_A_20 (MTK_PIN_NO(18) | 7) 172*5def4c47SEmmanuel Vadot 173*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_GPIO19 (MTK_PIN_NO(19) | 0) 174*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_UCTS1 (MTK_PIN_NO(19) | 1) 175*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_IDDIG (MTK_PIN_NO(19) | 2) 176*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_I2S3_BCK (MTK_PIN_NO(19) | 3) 177*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_CLKM2 (MTK_PIN_NO(19) | 4) 178*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_ANT_SEL4 (MTK_PIN_NO(19) | 5) 179*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_I2S2_DI (MTK_PIN_NO(19) | 6) 180*5def4c47SEmmanuel Vadot #define MT8167_PIN_19_EINT19__FUNC_DBG_MON_A_21 (MTK_PIN_NO(19) | 7) 181*5def4c47SEmmanuel Vadot 182*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_GPIO20 (MTK_PIN_NO(20) | 0) 183*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_URTS1 (MTK_PIN_NO(20) | 1) 184*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_I2S3_DO (MTK_PIN_NO(20) | 3) 185*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_CLKM3 (MTK_PIN_NO(20) | 4) 186*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_ANT_SEL5 (MTK_PIN_NO(20) | 5) 187*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_I2S2_LRCK (MTK_PIN_NO(20) | 6) 188*5def4c47SEmmanuel Vadot #define MT8167_PIN_20_EINT20__FUNC_DBG_MON_A_22 (MTK_PIN_NO(20) | 7) 189*5def4c47SEmmanuel Vadot 190*5def4c47SEmmanuel Vadot #define MT8167_PIN_21_EINT21__FUNC_GPIO21 (MTK_PIN_NO(21) | 0) 191*5def4c47SEmmanuel Vadot #define MT8167_PIN_21_EINT21__FUNC_NRNB (MTK_PIN_NO(21) | 1) 192*5def4c47SEmmanuel Vadot #define MT8167_PIN_21_EINT21__FUNC_ANT_SEL0 (MTK_PIN_NO(21) | 2) 193*5def4c47SEmmanuel Vadot #define MT8167_PIN_21_EINT21__FUNC_I2S_8CH_DO4 (MTK_PIN_NO(21) | 3) 194*5def4c47SEmmanuel Vadot #define MT8167_PIN_21_EINT21__FUNC_DBG_MON_B_31 (MTK_PIN_NO(21) | 7) 195*5def4c47SEmmanuel Vadot 196*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_GPIO22 (MTK_PIN_NO(22) | 0) 197*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_I2S_8CH_DO2 (MTK_PIN_NO(22) | 2) 198*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_TSF_IN (MTK_PIN_NO(22) | 3) 199*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_USB_DRVVBUS (MTK_PIN_NO(22) | 4) 200*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_SPDIF_OUT (MTK_PIN_NO(22) | 5) 201*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_NRE_C (MTK_PIN_NO(22) | 6) 202*5def4c47SEmmanuel Vadot #define MT8167_PIN_22_EINT22__FUNC_DBG_MON_B_12 (MTK_PIN_NO(22) | 7) 203*5def4c47SEmmanuel Vadot 204*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_GPIO23 (MTK_PIN_NO(23) | 0) 205*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_I2S_8CH_DO3 (MTK_PIN_NO(23) | 2) 206*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_CLKM0 (MTK_PIN_NO(23) | 3) 207*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_IR (MTK_PIN_NO(23) | 4) 208*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_SPDIF_IN (MTK_PIN_NO(23) | 5) 209*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_NDQS_C (MTK_PIN_NO(23) | 6) 210*5def4c47SEmmanuel Vadot #define MT8167_PIN_23_EINT23__FUNC_DBG_MON_B_13 (MTK_PIN_NO(23) | 7) 211*5def4c47SEmmanuel Vadot 212*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_GPIO24 (MTK_PIN_NO(24) | 0) 213*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_DPI_D20 (MTK_PIN_NO(24) | 1) 214*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_DPI_DE (MTK_PIN_NO(24) | 2) 215*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_ANT_SEL1 (MTK_PIN_NO(24) | 3) 216*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_UCTS2 (MTK_PIN_NO(24) | 4) 217*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_PWM_A (MTK_PIN_NO(24) | 5) 218*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_I2S0_MCK (MTK_PIN_NO(24) | 6) 219*5def4c47SEmmanuel Vadot #define MT8167_PIN_24_EINT24__FUNC_DBG_MON_A_0 (MTK_PIN_NO(24) | 7) 220*5def4c47SEmmanuel Vadot 221*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_GPIO25 (MTK_PIN_NO(25) | 0) 222*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_DPI_D19 (MTK_PIN_NO(25) | 1) 223*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_DPI_VSYNC (MTK_PIN_NO(25) | 2) 224*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_ANT_SEL0 (MTK_PIN_NO(25) | 3) 225*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_URTS2 (MTK_PIN_NO(25) | 4) 226*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_PWM_B (MTK_PIN_NO(25) | 5) 227*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_I2S_8CH_MCK (MTK_PIN_NO(25) | 6) 228*5def4c47SEmmanuel Vadot #define MT8167_PIN_25_EINT25__FUNC_DBG_MON_A_1 (MTK_PIN_NO(25) | 7) 229*5def4c47SEmmanuel Vadot 230*5def4c47SEmmanuel Vadot #define MT8167_PIN_26_PWRAP_SPI0_MI__FUNC_GPIO26 (MTK_PIN_NO(26) | 0) 231*5def4c47SEmmanuel Vadot #define MT8167_PIN_26_PWRAP_SPI0_MI__FUNC_PWRAP_SPI0_MO (MTK_PIN_NO(26) | 1) 232*5def4c47SEmmanuel Vadot #define MT8167_PIN_26_PWRAP_SPI0_MI__FUNC_PWRAP_SPI0_MI (MTK_PIN_NO(26) | 2) 233*5def4c47SEmmanuel Vadot 234*5def4c47SEmmanuel Vadot #define MT8167_PIN_27_PWRAP_SPI0_MO__FUNC_GPIO27 (MTK_PIN_NO(27) | 0) 235*5def4c47SEmmanuel Vadot #define MT8167_PIN_27_PWRAP_SPI0_MO__FUNC_PWRAP_SPI0_MI (MTK_PIN_NO(27) | 1) 236*5def4c47SEmmanuel Vadot #define MT8167_PIN_27_PWRAP_SPI0_MO__FUNC_PWRAP_SPI0_MO (MTK_PIN_NO(27) | 2) 237*5def4c47SEmmanuel Vadot 238*5def4c47SEmmanuel Vadot #define MT8167_PIN_28_PWRAP_INT__FUNC_GPIO28 (MTK_PIN_NO(28) | 0) 239*5def4c47SEmmanuel Vadot #define MT8167_PIN_28_PWRAP_INT__FUNC_I2S0_MCK (MTK_PIN_NO(28) | 1) 240*5def4c47SEmmanuel Vadot #define MT8167_PIN_28_PWRAP_INT__FUNC_I2S_8CH_MCK (MTK_PIN_NO(28) | 4) 241*5def4c47SEmmanuel Vadot #define MT8167_PIN_28_PWRAP_INT__FUNC_I2S2_MCK (MTK_PIN_NO(28) | 5) 242*5def4c47SEmmanuel Vadot #define MT8167_PIN_28_PWRAP_INT__FUNC_I2S3_MCK (MTK_PIN_NO(28) | 6) 243*5def4c47SEmmanuel Vadot 244*5def4c47SEmmanuel Vadot #define MT8167_PIN_29_PWRAP_SPI0_CK__FUNC_GPIO29 (MTK_PIN_NO(29) | 0) 245*5def4c47SEmmanuel Vadot #define MT8167_PIN_29_PWRAP_SPI0_CK__FUNC_PWRAP_SPI0_CK (MTK_PIN_NO(29) | 1) 246*5def4c47SEmmanuel Vadot 247*5def4c47SEmmanuel Vadot #define MT8167_PIN_30_PWRAP_SPI0_CSN__FUNC_GPIO30 (MTK_PIN_NO(30) | 0) 248*5def4c47SEmmanuel Vadot #define MT8167_PIN_30_PWRAP_SPI0_CSN__FUNC_PWRAP_SPI0_CSN (MTK_PIN_NO(30) | 1) 249*5def4c47SEmmanuel Vadot 250*5def4c47SEmmanuel Vadot #define MT8167_PIN_31_RTC32K_CK__FUNC_GPIO31 (MTK_PIN_NO(31) | 0) 251*5def4c47SEmmanuel Vadot #define MT8167_PIN_31_RTC32K_CK__FUNC_RTC32K_CK (MTK_PIN_NO(31) | 1) 252*5def4c47SEmmanuel Vadot 253*5def4c47SEmmanuel Vadot #define MT8167_PIN_32_WATCHDOG__FUNC_GPIO32 (MTK_PIN_NO(32) | 0) 254*5def4c47SEmmanuel Vadot #define MT8167_PIN_32_WATCHDOG__FUNC_WATCHDOG (MTK_PIN_NO(32) | 1) 255*5def4c47SEmmanuel Vadot 256*5def4c47SEmmanuel Vadot #define MT8167_PIN_33_SRCLKENA__FUNC_GPIO33 (MTK_PIN_NO(33) | 0) 257*5def4c47SEmmanuel Vadot #define MT8167_PIN_33_SRCLKENA__FUNC_SRCLKENA0 (MTK_PIN_NO(33) | 1) 258*5def4c47SEmmanuel Vadot 259*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_GPIO34 (MTK_PIN_NO(34) | 0) 260*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_URXD2 (MTK_PIN_NO(34) | 1) 261*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_DPI_D5 (MTK_PIN_NO(34) | 2) 262*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_UTXD2 (MTK_PIN_NO(34) | 3) 263*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_DBG_SCL (MTK_PIN_NO(34) | 4) 264*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_I2S2_MCK (MTK_PIN_NO(34) | 6) 265*5def4c47SEmmanuel Vadot #define MT8167_PIN_34_URXD2__FUNC_DBG_MON_B_0 (MTK_PIN_NO(34) | 7) 266*5def4c47SEmmanuel Vadot 267*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_GPIO35 (MTK_PIN_NO(35) | 0) 268*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_UTXD2 (MTK_PIN_NO(35) | 1) 269*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_DPI_HSYNC (MTK_PIN_NO(35) | 2) 270*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_URXD2 (MTK_PIN_NO(35) | 3) 271*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_DBG_SDA (MTK_PIN_NO(35) | 4) 272*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_DPI_D18 (MTK_PIN_NO(35) | 5) 273*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_I2S3_MCK (MTK_PIN_NO(35) | 6) 274*5def4c47SEmmanuel Vadot #define MT8167_PIN_35_UTXD2__FUNC_DBG_MON_B_1 (MTK_PIN_NO(35) | 7) 275*5def4c47SEmmanuel Vadot 276*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_GPIO36 (MTK_PIN_NO(36) | 0) 277*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_MRG_CLK (MTK_PIN_NO(36) | 1) 278*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_DPI_D4 (MTK_PIN_NO(36) | 2) 279*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_I2S0_BCK (MTK_PIN_NO(36) | 3) 280*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_I2S3_BCK (MTK_PIN_NO(36) | 4) 281*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_PCM0_CLK (MTK_PIN_NO(36) | 5) 282*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_IR (MTK_PIN_NO(36) | 6) 283*5def4c47SEmmanuel Vadot #define MT8167_PIN_36_MRG_CLK__FUNC_DBG_MON_A_2 (MTK_PIN_NO(36) | 7) 284*5def4c47SEmmanuel Vadot 285*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_GPIO37 (MTK_PIN_NO(37) | 0) 286*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_MRG_SYNC (MTK_PIN_NO(37) | 1) 287*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_DPI_D3 (MTK_PIN_NO(37) | 2) 288*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_I2S0_LRCK (MTK_PIN_NO(37) | 3) 289*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_I2S3_LRCK (MTK_PIN_NO(37) | 4) 290*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_PCM0_SYNC (MTK_PIN_NO(37) | 5) 291*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_EXT_COL (MTK_PIN_NO(37) | 6) 292*5def4c47SEmmanuel Vadot #define MT8167_PIN_37_MRG_SYNC__FUNC_DBG_MON_A_3 (MTK_PIN_NO(37) | 7) 293*5def4c47SEmmanuel Vadot 294*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_GPIO38 (MTK_PIN_NO(38) | 0) 295*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_MRG_DI (MTK_PIN_NO(38) | 1) 296*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_DPI_D1 (MTK_PIN_NO(38) | 2) 297*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_I2S0_DI (MTK_PIN_NO(38) | 3) 298*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_I2S3_DO (MTK_PIN_NO(38) | 4) 299*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_PCM0_DI (MTK_PIN_NO(38) | 5) 300*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_EXT_MDIO (MTK_PIN_NO(38) | 6) 301*5def4c47SEmmanuel Vadot #define MT8167_PIN_38_MRG_DI__FUNC_DBG_MON_A_4 (MTK_PIN_NO(38) | 7) 302*5def4c47SEmmanuel Vadot 303*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_GPIO39 (MTK_PIN_NO(39) | 0) 304*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_MRG_DO (MTK_PIN_NO(39) | 1) 305*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_DPI_D2 (MTK_PIN_NO(39) | 2) 306*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_I2S0_MCK (MTK_PIN_NO(39) | 3) 307*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_I2S3_MCK (MTK_PIN_NO(39) | 4) 308*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_PCM0_DO (MTK_PIN_NO(39) | 5) 309*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_EXT_MDC (MTK_PIN_NO(39) | 6) 310*5def4c47SEmmanuel Vadot #define MT8167_PIN_39_MRG_DO__FUNC_DBG_MON_A_5 (MTK_PIN_NO(39) | 7) 311*5def4c47SEmmanuel Vadot 312*5def4c47SEmmanuel Vadot #define MT8167_PIN_40_KPROW0__FUNC_GPIO40 (MTK_PIN_NO(40) | 0) 313*5def4c47SEmmanuel Vadot #define MT8167_PIN_40_KPROW0__FUNC_KPROW0 (MTK_PIN_NO(40) | 1) 314*5def4c47SEmmanuel Vadot #define MT8167_PIN_40_KPROW0__FUNC_IMG_TEST_CK (MTK_PIN_NO(40) | 4) 315*5def4c47SEmmanuel Vadot #define MT8167_PIN_40_KPROW0__FUNC_DBG_MON_B_4 (MTK_PIN_NO(40) | 7) 316*5def4c47SEmmanuel Vadot 317*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_GPIO41 (MTK_PIN_NO(41) | 0) 318*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_KPROW1 (MTK_PIN_NO(41) | 1) 319*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_IDDIG (MTK_PIN_NO(41) | 2) 320*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(41) | 3) 321*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_MFG_TEST_CK (MTK_PIN_NO(41) | 4) 322*5def4c47SEmmanuel Vadot #define MT8167_PIN_41_KPROW1__FUNC_DBG_MON_B_5 (MTK_PIN_NO(41) | 7) 323*5def4c47SEmmanuel Vadot 324*5def4c47SEmmanuel Vadot #define MT8167_PIN_42_KPCOL0__FUNC_GPIO42 (MTK_PIN_NO(42) | 0) 325*5def4c47SEmmanuel Vadot #define MT8167_PIN_42_KPCOL0__FUNC_KPCOL0 (MTK_PIN_NO(42) | 1) 326*5def4c47SEmmanuel Vadot #define MT8167_PIN_42_KPCOL0__FUNC_DBG_MON_B_6 (MTK_PIN_NO(42) | 7) 327*5def4c47SEmmanuel Vadot 328*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_GPIO43 (MTK_PIN_NO(43) | 0) 329*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_KPCOL1 (MTK_PIN_NO(43) | 1) 330*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_USB_DRVVBUS (MTK_PIN_NO(43) | 2) 331*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(43) | 3) 332*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_TSF_IN (MTK_PIN_NO(43) | 4) 333*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_DFD_NTRST_XI (MTK_PIN_NO(43) | 5) 334*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_UDI_NTRST_XI (MTK_PIN_NO(43) | 6) 335*5def4c47SEmmanuel Vadot #define MT8167_PIN_43_KPCOL1__FUNC_DBG_MON_B_7 (MTK_PIN_NO(43) | 7) 336*5def4c47SEmmanuel Vadot 337*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_GPIO44 (MTK_PIN_NO(44) | 0) 338*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_JTMS (MTK_PIN_NO(44) | 1) 339*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_CONN_MCU_TMS (MTK_PIN_NO(44) | 2) 340*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_CONN_MCU_AICE_JMSC (MTK_PIN_NO(44) | 3) 341*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_GPUDFD_TMS_XI (MTK_PIN_NO(44) | 4) 342*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_DFD_TMS_XI (MTK_PIN_NO(44) | 5) 343*5def4c47SEmmanuel Vadot #define MT8167_PIN_44_JTMS__FUNC_UDI_TMS_XI (MTK_PIN_NO(44) | 6) 344*5def4c47SEmmanuel Vadot 345*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_GPIO45 (MTK_PIN_NO(45) | 0) 346*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_JTCK (MTK_PIN_NO(45) | 1) 347*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_CONN_MCU_TCK (MTK_PIN_NO(45) | 2) 348*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_CONN_MCU_AICE_JCKC (MTK_PIN_NO(45) | 3) 349*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_GPUDFD_TCK_XI (MTK_PIN_NO(45) | 4) 350*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_DFD_TCK_XI (MTK_PIN_NO(45) | 5) 351*5def4c47SEmmanuel Vadot #define MT8167_PIN_45_JTCK__FUNC_UDI_TCK_XI (MTK_PIN_NO(45) | 6) 352*5def4c47SEmmanuel Vadot 353*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_GPIO46 (MTK_PIN_NO(46) | 0) 354*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_JTDI (MTK_PIN_NO(46) | 1) 355*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_CONN_MCU_TDI (MTK_PIN_NO(46) | 2) 356*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_GPUDFD_TDI_XI (MTK_PIN_NO(46) | 4) 357*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_DFD_TDI_XI (MTK_PIN_NO(46) | 5) 358*5def4c47SEmmanuel Vadot #define MT8167_PIN_46_JTDI__FUNC_UDI_TDI_XI (MTK_PIN_NO(46) | 6) 359*5def4c47SEmmanuel Vadot 360*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_GPIO47 (MTK_PIN_NO(47) | 0) 361*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_JTDO (MTK_PIN_NO(47) | 1) 362*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_CONN_MCU_TDO (MTK_PIN_NO(47) | 2) 363*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_GPUDFD_TDO (MTK_PIN_NO(47) | 4) 364*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_DFD_TDO (MTK_PIN_NO(47) | 5) 365*5def4c47SEmmanuel Vadot #define MT8167_PIN_47_JTDO__FUNC_UDI_TDO (MTK_PIN_NO(47) | 6) 366*5def4c47SEmmanuel Vadot 367*5def4c47SEmmanuel Vadot #define MT8167_PIN_48_SPI_CS__FUNC_GPIO48 (MTK_PIN_NO(48) | 0) 368*5def4c47SEmmanuel Vadot #define MT8167_PIN_48_SPI_CS__FUNC_SPI_CSB (MTK_PIN_NO(48) | 1) 369*5def4c47SEmmanuel Vadot #define MT8167_PIN_48_SPI_CS__FUNC_I2S0_DI (MTK_PIN_NO(48) | 3) 370*5def4c47SEmmanuel Vadot #define MT8167_PIN_48_SPI_CS__FUNC_I2S2_BCK (MTK_PIN_NO(48) | 4) 371*5def4c47SEmmanuel Vadot #define MT8167_PIN_48_SPI_CS__FUNC_DBG_MON_A_23 (MTK_PIN_NO(48) | 7) 372*5def4c47SEmmanuel Vadot 373*5def4c47SEmmanuel Vadot #define MT8167_PIN_49_SPI_CK__FUNC_GPIO49 (MTK_PIN_NO(49) | 0) 374*5def4c47SEmmanuel Vadot #define MT8167_PIN_49_SPI_CK__FUNC_SPI_CLK (MTK_PIN_NO(49) | 1) 375*5def4c47SEmmanuel Vadot #define MT8167_PIN_49_SPI_CK__FUNC_I2S0_LRCK (MTK_PIN_NO(49) | 3) 376*5def4c47SEmmanuel Vadot #define MT8167_PIN_49_SPI_CK__FUNC_I2S2_DI (MTK_PIN_NO(49) | 4) 377*5def4c47SEmmanuel Vadot #define MT8167_PIN_49_SPI_CK__FUNC_DBG_MON_A_24 (MTK_PIN_NO(49) | 7) 378*5def4c47SEmmanuel Vadot 379*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_GPIO50 (MTK_PIN_NO(50) | 0) 380*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_SPI_MI (MTK_PIN_NO(50) | 1) 381*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_SPI_MO (MTK_PIN_NO(50) | 2) 382*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_I2S0_BCK (MTK_PIN_NO(50) | 3) 383*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_I2S2_LRCK (MTK_PIN_NO(50) | 4) 384*5def4c47SEmmanuel Vadot #define MT8167_PIN_50_SPI_MI__FUNC_DBG_MON_A_25 (MTK_PIN_NO(50) | 7) 385*5def4c47SEmmanuel Vadot 386*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_GPIO51 (MTK_PIN_NO(51) | 0) 387*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_SPI_MO (MTK_PIN_NO(51) | 1) 388*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_SPI_MI (MTK_PIN_NO(51) | 2) 389*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_I2S0_MCK (MTK_PIN_NO(51) | 3) 390*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_I2S2_MCK (MTK_PIN_NO(51) | 4) 391*5def4c47SEmmanuel Vadot #define MT8167_PIN_51_SPI_MO__FUNC_DBG_MON_A_26 (MTK_PIN_NO(51) | 7) 392*5def4c47SEmmanuel Vadot 393*5def4c47SEmmanuel Vadot #define MT8167_PIN_52_SDA1__FUNC_GPIO52 (MTK_PIN_NO(52) | 0) 394*5def4c47SEmmanuel Vadot #define MT8167_PIN_52_SDA1__FUNC_SDA1_0 (MTK_PIN_NO(52) | 1) 395*5def4c47SEmmanuel Vadot 396*5def4c47SEmmanuel Vadot #define MT8167_PIN_53_SCL1__FUNC_GPIO53 (MTK_PIN_NO(53) | 0) 397*5def4c47SEmmanuel Vadot #define MT8167_PIN_53_SCL1__FUNC_SCL1_0 (MTK_PIN_NO(53) | 1) 398*5def4c47SEmmanuel Vadot 399*5def4c47SEmmanuel Vadot #define MT8167_PIN_54_DISP_PWM__FUNC_GPIO54 (MTK_PIN_NO(54) | 0) 400*5def4c47SEmmanuel Vadot #define MT8167_PIN_54_DISP_PWM__FUNC_DISP_PWM (MTK_PIN_NO(54) | 1) 401*5def4c47SEmmanuel Vadot #define MT8167_PIN_54_DISP_PWM__FUNC_PWM_B (MTK_PIN_NO(54) | 2) 402*5def4c47SEmmanuel Vadot #define MT8167_PIN_54_DISP_PWM__FUNC_DBG_MON_B_2 (MTK_PIN_NO(54) | 7) 403*5def4c47SEmmanuel Vadot 404*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_GPIO55 (MTK_PIN_NO(55) | 0) 405*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_I2S0_DI (MTK_PIN_NO(55) | 1) 406*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_UCTS0 (MTK_PIN_NO(55) | 2) 407*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_I2S3_DO (MTK_PIN_NO(55) | 3) 408*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_I2S_8CH_DO1 (MTK_PIN_NO(55) | 4) 409*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_PWM_A (MTK_PIN_NO(55) | 5) 410*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_I2S2_BCK (MTK_PIN_NO(55) | 6) 411*5def4c47SEmmanuel Vadot #define MT8167_PIN_55_I2S_DATA_IN__FUNC_DBG_MON_A_28 (MTK_PIN_NO(55) | 7) 412*5def4c47SEmmanuel Vadot 413*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_GPIO56 (MTK_PIN_NO(56) | 0) 414*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_I2S0_LRCK (MTK_PIN_NO(56) | 1) 415*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_I2S3_LRCK (MTK_PIN_NO(56) | 3) 416*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_I2S_8CH_LRCK (MTK_PIN_NO(56) | 4) 417*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_PWM_B (MTK_PIN_NO(56) | 5) 418*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_I2S2_DI (MTK_PIN_NO(56) | 6) 419*5def4c47SEmmanuel Vadot #define MT8167_PIN_56_I2S_LRCK__FUNC_DBG_MON_A_29 (MTK_PIN_NO(56) | 7) 420*5def4c47SEmmanuel Vadot 421*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_GPIO57 (MTK_PIN_NO(57) | 0) 422*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_I2S0_BCK (MTK_PIN_NO(57) | 1) 423*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_URTS0 (MTK_PIN_NO(57) | 2) 424*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_I2S3_BCK (MTK_PIN_NO(57) | 3) 425*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_I2S_8CH_BCK (MTK_PIN_NO(57) | 4) 426*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_PWM_C (MTK_PIN_NO(57) | 5) 427*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_I2S2_LRCK (MTK_PIN_NO(57) | 6) 428*5def4c47SEmmanuel Vadot #define MT8167_PIN_57_I2S_BCK__FUNC_DBG_MON_A_30 (MTK_PIN_NO(57) | 7) 429*5def4c47SEmmanuel Vadot 430*5def4c47SEmmanuel Vadot #define MT8167_PIN_58_SDA0__FUNC_GPIO58 (MTK_PIN_NO(58) | 0) 431*5def4c47SEmmanuel Vadot #define MT8167_PIN_58_SDA0__FUNC_SDA0_0 (MTK_PIN_NO(58) | 1) 432*5def4c47SEmmanuel Vadot 433*5def4c47SEmmanuel Vadot #define MT8167_PIN_59_SCL0__FUNC_GPIO59 (MTK_PIN_NO(59) | 0) 434*5def4c47SEmmanuel Vadot #define MT8167_PIN_59_SCL0__FUNC_SCL0_0 (MTK_PIN_NO(59) | 1) 435*5def4c47SEmmanuel Vadot 436*5def4c47SEmmanuel Vadot #define MT8167_PIN_60_SDA2__FUNC_GPIO60 (MTK_PIN_NO(60) | 0) 437*5def4c47SEmmanuel Vadot #define MT8167_PIN_60_SDA2__FUNC_SDA2_0 (MTK_PIN_NO(60) | 1) 438*5def4c47SEmmanuel Vadot #define MT8167_PIN_60_SDA2__FUNC_PWM_B (MTK_PIN_NO(60) | 2) 439*5def4c47SEmmanuel Vadot 440*5def4c47SEmmanuel Vadot #define MT8167_PIN_61_SCL2__FUNC_GPIO61 (MTK_PIN_NO(61) | 0) 441*5def4c47SEmmanuel Vadot #define MT8167_PIN_61_SCL2__FUNC_SCL2_0 (MTK_PIN_NO(61) | 1) 442*5def4c47SEmmanuel Vadot #define MT8167_PIN_61_SCL2__FUNC_PWM_C (MTK_PIN_NO(61) | 2) 443*5def4c47SEmmanuel Vadot 444*5def4c47SEmmanuel Vadot #define MT8167_PIN_62_URXD0__FUNC_GPIO62 (MTK_PIN_NO(62) | 0) 445*5def4c47SEmmanuel Vadot #define MT8167_PIN_62_URXD0__FUNC_URXD0 (MTK_PIN_NO(62) | 1) 446*5def4c47SEmmanuel Vadot #define MT8167_PIN_62_URXD0__FUNC_UTXD0 (MTK_PIN_NO(62) | 2) 447*5def4c47SEmmanuel Vadot 448*5def4c47SEmmanuel Vadot #define MT8167_PIN_63_UTXD0__FUNC_GPIO63 (MTK_PIN_NO(63) | 0) 449*5def4c47SEmmanuel Vadot #define MT8167_PIN_63_UTXD0__FUNC_UTXD0 (MTK_PIN_NO(63) | 1) 450*5def4c47SEmmanuel Vadot #define MT8167_PIN_63_UTXD0__FUNC_URXD0 (MTK_PIN_NO(63) | 2) 451*5def4c47SEmmanuel Vadot 452*5def4c47SEmmanuel Vadot #define MT8167_PIN_64_URXD1__FUNC_GPIO64 (MTK_PIN_NO(64) | 0) 453*5def4c47SEmmanuel Vadot #define MT8167_PIN_64_URXD1__FUNC_URXD1 (MTK_PIN_NO(64) | 1) 454*5def4c47SEmmanuel Vadot #define MT8167_PIN_64_URXD1__FUNC_UTXD1 (MTK_PIN_NO(64) | 2) 455*5def4c47SEmmanuel Vadot #define MT8167_PIN_64_URXD1__FUNC_DBG_MON_A_27 (MTK_PIN_NO(64) | 7) 456*5def4c47SEmmanuel Vadot 457*5def4c47SEmmanuel Vadot #define MT8167_PIN_65_UTXD1__FUNC_GPIO65 (MTK_PIN_NO(65) | 0) 458*5def4c47SEmmanuel Vadot #define MT8167_PIN_65_UTXD1__FUNC_UTXD1 (MTK_PIN_NO(65) | 1) 459*5def4c47SEmmanuel Vadot #define MT8167_PIN_65_UTXD1__FUNC_URXD1 (MTK_PIN_NO(65) | 2) 460*5def4c47SEmmanuel Vadot #define MT8167_PIN_65_UTXD1__FUNC_DBG_MON_A_31 (MTK_PIN_NO(65) | 7) 461*5def4c47SEmmanuel Vadot 462*5def4c47SEmmanuel Vadot #define MT8167_PIN_66_LCM_RST__FUNC_GPIO66 (MTK_PIN_NO(66) | 0) 463*5def4c47SEmmanuel Vadot #define MT8167_PIN_66_LCM_RST__FUNC_LCM_RST (MTK_PIN_NO(66) | 1) 464*5def4c47SEmmanuel Vadot #define MT8167_PIN_66_LCM_RST__FUNC_I2S0_MCK (MTK_PIN_NO(66) | 3) 465*5def4c47SEmmanuel Vadot #define MT8167_PIN_66_LCM_RST__FUNC_DBG_MON_B_3 (MTK_PIN_NO(66) | 7) 466*5def4c47SEmmanuel Vadot 467*5def4c47SEmmanuel Vadot #define MT8167_PIN_67_DSI_TE__FUNC_GPIO67 (MTK_PIN_NO(67) | 0) 468*5def4c47SEmmanuel Vadot #define MT8167_PIN_67_DSI_TE__FUNC_DSI_TE (MTK_PIN_NO(67) | 1) 469*5def4c47SEmmanuel Vadot #define MT8167_PIN_67_DSI_TE__FUNC_I2S_8CH_MCK (MTK_PIN_NO(67) | 3) 470*5def4c47SEmmanuel Vadot #define MT8167_PIN_67_DSI_TE__FUNC_DBG_MON_B_14 (MTK_PIN_NO(67) | 7) 471*5def4c47SEmmanuel Vadot 472*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_GPIO68 (MTK_PIN_NO(68) | 0) 473*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_MSDC2_CMD (MTK_PIN_NO(68) | 1) 474*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_I2S_8CH_DO4 (MTK_PIN_NO(68) | 2) 475*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_SDA1_0 (MTK_PIN_NO(68) | 3) 476*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_USB_SDA (MTK_PIN_NO(68) | 5) 477*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_I2S3_BCK (MTK_PIN_NO(68) | 6) 478*5def4c47SEmmanuel Vadot #define MT8167_PIN_68_MSDC2_CMD__FUNC_DBG_MON_B_15 (MTK_PIN_NO(68) | 7) 479*5def4c47SEmmanuel Vadot 480*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_GPIO69 (MTK_PIN_NO(69) | 0) 481*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_MSDC2_CLK (MTK_PIN_NO(69) | 1) 482*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_I2S_8CH_DO3 (MTK_PIN_NO(69) | 2) 483*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_SCL1_0 (MTK_PIN_NO(69) | 3) 484*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_DPI_D21 (MTK_PIN_NO(69) | 4) 485*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_USB_SCL (MTK_PIN_NO(69) | 5) 486*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_I2S3_LRCK (MTK_PIN_NO(69) | 6) 487*5def4c47SEmmanuel Vadot #define MT8167_PIN_69_MSDC2_CLK__FUNC_DBG_MON_B_16 (MTK_PIN_NO(69) | 7) 488*5def4c47SEmmanuel Vadot 489*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_GPIO70 (MTK_PIN_NO(70) | 0) 490*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_MSDC2_DAT0 (MTK_PIN_NO(70) | 1) 491*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_I2S_8CH_DO2 (MTK_PIN_NO(70) | 2) 492*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_DPI_D22 (MTK_PIN_NO(70) | 4) 493*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_UTXD0 (MTK_PIN_NO(70) | 5) 494*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_I2S3_DO (MTK_PIN_NO(70) | 6) 495*5def4c47SEmmanuel Vadot #define MT8167_PIN_70_MSDC2_DAT0__FUNC_DBG_MON_B_17 (MTK_PIN_NO(70) | 7) 496*5def4c47SEmmanuel Vadot 497*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_GPIO71 (MTK_PIN_NO(71) | 0) 498*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_MSDC2_DAT1 (MTK_PIN_NO(71) | 1) 499*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_I2S_8CH_DO1 (MTK_PIN_NO(71) | 2) 500*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_PWM_A (MTK_PIN_NO(71) | 3) 501*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_I2S3_MCK (MTK_PIN_NO(71) | 4) 502*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_URXD0 (MTK_PIN_NO(71) | 5) 503*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_PWM_B (MTK_PIN_NO(71) | 6) 504*5def4c47SEmmanuel Vadot #define MT8167_PIN_71_MSDC2_DAT1__FUNC_DBG_MON_B_18 (MTK_PIN_NO(71) | 7) 505*5def4c47SEmmanuel Vadot 506*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_GPIO72 (MTK_PIN_NO(72) | 0) 507*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_MSDC2_DAT2 (MTK_PIN_NO(72) | 1) 508*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_I2S_8CH_LRCK (MTK_PIN_NO(72) | 2) 509*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_SDA2_0 (MTK_PIN_NO(72) | 3) 510*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_DPI_D23 (MTK_PIN_NO(72) | 4) 511*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_UTXD1 (MTK_PIN_NO(72) | 5) 512*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_PWM_C (MTK_PIN_NO(72) | 6) 513*5def4c47SEmmanuel Vadot #define MT8167_PIN_72_MSDC2_DAT2__FUNC_DBG_MON_B_19 (MTK_PIN_NO(72) | 7) 514*5def4c47SEmmanuel Vadot 515*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_GPIO73 (MTK_PIN_NO(73) | 0) 516*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_MSDC2_DAT3 (MTK_PIN_NO(73) | 1) 517*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_I2S_8CH_BCK (MTK_PIN_NO(73) | 2) 518*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_SCL2_0 (MTK_PIN_NO(73) | 3) 519*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_EXT_FRAME_SYNC (MTK_PIN_NO(73) | 4) 520*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_URXD1 (MTK_PIN_NO(73) | 5) 521*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_PWM_A (MTK_PIN_NO(73) | 6) 522*5def4c47SEmmanuel Vadot #define MT8167_PIN_73_MSDC2_DAT3__FUNC_DBG_MON_B_20 (MTK_PIN_NO(73) | 7) 523*5def4c47SEmmanuel Vadot 524*5def4c47SEmmanuel Vadot #define MT8167_PIN_74_TDN3__FUNC_GPI74 (MTK_PIN_NO(74) | 0) 525*5def4c47SEmmanuel Vadot #define MT8167_PIN_74_TDN3__FUNC_TDN3 (MTK_PIN_NO(74) | 1) 526*5def4c47SEmmanuel Vadot 527*5def4c47SEmmanuel Vadot #define MT8167_PIN_75_TDP3__FUNC_GPI75 (MTK_PIN_NO(75) | 0) 528*5def4c47SEmmanuel Vadot #define MT8167_PIN_75_TDP3__FUNC_TDP3 (MTK_PIN_NO(75) | 1) 529*5def4c47SEmmanuel Vadot 530*5def4c47SEmmanuel Vadot #define MT8167_PIN_76_TDN2__FUNC_GPI76 (MTK_PIN_NO(76) | 0) 531*5def4c47SEmmanuel Vadot #define MT8167_PIN_76_TDN2__FUNC_TDN2 (MTK_PIN_NO(76) | 1) 532*5def4c47SEmmanuel Vadot 533*5def4c47SEmmanuel Vadot #define MT8167_PIN_77_TDP2__FUNC_GPI77 (MTK_PIN_NO(77) | 0) 534*5def4c47SEmmanuel Vadot #define MT8167_PIN_77_TDP2__FUNC_TDP2 (MTK_PIN_NO(77) | 1) 535*5def4c47SEmmanuel Vadot 536*5def4c47SEmmanuel Vadot #define MT8167_PIN_78_TCN__FUNC_GPI78 (MTK_PIN_NO(78) | 0) 537*5def4c47SEmmanuel Vadot #define MT8167_PIN_78_TCN__FUNC_TCN (MTK_PIN_NO(78) | 1) 538*5def4c47SEmmanuel Vadot 539*5def4c47SEmmanuel Vadot #define MT8167_PIN_79_TCP__FUNC_GPI79 (MTK_PIN_NO(79) | 0) 540*5def4c47SEmmanuel Vadot #define MT8167_PIN_79_TCP__FUNC_TCP (MTK_PIN_NO(79) | 1) 541*5def4c47SEmmanuel Vadot 542*5def4c47SEmmanuel Vadot #define MT8167_PIN_80_TDN1__FUNC_GPI80 (MTK_PIN_NO(80) | 0) 543*5def4c47SEmmanuel Vadot #define MT8167_PIN_80_TDN1__FUNC_TDN1 (MTK_PIN_NO(80) | 1) 544*5def4c47SEmmanuel Vadot 545*5def4c47SEmmanuel Vadot #define MT8167_PIN_81_TDP1__FUNC_GPI81 (MTK_PIN_NO(81) | 0) 546*5def4c47SEmmanuel Vadot #define MT8167_PIN_81_TDP1__FUNC_TDP1 (MTK_PIN_NO(81) | 1) 547*5def4c47SEmmanuel Vadot 548*5def4c47SEmmanuel Vadot #define MT8167_PIN_82_TDN0__FUNC_GPI82 (MTK_PIN_NO(82) | 0) 549*5def4c47SEmmanuel Vadot #define MT8167_PIN_82_TDN0__FUNC_TDN0 (MTK_PIN_NO(82) | 1) 550*5def4c47SEmmanuel Vadot 551*5def4c47SEmmanuel Vadot #define MT8167_PIN_83_TDP0__FUNC_GPI83 (MTK_PIN_NO(83) | 0) 552*5def4c47SEmmanuel Vadot #define MT8167_PIN_83_TDP0__FUNC_TDP0 (MTK_PIN_NO(83) | 1) 553*5def4c47SEmmanuel Vadot 554*5def4c47SEmmanuel Vadot #define MT8167_PIN_84_RDN0__FUNC_GPI84 (MTK_PIN_NO(84) | 0) 555*5def4c47SEmmanuel Vadot #define MT8167_PIN_84_RDN0__FUNC_RDN0 (MTK_PIN_NO(84) | 1) 556*5def4c47SEmmanuel Vadot 557*5def4c47SEmmanuel Vadot #define MT8167_PIN_85_RDP0__FUNC_GPI85 (MTK_PIN_NO(85) | 0) 558*5def4c47SEmmanuel Vadot #define MT8167_PIN_85_RDP0__FUNC_RDP0 (MTK_PIN_NO(85) | 1) 559*5def4c47SEmmanuel Vadot 560*5def4c47SEmmanuel Vadot #define MT8167_PIN_86_RDN1__FUNC_GPI86 (MTK_PIN_NO(86) | 0) 561*5def4c47SEmmanuel Vadot #define MT8167_PIN_86_RDN1__FUNC_RDN1 (MTK_PIN_NO(86) | 1) 562*5def4c47SEmmanuel Vadot 563*5def4c47SEmmanuel Vadot #define MT8167_PIN_87_RDP1__FUNC_GPI87 (MTK_PIN_NO(87) | 0) 564*5def4c47SEmmanuel Vadot #define MT8167_PIN_87_RDP1__FUNC_RDP1 (MTK_PIN_NO(87) | 1) 565*5def4c47SEmmanuel Vadot 566*5def4c47SEmmanuel Vadot #define MT8167_PIN_88_RCN__FUNC_GPI88 (MTK_PIN_NO(88) | 0) 567*5def4c47SEmmanuel Vadot #define MT8167_PIN_88_RCN__FUNC_RCN (MTK_PIN_NO(88) | 1) 568*5def4c47SEmmanuel Vadot 569*5def4c47SEmmanuel Vadot #define MT8167_PIN_89_RCP__FUNC_GPI89 (MTK_PIN_NO(89) | 0) 570*5def4c47SEmmanuel Vadot #define MT8167_PIN_89_RCP__FUNC_RCP (MTK_PIN_NO(89) | 1) 571*5def4c47SEmmanuel Vadot 572*5def4c47SEmmanuel Vadot #define MT8167_PIN_90_RDN2__FUNC_GPI90 (MTK_PIN_NO(90) | 0) 573*5def4c47SEmmanuel Vadot #define MT8167_PIN_90_RDN2__FUNC_RDN2 (MTK_PIN_NO(90) | 1) 574*5def4c47SEmmanuel Vadot #define MT8167_PIN_90_RDN2__FUNC_CMDAT8 (MTK_PIN_NO(90) | 2) 575*5def4c47SEmmanuel Vadot 576*5def4c47SEmmanuel Vadot #define MT8167_PIN_91_RDP2__FUNC_GPI91 (MTK_PIN_NO(91) | 0) 577*5def4c47SEmmanuel Vadot #define MT8167_PIN_91_RDP2__FUNC_RDP2 (MTK_PIN_NO(91) | 1) 578*5def4c47SEmmanuel Vadot #define MT8167_PIN_91_RDP2__FUNC_CMDAT9 (MTK_PIN_NO(91) | 2) 579*5def4c47SEmmanuel Vadot 580*5def4c47SEmmanuel Vadot #define MT8167_PIN_92_RDN3__FUNC_GPI92 (MTK_PIN_NO(92) | 0) 581*5def4c47SEmmanuel Vadot #define MT8167_PIN_92_RDN3__FUNC_RDN3 (MTK_PIN_NO(92) | 1) 582*5def4c47SEmmanuel Vadot #define MT8167_PIN_92_RDN3__FUNC_CMDAT4 (MTK_PIN_NO(92) | 2) 583*5def4c47SEmmanuel Vadot 584*5def4c47SEmmanuel Vadot #define MT8167_PIN_93_RDP3__FUNC_GPI93 (MTK_PIN_NO(93) | 0) 585*5def4c47SEmmanuel Vadot #define MT8167_PIN_93_RDP3__FUNC_RDP3 (MTK_PIN_NO(93) | 1) 586*5def4c47SEmmanuel Vadot #define MT8167_PIN_93_RDP3__FUNC_CMDAT5 (MTK_PIN_NO(93) | 2) 587*5def4c47SEmmanuel Vadot 588*5def4c47SEmmanuel Vadot #define MT8167_PIN_94_RCN_A__FUNC_GPI94 (MTK_PIN_NO(94) | 0) 589*5def4c47SEmmanuel Vadot #define MT8167_PIN_94_RCN_A__FUNC_RCN_A (MTK_PIN_NO(94) | 1) 590*5def4c47SEmmanuel Vadot #define MT8167_PIN_94_RCN_A__FUNC_CMDAT6 (MTK_PIN_NO(94) | 2) 591*5def4c47SEmmanuel Vadot 592*5def4c47SEmmanuel Vadot #define MT8167_PIN_95_RCP_A__FUNC_GPI95 (MTK_PIN_NO(95) | 0) 593*5def4c47SEmmanuel Vadot #define MT8167_PIN_95_RCP_A__FUNC_RCP_A (MTK_PIN_NO(95) | 1) 594*5def4c47SEmmanuel Vadot #define MT8167_PIN_95_RCP_A__FUNC_CMDAT7 (MTK_PIN_NO(95) | 2) 595*5def4c47SEmmanuel Vadot 596*5def4c47SEmmanuel Vadot #define MT8167_PIN_96_RDN1_A__FUNC_GPI96 (MTK_PIN_NO(96) | 0) 597*5def4c47SEmmanuel Vadot #define MT8167_PIN_96_RDN1_A__FUNC_RDN1_A (MTK_PIN_NO(96) | 1) 598*5def4c47SEmmanuel Vadot #define MT8167_PIN_96_RDN1_A__FUNC_CMDAT2 (MTK_PIN_NO(96) | 2) 599*5def4c47SEmmanuel Vadot #define MT8167_PIN_96_RDN1_A__FUNC_CMCSD2 (MTK_PIN_NO(96) | 3) 600*5def4c47SEmmanuel Vadot 601*5def4c47SEmmanuel Vadot #define MT8167_PIN_97_RDP1_A__FUNC_GPI97 (MTK_PIN_NO(97) | 0) 602*5def4c47SEmmanuel Vadot #define MT8167_PIN_97_RDP1_A__FUNC_RDP1_A (MTK_PIN_NO(97) | 1) 603*5def4c47SEmmanuel Vadot #define MT8167_PIN_97_RDP1_A__FUNC_CMDAT3 (MTK_PIN_NO(97) | 2) 604*5def4c47SEmmanuel Vadot #define MT8167_PIN_97_RDP1_A__FUNC_CMCSD3 (MTK_PIN_NO(97) | 3) 605*5def4c47SEmmanuel Vadot 606*5def4c47SEmmanuel Vadot #define MT8167_PIN_98_RDN0_A__FUNC_GPI98 (MTK_PIN_NO(98) | 0) 607*5def4c47SEmmanuel Vadot #define MT8167_PIN_98_RDN0_A__FUNC_RDN0_A (MTK_PIN_NO(98) | 1) 608*5def4c47SEmmanuel Vadot #define MT8167_PIN_98_RDN0_A__FUNC_CMHSYNC (MTK_PIN_NO(98) | 2) 609*5def4c47SEmmanuel Vadot 610*5def4c47SEmmanuel Vadot #define MT8167_PIN_99_RDP0_A__FUNC_GPI99 (MTK_PIN_NO(99) | 0) 611*5def4c47SEmmanuel Vadot #define MT8167_PIN_99_RDP0_A__FUNC_RDP0_A (MTK_PIN_NO(99) | 1) 612*5def4c47SEmmanuel Vadot #define MT8167_PIN_99_RDP0_A__FUNC_CMVSYNC (MTK_PIN_NO(99) | 2) 613*5def4c47SEmmanuel Vadot 614*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_GPIO100 (MTK_PIN_NO(100) | 0) 615*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_CMDAT0 (MTK_PIN_NO(100) | 1) 616*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_CMCSD0 (MTK_PIN_NO(100) | 2) 617*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_ANT_SEL2 (MTK_PIN_NO(100) | 3) 618*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_TDM_RX_MCK (MTK_PIN_NO(100) | 5) 619*5def4c47SEmmanuel Vadot #define MT8167_PIN_100_CMDAT0__FUNC_DBG_MON_B_21 (MTK_PIN_NO(100) | 7) 620*5def4c47SEmmanuel Vadot 621*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_GPIO101 (MTK_PIN_NO(101) | 0) 622*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_CMDAT1 (MTK_PIN_NO(101) | 1) 623*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_CMCSD1 (MTK_PIN_NO(101) | 2) 624*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_ANT_SEL3 (MTK_PIN_NO(101) | 3) 625*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_CMFLASH (MTK_PIN_NO(101) | 4) 626*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_TDM_RX_BCK (MTK_PIN_NO(101) | 5) 627*5def4c47SEmmanuel Vadot #define MT8167_PIN_101_CMDAT1__FUNC_DBG_MON_B_22 (MTK_PIN_NO(101) | 7) 628*5def4c47SEmmanuel Vadot 629*5def4c47SEmmanuel Vadot #define MT8167_PIN_102_CMMCLK__FUNC_GPIO102 (MTK_PIN_NO(102) | 0) 630*5def4c47SEmmanuel Vadot #define MT8167_PIN_102_CMMCLK__FUNC_CMMCLK (MTK_PIN_NO(102) | 1) 631*5def4c47SEmmanuel Vadot #define MT8167_PIN_102_CMMCLK__FUNC_ANT_SEL4 (MTK_PIN_NO(102) | 3) 632*5def4c47SEmmanuel Vadot #define MT8167_PIN_102_CMMCLK__FUNC_TDM_RX_LRCK (MTK_PIN_NO(102) | 5) 633*5def4c47SEmmanuel Vadot #define MT8167_PIN_102_CMMCLK__FUNC_DBG_MON_B_23 (MTK_PIN_NO(102) | 7) 634*5def4c47SEmmanuel Vadot 635*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_GPIO103 (MTK_PIN_NO(103) | 0) 636*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_CMPCLK (MTK_PIN_NO(103) | 1) 637*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_CMCSK (MTK_PIN_NO(103) | 2) 638*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_ANT_SEL5 (MTK_PIN_NO(103) | 3) 639*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_TDM_RX_DI (MTK_PIN_NO(103) | 5) 640*5def4c47SEmmanuel Vadot #define MT8167_PIN_103_CMPCLK__FUNC_DBG_MON_B_24 (MTK_PIN_NO(103) | 7) 641*5def4c47SEmmanuel Vadot 642*5def4c47SEmmanuel Vadot #define MT8167_PIN_104_MSDC1_CMD__FUNC_GPIO104 (MTK_PIN_NO(104) | 0) 643*5def4c47SEmmanuel Vadot #define MT8167_PIN_104_MSDC1_CMD__FUNC_MSDC1_CMD (MTK_PIN_NO(104) | 1) 644*5def4c47SEmmanuel Vadot #define MT8167_PIN_104_MSDC1_CMD__FUNC_SQICS (MTK_PIN_NO(104) | 4) 645*5def4c47SEmmanuel Vadot #define MT8167_PIN_104_MSDC1_CMD__FUNC_DBG_MON_B_25 (MTK_PIN_NO(104) | 7) 646*5def4c47SEmmanuel Vadot 647*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_GPIO105 (MTK_PIN_NO(105) | 0) 648*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_MSDC1_CLK (MTK_PIN_NO(105) | 1) 649*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_UDI_NTRST_XI (MTK_PIN_NO(105) | 2) 650*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_DFD_NTRST_XI (MTK_PIN_NO(105) | 3) 651*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_SQISO (MTK_PIN_NO(105) | 4) 652*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_GPUEJ_NTRST_XI (MTK_PIN_NO(105) | 5) 653*5def4c47SEmmanuel Vadot #define MT8167_PIN_105_MSDC1_CLK__FUNC_DBG_MON_B_26 (MTK_PIN_NO(105) | 7) 654*5def4c47SEmmanuel Vadot 655*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_GPIO106 (MTK_PIN_NO(106) | 0) 656*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_MSDC1_DAT0 (MTK_PIN_NO(106) | 1) 657*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_UDI_TMS_XI (MTK_PIN_NO(106) | 2) 658*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_DFD_TMS_XI (MTK_PIN_NO(106) | 3) 659*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_SQISI (MTK_PIN_NO(106) | 4) 660*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_GPUEJ_TMS_XI (MTK_PIN_NO(106) | 5) 661*5def4c47SEmmanuel Vadot #define MT8167_PIN_106_MSDC1_DAT0__FUNC_DBG_MON_B_27 (MTK_PIN_NO(106) | 7) 662*5def4c47SEmmanuel Vadot 663*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_GPIO107 (MTK_PIN_NO(107) | 0) 664*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_MSDC1_DAT1 (MTK_PIN_NO(107) | 1) 665*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_UDI_TCK_XI (MTK_PIN_NO(107) | 2) 666*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_DFD_TCK_XI (MTK_PIN_NO(107) | 3) 667*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_SQIWP (MTK_PIN_NO(107) | 4) 668*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_GPUEJ_TCK_XI (MTK_PIN_NO(107) | 5) 669*5def4c47SEmmanuel Vadot #define MT8167_PIN_107_MSDC1_DAT1__FUNC_DBG_MON_B_28 (MTK_PIN_NO(107) | 7) 670*5def4c47SEmmanuel Vadot 671*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_GPIO108 (MTK_PIN_NO(108) | 0) 672*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_MSDC1_DAT2 (MTK_PIN_NO(108) | 1) 673*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_UDI_TDI_XI (MTK_PIN_NO(108) | 2) 674*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_DFD_TDI_XI (MTK_PIN_NO(108) | 3) 675*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_SQIRST (MTK_PIN_NO(108) | 4) 676*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_GPUEJ_TDI_XI (MTK_PIN_NO(108) | 5) 677*5def4c47SEmmanuel Vadot #define MT8167_PIN_108_MSDC1_DAT2__FUNC_DBG_MON_B_29 (MTK_PIN_NO(108) | 7) 678*5def4c47SEmmanuel Vadot 679*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_GPIO109 (MTK_PIN_NO(109) | 0) 680*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_MSDC1_DAT3 (MTK_PIN_NO(109) | 1) 681*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_UDI_TDO (MTK_PIN_NO(109) | 2) 682*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_DFD_TDO (MTK_PIN_NO(109) | 3) 683*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_SQICK (MTK_PIN_NO(109) | 4) 684*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_GPUEJ_TDO (MTK_PIN_NO(109) | 5) 685*5def4c47SEmmanuel Vadot #define MT8167_PIN_109_MSDC1_DAT3__FUNC_DBG_MON_B_30 (MTK_PIN_NO(109) | 7) 686*5def4c47SEmmanuel Vadot 687*5def4c47SEmmanuel Vadot #define MT8167_PIN_110_MSDC0_DAT7__FUNC_GPIO110 (MTK_PIN_NO(110) | 0) 688*5def4c47SEmmanuel Vadot #define MT8167_PIN_110_MSDC0_DAT7__FUNC_MSDC0_DAT7 (MTK_PIN_NO(110) | 1) 689*5def4c47SEmmanuel Vadot #define MT8167_PIN_110_MSDC0_DAT7__FUNC_NLD7 (MTK_PIN_NO(110) | 4) 690*5def4c47SEmmanuel Vadot 691*5def4c47SEmmanuel Vadot #define MT8167_PIN_111_MSDC0_DAT6__FUNC_GPIO111 (MTK_PIN_NO(111) | 0) 692*5def4c47SEmmanuel Vadot #define MT8167_PIN_111_MSDC0_DAT6__FUNC_MSDC0_DAT6 (MTK_PIN_NO(111) | 1) 693*5def4c47SEmmanuel Vadot #define MT8167_PIN_111_MSDC0_DAT6__FUNC_NLD6 (MTK_PIN_NO(111) | 4) 694*5def4c47SEmmanuel Vadot 695*5def4c47SEmmanuel Vadot #define MT8167_PIN_112_MSDC0_DAT5__FUNC_GPIO112 (MTK_PIN_NO(112) | 0) 696*5def4c47SEmmanuel Vadot #define MT8167_PIN_112_MSDC0_DAT5__FUNC_MSDC0_DAT5 (MTK_PIN_NO(112) | 1) 697*5def4c47SEmmanuel Vadot #define MT8167_PIN_112_MSDC0_DAT5__FUNC_NLD4 (MTK_PIN_NO(112) | 4) 698*5def4c47SEmmanuel Vadot 699*5def4c47SEmmanuel Vadot #define MT8167_PIN_113_MSDC0_DAT4__FUNC_GPIO113 (MTK_PIN_NO(113) | 0) 700*5def4c47SEmmanuel Vadot #define MT8167_PIN_113_MSDC0_DAT4__FUNC_MSDC0_DAT4 (MTK_PIN_NO(113) | 1) 701*5def4c47SEmmanuel Vadot #define MT8167_PIN_113_MSDC0_DAT4__FUNC_NLD3 (MTK_PIN_NO(113) | 4) 702*5def4c47SEmmanuel Vadot 703*5def4c47SEmmanuel Vadot #define MT8167_PIN_114_MSDC0_RSTB__FUNC_GPIO114 (MTK_PIN_NO(114) | 0) 704*5def4c47SEmmanuel Vadot #define MT8167_PIN_114_MSDC0_RSTB__FUNC_MSDC0_RSTB (MTK_PIN_NO(114) | 1) 705*5def4c47SEmmanuel Vadot #define MT8167_PIN_114_MSDC0_RSTB__FUNC_NLD0 (MTK_PIN_NO(114) | 4) 706*5def4c47SEmmanuel Vadot 707*5def4c47SEmmanuel Vadot #define MT8167_PIN_115_MSDC0_CMD__FUNC_GPIO115 (MTK_PIN_NO(115) | 0) 708*5def4c47SEmmanuel Vadot #define MT8167_PIN_115_MSDC0_CMD__FUNC_MSDC0_CMD (MTK_PIN_NO(115) | 1) 709*5def4c47SEmmanuel Vadot #define MT8167_PIN_115_MSDC0_CMD__FUNC_NALE (MTK_PIN_NO(115) | 4) 710*5def4c47SEmmanuel Vadot 711*5def4c47SEmmanuel Vadot #define MT8167_PIN_116_MSDC0_CLK__FUNC_GPIO116 (MTK_PIN_NO(116) | 0) 712*5def4c47SEmmanuel Vadot #define MT8167_PIN_116_MSDC0_CLK__FUNC_MSDC0_CLK (MTK_PIN_NO(116) | 1) 713*5def4c47SEmmanuel Vadot #define MT8167_PIN_116_MSDC0_CLK__FUNC_NWEB (MTK_PIN_NO(116) | 4) 714*5def4c47SEmmanuel Vadot 715*5def4c47SEmmanuel Vadot #define MT8167_PIN_117_MSDC0_DAT3__FUNC_GPIO117 (MTK_PIN_NO(117) | 0) 716*5def4c47SEmmanuel Vadot #define MT8167_PIN_117_MSDC0_DAT3__FUNC_MSDC0_DAT3 (MTK_PIN_NO(117) | 1) 717*5def4c47SEmmanuel Vadot #define MT8167_PIN_117_MSDC0_DAT3__FUNC_NLD1 (MTK_PIN_NO(117) | 4) 718*5def4c47SEmmanuel Vadot 719*5def4c47SEmmanuel Vadot #define MT8167_PIN_118_MSDC0_DAT2__FUNC_GPIO118 (MTK_PIN_NO(118) | 0) 720*5def4c47SEmmanuel Vadot #define MT8167_PIN_118_MSDC0_DAT2__FUNC_MSDC0_DAT2 (MTK_PIN_NO(118) | 1) 721*5def4c47SEmmanuel Vadot #define MT8167_PIN_118_MSDC0_DAT2__FUNC_NLD5 (MTK_PIN_NO(118) | 4) 722*5def4c47SEmmanuel Vadot 723*5def4c47SEmmanuel Vadot #define MT8167_PIN_119_MSDC0_DAT1__FUNC_GPIO119 (MTK_PIN_NO(119) | 0) 724*5def4c47SEmmanuel Vadot #define MT8167_PIN_119_MSDC0_DAT1__FUNC_MSDC0_DAT1 (MTK_PIN_NO(119) | 1) 725*5def4c47SEmmanuel Vadot #define MT8167_PIN_119_MSDC0_DAT1__FUNC_NLD8 (MTK_PIN_NO(119) | 4) 726*5def4c47SEmmanuel Vadot 727*5def4c47SEmmanuel Vadot #define MT8167_PIN_120_MSDC0_DAT0__FUNC_GPIO120 (MTK_PIN_NO(120) | 0) 728*5def4c47SEmmanuel Vadot #define MT8167_PIN_120_MSDC0_DAT0__FUNC_MSDC0_DAT0 (MTK_PIN_NO(120) | 1) 729*5def4c47SEmmanuel Vadot #define MT8167_PIN_120_MSDC0_DAT0__FUNC_WATCHDOG (MTK_PIN_NO(120) | 4) 730*5def4c47SEmmanuel Vadot #define MT8167_PIN_120_MSDC0_DAT0__FUNC_NLD2 (MTK_PIN_NO(120) | 5) 731*5def4c47SEmmanuel Vadot 732*5def4c47SEmmanuel Vadot #define MT8167_PIN_121_CEC__FUNC_GPIO121 (MTK_PIN_NO(121) | 0) 733*5def4c47SEmmanuel Vadot #define MT8167_PIN_121_CEC__FUNC_CEC (MTK_PIN_NO(121) | 1) 734*5def4c47SEmmanuel Vadot 735*5def4c47SEmmanuel Vadot #define MT8167_PIN_122_HTPLG__FUNC_GPIO122 (MTK_PIN_NO(122) | 0) 736*5def4c47SEmmanuel Vadot #define MT8167_PIN_122_HTPLG__FUNC_HTPLG (MTK_PIN_NO(122) | 1) 737*5def4c47SEmmanuel Vadot 738*5def4c47SEmmanuel Vadot #define MT8167_PIN_123_HDMISCK__FUNC_GPIO123 (MTK_PIN_NO(123) | 0) 739*5def4c47SEmmanuel Vadot #define MT8167_PIN_123_HDMISCK__FUNC_HDMISCK (MTK_PIN_NO(123) | 1) 740*5def4c47SEmmanuel Vadot 741*5def4c47SEmmanuel Vadot #define MT8167_PIN_124_HDMISD__FUNC_GPIO124 (MTK_PIN_NO(124) | 0) 742*5def4c47SEmmanuel Vadot #define MT8167_PIN_124_HDMISD__FUNC_HDMISD (MTK_PIN_NO(124) | 1) 743*5def4c47SEmmanuel Vadot 744*5def4c47SEmmanuel Vadot #endif /* __DTS_MT8167_PINFUNC_H */ 745