1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2014,2015 Ken Xue <Ken.Xue@amd.com>
6 * Jeff Wu <Jeff.Wu@amd.com>
10 #define _PINCTRL_AMD_H
12 #define AMD_GPIO_PINS_PER_BANK 64
14 #define AMD_GPIO_PINS_BANK0 63
15 #define AMD_GPIO_PINS_BANK1 64
16 #define AMD_GPIO_PINS_BANK2 56
17 #define AMD_GPIO_PINS_BANK3 32
19 #define WAKE_INT_MASTER_REG 0xfc
20 #define INTERNAL_GPIO0_DEBOUNCE (1 << 15)
21 #define EOI_MASK (1 << 29)
23 #define WAKE_INT_STATUS_REG0 0x2f8
24 #define WAKE_INT_STATUS_REG1 0x2fc
26 #define DB_TMR_OUT_OFF 0
27 #define DB_TMR_OUT_UNIT_OFF 4
28 #define DB_CNTRL_OFF 5
29 #define DB_TMR_LARGE_OFF 7
30 #define LEVEL_TRIG_OFF 8
31 #define ACTIVE_LEVEL_OFF 9
32 #define INTERRUPT_ENABLE_OFF 11
33 #define INTERRUPT_MASK_OFF 12
34 #define WAKE_CNTRL_OFF_S0I3 13
35 #define WAKE_CNTRL_OFF_S3 14
36 #define WAKE_CNTRL_OFF_S4 15
37 #define PIN_STS_OFF 16
38 #define DRV_STRENGTH_SEL_OFF 17
39 #define PULL_UP_ENABLE_OFF 20
40 #define PULL_DOWN_ENABLE_OFF 21
41 #define OUTPUT_VALUE_OFF 22
42 #define OUTPUT_ENABLE_OFF 23
43 #define SW_CNTRL_IN_OFF 24
44 #define SW_CNTRL_EN_OFF 25
45 #define WAKECNTRL_Z_OFF 27
46 #define INTERRUPT_STS_OFF 28
47 #define WAKE_STS_OFF 29
49 #define DB_TMR_OUT_MASK 0xFUL
50 #define DB_CNTRl_MASK 0x3UL
51 #define ACTIVE_LEVEL_MASK 0x3UL
52 #define DRV_STRENGTH_SEL_MASK 0x3UL
54 #define ACTIVE_LEVEL_HIGH 0x0UL
55 #define ACTIVE_LEVEL_LOW 0x1UL
56 #define ACTIVE_LEVEL_BOTH 0x2UL
58 #define DB_TYPE_NO_DEBOUNCE 0x0UL
59 #define DB_TYPE_PRESERVE_LOW_GLITCH 0x1UL
60 #define DB_TYPE_PRESERVE_HIGH_GLITCH 0x2UL
61 #define DB_TYPE_REMOVE_GLITCH 0x3UL
63 #define EDGE_TRIGGER 0x0UL
64 #define LEVEL_TRIGGER 0x1UL
66 #define ACTIVE_HIGH 0x0UL
67 #define ACTIVE_LOW 0x1UL
68 #define BOTH_EDGES 0x2UL
70 #define ENABLE_INTERRUPT 0x1UL
71 #define DISABLE_INTERRUPT 0x0UL
73 #define ENABLE_INTERRUPT_MASK 0x0UL
74 #define DISABLE_INTERRUPT_MASK 0x1UL
76 #define CLR_INTR_STAT 0x1UL
80 #define FUNCTION_MASK GENMASK(1, 0)
81 #define FUNCTION_INVALID GENMASK(7, 0)
83 #define WAKE_SOURCE (BIT(WAKE_CNTRL_OFF_S0I3) | \
84 BIT(WAKE_CNTRL_OFF_S3) | \
85 BIT(WAKE_CNTRL_OFF_S4) | \
90 const char * const groups
[NSELECTS
];
98 void __iomem
*iomux_base
;
100 const struct pingroup
*groups
;
102 struct pinctrl_dev
*pctrl
;
104 unsigned int hwbank_num
;
105 struct resource
*res
;
106 struct platform_device
*pdev
;
111 /* KERNCZ configuration*/
112 static const struct pinctrl_pin_desc kerncz_pins
[] = {
113 PINCTRL_PIN(0, "GPIO_0"),
114 PINCTRL_PIN(1, "GPIO_1"),
115 PINCTRL_PIN(2, "GPIO_2"),
116 PINCTRL_PIN(3, "GPIO_3"),
117 PINCTRL_PIN(4, "GPIO_4"),
118 PINCTRL_PIN(5, "GPIO_5"),
119 PINCTRL_PIN(6, "GPIO_6"),
120 PINCTRL_PIN(7, "GPIO_7"),
121 PINCTRL_PIN(8, "GPIO_8"),
122 PINCTRL_PIN(9, "GPIO_9"),
123 PINCTRL_PIN(10, "GPIO_10"),
124 PINCTRL_PIN(11, "GPIO_11"),
125 PINCTRL_PIN(12, "GPIO_12"),
126 PINCTRL_PIN(13, "GPIO_13"),
127 PINCTRL_PIN(14, "GPIO_14"),
128 PINCTRL_PIN(15, "GPIO_15"),
129 PINCTRL_PIN(16, "GPIO_16"),
130 PINCTRL_PIN(17, "GPIO_17"),
131 PINCTRL_PIN(18, "GPIO_18"),
132 PINCTRL_PIN(19, "GPIO_19"),
133 PINCTRL_PIN(20, "GPIO_20"),
134 PINCTRL_PIN(21, "GPIO_21"),
135 PINCTRL_PIN(22, "GPIO_22"),
136 PINCTRL_PIN(23, "GPIO_23"),
137 PINCTRL_PIN(24, "GPIO_24"),
138 PINCTRL_PIN(25, "GPIO_25"),
139 PINCTRL_PIN(26, "GPIO_26"),
140 PINCTRL_PIN(27, "GPIO_27"),
141 PINCTRL_PIN(28, "GPIO_28"),
142 PINCTRL_PIN(29, "GPIO_29"),
143 PINCTRL_PIN(30, "GPIO_30"),
144 PINCTRL_PIN(31, "GPIO_31"),
145 PINCTRL_PIN(32, "GPIO_32"),
146 PINCTRL_PIN(33, "GPIO_33"),
147 PINCTRL_PIN(34, "GPIO_34"),
148 PINCTRL_PIN(35, "GPIO_35"),
149 PINCTRL_PIN(36, "GPIO_36"),
150 PINCTRL_PIN(37, "GPIO_37"),
151 PINCTRL_PIN(38, "GPIO_38"),
152 PINCTRL_PIN(39, "GPIO_39"),
153 PINCTRL_PIN(40, "GPIO_40"),
154 PINCTRL_PIN(41, "GPIO_41"),
155 PINCTRL_PIN(42, "GPIO_42"),
156 PINCTRL_PIN(43, "GPIO_43"),
157 PINCTRL_PIN(44, "GPIO_44"),
158 PINCTRL_PIN(45, "GPIO_45"),
159 PINCTRL_PIN(46, "GPIO_46"),
160 PINCTRL_PIN(47, "GPIO_47"),
161 PINCTRL_PIN(48, "GPIO_48"),
162 PINCTRL_PIN(49, "GPIO_49"),
163 PINCTRL_PIN(50, "GPIO_50"),
164 PINCTRL_PIN(51, "GPIO_51"),
165 PINCTRL_PIN(52, "GPIO_52"),
166 PINCTRL_PIN(53, "GPIO_53"),
167 PINCTRL_PIN(54, "GPIO_54"),
168 PINCTRL_PIN(55, "GPIO_55"),
169 PINCTRL_PIN(56, "GPIO_56"),
170 PINCTRL_PIN(57, "GPIO_57"),
171 PINCTRL_PIN(58, "GPIO_58"),
172 PINCTRL_PIN(59, "GPIO_59"),
173 PINCTRL_PIN(60, "GPIO_60"),
174 PINCTRL_PIN(61, "GPIO_61"),
175 PINCTRL_PIN(62, "GPIO_62"),
176 PINCTRL_PIN(64, "GPIO_64"),
177 PINCTRL_PIN(65, "GPIO_65"),
178 PINCTRL_PIN(66, "GPIO_66"),
179 PINCTRL_PIN(67, "GPIO_67"),
180 PINCTRL_PIN(68, "GPIO_68"),
181 PINCTRL_PIN(69, "GPIO_69"),
182 PINCTRL_PIN(70, "GPIO_70"),
183 PINCTRL_PIN(71, "GPIO_71"),
184 PINCTRL_PIN(72, "GPIO_72"),
185 PINCTRL_PIN(73, "GPIO_73"),
186 PINCTRL_PIN(74, "GPIO_74"),
187 PINCTRL_PIN(75, "GPIO_75"),
188 PINCTRL_PIN(76, "GPIO_76"),
189 PINCTRL_PIN(77, "GPIO_77"),
190 PINCTRL_PIN(78, "GPIO_78"),
191 PINCTRL_PIN(79, "GPIO_79"),
192 PINCTRL_PIN(80, "GPIO_80"),
193 PINCTRL_PIN(81, "GPIO_81"),
194 PINCTRL_PIN(82, "GPIO_82"),
195 PINCTRL_PIN(83, "GPIO_83"),
196 PINCTRL_PIN(84, "GPIO_84"),
197 PINCTRL_PIN(85, "GPIO_85"),
198 PINCTRL_PIN(86, "GPIO_86"),
199 PINCTRL_PIN(87, "GPIO_87"),
200 PINCTRL_PIN(88, "GPIO_88"),
201 PINCTRL_PIN(89, "GPIO_89"),
202 PINCTRL_PIN(90, "GPIO_90"),
203 PINCTRL_PIN(91, "GPIO_91"),
204 PINCTRL_PIN(92, "GPIO_92"),
205 PINCTRL_PIN(93, "GPIO_93"),
206 PINCTRL_PIN(94, "GPIO_94"),
207 PINCTRL_PIN(95, "GPIO_95"),
208 PINCTRL_PIN(96, "GPIO_96"),
209 PINCTRL_PIN(97, "GPIO_97"),
210 PINCTRL_PIN(98, "GPIO_98"),
211 PINCTRL_PIN(99, "GPIO_99"),
212 PINCTRL_PIN(100, "GPIO_100"),
213 PINCTRL_PIN(101, "GPIO_101"),
214 PINCTRL_PIN(102, "GPIO_102"),
215 PINCTRL_PIN(103, "GPIO_103"),
216 PINCTRL_PIN(104, "GPIO_104"),
217 PINCTRL_PIN(105, "GPIO_105"),
218 PINCTRL_PIN(106, "GPIO_106"),
219 PINCTRL_PIN(107, "GPIO_107"),
220 PINCTRL_PIN(108, "GPIO_108"),
221 PINCTRL_PIN(109, "GPIO_109"),
222 PINCTRL_PIN(110, "GPIO_110"),
223 PINCTRL_PIN(111, "GPIO_111"),
224 PINCTRL_PIN(112, "GPIO_112"),
225 PINCTRL_PIN(113, "GPIO_113"),
226 PINCTRL_PIN(114, "GPIO_114"),
227 PINCTRL_PIN(115, "GPIO_115"),
228 PINCTRL_PIN(116, "GPIO_116"),
229 PINCTRL_PIN(117, "GPIO_117"),
230 PINCTRL_PIN(118, "GPIO_118"),
231 PINCTRL_PIN(119, "GPIO_119"),
232 PINCTRL_PIN(120, "GPIO_120"),
233 PINCTRL_PIN(121, "GPIO_121"),
234 PINCTRL_PIN(122, "GPIO_122"),
235 PINCTRL_PIN(123, "GPIO_123"),
236 PINCTRL_PIN(124, "GPIO_124"),
237 PINCTRL_PIN(125, "GPIO_125"),
238 PINCTRL_PIN(126, "GPIO_126"),
239 PINCTRL_PIN(127, "GPIO_127"),
240 PINCTRL_PIN(128, "GPIO_128"),
241 PINCTRL_PIN(129, "GPIO_129"),
242 PINCTRL_PIN(130, "GPIO_130"),
243 PINCTRL_PIN(131, "GPIO_131"),
244 PINCTRL_PIN(132, "GPIO_132"),
245 PINCTRL_PIN(133, "GPIO_133"),
246 PINCTRL_PIN(134, "GPIO_134"),
247 PINCTRL_PIN(135, "GPIO_135"),
248 PINCTRL_PIN(136, "GPIO_136"),
249 PINCTRL_PIN(137, "GPIO_137"),
250 PINCTRL_PIN(138, "GPIO_138"),
251 PINCTRL_PIN(139, "GPIO_139"),
252 PINCTRL_PIN(140, "GPIO_140"),
253 PINCTRL_PIN(141, "GPIO_141"),
254 PINCTRL_PIN(142, "GPIO_142"),
255 PINCTRL_PIN(143, "GPIO_143"),
256 PINCTRL_PIN(144, "GPIO_144"),
257 PINCTRL_PIN(145, "GPIO_145"),
258 PINCTRL_PIN(146, "GPIO_146"),
259 PINCTRL_PIN(147, "GPIO_147"),
260 PINCTRL_PIN(148, "GPIO_148"),
261 PINCTRL_PIN(149, "GPIO_149"),
262 PINCTRL_PIN(150, "GPIO_150"),
263 PINCTRL_PIN(151, "GPIO_151"),
264 PINCTRL_PIN(152, "GPIO_152"),
265 PINCTRL_PIN(153, "GPIO_153"),
266 PINCTRL_PIN(154, "GPIO_154"),
267 PINCTRL_PIN(155, "GPIO_155"),
268 PINCTRL_PIN(156, "GPIO_156"),
269 PINCTRL_PIN(157, "GPIO_157"),
270 PINCTRL_PIN(158, "GPIO_158"),
271 PINCTRL_PIN(159, "GPIO_159"),
272 PINCTRL_PIN(160, "GPIO_160"),
273 PINCTRL_PIN(161, "GPIO_161"),
274 PINCTRL_PIN(162, "GPIO_162"),
275 PINCTRL_PIN(163, "GPIO_163"),
276 PINCTRL_PIN(164, "GPIO_164"),
277 PINCTRL_PIN(165, "GPIO_165"),
278 PINCTRL_PIN(166, "GPIO_166"),
279 PINCTRL_PIN(167, "GPIO_167"),
280 PINCTRL_PIN(168, "GPIO_168"),
281 PINCTRL_PIN(169, "GPIO_169"),
282 PINCTRL_PIN(170, "GPIO_170"),
283 PINCTRL_PIN(171, "GPIO_171"),
284 PINCTRL_PIN(172, "GPIO_172"),
285 PINCTRL_PIN(173, "GPIO_173"),
286 PINCTRL_PIN(174, "GPIO_174"),
287 PINCTRL_PIN(175, "GPIO_175"),
288 PINCTRL_PIN(176, "GPIO_176"),
289 PINCTRL_PIN(177, "GPIO_177"),
290 PINCTRL_PIN(178, "GPIO_178"),
291 PINCTRL_PIN(179, "GPIO_179"),
292 PINCTRL_PIN(180, "GPIO_180"),
293 PINCTRL_PIN(181, "GPIO_181"),
294 PINCTRL_PIN(182, "GPIO_182"),
295 PINCTRL_PIN(183, "GPIO_183"),
298 #define AMD_PINS(...) (const unsigned int []){__VA_ARGS__}
879 #define AMD_PINCTRL_FUNC_GRP(_number, _func) \
880 [IMX_F##_func##_GPIO##_number] = \
881 PINCTRL_PINGROUP("IMX_F"#_func "_GPIO"#_number, AMD_PINS(_number), 1)
883 static const struct pingroup kerncz_groups
[] = {
884 AMD_PINCTRL_FUNC_GRP(0, 0),
885 AMD_PINCTRL_FUNC_GRP(0, 1),
886 AMD_PINCTRL_FUNC_GRP(0, 2),
887 AMD_PINCTRL_FUNC_GRP(0, 3),
888 AMD_PINCTRL_FUNC_GRP(1, 0),
889 AMD_PINCTRL_FUNC_GRP(1, 1),
890 AMD_PINCTRL_FUNC_GRP(1, 2),
891 AMD_PINCTRL_FUNC_GRP(1, 3),
892 AMD_PINCTRL_FUNC_GRP(2, 0),
893 AMD_PINCTRL_FUNC_GRP(2, 1),
894 AMD_PINCTRL_FUNC_GRP(2, 2),
895 AMD_PINCTRL_FUNC_GRP(2, 3),
896 AMD_PINCTRL_FUNC_GRP(3, 0),
897 AMD_PINCTRL_FUNC_GRP(3, 1),
898 AMD_PINCTRL_FUNC_GRP(3, 2),
899 AMD_PINCTRL_FUNC_GRP(3, 3),
900 AMD_PINCTRL_FUNC_GRP(4, 0),
901 AMD_PINCTRL_FUNC_GRP(4, 1),
902 AMD_PINCTRL_FUNC_GRP(4, 2),
903 AMD_PINCTRL_FUNC_GRP(4, 3),
904 AMD_PINCTRL_FUNC_GRP(5, 0),
905 AMD_PINCTRL_FUNC_GRP(5, 1),
906 AMD_PINCTRL_FUNC_GRP(5, 2),
907 AMD_PINCTRL_FUNC_GRP(5, 3),
908 AMD_PINCTRL_FUNC_GRP(6, 0),
909 AMD_PINCTRL_FUNC_GRP(6, 1),
910 AMD_PINCTRL_FUNC_GRP(6, 2),
911 AMD_PINCTRL_FUNC_GRP(6, 3),
912 AMD_PINCTRL_FUNC_GRP(7, 0),
913 AMD_PINCTRL_FUNC_GRP(7, 1),
914 AMD_PINCTRL_FUNC_GRP(7, 2),
915 AMD_PINCTRL_FUNC_GRP(7, 3),
916 AMD_PINCTRL_FUNC_GRP(8, 0),
917 AMD_PINCTRL_FUNC_GRP(8, 1),
918 AMD_PINCTRL_FUNC_GRP(8, 2),
919 AMD_PINCTRL_FUNC_GRP(8, 3),
920 AMD_PINCTRL_FUNC_GRP(9, 0),
921 AMD_PINCTRL_FUNC_GRP(9, 1),
922 AMD_PINCTRL_FUNC_GRP(9, 2),
923 AMD_PINCTRL_FUNC_GRP(9, 3),
924 AMD_PINCTRL_FUNC_GRP(10, 0),
925 AMD_PINCTRL_FUNC_GRP(10, 1),
926 AMD_PINCTRL_FUNC_GRP(10, 2),
927 AMD_PINCTRL_FUNC_GRP(10, 3),
928 AMD_PINCTRL_FUNC_GRP(11, 0),
929 AMD_PINCTRL_FUNC_GRP(11, 1),
930 AMD_PINCTRL_FUNC_GRP(11, 2),
931 AMD_PINCTRL_FUNC_GRP(11, 3),
932 AMD_PINCTRL_FUNC_GRP(12, 0),
933 AMD_PINCTRL_FUNC_GRP(12, 1),
934 AMD_PINCTRL_FUNC_GRP(12, 2),
935 AMD_PINCTRL_FUNC_GRP(12, 3),
936 AMD_PINCTRL_FUNC_GRP(13, 0),
937 AMD_PINCTRL_FUNC_GRP(13, 1),
938 AMD_PINCTRL_FUNC_GRP(13, 2),
939 AMD_PINCTRL_FUNC_GRP(13, 3),
940 AMD_PINCTRL_FUNC_GRP(14, 0),
941 AMD_PINCTRL_FUNC_GRP(14, 1),
942 AMD_PINCTRL_FUNC_GRP(14, 2),
943 AMD_PINCTRL_FUNC_GRP(14, 3),
944 AMD_PINCTRL_FUNC_GRP(15, 0),
945 AMD_PINCTRL_FUNC_GRP(15, 1),
946 AMD_PINCTRL_FUNC_GRP(15, 2),
947 AMD_PINCTRL_FUNC_GRP(15, 3),
948 AMD_PINCTRL_FUNC_GRP(16, 0),
949 AMD_PINCTRL_FUNC_GRP(16, 1),
950 AMD_PINCTRL_FUNC_GRP(16, 2),
951 AMD_PINCTRL_FUNC_GRP(16, 3),
952 AMD_PINCTRL_FUNC_GRP(17, 0),
953 AMD_PINCTRL_FUNC_GRP(17, 1),
954 AMD_PINCTRL_FUNC_GRP(17, 2),
955 AMD_PINCTRL_FUNC_GRP(17, 3),
956 AMD_PINCTRL_FUNC_GRP(18, 0),
957 AMD_PINCTRL_FUNC_GRP(18, 1),
958 AMD_PINCTRL_FUNC_GRP(18, 2),
959 AMD_PINCTRL_FUNC_GRP(18, 3),
960 AMD_PINCTRL_FUNC_GRP(19, 0),
961 AMD_PINCTRL_FUNC_GRP(19, 1),
962 AMD_PINCTRL_FUNC_GRP(19, 2),
963 AMD_PINCTRL_FUNC_GRP(19, 3),
964 AMD_PINCTRL_FUNC_GRP(20, 0),
965 AMD_PINCTRL_FUNC_GRP(20, 1),
966 AMD_PINCTRL_FUNC_GRP(20, 2),
967 AMD_PINCTRL_FUNC_GRP(20, 3),
968 AMD_PINCTRL_FUNC_GRP(21, 0),
969 AMD_PINCTRL_FUNC_GRP(21, 1),
970 AMD_PINCTRL_FUNC_GRP(21, 2),
971 AMD_PINCTRL_FUNC_GRP(21, 3),
972 AMD_PINCTRL_FUNC_GRP(22, 0),
973 AMD_PINCTRL_FUNC_GRP(22, 1),
974 AMD_PINCTRL_FUNC_GRP(22, 2),
975 AMD_PINCTRL_FUNC_GRP(22, 3),
976 AMD_PINCTRL_FUNC_GRP(23, 0),
977 AMD_PINCTRL_FUNC_GRP(23, 1),
978 AMD_PINCTRL_FUNC_GRP(23, 2),
979 AMD_PINCTRL_FUNC_GRP(23, 3),
980 AMD_PINCTRL_FUNC_GRP(24, 0),
981 AMD_PINCTRL_FUNC_GRP(24, 1),
982 AMD_PINCTRL_FUNC_GRP(24, 2),
983 AMD_PINCTRL_FUNC_GRP(24, 3),
984 AMD_PINCTRL_FUNC_GRP(25, 0),
985 AMD_PINCTRL_FUNC_GRP(25, 1),
986 AMD_PINCTRL_FUNC_GRP(25, 2),
987 AMD_PINCTRL_FUNC_GRP(25, 3),
988 AMD_PINCTRL_FUNC_GRP(26, 0),
989 AMD_PINCTRL_FUNC_GRP(26, 1),
990 AMD_PINCTRL_FUNC_GRP(26, 2),
991 AMD_PINCTRL_FUNC_GRP(26, 3),
992 AMD_PINCTRL_FUNC_GRP(27, 0),
993 AMD_PINCTRL_FUNC_GRP(27, 1),
994 AMD_PINCTRL_FUNC_GRP(27, 2),
995 AMD_PINCTRL_FUNC_GRP(27, 3),
996 AMD_PINCTRL_FUNC_GRP(28, 0),
997 AMD_PINCTRL_FUNC_GRP(28, 1),
998 AMD_PINCTRL_FUNC_GRP(28, 2),
999 AMD_PINCTRL_FUNC_GRP(28, 3),
1000 AMD_PINCTRL_FUNC_GRP(29, 0),
1001 AMD_PINCTRL_FUNC_GRP(29, 1),
1002 AMD_PINCTRL_FUNC_GRP(29, 2),
1003 AMD_PINCTRL_FUNC_GRP(29, 3),
1004 AMD_PINCTRL_FUNC_GRP(30, 0),
1005 AMD_PINCTRL_FUNC_GRP(30, 1),
1006 AMD_PINCTRL_FUNC_GRP(30, 2),
1007 AMD_PINCTRL_FUNC_GRP(30, 3),
1008 AMD_PINCTRL_FUNC_GRP(31, 0),
1009 AMD_PINCTRL_FUNC_GRP(31, 1),
1010 AMD_PINCTRL_FUNC_GRP(31, 2),
1011 AMD_PINCTRL_FUNC_GRP(31, 3),
1012 AMD_PINCTRL_FUNC_GRP(32, 0),
1013 AMD_PINCTRL_FUNC_GRP(32, 1),
1014 AMD_PINCTRL_FUNC_GRP(32, 2),
1015 AMD_PINCTRL_FUNC_GRP(32, 3),
1016 AMD_PINCTRL_FUNC_GRP(33, 0),
1017 AMD_PINCTRL_FUNC_GRP(33, 1),
1018 AMD_PINCTRL_FUNC_GRP(33, 2),
1019 AMD_PINCTRL_FUNC_GRP(33, 3),
1020 AMD_PINCTRL_FUNC_GRP(34, 0),
1021 AMD_PINCTRL_FUNC_GRP(34, 1),
1022 AMD_PINCTRL_FUNC_GRP(34, 2),
1023 AMD_PINCTRL_FUNC_GRP(34, 3),
1024 AMD_PINCTRL_FUNC_GRP(35, 0),
1025 AMD_PINCTRL_FUNC_GRP(35, 1),
1026 AMD_PINCTRL_FUNC_GRP(35, 2),
1027 AMD_PINCTRL_FUNC_GRP(35, 3),
1028 AMD_PINCTRL_FUNC_GRP(36, 0),
1029 AMD_PINCTRL_FUNC_GRP(36, 1),
1030 AMD_PINCTRL_FUNC_GRP(36, 2),
1031 AMD_PINCTRL_FUNC_GRP(36, 3),
1032 AMD_PINCTRL_FUNC_GRP(37, 0),
1033 AMD_PINCTRL_FUNC_GRP(37, 1),
1034 AMD_PINCTRL_FUNC_GRP(37, 2),
1035 AMD_PINCTRL_FUNC_GRP(37, 3),
1036 AMD_PINCTRL_FUNC_GRP(38, 0),
1037 AMD_PINCTRL_FUNC_GRP(38, 1),
1038 AMD_PINCTRL_FUNC_GRP(38, 2),
1039 AMD_PINCTRL_FUNC_GRP(38, 3),
1040 AMD_PINCTRL_FUNC_GRP(39, 0),
1041 AMD_PINCTRL_FUNC_GRP(39, 1),
1042 AMD_PINCTRL_FUNC_GRP(39, 2),
1043 AMD_PINCTRL_FUNC_GRP(39, 3),
1044 AMD_PINCTRL_FUNC_GRP(40, 0),
1045 AMD_PINCTRL_FUNC_GRP(40, 1),
1046 AMD_PINCTRL_FUNC_GRP(40, 2),
1047 AMD_PINCTRL_FUNC_GRP(40, 3),
1048 AMD_PINCTRL_FUNC_GRP(41, 0),
1049 AMD_PINCTRL_FUNC_GRP(41, 1),
1050 AMD_PINCTRL_FUNC_GRP(41, 2),
1051 AMD_PINCTRL_FUNC_GRP(41, 3),
1052 AMD_PINCTRL_FUNC_GRP(42, 0),
1053 AMD_PINCTRL_FUNC_GRP(42, 1),
1054 AMD_PINCTRL_FUNC_GRP(42, 2),
1055 AMD_PINCTRL_FUNC_GRP(42, 3),
1056 AMD_PINCTRL_FUNC_GRP(43, 0),
1057 AMD_PINCTRL_FUNC_GRP(43, 1),
1058 AMD_PINCTRL_FUNC_GRP(43, 2),
1059 AMD_PINCTRL_FUNC_GRP(43, 3),
1060 AMD_PINCTRL_FUNC_GRP(44, 0),
1061 AMD_PINCTRL_FUNC_GRP(44, 1),
1062 AMD_PINCTRL_FUNC_GRP(44, 2),
1063 AMD_PINCTRL_FUNC_GRP(44, 3),
1064 AMD_PINCTRL_FUNC_GRP(45, 0),
1065 AMD_PINCTRL_FUNC_GRP(45, 1),
1066 AMD_PINCTRL_FUNC_GRP(45, 2),
1067 AMD_PINCTRL_FUNC_GRP(45, 3),
1068 AMD_PINCTRL_FUNC_GRP(46, 0),
1069 AMD_PINCTRL_FUNC_GRP(46, 1),
1070 AMD_PINCTRL_FUNC_GRP(46, 2),
1071 AMD_PINCTRL_FUNC_GRP(46, 3),
1072 AMD_PINCTRL_FUNC_GRP(47, 0),
1073 AMD_PINCTRL_FUNC_GRP(47, 1),
1074 AMD_PINCTRL_FUNC_GRP(47, 2),
1075 AMD_PINCTRL_FUNC_GRP(47, 3),
1076 AMD_PINCTRL_FUNC_GRP(48, 0),
1077 AMD_PINCTRL_FUNC_GRP(48, 1),
1078 AMD_PINCTRL_FUNC_GRP(48, 2),
1079 AMD_PINCTRL_FUNC_GRP(48, 3),
1080 AMD_PINCTRL_FUNC_GRP(49, 0),
1081 AMD_PINCTRL_FUNC_GRP(49, 1),
1082 AMD_PINCTRL_FUNC_GRP(49, 2),
1083 AMD_PINCTRL_FUNC_GRP(49, 3),
1084 AMD_PINCTRL_FUNC_GRP(50, 0),
1085 AMD_PINCTRL_FUNC_GRP(50, 1),
1086 AMD_PINCTRL_FUNC_GRP(50, 2),
1087 AMD_PINCTRL_FUNC_GRP(50, 3),
1088 AMD_PINCTRL_FUNC_GRP(51, 0),
1089 AMD_PINCTRL_FUNC_GRP(51, 1),
1090 AMD_PINCTRL_FUNC_GRP(51, 2),
1091 AMD_PINCTRL_FUNC_GRP(51, 3),
1092 AMD_PINCTRL_FUNC_GRP(52, 0),
1093 AMD_PINCTRL_FUNC_GRP(52, 1),
1094 AMD_PINCTRL_FUNC_GRP(52, 2),
1095 AMD_PINCTRL_FUNC_GRP(52, 3),
1096 AMD_PINCTRL_FUNC_GRP(53, 0),
1097 AMD_PINCTRL_FUNC_GRP(53, 1),
1098 AMD_PINCTRL_FUNC_GRP(53, 2),
1099 AMD_PINCTRL_FUNC_GRP(53, 3),
1100 AMD_PINCTRL_FUNC_GRP(54, 0),
1101 AMD_PINCTRL_FUNC_GRP(54, 1),
1102 AMD_PINCTRL_FUNC_GRP(54, 2),
1103 AMD_PINCTRL_FUNC_GRP(54, 3),
1104 AMD_PINCTRL_FUNC_GRP(55, 0),
1105 AMD_PINCTRL_FUNC_GRP(55, 1),
1106 AMD_PINCTRL_FUNC_GRP(55, 2),
1107 AMD_PINCTRL_FUNC_GRP(55, 3),
1108 AMD_PINCTRL_FUNC_GRP(56, 0),
1109 AMD_PINCTRL_FUNC_GRP(56, 1),
1110 AMD_PINCTRL_FUNC_GRP(56, 2),
1111 AMD_PINCTRL_FUNC_GRP(56, 3),
1112 AMD_PINCTRL_FUNC_GRP(57, 0),
1113 AMD_PINCTRL_FUNC_GRP(57, 1),
1114 AMD_PINCTRL_FUNC_GRP(57, 2),
1115 AMD_PINCTRL_FUNC_GRP(57, 3),
1116 AMD_PINCTRL_FUNC_GRP(58, 0),
1117 AMD_PINCTRL_FUNC_GRP(58, 1),
1118 AMD_PINCTRL_FUNC_GRP(58, 2),
1119 AMD_PINCTRL_FUNC_GRP(58, 3),
1120 AMD_PINCTRL_FUNC_GRP(59, 0),
1121 AMD_PINCTRL_FUNC_GRP(59, 1),
1122 AMD_PINCTRL_FUNC_GRP(59, 2),
1123 AMD_PINCTRL_FUNC_GRP(59, 3),
1124 AMD_PINCTRL_FUNC_GRP(60, 0),
1125 AMD_PINCTRL_FUNC_GRP(60, 1),
1126 AMD_PINCTRL_FUNC_GRP(60, 2),
1127 AMD_PINCTRL_FUNC_GRP(60, 3),
1128 AMD_PINCTRL_FUNC_GRP(61, 0),
1129 AMD_PINCTRL_FUNC_GRP(61, 1),
1130 AMD_PINCTRL_FUNC_GRP(61, 2),
1131 AMD_PINCTRL_FUNC_GRP(61, 3),
1132 AMD_PINCTRL_FUNC_GRP(62, 0),
1133 AMD_PINCTRL_FUNC_GRP(62, 1),
1134 AMD_PINCTRL_FUNC_GRP(62, 2),
1135 AMD_PINCTRL_FUNC_GRP(62, 3),
1136 AMD_PINCTRL_FUNC_GRP(64, 0),
1137 AMD_PINCTRL_FUNC_GRP(64, 1),
1138 AMD_PINCTRL_FUNC_GRP(64, 2),
1139 AMD_PINCTRL_FUNC_GRP(64, 3),
1140 AMD_PINCTRL_FUNC_GRP(65, 0),
1141 AMD_PINCTRL_FUNC_GRP(65, 1),
1142 AMD_PINCTRL_FUNC_GRP(65, 2),
1143 AMD_PINCTRL_FUNC_GRP(65, 3),
1144 AMD_PINCTRL_FUNC_GRP(66, 0),
1145 AMD_PINCTRL_FUNC_GRP(66, 1),
1146 AMD_PINCTRL_FUNC_GRP(66, 2),
1147 AMD_PINCTRL_FUNC_GRP(66, 3),
1148 AMD_PINCTRL_FUNC_GRP(67, 0),
1149 AMD_PINCTRL_FUNC_GRP(67, 1),
1150 AMD_PINCTRL_FUNC_GRP(67, 2),
1151 AMD_PINCTRL_FUNC_GRP(67, 3),
1152 AMD_PINCTRL_FUNC_GRP(68, 0),
1153 AMD_PINCTRL_FUNC_GRP(68, 1),
1154 AMD_PINCTRL_FUNC_GRP(68, 2),
1155 AMD_PINCTRL_FUNC_GRP(68, 3),
1156 AMD_PINCTRL_FUNC_GRP(69, 0),
1157 AMD_PINCTRL_FUNC_GRP(69, 1),
1158 AMD_PINCTRL_FUNC_GRP(69, 2),
1159 AMD_PINCTRL_FUNC_GRP(69, 3),
1160 AMD_PINCTRL_FUNC_GRP(70, 0),
1161 AMD_PINCTRL_FUNC_GRP(70, 1),
1162 AMD_PINCTRL_FUNC_GRP(70, 2),
1163 AMD_PINCTRL_FUNC_GRP(70, 3),
1164 AMD_PINCTRL_FUNC_GRP(71, 0),
1165 AMD_PINCTRL_FUNC_GRP(71, 1),
1166 AMD_PINCTRL_FUNC_GRP(71, 2),
1167 AMD_PINCTRL_FUNC_GRP(71, 3),
1168 AMD_PINCTRL_FUNC_GRP(72, 0),
1169 AMD_PINCTRL_FUNC_GRP(72, 1),
1170 AMD_PINCTRL_FUNC_GRP(72, 2),
1171 AMD_PINCTRL_FUNC_GRP(72, 3),
1172 AMD_PINCTRL_FUNC_GRP(73, 0),
1173 AMD_PINCTRL_FUNC_GRP(73, 1),
1174 AMD_PINCTRL_FUNC_GRP(73, 2),
1175 AMD_PINCTRL_FUNC_GRP(73, 3),
1176 AMD_PINCTRL_FUNC_GRP(74, 0),
1177 AMD_PINCTRL_FUNC_GRP(74, 1),
1178 AMD_PINCTRL_FUNC_GRP(74, 2),
1179 AMD_PINCTRL_FUNC_GRP(74, 3),
1180 AMD_PINCTRL_FUNC_GRP(75, 0),
1181 AMD_PINCTRL_FUNC_GRP(75, 1),
1182 AMD_PINCTRL_FUNC_GRP(75, 2),
1183 AMD_PINCTRL_FUNC_GRP(75, 3),
1184 AMD_PINCTRL_FUNC_GRP(76, 0),
1185 AMD_PINCTRL_FUNC_GRP(76, 1),
1186 AMD_PINCTRL_FUNC_GRP(76, 2),
1187 AMD_PINCTRL_FUNC_GRP(76, 3),
1188 AMD_PINCTRL_FUNC_GRP(77, 0),
1189 AMD_PINCTRL_FUNC_GRP(77, 1),
1190 AMD_PINCTRL_FUNC_GRP(77, 2),
1191 AMD_PINCTRL_FUNC_GRP(77, 3),
1192 AMD_PINCTRL_FUNC_GRP(78, 0),
1193 AMD_PINCTRL_FUNC_GRP(78, 1),
1194 AMD_PINCTRL_FUNC_GRP(78, 2),
1195 AMD_PINCTRL_FUNC_GRP(78, 3),
1196 AMD_PINCTRL_FUNC_GRP(79, 0),
1197 AMD_PINCTRL_FUNC_GRP(79, 1),
1198 AMD_PINCTRL_FUNC_GRP(79, 2),
1199 AMD_PINCTRL_FUNC_GRP(79, 3),
1200 AMD_PINCTRL_FUNC_GRP(80, 0),
1201 AMD_PINCTRL_FUNC_GRP(80, 1),
1202 AMD_PINCTRL_FUNC_GRP(80, 2),
1203 AMD_PINCTRL_FUNC_GRP(80, 3),
1204 AMD_PINCTRL_FUNC_GRP(81, 0),
1205 AMD_PINCTRL_FUNC_GRP(81, 1),
1206 AMD_PINCTRL_FUNC_GRP(81, 2),
1207 AMD_PINCTRL_FUNC_GRP(81, 3),
1208 AMD_PINCTRL_FUNC_GRP(82, 0),
1209 AMD_PINCTRL_FUNC_GRP(82, 1),
1210 AMD_PINCTRL_FUNC_GRP(82, 2),
1211 AMD_PINCTRL_FUNC_GRP(82, 3),
1212 AMD_PINCTRL_FUNC_GRP(83, 0),
1213 AMD_PINCTRL_FUNC_GRP(83, 1),
1214 AMD_PINCTRL_FUNC_GRP(83, 2),
1215 AMD_PINCTRL_FUNC_GRP(83, 3),
1216 AMD_PINCTRL_FUNC_GRP(84, 0),
1217 AMD_PINCTRL_FUNC_GRP(84, 1),
1218 AMD_PINCTRL_FUNC_GRP(84, 2),
1219 AMD_PINCTRL_FUNC_GRP(84, 3),
1220 AMD_PINCTRL_FUNC_GRP(85, 0),
1221 AMD_PINCTRL_FUNC_GRP(85, 1),
1222 AMD_PINCTRL_FUNC_GRP(85, 2),
1223 AMD_PINCTRL_FUNC_GRP(85, 3),
1224 AMD_PINCTRL_FUNC_GRP(86, 0),
1225 AMD_PINCTRL_FUNC_GRP(86, 1),
1226 AMD_PINCTRL_FUNC_GRP(86, 2),
1227 AMD_PINCTRL_FUNC_GRP(86, 3),
1228 AMD_PINCTRL_FUNC_GRP(87, 0),
1229 AMD_PINCTRL_FUNC_GRP(87, 1),
1230 AMD_PINCTRL_FUNC_GRP(87, 2),
1231 AMD_PINCTRL_FUNC_GRP(87, 3),
1232 AMD_PINCTRL_FUNC_GRP(88, 0),
1233 AMD_PINCTRL_FUNC_GRP(88, 1),
1234 AMD_PINCTRL_FUNC_GRP(88, 2),
1235 AMD_PINCTRL_FUNC_GRP(88, 3),
1236 AMD_PINCTRL_FUNC_GRP(89, 0),
1237 AMD_PINCTRL_FUNC_GRP(89, 1),
1238 AMD_PINCTRL_FUNC_GRP(89, 2),
1239 AMD_PINCTRL_FUNC_GRP(89, 3),
1240 AMD_PINCTRL_FUNC_GRP(90, 0),
1241 AMD_PINCTRL_FUNC_GRP(90, 1),
1242 AMD_PINCTRL_FUNC_GRP(90, 2),
1243 AMD_PINCTRL_FUNC_GRP(90, 3),
1244 AMD_PINCTRL_FUNC_GRP(91, 0),
1245 AMD_PINCTRL_FUNC_GRP(91, 1),
1246 AMD_PINCTRL_FUNC_GRP(91, 2),
1247 AMD_PINCTRL_FUNC_GRP(91, 3),
1248 AMD_PINCTRL_FUNC_GRP(92, 0),
1249 AMD_PINCTRL_FUNC_GRP(92, 1),
1250 AMD_PINCTRL_FUNC_GRP(92, 2),
1251 AMD_PINCTRL_FUNC_GRP(92, 3),
1252 AMD_PINCTRL_FUNC_GRP(93, 0),
1253 AMD_PINCTRL_FUNC_GRP(93, 1),
1254 AMD_PINCTRL_FUNC_GRP(93, 2),
1255 AMD_PINCTRL_FUNC_GRP(93, 3),
1256 AMD_PINCTRL_FUNC_GRP(94, 0),
1257 AMD_PINCTRL_FUNC_GRP(94, 1),
1258 AMD_PINCTRL_FUNC_GRP(94, 2),
1259 AMD_PINCTRL_FUNC_GRP(94, 3),
1260 AMD_PINCTRL_FUNC_GRP(95, 0),
1261 AMD_PINCTRL_FUNC_GRP(95, 1),
1262 AMD_PINCTRL_FUNC_GRP(95, 2),
1263 AMD_PINCTRL_FUNC_GRP(95, 3),
1264 AMD_PINCTRL_FUNC_GRP(96, 0),
1265 AMD_PINCTRL_FUNC_GRP(96, 1),
1266 AMD_PINCTRL_FUNC_GRP(96, 2),
1267 AMD_PINCTRL_FUNC_GRP(96, 3),
1268 AMD_PINCTRL_FUNC_GRP(97, 0),
1269 AMD_PINCTRL_FUNC_GRP(97, 1),
1270 AMD_PINCTRL_FUNC_GRP(97, 2),
1271 AMD_PINCTRL_FUNC_GRP(97, 3),
1272 AMD_PINCTRL_FUNC_GRP(98, 0),
1273 AMD_PINCTRL_FUNC_GRP(98, 1),
1274 AMD_PINCTRL_FUNC_GRP(98, 2),
1275 AMD_PINCTRL_FUNC_GRP(98, 3),
1276 AMD_PINCTRL_FUNC_GRP(99, 0),
1277 AMD_PINCTRL_FUNC_GRP(99, 1),
1278 AMD_PINCTRL_FUNC_GRP(99, 2),
1279 AMD_PINCTRL_FUNC_GRP(99, 3),
1280 AMD_PINCTRL_FUNC_GRP(100, 0),
1281 AMD_PINCTRL_FUNC_GRP(100, 1),
1282 AMD_PINCTRL_FUNC_GRP(100, 2),
1283 AMD_PINCTRL_FUNC_GRP(100, 3),
1284 AMD_PINCTRL_FUNC_GRP(101, 0),
1285 AMD_PINCTRL_FUNC_GRP(101, 1),
1286 AMD_PINCTRL_FUNC_GRP(101, 2),
1287 AMD_PINCTRL_FUNC_GRP(101, 3),
1288 AMD_PINCTRL_FUNC_GRP(102, 0),
1289 AMD_PINCTRL_FUNC_GRP(102, 1),
1290 AMD_PINCTRL_FUNC_GRP(102, 2),
1291 AMD_PINCTRL_FUNC_GRP(102, 3),
1292 AMD_PINCTRL_FUNC_GRP(103, 0),
1293 AMD_PINCTRL_FUNC_GRP(103, 1),
1294 AMD_PINCTRL_FUNC_GRP(103, 2),
1295 AMD_PINCTRL_FUNC_GRP(103, 3),
1296 AMD_PINCTRL_FUNC_GRP(104, 0),
1297 AMD_PINCTRL_FUNC_GRP(104, 1),
1298 AMD_PINCTRL_FUNC_GRP(104, 2),
1299 AMD_PINCTRL_FUNC_GRP(104, 3),
1300 AMD_PINCTRL_FUNC_GRP(105, 0),
1301 AMD_PINCTRL_FUNC_GRP(105, 1),
1302 AMD_PINCTRL_FUNC_GRP(105, 2),
1303 AMD_PINCTRL_FUNC_GRP(105, 3),
1304 AMD_PINCTRL_FUNC_GRP(106, 0),
1305 AMD_PINCTRL_FUNC_GRP(106, 1),
1306 AMD_PINCTRL_FUNC_GRP(106, 2),
1307 AMD_PINCTRL_FUNC_GRP(106, 3),
1308 AMD_PINCTRL_FUNC_GRP(107, 0),
1309 AMD_PINCTRL_FUNC_GRP(107, 1),
1310 AMD_PINCTRL_FUNC_GRP(107, 2),
1311 AMD_PINCTRL_FUNC_GRP(107, 3),
1312 AMD_PINCTRL_FUNC_GRP(108, 0),
1313 AMD_PINCTRL_FUNC_GRP(108, 1),
1314 AMD_PINCTRL_FUNC_GRP(108, 2),
1315 AMD_PINCTRL_FUNC_GRP(108, 3),
1316 AMD_PINCTRL_FUNC_GRP(109, 0),
1317 AMD_PINCTRL_FUNC_GRP(109, 1),
1318 AMD_PINCTRL_FUNC_GRP(109, 2),
1319 AMD_PINCTRL_FUNC_GRP(109, 3),
1320 AMD_PINCTRL_FUNC_GRP(110, 0),
1321 AMD_PINCTRL_FUNC_GRP(110, 1),
1322 AMD_PINCTRL_FUNC_GRP(110, 2),
1323 AMD_PINCTRL_FUNC_GRP(110, 3),
1324 AMD_PINCTRL_FUNC_GRP(111, 0),
1325 AMD_PINCTRL_FUNC_GRP(111, 1),
1326 AMD_PINCTRL_FUNC_GRP(111, 2),
1327 AMD_PINCTRL_FUNC_GRP(111, 3),
1328 AMD_PINCTRL_FUNC_GRP(112, 0),
1329 AMD_PINCTRL_FUNC_GRP(112, 1),
1330 AMD_PINCTRL_FUNC_GRP(112, 2),
1331 AMD_PINCTRL_FUNC_GRP(112, 3),
1332 AMD_PINCTRL_FUNC_GRP(113, 0),
1333 AMD_PINCTRL_FUNC_GRP(113, 1),
1334 AMD_PINCTRL_FUNC_GRP(113, 2),
1335 AMD_PINCTRL_FUNC_GRP(113, 3),
1336 AMD_PINCTRL_FUNC_GRP(114, 0),
1337 AMD_PINCTRL_FUNC_GRP(114, 1),
1338 AMD_PINCTRL_FUNC_GRP(114, 2),
1339 AMD_PINCTRL_FUNC_GRP(114, 3),
1340 AMD_PINCTRL_FUNC_GRP(115, 0),
1341 AMD_PINCTRL_FUNC_GRP(115, 1),
1342 AMD_PINCTRL_FUNC_GRP(115, 2),
1343 AMD_PINCTRL_FUNC_GRP(115, 3),
1344 AMD_PINCTRL_FUNC_GRP(116, 0),
1345 AMD_PINCTRL_FUNC_GRP(116, 1),
1346 AMD_PINCTRL_FUNC_GRP(116, 2),
1347 AMD_PINCTRL_FUNC_GRP(116, 3),
1348 AMD_PINCTRL_FUNC_GRP(117, 0),
1349 AMD_PINCTRL_FUNC_GRP(117, 1),
1350 AMD_PINCTRL_FUNC_GRP(117, 2),
1351 AMD_PINCTRL_FUNC_GRP(117, 3),
1352 AMD_PINCTRL_FUNC_GRP(118, 0),
1353 AMD_PINCTRL_FUNC_GRP(118, 1),
1354 AMD_PINCTRL_FUNC_GRP(118, 2),
1355 AMD_PINCTRL_FUNC_GRP(118, 3),
1356 AMD_PINCTRL_FUNC_GRP(119, 0),
1357 AMD_PINCTRL_FUNC_GRP(119, 1),
1358 AMD_PINCTRL_FUNC_GRP(119, 2),
1359 AMD_PINCTRL_FUNC_GRP(119, 3),
1360 AMD_PINCTRL_FUNC_GRP(120, 0),
1361 AMD_PINCTRL_FUNC_GRP(120, 1),
1362 AMD_PINCTRL_FUNC_GRP(120, 2),
1363 AMD_PINCTRL_FUNC_GRP(120, 3),
1364 AMD_PINCTRL_FUNC_GRP(121, 0),
1365 AMD_PINCTRL_FUNC_GRP(121, 1),
1366 AMD_PINCTRL_FUNC_GRP(121, 2),
1367 AMD_PINCTRL_FUNC_GRP(121, 3),
1368 AMD_PINCTRL_FUNC_GRP(122, 0),
1369 AMD_PINCTRL_FUNC_GRP(122, 1),
1370 AMD_PINCTRL_FUNC_GRP(122, 2),
1371 AMD_PINCTRL_FUNC_GRP(122, 3),
1372 AMD_PINCTRL_FUNC_GRP(123, 0),
1373 AMD_PINCTRL_FUNC_GRP(123, 1),
1374 AMD_PINCTRL_FUNC_GRP(123, 2),
1375 AMD_PINCTRL_FUNC_GRP(123, 3),
1376 AMD_PINCTRL_FUNC_GRP(124, 0),
1377 AMD_PINCTRL_FUNC_GRP(124, 1),
1378 AMD_PINCTRL_FUNC_GRP(124, 2),
1379 AMD_PINCTRL_FUNC_GRP(124, 3),
1380 AMD_PINCTRL_FUNC_GRP(125, 0),
1381 AMD_PINCTRL_FUNC_GRP(125, 1),
1382 AMD_PINCTRL_FUNC_GRP(125, 2),
1383 AMD_PINCTRL_FUNC_GRP(125, 3),
1384 AMD_PINCTRL_FUNC_GRP(126, 0),
1385 AMD_PINCTRL_FUNC_GRP(126, 1),
1386 AMD_PINCTRL_FUNC_GRP(126, 2),
1387 AMD_PINCTRL_FUNC_GRP(126, 3),
1388 AMD_PINCTRL_FUNC_GRP(127, 0),
1389 AMD_PINCTRL_FUNC_GRP(127, 1),
1390 AMD_PINCTRL_FUNC_GRP(127, 2),
1391 AMD_PINCTRL_FUNC_GRP(127, 3),
1392 AMD_PINCTRL_FUNC_GRP(128, 0),
1393 AMD_PINCTRL_FUNC_GRP(128, 1),
1394 AMD_PINCTRL_FUNC_GRP(128, 2),
1395 AMD_PINCTRL_FUNC_GRP(128, 3),
1396 AMD_PINCTRL_FUNC_GRP(129, 0),
1397 AMD_PINCTRL_FUNC_GRP(129, 1),
1398 AMD_PINCTRL_FUNC_GRP(129, 2),
1399 AMD_PINCTRL_FUNC_GRP(129, 3),
1400 AMD_PINCTRL_FUNC_GRP(130, 0),
1401 AMD_PINCTRL_FUNC_GRP(130, 1),
1402 AMD_PINCTRL_FUNC_GRP(130, 2),
1403 AMD_PINCTRL_FUNC_GRP(130, 3),
1404 AMD_PINCTRL_FUNC_GRP(131, 0),
1405 AMD_PINCTRL_FUNC_GRP(131, 1),
1406 AMD_PINCTRL_FUNC_GRP(131, 2),
1407 AMD_PINCTRL_FUNC_GRP(131, 3),
1408 AMD_PINCTRL_FUNC_GRP(132, 0),
1409 AMD_PINCTRL_FUNC_GRP(132, 1),
1410 AMD_PINCTRL_FUNC_GRP(132, 2),
1411 AMD_PINCTRL_FUNC_GRP(132, 3),
1412 AMD_PINCTRL_FUNC_GRP(133, 0),
1413 AMD_PINCTRL_FUNC_GRP(133, 1),
1414 AMD_PINCTRL_FUNC_GRP(133, 2),
1415 AMD_PINCTRL_FUNC_GRP(133, 3),
1416 AMD_PINCTRL_FUNC_GRP(134, 0),
1417 AMD_PINCTRL_FUNC_GRP(134, 1),
1418 AMD_PINCTRL_FUNC_GRP(134, 2),
1419 AMD_PINCTRL_FUNC_GRP(134, 3),
1420 AMD_PINCTRL_FUNC_GRP(135, 0),
1421 AMD_PINCTRL_FUNC_GRP(135, 1),
1422 AMD_PINCTRL_FUNC_GRP(135, 2),
1423 AMD_PINCTRL_FUNC_GRP(135, 3),
1424 AMD_PINCTRL_FUNC_GRP(136, 0),
1425 AMD_PINCTRL_FUNC_GRP(136, 1),
1426 AMD_PINCTRL_FUNC_GRP(136, 2),
1427 AMD_PINCTRL_FUNC_GRP(136, 3),
1428 AMD_PINCTRL_FUNC_GRP(137, 0),
1429 AMD_PINCTRL_FUNC_GRP(137, 1),
1430 AMD_PINCTRL_FUNC_GRP(137, 2),
1431 AMD_PINCTRL_FUNC_GRP(137, 3),
1432 AMD_PINCTRL_FUNC_GRP(138, 0),
1433 AMD_PINCTRL_FUNC_GRP(138, 1),
1434 AMD_PINCTRL_FUNC_GRP(138, 2),
1435 AMD_PINCTRL_FUNC_GRP(138, 3),
1436 AMD_PINCTRL_FUNC_GRP(139, 0),
1437 AMD_PINCTRL_FUNC_GRP(139, 1),
1438 AMD_PINCTRL_FUNC_GRP(139, 2),
1439 AMD_PINCTRL_FUNC_GRP(139, 3),
1440 AMD_PINCTRL_FUNC_GRP(140, 0),
1441 AMD_PINCTRL_FUNC_GRP(140, 1),
1442 AMD_PINCTRL_FUNC_GRP(140, 2),
1443 AMD_PINCTRL_FUNC_GRP(140, 3),
1444 AMD_PINCTRL_FUNC_GRP(141, 0),
1445 AMD_PINCTRL_FUNC_GRP(141, 1),
1446 AMD_PINCTRL_FUNC_GRP(141, 2),
1447 AMD_PINCTRL_FUNC_GRP(141, 3),
1448 AMD_PINCTRL_FUNC_GRP(142, 0),
1449 AMD_PINCTRL_FUNC_GRP(142, 1),
1450 AMD_PINCTRL_FUNC_GRP(142, 2),
1451 AMD_PINCTRL_FUNC_GRP(142, 3),
1452 AMD_PINCTRL_FUNC_GRP(143, 0),
1453 AMD_PINCTRL_FUNC_GRP(143, 1),
1454 AMD_PINCTRL_FUNC_GRP(143, 2),
1455 AMD_PINCTRL_FUNC_GRP(143, 3),
1456 AMD_PINCTRL_FUNC_GRP(144, 0),
1457 AMD_PINCTRL_FUNC_GRP(144, 1),
1458 AMD_PINCTRL_FUNC_GRP(144, 2),
1459 AMD_PINCTRL_FUNC_GRP(144, 3),
1461 PINCTRL_PINGROUP("i2c0", AMD_PINS(145, 146), 2),
1462 PINCTRL_PINGROUP("i2c1", AMD_PINS(147, 148), 2),
1463 PINCTRL_PINGROUP("i2c2", AMD_PINS(113, 114), 2),
1464 PINCTRL_PINGROUP("i2c3", AMD_PINS(19, 20), 2),
1465 PINCTRL_PINGROUP("uart0", AMD_PINS(135, 136, 137, 138, 139), 5),
1466 PINCTRL_PINGROUP("uart1", AMD_PINS(140, 141, 142, 143, 144), 5),
1469 #define AMD_PMUX_FUNC(_number) { \
1470 .name = "iomux_gpio_"#_number, \
1472 "IMX_F0_GPIO"#_number, "IMX_F1_GPIO"#_number, \
1473 "IMX_F2_GPIO"#_number, "IMX_F3_GPIO"#_number, \
1476 .ngroups = NSELECTS, \
1479 static const struct amd_function pmx_functions
[] = {