18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#include <linux/module.h> 78c2ecf20Sopenharmony_ci#include <linux/of.h> 88c2ecf20Sopenharmony_ci#include <linux/platform_device.h> 98c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include "pinctrl-msm.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cistatic const char * const qcs404_tiles[] = { 148c2ecf20Sopenharmony_ci "north", 158c2ecf20Sopenharmony_ci "south", 168c2ecf20Sopenharmony_ci "east" 178c2ecf20Sopenharmony_ci}; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_cienum { 208c2ecf20Sopenharmony_ci NORTH, 218c2ecf20Sopenharmony_ci SOUTH, 228c2ecf20Sopenharmony_ci EAST 238c2ecf20Sopenharmony_ci}; 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define FUNCTION(fname) \ 268c2ecf20Sopenharmony_ci [msm_mux_##fname] = { \ 278c2ecf20Sopenharmony_ci .name = #fname, \ 288c2ecf20Sopenharmony_ci .groups = fname##_groups, \ 298c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(fname##_groups), \ 308c2ecf20Sopenharmony_ci } 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 338c2ecf20Sopenharmony_ci { \ 348c2ecf20Sopenharmony_ci .name = "gpio" #id, \ 358c2ecf20Sopenharmony_ci .pins = gpio##id##_pins, \ 368c2ecf20Sopenharmony_ci .npins = (unsigned int)ARRAY_SIZE(gpio##id##_pins), \ 378c2ecf20Sopenharmony_ci .funcs = (int[]){ \ 388c2ecf20Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 398c2ecf20Sopenharmony_ci msm_mux_##f1, \ 408c2ecf20Sopenharmony_ci msm_mux_##f2, \ 418c2ecf20Sopenharmony_ci msm_mux_##f3, \ 428c2ecf20Sopenharmony_ci msm_mux_##f4, \ 438c2ecf20Sopenharmony_ci msm_mux_##f5, \ 448c2ecf20Sopenharmony_ci msm_mux_##f6, \ 458c2ecf20Sopenharmony_ci msm_mux_##f7, \ 468c2ecf20Sopenharmony_ci msm_mux_##f8, \ 478c2ecf20Sopenharmony_ci msm_mux_##f9 \ 488c2ecf20Sopenharmony_ci }, \ 498c2ecf20Sopenharmony_ci .nfuncs = 10, \ 508c2ecf20Sopenharmony_ci .ctl_reg = 0x1000 * id, \ 518c2ecf20Sopenharmony_ci .io_reg = 0x1000 * id + 0x4, \ 528c2ecf20Sopenharmony_ci .intr_cfg_reg = 0x1000 * id + 0x8, \ 538c2ecf20Sopenharmony_ci .intr_status_reg = 0x1000 * id + 0xc, \ 548c2ecf20Sopenharmony_ci .intr_target_reg = 0x1000 * id + 0x8, \ 558c2ecf20Sopenharmony_ci .tile = _tile, \ 568c2ecf20Sopenharmony_ci .mux_bit = 2, \ 578c2ecf20Sopenharmony_ci .pull_bit = 0, \ 588c2ecf20Sopenharmony_ci .drv_bit = 6, \ 598c2ecf20Sopenharmony_ci .oe_bit = 9, \ 608c2ecf20Sopenharmony_ci .in_bit = 0, \ 618c2ecf20Sopenharmony_ci .out_bit = 1, \ 628c2ecf20Sopenharmony_ci .intr_enable_bit = 0, \ 638c2ecf20Sopenharmony_ci .intr_status_bit = 0, \ 648c2ecf20Sopenharmony_ci .intr_target_bit = 5, \ 658c2ecf20Sopenharmony_ci .intr_target_kpss_val = 4, \ 668c2ecf20Sopenharmony_ci .intr_raw_status_bit = 4, \ 678c2ecf20Sopenharmony_ci .intr_polarity_bit = 1, \ 688c2ecf20Sopenharmony_ci .intr_detection_bit = 2, \ 698c2ecf20Sopenharmony_ci .intr_detection_width = 2, \ 708c2ecf20Sopenharmony_ci } 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ 738c2ecf20Sopenharmony_ci { \ 748c2ecf20Sopenharmony_ci .name = #pg_name, \ 758c2ecf20Sopenharmony_ci .pins = pg_name##_pins, \ 768c2ecf20Sopenharmony_ci .npins = (unsigned int)ARRAY_SIZE(pg_name##_pins), \ 778c2ecf20Sopenharmony_ci .ctl_reg = ctl, \ 788c2ecf20Sopenharmony_ci .io_reg = 0, \ 798c2ecf20Sopenharmony_ci .intr_cfg_reg = 0, \ 808c2ecf20Sopenharmony_ci .intr_status_reg = 0, \ 818c2ecf20Sopenharmony_ci .intr_target_reg = 0, \ 828c2ecf20Sopenharmony_ci .tile = SOUTH, \ 838c2ecf20Sopenharmony_ci .mux_bit = -1, \ 848c2ecf20Sopenharmony_ci .pull_bit = pull, \ 858c2ecf20Sopenharmony_ci .drv_bit = drv, \ 868c2ecf20Sopenharmony_ci .oe_bit = -1, \ 878c2ecf20Sopenharmony_ci .in_bit = -1, \ 888c2ecf20Sopenharmony_ci .out_bit = -1, \ 898c2ecf20Sopenharmony_ci .intr_enable_bit = -1, \ 908c2ecf20Sopenharmony_ci .intr_status_bit = -1, \ 918c2ecf20Sopenharmony_ci .intr_target_bit = -1, \ 928c2ecf20Sopenharmony_ci .intr_raw_status_bit = -1, \ 938c2ecf20Sopenharmony_ci .intr_polarity_bit = -1, \ 948c2ecf20Sopenharmony_ci .intr_detection_bit = -1, \ 958c2ecf20Sopenharmony_ci .intr_detection_width = -1, \ 968c2ecf20Sopenharmony_ci } 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc qcs404_pins[] = { 998c2ecf20Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 1008c2ecf20Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 1018c2ecf20Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 1028c2ecf20Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 1038c2ecf20Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 1048c2ecf20Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 1058c2ecf20Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 1068c2ecf20Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 1078c2ecf20Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 1088c2ecf20Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 1098c2ecf20Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 1108c2ecf20Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 1118c2ecf20Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 1128c2ecf20Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 1138c2ecf20Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 1148c2ecf20Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 1158c2ecf20Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 1168c2ecf20Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 1178c2ecf20Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 1188c2ecf20Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 1198c2ecf20Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 1208c2ecf20Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 1218c2ecf20Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 1228c2ecf20Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 1238c2ecf20Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 1248c2ecf20Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 1258c2ecf20Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 1268c2ecf20Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 1278c2ecf20Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 1288c2ecf20Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 1298c2ecf20Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 1308c2ecf20Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 1318c2ecf20Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 1328c2ecf20Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 1338c2ecf20Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 1348c2ecf20Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 1358c2ecf20Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 1368c2ecf20Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 1378c2ecf20Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 1388c2ecf20Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 1398c2ecf20Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 1408c2ecf20Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 1418c2ecf20Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 1428c2ecf20Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 1438c2ecf20Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 1448c2ecf20Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 1458c2ecf20Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 1468c2ecf20Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 1478c2ecf20Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 1488c2ecf20Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 1498c2ecf20Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 1508c2ecf20Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 1518c2ecf20Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 1528c2ecf20Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 1538c2ecf20Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 1548c2ecf20Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 1558c2ecf20Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 1568c2ecf20Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 1578c2ecf20Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 1588c2ecf20Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 1598c2ecf20Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 1608c2ecf20Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 1618c2ecf20Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 1628c2ecf20Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 1638c2ecf20Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 1648c2ecf20Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 1658c2ecf20Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 1668c2ecf20Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 1678c2ecf20Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 1688c2ecf20Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 1698c2ecf20Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 1708c2ecf20Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 1718c2ecf20Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 1728c2ecf20Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 1738c2ecf20Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 1748c2ecf20Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 1758c2ecf20Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 1768c2ecf20Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 1778c2ecf20Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 1788c2ecf20Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 1798c2ecf20Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 1808c2ecf20Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 1818c2ecf20Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 1828c2ecf20Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 1838c2ecf20Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 1848c2ecf20Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 1858c2ecf20Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 1868c2ecf20Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 1878c2ecf20Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 1888c2ecf20Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 1898c2ecf20Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 1908c2ecf20Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 1918c2ecf20Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 1928c2ecf20Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 1938c2ecf20Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 1948c2ecf20Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 1958c2ecf20Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 1968c2ecf20Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 1978c2ecf20Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 1988c2ecf20Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 1998c2ecf20Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 2008c2ecf20Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 2018c2ecf20Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 2028c2ecf20Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 2038c2ecf20Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 2048c2ecf20Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 2058c2ecf20Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 2068c2ecf20Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 2078c2ecf20Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 2088c2ecf20Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 2098c2ecf20Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 2108c2ecf20Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 2118c2ecf20Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 2128c2ecf20Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 2138c2ecf20Sopenharmony_ci PINCTRL_PIN(114, "GPIO_114"), 2148c2ecf20Sopenharmony_ci PINCTRL_PIN(115, "GPIO_115"), 2158c2ecf20Sopenharmony_ci PINCTRL_PIN(116, "GPIO_116"), 2168c2ecf20Sopenharmony_ci PINCTRL_PIN(117, "GPIO_117"), 2178c2ecf20Sopenharmony_ci PINCTRL_PIN(118, "GPIO_118"), 2188c2ecf20Sopenharmony_ci PINCTRL_PIN(119, "GPIO_119"), 2198c2ecf20Sopenharmony_ci PINCTRL_PIN(120, "SDC1_RCLK"), 2208c2ecf20Sopenharmony_ci PINCTRL_PIN(121, "SDC1_CLK"), 2218c2ecf20Sopenharmony_ci PINCTRL_PIN(122, "SDC1_CMD"), 2228c2ecf20Sopenharmony_ci PINCTRL_PIN(123, "SDC1_DATA"), 2238c2ecf20Sopenharmony_ci PINCTRL_PIN(124, "SDC2_CLK"), 2248c2ecf20Sopenharmony_ci PINCTRL_PIN(125, "SDC2_CMD"), 2258c2ecf20Sopenharmony_ci PINCTRL_PIN(126, "SDC2_DATA"), 2268c2ecf20Sopenharmony_ci}; 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 2298c2ecf20Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 2308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 2318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 2328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 2338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 2348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 2358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 2368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 2378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 2388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 2398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 2408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 2418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 2428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 2438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 2448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 2458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 2468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 2478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 2488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 2498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 2508c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 2518c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 2528c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 2538c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 2548c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 2558c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 2568c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 2578c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 2588c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 2598c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 2608c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 2618c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 2628c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 2638c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 2648c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 2658c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 2668c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 2678c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 2688c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 2698c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 2708c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 2718c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 2728c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 2738c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 2748c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 2758c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 2768c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 2778c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 2788c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 2798c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 2808c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 2818c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 2828c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 2838c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 2848c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 2858c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 2868c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 2878c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 2888c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 2898c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 2908c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 2918c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 2928c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 2938c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 2948c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 2958c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 2968c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 2978c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 2988c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 2998c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 3008c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 3018c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 3028c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 3038c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 3048c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 3058c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 3068c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 3078c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 3088c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 3098c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 3108c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 3118c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 3128c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 3138c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 3148c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 3158c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 3168c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 3178c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 3188c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 3198c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 3208c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 3218c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 3228c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 3238c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 3248c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 3258c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 3268c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 3278c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 3288c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 3298c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 3308c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 3318c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 3328c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 3338c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 3348c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 3358c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 3368c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 3378c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 3388c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 3398c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 3408c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 3418c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 3428c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 3438c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 3448c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 3458c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 3468c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 3478c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 3488c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 3498c2ecf20Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 3508c2ecf20Sopenharmony_ci 3518c2ecf20Sopenharmony_cistatic const unsigned int sdc1_rclk_pins[] = { 120 }; 3528c2ecf20Sopenharmony_cistatic const unsigned int sdc1_clk_pins[] = { 121 }; 3538c2ecf20Sopenharmony_cistatic const unsigned int sdc1_cmd_pins[] = { 122 }; 3548c2ecf20Sopenharmony_cistatic const unsigned int sdc1_data_pins[] = { 123 }; 3558c2ecf20Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 124 }; 3568c2ecf20Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 125 }; 3578c2ecf20Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 126 }; 3588c2ecf20Sopenharmony_ci 3598c2ecf20Sopenharmony_cienum qcs404_functions { 3608c2ecf20Sopenharmony_ci msm_mux_gpio, 3618c2ecf20Sopenharmony_ci msm_mux_hdmi_tx, 3628c2ecf20Sopenharmony_ci msm_mux_hdmi_ddc, 3638c2ecf20Sopenharmony_ci msm_mux_blsp_uart_tx_a2, 3648c2ecf20Sopenharmony_ci msm_mux_blsp_spi2, 3658c2ecf20Sopenharmony_ci msm_mux_m_voc, 3668c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_in_a0, 3678c2ecf20Sopenharmony_ci msm_mux_blsp_uart_rx_a2, 3688c2ecf20Sopenharmony_ci msm_mux_qdss_tracectl_a, 3698c2ecf20Sopenharmony_ci msm_mux_blsp_uart2, 3708c2ecf20Sopenharmony_ci msm_mux_aud_cdc, 3718c2ecf20Sopenharmony_ci msm_mux_blsp_i2c_sda_a2, 3728c2ecf20Sopenharmony_ci msm_mux_qdss_tracedata_a, 3738c2ecf20Sopenharmony_ci msm_mux_blsp_i2c_scl_a2, 3748c2ecf20Sopenharmony_ci msm_mux_qdss_tracectl_b, 3758c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_in_b0, 3768c2ecf20Sopenharmony_ci msm_mux_blsp_uart1, 3778c2ecf20Sopenharmony_ci msm_mux_blsp_spi_mosi_a1, 3788c2ecf20Sopenharmony_ci msm_mux_blsp_spi_miso_a1, 3798c2ecf20Sopenharmony_ci msm_mux_qdss_tracedata_b, 3808c2ecf20Sopenharmony_ci msm_mux_blsp_i2c1, 3818c2ecf20Sopenharmony_ci msm_mux_blsp_spi_cs_n_a1, 3828c2ecf20Sopenharmony_ci msm_mux_gcc_plltest, 3838c2ecf20Sopenharmony_ci msm_mux_blsp_spi_clk_a1, 3848c2ecf20Sopenharmony_ci msm_mux_rgb_data0, 3858c2ecf20Sopenharmony_ci msm_mux_blsp_uart5, 3868c2ecf20Sopenharmony_ci msm_mux_blsp_spi5, 3878c2ecf20Sopenharmony_ci msm_mux_adsp_ext, 3888c2ecf20Sopenharmony_ci msm_mux_rgb_data1, 3898c2ecf20Sopenharmony_ci msm_mux_prng_rosc, 3908c2ecf20Sopenharmony_ci msm_mux_rgb_data2, 3918c2ecf20Sopenharmony_ci msm_mux_blsp_i2c5, 3928c2ecf20Sopenharmony_ci msm_mux_gcc_gp1_clk_b, 3938c2ecf20Sopenharmony_ci msm_mux_rgb_data3, 3948c2ecf20Sopenharmony_ci msm_mux_gcc_gp2_clk_b, 3958c2ecf20Sopenharmony_ci msm_mux_blsp_spi0, 3968c2ecf20Sopenharmony_ci msm_mux_blsp_uart0, 3978c2ecf20Sopenharmony_ci msm_mux_gcc_gp3_clk_b, 3988c2ecf20Sopenharmony_ci msm_mux_blsp_i2c0, 3998c2ecf20Sopenharmony_ci msm_mux_qdss_traceclk_b, 4008c2ecf20Sopenharmony_ci msm_mux_pcie_clk, 4018c2ecf20Sopenharmony_ci msm_mux_nfc_irq, 4028c2ecf20Sopenharmony_ci msm_mux_blsp_spi4, 4038c2ecf20Sopenharmony_ci msm_mux_nfc_dwl, 4048c2ecf20Sopenharmony_ci msm_mux_audio_ts, 4058c2ecf20Sopenharmony_ci msm_mux_rgb_data4, 4068c2ecf20Sopenharmony_ci msm_mux_spi_lcd, 4078c2ecf20Sopenharmony_ci msm_mux_blsp_uart_tx_b2, 4088c2ecf20Sopenharmony_ci msm_mux_gcc_gp3_clk_a, 4098c2ecf20Sopenharmony_ci msm_mux_rgb_data5, 4108c2ecf20Sopenharmony_ci msm_mux_blsp_uart_rx_b2, 4118c2ecf20Sopenharmony_ci msm_mux_blsp_i2c_sda_b2, 4128c2ecf20Sopenharmony_ci msm_mux_blsp_i2c_scl_b2, 4138c2ecf20Sopenharmony_ci msm_mux_pwm_led11, 4148c2ecf20Sopenharmony_ci msm_mux_i2s_3_data0_a, 4158c2ecf20Sopenharmony_ci msm_mux_ebi2_lcd, 4168c2ecf20Sopenharmony_ci msm_mux_i2s_3_data1_a, 4178c2ecf20Sopenharmony_ci msm_mux_i2s_3_data2_a, 4188c2ecf20Sopenharmony_ci msm_mux_atest_char, 4198c2ecf20Sopenharmony_ci msm_mux_pwm_led3, 4208c2ecf20Sopenharmony_ci msm_mux_i2s_3_data3_a, 4218c2ecf20Sopenharmony_ci msm_mux_pwm_led4, 4228c2ecf20Sopenharmony_ci msm_mux_i2s_4, 4238c2ecf20Sopenharmony_ci msm_mux_ebi2_a, 4248c2ecf20Sopenharmony_ci msm_mux_dsd_clk_b, 4258c2ecf20Sopenharmony_ci msm_mux_pwm_led5, 4268c2ecf20Sopenharmony_ci msm_mux_pwm_led6, 4278c2ecf20Sopenharmony_ci msm_mux_pwm_led7, 4288c2ecf20Sopenharmony_ci msm_mux_pwm_led8, 4298c2ecf20Sopenharmony_ci msm_mux_pwm_led24, 4308c2ecf20Sopenharmony_ci msm_mux_spkr_dac0, 4318c2ecf20Sopenharmony_ci msm_mux_blsp_i2c4, 4328c2ecf20Sopenharmony_ci msm_mux_pwm_led9, 4338c2ecf20Sopenharmony_ci msm_mux_pwm_led10, 4348c2ecf20Sopenharmony_ci msm_mux_spdifrx_opt, 4358c2ecf20Sopenharmony_ci msm_mux_pwm_led12, 4368c2ecf20Sopenharmony_ci msm_mux_pwm_led13, 4378c2ecf20Sopenharmony_ci msm_mux_pwm_led14, 4388c2ecf20Sopenharmony_ci msm_mux_wlan1_adc1, 4398c2ecf20Sopenharmony_ci msm_mux_rgb_data_b0, 4408c2ecf20Sopenharmony_ci msm_mux_pwm_led15, 4418c2ecf20Sopenharmony_ci msm_mux_blsp_spi_mosi_b1, 4428c2ecf20Sopenharmony_ci msm_mux_wlan1_adc0, 4438c2ecf20Sopenharmony_ci msm_mux_rgb_data_b1, 4448c2ecf20Sopenharmony_ci msm_mux_pwm_led16, 4458c2ecf20Sopenharmony_ci msm_mux_blsp_spi_miso_b1, 4468c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_out_b0, 4478c2ecf20Sopenharmony_ci msm_mux_wlan2_adc1, 4488c2ecf20Sopenharmony_ci msm_mux_rgb_data_b2, 4498c2ecf20Sopenharmony_ci msm_mux_pwm_led17, 4508c2ecf20Sopenharmony_ci msm_mux_blsp_spi_cs_n_b1, 4518c2ecf20Sopenharmony_ci msm_mux_wlan2_adc0, 4528c2ecf20Sopenharmony_ci msm_mux_rgb_data_b3, 4538c2ecf20Sopenharmony_ci msm_mux_pwm_led18, 4548c2ecf20Sopenharmony_ci msm_mux_blsp_spi_clk_b1, 4558c2ecf20Sopenharmony_ci msm_mux_rgb_data_b4, 4568c2ecf20Sopenharmony_ci msm_mux_pwm_led19, 4578c2ecf20Sopenharmony_ci msm_mux_ext_mclk1_b, 4588c2ecf20Sopenharmony_ci msm_mux_qdss_traceclk_a, 4598c2ecf20Sopenharmony_ci msm_mux_rgb_data_b5, 4608c2ecf20Sopenharmony_ci msm_mux_pwm_led20, 4618c2ecf20Sopenharmony_ci msm_mux_atest_char3, 4628c2ecf20Sopenharmony_ci msm_mux_i2s_3_sck_b, 4638c2ecf20Sopenharmony_ci msm_mux_ldo_update, 4648c2ecf20Sopenharmony_ci msm_mux_bimc_dte0, 4658c2ecf20Sopenharmony_ci msm_mux_rgb_hsync, 4668c2ecf20Sopenharmony_ci msm_mux_pwm_led21, 4678c2ecf20Sopenharmony_ci msm_mux_i2s_3_ws_b, 4688c2ecf20Sopenharmony_ci msm_mux_dbg_out, 4698c2ecf20Sopenharmony_ci msm_mux_rgb_vsync, 4708c2ecf20Sopenharmony_ci msm_mux_i2s_3_data0_b, 4718c2ecf20Sopenharmony_ci msm_mux_ldo_en, 4728c2ecf20Sopenharmony_ci msm_mux_hdmi_dtest, 4738c2ecf20Sopenharmony_ci msm_mux_rgb_de, 4748c2ecf20Sopenharmony_ci msm_mux_i2s_3_data1_b, 4758c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk9, 4768c2ecf20Sopenharmony_ci msm_mux_rgb_clk, 4778c2ecf20Sopenharmony_ci msm_mux_atest_char1, 4788c2ecf20Sopenharmony_ci msm_mux_i2s_3_data2_b, 4798c2ecf20Sopenharmony_ci msm_mux_ebi_cdc, 4808c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk8, 4818c2ecf20Sopenharmony_ci msm_mux_rgb_mdp, 4828c2ecf20Sopenharmony_ci msm_mux_atest_char0, 4838c2ecf20Sopenharmony_ci msm_mux_i2s_3_data3_b, 4848c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk7, 4858c2ecf20Sopenharmony_ci msm_mux_rgb_data_b6, 4868c2ecf20Sopenharmony_ci msm_mux_rgb_data_b7, 4878c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk6, 4888c2ecf20Sopenharmony_ci msm_mux_rgmii_int, 4898c2ecf20Sopenharmony_ci msm_mux_cri_trng1, 4908c2ecf20Sopenharmony_ci msm_mux_rgmii_wol, 4918c2ecf20Sopenharmony_ci msm_mux_cri_trng0, 4928c2ecf20Sopenharmony_ci msm_mux_gcc_tlmm, 4938c2ecf20Sopenharmony_ci msm_mux_rgmii_ck, 4948c2ecf20Sopenharmony_ci msm_mux_rgmii_tx, 4958c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk5, 4968c2ecf20Sopenharmony_ci msm_mux_hdmi_pixel, 4978c2ecf20Sopenharmony_ci msm_mux_hdmi_rcv, 4988c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk4, 4998c2ecf20Sopenharmony_ci msm_mux_rgmii_ctl, 5008c2ecf20Sopenharmony_ci msm_mux_ext_lpass, 5018c2ecf20Sopenharmony_ci msm_mux_rgmii_rx, 5028c2ecf20Sopenharmony_ci msm_mux_cri_trng, 5038c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk3, 5048c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk2, 5058c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_out_b1, 5068c2ecf20Sopenharmony_ci msm_mux_rgmii_mdio, 5078c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk1, 5088c2ecf20Sopenharmony_ci msm_mux_rgmii_mdc, 5098c2ecf20Sopenharmony_ci msm_mux_hdmi_lbk0, 5108c2ecf20Sopenharmony_ci msm_mux_ir_in, 5118c2ecf20Sopenharmony_ci msm_mux_wsa_en, 5128c2ecf20Sopenharmony_ci msm_mux_rgb_data6, 5138c2ecf20Sopenharmony_ci msm_mux_rgb_data7, 5148c2ecf20Sopenharmony_ci msm_mux_atest_char2, 5158c2ecf20Sopenharmony_ci msm_mux_ebi_ch0, 5168c2ecf20Sopenharmony_ci msm_mux_blsp_uart3, 5178c2ecf20Sopenharmony_ci msm_mux_blsp_spi3, 5188c2ecf20Sopenharmony_ci msm_mux_sd_write, 5198c2ecf20Sopenharmony_ci msm_mux_blsp_i2c3, 5208c2ecf20Sopenharmony_ci msm_mux_gcc_gp1_clk_a, 5218c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_in_b1, 5228c2ecf20Sopenharmony_ci msm_mux_gcc_gp2_clk_a, 5238c2ecf20Sopenharmony_ci msm_mux_ext_mclk0, 5248c2ecf20Sopenharmony_ci msm_mux_mclk_in1, 5258c2ecf20Sopenharmony_ci msm_mux_i2s_1, 5268c2ecf20Sopenharmony_ci msm_mux_dsd_clk_a, 5278c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_in_a1, 5288c2ecf20Sopenharmony_ci msm_mux_rgmi_dll1, 5298c2ecf20Sopenharmony_ci msm_mux_pwm_led22, 5308c2ecf20Sopenharmony_ci msm_mux_pwm_led23, 5318c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_out_a0, 5328c2ecf20Sopenharmony_ci msm_mux_rgmi_dll2, 5338c2ecf20Sopenharmony_ci msm_mux_pwm_led1, 5348c2ecf20Sopenharmony_ci msm_mux_qdss_cti_trig_out_a1, 5358c2ecf20Sopenharmony_ci msm_mux_pwm_led2, 5368c2ecf20Sopenharmony_ci msm_mux_i2s_2, 5378c2ecf20Sopenharmony_ci msm_mux_pll_bist, 5388c2ecf20Sopenharmony_ci msm_mux_ext_mclk1_a, 5398c2ecf20Sopenharmony_ci msm_mux_mclk_in2, 5408c2ecf20Sopenharmony_ci msm_mux_bimc_dte1, 5418c2ecf20Sopenharmony_ci msm_mux_i2s_3_sck_a, 5428c2ecf20Sopenharmony_ci msm_mux_i2s_3_ws_a, 5438c2ecf20Sopenharmony_ci msm_mux__, 5448c2ecf20Sopenharmony_ci}; 5458c2ecf20Sopenharmony_ci 5468c2ecf20Sopenharmony_cistatic const char * const gpio_groups[] = { 5478c2ecf20Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 5488c2ecf20Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 5498c2ecf20Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 5508c2ecf20Sopenharmony_ci "gpio21", "gpio21", "gpio22", "gpio22", "gpio23", "gpio23", "gpio24", 5518c2ecf20Sopenharmony_ci "gpio25", "gpio26", "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", 5528c2ecf20Sopenharmony_ci "gpio32", "gpio33", "gpio34", "gpio35", "gpio36", "gpio36", "gpio36", 5538c2ecf20Sopenharmony_ci "gpio36", "gpio37", "gpio37", "gpio37", "gpio38", "gpio38", "gpio38", 5548c2ecf20Sopenharmony_ci "gpio39", "gpio39", "gpio40", "gpio40", "gpio41", "gpio41", "gpio41", 5558c2ecf20Sopenharmony_ci "gpio42", "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", 5568c2ecf20Sopenharmony_ci "gpio49", "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", 5578c2ecf20Sopenharmony_ci "gpio56", "gpio57", "gpio58", "gpio59", "gpio59", "gpio60", "gpio61", 5588c2ecf20Sopenharmony_ci "gpio62", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", 5598c2ecf20Sopenharmony_ci "gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", 5608c2ecf20Sopenharmony_ci "gpio76", "gpio77", "gpio77", "gpio78", "gpio78", "gpio78", "gpio79", 5618c2ecf20Sopenharmony_ci "gpio79", "gpio79", "gpio80", "gpio81", "gpio81", "gpio82", "gpio83", 5628c2ecf20Sopenharmony_ci "gpio84", "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", 5638c2ecf20Sopenharmony_ci "gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", 5648c2ecf20Sopenharmony_ci "gpio98", "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", 5658c2ecf20Sopenharmony_ci "gpio104", "gpio105", "gpio106", "gpio107", "gpio108", "gpio108", 5668c2ecf20Sopenharmony_ci "gpio108", "gpio109", "gpio109", "gpio110", "gpio111", "gpio112", 5678c2ecf20Sopenharmony_ci "gpio113", "gpio114", "gpio115", "gpio116", "gpio117", "gpio118", 5688c2ecf20Sopenharmony_ci "gpio119", 5698c2ecf20Sopenharmony_ci}; 5708c2ecf20Sopenharmony_ci 5718c2ecf20Sopenharmony_cistatic const char * const hdmi_tx_groups[] = { 5728c2ecf20Sopenharmony_ci "gpio14", 5738c2ecf20Sopenharmony_ci}; 5748c2ecf20Sopenharmony_ci 5758c2ecf20Sopenharmony_cistatic const char * const hdmi_ddc_groups[] = { 5768c2ecf20Sopenharmony_ci "gpio15", "gpio16", 5778c2ecf20Sopenharmony_ci}; 5788c2ecf20Sopenharmony_ci 5798c2ecf20Sopenharmony_cistatic const char * const blsp_uart_tx_a2_groups[] = { 5808c2ecf20Sopenharmony_ci "gpio17", 5818c2ecf20Sopenharmony_ci}; 5828c2ecf20Sopenharmony_ci 5838c2ecf20Sopenharmony_cistatic const char * const blsp_spi2_groups[] = { 5848c2ecf20Sopenharmony_ci "gpio17", "gpio18", "gpio19", "gpio20", 5858c2ecf20Sopenharmony_ci}; 5868c2ecf20Sopenharmony_ci 5878c2ecf20Sopenharmony_cistatic const char * const m_voc_groups[] = { 5888c2ecf20Sopenharmony_ci "gpio17", "gpio21", 5898c2ecf20Sopenharmony_ci}; 5908c2ecf20Sopenharmony_ci 5918c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_in_a0_groups[] = { 5928c2ecf20Sopenharmony_ci "gpio17", 5938c2ecf20Sopenharmony_ci}; 5948c2ecf20Sopenharmony_ci 5958c2ecf20Sopenharmony_cistatic const char * const blsp_uart_rx_a2_groups[] = { 5968c2ecf20Sopenharmony_ci "gpio18", 5978c2ecf20Sopenharmony_ci}; 5988c2ecf20Sopenharmony_ci 5998c2ecf20Sopenharmony_cistatic const char * const qdss_tracectl_a_groups[] = { 6008c2ecf20Sopenharmony_ci "gpio18", 6018c2ecf20Sopenharmony_ci}; 6028c2ecf20Sopenharmony_ci 6038c2ecf20Sopenharmony_cistatic const char * const blsp_uart2_groups[] = { 6048c2ecf20Sopenharmony_ci "gpio19", "gpio20", 6058c2ecf20Sopenharmony_ci}; 6068c2ecf20Sopenharmony_ci 6078c2ecf20Sopenharmony_cistatic const char * const aud_cdc_groups[] = { 6088c2ecf20Sopenharmony_ci "gpio19", "gpio20", 6098c2ecf20Sopenharmony_ci}; 6108c2ecf20Sopenharmony_ci 6118c2ecf20Sopenharmony_cistatic const char * const blsp_i2c_sda_a2_groups[] = { 6128c2ecf20Sopenharmony_ci "gpio19", 6138c2ecf20Sopenharmony_ci}; 6148c2ecf20Sopenharmony_ci 6158c2ecf20Sopenharmony_cistatic const char * const qdss_tracedata_a_groups[] = { 6168c2ecf20Sopenharmony_ci "gpio19", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", "gpio30", 6178c2ecf20Sopenharmony_ci "gpio31", "gpio32", "gpio36", "gpio38", "gpio39", "gpio42", "gpio43", 6188c2ecf20Sopenharmony_ci "gpio82", "gpio83", 6198c2ecf20Sopenharmony_ci}; 6208c2ecf20Sopenharmony_ci 6218c2ecf20Sopenharmony_cistatic const char * const blsp_i2c_scl_a2_groups[] = { 6228c2ecf20Sopenharmony_ci "gpio20", 6238c2ecf20Sopenharmony_ci}; 6248c2ecf20Sopenharmony_ci 6258c2ecf20Sopenharmony_cistatic const char * const qdss_tracectl_b_groups[] = { 6268c2ecf20Sopenharmony_ci "gpio20", 6278c2ecf20Sopenharmony_ci}; 6288c2ecf20Sopenharmony_ci 6298c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_in_b0_groups[] = { 6308c2ecf20Sopenharmony_ci "gpio21", 6318c2ecf20Sopenharmony_ci}; 6328c2ecf20Sopenharmony_ci 6338c2ecf20Sopenharmony_cistatic const char * const blsp_uart1_groups[] = { 6348c2ecf20Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", 6358c2ecf20Sopenharmony_ci}; 6368c2ecf20Sopenharmony_ci 6378c2ecf20Sopenharmony_cistatic const char * const blsp_spi_mosi_a1_groups[] = { 6388c2ecf20Sopenharmony_ci "gpio22", 6398c2ecf20Sopenharmony_ci}; 6408c2ecf20Sopenharmony_ci 6418c2ecf20Sopenharmony_cistatic const char * const blsp_spi_miso_a1_groups[] = { 6428c2ecf20Sopenharmony_ci "gpio23", 6438c2ecf20Sopenharmony_ci}; 6448c2ecf20Sopenharmony_ci 6458c2ecf20Sopenharmony_cistatic const char * const qdss_tracedata_b_groups[] = { 6468c2ecf20Sopenharmony_ci "gpio23", "gpio35", "gpio40", "gpio41", "gpio44", "gpio45", "gpio46", 6478c2ecf20Sopenharmony_ci "gpio47", "gpio49", "gpio50", "gpio55", "gpio61", "gpio62", "gpio85", 6488c2ecf20Sopenharmony_ci "gpio89", "gpio93", 6498c2ecf20Sopenharmony_ci}; 6508c2ecf20Sopenharmony_ci 6518c2ecf20Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = { 6528c2ecf20Sopenharmony_ci "gpio24", "gpio25", 6538c2ecf20Sopenharmony_ci}; 6548c2ecf20Sopenharmony_ci 6558c2ecf20Sopenharmony_cistatic const char * const blsp_spi_cs_n_a1_groups[] = { 6568c2ecf20Sopenharmony_ci "gpio24", 6578c2ecf20Sopenharmony_ci}; 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_cistatic const char * const gcc_plltest_groups[] = { 6608c2ecf20Sopenharmony_ci "gpio24", "gpio25", 6618c2ecf20Sopenharmony_ci}; 6628c2ecf20Sopenharmony_ci 6638c2ecf20Sopenharmony_cistatic const char * const blsp_spi_clk_a1_groups[] = { 6648c2ecf20Sopenharmony_ci "gpio25", 6658c2ecf20Sopenharmony_ci}; 6668c2ecf20Sopenharmony_ci 6678c2ecf20Sopenharmony_cistatic const char * const rgb_data0_groups[] = { 6688c2ecf20Sopenharmony_ci "gpio26", "gpio41", 6698c2ecf20Sopenharmony_ci}; 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_cistatic const char * const blsp_uart5_groups[] = { 6728c2ecf20Sopenharmony_ci "gpio26", "gpio27", "gpio28", "gpio29", 6738c2ecf20Sopenharmony_ci}; 6748c2ecf20Sopenharmony_ci 6758c2ecf20Sopenharmony_cistatic const char * const blsp_spi5_groups[] = { 6768c2ecf20Sopenharmony_ci "gpio26", "gpio27", "gpio28", "gpio29", "gpio44", "gpio45", "gpio46", 6778c2ecf20Sopenharmony_ci}; 6788c2ecf20Sopenharmony_ci 6798c2ecf20Sopenharmony_cistatic const char * const adsp_ext_groups[] = { 6808c2ecf20Sopenharmony_ci "gpio26", 6818c2ecf20Sopenharmony_ci}; 6828c2ecf20Sopenharmony_ci 6838c2ecf20Sopenharmony_cistatic const char * const rgb_data1_groups[] = { 6848c2ecf20Sopenharmony_ci "gpio27", "gpio42", 6858c2ecf20Sopenharmony_ci}; 6868c2ecf20Sopenharmony_ci 6878c2ecf20Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 6888c2ecf20Sopenharmony_ci "gpio27", 6898c2ecf20Sopenharmony_ci}; 6908c2ecf20Sopenharmony_ci 6918c2ecf20Sopenharmony_cistatic const char * const rgb_data2_groups[] = { 6928c2ecf20Sopenharmony_ci "gpio28", "gpio43", 6938c2ecf20Sopenharmony_ci}; 6948c2ecf20Sopenharmony_ci 6958c2ecf20Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = { 6968c2ecf20Sopenharmony_ci "gpio28", "gpio29", 6978c2ecf20Sopenharmony_ci}; 6988c2ecf20Sopenharmony_ci 6998c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_clk_b_groups[] = { 7008c2ecf20Sopenharmony_ci "gpio28", 7018c2ecf20Sopenharmony_ci}; 7028c2ecf20Sopenharmony_ci 7038c2ecf20Sopenharmony_cistatic const char * const rgb_data3_groups[] = { 7048c2ecf20Sopenharmony_ci "gpio29", "gpio44", 7058c2ecf20Sopenharmony_ci}; 7068c2ecf20Sopenharmony_ci 7078c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_clk_b_groups[] = { 7088c2ecf20Sopenharmony_ci "gpio29", 7098c2ecf20Sopenharmony_ci}; 7108c2ecf20Sopenharmony_ci 7118c2ecf20Sopenharmony_cistatic const char * const blsp_spi0_groups[] = { 7128c2ecf20Sopenharmony_ci "gpio30", "gpio31", "gpio32", "gpio33", 7138c2ecf20Sopenharmony_ci}; 7148c2ecf20Sopenharmony_ci 7158c2ecf20Sopenharmony_cistatic const char * const blsp_uart0_groups[] = { 7168c2ecf20Sopenharmony_ci "gpio30", "gpio31", "gpio32", "gpio33", 7178c2ecf20Sopenharmony_ci}; 7188c2ecf20Sopenharmony_ci 7198c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_clk_b_groups[] = { 7208c2ecf20Sopenharmony_ci "gpio30", 7218c2ecf20Sopenharmony_ci}; 7228c2ecf20Sopenharmony_ci 7238c2ecf20Sopenharmony_cistatic const char * const blsp_i2c0_groups[] = { 7248c2ecf20Sopenharmony_ci "gpio32", "gpio33", 7258c2ecf20Sopenharmony_ci}; 7268c2ecf20Sopenharmony_ci 7278c2ecf20Sopenharmony_cistatic const char * const qdss_traceclk_b_groups[] = { 7288c2ecf20Sopenharmony_ci "gpio34", 7298c2ecf20Sopenharmony_ci}; 7308c2ecf20Sopenharmony_ci 7318c2ecf20Sopenharmony_cistatic const char * const pcie_clk_groups[] = { 7328c2ecf20Sopenharmony_ci "gpio35", 7338c2ecf20Sopenharmony_ci}; 7348c2ecf20Sopenharmony_ci 7358c2ecf20Sopenharmony_cistatic const char * const nfc_irq_groups[] = { 7368c2ecf20Sopenharmony_ci "gpio37", 7378c2ecf20Sopenharmony_ci}; 7388c2ecf20Sopenharmony_ci 7398c2ecf20Sopenharmony_cistatic const char * const blsp_spi4_groups[] = { 7408c2ecf20Sopenharmony_ci "gpio37", "gpio38", "gpio117", "gpio118", 7418c2ecf20Sopenharmony_ci}; 7428c2ecf20Sopenharmony_ci 7438c2ecf20Sopenharmony_cistatic const char * const nfc_dwl_groups[] = { 7448c2ecf20Sopenharmony_ci "gpio38", 7458c2ecf20Sopenharmony_ci}; 7468c2ecf20Sopenharmony_ci 7478c2ecf20Sopenharmony_cistatic const char * const audio_ts_groups[] = { 7488c2ecf20Sopenharmony_ci "gpio38", 7498c2ecf20Sopenharmony_ci}; 7508c2ecf20Sopenharmony_ci 7518c2ecf20Sopenharmony_cistatic const char * const rgb_data4_groups[] = { 7528c2ecf20Sopenharmony_ci "gpio39", "gpio45", 7538c2ecf20Sopenharmony_ci}; 7548c2ecf20Sopenharmony_ci 7558c2ecf20Sopenharmony_cistatic const char * const spi_lcd_groups[] = { 7568c2ecf20Sopenharmony_ci "gpio39", "gpio40", 7578c2ecf20Sopenharmony_ci}; 7588c2ecf20Sopenharmony_ci 7598c2ecf20Sopenharmony_cistatic const char * const blsp_uart_tx_b2_groups[] = { 7608c2ecf20Sopenharmony_ci "gpio39", 7618c2ecf20Sopenharmony_ci}; 7628c2ecf20Sopenharmony_ci 7638c2ecf20Sopenharmony_cistatic const char * const gcc_gp3_clk_a_groups[] = { 7648c2ecf20Sopenharmony_ci "gpio39", 7658c2ecf20Sopenharmony_ci}; 7668c2ecf20Sopenharmony_ci 7678c2ecf20Sopenharmony_cistatic const char * const rgb_data5_groups[] = { 7688c2ecf20Sopenharmony_ci "gpio40", "gpio46", 7698c2ecf20Sopenharmony_ci}; 7708c2ecf20Sopenharmony_ci 7718c2ecf20Sopenharmony_cistatic const char * const blsp_uart_rx_b2_groups[] = { 7728c2ecf20Sopenharmony_ci "gpio40", 7738c2ecf20Sopenharmony_ci}; 7748c2ecf20Sopenharmony_ci 7758c2ecf20Sopenharmony_cistatic const char * const blsp_i2c_sda_b2_groups[] = { 7768c2ecf20Sopenharmony_ci "gpio41", 7778c2ecf20Sopenharmony_ci}; 7788c2ecf20Sopenharmony_ci 7798c2ecf20Sopenharmony_cistatic const char * const blsp_i2c_scl_b2_groups[] = { 7808c2ecf20Sopenharmony_ci "gpio42", 7818c2ecf20Sopenharmony_ci}; 7828c2ecf20Sopenharmony_ci 7838c2ecf20Sopenharmony_cistatic const char * const pwm_led11_groups[] = { 7848c2ecf20Sopenharmony_ci "gpio43", 7858c2ecf20Sopenharmony_ci}; 7868c2ecf20Sopenharmony_ci 7878c2ecf20Sopenharmony_cistatic const char * const i2s_3_data0_a_groups[] = { 7888c2ecf20Sopenharmony_ci "gpio106", 7898c2ecf20Sopenharmony_ci}; 7908c2ecf20Sopenharmony_ci 7918c2ecf20Sopenharmony_cistatic const char * const ebi2_lcd_groups[] = { 7928c2ecf20Sopenharmony_ci "gpio106", "gpio107", "gpio108", "gpio109", 7938c2ecf20Sopenharmony_ci}; 7948c2ecf20Sopenharmony_ci 7958c2ecf20Sopenharmony_cistatic const char * const i2s_3_data1_a_groups[] = { 7968c2ecf20Sopenharmony_ci "gpio107", 7978c2ecf20Sopenharmony_ci}; 7988c2ecf20Sopenharmony_ci 7998c2ecf20Sopenharmony_cistatic const char * const i2s_3_data2_a_groups[] = { 8008c2ecf20Sopenharmony_ci "gpio108", 8018c2ecf20Sopenharmony_ci}; 8028c2ecf20Sopenharmony_ci 8038c2ecf20Sopenharmony_cistatic const char * const atest_char_groups[] = { 8048c2ecf20Sopenharmony_ci "gpio108", 8058c2ecf20Sopenharmony_ci}; 8068c2ecf20Sopenharmony_ci 8078c2ecf20Sopenharmony_cistatic const char * const pwm_led3_groups[] = { 8088c2ecf20Sopenharmony_ci "gpio108", 8098c2ecf20Sopenharmony_ci}; 8108c2ecf20Sopenharmony_ci 8118c2ecf20Sopenharmony_cistatic const char * const i2s_3_data3_a_groups[] = { 8128c2ecf20Sopenharmony_ci "gpio109", 8138c2ecf20Sopenharmony_ci}; 8148c2ecf20Sopenharmony_ci 8158c2ecf20Sopenharmony_cistatic const char * const pwm_led4_groups[] = { 8168c2ecf20Sopenharmony_ci "gpio109", 8178c2ecf20Sopenharmony_ci}; 8188c2ecf20Sopenharmony_ci 8198c2ecf20Sopenharmony_cistatic const char * const i2s_4_groups[] = { 8208c2ecf20Sopenharmony_ci "gpio110", "gpio111", "gpio111", "gpio112", "gpio112", "gpio113", 8218c2ecf20Sopenharmony_ci "gpio113", "gpio114", "gpio114", "gpio115", "gpio115", "gpio116", 8228c2ecf20Sopenharmony_ci}; 8238c2ecf20Sopenharmony_ci 8248c2ecf20Sopenharmony_cistatic const char * const ebi2_a_groups[] = { 8258c2ecf20Sopenharmony_ci "gpio110", 8268c2ecf20Sopenharmony_ci}; 8278c2ecf20Sopenharmony_ci 8288c2ecf20Sopenharmony_cistatic const char * const dsd_clk_b_groups[] = { 8298c2ecf20Sopenharmony_ci "gpio110", 8308c2ecf20Sopenharmony_ci}; 8318c2ecf20Sopenharmony_ci 8328c2ecf20Sopenharmony_cistatic const char * const pwm_led5_groups[] = { 8338c2ecf20Sopenharmony_ci "gpio110", 8348c2ecf20Sopenharmony_ci}; 8358c2ecf20Sopenharmony_ci 8368c2ecf20Sopenharmony_cistatic const char * const pwm_led6_groups[] = { 8378c2ecf20Sopenharmony_ci "gpio111", 8388c2ecf20Sopenharmony_ci}; 8398c2ecf20Sopenharmony_ci 8408c2ecf20Sopenharmony_cistatic const char * const pwm_led7_groups[] = { 8418c2ecf20Sopenharmony_ci "gpio112", 8428c2ecf20Sopenharmony_ci}; 8438c2ecf20Sopenharmony_ci 8448c2ecf20Sopenharmony_cistatic const char * const pwm_led8_groups[] = { 8458c2ecf20Sopenharmony_ci "gpio113", 8468c2ecf20Sopenharmony_ci}; 8478c2ecf20Sopenharmony_ci 8488c2ecf20Sopenharmony_cistatic const char * const pwm_led24_groups[] = { 8498c2ecf20Sopenharmony_ci "gpio114", 8508c2ecf20Sopenharmony_ci}; 8518c2ecf20Sopenharmony_ci 8528c2ecf20Sopenharmony_cistatic const char * const spkr_dac0_groups[] = { 8538c2ecf20Sopenharmony_ci "gpio116", 8548c2ecf20Sopenharmony_ci}; 8558c2ecf20Sopenharmony_ci 8568c2ecf20Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = { 8578c2ecf20Sopenharmony_ci "gpio117", "gpio118", 8588c2ecf20Sopenharmony_ci}; 8598c2ecf20Sopenharmony_ci 8608c2ecf20Sopenharmony_cistatic const char * const pwm_led9_groups[] = { 8618c2ecf20Sopenharmony_ci "gpio117", 8628c2ecf20Sopenharmony_ci}; 8638c2ecf20Sopenharmony_ci 8648c2ecf20Sopenharmony_cistatic const char * const pwm_led10_groups[] = { 8658c2ecf20Sopenharmony_ci "gpio118", 8668c2ecf20Sopenharmony_ci}; 8678c2ecf20Sopenharmony_ci 8688c2ecf20Sopenharmony_cistatic const char * const spdifrx_opt_groups[] = { 8698c2ecf20Sopenharmony_ci "gpio119", 8708c2ecf20Sopenharmony_ci}; 8718c2ecf20Sopenharmony_ci 8728c2ecf20Sopenharmony_cistatic const char * const pwm_led12_groups[] = { 8738c2ecf20Sopenharmony_ci "gpio44", 8748c2ecf20Sopenharmony_ci}; 8758c2ecf20Sopenharmony_ci 8768c2ecf20Sopenharmony_cistatic const char * const pwm_led13_groups[] = { 8778c2ecf20Sopenharmony_ci "gpio45", 8788c2ecf20Sopenharmony_ci}; 8798c2ecf20Sopenharmony_ci 8808c2ecf20Sopenharmony_cistatic const char * const pwm_led14_groups[] = { 8818c2ecf20Sopenharmony_ci "gpio46", 8828c2ecf20Sopenharmony_ci}; 8838c2ecf20Sopenharmony_ci 8848c2ecf20Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = { 8858c2ecf20Sopenharmony_ci "gpio46", 8868c2ecf20Sopenharmony_ci}; 8878c2ecf20Sopenharmony_ci 8888c2ecf20Sopenharmony_cistatic const char * const rgb_data_b0_groups[] = { 8898c2ecf20Sopenharmony_ci "gpio47", 8908c2ecf20Sopenharmony_ci}; 8918c2ecf20Sopenharmony_ci 8928c2ecf20Sopenharmony_cistatic const char * const pwm_led15_groups[] = { 8938c2ecf20Sopenharmony_ci "gpio47", 8948c2ecf20Sopenharmony_ci}; 8958c2ecf20Sopenharmony_ci 8968c2ecf20Sopenharmony_cistatic const char * const blsp_spi_mosi_b1_groups[] = { 8978c2ecf20Sopenharmony_ci "gpio47", 8988c2ecf20Sopenharmony_ci}; 8998c2ecf20Sopenharmony_ci 9008c2ecf20Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = { 9018c2ecf20Sopenharmony_ci "gpio47", 9028c2ecf20Sopenharmony_ci}; 9038c2ecf20Sopenharmony_ci 9048c2ecf20Sopenharmony_cistatic const char * const rgb_data_b1_groups[] = { 9058c2ecf20Sopenharmony_ci "gpio48", 9068c2ecf20Sopenharmony_ci}; 9078c2ecf20Sopenharmony_ci 9088c2ecf20Sopenharmony_cistatic const char * const pwm_led16_groups[] = { 9098c2ecf20Sopenharmony_ci "gpio48", 9108c2ecf20Sopenharmony_ci}; 9118c2ecf20Sopenharmony_ci 9128c2ecf20Sopenharmony_cistatic const char * const blsp_spi_miso_b1_groups[] = { 9138c2ecf20Sopenharmony_ci "gpio48", 9148c2ecf20Sopenharmony_ci}; 9158c2ecf20Sopenharmony_ci 9168c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_out_b0_groups[] = { 9178c2ecf20Sopenharmony_ci "gpio48", 9188c2ecf20Sopenharmony_ci}; 9198c2ecf20Sopenharmony_ci 9208c2ecf20Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = { 9218c2ecf20Sopenharmony_ci "gpio48", 9228c2ecf20Sopenharmony_ci}; 9238c2ecf20Sopenharmony_ci 9248c2ecf20Sopenharmony_cistatic const char * const rgb_data_b2_groups[] = { 9258c2ecf20Sopenharmony_ci "gpio49", 9268c2ecf20Sopenharmony_ci}; 9278c2ecf20Sopenharmony_ci 9288c2ecf20Sopenharmony_cistatic const char * const pwm_led17_groups[] = { 9298c2ecf20Sopenharmony_ci "gpio49", 9308c2ecf20Sopenharmony_ci}; 9318c2ecf20Sopenharmony_ci 9328c2ecf20Sopenharmony_cistatic const char * const blsp_spi_cs_n_b1_groups[] = { 9338c2ecf20Sopenharmony_ci "gpio49", 9348c2ecf20Sopenharmony_ci}; 9358c2ecf20Sopenharmony_ci 9368c2ecf20Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = { 9378c2ecf20Sopenharmony_ci "gpio49", 9388c2ecf20Sopenharmony_ci}; 9398c2ecf20Sopenharmony_ci 9408c2ecf20Sopenharmony_cistatic const char * const rgb_data_b3_groups[] = { 9418c2ecf20Sopenharmony_ci "gpio50", 9428c2ecf20Sopenharmony_ci}; 9438c2ecf20Sopenharmony_ci 9448c2ecf20Sopenharmony_cistatic const char * const pwm_led18_groups[] = { 9458c2ecf20Sopenharmony_ci "gpio50", 9468c2ecf20Sopenharmony_ci}; 9478c2ecf20Sopenharmony_ci 9488c2ecf20Sopenharmony_cistatic const char * const blsp_spi_clk_b1_groups[] = { 9498c2ecf20Sopenharmony_ci "gpio50", 9508c2ecf20Sopenharmony_ci}; 9518c2ecf20Sopenharmony_ci 9528c2ecf20Sopenharmony_cistatic const char * const rgb_data_b4_groups[] = { 9538c2ecf20Sopenharmony_ci "gpio51", 9548c2ecf20Sopenharmony_ci}; 9558c2ecf20Sopenharmony_ci 9568c2ecf20Sopenharmony_cistatic const char * const pwm_led19_groups[] = { 9578c2ecf20Sopenharmony_ci "gpio51", 9588c2ecf20Sopenharmony_ci}; 9598c2ecf20Sopenharmony_ci 9608c2ecf20Sopenharmony_cistatic const char * const ext_mclk1_b_groups[] = { 9618c2ecf20Sopenharmony_ci "gpio51", 9628c2ecf20Sopenharmony_ci}; 9638c2ecf20Sopenharmony_ci 9648c2ecf20Sopenharmony_cistatic const char * const qdss_traceclk_a_groups[] = { 9658c2ecf20Sopenharmony_ci "gpio51", 9668c2ecf20Sopenharmony_ci}; 9678c2ecf20Sopenharmony_ci 9688c2ecf20Sopenharmony_cistatic const char * const rgb_data_b5_groups[] = { 9698c2ecf20Sopenharmony_ci "gpio52", 9708c2ecf20Sopenharmony_ci}; 9718c2ecf20Sopenharmony_ci 9728c2ecf20Sopenharmony_cistatic const char * const pwm_led20_groups[] = { 9738c2ecf20Sopenharmony_ci "gpio52", 9748c2ecf20Sopenharmony_ci}; 9758c2ecf20Sopenharmony_ci 9768c2ecf20Sopenharmony_cistatic const char * const atest_char3_groups[] = { 9778c2ecf20Sopenharmony_ci "gpio52", 9788c2ecf20Sopenharmony_ci}; 9798c2ecf20Sopenharmony_ci 9808c2ecf20Sopenharmony_cistatic const char * const i2s_3_sck_b_groups[] = { 9818c2ecf20Sopenharmony_ci "gpio52", 9828c2ecf20Sopenharmony_ci}; 9838c2ecf20Sopenharmony_ci 9848c2ecf20Sopenharmony_cistatic const char * const ldo_update_groups[] = { 9858c2ecf20Sopenharmony_ci "gpio52", 9868c2ecf20Sopenharmony_ci}; 9878c2ecf20Sopenharmony_ci 9888c2ecf20Sopenharmony_cistatic const char * const bimc_dte0_groups[] = { 9898c2ecf20Sopenharmony_ci "gpio52", "gpio54", 9908c2ecf20Sopenharmony_ci}; 9918c2ecf20Sopenharmony_ci 9928c2ecf20Sopenharmony_cistatic const char * const rgb_hsync_groups[] = { 9938c2ecf20Sopenharmony_ci "gpio53", 9948c2ecf20Sopenharmony_ci}; 9958c2ecf20Sopenharmony_ci 9968c2ecf20Sopenharmony_cistatic const char * const pwm_led21_groups[] = { 9978c2ecf20Sopenharmony_ci "gpio53", 9988c2ecf20Sopenharmony_ci}; 9998c2ecf20Sopenharmony_ci 10008c2ecf20Sopenharmony_cistatic const char * const i2s_3_ws_b_groups[] = { 10018c2ecf20Sopenharmony_ci "gpio53", 10028c2ecf20Sopenharmony_ci}; 10038c2ecf20Sopenharmony_ci 10048c2ecf20Sopenharmony_cistatic const char * const dbg_out_groups[] = { 10058c2ecf20Sopenharmony_ci "gpio53", 10068c2ecf20Sopenharmony_ci}; 10078c2ecf20Sopenharmony_ci 10088c2ecf20Sopenharmony_cistatic const char * const rgb_vsync_groups[] = { 10098c2ecf20Sopenharmony_ci "gpio54", 10108c2ecf20Sopenharmony_ci}; 10118c2ecf20Sopenharmony_ci 10128c2ecf20Sopenharmony_cistatic const char * const i2s_3_data0_b_groups[] = { 10138c2ecf20Sopenharmony_ci "gpio54", 10148c2ecf20Sopenharmony_ci}; 10158c2ecf20Sopenharmony_ci 10168c2ecf20Sopenharmony_cistatic const char * const ldo_en_groups[] = { 10178c2ecf20Sopenharmony_ci "gpio54", 10188c2ecf20Sopenharmony_ci}; 10198c2ecf20Sopenharmony_ci 10208c2ecf20Sopenharmony_cistatic const char * const hdmi_dtest_groups[] = { 10218c2ecf20Sopenharmony_ci "gpio54", 10228c2ecf20Sopenharmony_ci}; 10238c2ecf20Sopenharmony_ci 10248c2ecf20Sopenharmony_cistatic const char * const rgb_de_groups[] = { 10258c2ecf20Sopenharmony_ci "gpio55", 10268c2ecf20Sopenharmony_ci}; 10278c2ecf20Sopenharmony_ci 10288c2ecf20Sopenharmony_cistatic const char * const i2s_3_data1_b_groups[] = { 10298c2ecf20Sopenharmony_ci "gpio55", 10308c2ecf20Sopenharmony_ci}; 10318c2ecf20Sopenharmony_ci 10328c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk9_groups[] = { 10338c2ecf20Sopenharmony_ci "gpio55", 10348c2ecf20Sopenharmony_ci}; 10358c2ecf20Sopenharmony_ci 10368c2ecf20Sopenharmony_cistatic const char * const rgb_clk_groups[] = { 10378c2ecf20Sopenharmony_ci "gpio56", 10388c2ecf20Sopenharmony_ci}; 10398c2ecf20Sopenharmony_ci 10408c2ecf20Sopenharmony_cistatic const char * const atest_char1_groups[] = { 10418c2ecf20Sopenharmony_ci "gpio56", 10428c2ecf20Sopenharmony_ci}; 10438c2ecf20Sopenharmony_ci 10448c2ecf20Sopenharmony_cistatic const char * const i2s_3_data2_b_groups[] = { 10458c2ecf20Sopenharmony_ci "gpio56", 10468c2ecf20Sopenharmony_ci}; 10478c2ecf20Sopenharmony_ci 10488c2ecf20Sopenharmony_cistatic const char * const ebi_cdc_groups[] = { 10498c2ecf20Sopenharmony_ci "gpio56", "gpio58", "gpio106", "gpio107", "gpio108", "gpio111", 10508c2ecf20Sopenharmony_ci}; 10518c2ecf20Sopenharmony_ci 10528c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk8_groups[] = { 10538c2ecf20Sopenharmony_ci "gpio56", 10548c2ecf20Sopenharmony_ci}; 10558c2ecf20Sopenharmony_ci 10568c2ecf20Sopenharmony_cistatic const char * const rgb_mdp_groups[] = { 10578c2ecf20Sopenharmony_ci "gpio57", 10588c2ecf20Sopenharmony_ci}; 10598c2ecf20Sopenharmony_ci 10608c2ecf20Sopenharmony_cistatic const char * const atest_char0_groups[] = { 10618c2ecf20Sopenharmony_ci "gpio57", 10628c2ecf20Sopenharmony_ci}; 10638c2ecf20Sopenharmony_ci 10648c2ecf20Sopenharmony_cistatic const char * const i2s_3_data3_b_groups[] = { 10658c2ecf20Sopenharmony_ci "gpio57", 10668c2ecf20Sopenharmony_ci}; 10678c2ecf20Sopenharmony_ci 10688c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk7_groups[] = { 10698c2ecf20Sopenharmony_ci "gpio57", 10708c2ecf20Sopenharmony_ci}; 10718c2ecf20Sopenharmony_ci 10728c2ecf20Sopenharmony_cistatic const char * const rgb_data_b6_groups[] = { 10738c2ecf20Sopenharmony_ci "gpio58", 10748c2ecf20Sopenharmony_ci}; 10758c2ecf20Sopenharmony_ci 10768c2ecf20Sopenharmony_cistatic const char * const rgb_data_b7_groups[] = { 10778c2ecf20Sopenharmony_ci "gpio59", 10788c2ecf20Sopenharmony_ci}; 10798c2ecf20Sopenharmony_ci 10808c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk6_groups[] = { 10818c2ecf20Sopenharmony_ci "gpio59", 10828c2ecf20Sopenharmony_ci}; 10838c2ecf20Sopenharmony_ci 10848c2ecf20Sopenharmony_cistatic const char * const rgmii_int_groups[] = { 10858c2ecf20Sopenharmony_ci "gpio61", 10868c2ecf20Sopenharmony_ci}; 10878c2ecf20Sopenharmony_ci 10888c2ecf20Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 10898c2ecf20Sopenharmony_ci "gpio61", 10908c2ecf20Sopenharmony_ci}; 10918c2ecf20Sopenharmony_ci 10928c2ecf20Sopenharmony_cistatic const char * const rgmii_wol_groups[] = { 10938c2ecf20Sopenharmony_ci "gpio62", 10948c2ecf20Sopenharmony_ci}; 10958c2ecf20Sopenharmony_ci 10968c2ecf20Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 10978c2ecf20Sopenharmony_ci "gpio62", 10988c2ecf20Sopenharmony_ci}; 10998c2ecf20Sopenharmony_ci 11008c2ecf20Sopenharmony_cistatic const char * const gcc_tlmm_groups[] = { 11018c2ecf20Sopenharmony_ci "gpio62", 11028c2ecf20Sopenharmony_ci}; 11038c2ecf20Sopenharmony_ci 11048c2ecf20Sopenharmony_cistatic const char * const rgmii_ck_groups[] = { 11058c2ecf20Sopenharmony_ci "gpio63", "gpio69", 11068c2ecf20Sopenharmony_ci}; 11078c2ecf20Sopenharmony_ci 11088c2ecf20Sopenharmony_cistatic const char * const rgmii_tx_groups[] = { 11098c2ecf20Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", 11108c2ecf20Sopenharmony_ci}; 11118c2ecf20Sopenharmony_ci 11128c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk5_groups[] = { 11138c2ecf20Sopenharmony_ci "gpio64", 11148c2ecf20Sopenharmony_ci}; 11158c2ecf20Sopenharmony_ci 11168c2ecf20Sopenharmony_cistatic const char * const hdmi_pixel_groups[] = { 11178c2ecf20Sopenharmony_ci "gpio65", 11188c2ecf20Sopenharmony_ci}; 11198c2ecf20Sopenharmony_ci 11208c2ecf20Sopenharmony_cistatic const char * const hdmi_rcv_groups[] = { 11218c2ecf20Sopenharmony_ci "gpio66", 11228c2ecf20Sopenharmony_ci}; 11238c2ecf20Sopenharmony_ci 11248c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk4_groups[] = { 11258c2ecf20Sopenharmony_ci "gpio67", 11268c2ecf20Sopenharmony_ci}; 11278c2ecf20Sopenharmony_ci 11288c2ecf20Sopenharmony_cistatic const char * const rgmii_ctl_groups[] = { 11298c2ecf20Sopenharmony_ci "gpio68", "gpio74", 11308c2ecf20Sopenharmony_ci}; 11318c2ecf20Sopenharmony_ci 11328c2ecf20Sopenharmony_cistatic const char * const ext_lpass_groups[] = { 11338c2ecf20Sopenharmony_ci "gpio69", 11348c2ecf20Sopenharmony_ci}; 11358c2ecf20Sopenharmony_ci 11368c2ecf20Sopenharmony_cistatic const char * const rgmii_rx_groups[] = { 11378c2ecf20Sopenharmony_ci "gpio70", "gpio71", "gpio72", "gpio73", 11388c2ecf20Sopenharmony_ci}; 11398c2ecf20Sopenharmony_ci 11408c2ecf20Sopenharmony_cistatic const char * const cri_trng_groups[] = { 11418c2ecf20Sopenharmony_ci "gpio70", 11428c2ecf20Sopenharmony_ci}; 11438c2ecf20Sopenharmony_ci 11448c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk3_groups[] = { 11458c2ecf20Sopenharmony_ci "gpio71", 11468c2ecf20Sopenharmony_ci}; 11478c2ecf20Sopenharmony_ci 11488c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk2_groups[] = { 11498c2ecf20Sopenharmony_ci "gpio72", 11508c2ecf20Sopenharmony_ci}; 11518c2ecf20Sopenharmony_ci 11528c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_out_b1_groups[] = { 11538c2ecf20Sopenharmony_ci "gpio73", 11548c2ecf20Sopenharmony_ci}; 11558c2ecf20Sopenharmony_ci 11568c2ecf20Sopenharmony_cistatic const char * const rgmii_mdio_groups[] = { 11578c2ecf20Sopenharmony_ci "gpio75", 11588c2ecf20Sopenharmony_ci}; 11598c2ecf20Sopenharmony_ci 11608c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk1_groups[] = { 11618c2ecf20Sopenharmony_ci "gpio75", 11628c2ecf20Sopenharmony_ci}; 11638c2ecf20Sopenharmony_ci 11648c2ecf20Sopenharmony_cistatic const char * const rgmii_mdc_groups[] = { 11658c2ecf20Sopenharmony_ci "gpio76", 11668c2ecf20Sopenharmony_ci}; 11678c2ecf20Sopenharmony_ci 11688c2ecf20Sopenharmony_cistatic const char * const hdmi_lbk0_groups[] = { 11698c2ecf20Sopenharmony_ci "gpio76", 11708c2ecf20Sopenharmony_ci}; 11718c2ecf20Sopenharmony_ci 11728c2ecf20Sopenharmony_cistatic const char * const ir_in_groups[] = { 11738c2ecf20Sopenharmony_ci "gpio77", 11748c2ecf20Sopenharmony_ci}; 11758c2ecf20Sopenharmony_ci 11768c2ecf20Sopenharmony_cistatic const char * const wsa_en_groups[] = { 11778c2ecf20Sopenharmony_ci "gpio77", 11788c2ecf20Sopenharmony_ci}; 11798c2ecf20Sopenharmony_ci 11808c2ecf20Sopenharmony_cistatic const char * const rgb_data6_groups[] = { 11818c2ecf20Sopenharmony_ci "gpio78", "gpio80", 11828c2ecf20Sopenharmony_ci}; 11838c2ecf20Sopenharmony_ci 11848c2ecf20Sopenharmony_cistatic const char * const rgb_data7_groups[] = { 11858c2ecf20Sopenharmony_ci "gpio79", "gpio81", 11868c2ecf20Sopenharmony_ci}; 11878c2ecf20Sopenharmony_ci 11888c2ecf20Sopenharmony_cistatic const char * const atest_char2_groups[] = { 11898c2ecf20Sopenharmony_ci "gpio80", 11908c2ecf20Sopenharmony_ci}; 11918c2ecf20Sopenharmony_ci 11928c2ecf20Sopenharmony_cistatic const char * const ebi_ch0_groups[] = { 11938c2ecf20Sopenharmony_ci "gpio81", 11948c2ecf20Sopenharmony_ci}; 11958c2ecf20Sopenharmony_ci 11968c2ecf20Sopenharmony_cistatic const char * const blsp_uart3_groups[] = { 11978c2ecf20Sopenharmony_ci "gpio82", "gpio83", "gpio84", "gpio85", 11988c2ecf20Sopenharmony_ci}; 11998c2ecf20Sopenharmony_ci 12008c2ecf20Sopenharmony_cistatic const char * const blsp_spi3_groups[] = { 12018c2ecf20Sopenharmony_ci "gpio82", "gpio83", "gpio84", "gpio85", 12028c2ecf20Sopenharmony_ci}; 12038c2ecf20Sopenharmony_ci 12048c2ecf20Sopenharmony_cistatic const char * const sd_write_groups[] = { 12058c2ecf20Sopenharmony_ci "gpio82", 12068c2ecf20Sopenharmony_ci}; 12078c2ecf20Sopenharmony_ci 12088c2ecf20Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = { 12098c2ecf20Sopenharmony_ci "gpio84", "gpio85", 12108c2ecf20Sopenharmony_ci}; 12118c2ecf20Sopenharmony_ci 12128c2ecf20Sopenharmony_cistatic const char * const gcc_gp1_clk_a_groups[] = { 12138c2ecf20Sopenharmony_ci "gpio84", 12148c2ecf20Sopenharmony_ci}; 12158c2ecf20Sopenharmony_ci 12168c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_in_b1_groups[] = { 12178c2ecf20Sopenharmony_ci "gpio84", 12188c2ecf20Sopenharmony_ci}; 12198c2ecf20Sopenharmony_ci 12208c2ecf20Sopenharmony_cistatic const char * const gcc_gp2_clk_a_groups[] = { 12218c2ecf20Sopenharmony_ci "gpio85", 12228c2ecf20Sopenharmony_ci}; 12238c2ecf20Sopenharmony_ci 12248c2ecf20Sopenharmony_cistatic const char * const ext_mclk0_groups[] = { 12258c2ecf20Sopenharmony_ci "gpio86", 12268c2ecf20Sopenharmony_ci}; 12278c2ecf20Sopenharmony_ci 12288c2ecf20Sopenharmony_cistatic const char * const mclk_in1_groups[] = { 12298c2ecf20Sopenharmony_ci "gpio86", 12308c2ecf20Sopenharmony_ci}; 12318c2ecf20Sopenharmony_ci 12328c2ecf20Sopenharmony_cistatic const char * const i2s_1_groups[] = { 12338c2ecf20Sopenharmony_ci "gpio87", "gpio88", "gpio88", "gpio89", "gpio89", "gpio90", "gpio90", 12348c2ecf20Sopenharmony_ci "gpio91", "gpio91", "gpio92", "gpio92", "gpio93", "gpio93", "gpio94", 12358c2ecf20Sopenharmony_ci "gpio94", "gpio95", "gpio95", "gpio96", 12368c2ecf20Sopenharmony_ci}; 12378c2ecf20Sopenharmony_ci 12388c2ecf20Sopenharmony_cistatic const char * const dsd_clk_a_groups[] = { 12398c2ecf20Sopenharmony_ci "gpio87", 12408c2ecf20Sopenharmony_ci}; 12418c2ecf20Sopenharmony_ci 12428c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_in_a1_groups[] = { 12438c2ecf20Sopenharmony_ci "gpio92", 12448c2ecf20Sopenharmony_ci}; 12458c2ecf20Sopenharmony_ci 12468c2ecf20Sopenharmony_cistatic const char * const rgmi_dll1_groups[] = { 12478c2ecf20Sopenharmony_ci "gpio92", 12488c2ecf20Sopenharmony_ci}; 12498c2ecf20Sopenharmony_ci 12508c2ecf20Sopenharmony_cistatic const char * const pwm_led22_groups[] = { 12518c2ecf20Sopenharmony_ci "gpio93", 12528c2ecf20Sopenharmony_ci}; 12538c2ecf20Sopenharmony_ci 12548c2ecf20Sopenharmony_cistatic const char * const pwm_led23_groups[] = { 12558c2ecf20Sopenharmony_ci "gpio94", 12568c2ecf20Sopenharmony_ci}; 12578c2ecf20Sopenharmony_ci 12588c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_out_a0_groups[] = { 12598c2ecf20Sopenharmony_ci "gpio94", 12608c2ecf20Sopenharmony_ci}; 12618c2ecf20Sopenharmony_ci 12628c2ecf20Sopenharmony_cistatic const char * const rgmi_dll2_groups[] = { 12638c2ecf20Sopenharmony_ci "gpio94", 12648c2ecf20Sopenharmony_ci}; 12658c2ecf20Sopenharmony_ci 12668c2ecf20Sopenharmony_cistatic const char * const pwm_led1_groups[] = { 12678c2ecf20Sopenharmony_ci "gpio95", 12688c2ecf20Sopenharmony_ci}; 12698c2ecf20Sopenharmony_ci 12708c2ecf20Sopenharmony_cistatic const char * const qdss_cti_trig_out_a1_groups[] = { 12718c2ecf20Sopenharmony_ci "gpio95", 12728c2ecf20Sopenharmony_ci}; 12738c2ecf20Sopenharmony_ci 12748c2ecf20Sopenharmony_cistatic const char * const pwm_led2_groups[] = { 12758c2ecf20Sopenharmony_ci "gpio96", 12768c2ecf20Sopenharmony_ci}; 12778c2ecf20Sopenharmony_ci 12788c2ecf20Sopenharmony_cistatic const char * const i2s_2_groups[] = { 12798c2ecf20Sopenharmony_ci "gpio97", "gpio98", "gpio99", "gpio100", "gpio101", "gpio102", 12808c2ecf20Sopenharmony_ci}; 12818c2ecf20Sopenharmony_ci 12828c2ecf20Sopenharmony_cistatic const char * const pll_bist_groups[] = { 12838c2ecf20Sopenharmony_ci "gpio100", 12848c2ecf20Sopenharmony_ci}; 12858c2ecf20Sopenharmony_ci 12868c2ecf20Sopenharmony_cistatic const char * const ext_mclk1_a_groups[] = { 12878c2ecf20Sopenharmony_ci "gpio103", 12888c2ecf20Sopenharmony_ci}; 12898c2ecf20Sopenharmony_ci 12908c2ecf20Sopenharmony_cistatic const char * const mclk_in2_groups[] = { 12918c2ecf20Sopenharmony_ci "gpio103", 12928c2ecf20Sopenharmony_ci}; 12938c2ecf20Sopenharmony_ci 12948c2ecf20Sopenharmony_cistatic const char * const bimc_dte1_groups[] = { 12958c2ecf20Sopenharmony_ci "gpio103", "gpio109", 12968c2ecf20Sopenharmony_ci}; 12978c2ecf20Sopenharmony_ci 12988c2ecf20Sopenharmony_cistatic const char * const i2s_3_sck_a_groups[] = { 12998c2ecf20Sopenharmony_ci "gpio104", 13008c2ecf20Sopenharmony_ci}; 13018c2ecf20Sopenharmony_ci 13028c2ecf20Sopenharmony_cistatic const char * const i2s_3_ws_a_groups[] = { 13038c2ecf20Sopenharmony_ci "gpio105", 13048c2ecf20Sopenharmony_ci}; 13058c2ecf20Sopenharmony_ci 13068c2ecf20Sopenharmony_cistatic const struct msm_function qcs404_functions[] = { 13078c2ecf20Sopenharmony_ci FUNCTION(gpio), 13088c2ecf20Sopenharmony_ci FUNCTION(hdmi_tx), 13098c2ecf20Sopenharmony_ci FUNCTION(hdmi_ddc), 13108c2ecf20Sopenharmony_ci FUNCTION(blsp_uart_tx_a2), 13118c2ecf20Sopenharmony_ci FUNCTION(blsp_spi2), 13128c2ecf20Sopenharmony_ci FUNCTION(m_voc), 13138c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_in_a0), 13148c2ecf20Sopenharmony_ci FUNCTION(blsp_uart_rx_a2), 13158c2ecf20Sopenharmony_ci FUNCTION(qdss_tracectl_a), 13168c2ecf20Sopenharmony_ci FUNCTION(blsp_uart2), 13178c2ecf20Sopenharmony_ci FUNCTION(aud_cdc), 13188c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c_sda_a2), 13198c2ecf20Sopenharmony_ci FUNCTION(qdss_tracedata_a), 13208c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c_scl_a2), 13218c2ecf20Sopenharmony_ci FUNCTION(qdss_tracectl_b), 13228c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_in_b0), 13238c2ecf20Sopenharmony_ci FUNCTION(blsp_uart1), 13248c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_mosi_a1), 13258c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_miso_a1), 13268c2ecf20Sopenharmony_ci FUNCTION(qdss_tracedata_b), 13278c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c1), 13288c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_cs_n_a1), 13298c2ecf20Sopenharmony_ci FUNCTION(gcc_plltest), 13308c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_clk_a1), 13318c2ecf20Sopenharmony_ci FUNCTION(rgb_data0), 13328c2ecf20Sopenharmony_ci FUNCTION(blsp_uart5), 13338c2ecf20Sopenharmony_ci FUNCTION(blsp_spi5), 13348c2ecf20Sopenharmony_ci FUNCTION(adsp_ext), 13358c2ecf20Sopenharmony_ci FUNCTION(rgb_data1), 13368c2ecf20Sopenharmony_ci FUNCTION(prng_rosc), 13378c2ecf20Sopenharmony_ci FUNCTION(rgb_data2), 13388c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c5), 13398c2ecf20Sopenharmony_ci FUNCTION(gcc_gp1_clk_b), 13408c2ecf20Sopenharmony_ci FUNCTION(rgb_data3), 13418c2ecf20Sopenharmony_ci FUNCTION(gcc_gp2_clk_b), 13428c2ecf20Sopenharmony_ci FUNCTION(blsp_spi0), 13438c2ecf20Sopenharmony_ci FUNCTION(blsp_uart0), 13448c2ecf20Sopenharmony_ci FUNCTION(gcc_gp3_clk_b), 13458c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c0), 13468c2ecf20Sopenharmony_ci FUNCTION(qdss_traceclk_b), 13478c2ecf20Sopenharmony_ci FUNCTION(pcie_clk), 13488c2ecf20Sopenharmony_ci FUNCTION(nfc_irq), 13498c2ecf20Sopenharmony_ci FUNCTION(blsp_spi4), 13508c2ecf20Sopenharmony_ci FUNCTION(nfc_dwl), 13518c2ecf20Sopenharmony_ci FUNCTION(audio_ts), 13528c2ecf20Sopenharmony_ci FUNCTION(rgb_data4), 13538c2ecf20Sopenharmony_ci FUNCTION(spi_lcd), 13548c2ecf20Sopenharmony_ci FUNCTION(blsp_uart_tx_b2), 13558c2ecf20Sopenharmony_ci FUNCTION(gcc_gp3_clk_a), 13568c2ecf20Sopenharmony_ci FUNCTION(rgb_data5), 13578c2ecf20Sopenharmony_ci FUNCTION(blsp_uart_rx_b2), 13588c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c_sda_b2), 13598c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c_scl_b2), 13608c2ecf20Sopenharmony_ci FUNCTION(pwm_led11), 13618c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data0_a), 13628c2ecf20Sopenharmony_ci FUNCTION(ebi2_lcd), 13638c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data1_a), 13648c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data2_a), 13658c2ecf20Sopenharmony_ci FUNCTION(atest_char), 13668c2ecf20Sopenharmony_ci FUNCTION(pwm_led3), 13678c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data3_a), 13688c2ecf20Sopenharmony_ci FUNCTION(pwm_led4), 13698c2ecf20Sopenharmony_ci FUNCTION(i2s_4), 13708c2ecf20Sopenharmony_ci FUNCTION(ebi2_a), 13718c2ecf20Sopenharmony_ci FUNCTION(dsd_clk_b), 13728c2ecf20Sopenharmony_ci FUNCTION(pwm_led5), 13738c2ecf20Sopenharmony_ci FUNCTION(pwm_led6), 13748c2ecf20Sopenharmony_ci FUNCTION(pwm_led7), 13758c2ecf20Sopenharmony_ci FUNCTION(pwm_led8), 13768c2ecf20Sopenharmony_ci FUNCTION(pwm_led24), 13778c2ecf20Sopenharmony_ci FUNCTION(spkr_dac0), 13788c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c4), 13798c2ecf20Sopenharmony_ci FUNCTION(pwm_led9), 13808c2ecf20Sopenharmony_ci FUNCTION(pwm_led10), 13818c2ecf20Sopenharmony_ci FUNCTION(spdifrx_opt), 13828c2ecf20Sopenharmony_ci FUNCTION(pwm_led12), 13838c2ecf20Sopenharmony_ci FUNCTION(pwm_led13), 13848c2ecf20Sopenharmony_ci FUNCTION(pwm_led14), 13858c2ecf20Sopenharmony_ci FUNCTION(wlan1_adc1), 13868c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b0), 13878c2ecf20Sopenharmony_ci FUNCTION(pwm_led15), 13888c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_mosi_b1), 13898c2ecf20Sopenharmony_ci FUNCTION(wlan1_adc0), 13908c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b1), 13918c2ecf20Sopenharmony_ci FUNCTION(pwm_led16), 13928c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_miso_b1), 13938c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_out_b0), 13948c2ecf20Sopenharmony_ci FUNCTION(wlan2_adc1), 13958c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b2), 13968c2ecf20Sopenharmony_ci FUNCTION(pwm_led17), 13978c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_cs_n_b1), 13988c2ecf20Sopenharmony_ci FUNCTION(wlan2_adc0), 13998c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b3), 14008c2ecf20Sopenharmony_ci FUNCTION(pwm_led18), 14018c2ecf20Sopenharmony_ci FUNCTION(blsp_spi_clk_b1), 14028c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b4), 14038c2ecf20Sopenharmony_ci FUNCTION(pwm_led19), 14048c2ecf20Sopenharmony_ci FUNCTION(ext_mclk1_b), 14058c2ecf20Sopenharmony_ci FUNCTION(qdss_traceclk_a), 14068c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b5), 14078c2ecf20Sopenharmony_ci FUNCTION(pwm_led20), 14088c2ecf20Sopenharmony_ci FUNCTION(atest_char3), 14098c2ecf20Sopenharmony_ci FUNCTION(i2s_3_sck_b), 14108c2ecf20Sopenharmony_ci FUNCTION(ldo_update), 14118c2ecf20Sopenharmony_ci FUNCTION(bimc_dte0), 14128c2ecf20Sopenharmony_ci FUNCTION(rgb_hsync), 14138c2ecf20Sopenharmony_ci FUNCTION(pwm_led21), 14148c2ecf20Sopenharmony_ci FUNCTION(i2s_3_ws_b), 14158c2ecf20Sopenharmony_ci FUNCTION(dbg_out), 14168c2ecf20Sopenharmony_ci FUNCTION(rgb_vsync), 14178c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data0_b), 14188c2ecf20Sopenharmony_ci FUNCTION(ldo_en), 14198c2ecf20Sopenharmony_ci FUNCTION(hdmi_dtest), 14208c2ecf20Sopenharmony_ci FUNCTION(rgb_de), 14218c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data1_b), 14228c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk9), 14238c2ecf20Sopenharmony_ci FUNCTION(rgb_clk), 14248c2ecf20Sopenharmony_ci FUNCTION(atest_char1), 14258c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data2_b), 14268c2ecf20Sopenharmony_ci FUNCTION(ebi_cdc), 14278c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk8), 14288c2ecf20Sopenharmony_ci FUNCTION(rgb_mdp), 14298c2ecf20Sopenharmony_ci FUNCTION(atest_char0), 14308c2ecf20Sopenharmony_ci FUNCTION(i2s_3_data3_b), 14318c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk7), 14328c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b6), 14338c2ecf20Sopenharmony_ci FUNCTION(rgb_data_b7), 14348c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk6), 14358c2ecf20Sopenharmony_ci FUNCTION(rgmii_int), 14368c2ecf20Sopenharmony_ci FUNCTION(cri_trng1), 14378c2ecf20Sopenharmony_ci FUNCTION(rgmii_wol), 14388c2ecf20Sopenharmony_ci FUNCTION(cri_trng0), 14398c2ecf20Sopenharmony_ci FUNCTION(gcc_tlmm), 14408c2ecf20Sopenharmony_ci FUNCTION(rgmii_ck), 14418c2ecf20Sopenharmony_ci FUNCTION(rgmii_tx), 14428c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk5), 14438c2ecf20Sopenharmony_ci FUNCTION(hdmi_pixel), 14448c2ecf20Sopenharmony_ci FUNCTION(hdmi_rcv), 14458c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk4), 14468c2ecf20Sopenharmony_ci FUNCTION(rgmii_ctl), 14478c2ecf20Sopenharmony_ci FUNCTION(ext_lpass), 14488c2ecf20Sopenharmony_ci FUNCTION(rgmii_rx), 14498c2ecf20Sopenharmony_ci FUNCTION(cri_trng), 14508c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk3), 14518c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk2), 14528c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_out_b1), 14538c2ecf20Sopenharmony_ci FUNCTION(rgmii_mdio), 14548c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk1), 14558c2ecf20Sopenharmony_ci FUNCTION(rgmii_mdc), 14568c2ecf20Sopenharmony_ci FUNCTION(hdmi_lbk0), 14578c2ecf20Sopenharmony_ci FUNCTION(ir_in), 14588c2ecf20Sopenharmony_ci FUNCTION(wsa_en), 14598c2ecf20Sopenharmony_ci FUNCTION(rgb_data6), 14608c2ecf20Sopenharmony_ci FUNCTION(rgb_data7), 14618c2ecf20Sopenharmony_ci FUNCTION(atest_char2), 14628c2ecf20Sopenharmony_ci FUNCTION(ebi_ch0), 14638c2ecf20Sopenharmony_ci FUNCTION(blsp_uart3), 14648c2ecf20Sopenharmony_ci FUNCTION(blsp_spi3), 14658c2ecf20Sopenharmony_ci FUNCTION(sd_write), 14668c2ecf20Sopenharmony_ci FUNCTION(blsp_i2c3), 14678c2ecf20Sopenharmony_ci FUNCTION(gcc_gp1_clk_a), 14688c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_in_b1), 14698c2ecf20Sopenharmony_ci FUNCTION(gcc_gp2_clk_a), 14708c2ecf20Sopenharmony_ci FUNCTION(ext_mclk0), 14718c2ecf20Sopenharmony_ci FUNCTION(mclk_in1), 14728c2ecf20Sopenharmony_ci FUNCTION(i2s_1), 14738c2ecf20Sopenharmony_ci FUNCTION(dsd_clk_a), 14748c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_in_a1), 14758c2ecf20Sopenharmony_ci FUNCTION(rgmi_dll1), 14768c2ecf20Sopenharmony_ci FUNCTION(pwm_led22), 14778c2ecf20Sopenharmony_ci FUNCTION(pwm_led23), 14788c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_out_a0), 14798c2ecf20Sopenharmony_ci FUNCTION(rgmi_dll2), 14808c2ecf20Sopenharmony_ci FUNCTION(pwm_led1), 14818c2ecf20Sopenharmony_ci FUNCTION(qdss_cti_trig_out_a1), 14828c2ecf20Sopenharmony_ci FUNCTION(pwm_led2), 14838c2ecf20Sopenharmony_ci FUNCTION(i2s_2), 14848c2ecf20Sopenharmony_ci FUNCTION(pll_bist), 14858c2ecf20Sopenharmony_ci FUNCTION(ext_mclk1_a), 14868c2ecf20Sopenharmony_ci FUNCTION(mclk_in2), 14878c2ecf20Sopenharmony_ci FUNCTION(bimc_dte1), 14888c2ecf20Sopenharmony_ci FUNCTION(i2s_3_sck_a), 14898c2ecf20Sopenharmony_ci FUNCTION(i2s_3_ws_a), 14908c2ecf20Sopenharmony_ci}; 14918c2ecf20Sopenharmony_ci 14928c2ecf20Sopenharmony_ci/* Every pin is maintained as a single group, and missing or non-existing pin 14938c2ecf20Sopenharmony_ci * would be maintained as dummy group to synchronize pin group index with 14948c2ecf20Sopenharmony_ci * pin descriptor registered with pinctrl core. 14958c2ecf20Sopenharmony_ci * Clients would not be able to request these dummy pin groups. 14968c2ecf20Sopenharmony_ci */ 14978c2ecf20Sopenharmony_cistatic const struct msm_pingroup qcs404_groups[] = { 14988c2ecf20Sopenharmony_ci [0] = PINGROUP(0, SOUTH, _, _, _, _, _, _, _, _, _), 14998c2ecf20Sopenharmony_ci [1] = PINGROUP(1, SOUTH, _, _, _, _, _, _, _, _, _), 15008c2ecf20Sopenharmony_ci [2] = PINGROUP(2, SOUTH, _, _, _, _, _, _, _, _, _), 15018c2ecf20Sopenharmony_ci [3] = PINGROUP(3, SOUTH, _, _, _, _, _, _, _, _, _), 15028c2ecf20Sopenharmony_ci [4] = PINGROUP(4, SOUTH, _, _, _, _, _, _, _, _, _), 15038c2ecf20Sopenharmony_ci [5] = PINGROUP(5, SOUTH, _, _, _, _, _, _, _, _, _), 15048c2ecf20Sopenharmony_ci [6] = PINGROUP(6, SOUTH, _, _, _, _, _, _, _, _, _), 15058c2ecf20Sopenharmony_ci [7] = PINGROUP(7, SOUTH, _, _, _, _, _, _, _, _, _), 15068c2ecf20Sopenharmony_ci [8] = PINGROUP(8, SOUTH, _, _, _, _, _, _, _, _, _), 15078c2ecf20Sopenharmony_ci [9] = PINGROUP(9, SOUTH, _, _, _, _, _, _, _, _, _), 15088c2ecf20Sopenharmony_ci [10] = PINGROUP(10, SOUTH, _, _, _, _, _, _, _, _, _), 15098c2ecf20Sopenharmony_ci [11] = PINGROUP(11, SOUTH, _, _, _, _, _, _, _, _, _), 15108c2ecf20Sopenharmony_ci [12] = PINGROUP(12, SOUTH, _, _, _, _, _, _, _, _, _), 15118c2ecf20Sopenharmony_ci [13] = PINGROUP(13, SOUTH, _, _, _, _, _, _, _, _, _), 15128c2ecf20Sopenharmony_ci [14] = PINGROUP(14, SOUTH, hdmi_tx, _, _, _, _, _, _, _, _), 15138c2ecf20Sopenharmony_ci [15] = PINGROUP(15, SOUTH, hdmi_ddc, _, _, _, _, _, _, _, _), 15148c2ecf20Sopenharmony_ci [16] = PINGROUP(16, SOUTH, hdmi_ddc, _, _, _, _, _, _, _, _), 15158c2ecf20Sopenharmony_ci [17] = PINGROUP(17, NORTH, blsp_uart_tx_a2, blsp_spi2, m_voc, _, _, _, _, _, _), 15168c2ecf20Sopenharmony_ci [18] = PINGROUP(18, NORTH, blsp_uart_rx_a2, blsp_spi2, _, _, _, _, _, qdss_tracectl_a, _), 15178c2ecf20Sopenharmony_ci [19] = PINGROUP(19, NORTH, blsp_uart2, aud_cdc, blsp_i2c_sda_a2, blsp_spi2, _, qdss_tracedata_a, _, _, _), 15188c2ecf20Sopenharmony_ci [20] = PINGROUP(20, NORTH, blsp_uart2, aud_cdc, blsp_i2c_scl_a2, blsp_spi2, _, _, _, _, _), 15198c2ecf20Sopenharmony_ci [21] = PINGROUP(21, SOUTH, m_voc, _, _, _, _, _, _, _, qdss_cti_trig_in_b0), 15208c2ecf20Sopenharmony_ci [22] = PINGROUP(22, NORTH, blsp_uart1, blsp_spi_mosi_a1, _, _, _, _, _, _, _), 15218c2ecf20Sopenharmony_ci [23] = PINGROUP(23, NORTH, blsp_uart1, blsp_spi_miso_a1, _, _, _, _, _, qdss_tracedata_b, _), 15228c2ecf20Sopenharmony_ci [24] = PINGROUP(24, NORTH, blsp_uart1, blsp_i2c1, blsp_spi_cs_n_a1, gcc_plltest, _, _, _, _, _), 15238c2ecf20Sopenharmony_ci [25] = PINGROUP(25, NORTH, blsp_uart1, blsp_i2c1, blsp_spi_clk_a1, gcc_plltest, _, _, _, _, _), 15248c2ecf20Sopenharmony_ci [26] = PINGROUP(26, EAST, rgb_data0, blsp_uart5, blsp_spi5, adsp_ext, _, _, _, _, _), 15258c2ecf20Sopenharmony_ci [27] = PINGROUP(27, EAST, rgb_data1, blsp_uart5, blsp_spi5, prng_rosc, _, _, _, _, _), 15268c2ecf20Sopenharmony_ci [28] = PINGROUP(28, EAST, rgb_data2, blsp_uart5, blsp_i2c5, blsp_spi5, gcc_gp1_clk_b, _, _, _, _), 15278c2ecf20Sopenharmony_ci [29] = PINGROUP(29, EAST, rgb_data3, blsp_uart5, blsp_i2c5, blsp_spi5, gcc_gp2_clk_b, _, _, _, _), 15288c2ecf20Sopenharmony_ci [30] = PINGROUP(30, NORTH, blsp_spi0, blsp_uart0, gcc_gp3_clk_b, _, _, _, _, _, _), 15298c2ecf20Sopenharmony_ci [31] = PINGROUP(31, NORTH, blsp_spi0, blsp_uart0, _, _, _, _, _, _, _), 15308c2ecf20Sopenharmony_ci [32] = PINGROUP(32, NORTH, blsp_spi0, blsp_uart0, blsp_i2c0, _, _, _, _, _, _), 15318c2ecf20Sopenharmony_ci [33] = PINGROUP(33, NORTH, blsp_spi0, blsp_uart0, blsp_i2c0, _, _, _, _, _, _), 15328c2ecf20Sopenharmony_ci [34] = PINGROUP(34, SOUTH, _, qdss_traceclk_b, _, _, _, _, _, _, _), 15338c2ecf20Sopenharmony_ci [35] = PINGROUP(35, SOUTH, pcie_clk, _, qdss_tracedata_b, _, _, _, _, _, _), 15348c2ecf20Sopenharmony_ci [36] = PINGROUP(36, NORTH, _, _, _, _, _, _, qdss_tracedata_a, _, _), 15358c2ecf20Sopenharmony_ci [37] = PINGROUP(37, NORTH, nfc_irq, blsp_spi4, _, _, _, _, _, _, _), 15368c2ecf20Sopenharmony_ci [38] = PINGROUP(38, NORTH, nfc_dwl, blsp_spi4, audio_ts, _, _, _, _, _, _), 15378c2ecf20Sopenharmony_ci [39] = PINGROUP(39, EAST, rgb_data4, spi_lcd, blsp_uart_tx_b2, gcc_gp3_clk_a, qdss_tracedata_a, _, _, _, _), 15388c2ecf20Sopenharmony_ci [40] = PINGROUP(40, EAST, rgb_data5, spi_lcd, blsp_uart_rx_b2, _, qdss_tracedata_b, _, _, _, _), 15398c2ecf20Sopenharmony_ci [41] = PINGROUP(41, EAST, rgb_data0, blsp_i2c_sda_b2, _, qdss_tracedata_b, _, _, _, _, _), 15408c2ecf20Sopenharmony_ci [42] = PINGROUP(42, EAST, rgb_data1, blsp_i2c_scl_b2, _, _, _, _, _, qdss_tracedata_a, _), 15418c2ecf20Sopenharmony_ci [43] = PINGROUP(43, EAST, rgb_data2, pwm_led11, _, _, _, _, _, _, _), 15428c2ecf20Sopenharmony_ci [44] = PINGROUP(44, EAST, rgb_data3, pwm_led12, blsp_spi5, _, _, _, _, _, _), 15438c2ecf20Sopenharmony_ci [45] = PINGROUP(45, EAST, rgb_data4, pwm_led13, blsp_spi5, qdss_tracedata_b, _, _, _, _, _), 15448c2ecf20Sopenharmony_ci [46] = PINGROUP(46, EAST, rgb_data5, pwm_led14, blsp_spi5, qdss_tracedata_b, _, wlan1_adc1, _, _, _), 15458c2ecf20Sopenharmony_ci [47] = PINGROUP(47, EAST, rgb_data_b0, pwm_led15, blsp_spi_mosi_b1, qdss_tracedata_b, _, wlan1_adc0, _, _, _), 15468c2ecf20Sopenharmony_ci [48] = PINGROUP(48, EAST, rgb_data_b1, pwm_led16, blsp_spi_miso_b1, _, qdss_cti_trig_out_b0, _, wlan2_adc1, _, _), 15478c2ecf20Sopenharmony_ci [49] = PINGROUP(49, EAST, rgb_data_b2, pwm_led17, blsp_spi_cs_n_b1, _, qdss_tracedata_b, _, wlan2_adc0, _, _), 15488c2ecf20Sopenharmony_ci [50] = PINGROUP(50, EAST, rgb_data_b3, pwm_led18, blsp_spi_clk_b1, qdss_tracedata_b, _, _, _, _, _), 15498c2ecf20Sopenharmony_ci [51] = PINGROUP(51, EAST, rgb_data_b4, pwm_led19, ext_mclk1_b, qdss_traceclk_a, _, _, _, _, _), 15508c2ecf20Sopenharmony_ci [52] = PINGROUP(52, EAST, rgb_data_b5, pwm_led20, atest_char3, i2s_3_sck_b, ldo_update, bimc_dte0, _, _, _), 15518c2ecf20Sopenharmony_ci [53] = PINGROUP(53, EAST, rgb_hsync, pwm_led21, i2s_3_ws_b, dbg_out, _, _, _, _, _), 15528c2ecf20Sopenharmony_ci [54] = PINGROUP(54, EAST, rgb_vsync, i2s_3_data0_b, ldo_en, bimc_dte0, _, hdmi_dtest, _, _, _), 15538c2ecf20Sopenharmony_ci [55] = PINGROUP(55, EAST, rgb_de, i2s_3_data1_b, _, qdss_tracedata_b, _, hdmi_lbk9, _, _, _), 15548c2ecf20Sopenharmony_ci [56] = PINGROUP(56, EAST, rgb_clk, atest_char1, i2s_3_data2_b, ebi_cdc, _, hdmi_lbk8, _, _, _), 15558c2ecf20Sopenharmony_ci [57] = PINGROUP(57, EAST, rgb_mdp, atest_char0, i2s_3_data3_b, _, hdmi_lbk7, _, _, _, _), 15568c2ecf20Sopenharmony_ci [58] = PINGROUP(58, EAST, rgb_data_b6, _, ebi_cdc, _, _, _, _, _, _), 15578c2ecf20Sopenharmony_ci [59] = PINGROUP(59, EAST, rgb_data_b7, _, hdmi_lbk6, _, _, _, _, _, _), 15588c2ecf20Sopenharmony_ci [60] = PINGROUP(60, NORTH, _, _, _, _, _, _, _, _, _), 15598c2ecf20Sopenharmony_ci [61] = PINGROUP(61, NORTH, rgmii_int, cri_trng1, qdss_tracedata_b, _, _, _, _, _, _), 15608c2ecf20Sopenharmony_ci [62] = PINGROUP(62, NORTH, rgmii_wol, cri_trng0, qdss_tracedata_b, gcc_tlmm, _, _, _, _, _), 15618c2ecf20Sopenharmony_ci [63] = PINGROUP(63, NORTH, rgmii_ck, _, _, _, _, _, _, _, _), 15628c2ecf20Sopenharmony_ci [64] = PINGROUP(64, NORTH, rgmii_tx, _, hdmi_lbk5, _, _, _, _, _, _), 15638c2ecf20Sopenharmony_ci [65] = PINGROUP(65, NORTH, rgmii_tx, _, hdmi_pixel, _, _, _, _, _, _), 15648c2ecf20Sopenharmony_ci [66] = PINGROUP(66, NORTH, rgmii_tx, _, hdmi_rcv, _, _, _, _, _, _), 15658c2ecf20Sopenharmony_ci [67] = PINGROUP(67, NORTH, rgmii_tx, _, hdmi_lbk4, _, _, _, _, _, _), 15668c2ecf20Sopenharmony_ci [68] = PINGROUP(68, NORTH, rgmii_ctl, _, _, _, _, _, _, _, _), 15678c2ecf20Sopenharmony_ci [69] = PINGROUP(69, NORTH, rgmii_ck, ext_lpass, _, _, _, _, _, _, _), 15688c2ecf20Sopenharmony_ci [70] = PINGROUP(70, NORTH, rgmii_rx, cri_trng, _, _, _, _, _, _, _), 15698c2ecf20Sopenharmony_ci [71] = PINGROUP(71, NORTH, rgmii_rx, _, hdmi_lbk3, _, _, _, _, _, _), 15708c2ecf20Sopenharmony_ci [72] = PINGROUP(72, NORTH, rgmii_rx, _, hdmi_lbk2, _, _, _, _, _, _), 15718c2ecf20Sopenharmony_ci [73] = PINGROUP(73, NORTH, rgmii_rx, _, _, _, _, qdss_cti_trig_out_b1, _, _, _), 15728c2ecf20Sopenharmony_ci [74] = PINGROUP(74, NORTH, rgmii_ctl, _, _, _, _, _, _, _, _), 15738c2ecf20Sopenharmony_ci [75] = PINGROUP(75, NORTH, rgmii_mdio, _, hdmi_lbk1, _, _, _, _, _, _), 15748c2ecf20Sopenharmony_ci [76] = PINGROUP(76, NORTH, rgmii_mdc, _, _, _, _, _, hdmi_lbk0, _, _), 15758c2ecf20Sopenharmony_ci [77] = PINGROUP(77, NORTH, ir_in, wsa_en, _, _, _, _, _, _, _), 15768c2ecf20Sopenharmony_ci [78] = PINGROUP(78, EAST, rgb_data6, _, _, _, _, _, _, _, _), 15778c2ecf20Sopenharmony_ci [79] = PINGROUP(79, EAST, rgb_data7, _, _, _, _, _, _, _, _), 15788c2ecf20Sopenharmony_ci [80] = PINGROUP(80, EAST, rgb_data6, atest_char2, _, _, _, _, _, _, _), 15798c2ecf20Sopenharmony_ci [81] = PINGROUP(81, EAST, rgb_data7, ebi_ch0, _, _, _, _, _, _, _), 15808c2ecf20Sopenharmony_ci [82] = PINGROUP(82, NORTH, blsp_uart3, blsp_spi3, sd_write, _, _, _, _, _, qdss_tracedata_a), 15818c2ecf20Sopenharmony_ci [83] = PINGROUP(83, NORTH, blsp_uart3, blsp_spi3, _, _, _, _, qdss_tracedata_a, _, _), 15828c2ecf20Sopenharmony_ci [84] = PINGROUP(84, NORTH, blsp_uart3, blsp_i2c3, blsp_spi3, gcc_gp1_clk_a, qdss_cti_trig_in_b1, _, _, _, _), 15838c2ecf20Sopenharmony_ci [85] = PINGROUP(85, NORTH, blsp_uart3, blsp_i2c3, blsp_spi3, gcc_gp2_clk_a, qdss_tracedata_b, _, _, _, _), 15848c2ecf20Sopenharmony_ci [86] = PINGROUP(86, EAST, ext_mclk0, mclk_in1, _, _, _, _, _, _, _), 15858c2ecf20Sopenharmony_ci [87] = PINGROUP(87, EAST, i2s_1, dsd_clk_a, _, _, _, _, _, _, _), 15868c2ecf20Sopenharmony_ci [88] = PINGROUP(88, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _), 15878c2ecf20Sopenharmony_ci [89] = PINGROUP(89, EAST, i2s_1, i2s_1, _, _, _, _, _, _, qdss_tracedata_b), 15888c2ecf20Sopenharmony_ci [90] = PINGROUP(90, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _), 15898c2ecf20Sopenharmony_ci [91] = PINGROUP(91, EAST, i2s_1, i2s_1, _, _, _, _, _, _, _), 15908c2ecf20Sopenharmony_ci [92] = PINGROUP(92, EAST, i2s_1, i2s_1, _, _, _, _, _, qdss_cti_trig_in_a1, _), 15918c2ecf20Sopenharmony_ci [93] = PINGROUP(93, EAST, i2s_1, pwm_led22, i2s_1, _, _, _, _, _, qdss_tracedata_b), 15928c2ecf20Sopenharmony_ci [94] = PINGROUP(94, EAST, i2s_1, pwm_led23, i2s_1, _, qdss_cti_trig_out_a0, _, rgmi_dll2, _, _), 15938c2ecf20Sopenharmony_ci [95] = PINGROUP(95, EAST, i2s_1, pwm_led1, i2s_1, _, qdss_cti_trig_out_a1, _, _, _, _), 15948c2ecf20Sopenharmony_ci [96] = PINGROUP(96, EAST, i2s_1, pwm_led2, _, _, _, _, _, _, _), 15958c2ecf20Sopenharmony_ci [97] = PINGROUP(97, EAST, i2s_2, _, _, _, _, _, _, _, _), 15968c2ecf20Sopenharmony_ci [98] = PINGROUP(98, EAST, i2s_2, _, _, _, _, _, _, _, _), 15978c2ecf20Sopenharmony_ci [99] = PINGROUP(99, EAST, i2s_2, _, _, _, _, _, _, _, _), 15988c2ecf20Sopenharmony_ci [100] = PINGROUP(100, EAST, i2s_2, pll_bist, _, _, _, _, _, _, _), 15998c2ecf20Sopenharmony_ci [101] = PINGROUP(101, EAST, i2s_2, _, _, _, _, _, _, _, _), 16008c2ecf20Sopenharmony_ci [102] = PINGROUP(102, EAST, i2s_2, _, _, _, _, _, _, _, _), 16018c2ecf20Sopenharmony_ci [103] = PINGROUP(103, EAST, ext_mclk1_a, mclk_in2, bimc_dte1, _, _, _, _, _, _), 16028c2ecf20Sopenharmony_ci [104] = PINGROUP(104, EAST, i2s_3_sck_a, _, _, _, _, _, _, _, _), 16038c2ecf20Sopenharmony_ci [105] = PINGROUP(105, EAST, i2s_3_ws_a, _, _, _, _, _, _, _, _), 16048c2ecf20Sopenharmony_ci [106] = PINGROUP(106, EAST, i2s_3_data0_a, ebi2_lcd, _, _, ebi_cdc, _, _, _, _), 16058c2ecf20Sopenharmony_ci [107] = PINGROUP(107, EAST, i2s_3_data1_a, ebi2_lcd, _, _, ebi_cdc, _, _, _, _), 16068c2ecf20Sopenharmony_ci [108] = PINGROUP(108, EAST, i2s_3_data2_a, ebi2_lcd, atest_char, pwm_led3, ebi_cdc, _, _, _, _), 16078c2ecf20Sopenharmony_ci [109] = PINGROUP(109, EAST, i2s_3_data3_a, ebi2_lcd, pwm_led4, bimc_dte1, _, _, _, _, _), 16088c2ecf20Sopenharmony_ci [110] = PINGROUP(110, EAST, i2s_4, ebi2_a, dsd_clk_b, pwm_led5, _, _, _, _, _), 16098c2ecf20Sopenharmony_ci [111] = PINGROUP(111, EAST, i2s_4, i2s_4, pwm_led6, ebi_cdc, _, _, _, _, _), 16108c2ecf20Sopenharmony_ci [112] = PINGROUP(112, EAST, i2s_4, i2s_4, pwm_led7, _, _, _, _, _, _), 16118c2ecf20Sopenharmony_ci [113] = PINGROUP(113, EAST, i2s_4, i2s_4, pwm_led8, _, _, _, _, _, _), 16128c2ecf20Sopenharmony_ci [114] = PINGROUP(114, EAST, i2s_4, i2s_4, pwm_led24, _, _, _, _, _, _), 16138c2ecf20Sopenharmony_ci [115] = PINGROUP(115, EAST, i2s_4, i2s_4, _, _, _, _, _, _, _), 16148c2ecf20Sopenharmony_ci [116] = PINGROUP(116, EAST, i2s_4, spkr_dac0, _, _, _, _, _, _, _), 16158c2ecf20Sopenharmony_ci [117] = PINGROUP(117, NORTH, blsp_i2c4, blsp_spi4, pwm_led9, _, _, _, _, _, _), 16168c2ecf20Sopenharmony_ci [118] = PINGROUP(118, NORTH, blsp_i2c4, blsp_spi4, pwm_led10, _, _, _, _, _, _), 16178c2ecf20Sopenharmony_ci [119] = PINGROUP(119, EAST, spdifrx_opt, _, _, _, _, _, _, _, _), 16188c2ecf20Sopenharmony_ci [120] = SDC_QDSD_PINGROUP(sdc1_rclk, 0xc2000, 15, 0), 16198c2ecf20Sopenharmony_ci [121] = SDC_QDSD_PINGROUP(sdc1_clk, 0xc2000, 13, 6), 16208c2ecf20Sopenharmony_ci [122] = SDC_QDSD_PINGROUP(sdc1_cmd, 0xc2000, 11, 3), 16218c2ecf20Sopenharmony_ci [123] = SDC_QDSD_PINGROUP(sdc1_data, 0xc2000, 9, 0), 16228c2ecf20Sopenharmony_ci [124] = SDC_QDSD_PINGROUP(sdc2_clk, 0xc3000, 14, 6), 16238c2ecf20Sopenharmony_ci [125] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xc3000, 11, 3), 16248c2ecf20Sopenharmony_ci [126] = SDC_QDSD_PINGROUP(sdc2_data, 0xc3000, 9, 0), 16258c2ecf20Sopenharmony_ci}; 16268c2ecf20Sopenharmony_ci 16278c2ecf20Sopenharmony_cistatic const struct msm_pinctrl_soc_data qcs404_pinctrl = { 16288c2ecf20Sopenharmony_ci .pins = qcs404_pins, 16298c2ecf20Sopenharmony_ci .npins = ARRAY_SIZE(qcs404_pins), 16308c2ecf20Sopenharmony_ci .functions = qcs404_functions, 16318c2ecf20Sopenharmony_ci .nfunctions = ARRAY_SIZE(qcs404_functions), 16328c2ecf20Sopenharmony_ci .groups = qcs404_groups, 16338c2ecf20Sopenharmony_ci .ngroups = ARRAY_SIZE(qcs404_groups), 16348c2ecf20Sopenharmony_ci .ngpios = 120, 16358c2ecf20Sopenharmony_ci .tiles = qcs404_tiles, 16368c2ecf20Sopenharmony_ci .ntiles = ARRAY_SIZE(qcs404_tiles), 16378c2ecf20Sopenharmony_ci}; 16388c2ecf20Sopenharmony_ci 16398c2ecf20Sopenharmony_cistatic int qcs404_pinctrl_probe(struct platform_device *pdev) 16408c2ecf20Sopenharmony_ci{ 16418c2ecf20Sopenharmony_ci return msm_pinctrl_probe(pdev, &qcs404_pinctrl); 16428c2ecf20Sopenharmony_ci} 16438c2ecf20Sopenharmony_ci 16448c2ecf20Sopenharmony_cistatic const struct of_device_id qcs404_pinctrl_of_match[] = { 16458c2ecf20Sopenharmony_ci { .compatible = "qcom,qcs404-pinctrl", }, 16468c2ecf20Sopenharmony_ci { }, 16478c2ecf20Sopenharmony_ci}; 16488c2ecf20Sopenharmony_ci 16498c2ecf20Sopenharmony_cistatic struct platform_driver qcs404_pinctrl_driver = { 16508c2ecf20Sopenharmony_ci .driver = { 16518c2ecf20Sopenharmony_ci .name = "qcs404-pinctrl", 16528c2ecf20Sopenharmony_ci .of_match_table = qcs404_pinctrl_of_match, 16538c2ecf20Sopenharmony_ci }, 16548c2ecf20Sopenharmony_ci .probe = qcs404_pinctrl_probe, 16558c2ecf20Sopenharmony_ci .remove = msm_pinctrl_remove, 16568c2ecf20Sopenharmony_ci}; 16578c2ecf20Sopenharmony_ci 16588c2ecf20Sopenharmony_cistatic int __init qcs404_pinctrl_init(void) 16598c2ecf20Sopenharmony_ci{ 16608c2ecf20Sopenharmony_ci return platform_driver_register(&qcs404_pinctrl_driver); 16618c2ecf20Sopenharmony_ci} 16628c2ecf20Sopenharmony_ciarch_initcall(qcs404_pinctrl_init); 16638c2ecf20Sopenharmony_ci 16648c2ecf20Sopenharmony_cistatic void __exit qcs404_pinctrl_exit(void) 16658c2ecf20Sopenharmony_ci{ 16668c2ecf20Sopenharmony_ci platform_driver_unregister(&qcs404_pinctrl_driver); 16678c2ecf20Sopenharmony_ci} 16688c2ecf20Sopenharmony_cimodule_exit(qcs404_pinctrl_exit); 16698c2ecf20Sopenharmony_ci 16708c2ecf20Sopenharmony_ciMODULE_DESCRIPTION("Qualcomm QCS404 pinctrl driver"); 16718c2ecf20Sopenharmony_ciMODULE_LICENSE("GPL v2"); 16728c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, qcs404_pinctrl_of_match); 1673