11802d0beSThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
241d32cfcSBaolin Wang /*
341d32cfcSBaolin Wang * Spreadtrum pin controller driver
441d32cfcSBaolin Wang * Copyright (C) 2017 Spreadtrum - http://www.spreadtrum.com
541d32cfcSBaolin Wang */
641d32cfcSBaolin Wang
741d32cfcSBaolin Wang #include <linux/module.h>
8ac316725SRandy Dunlap #include <linux/mod_devicetable.h>
941d32cfcSBaolin Wang #include <linux/platform_device.h>
1041d32cfcSBaolin Wang
1141d32cfcSBaolin Wang #include "pinctrl-sprd.h"
1241d32cfcSBaolin Wang
1341d32cfcSBaolin Wang enum sprd_sc9860_pins {
1441d32cfcSBaolin Wang /* pin global control register 0 */
1541d32cfcSBaolin Wang SC9860_VIO28_0_IRTE = SPRD_PIN_INFO(0, GLOBAL_CTRL_PIN, 11, 1, 0),
1641d32cfcSBaolin Wang SC9860_VIO_SD2_IRTE = SPRD_PIN_INFO(1, GLOBAL_CTRL_PIN, 10, 1, 0),
1741d32cfcSBaolin Wang SC9860_VIO_SD0_IRTE = SPRD_PIN_INFO(2, GLOBAL_CTRL_PIN, 9, 1, 0),
1841d32cfcSBaolin Wang SC9860_VIO_SIM2_IRTE = SPRD_PIN_INFO(3, GLOBAL_CTRL_PIN, 8, 1, 0),
1941d32cfcSBaolin Wang SC9860_VIO_SIM1_IRTE = SPRD_PIN_INFO(4, GLOBAL_CTRL_PIN, 7, 1, 0),
2041d32cfcSBaolin Wang SC9860_VIO_SIM0_IRTE = SPRD_PIN_INFO(5, GLOBAL_CTRL_PIN, 6, 1, 0),
2141d32cfcSBaolin Wang SC9860_VIO28_0_MS = SPRD_PIN_INFO(6, GLOBAL_CTRL_PIN, 5, 1, 0),
2241d32cfcSBaolin Wang SC9860_VIO_SD2_MS = SPRD_PIN_INFO(7, GLOBAL_CTRL_PIN, 4, 1, 0),
2341d32cfcSBaolin Wang SC9860_VIO_SD0_MS = SPRD_PIN_INFO(8, GLOBAL_CTRL_PIN, 3, 1, 0),
2441d32cfcSBaolin Wang SC9860_VIO_SIM2_MS = SPRD_PIN_INFO(9, GLOBAL_CTRL_PIN, 2, 1, 0),
2541d32cfcSBaolin Wang SC9860_VIO_SIM1_MS = SPRD_PIN_INFO(10, GLOBAL_CTRL_PIN, 1, 1, 0),
2641d32cfcSBaolin Wang SC9860_VIO_SIM0_MS = SPRD_PIN_INFO(11, GLOBAL_CTRL_PIN, 0, 1, 0),
2741d32cfcSBaolin Wang
2841d32cfcSBaolin Wang /* pin global control register 2 */
2941d32cfcSBaolin Wang SC9860_SPSPI_PIN_IN_SEL = SPRD_PIN_INFO(12, GLOBAL_CTRL_PIN, 31, 1, 2),
3041d32cfcSBaolin Wang SC9860_UART1_USB30_PHY_SEL = SPRD_PIN_INFO(13, GLOBAL_CTRL_PIN, 30, 1, 2),
3141d32cfcSBaolin Wang SC9860_USB30_PHY_DM_OE = SPRD_PIN_INFO(14, GLOBAL_CTRL_PIN, 29, 1, 2),
3241d32cfcSBaolin Wang SC9860_USB30_PHY_DP_OE = SPRD_PIN_INFO(15, GLOBAL_CTRL_PIN, 28, 1, 2),
3341d32cfcSBaolin Wang SC9860_UART5_SYS_SEL = SPRD_PIN_INFO(16, GLOBAL_CTRL_PIN, 25, 3, 2),
3441d32cfcSBaolin Wang SC9860_ORP_URXD_PIN_IN_SEL = SPRD_PIN_INFO(17, GLOBAL_CTRL_PIN, 24, 1, 2),
3541d32cfcSBaolin Wang SC9860_SIM2_SYS_SEL = SPRD_PIN_INFO(18, GLOBAL_CTRL_PIN, 23, 1, 2),
3641d32cfcSBaolin Wang SC9860_SIM1_SYS_SEL = SPRD_PIN_INFO(19, GLOBAL_CTRL_PIN, 22, 1, 2),
3741d32cfcSBaolin Wang SC9860_SIM0_SYS_SEL = SPRD_PIN_INFO(20, GLOBAL_CTRL_PIN, 21, 1, 2),
3841d32cfcSBaolin Wang SC9860_CLK26MHZ_BUF_OUT_SEL = SPRD_PIN_INFO(21, GLOBAL_CTRL_PIN, 20, 1, 2),
3941d32cfcSBaolin Wang SC9860_UART4_SYS_SEL = SPRD_PIN_INFO(22, GLOBAL_CTRL_PIN, 16, 3, 2),
4041d32cfcSBaolin Wang SC9860_UART3_SYS_SEL = SPRD_PIN_INFO(23, GLOBAL_CTRL_PIN, 13, 3, 2),
4141d32cfcSBaolin Wang SC9860_UART2_SYS_SEL = SPRD_PIN_INFO(24, GLOBAL_CTRL_PIN, 10, 3, 2),
4241d32cfcSBaolin Wang SC9860_UART1_SYS_SEL = SPRD_PIN_INFO(25, GLOBAL_CTRL_PIN, 7, 3, 2),
4341d32cfcSBaolin Wang SC9860_UART0_SYS_SEL = SPRD_PIN_INFO(26, GLOBAL_CTRL_PIN, 4, 3, 2),
4441d32cfcSBaolin Wang SC9860_UART24_LOOP_SEL = SPRD_PIN_INFO(27, GLOBAL_CTRL_PIN, 3, 1, 2),
4541d32cfcSBaolin Wang SC9860_UART23_LOOP_SEL = SPRD_PIN_INFO(28, GLOBAL_CTRL_PIN, 2, 1, 2),
4641d32cfcSBaolin Wang SC9860_UART14_LOOP_SEL = SPRD_PIN_INFO(29, GLOBAL_CTRL_PIN, 1, 1, 2),
4741d32cfcSBaolin Wang SC9860_UART13_LOOP_SEL = SPRD_PIN_INFO(30, GLOBAL_CTRL_PIN, 0, 1, 2),
4841d32cfcSBaolin Wang
4941d32cfcSBaolin Wang /* pin global control register 3 */
5041d32cfcSBaolin Wang SC9860_IIS3_SYS_SEL = SPRD_PIN_INFO(31, GLOBAL_CTRL_PIN, 18, 4, 3),
5141d32cfcSBaolin Wang SC9860_IIS2_SYS_SEL = SPRD_PIN_INFO(32, GLOBAL_CTRL_PIN, 14, 4, 3),
5241d32cfcSBaolin Wang SC9860_IIS1_SYS_SEL = SPRD_PIN_INFO(33, GLOBAL_CTRL_PIN, 10, 4, 3),
5341d32cfcSBaolin Wang SC9860_IIS0_SYS_SEL = SPRD_PIN_INFO(34, GLOBAL_CTRL_PIN, 6, 4, 3),
5441d32cfcSBaolin Wang SC9860_IIS23_LOOP_SEL = SPRD_PIN_INFO(35, GLOBAL_CTRL_PIN, 5, 1, 3),
5541d32cfcSBaolin Wang SC9860_IIS13_LOOP_SEL = SPRD_PIN_INFO(36, GLOBAL_CTRL_PIN, 4, 1, 3),
5641d32cfcSBaolin Wang SC9860_IIS12_LOOP_SEL = SPRD_PIN_INFO(37, GLOBAL_CTRL_PIN, 3, 1, 3),
5741d32cfcSBaolin Wang SC9860_IIS03_LOOP_SEL = SPRD_PIN_INFO(38, GLOBAL_CTRL_PIN, 2, 1, 3),
5841d32cfcSBaolin Wang SC9860_IIS02_LOOP_SEL = SPRD_PIN_INFO(39, GLOBAL_CTRL_PIN, 1, 1, 3),
5941d32cfcSBaolin Wang SC9860_IIS01_LOOP_SEL = SPRD_PIN_INFO(40, GLOBAL_CTRL_PIN, 0, 1, 3),
6041d32cfcSBaolin Wang
6141d32cfcSBaolin Wang /* pin global control register 4 */
6241d32cfcSBaolin Wang SC9860_IIS6_SYS_SEL = SPRD_PIN_INFO(41, GLOBAL_CTRL_PIN, 27, 4, 4),
6341d32cfcSBaolin Wang SC9860_IIS5_SYS_SEL = SPRD_PIN_INFO(42, GLOBAL_CTRL_PIN, 23, 4, 4),
6441d32cfcSBaolin Wang SC9860_IIS4_SYS_SEL = SPRD_PIN_INFO(43, GLOBAL_CTRL_PIN, 19, 4, 4),
6541d32cfcSBaolin Wang SC9860_I2C_INF6_SYS_SEL = SPRD_PIN_INFO(44, GLOBAL_CTRL_PIN, 8, 2, 4),
6641d32cfcSBaolin Wang SC9860_I2C_INF4_SYS_SEL = SPRD_PIN_INFO(45, GLOBAL_CTRL_PIN, 6, 2, 4),
6741d32cfcSBaolin Wang SC9860_I2C_INF2_SYS_SEL = SPRD_PIN_INFO(46, GLOBAL_CTRL_PIN, 4, 2, 4),
6841d32cfcSBaolin Wang SC9860_I2C_INF1_SYS_SEL = SPRD_PIN_INFO(47, GLOBAL_CTRL_PIN, 2, 2, 4),
6941d32cfcSBaolin Wang SC9860_I2C_INF0_SYS_SEL = SPRD_PIN_INFO(48, GLOBAL_CTRL_PIN, 0, 2, 4),
7041d32cfcSBaolin Wang
7141d32cfcSBaolin Wang /* pin global control register 5 */
7241d32cfcSBaolin Wang SC9860_GPIO_INF7_SYS_SEL = SPRD_PIN_INFO(49, GLOBAL_CTRL_PIN, 27, 1, 5),
7341d32cfcSBaolin Wang SC9860_GPIO_INF6_SYS_SEL = SPRD_PIN_INFO(50, GLOBAL_CTRL_PIN, 26, 1, 5),
7441d32cfcSBaolin Wang SC9860_GPIO_INF5_SYS_SEL = SPRD_PIN_INFO(51, GLOBAL_CTRL_PIN, 25, 1, 5),
7541d32cfcSBaolin Wang SC9860_GPIO_INF4_SYS_SEL = SPRD_PIN_INFO(52, GLOBAL_CTRL_PIN, 24, 1, 5),
7641d32cfcSBaolin Wang SC9860_GPIO_INF3_SYS_SEL = SPRD_PIN_INFO(53, GLOBAL_CTRL_PIN, 23, 1, 5),
7741d32cfcSBaolin Wang SC9860_GPIO_INF2_SYS_SEL = SPRD_PIN_INFO(54, GLOBAL_CTRL_PIN, 22, 1, 5),
7841d32cfcSBaolin Wang SC9860_GPIO_INF1_SYS_SEL = SPRD_PIN_INFO(55, GLOBAL_CTRL_PIN, 21, 1, 5),
7941d32cfcSBaolin Wang SC9860_GPIO_INF0_SYS_SEL = SPRD_PIN_INFO(56, GLOBAL_CTRL_PIN, 20, 1, 5),
8041d32cfcSBaolin Wang SC9860_WDRST_OUT_SEL = SPRD_PIN_INFO(57, GLOBAL_CTRL_PIN, 16, 3, 5),
8141d32cfcSBaolin Wang SC9860_ADI_SYNC_PIN_OUT_SEL = SPRD_PIN_INFO(58, GLOBAL_CTRL_PIN, 14, 1, 5),
8241d32cfcSBaolin Wang SC9860_CMRST_SEL = SPRD_PIN_INFO(59, GLOBAL_CTRL_PIN, 13, 1, 5),
8341d32cfcSBaolin Wang SC9860_CMPD_SEL = SPRD_PIN_INFO(60, GLOBAL_CTRL_PIN, 12, 1, 5),
8441d32cfcSBaolin Wang SC9860_TEST_DBG_MODE11 = SPRD_PIN_INFO(61, GLOBAL_CTRL_PIN, 11, 1, 5),
8541d32cfcSBaolin Wang SC9860_TEST_DBG_MODE10 = SPRD_PIN_INFO(62, GLOBAL_CTRL_PIN, 10, 1, 5),
8641d32cfcSBaolin Wang SC9860_TEST_DBG_MODE9 = SPRD_PIN_INFO(63, GLOBAL_CTRL_PIN, 9, 1, 5),
8741d32cfcSBaolin Wang SC9860_TEST_DBG_MODE8 = SPRD_PIN_INFO(64, GLOBAL_CTRL_PIN, 8, 1, 5),
8841d32cfcSBaolin Wang SC9860_TEST_DBG_MODE7 = SPRD_PIN_INFO(65, GLOBAL_CTRL_PIN, 7, 1, 5),
8941d32cfcSBaolin Wang SC9860_TEST_DBG_MODE6 = SPRD_PIN_INFO(66, GLOBAL_CTRL_PIN, 6, 1, 5),
9041d32cfcSBaolin Wang SC9860_TEST_DBG_MODE5 = SPRD_PIN_INFO(67, GLOBAL_CTRL_PIN, 5, 1, 5),
9141d32cfcSBaolin Wang SC9860_TEST_DBG_MODE4 = SPRD_PIN_INFO(68, GLOBAL_CTRL_PIN, 4, 1, 5),
9241d32cfcSBaolin Wang SC9860_TEST_DBG_MODE3 = SPRD_PIN_INFO(69, GLOBAL_CTRL_PIN, 3, 1, 5),
9341d32cfcSBaolin Wang SC9860_TEST_DBG_MODE2 = SPRD_PIN_INFO(70, GLOBAL_CTRL_PIN, 2, 1, 5),
9441d32cfcSBaolin Wang SC9860_TEST_DBG_MODE1 = SPRD_PIN_INFO(71, GLOBAL_CTRL_PIN, 1, 1, 5),
9541d32cfcSBaolin Wang SC9860_TEST_DBG_MODE0 = SPRD_PIN_INFO(72, GLOBAL_CTRL_PIN, 0, 1, 5),
9641d32cfcSBaolin Wang
9741d32cfcSBaolin Wang /* pin global control register 6 */
9841d32cfcSBaolin Wang SC9860_SP_EIC_DPAD3_SEL = SPRD_PIN_INFO(73, GLOBAL_CTRL_PIN, 24, 8, 6),
9941d32cfcSBaolin Wang SC9860_SP_EIC_DPAD2_SEL = SPRD_PIN_INFO(74, GLOBAL_CTRL_PIN, 16, 8, 6),
10041d32cfcSBaolin Wang SC9860_SP_EIC_DPAD1_SEL = SPRD_PIN_INFO(75, GLOBAL_CTRL_PIN, 8, 8, 6),
10141d32cfcSBaolin Wang SC9860_SP_EIC_DPAD0_SEL = SPRD_PIN_INFO(76, GLOBAL_CTRL_PIN, 0, 8, 6),
10241d32cfcSBaolin Wang
10341d32cfcSBaolin Wang /* pin global control register 7 */
10441d32cfcSBaolin Wang SC9860_SP_EIC_DPAD7_SEL = SPRD_PIN_INFO(77, GLOBAL_CTRL_PIN, 24, 8, 7),
10541d32cfcSBaolin Wang SC9860_SP_EIC_DPAD6_SEL = SPRD_PIN_INFO(78, GLOBAL_CTRL_PIN, 16, 8, 7),
10641d32cfcSBaolin Wang SC9860_SP_EIC_DPAD5_SEL = SPRD_PIN_INFO(79, GLOBAL_CTRL_PIN, 8, 8, 7),
10741d32cfcSBaolin Wang SC9860_SP_EIC_DPAD4_SEL = SPRD_PIN_INFO(80, GLOBAL_CTRL_PIN, 0, 8, 7),
10841d32cfcSBaolin Wang
10941d32cfcSBaolin Wang /* common pin registers definitions */
11041d32cfcSBaolin Wang SC9860_RFCTL20 = SPRD_PIN_INFO(81, COMMON_PIN, 0, 0, 0),
11141d32cfcSBaolin Wang SC9860_RFCTL21 = SPRD_PIN_INFO(83, COMMON_PIN, 0, 0, 0),
11241d32cfcSBaolin Wang SC9860_RFCTL30 = SPRD_PIN_INFO(85, COMMON_PIN, 0, 0, 0),
11341d32cfcSBaolin Wang SC9860_RFCTL31 = SPRD_PIN_INFO(87, COMMON_PIN, 0, 0, 0),
11441d32cfcSBaolin Wang SC9860_RFCTL32 = SPRD_PIN_INFO(89, COMMON_PIN, 0, 0, 0),
11541d32cfcSBaolin Wang SC9860_RFCTL33 = SPRD_PIN_INFO(91, COMMON_PIN, 0, 0, 0),
11641d32cfcSBaolin Wang SC9860_RFCTL34 = SPRD_PIN_INFO(93, COMMON_PIN, 0, 0, 0),
11741d32cfcSBaolin Wang SC9860_RFCTL35 = SPRD_PIN_INFO(95, COMMON_PIN, 0, 0, 0),
11841d32cfcSBaolin Wang SC9860_RFCTL36 = SPRD_PIN_INFO(97, COMMON_PIN, 0, 0, 0),
11941d32cfcSBaolin Wang SC9860_RFCTL37 = SPRD_PIN_INFO(99, COMMON_PIN, 0, 0, 0),
12041d32cfcSBaolin Wang SC9860_RFCTL22 = SPRD_PIN_INFO(101, COMMON_PIN, 0, 0, 0),
12141d32cfcSBaolin Wang SC9860_RFCTL23 = SPRD_PIN_INFO(103, COMMON_PIN, 0, 0, 0),
12241d32cfcSBaolin Wang SC9860_RFCTL24 = SPRD_PIN_INFO(105, COMMON_PIN, 0, 0, 0),
12341d32cfcSBaolin Wang SC9860_RFCTL25 = SPRD_PIN_INFO(107, COMMON_PIN, 0, 0, 0),
12441d32cfcSBaolin Wang SC9860_RFCTL26 = SPRD_PIN_INFO(109, COMMON_PIN, 0, 0, 0),
12541d32cfcSBaolin Wang SC9860_RFCTL27 = SPRD_PIN_INFO(111, COMMON_PIN, 0, 0, 0),
12641d32cfcSBaolin Wang SC9860_RFCTL28 = SPRD_PIN_INFO(113, COMMON_PIN, 0, 0, 0),
12741d32cfcSBaolin Wang SC9860_RFCTL29 = SPRD_PIN_INFO(115, COMMON_PIN, 0, 0, 0),
12841d32cfcSBaolin Wang SC9860_SCL2 = SPRD_PIN_INFO(117, COMMON_PIN, 0, 0, 0),
12941d32cfcSBaolin Wang SC9860_SDA2 = SPRD_PIN_INFO(119, COMMON_PIN, 0, 0, 0),
13041d32cfcSBaolin Wang SC9860_MTCK_ARM = SPRD_PIN_INFO(121, COMMON_PIN, 0, 0, 0),
13141d32cfcSBaolin Wang SC9860_MTMS_ARM = SPRD_PIN_INFO(123, COMMON_PIN, 0, 0, 0),
13241d32cfcSBaolin Wang SC9860_XTL_EN0 = SPRD_PIN_INFO(125, COMMON_PIN, 0, 0, 0),
13341d32cfcSBaolin Wang SC9860_PTEST = SPRD_PIN_INFO(127, COMMON_PIN, 0, 0, 0),
13441d32cfcSBaolin Wang SC9860_AUD_DAD1 = SPRD_PIN_INFO(129, COMMON_PIN, 0, 0, 0),
13541d32cfcSBaolin Wang SC9860_AUD_ADD0 = SPRD_PIN_INFO(131, COMMON_PIN, 0, 0, 0),
13641d32cfcSBaolin Wang SC9860_AUD_ADSYNC = SPRD_PIN_INFO(133, COMMON_PIN, 0, 0, 0),
13741d32cfcSBaolin Wang SC9860_AUD_SCLK = SPRD_PIN_INFO(135, COMMON_PIN, 0, 0, 0),
13841d32cfcSBaolin Wang SC9860_CHIP_SLEEP = SPRD_PIN_INFO(137, COMMON_PIN, 0, 0, 0),
13941d32cfcSBaolin Wang SC9860_CLK_32K = SPRD_PIN_INFO(139, COMMON_PIN, 0, 0, 0),
14041d32cfcSBaolin Wang SC9860_DCDC_ARM_EN = SPRD_PIN_INFO(141, COMMON_PIN, 0, 0, 0),
14141d32cfcSBaolin Wang SC9860_EXT_RST_B = SPRD_PIN_INFO(143, COMMON_PIN, 0, 0, 0),
14241d32cfcSBaolin Wang SC9860_ADI_D = SPRD_PIN_INFO(145, COMMON_PIN, 0, 0, 0),
14341d32cfcSBaolin Wang SC9860_ADI_SCLK = SPRD_PIN_INFO(147, COMMON_PIN, 0, 0, 0),
14441d32cfcSBaolin Wang SC9860_XTL_EN1 = SPRD_PIN_INFO(149, COMMON_PIN, 0, 0, 0),
14541d32cfcSBaolin Wang SC9860_ANA_INT = SPRD_PIN_INFO(151, COMMON_PIN, 0, 0, 0),
14641d32cfcSBaolin Wang SC9860_AUD_DAD0 = SPRD_PIN_INFO(153, COMMON_PIN, 0, 0, 0),
14741d32cfcSBaolin Wang SC9860_AUD_DASYNC = SPRD_PIN_INFO(155, COMMON_PIN, 0, 0, 0),
14841d32cfcSBaolin Wang SC9860_LCM_RSTN = SPRD_PIN_INFO(157, COMMON_PIN, 0, 0, 0),
14941d32cfcSBaolin Wang SC9860_DSI_TE = SPRD_PIN_INFO(159, COMMON_PIN, 0, 0, 0),
15041d32cfcSBaolin Wang SC9860_PWMA = SPRD_PIN_INFO(161, COMMON_PIN, 0, 0, 0),
15141d32cfcSBaolin Wang SC9860_EXTINT0 = SPRD_PIN_INFO(163, COMMON_PIN, 0, 0, 0),
15241d32cfcSBaolin Wang SC9860_EXTINT1 = SPRD_PIN_INFO(165, COMMON_PIN, 0, 0, 0),
15341d32cfcSBaolin Wang SC9860_SDA1 = SPRD_PIN_INFO(167, COMMON_PIN, 0, 0, 0),
15441d32cfcSBaolin Wang SC9860_SCL1 = SPRD_PIN_INFO(169, COMMON_PIN, 0, 0, 0),
15541d32cfcSBaolin Wang SC9860_SIMCLK2 = SPRD_PIN_INFO(171, COMMON_PIN, 0, 0, 0),
15641d32cfcSBaolin Wang SC9860_SIMDA2 = SPRD_PIN_INFO(173, COMMON_PIN, 0, 0, 0),
15741d32cfcSBaolin Wang SC9860_SIMRST2 = SPRD_PIN_INFO(175, COMMON_PIN, 0, 0, 0),
15841d32cfcSBaolin Wang SC9860_SIMCLK1 = SPRD_PIN_INFO(177, COMMON_PIN, 0, 0, 0),
15941d32cfcSBaolin Wang SC9860_SIMDA1 = SPRD_PIN_INFO(179, COMMON_PIN, 0, 0, 0),
16041d32cfcSBaolin Wang SC9860_SIMRST1 = SPRD_PIN_INFO(181, COMMON_PIN, 0, 0, 0),
16141d32cfcSBaolin Wang SC9860_SIMCLK0 = SPRD_PIN_INFO(183, COMMON_PIN, 0, 0, 0),
16241d32cfcSBaolin Wang SC9860_SIMDA0 = SPRD_PIN_INFO(185, COMMON_PIN, 0, 0, 0),
16341d32cfcSBaolin Wang SC9860_SIMRST0 = SPRD_PIN_INFO(187, COMMON_PIN, 0, 0, 0),
16441d32cfcSBaolin Wang SC9860_SD2_CMD = SPRD_PIN_INFO(189, COMMON_PIN, 0, 0, 0),
16541d32cfcSBaolin Wang SC9860_SD2_D0 = SPRD_PIN_INFO(191, COMMON_PIN, 0, 0, 0),
16641d32cfcSBaolin Wang SC9860_SD2_D1 = SPRD_PIN_INFO(193, COMMON_PIN, 0, 0, 0),
16741d32cfcSBaolin Wang SC9860_SD2_CLK = SPRD_PIN_INFO(195, COMMON_PIN, 0, 0, 0),
16841d32cfcSBaolin Wang SC9860_SD2_D2 = SPRD_PIN_INFO(197, COMMON_PIN, 0, 0, 0),
16941d32cfcSBaolin Wang SC9860_SD2_D3 = SPRD_PIN_INFO(199, COMMON_PIN, 0, 0, 0),
17041d32cfcSBaolin Wang SC9860_SD0_D3 = SPRD_PIN_INFO(201, COMMON_PIN, 0, 0, 0),
17141d32cfcSBaolin Wang SC9860_SD0_D2 = SPRD_PIN_INFO(203, COMMON_PIN, 0, 0, 0),
17241d32cfcSBaolin Wang SC9860_SD0_CMD = SPRD_PIN_INFO(205, COMMON_PIN, 0, 0, 0),
17341d32cfcSBaolin Wang SC9860_SD0_D0 = SPRD_PIN_INFO(207, COMMON_PIN, 0, 0, 0),
17441d32cfcSBaolin Wang SC9860_SD0_D1 = SPRD_PIN_INFO(209, COMMON_PIN, 0, 0, 0),
17541d32cfcSBaolin Wang SC9860_SD0_CLK = SPRD_PIN_INFO(211, COMMON_PIN, 0, 0, 0),
17641d32cfcSBaolin Wang SC9860_EMMC_CMD_reserved = SPRD_PIN_INFO(213, COMMON_PIN, 0, 0, 0),
17741d32cfcSBaolin Wang SC9860_EMMC_CMD = SPRD_PIN_INFO(215, COMMON_PIN, 0, 0, 0),
17841d32cfcSBaolin Wang SC9860_EMMC_D6 = SPRD_PIN_INFO(217, COMMON_PIN, 0, 0, 0),
17941d32cfcSBaolin Wang SC9860_EMMC_D7 = SPRD_PIN_INFO(219, COMMON_PIN, 0, 0, 0),
18041d32cfcSBaolin Wang SC9860_EMMC_CLK = SPRD_PIN_INFO(221, COMMON_PIN, 0, 0, 0),
18141d32cfcSBaolin Wang SC9860_EMMC_D5 = SPRD_PIN_INFO(223, COMMON_PIN, 0, 0, 0),
18241d32cfcSBaolin Wang SC9860_EMMC_D4 = SPRD_PIN_INFO(225, COMMON_PIN, 0, 0, 0),
18341d32cfcSBaolin Wang SC9860_EMMC_DS = SPRD_PIN_INFO(227, COMMON_PIN, 0, 0, 0),
18441d32cfcSBaolin Wang SC9860_EMMC_D3_reserved = SPRD_PIN_INFO(229, COMMON_PIN, 0, 0, 0),
18541d32cfcSBaolin Wang SC9860_EMMC_D3 = SPRD_PIN_INFO(231, COMMON_PIN, 0, 0, 0),
18641d32cfcSBaolin Wang SC9860_EMMC_RST = SPRD_PIN_INFO(233, COMMON_PIN, 0, 0, 0),
18741d32cfcSBaolin Wang SC9860_EMMC_D1 = SPRD_PIN_INFO(235, COMMON_PIN, 0, 0, 0),
18841d32cfcSBaolin Wang SC9860_EMMC_D2 = SPRD_PIN_INFO(237, COMMON_PIN, 0, 0, 0),
18941d32cfcSBaolin Wang SC9860_EMMC_D0 = SPRD_PIN_INFO(239, COMMON_PIN, 0, 0, 0),
19041d32cfcSBaolin Wang SC9860_IIS0DI = SPRD_PIN_INFO(241, COMMON_PIN, 0, 0, 0),
19141d32cfcSBaolin Wang SC9860_IIS0DO = SPRD_PIN_INFO(243, COMMON_PIN, 0, 0, 0),
19241d32cfcSBaolin Wang SC9860_IIS0CLK = SPRD_PIN_INFO(245, COMMON_PIN, 0, 0, 0),
19341d32cfcSBaolin Wang SC9860_IIS0LRCK = SPRD_PIN_INFO(247, COMMON_PIN, 0, 0, 0),
19441d32cfcSBaolin Wang SC9860_SD1_CLK = SPRD_PIN_INFO(249, COMMON_PIN, 0, 0, 0),
19541d32cfcSBaolin Wang SC9860_SD1_CMD = SPRD_PIN_INFO(251, COMMON_PIN, 0, 0, 0),
19641d32cfcSBaolin Wang SC9860_SD1_D0 = SPRD_PIN_INFO(253, COMMON_PIN, 0, 0, 0),
19741d32cfcSBaolin Wang SC9860_SD1_D1 = SPRD_PIN_INFO(255, COMMON_PIN, 0, 0, 0),
19841d32cfcSBaolin Wang SC9860_SD1_D2 = SPRD_PIN_INFO(257, COMMON_PIN, 0, 0, 0),
19941d32cfcSBaolin Wang SC9860_SD1_D3 = SPRD_PIN_INFO(259, COMMON_PIN, 0, 0, 0),
20041d32cfcSBaolin Wang SC9860_CLK_AUX0 = SPRD_PIN_INFO(261, COMMON_PIN, 0, 0, 0),
20141d32cfcSBaolin Wang SC9860_WIFI_COEXIST = SPRD_PIN_INFO(263, COMMON_PIN, 0, 0, 0),
20241d32cfcSBaolin Wang SC9860_BEIDOU_COEXIST = SPRD_PIN_INFO(265, COMMON_PIN, 0, 0, 0),
20341d32cfcSBaolin Wang SC9860_U3TXD = SPRD_PIN_INFO(267, COMMON_PIN, 0, 0, 0),
20441d32cfcSBaolin Wang SC9860_U3RXD = SPRD_PIN_INFO(269, COMMON_PIN, 0, 0, 0),
20541d32cfcSBaolin Wang SC9860_U3CTS = SPRD_PIN_INFO(271, COMMON_PIN, 0, 0, 0),
20641d32cfcSBaolin Wang SC9860_U3RTS = SPRD_PIN_INFO(273, COMMON_PIN, 0, 0, 0),
20741d32cfcSBaolin Wang SC9860_U0TXD = SPRD_PIN_INFO(275, COMMON_PIN, 0, 0, 0),
20841d32cfcSBaolin Wang SC9860_U0RXD = SPRD_PIN_INFO(277, COMMON_PIN, 0, 0, 0),
20941d32cfcSBaolin Wang SC9860_U0CTS = SPRD_PIN_INFO(279, COMMON_PIN, 0, 0, 0),
21041d32cfcSBaolin Wang SC9860_U0RTS = SPRD_PIN_INFO(281, COMMON_PIN, 0, 0, 0),
21141d32cfcSBaolin Wang SC9860_IIS1DI = SPRD_PIN_INFO(283, COMMON_PIN, 0, 0, 0),
21241d32cfcSBaolin Wang SC9860_IIS1DO = SPRD_PIN_INFO(285, COMMON_PIN, 0, 0, 0),
21341d32cfcSBaolin Wang SC9860_IIS1CLK = SPRD_PIN_INFO(287, COMMON_PIN, 0, 0, 0),
21441d32cfcSBaolin Wang SC9860_IIS1LRCK = SPRD_PIN_INFO(289, COMMON_PIN, 0, 0, 0),
21541d32cfcSBaolin Wang SC9860_SPI0_CSN = SPRD_PIN_INFO(291, COMMON_PIN, 0, 0, 0),
21641d32cfcSBaolin Wang SC9860_SPI0_DO = SPRD_PIN_INFO(293, COMMON_PIN, 0, 0, 0),
21741d32cfcSBaolin Wang SC9860_SPI0_DI = SPRD_PIN_INFO(295, COMMON_PIN, 0, 0, 0),
21841d32cfcSBaolin Wang SC9860_SPI0_CLK = SPRD_PIN_INFO(297, COMMON_PIN, 0, 0, 0),
21941d32cfcSBaolin Wang SC9860_U2TXD = SPRD_PIN_INFO(299, COMMON_PIN, 0, 0, 0),
22041d32cfcSBaolin Wang SC9860_U2RXD = SPRD_PIN_INFO(301, COMMON_PIN, 0, 0, 0),
22141d32cfcSBaolin Wang SC9860_U4TXD = SPRD_PIN_INFO(303, COMMON_PIN, 0, 0, 0),
22241d32cfcSBaolin Wang SC9860_U4RXD = SPRD_PIN_INFO(305, COMMON_PIN, 0, 0, 0),
22341d32cfcSBaolin Wang SC9860_CMMCLK1 = SPRD_PIN_INFO(307, COMMON_PIN, 0, 0, 0),
22441d32cfcSBaolin Wang SC9860_CMRST1 = SPRD_PIN_INFO(309, COMMON_PIN, 0, 0, 0),
22541d32cfcSBaolin Wang SC9860_CMMCLK0 = SPRD_PIN_INFO(311, COMMON_PIN, 0, 0, 0),
22641d32cfcSBaolin Wang SC9860_CMRST0 = SPRD_PIN_INFO(313, COMMON_PIN, 0, 0, 0),
22741d32cfcSBaolin Wang SC9860_CMPD0 = SPRD_PIN_INFO(315, COMMON_PIN, 0, 0, 0),
22841d32cfcSBaolin Wang SC9860_CMPD1 = SPRD_PIN_INFO(317, COMMON_PIN, 0, 0, 0),
22941d32cfcSBaolin Wang SC9860_SCL0 = SPRD_PIN_INFO(319, COMMON_PIN, 0, 0, 0),
23041d32cfcSBaolin Wang SC9860_SDA0 = SPRD_PIN_INFO(321, COMMON_PIN, 0, 0, 0),
23141d32cfcSBaolin Wang SC9860_SDA6 = SPRD_PIN_INFO(323, COMMON_PIN, 0, 0, 0),
23241d32cfcSBaolin Wang SC9860_SCL6 = SPRD_PIN_INFO(325, COMMON_PIN, 0, 0, 0),
23341d32cfcSBaolin Wang SC9860_U1TXD = SPRD_PIN_INFO(327, COMMON_PIN, 0, 0, 0),
23441d32cfcSBaolin Wang SC9860_U1RXD = SPRD_PIN_INFO(329, COMMON_PIN, 0, 0, 0),
23541d32cfcSBaolin Wang SC9860_KEYOUT0 = SPRD_PIN_INFO(331, COMMON_PIN, 0, 0, 0),
23641d32cfcSBaolin Wang SC9860_KEYOUT1 = SPRD_PIN_INFO(333, COMMON_PIN, 0, 0, 0),
23741d32cfcSBaolin Wang SC9860_KEYOUT2 = SPRD_PIN_INFO(335, COMMON_PIN, 0, 0, 0),
23841d32cfcSBaolin Wang SC9860_KEYIN0 = SPRD_PIN_INFO(337, COMMON_PIN, 0, 0, 0),
23941d32cfcSBaolin Wang SC9860_KEYIN1 = SPRD_PIN_INFO(339, COMMON_PIN, 0, 0, 0),
24041d32cfcSBaolin Wang SC9860_KEYIN2 = SPRD_PIN_INFO(341, COMMON_PIN, 0, 0, 0),
24141d32cfcSBaolin Wang SC9860_IIS3DI = SPRD_PIN_INFO(343, COMMON_PIN, 0, 0, 0),
24241d32cfcSBaolin Wang SC9860_IIS3DO = SPRD_PIN_INFO(345, COMMON_PIN, 0, 0, 0),
24341d32cfcSBaolin Wang SC9860_IIS3CLK = SPRD_PIN_INFO(347, COMMON_PIN, 0, 0, 0),
24441d32cfcSBaolin Wang SC9860_IIS3LRCK = SPRD_PIN_INFO(349, COMMON_PIN, 0, 0, 0),
24541d32cfcSBaolin Wang SC9860_RFCTL0 = SPRD_PIN_INFO(351, COMMON_PIN, 0, 0, 0),
24641d32cfcSBaolin Wang SC9860_RFCTL1 = SPRD_PIN_INFO(353, COMMON_PIN, 0, 0, 0),
24741d32cfcSBaolin Wang SC9860_RFCTL10 = SPRD_PIN_INFO(355, COMMON_PIN, 0, 0, 0),
24841d32cfcSBaolin Wang SC9860_RFCTL11 = SPRD_PIN_INFO(357, COMMON_PIN, 0, 0, 0),
24941d32cfcSBaolin Wang SC9860_RFCTL12 = SPRD_PIN_INFO(359, COMMON_PIN, 0, 0, 0),
25041d32cfcSBaolin Wang SC9860_RFCTL13 = SPRD_PIN_INFO(361, COMMON_PIN, 0, 0, 0),
25141d32cfcSBaolin Wang SC9860_RFCTL14 = SPRD_PIN_INFO(363, COMMON_PIN, 0, 0, 0),
25241d32cfcSBaolin Wang SC9860_RFCTL15 = SPRD_PIN_INFO(365, COMMON_PIN, 0, 0, 0),
25341d32cfcSBaolin Wang SC9860_RFCTL16 = SPRD_PIN_INFO(367, COMMON_PIN, 0, 0, 0),
25441d32cfcSBaolin Wang SC9860_RFCTL17 = SPRD_PIN_INFO(369, COMMON_PIN, 0, 0, 0),
25541d32cfcSBaolin Wang SC9860_RFCTL18 = SPRD_PIN_INFO(371, COMMON_PIN, 0, 0, 0),
25641d32cfcSBaolin Wang SC9860_RFCTL19 = SPRD_PIN_INFO(373, COMMON_PIN, 0, 0, 0),
25741d32cfcSBaolin Wang SC9860_RFCTL2 = SPRD_PIN_INFO(375, COMMON_PIN, 0, 0, 0),
25841d32cfcSBaolin Wang SC9860_EXTINT5 = SPRD_PIN_INFO(377, COMMON_PIN, 0, 0, 0),
25941d32cfcSBaolin Wang SC9860_EXTINT6 = SPRD_PIN_INFO(379, COMMON_PIN, 0, 0, 0),
26041d32cfcSBaolin Wang SC9860_EXTINT7 = SPRD_PIN_INFO(381, COMMON_PIN, 0, 0, 0),
26141d32cfcSBaolin Wang SC9860_GPIO30 = SPRD_PIN_INFO(383, COMMON_PIN, 0, 0, 0),
26241d32cfcSBaolin Wang SC9860_GPIO31 = SPRD_PIN_INFO(385, COMMON_PIN, 0, 0, 0),
26341d32cfcSBaolin Wang SC9860_GPIO32 = SPRD_PIN_INFO(387, COMMON_PIN, 0, 0, 0),
26441d32cfcSBaolin Wang SC9860_GPIO33 = SPRD_PIN_INFO(389, COMMON_PIN, 0, 0, 0),
26541d32cfcSBaolin Wang SC9860_GPIO34 = SPRD_PIN_INFO(391, COMMON_PIN, 0, 0, 0),
26641d32cfcSBaolin Wang SC9860_RFCTL3 = SPRD_PIN_INFO(393, COMMON_PIN, 0, 0, 0),
26741d32cfcSBaolin Wang SC9860_RFCTL4 = SPRD_PIN_INFO(395, COMMON_PIN, 0, 0, 0),
26841d32cfcSBaolin Wang SC9860_RFCTL5 = SPRD_PIN_INFO(397, COMMON_PIN, 0, 0, 0),
26941d32cfcSBaolin Wang SC9860_RFCTL6 = SPRD_PIN_INFO(399, COMMON_PIN, 0, 0, 0),
27041d32cfcSBaolin Wang SC9860_RFCTL7 = SPRD_PIN_INFO(401, COMMON_PIN, 0, 0, 0),
27141d32cfcSBaolin Wang SC9860_RFCTL8 = SPRD_PIN_INFO(403, COMMON_PIN, 0, 0, 0),
27241d32cfcSBaolin Wang SC9860_RFCTL9 = SPRD_PIN_INFO(405, COMMON_PIN, 0, 0, 0),
27341d32cfcSBaolin Wang SC9860_RFFE0_SCK0 = SPRD_PIN_INFO(407, COMMON_PIN, 0, 0, 0),
27441d32cfcSBaolin Wang SC9860_GPIO38 = SPRD_PIN_INFO(409, COMMON_PIN, 0, 0, 0),
27541d32cfcSBaolin Wang SC9860_RFFE0_SDA0 = SPRD_PIN_INFO(411, COMMON_PIN, 0, 0, 0),
27641d32cfcSBaolin Wang SC9860_GPIO39 = SPRD_PIN_INFO(413, COMMON_PIN, 0, 0, 0),
27741d32cfcSBaolin Wang SC9860_RFFE1_SCK0 = SPRD_PIN_INFO(415, COMMON_PIN, 0, 0, 0),
27841d32cfcSBaolin Wang SC9860_GPIO181 = SPRD_PIN_INFO(417, COMMON_PIN, 0, 0, 0),
27941d32cfcSBaolin Wang SC9860_RFFE1_SDA0 = SPRD_PIN_INFO(419, COMMON_PIN, 0, 0, 0),
28041d32cfcSBaolin Wang SC9860_GPIO182 = SPRD_PIN_INFO(421, COMMON_PIN, 0, 0, 0),
28141d32cfcSBaolin Wang SC9860_RF_LVDS0_ADC_ON = SPRD_PIN_INFO(423, COMMON_PIN, 0, 0, 0),
28241d32cfcSBaolin Wang SC9860_RF_LVDS0_DAC_ON = SPRD_PIN_INFO(425, COMMON_PIN, 0, 0, 0),
28341d32cfcSBaolin Wang SC9860_RFSCK0 = SPRD_PIN_INFO(427, COMMON_PIN, 0, 0, 0),
28441d32cfcSBaolin Wang SC9860_RFSDA0 = SPRD_PIN_INFO(429, COMMON_PIN, 0, 0, 0),
28541d32cfcSBaolin Wang SC9860_RFSEN0 = SPRD_PIN_INFO(431, COMMON_PIN, 0, 0, 0),
28641d32cfcSBaolin Wang SC9860_RF_LVDS1_ADC_ON = SPRD_PIN_INFO(433, COMMON_PIN, 0, 0, 0),
28741d32cfcSBaolin Wang SC9860_RF_LVDS1_DAC_ON = SPRD_PIN_INFO(435, COMMON_PIN, 0, 0, 0),
28841d32cfcSBaolin Wang SC9860_RFSCK1 = SPRD_PIN_INFO(437, COMMON_PIN, 0, 0, 0),
28941d32cfcSBaolin Wang SC9860_RFSDA1 = SPRD_PIN_INFO(439, COMMON_PIN, 0, 0, 0),
29041d32cfcSBaolin Wang SC9860_RFSEN1 = SPRD_PIN_INFO(441, COMMON_PIN, 0, 0, 0),
29141d32cfcSBaolin Wang SC9860_RFCTL38 = SPRD_PIN_INFO(443, COMMON_PIN, 0, 0, 0),
29241d32cfcSBaolin Wang SC9860_RFCTL39 = SPRD_PIN_INFO(445, COMMON_PIN, 0, 0, 0),
29341d32cfcSBaolin Wang
29441d32cfcSBaolin Wang /* MSIC pin registers definitions */
29541d32cfcSBaolin Wang SC9860_RFCTL20_MISC = SPRD_PIN_INFO(82, MISC_PIN, 0, 0, 0),
29641d32cfcSBaolin Wang SC9860_RFCTL21_MISC = SPRD_PIN_INFO(84, MISC_PIN, 0, 0, 0),
29741d32cfcSBaolin Wang SC9860_RFCTL30_MISC = SPRD_PIN_INFO(86, MISC_PIN, 0, 0, 0),
29841d32cfcSBaolin Wang SC9860_RFCTL31_MISC = SPRD_PIN_INFO(88, MISC_PIN, 0, 0, 0),
29941d32cfcSBaolin Wang SC9860_RFCTL32_MISC = SPRD_PIN_INFO(90, MISC_PIN, 0, 0, 0),
30041d32cfcSBaolin Wang SC9860_RFCTL33_MISC = SPRD_PIN_INFO(92, MISC_PIN, 0, 0, 0),
30141d32cfcSBaolin Wang SC9860_RFCTL34_MISC = SPRD_PIN_INFO(94, MISC_PIN, 0, 0, 0),
30241d32cfcSBaolin Wang SC9860_RFCTL35_MISC = SPRD_PIN_INFO(96, MISC_PIN, 0, 0, 0),
30341d32cfcSBaolin Wang SC9860_RFCTL36_MISC = SPRD_PIN_INFO(98, MISC_PIN, 0, 0, 0),
30441d32cfcSBaolin Wang SC9860_RFCTL37_MISC = SPRD_PIN_INFO(100, MISC_PIN, 0, 0, 0),
30541d32cfcSBaolin Wang SC9860_RFCTL22_MISC = SPRD_PIN_INFO(102, MISC_PIN, 0, 0, 0),
30641d32cfcSBaolin Wang SC9860_RFCTL23_MISC = SPRD_PIN_INFO(104, MISC_PIN, 0, 0, 0),
30741d32cfcSBaolin Wang SC9860_RFCTL24_MISC = SPRD_PIN_INFO(106, MISC_PIN, 0, 0, 0),
30841d32cfcSBaolin Wang SC9860_RFCTL25_MISC = SPRD_PIN_INFO(108, MISC_PIN, 0, 0, 0),
30941d32cfcSBaolin Wang SC9860_RFCTL26_MISC = SPRD_PIN_INFO(110, MISC_PIN, 0, 0, 0),
31041d32cfcSBaolin Wang SC9860_RFCTL27_MISC = SPRD_PIN_INFO(112, MISC_PIN, 0, 0, 0),
31141d32cfcSBaolin Wang SC9860_RFCTL28_MISC = SPRD_PIN_INFO(114, MISC_PIN, 0, 0, 0),
31241d32cfcSBaolin Wang SC9860_RFCTL29_MISC = SPRD_PIN_INFO(116, MISC_PIN, 0, 0, 0),
31341d32cfcSBaolin Wang SC9860_SCL2_MISC = SPRD_PIN_INFO(118, MISC_PIN, 0, 0, 0),
31441d32cfcSBaolin Wang SC9860_SDA2_MISC = SPRD_PIN_INFO(120, MISC_PIN, 0, 0, 0),
31541d32cfcSBaolin Wang SC9860_MTCK_ARM_MISC = SPRD_PIN_INFO(122, MISC_PIN, 0, 0, 0),
31641d32cfcSBaolin Wang SC9860_MTMS_ARM_MISC = SPRD_PIN_INFO(124, MISC_PIN, 0, 0, 0),
31741d32cfcSBaolin Wang SC9860_XTL_EN0_MISC = SPRD_PIN_INFO(126, MISC_PIN, 0, 0, 0),
31841d32cfcSBaolin Wang SC9860_PTEST_MISC = SPRD_PIN_INFO(128, MISC_PIN, 0, 0, 0),
31941d32cfcSBaolin Wang SC9860_AUD_DAD1_MISC = SPRD_PIN_INFO(130, MISC_PIN, 0, 0, 0),
32041d32cfcSBaolin Wang SC9860_AUD_ADD0_MISC = SPRD_PIN_INFO(132, MISC_PIN, 0, 0, 0),
32141d32cfcSBaolin Wang SC9860_AUD_ADSYNC_MISC = SPRD_PIN_INFO(134, MISC_PIN, 0, 0, 0),
32241d32cfcSBaolin Wang SC9860_AUD_SCLK_MISC = SPRD_PIN_INFO(136, MISC_PIN, 0, 0, 0),
32341d32cfcSBaolin Wang SC9860_CHIP_SLEEP_MISC = SPRD_PIN_INFO(138, MISC_PIN, 0, 0, 0),
32441d32cfcSBaolin Wang SC9860_CLK_32K_MISC = SPRD_PIN_INFO(140, MISC_PIN, 0, 0, 0),
32541d32cfcSBaolin Wang SC9860_DCDC_ARM_EN_MISC = SPRD_PIN_INFO(142, MISC_PIN, 0, 0, 0),
32641d32cfcSBaolin Wang SC9860_EXT_RST_B_MISC = SPRD_PIN_INFO(144, MISC_PIN, 0, 0, 0),
32741d32cfcSBaolin Wang SC9860_ADI_D_MISC = SPRD_PIN_INFO(146, MISC_PIN, 0, 0, 0),
32841d32cfcSBaolin Wang SC9860_ADI_SCLK_MISC = SPRD_PIN_INFO(148, MISC_PIN, 0, 0, 0),
32941d32cfcSBaolin Wang SC9860_XTL_EN1_MISC = SPRD_PIN_INFO(150, MISC_PIN, 0, 0, 0),
33041d32cfcSBaolin Wang SC9860_ANA_INT_MISC = SPRD_PIN_INFO(152, MISC_PIN, 0, 0, 0),
33141d32cfcSBaolin Wang SC9860_AUD_DAD0_MISC = SPRD_PIN_INFO(154, MISC_PIN, 0, 0, 0),
33241d32cfcSBaolin Wang SC9860_AUD_DASYNC_MISC = SPRD_PIN_INFO(156, MISC_PIN, 0, 0, 0),
33341d32cfcSBaolin Wang SC9860_LCM_RSTN_MISC = SPRD_PIN_INFO(158, MISC_PIN, 0, 0, 0),
33441d32cfcSBaolin Wang SC9860_DSI_TE_MISC = SPRD_PIN_INFO(160, MISC_PIN, 0, 0, 0),
33541d32cfcSBaolin Wang SC9860_PWMA_MISC = SPRD_PIN_INFO(162, MISC_PIN, 0, 0, 0),
33641d32cfcSBaolin Wang SC9860_EXTINT0_MISC = SPRD_PIN_INFO(164, MISC_PIN, 0, 0, 0),
33741d32cfcSBaolin Wang SC9860_EXTINT1_MISC = SPRD_PIN_INFO(166, MISC_PIN, 0, 0, 0),
33841d32cfcSBaolin Wang SC9860_SDA1_MISC = SPRD_PIN_INFO(168, MISC_PIN, 0, 0, 0),
33941d32cfcSBaolin Wang SC9860_SCL1_MISC = SPRD_PIN_INFO(170, MISC_PIN, 0, 0, 0),
34041d32cfcSBaolin Wang SC9860_SIMCLK2_MISC = SPRD_PIN_INFO(172, MISC_PIN, 0, 0, 0),
34141d32cfcSBaolin Wang SC9860_SIMDA2_MISC = SPRD_PIN_INFO(174, MISC_PIN, 0, 0, 0),
34241d32cfcSBaolin Wang SC9860_SIMRST2_MISC = SPRD_PIN_INFO(176, MISC_PIN, 0, 0, 0),
34341d32cfcSBaolin Wang SC9860_SIMCLK1_MISC = SPRD_PIN_INFO(178, MISC_PIN, 0, 0, 0),
34441d32cfcSBaolin Wang SC9860_SIMDA1_MISC = SPRD_PIN_INFO(180, MISC_PIN, 0, 0, 0),
34541d32cfcSBaolin Wang SC9860_SIMRST1_MISC = SPRD_PIN_INFO(182, MISC_PIN, 0, 0, 0),
34641d32cfcSBaolin Wang SC9860_SIMCLK0_MISC = SPRD_PIN_INFO(184, MISC_PIN, 0, 0, 0),
34741d32cfcSBaolin Wang SC9860_SIMDA0_MISC = SPRD_PIN_INFO(186, MISC_PIN, 0, 0, 0),
34841d32cfcSBaolin Wang SC9860_SIMRST0_MISC = SPRD_PIN_INFO(188, MISC_PIN, 0, 0, 0),
34941d32cfcSBaolin Wang SC9860_SD2_CMD_MISC = SPRD_PIN_INFO(190, MISC_PIN, 0, 0, 0),
35041d32cfcSBaolin Wang SC9860_SD2_D0_MISC = SPRD_PIN_INFO(192, MISC_PIN, 0, 0, 0),
35141d32cfcSBaolin Wang SC9860_SD2_D1_MISC = SPRD_PIN_INFO(194, MISC_PIN, 0, 0, 0),
35241d32cfcSBaolin Wang SC9860_SD2_CLK_MISC = SPRD_PIN_INFO(196, MISC_PIN, 0, 0, 0),
35341d32cfcSBaolin Wang SC9860_SD2_D2_MISC = SPRD_PIN_INFO(198, MISC_PIN, 0, 0, 0),
35441d32cfcSBaolin Wang SC9860_SD2_D3_MISC = SPRD_PIN_INFO(200, MISC_PIN, 0, 0, 0),
35541d32cfcSBaolin Wang SC9860_SD0_D3_MISC = SPRD_PIN_INFO(202, MISC_PIN, 0, 0, 0),
35641d32cfcSBaolin Wang SC9860_SD0_D2_MISC = SPRD_PIN_INFO(204, MISC_PIN, 0, 0, 0),
35741d32cfcSBaolin Wang SC9860_SD0_CMD_MISC = SPRD_PIN_INFO(206, MISC_PIN, 0, 0, 0),
35841d32cfcSBaolin Wang SC9860_SD0_D0_MISC = SPRD_PIN_INFO(208, MISC_PIN, 0, 0, 0),
35941d32cfcSBaolin Wang SC9860_SD0_D1_MISC = SPRD_PIN_INFO(210, MISC_PIN, 0, 0, 0),
36041d32cfcSBaolin Wang SC9860_SD0_CLK_MISC = SPRD_PIN_INFO(212, MISC_PIN, 0, 0, 0),
36141d32cfcSBaolin Wang SC9860_EMMC_CMD_reserved_MISC = SPRD_PIN_INFO(214, MISC_PIN, 0, 0, 0),
36241d32cfcSBaolin Wang SC9860_EMMC_CMD_MISC = SPRD_PIN_INFO(216, MISC_PIN, 0, 0, 0),
36341d32cfcSBaolin Wang SC9860_EMMC_D6_MISC = SPRD_PIN_INFO(218, MISC_PIN, 0, 0, 0),
36441d32cfcSBaolin Wang SC9860_EMMC_D7_MISC = SPRD_PIN_INFO(220, MISC_PIN, 0, 0, 0),
36541d32cfcSBaolin Wang SC9860_EMMC_CLK_MISC = SPRD_PIN_INFO(222, MISC_PIN, 0, 0, 0),
36641d32cfcSBaolin Wang SC9860_EMMC_D5_MISC = SPRD_PIN_INFO(224, MISC_PIN, 0, 0, 0),
36741d32cfcSBaolin Wang SC9860_EMMC_D4_MISC = SPRD_PIN_INFO(226, MISC_PIN, 0, 0, 0),
36841d32cfcSBaolin Wang SC9860_EMMC_DS_MISC = SPRD_PIN_INFO(228, MISC_PIN, 0, 0, 0),
36941d32cfcSBaolin Wang SC9860_EMMC_D3_reserved_MISC = SPRD_PIN_INFO(230, MISC_PIN, 0, 0, 0),
37041d32cfcSBaolin Wang SC9860_EMMC_D3_MISC = SPRD_PIN_INFO(232, MISC_PIN, 0, 0, 0),
37141d32cfcSBaolin Wang SC9860_EMMC_RST_MISC = SPRD_PIN_INFO(234, MISC_PIN, 0, 0, 0),
37241d32cfcSBaolin Wang SC9860_EMMC_D1_MISC = SPRD_PIN_INFO(236, MISC_PIN, 0, 0, 0),
37341d32cfcSBaolin Wang SC9860_EMMC_D2_MISC = SPRD_PIN_INFO(238, MISC_PIN, 0, 0, 0),
37441d32cfcSBaolin Wang SC9860_EMMC_D0_MISC = SPRD_PIN_INFO(240, MISC_PIN, 0, 0, 0),
37541d32cfcSBaolin Wang SC9860_IIS0DI_MISC = SPRD_PIN_INFO(242, MISC_PIN, 0, 0, 0),
37641d32cfcSBaolin Wang SC9860_IIS0DO_MISC = SPRD_PIN_INFO(244, MISC_PIN, 0, 0, 0),
37741d32cfcSBaolin Wang SC9860_IIS0CLK_MISC = SPRD_PIN_INFO(246, MISC_PIN, 0, 0, 0),
37841d32cfcSBaolin Wang SC9860_IIS0LRCK_MISC = SPRD_PIN_INFO(248, MISC_PIN, 0, 0, 0),
37941d32cfcSBaolin Wang SC9860_SD1_CLK_MISC = SPRD_PIN_INFO(250, MISC_PIN, 0, 0, 0),
38041d32cfcSBaolin Wang SC9860_SD1_CMD_MISC = SPRD_PIN_INFO(252, MISC_PIN, 0, 0, 0),
38141d32cfcSBaolin Wang SC9860_SD1_D0_MISC = SPRD_PIN_INFO(254, MISC_PIN, 0, 0, 0),
38241d32cfcSBaolin Wang SC9860_SD1_D1_MISC = SPRD_PIN_INFO(256, MISC_PIN, 0, 0, 0),
38341d32cfcSBaolin Wang SC9860_SD1_D2_MISC = SPRD_PIN_INFO(258, MISC_PIN, 0, 0, 0),
38441d32cfcSBaolin Wang SC9860_SD1_D3_MISC = SPRD_PIN_INFO(260, MISC_PIN, 0, 0, 0),
38541d32cfcSBaolin Wang SC9860_CLK_AUX0_MISC = SPRD_PIN_INFO(262, MISC_PIN, 0, 0, 0),
38641d32cfcSBaolin Wang SC9860_WIFI_COEXIST_MISC = SPRD_PIN_INFO(264, MISC_PIN, 0, 0, 0),
38741d32cfcSBaolin Wang SC9860_BEIDOU_COEXIST_MISC = SPRD_PIN_INFO(266, MISC_PIN, 0, 0, 0),
38841d32cfcSBaolin Wang SC9860_U3TXD_MISC = SPRD_PIN_INFO(268, MISC_PIN, 0, 0, 0),
38941d32cfcSBaolin Wang SC9860_U3RXD_MISC = SPRD_PIN_INFO(270, MISC_PIN, 0, 0, 0),
39041d32cfcSBaolin Wang SC9860_U3CTS_MISC = SPRD_PIN_INFO(272, MISC_PIN, 0, 0, 0),
39141d32cfcSBaolin Wang SC9860_U3RTS_MISC = SPRD_PIN_INFO(274, MISC_PIN, 0, 0, 0),
39241d32cfcSBaolin Wang SC9860_U0TXD_MISC = SPRD_PIN_INFO(276, MISC_PIN, 0, 0, 0),
39341d32cfcSBaolin Wang SC9860_U0RXD_MISC = SPRD_PIN_INFO(278, MISC_PIN, 0, 0, 0),
39441d32cfcSBaolin Wang SC9860_U0CTS_MISC = SPRD_PIN_INFO(280, MISC_PIN, 0, 0, 0),
39541d32cfcSBaolin Wang SC9860_U0RTS_MISC = SPRD_PIN_INFO(282, MISC_PIN, 0, 0, 0),
39641d32cfcSBaolin Wang SC9860_IIS1DI_MISC = SPRD_PIN_INFO(284, MISC_PIN, 0, 0, 0),
39741d32cfcSBaolin Wang SC9860_IIS1DO_MISC = SPRD_PIN_INFO(286, MISC_PIN, 0, 0, 0),
39841d32cfcSBaolin Wang SC9860_IIS1CLK_MISC = SPRD_PIN_INFO(288, MISC_PIN, 0, 0, 0),
39941d32cfcSBaolin Wang SC9860_IIS1LRCK_MISC = SPRD_PIN_INFO(290, MISC_PIN, 0, 0, 0),
40041d32cfcSBaolin Wang SC9860_SPI0_CSN_MISC = SPRD_PIN_INFO(292, MISC_PIN, 0, 0, 0),
40141d32cfcSBaolin Wang SC9860_SPI0_DO_MISC = SPRD_PIN_INFO(294, MISC_PIN, 0, 0, 0),
40241d32cfcSBaolin Wang SC9860_SPI0_DI_MISC = SPRD_PIN_INFO(296, MISC_PIN, 0, 0, 0),
40341d32cfcSBaolin Wang SC9860_SPI0_CLK_MISC = SPRD_PIN_INFO(298, MISC_PIN, 0, 0, 0),
40441d32cfcSBaolin Wang SC9860_U2TXD_MISC = SPRD_PIN_INFO(300, MISC_PIN, 0, 0, 0),
40541d32cfcSBaolin Wang SC9860_U2RXD_MISC = SPRD_PIN_INFO(302, MISC_PIN, 0, 0, 0),
40641d32cfcSBaolin Wang SC9860_U4TXD_MISC = SPRD_PIN_INFO(304, MISC_PIN, 0, 0, 0),
40741d32cfcSBaolin Wang SC9860_U4RXD_MISC = SPRD_PIN_INFO(306, MISC_PIN, 0, 0, 0),
40841d32cfcSBaolin Wang SC9860_CMMCLK1_MISC = SPRD_PIN_INFO(308, MISC_PIN, 0, 0, 0),
40941d32cfcSBaolin Wang SC9860_CMRST1_MISC = SPRD_PIN_INFO(310, MISC_PIN, 0, 0, 0),
41041d32cfcSBaolin Wang SC9860_CMMCLK0_MISC = SPRD_PIN_INFO(312, MISC_PIN, 0, 0, 0),
41141d32cfcSBaolin Wang SC9860_CMRST0_MISC = SPRD_PIN_INFO(314, MISC_PIN, 0, 0, 0),
41241d32cfcSBaolin Wang SC9860_CMPD0_MISC = SPRD_PIN_INFO(316, MISC_PIN, 0, 0, 0),
41341d32cfcSBaolin Wang SC9860_CMPD1_MISC = SPRD_PIN_INFO(318, MISC_PIN, 0, 0, 0),
41441d32cfcSBaolin Wang SC9860_SCL0_MISC = SPRD_PIN_INFO(320, MISC_PIN, 0, 0, 0),
41541d32cfcSBaolin Wang SC9860_SDA0_MISC = SPRD_PIN_INFO(322, MISC_PIN, 0, 0, 0),
41641d32cfcSBaolin Wang SC9860_SDA6_MISC = SPRD_PIN_INFO(324, MISC_PIN, 0, 0, 0),
41741d32cfcSBaolin Wang SC9860_SCL6_MISC = SPRD_PIN_INFO(326, MISC_PIN, 0, 0, 0),
41841d32cfcSBaolin Wang SC9860_U1TXD_MISC = SPRD_PIN_INFO(328, MISC_PIN, 0, 0, 0),
41941d32cfcSBaolin Wang SC9860_U1RXD_MISC = SPRD_PIN_INFO(330, MISC_PIN, 0, 0, 0),
42041d32cfcSBaolin Wang SC9860_KEYOUT0_MISC = SPRD_PIN_INFO(332, MISC_PIN, 0, 0, 0),
42141d32cfcSBaolin Wang SC9860_KEYOUT1_MISC = SPRD_PIN_INFO(334, MISC_PIN, 0, 0, 0),
42241d32cfcSBaolin Wang SC9860_KEYOUT2_MISC = SPRD_PIN_INFO(336, MISC_PIN, 0, 0, 0),
42341d32cfcSBaolin Wang SC9860_KEYIN0_MISC = SPRD_PIN_INFO(338, MISC_PIN, 0, 0, 0),
42441d32cfcSBaolin Wang SC9860_KEYIN1_MISC = SPRD_PIN_INFO(340, MISC_PIN, 0, 0, 0),
42541d32cfcSBaolin Wang SC9860_KEYIN2_MISC = SPRD_PIN_INFO(342, MISC_PIN, 0, 0, 0),
42641d32cfcSBaolin Wang SC9860_IIS3DI_MISC = SPRD_PIN_INFO(344, MISC_PIN, 0, 0, 0),
42741d32cfcSBaolin Wang SC9860_IIS3DO_MISC = SPRD_PIN_INFO(346, MISC_PIN, 0, 0, 0),
42841d32cfcSBaolin Wang SC9860_IIS3CLK_MISC = SPRD_PIN_INFO(348, MISC_PIN, 0, 0, 0),
42941d32cfcSBaolin Wang SC9860_IIS3LRCK_MISC = SPRD_PIN_INFO(350, MISC_PIN, 0, 0, 0),
43041d32cfcSBaolin Wang SC9860_RFCTL0_MISC = SPRD_PIN_INFO(352, MISC_PIN, 0, 0, 0),
43141d32cfcSBaolin Wang SC9860_RFCTL1_MISC = SPRD_PIN_INFO(354, MISC_PIN, 0, 0, 0),
43241d32cfcSBaolin Wang SC9860_RFCTL10_MISC = SPRD_PIN_INFO(356, MISC_PIN, 0, 0, 0),
43341d32cfcSBaolin Wang SC9860_RFCTL11_MISC = SPRD_PIN_INFO(358, MISC_PIN, 0, 0, 0),
43441d32cfcSBaolin Wang SC9860_RFCTL12_MISC = SPRD_PIN_INFO(360, MISC_PIN, 0, 0, 0),
43541d32cfcSBaolin Wang SC9860_RFCTL13_MISC = SPRD_PIN_INFO(362, MISC_PIN, 0, 0, 0),
43641d32cfcSBaolin Wang SC9860_RFCTL14_MISC = SPRD_PIN_INFO(364, MISC_PIN, 0, 0, 0),
43741d32cfcSBaolin Wang SC9860_RFCTL15_MISC = SPRD_PIN_INFO(366, MISC_PIN, 0, 0, 0),
43841d32cfcSBaolin Wang SC9860_RFCTL16_MISC = SPRD_PIN_INFO(368, MISC_PIN, 0, 0, 0),
43941d32cfcSBaolin Wang SC9860_RFCTL17_MISC = SPRD_PIN_INFO(370, MISC_PIN, 0, 0, 0),
44041d32cfcSBaolin Wang SC9860_RFCTL18_MISC = SPRD_PIN_INFO(372, MISC_PIN, 0, 0, 0),
44141d32cfcSBaolin Wang SC9860_RFCTL19_MISC = SPRD_PIN_INFO(374, MISC_PIN, 0, 0, 0),
44241d32cfcSBaolin Wang SC9860_RFCTL2_MISC = SPRD_PIN_INFO(376, MISC_PIN, 0, 0, 0),
44341d32cfcSBaolin Wang SC9860_EXTINT5_MISC = SPRD_PIN_INFO(378, MISC_PIN, 0, 0, 0),
44441d32cfcSBaolin Wang SC9860_EXTINT6_MISC = SPRD_PIN_INFO(380, MISC_PIN, 0, 0, 0),
44541d32cfcSBaolin Wang SC9860_EXTINT7_MISC = SPRD_PIN_INFO(382, MISC_PIN, 0, 0, 0),
44641d32cfcSBaolin Wang SC9860_GPIO30_MISC = SPRD_PIN_INFO(384, MISC_PIN, 0, 0, 0),
44741d32cfcSBaolin Wang SC9860_GPIO31_MISC = SPRD_PIN_INFO(386, MISC_PIN, 0, 0, 0),
44841d32cfcSBaolin Wang SC9860_GPIO32_MISC = SPRD_PIN_INFO(388, MISC_PIN, 0, 0, 0),
44941d32cfcSBaolin Wang SC9860_GPIO33_MISC = SPRD_PIN_INFO(390, MISC_PIN, 0, 0, 0),
45041d32cfcSBaolin Wang SC9860_GPIO34_MISC = SPRD_PIN_INFO(392, MISC_PIN, 0, 0, 0),
45141d32cfcSBaolin Wang SC9860_RFCTL3_MISC = SPRD_PIN_INFO(394, MISC_PIN, 0, 0, 0),
45241d32cfcSBaolin Wang SC9860_RFCTL4_MISC = SPRD_PIN_INFO(396, MISC_PIN, 0, 0, 0),
45341d32cfcSBaolin Wang SC9860_RFCTL5_MISC = SPRD_PIN_INFO(398, MISC_PIN, 0, 0, 0),
45441d32cfcSBaolin Wang SC9860_RFCTL6_MISC = SPRD_PIN_INFO(400, MISC_PIN, 0, 0, 0),
45541d32cfcSBaolin Wang SC9860_RFCTL7_MISC = SPRD_PIN_INFO(402, MISC_PIN, 0, 0, 0),
45641d32cfcSBaolin Wang SC9860_RFCTL8_MISC = SPRD_PIN_INFO(404, MISC_PIN, 0, 0, 0),
45741d32cfcSBaolin Wang SC9860_RFCTL9_MISC = SPRD_PIN_INFO(406, MISC_PIN, 0, 0, 0),
45841d32cfcSBaolin Wang SC9860_RFFE0_SCK0_MISC = SPRD_PIN_INFO(408, MISC_PIN, 0, 0, 0),
45941d32cfcSBaolin Wang SC9860_GPIO38_MISC = SPRD_PIN_INFO(410, MISC_PIN, 0, 0, 0),
46041d32cfcSBaolin Wang SC9860_RFFE0_SDA0_MISC = SPRD_PIN_INFO(412, MISC_PIN, 0, 0, 0),
46141d32cfcSBaolin Wang SC9860_GPIO39_MISC = SPRD_PIN_INFO(414, MISC_PIN, 0, 0, 0),
46241d32cfcSBaolin Wang SC9860_RFFE1_SCK0_MISC = SPRD_PIN_INFO(416, MISC_PIN, 0, 0, 0),
46341d32cfcSBaolin Wang SC9860_GPIO181_MISC = SPRD_PIN_INFO(418, MISC_PIN, 0, 0, 0),
46441d32cfcSBaolin Wang SC9860_RFFE1_SDA0_MISC = SPRD_PIN_INFO(420, MISC_PIN, 0, 0, 0),
46541d32cfcSBaolin Wang SC9860_GPIO182_MISC = SPRD_PIN_INFO(422, MISC_PIN, 0, 0, 0),
46641d32cfcSBaolin Wang SC9860_RF_LVDS0_ADC_ON_MISC = SPRD_PIN_INFO(424, MISC_PIN, 0, 0, 0),
46741d32cfcSBaolin Wang SC9860_RF_LVDS0_DAC_ON_MISC = SPRD_PIN_INFO(426, MISC_PIN, 0, 0, 0),
46841d32cfcSBaolin Wang SC9860_RFSCK0_MISC = SPRD_PIN_INFO(428, MISC_PIN, 0, 0, 0),
46941d32cfcSBaolin Wang SC9860_RFSDA0_MISC = SPRD_PIN_INFO(430, MISC_PIN, 0, 0, 0),
47041d32cfcSBaolin Wang SC9860_RFSEN0_MISC = SPRD_PIN_INFO(432, MISC_PIN, 0, 0, 0),
47141d32cfcSBaolin Wang SC9860_RF_LVDS1_ADC_ON_MISC = SPRD_PIN_INFO(434, MISC_PIN, 0, 0, 0),
47241d32cfcSBaolin Wang SC9860_RF_LVDS1_DAC_ON_MISC = SPRD_PIN_INFO(436, MISC_PIN, 0, 0, 0),
47341d32cfcSBaolin Wang SC9860_RFSCK1_MISC = SPRD_PIN_INFO(438, MISC_PIN, 0, 0, 0),
47441d32cfcSBaolin Wang SC9860_RFSDA1_MISC = SPRD_PIN_INFO(440, MISC_PIN, 0, 0, 0),
47541d32cfcSBaolin Wang SC9860_RFSEN1_MISC = SPRD_PIN_INFO(442, MISC_PIN, 0, 0, 0),
47641d32cfcSBaolin Wang SC9860_RFCTL38_MISC = SPRD_PIN_INFO(444, MISC_PIN, 0, 0, 0),
47741d32cfcSBaolin Wang SC9860_RFCTL39_MISC = SPRD_PIN_INFO(446, MISC_PIN, 0, 0, 0),
47841d32cfcSBaolin Wang };
47941d32cfcSBaolin Wang
48041d32cfcSBaolin Wang static struct sprd_pins_info sprd_sc9860_pins_info[] = {
48141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO28_0_IRTE),
48241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SD2_IRTE),
48341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SD0_IRTE),
48441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM2_IRTE),
48541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM1_IRTE),
48641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM0_IRTE),
48741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO28_0_MS),
48841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SD2_MS),
48941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SD0_MS),
49041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM2_MS),
49141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM1_MS),
49241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_VIO_SIM0_MS),
49341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPSPI_PIN_IN_SEL),
49441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART1_USB30_PHY_SEL),
49541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_USB30_PHY_DM_OE),
49641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_USB30_PHY_DP_OE),
49741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART5_SYS_SEL),
49841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ORP_URXD_PIN_IN_SEL),
49941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIM2_SYS_SEL),
50041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIM1_SYS_SEL),
50141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIM0_SYS_SEL),
50241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CLK26MHZ_BUF_OUT_SEL),
50341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART4_SYS_SEL),
50441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART3_SYS_SEL),
50541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART2_SYS_SEL),
50641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART1_SYS_SEL),
50741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART0_SYS_SEL),
50841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART24_LOOP_SEL),
50941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART23_LOOP_SEL),
51041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART14_LOOP_SEL),
51141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_UART13_LOOP_SEL),
51241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3_SYS_SEL),
51341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS2_SYS_SEL),
51441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1_SYS_SEL),
51541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0_SYS_SEL),
51641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS23_LOOP_SEL),
51741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS13_LOOP_SEL),
51841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS12_LOOP_SEL),
51941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS03_LOOP_SEL),
52041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS02_LOOP_SEL),
52141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS01_LOOP_SEL),
52241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS6_SYS_SEL),
52341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS5_SYS_SEL),
52441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS4_SYS_SEL),
52541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_I2C_INF6_SYS_SEL),
52641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_I2C_INF4_SYS_SEL),
52741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_I2C_INF2_SYS_SEL),
52841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_I2C_INF1_SYS_SEL),
52941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_I2C_INF0_SYS_SEL),
53041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF7_SYS_SEL),
53141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF6_SYS_SEL),
53241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF5_SYS_SEL),
53341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF4_SYS_SEL),
53441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF3_SYS_SEL),
53541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF2_SYS_SEL),
53641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF1_SYS_SEL),
53741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO_INF0_SYS_SEL),
53841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_WDRST_OUT_SEL),
53941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ADI_SYNC_PIN_OUT_SEL),
54041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMRST_SEL),
54141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMPD_SEL),
54241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE11),
54341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE10),
54441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE9),
54541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE8),
54641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE7),
54741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE6),
54841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE5),
54941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE4),
55041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE3),
55141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE2),
55241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE1),
55341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_TEST_DBG_MODE0),
55441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD3_SEL),
55541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD2_SEL),
55641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD1_SEL),
55741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD0_SEL),
55841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD7_SEL),
55941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD6_SEL),
56041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD5_SEL),
56141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SP_EIC_DPAD4_SEL),
56241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL20),
56341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL21),
56441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL30),
56541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL31),
56641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL32),
56741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL33),
56841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL34),
56941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL35),
57041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL36),
57141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL37),
57241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL22),
57341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL23),
57441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL24),
57541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL25),
57641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL26),
57741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL27),
57841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL28),
57941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL29),
58041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL2),
58141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA2),
58241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_MTCK_ARM),
58341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_MTMS_ARM),
58441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_XTL_EN0),
58541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_PTEST),
58641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DAD1),
58741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_ADD0),
58841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_ADSYNC),
58941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_SCLK),
59041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CHIP_SLEEP),
59141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CLK_32K),
59241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_DCDC_ARM_EN),
59341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXT_RST_B),
59441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ADI_D),
59541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ADI_SCLK),
59641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_XTL_EN1),
59741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ANA_INT),
59841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DAD0),
59941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DASYNC),
60041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_LCM_RSTN),
60141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_DSI_TE),
60241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_PWMA),
60341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT0),
60441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT1),
60541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA1),
60641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL1),
60741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK2),
60841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA2),
60941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST2),
61041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK1),
61141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA1),
61241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST1),
61341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK0),
61441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA0),
61541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST0),
61641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_CMD),
61741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D0),
61841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D1),
61941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_CLK),
62041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D2),
62141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D3),
62241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D3),
62341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D2),
62441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_CMD),
62541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D0),
62641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D1),
62741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_CLK),
62841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_CMD),
62941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D6),
63041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D7),
63141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_CLK),
63241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D5),
63341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D4),
63441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_DS),
63541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D3),
63641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_RST),
63741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D1),
63841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D2),
63941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D0),
64041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0DI),
64141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0DO),
64241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0CLK),
64341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0LRCK),
64441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_CLK),
64541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_CMD),
64641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D0),
64741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D1),
64841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D2),
64941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D3),
65041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CLK_AUX0),
65141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_WIFI_COEXIST),
65241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_BEIDOU_COEXIST),
65341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3TXD),
65441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3RXD),
65541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3CTS),
65641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3RTS),
65741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0TXD),
65841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0RXD),
65941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0CTS),
66041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0RTS),
66141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1DI),
66241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1DO),
66341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1CLK),
66441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1LRCK),
66541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_CSN),
66641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_DO),
66741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_DI),
66841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_CLK),
66941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U2TXD),
67041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U2RXD),
67141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U4TXD),
67241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U4RXD),
67341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMMCLK1),
67441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMRST1),
67541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMMCLK0),
67641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMRST0),
67741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMPD0),
67841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMPD1),
67941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL0),
68041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA0),
68141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA6),
68241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL6),
68341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U1TXD),
68441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U1RXD),
68541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT0),
68641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT1),
68741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT2),
68841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN0),
68941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN1),
69041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN2),
69141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3DI),
69241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3DO),
69341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3CLK),
69441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3LRCK),
69541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL0),
69641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL1),
69741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL10),
69841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL11),
69941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL12),
70041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL13),
70141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL14),
70241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL15),
70341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL16),
70441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL17),
70541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL18),
70641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL19),
70741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL2),
70841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT5),
70941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT6),
71041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT7),
71141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO30),
71241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO31),
71341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO32),
71441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO33),
71541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO34),
71641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL3),
71741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL4),
71841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL5),
71941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL6),
72041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL7),
72141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL8),
72241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL9),
72341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE0_SCK0),
72441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO38),
72541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE0_SDA0),
72641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO39),
72741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE1_SCK0),
72841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO181),
72941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE1_SDA0),
73041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO182),
73141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS0_ADC_ON),
73241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS0_DAC_ON),
73341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSCK0),
73441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSDA0),
73541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSEN0),
73641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS1_ADC_ON),
73741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS1_DAC_ON),
73841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSCK1),
73941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSDA1),
74041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSEN1),
74141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL38),
74241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL39),
74341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL20_MISC),
74441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL21_MISC),
74541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL30_MISC),
74641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL31_MISC),
74741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL32_MISC),
74841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL33_MISC),
74941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL34_MISC),
75041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL35_MISC),
75141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL36_MISC),
75241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL37_MISC),
75341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL22_MISC),
75441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL23_MISC),
75541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL24_MISC),
75641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL25_MISC),
75741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL26_MISC),
75841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL27_MISC),
75941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL28_MISC),
76041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL29_MISC),
76141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL2_MISC),
76241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA2_MISC),
76341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_MTCK_ARM_MISC),
76441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_MTMS_ARM_MISC),
76541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_XTL_EN0_MISC),
76641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_PTEST_MISC),
76741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DAD1_MISC),
76841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_ADD0_MISC),
76941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_ADSYNC_MISC),
77041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_SCLK_MISC),
77141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CHIP_SLEEP_MISC),
77241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CLK_32K_MISC),
77341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_DCDC_ARM_EN_MISC),
77441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXT_RST_B_MISC),
77541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ADI_D_MISC),
77641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ADI_SCLK_MISC),
77741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_XTL_EN1_MISC),
77841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_ANA_INT_MISC),
77941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DAD0_MISC),
78041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_AUD_DASYNC_MISC),
78141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_LCM_RSTN_MISC),
78241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_DSI_TE_MISC),
78341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_PWMA_MISC),
78441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT0_MISC),
78541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT1_MISC),
78641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA1_MISC),
78741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL1_MISC),
78841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK2_MISC),
78941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA2_MISC),
79041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST2_MISC),
79141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK1_MISC),
79241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA1_MISC),
79341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST1_MISC),
79441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMCLK0_MISC),
79541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMDA0_MISC),
79641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SIMRST0_MISC),
79741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_CMD_MISC),
79841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D0_MISC),
79941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D1_MISC),
80041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_CLK_MISC),
80141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D2_MISC),
80241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD2_D3_MISC),
80341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D3_MISC),
80441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D2_MISC),
80541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_CMD_MISC),
80641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D0_MISC),
80741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_D1_MISC),
80841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD0_CLK_MISC),
80941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_CMD_MISC),
81041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D6_MISC),
81141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D7_MISC),
81241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_CLK_MISC),
81341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D5_MISC),
81441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D4_MISC),
81541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_DS_MISC),
81641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D3_MISC),
81741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_RST_MISC),
81841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D1_MISC),
81941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D2_MISC),
82041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EMMC_D0_MISC),
82141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0DI_MISC),
82241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0DO_MISC),
82341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0CLK_MISC),
82441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS0LRCK_MISC),
82541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_CLK_MISC),
82641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_CMD_MISC),
82741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D0_MISC),
82841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D1_MISC),
82941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D2_MISC),
83041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SD1_D3_MISC),
83141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CLK_AUX0_MISC),
83241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_WIFI_COEXIST_MISC),
83341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_BEIDOU_COEXIST_MISC),
83441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3TXD_MISC),
83541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3RXD_MISC),
83641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3CTS_MISC),
83741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U3RTS_MISC),
83841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0TXD_MISC),
83941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0RXD_MISC),
84041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0CTS_MISC),
84141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U0RTS_MISC),
84241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1DI_MISC),
84341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1DO_MISC),
84441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1CLK_MISC),
84541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS1LRCK_MISC),
84641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_CSN_MISC),
84741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_DO_MISC),
84841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_DI_MISC),
84941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SPI0_CLK_MISC),
85041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U2TXD_MISC),
85141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U2RXD_MISC),
85241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U4TXD_MISC),
85341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U4RXD_MISC),
85441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMMCLK1_MISC),
85541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMRST1_MISC),
85641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMMCLK0_MISC),
85741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMRST0_MISC),
85841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMPD0_MISC),
85941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_CMPD1_MISC),
86041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL0_MISC),
86141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA0_MISC),
86241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SDA6_MISC),
86341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_SCL6_MISC),
86441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U1TXD_MISC),
86541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_U1RXD_MISC),
86641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT0_MISC),
86741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT1_MISC),
86841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYOUT2_MISC),
86941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN0_MISC),
87041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN1_MISC),
87141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_KEYIN2_MISC),
87241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3DI_MISC),
87341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3DO_MISC),
87441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3CLK_MISC),
87541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_IIS3LRCK_MISC),
87641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL0_MISC),
87741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL1_MISC),
87841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL10_MISC),
87941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL11_MISC),
88041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL12_MISC),
88141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL13_MISC),
88241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL14_MISC),
88341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL15_MISC),
88441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL16_MISC),
88541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL17_MISC),
88641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL18_MISC),
88741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL19_MISC),
88841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL2_MISC),
88941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT5_MISC),
89041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT6_MISC),
89141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_EXTINT7_MISC),
89241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO30_MISC),
89341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO31_MISC),
89441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO32_MISC),
89541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO33_MISC),
89641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO34_MISC),
89741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL3_MISC),
89841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL4_MISC),
89941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL5_MISC),
90041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL6_MISC),
90141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL7_MISC),
90241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL8_MISC),
90341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL9_MISC),
90441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE0_SCK0_MISC),
90541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO38_MISC),
90641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE0_SDA0_MISC),
90741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO39_MISC),
90841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE1_SCK0_MISC),
90941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO181_MISC),
91041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFFE1_SDA0_MISC),
91141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_GPIO182_MISC),
91241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS0_ADC_ON_MISC),
91341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS0_DAC_ON_MISC),
91441d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSCK0_MISC),
91541d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSDA0_MISC),
91641d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSEN0_MISC),
91741d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS1_ADC_ON_MISC),
91841d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RF_LVDS1_DAC_ON_MISC),
91941d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSCK1_MISC),
92041d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSDA1_MISC),
92141d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFSEN1_MISC),
92241d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL38_MISC),
92341d32cfcSBaolin Wang SPRD_PINCTRL_PIN(SC9860_RFCTL39_MISC),
92441d32cfcSBaolin Wang };
92541d32cfcSBaolin Wang
sprd_pinctrl_probe(struct platform_device * pdev)92641d32cfcSBaolin Wang static int sprd_pinctrl_probe(struct platform_device *pdev)
92741d32cfcSBaolin Wang {
92841d32cfcSBaolin Wang return sprd_pinctrl_core_probe(pdev, sprd_sc9860_pins_info,
92941d32cfcSBaolin Wang ARRAY_SIZE(sprd_sc9860_pins_info));
93041d32cfcSBaolin Wang }
93141d32cfcSBaolin Wang
93241d32cfcSBaolin Wang static const struct of_device_id sprd_pinctrl_of_match[] = {
93341d32cfcSBaolin Wang {
93441d32cfcSBaolin Wang .compatible = "sprd,sc9860-pinctrl",
93541d32cfcSBaolin Wang },
93641d32cfcSBaolin Wang { },
93741d32cfcSBaolin Wang };
93841d32cfcSBaolin Wang MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match);
93941d32cfcSBaolin Wang
94041d32cfcSBaolin Wang static struct platform_driver sprd_pinctrl_driver = {
94141d32cfcSBaolin Wang .driver = {
94241d32cfcSBaolin Wang .name = "sprd-pinctrl",
94341d32cfcSBaolin Wang .of_match_table = sprd_pinctrl_of_match,
94441d32cfcSBaolin Wang },
94541d32cfcSBaolin Wang .probe = sprd_pinctrl_probe,
946*c341ac65SUwe Kleine-König .remove_new = sprd_pinctrl_remove,
94741d32cfcSBaolin Wang .shutdown = sprd_pinctrl_shutdown,
94841d32cfcSBaolin Wang };
949da2ab12fSLiu Shixin module_platform_driver(sprd_pinctrl_driver);
95041d32cfcSBaolin Wang
95141d32cfcSBaolin Wang MODULE_DESCRIPTION("SPREADTRUM Pin Controller Driver");
95241d32cfcSBaolin Wang MODULE_AUTHOR("Baolin Wang <baolin.wang@spreadtrum.com>");
95341d32cfcSBaolin Wang MODULE_LICENSE("GPL v2");
954