1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef __DTS_MT7623_PINFUNC_H 1 #ifndef __DTS_MT7623_PINFUNC_H 3 #define __DTS_MT7623_PINFUNC_H 2 #define __DTS_MT7623_PINFUNC_H 4 3 5 #include <dt-bindings/pinctrl/mt65xx.h> 4 #include <dt-bindings/pinctrl/mt65xx.h> 6 5 7 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_GPIO0 6 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_GPIO0 (MTK_PIN_NO(0) | 0) 8 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_PWRAP_ 7 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_PWRAP_SPIDO (MTK_PIN_NO(0) | 1) 9 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_PWRAP_ 8 #define MT7623_PIN_0_PWRAP_SPI0_MI_FUNC_PWRAP_SPIDI (MTK_PIN_NO(0) | 2) 10 9 11 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_GPIO1 10 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_GPIO1 (MTK_PIN_NO(1) | 0) 12 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_PWRAP_ 11 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_PWRAP_SPIDI (MTK_PIN_NO(1) | 1) 13 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_PWRAP_ 12 #define MT7623_PIN_1_PWRAP_SPI0_MO_FUNC_PWRAP_SPIDO (MTK_PIN_NO(1) | 2) 14 13 15 #define MT7623_PIN_2_PWRAP_INT_FUNC_GPIO2 (MTK 14 #define MT7623_PIN_2_PWRAP_INT_FUNC_GPIO2 (MTK_PIN_NO(2) | 0) 16 #define MT7623_PIN_2_PWRAP_INT_FUNC_PWRAP_INT 15 #define MT7623_PIN_2_PWRAP_INT_FUNC_PWRAP_INT (MTK_PIN_NO(2) | 1) 17 16 18 #define MT7623_PIN_3_PWRAP_SPI0_CK_FUNC_GPIO3 17 #define MT7623_PIN_3_PWRAP_SPI0_CK_FUNC_GPIO3 (MTK_PIN_NO(3) | 0) 19 #define MT7623_PIN_3_PWRAP_SPI0_CK_FUNC_PWRAP_ 18 #define MT7623_PIN_3_PWRAP_SPI0_CK_FUNC_PWRAP_SPICK_I (MTK_PIN_NO(3) | 1) 20 19 21 #define MT7623_PIN_4_PWRAP_SPI0_CSN_FUNC_GPIO4 20 #define MT7623_PIN_4_PWRAP_SPI0_CSN_FUNC_GPIO4 (MTK_PIN_NO(4) | 0) 22 #define MT7623_PIN_4_PWRAP_SPI0_CSN_FUNC_PWRAP 21 #define MT7623_PIN_4_PWRAP_SPI0_CSN_FUNC_PWRAP_SPICS_B_I (MTK_PIN_NO(4) | 1) 23 22 24 #define MT7623_PIN_5_PWRAP_SPI0_CK2_FUNC_GPIO5 23 #define MT7623_PIN_5_PWRAP_SPI0_CK2_FUNC_GPIO5 (MTK_PIN_NO(5) | 0) 25 #define MT7623_PIN_5_PWRAP_SPI0_CK2_FUNC_PWRAP 24 #define MT7623_PIN_5_PWRAP_SPI0_CK2_FUNC_PWRAP_SPICK2_I (MTK_PIN_NO(5) | 1) 26 #define MT7623_PIN_5_PWRAP_SPI0_CK2_FUNC_ANT_S << 27 25 28 #define MT7623_PIN_6_PWRAP_SPI0_CSN2_FUNC_GPIO 26 #define MT7623_PIN_6_PWRAP_SPI0_CSN2_FUNC_GPIO6 (MTK_PIN_NO(6) | 0) 29 #define MT7623_PIN_6_PWRAP_SPI0_CSN2_FUNC_PWRA 27 #define MT7623_PIN_6_PWRAP_SPI0_CSN2_FUNC_PWRAP_SPICS2_B_I (MTK_PIN_NO(6) | 1) 30 #define MT7623_PIN_6_PWRAP_SPI0_CSN2_FUNC_ANT_ << 31 28 32 #define MT7623_PIN_7_SPI1_CSN_FUNC_GPIO7 (MTK_ 29 #define MT7623_PIN_7_SPI1_CSN_FUNC_GPIO7 (MTK_PIN_NO(7) | 0) 33 #define MT7623_PIN_7_SPI1_CSN_FUNC_SPI1_CS (MT 30 #define MT7623_PIN_7_SPI1_CSN_FUNC_SPI1_CS (MTK_PIN_NO(7) | 1) 34 #define MT7623_PIN_7_SPI1_CSN_FUNC_KCOL0 (MTK_ << 35 31 36 #define MT7623_PIN_8_SPI1_MI_FUNC_GPIO8 (MTK_P 32 #define MT7623_PIN_8_SPI1_MI_FUNC_GPIO8 (MTK_PIN_NO(8) | 0) 37 #define MT7623_PIN_8_SPI1_MI_FUNC_SPI1_MI (MTK 33 #define MT7623_PIN_8_SPI1_MI_FUNC_SPI1_MI (MTK_PIN_NO(8) | 1) 38 #define MT7623_PIN_8_SPI1_MI_FUNC_SPI1_MO (MTK 34 #define MT7623_PIN_8_SPI1_MI_FUNC_SPI1_MO (MTK_PIN_NO(8) | 2) 39 #define MT7623_PIN_8_SPI1_MI_FUNC_KCOL1 (MTK_P << 40 35 41 #define MT7623_PIN_9_SPI1_MO_FUNC_GPIO9 (MTK_P 36 #define MT7623_PIN_9_SPI1_MO_FUNC_GPIO9 (MTK_PIN_NO(9) | 0) 42 #define MT7623_PIN_9_SPI1_MO_FUNC_SPI1_MO (MTK 37 #define MT7623_PIN_9_SPI1_MO_FUNC_SPI1_MO (MTK_PIN_NO(9) | 1) 43 #define MT7623_PIN_9_SPI1_MO_FUNC_SPI1_MI (MTK 38 #define MT7623_PIN_9_SPI1_MO_FUNC_SPI1_MI (MTK_PIN_NO(9) | 2) 44 #define MT7623_PIN_9_SPI1_MO_FUNC_EXT_FRAME_SY << 45 #define MT7623_PIN_9_SPI1_MO_FUNC_KCOL2 (MTK_P << 46 39 47 #define MT7623_PIN_10_RTC32K_CK_FUNC_GPIO10 (M 40 #define MT7623_PIN_10_RTC32K_CK_FUNC_GPIO10 (MTK_PIN_NO(10) | 0) 48 #define MT7623_PIN_10_RTC32K_CK_FUNC_RTC32K_CK 41 #define MT7623_PIN_10_RTC32K_CK_FUNC_RTC32K_CK (MTK_PIN_NO(10) | 1) 49 42 50 #define MT7623_PIN_11_WATCHDOG_FUNC_GPIO11 (MT 43 #define MT7623_PIN_11_WATCHDOG_FUNC_GPIO11 (MTK_PIN_NO(11) | 0) 51 #define MT7623_PIN_11_WATCHDOG_FUNC_WATCHDOG ( 44 #define MT7623_PIN_11_WATCHDOG_FUNC_WATCHDOG (MTK_PIN_NO(11) | 1) 52 45 53 #define MT7623_PIN_12_SRCLKENA_FUNC_GPIO12 (MT 46 #define MT7623_PIN_12_SRCLKENA_FUNC_GPIO12 (MTK_PIN_NO(12) | 0) 54 #define MT7623_PIN_12_SRCLKENA_FUNC_SRCLKENA ( 47 #define MT7623_PIN_12_SRCLKENA_FUNC_SRCLKENA (MTK_PIN_NO(12) | 1) 55 48 56 #define MT7623_PIN_13_SRCLKENAI_FUNC_GPIO13 (M 49 #define MT7623_PIN_13_SRCLKENAI_FUNC_GPIO13 (MTK_PIN_NO(13) | 0) 57 #define MT7623_PIN_13_SRCLKENAI_FUNC_SRCLKENAI 50 #define MT7623_PIN_13_SRCLKENAI_FUNC_SRCLKENAI (MTK_PIN_NO(13) | 1) 58 51 59 #define MT7623_PIN_14_GPIO14_FUNC_GPIO14 (MTK_ 52 #define MT7623_PIN_14_GPIO14_FUNC_GPIO14 (MTK_PIN_NO(14) | 0) 60 #define MT7623_PIN_14_GPIO14_FUNC_URXD2 (MTK_P 53 #define MT7623_PIN_14_GPIO14_FUNC_URXD2 (MTK_PIN_NO(14) | 1) 61 #define MT7623_PIN_14_GPIO14_FUNC_UTXD2 (MTK_P 54 #define MT7623_PIN_14_GPIO14_FUNC_UTXD2 (MTK_PIN_NO(14) | 2) 62 #define MT7623_PIN_14_GPIO14_FUNC_SRCCLKENAI2 << 63 55 64 #define MT7623_PIN_15_GPIO15_FUNC_GPIO15 (MTK_ 56 #define MT7623_PIN_15_GPIO15_FUNC_GPIO15 (MTK_PIN_NO(15) | 0) 65 #define MT7623_PIN_15_GPIO15_FUNC_UTXD2 (MTK_P 57 #define MT7623_PIN_15_GPIO15_FUNC_UTXD2 (MTK_PIN_NO(15) | 1) 66 #define MT7623_PIN_15_GPIO15_FUNC_URXD2 (MTK_P 58 #define MT7623_PIN_15_GPIO15_FUNC_URXD2 (MTK_PIN_NO(15) | 2) 67 59 68 #define MT7623_PIN_18_PCM_CLK_FUNC_GPIO18 (MTK 60 #define MT7623_PIN_18_PCM_CLK_FUNC_GPIO18 (MTK_PIN_NO(18) | 0) 69 #define MT7623_PIN_18_PCM_CLK_FUNC_PCM_CLK0 (M 61 #define MT7623_PIN_18_PCM_CLK_FUNC_PCM_CLK0 (MTK_PIN_NO(18) | 1) 70 #define MT7623_PIN_18_PCM_CLK_FUNC_MRG_CLK (MT << 71 #define MT7623_PIN_18_PCM_CLK_FUNC_MM_TEST_CK << 72 #define MT7623_PIN_18_PCM_CLK_FUNC_CONN_DSP_JC << 73 #define MT7623_PIN_18_PCM_CLK_FUNC_AP_PCM_CLKO 62 #define MT7623_PIN_18_PCM_CLK_FUNC_AP_PCM_CLKO (MTK_PIN_NO(18) | 6) 74 63 75 #define MT7623_PIN_19_PCM_SYNC_FUNC_GPIO19 (MT 64 #define MT7623_PIN_19_PCM_SYNC_FUNC_GPIO19 (MTK_PIN_NO(19) | 0) 76 #define MT7623_PIN_19_PCM_SYNC_FUNC_PCM_SYNC ( 65 #define MT7623_PIN_19_PCM_SYNC_FUNC_PCM_SYNC (MTK_PIN_NO(19) | 1) 77 #define MT7623_PIN_19_PCM_SYNC_FUNC_MRG_SYNC ( << 78 #define MT7623_PIN_19_PCM_SYNC_FUNC_CONN_DSP_J << 79 #define MT7623_PIN_19_PCM_SYNC_FUNC_AP_PCM_SYN 66 #define MT7623_PIN_19_PCM_SYNC_FUNC_AP_PCM_SYNC (MTK_PIN_NO(19) | 6) 80 67 81 #define MT7623_PIN_20_PCM_RX_FUNC_GPIO20 (MTK_ 68 #define MT7623_PIN_20_PCM_RX_FUNC_GPIO20 (MTK_PIN_NO(20) | 0) 82 #define MT7623_PIN_20_PCM_RX_FUNC_PCM_RX (MTK_ 69 #define MT7623_PIN_20_PCM_RX_FUNC_PCM_RX (MTK_PIN_NO(20) | 1) 83 #define MT7623_PIN_20_PCM_RX_FUNC_MRG_RX (MTK_ << 84 #define MT7623_PIN_20_PCM_RX_FUNC_MRG_TX (MTK_ << 85 #define MT7623_PIN_20_PCM_RX_FUNC_PCM_TX (MTK_ 70 #define MT7623_PIN_20_PCM_RX_FUNC_PCM_TX (MTK_PIN_NO(20) | 4) 86 #define MT7623_PIN_20_PCM_RX_FUNC_CONN_DSP_JDI << 87 #define MT7623_PIN_20_PCM_RX_FUNC_AP_PCM_RX (M 71 #define MT7623_PIN_20_PCM_RX_FUNC_AP_PCM_RX (MTK_PIN_NO(20) | 6) 88 72 89 #define MT7623_PIN_21_PCM_TX_FUNC_GPIO21 (MTK_ 73 #define MT7623_PIN_21_PCM_TX_FUNC_GPIO21 (MTK_PIN_NO(21) | 0) 90 #define MT7623_PIN_21_PCM_TX_FUNC_PCM_TX (MTK_ 74 #define MT7623_PIN_21_PCM_TX_FUNC_PCM_TX (MTK_PIN_NO(21) | 1) 91 #define MT7623_PIN_21_PCM_TX_FUNC_MRG_TX (MTK_ << 92 #define MT7623_PIN_21_PCM_TX_FUNC_MRG_RX (MTK_ << 93 #define MT7623_PIN_21_PCM_TX_FUNC_PCM_RX (MTK_ 75 #define MT7623_PIN_21_PCM_TX_FUNC_PCM_RX (MTK_PIN_NO(21) | 4) 94 #define MT7623_PIN_21_PCM_TX_FUNC_CONN_DSP_JMS << 95 #define MT7623_PIN_21_PCM_TX_FUNC_AP_PCM_TX (M 76 #define MT7623_PIN_21_PCM_TX_FUNC_AP_PCM_TX (MTK_PIN_NO(21) | 6) 96 77 97 #define MT7623_PIN_22_EINT0_FUNC_GPIO22 (MTK_P 78 #define MT7623_PIN_22_EINT0_FUNC_GPIO22 (MTK_PIN_NO(22) | 0) 98 #define MT7623_PIN_22_EINT0_FUNC_UCTS0 (MTK_PI 79 #define MT7623_PIN_22_EINT0_FUNC_UCTS0 (MTK_PIN_NO(22) | 1) 99 #define MT7623_PIN_22_EINT0_FUNC_PCIE0_PERST_N 80 #define MT7623_PIN_22_EINT0_FUNC_PCIE0_PERST_N (MTK_PIN_NO(22) | 2) 100 #define MT7623_PIN_22_EINT0_FUNC_KCOL3 (MTK_PI << 101 #define MT7623_PIN_22_EINT0_FUNC_CONN_DSP_JDO << 102 #define MT7623_PIN_22_EINT0_FUNC_EXT_FRAME_SYN << 103 81 104 #define MT7623_PIN_23_EINT1_FUNC_GPIO23 (MTK_P 82 #define MT7623_PIN_23_EINT1_FUNC_GPIO23 (MTK_PIN_NO(23) | 0) 105 #define MT7623_PIN_23_EINT1_FUNC_URTS0 (MTK_PI 83 #define MT7623_PIN_23_EINT1_FUNC_URTS0 (MTK_PIN_NO(23) | 1) 106 #define MT7623_PIN_23_EINT1_FUNC_PCIE1_PERST_N 84 #define MT7623_PIN_23_EINT1_FUNC_PCIE1_PERST_N (MTK_PIN_NO(23) | 2) 107 #define MT7623_PIN_23_EINT1_FUNC_KCOL2 (MTK_PI << 108 #define MT7623_PIN_23_EINT1_FUNC_CONN_MCU_TDO << 109 #define MT7623_PIN_23_EINT1_FUNC_EXT_FRAME_SYN << 110 85 111 #define MT7623_PIN_24_EINT2_FUNC_GPIO24 (MTK_P 86 #define MT7623_PIN_24_EINT2_FUNC_GPIO24 (MTK_PIN_NO(24) | 0) 112 #define MT7623_PIN_24_EINT2_FUNC_UCTS1 (MTK_PI 87 #define MT7623_PIN_24_EINT2_FUNC_UCTS1 (MTK_PIN_NO(24) | 1) 113 #define MT7623_PIN_24_EINT2_FUNC_PCIE2_PERST_N 88 #define MT7623_PIN_24_EINT2_FUNC_PCIE2_PERST_N (MTK_PIN_NO(24) | 2) 114 #define MT7623_PIN_24_EINT2_FUNC_KCOL1 (MTK_PI << 115 #define MT7623_PIN_24_EINT2_FUNC_CONN_MCU_DBGA << 116 89 117 #define MT7623_PIN_25_EINT3_FUNC_GPIO25 (MTK_P 90 #define MT7623_PIN_25_EINT3_FUNC_GPIO25 (MTK_PIN_NO(25) | 0) 118 #define MT7623_PIN_25_EINT3_FUNC_URTS1 (MTK_PI 91 #define MT7623_PIN_25_EINT3_FUNC_URTS1 (MTK_PIN_NO(25) | 1) 119 #define MT7623_PIN_25_EINT3_FUNC_KCOL0 (MTK_PI << 120 #define MT7623_PIN_25_EINT3_FUNC_CONN_MCU_DBGI << 121 92 122 #define MT7623_PIN_26_EINT4_FUNC_GPIO26 (MTK_P 93 #define MT7623_PIN_26_EINT4_FUNC_GPIO26 (MTK_PIN_NO(26) | 0) 123 #define MT7623_PIN_26_EINT4_FUNC_UCTS3 (MTK_PI 94 #define MT7623_PIN_26_EINT4_FUNC_UCTS3 (MTK_PIN_NO(26) | 1) 124 #define MT7623_PIN_26_EINT4_FUNC_DRV_VBUS_P1 ( << 125 #define MT7623_PIN_26_EINT4_FUNC_KROW3 (MTK_PI << 126 #define MT7623_PIN_26_EINT4_FUNC_CONN_MCU_TCK0 << 127 #define MT7623_PIN_26_EINT4_FUNC_CONN_MCU_AICE << 128 #define MT7623_PIN_26_EINT4_FUNC_PCIE2_WAKE_N 95 #define MT7623_PIN_26_EINT4_FUNC_PCIE2_WAKE_N (MTK_PIN_NO(26) | 6) 129 96 130 #define MT7623_PIN_27_EINT5_FUNC_GPIO27 (MTK_P 97 #define MT7623_PIN_27_EINT5_FUNC_GPIO27 (MTK_PIN_NO(27) | 0) 131 #define MT7623_PIN_27_EINT5_FUNC_URTS3 (MTK_PI 98 #define MT7623_PIN_27_EINT5_FUNC_URTS3 (MTK_PIN_NO(27) | 1) 132 #define MT7623_PIN_27_EINT5_FUNC_IDDIG_P1 (MTK << 133 #define MT7623_PIN_27_EINT5_FUNC_KROW2 (MTK_PI << 134 #define MT7623_PIN_27_EINT5_FUNC_CONN_MCU_TDI << 135 #define MT7623_PIN_27_EINT5_FUNC_PCIE1_WAKE_N 99 #define MT7623_PIN_27_EINT5_FUNC_PCIE1_WAKE_N (MTK_PIN_NO(27) | 6) 136 100 137 #define MT7623_PIN_28_EINT6_FUNC_GPIO28 (MTK_P 101 #define MT7623_PIN_28_EINT6_FUNC_GPIO28 (MTK_PIN_NO(28) | 0) 138 #define MT7623_PIN_28_EINT6_FUNC_DRV_VBUS (MTK 102 #define MT7623_PIN_28_EINT6_FUNC_DRV_VBUS (MTK_PIN_NO(28) | 1) 139 #define MT7623_PIN_28_EINT6_FUNC_KROW1 (MTK_PI << 140 #define MT7623_PIN_28_EINT6_FUNC_CONN_MCU_TRST << 141 #define MT7623_PIN_28_EINT6_FUNC_PCIE0_WAKE_N 103 #define MT7623_PIN_28_EINT6_FUNC_PCIE0_WAKE_N (MTK_PIN_NO(28) | 6) 142 104 143 #define MT7623_PIN_29_EINT7_FUNC_GPIO29 (MTK_P 105 #define MT7623_PIN_29_EINT7_FUNC_GPIO29 (MTK_PIN_NO(29) | 0) 144 #define MT7623_PIN_29_EINT7_FUNC_IDDIG (MTK_PI 106 #define MT7623_PIN_29_EINT7_FUNC_IDDIG (MTK_PIN_NO(29) | 1) 145 #define MT7623_PIN_29_EINT7_FUNC_MSDC1_WP (MTK 107 #define MT7623_PIN_29_EINT7_FUNC_MSDC1_WP (MTK_PIN_NO(29) | 2) 146 #define MT7623_PIN_29_EINT7_FUNC_KROW0 (MTK_PI << 147 #define MT7623_PIN_29_EINT7_FUNC_CONN_MCU_TMS << 148 #define MT7623_PIN_29_EINT7_FUNC_CONN_MCU_AICE << 149 #define MT7623_PIN_29_EINT7_FUNC_PCIE2_PERST_N 108 #define MT7623_PIN_29_EINT7_FUNC_PCIE2_PERST_N (MTK_PIN_NO(29) | 6) 150 109 151 #define MT7623_PIN_33_I2S1_DATA_FUNC_GPIO33 (M 110 #define MT7623_PIN_33_I2S1_DATA_FUNC_GPIO33 (MTK_PIN_NO(33) | 0) 152 #define MT7623_PIN_33_I2S1_DATA_FUNC_I2S1_DATA 111 #define MT7623_PIN_33_I2S1_DATA_FUNC_I2S1_DATA (MTK_PIN_NO(33) | 1) 153 #define MT7623_PIN_33_I2S1_DATA_FUNC_I2S1_DATA << 154 #define MT7623_PIN_33_I2S1_DATA_FUNC_PCM_TX (M 112 #define MT7623_PIN_33_I2S1_DATA_FUNC_PCM_TX (MTK_PIN_NO(33) | 3) 155 #define MT7623_PIN_33_I2S1_DATA_FUNC_IMG_TEST_ << 156 #define MT7623_PIN_33_I2S1_DATA_FUNC_G1_RXD0 ( << 157 #define MT7623_PIN_33_I2S1_DATA_FUNC_AP_PCM_TX 113 #define MT7623_PIN_33_I2S1_DATA_FUNC_AP_PCM_TX (MTK_PIN_NO(33) | 6) 158 114 159 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_GPIO34 115 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_GPIO34 (MTK_PIN_NO(34) | 0) 160 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_I2S1_D 116 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_I2S1_DATA_IN (MTK_PIN_NO(34) | 1) 161 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_PCM_RX 117 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_PCM_RX (MTK_PIN_NO(34) | 3) 162 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_VDEC_T << 163 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_G1_RXD << 164 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_AP_PCM 118 #define MT7623_PIN_34_I2S1_DATA_IN_FUNC_AP_PCM_RX (MTK_PIN_NO(34) | 6) 165 119 166 #define MT7623_PIN_35_I2S1_BCK_FUNC_GPIO35 (MT 120 #define MT7623_PIN_35_I2S1_BCK_FUNC_GPIO35 (MTK_PIN_NO(35) | 0) 167 #define MT7623_PIN_35_I2S1_BCK_FUNC_I2S1_BCK ( 121 #define MT7623_PIN_35_I2S1_BCK_FUNC_I2S1_BCK (MTK_PIN_NO(35) | 1) 168 #define MT7623_PIN_35_I2S1_BCK_FUNC_PCM_CLK0 ( 122 #define MT7623_PIN_35_I2S1_BCK_FUNC_PCM_CLK0 (MTK_PIN_NO(35) | 3) 169 #define MT7623_PIN_35_I2S1_BCK_FUNC_G1_RXD2 (M << 170 #define MT7623_PIN_35_I2S1_BCK_FUNC_AP_PCM_CLK 123 #define MT7623_PIN_35_I2S1_BCK_FUNC_AP_PCM_CLKO (MTK_PIN_NO(35) | 6) 171 124 172 #define MT7623_PIN_36_I2S1_LRCK_FUNC_GPIO36 (M 125 #define MT7623_PIN_36_I2S1_LRCK_FUNC_GPIO36 (MTK_PIN_NO(36) | 0) 173 #define MT7623_PIN_36_I2S1_LRCK_FUNC_I2S1_LRCK 126 #define MT7623_PIN_36_I2S1_LRCK_FUNC_I2S1_LRCK (MTK_PIN_NO(36) | 1) 174 #define MT7623_PIN_36_I2S1_LRCK_FUNC_PCM_SYNC 127 #define MT7623_PIN_36_I2S1_LRCK_FUNC_PCM_SYNC (MTK_PIN_NO(36) | 3) 175 #define MT7623_PIN_36_I2S1_LRCK_FUNC_G1_RXD3 ( << 176 #define MT7623_PIN_36_I2S1_LRCK_FUNC_AP_PCM_SY 128 #define MT7623_PIN_36_I2S1_LRCK_FUNC_AP_PCM_SYNC (MTK_PIN_NO(36) | 6) 177 129 178 #define MT7623_PIN_37_I2S1_MCLK_FUNC_GPIO37 (M 130 #define MT7623_PIN_37_I2S1_MCLK_FUNC_GPIO37 (MTK_PIN_NO(37) | 0) 179 #define MT7623_PIN_37_I2S1_MCLK_FUNC_I2S1_MCLK 131 #define MT7623_PIN_37_I2S1_MCLK_FUNC_I2S1_MCLK (MTK_PIN_NO(37) | 1) 180 #define MT7623_PIN_37_I2S1_MCLK_FUNC_G1_RXDV ( << 181 132 182 #define MT7623_PIN_39_JTMS_FUNC_GPIO39 (MTK_PI 133 #define MT7623_PIN_39_JTMS_FUNC_GPIO39 (MTK_PIN_NO(39) | 0) 183 #define MT7623_PIN_39_JTMS_FUNC_JTMS (MTK_PIN_ 134 #define MT7623_PIN_39_JTMS_FUNC_JTMS (MTK_PIN_NO(39) | 1) 184 #define MT7623_PIN_39_JTMS_FUNC_CONN_MCU_TMS ( << 185 #define MT7623_PIN_39_JTMS_FUNC_CONN_MCU_AICE_ << 186 #define MT7623_PIN_39_JTMS_FUNC_DFD_TMS_XI (MT << 187 135 188 #define MT7623_PIN_40_JTCK_FUNC_GPIO40 (MTK_PI 136 #define MT7623_PIN_40_JTCK_FUNC_GPIO40 (MTK_PIN_NO(40) | 0) 189 #define MT7623_PIN_40_JTCK_FUNC_JTCK (MTK_PIN_ 137 #define MT7623_PIN_40_JTCK_FUNC_JTCK (MTK_PIN_NO(40) | 1) 190 #define MT7623_PIN_40_JTCK_FUNC_CONN_MCU_TCK1 << 191 #define MT7623_PIN_40_JTCK_FUNC_CONN_MCU_AICE_ << 192 #define MT7623_PIN_40_JTCK_FUNC_DFD_TCK_XI (MT << 193 138 194 #define MT7623_PIN_41_JTDI_FUNC_GPIO41 (MTK_PI 139 #define MT7623_PIN_41_JTDI_FUNC_GPIO41 (MTK_PIN_NO(41) | 0) 195 #define MT7623_PIN_41_JTDI_FUNC_JTDI (MTK_PIN_ 140 #define MT7623_PIN_41_JTDI_FUNC_JTDI (MTK_PIN_NO(41) | 1) 196 #define MT7623_PIN_41_JTDI_FUNC_CONN_MCU_TDI ( << 197 #define MT7623_PIN_41_JTDI_FUNC_DFD_TDI_XI (MT << 198 141 199 #define MT7623_PIN_42_JTDO_FUNC_GPIO42 (MTK_PI 142 #define MT7623_PIN_42_JTDO_FUNC_GPIO42 (MTK_PIN_NO(42) | 0) 200 #define MT7623_PIN_42_JTDO_FUNC_JTDO (MTK_PIN_ 143 #define MT7623_PIN_42_JTDO_FUNC_JTDO (MTK_PIN_NO(42) | 1) 201 #define MT7623_PIN_42_JTDO_FUNC_CONN_MCU_TDO ( << 202 #define MT7623_PIN_42_JTDO_FUNC_DFD_TDO (MTK_P << 203 144 204 #define MT7623_PIN_43_NCLE_FUNC_GPIO43 (MTK_PI 145 #define MT7623_PIN_43_NCLE_FUNC_GPIO43 (MTK_PIN_NO(43) | 0) 205 #define MT7623_PIN_43_NCLE_FUNC_NCLE (MTK_PIN_ 146 #define MT7623_PIN_43_NCLE_FUNC_NCLE (MTK_PIN_NO(43) | 1) 206 #define MT7623_PIN_43_NCLE_FUNC_EXT_XCS2 (MTK_ 147 #define MT7623_PIN_43_NCLE_FUNC_EXT_XCS2 (MTK_PIN_NO(43) | 2) 207 148 208 #define MT7623_PIN_44_NCEB1_FUNC_GPIO44 (MTK_P 149 #define MT7623_PIN_44_NCEB1_FUNC_GPIO44 (MTK_PIN_NO(44) | 0) 209 #define MT7623_PIN_44_NCEB1_FUNC_NCEB1 (MTK_PI 150 #define MT7623_PIN_44_NCEB1_FUNC_NCEB1 (MTK_PIN_NO(44) | 1) 210 #define MT7623_PIN_44_NCEB1_FUNC_IDDIG (MTK_PI 151 #define MT7623_PIN_44_NCEB1_FUNC_IDDIG (MTK_PIN_NO(44) | 2) 211 152 212 #define MT7623_PIN_45_NCEB0_FUNC_GPIO45 (MTK_P 153 #define MT7623_PIN_45_NCEB0_FUNC_GPIO45 (MTK_PIN_NO(45) | 0) 213 #define MT7623_PIN_45_NCEB0_FUNC_NCEB0 (MTK_PI 154 #define MT7623_PIN_45_NCEB0_FUNC_NCEB0 (MTK_PIN_NO(45) | 1) 214 #define MT7623_PIN_45_NCEB0_FUNC_DRV_VBUS (MTK 155 #define MT7623_PIN_45_NCEB0_FUNC_DRV_VBUS (MTK_PIN_NO(45) | 2) 215 156 216 #define MT7623_PIN_46_IR_FUNC_GPIO46 (MTK_PIN_ 157 #define MT7623_PIN_46_IR_FUNC_GPIO46 (MTK_PIN_NO(46) | 0) 217 #define MT7623_PIN_46_IR_FUNC_IR (MTK_PIN_NO(4 158 #define MT7623_PIN_46_IR_FUNC_IR (MTK_PIN_NO(46) | 1) 218 159 219 #define MT7623_PIN_47_NREB_FUNC_GPIO47 (MTK_PI 160 #define MT7623_PIN_47_NREB_FUNC_GPIO47 (MTK_PIN_NO(47) | 0) 220 #define MT7623_PIN_47_NREB_FUNC_NREB (MTK_PIN_ 161 #define MT7623_PIN_47_NREB_FUNC_NREB (MTK_PIN_NO(47) | 1) 221 #define MT7623_PIN_47_NREB_FUNC_IDDIG_P1 (MTK_ << 222 162 223 #define MT7623_PIN_48_NRNB_FUNC_GPIO48 (MTK_PI 163 #define MT7623_PIN_48_NRNB_FUNC_GPIO48 (MTK_PIN_NO(48) | 0) 224 #define MT7623_PIN_48_NRNB_FUNC_NRNB (MTK_PIN_ 164 #define MT7623_PIN_48_NRNB_FUNC_NRNB (MTK_PIN_NO(48) | 1) 225 #define MT7623_PIN_48_NRNB_FUNC_DRV_VBUS_P1 (M << 226 165 227 #define MT7623_PIN_49_I2S0_DATA_FUNC_GPIO49 (M 166 #define MT7623_PIN_49_I2S0_DATA_FUNC_GPIO49 (MTK_PIN_NO(49) | 0) 228 #define MT7623_PIN_49_I2S0_DATA_FUNC_I2S0_DATA 167 #define MT7623_PIN_49_I2S0_DATA_FUNC_I2S0_DATA (MTK_PIN_NO(49) | 1) 229 #define MT7623_PIN_49_I2S0_DATA_FUNC_I2S0_DATA << 230 #define MT7623_PIN_49_I2S0_DATA_FUNC_PCM_TX (M 168 #define MT7623_PIN_49_I2S0_DATA_FUNC_PCM_TX (MTK_PIN_NO(49) | 3) 231 #define MT7623_PIN_49_I2S0_DATA_FUNC_AP_I2S_DO 169 #define MT7623_PIN_49_I2S0_DATA_FUNC_AP_I2S_DO (MTK_PIN_NO(49) | 6) 232 170 233 #define MT7623_PIN_53_SPI0_CSN_FUNC_GPIO53 (MT 171 #define MT7623_PIN_53_SPI0_CSN_FUNC_GPIO53 (MTK_PIN_NO(53) | 0) 234 #define MT7623_PIN_53_SPI0_CSN_FUNC_SPI0_CS (M 172 #define MT7623_PIN_53_SPI0_CSN_FUNC_SPI0_CS (MTK_PIN_NO(53) | 1) 235 #define MT7623_PIN_53_SPI0_CSN_FUNC_SPDIF (MTK << 236 #define MT7623_PIN_53_SPI0_CSN_FUNC_ADC_CK (MT << 237 #define MT7623_PIN_53_SPI0_CSN_FUNC_PWM1 (MTK_ 173 #define MT7623_PIN_53_SPI0_CSN_FUNC_PWM1 (MTK_PIN_NO(53) | 5) 238 174 239 #define MT7623_PIN_54_SPI0_CK_FUNC_GPIO54 (MTK 175 #define MT7623_PIN_54_SPI0_CK_FUNC_GPIO54 (MTK_PIN_NO(54) | 0) 240 #define MT7623_PIN_54_SPI0_CK_FUNC_SPI0_CK (MT 176 #define MT7623_PIN_54_SPI0_CK_FUNC_SPI0_CK (MTK_PIN_NO(54) | 1) 241 #define MT7623_PIN_54_SPI0_CK_FUNC_SPDIF_IN1 ( << 242 #define MT7623_PIN_54_SPI0_CK_FUNC_ADC_DAT_IN << 243 177 244 #define MT7623_PIN_55_SPI0_MI_FUNC_GPIO55 (MTK 178 #define MT7623_PIN_55_SPI0_MI_FUNC_GPIO55 (MTK_PIN_NO(55) | 0) 245 #define MT7623_PIN_55_SPI0_MI_FUNC_SPI0_MI (MT 179 #define MT7623_PIN_55_SPI0_MI_FUNC_SPI0_MI (MTK_PIN_NO(55) | 1) 246 #define MT7623_PIN_55_SPI0_MI_FUNC_SPI0_MO (MT 180 #define MT7623_PIN_55_SPI0_MI_FUNC_SPI0_MO (MTK_PIN_NO(55) | 2) 247 #define MT7623_PIN_55_SPI0_MI_FUNC_MSDC1_WP (M 181 #define MT7623_PIN_55_SPI0_MI_FUNC_MSDC1_WP (MTK_PIN_NO(55) | 3) 248 #define MT7623_PIN_55_SPI0_MI_FUNC_ADC_WS (MTK << 249 #define MT7623_PIN_55_SPI0_MI_FUNC_PWM2 (MTK_P 182 #define MT7623_PIN_55_SPI0_MI_FUNC_PWM2 (MTK_PIN_NO(55) | 5) 250 183 251 #define MT7623_PIN_56_SPI0_MO_FUNC_GPIO56 (MTK 184 #define MT7623_PIN_56_SPI0_MO_FUNC_GPIO56 (MTK_PIN_NO(56) | 0) 252 #define MT7623_PIN_56_SPI0_MO_FUNC_SPI0_MO (MT 185 #define MT7623_PIN_56_SPI0_MO_FUNC_SPI0_MO (MTK_PIN_NO(56) | 1) 253 #define MT7623_PIN_56_SPI0_MO_FUNC_SPI0_MI (MT 186 #define MT7623_PIN_56_SPI0_MO_FUNC_SPI0_MI (MTK_PIN_NO(56) | 2) 254 #define MT7623_PIN_56_SPI0_MO_FUNC_SPDIF_IN0 ( << 255 << 256 #define MT7623_PIN_57_SDA1_FUNC_GPIO57 (MTK_PI << 257 #define MT7623_PIN_57_SDA1_FUNC_SDA1 (MTK_PIN_ << 258 << 259 #define MT7623_PIN_58_SCL1_FUNC_GPIO58 (MTK_PI << 260 #define MT7623_PIN_58_SCL1_FUNC_SCL1 (MTK_PIN_ << 261 187 262 #define MT7623_PIN_60_WB_RSTB_FUNC_GPIO60 (MTK 188 #define MT7623_PIN_60_WB_RSTB_FUNC_GPIO60 (MTK_PIN_NO(60) | 0) 263 #define MT7623_PIN_60_WB_RSTB_FUNC_WB_RSTB (MT 189 #define MT7623_PIN_60_WB_RSTB_FUNC_WB_RSTB (MTK_PIN_NO(60) | 1) 264 190 265 #define MT7623_PIN_61_GPIO61_FUNC_GPIO61 (MTK_ 191 #define MT7623_PIN_61_GPIO61_FUNC_GPIO61 (MTK_PIN_NO(61) | 0) 266 #define MT7623_PIN_61_GPIO61_FUNC_TEST_FD (MTK 192 #define MT7623_PIN_61_GPIO61_FUNC_TEST_FD (MTK_PIN_NO(61) | 1) 267 193 268 #define MT7623_PIN_62_GPIO62_FUNC_GPIO62 (MTK_ 194 #define MT7623_PIN_62_GPIO62_FUNC_GPIO62 (MTK_PIN_NO(62) | 0) 269 #define MT7623_PIN_62_GPIO62_FUNC_TEST_FC (MTK 195 #define MT7623_PIN_62_GPIO62_FUNC_TEST_FC (MTK_PIN_NO(62) | 1) 270 196 271 #define MT7623_PIN_63_WB_SCLK_FUNC_GPIO63 (MTK 197 #define MT7623_PIN_63_WB_SCLK_FUNC_GPIO63 (MTK_PIN_NO(63) | 0) 272 #define MT7623_PIN_63_WB_SCLK_FUNC_WB_SCLK (MT 198 #define MT7623_PIN_63_WB_SCLK_FUNC_WB_SCLK (MTK_PIN_NO(63) | 1) 273 199 274 #define MT7623_PIN_64_WB_SDATA_FUNC_GPIO64 (MT 200 #define MT7623_PIN_64_WB_SDATA_FUNC_GPIO64 (MTK_PIN_NO(64) | 0) 275 #define MT7623_PIN_64_WB_SDATA_FUNC_WB_SDATA ( 201 #define MT7623_PIN_64_WB_SDATA_FUNC_WB_SDATA (MTK_PIN_NO(64) | 1) 276 202 277 #define MT7623_PIN_65_WB_SEN_FUNC_GPIO65 (MTK_ 203 #define MT7623_PIN_65_WB_SEN_FUNC_GPIO65 (MTK_PIN_NO(65) | 0) 278 #define MT7623_PIN_65_WB_SEN_FUNC_WB_SEN (MTK_ 204 #define MT7623_PIN_65_WB_SEN_FUNC_WB_SEN (MTK_PIN_NO(65) | 1) 279 205 280 #define MT7623_PIN_66_WB_CRTL0_FUNC_GPIO66 (MT 206 #define MT7623_PIN_66_WB_CRTL0_FUNC_GPIO66 (MTK_PIN_NO(66) | 0) 281 #define MT7623_PIN_66_WB_CRTL0_FUNC_WB_CRTL0 ( 207 #define MT7623_PIN_66_WB_CRTL0_FUNC_WB_CRTL0 (MTK_PIN_NO(66) | 1) 282 208 283 #define MT7623_PIN_67_WB_CRTL1_FUNC_GPIO67 (MT 209 #define MT7623_PIN_67_WB_CRTL1_FUNC_GPIO67 (MTK_PIN_NO(67) | 0) 284 #define MT7623_PIN_67_WB_CRTL1_FUNC_WB_CRTL1 ( 210 #define MT7623_PIN_67_WB_CRTL1_FUNC_WB_CRTL1 (MTK_PIN_NO(67) | 1) 285 211 286 #define MT7623_PIN_68_WB_CRTL2_FUNC_GPIO68 (MT 212 #define MT7623_PIN_68_WB_CRTL2_FUNC_GPIO68 (MTK_PIN_NO(68) | 0) 287 #define MT7623_PIN_68_WB_CRTL2_FUNC_WB_CRTL2 ( 213 #define MT7623_PIN_68_WB_CRTL2_FUNC_WB_CRTL2 (MTK_PIN_NO(68) | 1) 288 214 289 #define MT7623_PIN_69_WB_CRTL3_FUNC_GPIO69 (MT 215 #define MT7623_PIN_69_WB_CRTL3_FUNC_GPIO69 (MTK_PIN_NO(69) | 0) 290 #define MT7623_PIN_69_WB_CRTL3_FUNC_WB_CRTL3 ( 216 #define MT7623_PIN_69_WB_CRTL3_FUNC_WB_CRTL3 (MTK_PIN_NO(69) | 1) 291 217 292 #define MT7623_PIN_70_WB_CRTL4_FUNC_GPIO70 (MT 218 #define MT7623_PIN_70_WB_CRTL4_FUNC_GPIO70 (MTK_PIN_NO(70) | 0) 293 #define MT7623_PIN_70_WB_CRTL4_FUNC_WB_CRTL4 ( 219 #define MT7623_PIN_70_WB_CRTL4_FUNC_WB_CRTL4 (MTK_PIN_NO(70) | 1) 294 220 295 #define MT7623_PIN_71_WB_CRTL5_FUNC_GPIO71 (MT 221 #define MT7623_PIN_71_WB_CRTL5_FUNC_GPIO71 (MTK_PIN_NO(71) | 0) 296 #define MT7623_PIN_71_WB_CRTL5_FUNC_WB_CRTL5 ( 222 #define MT7623_PIN_71_WB_CRTL5_FUNC_WB_CRTL5 (MTK_PIN_NO(71) | 1) 297 223 298 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_GPIO72 224 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_GPIO72 (MTK_PIN_NO(72) | 0) 299 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_I2S0_D 225 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_I2S0_DATA_IN (MTK_PIN_NO(72) | 1) 300 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_PCM_RX 226 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_PCM_RX (MTK_PIN_NO(72) | 3) 301 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_PWM0 ( 227 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_PWM0 (MTK_PIN_NO(72) | 4) 302 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_DISP_P 228 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_DISP_PWM (MTK_PIN_NO(72) | 5) 303 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_AP_I2S 229 #define MT7623_PIN_72_I2S0_DATA_IN_FUNC_AP_I2S_DI (MTK_PIN_NO(72) | 6) 304 230 305 #define MT7623_PIN_73_I2S0_LRCK_FUNC_GPIO73 (M 231 #define MT7623_PIN_73_I2S0_LRCK_FUNC_GPIO73 (MTK_PIN_NO(73) | 0) 306 #define MT7623_PIN_73_I2S0_LRCK_FUNC_I2S0_LRCK 232 #define MT7623_PIN_73_I2S0_LRCK_FUNC_I2S0_LRCK (MTK_PIN_NO(73) | 1) 307 #define MT7623_PIN_73_I2S0_LRCK_FUNC_PCM_SYNC 233 #define MT7623_PIN_73_I2S0_LRCK_FUNC_PCM_SYNC (MTK_PIN_NO(73) | 3) 308 #define MT7623_PIN_73_I2S0_LRCK_FUNC_AP_I2S_LR 234 #define MT7623_PIN_73_I2S0_LRCK_FUNC_AP_I2S_LRCK (MTK_PIN_NO(73) | 6) 309 235 310 #define MT7623_PIN_74_I2S0_BCK_FUNC_GPIO74 (MT 236 #define MT7623_PIN_74_I2S0_BCK_FUNC_GPIO74 (MTK_PIN_NO(74) | 0) 311 #define MT7623_PIN_74_I2S0_BCK_FUNC_I2S0_BCK ( 237 #define MT7623_PIN_74_I2S0_BCK_FUNC_I2S0_BCK (MTK_PIN_NO(74) | 1) 312 #define MT7623_PIN_74_I2S0_BCK_FUNC_PCM_CLK0 ( 238 #define MT7623_PIN_74_I2S0_BCK_FUNC_PCM_CLK0 (MTK_PIN_NO(74) | 3) 313 #define MT7623_PIN_74_I2S0_BCK_FUNC_AP_I2S_BCK 239 #define MT7623_PIN_74_I2S0_BCK_FUNC_AP_I2S_BCK (MTK_PIN_NO(74) | 6) 314 240 315 #define MT7623_PIN_75_SDA0_FUNC_GPIO75 (MTK_PI 241 #define MT7623_PIN_75_SDA0_FUNC_GPIO75 (MTK_PIN_NO(75) | 0) 316 #define MT7623_PIN_75_SDA0_FUNC_SDA0 (MTK_PIN_ 242 #define MT7623_PIN_75_SDA0_FUNC_SDA0 (MTK_PIN_NO(75) | 1) 317 243 318 #define MT7623_PIN_76_SCL0_FUNC_GPIO76 (MTK_PI 244 #define MT7623_PIN_76_SCL0_FUNC_GPIO76 (MTK_PIN_NO(76) | 0) 319 #define MT7623_PIN_76_SCL0_FUNC_SCL0 (MTK_PIN_ 245 #define MT7623_PIN_76_SCL0_FUNC_SCL0 (MTK_PIN_NO(76) | 1) 320 246 321 #define MT7623_PIN_77_SDA2_FUNC_GPIO77 (MTK_PI << 322 #define MT7623_PIN_77_SDA2_FUNC_SDA2 (MTK_PIN_ << 323 << 324 #define MT7623_PIN_78_SCL2_FUNC_GPIO78 (MTK_PI << 325 #define MT7623_PIN_78_SCL2_FUNC_SCL2 (MTK_PIN_ << 326 << 327 #define MT7623_PIN_79_URXD0_FUNC_GPIO79 (MTK_P << 328 #define MT7623_PIN_79_URXD0_FUNC_URXD0 (MTK_PI << 329 #define MT7623_PIN_79_URXD0_FUNC_UTXD0 (MTK_PI << 330 << 331 #define MT7623_PIN_80_UTXD0_FUNC_GPIO80 (MTK_P << 332 #define MT7623_PIN_80_UTXD0_FUNC_UTXD0 (MTK_PI << 333 #define MT7623_PIN_80_UTXD0_FUNC_URXD0 (MTK_PI << 334 << 335 #define MT7623_PIN_81_URXD1_FUNC_GPIO81 (MTK_P << 336 #define MT7623_PIN_81_URXD1_FUNC_URXD1 (MTK_PI << 337 #define MT7623_PIN_81_URXD1_FUNC_UTXD1 (MTK_PI << 338 << 339 #define MT7623_PIN_82_UTXD1_FUNC_GPIO82 (MTK_P << 340 #define MT7623_PIN_82_UTXD1_FUNC_UTXD1 (MTK_PI << 341 #define MT7623_PIN_82_UTXD1_FUNC_URXD1 (MTK_PI << 342 << 343 #define MT7623_PIN_83_LCM_RST_FUNC_GPIO83 (MTK 247 #define MT7623_PIN_83_LCM_RST_FUNC_GPIO83 (MTK_PIN_NO(83) | 0) 344 #define MT7623_PIN_83_LCM_RST_FUNC_LCM_RST (MT 248 #define MT7623_PIN_83_LCM_RST_FUNC_LCM_RST (MTK_PIN_NO(83) | 1) 345 #define MT7623_PIN_83_LCM_RST_FUNC_VDAC_CK_XI << 346 249 347 #define MT7623_PIN_84_DSI_TE_FUNC_GPIO84 (MTK_ 250 #define MT7623_PIN_84_DSI_TE_FUNC_GPIO84 (MTK_PIN_NO(84) | 0) 348 #define MT7623_PIN_84_DSI_TE_FUNC_DSI_TE (MTK_ 251 #define MT7623_PIN_84_DSI_TE_FUNC_DSI_TE (MTK_PIN_NO(84) | 1) 349 252 350 #define MT7623_PIN_91_MIPI_TDN3_FUNC_GPIO91 (M << 351 #define MT7623_PIN_91_MIPI_TDN3_FUNC_TDN3 (MTK << 352 << 353 #define MT7623_PIN_92_MIPI_TDP3_FUNC_GPIO92 (M << 354 #define MT7623_PIN_92_MIPI_TDP3_FUNC_TDP3 (MTK << 355 << 356 #define MT7623_PIN_93_MIPI_TDN2_FUNC_GPIO93 (M << 357 #define MT7623_PIN_93_MIPI_TDN2_FUNC_TDN2 (MTK << 358 << 359 #define MT7623_PIN_94_MIPI_TDP2_FUNC_GPIO94 (M << 360 #define MT7623_PIN_94_MIPI_TDP2_FUNC_TDP2 (MTK << 361 << 362 #define MT7623_PIN_95_MIPI_TCN_FUNC_GPIO95 (MT 253 #define MT7623_PIN_95_MIPI_TCN_FUNC_GPIO95 (MTK_PIN_NO(95) | 0) 363 #define MT7623_PIN_95_MIPI_TCN_FUNC_TCN (MTK_P 254 #define MT7623_PIN_95_MIPI_TCN_FUNC_TCN (MTK_PIN_NO(95) | 1) 364 255 365 #define MT7623_PIN_96_MIPI_TCP_FUNC_GPIO96 (MT 256 #define MT7623_PIN_96_MIPI_TCP_FUNC_GPIO96 (MTK_PIN_NO(96) | 0) 366 #define MT7623_PIN_96_MIPI_TCP_FUNC_TCP (MTK_P 257 #define MT7623_PIN_96_MIPI_TCP_FUNC_TCP (MTK_PIN_NO(96) | 1) 367 258 368 #define MT7623_PIN_97_MIPI_TDN1_FUNC_GPIO97 (M 259 #define MT7623_PIN_97_MIPI_TDN1_FUNC_GPIO97 (MTK_PIN_NO(97) | 0) 369 #define MT7623_PIN_97_MIPI_TDN1_FUNC_TDN1 (MTK 260 #define MT7623_PIN_97_MIPI_TDN1_FUNC_TDN1 (MTK_PIN_NO(97) | 1) 370 261 371 #define MT7623_PIN_98_MIPI_TDP1_FUNC_GPIO98 (M 262 #define MT7623_PIN_98_MIPI_TDP1_FUNC_GPIO98 (MTK_PIN_NO(98) | 0) 372 #define MT7623_PIN_98_MIPI_TDP1_FUNC_TDP1 (MTK 263 #define MT7623_PIN_98_MIPI_TDP1_FUNC_TDP1 (MTK_PIN_NO(98) | 1) 373 264 374 #define MT7623_PIN_99_MIPI_TDN0_FUNC_GPIO99 (M 265 #define MT7623_PIN_99_MIPI_TDN0_FUNC_GPIO99 (MTK_PIN_NO(99) | 0) 375 #define MT7623_PIN_99_MIPI_TDN0_FUNC_TDN0 (MTK 266 #define MT7623_PIN_99_MIPI_TDN0_FUNC_TDN0 (MTK_PIN_NO(99) | 1) 376 267 377 #define MT7623_PIN_100_MIPI_TDP0_FUNC_GPIO100 268 #define MT7623_PIN_100_MIPI_TDP0_FUNC_GPIO100 (MTK_PIN_NO(100) | 0) 378 #define MT7623_PIN_100_MIPI_TDP0_FUNC_TDP0 (MT 269 #define MT7623_PIN_100_MIPI_TDP0_FUNC_TDP0 (MTK_PIN_NO(100) | 1) 379 270 380 #define MT7623_PIN_101_SPI2_CSN_FUNC_GPIO101 ( << 381 #define MT7623_PIN_101_SPI2_CSN_FUNC_SPI2_CS ( << 382 #define MT7623_PIN_101_SPI2_CSN_FUNC_SCL3 (MTK << 383 #define MT7623_PIN_101_SPI2_CSN_FUNC_KROW0 (MT << 384 << 385 #define MT7623_PIN_102_SPI2_MI_FUNC_GPIO102 (M << 386 #define MT7623_PIN_102_SPI2_MI_FUNC_SPI2_MI (M << 387 #define MT7623_PIN_102_SPI2_MI_FUNC_SPI2_MO (M << 388 #define MT7623_PIN_102_SPI2_MI_FUNC_SDA3 (MTK_ << 389 #define MT7623_PIN_102_SPI2_MI_FUNC_KROW1 (MTK << 390 << 391 #define MT7623_PIN_103_SPI2_MO_FUNC_GPIO103 (M << 392 #define MT7623_PIN_103_SPI2_MO_FUNC_SPI2_MO (M << 393 #define MT7623_PIN_103_SPI2_MO_FUNC_SPI2_MI (M << 394 #define MT7623_PIN_103_SPI2_MO_FUNC_SCL3 (MTK_ << 395 #define MT7623_PIN_103_SPI2_MO_FUNC_KROW2 (MTK << 396 << 397 #define MT7623_PIN_104_SPI2_CK_FUNC_GPIO104 (M << 398 #define MT7623_PIN_104_SPI2_CK_FUNC_SPI2_CK (M << 399 #define MT7623_PIN_104_SPI2_CK_FUNC_SDA3 (MTK_ << 400 #define MT7623_PIN_104_SPI2_CK_FUNC_KROW3 (MTK << 401 << 402 #define MT7623_PIN_105_MSDC1_CMD_FUNC_GPIO105 271 #define MT7623_PIN_105_MSDC1_CMD_FUNC_GPIO105 (MTK_PIN_NO(105) | 0) 403 #define MT7623_PIN_105_MSDC1_CMD_FUNC_MSDC1_CM 272 #define MT7623_PIN_105_MSDC1_CMD_FUNC_MSDC1_CMD (MTK_PIN_NO(105) | 1) 404 #define MT7623_PIN_105_MSDC1_CMD_FUNC_SDA1 (MT 273 #define MT7623_PIN_105_MSDC1_CMD_FUNC_SDA1 (MTK_PIN_NO(105) | 3) 405 #define MT7623_PIN_105_MSDC1_CMD_FUNC_I2SOUT_B 274 #define MT7623_PIN_105_MSDC1_CMD_FUNC_I2SOUT_BCK (MTK_PIN_NO(105) | 6) 406 275 407 #define MT7623_PIN_106_MSDC1_CLK_FUNC_GPIO106 276 #define MT7623_PIN_106_MSDC1_CLK_FUNC_GPIO106 (MTK_PIN_NO(106) | 0) 408 #define MT7623_PIN_106_MSDC1_CLK_FUNC_MSDC1_CL 277 #define MT7623_PIN_106_MSDC1_CLK_FUNC_MSDC1_CLK (MTK_PIN_NO(106) | 1) 409 #define MT7623_PIN_106_MSDC1_CLK_FUNC_SCL1 (MT 278 #define MT7623_PIN_106_MSDC1_CLK_FUNC_SCL1 (MTK_PIN_NO(106) | 3) 410 #define MT7623_PIN_106_MSDC1_CLK_FUNC_I2SOUT_L 279 #define MT7623_PIN_106_MSDC1_CLK_FUNC_I2SOUT_LRCK (MTK_PIN_NO(106) | 6) 411 280 412 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_GPIO107 281 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_GPIO107 (MTK_PIN_NO(107) | 0) 413 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_MSDC1_D 282 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_MSDC1_DAT0 (MTK_PIN_NO(107) | 1) 414 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_UTXD0 ( 283 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_UTXD0 (MTK_PIN_NO(107) | 5) 415 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_I2SOUT_ 284 #define MT7623_PIN_107_MSDC1_DAT0_FUNC_I2SOUT_DATA_OUT (MTK_PIN_NO(107) | 6) 416 285 417 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_GPIO108 286 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_GPIO108 (MTK_PIN_NO(108) | 0) 418 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_MSDC1_D 287 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_MSDC1_DAT1 (MTK_PIN_NO(108) | 1) 419 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_PWM0 (M 288 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_PWM0 (MTK_PIN_NO(108) | 3) 420 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_URXD0 ( 289 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_URXD0 (MTK_PIN_NO(108) | 5) 421 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_PWM1 (M 290 #define MT7623_PIN_108_MSDC1_DAT1_FUNC_PWM1 (MTK_PIN_NO(108) | 6) 422 291 423 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_GPIO109 292 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_GPIO109 (MTK_PIN_NO(109) | 0) 424 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_MSDC1_D 293 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_MSDC1_DAT2 (MTK_PIN_NO(109) | 1) 425 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_SDA2 (M 294 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_SDA2 (MTK_PIN_NO(109) | 3) 426 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_UTXD1 ( 295 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_UTXD1 (MTK_PIN_NO(109) | 5) 427 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_PWM2 (M 296 #define MT7623_PIN_109_MSDC1_DAT2_FUNC_PWM2 (MTK_PIN_NO(109) | 6) 428 297 429 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_GPIO110 298 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_GPIO110 (MTK_PIN_NO(110) | 0) 430 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_MSDC1_D 299 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_MSDC1_DAT3 (MTK_PIN_NO(110) | 1) 431 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_SCL2 (M 300 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_SCL2 (MTK_PIN_NO(110) | 3) 432 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_URXD1 ( 301 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_URXD1 (MTK_PIN_NO(110) | 5) 433 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_PWM3 (M 302 #define MT7623_PIN_110_MSDC1_DAT3_FUNC_PWM3 (MTK_PIN_NO(110) | 6) 434 303 435 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_GPIO111 304 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_GPIO111 (MTK_PIN_NO(111) | 0) 436 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_MSDC0_D 305 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_MSDC0_DAT7 (MTK_PIN_NO(111) | 1) 437 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_NLD7 (M 306 #define MT7623_PIN_111_MSDC0_DAT7_FUNC_NLD7 (MTK_PIN_NO(111) | 4) 438 307 439 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_GPIO112 308 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_GPIO112 (MTK_PIN_NO(112) | 0) 440 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_MSDC0_D 309 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_MSDC0_DAT6 (MTK_PIN_NO(112) | 1) 441 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_NLD6 (M 310 #define MT7623_PIN_112_MSDC0_DAT6_FUNC_NLD6 (MTK_PIN_NO(112) | 4) 442 311 443 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_GPIO113 312 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_GPIO113 (MTK_PIN_NO(113) | 0) 444 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_MSDC0_D 313 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_MSDC0_DAT5 (MTK_PIN_NO(113) | 1) 445 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_NLD5 (M 314 #define MT7623_PIN_113_MSDC0_DAT5_FUNC_NLD5 (MTK_PIN_NO(113) | 4) 446 315 447 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_GPIO114 316 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_GPIO114 (MTK_PIN_NO(114) | 0) 448 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_MSDC0_D 317 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_MSDC0_DAT4 (MTK_PIN_NO(114) | 1) 449 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_NLD4 (M 318 #define MT7623_PIN_114_MSDC0_DAT4_FUNC_NLD4 (MTK_PIN_NO(114) | 4) 450 319 451 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_GPIO115 320 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_GPIO115 (MTK_PIN_NO(115) | 0) 452 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_MSDC0_R 321 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_MSDC0_RSTB (MTK_PIN_NO(115) | 1) 453 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_NLD8 (M 322 #define MT7623_PIN_115_MSDC0_RSTB_FUNC_NLD8 (MTK_PIN_NO(115) | 4) 454 323 455 #define MT7623_PIN_116_MSDC0_CMD_FUNC_GPIO116 324 #define MT7623_PIN_116_MSDC0_CMD_FUNC_GPIO116 (MTK_PIN_NO(116) | 0) 456 #define MT7623_PIN_116_MSDC0_CMD_FUNC_MSDC0_CM 325 #define MT7623_PIN_116_MSDC0_CMD_FUNC_MSDC0_CMD (MTK_PIN_NO(116) | 1) 457 #define MT7623_PIN_116_MSDC0_CMD_FUNC_NALE (MT 326 #define MT7623_PIN_116_MSDC0_CMD_FUNC_NALE (MTK_PIN_NO(116) | 4) 458 327 459 #define MT7623_PIN_117_MSDC0_CLK_FUNC_GPIO117 328 #define MT7623_PIN_117_MSDC0_CLK_FUNC_GPIO117 (MTK_PIN_NO(117) | 0) 460 #define MT7623_PIN_117_MSDC0_CLK_FUNC_MSDC0_CL 329 #define MT7623_PIN_117_MSDC0_CLK_FUNC_MSDC0_CLK (MTK_PIN_NO(117) | 1) 461 #define MT7623_PIN_117_MSDC0_CLK_FUNC_NWEB (MT 330 #define MT7623_PIN_117_MSDC0_CLK_FUNC_NWEB (MTK_PIN_NO(117) | 4) 462 331 463 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_GPIO118 332 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_GPIO118 (MTK_PIN_NO(118) | 0) 464 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_MSDC0_D 333 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_MSDC0_DAT3 (MTK_PIN_NO(118) | 1) 465 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_NLD3 (M 334 #define MT7623_PIN_118_MSDC0_DAT3_FUNC_NLD3 (MTK_PIN_NO(118) | 4) 466 335 467 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_GPIO119 336 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_GPIO119 (MTK_PIN_NO(119) | 0) 468 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_MSDC0_D 337 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_MSDC0_DAT2 (MTK_PIN_NO(119) | 1) 469 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_NLD2 (M 338 #define MT7623_PIN_119_MSDC0_DAT2_FUNC_NLD2 (MTK_PIN_NO(119) | 4) 470 339 471 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_GPIO120 340 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_GPIO120 (MTK_PIN_NO(120) | 0) 472 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_MSDC0_D 341 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_MSDC0_DAT1 (MTK_PIN_NO(120) | 1) 473 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_NLD1 (M 342 #define MT7623_PIN_120_MSDC0_DAT1_FUNC_NLD1 (MTK_PIN_NO(120) | 4) 474 343 475 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_GPIO121 344 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_GPIO121 (MTK_PIN_NO(121) | 0) 476 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_MSDC0_D 345 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_MSDC0_DAT0 (MTK_PIN_NO(121) | 1) 477 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_NLD0 (M 346 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_NLD0 (MTK_PIN_NO(121) | 4) 478 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_WATCHDO 347 #define MT7623_PIN_121_MSDC0_DAT0_FUNC_WATCHDOG (MTK_PIN_NO(121) | 5) 479 348 480 #define MT7623_PIN_122_GPIO122_FUNC_GPIO122 (M 349 #define MT7623_PIN_122_GPIO122_FUNC_GPIO122 (MTK_PIN_NO(122) | 0) 481 #define MT7623_PIN_122_GPIO122_FUNC_CEC (MTK_P !! 350 #define MT7623_PIN_122_GPIO122_FUNC_TEST (MTK_PIN_NO(122) | 1) 482 #define MT7623_PIN_122_GPIO122_FUNC_SDA2 (MTK_ 351 #define MT7623_PIN_122_GPIO122_FUNC_SDA2 (MTK_PIN_NO(122) | 4) 483 #define MT7623_PIN_122_GPIO122_FUNC_URXD0 (MTK 352 #define MT7623_PIN_122_GPIO122_FUNC_URXD0 (MTK_PIN_NO(122) | 5) 484 353 485 #define MT7623_PIN_123_HTPLG_FUNC_GPIO123 (MTK !! 354 #define MT7623_PIN_123_GPIO123_FUNC_GPIO123 (MTK_PIN_NO(123) | 0) 486 #define MT7623_PIN_123_HTPLG_FUNC_HTPLG (MTK_P !! 355 #define MT7623_PIN_123_GPIO123_FUNC_TEST (MTK_PIN_NO(123) | 1) 487 #define MT7623_PIN_123_HTPLG_FUNC_SCL2 (MTK_PI !! 356 #define MT7623_PIN_123_GPIO123_FUNC_SCL2 (MTK_PIN_NO(123) | 4) 488 #define MT7623_PIN_123_HTPLG_FUNC_UTXD0 (MTK_P !! 357 #define MT7623_PIN_123_GPIO123_FUNC_UTXD0 (MTK_PIN_NO(123) | 5) 489 358 490 #define MT7623_PIN_124_GPIO124_FUNC_GPIO124 (M 359 #define MT7623_PIN_124_GPIO124_FUNC_GPIO124 (MTK_PIN_NO(124) | 0) 491 #define MT7623_PIN_124_GPIO124_FUNC_HDMISCK (M !! 360 #define MT7623_PIN_124_GPIO124_FUNC_TEST (MTK_PIN_NO(124) | 1) 492 #define MT7623_PIN_124_GPIO124_FUNC_SDA1 (MTK_ 361 #define MT7623_PIN_124_GPIO124_FUNC_SDA1 (MTK_PIN_NO(124) | 4) 493 #define MT7623_PIN_124_GPIO124_FUNC_PWM3 (MTK_ 362 #define MT7623_PIN_124_GPIO124_FUNC_PWM3 (MTK_PIN_NO(124) | 5) 494 363 495 #define MT7623_PIN_125_GPIO125_FUNC_GPIO125 (M 364 #define MT7623_PIN_125_GPIO125_FUNC_GPIO125 (MTK_PIN_NO(125) | 0) 496 #define MT7623_PIN_125_GPIO125_FUNC_HDMISD (MT !! 365 #define MT7623_PIN_125_GPIO125_FUNC_TEST (MTK_PIN_NO(125) | 1) 497 #define MT7623_PIN_125_GPIO125_FUNC_SCL1 (MTK_ 366 #define MT7623_PIN_125_GPIO125_FUNC_SCL1 (MTK_PIN_NO(125) | 4) 498 #define MT7623_PIN_125_GPIO125_FUNC_PWM4 (MTK_ 367 #define MT7623_PIN_125_GPIO125_FUNC_PWM4 (MTK_PIN_NO(125) | 5) 499 368 500 #define MT7623_PIN_126_I2S0_MCLK_FUNC_GPIO126 369 #define MT7623_PIN_126_I2S0_MCLK_FUNC_GPIO126 (MTK_PIN_NO(126) | 0) 501 #define MT7623_PIN_126_I2S0_MCLK_FUNC_I2S0_MCL 370 #define MT7623_PIN_126_I2S0_MCLK_FUNC_I2S0_MCLK (MTK_PIN_NO(126) | 1) 502 #define MT7623_PIN_126_I2S0_MCLK_FUNC_AP_I2S_M 371 #define MT7623_PIN_126_I2S0_MCLK_FUNC_AP_I2S_MCLK (MTK_PIN_NO(126) | 6) 503 372 504 #define MT7623_PIN_199_SPI1_CK_FUNC_GPIO199 (M 373 #define MT7623_PIN_199_SPI1_CK_FUNC_GPIO199 (MTK_PIN_NO(199) | 0) 505 #define MT7623_PIN_199_SPI1_CK_FUNC_SPI1_CK (M 374 #define MT7623_PIN_199_SPI1_CK_FUNC_SPI1_CK (MTK_PIN_NO(199) | 1) 506 375 507 #define MT7623_PIN_200_URXD2_FUNC_GPIO200 (MTK 376 #define MT7623_PIN_200_URXD2_FUNC_GPIO200 (MTK_PIN_NO(200) | 0) 508 #define MT7623_PIN_200_URXD2_FUNC_URXD2 (MTK_P 377 #define MT7623_PIN_200_URXD2_FUNC_URXD2 (MTK_PIN_NO(200) | 6) 509 378 510 #define MT7623_PIN_201_UTXD2_FUNC_GPIO201 (MTK 379 #define MT7623_PIN_201_UTXD2_FUNC_GPIO201 (MTK_PIN_NO(201) | 0) 511 #define MT7623_PIN_201_UTXD2_FUNC_UTXD2 (MTK_P 380 #define MT7623_PIN_201_UTXD2_FUNC_UTXD2 (MTK_PIN_NO(201) | 6) 512 381 513 #define MT7623_PIN_203_PWM0_FUNC_GPIO203 (MTK_ 382 #define MT7623_PIN_203_PWM0_FUNC_GPIO203 (MTK_PIN_NO(203) | 0) 514 #define MT7623_PIN_203_PWM0_FUNC_PWM0 (MTK_PIN 383 #define MT7623_PIN_203_PWM0_FUNC_PWM0 (MTK_PIN_NO(203) | 1) 515 #define MT7623_PIN_203_PWM0_FUNC_DISP_PWM (MTK 384 #define MT7623_PIN_203_PWM0_FUNC_DISP_PWM (MTK_PIN_NO(203) | 2) 516 385 517 #define MT7623_PIN_204_PWM1_FUNC_GPIO204 (MTK_ 386 #define MT7623_PIN_204_PWM1_FUNC_GPIO204 (MTK_PIN_NO(204) | 0) 518 #define MT7623_PIN_204_PWM1_FUNC_PWM1 (MTK_PIN 387 #define MT7623_PIN_204_PWM1_FUNC_PWM1 (MTK_PIN_NO(204) | 1) 519 388 520 #define MT7623_PIN_205_PWM2_FUNC_GPIO205 (MTK_ 389 #define MT7623_PIN_205_PWM2_FUNC_GPIO205 (MTK_PIN_NO(205) | 0) 521 #define MT7623_PIN_205_PWM2_FUNC_PWM2 (MTK_PIN 390 #define MT7623_PIN_205_PWM2_FUNC_PWM2 (MTK_PIN_NO(205) | 1) 522 391 523 #define MT7623_PIN_206_PWM3_FUNC_GPIO206 (MTK_ 392 #define MT7623_PIN_206_PWM3_FUNC_GPIO206 (MTK_PIN_NO(206) | 0) 524 #define MT7623_PIN_206_PWM3_FUNC_PWM3 (MTK_PIN 393 #define MT7623_PIN_206_PWM3_FUNC_PWM3 (MTK_PIN_NO(206) | 1) 525 394 526 #define MT7623_PIN_207_PWM4_FUNC_GPIO207 (MTK_ 395 #define MT7623_PIN_207_PWM4_FUNC_GPIO207 (MTK_PIN_NO(207) | 0) 527 #define MT7623_PIN_207_PWM4_FUNC_PWM4 (MTK_PIN 396 #define MT7623_PIN_207_PWM4_FUNC_PWM4 (MTK_PIN_NO(207) | 1) 528 397 529 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_GPIO20 398 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_GPIO208 (MTK_PIN_NO(208) | 0) 530 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_AUD_EX 399 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_AUD_EXT_CK1 (MTK_PIN_NO(208) | 1) 531 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_PWM0 ( 400 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_PWM0 (MTK_PIN_NO(208) | 2) 532 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_PCIE0_ 401 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_PCIE0_PERST_N (MTK_PIN_NO(208) | 3) 533 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_DISP_P 402 #define MT7623_PIN_208_AUD_EXT_CK1_FUNC_DISP_PWM (MTK_PIN_NO(208) | 5) 534 403 535 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_GPIO20 404 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_GPIO209 (MTK_PIN_NO(209) | 0) 536 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_AUD_EX 405 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_AUD_EXT_CK2 (MTK_PIN_NO(209) | 1) 537 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_MSDC1_ 406 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_MSDC1_WP (MTK_PIN_NO(209) | 2) 538 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_PCIE1_ 407 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_PCIE1_PERST_N (MTK_PIN_NO(209) | 3) 539 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_PWM1 ( 408 #define MT7623_PIN_209_AUD_EXT_CK2_FUNC_PWM1 (MTK_PIN_NO(209) | 5) 540 409 541 #define MT7623_PIN_236_EXT_SDIO3_FUNC_GPIO236 410 #define MT7623_PIN_236_EXT_SDIO3_FUNC_GPIO236 (MTK_PIN_NO(236) | 0) 542 #define MT7623_PIN_236_EXT_SDIO3_FUNC_EXT_SDIO 411 #define MT7623_PIN_236_EXT_SDIO3_FUNC_EXT_SDIO3 (MTK_PIN_NO(236) | 1) 543 #define MT7623_PIN_236_EXT_SDIO3_FUNC_IDDIG (M 412 #define MT7623_PIN_236_EXT_SDIO3_FUNC_IDDIG (MTK_PIN_NO(236) | 2) 544 413 545 #define MT7623_PIN_237_EXT_SDIO2_FUNC_GPIO237 414 #define MT7623_PIN_237_EXT_SDIO2_FUNC_GPIO237 (MTK_PIN_NO(237) | 0) 546 #define MT7623_PIN_237_EXT_SDIO2_FUNC_EXT_SDIO 415 #define MT7623_PIN_237_EXT_SDIO2_FUNC_EXT_SDIO2 (MTK_PIN_NO(237) | 1) 547 #define MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS 416 #define MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS (MTK_PIN_NO(237) | 2) 548 417 549 #define MT7623_PIN_238_EXT_SDIO1_FUNC_GPIO238 418 #define MT7623_PIN_238_EXT_SDIO1_FUNC_GPIO238 (MTK_PIN_NO(238) | 0) 550 #define MT7623_PIN_238_EXT_SDIO1_FUNC_EXT_SDIO 419 #define MT7623_PIN_238_EXT_SDIO1_FUNC_EXT_SDIO1 (MTK_PIN_NO(238) | 1) 551 420 552 #define MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239 421 #define MT7623_PIN_239_EXT_SDIO0_FUNC_GPIO239 (MTK_PIN_NO(239) | 0) 553 #define MT7623_PIN_239_EXT_SDIO0_FUNC_EXT_SDIO 422 #define MT7623_PIN_239_EXT_SDIO0_FUNC_EXT_SDIO0 (MTK_PIN_NO(239) | 1) 554 423 555 #define MT7623_PIN_240_EXT_XCS_FUNC_GPIO240 (M 424 #define MT7623_PIN_240_EXT_XCS_FUNC_GPIO240 (MTK_PIN_NO(240) | 0) 556 #define MT7623_PIN_240_EXT_XCS_FUNC_EXT_XCS (M 425 #define MT7623_PIN_240_EXT_XCS_FUNC_EXT_XCS (MTK_PIN_NO(240) | 1) 557 426 558 #define MT7623_PIN_241_EXT_SCK_FUNC_GPIO241 (M 427 #define MT7623_PIN_241_EXT_SCK_FUNC_GPIO241 (MTK_PIN_NO(241) | 0) 559 #define MT7623_PIN_241_EXT_SCK_FUNC_EXT_SCK (M 428 #define MT7623_PIN_241_EXT_SCK_FUNC_EXT_SCK (MTK_PIN_NO(241) | 1) 560 429 561 #define MT7623_PIN_242_URTS2_FUNC_GPIO242 (MTK 430 #define MT7623_PIN_242_URTS2_FUNC_GPIO242 (MTK_PIN_NO(242) | 0) 562 #define MT7623_PIN_242_URTS2_FUNC_URTS2 (MTK_P 431 #define MT7623_PIN_242_URTS2_FUNC_URTS2 (MTK_PIN_NO(242) | 1) 563 #define MT7623_PIN_242_URTS2_FUNC_UTXD3 (MTK_P 432 #define MT7623_PIN_242_URTS2_FUNC_UTXD3 (MTK_PIN_NO(242) | 2) 564 #define MT7623_PIN_242_URTS2_FUNC_URXD3 (MTK_P 433 #define MT7623_PIN_242_URTS2_FUNC_URXD3 (MTK_PIN_NO(242) | 3) 565 #define MT7623_PIN_242_URTS2_FUNC_SCL1 (MTK_PI 434 #define MT7623_PIN_242_URTS2_FUNC_SCL1 (MTK_PIN_NO(242) | 4) 566 435 567 #define MT7623_PIN_243_UCTS2_FUNC_GPIO243 (MTK 436 #define MT7623_PIN_243_UCTS2_FUNC_GPIO243 (MTK_PIN_NO(243) | 0) 568 #define MT7623_PIN_243_UCTS2_FUNC_UCTS2 (MTK_P 437 #define MT7623_PIN_243_UCTS2_FUNC_UCTS2 (MTK_PIN_NO(243) | 1) 569 #define MT7623_PIN_243_UCTS2_FUNC_URXD3 (MTK_P 438 #define MT7623_PIN_243_UCTS2_FUNC_URXD3 (MTK_PIN_NO(243) | 2) 570 #define MT7623_PIN_243_UCTS2_FUNC_UTXD3 (MTK_P 439 #define MT7623_PIN_243_UCTS2_FUNC_UTXD3 (MTK_PIN_NO(243) | 3) 571 #define MT7623_PIN_243_UCTS2_FUNC_SDA1 (MTK_PI 440 #define MT7623_PIN_243_UCTS2_FUNC_SDA1 (MTK_PIN_NO(243) | 4) 572 441 573 #define MT7623_PIN_250_GPIO250_FUNC_GPIO250 (M 442 #define MT7623_PIN_250_GPIO250_FUNC_GPIO250 (MTK_PIN_NO(250) | 0) 574 #define MT7623_PIN_250_GPIO250_FUNC_TEST_MD7 ( 443 #define MT7623_PIN_250_GPIO250_FUNC_TEST_MD7 (MTK_PIN_NO(250) | 1) 575 #define MT7623_PIN_250_GPIO250_FUNC_PCIE0_CLKR 444 #define MT7623_PIN_250_GPIO250_FUNC_PCIE0_CLKREQ_N (MTK_PIN_NO(250) | 6) 576 445 577 #define MT7623_PIN_251_GPIO251_FUNC_GPIO251 (M 446 #define MT7623_PIN_251_GPIO251_FUNC_GPIO251 (MTK_PIN_NO(251) | 0) 578 #define MT7623_PIN_251_GPIO251_FUNC_TEST_MD6 ( 447 #define MT7623_PIN_251_GPIO251_FUNC_TEST_MD6 (MTK_PIN_NO(251) | 1) 579 #define MT7623_PIN_251_GPIO251_FUNC_PCIE0_WAKE 448 #define MT7623_PIN_251_GPIO251_FUNC_PCIE0_WAKE_N (MTK_PIN_NO(251) | 6) 580 449 581 #define MT7623_PIN_252_GPIO252_FUNC_GPIO252 (M 450 #define MT7623_PIN_252_GPIO252_FUNC_GPIO252 (MTK_PIN_NO(252) | 0) 582 #define MT7623_PIN_252_GPIO252_FUNC_TEST_MD5 ( 451 #define MT7623_PIN_252_GPIO252_FUNC_TEST_MD5 (MTK_PIN_NO(252) | 1) 583 #define MT7623_PIN_252_GPIO252_FUNC_PCIE1_CLKR 452 #define MT7623_PIN_252_GPIO252_FUNC_PCIE1_CLKREQ_N (MTK_PIN_NO(252) | 6) 584 453 585 #define MT7623_PIN_253_GPIO253_FUNC_GPIO253 (M 454 #define MT7623_PIN_253_GPIO253_FUNC_GPIO253 (MTK_PIN_NO(253) | 0) 586 #define MT7623_PIN_253_GPIO253_FUNC_TEST_MD4 ( 455 #define MT7623_PIN_253_GPIO253_FUNC_TEST_MD4 (MTK_PIN_NO(253) | 1) 587 #define MT7623_PIN_253_GPIO253_FUNC_PCIE1_WAKE 456 #define MT7623_PIN_253_GPIO253_FUNC_PCIE1_WAKE_N (MTK_PIN_NO(253) | 6) 588 457 589 #define MT7623_PIN_254_GPIO254_FUNC_GPIO254 (M 458 #define MT7623_PIN_254_GPIO254_FUNC_GPIO254 (MTK_PIN_NO(254) | 0) 590 #define MT7623_PIN_254_GPIO254_FUNC_TEST_MD3 ( 459 #define MT7623_PIN_254_GPIO254_FUNC_TEST_MD3 (MTK_PIN_NO(254) | 1) 591 #define MT7623_PIN_254_GPIO254_FUNC_PCIE2_CLKR 460 #define MT7623_PIN_254_GPIO254_FUNC_PCIE2_CLKREQ_N (MTK_PIN_NO(254) | 6) 592 461 593 #define MT7623_PIN_255_GPIO255_FUNC_GPIO255 (M 462 #define MT7623_PIN_255_GPIO255_FUNC_GPIO255 (MTK_PIN_NO(255) | 0) 594 #define MT7623_PIN_255_GPIO255_FUNC_TEST_MD2 ( 463 #define MT7623_PIN_255_GPIO255_FUNC_TEST_MD2 (MTK_PIN_NO(255) | 1) 595 #define MT7623_PIN_255_GPIO255_FUNC_PCIE2_WAKE 464 #define MT7623_PIN_255_GPIO255_FUNC_PCIE2_WAKE_N (MTK_PIN_NO(255) | 6) 596 465 597 #define MT7623_PIN_256_GPIO256_FUNC_GPIO256 (M 466 #define MT7623_PIN_256_GPIO256_FUNC_GPIO256 (MTK_PIN_NO(256) | 0) 598 #define MT7623_PIN_256_GPIO256_FUNC_TEST_MD1 ( 467 #define MT7623_PIN_256_GPIO256_FUNC_TEST_MD1 (MTK_PIN_NO(256) | 1) 599 468 600 #define MT7623_PIN_257_GPIO257_FUNC_GPIO257 (M 469 #define MT7623_PIN_257_GPIO257_FUNC_GPIO257 (MTK_PIN_NO(257) | 0) 601 #define MT7623_PIN_257_GPIO257_FUNC_TEST_MD0 ( 470 #define MT7623_PIN_257_GPIO257_FUNC_TEST_MD0 (MTK_PIN_NO(257) | 1) 602 471 603 #define MT7623_PIN_261_MSDC1_INS_FUNC_GPIO261 472 #define MT7623_PIN_261_MSDC1_INS_FUNC_GPIO261 (MTK_PIN_NO(261) | 0) 604 #define MT7623_PIN_261_MSDC1_INS_FUNC_MSDC1_IN 473 #define MT7623_PIN_261_MSDC1_INS_FUNC_MSDC1_INS (MTK_PIN_NO(261) | 1) 605 474 606 #define MT7623_PIN_262_G2_TXEN_FUNC_GPIO262 (M 475 #define MT7623_PIN_262_G2_TXEN_FUNC_GPIO262 (MTK_PIN_NO(262) | 0) 607 #define MT7623_PIN_262_G2_TXEN_FUNC_G2_TXEN (M 476 #define MT7623_PIN_262_G2_TXEN_FUNC_G2_TXEN (MTK_PIN_NO(262) | 1) 608 477 609 #define MT7623_PIN_263_G2_TXD3_FUNC_GPIO263 (M 478 #define MT7623_PIN_263_G2_TXD3_FUNC_GPIO263 (MTK_PIN_NO(263) | 0) 610 #define MT7623_PIN_263_G2_TXD3_FUNC_G2_TXD3 (M 479 #define MT7623_PIN_263_G2_TXD3_FUNC_G2_TXD3 (MTK_PIN_NO(263) | 1) 611 480 612 #define MT7623_PIN_264_G2_TXD2_FUNC_GPIO264 (M 481 #define MT7623_PIN_264_G2_TXD2_FUNC_GPIO264 (MTK_PIN_NO(264) | 0) 613 #define MT7623_PIN_264_G2_TXD2_FUNC_G2_TXD2 (M 482 #define MT7623_PIN_264_G2_TXD2_FUNC_G2_TXD2 (MTK_PIN_NO(264) | 1) 614 483 615 #define MT7623_PIN_265_G2_TXD1_FUNC_GPIO265 (M 484 #define MT7623_PIN_265_G2_TXD1_FUNC_GPIO265 (MTK_PIN_NO(265) | 0) 616 #define MT7623_PIN_265_G2_TXD1_FUNC_G2_TXD1 (M 485 #define MT7623_PIN_265_G2_TXD1_FUNC_G2_TXD1 (MTK_PIN_NO(265) | 1) 617 486 618 #define MT7623_PIN_266_G2_TXD0_FUNC_GPIO266 (M 487 #define MT7623_PIN_266_G2_TXD0_FUNC_GPIO266 (MTK_PIN_NO(266) | 0) 619 #define MT7623_PIN_266_G2_TXD0_FUNC_G2_TXD0 (M 488 #define MT7623_PIN_266_G2_TXD0_FUNC_G2_TXD0 (MTK_PIN_NO(266) | 1) 620 489 621 #define MT7623_PIN_267_G2_TXCLK_FUNC_GPIO267 ( 490 #define MT7623_PIN_267_G2_TXCLK_FUNC_GPIO267 (MTK_PIN_NO(267) | 0) 622 #define MT7623_PIN_267_G2_TXCLK_FUNC_G2_TXC (M 491 #define MT7623_PIN_267_G2_TXCLK_FUNC_G2_TXC (MTK_PIN_NO(267) | 1) 623 492 624 #define MT7623_PIN_268_G2_RXCLK_FUNC_GPIO268 ( 493 #define MT7623_PIN_268_G2_RXCLK_FUNC_GPIO268 (MTK_PIN_NO(268) | 0) 625 #define MT7623_PIN_268_G2_RXCLK_FUNC_G2_RXC (M 494 #define MT7623_PIN_268_G2_RXCLK_FUNC_G2_RXC (MTK_PIN_NO(268) | 1) 626 495 627 #define MT7623_PIN_269_G2_RXD0_FUNC_GPIO269 (M 496 #define MT7623_PIN_269_G2_RXD0_FUNC_GPIO269 (MTK_PIN_NO(269) | 0) 628 #define MT7623_PIN_269_G2_RXD0_FUNC_G2_RXD0 (M 497 #define MT7623_PIN_269_G2_RXD0_FUNC_G2_RXD0 (MTK_PIN_NO(269) | 1) 629 498 630 #define MT7623_PIN_270_G2_RXD1_FUNC_GPIO270 (M 499 #define MT7623_PIN_270_G2_RXD1_FUNC_GPIO270 (MTK_PIN_NO(270) | 0) 631 #define MT7623_PIN_270_G2_RXD1_FUNC_G2_RXD1 (M 500 #define MT7623_PIN_270_G2_RXD1_FUNC_G2_RXD1 (MTK_PIN_NO(270) | 1) 632 501 633 #define MT7623_PIN_271_G2_RXD2_FUNC_GPIO271 (M 502 #define MT7623_PIN_271_G2_RXD2_FUNC_GPIO271 (MTK_PIN_NO(271) | 0) 634 #define MT7623_PIN_271_G2_RXD2_FUNC_G2_RXD2 (M 503 #define MT7623_PIN_271_G2_RXD2_FUNC_G2_RXD2 (MTK_PIN_NO(271) | 1) 635 504 636 #define MT7623_PIN_272_G2_RXD3_FUNC_GPIO272 (M 505 #define MT7623_PIN_272_G2_RXD3_FUNC_GPIO272 (MTK_PIN_NO(272) | 0) 637 #define MT7623_PIN_272_G2_RXD3_FUNC_G2_RXD3 (M 506 #define MT7623_PIN_272_G2_RXD3_FUNC_G2_RXD3 (MTK_PIN_NO(272) | 1) 638 507 639 #define MT7623_PIN_274_G2_RXDV_FUNC_GPIO274 (M 508 #define MT7623_PIN_274_G2_RXDV_FUNC_GPIO274 (MTK_PIN_NO(274) | 0) 640 #define MT7623_PIN_274_G2_RXDV_FUNC_G2_RXDV (M 509 #define MT7623_PIN_274_G2_RXDV_FUNC_G2_RXDV (MTK_PIN_NO(274) | 1) 641 510 642 #define MT7623_PIN_275_G2_MDC_FUNC_GPIO275 (MT 511 #define MT7623_PIN_275_G2_MDC_FUNC_GPIO275 (MTK_PIN_NO(275) | 0) 643 #define MT7623_PIN_275_G2_MDC_FUNC_MDC (MTK_PI 512 #define MT7623_PIN_275_G2_MDC_FUNC_MDC (MTK_PIN_NO(275) | 1) 644 513 645 #define MT7623_PIN_276_G2_MDIO_FUNC_GPIO276 (M 514 #define MT7623_PIN_276_G2_MDIO_FUNC_GPIO276 (MTK_PIN_NO(276) | 0) 646 #define MT7623_PIN_276_G2_MDIO_FUNC_MDIO (MTK_ 515 #define MT7623_PIN_276_G2_MDIO_FUNC_MDIO (MTK_PIN_NO(276) | 1) 647 516 648 #define MT7623_PIN_278_JTAG_RESET_FUNC_GPIO278 517 #define MT7623_PIN_278_JTAG_RESET_FUNC_GPIO278 (MTK_PIN_NO(278) | 0) 649 #define MT7623_PIN_278_JTAG_RESET_FUNC_JTAG_RE 518 #define MT7623_PIN_278_JTAG_RESET_FUNC_JTAG_RESET (MTK_PIN_NO(278) | 1) 650 519 651 #endif /* __DTS_MT7623_PINFUNC_H */ 520 #endif /* __DTS_MT7623_PINFUNC_H */ 652 521
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.