mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / msm8916-pins.dtsi
blob49ec55a376140d406873607c6e6a3dcbfc9633e2
1 /*
2  * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 and
6  * only version 2 as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
14 &msmgpio {
16         blsp1_uart1_default: blsp1_uart1_default {
17                 pinmux {
18                         function = "blsp_uart1";
19                         pins = "gpio0", "gpio1";
20                 };
21                 pinconf {
22                         pins = "gpio0", "gpio1";
23                         drive-strength = <16>;
24                         bias-disable;
25                 };
26         };
28         blsp1_uart1_sleep: blsp1_uart1_sleep {
29                 pinmux {
30                         function = "gpio";
31                         pins = "gpio0", "gpio1";
32                 };
33                 pinconf {
34                         pins = "gpio0", "gpio1";
35                         drive-strength = <2>;
36                         bias-pull-down;
37                 };
38         };
40         blsp1_uart2_default: blsp1_uart2_default {
41                 pinmux {
42                         function = "blsp_uart2";
43                         pins = "gpio4", "gpio5";
44                 };
45                 pinconf {
46                         pins = "gpio4", "gpio5";
47                         drive-strength = <16>;
48                         bias-disable;
49                 };
50         };
52         blsp1_uart2_sleep: blsp1_uart2_sleep {
53                 pinmux {
54                         function = "gpio";
55                         pins = "gpio4", "gpio5";
56                 };
57                 pinconf {
58                         pins = "gpio4", "gpio5";
59                         drive-strength = <2>;
60                         bias-pull-down;
61                 };
62         };
64         spi1_default: spi1_default {
65                 pinmux {
66                         function = "blsp_spi1";
67                         pins = "gpio0", "gpio1", "gpio3";
68                 };
69                 pinmux_cs {
70                         function = "gpio";
71                         pins = "gpio2";
72                 };
73                 pinconf {
74                         pins = "gpio0", "gpio1", "gpio3";
75                         drive-strength = <12>;
76                         bias-disable;
77                 };
78                 pinconf_cs {
79                         pins = "gpio2";
80                         drive-strength = <2>;
81                         bias-disable;
82                         output-high;
83                 };
84         };
86         spi1_sleep: spi1_sleep {
87                 pinmux {
88                         function = "gpio";
89                         pins = "gpio0", "gpio1", "gpio2", "gpio3";
90                 };
91                 pinconf {
92                         pins = "gpio0", "gpio1", "gpio2", "gpio3";
93                         drive-strength = <2>;
94                         bias-pull-down;
95                 };
96         };
98         spi2_default: spi2_default {
99                 pinmux {
100                         function = "blsp_spi2";
101                         pins = "gpio4", "gpio5", "gpio7";
102                 };
103                 pinmux_cs {
104                         function = "gpio";
105                         pins = "gpio6";
106                 };
107                 pinconf {
108                         pins = "gpio4", "gpio5", "gpio6", "gpio7";
109                         drive-strength = <12>;
110                         bias-disable;
111                 };
112                 pinconf_cs {
113                         pins = "gpio6";
114                         drive-strength = <2>;
115                         bias-disable;
116                         output-high;
117                 };
118         };
120         spi2_sleep: spi2_sleep {
121                 pinmux {
122                         function = "gpio";
123                         pins = "gpio4", "gpio5", "gpio6", "gpio7";
124                 };
125                 pinconf {
126                         pins = "gpio4", "gpio5", "gpio6", "gpio7";
127                         drive-strength = <2>;
128                         bias-pull-down;
129                 };
130         };
132         spi3_default: spi3_default {
133                 pinmux {
134                         function = "blsp_spi3";
135                         pins = "gpio8", "gpio9", "gpio11";
136                 };
137                 pinmux_cs {
138                         function = "gpio";
139                         pins = "gpio10";
140                 };
141                 pinconf {
142                         pins = "gpio8", "gpio9", "gpio10", "gpio11";
143                         drive-strength = <12>;
144                         bias-disable;
145                 };
146                 pinconf_cs {
147                         pins = "gpio10";
148                         drive-strength = <2>;
149                         bias-disable;
150                         output-high;
151                 };
152         };
154         spi3_sleep: spi3_sleep {
155                 pinmux {
156                         function = "gpio";
157                         pins = "gpio8", "gpio9", "gpio10", "gpio11";
158                 };
159                 pinconf {
160                         pins = "gpio8", "gpio9", "gpio10", "gpio11";
161                         drive-strength = <2>;
162                         bias-pull-down;
163                 };
164         };
166         spi4_default: spi4_default {
167                 pinmux {
168                         function = "blsp_spi4";
169                         pins = "gpio12", "gpio13", "gpio15";
170                 };
171                 pinmux_cs {
172                         function = "gpio";
173                         pins = "gpio14";
174                 };
175                 pinconf {
176                         pins = "gpio12", "gpio13", "gpio14", "gpio15";
177                         drive-strength = <12>;
178                         bias-disable;
179                 };
180                 pinconf_cs {
181                         pins = "gpio14";
182                         drive-strength = <2>;
183                         bias-disable;
184                         output-high;
185                 };
186         };
188         spi4_sleep: spi4_sleep {
189                 pinmux {
190                         function = "gpio";
191                         pins = "gpio12", "gpio13", "gpio14", "gpio15";
192                 };
193                 pinconf {
194                         pins = "gpio12", "gpio13", "gpio14", "gpio15";
195                         drive-strength = <2>;
196                         bias-pull-down;
197                 };
198         };
200         spi5_default: spi5_default {
201                 pinmux {
202                         function = "blsp_spi5";
203                         pins = "gpio16", "gpio17", "gpio19";
204                 };
205                 pinmux_cs {
206                         function = "gpio";
207                         pins = "gpio18";
208                 };
209                 pinconf {
210                         pins = "gpio16", "gpio17", "gpio18", "gpio19";
211                         drive-strength = <12>;
212                         bias-disable;
213                 };
214                 pinconf_cs {
215                         pins = "gpio18";
216                         drive-strength = <2>;
217                         bias-disable;
218                         output-high;
219                 };
220         };
222         spi5_sleep: spi5_sleep {
223                 pinmux {
224                         function = "gpio";
225                         pins = "gpio16", "gpio17", "gpio18", "gpio19";
226                 };
227                 pinconf {
228                         pins = "gpio16", "gpio17", "gpio18", "gpio19";
229                         drive-strength = <2>;
230                         bias-pull-down;
231                 };
232         };
234         spi6_default: spi6_default {
235                 pinmux {
236                         function = "blsp_spi6";
237                         pins = "gpio20", "gpio21", "gpio23";
238                 };
239                 pinmux_cs {
240                         function = "gpio";
241                         pins = "gpio22";
242                 };
243                 pinconf {
244                         pins = "gpio20", "gpio21", "gpio22", "gpio23";
245                         drive-strength = <12>;
246                         bias-disable;
247                 };
248                 pinconf_cs {
249                         pins = "gpio22";
250                         drive-strength = <2>;
251                         bias-disable;
252                         output-high;
253                 };
254         };
256         spi6_sleep: spi6_sleep {
257                 pinmux {
258                         function = "gpio";
259                         pins = "gpio20", "gpio21", "gpio22", "gpio23";
260                 };
261                 pinconf {
262                         pins = "gpio20", "gpio21", "gpio22", "gpio23";
263                         drive-strength = <2>;
264                         bias-pull-down;
265                 };
266         };
268         i2c2_default: i2c2_default {
269                 pinmux {
270                         function = "blsp_i2c2";
271                         pins = "gpio6", "gpio7";
272                 };
273                 pinconf {
274                         pins = "gpio6", "gpio7";
275                         drive-strength = <2>;
276                         bias-disable = <0>;
277                 };
278         };
280         i2c2_sleep: i2c2_sleep {
281                 pinmux {
282                         function = "gpio";
283                         pins = "gpio6", "gpio7";
284                 };
285                 pinconf {
286                         pins = "gpio6", "gpio7";
287                         drive-strength = <2>;
288                         bias-disable = <0>;
289                 };
290         };
292         i2c4_default: i2c4_default {
293                 pinmux {
294                         function = "blsp_i2c4";
295                         pins = "gpio14", "gpio15";
296                 };
297                 pinconf {
298                         pins = "gpio14", "gpio15";
299                         drive-strength = <2>;
300                         bias-disable = <0>;
301                 };
302         };
304         i2c4_sleep: i2c4_sleep {
305                 pinmux {
306                         function = "gpio";
307                         pins = "gpio14", "gpio15";
308                 };
309                 pinconf {
310                         pins = "gpio14", "gpio15";
311                         drive-strength = <2>;
312                         bias-disable = <0>;
313                 };
314         };
316         i2c6_default: i2c6_default {
317                 pinmux {
318                         function = "blsp_i2c6";
319                         pins = "gpio22", "gpio23";
320                 };
321                 pinconf {
322                         pins = "gpio22", "gpio23";
323                         drive-strength = <2>;
324                         bias-disable = <0>;
325                 };
326         };
328         i2c6_sleep: i2c6_sleep {
329                 pinmux {
330                         function = "gpio";
331                         pins = "gpio22", "gpio23";
332                 };
333                 pinconf {
334                         pins = "gpio22", "gpio23";
335                         drive-strength = <2>;
336                         bias-disable = <0>;
337                 };
338         };
340         sdhc2_cd_pin {
341                 sdc2_cd_on: cd_on {
342                         pinmux {
343                                 function = "gpio";
344                                 pins = "gpio38";
345                         };
346                         pinconf {
347                                 pins = "gpio38";
348                                 drive-strength = <2>;
349                                 bias-pull-up;
350                         };
351                 };
352                 sdc2_cd_off: cd_off {
353                         pinmux {
354                                 function = "gpio";
355                                 pins = "gpio38";
356                         };
357                         pinconf {
358                                 pins = "gpio38";
359                                 drive-strength = <2>;
360                                 bias-disable;
361                         };
362                 };
363         };
365         pmx_sdc1_clk {
366                 sdc1_clk_on: clk_on {
367                         pinmux {
368                                 pins = "sdc1_clk";
369                         };
370                         pinconf {
371                                 pins = "sdc1_clk";
372                                 bias-disable;
373                                 drive-strength = <16>;
374                         };
375                 };
376                 sdc1_clk_off: clk_off {
377                         pinmux {
378                                 pins = "sdc1_clk";
379                         };
380                         pinconf {
381                                 pins = "sdc1_clk";
382                                 bias-disable;
383                                 drive-strength = <2>;
384                         };
385                 };
386         };
388         pmx_sdc1_cmd {
389                 sdc1_cmd_on: cmd_on {
390                         pinmux {
391                                 pins = "sdc1_cmd";
392                         };
393                         pinconf {
394                                 pins = "sdc1_cmd";
395                                 bias-pull-up;
396                                 drive-strength = <10>;
397                         };
398                 };
399                 sdc1_cmd_off: cmd_off {
400                         pinmux {
401                                 pins = "sdc1_cmd";
402                         };
403                         pinconf {
404                                 pins = "sdc1_cmd";
405                                 bias-pull-up;
406                                 drive-strength = <2>;
407                         };
408                 };
409         };
411         pmx_sdc1_data {
412                 sdc1_data_on: data_on {
413                         pinmux {
414                                 pins = "sdc1_data";
415                         };
416                         pinconf {
417                                 pins = "sdc1_data";
418                                 bias-pull-up;
419                                 drive-strength = <10>;
420                         };
421                 };
422                 sdc1_data_off: data_off {
423                         pinmux {
424                                 pins = "sdc1_data";
425                         };
426                         pinconf {
427                                 pins = "sdc1_data";
428                                 bias-pull-up;
429                                 drive-strength = <2>;
430                         };
431                 };
432         };
434         pmx_sdc2_clk {
435                 sdc2_clk_on: clk_on {
436                         pinmux {
437                                 pins = "sdc2_clk";
438                         };
439                         pinconf {
440                                 pins = "sdc2_clk";
441                                 bias-disable;
442                                 drive-strength = <16>;
443                         };
444                 };
445                 sdc2_clk_off: clk_off {
446                         pinmux {
447                                 pins = "sdc2_clk";
448                         };
449                         pinconf {
450                                 pins = "sdc2_clk";
451                                 bias-disable;
452                                 drive-strength = <2>;
453                         };
454                 };
455         };
457         pmx_sdc2_cmd {
458                 sdc2_cmd_on: cmd_on {
459                         pinmux {
460                                 pins = "sdc2_cmd";
461                         };
462                         pinconf {
463                                 pins = "sdc2_cmd";
464                                 bias-pull-up;
465                                 drive-strength = <10>;
466                         };
467                 };
468                 sdc2_cmd_off: cmd_off {
469                         pinmux {
470                                 pins = "sdc2_cmd";
471                         };
472                         pinconf {
473                                 pins = "sdc2_cmd";
474                                 bias-pull-up;
475                                 drive-strength = <2>;
476                         };
477                 };
478         };
480         pmx_sdc2_data {
481                 sdc2_data_on: data_on {
482                         pinmux {
483                                 pins = "sdc2_data";
484                         };
485                         pinconf {
486                                 pins = "sdc2_data";
487                                 bias-pull-up;
488                                 drive-strength = <10>;
489                         };
490                 };
491                 sdc2_data_off: data_off {
492                         pinmux {
493                                 pins = "sdc2_data";
494                         };
495                         pinconf {
496                                 pins = "sdc2_data";
497                                 bias-pull-up;
498                                 drive-strength = <2>;
499                         };
500                 };
501         };