1fcd26bf5SAbel Vesa // SPDX-License-Identifier: GPL-2.0-only
2fcd26bf5SAbel Vesa /*
3fcd26bf5SAbel Vesa  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4fcd26bf5SAbel Vesa  * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
5fcd26bf5SAbel Vesa  * Copyright (c) 2022, Linaro Limited
6fcd26bf5SAbel Vesa  */
7fcd26bf5SAbel Vesa 
8fcd26bf5SAbel Vesa #include <linux/module.h>
9fcd26bf5SAbel Vesa #include <linux/of.h>
10fcd26bf5SAbel Vesa #include <linux/platform_device.h>
11fcd26bf5SAbel Vesa 
12fcd26bf5SAbel Vesa #include "pinctrl-msm.h"
13fcd26bf5SAbel Vesa 
14fcd26bf5SAbel Vesa #define REG_SIZE 0x1000
15fcd26bf5SAbel Vesa 
16fcd26bf5SAbel Vesa #define PINGROUP(id, f1, f2, f3, f4, f5, f6, f7, f8, f9)	\
17fcd26bf5SAbel Vesa 	{					        \
18*6a16d1a5SRohit Agarwal 		.grp = PINCTRL_PINGROUP("gpio" #id, 	\
19*6a16d1a5SRohit Agarwal 			gpio##id##_pins, 		\
20*6a16d1a5SRohit Agarwal 			ARRAY_SIZE(gpio##id##_pins)),	\
21fcd26bf5SAbel Vesa 		.funcs = (int[]){			\
22fcd26bf5SAbel Vesa 			msm_mux_gpio, /* gpio mode */	\
23fcd26bf5SAbel Vesa 			msm_mux_##f1,			\
24fcd26bf5SAbel Vesa 			msm_mux_##f2,			\
25fcd26bf5SAbel Vesa 			msm_mux_##f3,			\
26fcd26bf5SAbel Vesa 			msm_mux_##f4,			\
27fcd26bf5SAbel Vesa 			msm_mux_##f5,			\
28fcd26bf5SAbel Vesa 			msm_mux_##f6,			\
29fcd26bf5SAbel Vesa 			msm_mux_##f7,			\
30fcd26bf5SAbel Vesa 			msm_mux_##f8,			\
31fcd26bf5SAbel Vesa 			msm_mux_##f9			\
32fcd26bf5SAbel Vesa 		},				        \
33fcd26bf5SAbel Vesa 		.nfuncs = 10,				\
34fcd26bf5SAbel Vesa 		.ctl_reg = REG_SIZE * id,			\
35fcd26bf5SAbel Vesa 		.io_reg = 0x4 + REG_SIZE * id,		\
36fcd26bf5SAbel Vesa 		.intr_cfg_reg = 0x8 + REG_SIZE * id,		\
37fcd26bf5SAbel Vesa 		.intr_status_reg = 0xc + REG_SIZE * id,	\
38fcd26bf5SAbel Vesa 		.intr_target_reg = 0x8 + REG_SIZE * id,	\
39fcd26bf5SAbel Vesa 		.mux_bit = 2,			\
40fcd26bf5SAbel Vesa 		.pull_bit = 0,			\
41fcd26bf5SAbel Vesa 		.drv_bit = 6,			\
42099f37a5SAbel Vesa 		.i2c_pull_bit = 13,		\
43fcd26bf5SAbel Vesa 		.egpio_enable = 12,		\
44fcd26bf5SAbel Vesa 		.egpio_present = 11,		\
45fcd26bf5SAbel Vesa 		.oe_bit = 9,			\
46fcd26bf5SAbel Vesa 		.in_bit = 0,			\
47fcd26bf5SAbel Vesa 		.out_bit = 1,			\
48fcd26bf5SAbel Vesa 		.intr_enable_bit = 0,		\
49fcd26bf5SAbel Vesa 		.intr_status_bit = 0,		\
50fcd26bf5SAbel Vesa 		.intr_target_bit = 5,		\
51fcd26bf5SAbel Vesa 		.intr_target_kpss_val = 3,	\
52fcd26bf5SAbel Vesa 		.intr_raw_status_bit = 4,	\
53fcd26bf5SAbel Vesa 		.intr_polarity_bit = 1,		\
54fcd26bf5SAbel Vesa 		.intr_detection_bit = 2,	\
55fcd26bf5SAbel Vesa 		.intr_detection_width = 2,	\
56fcd26bf5SAbel Vesa 	}
57fcd26bf5SAbel Vesa 
58fcd26bf5SAbel Vesa #define SDC_QDSD_PINGROUP(pg_name, ctl, pull, drv)	\
59fcd26bf5SAbel Vesa 	{					        \
60*6a16d1a5SRohit Agarwal 		.grp = PINCTRL_PINGROUP(#pg_name, 	\
61*6a16d1a5SRohit Agarwal 			pg_name##_pins, 		\
62*6a16d1a5SRohit Agarwal 			ARRAY_SIZE(pg_name##_pins)),	\
63fcd26bf5SAbel Vesa 		.ctl_reg = ctl,				\
64fcd26bf5SAbel Vesa 		.io_reg = 0,				\
65fcd26bf5SAbel Vesa 		.intr_cfg_reg = 0,			\
66fcd26bf5SAbel Vesa 		.intr_status_reg = 0,			\
67fcd26bf5SAbel Vesa 		.intr_target_reg = 0,			\
68fcd26bf5SAbel Vesa 		.mux_bit = -1,				\
69fcd26bf5SAbel Vesa 		.pull_bit = pull,			\
70fcd26bf5SAbel Vesa 		.drv_bit = drv,				\
71fcd26bf5SAbel Vesa 		.oe_bit = -1,				\
72fcd26bf5SAbel Vesa 		.in_bit = -1,				\
73fcd26bf5SAbel Vesa 		.out_bit = -1,				\
74fcd26bf5SAbel Vesa 		.intr_enable_bit = -1,			\
75fcd26bf5SAbel Vesa 		.intr_status_bit = -1,			\
76fcd26bf5SAbel Vesa 		.intr_target_bit = -1,			\
77fcd26bf5SAbel Vesa 		.intr_raw_status_bit = -1,		\
78fcd26bf5SAbel Vesa 		.intr_polarity_bit = -1,		\
79fcd26bf5SAbel Vesa 		.intr_detection_bit = -1,		\
80fcd26bf5SAbel Vesa 		.intr_detection_width = -1,		\
81fcd26bf5SAbel Vesa 	}
82fcd26bf5SAbel Vesa 
83fcd26bf5SAbel Vesa #define UFS_RESET(pg_name, offset)				\
84fcd26bf5SAbel Vesa 	{					        \
85*6a16d1a5SRohit Agarwal 		.grp = PINCTRL_PINGROUP(#pg_name, 	\
86*6a16d1a5SRohit Agarwal 			pg_name##_pins, 		\
87*6a16d1a5SRohit Agarwal 			ARRAY_SIZE(pg_name##_pins)),	\
88fcd26bf5SAbel Vesa 		.ctl_reg = offset,			\
89fcd26bf5SAbel Vesa 		.io_reg = offset + 0x4,			\
90fcd26bf5SAbel Vesa 		.intr_cfg_reg = 0,			\
91fcd26bf5SAbel Vesa 		.intr_status_reg = 0,			\
92fcd26bf5SAbel Vesa 		.intr_target_reg = 0,			\
93fcd26bf5SAbel Vesa 		.mux_bit = -1,				\
94fcd26bf5SAbel Vesa 		.pull_bit = 3,				\
95fcd26bf5SAbel Vesa 		.drv_bit = 0,				\
96fcd26bf5SAbel Vesa 		.oe_bit = -1,				\
97fcd26bf5SAbel Vesa 		.in_bit = -1,				\
98fcd26bf5SAbel Vesa 		.out_bit = 0,				\
99fcd26bf5SAbel Vesa 		.intr_enable_bit = -1,			\
100fcd26bf5SAbel Vesa 		.intr_status_bit = -1,			\
101fcd26bf5SAbel Vesa 		.intr_target_bit = -1,			\
102fcd26bf5SAbel Vesa 		.intr_raw_status_bit = -1,		\
103fcd26bf5SAbel Vesa 		.intr_polarity_bit = -1,		\
104fcd26bf5SAbel Vesa 		.intr_detection_bit = -1,		\
105fcd26bf5SAbel Vesa 		.intr_detection_width = -1,		\
106fcd26bf5SAbel Vesa 	}
107fcd26bf5SAbel Vesa 
108fcd26bf5SAbel Vesa static const struct pinctrl_pin_desc sm8550_pins[] = {
109fcd26bf5SAbel Vesa 	PINCTRL_PIN(0, "GPIO_0"),
110fcd26bf5SAbel Vesa 	PINCTRL_PIN(1, "GPIO_1"),
111fcd26bf5SAbel Vesa 	PINCTRL_PIN(2, "GPIO_2"),
112fcd26bf5SAbel Vesa 	PINCTRL_PIN(3, "GPIO_3"),
113fcd26bf5SAbel Vesa 	PINCTRL_PIN(4, "GPIO_4"),
114fcd26bf5SAbel Vesa 	PINCTRL_PIN(5, "GPIO_5"),
115fcd26bf5SAbel Vesa 	PINCTRL_PIN(6, "GPIO_6"),
116fcd26bf5SAbel Vesa 	PINCTRL_PIN(7, "GPIO_7"),
117fcd26bf5SAbel Vesa 	PINCTRL_PIN(8, "GPIO_8"),
118fcd26bf5SAbel Vesa 	PINCTRL_PIN(9, "GPIO_9"),
119fcd26bf5SAbel Vesa 	PINCTRL_PIN(10, "GPIO_10"),
120fcd26bf5SAbel Vesa 	PINCTRL_PIN(11, "GPIO_11"),
121fcd26bf5SAbel Vesa 	PINCTRL_PIN(12, "GPIO_12"),
122fcd26bf5SAbel Vesa 	PINCTRL_PIN(13, "GPIO_13"),
123fcd26bf5SAbel Vesa 	PINCTRL_PIN(14, "GPIO_14"),
124fcd26bf5SAbel Vesa 	PINCTRL_PIN(15, "GPIO_15"),
125fcd26bf5SAbel Vesa 	PINCTRL_PIN(16, "GPIO_16"),
126fcd26bf5SAbel Vesa 	PINCTRL_PIN(17, "GPIO_17"),
127fcd26bf5SAbel Vesa 	PINCTRL_PIN(18, "GPIO_18"),
128fcd26bf5SAbel Vesa 	PINCTRL_PIN(19, "GPIO_19"),
129fcd26bf5SAbel Vesa 	PINCTRL_PIN(20, "GPIO_20"),
130fcd26bf5SAbel Vesa 	PINCTRL_PIN(21, "GPIO_21"),
131fcd26bf5SAbel Vesa 	PINCTRL_PIN(22, "GPIO_22"),
132fcd26bf5SAbel Vesa 	PINCTRL_PIN(23, "GPIO_23"),
133fcd26bf5SAbel Vesa 	PINCTRL_PIN(24, "GPIO_24"),
134fcd26bf5SAbel Vesa 	PINCTRL_PIN(25, "GPIO_25"),
135fcd26bf5SAbel Vesa 	PINCTRL_PIN(26, "GPIO_26"),
136fcd26bf5SAbel Vesa 	PINCTRL_PIN(27, "GPIO_27"),
137fcd26bf5SAbel Vesa 	PINCTRL_PIN(28, "GPIO_28"),
138fcd26bf5SAbel Vesa 	PINCTRL_PIN(29, "GPIO_29"),
139fcd26bf5SAbel Vesa 	PINCTRL_PIN(30, "GPIO_30"),
140fcd26bf5SAbel Vesa 	PINCTRL_PIN(31, "GPIO_31"),
141fcd26bf5SAbel Vesa 	PINCTRL_PIN(32, "GPIO_32"),
142fcd26bf5SAbel Vesa 	PINCTRL_PIN(33, "GPIO_33"),
143fcd26bf5SAbel Vesa 	PINCTRL_PIN(34, "GPIO_34"),
144fcd26bf5SAbel Vesa 	PINCTRL_PIN(35, "GPIO_35"),
145fcd26bf5SAbel Vesa 	PINCTRL_PIN(36, "GPIO_36"),
146fcd26bf5SAbel Vesa 	PINCTRL_PIN(37, "GPIO_37"),
147fcd26bf5SAbel Vesa 	PINCTRL_PIN(38, "GPIO_38"),
148fcd26bf5SAbel Vesa 	PINCTRL_PIN(39, "GPIO_39"),
149fcd26bf5SAbel Vesa 	PINCTRL_PIN(40, "GPIO_40"),
150fcd26bf5SAbel Vesa 	PINCTRL_PIN(41, "GPIO_41"),
151fcd26bf5SAbel Vesa 	PINCTRL_PIN(42, "GPIO_42"),
152fcd26bf5SAbel Vesa 	PINCTRL_PIN(43, "GPIO_43"),
153fcd26bf5SAbel Vesa 	PINCTRL_PIN(44, "GPIO_44"),
154fcd26bf5SAbel Vesa 	PINCTRL_PIN(45, "GPIO_45"),
155fcd26bf5SAbel Vesa 	PINCTRL_PIN(46, "GPIO_46"),
156fcd26bf5SAbel Vesa 	PINCTRL_PIN(47, "GPIO_47"),
157fcd26bf5SAbel Vesa 	PINCTRL_PIN(48, "GPIO_48"),
158fcd26bf5SAbel Vesa 	PINCTRL_PIN(49, "GPIO_49"),
159fcd26bf5SAbel Vesa 	PINCTRL_PIN(50, "GPIO_50"),
160fcd26bf5SAbel Vesa 	PINCTRL_PIN(51, "GPIO_51"),
161fcd26bf5SAbel Vesa 	PINCTRL_PIN(52, "GPIO_52"),
162fcd26bf5SAbel Vesa 	PINCTRL_PIN(53, "GPIO_53"),
163fcd26bf5SAbel Vesa 	PINCTRL_PIN(54, "GPIO_54"),
164fcd26bf5SAbel Vesa 	PINCTRL_PIN(55, "GPIO_55"),
165fcd26bf5SAbel Vesa 	PINCTRL_PIN(56, "GPIO_56"),
166fcd26bf5SAbel Vesa 	PINCTRL_PIN(57, "GPIO_57"),
167fcd26bf5SAbel Vesa 	PINCTRL_PIN(58, "GPIO_58"),
168fcd26bf5SAbel Vesa 	PINCTRL_PIN(59, "GPIO_59"),
169fcd26bf5SAbel Vesa 	PINCTRL_PIN(60, "GPIO_60"),
170fcd26bf5SAbel Vesa 	PINCTRL_PIN(61, "GPIO_61"),
171fcd26bf5SAbel Vesa 	PINCTRL_PIN(62, "GPIO_62"),
172fcd26bf5SAbel Vesa 	PINCTRL_PIN(63, "GPIO_63"),
173fcd26bf5SAbel Vesa 	PINCTRL_PIN(64, "GPIO_64"),
174fcd26bf5SAbel Vesa 	PINCTRL_PIN(65, "GPIO_65"),
175fcd26bf5SAbel Vesa 	PINCTRL_PIN(66, "GPIO_66"),
176fcd26bf5SAbel Vesa 	PINCTRL_PIN(67, "GPIO_67"),
177fcd26bf5SAbel Vesa 	PINCTRL_PIN(68, "GPIO_68"),
178fcd26bf5SAbel Vesa 	PINCTRL_PIN(69, "GPIO_69"),
179fcd26bf5SAbel Vesa 	PINCTRL_PIN(70, "GPIO_70"),
180fcd26bf5SAbel Vesa 	PINCTRL_PIN(71, "GPIO_71"),
181fcd26bf5SAbel Vesa 	PINCTRL_PIN(72, "GPIO_72"),
182fcd26bf5SAbel Vesa 	PINCTRL_PIN(73, "GPIO_73"),
183fcd26bf5SAbel Vesa 	PINCTRL_PIN(74, "GPIO_74"),
184fcd26bf5SAbel Vesa 	PINCTRL_PIN(75, "GPIO_75"),
185fcd26bf5SAbel Vesa 	PINCTRL_PIN(76, "GPIO_76"),
186fcd26bf5SAbel Vesa 	PINCTRL_PIN(77, "GPIO_77"),
187fcd26bf5SAbel Vesa 	PINCTRL_PIN(78, "GPIO_78"),
188fcd26bf5SAbel Vesa 	PINCTRL_PIN(79, "GPIO_79"),
189fcd26bf5SAbel Vesa 	PINCTRL_PIN(80, "GPIO_80"),
190fcd26bf5SAbel Vesa 	PINCTRL_PIN(81, "GPIO_81"),
191fcd26bf5SAbel Vesa 	PINCTRL_PIN(82, "GPIO_82"),
192fcd26bf5SAbel Vesa 	PINCTRL_PIN(83, "GPIO_83"),
193fcd26bf5SAbel Vesa 	PINCTRL_PIN(84, "GPIO_84"),
194fcd26bf5SAbel Vesa 	PINCTRL_PIN(85, "GPIO_85"),
195fcd26bf5SAbel Vesa 	PINCTRL_PIN(86, "GPIO_86"),
196fcd26bf5SAbel Vesa 	PINCTRL_PIN(87, "GPIO_87"),
197fcd26bf5SAbel Vesa 	PINCTRL_PIN(88, "GPIO_88"),
198fcd26bf5SAbel Vesa 	PINCTRL_PIN(89, "GPIO_89"),
199fcd26bf5SAbel Vesa 	PINCTRL_PIN(90, "GPIO_90"),
200fcd26bf5SAbel Vesa 	PINCTRL_PIN(91, "GPIO_91"),
201fcd26bf5SAbel Vesa 	PINCTRL_PIN(92, "GPIO_92"),
202fcd26bf5SAbel Vesa 	PINCTRL_PIN(93, "GPIO_93"),
203fcd26bf5SAbel Vesa 	PINCTRL_PIN(94, "GPIO_94"),
204fcd26bf5SAbel Vesa 	PINCTRL_PIN(95, "GPIO_95"),
205fcd26bf5SAbel Vesa 	PINCTRL_PIN(96, "GPIO_96"),
206fcd26bf5SAbel Vesa 	PINCTRL_PIN(97, "GPIO_97"),
207fcd26bf5SAbel Vesa 	PINCTRL_PIN(98, "GPIO_98"),
208fcd26bf5SAbel Vesa 	PINCTRL_PIN(99, "GPIO_99"),
209fcd26bf5SAbel Vesa 	PINCTRL_PIN(100, "GPIO_100"),
210fcd26bf5SAbel Vesa 	PINCTRL_PIN(101, "GPIO_101"),
211fcd26bf5SAbel Vesa 	PINCTRL_PIN(102, "GPIO_102"),
212fcd26bf5SAbel Vesa 	PINCTRL_PIN(103, "GPIO_103"),
213fcd26bf5SAbel Vesa 	PINCTRL_PIN(104, "GPIO_104"),
214fcd26bf5SAbel Vesa 	PINCTRL_PIN(105, "GPIO_105"),
215fcd26bf5SAbel Vesa 	PINCTRL_PIN(106, "GPIO_106"),
216fcd26bf5SAbel Vesa 	PINCTRL_PIN(107, "GPIO_107"),
217fcd26bf5SAbel Vesa 	PINCTRL_PIN(108, "GPIO_108"),
218fcd26bf5SAbel Vesa 	PINCTRL_PIN(109, "GPIO_109"),
219fcd26bf5SAbel Vesa 	PINCTRL_PIN(110, "GPIO_110"),
220fcd26bf5SAbel Vesa 	PINCTRL_PIN(111, "GPIO_111"),
221fcd26bf5SAbel Vesa 	PINCTRL_PIN(112, "GPIO_112"),
222fcd26bf5SAbel Vesa 	PINCTRL_PIN(113, "GPIO_113"),
223fcd26bf5SAbel Vesa 	PINCTRL_PIN(114, "GPIO_114"),
224fcd26bf5SAbel Vesa 	PINCTRL_PIN(115, "GPIO_115"),
225fcd26bf5SAbel Vesa 	PINCTRL_PIN(116, "GPIO_116"),
226fcd26bf5SAbel Vesa 	PINCTRL_PIN(117, "GPIO_117"),
227fcd26bf5SAbel Vesa 	PINCTRL_PIN(118, "GPIO_118"),
228fcd26bf5SAbel Vesa 	PINCTRL_PIN(119, "GPIO_119"),
229fcd26bf5SAbel Vesa 	PINCTRL_PIN(120, "GPIO_120"),
230fcd26bf5SAbel Vesa 	PINCTRL_PIN(121, "GPIO_121"),
231fcd26bf5SAbel Vesa 	PINCTRL_PIN(122, "GPIO_122"),
232fcd26bf5SAbel Vesa 	PINCTRL_PIN(123, "GPIO_123"),
233fcd26bf5SAbel Vesa 	PINCTRL_PIN(124, "GPIO_124"),
234fcd26bf5SAbel Vesa 	PINCTRL_PIN(125, "GPIO_125"),
235fcd26bf5SAbel Vesa 	PINCTRL_PIN(126, "GPIO_126"),
236fcd26bf5SAbel Vesa 	PINCTRL_PIN(127, "GPIO_127"),
237fcd26bf5SAbel Vesa 	PINCTRL_PIN(128, "GPIO_128"),
238fcd26bf5SAbel Vesa 	PINCTRL_PIN(129, "GPIO_129"),
239fcd26bf5SAbel Vesa 	PINCTRL_PIN(130, "GPIO_130"),
240fcd26bf5SAbel Vesa 	PINCTRL_PIN(131, "GPIO_131"),
241fcd26bf5SAbel Vesa 	PINCTRL_PIN(132, "GPIO_132"),
242fcd26bf5SAbel Vesa 	PINCTRL_PIN(133, "GPIO_133"),
243fcd26bf5SAbel Vesa 	PINCTRL_PIN(134, "GPIO_134"),
244fcd26bf5SAbel Vesa 	PINCTRL_PIN(135, "GPIO_135"),
245fcd26bf5SAbel Vesa 	PINCTRL_PIN(136, "GPIO_136"),
246fcd26bf5SAbel Vesa 	PINCTRL_PIN(137, "GPIO_137"),
247fcd26bf5SAbel Vesa 	PINCTRL_PIN(138, "GPIO_138"),
248fcd26bf5SAbel Vesa 	PINCTRL_PIN(139, "GPIO_139"),
249fcd26bf5SAbel Vesa 	PINCTRL_PIN(140, "GPIO_140"),
250fcd26bf5SAbel Vesa 	PINCTRL_PIN(141, "GPIO_141"),
251fcd26bf5SAbel Vesa 	PINCTRL_PIN(142, "GPIO_142"),
252fcd26bf5SAbel Vesa 	PINCTRL_PIN(143, "GPIO_143"),
253fcd26bf5SAbel Vesa 	PINCTRL_PIN(144, "GPIO_144"),
254fcd26bf5SAbel Vesa 	PINCTRL_PIN(145, "GPIO_145"),
255fcd26bf5SAbel Vesa 	PINCTRL_PIN(146, "GPIO_146"),
256fcd26bf5SAbel Vesa 	PINCTRL_PIN(147, "GPIO_147"),
257fcd26bf5SAbel Vesa 	PINCTRL_PIN(148, "GPIO_148"),
258fcd26bf5SAbel Vesa 	PINCTRL_PIN(149, "GPIO_149"),
259fcd26bf5SAbel Vesa 	PINCTRL_PIN(150, "GPIO_150"),
260fcd26bf5SAbel Vesa 	PINCTRL_PIN(151, "GPIO_151"),
261fcd26bf5SAbel Vesa 	PINCTRL_PIN(152, "GPIO_152"),
262fcd26bf5SAbel Vesa 	PINCTRL_PIN(153, "GPIO_153"),
263fcd26bf5SAbel Vesa 	PINCTRL_PIN(154, "GPIO_154"),
264fcd26bf5SAbel Vesa 	PINCTRL_PIN(155, "GPIO_155"),
265fcd26bf5SAbel Vesa 	PINCTRL_PIN(156, "GPIO_156"),
266fcd26bf5SAbel Vesa 	PINCTRL_PIN(157, "GPIO_157"),
267fcd26bf5SAbel Vesa 	PINCTRL_PIN(158, "GPIO_158"),
268fcd26bf5SAbel Vesa 	PINCTRL_PIN(159, "GPIO_159"),
269fcd26bf5SAbel Vesa 	PINCTRL_PIN(160, "GPIO_160"),
270fcd26bf5SAbel Vesa 	PINCTRL_PIN(161, "GPIO_161"),
271fcd26bf5SAbel Vesa 	PINCTRL_PIN(162, "GPIO_162"),
272fcd26bf5SAbel Vesa 	PINCTRL_PIN(163, "GPIO_163"),
273fcd26bf5SAbel Vesa 	PINCTRL_PIN(164, "GPIO_164"),
274fcd26bf5SAbel Vesa 	PINCTRL_PIN(165, "GPIO_165"),
275fcd26bf5SAbel Vesa 	PINCTRL_PIN(166, "GPIO_166"),
276fcd26bf5SAbel Vesa 	PINCTRL_PIN(167, "GPIO_167"),
277fcd26bf5SAbel Vesa 	PINCTRL_PIN(168, "GPIO_168"),
278fcd26bf5SAbel Vesa 	PINCTRL_PIN(169, "GPIO_169"),
279fcd26bf5SAbel Vesa 	PINCTRL_PIN(170, "GPIO_170"),
280fcd26bf5SAbel Vesa 	PINCTRL_PIN(171, "GPIO_171"),
281fcd26bf5SAbel Vesa 	PINCTRL_PIN(172, "GPIO_172"),
282fcd26bf5SAbel Vesa 	PINCTRL_PIN(173, "GPIO_173"),
283fcd26bf5SAbel Vesa 	PINCTRL_PIN(174, "GPIO_174"),
284fcd26bf5SAbel Vesa 	PINCTRL_PIN(175, "GPIO_175"),
285fcd26bf5SAbel Vesa 	PINCTRL_PIN(176, "GPIO_176"),
286fcd26bf5SAbel Vesa 	PINCTRL_PIN(177, "GPIO_177"),
287fcd26bf5SAbel Vesa 	PINCTRL_PIN(178, "GPIO_178"),
288fcd26bf5SAbel Vesa 	PINCTRL_PIN(179, "GPIO_179"),
289fcd26bf5SAbel Vesa 	PINCTRL_PIN(180, "GPIO_180"),
290fcd26bf5SAbel Vesa 	PINCTRL_PIN(181, "GPIO_181"),
291fcd26bf5SAbel Vesa 	PINCTRL_PIN(182, "GPIO_182"),
292fcd26bf5SAbel Vesa 	PINCTRL_PIN(183, "GPIO_183"),
293fcd26bf5SAbel Vesa 	PINCTRL_PIN(184, "GPIO_184"),
294fcd26bf5SAbel Vesa 	PINCTRL_PIN(185, "GPIO_185"),
295fcd26bf5SAbel Vesa 	PINCTRL_PIN(186, "GPIO_186"),
296fcd26bf5SAbel Vesa 	PINCTRL_PIN(187, "GPIO_187"),
297fcd26bf5SAbel Vesa 	PINCTRL_PIN(188, "GPIO_188"),
298fcd26bf5SAbel Vesa 	PINCTRL_PIN(189, "GPIO_189"),
299fcd26bf5SAbel Vesa 	PINCTRL_PIN(190, "GPIO_190"),
300fcd26bf5SAbel Vesa 	PINCTRL_PIN(191, "GPIO_191"),
301fcd26bf5SAbel Vesa 	PINCTRL_PIN(192, "GPIO_192"),
302fcd26bf5SAbel Vesa 	PINCTRL_PIN(193, "GPIO_193"),
303fcd26bf5SAbel Vesa 	PINCTRL_PIN(194, "GPIO_194"),
304fcd26bf5SAbel Vesa 	PINCTRL_PIN(195, "GPIO_195"),
305fcd26bf5SAbel Vesa 	PINCTRL_PIN(196, "GPIO_196"),
306fcd26bf5SAbel Vesa 	PINCTRL_PIN(197, "GPIO_197"),
307fcd26bf5SAbel Vesa 	PINCTRL_PIN(198, "GPIO_198"),
308fcd26bf5SAbel Vesa 	PINCTRL_PIN(199, "GPIO_199"),
309fcd26bf5SAbel Vesa 	PINCTRL_PIN(200, "GPIO_200"),
310fcd26bf5SAbel Vesa 	PINCTRL_PIN(201, "GPIO_201"),
311fcd26bf5SAbel Vesa 	PINCTRL_PIN(202, "GPIO_202"),
312fcd26bf5SAbel Vesa 	PINCTRL_PIN(203, "GPIO_203"),
313fcd26bf5SAbel Vesa 	PINCTRL_PIN(204, "GPIO_204"),
314fcd26bf5SAbel Vesa 	PINCTRL_PIN(205, "GPIO_205"),
315fcd26bf5SAbel Vesa 	PINCTRL_PIN(206, "GPIO_206"),
316fcd26bf5SAbel Vesa 	PINCTRL_PIN(207, "GPIO_207"),
317fcd26bf5SAbel Vesa 	PINCTRL_PIN(208, "GPIO_208"),
318fcd26bf5SAbel Vesa 	PINCTRL_PIN(209, "GPIO_209"),
319fcd26bf5SAbel Vesa 	PINCTRL_PIN(210, "UFS_RESET"),
320fcd26bf5SAbel Vesa 	PINCTRL_PIN(211, "SDC2_CLK"),
321fcd26bf5SAbel Vesa 	PINCTRL_PIN(212, "SDC2_CMD"),
322fcd26bf5SAbel Vesa 	PINCTRL_PIN(213, "SDC2_DATA"),
323fcd26bf5SAbel Vesa };
324fcd26bf5SAbel Vesa 
325fcd26bf5SAbel Vesa #define DECLARE_MSM_GPIO_PINS(pin) \
326fcd26bf5SAbel Vesa 	static const unsigned int gpio##pin##_pins[] = { pin }
327fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(0);
328fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(1);
329fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(2);
330fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(3);
331fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(4);
332fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(5);
333fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(6);
334fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(7);
335fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(8);
336fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(9);
337fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(10);
338fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(11);
339fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(12);
340fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(13);
341fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(14);
342fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(15);
343fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(16);
344fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(17);
345fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(18);
346fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(19);
347fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(20);
348fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(21);
349fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(22);
350fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(23);
351fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(24);
352fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(25);
353fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(26);
354fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(27);
355fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(28);
356fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(29);
357fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(30);
358fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(31);
359fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(32);
360fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(33);
361fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(34);
362fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(35);
363fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(36);
364fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(37);
365fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(38);
366fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(39);
367fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(40);
368fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(41);
369fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(42);
370fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(43);
371fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(44);
372fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(45);
373fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(46);
374fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(47);
375fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(48);
376fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(49);
377fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(50);
378fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(51);
379fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(52);
380fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(53);
381fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(54);
382fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(55);
383fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(56);
384fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(57);
385fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(58);
386fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(59);
387fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(60);
388fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(61);
389fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(62);
390fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(63);
391fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(64);
392fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(65);
393fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(66);
394fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(67);
395fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(68);
396fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(69);
397fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(70);
398fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(71);
399fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(72);
400fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(73);
401fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(74);
402fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(75);
403fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(76);
404fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(77);
405fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(78);
406fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(79);
407fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(80);
408fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(81);
409fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(82);
410fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(83);
411fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(84);
412fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(85);
413fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(86);
414fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(87);
415fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(88);
416fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(89);
417fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(90);
418fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(91);
419fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(92);
420fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(93);
421fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(94);
422fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(95);
423fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(96);
424fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(97);
425fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(98);
426fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(99);
427fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(100);
428fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(101);
429fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(102);
430fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(103);
431fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(104);
432fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(105);
433fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(106);
434fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(107);
435fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(108);
436fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(109);
437fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(110);
438fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(111);
439fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(112);
440fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(113);
441fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(114);
442fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(115);
443fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(116);
444fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(117);
445fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(118);
446fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(119);
447fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(120);
448fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(121);
449fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(122);
450fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(123);
451fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(124);
452fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(125);
453fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(126);
454fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(127);
455fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(128);
456fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(129);
457fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(130);
458fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(131);
459fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(132);
460fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(133);
461fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(134);
462fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(135);
463fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(136);
464fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(137);
465fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(138);
466fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(139);
467fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(140);
468fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(141);
469fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(142);
470fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(143);
471fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(144);
472fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(145);
473fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(146);
474fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(147);
475fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(148);
476fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(149);
477fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(150);
478fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(151);
479fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(152);
480fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(153);
481fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(154);
482fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(155);
483fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(156);
484fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(157);
485fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(158);
486fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(159);
487fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(160);
488fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(161);
489fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(162);
490fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(163);
491fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(164);
492fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(165);
493fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(166);
494fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(167);
495fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(168);
496fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(169);
497fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(170);
498fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(171);
499fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(172);
500fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(173);
501fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(174);
502fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(175);
503fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(176);
504fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(177);
505fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(178);
506fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(179);
507fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(180);
508fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(181);
509fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(182);
510fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(183);
511fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(184);
512fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(185);
513fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(186);
514fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(187);
515fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(188);
516fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(189);
517fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(190);
518fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(191);
519fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(192);
520fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(193);
521fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(194);
522fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(195);
523fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(196);
524fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(197);
525fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(198);
526fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(199);
527fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(200);
528fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(201);
529fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(202);
530fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(203);
531fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(204);
532fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(205);
533fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(206);
534fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(207);
535fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(208);
536fcd26bf5SAbel Vesa DECLARE_MSM_GPIO_PINS(209);
537fcd26bf5SAbel Vesa 
538fcd26bf5SAbel Vesa static const unsigned int ufs_reset_pins[] = { 210 };
539fcd26bf5SAbel Vesa static const unsigned int sdc2_clk_pins[] = { 211 };
540fcd26bf5SAbel Vesa static const unsigned int sdc2_cmd_pins[] = { 212 };
541fcd26bf5SAbel Vesa static const unsigned int sdc2_data_pins[] = { 213 };
542fcd26bf5SAbel Vesa 
543fcd26bf5SAbel Vesa enum sm8550_functions {
544fcd26bf5SAbel Vesa 	msm_mux_gpio,
545fcd26bf5SAbel Vesa 	msm_mux_aon_cci,
546fcd26bf5SAbel Vesa 	msm_mux_aoss_cti,
547fcd26bf5SAbel Vesa 	msm_mux_atest_char,
548fcd26bf5SAbel Vesa 	msm_mux_atest_usb,
549fcd26bf5SAbel Vesa 	msm_mux_audio_ext_mclk0,
550fcd26bf5SAbel Vesa 	msm_mux_audio_ext_mclk1,
551fcd26bf5SAbel Vesa 	msm_mux_audio_ref_clk,
552fcd26bf5SAbel Vesa 	msm_mux_cam_aon_mclk4,
553fcd26bf5SAbel Vesa 	msm_mux_cam_mclk,
554fcd26bf5SAbel Vesa 	msm_mux_cci_async_in,
555fcd26bf5SAbel Vesa 	msm_mux_cci_i2c_scl,
556fcd26bf5SAbel Vesa 	msm_mux_cci_i2c_sda,
557fcd26bf5SAbel Vesa 	msm_mux_cci_timer,
558fcd26bf5SAbel Vesa 	msm_mux_cmu_rng,
559fcd26bf5SAbel Vesa 	msm_mux_coex_uart1_rx,
560fcd26bf5SAbel Vesa 	msm_mux_coex_uart1_tx,
561fcd26bf5SAbel Vesa 	msm_mux_coex_uart2_rx,
562fcd26bf5SAbel Vesa 	msm_mux_coex_uart2_tx,
563fcd26bf5SAbel Vesa 	msm_mux_cri_trng,
564fcd26bf5SAbel Vesa 	msm_mux_dbg_out_clk,
565fcd26bf5SAbel Vesa 	msm_mux_ddr_bist_complete,
566fcd26bf5SAbel Vesa 	msm_mux_ddr_bist_fail,
567fcd26bf5SAbel Vesa 	msm_mux_ddr_bist_start,
568fcd26bf5SAbel Vesa 	msm_mux_ddr_bist_stop,
569fcd26bf5SAbel Vesa 	msm_mux_ddr_pxi0,
570fcd26bf5SAbel Vesa 	msm_mux_ddr_pxi1,
571fcd26bf5SAbel Vesa 	msm_mux_ddr_pxi2,
572fcd26bf5SAbel Vesa 	msm_mux_ddr_pxi3,
573fcd26bf5SAbel Vesa 	msm_mux_dp_hot,
574fcd26bf5SAbel Vesa 	msm_mux_gcc_gp1,
575fcd26bf5SAbel Vesa 	msm_mux_gcc_gp2,
576fcd26bf5SAbel Vesa 	msm_mux_gcc_gp3,
577fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se0,
578fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se1,
579fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se2,
580fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se3,
581fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se4,
582fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se5,
583fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se6,
584fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se7,
585fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se8,
586fcd26bf5SAbel Vesa 	msm_mux_i2chub0_se9,
587fcd26bf5SAbel Vesa 	msm_mux_i2s0_data0,
588fcd26bf5SAbel Vesa 	msm_mux_i2s0_data1,
589fcd26bf5SAbel Vesa 	msm_mux_i2s0_sck,
590fcd26bf5SAbel Vesa 	msm_mux_i2s0_ws,
591fcd26bf5SAbel Vesa 	msm_mux_i2s1_data0,
592fcd26bf5SAbel Vesa 	msm_mux_i2s1_data1,
593fcd26bf5SAbel Vesa 	msm_mux_i2s1_sck,
594fcd26bf5SAbel Vesa 	msm_mux_i2s1_ws,
595fcd26bf5SAbel Vesa 	msm_mux_ibi_i3c,
596fcd26bf5SAbel Vesa 	msm_mux_jitter_bist,
597fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync,
598fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync0_out,
599fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync1_out,
600fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync2_out,
601fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync3_out,
602fcd26bf5SAbel Vesa 	msm_mux_mdp_vsync_e,
603fcd26bf5SAbel Vesa 	msm_mux_nav_gpio0,
604fcd26bf5SAbel Vesa 	msm_mux_nav_gpio1,
605fcd26bf5SAbel Vesa 	msm_mux_nav_gpio2,
606fcd26bf5SAbel Vesa 	msm_mux_pcie0_clk_req_n,
607fcd26bf5SAbel Vesa 	msm_mux_pcie1_clk_req_n,
608fcd26bf5SAbel Vesa 	msm_mux_phase_flag,
609fcd26bf5SAbel Vesa 	msm_mux_pll_bist_sync,
610fcd26bf5SAbel Vesa 	msm_mux_pll_clk_aux,
611fcd26bf5SAbel Vesa 	msm_mux_prng_rosc0,
612fcd26bf5SAbel Vesa 	msm_mux_prng_rosc1,
613fcd26bf5SAbel Vesa 	msm_mux_prng_rosc2,
614fcd26bf5SAbel Vesa 	msm_mux_prng_rosc3,
615fcd26bf5SAbel Vesa 	msm_mux_qdss_cti,
616fcd26bf5SAbel Vesa 	msm_mux_qdss_gpio,
617fcd26bf5SAbel Vesa 	msm_mux_qlink0_enable,
618fcd26bf5SAbel Vesa 	msm_mux_qlink0_request,
619fcd26bf5SAbel Vesa 	msm_mux_qlink0_wmss,
620fcd26bf5SAbel Vesa 	msm_mux_qlink1_enable,
621fcd26bf5SAbel Vesa 	msm_mux_qlink1_request,
622fcd26bf5SAbel Vesa 	msm_mux_qlink1_wmss,
623fcd26bf5SAbel Vesa 	msm_mux_qlink2_enable,
624fcd26bf5SAbel Vesa 	msm_mux_qlink2_request,
625fcd26bf5SAbel Vesa 	msm_mux_qlink2_wmss,
626fcd26bf5SAbel Vesa 	msm_mux_qspi0,
627fcd26bf5SAbel Vesa 	msm_mux_qspi1,
628fcd26bf5SAbel Vesa 	msm_mux_qspi2,
629fcd26bf5SAbel Vesa 	msm_mux_qspi3,
630fcd26bf5SAbel Vesa 	msm_mux_qspi_clk,
631fcd26bf5SAbel Vesa 	msm_mux_qspi_cs,
632fcd26bf5SAbel Vesa 	msm_mux_qup1_se0,
633fcd26bf5SAbel Vesa 	msm_mux_qup1_se1,
634fcd26bf5SAbel Vesa 	msm_mux_qup1_se2,
635fcd26bf5SAbel Vesa 	msm_mux_qup1_se3,
636fcd26bf5SAbel Vesa 	msm_mux_qup1_se4,
637fcd26bf5SAbel Vesa 	msm_mux_qup1_se5,
638fcd26bf5SAbel Vesa 	msm_mux_qup1_se6,
639fcd26bf5SAbel Vesa 	msm_mux_qup1_se7,
640fcd26bf5SAbel Vesa 	msm_mux_qup2_se0,
641fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l0_mira,
642fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l0_mirb,
643fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l1_mira,
644fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l1_mirb,
645fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l2_mira,
646fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l2_mirb,
647fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l3_mira,
648fcd26bf5SAbel Vesa 	msm_mux_qup2_se0_l3_mirb,
649fcd26bf5SAbel Vesa 	msm_mux_qup2_se1,
650fcd26bf5SAbel Vesa 	msm_mux_qup2_se2,
651fcd26bf5SAbel Vesa 	msm_mux_qup2_se3,
652fcd26bf5SAbel Vesa 	msm_mux_qup2_se4,
653fcd26bf5SAbel Vesa 	msm_mux_qup2_se5,
654fcd26bf5SAbel Vesa 	msm_mux_qup2_se6,
655fcd26bf5SAbel Vesa 	msm_mux_qup2_se7,
656fcd26bf5SAbel Vesa 	msm_mux_resout_n,
657fcd26bf5SAbel Vesa 	msm_mux_sd_write_protect,
658fcd26bf5SAbel Vesa 	msm_mux_sdc40,
659fcd26bf5SAbel Vesa 	msm_mux_sdc41,
660fcd26bf5SAbel Vesa 	msm_mux_sdc42,
661fcd26bf5SAbel Vesa 	msm_mux_sdc43,
662fcd26bf5SAbel Vesa 	msm_mux_sdc4_clk,
663fcd26bf5SAbel Vesa 	msm_mux_sdc4_cmd,
664fcd26bf5SAbel Vesa 	msm_mux_tb_trig_sdc2,
665fcd26bf5SAbel Vesa 	msm_mux_tb_trig_sdc4,
666fcd26bf5SAbel Vesa 	msm_mux_tgu_ch0_trigout,
667fcd26bf5SAbel Vesa 	msm_mux_tgu_ch1_trigout,
668fcd26bf5SAbel Vesa 	msm_mux_tgu_ch2_trigout,
669fcd26bf5SAbel Vesa 	msm_mux_tgu_ch3_trigout,
670fcd26bf5SAbel Vesa 	msm_mux_tmess_prng0,
671fcd26bf5SAbel Vesa 	msm_mux_tmess_prng1,
672fcd26bf5SAbel Vesa 	msm_mux_tmess_prng2,
673fcd26bf5SAbel Vesa 	msm_mux_tmess_prng3,
674fcd26bf5SAbel Vesa 	msm_mux_tsense_pwm1,
675fcd26bf5SAbel Vesa 	msm_mux_tsense_pwm2,
676fcd26bf5SAbel Vesa 	msm_mux_tsense_pwm3,
677fcd26bf5SAbel Vesa 	msm_mux_uim0_clk,
678fcd26bf5SAbel Vesa 	msm_mux_uim0_data,
679fcd26bf5SAbel Vesa 	msm_mux_uim0_present,
680fcd26bf5SAbel Vesa 	msm_mux_uim0_reset,
681fcd26bf5SAbel Vesa 	msm_mux_uim1_clk,
682fcd26bf5SAbel Vesa 	msm_mux_uim1_data,
683fcd26bf5SAbel Vesa 	msm_mux_uim1_present,
684fcd26bf5SAbel Vesa 	msm_mux_uim1_reset,
685fcd26bf5SAbel Vesa 	msm_mux_usb1_hs,
686fcd26bf5SAbel Vesa 	msm_mux_usb_phy,
687fcd26bf5SAbel Vesa 	msm_mux_vfr_0,
688fcd26bf5SAbel Vesa 	msm_mux_vfr_1,
689fcd26bf5SAbel Vesa 	msm_mux_vsense_trigger_mirnat,
690fcd26bf5SAbel Vesa 	msm_mux__,
691fcd26bf5SAbel Vesa };
692fcd26bf5SAbel Vesa 
693fcd26bf5SAbel Vesa static const char * const gpio_groups[] = {
694fcd26bf5SAbel Vesa 	"gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6", "gpio7",
695fcd26bf5SAbel Vesa 	"gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "gpio14",
696fcd26bf5SAbel Vesa 	"gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", "gpio21",
697fcd26bf5SAbel Vesa 	"gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", "gpio28",
698fcd26bf5SAbel Vesa 	"gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
699fcd26bf5SAbel Vesa 	"gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
700fcd26bf5SAbel Vesa 	"gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
701fcd26bf5SAbel Vesa 	"gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
702fcd26bf5SAbel Vesa 	"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
703fcd26bf5SAbel Vesa 	"gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
704fcd26bf5SAbel Vesa 	"gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
705fcd26bf5SAbel Vesa 	"gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
706fcd26bf5SAbel Vesa 	"gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
707fcd26bf5SAbel Vesa 	"gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
708fcd26bf5SAbel Vesa 	"gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
709fcd26bf5SAbel Vesa 	"gpio105", "gpio106", "gpio107", "gpio108", "gpio109", "gpio110",
710fcd26bf5SAbel Vesa 	"gpio111", "gpio112", "gpio113", "gpio114", "gpio115", "gpio116",
711fcd26bf5SAbel Vesa 	"gpio117", "gpio118", "gpio119", "gpio120", "gpio121", "gpio122",
712fcd26bf5SAbel Vesa 	"gpio123", "gpio124", "gpio125", "gpio126", "gpio127", "gpio128",
713fcd26bf5SAbel Vesa 	"gpio129", "gpio130", "gpio131", "gpio132", "gpio133", "gpio134",
714fcd26bf5SAbel Vesa 	"gpio135", "gpio136", "gpio137", "gpio138", "gpio139", "gpio140",
715fcd26bf5SAbel Vesa 	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio146",
716fcd26bf5SAbel Vesa 	"gpio147", "gpio148", "gpio149", "gpio150", "gpio151", "gpio152",
717fcd26bf5SAbel Vesa 	"gpio153", "gpio154", "gpio155", "gpio156", "gpio157", "gpio158",
718fcd26bf5SAbel Vesa 	"gpio159", "gpio160", "gpio161", "gpio162", "gpio163", "gpio164",
719fcd26bf5SAbel Vesa 	"gpio165", "gpio166", "gpio167", "gpio168", "gpio169", "gpio170",
720fcd26bf5SAbel Vesa 	"gpio171", "gpio172", "gpio173", "gpio174", "gpio175", "gpio176",
721fcd26bf5SAbel Vesa 	"gpio177", "gpio178", "gpio179", "gpio180", "gpio181", "gpio182",
722fcd26bf5SAbel Vesa 	"gpio183", "gpio184", "gpio185", "gpio186", "gpio187", "gpio188",
723fcd26bf5SAbel Vesa 	"gpio189", "gpio190", "gpio191", "gpio192", "gpio193", "gpio194",
724fcd26bf5SAbel Vesa 	"gpio195", "gpio196", "gpio197", "gpio198", "gpio199", "gpio200",
725fcd26bf5SAbel Vesa 	"gpio201", "gpio202", "gpio203", "gpio204", "gpio205", "gpio206",
726fcd26bf5SAbel Vesa 	"gpio207", "gpio208", "gpio209",
727fcd26bf5SAbel Vesa };
728fcd26bf5SAbel Vesa 
729fcd26bf5SAbel Vesa static const char * const aon_cci_groups[] = {
730fcd26bf5SAbel Vesa 	"gpio208", "gpio209",
731fcd26bf5SAbel Vesa };
732fcd26bf5SAbel Vesa 
733fcd26bf5SAbel Vesa static const char * const aoss_cti_groups[] = {
734fcd26bf5SAbel Vesa 	"gpio44", "gpio45", "gpio46", "gpio47",
735fcd26bf5SAbel Vesa };
736fcd26bf5SAbel Vesa 
737fcd26bf5SAbel Vesa static const char *const atest_char_groups[] = {
738fcd26bf5SAbel Vesa 	"gpio130", "gpio132", "gpio133", "gpio134", "gpio135",
739fcd26bf5SAbel Vesa };
740fcd26bf5SAbel Vesa 
741fcd26bf5SAbel Vesa static const char *const atest_usb_groups[] = {
742fcd26bf5SAbel Vesa 	"gpio37", "gpio39", "gpio55", "gpio149", "gpio148",
743fcd26bf5SAbel Vesa };
744fcd26bf5SAbel Vesa 
745fcd26bf5SAbel Vesa static const char *const audio_ext_mclk0_groups[] = {
746fcd26bf5SAbel Vesa 	"gpio125",
747fcd26bf5SAbel Vesa };
748fcd26bf5SAbel Vesa 
749fcd26bf5SAbel Vesa static const char *const audio_ext_mclk1_groups[] = {
750fcd26bf5SAbel Vesa 	"gpio124",
751fcd26bf5SAbel Vesa };
752fcd26bf5SAbel Vesa 
753fcd26bf5SAbel Vesa static const char *const audio_ref_clk_groups[] = {
754fcd26bf5SAbel Vesa 	"gpio124",
755fcd26bf5SAbel Vesa };
756fcd26bf5SAbel Vesa 
757fcd26bf5SAbel Vesa static const char *const cam_aon_mclk4_groups[] = {
758fcd26bf5SAbel Vesa 	"gpio104",
759fcd26bf5SAbel Vesa };
760fcd26bf5SAbel Vesa 
761fcd26bf5SAbel Vesa static const char *const cam_mclk_groups[] = {
762fcd26bf5SAbel Vesa 	"gpio100", "gpio101", "gpio102", "gpio103",
763fcd26bf5SAbel Vesa 	"gpio105", "gpio106", "gpio107",
764fcd26bf5SAbel Vesa };
765fcd26bf5SAbel Vesa 
766fcd26bf5SAbel Vesa static const char *const cci_async_in_groups[] = {
767fcd26bf5SAbel Vesa 	"gpio71", "gpio72", "gpio109",
768fcd26bf5SAbel Vesa };
769fcd26bf5SAbel Vesa 
770fcd26bf5SAbel Vesa static const char *const cci_i2c_scl_groups[] = {
771fcd26bf5SAbel Vesa 	"gpio111", "gpio113", "gpio115", "gpio75", "gpio1",
772fcd26bf5SAbel Vesa };
773fcd26bf5SAbel Vesa 
774fcd26bf5SAbel Vesa static const char *const cci_i2c_sda_groups[] = {
775fcd26bf5SAbel Vesa 	"gpio110", "gpio112", "gpio114", "gpio74", "gpio0",
776fcd26bf5SAbel Vesa };
777fcd26bf5SAbel Vesa 
778fcd26bf5SAbel Vesa static const char *const cci_timer_groups[] = {
779fcd26bf5SAbel Vesa 	"gpio116", "gpio117", "gpio118", "gpio119", "gpio120",
780fcd26bf5SAbel Vesa };
781fcd26bf5SAbel Vesa 
782fcd26bf5SAbel Vesa static const char *const cmu_rng_groups[] = {
783fcd26bf5SAbel Vesa 	"gpio129", "gpio128", "gpio127", "gpio122",
784fcd26bf5SAbel Vesa };
785fcd26bf5SAbel Vesa 
786fcd26bf5SAbel Vesa static const char *const coex_uart1_rx_groups[] = {
787fcd26bf5SAbel Vesa 	"gpio148",
788fcd26bf5SAbel Vesa };
789fcd26bf5SAbel Vesa 
790fcd26bf5SAbel Vesa static const char *const coex_uart1_tx_groups[] = {
791fcd26bf5SAbel Vesa 	"gpio149",
792fcd26bf5SAbel Vesa };
793fcd26bf5SAbel Vesa 
794fcd26bf5SAbel Vesa static const char *const coex_uart2_rx_groups[] = {
795fcd26bf5SAbel Vesa 	"gpio150",
796fcd26bf5SAbel Vesa };
797fcd26bf5SAbel Vesa 
798fcd26bf5SAbel Vesa static const char *const coex_uart2_tx_groups[] = {
799fcd26bf5SAbel Vesa 	"gpio151",
800fcd26bf5SAbel Vesa };
801fcd26bf5SAbel Vesa 
802fcd26bf5SAbel Vesa static const char *const cri_trng_groups[] = {
803fcd26bf5SAbel Vesa 	"gpio187",
804fcd26bf5SAbel Vesa };
805fcd26bf5SAbel Vesa 
806fcd26bf5SAbel Vesa static const char *const dbg_out_clk_groups[] = {
807fcd26bf5SAbel Vesa 	"gpio89",
808fcd26bf5SAbel Vesa };
809fcd26bf5SAbel Vesa 
810fcd26bf5SAbel Vesa static const char *const ddr_bist_complete_groups[] = {
811fcd26bf5SAbel Vesa 	"gpio40",
812fcd26bf5SAbel Vesa };
813fcd26bf5SAbel Vesa 
814fcd26bf5SAbel Vesa static const char *const ddr_bist_fail_groups[] = {
815fcd26bf5SAbel Vesa 	"gpio36",
816fcd26bf5SAbel Vesa };
817fcd26bf5SAbel Vesa 
818fcd26bf5SAbel Vesa static const char *const ddr_bist_start_groups[] = {
819fcd26bf5SAbel Vesa 	"gpio37",
820fcd26bf5SAbel Vesa };
821fcd26bf5SAbel Vesa 
822fcd26bf5SAbel Vesa static const char *const ddr_bist_stop_groups[] = {
823fcd26bf5SAbel Vesa 	"gpio41",
824fcd26bf5SAbel Vesa };
825fcd26bf5SAbel Vesa 
826fcd26bf5SAbel Vesa static const char *const ddr_pxi0_groups[] = {
827fcd26bf5SAbel Vesa 	"gpio51",
828fcd26bf5SAbel Vesa 	"gpio52",
829fcd26bf5SAbel Vesa };
830fcd26bf5SAbel Vesa 
831fcd26bf5SAbel Vesa static const char *const ddr_pxi1_groups[] = {
832fcd26bf5SAbel Vesa 	"gpio40",
833fcd26bf5SAbel Vesa 	"gpio41",
834fcd26bf5SAbel Vesa };
835fcd26bf5SAbel Vesa 
836fcd26bf5SAbel Vesa static const char *const ddr_pxi2_groups[] = {
837fcd26bf5SAbel Vesa 	"gpio45",
838fcd26bf5SAbel Vesa 	"gpio47",
839fcd26bf5SAbel Vesa };
840fcd26bf5SAbel Vesa 
841fcd26bf5SAbel Vesa static const char *const ddr_pxi3_groups[] = {
842fcd26bf5SAbel Vesa 	"gpio43",
843fcd26bf5SAbel Vesa 	"gpio44",
844fcd26bf5SAbel Vesa };
845fcd26bf5SAbel Vesa 
846fcd26bf5SAbel Vesa static const char *const dp_hot_groups[] = {
847fcd26bf5SAbel Vesa 	"gpio47",
848fcd26bf5SAbel Vesa };
849fcd26bf5SAbel Vesa 
850fcd26bf5SAbel Vesa static const char *const gcc_gp1_groups[] = {
851fcd26bf5SAbel Vesa 	"gpio86",
852fcd26bf5SAbel Vesa 	"gpio134",
853fcd26bf5SAbel Vesa };
854fcd26bf5SAbel Vesa 
855fcd26bf5SAbel Vesa static const char *const gcc_gp2_groups[] = {
856fcd26bf5SAbel Vesa 	"gpio87",
857fcd26bf5SAbel Vesa 	"gpio135",
858fcd26bf5SAbel Vesa };
859fcd26bf5SAbel Vesa 
860fcd26bf5SAbel Vesa static const char *const gcc_gp3_groups[] = {
861fcd26bf5SAbel Vesa 	"gpio88",
862fcd26bf5SAbel Vesa 	"gpio136",
863fcd26bf5SAbel Vesa };
864fcd26bf5SAbel Vesa 
865fcd26bf5SAbel Vesa static const char *const i2chub0_se0_groups[] = {
866fcd26bf5SAbel Vesa 	"gpio16",
867fcd26bf5SAbel Vesa 	"gpio17",
868fcd26bf5SAbel Vesa };
869fcd26bf5SAbel Vesa 
870fcd26bf5SAbel Vesa static const char *const i2chub0_se1_groups[] = {
871fcd26bf5SAbel Vesa 	"gpio18",
872fcd26bf5SAbel Vesa 	"gpio19",
873fcd26bf5SAbel Vesa };
874fcd26bf5SAbel Vesa 
875fcd26bf5SAbel Vesa static const char *const i2chub0_se2_groups[] = {
876fcd26bf5SAbel Vesa 	"gpio20",
877fcd26bf5SAbel Vesa 	"gpio21",
878fcd26bf5SAbel Vesa };
879fcd26bf5SAbel Vesa 
880fcd26bf5SAbel Vesa static const char *const i2chub0_se3_groups[] = {
881fcd26bf5SAbel Vesa 	"gpio22",
882fcd26bf5SAbel Vesa 	"gpio23",
883fcd26bf5SAbel Vesa };
884fcd26bf5SAbel Vesa 
885fcd26bf5SAbel Vesa static const char *const i2chub0_se4_groups[] = {
886fcd26bf5SAbel Vesa 	"gpio4",
887fcd26bf5SAbel Vesa 	"gpio5",
888fcd26bf5SAbel Vesa };
889fcd26bf5SAbel Vesa 
890fcd26bf5SAbel Vesa static const char *const i2chub0_se5_groups[] = {
891fcd26bf5SAbel Vesa 	"gpio6",
892fcd26bf5SAbel Vesa 	"gpio7",
893fcd26bf5SAbel Vesa };
894fcd26bf5SAbel Vesa 
895fcd26bf5SAbel Vesa static const char *const i2chub0_se6_groups[] = {
896fcd26bf5SAbel Vesa 	"gpio8",
897fcd26bf5SAbel Vesa 	"gpio9",
898fcd26bf5SAbel Vesa };
899fcd26bf5SAbel Vesa 
900fcd26bf5SAbel Vesa static const char *const i2chub0_se7_groups[] = {
901fcd26bf5SAbel Vesa 	"gpio10",
902fcd26bf5SAbel Vesa 	"gpio11",
903fcd26bf5SAbel Vesa };
904fcd26bf5SAbel Vesa 
905fcd26bf5SAbel Vesa static const char *const i2chub0_se8_groups[] = {
906fcd26bf5SAbel Vesa 	"gpio206",
907fcd26bf5SAbel Vesa 	"gpio207",
908fcd26bf5SAbel Vesa };
909fcd26bf5SAbel Vesa 
910fcd26bf5SAbel Vesa static const char *const i2chub0_se9_groups[] = {
911fcd26bf5SAbel Vesa 	"gpio84",
912fcd26bf5SAbel Vesa 	"gpio85",
913fcd26bf5SAbel Vesa };
914fcd26bf5SAbel Vesa 
915fcd26bf5SAbel Vesa static const char *const i2s0_data0_groups[] = {
916fcd26bf5SAbel Vesa 	"gpio127",
917fcd26bf5SAbel Vesa };
918fcd26bf5SAbel Vesa 
919fcd26bf5SAbel Vesa static const char *const i2s0_data1_groups[] = {
920fcd26bf5SAbel Vesa 	"gpio128",
921fcd26bf5SAbel Vesa };
922fcd26bf5SAbel Vesa 
923fcd26bf5SAbel Vesa static const char *const i2s0_sck_groups[] = {
924fcd26bf5SAbel Vesa 	"gpio126",
925fcd26bf5SAbel Vesa };
926fcd26bf5SAbel Vesa 
927fcd26bf5SAbel Vesa static const char *const i2s0_ws_groups[] = {
928fcd26bf5SAbel Vesa 	"gpio129",
929fcd26bf5SAbel Vesa };
930fcd26bf5SAbel Vesa 
931fcd26bf5SAbel Vesa static const char *const i2s1_data0_groups[] = {
932fcd26bf5SAbel Vesa 	"gpio122",
933fcd26bf5SAbel Vesa };
934fcd26bf5SAbel Vesa 
935fcd26bf5SAbel Vesa static const char *const i2s1_data1_groups[] = {
936fcd26bf5SAbel Vesa 	"gpio124",
937fcd26bf5SAbel Vesa };
938fcd26bf5SAbel Vesa 
939fcd26bf5SAbel Vesa static const char *const i2s1_sck_groups[] = {
940fcd26bf5SAbel Vesa 	"gpio121",
941fcd26bf5SAbel Vesa };
942fcd26bf5SAbel Vesa 
943fcd26bf5SAbel Vesa static const char *const i2s1_ws_groups[] = {
944fcd26bf5SAbel Vesa 	"gpio123",
945fcd26bf5SAbel Vesa };
946fcd26bf5SAbel Vesa 
947fcd26bf5SAbel Vesa static const char *const ibi_i3c_groups[] = {
948fcd26bf5SAbel Vesa 	"gpio0",  "gpio1",  "gpio28", "gpio29", "gpio32",
949fcd26bf5SAbel Vesa 	"gpio33", "gpio56", "gpio57", "gpio60", "gpio61",
950fcd26bf5SAbel Vesa };
951fcd26bf5SAbel Vesa 
952fcd26bf5SAbel Vesa static const char *const jitter_bist_groups[] = {
953fcd26bf5SAbel Vesa 	"gpio43",
954fcd26bf5SAbel Vesa };
955fcd26bf5SAbel Vesa 
956fcd26bf5SAbel Vesa static const char *const mdp_vsync_groups[] = {
957fcd26bf5SAbel Vesa 	"gpio86",
958fcd26bf5SAbel Vesa 	"gpio87",
959fcd26bf5SAbel Vesa 	"gpio133",
960fcd26bf5SAbel Vesa 	"gpio137",
961fcd26bf5SAbel Vesa };
962fcd26bf5SAbel Vesa 
963fcd26bf5SAbel Vesa static const char *const mdp_vsync0_out_groups[] = {
964fcd26bf5SAbel Vesa 	"gpio86",
965fcd26bf5SAbel Vesa };
966fcd26bf5SAbel Vesa 
967fcd26bf5SAbel Vesa static const char *const mdp_vsync1_out_groups[] = {
968fcd26bf5SAbel Vesa 	"gpio86",
969fcd26bf5SAbel Vesa };
970fcd26bf5SAbel Vesa 
971fcd26bf5SAbel Vesa static const char *const mdp_vsync2_out_groups[] = {
972fcd26bf5SAbel Vesa 	"gpio87",
973fcd26bf5SAbel Vesa };
974fcd26bf5SAbel Vesa 
975fcd26bf5SAbel Vesa static const char *const mdp_vsync3_out_groups[] = {
976fcd26bf5SAbel Vesa 	"gpio87",
977fcd26bf5SAbel Vesa };
978fcd26bf5SAbel Vesa 
979fcd26bf5SAbel Vesa static const char *const mdp_vsync_e_groups[] = {
980fcd26bf5SAbel Vesa 	"gpio88",
981fcd26bf5SAbel Vesa };
982fcd26bf5SAbel Vesa 
983fcd26bf5SAbel Vesa static const char *const nav_gpio0_groups[] = {
984fcd26bf5SAbel Vesa 	"gpio154",
985fcd26bf5SAbel Vesa };
986fcd26bf5SAbel Vesa 
987fcd26bf5SAbel Vesa static const char *const nav_gpio1_groups[] = {
988fcd26bf5SAbel Vesa 	"gpio155",
989fcd26bf5SAbel Vesa };
990fcd26bf5SAbel Vesa 
991fcd26bf5SAbel Vesa static const char *const nav_gpio2_groups[] = {
992fcd26bf5SAbel Vesa 	"gpio153",
993fcd26bf5SAbel Vesa };
994fcd26bf5SAbel Vesa 
995fcd26bf5SAbel Vesa static const char *const pcie0_clk_req_n_groups[] = {
996fcd26bf5SAbel Vesa 	"gpio95",
997fcd26bf5SAbel Vesa };
998fcd26bf5SAbel Vesa 
999fcd26bf5SAbel Vesa static const char *const pcie1_clk_req_n_groups[] = {
1000fcd26bf5SAbel Vesa 	"gpio98",
1001fcd26bf5SAbel Vesa };
1002fcd26bf5SAbel Vesa 
1003fcd26bf5SAbel Vesa static const char *const phase_flag_groups[] = {
1004fcd26bf5SAbel Vesa 	"gpio0", "gpio2", "gpio3", "gpio10", "gpio11", "gpio12", "gpio13", "gpio59",
1005fcd26bf5SAbel Vesa 	"gpio63", "gpio64", "gpio65", "gpio67", "gpio68", "gpio69", "gpio75", "gpio76",
1006fcd26bf5SAbel Vesa 	"gpio77", "gpio79", "gpio80", "gpio81", "gpio92", "gpio83", "gpio94", "gpio95",
1007fcd26bf5SAbel Vesa 	"gpio96", "gpio97", "gpio98", "gpio99", "gpio116", "gpio117", "gpio119", "gpio120",
1008fcd26bf5SAbel Vesa };
1009fcd26bf5SAbel Vesa 
1010fcd26bf5SAbel Vesa static const char *const pll_bist_sync_groups[] = {
1011fcd26bf5SAbel Vesa 	"gpio20",
1012fcd26bf5SAbel Vesa };
1013fcd26bf5SAbel Vesa 
1014fcd26bf5SAbel Vesa static const char *const pll_clk_aux_groups[] = {
1015fcd26bf5SAbel Vesa 	"gpio107",
1016fcd26bf5SAbel Vesa };
1017fcd26bf5SAbel Vesa 
1018fcd26bf5SAbel Vesa static const char *const prng_rosc0_groups[] = {
1019fcd26bf5SAbel Vesa 	"gpio186",
1020fcd26bf5SAbel Vesa };
1021fcd26bf5SAbel Vesa 
1022fcd26bf5SAbel Vesa static const char *const prng_rosc1_groups[] = {
1023fcd26bf5SAbel Vesa 	"gpio183",
1024fcd26bf5SAbel Vesa };
1025fcd26bf5SAbel Vesa 
1026fcd26bf5SAbel Vesa static const char *const prng_rosc2_groups[] = {
1027fcd26bf5SAbel Vesa 	"gpio182",
1028fcd26bf5SAbel Vesa };
1029fcd26bf5SAbel Vesa 
1030fcd26bf5SAbel Vesa static const char *const prng_rosc3_groups[] = {
1031fcd26bf5SAbel Vesa 	"gpio181",
1032fcd26bf5SAbel Vesa };
1033fcd26bf5SAbel Vesa 
1034fcd26bf5SAbel Vesa static const char *const qdss_cti_groups[] = {
1035fcd26bf5SAbel Vesa 	"gpio10",  "gpio11",  "gpio75",  "gpio79",
1036fcd26bf5SAbel Vesa 	"gpio159", "gpio160", "gpio161", "gpio162",
1037fcd26bf5SAbel Vesa };
1038fcd26bf5SAbel Vesa 
1039fcd26bf5SAbel Vesa static const char *const qdss_gpio_groups[] = {
1040fcd26bf5SAbel Vesa 	"gpio59", "gpio64", "gpio73", "gpio100", "gpio101", "gpio102", "gpio103",
1041fcd26bf5SAbel Vesa 	"gpio104", "gpio105", "gpio110", "gpio111", "gpio112", "gpio113", "gpio114",
1042fcd26bf5SAbel Vesa 	"gpio115", "gpio116", "gpio117", "gpio120", "gpio138", "gpio139", "gpio140",
1043fcd26bf5SAbel Vesa 	"gpio141", "gpio142", "gpio143", "gpio144", "gpio145", "gpio148", "gpio149",
1044fcd26bf5SAbel Vesa 	"gpio150", "gpio151", "gpio152", "gpio153", "gpio154", "gpio155", "gpio156",
1045fcd26bf5SAbel Vesa 	"gpio157",
1046fcd26bf5SAbel Vesa };
1047fcd26bf5SAbel Vesa 
1048fcd26bf5SAbel Vesa static const char *const qlink0_enable_groups[] = {
1049fcd26bf5SAbel Vesa 	"gpio157",
1050fcd26bf5SAbel Vesa };
1051fcd26bf5SAbel Vesa 
1052fcd26bf5SAbel Vesa static const char *const qlink0_request_groups[] = {
1053fcd26bf5SAbel Vesa 	"gpio156",
1054fcd26bf5SAbel Vesa };
1055fcd26bf5SAbel Vesa 
1056fcd26bf5SAbel Vesa static const char *const qlink0_wmss_groups[] = {
1057fcd26bf5SAbel Vesa 	"gpio158",
1058fcd26bf5SAbel Vesa };
1059fcd26bf5SAbel Vesa 
1060fcd26bf5SAbel Vesa static const char *const qlink1_enable_groups[] = {
1061fcd26bf5SAbel Vesa 	"gpio160",
1062fcd26bf5SAbel Vesa };
1063fcd26bf5SAbel Vesa 
1064fcd26bf5SAbel Vesa static const char *const qlink1_request_groups[] = {
1065fcd26bf5SAbel Vesa 	"gpio159",
1066fcd26bf5SAbel Vesa };
1067fcd26bf5SAbel Vesa 
1068fcd26bf5SAbel Vesa static const char *const qlink1_wmss_groups[] = {
1069fcd26bf5SAbel Vesa 	"gpio161",
1070fcd26bf5SAbel Vesa };
1071fcd26bf5SAbel Vesa 
1072fcd26bf5SAbel Vesa static const char *const qlink2_enable_groups[] = {
1073fcd26bf5SAbel Vesa 	"gpio163",
1074fcd26bf5SAbel Vesa };
1075fcd26bf5SAbel Vesa 
1076fcd26bf5SAbel Vesa static const char *const qlink2_request_groups[] = {
1077fcd26bf5SAbel Vesa 	"gpio162",
1078fcd26bf5SAbel Vesa };
1079fcd26bf5SAbel Vesa 
1080fcd26bf5SAbel Vesa static const char *const qlink2_wmss_groups[] = {
1081fcd26bf5SAbel Vesa 	"gpio164",
1082fcd26bf5SAbel Vesa };
1083fcd26bf5SAbel Vesa 
1084fcd26bf5SAbel Vesa static const char *const qspi0_groups[] = {
1085fcd26bf5SAbel Vesa 	"gpio89",
1086fcd26bf5SAbel Vesa };
1087fcd26bf5SAbel Vesa 
1088fcd26bf5SAbel Vesa static const char *const qspi1_groups[] = {
1089fcd26bf5SAbel Vesa 	"gpio90",
1090fcd26bf5SAbel Vesa };
1091fcd26bf5SAbel Vesa 
1092fcd26bf5SAbel Vesa static const char *const qspi2_groups[] = {
1093fcd26bf5SAbel Vesa 	"gpio48",
1094fcd26bf5SAbel Vesa };
1095fcd26bf5SAbel Vesa 
1096fcd26bf5SAbel Vesa static const char *const qspi3_groups[] = {
1097fcd26bf5SAbel Vesa 	"gpio49",
1098fcd26bf5SAbel Vesa };
1099fcd26bf5SAbel Vesa 
1100fcd26bf5SAbel Vesa static const char *const qspi_clk_groups[] = {
1101fcd26bf5SAbel Vesa 	"gpio50",
1102fcd26bf5SAbel Vesa };
1103fcd26bf5SAbel Vesa 
1104fcd26bf5SAbel Vesa static const char *const qspi_cs_groups[] = {
1105fcd26bf5SAbel Vesa 	"gpio51", "gpio91",
1106fcd26bf5SAbel Vesa };
1107fcd26bf5SAbel Vesa 
1108fcd26bf5SAbel Vesa static const char *const qup1_se0_groups[] = {
1109fcd26bf5SAbel Vesa 	"gpio28", "gpio29", "gpio30", "gpio31",
1110fcd26bf5SAbel Vesa };
1111fcd26bf5SAbel Vesa 
1112fcd26bf5SAbel Vesa static const char *const qup1_se1_groups[] = {
1113fcd26bf5SAbel Vesa 	"gpio32", "gpio33", "gpio34", "gpio35",
1114fcd26bf5SAbel Vesa };
1115fcd26bf5SAbel Vesa 
1116fcd26bf5SAbel Vesa static const char *const qup1_se2_groups[] = {
1117fcd26bf5SAbel Vesa 	"gpio40", "gpio41", "gpio42", "gpio36",
1118fcd26bf5SAbel Vesa 	"gpio37", "gpio38", "gpio39",
1119fcd26bf5SAbel Vesa };
1120fcd26bf5SAbel Vesa 
1121fcd26bf5SAbel Vesa static const char *const qup1_se3_groups[] = {
1122fcd26bf5SAbel Vesa 	"gpio40", "gpio41", "gpio42", "gpio43",
1123fcd26bf5SAbel Vesa };
1124fcd26bf5SAbel Vesa 
1125fcd26bf5SAbel Vesa static const char *const qup1_se4_groups[] = {
1126fcd26bf5SAbel Vesa 	"gpio44", "gpio45", "gpio46", "gpio47",
1127fcd26bf5SAbel Vesa };
1128fcd26bf5SAbel Vesa 
1129fcd26bf5SAbel Vesa static const char *const qup1_se5_groups[] = {
1130fcd26bf5SAbel Vesa 	"gpio52", "gpio53", "gpio54", "gpio55",
1131fcd26bf5SAbel Vesa };
1132fcd26bf5SAbel Vesa 
1133fcd26bf5SAbel Vesa static const char *const qup1_se6_groups[] = {
1134fcd26bf5SAbel Vesa 	"gpio48", "gpio49", "gpio50", "gpio51",
1135fcd26bf5SAbel Vesa };
1136fcd26bf5SAbel Vesa 
1137fcd26bf5SAbel Vesa static const char *const qup1_se7_groups[] = {
1138fcd26bf5SAbel Vesa 	"gpio24", "gpio25", "gpio26", "gpio27",
1139fcd26bf5SAbel Vesa };
1140fcd26bf5SAbel Vesa 
1141fcd26bf5SAbel Vesa static const char *const qup2_se0_groups[] = {
1142fcd26bf5SAbel Vesa 	"gpio63", "gpio66", "gpio67",
1143fcd26bf5SAbel Vesa };
1144fcd26bf5SAbel Vesa 
1145fcd26bf5SAbel Vesa static const char *const qup2_se0_l0_mira_groups[] = {
1146fcd26bf5SAbel Vesa 	"gpio56",
1147fcd26bf5SAbel Vesa };
1148fcd26bf5SAbel Vesa 
1149fcd26bf5SAbel Vesa static const char *const qup2_se0_l0_mirb_groups[] = {
1150fcd26bf5SAbel Vesa 	"gpio0",
1151fcd26bf5SAbel Vesa };
1152fcd26bf5SAbel Vesa 
1153fcd26bf5SAbel Vesa static const char *const qup2_se0_l1_mira_groups[] = {
1154fcd26bf5SAbel Vesa 	"gpio57",
1155fcd26bf5SAbel Vesa };
1156fcd26bf5SAbel Vesa 
1157fcd26bf5SAbel Vesa static const char *const qup2_se0_l1_mirb_groups[] = {
1158fcd26bf5SAbel Vesa 	"gpio1",
1159fcd26bf5SAbel Vesa };
1160fcd26bf5SAbel Vesa 
1161fcd26bf5SAbel Vesa static const char *const qup2_se0_l2_mira_groups[] = {
1162fcd26bf5SAbel Vesa 	"gpio58",
1163fcd26bf5SAbel Vesa };
1164fcd26bf5SAbel Vesa 
1165fcd26bf5SAbel Vesa static const char *const qup2_se0_l2_mirb_groups[] = {
1166fcd26bf5SAbel Vesa 	"gpio109",
1167fcd26bf5SAbel Vesa };
1168fcd26bf5SAbel Vesa 
1169fcd26bf5SAbel Vesa static const char *const qup2_se0_l3_mira_groups[] = {
1170fcd26bf5SAbel Vesa 	"gpio59",
1171fcd26bf5SAbel Vesa };
1172fcd26bf5SAbel Vesa 
1173fcd26bf5SAbel Vesa static const char *const qup2_se0_l3_mirb_groups[] = {
1174fcd26bf5SAbel Vesa 	"gpio107",
1175fcd26bf5SAbel Vesa };
1176fcd26bf5SAbel Vesa 
1177fcd26bf5SAbel Vesa static const char *const qup2_se1_groups[] = {
1178fcd26bf5SAbel Vesa 	"gpio60", "gpio61", "gpio62", "gpio63",
1179fcd26bf5SAbel Vesa };
1180fcd26bf5SAbel Vesa 
1181fcd26bf5SAbel Vesa static const char *const qup2_se2_groups[] = {
1182fcd26bf5SAbel Vesa 	"gpio64", "gpio65", "gpio66", "gpio67",
1183fcd26bf5SAbel Vesa };
1184fcd26bf5SAbel Vesa 
1185fcd26bf5SAbel Vesa static const char *const qup2_se3_groups[] = {
1186fcd26bf5SAbel Vesa 	"gpio68", "gpio69", "gpio70", "gpio71",
1187fcd26bf5SAbel Vesa };
1188fcd26bf5SAbel Vesa 
1189fcd26bf5SAbel Vesa static const char *const qup2_se4_groups[] = {
1190fcd26bf5SAbel Vesa 	"gpio2", "gpio3", "gpio118", "gpio119",
1191fcd26bf5SAbel Vesa };
1192fcd26bf5SAbel Vesa 
1193fcd26bf5SAbel Vesa static const char *const qup2_se5_groups[] = {
1194fcd26bf5SAbel Vesa 	"gpio80", "gpio81", "gpio82", "gpio83",
1195fcd26bf5SAbel Vesa };
1196fcd26bf5SAbel Vesa 
1197fcd26bf5SAbel Vesa static const char *const qup2_se6_groups[] = {
1198fcd26bf5SAbel Vesa 	"gpio76", "gpio77", "gpio78", "gpio79",
1199fcd26bf5SAbel Vesa };
1200fcd26bf5SAbel Vesa 
1201fcd26bf5SAbel Vesa static const char *const qup2_se7_groups[] = {
1202fcd26bf5SAbel Vesa 	"gpio72", "gpio106", "gpio74", "gpio75",
1203fcd26bf5SAbel Vesa };
1204fcd26bf5SAbel Vesa 
1205fcd26bf5SAbel Vesa static const char * const resout_n_groups[] = {
1206fcd26bf5SAbel Vesa 	"gpio92",
1207fcd26bf5SAbel Vesa };
1208fcd26bf5SAbel Vesa 
1209fcd26bf5SAbel Vesa static const char *const sd_write_protect_groups[] = {
1210fcd26bf5SAbel Vesa 	"gpio93",
1211fcd26bf5SAbel Vesa };
1212fcd26bf5SAbel Vesa 
1213fcd26bf5SAbel Vesa static const char *const sdc40_groups[] = {
1214fcd26bf5SAbel Vesa 	"gpio89",
1215fcd26bf5SAbel Vesa };
1216fcd26bf5SAbel Vesa 
1217fcd26bf5SAbel Vesa static const char *const sdc41_groups[] = {
1218fcd26bf5SAbel Vesa 	"gpio90",
1219fcd26bf5SAbel Vesa };
1220fcd26bf5SAbel Vesa 
1221fcd26bf5SAbel Vesa static const char *const sdc42_groups[] = {
1222fcd26bf5SAbel Vesa 	"gpio48",
1223fcd26bf5SAbel Vesa };
1224fcd26bf5SAbel Vesa 
1225fcd26bf5SAbel Vesa static const char *const sdc43_groups[] = {
1226fcd26bf5SAbel Vesa 	"gpio49",
1227fcd26bf5SAbel Vesa };
1228fcd26bf5SAbel Vesa 
1229fcd26bf5SAbel Vesa static const char *const sdc4_clk_groups[] = {
1230fcd26bf5SAbel Vesa 	"gpio50",
1231fcd26bf5SAbel Vesa };
1232fcd26bf5SAbel Vesa 
1233fcd26bf5SAbel Vesa static const char *const sdc4_cmd_groups[] = {
1234fcd26bf5SAbel Vesa 	"gpio51",
1235fcd26bf5SAbel Vesa };
1236fcd26bf5SAbel Vesa 
1237fcd26bf5SAbel Vesa static const char * const tb_trig_sdc2_groups[] = {
1238fcd26bf5SAbel Vesa 	"gpio64",
1239fcd26bf5SAbel Vesa };
1240fcd26bf5SAbel Vesa 
1241fcd26bf5SAbel Vesa static const char * const tb_trig_sdc4_groups[] = {
1242fcd26bf5SAbel Vesa 	"gpio91",
1243fcd26bf5SAbel Vesa };
1244fcd26bf5SAbel Vesa 
1245fcd26bf5SAbel Vesa static const char * const tgu_ch0_trigout_groups[] = {
1246fcd26bf5SAbel Vesa 	"gpio64",
1247fcd26bf5SAbel Vesa };
1248fcd26bf5SAbel Vesa 
1249fcd26bf5SAbel Vesa static const char * const tgu_ch1_trigout_groups[] = {
1250fcd26bf5SAbel Vesa 	"gpio65",
1251fcd26bf5SAbel Vesa };
1252fcd26bf5SAbel Vesa 
1253fcd26bf5SAbel Vesa static const char * const tgu_ch2_trigout_groups[] = {
1254fcd26bf5SAbel Vesa 	"gpio66",
1255fcd26bf5SAbel Vesa };
1256fcd26bf5SAbel Vesa 
1257fcd26bf5SAbel Vesa static const char * const tgu_ch3_trigout_groups[] = {
1258fcd26bf5SAbel Vesa 	"gpio67",
1259fcd26bf5SAbel Vesa };
1260fcd26bf5SAbel Vesa 
1261fcd26bf5SAbel Vesa static const char *const tmess_prng0_groups[] = {
1262fcd26bf5SAbel Vesa 	"gpio92",
1263fcd26bf5SAbel Vesa };
1264fcd26bf5SAbel Vesa 
1265fcd26bf5SAbel Vesa static const char *const tmess_prng1_groups[] = {
1266fcd26bf5SAbel Vesa 	"gpio94",
1267fcd26bf5SAbel Vesa };
1268fcd26bf5SAbel Vesa 
1269fcd26bf5SAbel Vesa static const char *const tmess_prng2_groups[] = {
1270fcd26bf5SAbel Vesa 	"gpio95",
1271fcd26bf5SAbel Vesa };
1272fcd26bf5SAbel Vesa 
1273fcd26bf5SAbel Vesa static const char *const tmess_prng3_groups[] = {
1274fcd26bf5SAbel Vesa 	"gpio96",
1275fcd26bf5SAbel Vesa };
1276fcd26bf5SAbel Vesa 
1277fcd26bf5SAbel Vesa static const char *const tsense_pwm1_groups[] = {
1278fcd26bf5SAbel Vesa 	"gpio50",
1279fcd26bf5SAbel Vesa };
1280fcd26bf5SAbel Vesa 
1281fcd26bf5SAbel Vesa static const char *const tsense_pwm2_groups[] = {
1282fcd26bf5SAbel Vesa 	"gpio50",
1283fcd26bf5SAbel Vesa };
1284fcd26bf5SAbel Vesa 
1285fcd26bf5SAbel Vesa static const char *const tsense_pwm3_groups[] = {
1286fcd26bf5SAbel Vesa 	"gpio50",
1287fcd26bf5SAbel Vesa };
1288fcd26bf5SAbel Vesa 
1289fcd26bf5SAbel Vesa static const char *const uim0_clk_groups[] = {
1290fcd26bf5SAbel Vesa 	"gpio131",
1291fcd26bf5SAbel Vesa };
1292fcd26bf5SAbel Vesa 
1293fcd26bf5SAbel Vesa static const char *const uim0_data_groups[] = {
1294fcd26bf5SAbel Vesa 	"gpio130",
1295fcd26bf5SAbel Vesa };
1296fcd26bf5SAbel Vesa 
1297fcd26bf5SAbel Vesa static const char *const uim0_present_groups[] = {
1298fcd26bf5SAbel Vesa 	"gpio27",
1299fcd26bf5SAbel Vesa };
1300fcd26bf5SAbel Vesa 
1301fcd26bf5SAbel Vesa static const char *const uim0_reset_groups[] = {
1302fcd26bf5SAbel Vesa 	"gpio132",
1303fcd26bf5SAbel Vesa };
1304fcd26bf5SAbel Vesa 
1305fcd26bf5SAbel Vesa static const char *const uim1_clk_groups[] = {
1306fcd26bf5SAbel Vesa 	"gpio135",
1307fcd26bf5SAbel Vesa };
1308fcd26bf5SAbel Vesa 
1309fcd26bf5SAbel Vesa static const char *const uim1_data_groups[] = {
1310fcd26bf5SAbel Vesa 	"gpio134",
1311fcd26bf5SAbel Vesa };
1312fcd26bf5SAbel Vesa 
1313fcd26bf5SAbel Vesa static const char *const uim1_present_groups[] = {
1314fcd26bf5SAbel Vesa 	"gpio26",
1315fcd26bf5SAbel Vesa };
1316fcd26bf5SAbel Vesa 
1317fcd26bf5SAbel Vesa static const char *const uim1_reset_groups[] = {
1318fcd26bf5SAbel Vesa 	"gpio136",
1319fcd26bf5SAbel Vesa };
1320fcd26bf5SAbel Vesa 
1321fcd26bf5SAbel Vesa static const char *const usb1_hs_groups[] = {
1322fcd26bf5SAbel Vesa 	"gpio90",
1323fcd26bf5SAbel Vesa };
1324fcd26bf5SAbel Vesa 
1325fcd26bf5SAbel Vesa static const char *const usb_phy_groups[] = {
1326fcd26bf5SAbel Vesa 	"gpio11",
1327fcd26bf5SAbel Vesa 	"gpio48",
1328fcd26bf5SAbel Vesa };
1329fcd26bf5SAbel Vesa 
1330fcd26bf5SAbel Vesa static const char *const vfr_0_groups[] = {
1331fcd26bf5SAbel Vesa 	"gpio150",
1332fcd26bf5SAbel Vesa };
1333fcd26bf5SAbel Vesa 
1334fcd26bf5SAbel Vesa static const char *const vfr_1_groups[] = {
1335fcd26bf5SAbel Vesa 	"gpio155",
1336fcd26bf5SAbel Vesa };
1337fcd26bf5SAbel Vesa 
1338fcd26bf5SAbel Vesa static const char *const vsense_trigger_mirnat_groups[] = {
1339fcd26bf5SAbel Vesa 	"gpio24",
1340fcd26bf5SAbel Vesa };
1341fcd26bf5SAbel Vesa 
1342c7a291dbSRohit Agarwal static const struct pinfunction sm8550_functions[] = {
1343c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gpio),
1344c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(aon_cci),
1345c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(aoss_cti),
1346c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_char),
1347c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(atest_usb),
1348c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(audio_ext_mclk0),
1349c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(audio_ext_mclk1),
1350c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(audio_ref_clk),
1351c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cam_aon_mclk4),
1352c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cam_mclk),
1353c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cci_async_in),
1354c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cci_i2c_scl),
1355c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cci_i2c_sda),
1356c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cci_timer),
1357c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cmu_rng),
1358c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(coex_uart1_rx),
1359c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(coex_uart1_tx),
1360c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(coex_uart2_rx),
1361c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(coex_uart2_tx),
1362c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(cri_trng),
1363c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(dbg_out_clk),
1364c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_bist_complete),
1365c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_bist_fail),
1366c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_bist_start),
1367c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_bist_stop),
1368c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_pxi0),
1369c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_pxi1),
1370c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_pxi2),
1371c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ddr_pxi3),
1372c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(dp_hot),
1373c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp1),
1374c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp2),
1375c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(gcc_gp3),
1376c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se0),
1377c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se1),
1378c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se2),
1379c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se3),
1380c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se4),
1381c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se5),
1382c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se6),
1383c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se7),
1384c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se8),
1385c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2chub0_se9),
1386c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s0_data0),
1387c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s0_data1),
1388c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s0_sck),
1389c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s0_ws),
1390c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s1_data0),
1391c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s1_data1),
1392c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s1_sck),
1393c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(i2s1_ws),
1394c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(ibi_i3c),
1395c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(jitter_bist),
1396c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync),
1397c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync0_out),
1398c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync1_out),
1399c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync2_out),
1400c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync3_out),
1401c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(mdp_vsync_e),
1402c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(nav_gpio0),
1403c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(nav_gpio1),
1404c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(nav_gpio2),
1405c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pcie0_clk_req_n),
1406c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pcie1_clk_req_n),
1407c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(phase_flag),
1408c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pll_bist_sync),
1409c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(pll_clk_aux),
1410c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(prng_rosc0),
1411c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(prng_rosc1),
1412c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(prng_rosc2),
1413c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(prng_rosc3),
1414c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_cti),
1415c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qdss_gpio),
1416c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink0_enable),
1417c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink0_request),
1418c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink0_wmss),
1419c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink1_enable),
1420c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink1_request),
1421c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink1_wmss),
1422c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink2_enable),
1423c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink2_request),
1424c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qlink2_wmss),
1425c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi0),
1426c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi1),
1427c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi2),
1428c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi3),
1429c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi_clk),
1430c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qspi_cs),
1431c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se0),
1432c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se1),
1433c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se2),
1434c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se3),
1435c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se4),
1436c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se5),
1437c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se6),
1438c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup1_se7),
1439c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0),
1440c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l0_mira),
1441c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l0_mirb),
1442c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l1_mira),
1443c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l1_mirb),
1444c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l2_mira),
1445c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l2_mirb),
1446c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l3_mira),
1447c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se0_l3_mirb),
1448c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se1),
1449c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se2),
1450c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se3),
1451c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se4),
1452c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se5),
1453c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se6),
1454c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(qup2_se7),
1455c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(resout_n),
1456c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sd_write_protect),
1457c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc40),
1458c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc41),
1459c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc42),
1460c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc43),
1461c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc4_clk),
1462c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(sdc4_cmd),
1463c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tb_trig_sdc2),
1464c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tb_trig_sdc4),
1465c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tgu_ch0_trigout),
1466c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tgu_ch1_trigout),
1467c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tgu_ch2_trigout),
1468c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tgu_ch3_trigout),
1469c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tmess_prng0),
1470c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tmess_prng1),
1471c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tmess_prng2),
1472c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tmess_prng3),
1473c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tsense_pwm1),
1474c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tsense_pwm2),
1475c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(tsense_pwm3),
1476c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim0_clk),
1477c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim0_data),
1478c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim0_present),
1479c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim0_reset),
1480c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim1_clk),
1481c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim1_data),
1482c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim1_present),
1483c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(uim1_reset),
1484c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(usb1_hs),
1485c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(usb_phy),
1486c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(vfr_0),
1487c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(vfr_1),
1488c7a291dbSRohit Agarwal 	MSM_PIN_FUNCTION(vsense_trigger_mirnat),
1489fcd26bf5SAbel Vesa };
1490fcd26bf5SAbel Vesa 
1491fcd26bf5SAbel Vesa /*
1492fcd26bf5SAbel Vesa  * Every pin is maintained as a single group, and missing or non-existing pin
1493fcd26bf5SAbel Vesa  * would be maintained as dummy group to synchronize pin group index with
1494fcd26bf5SAbel Vesa  * pin descriptor registered with pinctrl core.
1495fcd26bf5SAbel Vesa  * Clients would not be able to request these dummy pin groups.
1496fcd26bf5SAbel Vesa  */
1497fcd26bf5SAbel Vesa static const struct msm_pingroup sm8550_groups[] = {
1498fcd26bf5SAbel Vesa 	[0] = PINGROUP(0, cci_i2c_sda, qup2_se0_l0_mirb, ibi_i3c, phase_flag, _, _, _, _, _),
1499fcd26bf5SAbel Vesa 	[1] = PINGROUP(1, cci_i2c_scl, qup2_se0_l1_mirb, ibi_i3c, _, _, _, _, _, _),
1500fcd26bf5SAbel Vesa 	[2] = PINGROUP(2, qup2_se4, phase_flag, _, _, _, _, _, _, _),
1501fcd26bf5SAbel Vesa 	[3] = PINGROUP(3, qup2_se4, phase_flag, _, _, _, _, _, _, _),
1502fcd26bf5SAbel Vesa 	[4] = PINGROUP(4, i2chub0_se4, _, _, _, _, _, _, _, _),
1503fcd26bf5SAbel Vesa 	[5] = PINGROUP(5, i2chub0_se4, _, _, _, _, _, _, _, _),
1504fcd26bf5SAbel Vesa 	[6] = PINGROUP(6, i2chub0_se5, _, _, _, _, _, _, _, _),
1505fcd26bf5SAbel Vesa 	[7] = PINGROUP(7, i2chub0_se5, _, _, _, _, _, _, _, _),
1506fcd26bf5SAbel Vesa 	[8] = PINGROUP(8, i2chub0_se6, _, _, _, _, _, _, _, _),
1507fcd26bf5SAbel Vesa 	[9] = PINGROUP(9, i2chub0_se6, _, _, _, _, _, _, _, _),
1508fcd26bf5SAbel Vesa 	[10] = PINGROUP(10, i2chub0_se7, qdss_cti, phase_flag, _, _, _, _, _, _),
1509fcd26bf5SAbel Vesa 	[11] = PINGROUP(11, i2chub0_se7, usb_phy, qdss_cti, phase_flag, _, _, _, _, _),
1510fcd26bf5SAbel Vesa 	[12] = PINGROUP(12, phase_flag, _, _, _, _, _, _, _, _),
1511fcd26bf5SAbel Vesa 	[13] = PINGROUP(13, phase_flag, _, _, _, _, _, _, _, _),
1512fcd26bf5SAbel Vesa 	[14] = PINGROUP(14, _, _, _, _, _, _, _, _, _),
1513fcd26bf5SAbel Vesa 	[15] = PINGROUP(15, _, _, _, _, _, _, _, _, _),
1514fcd26bf5SAbel Vesa 	[16] = PINGROUP(16, i2chub0_se0, _, _, _, _, _, _, _, _),
1515fcd26bf5SAbel Vesa 	[17] = PINGROUP(17, i2chub0_se0, _, _, _, _, _, _, _, _),
1516fcd26bf5SAbel Vesa 	[18] = PINGROUP(18, i2chub0_se1, _, _, _, _, _, _, _, _),
1517fcd26bf5SAbel Vesa 	[19] = PINGROUP(19, i2chub0_se1, _, _, _, _, _, _, _, _),
1518fcd26bf5SAbel Vesa 	[20] = PINGROUP(20, i2chub0_se2, pll_bist_sync, _, _, _, _, _, _, _),
1519fcd26bf5SAbel Vesa 	[21] = PINGROUP(21, i2chub0_se2, _, _, _, _, _, _, _, _),
1520fcd26bf5SAbel Vesa 	[22] = PINGROUP(22, i2chub0_se3, _, _, _, _, _, _, _, _),
1521fcd26bf5SAbel Vesa 	[23] = PINGROUP(23, i2chub0_se3, _, _, _, _, _, _, _, _),
1522fcd26bf5SAbel Vesa 	[24] = PINGROUP(24, qup1_se7, vsense_trigger_mirnat, _, _, _, _, _, _, _),
1523fcd26bf5SAbel Vesa 	[25] = PINGROUP(25, qup1_se7, _, _, _, _, _, _, _, _),
1524fcd26bf5SAbel Vesa 	[26] = PINGROUP(26, qup1_se7, uim1_present, _, _, _, _, _, _, _),
1525fcd26bf5SAbel Vesa 	[27] = PINGROUP(27, qup1_se7, uim0_present, _, _, _, _, _, _, _),
1526fcd26bf5SAbel Vesa 	[28] = PINGROUP(28, qup1_se0, ibi_i3c, _, _, _, _, _, _, _),
1527fcd26bf5SAbel Vesa 	[29] = PINGROUP(29, qup1_se0, ibi_i3c, _, _, _, _, _, _, _),
1528fcd26bf5SAbel Vesa 	[30] = PINGROUP(30, qup1_se0, _, _, _, _, _, _, _, _),
1529fcd26bf5SAbel Vesa 	[31] = PINGROUP(31, qup1_se0, _, _, _, _, _, _, _, _),
1530fcd26bf5SAbel Vesa 	[32] = PINGROUP(32, qup1_se1, ibi_i3c, _, _, _, _, _, _, _),
1531fcd26bf5SAbel Vesa 	[33] = PINGROUP(33, qup1_se1, ibi_i3c, _, _, _, _, _, _, _),
1532fcd26bf5SAbel Vesa 	[34] = PINGROUP(34, qup1_se1, _, _, _, _, _, _, _, _),
1533fcd26bf5SAbel Vesa 	[35] = PINGROUP(35, qup1_se1, _, _, _, _, _, _, _, _),
1534fcd26bf5SAbel Vesa 	[36] = PINGROUP(36, qup1_se2, ddr_bist_fail, _, _, _, _, _, _, _),
1535fcd26bf5SAbel Vesa 	[37] = PINGROUP(37, qup1_se2, ddr_bist_start, _, atest_usb, _, _, _, _, _),
1536fcd26bf5SAbel Vesa 	[38] = PINGROUP(38, qup1_se2, _, _, _, _, _, _, _, _),
1537fcd26bf5SAbel Vesa 	[39] = PINGROUP(39, qup1_se2, _, atest_usb, _, _, _, _, _, _),
1538fcd26bf5SAbel Vesa 	[40] = PINGROUP(40, qup1_se3, qup1_se2, ddr_bist_complete, _, ddr_pxi1, _, _, _, _),
1539fcd26bf5SAbel Vesa 	[41] = PINGROUP(41, qup1_se3, qup1_se2, ddr_bist_stop, _, ddr_pxi1, _, _, _, _),
1540fcd26bf5SAbel Vesa 	[42] = PINGROUP(42, qup1_se3, qup1_se2, _, _, _, _, _, _, _),
1541fcd26bf5SAbel Vesa 	[43] = PINGROUP(43, qup1_se3, jitter_bist, ddr_pxi3, _, _, _, _, _, _),
1542fcd26bf5SAbel Vesa 	[44] = PINGROUP(44, qup1_se4, aoss_cti, ddr_pxi3, _, _, _, _, _, _),
1543fcd26bf5SAbel Vesa 	[45] = PINGROUP(45, qup1_se4, aoss_cti, ddr_pxi2, _, _, _, _, _, _),
1544fcd26bf5SAbel Vesa 	[46] = PINGROUP(46, qup1_se4, aoss_cti, _, _, _, _, _, _, _),
1545fcd26bf5SAbel Vesa 	[47] = PINGROUP(47, qup1_se4, aoss_cti, dp_hot, ddr_pxi2, _, _, _, _, _),
1546fcd26bf5SAbel Vesa 	[48] = PINGROUP(48, usb_phy, qup1_se6, qspi2, sdc42, _, _, _, _, _),
1547fcd26bf5SAbel Vesa 	[49] = PINGROUP(49, qup1_se6, qspi3, sdc43, _, _, _, _, _, _),
1548fcd26bf5SAbel Vesa 	[50] = PINGROUP(50, qup1_se6, qspi_clk, sdc4_clk, tsense_pwm1, tsense_pwm2, tsense_pwm3, _, _, _),
1549fcd26bf5SAbel Vesa 	[51] = PINGROUP(51, qup1_se6, qspi_cs, sdc4_cmd, ddr_pxi0, _, _, _, _, _),
1550fcd26bf5SAbel Vesa 	[52] = PINGROUP(52, _, qup1_se5, ddr_pxi0, _, _, _, _, _, _),
1551fcd26bf5SAbel Vesa 	[53] = PINGROUP(53, _, qup1_se5, _, _, _, _, _, _, _),
1552fcd26bf5SAbel Vesa 	[54] = PINGROUP(54, _, qup1_se5, _, _, _, _, _, _, _),
1553fcd26bf5SAbel Vesa 	[55] = PINGROUP(55, qup1_se5, atest_usb, _, _, _, _, _, _, _),
1554fcd26bf5SAbel Vesa 	[56] = PINGROUP(56, qup2_se0_l0_mira, ibi_i3c, _, _, _, _, _, _, _),
1555fcd26bf5SAbel Vesa 	[57] = PINGROUP(57, qup2_se0_l1_mira, ibi_i3c, _, _, _, _, _, _, _),
1556fcd26bf5SAbel Vesa 	[58] = PINGROUP(58, qup2_se0_l2_mira, _, _, _, _, _, _, _, _),
1557fcd26bf5SAbel Vesa 	[59] = PINGROUP(59, qup2_se0_l3_mira, phase_flag, _, qdss_gpio, _, _, _, _, _),
1558fcd26bf5SAbel Vesa 	[60] = PINGROUP(60, qup2_se1, ibi_i3c, _, _, _, _, _, _, _),
1559fcd26bf5SAbel Vesa 	[61] = PINGROUP(61, qup2_se1, ibi_i3c, _, _, _, _, _, _, _),
1560fcd26bf5SAbel Vesa 	[62] = PINGROUP(62, qup2_se1, _, _, _, _, _, _, _, _),
1561fcd26bf5SAbel Vesa 	[63] = PINGROUP(63, qup2_se1, qup2_se0, phase_flag, _, _, _, _, _, _),
1562fcd26bf5SAbel Vesa 	[64] = PINGROUP(64, qup2_se2, tb_trig_sdc2, phase_flag, tgu_ch0_trigout, _, qdss_gpio, _, _, _),
1563fcd26bf5SAbel Vesa 	[65] = PINGROUP(65, qup2_se2, phase_flag, tgu_ch1_trigout, _, _, _, _, _, _),
1564fcd26bf5SAbel Vesa 	[66] = PINGROUP(66, qup2_se2, qup2_se0, tgu_ch2_trigout, _, _, _, _, _, _),
1565fcd26bf5SAbel Vesa 	[67] = PINGROUP(67, qup2_se2, qup2_se0, phase_flag, tgu_ch3_trigout, _, _, _, _, _),
1566fcd26bf5SAbel Vesa 	[68] = PINGROUP(68, qup2_se3, phase_flag, _, _, _, _, _, _, _),
1567fcd26bf5SAbel Vesa 	[69] = PINGROUP(69, qup2_se3, phase_flag, _, _, _, _, _, _, _),
1568fcd26bf5SAbel Vesa 	[70] = PINGROUP(70, qup2_se3, _, _, _, _, _, _, _, _),
1569fcd26bf5SAbel Vesa 	[71] = PINGROUP(71, cci_async_in, qup2_se3, _, _, _, _, _, _, _),
1570fcd26bf5SAbel Vesa 	[72] = PINGROUP(72, cci_async_in, qup2_se7, _, _, _, _, _, _, _),
1571fcd26bf5SAbel Vesa 	[73] = PINGROUP(73, qdss_gpio, _, _, _, _, _, _, _, _),
1572fcd26bf5SAbel Vesa 	[74] = PINGROUP(74, cci_i2c_sda, qup2_se7, _, _, _, _, _, _, _),
1573fcd26bf5SAbel Vesa 	[75] = PINGROUP(75, cci_i2c_scl, qup2_se7, qdss_cti, phase_flag, _, _, _, _, _),
1574fcd26bf5SAbel Vesa 	[76] = PINGROUP(76, qup2_se6, phase_flag, _, _, _, _, _, _, _),
1575fcd26bf5SAbel Vesa 	[77] = PINGROUP(77, qup2_se6, phase_flag, _, _, _, _, _, _, _),
1576fcd26bf5SAbel Vesa 	[78] = PINGROUP(78, qup2_se6, _, _, _, _, _, _, _, _),
1577fcd26bf5SAbel Vesa 	[79] = PINGROUP(79, qup2_se6, qdss_cti, phase_flag, _, _, _, _, _, _),
1578fcd26bf5SAbel Vesa 	[80] = PINGROUP(80, qup2_se5, phase_flag, _, _, _, _, _, _, _),
1579fcd26bf5SAbel Vesa 	[81] = PINGROUP(81, qup2_se5, phase_flag, _, _, _, _, _, _, _),
1580fcd26bf5SAbel Vesa 	[82] = PINGROUP(82, qup2_se5, _, _, _, _, _, _, _, _),
1581fcd26bf5SAbel Vesa 	[83] = PINGROUP(83, qup2_se5, phase_flag, _, _, _, _, _, _, _),
1582fcd26bf5SAbel Vesa 	[84] = PINGROUP(84, i2chub0_se9, _, _, _, _, _, _, _, _),
1583fcd26bf5SAbel Vesa 	[85] = PINGROUP(85, i2chub0_se9, _, _, _, _, _, _, _, _),
1584fcd26bf5SAbel Vesa 	[86] = PINGROUP(86, mdp_vsync, mdp_vsync0_out, mdp_vsync1_out, gcc_gp1, _, _, _, _, _),
1585fcd26bf5SAbel Vesa 	[87] = PINGROUP(87, mdp_vsync, mdp_vsync2_out, mdp_vsync3_out, gcc_gp2, _, _, _, _, _),
1586fcd26bf5SAbel Vesa 	[88] = PINGROUP(88, mdp_vsync_e, gcc_gp3, _, _, _, _, _, _, _),
1587fcd26bf5SAbel Vesa 	[89] = PINGROUP(89, qspi0, sdc40, dbg_out_clk, _, _, _, _, _, _),
1588fcd26bf5SAbel Vesa 	[90] = PINGROUP(90, usb1_hs, qspi1, sdc41, _, _, _, _, _, _),
1589fcd26bf5SAbel Vesa 	[91] = PINGROUP(91, qspi_cs, tb_trig_sdc4, _, _, _, _, _, _, _),
1590fcd26bf5SAbel Vesa 	[92] = PINGROUP(92, resout_n, phase_flag, tmess_prng0, _, _, _, _, _, _),
1591fcd26bf5SAbel Vesa 	[93] = PINGROUP(93, sd_write_protect, _, _, _, _, _, _, _, _),
1592fcd26bf5SAbel Vesa 	[94] = PINGROUP(94, phase_flag, tmess_prng1, _, _, _, _, _, _, _),
1593fcd26bf5SAbel Vesa 	[95] = PINGROUP(95, pcie0_clk_req_n, phase_flag, tmess_prng2, _, _, _, _, _, _),
1594fcd26bf5SAbel Vesa 	[96] = PINGROUP(96, phase_flag, tmess_prng3, _, _, _, _, _, _, _),
1595fcd26bf5SAbel Vesa 	[97] = PINGROUP(97, phase_flag, _, _, _, _, _, _, _, _),
1596fcd26bf5SAbel Vesa 	[98] = PINGROUP(98, pcie1_clk_req_n, phase_flag, _, _, _, _, _, _, _),
1597fcd26bf5SAbel Vesa 	[99] = PINGROUP(99, phase_flag, _, _, _, _, _, _, _, _),
1598fcd26bf5SAbel Vesa 	[100] = PINGROUP(100, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
1599fcd26bf5SAbel Vesa 	[101] = PINGROUP(101, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
1600fcd26bf5SAbel Vesa 	[102] = PINGROUP(102, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
1601fcd26bf5SAbel Vesa 	[103] = PINGROUP(103, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
1602fcd26bf5SAbel Vesa 	[104] = PINGROUP(104, cam_aon_mclk4, qdss_gpio, _, _, _, _, _, _, _),
1603fcd26bf5SAbel Vesa 	[105] = PINGROUP(105, cam_mclk, qdss_gpio, _, _, _, _, _, _, _),
1604fcd26bf5SAbel Vesa 	[106] = PINGROUP(106, cam_mclk, qup2_se7, _, _, _, _, _, _, _),
1605fcd26bf5SAbel Vesa 	[107] = PINGROUP(107, cam_mclk, qup2_se0_l3_mirb, pll_clk_aux, _, _, _, _, _, _),
1606fcd26bf5SAbel Vesa 	[108] = PINGROUP(108, _, _, _, _, _, _, _, _, _),
1607fcd26bf5SAbel Vesa 	[109] = PINGROUP(109, cci_async_in, qup2_se0_l2_mirb, _, _, _, _, _, _, _),
1608fcd26bf5SAbel Vesa 	[110] = PINGROUP(110, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
1609fcd26bf5SAbel Vesa 	[111] = PINGROUP(111, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
1610fcd26bf5SAbel Vesa 	[112] = PINGROUP(112, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
1611fcd26bf5SAbel Vesa 	[113] = PINGROUP(113, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
1612fcd26bf5SAbel Vesa 	[114] = PINGROUP(114, cci_i2c_sda, qdss_gpio, _, _, _, _, _, _, _),
1613fcd26bf5SAbel Vesa 	[115] = PINGROUP(115, cci_i2c_scl, qdss_gpio, _, _, _, _, _, _, _),
1614fcd26bf5SAbel Vesa 	[116] = PINGROUP(116, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
1615fcd26bf5SAbel Vesa 	[117] = PINGROUP(117, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
1616fcd26bf5SAbel Vesa 	[118] = PINGROUP(118, qup2_se4, cci_timer, _, _, _, _, _, _, _),
1617fcd26bf5SAbel Vesa 	[119] = PINGROUP(119, qup2_se4, cci_timer, phase_flag, _, _, _, _, _, _),
1618fcd26bf5SAbel Vesa 	[120] = PINGROUP(120, cci_timer, phase_flag, _, qdss_gpio, _, _, _, _, _),
1619fcd26bf5SAbel Vesa 	[121] = PINGROUP(121, i2s1_sck, _, _, _, _, _, _, _, _),
1620fcd26bf5SAbel Vesa 	[122] = PINGROUP(122, i2s1_data0, cmu_rng, _, _, _, _, _, _, _),
1621fcd26bf5SAbel Vesa 	[123] = PINGROUP(123, i2s1_ws, _, _, _, _, _, _, _, _),
1622fcd26bf5SAbel Vesa 	[124] = PINGROUP(124, i2s1_data1, audio_ext_mclk1, audio_ref_clk, _, _, _, _, _, _),
1623fcd26bf5SAbel Vesa 	[125] = PINGROUP(125, audio_ext_mclk0, _, _, _, _, _, _, _, _),
1624fcd26bf5SAbel Vesa 	[126] = PINGROUP(126, i2s0_sck, _, _, _, _, _, _, _, _),
1625fcd26bf5SAbel Vesa 	[127] = PINGROUP(127, i2s0_data0, cmu_rng, _, _, _, _, _, _, _),
1626fcd26bf5SAbel Vesa 	[128] = PINGROUP(128, i2s0_data1, cmu_rng, _, _, _, _, _, _, _),
1627fcd26bf5SAbel Vesa 	[129] = PINGROUP(129, i2s0_ws, cmu_rng, _, _, _, _, _, _, _),
1628fcd26bf5SAbel Vesa 	[130] = PINGROUP(130, uim0_data, atest_char, _, _, _, _, _, _, _),
1629fcd26bf5SAbel Vesa 	[131] = PINGROUP(131, uim0_clk, _, _, _, _, _, _, _, _),
1630fcd26bf5SAbel Vesa 	[132] = PINGROUP(132, uim0_reset, atest_char, _, _, _, _, _, _, _),
1631fcd26bf5SAbel Vesa 	[133] = PINGROUP(133, mdp_vsync, atest_char, _, _, _, _, _, _, _),
1632fcd26bf5SAbel Vesa 	[134] = PINGROUP(134, uim1_data, gcc_gp1, atest_char, _, _, _, _, _, _),
1633fcd26bf5SAbel Vesa 	[135] = PINGROUP(135, uim1_clk, gcc_gp2, atest_char, _, _, _, _, _, _),
1634fcd26bf5SAbel Vesa 	[136] = PINGROUP(136, uim1_reset, gcc_gp3, _, _, _, _, _, _, _),
1635fcd26bf5SAbel Vesa 	[137] = PINGROUP(137, mdp_vsync, _, _, _, _, _, _, _, _),
1636fcd26bf5SAbel Vesa 	[138] = PINGROUP(138, _, _, qdss_gpio, _, _, _, _, _, _),
1637fcd26bf5SAbel Vesa 	[139] = PINGROUP(139, _, _, qdss_gpio, _, _, _, _, _, _),
1638fcd26bf5SAbel Vesa 	[140] = PINGROUP(140, _, _, qdss_gpio, _, _, _, _, _, _),
1639fcd26bf5SAbel Vesa 	[141] = PINGROUP(141, _, _, qdss_gpio, _, _, _, _, _, _),
1640fcd26bf5SAbel Vesa 	[142] = PINGROUP(142, _, _, qdss_gpio, _, _, _, _, _, _),
1641fcd26bf5SAbel Vesa 	[143] = PINGROUP(143, _, _, qdss_gpio, _, _, _, _, _, _),
1642fcd26bf5SAbel Vesa 	[144] = PINGROUP(144, _, _, qdss_gpio, _, _, _, _, _, _),
1643fcd26bf5SAbel Vesa 	[145] = PINGROUP(145, _, _, qdss_gpio, _, _, _, _, _, _),
1644fcd26bf5SAbel Vesa 	[146] = PINGROUP(146, _, _, _, _, _, _, _, _, _),
1645fcd26bf5SAbel Vesa 	[147] = PINGROUP(147, _, _, _, _, _, _, _, _, _),
1646fcd26bf5SAbel Vesa 	[148] = PINGROUP(148, coex_uart1_rx, qdss_gpio, atest_usb, _, _, _, _, _, _),
1647fcd26bf5SAbel Vesa 	[149] = PINGROUP(149, coex_uart1_tx, qdss_gpio, atest_usb, _, _, _, _, _, _),
1648fcd26bf5SAbel Vesa 	[150] = PINGROUP(150, coex_uart2_rx, _, vfr_0, qdss_gpio, _, _, _, _, _),
1649fcd26bf5SAbel Vesa 	[151] = PINGROUP(151, coex_uart2_tx, _, qdss_gpio, _, _, _, _, _, _),
1650fcd26bf5SAbel Vesa 	[152] = PINGROUP(152, _, qdss_gpio, _, _, _, _, _, _, _),
1651fcd26bf5SAbel Vesa 	[153] = PINGROUP(153, _, nav_gpio2, qdss_gpio, _, _, _, _, _, _),
1652fcd26bf5SAbel Vesa 	[154] = PINGROUP(154, nav_gpio0, qdss_gpio, _, _, _, _, _, _, _),
1653fcd26bf5SAbel Vesa 	[155] = PINGROUP(155, nav_gpio1, vfr_1, qdss_gpio, _, _, _, _, _, _),
1654fcd26bf5SAbel Vesa 	[156] = PINGROUP(156, qlink0_request, qdss_gpio, _, _, _, _, _, _, _),
1655fcd26bf5SAbel Vesa 	[157] = PINGROUP(157, qlink0_enable, qdss_gpio, _, _, _, _, _, _, _),
1656fcd26bf5SAbel Vesa 	[158] = PINGROUP(158, qlink0_wmss, _, _, _, _, _, _, _, _),
1657fcd26bf5SAbel Vesa 	[159] = PINGROUP(159, qlink1_request, qdss_cti, _, _, _, _, _, _, _),
1658fcd26bf5SAbel Vesa 	[160] = PINGROUP(160, qlink1_enable, qdss_cti, _, _, _, _, _, _, _),
1659fcd26bf5SAbel Vesa 	[161] = PINGROUP(161, qlink1_wmss, qdss_cti, _, _, _, _, _, _, _),
1660fcd26bf5SAbel Vesa 	[162] = PINGROUP(162, qlink2_request, qdss_cti, _, _, _, _, _, _, _),
1661fcd26bf5SAbel Vesa 	[163] = PINGROUP(163, qlink2_enable, _, _, _, _, _, _, _, _),
1662fcd26bf5SAbel Vesa 	[164] = PINGROUP(164, qlink2_wmss, _, _, _, _, _, _, _, _),
1663fcd26bf5SAbel Vesa 	[165] = PINGROUP(165, _, _, _, _, _, _, _, _, _),
1664fcd26bf5SAbel Vesa 	[166] = PINGROUP(166, _, _, _, _, _, _, _, _, _),
1665fcd26bf5SAbel Vesa 	[167] = PINGROUP(167, _, _, _, _, _, _, _, _, _),
1666fcd26bf5SAbel Vesa 	[168] = PINGROUP(168, _, _, _, _, _, _, _, _, _),
1667fcd26bf5SAbel Vesa 	[169] = PINGROUP(169, _, _, _, _, _, _, _, _, _),
1668fcd26bf5SAbel Vesa 	[170] = PINGROUP(170, _, _, _, _, _, _, _, _, _),
1669fcd26bf5SAbel Vesa 	[171] = PINGROUP(171, _, _, _, _, _, _, _, _, _),
1670fcd26bf5SAbel Vesa 	[172] = PINGROUP(172, _, _, _, _, _, _, _, _, _),
1671fcd26bf5SAbel Vesa 	[173] = PINGROUP(173, _, _, _, _, _, _, _, _, _),
1672fcd26bf5SAbel Vesa 	[174] = PINGROUP(174, _, _, _, _, _, _, _, _, _),
1673fcd26bf5SAbel Vesa 	[175] = PINGROUP(175, _, _, _, _, _, _, _, _, _),
1674fcd26bf5SAbel Vesa 	[176] = PINGROUP(176, _, _, _, _, _, _, _, _, _),
1675fcd26bf5SAbel Vesa 	[177] = PINGROUP(177, _, _, _, _, _, _, _, _, _),
1676fcd26bf5SAbel Vesa 	[178] = PINGROUP(178, _, _, _, _, _, _, _, _, _),
1677fcd26bf5SAbel Vesa 	[179] = PINGROUP(179, _, _, _, _, _, _, _, _, _),
1678fcd26bf5SAbel Vesa 	[180] = PINGROUP(180, _, _, _, _, _, _, _, _, _),
1679fcd26bf5SAbel Vesa 	[181] = PINGROUP(181, prng_rosc3, _, _, _, _, _, _, _, _),
1680fcd26bf5SAbel Vesa 	[182] = PINGROUP(182, prng_rosc2, _, _, _, _, _, _, _, _),
1681fcd26bf5SAbel Vesa 	[183] = PINGROUP(183, prng_rosc1, _, _, _, _, _, _, _, _),
1682fcd26bf5SAbel Vesa 	[184] = PINGROUP(184, _, _, _, _, _, _, _, _, _),
1683fcd26bf5SAbel Vesa 	[185] = PINGROUP(185, _, _, _, _, _, _, _, _, _),
1684fcd26bf5SAbel Vesa 	[186] = PINGROUP(186, prng_rosc0, _, _, _, _, _, _, _, _),
1685fcd26bf5SAbel Vesa 	[187] = PINGROUP(187, cri_trng, _, _, _, _, _, _, _, _),
1686fcd26bf5SAbel Vesa 	[188] = PINGROUP(188, _, _, _, _, _, _, _, _, _),
1687fcd26bf5SAbel Vesa 	[189] = PINGROUP(189, _, _, _, _, _, _, _, _, _),
1688fcd26bf5SAbel Vesa 	[190] = PINGROUP(190, _, _, _, _, _, _, _, _, _),
1689fcd26bf5SAbel Vesa 	[191] = PINGROUP(191, _, _, _, _, _, _, _, _, _),
1690fcd26bf5SAbel Vesa 	[192] = PINGROUP(192, _, _, _, _, _, _, _, _, _),
1691fcd26bf5SAbel Vesa 	[193] = PINGROUP(193, _, _, _, _, _, _, _, _, _),
1692fcd26bf5SAbel Vesa 	[194] = PINGROUP(194, _, _, _, _, _, _, _, _, _),
1693fcd26bf5SAbel Vesa 	[195] = PINGROUP(195, _, _, _, _, _, _, _, _, _),
1694fcd26bf5SAbel Vesa 	[196] = PINGROUP(196, _, _, _, _, _, _, _, _, _),
1695fcd26bf5SAbel Vesa 	[197] = PINGROUP(197, _, _, _, _, _, _, _, _, _),
1696fcd26bf5SAbel Vesa 	[198] = PINGROUP(198, _, _, _, _, _, _, _, _, _),
1697fcd26bf5SAbel Vesa 	[199] = PINGROUP(199, _, _, _, _, _, _, _, _, _),
1698fcd26bf5SAbel Vesa 	[200] = PINGROUP(200, _, _, _, _, _, _, _, _, _),
1699fcd26bf5SAbel Vesa 	[201] = PINGROUP(201, _, _, _, _, _, _, _, _, _),
1700fcd26bf5SAbel Vesa 	[202] = PINGROUP(202, _, _, _, _, _, _, _, _, _),
1701fcd26bf5SAbel Vesa 	[203] = PINGROUP(203, _, _, _, _, _, _, _, _, _),
1702fcd26bf5SAbel Vesa 	[204] = PINGROUP(204, _, _, _, _, _, _, _, _, _),
1703fcd26bf5SAbel Vesa 	[205] = PINGROUP(205, _, _, _, _, _, _, _, _, _),
1704fcd26bf5SAbel Vesa 	[206] = PINGROUP(206, i2chub0_se8, _, _, _, _, _, _, _, _),
1705fcd26bf5SAbel Vesa 	[207] = PINGROUP(207, i2chub0_se8, _, _, _, _, _, _, _, _),
1706fcd26bf5SAbel Vesa 	[208] = PINGROUP(208, aon_cci, _, _, _, _, _, _, _, _),
1707fcd26bf5SAbel Vesa 	[209] = PINGROUP(209, aon_cci, _, _, _, _, _, _, _, _),
1708fcd26bf5SAbel Vesa 	[210] = UFS_RESET(ufs_reset, 0xde000),
1709fcd26bf5SAbel Vesa 	[211] = SDC_QDSD_PINGROUP(sdc2_clk, 0xd6000, 14, 6),
1710fcd26bf5SAbel Vesa 	[212] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xd6000, 11, 3),
1711fcd26bf5SAbel Vesa 	[213] = SDC_QDSD_PINGROUP(sdc2_data, 0xd6000, 9, 0),
1712fcd26bf5SAbel Vesa };
1713fcd26bf5SAbel Vesa 
1714fcd26bf5SAbel Vesa static const struct msm_gpio_wakeirq_map sm8550_pdc_map[] = {
1715fcd26bf5SAbel Vesa 	{ 0, 118 },   { 2, 90 },    { 3, 101 },   { 8, 60 },    { 9, 67 },
1716fcd26bf5SAbel Vesa 	{ 11, 103 },  { 14, 136 },  { 15, 78 },   { 16, 138 },  { 17, 80 },
1717fcd26bf5SAbel Vesa 	{ 18, 71 },   { 19, 59 },   { 25, 57 },   { 26, 74 },   { 27, 76 },
1718fcd26bf5SAbel Vesa 	{ 28, 62 },   { 31, 88 },   { 32, 63 },   { 35, 124 },  { 39, 92 },
1719fcd26bf5SAbel Vesa 	{ 40, 77 },   { 41, 83 },   { 43, 86 },   { 44, 75 },   { 45, 93 },
1720fcd26bf5SAbel Vesa 	{ 46, 96 },   { 47, 64 },   { 48, 110 },  { 51, 89 },   { 55, 95 },
1721fcd26bf5SAbel Vesa 	{ 56, 68 },   { 59, 87 },   { 60, 65 },   { 62, 100 },  { 63, 81 },
1722fcd26bf5SAbel Vesa 	{ 67, 79 },   { 71, 102 },  { 73, 82 },   { 75, 72 },   { 79, 140 },
1723fcd26bf5SAbel Vesa 	{ 82, 105 },  { 83, 104 },  { 84, 126 },  { 85, 142 },  { 86, 106 },
1724fcd26bf5SAbel Vesa 	{ 87, 107 },  { 88, 61 },   { 89, 111 },  { 95, 108 },  { 96, 109 },
1725fcd26bf5SAbel Vesa 	{ 98, 97 },   { 99, 58 },   { 107, 139 }, { 119, 94 },  { 120, 135 },
1726fcd26bf5SAbel Vesa 	{ 133, 52 },  { 137, 84 },  { 148, 66 },  { 150, 73 },  { 153, 70 },
1727fcd26bf5SAbel Vesa 	{ 154, 53 },  { 155, 69 },  { 156, 54 },  { 159, 55 },  { 162, 56 },
1728fcd26bf5SAbel Vesa 	{ 166, 116 }, { 169, 119 }, { 171, 120 }, { 172, 85 },  { 174, 98 },
1729fcd26bf5SAbel Vesa 	{ 176, 112 }, { 177, 51 },  { 181, 114 }, { 182, 115 }, { 185, 117 },
1730fcd26bf5SAbel Vesa 	{ 187, 91 },  { 188, 123 }, { 190, 127 }, { 191, 113 }, { 192, 128 },
1731fcd26bf5SAbel Vesa 	{ 193, 129 }, { 196, 133 }, { 197, 134 }, { 198, 50 },  { 199, 99 },
1732fcd26bf5SAbel Vesa 	{ 200, 49 },  { 201, 48 },  { 203, 125 }, { 205, 141 }, { 206, 137 },
1733fcd26bf5SAbel Vesa 	{ 207, 47 },  { 208, 121 }, { 209, 122 },
1734fcd26bf5SAbel Vesa };
1735fcd26bf5SAbel Vesa 
1736fcd26bf5SAbel Vesa static const struct msm_pinctrl_soc_data sm8550_tlmm = {
1737fcd26bf5SAbel Vesa 	.pins = sm8550_pins,
1738fcd26bf5SAbel Vesa 	.npins = ARRAY_SIZE(sm8550_pins),
1739fcd26bf5SAbel Vesa 	.functions = sm8550_functions,
1740fcd26bf5SAbel Vesa 	.nfunctions = ARRAY_SIZE(sm8550_functions),
1741fcd26bf5SAbel Vesa 	.groups = sm8550_groups,
1742fcd26bf5SAbel Vesa 	.ngroups = ARRAY_SIZE(sm8550_groups),
1743fcd26bf5SAbel Vesa 	.ngpios = 211,
1744fcd26bf5SAbel Vesa 	.wakeirq_map = sm8550_pdc_map,
1745fcd26bf5SAbel Vesa 	.nwakeirq_map = ARRAY_SIZE(sm8550_pdc_map),
1746fcd26bf5SAbel Vesa 	.egpio_func = 9,
1747fcd26bf5SAbel Vesa };
1748fcd26bf5SAbel Vesa 
sm8550_tlmm_probe(struct platform_device * pdev)1749fcd26bf5SAbel Vesa static int sm8550_tlmm_probe(struct platform_device *pdev)
1750fcd26bf5SAbel Vesa {
1751fcd26bf5SAbel Vesa 	return msm_pinctrl_probe(pdev, &sm8550_tlmm);
1752fcd26bf5SAbel Vesa }
1753fcd26bf5SAbel Vesa 
1754fcd26bf5SAbel Vesa static const struct of_device_id sm8550_tlmm_of_match[] = {
1755fcd26bf5SAbel Vesa 	{ .compatible = "qcom,sm8550-tlmm", },
1756fcd26bf5SAbel Vesa 	{},
1757fcd26bf5SAbel Vesa };
1758fcd26bf5SAbel Vesa 
1759fcd26bf5SAbel Vesa static struct platform_driver sm8550_tlmm_driver = {
1760fcd26bf5SAbel Vesa 	.driver = {
1761fcd26bf5SAbel Vesa 		.name = "sm8550-tlmm",
1762fcd26bf5SAbel Vesa 		.of_match_table = sm8550_tlmm_of_match,
1763fcd26bf5SAbel Vesa 	},
1764fcd26bf5SAbel Vesa 	.probe = sm8550_tlmm_probe,
1765fcd26bf5SAbel Vesa 	.remove = msm_pinctrl_remove,
1766fcd26bf5SAbel Vesa };
1767fcd26bf5SAbel Vesa 
sm8550_tlmm_init(void)1768fcd26bf5SAbel Vesa static int __init sm8550_tlmm_init(void)
1769fcd26bf5SAbel Vesa {
1770fcd26bf5SAbel Vesa 	return platform_driver_register(&sm8550_tlmm_driver);
1771fcd26bf5SAbel Vesa }
1772fcd26bf5SAbel Vesa arch_initcall(sm8550_tlmm_init);
1773fcd26bf5SAbel Vesa 
sm8550_tlmm_exit(void)1774fcd26bf5SAbel Vesa static void __exit sm8550_tlmm_exit(void)
1775fcd26bf5SAbel Vesa {
1776fcd26bf5SAbel Vesa 	platform_driver_unregister(&sm8550_tlmm_driver);
1777fcd26bf5SAbel Vesa }
1778fcd26bf5SAbel Vesa module_exit(sm8550_tlmm_exit);
1779fcd26bf5SAbel Vesa 
1780fcd26bf5SAbel Vesa MODULE_DESCRIPTION("QTI SM8550 TLMM driver");
1781fcd26bf5SAbel Vesa MODULE_LICENSE("GPL");
1782fcd26bf5SAbel Vesa MODULE_DEVICE_TABLE(of, sm8550_tlmm_of_match);
1783