162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2019 MediaTek Inc.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef __PINCTRL_MTK_MT8516_H
662306a36Sopenharmony_ci#define __PINCTRL_MTK_MT8516_H
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
962306a36Sopenharmony_ci#include "pinctrl-mtk-common.h"
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cistatic const struct mtk_desc_pin mtk_pins_mt8516[] = {
1262306a36Sopenharmony_ci	MTK_PIN(
1362306a36Sopenharmony_ci		PINCTRL_PIN(0, "EINT0"),
1462306a36Sopenharmony_ci		NULL, "mt8516",
1562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 0),
1662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO0"),
1762306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWM_B"),
1862306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S2_BCK"),
1962306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_TXD0"),
2062306a36Sopenharmony_ci		MTK_FUNCTION(6, "SQICS"),
2162306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[6]")
2262306a36Sopenharmony_ci	),
2362306a36Sopenharmony_ci	MTK_PIN(
2462306a36Sopenharmony_ci		PINCTRL_PIN(1, "EINT1"),
2562306a36Sopenharmony_ci		NULL, "mt8516",
2662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 1),
2762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO1"),
2862306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWM_C"),
2962306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S2_DI"),
3062306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_TXD1"),
3162306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TDO"),
3262306a36Sopenharmony_ci		MTK_FUNCTION(6, "SQISO"),
3362306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[7]")
3462306a36Sopenharmony_ci	),
3562306a36Sopenharmony_ci	MTK_PIN(
3662306a36Sopenharmony_ci		PINCTRL_PIN(2, "EINT2"),
3762306a36Sopenharmony_ci		NULL, "mt8516",
3862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 2),
3962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO2"),
4062306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM0"),
4162306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S2_LRCK"),
4262306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_TXD2"),
4362306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
4462306a36Sopenharmony_ci		MTK_FUNCTION(6, "SQISI"),
4562306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[8]")
4662306a36Sopenharmony_ci	),
4762306a36Sopenharmony_ci	MTK_PIN(
4862306a36Sopenharmony_ci		PINCTRL_PIN(3, "EINT3"),
4962306a36Sopenharmony_ci		NULL, "mt8516",
5062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 3),
5162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO3"),
5262306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM1"),
5362306a36Sopenharmony_ci		MTK_FUNCTION(3, "SPI_MI"),
5462306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_TXD3"),
5562306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
5662306a36Sopenharmony_ci		MTK_FUNCTION(6, "SQIWP"),
5762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[9]")
5862306a36Sopenharmony_ci	),
5962306a36Sopenharmony_ci	MTK_PIN(
6062306a36Sopenharmony_ci		PINCTRL_PIN(4, "EINT4"),
6162306a36Sopenharmony_ci		NULL, "mt8516",
6262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 4),
6362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO4"),
6462306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM2"),
6562306a36Sopenharmony_ci		MTK_FUNCTION(3, "SPI_MO"),
6662306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_TXC"),
6762306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TCK"),
6862306a36Sopenharmony_ci		MTK_FUNCTION(6, "CONN_MCU_AICE_JCKC"),
6962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[10]")
7062306a36Sopenharmony_ci	),
7162306a36Sopenharmony_ci	MTK_PIN(
7262306a36Sopenharmony_ci		PINCTRL_PIN(5, "EINT5"),
7362306a36Sopenharmony_ci		NULL, "mt8516",
7462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 5),
7562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO5"),
7662306a36Sopenharmony_ci		MTK_FUNCTION(1, "UCTS2"),
7762306a36Sopenharmony_ci		MTK_FUNCTION(3, "SPI_CSB"),
7862306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXER"),
7962306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TDI"),
8062306a36Sopenharmony_ci		MTK_FUNCTION(6, "CONN_TEST_CK"),
8162306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[11]")
8262306a36Sopenharmony_ci	),
8362306a36Sopenharmony_ci	MTK_PIN(
8462306a36Sopenharmony_ci		PINCTRL_PIN(6, "EINT6"),
8562306a36Sopenharmony_ci		NULL, "mt8516",
8662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 6),
8762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO6"),
8862306a36Sopenharmony_ci		MTK_FUNCTION(1, "URTS2"),
8962306a36Sopenharmony_ci		MTK_FUNCTION(3, "SPI_CLK"),
9062306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXC"),
9162306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
9262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[12]")
9362306a36Sopenharmony_ci	),
9462306a36Sopenharmony_ci	MTK_PIN(
9562306a36Sopenharmony_ci		PINCTRL_PIN(7, "EINT7"),
9662306a36Sopenharmony_ci		NULL, "mt8516",
9762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 7),
9862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO7"),
9962306a36Sopenharmony_ci		MTK_FUNCTION(1, "SQIRST"),
10062306a36Sopenharmony_ci		MTK_FUNCTION(3, "SDA1_0"),
10162306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXDV"),
10262306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TMS"),
10362306a36Sopenharmony_ci		MTK_FUNCTION(6, "CONN_MCU_AICE_JMSC"),
10462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[13]")
10562306a36Sopenharmony_ci	),
10662306a36Sopenharmony_ci	MTK_PIN(
10762306a36Sopenharmony_ci		PINCTRL_PIN(8, "EINT8"),
10862306a36Sopenharmony_ci		NULL, "mt8516",
10962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 8),
11062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO8"),
11162306a36Sopenharmony_ci		MTK_FUNCTION(1, "SQICK"),
11262306a36Sopenharmony_ci		MTK_FUNCTION(2, "CLKM3"),
11362306a36Sopenharmony_ci		MTK_FUNCTION(3, "SCL1_0"),
11462306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXD0"),
11562306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL0"),
11662306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[14]")
11762306a36Sopenharmony_ci	),
11862306a36Sopenharmony_ci	MTK_PIN(
11962306a36Sopenharmony_ci		PINCTRL_PIN(9, "EINT9"),
12062306a36Sopenharmony_ci		NULL, "mt8516",
12162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 9),
12262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO9"),
12362306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM4"),
12462306a36Sopenharmony_ci		MTK_FUNCTION(2, "SDA2_0"),
12562306a36Sopenharmony_ci		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
12662306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXD1"),
12762306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL1"),
12862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[15]")
12962306a36Sopenharmony_ci	),
13062306a36Sopenharmony_ci	MTK_PIN(
13162306a36Sopenharmony_ci		PINCTRL_PIN(10, "EINT10"),
13262306a36Sopenharmony_ci		NULL, "mt8516",
13362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 10),
13462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO10"),
13562306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM5"),
13662306a36Sopenharmony_ci		MTK_FUNCTION(2, "SCL2_0"),
13762306a36Sopenharmony_ci		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
13862306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_RXD2"),
13962306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL2"),
14062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[16]")
14162306a36Sopenharmony_ci	),
14262306a36Sopenharmony_ci	MTK_PIN(
14362306a36Sopenharmony_ci		PINCTRL_PIN(11, "EINT11"),
14462306a36Sopenharmony_ci		NULL, "mt8516",
14562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 11),
14662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO11"),
14762306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM4"),
14862306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWM_C"),
14962306a36Sopenharmony_ci		MTK_FUNCTION(3, "CONN_TEST_CK"),
15062306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL3"),
15162306a36Sopenharmony_ci		MTK_FUNCTION(6, "EXT_RXD3"),
15262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[17]")
15362306a36Sopenharmony_ci	),
15462306a36Sopenharmony_ci	MTK_PIN(
15562306a36Sopenharmony_ci		PINCTRL_PIN(12, "EINT12"),
15662306a36Sopenharmony_ci		NULL, "mt8516",
15762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 12),
15862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO12"),
15962306a36Sopenharmony_ci		MTK_FUNCTION(1, "CLKM5"),
16062306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWM_A"),
16162306a36Sopenharmony_ci		MTK_FUNCTION(3, "SPDIF_OUT"),
16262306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL4"),
16362306a36Sopenharmony_ci		MTK_FUNCTION(6, "EXT_TXEN"),
16462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[18]")
16562306a36Sopenharmony_ci	),
16662306a36Sopenharmony_ci	MTK_PIN(
16762306a36Sopenharmony_ci		PINCTRL_PIN(13, "EINT13"),
16862306a36Sopenharmony_ci		NULL, "mt8516",
16962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 13),
17062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO13"),
17162306a36Sopenharmony_ci		MTK_FUNCTION(3, "TSF_IN"),
17262306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL5"),
17362306a36Sopenharmony_ci		MTK_FUNCTION(6, "SPDIF_IN"),
17462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[19]")
17562306a36Sopenharmony_ci	),
17662306a36Sopenharmony_ci	MTK_PIN(
17762306a36Sopenharmony_ci		PINCTRL_PIN(14, "EINT14"),
17862306a36Sopenharmony_ci		NULL, "mt8516",
17962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 14),
18062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO14"),
18162306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO1"),
18262306a36Sopenharmony_ci		MTK_FUNCTION(3, "TDM_RX_MCK"),
18362306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL1"),
18462306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
18562306a36Sopenharmony_ci		MTK_FUNCTION(6, "NCLE"),
18662306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[8]")
18762306a36Sopenharmony_ci	),
18862306a36Sopenharmony_ci	MTK_PIN(
18962306a36Sopenharmony_ci		PINCTRL_PIN(15, "EINT15"),
19062306a36Sopenharmony_ci		NULL, "mt8516",
19162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 15),
19262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO15"),
19362306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_LRCK"),
19462306a36Sopenharmony_ci		MTK_FUNCTION(3, "TDM_RX_BCK"),
19562306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL2"),
19662306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
19762306a36Sopenharmony_ci		MTK_FUNCTION(6, "NCEB1"),
19862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[9]")
19962306a36Sopenharmony_ci	),
20062306a36Sopenharmony_ci	MTK_PIN(
20162306a36Sopenharmony_ci		PINCTRL_PIN(16, "EINT16"),
20262306a36Sopenharmony_ci		NULL, "mt8516",
20362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 16),
20462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO16"),
20562306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_BCK"),
20662306a36Sopenharmony_ci		MTK_FUNCTION(3, "TDM_RX_LRCK"),
20762306a36Sopenharmony_ci		MTK_FUNCTION(4, "ANT_SEL3"),
20862306a36Sopenharmony_ci		MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
20962306a36Sopenharmony_ci		MTK_FUNCTION(6, "NCEB0"),
21062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[10]")
21162306a36Sopenharmony_ci	),
21262306a36Sopenharmony_ci	MTK_PIN(
21362306a36Sopenharmony_ci		PINCTRL_PIN(17, "EINT17"),
21462306a36Sopenharmony_ci		NULL, "mt8516",
21562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 17),
21662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO17"),
21762306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_MCK"),
21862306a36Sopenharmony_ci		MTK_FUNCTION(3, "TDM_RX_DI"),
21962306a36Sopenharmony_ci		MTK_FUNCTION(4, "IDDIG"),
22062306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL4"),
22162306a36Sopenharmony_ci		MTK_FUNCTION(6, "NREB"),
22262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[11]")
22362306a36Sopenharmony_ci	),
22462306a36Sopenharmony_ci	MTK_PIN(
22562306a36Sopenharmony_ci		PINCTRL_PIN(18, "EINT18"),
22662306a36Sopenharmony_ci		NULL, "mt8516",
22762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 18),
22862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO18"),
22962306a36Sopenharmony_ci		MTK_FUNCTION(2, "USB_DRVVBUS"),
23062306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_LRCK"),
23162306a36Sopenharmony_ci		MTK_FUNCTION(4, "CLKM1"),
23262306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL3"),
23362306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_BCK"),
23462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[20]")
23562306a36Sopenharmony_ci	),
23662306a36Sopenharmony_ci	MTK_PIN(
23762306a36Sopenharmony_ci		PINCTRL_PIN(19, "EINT19"),
23862306a36Sopenharmony_ci		NULL, "mt8516",
23962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 19),
24062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO19"),
24162306a36Sopenharmony_ci		MTK_FUNCTION(1, "UCTS1"),
24262306a36Sopenharmony_ci		MTK_FUNCTION(2, "IDDIG"),
24362306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_BCK"),
24462306a36Sopenharmony_ci		MTK_FUNCTION(4, "CLKM2"),
24562306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL4"),
24662306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_DI"),
24762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[21]")
24862306a36Sopenharmony_ci	),
24962306a36Sopenharmony_ci	MTK_PIN(
25062306a36Sopenharmony_ci		PINCTRL_PIN(20, "EINT20"),
25162306a36Sopenharmony_ci		NULL, "mt8516",
25262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 20),
25362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO20"),
25462306a36Sopenharmony_ci		MTK_FUNCTION(1, "URTS1"),
25562306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_DO"),
25662306a36Sopenharmony_ci		MTK_FUNCTION(4, "CLKM3"),
25762306a36Sopenharmony_ci		MTK_FUNCTION(5, "ANT_SEL5"),
25862306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_LRCK"),
25962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[22]")
26062306a36Sopenharmony_ci	),
26162306a36Sopenharmony_ci	MTK_PIN(
26262306a36Sopenharmony_ci		PINCTRL_PIN(21, "EINT21"),
26362306a36Sopenharmony_ci		NULL, "mt8516",
26462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 21),
26562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO21"),
26662306a36Sopenharmony_ci		MTK_FUNCTION(1, "NRNB"),
26762306a36Sopenharmony_ci		MTK_FUNCTION(2, "ANT_SEL0"),
26862306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S_8CH_DO4"),
26962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[31]")
27062306a36Sopenharmony_ci	),
27162306a36Sopenharmony_ci	MTK_PIN(
27262306a36Sopenharmony_ci		PINCTRL_PIN(22, "EINT22"),
27362306a36Sopenharmony_ci		NULL, "mt8516",
27462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 22),
27562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO22"),
27662306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO2"),
27762306a36Sopenharmony_ci		MTK_FUNCTION(3, "TSF_IN"),
27862306a36Sopenharmony_ci		MTK_FUNCTION(4, "USB_DRVVBUS"),
27962306a36Sopenharmony_ci		MTK_FUNCTION(5, "SPDIF_OUT"),
28062306a36Sopenharmony_ci		MTK_FUNCTION(6, "NRE_C"),
28162306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[12]")
28262306a36Sopenharmony_ci	),
28362306a36Sopenharmony_ci	MTK_PIN(
28462306a36Sopenharmony_ci		PINCTRL_PIN(23, "EINT23"),
28562306a36Sopenharmony_ci		NULL, "mt8516",
28662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 23),
28762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO23"),
28862306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO3"),
28962306a36Sopenharmony_ci		MTK_FUNCTION(3, "CLKM0"),
29062306a36Sopenharmony_ci		MTK_FUNCTION(4, "IR"),
29162306a36Sopenharmony_ci		MTK_FUNCTION(5, "SPDIF_IN"),
29262306a36Sopenharmony_ci		MTK_FUNCTION(6, "NDQS_C"),
29362306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[13]")
29462306a36Sopenharmony_ci	),
29562306a36Sopenharmony_ci	MTK_PIN(
29662306a36Sopenharmony_ci		PINCTRL_PIN(24, "EINT24"),
29762306a36Sopenharmony_ci		NULL, "mt8516",
29862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 24),
29962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO24"),
30062306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL1"),
30162306a36Sopenharmony_ci		MTK_FUNCTION(4, "UCTS2"),
30262306a36Sopenharmony_ci		MTK_FUNCTION(5, "PWM_A"),
30362306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S0_MCK"),
30462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[0]")
30562306a36Sopenharmony_ci	),
30662306a36Sopenharmony_ci	MTK_PIN(
30762306a36Sopenharmony_ci		PINCTRL_PIN(25, "EINT25"),
30862306a36Sopenharmony_ci		NULL, "mt8516",
30962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 25),
31062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO25"),
31162306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL0"),
31262306a36Sopenharmony_ci		MTK_FUNCTION(4, "URTS2"),
31362306a36Sopenharmony_ci		MTK_FUNCTION(5, "PWM_B"),
31462306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S_8CH_MCK"),
31562306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[1]")
31662306a36Sopenharmony_ci	),
31762306a36Sopenharmony_ci	MTK_PIN(
31862306a36Sopenharmony_ci		PINCTRL_PIN(26, "PWRAP_SPI0_MI"),
31962306a36Sopenharmony_ci		NULL, "mt8516",
32062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 26),
32162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO26"),
32262306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
32362306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWRAP_SPI0_MI")
32462306a36Sopenharmony_ci	),
32562306a36Sopenharmony_ci	MTK_PIN(
32662306a36Sopenharmony_ci		PINCTRL_PIN(27, "PWRAP_SPI0_MO"),
32762306a36Sopenharmony_ci		NULL, "mt8516",
32862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 27),
32962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO27"),
33062306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
33162306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWRAP_SPI0_MO")
33262306a36Sopenharmony_ci	),
33362306a36Sopenharmony_ci	MTK_PIN(
33462306a36Sopenharmony_ci		PINCTRL_PIN(28, "PWRAP_INT"),
33562306a36Sopenharmony_ci		NULL, "mt8516",
33662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 28),
33762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO28"),
33862306a36Sopenharmony_ci		MTK_FUNCTION(1, "I2S0_MCK"),
33962306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S_8CH_MCK"),
34062306a36Sopenharmony_ci		MTK_FUNCTION(5, "I2S2_MCK"),
34162306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S3_MCK")
34262306a36Sopenharmony_ci	),
34362306a36Sopenharmony_ci	MTK_PIN(
34462306a36Sopenharmony_ci		PINCTRL_PIN(29, "PWRAP_SPI0_CK"),
34562306a36Sopenharmony_ci		NULL, "mt8516",
34662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 29),
34762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO29"),
34862306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWRAP_SPI0_CK")
34962306a36Sopenharmony_ci	),
35062306a36Sopenharmony_ci	MTK_PIN(
35162306a36Sopenharmony_ci		PINCTRL_PIN(30, "PWRAP_SPI0_CSN"),
35262306a36Sopenharmony_ci		NULL, "mt8516",
35362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 30),
35462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO30"),
35562306a36Sopenharmony_ci		MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
35662306a36Sopenharmony_ci	),
35762306a36Sopenharmony_ci	MTK_PIN(
35862306a36Sopenharmony_ci		PINCTRL_PIN(31, "RTC32K_CK"),
35962306a36Sopenharmony_ci		NULL, "mt8516",
36062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 31),
36162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO31"),
36262306a36Sopenharmony_ci		MTK_FUNCTION(1, "RTC32K_CK")
36362306a36Sopenharmony_ci	),
36462306a36Sopenharmony_ci	MTK_PIN(
36562306a36Sopenharmony_ci		PINCTRL_PIN(32, "WATCHDOG"),
36662306a36Sopenharmony_ci		NULL, "mt8516",
36762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 32),
36862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO32"),
36962306a36Sopenharmony_ci		MTK_FUNCTION(1, "WATCHDOG")
37062306a36Sopenharmony_ci	),
37162306a36Sopenharmony_ci	MTK_PIN(
37262306a36Sopenharmony_ci		PINCTRL_PIN(33, "SRCLKENA"),
37362306a36Sopenharmony_ci		NULL, "mt8516",
37462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 33),
37562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO33"),
37662306a36Sopenharmony_ci		MTK_FUNCTION(1, "SRCLKENA0")
37762306a36Sopenharmony_ci	),
37862306a36Sopenharmony_ci	MTK_PIN(
37962306a36Sopenharmony_ci		PINCTRL_PIN(34, "URXD2"),
38062306a36Sopenharmony_ci		NULL, "mt8516",
38162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 34),
38262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO34"),
38362306a36Sopenharmony_ci		MTK_FUNCTION(1, "URXD2"),
38462306a36Sopenharmony_ci		MTK_FUNCTION(3, "UTXD2"),
38562306a36Sopenharmony_ci		MTK_FUNCTION(4, "DBG_SCL"),
38662306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_MCK"),
38762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[0]")
38862306a36Sopenharmony_ci	),
38962306a36Sopenharmony_ci	MTK_PIN(
39062306a36Sopenharmony_ci		PINCTRL_PIN(35, "UTXD2"),
39162306a36Sopenharmony_ci		NULL, "mt8516",
39262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 35),
39362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO35"),
39462306a36Sopenharmony_ci		MTK_FUNCTION(1, "UTXD2"),
39562306a36Sopenharmony_ci		MTK_FUNCTION(3, "URXD2"),
39662306a36Sopenharmony_ci		MTK_FUNCTION(4, "DBG_SDA"),
39762306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S3_MCK"),
39862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[1]")
39962306a36Sopenharmony_ci	),
40062306a36Sopenharmony_ci	MTK_PIN(
40162306a36Sopenharmony_ci		PINCTRL_PIN(36, "MRG_CLK"),
40262306a36Sopenharmony_ci		NULL, "mt8516",
40362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 36),
40462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO36"),
40562306a36Sopenharmony_ci		MTK_FUNCTION(1, "MRG_CLK"),
40662306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_BCK"),
40762306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S3_BCK"),
40862306a36Sopenharmony_ci		MTK_FUNCTION(5, "PCM0_CLK"),
40962306a36Sopenharmony_ci		MTK_FUNCTION(6, "IR"),
41062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[2]")
41162306a36Sopenharmony_ci	),
41262306a36Sopenharmony_ci	MTK_PIN(
41362306a36Sopenharmony_ci		PINCTRL_PIN(37, "MRG_SYNC"),
41462306a36Sopenharmony_ci		NULL, "mt8516",
41562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 37),
41662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO37"),
41762306a36Sopenharmony_ci		MTK_FUNCTION(1, "MRG_SYNC"),
41862306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_LRCK"),
41962306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S3_LRCK"),
42062306a36Sopenharmony_ci		MTK_FUNCTION(5, "PCM0_SYNC"),
42162306a36Sopenharmony_ci		MTK_FUNCTION(6, "EXT_COL"),
42262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[3]")
42362306a36Sopenharmony_ci	),
42462306a36Sopenharmony_ci	MTK_PIN(
42562306a36Sopenharmony_ci		PINCTRL_PIN(38, "MRG_DI"),
42662306a36Sopenharmony_ci		NULL, "mt8516",
42762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 38),
42862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO38"),
42962306a36Sopenharmony_ci		MTK_FUNCTION(1, "MRG_DI"),
43062306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_DI"),
43162306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S3_DO"),
43262306a36Sopenharmony_ci		MTK_FUNCTION(5, "PCM0_DI"),
43362306a36Sopenharmony_ci		MTK_FUNCTION(6, "EXT_MDIO"),
43462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[4]")
43562306a36Sopenharmony_ci	),
43662306a36Sopenharmony_ci	MTK_PIN(
43762306a36Sopenharmony_ci		PINCTRL_PIN(39, "MRG_DO"),
43862306a36Sopenharmony_ci		NULL, "mt8516",
43962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 39),
44062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO39"),
44162306a36Sopenharmony_ci		MTK_FUNCTION(1, "MRG_DO"),
44262306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_MCK"),
44362306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S3_MCK"),
44462306a36Sopenharmony_ci		MTK_FUNCTION(5, "PCM0_DO"),
44562306a36Sopenharmony_ci		MTK_FUNCTION(6, "EXT_MDC"),
44662306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[5]")
44762306a36Sopenharmony_ci	),
44862306a36Sopenharmony_ci	MTK_PIN(
44962306a36Sopenharmony_ci		PINCTRL_PIN(40, "KPROW0"),
45062306a36Sopenharmony_ci		NULL, "mt8516",
45162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 40),
45262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO40"),
45362306a36Sopenharmony_ci		MTK_FUNCTION(1, "KPROW0"),
45462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[4]")
45562306a36Sopenharmony_ci	),
45662306a36Sopenharmony_ci	MTK_PIN(
45762306a36Sopenharmony_ci		PINCTRL_PIN(41, "KPROW1"),
45862306a36Sopenharmony_ci		NULL, "mt8516",
45962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 41),
46062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO41"),
46162306a36Sopenharmony_ci		MTK_FUNCTION(1, "KPROW1"),
46262306a36Sopenharmony_ci		MTK_FUNCTION(2, "IDDIG"),
46362306a36Sopenharmony_ci		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
46462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[5]")
46562306a36Sopenharmony_ci	),
46662306a36Sopenharmony_ci	MTK_PIN(
46762306a36Sopenharmony_ci		PINCTRL_PIN(42, "KPCOL0"),
46862306a36Sopenharmony_ci		NULL, "mt8516",
46962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 42),
47062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO42"),
47162306a36Sopenharmony_ci		MTK_FUNCTION(1, "KPCOL0"),
47262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[6]")
47362306a36Sopenharmony_ci	),
47462306a36Sopenharmony_ci	MTK_PIN(
47562306a36Sopenharmony_ci		PINCTRL_PIN(43, "KPCOL1"),
47662306a36Sopenharmony_ci		NULL, "mt8516",
47762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 43),
47862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO43"),
47962306a36Sopenharmony_ci		MTK_FUNCTION(1, "KPCOL1"),
48062306a36Sopenharmony_ci		MTK_FUNCTION(2, "USB_DRVVBUS"),
48162306a36Sopenharmony_ci		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
48262306a36Sopenharmony_ci		MTK_FUNCTION(4, "TSF_IN"),
48362306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[7]")
48462306a36Sopenharmony_ci	),
48562306a36Sopenharmony_ci	MTK_PIN(
48662306a36Sopenharmony_ci		PINCTRL_PIN(44, "JTMS"),
48762306a36Sopenharmony_ci		NULL, "mt8516",
48862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 44),
48962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO44"),
49062306a36Sopenharmony_ci		MTK_FUNCTION(1, "JTMS"),
49162306a36Sopenharmony_ci		MTK_FUNCTION(2, "CONN_MCU_TMS"),
49262306a36Sopenharmony_ci		MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC")
49362306a36Sopenharmony_ci	),
49462306a36Sopenharmony_ci	MTK_PIN(
49562306a36Sopenharmony_ci		PINCTRL_PIN(45, "JTCK"),
49662306a36Sopenharmony_ci		NULL, "mt8516",
49762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 45),
49862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO45"),
49962306a36Sopenharmony_ci		MTK_FUNCTION(1, "JTCK"),
50062306a36Sopenharmony_ci		MTK_FUNCTION(2, "CONN_MCU_TCK"),
50162306a36Sopenharmony_ci		MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC")
50262306a36Sopenharmony_ci	),
50362306a36Sopenharmony_ci	MTK_PIN(
50462306a36Sopenharmony_ci		PINCTRL_PIN(46, "JTDI"),
50562306a36Sopenharmony_ci		NULL, "mt8516",
50662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 46),
50762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO46"),
50862306a36Sopenharmony_ci		MTK_FUNCTION(1, "JTDI"),
50962306a36Sopenharmony_ci		MTK_FUNCTION(2, "CONN_MCU_TDI")
51062306a36Sopenharmony_ci	),
51162306a36Sopenharmony_ci	MTK_PIN(
51262306a36Sopenharmony_ci		PINCTRL_PIN(47, "JTDO"),
51362306a36Sopenharmony_ci		NULL, "mt8516",
51462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 47),
51562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO47"),
51662306a36Sopenharmony_ci		MTK_FUNCTION(1, "JTDO"),
51762306a36Sopenharmony_ci		MTK_FUNCTION(2, "CONN_MCU_TDO")
51862306a36Sopenharmony_ci	),
51962306a36Sopenharmony_ci	MTK_PIN(
52062306a36Sopenharmony_ci		PINCTRL_PIN(48, "SPI_CS"),
52162306a36Sopenharmony_ci		NULL, "mt8516",
52262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 48),
52362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO48"),
52462306a36Sopenharmony_ci		MTK_FUNCTION(1, "SPI_CSB"),
52562306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_DI"),
52662306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S2_BCK"),
52762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[23]")
52862306a36Sopenharmony_ci	),
52962306a36Sopenharmony_ci	MTK_PIN(
53062306a36Sopenharmony_ci		PINCTRL_PIN(49, "SPI_CK"),
53162306a36Sopenharmony_ci		NULL, "mt8516",
53262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 49),
53362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO49"),
53462306a36Sopenharmony_ci		MTK_FUNCTION(1, "SPI_CLK"),
53562306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_LRCK"),
53662306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S2_DI"),
53762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[24]")
53862306a36Sopenharmony_ci	),
53962306a36Sopenharmony_ci	MTK_PIN(
54062306a36Sopenharmony_ci		PINCTRL_PIN(50, "SPI_MI"),
54162306a36Sopenharmony_ci		NULL, "mt8516",
54262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 50),
54362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO50"),
54462306a36Sopenharmony_ci		MTK_FUNCTION(1, "SPI_MI"),
54562306a36Sopenharmony_ci		MTK_FUNCTION(2, "SPI_MO"),
54662306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_BCK"),
54762306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S2_LRCK"),
54862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[25]")
54962306a36Sopenharmony_ci	),
55062306a36Sopenharmony_ci	MTK_PIN(
55162306a36Sopenharmony_ci		PINCTRL_PIN(51, "SPI_MO"),
55262306a36Sopenharmony_ci		NULL, "mt8516",
55362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 51),
55462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO51"),
55562306a36Sopenharmony_ci		MTK_FUNCTION(1, "SPI_MO"),
55662306a36Sopenharmony_ci		MTK_FUNCTION(2, "SPI_MI"),
55762306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_MCK"),
55862306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S2_MCK"),
55962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[26]")
56062306a36Sopenharmony_ci	),
56162306a36Sopenharmony_ci	MTK_PIN(
56262306a36Sopenharmony_ci		PINCTRL_PIN(52, "SDA1"),
56362306a36Sopenharmony_ci		NULL, "mt8516",
56462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 52),
56562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO52"),
56662306a36Sopenharmony_ci		MTK_FUNCTION(1, "SDA1_0")
56762306a36Sopenharmony_ci	),
56862306a36Sopenharmony_ci	MTK_PIN(
56962306a36Sopenharmony_ci		PINCTRL_PIN(53, "SCL1"),
57062306a36Sopenharmony_ci		NULL, "mt8516",
57162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 53),
57262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO53"),
57362306a36Sopenharmony_ci		MTK_FUNCTION(1, "SCL1_0")
57462306a36Sopenharmony_ci	),
57562306a36Sopenharmony_ci	MTK_PIN(
57662306a36Sopenharmony_ci		PINCTRL_PIN(54, "GPIO54"),
57762306a36Sopenharmony_ci		NULL, "mt8516",
57862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 54),
57962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO54"),
58062306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWM_B"),
58162306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[2]")
58262306a36Sopenharmony_ci	),
58362306a36Sopenharmony_ci	MTK_PIN(
58462306a36Sopenharmony_ci		PINCTRL_PIN(55, "I2S_DATA_IN"),
58562306a36Sopenharmony_ci		NULL, "mt8516",
58662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 55),
58762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO55"),
58862306a36Sopenharmony_ci		MTK_FUNCTION(1, "I2S0_DI"),
58962306a36Sopenharmony_ci		MTK_FUNCTION(2, "UCTS0"),
59062306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_DO"),
59162306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S_8CH_DO1"),
59262306a36Sopenharmony_ci		MTK_FUNCTION(5, "PWM_A"),
59362306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_BCK"),
59462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[28]")
59562306a36Sopenharmony_ci	),
59662306a36Sopenharmony_ci	MTK_PIN(
59762306a36Sopenharmony_ci		PINCTRL_PIN(56, "I2S_LRCK"),
59862306a36Sopenharmony_ci		NULL, "mt8516",
59962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 56),
60062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO56"),
60162306a36Sopenharmony_ci		MTK_FUNCTION(1, "I2S0_LRCK"),
60262306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_LRCK"),
60362306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S_8CH_LRCK"),
60462306a36Sopenharmony_ci		MTK_FUNCTION(5, "PWM_B"),
60562306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_DI"),
60662306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[29]")
60762306a36Sopenharmony_ci	),
60862306a36Sopenharmony_ci	MTK_PIN(
60962306a36Sopenharmony_ci		PINCTRL_PIN(57, "I2S_BCK"),
61062306a36Sopenharmony_ci		NULL, "mt8516",
61162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 57),
61262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO57"),
61362306a36Sopenharmony_ci		MTK_FUNCTION(1, "I2S0_BCK"),
61462306a36Sopenharmony_ci		MTK_FUNCTION(2, "URTS0"),
61562306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S3_BCK"),
61662306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S_8CH_BCK"),
61762306a36Sopenharmony_ci		MTK_FUNCTION(5, "PWM_C"),
61862306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S2_LRCK"),
61962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[30]")
62062306a36Sopenharmony_ci	),
62162306a36Sopenharmony_ci	MTK_PIN(
62262306a36Sopenharmony_ci		PINCTRL_PIN(58, "SDA0"),
62362306a36Sopenharmony_ci		NULL, "mt8516",
62462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 58),
62562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO58"),
62662306a36Sopenharmony_ci		MTK_FUNCTION(1, "SDA0_0")
62762306a36Sopenharmony_ci	),
62862306a36Sopenharmony_ci	MTK_PIN(
62962306a36Sopenharmony_ci		PINCTRL_PIN(59, "SCL0"),
63062306a36Sopenharmony_ci		NULL, "mt8516",
63162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 59),
63262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO59"),
63362306a36Sopenharmony_ci		MTK_FUNCTION(1, "SCL0_0")
63462306a36Sopenharmony_ci	),
63562306a36Sopenharmony_ci	MTK_PIN(
63662306a36Sopenharmony_ci		PINCTRL_PIN(60, "SDA2"),
63762306a36Sopenharmony_ci		NULL, "mt8516",
63862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 60),
63962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO60"),
64062306a36Sopenharmony_ci		MTK_FUNCTION(1, "SDA2_0"),
64162306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWM_B")
64262306a36Sopenharmony_ci	),
64362306a36Sopenharmony_ci	MTK_PIN(
64462306a36Sopenharmony_ci		PINCTRL_PIN(61, "SCL2"),
64562306a36Sopenharmony_ci		NULL, "mt8516",
64662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 61),
64762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO61"),
64862306a36Sopenharmony_ci		MTK_FUNCTION(1, "SCL2_0"),
64962306a36Sopenharmony_ci		MTK_FUNCTION(2, "PWM_C")
65062306a36Sopenharmony_ci	),
65162306a36Sopenharmony_ci	MTK_PIN(
65262306a36Sopenharmony_ci		PINCTRL_PIN(62, "URXD0"),
65362306a36Sopenharmony_ci		NULL, "mt8516",
65462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 62),
65562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO62"),
65662306a36Sopenharmony_ci		MTK_FUNCTION(1, "URXD0"),
65762306a36Sopenharmony_ci		MTK_FUNCTION(2, "UTXD0")
65862306a36Sopenharmony_ci	),
65962306a36Sopenharmony_ci	MTK_PIN(
66062306a36Sopenharmony_ci		PINCTRL_PIN(63, "UTXD0"),
66162306a36Sopenharmony_ci		NULL, "mt8516",
66262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 63),
66362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO63"),
66462306a36Sopenharmony_ci		MTK_FUNCTION(1, "UTXD0"),
66562306a36Sopenharmony_ci		MTK_FUNCTION(2, "URXD0")
66662306a36Sopenharmony_ci	),
66762306a36Sopenharmony_ci	MTK_PIN(
66862306a36Sopenharmony_ci		PINCTRL_PIN(64, "URXD1"),
66962306a36Sopenharmony_ci		NULL, "mt8516",
67062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 64),
67162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO64"),
67262306a36Sopenharmony_ci		MTK_FUNCTION(1, "URXD1"),
67362306a36Sopenharmony_ci		MTK_FUNCTION(2, "UTXD1"),
67462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[27]")
67562306a36Sopenharmony_ci	),
67662306a36Sopenharmony_ci	MTK_PIN(
67762306a36Sopenharmony_ci		PINCTRL_PIN(65, "UTXD1"),
67862306a36Sopenharmony_ci		NULL, "mt8516",
67962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 65),
68062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO65"),
68162306a36Sopenharmony_ci		MTK_FUNCTION(1, "UTXD1"),
68262306a36Sopenharmony_ci		MTK_FUNCTION(2, "URXD1"),
68362306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_A[31]")
68462306a36Sopenharmony_ci	),
68562306a36Sopenharmony_ci	MTK_PIN(
68662306a36Sopenharmony_ci		PINCTRL_PIN(66, "LCM_RST"),
68762306a36Sopenharmony_ci		NULL, "mt8516",
68862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 66),
68962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO66"),
69062306a36Sopenharmony_ci		MTK_FUNCTION(1, "LCM_RST"),
69162306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S0_MCK"),
69262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[3]")
69362306a36Sopenharmony_ci	),
69462306a36Sopenharmony_ci	MTK_PIN(
69562306a36Sopenharmony_ci		PINCTRL_PIN(67, "GPIO67"),
69662306a36Sopenharmony_ci		NULL, "mt8516",
69762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 67),
69862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO67"),
69962306a36Sopenharmony_ci		MTK_FUNCTION(3, "I2S_8CH_MCK"),
70062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[14]")
70162306a36Sopenharmony_ci	),
70262306a36Sopenharmony_ci	MTK_PIN(
70362306a36Sopenharmony_ci		PINCTRL_PIN(68, "MSDC2_CMD"),
70462306a36Sopenharmony_ci		NULL, "mt8516",
70562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 68),
70662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO68"),
70762306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_CMD"),
70862306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO4"),
70962306a36Sopenharmony_ci		MTK_FUNCTION(3, "SDA1_0"),
71062306a36Sopenharmony_ci		MTK_FUNCTION(5, "USB_SDA"),
71162306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S3_BCK"),
71262306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[15]")
71362306a36Sopenharmony_ci	),
71462306a36Sopenharmony_ci	MTK_PIN(
71562306a36Sopenharmony_ci		PINCTRL_PIN(69, "MSDC2_CLK"),
71662306a36Sopenharmony_ci		NULL, "mt8516",
71762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 69),
71862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO69"),
71962306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_CLK"),
72062306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO3"),
72162306a36Sopenharmony_ci		MTK_FUNCTION(3, "SCL1_0"),
72262306a36Sopenharmony_ci		MTK_FUNCTION(5, "USB_SCL"),
72362306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S3_LRCK"),
72462306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[16]")
72562306a36Sopenharmony_ci	),
72662306a36Sopenharmony_ci	MTK_PIN(
72762306a36Sopenharmony_ci		PINCTRL_PIN(70, "MSDC2_DAT0"),
72862306a36Sopenharmony_ci		NULL, "mt8516",
72962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 70),
73062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO70"),
73162306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_DAT0"),
73262306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO2"),
73362306a36Sopenharmony_ci		MTK_FUNCTION(5, "UTXD0"),
73462306a36Sopenharmony_ci		MTK_FUNCTION(6, "I2S3_DO"),
73562306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[17]")
73662306a36Sopenharmony_ci	),
73762306a36Sopenharmony_ci	MTK_PIN(
73862306a36Sopenharmony_ci		PINCTRL_PIN(71, "MSDC2_DAT1"),
73962306a36Sopenharmony_ci		NULL, "mt8516",
74062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 71),
74162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO71"),
74262306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_DAT1"),
74362306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_DO1"),
74462306a36Sopenharmony_ci		MTK_FUNCTION(3, "PWM_A"),
74562306a36Sopenharmony_ci		MTK_FUNCTION(4, "I2S3_MCK"),
74662306a36Sopenharmony_ci		MTK_FUNCTION(5, "URXD0"),
74762306a36Sopenharmony_ci		MTK_FUNCTION(6, "PWM_B"),
74862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[18]")
74962306a36Sopenharmony_ci	),
75062306a36Sopenharmony_ci	MTK_PIN(
75162306a36Sopenharmony_ci		PINCTRL_PIN(72, "MSDC2_DAT2"),
75262306a36Sopenharmony_ci		NULL, "mt8516",
75362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 72),
75462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO72"),
75562306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_DAT2"),
75662306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_LRCK"),
75762306a36Sopenharmony_ci		MTK_FUNCTION(3, "SDA2_0"),
75862306a36Sopenharmony_ci		MTK_FUNCTION(5, "UTXD1"),
75962306a36Sopenharmony_ci		MTK_FUNCTION(6, "PWM_C"),
76062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[19]")
76162306a36Sopenharmony_ci	),
76262306a36Sopenharmony_ci	MTK_PIN(
76362306a36Sopenharmony_ci		PINCTRL_PIN(73, "MSDC2_DAT3"),
76462306a36Sopenharmony_ci		NULL, "mt8516",
76562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 73),
76662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO73"),
76762306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC2_DAT3"),
76862306a36Sopenharmony_ci		MTK_FUNCTION(2, "I2S_8CH_BCK"),
76962306a36Sopenharmony_ci		MTK_FUNCTION(3, "SCL2_0"),
77062306a36Sopenharmony_ci		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
77162306a36Sopenharmony_ci		MTK_FUNCTION(5, "URXD1"),
77262306a36Sopenharmony_ci		MTK_FUNCTION(6, "PWM_A"),
77362306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[20]")
77462306a36Sopenharmony_ci	),
77562306a36Sopenharmony_ci	MTK_PIN(
77662306a36Sopenharmony_ci		PINCTRL_PIN(74, "TDN3"),
77762306a36Sopenharmony_ci		NULL, "mt8516",
77862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 74),
77962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO74"),
78062306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDN3")
78162306a36Sopenharmony_ci	),
78262306a36Sopenharmony_ci	MTK_PIN(
78362306a36Sopenharmony_ci		PINCTRL_PIN(75, "TDP3"),
78462306a36Sopenharmony_ci		NULL, "mt8516",
78562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 75),
78662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO75"),
78762306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDP3")
78862306a36Sopenharmony_ci	),
78962306a36Sopenharmony_ci	MTK_PIN(
79062306a36Sopenharmony_ci		PINCTRL_PIN(76, "TDN2"),
79162306a36Sopenharmony_ci		NULL, "mt8516",
79262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 76),
79362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO76"),
79462306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDN2")
79562306a36Sopenharmony_ci	),
79662306a36Sopenharmony_ci	MTK_PIN(
79762306a36Sopenharmony_ci		PINCTRL_PIN(77, "TDP2"),
79862306a36Sopenharmony_ci		NULL, "mt8516",
79962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 77),
80062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO77"),
80162306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDP2")
80262306a36Sopenharmony_ci	),
80362306a36Sopenharmony_ci	MTK_PIN(
80462306a36Sopenharmony_ci		PINCTRL_PIN(78, "TCN"),
80562306a36Sopenharmony_ci		NULL, "mt8516",
80662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 78),
80762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO78"),
80862306a36Sopenharmony_ci		MTK_FUNCTION(1, "TCN")
80962306a36Sopenharmony_ci	),
81062306a36Sopenharmony_ci	MTK_PIN(
81162306a36Sopenharmony_ci		PINCTRL_PIN(79, "TCP"),
81262306a36Sopenharmony_ci		NULL, "mt8516",
81362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 79),
81462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO79"),
81562306a36Sopenharmony_ci		MTK_FUNCTION(1, "TCP")
81662306a36Sopenharmony_ci	),
81762306a36Sopenharmony_ci	MTK_PIN(
81862306a36Sopenharmony_ci		PINCTRL_PIN(80, "TDN1"),
81962306a36Sopenharmony_ci		NULL, "mt8516",
82062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 80),
82162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO80"),
82262306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDN1")
82362306a36Sopenharmony_ci	),
82462306a36Sopenharmony_ci	MTK_PIN(
82562306a36Sopenharmony_ci		PINCTRL_PIN(81, "TDP1"),
82662306a36Sopenharmony_ci		NULL, "mt8516",
82762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 81),
82862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO81"),
82962306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDP1")
83062306a36Sopenharmony_ci	),
83162306a36Sopenharmony_ci	MTK_PIN(
83262306a36Sopenharmony_ci		PINCTRL_PIN(82, "TDN0"),
83362306a36Sopenharmony_ci		NULL, "mt8516",
83462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 82),
83562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO82"),
83662306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDN0")
83762306a36Sopenharmony_ci	),
83862306a36Sopenharmony_ci	MTK_PIN(
83962306a36Sopenharmony_ci		PINCTRL_PIN(83, "TDP0"),
84062306a36Sopenharmony_ci		NULL, "mt8516",
84162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 83),
84262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO83"),
84362306a36Sopenharmony_ci		MTK_FUNCTION(1, "TDP0")
84462306a36Sopenharmony_ci	),
84562306a36Sopenharmony_ci	MTK_PIN(
84662306a36Sopenharmony_ci		PINCTRL_PIN(84, "RDN0"),
84762306a36Sopenharmony_ci		NULL, "mt8516",
84862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 84),
84962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO84"),
85062306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN0")
85162306a36Sopenharmony_ci	),
85262306a36Sopenharmony_ci	MTK_PIN(
85362306a36Sopenharmony_ci		PINCTRL_PIN(85, "RDP0"),
85462306a36Sopenharmony_ci		NULL, "mt8516",
85562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 85),
85662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO85"),
85762306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP0")
85862306a36Sopenharmony_ci	),
85962306a36Sopenharmony_ci	MTK_PIN(
86062306a36Sopenharmony_ci		PINCTRL_PIN(86, "RDN1"),
86162306a36Sopenharmony_ci		NULL, "mt8516",
86262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 86),
86362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO86"),
86462306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN1")
86562306a36Sopenharmony_ci	),
86662306a36Sopenharmony_ci	MTK_PIN(
86762306a36Sopenharmony_ci		PINCTRL_PIN(87, "RDP1"),
86862306a36Sopenharmony_ci		NULL, "mt8516",
86962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 87),
87062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO87"),
87162306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP1")
87262306a36Sopenharmony_ci	),
87362306a36Sopenharmony_ci	MTK_PIN(
87462306a36Sopenharmony_ci		PINCTRL_PIN(88, "RCN"),
87562306a36Sopenharmony_ci		NULL, "mt8516",
87662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 88),
87762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO88"),
87862306a36Sopenharmony_ci		MTK_FUNCTION(1, "RCN")
87962306a36Sopenharmony_ci	),
88062306a36Sopenharmony_ci	MTK_PIN(
88162306a36Sopenharmony_ci		PINCTRL_PIN(89, "RCP"),
88262306a36Sopenharmony_ci		NULL, "mt8516",
88362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 89),
88462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO89"),
88562306a36Sopenharmony_ci		MTK_FUNCTION(1, "RCP")
88662306a36Sopenharmony_ci	),
88762306a36Sopenharmony_ci	MTK_PIN(
88862306a36Sopenharmony_ci		PINCTRL_PIN(90, "RDN2"),
88962306a36Sopenharmony_ci		NULL, "mt8516",
89062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 90),
89162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO90"),
89262306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN2"),
89362306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT8")
89462306a36Sopenharmony_ci	),
89562306a36Sopenharmony_ci	MTK_PIN(
89662306a36Sopenharmony_ci		PINCTRL_PIN(91, "RDP2"),
89762306a36Sopenharmony_ci		NULL, "mt8516",
89862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 91),
89962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO91"),
90062306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP2"),
90162306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT9")
90262306a36Sopenharmony_ci	),
90362306a36Sopenharmony_ci	MTK_PIN(
90462306a36Sopenharmony_ci		PINCTRL_PIN(92, "RDN3"),
90562306a36Sopenharmony_ci		NULL, "mt8516",
90662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 92),
90762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO92"),
90862306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN3"),
90962306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT4")
91062306a36Sopenharmony_ci	),
91162306a36Sopenharmony_ci	MTK_PIN(
91262306a36Sopenharmony_ci		PINCTRL_PIN(93, "RDP3"),
91362306a36Sopenharmony_ci		NULL, "mt8516",
91462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 93),
91562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO93"),
91662306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP3"),
91762306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT5")
91862306a36Sopenharmony_ci	),
91962306a36Sopenharmony_ci	MTK_PIN(
92062306a36Sopenharmony_ci		PINCTRL_PIN(94, "RCN_A"),
92162306a36Sopenharmony_ci		NULL, "mt8516",
92262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 94),
92362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO94"),
92462306a36Sopenharmony_ci		MTK_FUNCTION(1, "RCN_A"),
92562306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT6")
92662306a36Sopenharmony_ci	),
92762306a36Sopenharmony_ci	MTK_PIN(
92862306a36Sopenharmony_ci		PINCTRL_PIN(95, "RCP_A"),
92962306a36Sopenharmony_ci		NULL, "mt8516",
93062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 95),
93162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO95"),
93262306a36Sopenharmony_ci		MTK_FUNCTION(1, "RCP_A"),
93362306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT7")
93462306a36Sopenharmony_ci	),
93562306a36Sopenharmony_ci	MTK_PIN(
93662306a36Sopenharmony_ci		PINCTRL_PIN(96, "RDN1_A"),
93762306a36Sopenharmony_ci		NULL, "mt8516",
93862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 96),
93962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO96"),
94062306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN1_A"),
94162306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT2"),
94262306a36Sopenharmony_ci		MTK_FUNCTION(3, "CMCSD2")
94362306a36Sopenharmony_ci	),
94462306a36Sopenharmony_ci	MTK_PIN(
94562306a36Sopenharmony_ci		PINCTRL_PIN(97, "RDP1_A"),
94662306a36Sopenharmony_ci		NULL, "mt8516",
94762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 97),
94862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO97"),
94962306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP1_A"),
95062306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMDAT3"),
95162306a36Sopenharmony_ci		MTK_FUNCTION(3, "CMCSD3")
95262306a36Sopenharmony_ci	),
95362306a36Sopenharmony_ci	MTK_PIN(
95462306a36Sopenharmony_ci		PINCTRL_PIN(98, "RDN0_A"),
95562306a36Sopenharmony_ci		NULL, "mt8516",
95662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 98),
95762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO98"),
95862306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDN0_A"),
95962306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMHSYNC")
96062306a36Sopenharmony_ci	),
96162306a36Sopenharmony_ci	MTK_PIN(
96262306a36Sopenharmony_ci		PINCTRL_PIN(99, "RDP0_A"),
96362306a36Sopenharmony_ci		NULL, "mt8516",
96462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 99),
96562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO99"),
96662306a36Sopenharmony_ci		MTK_FUNCTION(1, "RDP0_A"),
96762306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMVSYNC")
96862306a36Sopenharmony_ci	),
96962306a36Sopenharmony_ci	MTK_PIN(
97062306a36Sopenharmony_ci		PINCTRL_PIN(100, "CMDAT0"),
97162306a36Sopenharmony_ci		NULL, "mt8516",
97262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 100),
97362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO100"),
97462306a36Sopenharmony_ci		MTK_FUNCTION(1, "CMDAT0"),
97562306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMCSD0"),
97662306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL2"),
97762306a36Sopenharmony_ci		MTK_FUNCTION(5, "TDM_RX_MCK"),
97862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[21]")
97962306a36Sopenharmony_ci	),
98062306a36Sopenharmony_ci	MTK_PIN(
98162306a36Sopenharmony_ci		PINCTRL_PIN(101, "CMDAT1"),
98262306a36Sopenharmony_ci		NULL, "mt8516",
98362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 101),
98462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO101"),
98562306a36Sopenharmony_ci		MTK_FUNCTION(1, "CMDAT1"),
98662306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMCSD1"),
98762306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL3"),
98862306a36Sopenharmony_ci		MTK_FUNCTION(4, "CMFLASH"),
98962306a36Sopenharmony_ci		MTK_FUNCTION(5, "TDM_RX_BCK"),
99062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[22]")
99162306a36Sopenharmony_ci	),
99262306a36Sopenharmony_ci	MTK_PIN(
99362306a36Sopenharmony_ci		PINCTRL_PIN(102, "CMMCLK"),
99462306a36Sopenharmony_ci		NULL, "mt8516",
99562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 102),
99662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO102"),
99762306a36Sopenharmony_ci		MTK_FUNCTION(1, "CMMCLK"),
99862306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL4"),
99962306a36Sopenharmony_ci		MTK_FUNCTION(5, "TDM_RX_LRCK"),
100062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[23]")
100162306a36Sopenharmony_ci	),
100262306a36Sopenharmony_ci	MTK_PIN(
100362306a36Sopenharmony_ci		PINCTRL_PIN(103, "CMPCLK"),
100462306a36Sopenharmony_ci		NULL, "mt8516",
100562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 103),
100662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO103"),
100762306a36Sopenharmony_ci		MTK_FUNCTION(1, "CMPCLK"),
100862306a36Sopenharmony_ci		MTK_FUNCTION(2, "CMCSK"),
100962306a36Sopenharmony_ci		MTK_FUNCTION(3, "ANT_SEL5"),
101062306a36Sopenharmony_ci		MTK_FUNCTION(5, " TDM_RX_DI"),
101162306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[24]")
101262306a36Sopenharmony_ci	),
101362306a36Sopenharmony_ci	MTK_PIN(
101462306a36Sopenharmony_ci		PINCTRL_PIN(104, "MSDC1_CMD"),
101562306a36Sopenharmony_ci		NULL, "mt8516",
101662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 104),
101762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO104"),
101862306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_CMD"),
101962306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQICS"),
102062306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[25]")
102162306a36Sopenharmony_ci	),
102262306a36Sopenharmony_ci	MTK_PIN(
102362306a36Sopenharmony_ci		PINCTRL_PIN(105, "MSDC1_CLK"),
102462306a36Sopenharmony_ci		NULL, "mt8516",
102562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 105),
102662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO105"),
102762306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_CLK"),
102862306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQISO"),
102962306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[26]")
103062306a36Sopenharmony_ci	),
103162306a36Sopenharmony_ci	MTK_PIN(
103262306a36Sopenharmony_ci		PINCTRL_PIN(106, "MSDC1_DAT0"),
103362306a36Sopenharmony_ci		NULL, "mt8516",
103462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 106),
103562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO106"),
103662306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_DAT0"),
103762306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQISI"),
103862306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[27]")
103962306a36Sopenharmony_ci	),
104062306a36Sopenharmony_ci	MTK_PIN(
104162306a36Sopenharmony_ci		PINCTRL_PIN(107, "MSDC1_DAT1"),
104262306a36Sopenharmony_ci		NULL, "mt8516",
104362306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 107),
104462306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO107"),
104562306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_DAT1"),
104662306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQIWP"),
104762306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[28]")
104862306a36Sopenharmony_ci	),
104962306a36Sopenharmony_ci	MTK_PIN(
105062306a36Sopenharmony_ci		PINCTRL_PIN(108, "MSDC1_DAT2"),
105162306a36Sopenharmony_ci		NULL, "mt8516",
105262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 108),
105362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO108"),
105462306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_DAT2"),
105562306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQIRST"),
105662306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[29]")
105762306a36Sopenharmony_ci	),
105862306a36Sopenharmony_ci	MTK_PIN(
105962306a36Sopenharmony_ci		PINCTRL_PIN(109, "MSDC1_DAT3"),
106062306a36Sopenharmony_ci		NULL, "mt8516",
106162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 109),
106262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO109"),
106362306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC1_DAT3"),
106462306a36Sopenharmony_ci		MTK_FUNCTION(4, "SQICK"), /* WIP */
106562306a36Sopenharmony_ci		MTK_FUNCTION(7, "DBG_MON_B[30]")
106662306a36Sopenharmony_ci	),
106762306a36Sopenharmony_ci	MTK_PIN(
106862306a36Sopenharmony_ci		PINCTRL_PIN(110, "MSDC0_DAT7"),
106962306a36Sopenharmony_ci		NULL, "mt8516",
107062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 110),
107162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO110"),
107262306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT7"),
107362306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD7")
107462306a36Sopenharmony_ci	),
107562306a36Sopenharmony_ci	MTK_PIN(
107662306a36Sopenharmony_ci		PINCTRL_PIN(111, "MSDC0_DAT6"),
107762306a36Sopenharmony_ci		NULL, "mt8516",
107862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 111),
107962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO111"),
108062306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT6"),
108162306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD6")
108262306a36Sopenharmony_ci	),
108362306a36Sopenharmony_ci	MTK_PIN(
108462306a36Sopenharmony_ci		PINCTRL_PIN(112, "MSDC0_DAT5"),
108562306a36Sopenharmony_ci		NULL, "mt8516",
108662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 112),
108762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO112"),
108862306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT5"),
108962306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD4")
109062306a36Sopenharmony_ci	),
109162306a36Sopenharmony_ci	MTK_PIN(
109262306a36Sopenharmony_ci		PINCTRL_PIN(113, "MSDC0_DAT4"),
109362306a36Sopenharmony_ci		NULL, "mt8516",
109462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 113),
109562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO113"),
109662306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT4"),
109762306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD3")
109862306a36Sopenharmony_ci	),
109962306a36Sopenharmony_ci	MTK_PIN(
110062306a36Sopenharmony_ci		PINCTRL_PIN(114, "MSDC0_RSTB"),
110162306a36Sopenharmony_ci		NULL, "mt8516",
110262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 114),
110362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO114"),
110462306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_RSTB"),
110562306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD0")
110662306a36Sopenharmony_ci	),
110762306a36Sopenharmony_ci	MTK_PIN(
110862306a36Sopenharmony_ci		PINCTRL_PIN(115, "MSDC0_CMD"),
110962306a36Sopenharmony_ci		NULL, "mt8516",
111062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 115),
111162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO115"),
111262306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_CMD"),
111362306a36Sopenharmony_ci		MTK_FUNCTION(4, "NALE")
111462306a36Sopenharmony_ci	),
111562306a36Sopenharmony_ci	MTK_PIN(
111662306a36Sopenharmony_ci		PINCTRL_PIN(116, "MSDC0_CLK"),
111762306a36Sopenharmony_ci		NULL, "mt8516",
111862306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 116),
111962306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO116"),
112062306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_CLK"),
112162306a36Sopenharmony_ci		MTK_FUNCTION(4, "NWEB")
112262306a36Sopenharmony_ci	),
112362306a36Sopenharmony_ci	MTK_PIN(
112462306a36Sopenharmony_ci		PINCTRL_PIN(117, "MSDC0_DAT3"),
112562306a36Sopenharmony_ci		NULL, "mt8516",
112662306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 117),
112762306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO117"),
112862306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT3"),
112962306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD1")
113062306a36Sopenharmony_ci	),
113162306a36Sopenharmony_ci	MTK_PIN(
113262306a36Sopenharmony_ci		PINCTRL_PIN(118, "MSDC0_DAT2"),
113362306a36Sopenharmony_ci		NULL, "mt8516",
113462306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 118),
113562306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO118"),
113662306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT2"),
113762306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD5")
113862306a36Sopenharmony_ci	),
113962306a36Sopenharmony_ci	MTK_PIN(
114062306a36Sopenharmony_ci		PINCTRL_PIN(119, "MSDC0_DAT1"),
114162306a36Sopenharmony_ci		NULL, "mt8516",
114262306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 119),
114362306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO119"),
114462306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT1"),
114562306a36Sopenharmony_ci		MTK_FUNCTION(4, "NLD8")
114662306a36Sopenharmony_ci	),
114762306a36Sopenharmony_ci	MTK_PIN(
114862306a36Sopenharmony_ci		PINCTRL_PIN(120, "MSDC0_DAT0"),
114962306a36Sopenharmony_ci		NULL, "mt8516",
115062306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 120),
115162306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO120"),
115262306a36Sopenharmony_ci		MTK_FUNCTION(1, "MSDC0_DAT0"),
115362306a36Sopenharmony_ci		MTK_FUNCTION(4, "WATCHDOG"),
115462306a36Sopenharmony_ci		MTK_FUNCTION(5, "NLD2")
115562306a36Sopenharmony_ci	),
115662306a36Sopenharmony_ci	MTK_PIN(
115762306a36Sopenharmony_ci		PINCTRL_PIN(121, "GPIO121"),
115862306a36Sopenharmony_ci		NULL, "mt8516",
115962306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 121),
116062306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO121")
116162306a36Sopenharmony_ci	),
116262306a36Sopenharmony_ci	MTK_PIN(
116362306a36Sopenharmony_ci		PINCTRL_PIN(122, "GPIO122"),
116462306a36Sopenharmony_ci		NULL, "mt8516",
116562306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 122),
116662306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO122")
116762306a36Sopenharmony_ci	),
116862306a36Sopenharmony_ci	MTK_PIN(
116962306a36Sopenharmony_ci		PINCTRL_PIN(123, "GPIO123"),
117062306a36Sopenharmony_ci		NULL, "mt8516",
117162306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 123),
117262306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO123")
117362306a36Sopenharmony_ci	),
117462306a36Sopenharmony_ci	MTK_PIN(
117562306a36Sopenharmony_ci		PINCTRL_PIN(124, "GPIO124"),
117662306a36Sopenharmony_ci		NULL, "mt8516",
117762306a36Sopenharmony_ci		MTK_EINT_FUNCTION(0, 124),
117862306a36Sopenharmony_ci		MTK_FUNCTION(0, "GPIO124")
117962306a36Sopenharmony_ci	),
118062306a36Sopenharmony_ci};
118162306a36Sopenharmony_ci
118262306a36Sopenharmony_ci#endif /* __PINCTRL_MTK_MT8516_H */
1183