162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2016, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2018, Craig Tatlor. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#include <linux/module.h> 862306a36Sopenharmony_ci#include <linux/of.h> 962306a36Sopenharmony_ci#include <linux/platform_device.h> 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#include "pinctrl-msm.h" 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_cistatic const char * const sdm660_tiles[] = { 1462306a36Sopenharmony_ci "north", 1562306a36Sopenharmony_ci "center", 1662306a36Sopenharmony_ci "south" 1762306a36Sopenharmony_ci}; 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_cienum { 2062306a36Sopenharmony_ci NORTH, 2162306a36Sopenharmony_ci CENTER, 2262306a36Sopenharmony_ci SOUTH 2362306a36Sopenharmony_ci}; 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci#define REG_SIZE 0x1000 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ 2862306a36Sopenharmony_ci { \ 2962306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP("gpio" #id, \ 3062306a36Sopenharmony_ci gpio##id##_pins, \ 3162306a36Sopenharmony_ci ARRAY_SIZE(gpio##id##_pins)), \ 3262306a36Sopenharmony_ci .funcs = (int[]){ \ 3362306a36Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 3462306a36Sopenharmony_ci msm_mux_##f1, \ 3562306a36Sopenharmony_ci msm_mux_##f2, \ 3662306a36Sopenharmony_ci msm_mux_##f3, \ 3762306a36Sopenharmony_ci msm_mux_##f4, \ 3862306a36Sopenharmony_ci msm_mux_##f5, \ 3962306a36Sopenharmony_ci msm_mux_##f6, \ 4062306a36Sopenharmony_ci msm_mux_##f7, \ 4162306a36Sopenharmony_ci msm_mux_##f8, \ 4262306a36Sopenharmony_ci msm_mux_##f9 \ 4362306a36Sopenharmony_ci }, \ 4462306a36Sopenharmony_ci .nfuncs = 10, \ 4562306a36Sopenharmony_ci .ctl_reg = REG_SIZE * id, \ 4662306a36Sopenharmony_ci .io_reg = 0x4 + REG_SIZE * id, \ 4762306a36Sopenharmony_ci .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 4862306a36Sopenharmony_ci .intr_status_reg = 0xc + REG_SIZE * id, \ 4962306a36Sopenharmony_ci .intr_target_reg = 0x8 + REG_SIZE * id, \ 5062306a36Sopenharmony_ci .tile = _tile, \ 5162306a36Sopenharmony_ci .mux_bit = 2, \ 5262306a36Sopenharmony_ci .pull_bit = 0, \ 5362306a36Sopenharmony_ci .drv_bit = 6, \ 5462306a36Sopenharmony_ci .oe_bit = 9, \ 5562306a36Sopenharmony_ci .in_bit = 0, \ 5662306a36Sopenharmony_ci .out_bit = 1, \ 5762306a36Sopenharmony_ci .intr_enable_bit = 0, \ 5862306a36Sopenharmony_ci .intr_status_bit = 0, \ 5962306a36Sopenharmony_ci .intr_target_bit = 5, \ 6062306a36Sopenharmony_ci .intr_target_kpss_val = 3, \ 6162306a36Sopenharmony_ci .intr_raw_status_bit = 4, \ 6262306a36Sopenharmony_ci .intr_polarity_bit = 1, \ 6362306a36Sopenharmony_ci .intr_detection_bit = 2, \ 6462306a36Sopenharmony_ci .intr_detection_width = 2, \ 6562306a36Sopenharmony_ci } 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ 6862306a36Sopenharmony_ci { \ 6962306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 7062306a36Sopenharmony_ci pg_name##_pins, \ 7162306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 7262306a36Sopenharmony_ci .ctl_reg = ctl, \ 7362306a36Sopenharmony_ci .io_reg = 0, \ 7462306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 7562306a36Sopenharmony_ci .intr_status_reg = 0, \ 7662306a36Sopenharmony_ci .intr_target_reg = 0, \ 7762306a36Sopenharmony_ci .tile = NORTH, \ 7862306a36Sopenharmony_ci .mux_bit = -1, \ 7962306a36Sopenharmony_ci .pull_bit = pull, \ 8062306a36Sopenharmony_ci .drv_bit = drv, \ 8162306a36Sopenharmony_ci .oe_bit = -1, \ 8262306a36Sopenharmony_ci .in_bit = -1, \ 8362306a36Sopenharmony_ci .out_bit = -1, \ 8462306a36Sopenharmony_ci .intr_enable_bit = -1, \ 8562306a36Sopenharmony_ci .intr_status_bit = -1, \ 8662306a36Sopenharmony_ci .intr_target_bit = -1, \ 8762306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 8862306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 8962306a36Sopenharmony_ci .intr_detection_bit = -1, \ 9062306a36Sopenharmony_ci .intr_detection_width = -1, \ 9162306a36Sopenharmony_ci } 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_cistatic const struct pinctrl_pin_desc sdm660_pins[] = { 9462306a36Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 9562306a36Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 9662306a36Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 9762306a36Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 9862306a36Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 9962306a36Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 10062306a36Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 10162306a36Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 10262306a36Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 10362306a36Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 10462306a36Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 10562306a36Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 10662306a36Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 10762306a36Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 10862306a36Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 10962306a36Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 11062306a36Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 11162306a36Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 11262306a36Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 11362306a36Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 11462306a36Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 11562306a36Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 11662306a36Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 11762306a36Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 11862306a36Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 11962306a36Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 12062306a36Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 12162306a36Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 12262306a36Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 12362306a36Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 12462306a36Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 12562306a36Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 12662306a36Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 12762306a36Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 12862306a36Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 12962306a36Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 13062306a36Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 13162306a36Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 13262306a36Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 13362306a36Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 13462306a36Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 13562306a36Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 13662306a36Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 13762306a36Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 13862306a36Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 13962306a36Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 14062306a36Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 14162306a36Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 14262306a36Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 14362306a36Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 14462306a36Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 14562306a36Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 14662306a36Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 14762306a36Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 14862306a36Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 14962306a36Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 15062306a36Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 15162306a36Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 15262306a36Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 15362306a36Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 15462306a36Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 15562306a36Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 15662306a36Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 15762306a36Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 15862306a36Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 15962306a36Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 16062306a36Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 16162306a36Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 16262306a36Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 16362306a36Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 16462306a36Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 16562306a36Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 16662306a36Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 16762306a36Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 16862306a36Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 16962306a36Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 17062306a36Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 17162306a36Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 17262306a36Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 17362306a36Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 17462306a36Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 17562306a36Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 17662306a36Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 17762306a36Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 17862306a36Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 17962306a36Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 18062306a36Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 18162306a36Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 18262306a36Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 18362306a36Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 18462306a36Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 18562306a36Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 18662306a36Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 18762306a36Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 18862306a36Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 18962306a36Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 19062306a36Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 19162306a36Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 19262306a36Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 19362306a36Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 19462306a36Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 19562306a36Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 19662306a36Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 19762306a36Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 19862306a36Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 19962306a36Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 20062306a36Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 20162306a36Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 20262306a36Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 20362306a36Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 20462306a36Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 20562306a36Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 20662306a36Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 20762306a36Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 20862306a36Sopenharmony_ci PINCTRL_PIN(114, "SDC1_CLK"), 20962306a36Sopenharmony_ci PINCTRL_PIN(115, "SDC1_CMD"), 21062306a36Sopenharmony_ci PINCTRL_PIN(116, "SDC1_DATA"), 21162306a36Sopenharmony_ci PINCTRL_PIN(117, "SDC2_CLK"), 21262306a36Sopenharmony_ci PINCTRL_PIN(118, "SDC2_CMD"), 21362306a36Sopenharmony_ci PINCTRL_PIN(119, "SDC2_DATA"), 21462306a36Sopenharmony_ci PINCTRL_PIN(120, "SDC1_RCLK"), 21562306a36Sopenharmony_ci}; 21662306a36Sopenharmony_ci 21762306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 21862306a36Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 21962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 22062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 22162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 22262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 22362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 22462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 22562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 22662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 22762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 22862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 22962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 23062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 23162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 23262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 23362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 23462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 23562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 23662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 23762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 23862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 23962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 24062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 24162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 24262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 24362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 24462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 24562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 24662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 24762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 24862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 24962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 25062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 25162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 25262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 25362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 25462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 25562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 25662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 25762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 25862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 25962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 26062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 26162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 26262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 26362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 26462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 26562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 26662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 26762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 26862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 26962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 27062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 27162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 27262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 27362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 27462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 27562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 27662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 27762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 27862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 27962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 28062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 28162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 28262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 28362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 28462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 28562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 28662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 28762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 28862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 28962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 29062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 29162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 29262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 29362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 29462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 29562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 29662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 29762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 29862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 29962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 30062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 30162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 30262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 30362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 30462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 30562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 30662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 30762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 30862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 30962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 31062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 31162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 31262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 31362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 31462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 31562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 31662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 31762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 31862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 31962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 32062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 32162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 32262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 32362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 32462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 32562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 32662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 32762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 32862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 32962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 33062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 33162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 33262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 33362306a36Sopenharmony_ci 33462306a36Sopenharmony_cistatic const unsigned int sdc1_clk_pins[] = { 114 }; 33562306a36Sopenharmony_cistatic const unsigned int sdc1_cmd_pins[] = { 115 }; 33662306a36Sopenharmony_cistatic const unsigned int sdc1_data_pins[] = { 116 }; 33762306a36Sopenharmony_cistatic const unsigned int sdc1_rclk_pins[] = { 120 }; 33862306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 117 }; 33962306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 118 }; 34062306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 119 }; 34162306a36Sopenharmony_ci 34262306a36Sopenharmony_cienum sdm660_functions { 34362306a36Sopenharmony_ci msm_mux_adsp_ext, 34462306a36Sopenharmony_ci msm_mux_agera_pll, 34562306a36Sopenharmony_ci msm_mux_atest_char, 34662306a36Sopenharmony_ci msm_mux_atest_char0, 34762306a36Sopenharmony_ci msm_mux_atest_char1, 34862306a36Sopenharmony_ci msm_mux_atest_char2, 34962306a36Sopenharmony_ci msm_mux_atest_char3, 35062306a36Sopenharmony_ci msm_mux_atest_gpsadc0, 35162306a36Sopenharmony_ci msm_mux_atest_gpsadc1, 35262306a36Sopenharmony_ci msm_mux_atest_tsens, 35362306a36Sopenharmony_ci msm_mux_atest_tsens2, 35462306a36Sopenharmony_ci msm_mux_atest_usb1, 35562306a36Sopenharmony_ci msm_mux_atest_usb10, 35662306a36Sopenharmony_ci msm_mux_atest_usb11, 35762306a36Sopenharmony_ci msm_mux_atest_usb12, 35862306a36Sopenharmony_ci msm_mux_atest_usb13, 35962306a36Sopenharmony_ci msm_mux_atest_usb2, 36062306a36Sopenharmony_ci msm_mux_atest_usb20, 36162306a36Sopenharmony_ci msm_mux_atest_usb21, 36262306a36Sopenharmony_ci msm_mux_atest_usb22, 36362306a36Sopenharmony_ci msm_mux_atest_usb23, 36462306a36Sopenharmony_ci msm_mux_audio_ref, 36562306a36Sopenharmony_ci msm_mux_bimc_dte0, 36662306a36Sopenharmony_ci msm_mux_bimc_dte1, 36762306a36Sopenharmony_ci msm_mux_blsp_i2c1, 36862306a36Sopenharmony_ci msm_mux_blsp_i2c2, 36962306a36Sopenharmony_ci msm_mux_blsp_i2c3, 37062306a36Sopenharmony_ci msm_mux_blsp_i2c4, 37162306a36Sopenharmony_ci msm_mux_blsp_i2c5, 37262306a36Sopenharmony_ci msm_mux_blsp_i2c6, 37362306a36Sopenharmony_ci msm_mux_blsp_i2c7, 37462306a36Sopenharmony_ci msm_mux_blsp_i2c8_a, 37562306a36Sopenharmony_ci msm_mux_blsp_i2c8_b, 37662306a36Sopenharmony_ci msm_mux_blsp_spi1, 37762306a36Sopenharmony_ci msm_mux_blsp_spi2, 37862306a36Sopenharmony_ci msm_mux_blsp_spi3, 37962306a36Sopenharmony_ci msm_mux_blsp_spi3_cs1, 38062306a36Sopenharmony_ci msm_mux_blsp_spi3_cs2, 38162306a36Sopenharmony_ci msm_mux_blsp_spi4, 38262306a36Sopenharmony_ci msm_mux_blsp_spi5, 38362306a36Sopenharmony_ci msm_mux_blsp_spi6, 38462306a36Sopenharmony_ci msm_mux_blsp_spi7, 38562306a36Sopenharmony_ci msm_mux_blsp_spi8_a, 38662306a36Sopenharmony_ci msm_mux_blsp_spi8_b, 38762306a36Sopenharmony_ci msm_mux_blsp_spi8_cs1, 38862306a36Sopenharmony_ci msm_mux_blsp_spi8_cs2, 38962306a36Sopenharmony_ci msm_mux_blsp_uart1, 39062306a36Sopenharmony_ci msm_mux_blsp_uart2, 39162306a36Sopenharmony_ci msm_mux_blsp_uart5, 39262306a36Sopenharmony_ci msm_mux_blsp_uart6_a, 39362306a36Sopenharmony_ci msm_mux_blsp_uart6_b, 39462306a36Sopenharmony_ci msm_mux_blsp_uim1, 39562306a36Sopenharmony_ci msm_mux_blsp_uim2, 39662306a36Sopenharmony_ci msm_mux_blsp_uim5, 39762306a36Sopenharmony_ci msm_mux_blsp_uim6, 39862306a36Sopenharmony_ci msm_mux_cam_mclk, 39962306a36Sopenharmony_ci msm_mux_cci_async, 40062306a36Sopenharmony_ci msm_mux_cci_i2c, 40162306a36Sopenharmony_ci msm_mux_cri_trng, 40262306a36Sopenharmony_ci msm_mux_cri_trng0, 40362306a36Sopenharmony_ci msm_mux_cri_trng1, 40462306a36Sopenharmony_ci msm_mux_dbg_out, 40562306a36Sopenharmony_ci msm_mux_ddr_bist, 40662306a36Sopenharmony_ci msm_mux_gcc_gp1, 40762306a36Sopenharmony_ci msm_mux_gcc_gp2, 40862306a36Sopenharmony_ci msm_mux_gcc_gp3, 40962306a36Sopenharmony_ci msm_mux_gpio, 41062306a36Sopenharmony_ci msm_mux_gps_tx_a, 41162306a36Sopenharmony_ci msm_mux_gps_tx_b, 41262306a36Sopenharmony_ci msm_mux_gps_tx_c, 41362306a36Sopenharmony_ci msm_mux_isense_dbg, 41462306a36Sopenharmony_ci msm_mux_jitter_bist, 41562306a36Sopenharmony_ci msm_mux_ldo_en, 41662306a36Sopenharmony_ci msm_mux_ldo_update, 41762306a36Sopenharmony_ci msm_mux_m_voc, 41862306a36Sopenharmony_ci msm_mux_mdp_vsync, 41962306a36Sopenharmony_ci msm_mux_mdss_vsync0, 42062306a36Sopenharmony_ci msm_mux_mdss_vsync1, 42162306a36Sopenharmony_ci msm_mux_mdss_vsync2, 42262306a36Sopenharmony_ci msm_mux_mdss_vsync3, 42362306a36Sopenharmony_ci msm_mux_mss_lte, 42462306a36Sopenharmony_ci msm_mux_nav_pps_a, 42562306a36Sopenharmony_ci msm_mux_nav_pps_b, 42662306a36Sopenharmony_ci msm_mux_nav_pps_c, 42762306a36Sopenharmony_ci msm_mux_pa_indicator, 42862306a36Sopenharmony_ci msm_mux_phase_flag0, 42962306a36Sopenharmony_ci msm_mux_phase_flag1, 43062306a36Sopenharmony_ci msm_mux_phase_flag2, 43162306a36Sopenharmony_ci msm_mux_phase_flag3, 43262306a36Sopenharmony_ci msm_mux_phase_flag4, 43362306a36Sopenharmony_ci msm_mux_phase_flag5, 43462306a36Sopenharmony_ci msm_mux_phase_flag6, 43562306a36Sopenharmony_ci msm_mux_phase_flag7, 43662306a36Sopenharmony_ci msm_mux_phase_flag8, 43762306a36Sopenharmony_ci msm_mux_phase_flag9, 43862306a36Sopenharmony_ci msm_mux_phase_flag10, 43962306a36Sopenharmony_ci msm_mux_phase_flag11, 44062306a36Sopenharmony_ci msm_mux_phase_flag12, 44162306a36Sopenharmony_ci msm_mux_phase_flag13, 44262306a36Sopenharmony_ci msm_mux_phase_flag14, 44362306a36Sopenharmony_ci msm_mux_phase_flag15, 44462306a36Sopenharmony_ci msm_mux_phase_flag16, 44562306a36Sopenharmony_ci msm_mux_phase_flag17, 44662306a36Sopenharmony_ci msm_mux_phase_flag18, 44762306a36Sopenharmony_ci msm_mux_phase_flag19, 44862306a36Sopenharmony_ci msm_mux_phase_flag20, 44962306a36Sopenharmony_ci msm_mux_phase_flag21, 45062306a36Sopenharmony_ci msm_mux_phase_flag22, 45162306a36Sopenharmony_ci msm_mux_phase_flag23, 45262306a36Sopenharmony_ci msm_mux_phase_flag24, 45362306a36Sopenharmony_ci msm_mux_phase_flag25, 45462306a36Sopenharmony_ci msm_mux_phase_flag26, 45562306a36Sopenharmony_ci msm_mux_phase_flag27, 45662306a36Sopenharmony_ci msm_mux_phase_flag28, 45762306a36Sopenharmony_ci msm_mux_phase_flag29, 45862306a36Sopenharmony_ci msm_mux_phase_flag30, 45962306a36Sopenharmony_ci msm_mux_phase_flag31, 46062306a36Sopenharmony_ci msm_mux_pll_bypassnl, 46162306a36Sopenharmony_ci msm_mux_pll_reset, 46262306a36Sopenharmony_ci msm_mux_pri_mi2s, 46362306a36Sopenharmony_ci msm_mux_pri_mi2s_ws, 46462306a36Sopenharmony_ci msm_mux_prng_rosc, 46562306a36Sopenharmony_ci msm_mux_pwr_crypto, 46662306a36Sopenharmony_ci msm_mux_pwr_modem, 46762306a36Sopenharmony_ci msm_mux_pwr_nav, 46862306a36Sopenharmony_ci msm_mux_qdss_cti0_a, 46962306a36Sopenharmony_ci msm_mux_qdss_cti0_b, 47062306a36Sopenharmony_ci msm_mux_qdss_cti1_a, 47162306a36Sopenharmony_ci msm_mux_qdss_cti1_b, 47262306a36Sopenharmony_ci msm_mux_qdss_gpio, 47362306a36Sopenharmony_ci msm_mux_qdss_gpio0, 47462306a36Sopenharmony_ci msm_mux_qdss_gpio1, 47562306a36Sopenharmony_ci msm_mux_qdss_gpio10, 47662306a36Sopenharmony_ci msm_mux_qdss_gpio11, 47762306a36Sopenharmony_ci msm_mux_qdss_gpio12, 47862306a36Sopenharmony_ci msm_mux_qdss_gpio13, 47962306a36Sopenharmony_ci msm_mux_qdss_gpio14, 48062306a36Sopenharmony_ci msm_mux_qdss_gpio15, 48162306a36Sopenharmony_ci msm_mux_qdss_gpio2, 48262306a36Sopenharmony_ci msm_mux_qdss_gpio3, 48362306a36Sopenharmony_ci msm_mux_qdss_gpio4, 48462306a36Sopenharmony_ci msm_mux_qdss_gpio5, 48562306a36Sopenharmony_ci msm_mux_qdss_gpio6, 48662306a36Sopenharmony_ci msm_mux_qdss_gpio7, 48762306a36Sopenharmony_ci msm_mux_qdss_gpio8, 48862306a36Sopenharmony_ci msm_mux_qdss_gpio9, 48962306a36Sopenharmony_ci msm_mux_qlink_enable, 49062306a36Sopenharmony_ci msm_mux_qlink_request, 49162306a36Sopenharmony_ci msm_mux_qspi_clk, 49262306a36Sopenharmony_ci msm_mux_qspi_cs, 49362306a36Sopenharmony_ci msm_mux_qspi_data0, 49462306a36Sopenharmony_ci msm_mux_qspi_data1, 49562306a36Sopenharmony_ci msm_mux_qspi_data2, 49662306a36Sopenharmony_ci msm_mux_qspi_data3, 49762306a36Sopenharmony_ci msm_mux_qspi_resetn, 49862306a36Sopenharmony_ci msm_mux_sec_mi2s, 49962306a36Sopenharmony_ci msm_mux_sndwire_clk, 50062306a36Sopenharmony_ci msm_mux_sndwire_data, 50162306a36Sopenharmony_ci msm_mux_sp_cmu, 50262306a36Sopenharmony_ci msm_mux_ssc_irq, 50362306a36Sopenharmony_ci msm_mux_tgu_ch0, 50462306a36Sopenharmony_ci msm_mux_tgu_ch1, 50562306a36Sopenharmony_ci msm_mux_tsense_pwm1, 50662306a36Sopenharmony_ci msm_mux_tsense_pwm2, 50762306a36Sopenharmony_ci msm_mux_uim1_clk, 50862306a36Sopenharmony_ci msm_mux_uim1_data, 50962306a36Sopenharmony_ci msm_mux_uim1_present, 51062306a36Sopenharmony_ci msm_mux_uim1_reset, 51162306a36Sopenharmony_ci msm_mux_uim2_clk, 51262306a36Sopenharmony_ci msm_mux_uim2_data, 51362306a36Sopenharmony_ci msm_mux_uim2_present, 51462306a36Sopenharmony_ci msm_mux_uim2_reset, 51562306a36Sopenharmony_ci msm_mux_uim_batt, 51662306a36Sopenharmony_ci msm_mux_vfr_1, 51762306a36Sopenharmony_ci msm_mux_vsense_clkout, 51862306a36Sopenharmony_ci msm_mux_vsense_data0, 51962306a36Sopenharmony_ci msm_mux_vsense_data1, 52062306a36Sopenharmony_ci msm_mux_vsense_mode, 52162306a36Sopenharmony_ci msm_mux_wlan1_adc0, 52262306a36Sopenharmony_ci msm_mux_wlan1_adc1, 52362306a36Sopenharmony_ci msm_mux_wlan2_adc0, 52462306a36Sopenharmony_ci msm_mux_wlan2_adc1, 52562306a36Sopenharmony_ci msm_mux__, 52662306a36Sopenharmony_ci}; 52762306a36Sopenharmony_ci 52862306a36Sopenharmony_cistatic const char * const gpio_groups[] = { 52962306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 53062306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 53162306a36Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 53262306a36Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 53362306a36Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 53462306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 53562306a36Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 53662306a36Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 53762306a36Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 53862306a36Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 53962306a36Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77", 54062306a36Sopenharmony_ci "gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", 54162306a36Sopenharmony_ci "gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", 54262306a36Sopenharmony_ci "gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", 54362306a36Sopenharmony_ci "gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", 54462306a36Sopenharmony_ci "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", 54562306a36Sopenharmony_ci "gpio111", "gpio112", "gpio113", 54662306a36Sopenharmony_ci}; 54762306a36Sopenharmony_ci 54862306a36Sopenharmony_cistatic const char * const adsp_ext_groups[] = { 54962306a36Sopenharmony_ci "gpio65", 55062306a36Sopenharmony_ci}; 55162306a36Sopenharmony_cistatic const char * const agera_pll_groups[] = { 55262306a36Sopenharmony_ci "gpio34", "gpio36", 55362306a36Sopenharmony_ci}; 55462306a36Sopenharmony_cistatic const char * const atest_char0_groups[] = { 55562306a36Sopenharmony_ci "gpio62", 55662306a36Sopenharmony_ci}; 55762306a36Sopenharmony_cistatic const char * const atest_char1_groups[] = { 55862306a36Sopenharmony_ci "gpio61", 55962306a36Sopenharmony_ci}; 56062306a36Sopenharmony_cistatic const char * const atest_char2_groups[] = { 56162306a36Sopenharmony_ci "gpio60", 56262306a36Sopenharmony_ci}; 56362306a36Sopenharmony_cistatic const char * const atest_char3_groups[] = { 56462306a36Sopenharmony_ci "gpio59", 56562306a36Sopenharmony_ci}; 56662306a36Sopenharmony_cistatic const char * const atest_char_groups[] = { 56762306a36Sopenharmony_ci "gpio58", 56862306a36Sopenharmony_ci}; 56962306a36Sopenharmony_cistatic const char * const atest_gpsadc0_groups[] = { 57062306a36Sopenharmony_ci "gpio1", 57162306a36Sopenharmony_ci}; 57262306a36Sopenharmony_cistatic const char * const atest_gpsadc1_groups[] = { 57362306a36Sopenharmony_ci "gpio0", 57462306a36Sopenharmony_ci}; 57562306a36Sopenharmony_cistatic const char * const atest_tsens2_groups[] = { 57662306a36Sopenharmony_ci "gpio3", 57762306a36Sopenharmony_ci}; 57862306a36Sopenharmony_cistatic const char * const atest_tsens_groups[] = { 57962306a36Sopenharmony_ci "gpio36", 58062306a36Sopenharmony_ci}; 58162306a36Sopenharmony_cistatic const char * const atest_usb10_groups[] = { 58262306a36Sopenharmony_ci "gpio11", 58362306a36Sopenharmony_ci}; 58462306a36Sopenharmony_cistatic const char * const atest_usb11_groups[] = { 58562306a36Sopenharmony_ci "gpio10", 58662306a36Sopenharmony_ci}; 58762306a36Sopenharmony_cistatic const char * const atest_usb12_groups[] = { 58862306a36Sopenharmony_ci "gpio9", 58962306a36Sopenharmony_ci}; 59062306a36Sopenharmony_cistatic const char * const atest_usb13_groups[] = { 59162306a36Sopenharmony_ci "gpio8", 59262306a36Sopenharmony_ci}; 59362306a36Sopenharmony_cistatic const char * const atest_usb1_groups[] = { 59462306a36Sopenharmony_ci "gpio3", 59562306a36Sopenharmony_ci}; 59662306a36Sopenharmony_cistatic const char * const atest_usb20_groups[] = { 59762306a36Sopenharmony_ci "gpio56", 59862306a36Sopenharmony_ci}; 59962306a36Sopenharmony_cistatic const char * const atest_usb21_groups[] = { 60062306a36Sopenharmony_ci "gpio36", 60162306a36Sopenharmony_ci}; 60262306a36Sopenharmony_cistatic const char * const atest_usb22_groups[] = { 60362306a36Sopenharmony_ci "gpio57", 60462306a36Sopenharmony_ci}; 60562306a36Sopenharmony_cistatic const char * const atest_usb23_groups[] = { 60662306a36Sopenharmony_ci "gpio37", 60762306a36Sopenharmony_ci}; 60862306a36Sopenharmony_cistatic const char * const atest_usb2_groups[] = { 60962306a36Sopenharmony_ci "gpio35", 61062306a36Sopenharmony_ci}; 61162306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = { 61262306a36Sopenharmony_ci "gpio62", 61362306a36Sopenharmony_ci}; 61462306a36Sopenharmony_cistatic const char * const bimc_dte0_groups[] = { 61562306a36Sopenharmony_ci "gpio9", "gpio11", 61662306a36Sopenharmony_ci}; 61762306a36Sopenharmony_cistatic const char * const bimc_dte1_groups[] = { 61862306a36Sopenharmony_ci "gpio8", "gpio10", 61962306a36Sopenharmony_ci}; 62062306a36Sopenharmony_cistatic const char * const blsp_i2c1_groups[] = { 62162306a36Sopenharmony_ci "gpio2", "gpio3", 62262306a36Sopenharmony_ci}; 62362306a36Sopenharmony_cistatic const char * const blsp_i2c2_groups[] = { 62462306a36Sopenharmony_ci "gpio6", "gpio7", 62562306a36Sopenharmony_ci}; 62662306a36Sopenharmony_cistatic const char * const blsp_i2c3_groups[] = { 62762306a36Sopenharmony_ci "gpio10", "gpio11", 62862306a36Sopenharmony_ci}; 62962306a36Sopenharmony_cistatic const char * const blsp_i2c4_groups[] = { 63062306a36Sopenharmony_ci "gpio14", "gpio15", 63162306a36Sopenharmony_ci}; 63262306a36Sopenharmony_cistatic const char * const blsp_i2c5_groups[] = { 63362306a36Sopenharmony_ci "gpio18", "gpio19", 63462306a36Sopenharmony_ci}; 63562306a36Sopenharmony_cistatic const char * const blsp_i2c6_groups[] = { 63662306a36Sopenharmony_ci "gpio22", "gpio23", 63762306a36Sopenharmony_ci}; 63862306a36Sopenharmony_cistatic const char * const blsp_i2c7_groups[] = { 63962306a36Sopenharmony_ci "gpio26", "gpio27", 64062306a36Sopenharmony_ci}; 64162306a36Sopenharmony_cistatic const char * const blsp_i2c8_a_groups[] = { 64262306a36Sopenharmony_ci "gpio30", "gpio31", 64362306a36Sopenharmony_ci}; 64462306a36Sopenharmony_cistatic const char * const blsp_i2c8_b_groups[] = { 64562306a36Sopenharmony_ci "gpio44", "gpio52", 64662306a36Sopenharmony_ci}; 64762306a36Sopenharmony_cistatic const char * const blsp_spi1_groups[] = { 64862306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio46", 64962306a36Sopenharmony_ci}; 65062306a36Sopenharmony_cistatic const char * const blsp_spi2_groups[] = { 65162306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 65262306a36Sopenharmony_ci}; 65362306a36Sopenharmony_cistatic const char * const blsp_spi3_cs1_groups[] = { 65462306a36Sopenharmony_ci "gpio30", 65562306a36Sopenharmony_ci}; 65662306a36Sopenharmony_cistatic const char * const blsp_spi3_cs2_groups[] = { 65762306a36Sopenharmony_ci "gpio65", 65862306a36Sopenharmony_ci}; 65962306a36Sopenharmony_cistatic const char * const blsp_spi3_groups[] = { 66062306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", 66162306a36Sopenharmony_ci}; 66262306a36Sopenharmony_cistatic const char * const blsp_spi4_groups[] = { 66362306a36Sopenharmony_ci "gpio12", "gpio13", "gpio14", "gpio15", 66462306a36Sopenharmony_ci}; 66562306a36Sopenharmony_cistatic const char * const blsp_spi5_groups[] = { 66662306a36Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 66762306a36Sopenharmony_ci}; 66862306a36Sopenharmony_cistatic const char * const blsp_spi6_groups[] = { 66962306a36Sopenharmony_ci "gpio49", "gpio52", "gpio22", "gpio23", 67062306a36Sopenharmony_ci}; 67162306a36Sopenharmony_cistatic const char * const blsp_spi7_groups[] = { 67262306a36Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 67362306a36Sopenharmony_ci}; 67462306a36Sopenharmony_cistatic const char * const blsp_spi8_a_groups[] = { 67562306a36Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 67662306a36Sopenharmony_ci}; 67762306a36Sopenharmony_cistatic const char * const blsp_spi8_b_groups[] = { 67862306a36Sopenharmony_ci "gpio40", "gpio41", "gpio44", "gpio52", 67962306a36Sopenharmony_ci}; 68062306a36Sopenharmony_cistatic const char * const blsp_spi8_cs1_groups[] = { 68162306a36Sopenharmony_ci "gpio64", 68262306a36Sopenharmony_ci}; 68362306a36Sopenharmony_cistatic const char * const blsp_spi8_cs2_groups[] = { 68462306a36Sopenharmony_ci "gpio76", 68562306a36Sopenharmony_ci}; 68662306a36Sopenharmony_cistatic const char * const blsp_uart1_groups[] = { 68762306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 68862306a36Sopenharmony_ci}; 68962306a36Sopenharmony_cistatic const char * const blsp_uart2_groups[] = { 69062306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 69162306a36Sopenharmony_ci}; 69262306a36Sopenharmony_cistatic const char * const blsp_uart5_groups[] = { 69362306a36Sopenharmony_ci "gpio16", "gpio17", "gpio18", "gpio19", 69462306a36Sopenharmony_ci}; 69562306a36Sopenharmony_cistatic const char * const blsp_uart6_a_groups[] = { 69662306a36Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", 69762306a36Sopenharmony_ci}; 69862306a36Sopenharmony_cistatic const char * const blsp_uart6_b_groups[] = { 69962306a36Sopenharmony_ci "gpio28", "gpio29", "gpio30", "gpio31", 70062306a36Sopenharmony_ci}; 70162306a36Sopenharmony_cistatic const char * const blsp_uim1_groups[] = { 70262306a36Sopenharmony_ci "gpio0", "gpio1", 70362306a36Sopenharmony_ci}; 70462306a36Sopenharmony_cistatic const char * const blsp_uim2_groups[] = { 70562306a36Sopenharmony_ci "gpio4", "gpio5", 70662306a36Sopenharmony_ci}; 70762306a36Sopenharmony_cistatic const char * const blsp_uim5_groups[] = { 70862306a36Sopenharmony_ci "gpio16", "gpio17", 70962306a36Sopenharmony_ci}; 71062306a36Sopenharmony_cistatic const char * const blsp_uim6_groups[] = { 71162306a36Sopenharmony_ci "gpio20", "gpio21", 71262306a36Sopenharmony_ci}; 71362306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 71462306a36Sopenharmony_ci "gpio32", "gpio33", "gpio34", "gpio35", 71562306a36Sopenharmony_ci}; 71662306a36Sopenharmony_cistatic const char * const cci_async_groups[] = { 71762306a36Sopenharmony_ci "gpio45", 71862306a36Sopenharmony_ci}; 71962306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 72062306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", 72162306a36Sopenharmony_ci}; 72262306a36Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 72362306a36Sopenharmony_ci "gpio60", 72462306a36Sopenharmony_ci}; 72562306a36Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 72662306a36Sopenharmony_ci "gpio61", 72762306a36Sopenharmony_ci}; 72862306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = { 72962306a36Sopenharmony_ci "gpio62", 73062306a36Sopenharmony_ci}; 73162306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = { 73262306a36Sopenharmony_ci "gpio11", 73362306a36Sopenharmony_ci}; 73462306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 73562306a36Sopenharmony_ci "gpio3", "gpio8", "gpio9", "gpio10", 73662306a36Sopenharmony_ci}; 73762306a36Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 73862306a36Sopenharmony_ci "gpio57", "gpio78", 73962306a36Sopenharmony_ci}; 74062306a36Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 74162306a36Sopenharmony_ci "gpio58", "gpio81", 74262306a36Sopenharmony_ci}; 74362306a36Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 74462306a36Sopenharmony_ci "gpio59", "gpio82", 74562306a36Sopenharmony_ci}; 74662306a36Sopenharmony_cistatic const char * const gps_tx_a_groups[] = { 74762306a36Sopenharmony_ci "gpio65", 74862306a36Sopenharmony_ci}; 74962306a36Sopenharmony_cistatic const char * const gps_tx_b_groups[] = { 75062306a36Sopenharmony_ci "gpio98", 75162306a36Sopenharmony_ci}; 75262306a36Sopenharmony_cistatic const char * const gps_tx_c_groups[] = { 75362306a36Sopenharmony_ci "gpio80", 75462306a36Sopenharmony_ci}; 75562306a36Sopenharmony_cistatic const char * const isense_dbg_groups[] = { 75662306a36Sopenharmony_ci "gpio68", 75762306a36Sopenharmony_ci}; 75862306a36Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 75962306a36Sopenharmony_ci "gpio35", 76062306a36Sopenharmony_ci}; 76162306a36Sopenharmony_cistatic const char * const ldo_en_groups[] = { 76262306a36Sopenharmony_ci "gpio97", 76362306a36Sopenharmony_ci}; 76462306a36Sopenharmony_cistatic const char * const ldo_update_groups[] = { 76562306a36Sopenharmony_ci "gpio98", 76662306a36Sopenharmony_ci}; 76762306a36Sopenharmony_cistatic const char * const m_voc_groups[] = { 76862306a36Sopenharmony_ci "gpio28", 76962306a36Sopenharmony_ci}; 77062306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 77162306a36Sopenharmony_ci "gpio59", "gpio74", 77262306a36Sopenharmony_ci}; 77362306a36Sopenharmony_cistatic const char * const mdss_vsync0_groups[] = { 77462306a36Sopenharmony_ci "gpio42", 77562306a36Sopenharmony_ci}; 77662306a36Sopenharmony_cistatic const char * const mdss_vsync1_groups[] = { 77762306a36Sopenharmony_ci "gpio42", 77862306a36Sopenharmony_ci}; 77962306a36Sopenharmony_cistatic const char * const mdss_vsync2_groups[] = { 78062306a36Sopenharmony_ci "gpio42", 78162306a36Sopenharmony_ci}; 78262306a36Sopenharmony_cistatic const char * const mdss_vsync3_groups[] = { 78362306a36Sopenharmony_ci "gpio42", 78462306a36Sopenharmony_ci}; 78562306a36Sopenharmony_cistatic const char * const mss_lte_groups[] = { 78662306a36Sopenharmony_ci "gpio81", "gpio82", 78762306a36Sopenharmony_ci}; 78862306a36Sopenharmony_cistatic const char * const nav_pps_a_groups[] = { 78962306a36Sopenharmony_ci "gpio65", 79062306a36Sopenharmony_ci}; 79162306a36Sopenharmony_cistatic const char * const nav_pps_b_groups[] = { 79262306a36Sopenharmony_ci "gpio98", 79362306a36Sopenharmony_ci}; 79462306a36Sopenharmony_cistatic const char * const nav_pps_c_groups[] = { 79562306a36Sopenharmony_ci "gpio80", 79662306a36Sopenharmony_ci}; 79762306a36Sopenharmony_cistatic const char * const pa_indicator_groups[] = { 79862306a36Sopenharmony_ci "gpio92", 79962306a36Sopenharmony_ci}; 80062306a36Sopenharmony_cistatic const char * const phase_flag0_groups[] = { 80162306a36Sopenharmony_ci "gpio68", 80262306a36Sopenharmony_ci}; 80362306a36Sopenharmony_cistatic const char * const phase_flag1_groups[] = { 80462306a36Sopenharmony_ci "gpio48", 80562306a36Sopenharmony_ci}; 80662306a36Sopenharmony_cistatic const char * const phase_flag2_groups[] = { 80762306a36Sopenharmony_ci "gpio49", 80862306a36Sopenharmony_ci}; 80962306a36Sopenharmony_cistatic const char * const phase_flag3_groups[] = { 81062306a36Sopenharmony_ci "gpio4", 81162306a36Sopenharmony_ci}; 81262306a36Sopenharmony_cistatic const char * const phase_flag4_groups[] = { 81362306a36Sopenharmony_ci "gpio57", 81462306a36Sopenharmony_ci}; 81562306a36Sopenharmony_cistatic const char * const phase_flag5_groups[] = { 81662306a36Sopenharmony_ci "gpio17", 81762306a36Sopenharmony_ci}; 81862306a36Sopenharmony_cistatic const char * const phase_flag6_groups[] = { 81962306a36Sopenharmony_ci "gpio53", 82062306a36Sopenharmony_ci}; 82162306a36Sopenharmony_cistatic const char * const phase_flag7_groups[] = { 82262306a36Sopenharmony_ci "gpio69", 82362306a36Sopenharmony_ci}; 82462306a36Sopenharmony_cistatic const char * const phase_flag8_groups[] = { 82562306a36Sopenharmony_ci "gpio70", 82662306a36Sopenharmony_ci}; 82762306a36Sopenharmony_cistatic const char * const phase_flag9_groups[] = { 82862306a36Sopenharmony_ci "gpio50", 82962306a36Sopenharmony_ci}; 83062306a36Sopenharmony_cistatic const char * const phase_flag10_groups[] = { 83162306a36Sopenharmony_ci "gpio56", 83262306a36Sopenharmony_ci}; 83362306a36Sopenharmony_cistatic const char * const phase_flag11_groups[] = { 83462306a36Sopenharmony_ci "gpio21", 83562306a36Sopenharmony_ci}; 83662306a36Sopenharmony_cistatic const char * const phase_flag12_groups[] = { 83762306a36Sopenharmony_ci "gpio22", 83862306a36Sopenharmony_ci}; 83962306a36Sopenharmony_cistatic const char * const phase_flag13_groups[] = { 84062306a36Sopenharmony_ci "gpio23", 84162306a36Sopenharmony_ci}; 84262306a36Sopenharmony_cistatic const char * const phase_flag14_groups[] = { 84362306a36Sopenharmony_ci "gpio5", 84462306a36Sopenharmony_ci}; 84562306a36Sopenharmony_cistatic const char * const phase_flag15_groups[] = { 84662306a36Sopenharmony_ci "gpio51", 84762306a36Sopenharmony_ci}; 84862306a36Sopenharmony_cistatic const char * const phase_flag16_groups[] = { 84962306a36Sopenharmony_ci "gpio52", 85062306a36Sopenharmony_ci}; 85162306a36Sopenharmony_cistatic const char * const phase_flag17_groups[] = { 85262306a36Sopenharmony_ci "gpio24", 85362306a36Sopenharmony_ci}; 85462306a36Sopenharmony_cistatic const char * const phase_flag18_groups[] = { 85562306a36Sopenharmony_ci "gpio25", 85662306a36Sopenharmony_ci}; 85762306a36Sopenharmony_cistatic const char * const phase_flag19_groups[] = { 85862306a36Sopenharmony_ci "gpio26", 85962306a36Sopenharmony_ci}; 86062306a36Sopenharmony_cistatic const char * const phase_flag20_groups[] = { 86162306a36Sopenharmony_ci "gpio27", 86262306a36Sopenharmony_ci}; 86362306a36Sopenharmony_cistatic const char * const phase_flag21_groups[] = { 86462306a36Sopenharmony_ci "gpio28", 86562306a36Sopenharmony_ci}; 86662306a36Sopenharmony_cistatic const char * const phase_flag22_groups[] = { 86762306a36Sopenharmony_ci "gpio29", 86862306a36Sopenharmony_ci}; 86962306a36Sopenharmony_cistatic const char * const phase_flag23_groups[] = { 87062306a36Sopenharmony_ci "gpio30", 87162306a36Sopenharmony_ci}; 87262306a36Sopenharmony_cistatic const char * const phase_flag24_groups[] = { 87362306a36Sopenharmony_ci "gpio31", 87462306a36Sopenharmony_ci}; 87562306a36Sopenharmony_cistatic const char * const phase_flag25_groups[] = { 87662306a36Sopenharmony_ci "gpio55", 87762306a36Sopenharmony_ci}; 87862306a36Sopenharmony_cistatic const char * const phase_flag26_groups[] = { 87962306a36Sopenharmony_ci "gpio12", 88062306a36Sopenharmony_ci}; 88162306a36Sopenharmony_cistatic const char * const phase_flag27_groups[] = { 88262306a36Sopenharmony_ci "gpio13", 88362306a36Sopenharmony_ci}; 88462306a36Sopenharmony_cistatic const char * const phase_flag28_groups[] = { 88562306a36Sopenharmony_ci "gpio14", 88662306a36Sopenharmony_ci}; 88762306a36Sopenharmony_cistatic const char * const phase_flag29_groups[] = { 88862306a36Sopenharmony_ci "gpio54", 88962306a36Sopenharmony_ci}; 89062306a36Sopenharmony_cistatic const char * const phase_flag30_groups[] = { 89162306a36Sopenharmony_ci "gpio47", 89262306a36Sopenharmony_ci}; 89362306a36Sopenharmony_cistatic const char * const phase_flag31_groups[] = { 89462306a36Sopenharmony_ci "gpio6", 89562306a36Sopenharmony_ci}; 89662306a36Sopenharmony_cistatic const char * const pll_bypassnl_groups[] = { 89762306a36Sopenharmony_ci "gpio36", 89862306a36Sopenharmony_ci}; 89962306a36Sopenharmony_cistatic const char * const pll_reset_groups[] = { 90062306a36Sopenharmony_ci "gpio37", 90162306a36Sopenharmony_ci}; 90262306a36Sopenharmony_cistatic const char * const pri_mi2s_groups[] = { 90362306a36Sopenharmony_ci "gpio12", "gpio14", "gpio15", "gpio61", 90462306a36Sopenharmony_ci}; 90562306a36Sopenharmony_cistatic const char * const pri_mi2s_ws_groups[] = { 90662306a36Sopenharmony_ci "gpio13", 90762306a36Sopenharmony_ci}; 90862306a36Sopenharmony_cistatic const char * const prng_rosc_groups[] = { 90962306a36Sopenharmony_ci "gpio102", 91062306a36Sopenharmony_ci}; 91162306a36Sopenharmony_cistatic const char * const pwr_crypto_groups[] = { 91262306a36Sopenharmony_ci "gpio33", 91362306a36Sopenharmony_ci}; 91462306a36Sopenharmony_cistatic const char * const pwr_modem_groups[] = { 91562306a36Sopenharmony_ci "gpio31", 91662306a36Sopenharmony_ci}; 91762306a36Sopenharmony_cistatic const char * const pwr_nav_groups[] = { 91862306a36Sopenharmony_ci "gpio32", 91962306a36Sopenharmony_ci}; 92062306a36Sopenharmony_cistatic const char * const qdss_cti0_a_groups[] = { 92162306a36Sopenharmony_ci "gpio49", "gpio50", 92262306a36Sopenharmony_ci}; 92362306a36Sopenharmony_cistatic const char * const qdss_cti0_b_groups[] = { 92462306a36Sopenharmony_ci "gpio13", "gpio21", 92562306a36Sopenharmony_ci}; 92662306a36Sopenharmony_cistatic const char * const qdss_cti1_a_groups[] = { 92762306a36Sopenharmony_ci "gpio53", "gpio55", 92862306a36Sopenharmony_ci}; 92962306a36Sopenharmony_cistatic const char * const qdss_cti1_b_groups[] = { 93062306a36Sopenharmony_ci "gpio12", "gpio66", 93162306a36Sopenharmony_ci}; 93262306a36Sopenharmony_cistatic const char * const qdss_gpio0_groups[] = { 93362306a36Sopenharmony_ci "gpio32", "gpio67", 93462306a36Sopenharmony_ci}; 93562306a36Sopenharmony_cistatic const char * const qdss_gpio10_groups[] = { 93662306a36Sopenharmony_ci "gpio43", "gpio77", 93762306a36Sopenharmony_ci}; 93862306a36Sopenharmony_cistatic const char * const qdss_gpio11_groups[] = { 93962306a36Sopenharmony_ci "gpio44", "gpio79", 94062306a36Sopenharmony_ci}; 94162306a36Sopenharmony_cistatic const char * const qdss_gpio12_groups[] = { 94262306a36Sopenharmony_ci "gpio45", "gpio80", 94362306a36Sopenharmony_ci}; 94462306a36Sopenharmony_cistatic const char * const qdss_gpio13_groups[] = { 94562306a36Sopenharmony_ci "gpio46", "gpio78", 94662306a36Sopenharmony_ci}; 94762306a36Sopenharmony_cistatic const char * const qdss_gpio14_groups[] = { 94862306a36Sopenharmony_ci "gpio47", "gpio72", 94962306a36Sopenharmony_ci}; 95062306a36Sopenharmony_cistatic const char * const qdss_gpio15_groups[] = { 95162306a36Sopenharmony_ci "gpio48", "gpio73", 95262306a36Sopenharmony_ci}; 95362306a36Sopenharmony_cistatic const char * const qdss_gpio1_groups[] = { 95462306a36Sopenharmony_ci "gpio33", "gpio63", 95562306a36Sopenharmony_ci}; 95662306a36Sopenharmony_cistatic const char * const qdss_gpio2_groups[] = { 95762306a36Sopenharmony_ci "gpio34", "gpio64", 95862306a36Sopenharmony_ci}; 95962306a36Sopenharmony_cistatic const char * const qdss_gpio3_groups[] = { 96062306a36Sopenharmony_ci "gpio35", "gpio56", 96162306a36Sopenharmony_ci}; 96262306a36Sopenharmony_cistatic const char * const qdss_gpio4_groups[] = { 96362306a36Sopenharmony_ci "gpio0", "gpio36", 96462306a36Sopenharmony_ci}; 96562306a36Sopenharmony_cistatic const char * const qdss_gpio5_groups[] = { 96662306a36Sopenharmony_ci "gpio1", "gpio37", 96762306a36Sopenharmony_ci}; 96862306a36Sopenharmony_cistatic const char * const qdss_gpio6_groups[] = { 96962306a36Sopenharmony_ci "gpio38", "gpio70", 97062306a36Sopenharmony_ci}; 97162306a36Sopenharmony_cistatic const char * const qdss_gpio7_groups[] = { 97262306a36Sopenharmony_ci "gpio39", "gpio71", 97362306a36Sopenharmony_ci}; 97462306a36Sopenharmony_cistatic const char * const qdss_gpio8_groups[] = { 97562306a36Sopenharmony_ci "gpio51", "gpio75", 97662306a36Sopenharmony_ci}; 97762306a36Sopenharmony_cistatic const char * const qdss_gpio9_groups[] = { 97862306a36Sopenharmony_ci "gpio42", "gpio76", 97962306a36Sopenharmony_ci}; 98062306a36Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 98162306a36Sopenharmony_ci "gpio31", "gpio52", "gpio68", "gpio69", 98262306a36Sopenharmony_ci}; 98362306a36Sopenharmony_cistatic const char * const qlink_enable_groups[] = { 98462306a36Sopenharmony_ci "gpio100", 98562306a36Sopenharmony_ci}; 98662306a36Sopenharmony_cistatic const char * const qlink_request_groups[] = { 98762306a36Sopenharmony_ci "gpio99", 98862306a36Sopenharmony_ci}; 98962306a36Sopenharmony_cistatic const char * const qspi_clk_groups[] = { 99062306a36Sopenharmony_ci "gpio47", 99162306a36Sopenharmony_ci}; 99262306a36Sopenharmony_cistatic const char * const qspi_cs_groups[] = { 99362306a36Sopenharmony_ci "gpio43", "gpio50", 99462306a36Sopenharmony_ci}; 99562306a36Sopenharmony_cistatic const char * const qspi_data0_groups[] = { 99662306a36Sopenharmony_ci "gpio33", 99762306a36Sopenharmony_ci}; 99862306a36Sopenharmony_cistatic const char * const qspi_data1_groups[] = { 99962306a36Sopenharmony_ci "gpio34", 100062306a36Sopenharmony_ci}; 100162306a36Sopenharmony_cistatic const char * const qspi_data2_groups[] = { 100262306a36Sopenharmony_ci "gpio35", 100362306a36Sopenharmony_ci}; 100462306a36Sopenharmony_cistatic const char * const qspi_data3_groups[] = { 100562306a36Sopenharmony_ci "gpio51", 100662306a36Sopenharmony_ci}; 100762306a36Sopenharmony_cistatic const char * const qspi_resetn_groups[] = { 100862306a36Sopenharmony_ci "gpio48", 100962306a36Sopenharmony_ci}; 101062306a36Sopenharmony_cistatic const char * const sec_mi2s_groups[] = { 101162306a36Sopenharmony_ci "gpio24", "gpio25", "gpio26", "gpio27", "gpio62", 101262306a36Sopenharmony_ci}; 101362306a36Sopenharmony_cistatic const char * const sndwire_clk_groups[] = { 101462306a36Sopenharmony_ci "gpio24", 101562306a36Sopenharmony_ci}; 101662306a36Sopenharmony_cistatic const char * const sndwire_data_groups[] = { 101762306a36Sopenharmony_ci "gpio25", 101862306a36Sopenharmony_ci}; 101962306a36Sopenharmony_cistatic const char * const sp_cmu_groups[] = { 102062306a36Sopenharmony_ci "gpio64", 102162306a36Sopenharmony_ci}; 102262306a36Sopenharmony_cistatic const char * const ssc_irq_groups[] = { 102362306a36Sopenharmony_ci "gpio67", "gpio68", "gpio69", "gpio70", "gpio71", "gpio72", "gpio74", 102462306a36Sopenharmony_ci "gpio75", "gpio76", 102562306a36Sopenharmony_ci}; 102662306a36Sopenharmony_cistatic const char * const tgu_ch0_groups[] = { 102762306a36Sopenharmony_ci "gpio0", 102862306a36Sopenharmony_ci}; 102962306a36Sopenharmony_cistatic const char * const tgu_ch1_groups[] = { 103062306a36Sopenharmony_ci "gpio1", 103162306a36Sopenharmony_ci}; 103262306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 103362306a36Sopenharmony_ci "gpio71", 103462306a36Sopenharmony_ci}; 103562306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 103662306a36Sopenharmony_ci "gpio71", 103762306a36Sopenharmony_ci}; 103862306a36Sopenharmony_cistatic const char * const uim1_clk_groups[] = { 103962306a36Sopenharmony_ci "gpio88", 104062306a36Sopenharmony_ci}; 104162306a36Sopenharmony_cistatic const char * const uim1_data_groups[] = { 104262306a36Sopenharmony_ci "gpio87", 104362306a36Sopenharmony_ci}; 104462306a36Sopenharmony_cistatic const char * const uim1_present_groups[] = { 104562306a36Sopenharmony_ci "gpio90", 104662306a36Sopenharmony_ci}; 104762306a36Sopenharmony_cistatic const char * const uim1_reset_groups[] = { 104862306a36Sopenharmony_ci "gpio89", 104962306a36Sopenharmony_ci}; 105062306a36Sopenharmony_cistatic const char * const uim2_clk_groups[] = { 105162306a36Sopenharmony_ci "gpio84", 105262306a36Sopenharmony_ci}; 105362306a36Sopenharmony_cistatic const char * const uim2_data_groups[] = { 105462306a36Sopenharmony_ci "gpio83", 105562306a36Sopenharmony_ci}; 105662306a36Sopenharmony_cistatic const char * const uim2_present_groups[] = { 105762306a36Sopenharmony_ci "gpio86", 105862306a36Sopenharmony_ci}; 105962306a36Sopenharmony_cistatic const char * const uim2_reset_groups[] = { 106062306a36Sopenharmony_ci "gpio85", 106162306a36Sopenharmony_ci}; 106262306a36Sopenharmony_cistatic const char * const uim_batt_groups[] = { 106362306a36Sopenharmony_ci "gpio91", 106462306a36Sopenharmony_ci}; 106562306a36Sopenharmony_cistatic const char * const vfr_1_groups[] = { 106662306a36Sopenharmony_ci "gpio27", 106762306a36Sopenharmony_ci}; 106862306a36Sopenharmony_cistatic const char * const vsense_clkout_groups[] = { 106962306a36Sopenharmony_ci "gpio24", 107062306a36Sopenharmony_ci}; 107162306a36Sopenharmony_cistatic const char * const vsense_data0_groups[] = { 107262306a36Sopenharmony_ci "gpio21", 107362306a36Sopenharmony_ci}; 107462306a36Sopenharmony_cistatic const char * const vsense_data1_groups[] = { 107562306a36Sopenharmony_ci "gpio22", 107662306a36Sopenharmony_ci}; 107762306a36Sopenharmony_cistatic const char * const vsense_mode_groups[] = { 107862306a36Sopenharmony_ci "gpio23", 107962306a36Sopenharmony_ci}; 108062306a36Sopenharmony_cistatic const char * const wlan1_adc0_groups[] = { 108162306a36Sopenharmony_ci "gpio9", 108262306a36Sopenharmony_ci}; 108362306a36Sopenharmony_cistatic const char * const wlan1_adc1_groups[] = { 108462306a36Sopenharmony_ci "gpio8", 108562306a36Sopenharmony_ci}; 108662306a36Sopenharmony_cistatic const char * const wlan2_adc0_groups[] = { 108762306a36Sopenharmony_ci "gpio11", 108862306a36Sopenharmony_ci}; 108962306a36Sopenharmony_cistatic const char * const wlan2_adc1_groups[] = { 109062306a36Sopenharmony_ci "gpio10", 109162306a36Sopenharmony_ci}; 109262306a36Sopenharmony_ci 109362306a36Sopenharmony_cistatic const struct pinfunction sdm660_functions[] = { 109462306a36Sopenharmony_ci MSM_PIN_FUNCTION(adsp_ext), 109562306a36Sopenharmony_ci MSM_PIN_FUNCTION(agera_pll), 109662306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char), 109762306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char0), 109862306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char1), 109962306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char2), 110062306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char3), 110162306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_gpsadc0), 110262306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_gpsadc1), 110362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens), 110462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_tsens2), 110562306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb1), 110662306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb10), 110762306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb11), 110862306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb12), 110962306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb13), 111062306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb2), 111162306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb20), 111262306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb21), 111362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb22), 111462306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb23), 111562306a36Sopenharmony_ci MSM_PIN_FUNCTION(audio_ref), 111662306a36Sopenharmony_ci MSM_PIN_FUNCTION(bimc_dte0), 111762306a36Sopenharmony_ci MSM_PIN_FUNCTION(bimc_dte1), 111862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c1), 111962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c2), 112062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c3), 112162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c4), 112262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c5), 112362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c6), 112462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c7), 112562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c8_a), 112662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_i2c8_b), 112762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi1), 112862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi2), 112962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi3), 113062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi3_cs1), 113162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi3_cs2), 113262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi4), 113362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi5), 113462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi6), 113562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi7), 113662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi8_a), 113762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi8_b), 113862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi8_cs1), 113962306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_spi8_cs2), 114062306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart1), 114162306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart2), 114262306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart5), 114362306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart6_a), 114462306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uart6_b), 114562306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim1), 114662306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim2), 114762306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim5), 114862306a36Sopenharmony_ci MSM_PIN_FUNCTION(blsp_uim6), 114962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cam_mclk), 115062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_async), 115162306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_i2c), 115262306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng), 115362306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng0), 115462306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng1), 115562306a36Sopenharmony_ci MSM_PIN_FUNCTION(dbg_out), 115662306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_bist), 115762306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1), 115862306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2), 115962306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3), 116062306a36Sopenharmony_ci MSM_PIN_FUNCTION(gpio), 116162306a36Sopenharmony_ci MSM_PIN_FUNCTION(gps_tx_a), 116262306a36Sopenharmony_ci MSM_PIN_FUNCTION(gps_tx_b), 116362306a36Sopenharmony_ci MSM_PIN_FUNCTION(gps_tx_c), 116462306a36Sopenharmony_ci MSM_PIN_FUNCTION(isense_dbg), 116562306a36Sopenharmony_ci MSM_PIN_FUNCTION(jitter_bist), 116662306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_en), 116762306a36Sopenharmony_ci MSM_PIN_FUNCTION(ldo_update), 116862306a36Sopenharmony_ci MSM_PIN_FUNCTION(m_voc), 116962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync), 117062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdss_vsync0), 117162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdss_vsync1), 117262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdss_vsync2), 117362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdss_vsync3), 117462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mss_lte), 117562306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_pps_a), 117662306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_pps_b), 117762306a36Sopenharmony_ci MSM_PIN_FUNCTION(nav_pps_c), 117862306a36Sopenharmony_ci MSM_PIN_FUNCTION(pa_indicator), 117962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag0), 118062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag1), 118162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag2), 118262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag3), 118362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag4), 118462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag5), 118562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag6), 118662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag7), 118762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag8), 118862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag9), 118962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag10), 119062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag11), 119162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag12), 119262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag13), 119362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag14), 119462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag15), 119562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag16), 119662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag17), 119762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag18), 119862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag19), 119962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag20), 120062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag21), 120162306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag22), 120262306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag23), 120362306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag24), 120462306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag25), 120562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag26), 120662306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag27), 120762306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag28), 120862306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag29), 120962306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag30), 121062306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag31), 121162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bypassnl), 121262306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_reset), 121362306a36Sopenharmony_ci MSM_PIN_FUNCTION(pri_mi2s), 121462306a36Sopenharmony_ci MSM_PIN_FUNCTION(pri_mi2s_ws), 121562306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc), 121662306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_crypto), 121762306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_modem), 121862306a36Sopenharmony_ci MSM_PIN_FUNCTION(pwr_nav), 121962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti0_a), 122062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti0_b), 122162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti1_a), 122262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti1_b), 122362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio), 122462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio0), 122562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio1), 122662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio10), 122762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio11), 122862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio12), 122962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio13), 123062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio14), 123162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio15), 123262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio2), 123362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio3), 123462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio4), 123562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio5), 123662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio6), 123762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio7), 123862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio8), 123962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio9), 124062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink_enable), 124162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qlink_request), 124262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_clk), 124362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_cs), 124462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_data0), 124562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_data1), 124662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_data2), 124762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_data3), 124862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_resetn), 124962306a36Sopenharmony_ci MSM_PIN_FUNCTION(sec_mi2s), 125062306a36Sopenharmony_ci MSM_PIN_FUNCTION(sndwire_clk), 125162306a36Sopenharmony_ci MSM_PIN_FUNCTION(sndwire_data), 125262306a36Sopenharmony_ci MSM_PIN_FUNCTION(sp_cmu), 125362306a36Sopenharmony_ci MSM_PIN_FUNCTION(ssc_irq), 125462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch0), 125562306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu_ch1), 125662306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm1), 125762306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm2), 125862306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_clk), 125962306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_data), 126062306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_present), 126162306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim1_reset), 126262306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_clk), 126362306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_data), 126462306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_present), 126562306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim2_reset), 126662306a36Sopenharmony_ci MSM_PIN_FUNCTION(uim_batt), 126762306a36Sopenharmony_ci MSM_PIN_FUNCTION(vfr_1), 126862306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_clkout), 126962306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_data0), 127062306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_data1), 127162306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_mode), 127262306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc0), 127362306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan1_adc1), 127462306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc0), 127562306a36Sopenharmony_ci MSM_PIN_FUNCTION(wlan2_adc1), 127662306a36Sopenharmony_ci}; 127762306a36Sopenharmony_ci 127862306a36Sopenharmony_cistatic const struct msm_pingroup sdm660_groups[] = { 127962306a36Sopenharmony_ci PINGROUP(0, SOUTH, blsp_spi1, blsp_uart1, blsp_uim1, tgu_ch0, _, _, qdss_gpio4, atest_gpsadc1, _), 128062306a36Sopenharmony_ci PINGROUP(1, SOUTH, blsp_spi1, blsp_uart1, blsp_uim1, tgu_ch1, _, _, qdss_gpio5, atest_gpsadc0, _), 128162306a36Sopenharmony_ci PINGROUP(2, SOUTH, blsp_spi1, blsp_uart1, blsp_i2c1, _, _, _, _, _, _), 128262306a36Sopenharmony_ci PINGROUP(3, SOUTH, blsp_spi1, blsp_uart1, blsp_i2c1, ddr_bist, _, _, atest_tsens2, atest_usb1, _), 128362306a36Sopenharmony_ci PINGROUP(4, NORTH, blsp_spi2, blsp_uim2, blsp_uart2, phase_flag3, _, _, _, _, _), 128462306a36Sopenharmony_ci PINGROUP(5, SOUTH, blsp_spi2, blsp_uim2, blsp_uart2, phase_flag14, _, _, _, _, _), 128562306a36Sopenharmony_ci PINGROUP(6, SOUTH, blsp_spi2, blsp_i2c2, blsp_uart2, phase_flag31, _, _, _, _, _), 128662306a36Sopenharmony_ci PINGROUP(7, SOUTH, blsp_spi2, blsp_i2c2, blsp_uart2, _, _, _, _, _, _), 128762306a36Sopenharmony_ci PINGROUP(8, NORTH, blsp_spi3, ddr_bist, _, _, _, wlan1_adc1, atest_usb13, bimc_dte1, _), 128862306a36Sopenharmony_ci PINGROUP(9, NORTH, blsp_spi3, ddr_bist, _, _, _, wlan1_adc0, atest_usb12, bimc_dte0, _), 128962306a36Sopenharmony_ci PINGROUP(10, NORTH, blsp_spi3, blsp_i2c3, ddr_bist, _, _, wlan2_adc1, atest_usb11, bimc_dte1, _), 129062306a36Sopenharmony_ci PINGROUP(11, NORTH, blsp_spi3, blsp_i2c3, _, dbg_out, wlan2_adc0, atest_usb10, bimc_dte0, _, _), 129162306a36Sopenharmony_ci PINGROUP(12, NORTH, blsp_spi4, pri_mi2s, _, phase_flag26, qdss_cti1_b, _, _, _, _), 129262306a36Sopenharmony_ci PINGROUP(13, NORTH, blsp_spi4, _, pri_mi2s_ws, _, _, phase_flag27, qdss_cti0_b, _, _), 129362306a36Sopenharmony_ci PINGROUP(14, NORTH, blsp_spi4, blsp_i2c4, pri_mi2s, _, phase_flag28, _, _, _, _), 129462306a36Sopenharmony_ci PINGROUP(15, NORTH, blsp_spi4, blsp_i2c4, pri_mi2s, _, _, _, _, _, _), 129562306a36Sopenharmony_ci PINGROUP(16, CENTER, blsp_uart5, blsp_spi5, blsp_uim5, _, _, _, _, _, _), 129662306a36Sopenharmony_ci PINGROUP(17, CENTER, blsp_uart5, blsp_spi5, blsp_uim5, _, phase_flag5, _, _, _, _), 129762306a36Sopenharmony_ci PINGROUP(18, CENTER, blsp_uart5, blsp_spi5, blsp_i2c5, _, _, _, _, _, _), 129862306a36Sopenharmony_ci PINGROUP(19, CENTER, blsp_uart5, blsp_spi5, blsp_i2c5, _, _, _, _, _, _), 129962306a36Sopenharmony_ci PINGROUP(20, SOUTH, _, _, blsp_uim6, _, _, _, _, _, _), 130062306a36Sopenharmony_ci PINGROUP(21, SOUTH, _, _, blsp_uim6, _, phase_flag11, qdss_cti0_b, vsense_data0, _, _), 130162306a36Sopenharmony_ci PINGROUP(22, CENTER, blsp_spi6, _, blsp_i2c6, _, phase_flag12, vsense_data1, _, _, _), 130262306a36Sopenharmony_ci PINGROUP(23, CENTER, blsp_spi6, _, blsp_i2c6, _, phase_flag13, vsense_mode, _, _, _), 130362306a36Sopenharmony_ci PINGROUP(24, NORTH, blsp_spi7, blsp_uart6_a, sec_mi2s, sndwire_clk, _, _, phase_flag17, vsense_clkout, _), 130462306a36Sopenharmony_ci PINGROUP(25, NORTH, blsp_spi7, blsp_uart6_a, sec_mi2s, sndwire_data, _, _, phase_flag18, _, _), 130562306a36Sopenharmony_ci PINGROUP(26, NORTH, blsp_spi7, blsp_uart6_a, blsp_i2c7, sec_mi2s, _, phase_flag19, _, _, _), 130662306a36Sopenharmony_ci PINGROUP(27, NORTH, blsp_spi7, blsp_uart6_a, blsp_i2c7, vfr_1, sec_mi2s, _, phase_flag20, _, _), 130762306a36Sopenharmony_ci PINGROUP(28, CENTER, blsp_spi8_a, blsp_uart6_b, m_voc, _, phase_flag21, _, _, _, _), 130862306a36Sopenharmony_ci PINGROUP(29, CENTER, blsp_spi8_a, blsp_uart6_b, _, _, phase_flag22, _, _, _, _), 130962306a36Sopenharmony_ci PINGROUP(30, CENTER, blsp_spi8_a, blsp_uart6_b, blsp_i2c8_a, blsp_spi3_cs1, _, phase_flag23, _, _, _), 131062306a36Sopenharmony_ci PINGROUP(31, CENTER, blsp_spi8_a, blsp_uart6_b, blsp_i2c8_a, pwr_modem, _, phase_flag24, qdss_gpio, _, _), 131162306a36Sopenharmony_ci PINGROUP(32, SOUTH, cam_mclk, pwr_nav, _, _, qdss_gpio0, _, _, _, _), 131262306a36Sopenharmony_ci PINGROUP(33, SOUTH, cam_mclk, qspi_data0, pwr_crypto, _, _, qdss_gpio1, _, _, _), 131362306a36Sopenharmony_ci PINGROUP(34, SOUTH, cam_mclk, qspi_data1, agera_pll, _, _, qdss_gpio2, _, _, _), 131462306a36Sopenharmony_ci PINGROUP(35, SOUTH, cam_mclk, qspi_data2, jitter_bist, _, _, qdss_gpio3, _, atest_usb2, _), 131562306a36Sopenharmony_ci PINGROUP(36, SOUTH, cci_i2c, pll_bypassnl, agera_pll, _, _, qdss_gpio4, atest_tsens, atest_usb21, _), 131662306a36Sopenharmony_ci PINGROUP(37, SOUTH, cci_i2c, pll_reset, _, _, qdss_gpio5, atest_usb23, _, _, _), 131762306a36Sopenharmony_ci PINGROUP(38, SOUTH, cci_i2c, _, _, qdss_gpio6, _, _, _, _, _), 131862306a36Sopenharmony_ci PINGROUP(39, SOUTH, cci_i2c, _, _, qdss_gpio7, _, _, _, _, _), 131962306a36Sopenharmony_ci PINGROUP(40, SOUTH, _, _, blsp_spi8_b, _, _, _, _, _, _), 132062306a36Sopenharmony_ci PINGROUP(41, SOUTH, _, _, blsp_spi8_b, _, _, _, _, _, _), 132162306a36Sopenharmony_ci PINGROUP(42, SOUTH, mdss_vsync0, mdss_vsync1, mdss_vsync2, mdss_vsync3, _, _, qdss_gpio9, _, _), 132262306a36Sopenharmony_ci PINGROUP(43, SOUTH, _, _, qspi_cs, _, _, qdss_gpio10, _, _, _), 132362306a36Sopenharmony_ci PINGROUP(44, SOUTH, _, _, blsp_spi8_b, blsp_i2c8_b, _, _, qdss_gpio11, _, _), 132462306a36Sopenharmony_ci PINGROUP(45, SOUTH, cci_async, _, _, qdss_gpio12, _, _, _, _, _), 132562306a36Sopenharmony_ci PINGROUP(46, SOUTH, blsp_spi1, _, _, qdss_gpio13, _, _, _, _, _), 132662306a36Sopenharmony_ci PINGROUP(47, SOUTH, qspi_clk, _, phase_flag30, qdss_gpio14, _, _, _, _, _), 132762306a36Sopenharmony_ci PINGROUP(48, SOUTH, _, phase_flag1, qdss_gpio15, _, _, _, _, _, _), 132862306a36Sopenharmony_ci PINGROUP(49, SOUTH, blsp_spi6, phase_flag2, qdss_cti0_a, _, _, _, _, _, _), 132962306a36Sopenharmony_ci PINGROUP(50, SOUTH, qspi_cs, _, phase_flag9, qdss_cti0_a, _, _, _, _, _), 133062306a36Sopenharmony_ci PINGROUP(51, SOUTH, qspi_data3, _, phase_flag15, qdss_gpio8, _, _, _, _, _), 133162306a36Sopenharmony_ci PINGROUP(52, SOUTH, _, blsp_spi8_b, blsp_i2c8_b, blsp_spi6, phase_flag16, qdss_gpio, _, _, _), 133262306a36Sopenharmony_ci PINGROUP(53, NORTH, _, phase_flag6, qdss_cti1_a, _, _, _, _, _, _), 133362306a36Sopenharmony_ci PINGROUP(54, NORTH, _, _, phase_flag29, _, _, _, _, _, _), 133462306a36Sopenharmony_ci PINGROUP(55, SOUTH, _, phase_flag25, qdss_cti1_a, _, _, _, _, _, _), 133562306a36Sopenharmony_ci PINGROUP(56, SOUTH, _, phase_flag10, qdss_gpio3, _, atest_usb20, _, _, _, _), 133662306a36Sopenharmony_ci PINGROUP(57, SOUTH, gcc_gp1, _, phase_flag4, atest_usb22, _, _, _, _, _), 133762306a36Sopenharmony_ci PINGROUP(58, SOUTH, _, gcc_gp2, _, _, atest_char, _, _, _, _), 133862306a36Sopenharmony_ci PINGROUP(59, NORTH, mdp_vsync, gcc_gp3, _, _, atest_char3, _, _, _, _), 133962306a36Sopenharmony_ci PINGROUP(60, NORTH, cri_trng0, _, _, atest_char2, _, _, _, _, _), 134062306a36Sopenharmony_ci PINGROUP(61, NORTH, pri_mi2s, cri_trng1, _, _, atest_char1, _, _, _, _), 134162306a36Sopenharmony_ci PINGROUP(62, NORTH, sec_mi2s, audio_ref, _, cri_trng, _, _, atest_char0, _, _), 134262306a36Sopenharmony_ci PINGROUP(63, NORTH, _, _, _, qdss_gpio1, _, _, _, _, _), 134362306a36Sopenharmony_ci PINGROUP(64, SOUTH, blsp_spi8_cs1, sp_cmu, _, _, qdss_gpio2, _, _, _, _), 134462306a36Sopenharmony_ci PINGROUP(65, SOUTH, _, nav_pps_a, nav_pps_a, gps_tx_a, blsp_spi3_cs2, adsp_ext, _, _, _), 134562306a36Sopenharmony_ci PINGROUP(66, NORTH, _, _, qdss_cti1_b, _, _, _, _, _, _), 134662306a36Sopenharmony_ci PINGROUP(67, NORTH, _, _, qdss_gpio0, _, _, _, _, _, _), 134762306a36Sopenharmony_ci PINGROUP(68, NORTH, isense_dbg, _, phase_flag0, qdss_gpio, _, _, _, _, _), 134862306a36Sopenharmony_ci PINGROUP(69, NORTH, _, phase_flag7, qdss_gpio, _, _, _, _, _, _), 134962306a36Sopenharmony_ci PINGROUP(70, NORTH, _, phase_flag8, qdss_gpio6, _, _, _, _, _, _), 135062306a36Sopenharmony_ci PINGROUP(71, NORTH, _, _, qdss_gpio7, tsense_pwm1, tsense_pwm2, _, _, _, _), 135162306a36Sopenharmony_ci PINGROUP(72, NORTH, _, qdss_gpio14, _, _, _, _, _, _, _), 135262306a36Sopenharmony_ci PINGROUP(73, NORTH, _, _, qdss_gpio15, _, _, _, _, _, _), 135362306a36Sopenharmony_ci PINGROUP(74, NORTH, mdp_vsync, _, _, _, _, _, _, _, _), 135462306a36Sopenharmony_ci PINGROUP(75, NORTH, _, _, qdss_gpio8, _, _, _, _, _, _), 135562306a36Sopenharmony_ci PINGROUP(76, NORTH, blsp_spi8_cs2, _, _, _, qdss_gpio9, _, _, _, _), 135662306a36Sopenharmony_ci PINGROUP(77, NORTH, _, _, qdss_gpio10, _, _, _, _, _, _), 135762306a36Sopenharmony_ci PINGROUP(78, NORTH, gcc_gp1, _, qdss_gpio13, _, _, _, _, _, _), 135862306a36Sopenharmony_ci PINGROUP(79, SOUTH, _, _, qdss_gpio11, _, _, _, _, _, _), 135962306a36Sopenharmony_ci PINGROUP(80, SOUTH, nav_pps_b, nav_pps_b, gps_tx_c, _, _, qdss_gpio12, _, _, _), 136062306a36Sopenharmony_ci PINGROUP(81, CENTER, mss_lte, gcc_gp2, _, _, _, _, _, _, _), 136162306a36Sopenharmony_ci PINGROUP(82, CENTER, mss_lte, gcc_gp3, _, _, _, _, _, _, _), 136262306a36Sopenharmony_ci PINGROUP(83, SOUTH, uim2_data, _, _, _, _, _, _, _, _), 136362306a36Sopenharmony_ci PINGROUP(84, SOUTH, uim2_clk, _, _, _, _, _, _, _, _), 136462306a36Sopenharmony_ci PINGROUP(85, SOUTH, uim2_reset, _, _, _, _, _, _, _, _), 136562306a36Sopenharmony_ci PINGROUP(86, SOUTH, uim2_present, _, _, _, _, _, _, _, _), 136662306a36Sopenharmony_ci PINGROUP(87, SOUTH, uim1_data, _, _, _, _, _, _, _, _), 136762306a36Sopenharmony_ci PINGROUP(88, SOUTH, uim1_clk, _, _, _, _, _, _, _, _), 136862306a36Sopenharmony_ci PINGROUP(89, SOUTH, uim1_reset, _, _, _, _, _, _, _, _), 136962306a36Sopenharmony_ci PINGROUP(90, SOUTH, uim1_present, _, _, _, _, _, _, _, _), 137062306a36Sopenharmony_ci PINGROUP(91, SOUTH, uim_batt, _, _, _, _, _, _, _, _), 137162306a36Sopenharmony_ci PINGROUP(92, SOUTH, _, _, pa_indicator, _, _, _, _, _, _), 137262306a36Sopenharmony_ci PINGROUP(93, SOUTH, _, _, _, _, _, _, _, _, _), 137362306a36Sopenharmony_ci PINGROUP(94, SOUTH, _, _, _, _, _, _, _, _, _), 137462306a36Sopenharmony_ci PINGROUP(95, SOUTH, _, _, _, _, _, _, _, _, _), 137562306a36Sopenharmony_ci PINGROUP(96, SOUTH, _, _, _, _, _, _, _, _, _), 137662306a36Sopenharmony_ci PINGROUP(97, SOUTH, _, ldo_en, _, _, _, _, _, _, _), 137762306a36Sopenharmony_ci PINGROUP(98, SOUTH, _, nav_pps_c, nav_pps_c, gps_tx_b, ldo_update, _, _, _, _), 137862306a36Sopenharmony_ci PINGROUP(99, SOUTH, qlink_request, _, _, _, _, _, _, _, _), 137962306a36Sopenharmony_ci PINGROUP(100, SOUTH, qlink_enable, _, _, _, _, _, _, _, _), 138062306a36Sopenharmony_ci PINGROUP(101, SOUTH, _, _, _, _, _, _, _, _, _), 138162306a36Sopenharmony_ci PINGROUP(102, SOUTH, _, prng_rosc, _, _, _, _, _, _, _), 138262306a36Sopenharmony_ci PINGROUP(103, SOUTH, _, _, _, _, _, _, _, _, _), 138362306a36Sopenharmony_ci PINGROUP(104, SOUTH, _, _, _, _, _, _, _, _, _), 138462306a36Sopenharmony_ci PINGROUP(105, SOUTH, _, _, _, _, _, _, _, _, _), 138562306a36Sopenharmony_ci PINGROUP(106, SOUTH, _, _, _, _, _, _, _, _, _), 138662306a36Sopenharmony_ci PINGROUP(107, SOUTH, _, _, _, _, _, _, _, _, _), 138762306a36Sopenharmony_ci PINGROUP(108, SOUTH, _, _, _, _, _, _, _, _, _), 138862306a36Sopenharmony_ci PINGROUP(109, SOUTH, _, _, _, _, _, _, _, _, _), 138962306a36Sopenharmony_ci PINGROUP(110, SOUTH, _, _, _, _, _, _, _, _, _), 139062306a36Sopenharmony_ci PINGROUP(111, SOUTH, _, _, _, _, _, _, _, _, _), 139162306a36Sopenharmony_ci PINGROUP(112, SOUTH, _, _, _, _, _, _, _, _, _), 139262306a36Sopenharmony_ci PINGROUP(113, SOUTH, _, _, _, _, _, _, _, _, _), 139362306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_clk, 0x9a000, 13, 6), 139462306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_cmd, 0x9a000, 11, 3), 139562306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_data, 0x9a000, 9, 0), 139662306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_clk, 0x9b000, 14, 6), 139762306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_cmd, 0x9b000, 11, 3), 139862306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc2_data, 0x9b000, 9, 0), 139962306a36Sopenharmony_ci SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), 140062306a36Sopenharmony_ci}; 140162306a36Sopenharmony_ci 140262306a36Sopenharmony_cistatic const struct msm_pinctrl_soc_data sdm660_pinctrl = { 140362306a36Sopenharmony_ci .pins = sdm660_pins, 140462306a36Sopenharmony_ci .npins = ARRAY_SIZE(sdm660_pins), 140562306a36Sopenharmony_ci .functions = sdm660_functions, 140662306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(sdm660_functions), 140762306a36Sopenharmony_ci .groups = sdm660_groups, 140862306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(sdm660_groups), 140962306a36Sopenharmony_ci .ngpios = 114, 141062306a36Sopenharmony_ci .tiles = sdm660_tiles, 141162306a36Sopenharmony_ci .ntiles = ARRAY_SIZE(sdm660_tiles), 141262306a36Sopenharmony_ci}; 141362306a36Sopenharmony_ci 141462306a36Sopenharmony_cistatic int sdm660_pinctrl_probe(struct platform_device *pdev) 141562306a36Sopenharmony_ci{ 141662306a36Sopenharmony_ci return msm_pinctrl_probe(pdev, &sdm660_pinctrl); 141762306a36Sopenharmony_ci} 141862306a36Sopenharmony_ci 141962306a36Sopenharmony_cistatic const struct of_device_id sdm660_pinctrl_of_match[] = { 142062306a36Sopenharmony_ci { .compatible = "qcom,sdm660-pinctrl", }, 142162306a36Sopenharmony_ci { .compatible = "qcom,sdm630-pinctrl", }, 142262306a36Sopenharmony_ci { }, 142362306a36Sopenharmony_ci}; 142462306a36Sopenharmony_ci 142562306a36Sopenharmony_cistatic struct platform_driver sdm660_pinctrl_driver = { 142662306a36Sopenharmony_ci .driver = { 142762306a36Sopenharmony_ci .name = "sdm660-pinctrl", 142862306a36Sopenharmony_ci .of_match_table = sdm660_pinctrl_of_match, 142962306a36Sopenharmony_ci }, 143062306a36Sopenharmony_ci .probe = sdm660_pinctrl_probe, 143162306a36Sopenharmony_ci .remove = msm_pinctrl_remove, 143262306a36Sopenharmony_ci}; 143362306a36Sopenharmony_ci 143462306a36Sopenharmony_cistatic int __init sdm660_pinctrl_init(void) 143562306a36Sopenharmony_ci{ 143662306a36Sopenharmony_ci return platform_driver_register(&sdm660_pinctrl_driver); 143762306a36Sopenharmony_ci} 143862306a36Sopenharmony_ciarch_initcall(sdm660_pinctrl_init); 143962306a36Sopenharmony_ci 144062306a36Sopenharmony_cistatic void __exit sdm660_pinctrl_exit(void) 144162306a36Sopenharmony_ci{ 144262306a36Sopenharmony_ci platform_driver_unregister(&sdm660_pinctrl_driver); 144362306a36Sopenharmony_ci} 144462306a36Sopenharmony_cimodule_exit(sdm660_pinctrl_exit); 144562306a36Sopenharmony_ci 144662306a36Sopenharmony_ciMODULE_DESCRIPTION("QTI sdm660 pinctrl driver"); 144762306a36Sopenharmony_ciMODULE_LICENSE("GPL v2"); 144862306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, sdm660_pinctrl_of_match); 1449