1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Copyright (c) 2014 MediaTek Inc. 2 * Copyright (c) 2014 MediaTek Inc. 4 * Author: Hongzhou.Yang <hongzhou.yang@mediat 3 * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com> >> 4 * >> 5 * This program is free software; you can redistribute it and/or modify >> 6 * it under the terms of the GNU General Public License version 2 as >> 7 * published by the Free Software Foundation. >> 8 * >> 9 * This program is distributed in the hope that it will be useful, >> 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of >> 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> 12 * GNU General Public License for more details. 5 */ 13 */ 6 14 7 #ifndef __DTS_MT8173_PINFUNC_H 15 #ifndef __DTS_MT8173_PINFUNC_H 8 #define __DTS_MT8173_PINFUNC_H 16 #define __DTS_MT8173_PINFUNC_H 9 17 10 #include <dt-bindings/pinctrl/mt65xx.h> 18 #include <dt-bindings/pinctrl/mt65xx.h> 11 19 12 #define MT8173_PIN_0_EINT0__FUNC_GPIO0 (MTK_PI 20 #define MT8173_PIN_0_EINT0__FUNC_GPIO0 (MTK_PIN_NO(0) | 0) 13 #define MT8173_PIN_0_EINT0__FUNC_IRDA_PDN (MTK 21 #define MT8173_PIN_0_EINT0__FUNC_IRDA_PDN (MTK_PIN_NO(0) | 1) 14 #define MT8173_PIN_0_EINT0__FUNC_I2S1_WS (MTK_ 22 #define MT8173_PIN_0_EINT0__FUNC_I2S1_WS (MTK_PIN_NO(0) | 2) 15 #define MT8173_PIN_0_EINT0__FUNC_AUD_SPDIF (MT 23 #define MT8173_PIN_0_EINT0__FUNC_AUD_SPDIF (MTK_PIN_NO(0) | 3) 16 #define MT8173_PIN_0_EINT0__FUNC_UTXD0 (MTK_PI 24 #define MT8173_PIN_0_EINT0__FUNC_UTXD0 (MTK_PIN_NO(0) | 4) 17 #define MT8173_PIN_0_EINT0__FUNC_DBG_MON_A_20_ 25 #define MT8173_PIN_0_EINT0__FUNC_DBG_MON_A_20_ (MTK_PIN_NO(0) | 7) 18 26 19 #define MT8173_PIN_1_EINT1__FUNC_GPIO1 (MTK_PI 27 #define MT8173_PIN_1_EINT1__FUNC_GPIO1 (MTK_PIN_NO(1) | 0) 20 #define MT8173_PIN_1_EINT1__FUNC_IRDA_RXD (MTK 28 #define MT8173_PIN_1_EINT1__FUNC_IRDA_RXD (MTK_PIN_NO(1) | 1) 21 #define MT8173_PIN_1_EINT1__FUNC_I2S1_BCK (MTK 29 #define MT8173_PIN_1_EINT1__FUNC_I2S1_BCK (MTK_PIN_NO(1) | 2) 22 #define MT8173_PIN_1_EINT1__FUNC_SDA5 (MTK_PIN 30 #define MT8173_PIN_1_EINT1__FUNC_SDA5 (MTK_PIN_NO(1) | 3) 23 #define MT8173_PIN_1_EINT1__FUNC_URXD0 (MTK_PI 31 #define MT8173_PIN_1_EINT1__FUNC_URXD0 (MTK_PIN_NO(1) | 4) 24 #define MT8173_PIN_1_EINT1__FUNC_DBG_MON_A_21_ 32 #define MT8173_PIN_1_EINT1__FUNC_DBG_MON_A_21_ (MTK_PIN_NO(1) | 7) 25 33 26 #define MT8173_PIN_2_EINT2__FUNC_GPIO2 (MTK_PI 34 #define MT8173_PIN_2_EINT2__FUNC_GPIO2 (MTK_PIN_NO(2) | 0) 27 #define MT8173_PIN_2_EINT2__FUNC_IRDA_TXD (MTK 35 #define MT8173_PIN_2_EINT2__FUNC_IRDA_TXD (MTK_PIN_NO(2) | 1) 28 #define MT8173_PIN_2_EINT2__FUNC_I2S1_MCK (MTK 36 #define MT8173_PIN_2_EINT2__FUNC_I2S1_MCK (MTK_PIN_NO(2) | 2) 29 #define MT8173_PIN_2_EINT2__FUNC_SCL5 (MTK_PIN 37 #define MT8173_PIN_2_EINT2__FUNC_SCL5 (MTK_PIN_NO(2) | 3) 30 #define MT8173_PIN_2_EINT2__FUNC_UTXD3 (MTK_PI 38 #define MT8173_PIN_2_EINT2__FUNC_UTXD3 (MTK_PIN_NO(2) | 4) 31 #define MT8173_PIN_2_EINT2__FUNC_DBG_MON_A_22_ 39 #define MT8173_PIN_2_EINT2__FUNC_DBG_MON_A_22_ (MTK_PIN_NO(2) | 7) 32 40 33 #define MT8173_PIN_3_EINT3__FUNC_GPIO3 (MTK_PI 41 #define MT8173_PIN_3_EINT3__FUNC_GPIO3 (MTK_PIN_NO(3) | 0) 34 #define MT8173_PIN_3_EINT3__FUNC_DSI1_TE (MTK_ 42 #define MT8173_PIN_3_EINT3__FUNC_DSI1_TE (MTK_PIN_NO(3) | 1) 35 #define MT8173_PIN_3_EINT3__FUNC_I2S1_DO_1 (MT 43 #define MT8173_PIN_3_EINT3__FUNC_I2S1_DO_1 (MTK_PIN_NO(3) | 2) 36 #define MT8173_PIN_3_EINT3__FUNC_SDA3 (MTK_PIN 44 #define MT8173_PIN_3_EINT3__FUNC_SDA3 (MTK_PIN_NO(3) | 3) 37 #define MT8173_PIN_3_EINT3__FUNC_URXD3 (MTK_PI 45 #define MT8173_PIN_3_EINT3__FUNC_URXD3 (MTK_PIN_NO(3) | 4) 38 #define MT8173_PIN_3_EINT3__FUNC_DBG_MON_A_23_ 46 #define MT8173_PIN_3_EINT3__FUNC_DBG_MON_A_23_ (MTK_PIN_NO(3) | 7) 39 47 40 #define MT8173_PIN_4_EINT4__FUNC_GPIO4 (MTK_PI 48 #define MT8173_PIN_4_EINT4__FUNC_GPIO4 (MTK_PIN_NO(4) | 0) 41 #define MT8173_PIN_4_EINT4__FUNC_DISP_PWM1 (MT 49 #define MT8173_PIN_4_EINT4__FUNC_DISP_PWM1 (MTK_PIN_NO(4) | 1) 42 #define MT8173_PIN_4_EINT4__FUNC_I2S1_DO_2 (MT 50 #define MT8173_PIN_4_EINT4__FUNC_I2S1_DO_2 (MTK_PIN_NO(4) | 2) 43 #define MT8173_PIN_4_EINT4__FUNC_SCL3 (MTK_PIN 51 #define MT8173_PIN_4_EINT4__FUNC_SCL3 (MTK_PIN_NO(4) | 3) 44 #define MT8173_PIN_4_EINT4__FUNC_UCTS3 (MTK_PI 52 #define MT8173_PIN_4_EINT4__FUNC_UCTS3 (MTK_PIN_NO(4) | 4) 45 #define MT8173_PIN_4_EINT4__FUNC_SFWP_B (MTK_P 53 #define MT8173_PIN_4_EINT4__FUNC_SFWP_B (MTK_PIN_NO(4) | 6) 46 54 47 #define MT8173_PIN_5_EINT5__FUNC_GPIO5 (MTK_PI 55 #define MT8173_PIN_5_EINT5__FUNC_GPIO5 (MTK_PIN_NO(5) | 0) 48 #define MT8173_PIN_5_EINT5__FUNC_PCM1_CLK (MTK 56 #define MT8173_PIN_5_EINT5__FUNC_PCM1_CLK (MTK_PIN_NO(5) | 1) 49 #define MT8173_PIN_5_EINT5__FUNC_I2S2_WS (MTK_ 57 #define MT8173_PIN_5_EINT5__FUNC_I2S2_WS (MTK_PIN_NO(5) | 2) 50 #define MT8173_PIN_5_EINT5__FUNC_SPI_CK_3_ (MT 58 #define MT8173_PIN_5_EINT5__FUNC_SPI_CK_3_ (MTK_PIN_NO(5) | 3) 51 #define MT8173_PIN_5_EINT5__FUNC_URTS3 (MTK_PI 59 #define MT8173_PIN_5_EINT5__FUNC_URTS3 (MTK_PIN_NO(5) | 4) 52 #define MT8173_PIN_5_EINT5__FUNC_AP_MD32_JTAG_ 60 #define MT8173_PIN_5_EINT5__FUNC_AP_MD32_JTAG_TMS (MTK_PIN_NO(5) | 5) 53 #define MT8173_PIN_5_EINT5__FUNC_SFOUT (MTK_PI 61 #define MT8173_PIN_5_EINT5__FUNC_SFOUT (MTK_PIN_NO(5) | 6) 54 62 55 #define MT8173_PIN_6_EINT6__FUNC_GPIO6 (MTK_PI 63 #define MT8173_PIN_6_EINT6__FUNC_GPIO6 (MTK_PIN_NO(6) | 0) 56 #define MT8173_PIN_6_EINT6__FUNC_PCM1_SYNC (MT 64 #define MT8173_PIN_6_EINT6__FUNC_PCM1_SYNC (MTK_PIN_NO(6) | 1) 57 #define MT8173_PIN_6_EINT6__FUNC_I2S2_BCK (MTK 65 #define MT8173_PIN_6_EINT6__FUNC_I2S2_BCK (MTK_PIN_NO(6) | 2) 58 #define MT8173_PIN_6_EINT6__FUNC_SPI_MI_3_ (MT 66 #define MT8173_PIN_6_EINT6__FUNC_SPI_MI_3_ (MTK_PIN_NO(6) | 3) 59 #define MT8173_PIN_6_EINT6__FUNC_AP_MD32_JTAG_ 67 #define MT8173_PIN_6_EINT6__FUNC_AP_MD32_JTAG_TCK (MTK_PIN_NO(6) | 5) 60 #define MT8173_PIN_6_EINT6__FUNC_SFCS0 (MTK_PI 68 #define MT8173_PIN_6_EINT6__FUNC_SFCS0 (MTK_PIN_NO(6) | 6) 61 69 62 #define MT8173_PIN_7_EINT7__FUNC_GPIO7 (MTK_PI 70 #define MT8173_PIN_7_EINT7__FUNC_GPIO7 (MTK_PIN_NO(7) | 0) 63 #define MT8173_PIN_7_EINT7__FUNC_PCM1_DI (MTK_ 71 #define MT8173_PIN_7_EINT7__FUNC_PCM1_DI (MTK_PIN_NO(7) | 1) 64 #define MT8173_PIN_7_EINT7__FUNC_I2S2_DI_1 (MT 72 #define MT8173_PIN_7_EINT7__FUNC_I2S2_DI_1 (MTK_PIN_NO(7) | 2) 65 #define MT8173_PIN_7_EINT7__FUNC_SPI_MO_3_ (MT 73 #define MT8173_PIN_7_EINT7__FUNC_SPI_MO_3_ (MTK_PIN_NO(7) | 3) 66 #define MT8173_PIN_7_EINT7__FUNC_AP_MD32_JTAG_ 74 #define MT8173_PIN_7_EINT7__FUNC_AP_MD32_JTAG_TDI (MTK_PIN_NO(7) | 5) 67 #define MT8173_PIN_7_EINT7__FUNC_SFHOLD (MTK_P 75 #define MT8173_PIN_7_EINT7__FUNC_SFHOLD (MTK_PIN_NO(7) | 6) 68 76 69 #define MT8173_PIN_8_EINT8__FUNC_GPIO8 (MTK_PI 77 #define MT8173_PIN_8_EINT8__FUNC_GPIO8 (MTK_PIN_NO(8) | 0) 70 #define MT8173_PIN_8_EINT8__FUNC_PCM1_DO (MTK_ 78 #define MT8173_PIN_8_EINT8__FUNC_PCM1_DO (MTK_PIN_NO(8) | 1) 71 #define MT8173_PIN_8_EINT8__FUNC_I2S2_DI_2 (MT 79 #define MT8173_PIN_8_EINT8__FUNC_I2S2_DI_2 (MTK_PIN_NO(8) | 2) 72 #define MT8173_PIN_8_EINT8__FUNC_SPI_CS_3_ (MT 80 #define MT8173_PIN_8_EINT8__FUNC_SPI_CS_3_ (MTK_PIN_NO(8) | 3) 73 #define MT8173_PIN_8_EINT8__FUNC_AUD_SPDIF (MT 81 #define MT8173_PIN_8_EINT8__FUNC_AUD_SPDIF (MTK_PIN_NO(8) | 4) 74 #define MT8173_PIN_8_EINT8__FUNC_AP_MD32_JTAG_ 82 #define MT8173_PIN_8_EINT8__FUNC_AP_MD32_JTAG_TDO (MTK_PIN_NO(8) | 5) 75 #define MT8173_PIN_8_EINT8__FUNC_SFIN (MTK_PIN 83 #define MT8173_PIN_8_EINT8__FUNC_SFIN (MTK_PIN_NO(8) | 6) 76 84 77 #define MT8173_PIN_9_EINT9__FUNC_GPIO9 (MTK_PI 85 #define MT8173_PIN_9_EINT9__FUNC_GPIO9 (MTK_PIN_NO(9) | 0) 78 #define MT8173_PIN_9_EINT9__FUNC_USB_DRVVBUS_P 86 #define MT8173_PIN_9_EINT9__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(9) | 1) 79 #define MT8173_PIN_9_EINT9__FUNC_I2S2_MCK (MTK 87 #define MT8173_PIN_9_EINT9__FUNC_I2S2_MCK (MTK_PIN_NO(9) | 2) 80 #define MT8173_PIN_9_EINT9__FUNC_USB_DRVVBUS_P 88 #define MT8173_PIN_9_EINT9__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(9) | 4) 81 #define MT8173_PIN_9_EINT9__FUNC_AP_MD32_JTAG_ 89 #define MT8173_PIN_9_EINT9__FUNC_AP_MD32_JTAG_TRST (MTK_PIN_NO(9) | 5) 82 #define MT8173_PIN_9_EINT9__FUNC_SFCK (MTK_PIN 90 #define MT8173_PIN_9_EINT9__FUNC_SFCK (MTK_PIN_NO(9) | 6) 83 91 84 #define MT8173_PIN_10_EINT10__FUNC_GPIO10 (MTK 92 #define MT8173_PIN_10_EINT10__FUNC_GPIO10 (MTK_PIN_NO(10) | 0) 85 #define MT8173_PIN_10_EINT10__FUNC_CLKM0 (MTK_ 93 #define MT8173_PIN_10_EINT10__FUNC_CLKM0 (MTK_PIN_NO(10) | 1) 86 #define MT8173_PIN_10_EINT10__FUNC_DSI1_TE (MT 94 #define MT8173_PIN_10_EINT10__FUNC_DSI1_TE (MTK_PIN_NO(10) | 2) 87 #define MT8173_PIN_10_EINT10__FUNC_DISP_PWM1 ( 95 #define MT8173_PIN_10_EINT10__FUNC_DISP_PWM1 (MTK_PIN_NO(10) | 3) 88 #define MT8173_PIN_10_EINT10__FUNC_PWM4 (MTK_P 96 #define MT8173_PIN_10_EINT10__FUNC_PWM4 (MTK_PIN_NO(10) | 4) 89 #define MT8173_PIN_10_EINT10__FUNC_IRDA_RXD (M 97 #define MT8173_PIN_10_EINT10__FUNC_IRDA_RXD (MTK_PIN_NO(10) | 5) 90 98 91 #define MT8173_PIN_11_EINT11__FUNC_GPIO11 (MTK 99 #define MT8173_PIN_11_EINT11__FUNC_GPIO11 (MTK_PIN_NO(11) | 0) 92 #define MT8173_PIN_11_EINT11__FUNC_CLKM1 (MTK_ 100 #define MT8173_PIN_11_EINT11__FUNC_CLKM1 (MTK_PIN_NO(11) | 1) 93 #define MT8173_PIN_11_EINT11__FUNC_I2S3_WS (MT 101 #define MT8173_PIN_11_EINT11__FUNC_I2S3_WS (MTK_PIN_NO(11) | 2) 94 #define MT8173_PIN_11_EINT11__FUNC_USB_DRVVBUS 102 #define MT8173_PIN_11_EINT11__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(11) | 3) 95 #define MT8173_PIN_11_EINT11__FUNC_PWM5 (MTK_P 103 #define MT8173_PIN_11_EINT11__FUNC_PWM5 (MTK_PIN_NO(11) | 4) 96 #define MT8173_PIN_11_EINT11__FUNC_IRDA_TXD (M 104 #define MT8173_PIN_11_EINT11__FUNC_IRDA_TXD (MTK_PIN_NO(11) | 5) 97 #define MT8173_PIN_11_EINT11__FUNC_USB_DRVVBUS 105 #define MT8173_PIN_11_EINT11__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(11) | 6) 98 #define MT8173_PIN_11_EINT11__FUNC_DBG_MON_B_3 106 #define MT8173_PIN_11_EINT11__FUNC_DBG_MON_B_30_ (MTK_PIN_NO(11) | 7) 99 107 100 #define MT8173_PIN_12_EINT12__FUNC_GPIO12 (MTK 108 #define MT8173_PIN_12_EINT12__FUNC_GPIO12 (MTK_PIN_NO(12) | 0) 101 #define MT8173_PIN_12_EINT12__FUNC_CLKM2 (MTK_ 109 #define MT8173_PIN_12_EINT12__FUNC_CLKM2 (MTK_PIN_NO(12) | 1) 102 #define MT8173_PIN_12_EINT12__FUNC_I2S3_BCK (M 110 #define MT8173_PIN_12_EINT12__FUNC_I2S3_BCK (MTK_PIN_NO(12) | 2) 103 #define MT8173_PIN_12_EINT12__FUNC_SRCLKENA0 ( 111 #define MT8173_PIN_12_EINT12__FUNC_SRCLKENA0 (MTK_PIN_NO(12) | 3) 104 #define MT8173_PIN_12_EINT12__FUNC_I2S2_WS (MT 112 #define MT8173_PIN_12_EINT12__FUNC_I2S2_WS (MTK_PIN_NO(12) | 5) 105 #define MT8173_PIN_12_EINT12__FUNC_DBG_MON_B_3 113 #define MT8173_PIN_12_EINT12__FUNC_DBG_MON_B_32_ (MTK_PIN_NO(12) | 7) 106 114 107 #define MT8173_PIN_13_EINT13__FUNC_GPIO13 (MTK 115 #define MT8173_PIN_13_EINT13__FUNC_GPIO13 (MTK_PIN_NO(13) | 0) 108 #define MT8173_PIN_13_EINT13__FUNC_CLKM3 (MTK_ 116 #define MT8173_PIN_13_EINT13__FUNC_CLKM3 (MTK_PIN_NO(13) | 1) 109 #define MT8173_PIN_13_EINT13__FUNC_I2S3_MCK (M 117 #define MT8173_PIN_13_EINT13__FUNC_I2S3_MCK (MTK_PIN_NO(13) | 2) 110 #define MT8173_PIN_13_EINT13__FUNC_SRCLKENA0 ( 118 #define MT8173_PIN_13_EINT13__FUNC_SRCLKENA0 (MTK_PIN_NO(13) | 3) 111 #define MT8173_PIN_13_EINT13__FUNC_I2S2_BCK (M 119 #define MT8173_PIN_13_EINT13__FUNC_I2S2_BCK (MTK_PIN_NO(13) | 5) 112 #define MT8173_PIN_13_EINT13__FUNC_DBG_MON_A_3 120 #define MT8173_PIN_13_EINT13__FUNC_DBG_MON_A_32_ (MTK_PIN_NO(13) | 7) 113 121 114 #define MT8173_PIN_14_EINT14__FUNC_GPIO14 (MTK 122 #define MT8173_PIN_14_EINT14__FUNC_GPIO14 (MTK_PIN_NO(14) | 0) 115 #define MT8173_PIN_14_EINT14__FUNC_CMDAT0 (MTK 123 #define MT8173_PIN_14_EINT14__FUNC_CMDAT0 (MTK_PIN_NO(14) | 1) 116 #define MT8173_PIN_14_EINT14__FUNC_CMCSD0 (MTK 124 #define MT8173_PIN_14_EINT14__FUNC_CMCSD0 (MTK_PIN_NO(14) | 2) 117 #define MT8173_PIN_14_EINT14__FUNC_CLKM2 (MTK_ 125 #define MT8173_PIN_14_EINT14__FUNC_CLKM2 (MTK_PIN_NO(14) | 4) 118 #define MT8173_PIN_14_EINT14__FUNC_DBG_MON_B_6 126 #define MT8173_PIN_14_EINT14__FUNC_DBG_MON_B_6_ (MTK_PIN_NO(14) | 7) 119 127 120 #define MT8173_PIN_15_EINT15__FUNC_GPIO15 (MTK 128 #define MT8173_PIN_15_EINT15__FUNC_GPIO15 (MTK_PIN_NO(15) | 0) 121 #define MT8173_PIN_15_EINT15__FUNC_CMDAT1 (MTK 129 #define MT8173_PIN_15_EINT15__FUNC_CMDAT1 (MTK_PIN_NO(15) | 1) 122 #define MT8173_PIN_15_EINT15__FUNC_CMCSD1 (MTK 130 #define MT8173_PIN_15_EINT15__FUNC_CMCSD1 (MTK_PIN_NO(15) | 2) 123 #define MT8173_PIN_15_EINT15__FUNC_CMFLASH (MT 131 #define MT8173_PIN_15_EINT15__FUNC_CMFLASH (MTK_PIN_NO(15) | 3) 124 #define MT8173_PIN_15_EINT15__FUNC_CLKM3 (MTK_ 132 #define MT8173_PIN_15_EINT15__FUNC_CLKM3 (MTK_PIN_NO(15) | 4) 125 #define MT8173_PIN_15_EINT15__FUNC_DBG_MON_B_2 133 #define MT8173_PIN_15_EINT15__FUNC_DBG_MON_B_29_ (MTK_PIN_NO(15) | 7) 126 134 127 #define MT8173_PIN_16_IDDIG__FUNC_GPIO16 (MTK_ 135 #define MT8173_PIN_16_IDDIG__FUNC_GPIO16 (MTK_PIN_NO(16) | 0) 128 #define MT8173_PIN_16_IDDIG__FUNC_IDDIG (MTK_P 136 #define MT8173_PIN_16_IDDIG__FUNC_IDDIG (MTK_PIN_NO(16) | 1) 129 #define MT8173_PIN_16_IDDIG__FUNC_CMFLASH (MTK 137 #define MT8173_PIN_16_IDDIG__FUNC_CMFLASH (MTK_PIN_NO(16) | 2) 130 #define MT8173_PIN_16_IDDIG__FUNC_PWM5 (MTK_PI 138 #define MT8173_PIN_16_IDDIG__FUNC_PWM5 (MTK_PIN_NO(16) | 4) 131 139 132 #define MT8173_PIN_17_WATCHDOG__FUNC_GPIO17 (M 140 #define MT8173_PIN_17_WATCHDOG__FUNC_GPIO17 (MTK_PIN_NO(17) | 0) 133 #define MT8173_PIN_17_WATCHDOG__FUNC_WATCHDOG_ 141 #define MT8173_PIN_17_WATCHDOG__FUNC_WATCHDOG_AO (MTK_PIN_NO(17) | 1) 134 142 135 #define MT8173_PIN_18_CEC__FUNC_GPIO18 (MTK_PI 143 #define MT8173_PIN_18_CEC__FUNC_GPIO18 (MTK_PIN_NO(18) | 0) 136 #define MT8173_PIN_18_CEC__FUNC_CEC (MTK_PIN_N 144 #define MT8173_PIN_18_CEC__FUNC_CEC (MTK_PIN_NO(18) | 1) 137 145 138 #define MT8173_PIN_19_HDMISCK__FUNC_GPIO19 (MT 146 #define MT8173_PIN_19_HDMISCK__FUNC_GPIO19 (MTK_PIN_NO(19) | 0) 139 #define MT8173_PIN_19_HDMISCK__FUNC_HDMISCK (M 147 #define MT8173_PIN_19_HDMISCK__FUNC_HDMISCK (MTK_PIN_NO(19) | 1) 140 #define MT8173_PIN_19_HDMISCK__FUNC_HDCP_SCL ( 148 #define MT8173_PIN_19_HDMISCK__FUNC_HDCP_SCL (MTK_PIN_NO(19) | 2) 141 149 142 #define MT8173_PIN_20_HDMISD__FUNC_GPIO20 (MTK 150 #define MT8173_PIN_20_HDMISD__FUNC_GPIO20 (MTK_PIN_NO(20) | 0) 143 #define MT8173_PIN_20_HDMISD__FUNC_HDMISD (MTK 151 #define MT8173_PIN_20_HDMISD__FUNC_HDMISD (MTK_PIN_NO(20) | 1) 144 #define MT8173_PIN_20_HDMISD__FUNC_HDCP_SDA (M 152 #define MT8173_PIN_20_HDMISD__FUNC_HDCP_SDA (MTK_PIN_NO(20) | 2) 145 153 146 #define MT8173_PIN_21_HTPLG__FUNC_GPIO21 (MTK_ 154 #define MT8173_PIN_21_HTPLG__FUNC_GPIO21 (MTK_PIN_NO(21) | 0) 147 #define MT8173_PIN_21_HTPLG__FUNC_HTPLG (MTK_P 155 #define MT8173_PIN_21_HTPLG__FUNC_HTPLG (MTK_PIN_NO(21) | 1) 148 156 149 #define MT8173_PIN_22_MSDC3_DAT0__FUNC_GPIO22 157 #define MT8173_PIN_22_MSDC3_DAT0__FUNC_GPIO22 (MTK_PIN_NO(22) | 0) 150 #define MT8173_PIN_22_MSDC3_DAT0__FUNC_MSDC3_D 158 #define MT8173_PIN_22_MSDC3_DAT0__FUNC_MSDC3_DAT0 (MTK_PIN_NO(22) | 1) 151 159 152 #define MT8173_PIN_23_MSDC3_DAT1__FUNC_GPIO23 160 #define MT8173_PIN_23_MSDC3_DAT1__FUNC_GPIO23 (MTK_PIN_NO(23) | 0) 153 #define MT8173_PIN_23_MSDC3_DAT1__FUNC_MSDC3_D 161 #define MT8173_PIN_23_MSDC3_DAT1__FUNC_MSDC3_DAT1 (MTK_PIN_NO(23) | 1) 154 162 155 #define MT8173_PIN_24_MSDC3_DAT2__FUNC_GPIO24 163 #define MT8173_PIN_24_MSDC3_DAT2__FUNC_GPIO24 (MTK_PIN_NO(24) | 0) 156 #define MT8173_PIN_24_MSDC3_DAT2__FUNC_MSDC3_D 164 #define MT8173_PIN_24_MSDC3_DAT2__FUNC_MSDC3_DAT2 (MTK_PIN_NO(24) | 1) 157 165 158 #define MT8173_PIN_25_MSDC3_DAT3__FUNC_GPIO25 166 #define MT8173_PIN_25_MSDC3_DAT3__FUNC_GPIO25 (MTK_PIN_NO(25) | 0) 159 #define MT8173_PIN_25_MSDC3_DAT3__FUNC_MSDC3_D 167 #define MT8173_PIN_25_MSDC3_DAT3__FUNC_MSDC3_DAT3 (MTK_PIN_NO(25) | 1) 160 168 161 #define MT8173_PIN_26_MSDC3_CLK__FUNC_GPIO26 ( 169 #define MT8173_PIN_26_MSDC3_CLK__FUNC_GPIO26 (MTK_PIN_NO(26) | 0) 162 #define MT8173_PIN_26_MSDC3_CLK__FUNC_MSDC3_CL 170 #define MT8173_PIN_26_MSDC3_CLK__FUNC_MSDC3_CLK (MTK_PIN_NO(26) | 1) 163 171 164 #define MT8173_PIN_27_MSDC3_CMD__FUNC_GPIO27 ( 172 #define MT8173_PIN_27_MSDC3_CMD__FUNC_GPIO27 (MTK_PIN_NO(27) | 0) 165 #define MT8173_PIN_27_MSDC3_CMD__FUNC_MSDC3_CM 173 #define MT8173_PIN_27_MSDC3_CMD__FUNC_MSDC3_CMD (MTK_PIN_NO(27) | 1) 166 174 167 #define MT8173_PIN_28_MSDC3_DSL__FUNC_GPIO28 ( 175 #define MT8173_PIN_28_MSDC3_DSL__FUNC_GPIO28 (MTK_PIN_NO(28) | 0) 168 #define MT8173_PIN_28_MSDC3_DSL__FUNC_MSDC3_DS 176 #define MT8173_PIN_28_MSDC3_DSL__FUNC_MSDC3_DSL (MTK_PIN_NO(28) | 1) 169 177 170 #define MT8173_PIN_29_UCTS2__FUNC_GPIO29 (MTK_ 178 #define MT8173_PIN_29_UCTS2__FUNC_GPIO29 (MTK_PIN_NO(29) | 0) 171 #define MT8173_PIN_29_UCTS2__FUNC_UCTS2 (MTK_P 179 #define MT8173_PIN_29_UCTS2__FUNC_UCTS2 (MTK_PIN_NO(29) | 1) 172 180 173 #define MT8173_PIN_30_URTS2__FUNC_GPIO30 (MTK_ 181 #define MT8173_PIN_30_URTS2__FUNC_GPIO30 (MTK_PIN_NO(30) | 0) 174 #define MT8173_PIN_30_URTS2__FUNC_URTS2 (MTK_P 182 #define MT8173_PIN_30_URTS2__FUNC_URTS2 (MTK_PIN_NO(30) | 1) 175 183 176 #define MT8173_PIN_31_URXD2__FUNC_GPIO31 (MTK_ 184 #define MT8173_PIN_31_URXD2__FUNC_GPIO31 (MTK_PIN_NO(31) | 0) 177 #define MT8173_PIN_31_URXD2__FUNC_URXD2 (MTK_P 185 #define MT8173_PIN_31_URXD2__FUNC_URXD2 (MTK_PIN_NO(31) | 1) 178 #define MT8173_PIN_31_URXD2__FUNC_UTXD2 (MTK_P 186 #define MT8173_PIN_31_URXD2__FUNC_UTXD2 (MTK_PIN_NO(31) | 2) 179 187 180 #define MT8173_PIN_32_UTXD2__FUNC_GPIO32 (MTK_ 188 #define MT8173_PIN_32_UTXD2__FUNC_GPIO32 (MTK_PIN_NO(32) | 0) 181 #define MT8173_PIN_32_UTXD2__FUNC_UTXD2 (MTK_P 189 #define MT8173_PIN_32_UTXD2__FUNC_UTXD2 (MTK_PIN_NO(32) | 1) 182 #define MT8173_PIN_32_UTXD2__FUNC_URXD2 (MTK_P 190 #define MT8173_PIN_32_UTXD2__FUNC_URXD2 (MTK_PIN_NO(32) | 2) 183 191 184 #define MT8173_PIN_33_DAICLK__FUNC_GPIO33 (MTK 192 #define MT8173_PIN_33_DAICLK__FUNC_GPIO33 (MTK_PIN_NO(33) | 0) 185 #define MT8173_PIN_33_DAICLK__FUNC_MRG_CLK (MT 193 #define MT8173_PIN_33_DAICLK__FUNC_MRG_CLK (MTK_PIN_NO(33) | 1) 186 #define MT8173_PIN_33_DAICLK__FUNC_PCM0_CLK (M 194 #define MT8173_PIN_33_DAICLK__FUNC_PCM0_CLK (MTK_PIN_NO(33) | 2) 187 195 188 #define MT8173_PIN_34_DAIPCMIN__FUNC_GPIO34 (M 196 #define MT8173_PIN_34_DAIPCMIN__FUNC_GPIO34 (MTK_PIN_NO(34) | 0) 189 #define MT8173_PIN_34_DAIPCMIN__FUNC_MRG_DI (M 197 #define MT8173_PIN_34_DAIPCMIN__FUNC_MRG_DI (MTK_PIN_NO(34) | 1) 190 #define MT8173_PIN_34_DAIPCMIN__FUNC_PCM0_DI ( 198 #define MT8173_PIN_34_DAIPCMIN__FUNC_PCM0_DI (MTK_PIN_NO(34) | 2) 191 199 192 #define MT8173_PIN_35_DAIPCMOUT__FUNC_GPIO35 ( 200 #define MT8173_PIN_35_DAIPCMOUT__FUNC_GPIO35 (MTK_PIN_NO(35) | 0) 193 #define MT8173_PIN_35_DAIPCMOUT__FUNC_MRG_DO ( 201 #define MT8173_PIN_35_DAIPCMOUT__FUNC_MRG_DO (MTK_PIN_NO(35) | 1) 194 #define MT8173_PIN_35_DAIPCMOUT__FUNC_PCM0_DO 202 #define MT8173_PIN_35_DAIPCMOUT__FUNC_PCM0_DO (MTK_PIN_NO(35) | 2) 195 203 196 #define MT8173_PIN_36_DAISYNC__FUNC_GPIO36 (MT 204 #define MT8173_PIN_36_DAISYNC__FUNC_GPIO36 (MTK_PIN_NO(36) | 0) 197 #define MT8173_PIN_36_DAISYNC__FUNC_MRG_SYNC ( 205 #define MT8173_PIN_36_DAISYNC__FUNC_MRG_SYNC (MTK_PIN_NO(36) | 1) 198 #define MT8173_PIN_36_DAISYNC__FUNC_PCM0_SYNC 206 #define MT8173_PIN_36_DAISYNC__FUNC_PCM0_SYNC (MTK_PIN_NO(36) | 2) 199 207 200 #define MT8173_PIN_37_EINT16__FUNC_GPIO37 (MTK 208 #define MT8173_PIN_37_EINT16__FUNC_GPIO37 (MTK_PIN_NO(37) | 0) 201 #define MT8173_PIN_37_EINT16__FUNC_USB_DRVVBUS 209 #define MT8173_PIN_37_EINT16__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(37) | 1) 202 #define MT8173_PIN_37_EINT16__FUNC_USB_DRVVBUS 210 #define MT8173_PIN_37_EINT16__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(37) | 2) 203 #define MT8173_PIN_37_EINT16__FUNC_PWM0 (MTK_P 211 #define MT8173_PIN_37_EINT16__FUNC_PWM0 (MTK_PIN_NO(37) | 3) 204 #define MT8173_PIN_37_EINT16__FUNC_PWM1 (MTK_P 212 #define MT8173_PIN_37_EINT16__FUNC_PWM1 (MTK_PIN_NO(37) | 4) 205 #define MT8173_PIN_37_EINT16__FUNC_PWM2 (MTK_P 213 #define MT8173_PIN_37_EINT16__FUNC_PWM2 (MTK_PIN_NO(37) | 5) 206 #define MT8173_PIN_37_EINT16__FUNC_CLKM0 (MTK_ 214 #define MT8173_PIN_37_EINT16__FUNC_CLKM0 (MTK_PIN_NO(37) | 6) 207 215 208 #define MT8173_PIN_38_CONN_RST__FUNC_GPIO38 (M 216 #define MT8173_PIN_38_CONN_RST__FUNC_GPIO38 (MTK_PIN_NO(38) | 0) 209 #define MT8173_PIN_38_CONN_RST__FUNC_USB_DRVVB 217 #define MT8173_PIN_38_CONN_RST__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(38) | 1) 210 #define MT8173_PIN_38_CONN_RST__FUNC_USB_DRVVB 218 #define MT8173_PIN_38_CONN_RST__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(38) | 2) 211 #define MT8173_PIN_38_CONN_RST__FUNC_CLKM1 (MT 219 #define MT8173_PIN_38_CONN_RST__FUNC_CLKM1 (MTK_PIN_NO(38) | 6) 212 220 213 #define MT8173_PIN_39_CM2MCLK__FUNC_GPIO39 (MT 221 #define MT8173_PIN_39_CM2MCLK__FUNC_GPIO39 (MTK_PIN_NO(39) | 0) 214 #define MT8173_PIN_39_CM2MCLK__FUNC_CM2MCLK (M 222 #define MT8173_PIN_39_CM2MCLK__FUNC_CM2MCLK (MTK_PIN_NO(39) | 1) 215 #define MT8173_PIN_39_CM2MCLK__FUNC_CMCSD0 (MT 223 #define MT8173_PIN_39_CM2MCLK__FUNC_CMCSD0 (MTK_PIN_NO(39) | 2) 216 #define MT8173_PIN_39_CM2MCLK__FUNC_DBG_MON_A_ 224 #define MT8173_PIN_39_CM2MCLK__FUNC_DBG_MON_A_17_ (MTK_PIN_NO(39) | 7) 217 225 218 #define MT8173_PIN_40_CMPCLK__FUNC_GPIO40 (MTK 226 #define MT8173_PIN_40_CMPCLK__FUNC_GPIO40 (MTK_PIN_NO(40) | 0) 219 #define MT8173_PIN_40_CMPCLK__FUNC_CMPCLK (MTK 227 #define MT8173_PIN_40_CMPCLK__FUNC_CMPCLK (MTK_PIN_NO(40) | 1) 220 #define MT8173_PIN_40_CMPCLK__FUNC_CMCSK (MTK_ 228 #define MT8173_PIN_40_CMPCLK__FUNC_CMCSK (MTK_PIN_NO(40) | 2) 221 #define MT8173_PIN_40_CMPCLK__FUNC_CMCSD2 (MTK 229 #define MT8173_PIN_40_CMPCLK__FUNC_CMCSD2 (MTK_PIN_NO(40) | 3) 222 #define MT8173_PIN_40_CMPCLK__FUNC_DBG_MON_A_1 230 #define MT8173_PIN_40_CMPCLK__FUNC_DBG_MON_A_18_ (MTK_PIN_NO(40) | 7) 223 231 224 #define MT8173_PIN_41_CMMCLK__FUNC_GPIO41 (MTK 232 #define MT8173_PIN_41_CMMCLK__FUNC_GPIO41 (MTK_PIN_NO(41) | 0) 225 #define MT8173_PIN_41_CMMCLK__FUNC_CMMCLK (MTK 233 #define MT8173_PIN_41_CMMCLK__FUNC_CMMCLK (MTK_PIN_NO(41) | 1) 226 #define MT8173_PIN_41_CMMCLK__FUNC_DBG_MON_A_1 234 #define MT8173_PIN_41_CMMCLK__FUNC_DBG_MON_A_19_ (MTK_PIN_NO(41) | 7) 227 235 228 #define MT8173_PIN_42_DSI_TE__FUNC_GPIO42 (MTK 236 #define MT8173_PIN_42_DSI_TE__FUNC_GPIO42 (MTK_PIN_NO(42) | 0) 229 #define MT8173_PIN_42_DSI_TE__FUNC_DSI_TE (MTK 237 #define MT8173_PIN_42_DSI_TE__FUNC_DSI_TE (MTK_PIN_NO(42) | 1) 230 238 231 #define MT8173_PIN_43_SDA2__FUNC_GPIO43 (MTK_P 239 #define MT8173_PIN_43_SDA2__FUNC_GPIO43 (MTK_PIN_NO(43) | 0) 232 #define MT8173_PIN_43_SDA2__FUNC_SDA2 (MTK_PIN 240 #define MT8173_PIN_43_SDA2__FUNC_SDA2 (MTK_PIN_NO(43) | 1) 233 241 234 #define MT8173_PIN_44_SCL2__FUNC_GPIO44 (MTK_P 242 #define MT8173_PIN_44_SCL2__FUNC_GPIO44 (MTK_PIN_NO(44) | 0) 235 #define MT8173_PIN_44_SCL2__FUNC_SCL2 (MTK_PIN 243 #define MT8173_PIN_44_SCL2__FUNC_SCL2 (MTK_PIN_NO(44) | 1) 236 244 237 #define MT8173_PIN_45_SDA0__FUNC_GPIO45 (MTK_P 245 #define MT8173_PIN_45_SDA0__FUNC_GPIO45 (MTK_PIN_NO(45) | 0) 238 #define MT8173_PIN_45_SDA0__FUNC_SDA0 (MTK_PIN 246 #define MT8173_PIN_45_SDA0__FUNC_SDA0 (MTK_PIN_NO(45) | 1) 239 247 240 #define MT8173_PIN_46_SCL0__FUNC_GPIO46 (MTK_P 248 #define MT8173_PIN_46_SCL0__FUNC_GPIO46 (MTK_PIN_NO(46) | 0) 241 #define MT8173_PIN_46_SCL0__FUNC_SCL0 (MTK_PIN 249 #define MT8173_PIN_46_SCL0__FUNC_SCL0 (MTK_PIN_NO(46) | 1) 242 250 243 #define MT8173_PIN_47_RDN0_A__FUNC_GPIO47 (MTK 251 #define MT8173_PIN_47_RDN0_A__FUNC_GPIO47 (MTK_PIN_NO(47) | 0) 244 #define MT8173_PIN_47_RDN0_A__FUNC_CMDAT2 (MTK 252 #define MT8173_PIN_47_RDN0_A__FUNC_CMDAT2 (MTK_PIN_NO(47) | 1) 245 253 246 #define MT8173_PIN_48_RDP0_A__FUNC_GPIO48 (MTK 254 #define MT8173_PIN_48_RDP0_A__FUNC_GPIO48 (MTK_PIN_NO(48) | 0) 247 #define MT8173_PIN_48_RDP0_A__FUNC_CMDAT3 (MTK 255 #define MT8173_PIN_48_RDP0_A__FUNC_CMDAT3 (MTK_PIN_NO(48) | 1) 248 256 249 #define MT8173_PIN_49_RDN1_A__FUNC_GPIO49 (MTK 257 #define MT8173_PIN_49_RDN1_A__FUNC_GPIO49 (MTK_PIN_NO(49) | 0) 250 #define MT8173_PIN_49_RDN1_A__FUNC_CMDAT4 (MTK 258 #define MT8173_PIN_49_RDN1_A__FUNC_CMDAT4 (MTK_PIN_NO(49) | 1) 251 259 252 #define MT8173_PIN_50_RDP1_A__FUNC_GPIO50 (MTK 260 #define MT8173_PIN_50_RDP1_A__FUNC_GPIO50 (MTK_PIN_NO(50) | 0) 253 #define MT8173_PIN_50_RDP1_A__FUNC_CMDAT5 (MTK 261 #define MT8173_PIN_50_RDP1_A__FUNC_CMDAT5 (MTK_PIN_NO(50) | 1) 254 262 255 #define MT8173_PIN_51_RCN_A__FUNC_GPIO51 (MTK_ 263 #define MT8173_PIN_51_RCN_A__FUNC_GPIO51 (MTK_PIN_NO(51) | 0) 256 #define MT8173_PIN_51_RCN_A__FUNC_CMDAT6 (MTK_ 264 #define MT8173_PIN_51_RCN_A__FUNC_CMDAT6 (MTK_PIN_NO(51) | 1) 257 265 258 #define MT8173_PIN_52_RCP_A__FUNC_GPIO52 (MTK_ 266 #define MT8173_PIN_52_RCP_A__FUNC_GPIO52 (MTK_PIN_NO(52) | 0) 259 #define MT8173_PIN_52_RCP_A__FUNC_CMDAT7 (MTK_ 267 #define MT8173_PIN_52_RCP_A__FUNC_CMDAT7 (MTK_PIN_NO(52) | 1) 260 268 261 #define MT8173_PIN_53_RDN2_A__FUNC_GPIO53 (MTK 269 #define MT8173_PIN_53_RDN2_A__FUNC_GPIO53 (MTK_PIN_NO(53) | 0) 262 #define MT8173_PIN_53_RDN2_A__FUNC_CMDAT8 (MTK 270 #define MT8173_PIN_53_RDN2_A__FUNC_CMDAT8 (MTK_PIN_NO(53) | 1) 263 #define MT8173_PIN_53_RDN2_A__FUNC_CMCSD3 (MTK 271 #define MT8173_PIN_53_RDN2_A__FUNC_CMCSD3 (MTK_PIN_NO(53) | 2) 264 272 265 #define MT8173_PIN_54_RDP2_A__FUNC_GPIO54 (MTK 273 #define MT8173_PIN_54_RDP2_A__FUNC_GPIO54 (MTK_PIN_NO(54) | 0) 266 #define MT8173_PIN_54_RDP2_A__FUNC_CMDAT9 (MTK 274 #define MT8173_PIN_54_RDP2_A__FUNC_CMDAT9 (MTK_PIN_NO(54) | 1) 267 #define MT8173_PIN_54_RDP2_A__FUNC_CMCSD2 (MTK 275 #define MT8173_PIN_54_RDP2_A__FUNC_CMCSD2 (MTK_PIN_NO(54) | 2) 268 276 269 #define MT8173_PIN_55_RDN3_A__FUNC_GPIO55 (MTK 277 #define MT8173_PIN_55_RDN3_A__FUNC_GPIO55 (MTK_PIN_NO(55) | 0) 270 #define MT8173_PIN_55_RDN3_A__FUNC_CMHSYNC (MT 278 #define MT8173_PIN_55_RDN3_A__FUNC_CMHSYNC (MTK_PIN_NO(55) | 1) 271 #define MT8173_PIN_55_RDN3_A__FUNC_CMCSD1 (MTK 279 #define MT8173_PIN_55_RDN3_A__FUNC_CMCSD1 (MTK_PIN_NO(55) | 2) 272 280 273 #define MT8173_PIN_56_RDP3_A__FUNC_GPIO56 (MTK 281 #define MT8173_PIN_56_RDP3_A__FUNC_GPIO56 (MTK_PIN_NO(56) | 0) 274 #define MT8173_PIN_56_RDP3_A__FUNC_CMVSYNC (MT 282 #define MT8173_PIN_56_RDP3_A__FUNC_CMVSYNC (MTK_PIN_NO(56) | 1) 275 #define MT8173_PIN_56_RDP3_A__FUNC_CMCSD0 (MTK 283 #define MT8173_PIN_56_RDP3_A__FUNC_CMCSD0 (MTK_PIN_NO(56) | 2) 276 284 277 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_GPIO57 285 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_GPIO57 (MTK_PIN_NO(57) | 0) 278 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_D 286 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0 (MTK_PIN_NO(57) | 1) 279 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_I2S1_WS 287 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_I2S1_WS (MTK_PIN_NO(57) | 2) 280 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_DBG_MON 288 #define MT8173_PIN_57_MSDC0_DAT0__FUNC_DBG_MON_B_7_ (MTK_PIN_NO(57) | 7) 281 289 282 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_GPIO58 290 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_GPIO58 (MTK_PIN_NO(58) | 0) 283 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_MSDC0_D 291 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_MSDC0_DAT1 (MTK_PIN_NO(58) | 1) 284 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_I2S1_BC 292 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_I2S1_BCK (MTK_PIN_NO(58) | 2) 285 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_DBG_MON 293 #define MT8173_PIN_58_MSDC0_DAT1__FUNC_DBG_MON_B_8_ (MTK_PIN_NO(58) | 7) 286 294 287 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_GPIO59 295 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_GPIO59 (MTK_PIN_NO(59) | 0) 288 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_MSDC0_D 296 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_MSDC0_DAT2 (MTK_PIN_NO(59) | 1) 289 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_I2S1_MC 297 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_I2S1_MCK (MTK_PIN_NO(59) | 2) 290 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_DBG_MON 298 #define MT8173_PIN_59_MSDC0_DAT2__FUNC_DBG_MON_B_9_ (MTK_PIN_NO(59) | 7) 291 299 292 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_GPIO60 300 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_GPIO60 (MTK_PIN_NO(60) | 0) 293 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_MSDC0_D 301 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_MSDC0_DAT3 (MTK_PIN_NO(60) | 1) 294 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_I2S1_DO 302 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_I2S1_DO_1 (MTK_PIN_NO(60) | 2) 295 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_DBG_MON 303 #define MT8173_PIN_60_MSDC0_DAT3__FUNC_DBG_MON_B_10_ (MTK_PIN_NO(60) | 7) 296 304 297 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_GPIO61 305 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_GPIO61 (MTK_PIN_NO(61) | 0) 298 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_MSDC0_D 306 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_MSDC0_DAT4 (MTK_PIN_NO(61) | 1) 299 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_I2S1_DO 307 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_I2S1_DO_2 (MTK_PIN_NO(61) | 2) 300 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_DBG_MON 308 #define MT8173_PIN_61_MSDC0_DAT4__FUNC_DBG_MON_B_11_ (MTK_PIN_NO(61) | 7) 301 309 302 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_GPIO62 310 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_GPIO62 (MTK_PIN_NO(62) | 0) 303 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_MSDC0_D 311 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_MSDC0_DAT5 (MTK_PIN_NO(62) | 1) 304 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_I2S2_WS 312 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_I2S2_WS (MTK_PIN_NO(62) | 2) 305 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_DBG_MON 313 #define MT8173_PIN_62_MSDC0_DAT5__FUNC_DBG_MON_B_12_ (MTK_PIN_NO(62) | 7) 306 314 307 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_GPIO63 315 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_GPIO63 (MTK_PIN_NO(63) | 0) 308 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_MSDC0_D 316 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_MSDC0_DAT6 (MTK_PIN_NO(63) | 1) 309 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_I2S2_BC 317 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_I2S2_BCK (MTK_PIN_NO(63) | 2) 310 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_DBG_MON 318 #define MT8173_PIN_63_MSDC0_DAT6__FUNC_DBG_MON_B_13_ (MTK_PIN_NO(63) | 7) 311 319 312 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_GPIO64 320 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_GPIO64 (MTK_PIN_NO(64) | 0) 313 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_D 321 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_DAT7 (MTK_PIN_NO(64) | 1) 314 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_I2S2_DI 322 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_I2S2_DI_1 (MTK_PIN_NO(64) | 2) 315 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_DBG_MON 323 #define MT8173_PIN_64_MSDC0_DAT7__FUNC_DBG_MON_B_14_ (MTK_PIN_NO(64) | 7) 316 324 317 #define MT8173_PIN_65_MSDC0_CLK__FUNC_GPIO65 ( 325 #define MT8173_PIN_65_MSDC0_CLK__FUNC_GPIO65 (MTK_PIN_NO(65) | 0) 318 #define MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CL 326 #define MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CLK (MTK_PIN_NO(65) | 1) 319 #define MT8173_PIN_65_MSDC0_CLK__FUNC_DBG_MON_ 327 #define MT8173_PIN_65_MSDC0_CLK__FUNC_DBG_MON_B_16_ (MTK_PIN_NO(65) | 7) 320 328 321 #define MT8173_PIN_66_MSDC0_CMD__FUNC_GPIO66 ( 329 #define MT8173_PIN_66_MSDC0_CMD__FUNC_GPIO66 (MTK_PIN_NO(66) | 0) 322 #define MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CM 330 #define MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CMD (MTK_PIN_NO(66) | 1) 323 #define MT8173_PIN_66_MSDC0_CMD__FUNC_I2S2_DI_ 331 #define MT8173_PIN_66_MSDC0_CMD__FUNC_I2S2_DI_2 (MTK_PIN_NO(66) | 2) 324 #define MT8173_PIN_66_MSDC0_CMD__FUNC_DBG_MON_ 332 #define MT8173_PIN_66_MSDC0_CMD__FUNC_DBG_MON_B_15_ (MTK_PIN_NO(66) | 7) 325 333 326 #define MT8173_PIN_67_MSDC0_DSL__FUNC_GPIO67 ( 334 #define MT8173_PIN_67_MSDC0_DSL__FUNC_GPIO67 (MTK_PIN_NO(67) | 0) 327 #define MT8173_PIN_67_MSDC0_DSL__FUNC_MSDC0_DS 335 #define MT8173_PIN_67_MSDC0_DSL__FUNC_MSDC0_DSL (MTK_PIN_NO(67) | 1) 328 #define MT8173_PIN_67_MSDC0_DSL__FUNC_DBG_MON_ 336 #define MT8173_PIN_67_MSDC0_DSL__FUNC_DBG_MON_B_17_ (MTK_PIN_NO(67) | 7) 329 337 330 #define MT8173_PIN_68_MSDC0_RST___FUNC_GPIO68 338 #define MT8173_PIN_68_MSDC0_RST___FUNC_GPIO68 (MTK_PIN_NO(68) | 0) 331 #define MT8173_PIN_68_MSDC0_RST___FUNC_MSDC0_R 339 #define MT8173_PIN_68_MSDC0_RST___FUNC_MSDC0_RSTB (MTK_PIN_NO(68) | 1) 332 #define MT8173_PIN_68_MSDC0_RST___FUNC_I2S2_MC 340 #define MT8173_PIN_68_MSDC0_RST___FUNC_I2S2_MCK (MTK_PIN_NO(68) | 2) 333 #define MT8173_PIN_68_MSDC0_RST___FUNC_DBG_MON 341 #define MT8173_PIN_68_MSDC0_RST___FUNC_DBG_MON_B_18_ (MTK_PIN_NO(68) | 7) 334 342 335 #define MT8173_PIN_69_SPI_CK__FUNC_GPIO69 (MTK 343 #define MT8173_PIN_69_SPI_CK__FUNC_GPIO69 (MTK_PIN_NO(69) | 0) 336 #define MT8173_PIN_69_SPI_CK__FUNC_SPI_CK_0_ ( 344 #define MT8173_PIN_69_SPI_CK__FUNC_SPI_CK_0_ (MTK_PIN_NO(69) | 1) 337 #define MT8173_PIN_69_SPI_CK__FUNC_I2S3_DO_1 ( 345 #define MT8173_PIN_69_SPI_CK__FUNC_I2S3_DO_1 (MTK_PIN_NO(69) | 2) 338 #define MT8173_PIN_69_SPI_CK__FUNC_PWM0 (MTK_P 346 #define MT8173_PIN_69_SPI_CK__FUNC_PWM0 (MTK_PIN_NO(69) | 3) 339 #define MT8173_PIN_69_SPI_CK__FUNC_PWM5 (MTK_P 347 #define MT8173_PIN_69_SPI_CK__FUNC_PWM5 (MTK_PIN_NO(69) | 4) 340 #define MT8173_PIN_69_SPI_CK__FUNC_I2S2_MCK (M 348 #define MT8173_PIN_69_SPI_CK__FUNC_I2S2_MCK (MTK_PIN_NO(69) | 5) 341 #define MT8173_PIN_69_SPI_CK__FUNC_DBG_MON_B_1 349 #define MT8173_PIN_69_SPI_CK__FUNC_DBG_MON_B_19_ (MTK_PIN_NO(69) | 7) 342 350 343 #define MT8173_PIN_70_SPI_MI__FUNC_GPIO70 (MTK 351 #define MT8173_PIN_70_SPI_MI__FUNC_GPIO70 (MTK_PIN_NO(70) | 0) 344 #define MT8173_PIN_70_SPI_MI__FUNC_SPI_MI_0_ ( 352 #define MT8173_PIN_70_SPI_MI__FUNC_SPI_MI_0_ (MTK_PIN_NO(70) | 1) 345 #define MT8173_PIN_70_SPI_MI__FUNC_I2S3_DO_2 ( 353 #define MT8173_PIN_70_SPI_MI__FUNC_I2S3_DO_2 (MTK_PIN_NO(70) | 2) 346 #define MT8173_PIN_70_SPI_MI__FUNC_PWM1 (MTK_P 354 #define MT8173_PIN_70_SPI_MI__FUNC_PWM1 (MTK_PIN_NO(70) | 3) 347 #define MT8173_PIN_70_SPI_MI__FUNC_SPI_MO_0_ ( 355 #define MT8173_PIN_70_SPI_MI__FUNC_SPI_MO_0_ (MTK_PIN_NO(70) | 4) 348 #define MT8173_PIN_70_SPI_MI__FUNC_I2S2_DI_1 ( 356 #define MT8173_PIN_70_SPI_MI__FUNC_I2S2_DI_1 (MTK_PIN_NO(70) | 5) 349 #define MT8173_PIN_70_SPI_MI__FUNC_DSI1_TE (MT 357 #define MT8173_PIN_70_SPI_MI__FUNC_DSI1_TE (MTK_PIN_NO(70) | 6) 350 #define MT8173_PIN_70_SPI_MI__FUNC_DBG_MON_B_2 358 #define MT8173_PIN_70_SPI_MI__FUNC_DBG_MON_B_20_ (MTK_PIN_NO(70) | 7) 351 359 352 #define MT8173_PIN_71_SPI_MO__FUNC_GPIO71 (MTK 360 #define MT8173_PIN_71_SPI_MO__FUNC_GPIO71 (MTK_PIN_NO(71) | 0) 353 #define MT8173_PIN_71_SPI_MO__FUNC_SPI_MO_0_ ( 361 #define MT8173_PIN_71_SPI_MO__FUNC_SPI_MO_0_ (MTK_PIN_NO(71) | 1) 354 #define MT8173_PIN_71_SPI_MO__FUNC_I2S3_DO_3 ( 362 #define MT8173_PIN_71_SPI_MO__FUNC_I2S3_DO_3 (MTK_PIN_NO(71) | 2) 355 #define MT8173_PIN_71_SPI_MO__FUNC_PWM2 (MTK_P 363 #define MT8173_PIN_71_SPI_MO__FUNC_PWM2 (MTK_PIN_NO(71) | 3) 356 #define MT8173_PIN_71_SPI_MO__FUNC_SPI_MI_0_ ( 364 #define MT8173_PIN_71_SPI_MO__FUNC_SPI_MI_0_ (MTK_PIN_NO(71) | 4) 357 #define MT8173_PIN_71_SPI_MO__FUNC_I2S2_DI_2 ( 365 #define MT8173_PIN_71_SPI_MO__FUNC_I2S2_DI_2 (MTK_PIN_NO(71) | 5) 358 #define MT8173_PIN_71_SPI_MO__FUNC_DBG_MON_B_2 366 #define MT8173_PIN_71_SPI_MO__FUNC_DBG_MON_B_21_ (MTK_PIN_NO(71) | 7) 359 367 360 #define MT8173_PIN_72_SPI_CS__FUNC_GPIO72 (MTK 368 #define MT8173_PIN_72_SPI_CS__FUNC_GPIO72 (MTK_PIN_NO(72) | 0) 361 #define MT8173_PIN_72_SPI_CS__FUNC_SPI_CS_0_ ( 369 #define MT8173_PIN_72_SPI_CS__FUNC_SPI_CS_0_ (MTK_PIN_NO(72) | 1) 362 #define MT8173_PIN_72_SPI_CS__FUNC_I2S3_DO_4 ( 370 #define MT8173_PIN_72_SPI_CS__FUNC_I2S3_DO_4 (MTK_PIN_NO(72) | 2) 363 #define MT8173_PIN_72_SPI_CS__FUNC_PWM3 (MTK_P 371 #define MT8173_PIN_72_SPI_CS__FUNC_PWM3 (MTK_PIN_NO(72) | 3) 364 #define MT8173_PIN_72_SPI_CS__FUNC_PWM6 (MTK_P 372 #define MT8173_PIN_72_SPI_CS__FUNC_PWM6 (MTK_PIN_NO(72) | 4) 365 #define MT8173_PIN_72_SPI_CS__FUNC_DISP_PWM1 ( 373 #define MT8173_PIN_72_SPI_CS__FUNC_DISP_PWM1 (MTK_PIN_NO(72) | 5) 366 #define MT8173_PIN_72_SPI_CS__FUNC_DBG_MON_B_2 374 #define MT8173_PIN_72_SPI_CS__FUNC_DBG_MON_B_22_ (MTK_PIN_NO(72) | 7) 367 375 368 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_GPIO73 376 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_GPIO73 (MTK_PIN_NO(73) | 0) 369 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_MSDC1_D 377 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_MSDC1_DAT0 (MTK_PIN_NO(73) | 1) 370 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_DBG_MON 378 #define MT8173_PIN_73_MSDC1_DAT0__FUNC_DBG_MON_B_24_ (MTK_PIN_NO(73) | 7) 371 379 372 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_GPIO74 380 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_GPIO74 (MTK_PIN_NO(74) | 0) 373 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_MSDC1_D 381 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_MSDC1_DAT1 (MTK_PIN_NO(74) | 1) 374 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_DBG_MON 382 #define MT8173_PIN_74_MSDC1_DAT1__FUNC_DBG_MON_B_25_ (MTK_PIN_NO(74) | 7) 375 383 376 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_GPIO75 384 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_GPIO75 (MTK_PIN_NO(75) | 0) 377 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_MSDC1_D 385 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_MSDC1_DAT2 (MTK_PIN_NO(75) | 1) 378 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_DBG_MON 386 #define MT8173_PIN_75_MSDC1_DAT2__FUNC_DBG_MON_B_26_ (MTK_PIN_NO(75) | 7) 379 387 380 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_GPIO76 388 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_GPIO76 (MTK_PIN_NO(76) | 0) 381 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_D 389 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3 (MTK_PIN_NO(76) | 1) 382 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_DBG_MON 390 #define MT8173_PIN_76_MSDC1_DAT3__FUNC_DBG_MON_B_27_ (MTK_PIN_NO(76) | 7) 383 391 384 #define MT8173_PIN_77_MSDC1_CLK__FUNC_GPIO77 ( 392 #define MT8173_PIN_77_MSDC1_CLK__FUNC_GPIO77 (MTK_PIN_NO(77) | 0) 385 #define MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CL 393 #define MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK (MTK_PIN_NO(77) | 1) 386 #define MT8173_PIN_77_MSDC1_CLK__FUNC_DBG_MON_ 394 #define MT8173_PIN_77_MSDC1_CLK__FUNC_DBG_MON_B_28_ (MTK_PIN_NO(77) | 7) 387 395 388 #define MT8173_PIN_78_MSDC1_CMD__FUNC_GPIO78 ( 396 #define MT8173_PIN_78_MSDC1_CMD__FUNC_GPIO78 (MTK_PIN_NO(78) | 0) 389 #define MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CM 397 #define MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD (MTK_PIN_NO(78) | 1) 390 #define MT8173_PIN_78_MSDC1_CMD__FUNC_DBG_MON_ 398 #define MT8173_PIN_78_MSDC1_CMD__FUNC_DBG_MON_B_23_ (MTK_PIN_NO(78) | 7) 391 399 392 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_GPIO 400 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_GPIO79 (MTK_PIN_NO(79) | 0) 393 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_PWRA 401 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_PWRAP_SPIMI (MTK_PIN_NO(79) | 1) 394 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_PWRA 402 #define MT8173_PIN_79_PWRAP_SPI0_MI__FUNC_PWRAP_SPIMO (MTK_PIN_NO(79) | 2) 395 403 396 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_GPIO 404 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_GPIO80 (MTK_PIN_NO(80) | 0) 397 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_PWRA 405 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_PWRAP_SPIMO (MTK_PIN_NO(80) | 1) 398 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_PWRA 406 #define MT8173_PIN_80_PWRAP_SPI0_MO__FUNC_PWRAP_SPIMI (MTK_PIN_NO(80) | 2) 399 407 400 #define MT8173_PIN_81_PWRAP_SPI0_CK__FUNC_GPIO 408 #define MT8173_PIN_81_PWRAP_SPI0_CK__FUNC_GPIO81 (MTK_PIN_NO(81) | 0) 401 #define MT8173_PIN_81_PWRAP_SPI0_CK__FUNC_PWRA 409 #define MT8173_PIN_81_PWRAP_SPI0_CK__FUNC_PWRAP_SPICK (MTK_PIN_NO(81) | 1) 402 410 403 #define MT8173_PIN_82_PWRAP_SPI0_CSN__FUNC_GPI 411 #define MT8173_PIN_82_PWRAP_SPI0_CSN__FUNC_GPIO82 (MTK_PIN_NO(82) | 0) 404 #define MT8173_PIN_82_PWRAP_SPI0_CSN__FUNC_PWR 412 #define MT8173_PIN_82_PWRAP_SPI0_CSN__FUNC_PWRAP_SPICS (MTK_PIN_NO(82) | 1) 405 413 406 #define MT8173_PIN_83_AUD_CLK_MOSI__FUNC_GPIO8 414 #define MT8173_PIN_83_AUD_CLK_MOSI__FUNC_GPIO83 (MTK_PIN_NO(83) | 0) 407 #define MT8173_PIN_83_AUD_CLK_MOSI__FUNC_AUD_C 415 #define MT8173_PIN_83_AUD_CLK_MOSI__FUNC_AUD_CLK_MOSI (MTK_PIN_NO(83) | 1) 408 416 409 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_GPIO8 417 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_GPIO84 (MTK_PIN_NO(84) | 0) 410 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_AUD_D 418 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_AUD_DAT_MISO (MTK_PIN_NO(84) | 1) 411 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_AUD_D 419 #define MT8173_PIN_84_AUD_DAT_MISO__FUNC_AUD_DAT_MOSI (MTK_PIN_NO(84) | 2) 412 420 413 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_GPIO8 421 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_GPIO85 (MTK_PIN_NO(85) | 0) 414 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_AUD_D 422 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_AUD_DAT_MOSI (MTK_PIN_NO(85) | 1) 415 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_AUD_D 423 #define MT8173_PIN_85_AUD_DAT_MOSI__FUNC_AUD_DAT_MISO (MTK_PIN_NO(85) | 2) 416 424 417 #define MT8173_PIN_86_RTC32K_CK__FUNC_GPIO86 ( 425 #define MT8173_PIN_86_RTC32K_CK__FUNC_GPIO86 (MTK_PIN_NO(86) | 0) 418 #define MT8173_PIN_86_RTC32K_CK__FUNC_RTC32K_C 426 #define MT8173_PIN_86_RTC32K_CK__FUNC_RTC32K_CK (MTK_PIN_NO(86) | 1) 419 427 420 #define MT8173_PIN_87_DISP_PWM0__FUNC_GPIO87 ( 428 #define MT8173_PIN_87_DISP_PWM0__FUNC_GPIO87 (MTK_PIN_NO(87) | 0) 421 #define MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM 429 #define MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM0 (MTK_PIN_NO(87) | 1) 422 #define MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM 430 #define MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM1 (MTK_PIN_NO(87) | 2) 423 #define MT8173_PIN_87_DISP_PWM0__FUNC_DBG_MON_ 431 #define MT8173_PIN_87_DISP_PWM0__FUNC_DBG_MON_B_31_ (MTK_PIN_NO(87) | 7) 424 432 425 #define MT8173_PIN_88_SRCLKENAI__FUNC_GPIO88 ( 433 #define MT8173_PIN_88_SRCLKENAI__FUNC_GPIO88 (MTK_PIN_NO(88) | 0) 426 #define MT8173_PIN_88_SRCLKENAI__FUNC_SRCLKENA 434 #define MT8173_PIN_88_SRCLKENAI__FUNC_SRCLKENAI (MTK_PIN_NO(88) | 1) 427 435 428 #define MT8173_PIN_89_SRCLKENAI2__FUNC_GPIO89 436 #define MT8173_PIN_89_SRCLKENAI2__FUNC_GPIO89 (MTK_PIN_NO(89) | 0) 429 #define MT8173_PIN_89_SRCLKENAI2__FUNC_SRCLKEN 437 #define MT8173_PIN_89_SRCLKENAI2__FUNC_SRCLKENAI2 (MTK_PIN_NO(89) | 1) 430 438 431 #define MT8173_PIN_90_SRCLKENA0__FUNC_GPIO90 ( 439 #define MT8173_PIN_90_SRCLKENA0__FUNC_GPIO90 (MTK_PIN_NO(90) | 0) 432 #define MT8173_PIN_90_SRCLKENA0__FUNC_SRCLKENA 440 #define MT8173_PIN_90_SRCLKENA0__FUNC_SRCLKENA0 (MTK_PIN_NO(90) | 1) 433 441 434 #define MT8173_PIN_91_SRCLKENA1__FUNC_GPIO91 ( 442 #define MT8173_PIN_91_SRCLKENA1__FUNC_GPIO91 (MTK_PIN_NO(91) | 0) 435 #define MT8173_PIN_91_SRCLKENA1__FUNC_SRCLKENA 443 #define MT8173_PIN_91_SRCLKENA1__FUNC_SRCLKENA1 (MTK_PIN_NO(91) | 1) 436 444 437 #define MT8173_PIN_92_PCM_CLK__FUNC_GPIO92 (MT 445 #define MT8173_PIN_92_PCM_CLK__FUNC_GPIO92 (MTK_PIN_NO(92) | 0) 438 #define MT8173_PIN_92_PCM_CLK__FUNC_PCM1_CLK ( 446 #define MT8173_PIN_92_PCM_CLK__FUNC_PCM1_CLK (MTK_PIN_NO(92) | 1) 439 #define MT8173_PIN_92_PCM_CLK__FUNC_I2S0_BCK ( 447 #define MT8173_PIN_92_PCM_CLK__FUNC_I2S0_BCK (MTK_PIN_NO(92) | 2) 440 #define MT8173_PIN_92_PCM_CLK__FUNC_DBG_MON_A_ 448 #define MT8173_PIN_92_PCM_CLK__FUNC_DBG_MON_A_24_ (MTK_PIN_NO(92) | 7) 441 449 442 #define MT8173_PIN_93_PCM_SYNC__FUNC_GPIO93 (M 450 #define MT8173_PIN_93_PCM_SYNC__FUNC_GPIO93 (MTK_PIN_NO(93) | 0) 443 #define MT8173_PIN_93_PCM_SYNC__FUNC_PCM1_SYNC 451 #define MT8173_PIN_93_PCM_SYNC__FUNC_PCM1_SYNC (MTK_PIN_NO(93) | 1) 444 #define MT8173_PIN_93_PCM_SYNC__FUNC_I2S0_WS ( 452 #define MT8173_PIN_93_PCM_SYNC__FUNC_I2S0_WS (MTK_PIN_NO(93) | 2) 445 #define MT8173_PIN_93_PCM_SYNC__FUNC_DBG_MON_A 453 #define MT8173_PIN_93_PCM_SYNC__FUNC_DBG_MON_A_25_ (MTK_PIN_NO(93) | 7) 446 454 447 #define MT8173_PIN_94_PCM_RX__FUNC_GPIO94 (MTK 455 #define MT8173_PIN_94_PCM_RX__FUNC_GPIO94 (MTK_PIN_NO(94) | 0) 448 #define MT8173_PIN_94_PCM_RX__FUNC_PCM1_DI (MT 456 #define MT8173_PIN_94_PCM_RX__FUNC_PCM1_DI (MTK_PIN_NO(94) | 1) 449 #define MT8173_PIN_94_PCM_RX__FUNC_I2S0_DI (MT 457 #define MT8173_PIN_94_PCM_RX__FUNC_I2S0_DI (MTK_PIN_NO(94) | 2) 450 #define MT8173_PIN_94_PCM_RX__FUNC_DBG_MON_A_2 458 #define MT8173_PIN_94_PCM_RX__FUNC_DBG_MON_A_26_ (MTK_PIN_NO(94) | 7) 451 459 452 #define MT8173_PIN_95_PCM_TX__FUNC_GPIO95 (MTK 460 #define MT8173_PIN_95_PCM_TX__FUNC_GPIO95 (MTK_PIN_NO(95) | 0) 453 #define MT8173_PIN_95_PCM_TX__FUNC_PCM1_DO (MT 461 #define MT8173_PIN_95_PCM_TX__FUNC_PCM1_DO (MTK_PIN_NO(95) | 1) 454 #define MT8173_PIN_95_PCM_TX__FUNC_I2S0_DO (MT 462 #define MT8173_PIN_95_PCM_TX__FUNC_I2S0_DO (MTK_PIN_NO(95) | 2) 455 #define MT8173_PIN_95_PCM_TX__FUNC_DBG_MON_A_2 463 #define MT8173_PIN_95_PCM_TX__FUNC_DBG_MON_A_27_ (MTK_PIN_NO(95) | 7) 456 464 457 #define MT8173_PIN_96_URXD1__FUNC_GPIO96 (MTK_ 465 #define MT8173_PIN_96_URXD1__FUNC_GPIO96 (MTK_PIN_NO(96) | 0) 458 #define MT8173_PIN_96_URXD1__FUNC_URXD1 (MTK_P 466 #define MT8173_PIN_96_URXD1__FUNC_URXD1 (MTK_PIN_NO(96) | 1) 459 #define MT8173_PIN_96_URXD1__FUNC_UTXD1 (MTK_P 467 #define MT8173_PIN_96_URXD1__FUNC_UTXD1 (MTK_PIN_NO(96) | 2) 460 #define MT8173_PIN_96_URXD1__FUNC_DBG_MON_A_28 468 #define MT8173_PIN_96_URXD1__FUNC_DBG_MON_A_28_ (MTK_PIN_NO(96) | 7) 461 469 462 #define MT8173_PIN_97_UTXD1__FUNC_GPIO97 (MTK_ 470 #define MT8173_PIN_97_UTXD1__FUNC_GPIO97 (MTK_PIN_NO(97) | 0) 463 #define MT8173_PIN_97_UTXD1__FUNC_UTXD1 (MTK_P 471 #define MT8173_PIN_97_UTXD1__FUNC_UTXD1 (MTK_PIN_NO(97) | 1) 464 #define MT8173_PIN_97_UTXD1__FUNC_URXD1 (MTK_P 472 #define MT8173_PIN_97_UTXD1__FUNC_URXD1 (MTK_PIN_NO(97) | 2) 465 #define MT8173_PIN_97_UTXD1__FUNC_DBG_MON_A_29 473 #define MT8173_PIN_97_UTXD1__FUNC_DBG_MON_A_29_ (MTK_PIN_NO(97) | 7) 466 474 467 #define MT8173_PIN_98_URTS1__FUNC_GPIO98 (MTK_ 475 #define MT8173_PIN_98_URTS1__FUNC_GPIO98 (MTK_PIN_NO(98) | 0) 468 #define MT8173_PIN_98_URTS1__FUNC_URTS1 (MTK_P 476 #define MT8173_PIN_98_URTS1__FUNC_URTS1 (MTK_PIN_NO(98) | 1) 469 #define MT8173_PIN_98_URTS1__FUNC_UCTS1 (MTK_P 477 #define MT8173_PIN_98_URTS1__FUNC_UCTS1 (MTK_PIN_NO(98) | 2) 470 #define MT8173_PIN_98_URTS1__FUNC_DBG_MON_A_30 478 #define MT8173_PIN_98_URTS1__FUNC_DBG_MON_A_30_ (MTK_PIN_NO(98) | 7) 471 479 472 #define MT8173_PIN_99_UCTS1__FUNC_GPIO99 (MTK_ 480 #define MT8173_PIN_99_UCTS1__FUNC_GPIO99 (MTK_PIN_NO(99) | 0) 473 #define MT8173_PIN_99_UCTS1__FUNC_UCTS1 (MTK_P 481 #define MT8173_PIN_99_UCTS1__FUNC_UCTS1 (MTK_PIN_NO(99) | 1) 474 #define MT8173_PIN_99_UCTS1__FUNC_URTS1 (MTK_P 482 #define MT8173_PIN_99_UCTS1__FUNC_URTS1 (MTK_PIN_NO(99) | 2) 475 #define MT8173_PIN_99_UCTS1__FUNC_DBG_MON_A_31 483 #define MT8173_PIN_99_UCTS1__FUNC_DBG_MON_A_31_ (MTK_PIN_NO(99) | 7) 476 484 477 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_GPIO10 485 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_GPIO100 (MTK_PIN_NO(100) | 0) 478 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_MSDC2_ 486 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_MSDC2_DAT0 (MTK_PIN_NO(100) | 1) 479 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_USB_DR 487 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(100) | 3) 480 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_SDA5 ( 488 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_SDA5 (MTK_PIN_NO(100) | 4) 481 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_USB_DR 489 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(100) | 5) 482 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_DBG_MO 490 #define MT8173_PIN_100_MSDC2_DAT0__FUNC_DBG_MON_B_0_ (MTK_PIN_NO(100) | 7) 483 491 484 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_GPIO10 492 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_GPIO101 (MTK_PIN_NO(101) | 0) 485 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_MSDC2_ 493 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_MSDC2_DAT1 (MTK_PIN_NO(101) | 1) 486 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_AUD_SP 494 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_AUD_SPDIF (MTK_PIN_NO(101) | 3) 487 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_SCL5 ( 495 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_SCL5 (MTK_PIN_NO(101) | 4) 488 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_DBG_MO 496 #define MT8173_PIN_101_MSDC2_DAT1__FUNC_DBG_MON_B_1_ (MTK_PIN_NO(101) | 7) 489 497 490 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_GPIO10 498 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_GPIO102 (MTK_PIN_NO(102) | 0) 491 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_MSDC2_ 499 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_MSDC2_DAT2 (MTK_PIN_NO(102) | 1) 492 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_UTXD0 500 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_UTXD0 (MTK_PIN_NO(102) | 3) 493 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_PWM0 ( 501 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_PWM0 (MTK_PIN_NO(102) | 5) 494 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_SPI_CK 502 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_SPI_CK_1_ (MTK_PIN_NO(102) | 6) 495 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_DBG_MO 503 #define MT8173_PIN_102_MSDC2_DAT2__FUNC_DBG_MON_B_2_ (MTK_PIN_NO(102) | 7) 496 504 497 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_GPIO10 505 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_GPIO103 (MTK_PIN_NO(103) | 0) 498 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_MSDC2_ 506 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_MSDC2_DAT3 (MTK_PIN_NO(103) | 1) 499 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_URXD0 507 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_URXD0 (MTK_PIN_NO(103) | 3) 500 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_PWM1 ( 508 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_PWM1 (MTK_PIN_NO(103) | 5) 501 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_SPI_MI 509 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_SPI_MI_1_ (MTK_PIN_NO(103) | 6) 502 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_DBG_MO 510 #define MT8173_PIN_103_MSDC2_DAT3__FUNC_DBG_MON_B_3_ (MTK_PIN_NO(103) | 7) 503 511 504 #define MT8173_PIN_104_MSDC2_CLK__FUNC_GPIO104 512 #define MT8173_PIN_104_MSDC2_CLK__FUNC_GPIO104 (MTK_PIN_NO(104) | 0) 505 #define MT8173_PIN_104_MSDC2_CLK__FUNC_MSDC2_C 513 #define MT8173_PIN_104_MSDC2_CLK__FUNC_MSDC2_CLK (MTK_PIN_NO(104) | 1) 506 #define MT8173_PIN_104_MSDC2_CLK__FUNC_UTXD3 ( 514 #define MT8173_PIN_104_MSDC2_CLK__FUNC_UTXD3 (MTK_PIN_NO(104) | 3) 507 #define MT8173_PIN_104_MSDC2_CLK__FUNC_SDA3 (M 515 #define MT8173_PIN_104_MSDC2_CLK__FUNC_SDA3 (MTK_PIN_NO(104) | 4) 508 #define MT8173_PIN_104_MSDC2_CLK__FUNC_PWM2 (M 516 #define MT8173_PIN_104_MSDC2_CLK__FUNC_PWM2 (MTK_PIN_NO(104) | 5) 509 #define MT8173_PIN_104_MSDC2_CLK__FUNC_SPI_MO_ 517 #define MT8173_PIN_104_MSDC2_CLK__FUNC_SPI_MO_1_ (MTK_PIN_NO(104) | 6) 510 #define MT8173_PIN_104_MSDC2_CLK__FUNC_DBG_MON 518 #define MT8173_PIN_104_MSDC2_CLK__FUNC_DBG_MON_B_4_ (MTK_PIN_NO(104) | 7) 511 519 512 #define MT8173_PIN_105_MSDC2_CMD__FUNC_GPIO105 520 #define MT8173_PIN_105_MSDC2_CMD__FUNC_GPIO105 (MTK_PIN_NO(105) | 0) 513 #define MT8173_PIN_105_MSDC2_CMD__FUNC_MSDC2_C 521 #define MT8173_PIN_105_MSDC2_CMD__FUNC_MSDC2_CMD (MTK_PIN_NO(105) | 1) 514 #define MT8173_PIN_105_MSDC2_CMD__FUNC_URXD3 ( 522 #define MT8173_PIN_105_MSDC2_CMD__FUNC_URXD3 (MTK_PIN_NO(105) | 3) 515 #define MT8173_PIN_105_MSDC2_CMD__FUNC_SCL3 (M 523 #define MT8173_PIN_105_MSDC2_CMD__FUNC_SCL3 (MTK_PIN_NO(105) | 4) 516 #define MT8173_PIN_105_MSDC2_CMD__FUNC_PWM3 (M 524 #define MT8173_PIN_105_MSDC2_CMD__FUNC_PWM3 (MTK_PIN_NO(105) | 5) 517 #define MT8173_PIN_105_MSDC2_CMD__FUNC_SPI_CS_ 525 #define MT8173_PIN_105_MSDC2_CMD__FUNC_SPI_CS_1_ (MTK_PIN_NO(105) | 6) 518 #define MT8173_PIN_105_MSDC2_CMD__FUNC_DBG_MON 526 #define MT8173_PIN_105_MSDC2_CMD__FUNC_DBG_MON_B_5_ (MTK_PIN_NO(105) | 7) 519 527 520 #define MT8173_PIN_106_SDA3__FUNC_GPIO106 (MTK 528 #define MT8173_PIN_106_SDA3__FUNC_GPIO106 (MTK_PIN_NO(106) | 0) 521 #define MT8173_PIN_106_SDA3__FUNC_SDA3 (MTK_PI 529 #define MT8173_PIN_106_SDA3__FUNC_SDA3 (MTK_PIN_NO(106) | 1) 522 530 523 #define MT8173_PIN_107_SCL3__FUNC_GPIO107 (MTK 531 #define MT8173_PIN_107_SCL3__FUNC_GPIO107 (MTK_PIN_NO(107) | 0) 524 #define MT8173_PIN_107_SCL3__FUNC_SCL3 (MTK_PI 532 #define MT8173_PIN_107_SCL3__FUNC_SCL3 (MTK_PIN_NO(107) | 1) 525 533 526 #define MT8173_PIN_108_JTMS__FUNC_GPIO108 (MTK 534 #define MT8173_PIN_108_JTMS__FUNC_GPIO108 (MTK_PIN_NO(108) | 0) 527 #define MT8173_PIN_108_JTMS__FUNC_JTMS (MTK_PI 535 #define MT8173_PIN_108_JTMS__FUNC_JTMS (MTK_PIN_NO(108) | 1) 528 #define MT8173_PIN_108_JTMS__FUNC_MFG_JTAG_TMS 536 #define MT8173_PIN_108_JTMS__FUNC_MFG_JTAG_TMS (MTK_PIN_NO(108) | 2) 529 #define MT8173_PIN_108_JTMS__FUNC_AP_MD32_JTAG 537 #define MT8173_PIN_108_JTMS__FUNC_AP_MD32_JTAG_TMS (MTK_PIN_NO(108) | 5) 530 #define MT8173_PIN_108_JTMS__FUNC_DFD_TMS (MTK 538 #define MT8173_PIN_108_JTMS__FUNC_DFD_TMS (MTK_PIN_NO(108) | 6) 531 539 532 #define MT8173_PIN_109_JTCK__FUNC_GPIO109 (MTK 540 #define MT8173_PIN_109_JTCK__FUNC_GPIO109 (MTK_PIN_NO(109) | 0) 533 #define MT8173_PIN_109_JTCK__FUNC_JTCK (MTK_PI 541 #define MT8173_PIN_109_JTCK__FUNC_JTCK (MTK_PIN_NO(109) | 1) 534 #define MT8173_PIN_109_JTCK__FUNC_MFG_JTAG_TCK 542 #define MT8173_PIN_109_JTCK__FUNC_MFG_JTAG_TCK (MTK_PIN_NO(109) | 2) 535 #define MT8173_PIN_109_JTCK__FUNC_AP_MD32_JTAG 543 #define MT8173_PIN_109_JTCK__FUNC_AP_MD32_JTAG_TCK (MTK_PIN_NO(109) | 5) 536 #define MT8173_PIN_109_JTCK__FUNC_DFD_TCK (MTK 544 #define MT8173_PIN_109_JTCK__FUNC_DFD_TCK (MTK_PIN_NO(109) | 6) 537 545 538 #define MT8173_PIN_110_JTDI__FUNC_GPIO110 (MTK 546 #define MT8173_PIN_110_JTDI__FUNC_GPIO110 (MTK_PIN_NO(110) | 0) 539 #define MT8173_PIN_110_JTDI__FUNC_JTDI (MTK_PI 547 #define MT8173_PIN_110_JTDI__FUNC_JTDI (MTK_PIN_NO(110) | 1) 540 #define MT8173_PIN_110_JTDI__FUNC_MFG_JTAG_TDI 548 #define MT8173_PIN_110_JTDI__FUNC_MFG_JTAG_TDI (MTK_PIN_NO(110) | 2) 541 #define MT8173_PIN_110_JTDI__FUNC_AP_MD32_JTAG 549 #define MT8173_PIN_110_JTDI__FUNC_AP_MD32_JTAG_TDI (MTK_PIN_NO(110) | 5) 542 #define MT8173_PIN_110_JTDI__FUNC_DFD_TDI (MTK 550 #define MT8173_PIN_110_JTDI__FUNC_DFD_TDI (MTK_PIN_NO(110) | 6) 543 551 544 #define MT8173_PIN_111_JTDO__FUNC_GPIO111 (MTK 552 #define MT8173_PIN_111_JTDO__FUNC_GPIO111 (MTK_PIN_NO(111) | 0) 545 #define MT8173_PIN_111_JTDO__FUNC_JTDO (MTK_PI 553 #define MT8173_PIN_111_JTDO__FUNC_JTDO (MTK_PIN_NO(111) | 1) 546 #define MT8173_PIN_111_JTDO__FUNC_MFG_JTAG_TDO 554 #define MT8173_PIN_111_JTDO__FUNC_MFG_JTAG_TDO (MTK_PIN_NO(111) | 2) 547 #define MT8173_PIN_111_JTDO__FUNC_AP_MD32_JTAG 555 #define MT8173_PIN_111_JTDO__FUNC_AP_MD32_JTAG_TDO (MTK_PIN_NO(111) | 5) 548 #define MT8173_PIN_111_JTDO__FUNC_DFD_TDO (MTK 556 #define MT8173_PIN_111_JTDO__FUNC_DFD_TDO (MTK_PIN_NO(111) | 6) 549 557 550 #define MT8173_PIN_112_JTRST_B__FUNC_GPIO112 ( 558 #define MT8173_PIN_112_JTRST_B__FUNC_GPIO112 (MTK_PIN_NO(112) | 0) 551 #define MT8173_PIN_112_JTRST_B__FUNC_JTRST_B ( 559 #define MT8173_PIN_112_JTRST_B__FUNC_JTRST_B (MTK_PIN_NO(112) | 1) 552 #define MT8173_PIN_112_JTRST_B__FUNC_MFG_JTAG_ 560 #define MT8173_PIN_112_JTRST_B__FUNC_MFG_JTAG_TRSTN (MTK_PIN_NO(112) | 2) 553 #define MT8173_PIN_112_JTRST_B__FUNC_AP_MD32_J 561 #define MT8173_PIN_112_JTRST_B__FUNC_AP_MD32_JTAG_TRST (MTK_PIN_NO(112) | 5) 554 #define MT8173_PIN_112_JTRST_B__FUNC_DFD_NTRST 562 #define MT8173_PIN_112_JTRST_B__FUNC_DFD_NTRST (MTK_PIN_NO(112) | 6) 555 563 556 #define MT8173_PIN_113_URXD0__FUNC_GPIO113 (MT 564 #define MT8173_PIN_113_URXD0__FUNC_GPIO113 (MTK_PIN_NO(113) | 0) 557 #define MT8173_PIN_113_URXD0__FUNC_URXD0 (MTK_ 565 #define MT8173_PIN_113_URXD0__FUNC_URXD0 (MTK_PIN_NO(113) | 1) 558 #define MT8173_PIN_113_URXD0__FUNC_UTXD0 (MTK_ 566 #define MT8173_PIN_113_URXD0__FUNC_UTXD0 (MTK_PIN_NO(113) | 2) 559 #define MT8173_PIN_113_URXD0__FUNC_I2S2_WS (MT 567 #define MT8173_PIN_113_URXD0__FUNC_I2S2_WS (MTK_PIN_NO(113) | 6) 560 #define MT8173_PIN_113_URXD0__FUNC_DBG_MON_A_0 568 #define MT8173_PIN_113_URXD0__FUNC_DBG_MON_A_0_ (MTK_PIN_NO(113) | 7) 561 569 562 #define MT8173_PIN_114_UTXD0__FUNC_GPIO114 (MT 570 #define MT8173_PIN_114_UTXD0__FUNC_GPIO114 (MTK_PIN_NO(114) | 0) 563 #define MT8173_PIN_114_UTXD0__FUNC_UTXD0 (MTK_ 571 #define MT8173_PIN_114_UTXD0__FUNC_UTXD0 (MTK_PIN_NO(114) | 1) 564 #define MT8173_PIN_114_UTXD0__FUNC_URXD0 (MTK_ 572 #define MT8173_PIN_114_UTXD0__FUNC_URXD0 (MTK_PIN_NO(114) | 2) 565 #define MT8173_PIN_114_UTXD0__FUNC_I2S2_BCK (M 573 #define MT8173_PIN_114_UTXD0__FUNC_I2S2_BCK (MTK_PIN_NO(114) | 6) 566 #define MT8173_PIN_114_UTXD0__FUNC_DBG_MON_A_1 574 #define MT8173_PIN_114_UTXD0__FUNC_DBG_MON_A_1_ (MTK_PIN_NO(114) | 7) 567 575 568 #define MT8173_PIN_115_URTS0__FUNC_GPIO115 (MT 576 #define MT8173_PIN_115_URTS0__FUNC_GPIO115 (MTK_PIN_NO(115) | 0) 569 #define MT8173_PIN_115_URTS0__FUNC_URTS0 (MTK_ 577 #define MT8173_PIN_115_URTS0__FUNC_URTS0 (MTK_PIN_NO(115) | 1) 570 #define MT8173_PIN_115_URTS0__FUNC_UCTS0 (MTK_ 578 #define MT8173_PIN_115_URTS0__FUNC_UCTS0 (MTK_PIN_NO(115) | 2) 571 #define MT8173_PIN_115_URTS0__FUNC_I2S2_MCK (M 579 #define MT8173_PIN_115_URTS0__FUNC_I2S2_MCK (MTK_PIN_NO(115) | 6) 572 #define MT8173_PIN_115_URTS0__FUNC_DBG_MON_A_2 580 #define MT8173_PIN_115_URTS0__FUNC_DBG_MON_A_2_ (MTK_PIN_NO(115) | 7) 573 581 574 #define MT8173_PIN_116_UCTS0__FUNC_GPIO116 (MT 582 #define MT8173_PIN_116_UCTS0__FUNC_GPIO116 (MTK_PIN_NO(116) | 0) 575 #define MT8173_PIN_116_UCTS0__FUNC_UCTS0 (MTK_ 583 #define MT8173_PIN_116_UCTS0__FUNC_UCTS0 (MTK_PIN_NO(116) | 1) 576 #define MT8173_PIN_116_UCTS0__FUNC_URTS0 (MTK_ 584 #define MT8173_PIN_116_UCTS0__FUNC_URTS0 (MTK_PIN_NO(116) | 2) 577 #define MT8173_PIN_116_UCTS0__FUNC_I2S2_DI_1 ( 585 #define MT8173_PIN_116_UCTS0__FUNC_I2S2_DI_1 (MTK_PIN_NO(116) | 6) 578 #define MT8173_PIN_116_UCTS0__FUNC_DBG_MON_A_3 586 #define MT8173_PIN_116_UCTS0__FUNC_DBG_MON_A_3_ (MTK_PIN_NO(116) | 7) 579 587 580 #define MT8173_PIN_117_URXD3__FUNC_GPIO117 (MT 588 #define MT8173_PIN_117_URXD3__FUNC_GPIO117 (MTK_PIN_NO(117) | 0) 581 #define MT8173_PIN_117_URXD3__FUNC_URXD3 (MTK_ 589 #define MT8173_PIN_117_URXD3__FUNC_URXD3 (MTK_PIN_NO(117) | 1) 582 #define MT8173_PIN_117_URXD3__FUNC_UTXD3 (MTK_ 590 #define MT8173_PIN_117_URXD3__FUNC_UTXD3 (MTK_PIN_NO(117) | 2) 583 #define MT8173_PIN_117_URXD3__FUNC_DBG_MON_A_9 591 #define MT8173_PIN_117_URXD3__FUNC_DBG_MON_A_9_ (MTK_PIN_NO(117) | 7) 584 592 585 #define MT8173_PIN_118_UTXD3__FUNC_GPIO118 (MT 593 #define MT8173_PIN_118_UTXD3__FUNC_GPIO118 (MTK_PIN_NO(118) | 0) 586 #define MT8173_PIN_118_UTXD3__FUNC_UTXD3 (MTK_ 594 #define MT8173_PIN_118_UTXD3__FUNC_UTXD3 (MTK_PIN_NO(118) | 1) 587 #define MT8173_PIN_118_UTXD3__FUNC_URXD3 (MTK_ 595 #define MT8173_PIN_118_UTXD3__FUNC_URXD3 (MTK_PIN_NO(118) | 2) 588 #define MT8173_PIN_118_UTXD3__FUNC_DBG_MON_A_1 596 #define MT8173_PIN_118_UTXD3__FUNC_DBG_MON_A_10_ (MTK_PIN_NO(118) | 7) 589 597 590 #define MT8173_PIN_119_KPROW0__FUNC_GPIO119 (M 598 #define MT8173_PIN_119_KPROW0__FUNC_GPIO119 (MTK_PIN_NO(119) | 0) 591 #define MT8173_PIN_119_KPROW0__FUNC_KROW0 (MTK 599 #define MT8173_PIN_119_KPROW0__FUNC_KROW0 (MTK_PIN_NO(119) | 1) 592 #define MT8173_PIN_119_KPROW0__FUNC_DBG_MON_A_ 600 #define MT8173_PIN_119_KPROW0__FUNC_DBG_MON_A_11_ (MTK_PIN_NO(119) | 7) 593 601 594 #define MT8173_PIN_120_KPROW1__FUNC_GPIO120 (M 602 #define MT8173_PIN_120_KPROW1__FUNC_GPIO120 (MTK_PIN_NO(120) | 0) 595 #define MT8173_PIN_120_KPROW1__FUNC_KROW1 (MTK 603 #define MT8173_PIN_120_KPROW1__FUNC_KROW1 (MTK_PIN_NO(120) | 1) 596 #define MT8173_PIN_120_KPROW1__FUNC_PWM6 (MTK_ 604 #define MT8173_PIN_120_KPROW1__FUNC_PWM6 (MTK_PIN_NO(120) | 3) 597 #define MT8173_PIN_120_KPROW1__FUNC_DBG_MON_A_ 605 #define MT8173_PIN_120_KPROW1__FUNC_DBG_MON_A_12_ (MTK_PIN_NO(120) | 7) 598 606 599 #define MT8173_PIN_121_KPROW2__FUNC_GPIO121 (M 607 #define MT8173_PIN_121_KPROW2__FUNC_GPIO121 (MTK_PIN_NO(121) | 0) 600 #define MT8173_PIN_121_KPROW2__FUNC_KROW2 (MTK 608 #define MT8173_PIN_121_KPROW2__FUNC_KROW2 (MTK_PIN_NO(121) | 1) 601 #define MT8173_PIN_121_KPROW2__FUNC_IRDA_PDN ( 609 #define MT8173_PIN_121_KPROW2__FUNC_IRDA_PDN (MTK_PIN_NO(121) | 2) 602 #define MT8173_PIN_121_KPROW2__FUNC_USB_DRVVBU 610 #define MT8173_PIN_121_KPROW2__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(121) | 3) 603 #define MT8173_PIN_121_KPROW2__FUNC_PWM4 (MTK_ 611 #define MT8173_PIN_121_KPROW2__FUNC_PWM4 (MTK_PIN_NO(121) | 4) 604 #define MT8173_PIN_121_KPROW2__FUNC_USB_DRVVBU 612 #define MT8173_PIN_121_KPROW2__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(121) | 5) 605 #define MT8173_PIN_121_KPROW2__FUNC_DBG_MON_A_ 613 #define MT8173_PIN_121_KPROW2__FUNC_DBG_MON_A_13_ (MTK_PIN_NO(121) | 7) 606 614 607 #define MT8173_PIN_122_KPCOL0__FUNC_GPIO122 (M 615 #define MT8173_PIN_122_KPCOL0__FUNC_GPIO122 (MTK_PIN_NO(122) | 0) 608 #define MT8173_PIN_122_KPCOL0__FUNC_KCOL0 (MTK 616 #define MT8173_PIN_122_KPCOL0__FUNC_KCOL0 (MTK_PIN_NO(122) | 1) 609 #define MT8173_PIN_122_KPCOL0__FUNC_DBG_MON_A_ 617 #define MT8173_PIN_122_KPCOL0__FUNC_DBG_MON_A_14_ (MTK_PIN_NO(122) | 7) 610 618 611 #define MT8173_PIN_123_KPCOL1__FUNC_GPIO123 (M 619 #define MT8173_PIN_123_KPCOL1__FUNC_GPIO123 (MTK_PIN_NO(123) | 0) 612 #define MT8173_PIN_123_KPCOL1__FUNC_KCOL1 (MTK 620 #define MT8173_PIN_123_KPCOL1__FUNC_KCOL1 (MTK_PIN_NO(123) | 1) 613 #define MT8173_PIN_123_KPCOL1__FUNC_IRDA_RXD ( 621 #define MT8173_PIN_123_KPCOL1__FUNC_IRDA_RXD (MTK_PIN_NO(123) | 2) 614 #define MT8173_PIN_123_KPCOL1__FUNC_PWM5 (MTK_ 622 #define MT8173_PIN_123_KPCOL1__FUNC_PWM5 (MTK_PIN_NO(123) | 3) 615 #define MT8173_PIN_123_KPCOL1__FUNC_DBG_MON_A_ 623 #define MT8173_PIN_123_KPCOL1__FUNC_DBG_MON_A_15_ (MTK_PIN_NO(123) | 7) 616 624 617 #define MT8173_PIN_124_KPCOL2__FUNC_GPIO124 (M 625 #define MT8173_PIN_124_KPCOL2__FUNC_GPIO124 (MTK_PIN_NO(124) | 0) 618 #define MT8173_PIN_124_KPCOL2__FUNC_KCOL2 (MTK 626 #define MT8173_PIN_124_KPCOL2__FUNC_KCOL2 (MTK_PIN_NO(124) | 1) 619 #define MT8173_PIN_124_KPCOL2__FUNC_IRDA_TXD ( 627 #define MT8173_PIN_124_KPCOL2__FUNC_IRDA_TXD (MTK_PIN_NO(124) | 2) 620 #define MT8173_PIN_124_KPCOL2__FUNC_USB_DRVVBU 628 #define MT8173_PIN_124_KPCOL2__FUNC_USB_DRVVBUS_P0 (MTK_PIN_NO(124) | 3) 621 #define MT8173_PIN_124_KPCOL2__FUNC_PWM3 (MTK_ 629 #define MT8173_PIN_124_KPCOL2__FUNC_PWM3 (MTK_PIN_NO(124) | 4) 622 #define MT8173_PIN_124_KPCOL2__FUNC_USB_DRVVBU 630 #define MT8173_PIN_124_KPCOL2__FUNC_USB_DRVVBUS_P1 (MTK_PIN_NO(124) | 5) 623 #define MT8173_PIN_124_KPCOL2__FUNC_DBG_MON_A_ 631 #define MT8173_PIN_124_KPCOL2__FUNC_DBG_MON_A_16_ (MTK_PIN_NO(124) | 7) 624 632 625 #define MT8173_PIN_125_SDA1__FUNC_GPIO125 (MTK 633 #define MT8173_PIN_125_SDA1__FUNC_GPIO125 (MTK_PIN_NO(125) | 0) 626 #define MT8173_PIN_125_SDA1__FUNC_SDA1 (MTK_PI 634 #define MT8173_PIN_125_SDA1__FUNC_SDA1 (MTK_PIN_NO(125) | 1) 627 635 628 #define MT8173_PIN_126_SCL1__FUNC_GPIO126 (MTK 636 #define MT8173_PIN_126_SCL1__FUNC_GPIO126 (MTK_PIN_NO(126) | 0) 629 #define MT8173_PIN_126_SCL1__FUNC_SCL1 (MTK_PI 637 #define MT8173_PIN_126_SCL1__FUNC_SCL1 (MTK_PIN_NO(126) | 1) 630 638 631 #define MT8173_PIN_127_LCM_RST__FUNC_GPIO127 ( 639 #define MT8173_PIN_127_LCM_RST__FUNC_GPIO127 (MTK_PIN_NO(127) | 0) 632 #define MT8173_PIN_127_LCM_RST__FUNC_LCM_RST ( 640 #define MT8173_PIN_127_LCM_RST__FUNC_LCM_RST (MTK_PIN_NO(127) | 1) 633 641 634 #define MT8173_PIN_128_I2S0_LRCK__FUNC_GPIO128 642 #define MT8173_PIN_128_I2S0_LRCK__FUNC_GPIO128 (MTK_PIN_NO(128) | 0) 635 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S0_WS 643 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S0_WS (MTK_PIN_NO(128) | 1) 636 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S1_WS 644 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S1_WS (MTK_PIN_NO(128) | 2) 637 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S2_WS 645 #define MT8173_PIN_128_I2S0_LRCK__FUNC_I2S2_WS (MTK_PIN_NO(128) | 3) 638 #define MT8173_PIN_128_I2S0_LRCK__FUNC_SPI_CK_ 646 #define MT8173_PIN_128_I2S0_LRCK__FUNC_SPI_CK_2_ (MTK_PIN_NO(128) | 5) 639 #define MT8173_PIN_128_I2S0_LRCK__FUNC_DBG_MON 647 #define MT8173_PIN_128_I2S0_LRCK__FUNC_DBG_MON_A_4_ (MTK_PIN_NO(128) | 7) 640 648 641 #define MT8173_PIN_129_I2S0_BCK__FUNC_GPIO129 649 #define MT8173_PIN_129_I2S0_BCK__FUNC_GPIO129 (MTK_PIN_NO(129) | 0) 642 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S0_BCK 650 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S0_BCK (MTK_PIN_NO(129) | 1) 643 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S1_BCK 651 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S1_BCK (MTK_PIN_NO(129) | 2) 644 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S2_BCK 652 #define MT8173_PIN_129_I2S0_BCK__FUNC_I2S2_BCK (MTK_PIN_NO(129) | 3) 645 #define MT8173_PIN_129_I2S0_BCK__FUNC_SPI_MI_2 653 #define MT8173_PIN_129_I2S0_BCK__FUNC_SPI_MI_2_ (MTK_PIN_NO(129) | 5) 646 #define MT8173_PIN_129_I2S0_BCK__FUNC_DBG_MON_ 654 #define MT8173_PIN_129_I2S0_BCK__FUNC_DBG_MON_A_5_ (MTK_PIN_NO(129) | 7) 647 655 648 #define MT8173_PIN_130_I2S0_MCK__FUNC_GPIO130 656 #define MT8173_PIN_130_I2S0_MCK__FUNC_GPIO130 (MTK_PIN_NO(130) | 0) 649 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S0_MCK 657 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S0_MCK (MTK_PIN_NO(130) | 1) 650 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S1_MCK 658 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S1_MCK (MTK_PIN_NO(130) | 2) 651 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S2_MCK 659 #define MT8173_PIN_130_I2S0_MCK__FUNC_I2S2_MCK (MTK_PIN_NO(130) | 3) 652 #define MT8173_PIN_130_I2S0_MCK__FUNC_SPI_MO_2 660 #define MT8173_PIN_130_I2S0_MCK__FUNC_SPI_MO_2_ (MTK_PIN_NO(130) | 5) 653 #define MT8173_PIN_130_I2S0_MCK__FUNC_DBG_MON_ 661 #define MT8173_PIN_130_I2S0_MCK__FUNC_DBG_MON_A_6_ (MTK_PIN_NO(130) | 7) 654 662 655 #define MT8173_PIN_131_I2S0_DATA0__FUNC_GPIO13 663 #define MT8173_PIN_131_I2S0_DATA0__FUNC_GPIO131 (MTK_PIN_NO(131) | 0) 656 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S0_D 664 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S0_DO (MTK_PIN_NO(131) | 1) 657 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S1_D 665 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S1_DO_1 (MTK_PIN_NO(131) | 2) 658 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S2_D 666 #define MT8173_PIN_131_I2S0_DATA0__FUNC_I2S2_DI_1 (MTK_PIN_NO(131) | 3) 659 #define MT8173_PIN_131_I2S0_DATA0__FUNC_SPI_CS 667 #define MT8173_PIN_131_I2S0_DATA0__FUNC_SPI_CS_2_ (MTK_PIN_NO(131) | 5) 660 #define MT8173_PIN_131_I2S0_DATA0__FUNC_DBG_MO 668 #define MT8173_PIN_131_I2S0_DATA0__FUNC_DBG_MON_A_7_ (MTK_PIN_NO(131) | 7) 661 669 662 #define MT8173_PIN_132_I2S0_DATA1__FUNC_GPIO13 670 #define MT8173_PIN_132_I2S0_DATA1__FUNC_GPIO132 (MTK_PIN_NO(132) | 0) 663 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S0_D 671 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S0_DI (MTK_PIN_NO(132) | 1) 664 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S1_D 672 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S1_DO_2 (MTK_PIN_NO(132) | 2) 665 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S2_D 673 #define MT8173_PIN_132_I2S0_DATA1__FUNC_I2S2_DI_2 (MTK_PIN_NO(132) | 3) 666 #define MT8173_PIN_132_I2S0_DATA1__FUNC_DBG_MO 674 #define MT8173_PIN_132_I2S0_DATA1__FUNC_DBG_MON_A_8_ (MTK_PIN_NO(132) | 7) 667 675 668 #define MT8173_PIN_133_SDA4__FUNC_GPIO133 (MTK 676 #define MT8173_PIN_133_SDA4__FUNC_GPIO133 (MTK_PIN_NO(133) | 0) 669 #define MT8173_PIN_133_SDA4__FUNC_SDA4 (MTK_PI 677 #define MT8173_PIN_133_SDA4__FUNC_SDA4 (MTK_PIN_NO(133) | 1) 670 678 671 #define MT8173_PIN_134_SCL4__FUNC_GPIO134 (MTK 679 #define MT8173_PIN_134_SCL4__FUNC_GPIO134 (MTK_PIN_NO(134) | 0) 672 #define MT8173_PIN_134_SCL4__FUNC_SCL4 (MTK_PI 680 #define MT8173_PIN_134_SCL4__FUNC_SCL4 (MTK_PIN_NO(134) | 1) 673 681 674 #endif /* __DTS_MT8173_PINFUNC_H */ 682 #endif /* __DTS_MT8173_PINFUNC_H */ 675 683
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.