162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2022, Linaro Ltd. 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_ci#define REG_SIZE 0x1000 1462306a36Sopenharmony_ci#define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7) \ 1562306a36Sopenharmony_ci { \ 1662306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP("gpio" #id, \ 1762306a36Sopenharmony_ci gpio##id##_pins, \ 1862306a36Sopenharmony_ci ARRAY_SIZE(gpio##id##_pins)), \ 1962306a36Sopenharmony_ci .funcs = (int[]){ \ 2062306a36Sopenharmony_ci msm_mux_gpio, /* gpio mode */ \ 2162306a36Sopenharmony_ci msm_mux_##f1, \ 2262306a36Sopenharmony_ci msm_mux_##f2, \ 2362306a36Sopenharmony_ci msm_mux_##f3, \ 2462306a36Sopenharmony_ci msm_mux_##f4, \ 2562306a36Sopenharmony_ci msm_mux_##f5, \ 2662306a36Sopenharmony_ci msm_mux_##f6, \ 2762306a36Sopenharmony_ci msm_mux_##f7, \ 2862306a36Sopenharmony_ci }, \ 2962306a36Sopenharmony_ci .nfuncs = 8, \ 3062306a36Sopenharmony_ci .ctl_reg = REG_SIZE * id, \ 3162306a36Sopenharmony_ci .io_reg = 0x4 + REG_SIZE * id, \ 3262306a36Sopenharmony_ci .intr_cfg_reg = 0x8 + REG_SIZE * id, \ 3362306a36Sopenharmony_ci .intr_status_reg = 0xc + REG_SIZE * id, \ 3462306a36Sopenharmony_ci .intr_target_reg = 0x8 + REG_SIZE * id, \ 3562306a36Sopenharmony_ci .mux_bit = 2, \ 3662306a36Sopenharmony_ci .pull_bit = 0, \ 3762306a36Sopenharmony_ci .drv_bit = 6, \ 3862306a36Sopenharmony_ci .oe_bit = 9, \ 3962306a36Sopenharmony_ci .in_bit = 0, \ 4062306a36Sopenharmony_ci .out_bit = 1, \ 4162306a36Sopenharmony_ci .egpio_enable = 12, \ 4262306a36Sopenharmony_ci .egpio_present = 11, \ 4362306a36Sopenharmony_ci .intr_enable_bit = 0, \ 4462306a36Sopenharmony_ci .intr_status_bit = 0, \ 4562306a36Sopenharmony_ci .intr_target_bit = 5, \ 4662306a36Sopenharmony_ci .intr_target_kpss_val = 3, \ 4762306a36Sopenharmony_ci .intr_raw_status_bit = 4, \ 4862306a36Sopenharmony_ci .intr_polarity_bit = 1, \ 4962306a36Sopenharmony_ci .intr_detection_bit = 2, \ 5062306a36Sopenharmony_ci .intr_detection_width = 2, \ 5162306a36Sopenharmony_ci } 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci#define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv) \ 5462306a36Sopenharmony_ci { \ 5562306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 5662306a36Sopenharmony_ci pg_name##_pins, \ 5762306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 5862306a36Sopenharmony_ci .ctl_reg = ctl, \ 5962306a36Sopenharmony_ci .io_reg = 0, \ 6062306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 6162306a36Sopenharmony_ci .intr_status_reg = 0, \ 6262306a36Sopenharmony_ci .intr_target_reg = 0, \ 6362306a36Sopenharmony_ci .mux_bit = -1, \ 6462306a36Sopenharmony_ci .pull_bit = pull, \ 6562306a36Sopenharmony_ci .drv_bit = drv, \ 6662306a36Sopenharmony_ci .oe_bit = -1, \ 6762306a36Sopenharmony_ci .in_bit = -1, \ 6862306a36Sopenharmony_ci .out_bit = -1, \ 6962306a36Sopenharmony_ci .intr_enable_bit = -1, \ 7062306a36Sopenharmony_ci .intr_status_bit = -1, \ 7162306a36Sopenharmony_ci .intr_target_bit = -1, \ 7262306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 7362306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 7462306a36Sopenharmony_ci .intr_detection_bit = -1, \ 7562306a36Sopenharmony_ci .intr_detection_width = -1, \ 7662306a36Sopenharmony_ci } 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci#define UFS_RESET(pg_name, offset) \ 7962306a36Sopenharmony_ci { \ 8062306a36Sopenharmony_ci .grp = PINCTRL_PINGROUP(#pg_name, \ 8162306a36Sopenharmony_ci pg_name##_pins, \ 8262306a36Sopenharmony_ci ARRAY_SIZE(pg_name##_pins)), \ 8362306a36Sopenharmony_ci .ctl_reg = offset, \ 8462306a36Sopenharmony_ci .io_reg = offset + 0x4, \ 8562306a36Sopenharmony_ci .intr_cfg_reg = 0, \ 8662306a36Sopenharmony_ci .intr_status_reg = 0, \ 8762306a36Sopenharmony_ci .intr_target_reg = 0, \ 8862306a36Sopenharmony_ci .mux_bit = -1, \ 8962306a36Sopenharmony_ci .pull_bit = 3, \ 9062306a36Sopenharmony_ci .drv_bit = 0, \ 9162306a36Sopenharmony_ci .oe_bit = -1, \ 9262306a36Sopenharmony_ci .in_bit = -1, \ 9362306a36Sopenharmony_ci .out_bit = 0, \ 9462306a36Sopenharmony_ci .intr_enable_bit = -1, \ 9562306a36Sopenharmony_ci .intr_status_bit = -1, \ 9662306a36Sopenharmony_ci .intr_target_bit = -1, \ 9762306a36Sopenharmony_ci .intr_raw_status_bit = -1, \ 9862306a36Sopenharmony_ci .intr_polarity_bit = -1, \ 9962306a36Sopenharmony_ci .intr_detection_bit = -1, \ 10062306a36Sopenharmony_ci .intr_detection_width = -1, \ 10162306a36Sopenharmony_ci } 10262306a36Sopenharmony_cistatic const struct pinctrl_pin_desc sc8280xp_pins[] = { 10362306a36Sopenharmony_ci PINCTRL_PIN(0, "GPIO_0"), 10462306a36Sopenharmony_ci PINCTRL_PIN(1, "GPIO_1"), 10562306a36Sopenharmony_ci PINCTRL_PIN(2, "GPIO_2"), 10662306a36Sopenharmony_ci PINCTRL_PIN(3, "GPIO_3"), 10762306a36Sopenharmony_ci PINCTRL_PIN(4, "GPIO_4"), 10862306a36Sopenharmony_ci PINCTRL_PIN(5, "GPIO_5"), 10962306a36Sopenharmony_ci PINCTRL_PIN(6, "GPIO_6"), 11062306a36Sopenharmony_ci PINCTRL_PIN(7, "GPIO_7"), 11162306a36Sopenharmony_ci PINCTRL_PIN(8, "GPIO_8"), 11262306a36Sopenharmony_ci PINCTRL_PIN(9, "GPIO_9"), 11362306a36Sopenharmony_ci PINCTRL_PIN(10, "GPIO_10"), 11462306a36Sopenharmony_ci PINCTRL_PIN(11, "GPIO_11"), 11562306a36Sopenharmony_ci PINCTRL_PIN(12, "GPIO_12"), 11662306a36Sopenharmony_ci PINCTRL_PIN(13, "GPIO_13"), 11762306a36Sopenharmony_ci PINCTRL_PIN(14, "GPIO_14"), 11862306a36Sopenharmony_ci PINCTRL_PIN(15, "GPIO_15"), 11962306a36Sopenharmony_ci PINCTRL_PIN(16, "GPIO_16"), 12062306a36Sopenharmony_ci PINCTRL_PIN(17, "GPIO_17"), 12162306a36Sopenharmony_ci PINCTRL_PIN(18, "GPIO_18"), 12262306a36Sopenharmony_ci PINCTRL_PIN(19, "GPIO_19"), 12362306a36Sopenharmony_ci PINCTRL_PIN(20, "GPIO_20"), 12462306a36Sopenharmony_ci PINCTRL_PIN(21, "GPIO_21"), 12562306a36Sopenharmony_ci PINCTRL_PIN(22, "GPIO_22"), 12662306a36Sopenharmony_ci PINCTRL_PIN(23, "GPIO_23"), 12762306a36Sopenharmony_ci PINCTRL_PIN(24, "GPIO_24"), 12862306a36Sopenharmony_ci PINCTRL_PIN(25, "GPIO_25"), 12962306a36Sopenharmony_ci PINCTRL_PIN(26, "GPIO_26"), 13062306a36Sopenharmony_ci PINCTRL_PIN(27, "GPIO_27"), 13162306a36Sopenharmony_ci PINCTRL_PIN(28, "GPIO_28"), 13262306a36Sopenharmony_ci PINCTRL_PIN(29, "GPIO_29"), 13362306a36Sopenharmony_ci PINCTRL_PIN(30, "GPIO_30"), 13462306a36Sopenharmony_ci PINCTRL_PIN(31, "GPIO_31"), 13562306a36Sopenharmony_ci PINCTRL_PIN(32, "GPIO_32"), 13662306a36Sopenharmony_ci PINCTRL_PIN(33, "GPIO_33"), 13762306a36Sopenharmony_ci PINCTRL_PIN(34, "GPIO_34"), 13862306a36Sopenharmony_ci PINCTRL_PIN(35, "GPIO_35"), 13962306a36Sopenharmony_ci PINCTRL_PIN(36, "GPIO_36"), 14062306a36Sopenharmony_ci PINCTRL_PIN(37, "GPIO_37"), 14162306a36Sopenharmony_ci PINCTRL_PIN(38, "GPIO_38"), 14262306a36Sopenharmony_ci PINCTRL_PIN(39, "GPIO_39"), 14362306a36Sopenharmony_ci PINCTRL_PIN(40, "GPIO_40"), 14462306a36Sopenharmony_ci PINCTRL_PIN(41, "GPIO_41"), 14562306a36Sopenharmony_ci PINCTRL_PIN(42, "GPIO_42"), 14662306a36Sopenharmony_ci PINCTRL_PIN(43, "GPIO_43"), 14762306a36Sopenharmony_ci PINCTRL_PIN(44, "GPIO_44"), 14862306a36Sopenharmony_ci PINCTRL_PIN(45, "GPIO_45"), 14962306a36Sopenharmony_ci PINCTRL_PIN(46, "GPIO_46"), 15062306a36Sopenharmony_ci PINCTRL_PIN(47, "GPIO_47"), 15162306a36Sopenharmony_ci PINCTRL_PIN(48, "GPIO_48"), 15262306a36Sopenharmony_ci PINCTRL_PIN(49, "GPIO_49"), 15362306a36Sopenharmony_ci PINCTRL_PIN(50, "GPIO_50"), 15462306a36Sopenharmony_ci PINCTRL_PIN(51, "GPIO_51"), 15562306a36Sopenharmony_ci PINCTRL_PIN(52, "GPIO_52"), 15662306a36Sopenharmony_ci PINCTRL_PIN(53, "GPIO_53"), 15762306a36Sopenharmony_ci PINCTRL_PIN(54, "GPIO_54"), 15862306a36Sopenharmony_ci PINCTRL_PIN(55, "GPIO_55"), 15962306a36Sopenharmony_ci PINCTRL_PIN(56, "GPIO_56"), 16062306a36Sopenharmony_ci PINCTRL_PIN(57, "GPIO_57"), 16162306a36Sopenharmony_ci PINCTRL_PIN(58, "GPIO_58"), 16262306a36Sopenharmony_ci PINCTRL_PIN(59, "GPIO_59"), 16362306a36Sopenharmony_ci PINCTRL_PIN(60, "GPIO_60"), 16462306a36Sopenharmony_ci PINCTRL_PIN(61, "GPIO_61"), 16562306a36Sopenharmony_ci PINCTRL_PIN(62, "GPIO_62"), 16662306a36Sopenharmony_ci PINCTRL_PIN(63, "GPIO_63"), 16762306a36Sopenharmony_ci PINCTRL_PIN(64, "GPIO_64"), 16862306a36Sopenharmony_ci PINCTRL_PIN(65, "GPIO_65"), 16962306a36Sopenharmony_ci PINCTRL_PIN(66, "GPIO_66"), 17062306a36Sopenharmony_ci PINCTRL_PIN(67, "GPIO_67"), 17162306a36Sopenharmony_ci PINCTRL_PIN(68, "GPIO_68"), 17262306a36Sopenharmony_ci PINCTRL_PIN(69, "GPIO_69"), 17362306a36Sopenharmony_ci PINCTRL_PIN(70, "GPIO_70"), 17462306a36Sopenharmony_ci PINCTRL_PIN(71, "GPIO_71"), 17562306a36Sopenharmony_ci PINCTRL_PIN(72, "GPIO_72"), 17662306a36Sopenharmony_ci PINCTRL_PIN(73, "GPIO_73"), 17762306a36Sopenharmony_ci PINCTRL_PIN(74, "GPIO_74"), 17862306a36Sopenharmony_ci PINCTRL_PIN(75, "GPIO_75"), 17962306a36Sopenharmony_ci PINCTRL_PIN(76, "GPIO_76"), 18062306a36Sopenharmony_ci PINCTRL_PIN(77, "GPIO_77"), 18162306a36Sopenharmony_ci PINCTRL_PIN(78, "GPIO_78"), 18262306a36Sopenharmony_ci PINCTRL_PIN(79, "GPIO_79"), 18362306a36Sopenharmony_ci PINCTRL_PIN(80, "GPIO_80"), 18462306a36Sopenharmony_ci PINCTRL_PIN(81, "GPIO_81"), 18562306a36Sopenharmony_ci PINCTRL_PIN(82, "GPIO_82"), 18662306a36Sopenharmony_ci PINCTRL_PIN(83, "GPIO_83"), 18762306a36Sopenharmony_ci PINCTRL_PIN(84, "GPIO_84"), 18862306a36Sopenharmony_ci PINCTRL_PIN(85, "GPIO_85"), 18962306a36Sopenharmony_ci PINCTRL_PIN(86, "GPIO_86"), 19062306a36Sopenharmony_ci PINCTRL_PIN(87, "GPIO_87"), 19162306a36Sopenharmony_ci PINCTRL_PIN(88, "GPIO_88"), 19262306a36Sopenharmony_ci PINCTRL_PIN(89, "GPIO_89"), 19362306a36Sopenharmony_ci PINCTRL_PIN(90, "GPIO_90"), 19462306a36Sopenharmony_ci PINCTRL_PIN(91, "GPIO_91"), 19562306a36Sopenharmony_ci PINCTRL_PIN(92, "GPIO_92"), 19662306a36Sopenharmony_ci PINCTRL_PIN(93, "GPIO_93"), 19762306a36Sopenharmony_ci PINCTRL_PIN(94, "GPIO_94"), 19862306a36Sopenharmony_ci PINCTRL_PIN(95, "GPIO_95"), 19962306a36Sopenharmony_ci PINCTRL_PIN(96, "GPIO_96"), 20062306a36Sopenharmony_ci PINCTRL_PIN(97, "GPIO_97"), 20162306a36Sopenharmony_ci PINCTRL_PIN(98, "GPIO_98"), 20262306a36Sopenharmony_ci PINCTRL_PIN(99, "GPIO_99"), 20362306a36Sopenharmony_ci PINCTRL_PIN(100, "GPIO_100"), 20462306a36Sopenharmony_ci PINCTRL_PIN(101, "GPIO_101"), 20562306a36Sopenharmony_ci PINCTRL_PIN(102, "GPIO_102"), 20662306a36Sopenharmony_ci PINCTRL_PIN(103, "GPIO_103"), 20762306a36Sopenharmony_ci PINCTRL_PIN(104, "GPIO_104"), 20862306a36Sopenharmony_ci PINCTRL_PIN(105, "GPIO_105"), 20962306a36Sopenharmony_ci PINCTRL_PIN(106, "GPIO_106"), 21062306a36Sopenharmony_ci PINCTRL_PIN(107, "GPIO_107"), 21162306a36Sopenharmony_ci PINCTRL_PIN(108, "GPIO_108"), 21262306a36Sopenharmony_ci PINCTRL_PIN(109, "GPIO_109"), 21362306a36Sopenharmony_ci PINCTRL_PIN(110, "GPIO_110"), 21462306a36Sopenharmony_ci PINCTRL_PIN(111, "GPIO_111"), 21562306a36Sopenharmony_ci PINCTRL_PIN(112, "GPIO_112"), 21662306a36Sopenharmony_ci PINCTRL_PIN(113, "GPIO_113"), 21762306a36Sopenharmony_ci PINCTRL_PIN(114, "GPIO_114"), 21862306a36Sopenharmony_ci PINCTRL_PIN(115, "GPIO_115"), 21962306a36Sopenharmony_ci PINCTRL_PIN(116, "GPIO_116"), 22062306a36Sopenharmony_ci PINCTRL_PIN(117, "GPIO_117"), 22162306a36Sopenharmony_ci PINCTRL_PIN(118, "GPIO_118"), 22262306a36Sopenharmony_ci PINCTRL_PIN(119, "GPIO_119"), 22362306a36Sopenharmony_ci PINCTRL_PIN(120, "GPIO_120"), 22462306a36Sopenharmony_ci PINCTRL_PIN(121, "GPIO_121"), 22562306a36Sopenharmony_ci PINCTRL_PIN(122, "GPIO_122"), 22662306a36Sopenharmony_ci PINCTRL_PIN(123, "GPIO_123"), 22762306a36Sopenharmony_ci PINCTRL_PIN(124, "GPIO_124"), 22862306a36Sopenharmony_ci PINCTRL_PIN(125, "GPIO_125"), 22962306a36Sopenharmony_ci PINCTRL_PIN(126, "GPIO_126"), 23062306a36Sopenharmony_ci PINCTRL_PIN(127, "GPIO_127"), 23162306a36Sopenharmony_ci PINCTRL_PIN(128, "GPIO_128"), 23262306a36Sopenharmony_ci PINCTRL_PIN(129, "GPIO_129"), 23362306a36Sopenharmony_ci PINCTRL_PIN(130, "GPIO_130"), 23462306a36Sopenharmony_ci PINCTRL_PIN(131, "GPIO_131"), 23562306a36Sopenharmony_ci PINCTRL_PIN(132, "GPIO_132"), 23662306a36Sopenharmony_ci PINCTRL_PIN(133, "GPIO_133"), 23762306a36Sopenharmony_ci PINCTRL_PIN(134, "GPIO_134"), 23862306a36Sopenharmony_ci PINCTRL_PIN(135, "GPIO_135"), 23962306a36Sopenharmony_ci PINCTRL_PIN(136, "GPIO_136"), 24062306a36Sopenharmony_ci PINCTRL_PIN(137, "GPIO_137"), 24162306a36Sopenharmony_ci PINCTRL_PIN(138, "GPIO_138"), 24262306a36Sopenharmony_ci PINCTRL_PIN(139, "GPIO_139"), 24362306a36Sopenharmony_ci PINCTRL_PIN(140, "GPIO_140"), 24462306a36Sopenharmony_ci PINCTRL_PIN(141, "GPIO_141"), 24562306a36Sopenharmony_ci PINCTRL_PIN(142, "GPIO_142"), 24662306a36Sopenharmony_ci PINCTRL_PIN(143, "GPIO_143"), 24762306a36Sopenharmony_ci PINCTRL_PIN(144, "GPIO_144"), 24862306a36Sopenharmony_ci PINCTRL_PIN(145, "GPIO_145"), 24962306a36Sopenharmony_ci PINCTRL_PIN(146, "GPIO_146"), 25062306a36Sopenharmony_ci PINCTRL_PIN(147, "GPIO_147"), 25162306a36Sopenharmony_ci PINCTRL_PIN(148, "GPIO_148"), 25262306a36Sopenharmony_ci PINCTRL_PIN(149, "GPIO_149"), 25362306a36Sopenharmony_ci PINCTRL_PIN(150, "GPIO_150"), 25462306a36Sopenharmony_ci PINCTRL_PIN(151, "GPIO_151"), 25562306a36Sopenharmony_ci PINCTRL_PIN(152, "GPIO_152"), 25662306a36Sopenharmony_ci PINCTRL_PIN(153, "GPIO_153"), 25762306a36Sopenharmony_ci PINCTRL_PIN(154, "GPIO_154"), 25862306a36Sopenharmony_ci PINCTRL_PIN(155, "GPIO_155"), 25962306a36Sopenharmony_ci PINCTRL_PIN(156, "GPIO_156"), 26062306a36Sopenharmony_ci PINCTRL_PIN(157, "GPIO_157"), 26162306a36Sopenharmony_ci PINCTRL_PIN(158, "GPIO_158"), 26262306a36Sopenharmony_ci PINCTRL_PIN(159, "GPIO_159"), 26362306a36Sopenharmony_ci PINCTRL_PIN(160, "GPIO_160"), 26462306a36Sopenharmony_ci PINCTRL_PIN(161, "GPIO_161"), 26562306a36Sopenharmony_ci PINCTRL_PIN(162, "GPIO_162"), 26662306a36Sopenharmony_ci PINCTRL_PIN(163, "GPIO_163"), 26762306a36Sopenharmony_ci PINCTRL_PIN(164, "GPIO_164"), 26862306a36Sopenharmony_ci PINCTRL_PIN(165, "GPIO_165"), 26962306a36Sopenharmony_ci PINCTRL_PIN(166, "GPIO_166"), 27062306a36Sopenharmony_ci PINCTRL_PIN(167, "GPIO_167"), 27162306a36Sopenharmony_ci PINCTRL_PIN(168, "GPIO_168"), 27262306a36Sopenharmony_ci PINCTRL_PIN(169, "GPIO_169"), 27362306a36Sopenharmony_ci PINCTRL_PIN(170, "GPIO_170"), 27462306a36Sopenharmony_ci PINCTRL_PIN(171, "GPIO_171"), 27562306a36Sopenharmony_ci PINCTRL_PIN(172, "GPIO_172"), 27662306a36Sopenharmony_ci PINCTRL_PIN(173, "GPIO_173"), 27762306a36Sopenharmony_ci PINCTRL_PIN(174, "GPIO_174"), 27862306a36Sopenharmony_ci PINCTRL_PIN(175, "GPIO_175"), 27962306a36Sopenharmony_ci PINCTRL_PIN(176, "GPIO_176"), 28062306a36Sopenharmony_ci PINCTRL_PIN(177, "GPIO_177"), 28162306a36Sopenharmony_ci PINCTRL_PIN(178, "GPIO_178"), 28262306a36Sopenharmony_ci PINCTRL_PIN(179, "GPIO_179"), 28362306a36Sopenharmony_ci PINCTRL_PIN(180, "GPIO_180"), 28462306a36Sopenharmony_ci PINCTRL_PIN(181, "GPIO_181"), 28562306a36Sopenharmony_ci PINCTRL_PIN(182, "GPIO_182"), 28662306a36Sopenharmony_ci PINCTRL_PIN(183, "GPIO_183"), 28762306a36Sopenharmony_ci PINCTRL_PIN(184, "GPIO_184"), 28862306a36Sopenharmony_ci PINCTRL_PIN(185, "GPIO_185"), 28962306a36Sopenharmony_ci PINCTRL_PIN(186, "GPIO_186"), 29062306a36Sopenharmony_ci PINCTRL_PIN(187, "GPIO_187"), 29162306a36Sopenharmony_ci PINCTRL_PIN(188, "GPIO_188"), 29262306a36Sopenharmony_ci PINCTRL_PIN(189, "GPIO_189"), 29362306a36Sopenharmony_ci PINCTRL_PIN(190, "GPIO_190"), 29462306a36Sopenharmony_ci PINCTRL_PIN(191, "GPIO_191"), 29562306a36Sopenharmony_ci PINCTRL_PIN(192, "GPIO_192"), 29662306a36Sopenharmony_ci PINCTRL_PIN(193, "GPIO_193"), 29762306a36Sopenharmony_ci PINCTRL_PIN(194, "GPIO_194"), 29862306a36Sopenharmony_ci PINCTRL_PIN(195, "GPIO_195"), 29962306a36Sopenharmony_ci PINCTRL_PIN(196, "GPIO_196"), 30062306a36Sopenharmony_ci PINCTRL_PIN(197, "GPIO_197"), 30162306a36Sopenharmony_ci PINCTRL_PIN(198, "GPIO_198"), 30262306a36Sopenharmony_ci PINCTRL_PIN(199, "GPIO_199"), 30362306a36Sopenharmony_ci PINCTRL_PIN(200, "GPIO_200"), 30462306a36Sopenharmony_ci PINCTRL_PIN(201, "GPIO_201"), 30562306a36Sopenharmony_ci PINCTRL_PIN(202, "GPIO_202"), 30662306a36Sopenharmony_ci PINCTRL_PIN(203, "GPIO_203"), 30762306a36Sopenharmony_ci PINCTRL_PIN(204, "GPIO_204"), 30862306a36Sopenharmony_ci PINCTRL_PIN(205, "GPIO_205"), 30962306a36Sopenharmony_ci PINCTRL_PIN(206, "GPIO_206"), 31062306a36Sopenharmony_ci PINCTRL_PIN(207, "GPIO_207"), 31162306a36Sopenharmony_ci PINCTRL_PIN(208, "GPIO_208"), 31262306a36Sopenharmony_ci PINCTRL_PIN(209, "GPIO_209"), 31362306a36Sopenharmony_ci PINCTRL_PIN(210, "GPIO_210"), 31462306a36Sopenharmony_ci PINCTRL_PIN(211, "GPIO_211"), 31562306a36Sopenharmony_ci PINCTRL_PIN(212, "GPIO_212"), 31662306a36Sopenharmony_ci PINCTRL_PIN(213, "GPIO_213"), 31762306a36Sopenharmony_ci PINCTRL_PIN(214, "GPIO_214"), 31862306a36Sopenharmony_ci PINCTRL_PIN(215, "GPIO_215"), 31962306a36Sopenharmony_ci PINCTRL_PIN(216, "GPIO_216"), 32062306a36Sopenharmony_ci PINCTRL_PIN(217, "GPIO_217"), 32162306a36Sopenharmony_ci PINCTRL_PIN(218, "GPIO_218"), 32262306a36Sopenharmony_ci PINCTRL_PIN(219, "GPIO_219"), 32362306a36Sopenharmony_ci PINCTRL_PIN(220, "GPIO_220"), 32462306a36Sopenharmony_ci PINCTRL_PIN(221, "GPIO_221"), 32562306a36Sopenharmony_ci PINCTRL_PIN(222, "GPIO_222"), 32662306a36Sopenharmony_ci PINCTRL_PIN(223, "GPIO_223"), 32762306a36Sopenharmony_ci PINCTRL_PIN(224, "GPIO_224"), 32862306a36Sopenharmony_ci PINCTRL_PIN(225, "GPIO_225"), 32962306a36Sopenharmony_ci PINCTRL_PIN(226, "GPIO_226"), 33062306a36Sopenharmony_ci PINCTRL_PIN(227, "GPIO_227"), 33162306a36Sopenharmony_ci PINCTRL_PIN(228, "UFS_RESET"), 33262306a36Sopenharmony_ci PINCTRL_PIN(229, "UFS1_RESET"), 33362306a36Sopenharmony_ci PINCTRL_PIN(230, "SDC2_CLK"), 33462306a36Sopenharmony_ci PINCTRL_PIN(231, "SDC2_CMD"), 33562306a36Sopenharmony_ci PINCTRL_PIN(232, "SDC2_DATA"), 33662306a36Sopenharmony_ci}; 33762306a36Sopenharmony_ci 33862306a36Sopenharmony_ci#define DECLARE_MSM_GPIO_PINS(pin) \ 33962306a36Sopenharmony_ci static const unsigned int gpio##pin##_pins[] = { pin } 34062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(0); 34162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(1); 34262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(2); 34362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(3); 34462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(4); 34562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(5); 34662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(6); 34762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(7); 34862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(8); 34962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(9); 35062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(10); 35162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(11); 35262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(12); 35362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(13); 35462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(14); 35562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(15); 35662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(16); 35762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(17); 35862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(18); 35962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(19); 36062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(20); 36162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(21); 36262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(22); 36362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(23); 36462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(24); 36562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(25); 36662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(26); 36762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(27); 36862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(28); 36962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(29); 37062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(30); 37162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(31); 37262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(32); 37362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(33); 37462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(34); 37562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(35); 37662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(36); 37762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(37); 37862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(38); 37962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(39); 38062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(40); 38162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(41); 38262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(42); 38362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(43); 38462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(44); 38562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(45); 38662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(46); 38762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(47); 38862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(48); 38962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(49); 39062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(50); 39162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(51); 39262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(52); 39362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(53); 39462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(54); 39562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(55); 39662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(56); 39762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(57); 39862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(58); 39962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(59); 40062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(60); 40162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(61); 40262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(62); 40362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(63); 40462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(64); 40562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(65); 40662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(66); 40762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(67); 40862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(68); 40962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(69); 41062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(70); 41162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(71); 41262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(72); 41362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(73); 41462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(74); 41562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(75); 41662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(76); 41762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(77); 41862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(78); 41962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(79); 42062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(80); 42162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(81); 42262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(82); 42362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(83); 42462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(84); 42562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(85); 42662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(86); 42762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(87); 42862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(88); 42962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(89); 43062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(90); 43162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(91); 43262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(92); 43362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(93); 43462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(94); 43562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(95); 43662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(96); 43762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(97); 43862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(98); 43962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(99); 44062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(100); 44162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(101); 44262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(102); 44362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(103); 44462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(104); 44562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(105); 44662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(106); 44762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(107); 44862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(108); 44962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(109); 45062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(110); 45162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(111); 45262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(112); 45362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(113); 45462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(114); 45562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(115); 45662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(116); 45762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(117); 45862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(118); 45962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(119); 46062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(120); 46162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(121); 46262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(122); 46362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(123); 46462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(124); 46562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(125); 46662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(126); 46762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(127); 46862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(128); 46962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(129); 47062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(130); 47162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(131); 47262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(132); 47362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(133); 47462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(134); 47562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(135); 47662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(136); 47762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(137); 47862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(138); 47962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(139); 48062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(140); 48162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(141); 48262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(142); 48362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(143); 48462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(144); 48562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(145); 48662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(146); 48762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(147); 48862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(148); 48962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(149); 49062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(150); 49162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(151); 49262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(152); 49362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(153); 49462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(154); 49562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(155); 49662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(156); 49762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(157); 49862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(158); 49962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(159); 50062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(160); 50162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(161); 50262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(162); 50362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(163); 50462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(164); 50562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(165); 50662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(166); 50762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(167); 50862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(168); 50962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(169); 51062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(170); 51162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(171); 51262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(172); 51362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(173); 51462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(174); 51562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(175); 51662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(176); 51762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(177); 51862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(178); 51962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(179); 52062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(180); 52162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(181); 52262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(182); 52362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(183); 52462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(184); 52562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(185); 52662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(186); 52762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(187); 52862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(188); 52962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(189); 53062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(190); 53162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(191); 53262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(192); 53362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(193); 53462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(194); 53562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(195); 53662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(196); 53762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(197); 53862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(198); 53962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(199); 54062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(200); 54162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(201); 54262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(202); 54362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(203); 54462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(204); 54562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(205); 54662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(206); 54762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(207); 54862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(208); 54962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(209); 55062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(210); 55162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(211); 55262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(212); 55362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(213); 55462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(214); 55562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(215); 55662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(216); 55762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(217); 55862306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(218); 55962306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(219); 56062306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(220); 56162306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(221); 56262306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(222); 56362306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(223); 56462306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(224); 56562306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(225); 56662306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(226); 56762306a36Sopenharmony_ciDECLARE_MSM_GPIO_PINS(227); 56862306a36Sopenharmony_ci 56962306a36Sopenharmony_cistatic const unsigned int ufs_reset_pins[] = { 228 }; 57062306a36Sopenharmony_cistatic const unsigned int ufs1_reset_pins[] = { 229 }; 57162306a36Sopenharmony_cistatic const unsigned int sdc2_clk_pins[] = { 230 }; 57262306a36Sopenharmony_cistatic const unsigned int sdc2_cmd_pins[] = { 231 }; 57362306a36Sopenharmony_cistatic const unsigned int sdc2_data_pins[] = { 232 }; 57462306a36Sopenharmony_ci 57562306a36Sopenharmony_cienum sc8280xp_functions { 57662306a36Sopenharmony_ci msm_mux_atest_char, 57762306a36Sopenharmony_ci msm_mux_atest_usb, 57862306a36Sopenharmony_ci msm_mux_audio_ref, 57962306a36Sopenharmony_ci msm_mux_cam_mclk, 58062306a36Sopenharmony_ci msm_mux_cci_async, 58162306a36Sopenharmony_ci msm_mux_cci_i2c, 58262306a36Sopenharmony_ci msm_mux_cci_timer0, 58362306a36Sopenharmony_ci msm_mux_cci_timer1, 58462306a36Sopenharmony_ci msm_mux_cci_timer2, 58562306a36Sopenharmony_ci msm_mux_cci_timer3, 58662306a36Sopenharmony_ci msm_mux_cci_timer4, 58762306a36Sopenharmony_ci msm_mux_cci_timer5, 58862306a36Sopenharmony_ci msm_mux_cci_timer6, 58962306a36Sopenharmony_ci msm_mux_cci_timer7, 59062306a36Sopenharmony_ci msm_mux_cci_timer8, 59162306a36Sopenharmony_ci msm_mux_cci_timer9, 59262306a36Sopenharmony_ci msm_mux_cmu_rng, 59362306a36Sopenharmony_ci msm_mux_cri_trng, 59462306a36Sopenharmony_ci msm_mux_cri_trng0, 59562306a36Sopenharmony_ci msm_mux_cri_trng1, 59662306a36Sopenharmony_ci msm_mux_dbg_out, 59762306a36Sopenharmony_ci msm_mux_ddr_bist, 59862306a36Sopenharmony_ci msm_mux_ddr_pxi0, 59962306a36Sopenharmony_ci msm_mux_ddr_pxi1, 60062306a36Sopenharmony_ci msm_mux_ddr_pxi2, 60162306a36Sopenharmony_ci msm_mux_ddr_pxi3, 60262306a36Sopenharmony_ci msm_mux_ddr_pxi4, 60362306a36Sopenharmony_ci msm_mux_ddr_pxi5, 60462306a36Sopenharmony_ci msm_mux_ddr_pxi6, 60562306a36Sopenharmony_ci msm_mux_ddr_pxi7, 60662306a36Sopenharmony_ci msm_mux_dp2_hot, 60762306a36Sopenharmony_ci msm_mux_dp3_hot, 60862306a36Sopenharmony_ci msm_mux_edp0_lcd, 60962306a36Sopenharmony_ci msm_mux_edp1_lcd, 61062306a36Sopenharmony_ci msm_mux_edp2_lcd, 61162306a36Sopenharmony_ci msm_mux_edp3_lcd, 61262306a36Sopenharmony_ci msm_mux_edp_hot, 61362306a36Sopenharmony_ci msm_mux_egpio, 61462306a36Sopenharmony_ci msm_mux_emac0_dll, 61562306a36Sopenharmony_ci msm_mux_emac0_mcg0, 61662306a36Sopenharmony_ci msm_mux_emac0_mcg1, 61762306a36Sopenharmony_ci msm_mux_emac0_mcg2, 61862306a36Sopenharmony_ci msm_mux_emac0_mcg3, 61962306a36Sopenharmony_ci msm_mux_emac0_phy, 62062306a36Sopenharmony_ci msm_mux_emac0_ptp, 62162306a36Sopenharmony_ci msm_mux_emac1_dll0, 62262306a36Sopenharmony_ci msm_mux_emac1_dll1, 62362306a36Sopenharmony_ci msm_mux_emac1_mcg0, 62462306a36Sopenharmony_ci msm_mux_emac1_mcg1, 62562306a36Sopenharmony_ci msm_mux_emac1_mcg2, 62662306a36Sopenharmony_ci msm_mux_emac1_mcg3, 62762306a36Sopenharmony_ci msm_mux_emac1_phy, 62862306a36Sopenharmony_ci msm_mux_emac1_ptp, 62962306a36Sopenharmony_ci msm_mux_gcc_gp1, 63062306a36Sopenharmony_ci msm_mux_gcc_gp2, 63162306a36Sopenharmony_ci msm_mux_gcc_gp3, 63262306a36Sopenharmony_ci msm_mux_gcc_gp4, 63362306a36Sopenharmony_ci msm_mux_gcc_gp5, 63462306a36Sopenharmony_ci msm_mux_gpio, 63562306a36Sopenharmony_ci msm_mux_hs1_mi2s, 63662306a36Sopenharmony_ci msm_mux_hs2_mi2s, 63762306a36Sopenharmony_ci msm_mux_hs3_mi2s, 63862306a36Sopenharmony_ci msm_mux_ibi_i3c, 63962306a36Sopenharmony_ci msm_mux_jitter_bist, 64062306a36Sopenharmony_ci msm_mux_lpass_slimbus, 64162306a36Sopenharmony_ci msm_mux_mdp0_vsync0, 64262306a36Sopenharmony_ci msm_mux_mdp0_vsync1, 64362306a36Sopenharmony_ci msm_mux_mdp0_vsync2, 64462306a36Sopenharmony_ci msm_mux_mdp0_vsync3, 64562306a36Sopenharmony_ci msm_mux_mdp0_vsync4, 64662306a36Sopenharmony_ci msm_mux_mdp0_vsync5, 64762306a36Sopenharmony_ci msm_mux_mdp0_vsync6, 64862306a36Sopenharmony_ci msm_mux_mdp0_vsync7, 64962306a36Sopenharmony_ci msm_mux_mdp0_vsync8, 65062306a36Sopenharmony_ci msm_mux_mdp1_vsync0, 65162306a36Sopenharmony_ci msm_mux_mdp1_vsync1, 65262306a36Sopenharmony_ci msm_mux_mdp1_vsync2, 65362306a36Sopenharmony_ci msm_mux_mdp1_vsync3, 65462306a36Sopenharmony_ci msm_mux_mdp1_vsync4, 65562306a36Sopenharmony_ci msm_mux_mdp1_vsync5, 65662306a36Sopenharmony_ci msm_mux_mdp1_vsync6, 65762306a36Sopenharmony_ci msm_mux_mdp1_vsync7, 65862306a36Sopenharmony_ci msm_mux_mdp1_vsync8, 65962306a36Sopenharmony_ci msm_mux_mdp_vsync, 66062306a36Sopenharmony_ci msm_mux_mi2s0_data0, 66162306a36Sopenharmony_ci msm_mux_mi2s0_data1, 66262306a36Sopenharmony_ci msm_mux_mi2s0_sck, 66362306a36Sopenharmony_ci msm_mux_mi2s0_ws, 66462306a36Sopenharmony_ci msm_mux_mi2s1_data0, 66562306a36Sopenharmony_ci msm_mux_mi2s1_data1, 66662306a36Sopenharmony_ci msm_mux_mi2s1_sck, 66762306a36Sopenharmony_ci msm_mux_mi2s1_ws, 66862306a36Sopenharmony_ci msm_mux_mi2s2_data0, 66962306a36Sopenharmony_ci msm_mux_mi2s2_data1, 67062306a36Sopenharmony_ci msm_mux_mi2s2_sck, 67162306a36Sopenharmony_ci msm_mux_mi2s2_ws, 67262306a36Sopenharmony_ci msm_mux_mi2s_mclk1, 67362306a36Sopenharmony_ci msm_mux_mi2s_mclk2, 67462306a36Sopenharmony_ci msm_mux_pcie2a_clkreq, 67562306a36Sopenharmony_ci msm_mux_pcie2b_clkreq, 67662306a36Sopenharmony_ci msm_mux_pcie3a_clkreq, 67762306a36Sopenharmony_ci msm_mux_pcie3b_clkreq, 67862306a36Sopenharmony_ci msm_mux_pcie4_clkreq, 67962306a36Sopenharmony_ci msm_mux_phase_flag, 68062306a36Sopenharmony_ci msm_mux_pll_bist, 68162306a36Sopenharmony_ci msm_mux_pll_clk, 68262306a36Sopenharmony_ci msm_mux_prng_rosc0, 68362306a36Sopenharmony_ci msm_mux_prng_rosc1, 68462306a36Sopenharmony_ci msm_mux_prng_rosc2, 68562306a36Sopenharmony_ci msm_mux_prng_rosc3, 68662306a36Sopenharmony_ci msm_mux_qdss_cti, 68762306a36Sopenharmony_ci msm_mux_qdss_gpio, 68862306a36Sopenharmony_ci msm_mux_qspi, 68962306a36Sopenharmony_ci msm_mux_qspi_clk, 69062306a36Sopenharmony_ci msm_mux_qspi_cs, 69162306a36Sopenharmony_ci msm_mux_qup0, 69262306a36Sopenharmony_ci msm_mux_qup1, 69362306a36Sopenharmony_ci msm_mux_qup10, 69462306a36Sopenharmony_ci msm_mux_qup11, 69562306a36Sopenharmony_ci msm_mux_qup12, 69662306a36Sopenharmony_ci msm_mux_qup13, 69762306a36Sopenharmony_ci msm_mux_qup14, 69862306a36Sopenharmony_ci msm_mux_qup15, 69962306a36Sopenharmony_ci msm_mux_qup16, 70062306a36Sopenharmony_ci msm_mux_qup17, 70162306a36Sopenharmony_ci msm_mux_qup18, 70262306a36Sopenharmony_ci msm_mux_qup19, 70362306a36Sopenharmony_ci msm_mux_qup2, 70462306a36Sopenharmony_ci msm_mux_qup20, 70562306a36Sopenharmony_ci msm_mux_qup21, 70662306a36Sopenharmony_ci msm_mux_qup22, 70762306a36Sopenharmony_ci msm_mux_qup23, 70862306a36Sopenharmony_ci msm_mux_qup3, 70962306a36Sopenharmony_ci msm_mux_qup4, 71062306a36Sopenharmony_ci msm_mux_qup5, 71162306a36Sopenharmony_ci msm_mux_qup6, 71262306a36Sopenharmony_ci msm_mux_qup7, 71362306a36Sopenharmony_ci msm_mux_qup8, 71462306a36Sopenharmony_ci msm_mux_qup9, 71562306a36Sopenharmony_ci msm_mux_rgmii_0, 71662306a36Sopenharmony_ci msm_mux_rgmii_1, 71762306a36Sopenharmony_ci msm_mux_sd_write, 71862306a36Sopenharmony_ci msm_mux_sdc40, 71962306a36Sopenharmony_ci msm_mux_sdc42, 72062306a36Sopenharmony_ci msm_mux_sdc43, 72162306a36Sopenharmony_ci msm_mux_sdc4_clk, 72262306a36Sopenharmony_ci msm_mux_sdc4_cmd, 72362306a36Sopenharmony_ci msm_mux_tb_trig, 72462306a36Sopenharmony_ci msm_mux_tgu, 72562306a36Sopenharmony_ci msm_mux_tsense_pwm1, 72662306a36Sopenharmony_ci msm_mux_tsense_pwm2, 72762306a36Sopenharmony_ci msm_mux_tsense_pwm3, 72862306a36Sopenharmony_ci msm_mux_tsense_pwm4, 72962306a36Sopenharmony_ci msm_mux_usb0_dp, 73062306a36Sopenharmony_ci msm_mux_usb0_phy, 73162306a36Sopenharmony_ci msm_mux_usb0_sbrx, 73262306a36Sopenharmony_ci msm_mux_usb0_sbtx, 73362306a36Sopenharmony_ci msm_mux_usb0_usb4, 73462306a36Sopenharmony_ci msm_mux_usb1_dp, 73562306a36Sopenharmony_ci msm_mux_usb1_phy, 73662306a36Sopenharmony_ci msm_mux_usb1_sbrx, 73762306a36Sopenharmony_ci msm_mux_usb1_sbtx, 73862306a36Sopenharmony_ci msm_mux_usb1_usb4, 73962306a36Sopenharmony_ci msm_mux_usb2phy_ac, 74062306a36Sopenharmony_ci msm_mux_vsense_trigger, 74162306a36Sopenharmony_ci msm_mux__, 74262306a36Sopenharmony_ci}; 74362306a36Sopenharmony_ci 74462306a36Sopenharmony_cistatic const char * const gpio_groups[] = { 74562306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7", 74662306a36Sopenharmony_ci "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", 74762306a36Sopenharmony_ci "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21", 74862306a36Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28", 74962306a36Sopenharmony_ci "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35", 75062306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42", 75162306a36Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49", 75262306a36Sopenharmony_ci "gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56", 75362306a36Sopenharmony_ci "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", 75462306a36Sopenharmony_ci "gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70", 75562306a36Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio78", 75662306a36Sopenharmony_ci "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84", "gpio85", 75762306a36Sopenharmony_ci "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", "gpio92", 75862306a36Sopenharmony_ci "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98", "gpio99", 75962306a36Sopenharmony_ci "gpio100", "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", 76062306a36Sopenharmony_ci "gpio106", "gpio107", "gpio108", "gpio109", "gpio110", "gpio111", 76162306a36Sopenharmony_ci "gpio112", "gpio113", "gpio114", "gpio115", "gpio116", "gpio117", 76262306a36Sopenharmony_ci "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", "gpio123", 76362306a36Sopenharmony_ci "gpio124", "gpio125", "gpio126", "gpio127", "gpio128", "gpio129", 76462306a36Sopenharmony_ci "gpio130", "gpio131", "gpio132", "gpio133", "gpio134", "gpio135", 76562306a36Sopenharmony_ci "gpio136", "gpio137", "gpio138", "gpio139", "gpio140", "gpio141", 76662306a36Sopenharmony_ci "gpio142", "gpio143", "gpio144", "gpio145", "gpio146", "gpio147", 76762306a36Sopenharmony_ci "gpio148", "gpio149", "gpio150", "gpio151", "gpio152", "gpio153", 76862306a36Sopenharmony_ci "gpio154", "gpio155", "gpio156", "gpio157", "gpio158", "gpio159", 76962306a36Sopenharmony_ci "gpio160", "gpio161", "gpio162", "gpio163", "gpio164", "gpio165", 77062306a36Sopenharmony_ci "gpio166", "gpio167", "gpio168", "gpio169", "gpio170", "gpio171", 77162306a36Sopenharmony_ci "gpio172", "gpio173", "gpio174", "gpio175", "gpio176", "gpio177", 77262306a36Sopenharmony_ci "gpio178", "gpio179", "gpio180", "gpio181", "gpio182", "gpio183", 77362306a36Sopenharmony_ci "gpio184", "gpio185", "gpio186", "gpio187", "gpio188", "gpio189", 77462306a36Sopenharmony_ci "gpio190", "gpio191", "gpio192", "gpio193", "gpio194", "gpio195", 77562306a36Sopenharmony_ci "gpio196", "gpio197", "gpio198", "gpio199", "gpio200", "gpio201", 77662306a36Sopenharmony_ci "gpio202", "gpio203", "gpio204", "gpio205", "gpio206", "gpio207", 77762306a36Sopenharmony_ci "gpio208", "gpio209", "gpio210", "gpio211", "gpio212", "gpio213", 77862306a36Sopenharmony_ci "gpio214", "gpio215", "gpio216", "gpio217", "gpio218", "gpio219", 77962306a36Sopenharmony_ci "gpio220", "gpio221", "gpio222", "gpio223", "gpio224", "gpio225", 78062306a36Sopenharmony_ci "gpio226", "gpio227", 78162306a36Sopenharmony_ci}; 78262306a36Sopenharmony_ci 78362306a36Sopenharmony_cistatic const char * const atest_char_groups[] = { 78462306a36Sopenharmony_ci "gpio134", "gpio139", "gpio140", "gpio142", "gpio143", 78562306a36Sopenharmony_ci}; 78662306a36Sopenharmony_ci 78762306a36Sopenharmony_cistatic const char * const atest_usb_groups[] = { 78862306a36Sopenharmony_ci "gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio78", 78962306a36Sopenharmony_ci "gpio79", "gpio97", "gpio98", "gpio101", "gpio102", "gpio103", 79062306a36Sopenharmony_ci "gpio104", "gpio105", "gpio110", "gpio111", "gpio112", "gpio113", 79162306a36Sopenharmony_ci "gpio114", "gpio121", "gpio122", "gpio130", "gpio131", "gpio135", 79262306a36Sopenharmony_ci "gpio137", "gpio138", "gpio148", "gpio149", 79362306a36Sopenharmony_ci}; 79462306a36Sopenharmony_ci 79562306a36Sopenharmony_cistatic const char * const audio_ref_groups[] = { 79662306a36Sopenharmony_ci "gpio80", 79762306a36Sopenharmony_ci}; 79862306a36Sopenharmony_ci 79962306a36Sopenharmony_cistatic const char * const cam_mclk_groups[] = { 80062306a36Sopenharmony_ci "gpio6", "gpio7", "gpio16", "gpio17", "gpio33", "gpio34", "gpio119", 80162306a36Sopenharmony_ci "gpio120", 80262306a36Sopenharmony_ci}; 80362306a36Sopenharmony_ci 80462306a36Sopenharmony_cistatic const char * const cci_async_groups[] = { 80562306a36Sopenharmony_ci "gpio15", "gpio119", "gpio120", "gpio160", "gpio161", "gpio167", 80662306a36Sopenharmony_ci}; 80762306a36Sopenharmony_ci 80862306a36Sopenharmony_cistatic const char * const cci_i2c_groups[] = { 80962306a36Sopenharmony_ci "gpio10", "gpio11", "gpio12", "gpio13", "gpio113", "gpio114", 81062306a36Sopenharmony_ci "gpio115", "gpio116", "gpio117", "gpio118", "gpio123", "gpio124", 81162306a36Sopenharmony_ci "gpio145", "gpio146", "gpio164", "gpio165", 81262306a36Sopenharmony_ci}; 81362306a36Sopenharmony_ci 81462306a36Sopenharmony_cistatic const char * const cci_timer0_groups[] = { 81562306a36Sopenharmony_ci "gpio119", 81662306a36Sopenharmony_ci}; 81762306a36Sopenharmony_ci 81862306a36Sopenharmony_cistatic const char * const cci_timer1_groups[] = { 81962306a36Sopenharmony_ci "gpio120", 82062306a36Sopenharmony_ci}; 82162306a36Sopenharmony_ci 82262306a36Sopenharmony_cistatic const char * const cci_timer2_groups[] = { 82362306a36Sopenharmony_ci "gpio14", 82462306a36Sopenharmony_ci}; 82562306a36Sopenharmony_ci 82662306a36Sopenharmony_cistatic const char * const cci_timer3_groups[] = { 82762306a36Sopenharmony_ci "gpio15", 82862306a36Sopenharmony_ci}; 82962306a36Sopenharmony_ci 83062306a36Sopenharmony_cistatic const char * const cci_timer4_groups[] = { 83162306a36Sopenharmony_ci "gpio161", 83262306a36Sopenharmony_ci}; 83362306a36Sopenharmony_ci 83462306a36Sopenharmony_cistatic const char * const cci_timer5_groups[] = { 83562306a36Sopenharmony_ci "gpio139", 83662306a36Sopenharmony_ci}; 83762306a36Sopenharmony_ci 83862306a36Sopenharmony_cistatic const char * const cci_timer6_groups[] = { 83962306a36Sopenharmony_ci "gpio162", 84062306a36Sopenharmony_ci}; 84162306a36Sopenharmony_ci 84262306a36Sopenharmony_cistatic const char * const cci_timer7_groups[] = { 84362306a36Sopenharmony_ci "gpio163", 84462306a36Sopenharmony_ci}; 84562306a36Sopenharmony_ci 84662306a36Sopenharmony_cistatic const char * const cci_timer8_groups[] = { 84762306a36Sopenharmony_ci "gpio167", 84862306a36Sopenharmony_ci}; 84962306a36Sopenharmony_ci 85062306a36Sopenharmony_cistatic const char * const cci_timer9_groups[] = { 85162306a36Sopenharmony_ci "gpio160", 85262306a36Sopenharmony_ci}; 85362306a36Sopenharmony_ci 85462306a36Sopenharmony_cistatic const char * const cmu_rng_groups[] = { 85562306a36Sopenharmony_ci "gpio123", "gpio124", "gpio126", "gpio136", 85662306a36Sopenharmony_ci}; 85762306a36Sopenharmony_ci 85862306a36Sopenharmony_cistatic const char * const cri_trng0_groups[] = { 85962306a36Sopenharmony_ci "gpio187", 86062306a36Sopenharmony_ci}; 86162306a36Sopenharmony_ci 86262306a36Sopenharmony_cistatic const char * const cri_trng1_groups[] = { 86362306a36Sopenharmony_ci "gpio188", 86462306a36Sopenharmony_ci}; 86562306a36Sopenharmony_ci 86662306a36Sopenharmony_cistatic const char * const cri_trng_groups[] = { 86762306a36Sopenharmony_ci "gpio190", 86862306a36Sopenharmony_ci}; 86962306a36Sopenharmony_ci 87062306a36Sopenharmony_cistatic const char * const dbg_out_groups[] = { 87162306a36Sopenharmony_ci "gpio125", 87262306a36Sopenharmony_ci}; 87362306a36Sopenharmony_ci 87462306a36Sopenharmony_cistatic const char * const ddr_bist_groups[] = { 87562306a36Sopenharmony_ci "gpio42", "gpio45", "gpio46", "gpio47", 87662306a36Sopenharmony_ci}; 87762306a36Sopenharmony_ci 87862306a36Sopenharmony_cistatic const char * const ddr_pxi0_groups[] = { 87962306a36Sopenharmony_ci "gpio121", "gpio126", 88062306a36Sopenharmony_ci}; 88162306a36Sopenharmony_ci 88262306a36Sopenharmony_cistatic const char * const ddr_pxi1_groups[] = { 88362306a36Sopenharmony_ci "gpio124", "gpio125", 88462306a36Sopenharmony_ci}; 88562306a36Sopenharmony_ci 88662306a36Sopenharmony_cistatic const char * const ddr_pxi2_groups[] = { 88762306a36Sopenharmony_ci "gpio123", "gpio138", 88862306a36Sopenharmony_ci}; 88962306a36Sopenharmony_ci 89062306a36Sopenharmony_cistatic const char * const ddr_pxi3_groups[] = { 89162306a36Sopenharmony_ci "gpio120", "gpio137", 89262306a36Sopenharmony_ci}; 89362306a36Sopenharmony_ci 89462306a36Sopenharmony_cistatic const char * const ddr_pxi4_groups[] = { 89562306a36Sopenharmony_ci "gpio216", "gpio217", 89662306a36Sopenharmony_ci}; 89762306a36Sopenharmony_ci 89862306a36Sopenharmony_cistatic const char * const ddr_pxi5_groups[] = { 89962306a36Sopenharmony_ci "gpio214", "gpio215", 90062306a36Sopenharmony_ci}; 90162306a36Sopenharmony_ci 90262306a36Sopenharmony_cistatic const char * const ddr_pxi6_groups[] = { 90362306a36Sopenharmony_ci "gpio79", "gpio218", 90462306a36Sopenharmony_ci}; 90562306a36Sopenharmony_ci 90662306a36Sopenharmony_cistatic const char * const ddr_pxi7_groups[] = { 90762306a36Sopenharmony_ci "gpio135", "gpio136", 90862306a36Sopenharmony_ci}; 90962306a36Sopenharmony_ci 91062306a36Sopenharmony_cistatic const char * const dp2_hot_groups[] = { 91162306a36Sopenharmony_ci "gpio20", 91262306a36Sopenharmony_ci}; 91362306a36Sopenharmony_ci 91462306a36Sopenharmony_cistatic const char * const dp3_hot_groups[] = { 91562306a36Sopenharmony_ci "gpio45", 91662306a36Sopenharmony_ci}; 91762306a36Sopenharmony_ci 91862306a36Sopenharmony_cistatic const char * const edp0_lcd_groups[] = { 91962306a36Sopenharmony_ci "gpio26", 92062306a36Sopenharmony_ci}; 92162306a36Sopenharmony_ci 92262306a36Sopenharmony_cistatic const char * const edp1_lcd_groups[] = { 92362306a36Sopenharmony_ci "gpio27", 92462306a36Sopenharmony_ci}; 92562306a36Sopenharmony_ci 92662306a36Sopenharmony_cistatic const char * const edp2_lcd_groups[] = { 92762306a36Sopenharmony_ci "gpio28", 92862306a36Sopenharmony_ci}; 92962306a36Sopenharmony_ci 93062306a36Sopenharmony_cistatic const char * const edp3_lcd_groups[] = { 93162306a36Sopenharmony_ci "gpio29", 93262306a36Sopenharmony_ci}; 93362306a36Sopenharmony_ci 93462306a36Sopenharmony_cistatic const char * const edp_hot_groups[] = { 93562306a36Sopenharmony_ci "gpio2", "gpio3", "gpio6", "gpio7", 93662306a36Sopenharmony_ci}; 93762306a36Sopenharmony_ci 93862306a36Sopenharmony_cistatic const char * const egpio_groups[] = { 93962306a36Sopenharmony_ci "gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194", 94062306a36Sopenharmony_ci "gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200", 94162306a36Sopenharmony_ci "gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206", 94262306a36Sopenharmony_ci "gpio207", "gpio208", "gpio209", "gpio210", "gpio211", "gpio212", 94362306a36Sopenharmony_ci "gpio213", "gpio214", "gpio215", "gpio216", "gpio217", "gpio218", 94462306a36Sopenharmony_ci "gpio219", "gpio220", "gpio221", "gpio222", "gpio223", "gpio224", 94562306a36Sopenharmony_ci "gpio225", "gpio226", "gpio227", 94662306a36Sopenharmony_ci}; 94762306a36Sopenharmony_ci 94862306a36Sopenharmony_cistatic const char * const emac0_dll_groups[] = { 94962306a36Sopenharmony_ci "gpio216", "gpio217", 95062306a36Sopenharmony_ci}; 95162306a36Sopenharmony_ci 95262306a36Sopenharmony_cistatic const char * const emac0_mcg0_groups[] = { 95362306a36Sopenharmony_ci "gpio160", 95462306a36Sopenharmony_ci}; 95562306a36Sopenharmony_ci 95662306a36Sopenharmony_cistatic const char * const emac0_mcg1_groups[] = { 95762306a36Sopenharmony_ci "gpio161", 95862306a36Sopenharmony_ci}; 95962306a36Sopenharmony_ci 96062306a36Sopenharmony_cistatic const char * const emac0_mcg2_groups[] = { 96162306a36Sopenharmony_ci "gpio162", 96262306a36Sopenharmony_ci}; 96362306a36Sopenharmony_ci 96462306a36Sopenharmony_cistatic const char * const emac0_mcg3_groups[] = { 96562306a36Sopenharmony_ci "gpio163", 96662306a36Sopenharmony_ci}; 96762306a36Sopenharmony_ci 96862306a36Sopenharmony_cistatic const char * const emac0_phy_groups[] = { 96962306a36Sopenharmony_ci "gpio127", 97062306a36Sopenharmony_ci}; 97162306a36Sopenharmony_ci 97262306a36Sopenharmony_cistatic const char * const emac0_ptp_groups[] = { 97362306a36Sopenharmony_ci "gpio130", "gpio130", "gpio131", "gpio131", "gpio156", "gpio156", 97462306a36Sopenharmony_ci "gpio157", "gpio157", "gpio158", "gpio158", "gpio159", "gpio159", 97562306a36Sopenharmony_ci}; 97662306a36Sopenharmony_ci 97762306a36Sopenharmony_cistatic const char * const emac1_dll0_groups[] = { 97862306a36Sopenharmony_ci "gpio215", 97962306a36Sopenharmony_ci}; 98062306a36Sopenharmony_ci 98162306a36Sopenharmony_cistatic const char * const emac1_dll1_groups[] = { 98262306a36Sopenharmony_ci "gpio218", 98362306a36Sopenharmony_ci}; 98462306a36Sopenharmony_ci 98562306a36Sopenharmony_cistatic const char * const emac1_mcg0_groups[] = { 98662306a36Sopenharmony_ci "gpio57", 98762306a36Sopenharmony_ci}; 98862306a36Sopenharmony_ci 98962306a36Sopenharmony_cistatic const char * const emac1_mcg1_groups[] = { 99062306a36Sopenharmony_ci "gpio58", 99162306a36Sopenharmony_ci}; 99262306a36Sopenharmony_ci 99362306a36Sopenharmony_cistatic const char * const emac1_mcg2_groups[] = { 99462306a36Sopenharmony_ci "gpio68", 99562306a36Sopenharmony_ci}; 99662306a36Sopenharmony_ci 99762306a36Sopenharmony_cistatic const char * const emac1_mcg3_groups[] = { 99862306a36Sopenharmony_ci "gpio69", 99962306a36Sopenharmony_ci}; 100062306a36Sopenharmony_ci 100162306a36Sopenharmony_cistatic const char * const emac1_phy_groups[] = { 100262306a36Sopenharmony_ci "gpio54", 100362306a36Sopenharmony_ci}; 100462306a36Sopenharmony_ci 100562306a36Sopenharmony_cistatic const char * const emac1_ptp_groups[] = { 100662306a36Sopenharmony_ci "gpio55", "gpio55", "gpio56", "gpio56", "gpio93", "gpio93", "gpio94", 100762306a36Sopenharmony_ci "gpio94", "gpio95", "gpio95", "gpio96", "gpio96", 100862306a36Sopenharmony_ci}; 100962306a36Sopenharmony_ci 101062306a36Sopenharmony_cistatic const char * const gcc_gp1_groups[] = { 101162306a36Sopenharmony_ci "gpio119", "gpio149", 101262306a36Sopenharmony_ci}; 101362306a36Sopenharmony_ci 101462306a36Sopenharmony_cistatic const char * const gcc_gp2_groups[] = { 101562306a36Sopenharmony_ci "gpio114", "gpio120", 101662306a36Sopenharmony_ci}; 101762306a36Sopenharmony_ci 101862306a36Sopenharmony_cistatic const char * const gcc_gp3_groups[] = { 101962306a36Sopenharmony_ci "gpio115", "gpio139", 102062306a36Sopenharmony_ci}; 102162306a36Sopenharmony_ci 102262306a36Sopenharmony_cistatic const char * const gcc_gp4_groups[] = { 102362306a36Sopenharmony_ci "gpio160", "gpio162", 102462306a36Sopenharmony_ci}; 102562306a36Sopenharmony_ci 102662306a36Sopenharmony_cistatic const char * const gcc_gp5_groups[] = { 102762306a36Sopenharmony_ci "gpio167", "gpio168", 102862306a36Sopenharmony_ci}; 102962306a36Sopenharmony_ci 103062306a36Sopenharmony_cistatic const char * const hs1_mi2s_groups[] = { 103162306a36Sopenharmony_ci "gpio208", "gpio209", "gpio210", "gpio211", 103262306a36Sopenharmony_ci}; 103362306a36Sopenharmony_ci 103462306a36Sopenharmony_cistatic const char * const hs2_mi2s_groups[] = { 103562306a36Sopenharmony_ci "gpio91", "gpio92", "gpio218", "gpio219", 103662306a36Sopenharmony_ci}; 103762306a36Sopenharmony_ci 103862306a36Sopenharmony_cistatic const char * const hs3_mi2s_groups[] = { 103962306a36Sopenharmony_ci "gpio224", "gpio225", "gpio226", "gpio227", 104062306a36Sopenharmony_ci}; 104162306a36Sopenharmony_ci 104262306a36Sopenharmony_cistatic const char * const ibi_i3c_groups[] = { 104362306a36Sopenharmony_ci "gpio4", "gpio5", "gpio36", "gpio37", "gpio128", "gpio129", "gpio154", 104462306a36Sopenharmony_ci "gpio155", 104562306a36Sopenharmony_ci}; 104662306a36Sopenharmony_ci 104762306a36Sopenharmony_cistatic const char * const jitter_bist_groups[] = { 104862306a36Sopenharmony_ci "gpio140", 104962306a36Sopenharmony_ci}; 105062306a36Sopenharmony_ci 105162306a36Sopenharmony_cistatic const char * const lpass_slimbus_groups[] = { 105262306a36Sopenharmony_ci "gpio220", "gpio221", 105362306a36Sopenharmony_ci}; 105462306a36Sopenharmony_ci 105562306a36Sopenharmony_cistatic const char * const mdp0_vsync0_groups[] = { 105662306a36Sopenharmony_ci "gpio1", 105762306a36Sopenharmony_ci}; 105862306a36Sopenharmony_ci 105962306a36Sopenharmony_cistatic const char * const mdp0_vsync1_groups[] = { 106062306a36Sopenharmony_ci "gpio2", 106162306a36Sopenharmony_ci}; 106262306a36Sopenharmony_ci 106362306a36Sopenharmony_cistatic const char * const mdp0_vsync2_groups[] = { 106462306a36Sopenharmony_ci "gpio8", 106562306a36Sopenharmony_ci}; 106662306a36Sopenharmony_ci 106762306a36Sopenharmony_cistatic const char * const mdp0_vsync3_groups[] = { 106862306a36Sopenharmony_ci "gpio9", 106962306a36Sopenharmony_ci}; 107062306a36Sopenharmony_ci 107162306a36Sopenharmony_cistatic const char * const mdp0_vsync4_groups[] = { 107262306a36Sopenharmony_ci "gpio10", 107362306a36Sopenharmony_ci}; 107462306a36Sopenharmony_ci 107562306a36Sopenharmony_cistatic const char * const mdp0_vsync5_groups[] = { 107662306a36Sopenharmony_ci "gpio11", 107762306a36Sopenharmony_ci}; 107862306a36Sopenharmony_ci 107962306a36Sopenharmony_cistatic const char * const mdp0_vsync6_groups[] = { 108062306a36Sopenharmony_ci "gpio12", 108162306a36Sopenharmony_ci}; 108262306a36Sopenharmony_ci 108362306a36Sopenharmony_cistatic const char * const mdp0_vsync7_groups[] = { 108462306a36Sopenharmony_ci "gpio13", 108562306a36Sopenharmony_ci}; 108662306a36Sopenharmony_ci 108762306a36Sopenharmony_cistatic const char * const mdp0_vsync8_groups[] = { 108862306a36Sopenharmony_ci "gpio16", 108962306a36Sopenharmony_ci}; 109062306a36Sopenharmony_ci 109162306a36Sopenharmony_cistatic const char * const mdp1_vsync0_groups[] = { 109262306a36Sopenharmony_ci "gpio17", 109362306a36Sopenharmony_ci}; 109462306a36Sopenharmony_ci 109562306a36Sopenharmony_cistatic const char * const mdp1_vsync1_groups[] = { 109662306a36Sopenharmony_ci "gpio18", 109762306a36Sopenharmony_ci}; 109862306a36Sopenharmony_ci 109962306a36Sopenharmony_cistatic const char * const mdp1_vsync2_groups[] = { 110062306a36Sopenharmony_ci "gpio19", 110162306a36Sopenharmony_ci}; 110262306a36Sopenharmony_ci 110362306a36Sopenharmony_cistatic const char * const mdp1_vsync3_groups[] = { 110462306a36Sopenharmony_ci "gpio20", 110562306a36Sopenharmony_ci}; 110662306a36Sopenharmony_ci 110762306a36Sopenharmony_cistatic const char * const mdp1_vsync4_groups[] = { 110862306a36Sopenharmony_ci "gpio36", 110962306a36Sopenharmony_ci}; 111062306a36Sopenharmony_ci 111162306a36Sopenharmony_cistatic const char * const mdp1_vsync5_groups[] = { 111262306a36Sopenharmony_ci "gpio37", 111362306a36Sopenharmony_ci}; 111462306a36Sopenharmony_ci 111562306a36Sopenharmony_cistatic const char * const mdp1_vsync6_groups[] = { 111662306a36Sopenharmony_ci "gpio38", 111762306a36Sopenharmony_ci}; 111862306a36Sopenharmony_ci 111962306a36Sopenharmony_cistatic const char * const mdp1_vsync7_groups[] = { 112062306a36Sopenharmony_ci "gpio39", 112162306a36Sopenharmony_ci}; 112262306a36Sopenharmony_ci 112362306a36Sopenharmony_cistatic const char * const mdp1_vsync8_groups[] = { 112462306a36Sopenharmony_ci "gpio40", 112562306a36Sopenharmony_ci}; 112662306a36Sopenharmony_ci 112762306a36Sopenharmony_cistatic const char * const mdp_vsync_groups[] = { 112862306a36Sopenharmony_ci "gpio8", "gpio100", "gpio101", 112962306a36Sopenharmony_ci}; 113062306a36Sopenharmony_ci 113162306a36Sopenharmony_cistatic const char * const mi2s0_data0_groups[] = { 113262306a36Sopenharmony_ci "gpio95", 113362306a36Sopenharmony_ci}; 113462306a36Sopenharmony_ci 113562306a36Sopenharmony_cistatic const char * const mi2s0_data1_groups[] = { 113662306a36Sopenharmony_ci "gpio96", 113762306a36Sopenharmony_ci}; 113862306a36Sopenharmony_ci 113962306a36Sopenharmony_cistatic const char * const mi2s0_sck_groups[] = { 114062306a36Sopenharmony_ci "gpio93", 114162306a36Sopenharmony_ci}; 114262306a36Sopenharmony_ci 114362306a36Sopenharmony_cistatic const char * const mi2s0_ws_groups[] = { 114462306a36Sopenharmony_ci "gpio94", 114562306a36Sopenharmony_ci}; 114662306a36Sopenharmony_ci 114762306a36Sopenharmony_cistatic const char * const mi2s1_data0_groups[] = { 114862306a36Sopenharmony_ci "gpio222", 114962306a36Sopenharmony_ci}; 115062306a36Sopenharmony_ci 115162306a36Sopenharmony_cistatic const char * const mi2s1_data1_groups[] = { 115262306a36Sopenharmony_ci "gpio223", 115362306a36Sopenharmony_ci}; 115462306a36Sopenharmony_ci 115562306a36Sopenharmony_cistatic const char * const mi2s1_sck_groups[] = { 115662306a36Sopenharmony_ci "gpio220", 115762306a36Sopenharmony_ci}; 115862306a36Sopenharmony_ci 115962306a36Sopenharmony_cistatic const char * const mi2s1_ws_groups[] = { 116062306a36Sopenharmony_ci "gpio221", 116162306a36Sopenharmony_ci}; 116262306a36Sopenharmony_ci 116362306a36Sopenharmony_cistatic const char * const mi2s2_data0_groups[] = { 116462306a36Sopenharmony_ci "gpio214", 116562306a36Sopenharmony_ci}; 116662306a36Sopenharmony_ci 116762306a36Sopenharmony_cistatic const char * const mi2s2_data1_groups[] = { 116862306a36Sopenharmony_ci "gpio215", 116962306a36Sopenharmony_ci}; 117062306a36Sopenharmony_ci 117162306a36Sopenharmony_cistatic const char * const mi2s2_sck_groups[] = { 117262306a36Sopenharmony_ci "gpio212", 117362306a36Sopenharmony_ci}; 117462306a36Sopenharmony_ci 117562306a36Sopenharmony_cistatic const char * const mi2s2_ws_groups[] = { 117662306a36Sopenharmony_ci "gpio213", 117762306a36Sopenharmony_ci}; 117862306a36Sopenharmony_ci 117962306a36Sopenharmony_cistatic const char * const mi2s_mclk1_groups[] = { 118062306a36Sopenharmony_ci "gpio80", "gpio216", 118162306a36Sopenharmony_ci}; 118262306a36Sopenharmony_ci 118362306a36Sopenharmony_cistatic const char * const mi2s_mclk2_groups[] = { 118462306a36Sopenharmony_ci "gpio217", 118562306a36Sopenharmony_ci}; 118662306a36Sopenharmony_ci 118762306a36Sopenharmony_cistatic const char * const pcie2a_clkreq_groups[] = { 118862306a36Sopenharmony_ci "gpio142", 118962306a36Sopenharmony_ci}; 119062306a36Sopenharmony_ci 119162306a36Sopenharmony_cistatic const char * const pcie2b_clkreq_groups[] = { 119262306a36Sopenharmony_ci "gpio144", 119362306a36Sopenharmony_ci}; 119462306a36Sopenharmony_ci 119562306a36Sopenharmony_cistatic const char * const pcie3a_clkreq_groups[] = { 119662306a36Sopenharmony_ci "gpio150", 119762306a36Sopenharmony_ci}; 119862306a36Sopenharmony_ci 119962306a36Sopenharmony_cistatic const char * const pcie3b_clkreq_groups[] = { 120062306a36Sopenharmony_ci "gpio152", 120162306a36Sopenharmony_ci}; 120262306a36Sopenharmony_ci 120362306a36Sopenharmony_cistatic const char * const pcie4_clkreq_groups[] = { 120462306a36Sopenharmony_ci "gpio140", 120562306a36Sopenharmony_ci}; 120662306a36Sopenharmony_ci 120762306a36Sopenharmony_cistatic const char * const phase_flag_groups[] = { 120862306a36Sopenharmony_ci "gpio80", "gpio81", "gpio82", "gpio83", "gpio87", "gpio88", "gpio89", 120962306a36Sopenharmony_ci "gpio90", "gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio132", 121062306a36Sopenharmony_ci "gpio144", "gpio145", "gpio146", "gpio147", "gpio195", "gpio196", 121162306a36Sopenharmony_ci "gpio197", "gpio198", "gpio202", "gpio219", "gpio220", "gpio221", 121262306a36Sopenharmony_ci "gpio222", "gpio223", "gpio224", "gpio225", "gpio226", "gpio227", 121362306a36Sopenharmony_ci}; 121462306a36Sopenharmony_ci 121562306a36Sopenharmony_cistatic const char * const pll_bist_groups[] = { 121662306a36Sopenharmony_ci "gpio84", 121762306a36Sopenharmony_ci}; 121862306a36Sopenharmony_ci 121962306a36Sopenharmony_cistatic const char * const pll_clk_groups[] = { 122062306a36Sopenharmony_ci "gpio84", "gpio86", 122162306a36Sopenharmony_ci}; 122262306a36Sopenharmony_ci 122362306a36Sopenharmony_cistatic const char * const prng_rosc0_groups[] = { 122462306a36Sopenharmony_ci "gpio189", 122562306a36Sopenharmony_ci}; 122662306a36Sopenharmony_ci 122762306a36Sopenharmony_cistatic const char * const prng_rosc1_groups[] = { 122862306a36Sopenharmony_ci "gpio191", 122962306a36Sopenharmony_ci}; 123062306a36Sopenharmony_ci 123162306a36Sopenharmony_cistatic const char * const prng_rosc2_groups[] = { 123262306a36Sopenharmony_ci "gpio193", 123362306a36Sopenharmony_ci}; 123462306a36Sopenharmony_ci 123562306a36Sopenharmony_cistatic const char * const prng_rosc3_groups[] = { 123662306a36Sopenharmony_ci "gpio194", 123762306a36Sopenharmony_ci}; 123862306a36Sopenharmony_ci 123962306a36Sopenharmony_cistatic const char * const qdss_cti_groups[] = { 124062306a36Sopenharmony_ci "gpio3", "gpio4", "gpio7", "gpio21", "gpio30", "gpio30", "gpio31", 124162306a36Sopenharmony_ci "gpio31", 124262306a36Sopenharmony_ci}; 124362306a36Sopenharmony_ci 124462306a36Sopenharmony_cistatic const char * const qdss_gpio_groups[] = { 124562306a36Sopenharmony_ci "gpio10", "gpio11", "gpio12", "gpio13", "gpio14", "gpio15", "gpio16", 124662306a36Sopenharmony_ci "gpio17", "gpio80", "gpio96", "gpio115", "gpio116", "gpio117", 124762306a36Sopenharmony_ci "gpio118", "gpio119", "gpio120", "gpio121", "gpio122", "gpio161", 124862306a36Sopenharmony_ci "gpio162", "gpio195", "gpio196", "gpio197", "gpio198", "gpio201", 124962306a36Sopenharmony_ci "gpio202", "gpio206", "gpio207", "gpio212", "gpio213", "gpio214", 125062306a36Sopenharmony_ci "gpio215", "gpio216", "gpio217", "gpio222", "gpio223", 125162306a36Sopenharmony_ci}; 125262306a36Sopenharmony_ci 125362306a36Sopenharmony_cistatic const char * const qspi_clk_groups[] = { 125462306a36Sopenharmony_ci "gpio74", 125562306a36Sopenharmony_ci}; 125662306a36Sopenharmony_ci 125762306a36Sopenharmony_cistatic const char * const qspi_cs_groups[] = { 125862306a36Sopenharmony_ci "gpio75", "gpio81", 125962306a36Sopenharmony_ci}; 126062306a36Sopenharmony_ci 126162306a36Sopenharmony_cistatic const char * const qspi_groups[] = { 126262306a36Sopenharmony_ci "gpio76", "gpio78", "gpio79", 126362306a36Sopenharmony_ci}; 126462306a36Sopenharmony_ci 126562306a36Sopenharmony_cistatic const char * const qup0_groups[] = { 126662306a36Sopenharmony_ci "gpio135", "gpio136", "gpio137", "gpio138", 126762306a36Sopenharmony_ci}; 126862306a36Sopenharmony_ci 126962306a36Sopenharmony_cistatic const char * const qup10_groups[] = { 127062306a36Sopenharmony_ci "gpio22", "gpio23", "gpio24", "gpio25", 127162306a36Sopenharmony_ci}; 127262306a36Sopenharmony_ci 127362306a36Sopenharmony_cistatic const char * const qup11_groups[] = { 127462306a36Sopenharmony_ci "gpio18", "gpio19", "gpio20", "gpio21", 127562306a36Sopenharmony_ci}; 127662306a36Sopenharmony_ci 127762306a36Sopenharmony_cistatic const char * const qup12_groups[] = { 127862306a36Sopenharmony_ci "gpio0", "gpio1", "gpio2", "gpio3", 127962306a36Sopenharmony_ci}; 128062306a36Sopenharmony_ci 128162306a36Sopenharmony_cistatic const char * const qup13_groups[] = { 128262306a36Sopenharmony_ci "gpio26", "gpio27", "gpio28", "gpio29", 128362306a36Sopenharmony_ci}; 128462306a36Sopenharmony_ci 128562306a36Sopenharmony_cistatic const char * const qup14_groups[] = { 128662306a36Sopenharmony_ci "gpio4", "gpio5", "gpio6", "gpio7", 128762306a36Sopenharmony_ci}; 128862306a36Sopenharmony_ci 128962306a36Sopenharmony_cistatic const char * const qup15_groups[] = { 129062306a36Sopenharmony_ci "gpio36", "gpio37", "gpio38", "gpio39", 129162306a36Sopenharmony_ci}; 129262306a36Sopenharmony_ci 129362306a36Sopenharmony_cistatic const char * const qup16_groups[] = { 129462306a36Sopenharmony_ci "gpio70", "gpio71", "gpio72", "gpio73", 129562306a36Sopenharmony_ci}; 129662306a36Sopenharmony_ci 129762306a36Sopenharmony_cistatic const char * const qup17_groups[] = { 129862306a36Sopenharmony_ci "gpio61", "gpio62", "gpio63", "gpio64", 129962306a36Sopenharmony_ci}; 130062306a36Sopenharmony_ci 130162306a36Sopenharmony_cistatic const char * const qup18_groups[] = { 130262306a36Sopenharmony_ci "gpio66", "gpio67", "gpio68", "gpio69", 130362306a36Sopenharmony_ci}; 130462306a36Sopenharmony_ci 130562306a36Sopenharmony_cistatic const char * const qup19_groups[] = { 130662306a36Sopenharmony_ci "gpio55", "gpio56", "gpio57", "gpio58", 130762306a36Sopenharmony_ci}; 130862306a36Sopenharmony_ci 130962306a36Sopenharmony_cistatic const char * const qup1_groups[] = { 131062306a36Sopenharmony_ci "gpio158", "gpio159", "gpio160", "gpio161", 131162306a36Sopenharmony_ci}; 131262306a36Sopenharmony_ci 131362306a36Sopenharmony_cistatic const char * const qup20_groups[] = { 131462306a36Sopenharmony_ci "gpio87", "gpio88", "gpio89", "gpio90", "gpio91", "gpio92", "gpio110", 131562306a36Sopenharmony_ci}; 131662306a36Sopenharmony_ci 131762306a36Sopenharmony_cistatic const char * const qup21_groups[] = { 131862306a36Sopenharmony_ci "gpio81", "gpio82", "gpio83", "gpio84", 131962306a36Sopenharmony_ci}; 132062306a36Sopenharmony_ci 132162306a36Sopenharmony_cistatic const char * const qup22_groups[] = { 132262306a36Sopenharmony_ci "gpio83", "gpio84", "gpio85", "gpio86", 132362306a36Sopenharmony_ci}; 132462306a36Sopenharmony_ci 132562306a36Sopenharmony_cistatic const char * const qup23_groups[] = { 132662306a36Sopenharmony_ci "gpio59", "gpio60", "gpio61", "gpio62", 132762306a36Sopenharmony_ci}; 132862306a36Sopenharmony_ci 132962306a36Sopenharmony_cistatic const char * const qup2_groups[] = { 133062306a36Sopenharmony_ci "gpio121", "gpio122", "gpio123", "gpio124", 133162306a36Sopenharmony_ci}; 133262306a36Sopenharmony_ci 133362306a36Sopenharmony_cistatic const char * const qup3_groups[] = { 133462306a36Sopenharmony_ci "gpio135", "gpio136", "gpio137", "gpio138", 133562306a36Sopenharmony_ci}; 133662306a36Sopenharmony_ci 133762306a36Sopenharmony_cistatic const char * const qup4_groups[] = { 133862306a36Sopenharmony_ci "gpio111", "gpio112", "gpio171", "gpio172", "gpio173", "gpio174", 133962306a36Sopenharmony_ci "gpio175", 134062306a36Sopenharmony_ci}; 134162306a36Sopenharmony_ci 134262306a36Sopenharmony_cistatic const char * const qup5_groups[] = { 134362306a36Sopenharmony_ci "gpio111", "gpio112", "gpio145", "gpio146", 134462306a36Sopenharmony_ci}; 134562306a36Sopenharmony_ci 134662306a36Sopenharmony_cistatic const char * const qup6_groups[] = { 134762306a36Sopenharmony_ci "gpio154", "gpio155", "gpio156", "gpio157", 134862306a36Sopenharmony_ci}; 134962306a36Sopenharmony_ci 135062306a36Sopenharmony_cistatic const char * const qup7_groups[] = { 135162306a36Sopenharmony_ci "gpio125", "gpio126", "gpio128", "gpio129", 135262306a36Sopenharmony_ci}; 135362306a36Sopenharmony_ci 135462306a36Sopenharmony_cistatic const char * const qup8_groups[] = { 135562306a36Sopenharmony_ci "gpio43", "gpio44", "gpio45", "gpio46", 135662306a36Sopenharmony_ci}; 135762306a36Sopenharmony_ci 135862306a36Sopenharmony_cistatic const char * const qup9_groups[] = { 135962306a36Sopenharmony_ci "gpio41", "gpio42", "gpio43", "gpio44", 136062306a36Sopenharmony_ci}; 136162306a36Sopenharmony_ci 136262306a36Sopenharmony_cistatic const char * const rgmii_0_groups[] = { 136362306a36Sopenharmony_ci "gpio175", "gpio176", "gpio177", "gpio178", "gpio179", "gpio180", 136462306a36Sopenharmony_ci "gpio181", "gpio182", "gpio183", "gpio184", "gpio185", "gpio186", 136562306a36Sopenharmony_ci "gpio187", "gpio188", 136662306a36Sopenharmony_ci}; 136762306a36Sopenharmony_ci 136862306a36Sopenharmony_cistatic const char * const rgmii_1_groups[] = { 136962306a36Sopenharmony_ci "gpio97", "gpio98", "gpio99", "gpio100", "gpio101", "gpio102", 137062306a36Sopenharmony_ci "gpio103", "gpio104", "gpio105", "gpio106", "gpio107", "gpio108", 137162306a36Sopenharmony_ci "gpio109", "gpio110", 137262306a36Sopenharmony_ci}; 137362306a36Sopenharmony_ci 137462306a36Sopenharmony_cistatic const char * const sd_write_groups[] = { 137562306a36Sopenharmony_ci "gpio130", 137662306a36Sopenharmony_ci}; 137762306a36Sopenharmony_ci 137862306a36Sopenharmony_cistatic const char * const sdc40_groups[] = { 137962306a36Sopenharmony_ci "gpio76", 138062306a36Sopenharmony_ci}; 138162306a36Sopenharmony_ci 138262306a36Sopenharmony_cistatic const char * const sdc42_groups[] = { 138362306a36Sopenharmony_ci "gpio78", 138462306a36Sopenharmony_ci}; 138562306a36Sopenharmony_ci 138662306a36Sopenharmony_cistatic const char * const sdc43_groups[] = { 138762306a36Sopenharmony_ci "gpio79", 138862306a36Sopenharmony_ci}; 138962306a36Sopenharmony_ci 139062306a36Sopenharmony_cistatic const char * const sdc4_clk_groups[] = { 139162306a36Sopenharmony_ci "gpio74", 139262306a36Sopenharmony_ci}; 139362306a36Sopenharmony_ci 139462306a36Sopenharmony_cistatic const char * const sdc4_cmd_groups[] = { 139562306a36Sopenharmony_ci "gpio75", 139662306a36Sopenharmony_ci}; 139762306a36Sopenharmony_ci 139862306a36Sopenharmony_cistatic const char * const tb_trig_groups[] = { 139962306a36Sopenharmony_ci "gpio153", "gpio157", 140062306a36Sopenharmony_ci}; 140162306a36Sopenharmony_ci 140262306a36Sopenharmony_cistatic const char * const tgu_groups[] = { 140362306a36Sopenharmony_ci "gpio101", "gpio102", "gpio103", "gpio104", "gpio105", "gpio106", 140462306a36Sopenharmony_ci "gpio107", "gpio108", 140562306a36Sopenharmony_ci}; 140662306a36Sopenharmony_ci 140762306a36Sopenharmony_cistatic const char * const tsense_pwm1_groups[] = { 140862306a36Sopenharmony_ci "gpio70", 140962306a36Sopenharmony_ci}; 141062306a36Sopenharmony_ci 141162306a36Sopenharmony_cistatic const char * const tsense_pwm2_groups[] = { 141262306a36Sopenharmony_ci "gpio69", 141362306a36Sopenharmony_ci}; 141462306a36Sopenharmony_ci 141562306a36Sopenharmony_cistatic const char * const tsense_pwm3_groups[] = { 141662306a36Sopenharmony_ci "gpio67", 141762306a36Sopenharmony_ci}; 141862306a36Sopenharmony_ci 141962306a36Sopenharmony_cistatic const char * const tsense_pwm4_groups[] = { 142062306a36Sopenharmony_ci "gpio65", 142162306a36Sopenharmony_ci}; 142262306a36Sopenharmony_ci 142362306a36Sopenharmony_cistatic const char * const usb0_dp_groups[] = { 142462306a36Sopenharmony_ci "gpio21", 142562306a36Sopenharmony_ci}; 142662306a36Sopenharmony_ci 142762306a36Sopenharmony_cistatic const char * const usb0_phy_groups[] = { 142862306a36Sopenharmony_ci "gpio166", 142962306a36Sopenharmony_ci}; 143062306a36Sopenharmony_ci 143162306a36Sopenharmony_cistatic const char * const usb0_sbrx_groups[] = { 143262306a36Sopenharmony_ci "gpio170", 143362306a36Sopenharmony_ci}; 143462306a36Sopenharmony_ci 143562306a36Sopenharmony_cistatic const char * const usb0_sbtx_groups[] = { 143662306a36Sopenharmony_ci "gpio168", "gpio169", 143762306a36Sopenharmony_ci}; 143862306a36Sopenharmony_ci 143962306a36Sopenharmony_cistatic const char * const usb0_usb4_groups[] = { 144062306a36Sopenharmony_ci "gpio132", 144162306a36Sopenharmony_ci}; 144262306a36Sopenharmony_ci 144362306a36Sopenharmony_cistatic const char * const usb1_dp_groups[] = { 144462306a36Sopenharmony_ci "gpio9", 144562306a36Sopenharmony_ci}; 144662306a36Sopenharmony_ci 144762306a36Sopenharmony_cistatic const char * const usb1_phy_groups[] = { 144862306a36Sopenharmony_ci "gpio49", 144962306a36Sopenharmony_ci}; 145062306a36Sopenharmony_ci 145162306a36Sopenharmony_cistatic const char * const usb1_sbrx_groups[] = { 145262306a36Sopenharmony_ci "gpio53", 145362306a36Sopenharmony_ci}; 145462306a36Sopenharmony_ci 145562306a36Sopenharmony_cistatic const char * const usb1_sbtx_groups[] = { 145662306a36Sopenharmony_ci "gpio51", "gpio52", 145762306a36Sopenharmony_ci}; 145862306a36Sopenharmony_ci 145962306a36Sopenharmony_cistatic const char * const usb1_usb4_groups[] = { 146062306a36Sopenharmony_ci "gpio32", 146162306a36Sopenharmony_ci}; 146262306a36Sopenharmony_ci 146362306a36Sopenharmony_cistatic const char * const usb2phy_ac_groups[] = { 146462306a36Sopenharmony_ci "gpio24", "gpio25", "gpio133", "gpio134", "gpio148", "gpio149", 146562306a36Sopenharmony_ci}; 146662306a36Sopenharmony_ci 146762306a36Sopenharmony_cistatic const char * const vsense_trigger_groups[] = { 146862306a36Sopenharmony_ci "gpio81", 146962306a36Sopenharmony_ci}; 147062306a36Sopenharmony_ci 147162306a36Sopenharmony_cistatic const struct pinfunction sc8280xp_functions[] = { 147262306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_char), 147362306a36Sopenharmony_ci MSM_PIN_FUNCTION(atest_usb), 147462306a36Sopenharmony_ci MSM_PIN_FUNCTION(audio_ref), 147562306a36Sopenharmony_ci MSM_PIN_FUNCTION(cam_mclk), 147662306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_async), 147762306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_i2c), 147862306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer0), 147962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer1), 148062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer2), 148162306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer3), 148262306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer4), 148362306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer5), 148462306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer6), 148562306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer7), 148662306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer8), 148762306a36Sopenharmony_ci MSM_PIN_FUNCTION(cci_timer9), 148862306a36Sopenharmony_ci MSM_PIN_FUNCTION(cmu_rng), 148962306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng), 149062306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng0), 149162306a36Sopenharmony_ci MSM_PIN_FUNCTION(cri_trng1), 149262306a36Sopenharmony_ci MSM_PIN_FUNCTION(dbg_out), 149362306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_bist), 149462306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi0), 149562306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi1), 149662306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi2), 149762306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi3), 149862306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi4), 149962306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi5), 150062306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi6), 150162306a36Sopenharmony_ci MSM_PIN_FUNCTION(ddr_pxi7), 150262306a36Sopenharmony_ci MSM_PIN_FUNCTION(dp2_hot), 150362306a36Sopenharmony_ci MSM_PIN_FUNCTION(dp3_hot), 150462306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp0_lcd), 150562306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp1_lcd), 150662306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp2_lcd), 150762306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp3_lcd), 150862306a36Sopenharmony_ci MSM_PIN_FUNCTION(edp_hot), 150962306a36Sopenharmony_ci MSM_PIN_FUNCTION(egpio), 151062306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_dll), 151162306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_mcg0), 151262306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_mcg1), 151362306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_mcg2), 151462306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_mcg3), 151562306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_phy), 151662306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac0_ptp), 151762306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_dll0), 151862306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_dll1), 151962306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_mcg0), 152062306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_mcg1), 152162306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_mcg2), 152262306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_mcg3), 152362306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_phy), 152462306a36Sopenharmony_ci MSM_PIN_FUNCTION(emac1_ptp), 152562306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp1), 152662306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp2), 152762306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp3), 152862306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp4), 152962306a36Sopenharmony_ci MSM_PIN_FUNCTION(gcc_gp5), 153062306a36Sopenharmony_ci MSM_PIN_FUNCTION(gpio), 153162306a36Sopenharmony_ci MSM_PIN_FUNCTION(hs1_mi2s), 153262306a36Sopenharmony_ci MSM_PIN_FUNCTION(hs2_mi2s), 153362306a36Sopenharmony_ci MSM_PIN_FUNCTION(hs3_mi2s), 153462306a36Sopenharmony_ci MSM_PIN_FUNCTION(ibi_i3c), 153562306a36Sopenharmony_ci MSM_PIN_FUNCTION(jitter_bist), 153662306a36Sopenharmony_ci MSM_PIN_FUNCTION(lpass_slimbus), 153762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync0), 153862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync1), 153962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync2), 154062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync3), 154162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync4), 154262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync5), 154362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync6), 154462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync7), 154562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp0_vsync8), 154662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync0), 154762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync1), 154862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync2), 154962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync3), 155062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync4), 155162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync5), 155262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync6), 155362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync7), 155462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp1_vsync8), 155562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mdp_vsync), 155662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_data0), 155762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_data1), 155862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_sck), 155962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s0_ws), 156062306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s1_data0), 156162306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s1_data1), 156262306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s1_sck), 156362306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s1_ws), 156462306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_data0), 156562306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_data1), 156662306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_sck), 156762306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s2_ws), 156862306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s_mclk1), 156962306a36Sopenharmony_ci MSM_PIN_FUNCTION(mi2s_mclk2), 157062306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie2a_clkreq), 157162306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie2b_clkreq), 157262306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie3a_clkreq), 157362306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie3b_clkreq), 157462306a36Sopenharmony_ci MSM_PIN_FUNCTION(pcie4_clkreq), 157562306a36Sopenharmony_ci MSM_PIN_FUNCTION(phase_flag), 157662306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_bist), 157762306a36Sopenharmony_ci MSM_PIN_FUNCTION(pll_clk), 157862306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc0), 157962306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc1), 158062306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc2), 158162306a36Sopenharmony_ci MSM_PIN_FUNCTION(prng_rosc3), 158262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_cti), 158362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qdss_gpio), 158462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi), 158562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_clk), 158662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qspi_cs), 158762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup0), 158862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup1), 158962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup2), 159062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup3), 159162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup4), 159262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup5), 159362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup6), 159462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup7), 159562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup8), 159662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup9), 159762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup10), 159862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup11), 159962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup12), 160062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup13), 160162306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup14), 160262306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup15), 160362306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup16), 160462306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup17), 160562306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup18), 160662306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup19), 160762306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup20), 160862306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup21), 160962306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup22), 161062306a36Sopenharmony_ci MSM_PIN_FUNCTION(qup23), 161162306a36Sopenharmony_ci MSM_PIN_FUNCTION(rgmii_0), 161262306a36Sopenharmony_ci MSM_PIN_FUNCTION(rgmii_1), 161362306a36Sopenharmony_ci MSM_PIN_FUNCTION(sd_write), 161462306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc40), 161562306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc42), 161662306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc43), 161762306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_clk), 161862306a36Sopenharmony_ci MSM_PIN_FUNCTION(sdc4_cmd), 161962306a36Sopenharmony_ci MSM_PIN_FUNCTION(tb_trig), 162062306a36Sopenharmony_ci MSM_PIN_FUNCTION(tgu), 162162306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm1), 162262306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm2), 162362306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm3), 162462306a36Sopenharmony_ci MSM_PIN_FUNCTION(tsense_pwm4), 162562306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb0_dp), 162662306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb0_phy), 162762306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb0_sbrx), 162862306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb0_sbtx), 162962306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb0_usb4), 163062306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb1_dp), 163162306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb1_phy), 163262306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb1_sbrx), 163362306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb1_sbtx), 163462306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb1_usb4), 163562306a36Sopenharmony_ci MSM_PIN_FUNCTION(usb2phy_ac), 163662306a36Sopenharmony_ci MSM_PIN_FUNCTION(vsense_trigger), 163762306a36Sopenharmony_ci}; 163862306a36Sopenharmony_ci 163962306a36Sopenharmony_cistatic const struct msm_pingroup sc8280xp_groups[] = { 164062306a36Sopenharmony_ci [0] = PINGROUP(0, qup12, _, _, _, _, _, _), 164162306a36Sopenharmony_ci [1] = PINGROUP(1, qup12, mdp0_vsync0, _, _, _, _, _), 164262306a36Sopenharmony_ci [2] = PINGROUP(2, edp_hot, qup12, mdp0_vsync1, _, _, _, _), 164362306a36Sopenharmony_ci [3] = PINGROUP(3, edp_hot, qup12, qdss_cti, _, _, _, _), 164462306a36Sopenharmony_ci [4] = PINGROUP(4, qup14, ibi_i3c, qdss_cti, _, _, _, _), 164562306a36Sopenharmony_ci [5] = PINGROUP(5, qup14, ibi_i3c, _, _, _, _, _), 164662306a36Sopenharmony_ci [6] = PINGROUP(6, edp_hot, qup14, cam_mclk, _, _, _, _), 164762306a36Sopenharmony_ci [7] = PINGROUP(7, edp_hot, qup14, qdss_cti, cam_mclk, _, _, _), 164862306a36Sopenharmony_ci [8] = PINGROUP(8, mdp_vsync, mdp0_vsync2, _, _, _, _, _), 164962306a36Sopenharmony_ci [9] = PINGROUP(9, usb1_dp, mdp0_vsync3, _, _, _, _, _), 165062306a36Sopenharmony_ci [10] = PINGROUP(10, cci_i2c, mdp0_vsync4, _, qdss_gpio, _, _, _), 165162306a36Sopenharmony_ci [11] = PINGROUP(11, cci_i2c, mdp0_vsync5, _, qdss_gpio, _, _, _), 165262306a36Sopenharmony_ci [12] = PINGROUP(12, cci_i2c, mdp0_vsync6, _, qdss_gpio, _, _, _), 165362306a36Sopenharmony_ci [13] = PINGROUP(13, cci_i2c, mdp0_vsync7, _, qdss_gpio, _, _, _), 165462306a36Sopenharmony_ci [14] = PINGROUP(14, cci_timer2, qdss_gpio, _, _, _, _, _), 165562306a36Sopenharmony_ci [15] = PINGROUP(15, cci_timer3, cci_async, _, qdss_gpio, _, _, _), 165662306a36Sopenharmony_ci [16] = PINGROUP(16, cam_mclk, mdp0_vsync8, _, qdss_gpio, _, _, _), 165762306a36Sopenharmony_ci [17] = PINGROUP(17, cam_mclk, mdp1_vsync0, _, qdss_gpio, _, _, _), 165862306a36Sopenharmony_ci [18] = PINGROUP(18, qup11, mdp1_vsync1, _, _, _, _, _), 165962306a36Sopenharmony_ci [19] = PINGROUP(19, qup11, mdp1_vsync2, _, _, _, _, _), 166062306a36Sopenharmony_ci [20] = PINGROUP(20, qup11, dp2_hot, mdp1_vsync3, _, _, _, _), 166162306a36Sopenharmony_ci [21] = PINGROUP(21, qup11, usb0_dp, qdss_cti, _, _, _, _), 166262306a36Sopenharmony_ci [22] = PINGROUP(22, qup10, _, _, _, _, _, _), 166362306a36Sopenharmony_ci [23] = PINGROUP(23, qup10, _, _, _, _, _, _), 166462306a36Sopenharmony_ci [24] = PINGROUP(24, qup10, usb2phy_ac, _, _, _, _, _), 166562306a36Sopenharmony_ci [25] = PINGROUP(25, qup10, usb2phy_ac, _, _, _, _, _), 166662306a36Sopenharmony_ci [26] = PINGROUP(26, qup13, edp0_lcd, _, _, _, _, _), 166762306a36Sopenharmony_ci [27] = PINGROUP(27, qup13, edp1_lcd, _, _, _, _, _), 166862306a36Sopenharmony_ci [28] = PINGROUP(28, qup13, edp2_lcd, _, _, _, _, _), 166962306a36Sopenharmony_ci [29] = PINGROUP(29, qup13, edp3_lcd, _, _, _, _, _), 167062306a36Sopenharmony_ci [30] = PINGROUP(30, qdss_cti, qdss_cti, _, _, _, _, _), 167162306a36Sopenharmony_ci [31] = PINGROUP(31, qdss_cti, qdss_cti, _, _, _, _, _), 167262306a36Sopenharmony_ci [32] = PINGROUP(32, usb1_usb4, _, _, _, _, _, _), 167362306a36Sopenharmony_ci [33] = PINGROUP(33, cam_mclk, _, _, _, _, _, _), 167462306a36Sopenharmony_ci [34] = PINGROUP(34, cam_mclk, _, _, _, _, _, _), 167562306a36Sopenharmony_ci [35] = PINGROUP(35, _, _, _, _, _, _, _), 167662306a36Sopenharmony_ci [36] = PINGROUP(36, qup15, ibi_i3c, mdp1_vsync4, _, _, _, _), 167762306a36Sopenharmony_ci [37] = PINGROUP(37, qup15, ibi_i3c, mdp1_vsync5, _, _, _, _), 167862306a36Sopenharmony_ci [38] = PINGROUP(38, qup15, mdp1_vsync6, _, _, _, _, _), 167962306a36Sopenharmony_ci [39] = PINGROUP(39, qup15, mdp1_vsync7, _, _, _, _, _), 168062306a36Sopenharmony_ci [40] = PINGROUP(40, mdp1_vsync8, _, _, _, _, _, _), 168162306a36Sopenharmony_ci [41] = PINGROUP(41, qup9, _, _, _, _, _, _), 168262306a36Sopenharmony_ci [42] = PINGROUP(42, qup9, ddr_bist, _, _, _, _, _), 168362306a36Sopenharmony_ci [43] = PINGROUP(43, qup8, qup9, _, _, _, _, _), 168462306a36Sopenharmony_ci [44] = PINGROUP(44, qup8, qup9, _, _, _, _, _), 168562306a36Sopenharmony_ci [45] = PINGROUP(45, qup8, dp3_hot, ddr_bist, _, _, _, _), 168662306a36Sopenharmony_ci [46] = PINGROUP(46, qup8, ddr_bist, _, _, _, _, _), 168762306a36Sopenharmony_ci [47] = PINGROUP(47, ddr_bist, _, _, _, _, _, _), 168862306a36Sopenharmony_ci [48] = PINGROUP(48, _, _, _, _, _, _, _), 168962306a36Sopenharmony_ci [49] = PINGROUP(49, usb1_phy, _, _, _, _, _, _), 169062306a36Sopenharmony_ci [50] = PINGROUP(50, _, _, _, _, _, _, _), 169162306a36Sopenharmony_ci [51] = PINGROUP(51, usb1_sbtx, _, _, _, _, _, _), 169262306a36Sopenharmony_ci [52] = PINGROUP(52, usb1_sbtx, _, _, _, _, _, _), 169362306a36Sopenharmony_ci [53] = PINGROUP(53, usb1_sbrx, _, _, _, _, _, _), 169462306a36Sopenharmony_ci [54] = PINGROUP(54, emac1_phy, _, _, _, _, _, _), 169562306a36Sopenharmony_ci [55] = PINGROUP(55, emac1_ptp, emac1_ptp, qup19, _, _, _, _), 169662306a36Sopenharmony_ci [56] = PINGROUP(56, emac1_ptp, emac1_ptp, qup19, _, _, _, _), 169762306a36Sopenharmony_ci [57] = PINGROUP(57, qup19, emac1_mcg0, _, _, _, _, _), 169862306a36Sopenharmony_ci [58] = PINGROUP(58, qup19, emac1_mcg1, _, _, _, _, _), 169962306a36Sopenharmony_ci [59] = PINGROUP(59, qup23, _, _, _, _, _, _), 170062306a36Sopenharmony_ci [60] = PINGROUP(60, qup23, _, _, _, _, _, _), 170162306a36Sopenharmony_ci [61] = PINGROUP(61, qup23, qup17, _, _, _, _, _), 170262306a36Sopenharmony_ci [62] = PINGROUP(62, qup23, qup17, _, _, _, _, _), 170362306a36Sopenharmony_ci [63] = PINGROUP(63, qup17, _, _, _, _, _, _), 170462306a36Sopenharmony_ci [64] = PINGROUP(64, qup17, _, _, _, _, _, _), 170562306a36Sopenharmony_ci [65] = PINGROUP(65, tsense_pwm4, _, _, _, _, _, _), 170662306a36Sopenharmony_ci [66] = PINGROUP(66, qup18, _, _, _, _, _, _), 170762306a36Sopenharmony_ci [67] = PINGROUP(67, qup18, tsense_pwm3, _, _, _, _, _), 170862306a36Sopenharmony_ci [68] = PINGROUP(68, qup18, emac1_mcg2, _, _, _, _, _), 170962306a36Sopenharmony_ci [69] = PINGROUP(69, qup18, emac1_mcg3, tsense_pwm2, _, _, _, _), 171062306a36Sopenharmony_ci [70] = PINGROUP(70, qup16, tsense_pwm1, _, _, _, _, _), 171162306a36Sopenharmony_ci [71] = PINGROUP(71, qup16, atest_usb, _, _, _, _, _), 171262306a36Sopenharmony_ci [72] = PINGROUP(72, qup16, atest_usb, _, _, _, _, _), 171362306a36Sopenharmony_ci [73] = PINGROUP(73, qup16, atest_usb, _, _, _, _, _), 171462306a36Sopenharmony_ci [74] = PINGROUP(74, qspi_clk, sdc4_clk, atest_usb, _, _, _, _), 171562306a36Sopenharmony_ci [75] = PINGROUP(75, qspi_cs, sdc4_cmd, atest_usb, _, _, _, _), 171662306a36Sopenharmony_ci [76] = PINGROUP(76, qspi, sdc40, atest_usb, _, _, _, _), 171762306a36Sopenharmony_ci [77] = PINGROUP(77, _, _, _, _, _, _, _), 171862306a36Sopenharmony_ci [78] = PINGROUP(78, qspi, sdc42, atest_usb, _, _, _, _), 171962306a36Sopenharmony_ci [79] = PINGROUP(79, qspi, sdc43, atest_usb, ddr_pxi6, _, _, _), 172062306a36Sopenharmony_ci [80] = PINGROUP(80, mi2s_mclk1, audio_ref, phase_flag, _, qdss_gpio, _, _), 172162306a36Sopenharmony_ci [81] = PINGROUP(81, qup21, qspi_cs, phase_flag, _, vsense_trigger, _, _), 172262306a36Sopenharmony_ci [82] = PINGROUP(82, qup21, phase_flag, _, _, _, _, _), 172362306a36Sopenharmony_ci [83] = PINGROUP(83, qup21, qup22, phase_flag, _, _, _, _), 172462306a36Sopenharmony_ci [84] = PINGROUP(84, qup21, qup22, pll_bist, pll_clk, _, _, _), 172562306a36Sopenharmony_ci [85] = PINGROUP(85, qup22, _, _, _, _, _, _), 172662306a36Sopenharmony_ci [86] = PINGROUP(86, qup22, _, pll_clk, _, _, _, _), 172762306a36Sopenharmony_ci [87] = PINGROUP(87, qup20, phase_flag, _, _, _, _, _), 172862306a36Sopenharmony_ci [88] = PINGROUP(88, qup20, phase_flag, _, _, _, _, _), 172962306a36Sopenharmony_ci [89] = PINGROUP(89, qup20, phase_flag, _, _, _, _, _), 173062306a36Sopenharmony_ci [90] = PINGROUP(90, qup20, phase_flag, _, _, _, _, _), 173162306a36Sopenharmony_ci [91] = PINGROUP(91, qup20, hs2_mi2s, phase_flag, _, _, _, _), 173262306a36Sopenharmony_ci [92] = PINGROUP(92, qup20, hs2_mi2s, phase_flag, _, _, _, _), 173362306a36Sopenharmony_ci [93] = PINGROUP(93, mi2s0_sck, emac1_ptp, emac1_ptp, phase_flag, _, _, _), 173462306a36Sopenharmony_ci [94] = PINGROUP(94, mi2s0_ws, emac1_ptp, emac1_ptp, phase_flag, _, _, _), 173562306a36Sopenharmony_ci [95] = PINGROUP(95, mi2s0_data0, emac1_ptp, emac1_ptp, phase_flag, _, _, _), 173662306a36Sopenharmony_ci [96] = PINGROUP(96, mi2s0_data1, emac1_ptp, emac1_ptp, qdss_gpio, _, _, _), 173762306a36Sopenharmony_ci [97] = PINGROUP(97, rgmii_1, atest_usb, _, _, _, _, _), 173862306a36Sopenharmony_ci [98] = PINGROUP(98, rgmii_1, atest_usb, _, _, _, _, _), 173962306a36Sopenharmony_ci [99] = PINGROUP(99, rgmii_1, _, _, _, _, _, _), 174062306a36Sopenharmony_ci [100] = PINGROUP(100, mdp_vsync, rgmii_1, _, _, _, _, _), 174162306a36Sopenharmony_ci [101] = PINGROUP(101, mdp_vsync, rgmii_1, tgu, atest_usb, _, _, _), 174262306a36Sopenharmony_ci [102] = PINGROUP(102, rgmii_1, tgu, atest_usb, _, _, _, _), 174362306a36Sopenharmony_ci [103] = PINGROUP(103, rgmii_1, tgu, atest_usb, _, _, _, _), 174462306a36Sopenharmony_ci [104] = PINGROUP(104, rgmii_1, tgu, atest_usb, _, _, _, _), 174562306a36Sopenharmony_ci [105] = PINGROUP(105, rgmii_1, tgu, atest_usb, _, _, _, _), 174662306a36Sopenharmony_ci [106] = PINGROUP(106, rgmii_1, tgu, _, _, _, _, _), 174762306a36Sopenharmony_ci [107] = PINGROUP(107, rgmii_1, tgu, _, _, _, _, _), 174862306a36Sopenharmony_ci [108] = PINGROUP(108, rgmii_1, tgu, _, _, _, _, _), 174962306a36Sopenharmony_ci [109] = PINGROUP(109, rgmii_1, _, _, _, _, _, _), 175062306a36Sopenharmony_ci [110] = PINGROUP(110, qup20, rgmii_1, atest_usb, _, _, _, _), 175162306a36Sopenharmony_ci [111] = PINGROUP(111, qup4, qup5, atest_usb, _, _, _, _), 175262306a36Sopenharmony_ci [112] = PINGROUP(112, qup4, qup5, atest_usb, _, _, _, _), 175362306a36Sopenharmony_ci [113] = PINGROUP(113, cci_i2c, atest_usb, _, _, _, _, _), 175462306a36Sopenharmony_ci [114] = PINGROUP(114, cci_i2c, gcc_gp2, atest_usb, _, _, _, _), 175562306a36Sopenharmony_ci [115] = PINGROUP(115, cci_i2c, gcc_gp3, qdss_gpio, _, _, _, _), 175662306a36Sopenharmony_ci [116] = PINGROUP(116, cci_i2c, qdss_gpio, _, _, _, _, _), 175762306a36Sopenharmony_ci [117] = PINGROUP(117, cci_i2c, _, qdss_gpio, _, _, _, _), 175862306a36Sopenharmony_ci [118] = PINGROUP(118, cci_i2c, _, qdss_gpio, _, _, _, _), 175962306a36Sopenharmony_ci [119] = PINGROUP(119, cam_mclk, cci_timer0, cci_async, gcc_gp1, qdss_gpio, _, _), 176062306a36Sopenharmony_ci [120] = PINGROUP(120, cam_mclk, cci_timer1, cci_async, gcc_gp2, qdss_gpio, ddr_pxi3, _), 176162306a36Sopenharmony_ci [121] = PINGROUP(121, qup2, qdss_gpio, _, atest_usb, ddr_pxi0, _, _), 176262306a36Sopenharmony_ci [122] = PINGROUP(122, qup2, qdss_gpio, atest_usb, _, _, _, _), 176362306a36Sopenharmony_ci [123] = PINGROUP(123, qup2, cci_i2c, cmu_rng, ddr_pxi2, _, _, _), 176462306a36Sopenharmony_ci [124] = PINGROUP(124, qup2, cci_i2c, cmu_rng, ddr_pxi1, _, _, _), 176562306a36Sopenharmony_ci [125] = PINGROUP(125, qup7, dbg_out, ddr_pxi1, _, _, _, _), 176662306a36Sopenharmony_ci [126] = PINGROUP(126, qup7, cmu_rng, ddr_pxi0, _, _, _, _), 176762306a36Sopenharmony_ci [127] = PINGROUP(127, emac0_phy, _, _, _, _, _, _), 176862306a36Sopenharmony_ci [128] = PINGROUP(128, qup7, ibi_i3c, _, _, _, _, _), 176962306a36Sopenharmony_ci [129] = PINGROUP(129, qup7, ibi_i3c, _, _, _, _, _), 177062306a36Sopenharmony_ci [130] = PINGROUP(130, emac0_ptp, emac0_ptp, sd_write, atest_usb, _, _, _), 177162306a36Sopenharmony_ci [131] = PINGROUP(131, emac0_ptp, emac0_ptp, atest_usb, _, _, _, _), 177262306a36Sopenharmony_ci [132] = PINGROUP(132, usb0_usb4, phase_flag, _, _, _, _, _), 177362306a36Sopenharmony_ci [133] = PINGROUP(133, usb2phy_ac, _, _, _, _, _, _), 177462306a36Sopenharmony_ci [134] = PINGROUP(134, usb2phy_ac, atest_char, _, _, _, _, _), 177562306a36Sopenharmony_ci [135] = PINGROUP(135, qup0, qup3, _, atest_usb, ddr_pxi7, _, _), 177662306a36Sopenharmony_ci [136] = PINGROUP(136, qup0, qup3, cmu_rng, ddr_pxi7, _, _, _), 177762306a36Sopenharmony_ci [137] = PINGROUP(137, qup3, qup0, _, atest_usb, ddr_pxi3, _, _), 177862306a36Sopenharmony_ci [138] = PINGROUP(138, qup3, qup0, _, atest_usb, ddr_pxi2, _, _), 177962306a36Sopenharmony_ci [139] = PINGROUP(139, cci_timer5, gcc_gp3, atest_char, _, _, _, _), 178062306a36Sopenharmony_ci [140] = PINGROUP(140, pcie4_clkreq, jitter_bist, atest_char, _, _, _, _), 178162306a36Sopenharmony_ci [141] = PINGROUP(141, _, _, _, _, _, _, _), 178262306a36Sopenharmony_ci [142] = PINGROUP(142, pcie2a_clkreq, atest_char, _, _, _, _, _), 178362306a36Sopenharmony_ci [143] = PINGROUP(143, _, atest_char, _, _, _, _, _), 178462306a36Sopenharmony_ci [144] = PINGROUP(144, pcie2b_clkreq, phase_flag, _, _, _, _, _), 178562306a36Sopenharmony_ci [145] = PINGROUP(145, qup5, cci_i2c, phase_flag, _, _, _, _), 178662306a36Sopenharmony_ci [146] = PINGROUP(146, qup5, cci_i2c, phase_flag, _, _, _, _), 178762306a36Sopenharmony_ci [147] = PINGROUP(147, _, phase_flag, _, _, _, _, _), 178862306a36Sopenharmony_ci [148] = PINGROUP(148, usb2phy_ac, _, atest_usb, _, _, _, _), 178962306a36Sopenharmony_ci [149] = PINGROUP(149, usb2phy_ac, gcc_gp1, atest_usb, _, _, _, _), 179062306a36Sopenharmony_ci [150] = PINGROUP(150, pcie3a_clkreq, _, _, _, _, _, _), 179162306a36Sopenharmony_ci [151] = PINGROUP(151, _, _, _, _, _, _, _), 179262306a36Sopenharmony_ci [152] = PINGROUP(152, pcie3b_clkreq, _, _, _, _, _, _), 179362306a36Sopenharmony_ci [153] = PINGROUP(153, _, tb_trig, _, _, _, _, _), 179462306a36Sopenharmony_ci [154] = PINGROUP(154, qup6, ibi_i3c, _, _, _, _, _), 179562306a36Sopenharmony_ci [155] = PINGROUP(155, qup6, ibi_i3c, _, _, _, _, _), 179662306a36Sopenharmony_ci [156] = PINGROUP(156, qup6, emac0_ptp, emac0_ptp, _, _, _, _), 179762306a36Sopenharmony_ci [157] = PINGROUP(157, qup6, emac0_ptp, emac0_ptp, tb_trig, _, _, _), 179862306a36Sopenharmony_ci [158] = PINGROUP(158, qup1, emac0_ptp, emac0_ptp, _, _, _, _), 179962306a36Sopenharmony_ci [159] = PINGROUP(159, qup1, emac0_ptp, emac0_ptp, _, _, _, _), 180062306a36Sopenharmony_ci [160] = PINGROUP(160, cci_timer9, qup1, cci_async, emac0_mcg0, gcc_gp4, _, _), 180162306a36Sopenharmony_ci [161] = PINGROUP(161, cci_timer4, cci_async, qup1, emac0_mcg1, qdss_gpio, _, _), 180262306a36Sopenharmony_ci [162] = PINGROUP(162, cci_timer6, emac0_mcg2, gcc_gp4, qdss_gpio, _, _, _), 180362306a36Sopenharmony_ci [163] = PINGROUP(163, cci_timer7, emac0_mcg3, _, _, _, _, _), 180462306a36Sopenharmony_ci [164] = PINGROUP(164, cci_i2c, _, _, _, _, _, _), 180562306a36Sopenharmony_ci [165] = PINGROUP(165, cci_i2c, _, _, _, _, _, _), 180662306a36Sopenharmony_ci [166] = PINGROUP(166, usb0_phy, _, _, _, _, _, _), 180762306a36Sopenharmony_ci [167] = PINGROUP(167, cci_timer8, cci_async, gcc_gp5, _, _, _, _), 180862306a36Sopenharmony_ci [168] = PINGROUP(168, usb0_sbtx, gcc_gp5, _, _, _, _, _), 180962306a36Sopenharmony_ci [169] = PINGROUP(169, usb0_sbtx, _, _, _, _, _, _), 181062306a36Sopenharmony_ci [170] = PINGROUP(170, usb0_sbrx, _, _, _, _, _, _), 181162306a36Sopenharmony_ci [171] = PINGROUP(171, qup4, _, _, _, _, _, _), 181262306a36Sopenharmony_ci [172] = PINGROUP(172, qup4, _, _, _, _, _, _), 181362306a36Sopenharmony_ci [173] = PINGROUP(173, qup4, _, _, _, _, _, _), 181462306a36Sopenharmony_ci [174] = PINGROUP(174, qup4, _, _, _, _, _, _), 181562306a36Sopenharmony_ci [175] = PINGROUP(175, qup4, rgmii_0, _, _, _, _, _), 181662306a36Sopenharmony_ci [176] = PINGROUP(176, rgmii_0, _, _, _, _, _, _), 181762306a36Sopenharmony_ci [177] = PINGROUP(177, rgmii_0, _, _, _, _, _, _), 181862306a36Sopenharmony_ci [178] = PINGROUP(178, rgmii_0, _, _, _, _, _, _), 181962306a36Sopenharmony_ci [179] = PINGROUP(179, rgmii_0, _, _, _, _, _, _), 182062306a36Sopenharmony_ci [180] = PINGROUP(180, rgmii_0, _, _, _, _, _, _), 182162306a36Sopenharmony_ci [181] = PINGROUP(181, rgmii_0, _, _, _, _, _, _), 182262306a36Sopenharmony_ci [182] = PINGROUP(182, rgmii_0, _, _, _, _, _, _), 182362306a36Sopenharmony_ci [183] = PINGROUP(183, rgmii_0, _, _, _, _, _, _), 182462306a36Sopenharmony_ci [184] = PINGROUP(184, rgmii_0, _, _, _, _, _, _), 182562306a36Sopenharmony_ci [185] = PINGROUP(185, rgmii_0, _, _, _, _, _, _), 182662306a36Sopenharmony_ci [186] = PINGROUP(186, rgmii_0, _, _, _, _, _, _), 182762306a36Sopenharmony_ci [187] = PINGROUP(187, rgmii_0, cri_trng0, _, _, _, _, _), 182862306a36Sopenharmony_ci [188] = PINGROUP(188, rgmii_0, cri_trng1, _, _, _, _, _), 182962306a36Sopenharmony_ci [189] = PINGROUP(189, prng_rosc0, _, _, _, _, _, egpio), 183062306a36Sopenharmony_ci [190] = PINGROUP(190, cri_trng, _, _, _, _, _, egpio), 183162306a36Sopenharmony_ci [191] = PINGROUP(191, prng_rosc1, _, _, _, _, _, egpio), 183262306a36Sopenharmony_ci [192] = PINGROUP(192, _, _, _, _, _, _, egpio), 183362306a36Sopenharmony_ci [193] = PINGROUP(193, prng_rosc2, _, _, _, _, _, egpio), 183462306a36Sopenharmony_ci [194] = PINGROUP(194, prng_rosc3, _, _, _, _, _, egpio), 183562306a36Sopenharmony_ci [195] = PINGROUP(195, phase_flag, _, qdss_gpio, _, _, _, egpio), 183662306a36Sopenharmony_ci [196] = PINGROUP(196, phase_flag, _, qdss_gpio, _, _, _, egpio), 183762306a36Sopenharmony_ci [197] = PINGROUP(197, phase_flag, _, qdss_gpio, _, _, _, egpio), 183862306a36Sopenharmony_ci [198] = PINGROUP(198, phase_flag, _, qdss_gpio, _, _, _, egpio), 183962306a36Sopenharmony_ci [199] = PINGROUP(199, _, _, _, _, _, _, egpio), 184062306a36Sopenharmony_ci [200] = PINGROUP(200, _, _, _, _, _, _, egpio), 184162306a36Sopenharmony_ci [201] = PINGROUP(201, qdss_gpio, _, _, _, _, _, egpio), 184262306a36Sopenharmony_ci [202] = PINGROUP(202, phase_flag, _, qdss_gpio, _, _, _, egpio), 184362306a36Sopenharmony_ci [203] = PINGROUP(203, _, _, _, _, _, _, egpio), 184462306a36Sopenharmony_ci [204] = PINGROUP(204, _, _, _, _, _, _, egpio), 184562306a36Sopenharmony_ci [205] = PINGROUP(205, _, _, _, _, _, _, egpio), 184662306a36Sopenharmony_ci [206] = PINGROUP(206, qdss_gpio, _, _, _, _, _, egpio), 184762306a36Sopenharmony_ci [207] = PINGROUP(207, qdss_gpio, _, _, _, _, _, egpio), 184862306a36Sopenharmony_ci [208] = PINGROUP(208, hs1_mi2s, _, _, _, _, _, egpio), 184962306a36Sopenharmony_ci [209] = PINGROUP(209, hs1_mi2s, _, _, _, _, _, egpio), 185062306a36Sopenharmony_ci [210] = PINGROUP(210, hs1_mi2s, _, _, _, _, _, egpio), 185162306a36Sopenharmony_ci [211] = PINGROUP(211, hs1_mi2s, _, _, _, _, _, egpio), 185262306a36Sopenharmony_ci [212] = PINGROUP(212, mi2s2_sck, qdss_gpio, _, _, _, _, egpio), 185362306a36Sopenharmony_ci [213] = PINGROUP(213, mi2s2_ws, qdss_gpio, _, _, _, _, egpio), 185462306a36Sopenharmony_ci [214] = PINGROUP(214, mi2s2_data0, qdss_gpio, ddr_pxi5, _, _, _, egpio), 185562306a36Sopenharmony_ci [215] = PINGROUP(215, mi2s2_data1, qdss_gpio, emac1_dll0, ddr_pxi5, _, _, egpio), 185662306a36Sopenharmony_ci [216] = PINGROUP(216, mi2s_mclk1, qdss_gpio, emac0_dll, ddr_pxi4, _, _, egpio), 185762306a36Sopenharmony_ci [217] = PINGROUP(217, mi2s_mclk2, qdss_gpio, emac0_dll, ddr_pxi4, _, _, egpio), 185862306a36Sopenharmony_ci [218] = PINGROUP(218, hs2_mi2s, emac1_dll1, ddr_pxi6, _, _, _, egpio), 185962306a36Sopenharmony_ci [219] = PINGROUP(219, hs2_mi2s, phase_flag, _, _, _, _, egpio), 186062306a36Sopenharmony_ci [220] = PINGROUP(220, lpass_slimbus, mi2s1_sck, phase_flag, _, _, _, egpio), 186162306a36Sopenharmony_ci [221] = PINGROUP(221, lpass_slimbus, mi2s1_ws, phase_flag, _, _, _, egpio), 186262306a36Sopenharmony_ci [222] = PINGROUP(222, mi2s1_data0, phase_flag, _, qdss_gpio, _, _, egpio), 186362306a36Sopenharmony_ci [223] = PINGROUP(223, mi2s1_data1, phase_flag, _, qdss_gpio, _, _, egpio), 186462306a36Sopenharmony_ci [224] = PINGROUP(224, hs3_mi2s, phase_flag, _, _, _, _, egpio), 186562306a36Sopenharmony_ci [225] = PINGROUP(225, hs3_mi2s, phase_flag, _, _, _, _, egpio), 186662306a36Sopenharmony_ci [226] = PINGROUP(226, hs3_mi2s, phase_flag, _, _, _, _, egpio), 186762306a36Sopenharmony_ci [227] = PINGROUP(227, hs3_mi2s, phase_flag, _, _, _, _, egpio), 186862306a36Sopenharmony_ci [228] = UFS_RESET(ufs_reset, 0xf1000), 186962306a36Sopenharmony_ci [229] = UFS_RESET(ufs1_reset, 0xf3000), 187062306a36Sopenharmony_ci [230] = SDC_QDSD_PINGROUP(sdc2_clk, 0xe8000, 14, 6), 187162306a36Sopenharmony_ci [231] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xe8000, 11, 3), 187262306a36Sopenharmony_ci [232] = SDC_QDSD_PINGROUP(sdc2_data, 0xe8000, 9, 0), 187362306a36Sopenharmony_ci}; 187462306a36Sopenharmony_ci 187562306a36Sopenharmony_cistatic const struct msm_gpio_wakeirq_map sc8280xp_pdc_map[] = { 187662306a36Sopenharmony_ci { 3, 245 }, { 4, 263 }, { 7, 254 }, { 21, 220 }, { 25, 244 }, 187762306a36Sopenharmony_ci { 26, 211 }, { 27, 172 }, { 29, 203 }, { 30, 169 }, { 31, 180 }, 187862306a36Sopenharmony_ci { 32, 181 }, { 33, 182 }, { 36, 206 }, { 39, 246 }, { 40, 183 }, 187962306a36Sopenharmony_ci { 42, 179 }, { 46, 247 }, { 53, 248 }, { 54, 190 }, { 55, 249 }, 188062306a36Sopenharmony_ci { 56, 250 }, { 58, 251 }, { 59, 207 }, { 62, 252 }, { 63, 191 }, 188162306a36Sopenharmony_ci { 64, 192 }, { 65, 193 }, { 69, 253 }, { 73, 255 }, { 84, 256 }, 188262306a36Sopenharmony_ci { 85, 208 }, { 90, 257 }, { 102, 214 }, { 103, 215 }, { 104, 216 }, 188362306a36Sopenharmony_ci { 107, 217 }, { 110, 218 }, { 124, 224 }, { 125, 189 }, 188462306a36Sopenharmony_ci { 126, 200 }, { 127, 225 }, { 128, 262 }, { 129, 201 }, 188562306a36Sopenharmony_ci { 130, 209 }, { 131, 173 }, { 132, 202 }, { 136, 210 }, 188662306a36Sopenharmony_ci { 138, 171 }, { 139, 226 }, { 140, 227 }, { 142, 228 }, 188762306a36Sopenharmony_ci { 144, 229 }, { 145, 230 }, { 146, 231 }, { 148, 232 }, 188862306a36Sopenharmony_ci { 149, 233 }, { 150, 234 }, { 152, 235 }, { 154, 212 }, 188962306a36Sopenharmony_ci { 157, 213 }, { 161, 219 }, { 170, 236 }, { 171, 221 }, 189062306a36Sopenharmony_ci { 174, 222 }, { 175, 237 }, { 176, 223 }, { 177, 170 }, 189162306a36Sopenharmony_ci { 180, 238 }, { 181, 239 }, { 182, 240 }, { 183, 241 }, 189262306a36Sopenharmony_ci { 184, 242 }, { 185, 243 }, { 190, 178 }, { 193, 184 }, 189362306a36Sopenharmony_ci { 196, 185 }, { 198, 186 }, { 200, 174 }, { 201, 175 }, 189462306a36Sopenharmony_ci { 205, 176 }, { 206, 177 }, { 208, 187 }, { 210, 198 }, 189562306a36Sopenharmony_ci { 211, 199 }, { 212, 204 }, { 215, 205 }, { 220, 188 }, 189662306a36Sopenharmony_ci { 221, 194 }, { 223, 195 }, { 225, 196 }, { 227, 197 }, 189762306a36Sopenharmony_ci}; 189862306a36Sopenharmony_ci 189962306a36Sopenharmony_cistatic struct msm_pinctrl_soc_data sc8280xp_pinctrl = { 190062306a36Sopenharmony_ci .pins = sc8280xp_pins, 190162306a36Sopenharmony_ci .npins = ARRAY_SIZE(sc8280xp_pins), 190262306a36Sopenharmony_ci .functions = sc8280xp_functions, 190362306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(sc8280xp_functions), 190462306a36Sopenharmony_ci .groups = sc8280xp_groups, 190562306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(sc8280xp_groups), 190662306a36Sopenharmony_ci .ngpios = 230, 190762306a36Sopenharmony_ci .wakeirq_map = sc8280xp_pdc_map, 190862306a36Sopenharmony_ci .nwakeirq_map = ARRAY_SIZE(sc8280xp_pdc_map), 190962306a36Sopenharmony_ci .egpio_func = 7, 191062306a36Sopenharmony_ci}; 191162306a36Sopenharmony_ci 191262306a36Sopenharmony_cistatic int sc8280xp_pinctrl_probe(struct platform_device *pdev) 191362306a36Sopenharmony_ci{ 191462306a36Sopenharmony_ci return msm_pinctrl_probe(pdev, &sc8280xp_pinctrl); 191562306a36Sopenharmony_ci} 191662306a36Sopenharmony_ci 191762306a36Sopenharmony_cistatic const struct of_device_id sc8280xp_pinctrl_of_match[] = { 191862306a36Sopenharmony_ci { .compatible = "qcom,sc8280xp-tlmm", }, 191962306a36Sopenharmony_ci { }, 192062306a36Sopenharmony_ci}; 192162306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, sc8280xp_pinctrl_of_match); 192262306a36Sopenharmony_ci 192362306a36Sopenharmony_cistatic struct platform_driver sc8280xp_pinctrl_driver = { 192462306a36Sopenharmony_ci .driver = { 192562306a36Sopenharmony_ci .name = "sc8280xp-tlmm", 192662306a36Sopenharmony_ci .of_match_table = sc8280xp_pinctrl_of_match, 192762306a36Sopenharmony_ci }, 192862306a36Sopenharmony_ci .probe = sc8280xp_pinctrl_probe, 192962306a36Sopenharmony_ci .remove = msm_pinctrl_remove, 193062306a36Sopenharmony_ci}; 193162306a36Sopenharmony_ci 193262306a36Sopenharmony_cistatic int __init sc8280xp_pinctrl_init(void) 193362306a36Sopenharmony_ci{ 193462306a36Sopenharmony_ci return platform_driver_register(&sc8280xp_pinctrl_driver); 193562306a36Sopenharmony_ci} 193662306a36Sopenharmony_ciarch_initcall(sc8280xp_pinctrl_init); 193762306a36Sopenharmony_ci 193862306a36Sopenharmony_cistatic void __exit sc8280xp_pinctrl_exit(void) 193962306a36Sopenharmony_ci{ 194062306a36Sopenharmony_ci platform_driver_unregister(&sc8280xp_pinctrl_driver); 194162306a36Sopenharmony_ci} 194262306a36Sopenharmony_cimodule_exit(sc8280xp_pinctrl_exit); 194362306a36Sopenharmony_ci 194462306a36Sopenharmony_ciMODULE_DESCRIPTION("Qualcomm SC8280XP TLMM pinctrl driver"); 194562306a36Sopenharmony_ciMODULE_LICENSE("GPL"); 1946