7863265d4868fe96f1425483e0500d9294e9d558
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / exynos3250-monk.dts
1 /*
2  * Samsung's Exynos3250 based Monk board device tree source
3  *
4  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * Device tree source file for Samsung's Monk board which is based on
8  * Samsung Exynos3250 SoC.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13  */
14
15 /dts-v1/;
16 #include "exynos3250.dtsi"
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/gpio/gpio.h>
19 #include <dt-bindings/clock/samsung,s2mps11.h>
20
21 / {
22         model = "Samsung Monk board";
23         compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
24
25         aliases {
26                 i2c7 = &i2c_max77836;
27         };
28
29         memory {
30                 reg =  <0x40000000 0x1ff00000>;
31         };
32
33         firmware@0205F000 {
34                 compatible = "samsung,secure-firmware";
35                 reg = <0x0205F000 0x1000>;
36         };
37
38         gpio_keys {
39                 compatible = "gpio-keys";
40
41                 power_key {
42                         gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
43                         linux,code = <KEY_POWER>;
44                         label = "power key";
45                         debounce-interval = <10>;
46                         gpio-key,wakeup;
47                 };
48         };
49
50         vemmc_reg: voltage-regulator-0 {
51                 compatible = "regulator-fixed";
52                 regulator-name = "V_EMMC_2.8V-fixed";
53                 regulator-min-microvolt = <2800000>;
54                 regulator-max-microvolt = <2800000>;
55                 gpio = <&gpk0 2 0>;
56                 enable-active-high;
57         };
58
59         i2c_max77836: i2c-gpio-0 {
60                 compatible = "i2c-gpio";
61                 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
62                 #address-cells = <1>;
63                 #size-cells = <0>;
64
65                 max77836: subpmic@25 {
66                         compatible = "maxim,max77836";
67                         interrupt-parent = <&gpx1>;
68                         interrupts = <5 0>;
69                         reg = <0x25>;
70                         wakeup;
71
72                         muic: max77836-muic {
73                                 compatible = "maxim,max77836-muic";
74                         };
75
76                         regulators {
77                                 compatible = "maxim,max77836-regulator";
78                                 safeout_reg: SAFEOUT {
79                                         regulator-name = "SAFEOUT";
80                                 };
81
82                                 charger_reg: CHARGER {
83                                         regulator-name = "CHARGER";
84                                         regulator-min-microamp = <45000>;
85                                         regulator-max-microamp = <475000>;
86                                         regulator-boot-on;
87                                 };
88
89                                 motor_reg: LDO1 {
90                                         regulator-name = "MOT_2.7V";
91                                         regulator-min-microvolt = <1100000>;
92                                         regulator-max-microvolt = <2700000>;
93                                 };
94
95                                 LDO2 {
96                                         regulator-name = "UNUSED_LDO2";
97                                         regulator-min-microvolt = <800000>;
98                                         regulator-max-microvolt = <3950000>;
99                                 };
100                         };
101
102                         charger {
103                                 compatible = "maxim,max77836-charger";
104
105                                 maxim,constant-uvolt = <4350000>;
106                                 maxim,fast-charge-uamp = <225000>;
107                                 maxim,eoc-uamp = <7500>;
108                                 maxim,ovp-uvolt = <6500000>;
109                         };
110                 };
111         };
112
113         haptics {
114                 compatible = "regulator-haptic";
115                 haptic-supply = <&motor_reg>;
116                 min-microvolt = <1100000>;
117                 max-microvolt = <2700000>;
118         };
119 };
120
121 &adc {
122         vdd-supply = <&ldo3_reg>;
123         status = "okay";
124         assigned-clocks = <&cmu CLK_SCLK_TSADC>;
125         assigned-clock-rates = <6000000>;
126
127         thermistor-ap {
128                 compatible = "ntc,ncp15wb473";
129                 pullup-uv = <1800000>;
130                 pullup-ohm = <100000>;
131                 pulldown-ohm = <100000>;
132                 io-channels = <&adc 0>;
133         };
134
135         thermistor-battery {
136                 compatible = "ntc,ncp15wb473";
137                 pullup-uv = <1800000>;
138                 pullup-ohm = <100000>;
139                 pulldown-ohm = <100000>;
140                 io-channels = <&adc 1>;
141         };
142 };
143
144 &cpu0 {
145         cpu0-supply = <&buck2_reg>;
146 };
147
148 &exynos_usbphy {
149         status = "okay";
150 };
151
152 &hsotg {
153         vusb_d-supply = <&ldo15_reg>;
154         vusb_a-supply = <&ldo12_reg>;
155         dr_mode = "peripheral";
156         status = "okay";
157 };
158
159 &i2c_0 {
160         #address-cells = <1>;
161         #size-cells = <0>;
162         samsung,i2c-sda-delay = <100>;
163         samsung,i2c-slave-addr = <0x10>;
164         samsung,i2c-max-bus-freq = <100000>;
165         status = "okay";
166
167         s2mps14_pmic@66 {
168                 compatible = "samsung,s2mps14-pmic";
169                 interrupt-parent = <&gpx0>;
170                 interrupts = <7 0>;
171                 reg = <0x66>;
172                 wakeup;
173
174                 s2mps14_osc: clocks {
175                         compatible = "samsung,s2mps14-clk";
176                         #clock-cells = <1>;
177                         clock-output-names = "s2mps14_ap", "unused",
178                                 "s2mps14_bt";
179                 };
180
181                 regulators {
182                         ldo1_reg: LDO1 {
183                                 regulator-name = "VAP_ALIVE_1.0V";
184                                 regulator-min-microvolt = <1000000>;
185                                 regulator-max-microvolt = <1000000>;
186                                 regulator-always-on;
187                         };
188
189                         ldo2_reg: LDO2 {
190                                 regulator-name = "VAP_M1_1.2V";
191                                 regulator-min-microvolt = <1200000>;
192                                 regulator-max-microvolt = <1200000>;
193                                 regulator-always-on;
194                         };
195
196                         ldo3_reg: LDO3 {
197                                 regulator-name = "VCC_AP_1.8V";
198                                 regulator-min-microvolt = <1800000>;
199                                 regulator-max-microvolt = <1800000>;
200                                 regulator-always-on;
201                         };
202
203                         ldo4_reg: LDO4 {
204                                 regulator-name = "VAP_AVDD_PLL1";
205                                 regulator-min-microvolt = <1800000>;
206                                 regulator-max-microvolt = <1800000>;
207                                 regulator-always-on;
208                         };
209
210                         ldo5_reg: LDO5 {
211                                 regulator-name = "VAP_PLL_ISO_1.0V";
212                                 regulator-min-microvolt = <1000000>;
213                                 regulator-max-microvolt = <1000000>;
214                                 regulator-always-on;
215                         };
216
217                         ldo6_reg: LDO6 {
218                                 regulator-name = "VAP_MIPI_1.0V";
219                                 regulator-min-microvolt = <1000000>;
220                                 regulator-max-microvolt = <1000000>;
221                         };
222
223                         ldo7_reg: LDO7 {
224                                 regulator-name = "VAP_AVDD_1.8V";
225                                 regulator-min-microvolt = <1800000>;
226                                 regulator-max-microvolt = <1800000>;
227                                 regulator-always-on;
228                         };
229
230                         ldo8_reg: LDO8 {
231                                 regulator-name = "VAP_USB_3.0V";
232                                 regulator-min-microvolt = <3000000>;
233                                 regulator-max-microvolt = <3000000>;
234                                 regulator-always-on;
235                         };
236
237                         ldo9_reg: LDO9 {
238                                 regulator-name = "V_LPDDR_1.2V";
239                                 regulator-min-microvolt = <1200000>;
240                                 regulator-max-microvolt = <1200000>;
241                                 regulator-always-on;
242                         };
243
244                         ldo10_reg: LDO10 {
245                                 regulator-name = "UNUSED_LDO10";
246                                 regulator-min-microvolt = <1000000>;
247                                 regulator-max-microvolt = <1000000>;
248                         };
249
250                         ldo11_reg: LDO11 {
251                                 regulator-name = "V_EMMC_1.8V";
252                                 regulator-min-microvolt = <1800000>;
253                                 regulator-max-microvolt = <1800000>;
254                                 samsung,ext-control-gpios = <&gpk0 2 0>;
255                         };
256
257                         ldo12_reg: LDO12 {
258                                 regulator-name = "V_EMMC_2.8V";
259                                 regulator-min-microvolt = <2800000>;
260                                 regulator-max-microvolt = <2800000>;
261                                 samsung,ext-control-gpios = <&gpk0 2 0>;
262                         };
263
264                         ldo13_reg: LDO13 {
265                                 regulator-name = "VSENSOR_2.85V";
266                                 regulator-min-microvolt = <2850000>;
267                                 regulator-max-microvolt = <2850000>;
268                                 regulator-always-on;
269                         };
270
271                         ldo14_reg: LDO14 {
272                                 regulator-name = "UNUSED_LDO14";
273                                 regulator-min-microvolt = <1800000>;
274                                 regulator-max-microvolt = <1800000>;
275                         };
276
277                         ldo15_reg: LDO15 {
278                                 regulator-name = "TSP_AVDD_3.3V";
279                                 regulator-min-microvolt = <3300000>;
280                                 regulator-max-microvolt = <3300000>;
281                         };
282
283                         ldo16_reg: LDO16 {
284                                 regulator-name = "LCD_VDD_3.3V";
285                                 regulator-min-microvolt = <3300000>;
286                                 regulator-max-microvolt = <3300000>;
287                         };
288
289                         ldo17_reg: LDO17 {
290                                 regulator-name = "UNUSED_LDO17";
291                                 regulator-min-microvolt = <1800000>;
292                                 regulator-max-microvolt = <1800000>;
293                         };
294
295                         ldo18_reg: LDO18 {
296                                 regulator-name = "UNUSED_LDO18";
297                                 regulator-min-microvolt = <1800000>;
298                                 regulator-max-microvolt = <1800000>;
299                         };
300
301                         ldo19_reg: LDO19 {
302                                 regulator-name = "TSP_VDD_1.8V";
303                                 regulator-min-microvolt = <1800000>;
304                                 regulator-max-microvolt = <1800000>;
305                         };
306
307                         ldo20_reg: LDO20 {
308                                 regulator-name = "LCD_VDD_1.8V";
309                                 regulator-min-microvolt = <1800000>;
310                                 regulator-max-microvolt = <1800000>;
311                         };
312
313                         ldo21_reg: LDO21 {
314                                 regulator-name = "UNUSED_LDO21";
315                                 regulator-min-microvolt = <1000000>;
316                                 regulator-max-microvolt = <1000000>;
317                         };
318
319                         ldo22_reg: LDO22 {
320                                 regulator-name = "UNUSED_LDO22";
321                                 regulator-min-microvolt = <1000000>;
322                                 regulator-max-microvolt = <1000000>;
323                         };
324
325                         ldo23_reg: LDO23 {
326                                 regulator-name = "UNUSED_LDO23";
327                                 regulator-min-microvolt = <1000000>;
328                                 regulator-max-microvolt = <1000000>;
329                                 regulator-always-on;
330                         };
331
332                         ldo24_reg: LDO24 {
333                                 regulator-name = "UNUSED_LDO24";
334                                 regulator-min-microvolt = <1800000>;
335                                 regulator-max-microvolt = <1800000>;
336                         };
337
338                         ldo25_reg: LDO25 {
339                                 regulator-name = "UNUSED_LDO25";
340                                 regulator-min-microvolt = <1800000>;
341                                 regulator-max-microvolt = <1800000>;
342                         };
343
344                         buck1_reg: BUCK1 {
345                                 regulator-name = "VAP_MIF_1.0V";
346                                 regulator-min-microvolt = <800000>;
347                                 regulator-max-microvolt = <900000>;
348                                 regulator-always-on;
349                         };
350
351                         buck2_reg: BUCK2 {
352                                 regulator-name = "VAP_ARM_1.0V";
353                                 regulator-min-microvolt = <850000>;
354                                 regulator-max-microvolt = <1150000>;
355                                 regulator-always-on;
356                         };
357
358                         buck3_reg: BUCK3 {
359                                 regulator-name = "VAP_INT3D_1.0V";
360                                 regulator-min-microvolt = <850000>;
361                                 regulator-max-microvolt = <1000000>;
362                                 regulator-always-on;
363                         };
364
365                         buck4_reg: BUCK4 {
366                                 regulator-name = "VCC_SUB_1.95V";
367                                 regulator-min-microvolt = <1950000>;
368                                 regulator-max-microvolt = <1950000>;
369                                 regulator-always-on;
370                         };
371
372                         buck5_reg: BUCK5 {
373                                 regulator-name = "VCC_SUB_1.35V";
374                                 regulator-min-microvolt = <1350000>;
375                                 regulator-max-microvolt = <1350000>;
376                                 regulator-always-on;
377                         };
378                 };
379         };
380 };
381
382 &i2c_1 {
383         #address-cells = <1>;
384         #size-cells = <0>;
385         samsung,i2c-sda-delay = <100>;
386         samsung,i2c-slave-addr = <0x10>;
387         samsung,i2c-max-bus-freq = <400000>;
388         status = "okay";
389
390         fuelgauge@36 {
391                 compatible = "maxim,max77836-battery";
392                 interrupt-parent = <&gpx1>;
393                 interrupts = <2 8>;
394                 reg = <0x36>;
395         };
396 };
397
398 &i2s2 {
399         status = "okay";
400 };
401
402 &mshc_0 {
403         #address-cells = <1>;
404         #size-cells = <0>;
405         num-slots = <1>;
406         broken-cd;
407         non-removable;
408         cap-mmc-highspeed;
409         desc-num = <4>;
410         mmc-hs200-1_8v;
411         card-detect-delay = <200>;
412         vmmc-supply = <&vemmc_reg>;
413         clock-frequency = <100000000>;
414         clock-freq-min-max = <400000 100000000>;
415         samsung,dw-mshc-ciu-div = <1>;
416         samsung,dw-mshc-sdr-timing = <0 1>;
417         samsung,dw-mshc-ddr-timing = <1 2>;
418         pinctrl-names = "default";
419         pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
420         bus-width = <8>;
421         status = "okay";
422 };
423
424 &serial_0 {
425         assigned-clocks = <&cmu CLK_SCLK_UART0>;
426         assigned-clock-rates = <100000000>;
427         status = "okay";
428 };
429
430 &serial_1 {
431         status = "okay";
432 };
433
434 &tmu {
435         vtmu-supply = <&ldo7_reg>;
436         status = "okay";
437 };
438
439 &rtc {
440         clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
441         clock-names = "rtc", "rtc_src";
442         status = "okay";
443 };
444
445 &ppmu_dmc0 {
446         status = "okay";
447
448         events {
449                 ppmu_dmc0_3: ppmu-event3-dmc0 {
450                         event-name = "ppmu-event3-dmc0";
451                 };
452         };
453 };
454
455 &ppmu_dmc1 {
456         status = "okay";
457
458         events {
459                 ppmu_dmc1_3: ppmu-event3-dmc1 {
460                         event-name = "ppmu-event3-dmc1";
461                 };
462         };
463 };
464
465 &ppmu_leftbus {
466         status = "okay";
467
468         events {
469                 ppmu_leftbus_3: ppmu-event3-leftbus {
470                         event-name = "ppmu-event3-leftbus";
471                 };
472         };
473 };
474
475 &ppmu_rightbus {
476         status = "okay";
477
478         events {
479                 ppmu_rightbus_3: ppmu-event3-rightbus {
480                         event-name = "ppmu-event3-rightbus";
481                 };
482         };
483 };
484
485 &xusbxti {
486         clock-frequency = <24000000>;
487 };
488
489 &pinctrl_0 {
490         pinctrl-names = "default";
491         pinctrl-0 = <&sleep0>;
492
493         sleep0: sleep-state {
494                 PIN_SLP(gpa0-0, INPUT, DOWN);
495                 PIN_SLP(gpa0-1, INPUT, DOWN);
496                 PIN_SLP(gpa0-2, INPUT, DOWN);
497                 PIN_SLP(gpa0-3, INPUT, DOWN);
498                 PIN_SLP(gpa0-4, INPUT, DOWN);
499                 PIN_SLP(gpa0-5, INPUT, DOWN);
500                 PIN_SLP(gpa0-6, INPUT, DOWN);
501                 PIN_SLP(gpa0-7, INPUT, DOWN);
502
503                 PIN_SLP(gpa1-0, INPUT, DOWN);
504                 PIN_SLP(gpa1-1, INPUT, DOWN);
505                 PIN_SLP(gpa1-2, INPUT, DOWN);
506                 PIN_SLP(gpa1-3, INPUT, DOWN);
507                 PIN_SLP(gpa1-4, INPUT, DOWN);
508                 PIN_SLP(gpa1-5, INPUT, DOWN);
509
510                 PIN_SLP(gpb-0, PREV, NONE);
511                 PIN_SLP(gpb-1, PREV, NONE);
512                 PIN_SLP(gpb-2, PREV, NONE);
513                 PIN_SLP(gpb-3, PREV, NONE);
514                 PIN_SLP(gpb-4, INPUT, DOWN);
515                 PIN_SLP(gpb-5, INPUT, DOWN);
516                 PIN_SLP(gpb-6, INPUT, DOWN);
517                 PIN_SLP(gpb-7, INPUT, DOWN);
518
519                 PIN_SLP(gpc0-0, INPUT, DOWN);
520                 PIN_SLP(gpc0-1, INPUT, DOWN);
521                 PIN_SLP(gpc0-2, INPUT, DOWN);
522                 PIN_SLP(gpc0-3, INPUT, DOWN);
523                 PIN_SLP(gpc0-4, INPUT, DOWN);
524
525                 PIN_SLP(gpc1-0, INPUT, DOWN);
526                 PIN_SLP(gpc1-1, INPUT, DOWN);
527                 PIN_SLP(gpc1-2, INPUT, DOWN);
528                 PIN_SLP(gpc1-3, INPUT, DOWN);
529                 PIN_SLP(gpc1-4, INPUT, DOWN);
530
531                 PIN_SLP(gpd0-0, INPUT, DOWN);
532                 PIN_SLP(gpd0-1, INPUT, DOWN);
533                 PIN_SLP(gpd0-2, INPUT, NONE);
534                 PIN_SLP(gpd0-3, INPUT, NONE);
535
536                 PIN_SLP(gpd1-0, INPUT, NONE);
537                 PIN_SLP(gpd1-1, INPUT, NONE);
538                 PIN_SLP(gpd1-2, INPUT, NONE);
539                 PIN_SLP(gpd1-3, INPUT, NONE);
540         };
541 };
542
543 &pinctrl_1 {
544         pinctrl-names = "default";
545         pinctrl-0 = <&sleep1>;
546
547         sleep1: sleep-state {
548                 PIN_SLP(gpe0-0, PREV, NONE);
549                 PIN_SLP(gpe0-1, PREV, NONE);
550                 PIN_SLP(gpe0-2, INPUT, DOWN);
551                 PIN_SLP(gpe0-3, INPUT, DOWN);
552                 PIN_SLP(gpe0-4, PREV, NONE);
553                 PIN_SLP(gpe0-5, INPUT, DOWN);
554                 PIN_SLP(gpe0-6, INPUT, DOWN);
555                 PIN_SLP(gpe0-7, INPUT, DOWN);
556
557                 PIN_SLP(gpe1-0, INPUT, DOWN);
558                 PIN_SLP(gpe1-1, PREV, NONE);
559                 PIN_SLP(gpe1-2, INPUT, DOWN);
560                 PIN_SLP(gpe1-3, INPUT, DOWN);
561                 PIN_SLP(gpe1-4, INPUT, DOWN);
562                 PIN_SLP(gpe1-5, INPUT, DOWN);
563                 PIN_SLP(gpe1-6, INPUT, DOWN);
564                 PIN_SLP(gpe1-7, INPUT, NONE);
565
566                 PIN_SLP(gpe2-0, INPUT, NONE);
567                 PIN_SLP(gpe2-1, INPUT, NONE);
568                 PIN_SLP(gpe2-2, INPUT, NONE);
569
570                 PIN_SLP(gpk0-0, INPUT, DOWN);
571                 PIN_SLP(gpk0-1, INPUT, DOWN);
572                 PIN_SLP(gpk0-2, OUT0, NONE);
573                 PIN_SLP(gpk0-3, INPUT, DOWN);
574                 PIN_SLP(gpk0-4, INPUT, DOWN);
575                 PIN_SLP(gpk0-5, INPUT, DOWN);
576                 PIN_SLP(gpk0-6, INPUT, DOWN);
577                 PIN_SLP(gpk0-7, INPUT, DOWN);
578
579                 PIN_SLP(gpk1-0, PREV, NONE);
580                 PIN_SLP(gpk1-1, PREV, NONE);
581                 PIN_SLP(gpk1-2, INPUT, DOWN);
582                 PIN_SLP(gpk1-3, PREV, NONE);
583                 PIN_SLP(gpk1-4, PREV, NONE);
584                 PIN_SLP(gpk1-5, PREV, NONE);
585                 PIN_SLP(gpk1-6, PREV, NONE);
586
587                 PIN_SLP(gpk2-0, INPUT, DOWN);
588                 PIN_SLP(gpk2-1, INPUT, DOWN);
589                 PIN_SLP(gpk2-2, INPUT, DOWN);
590                 PIN_SLP(gpk2-3, INPUT, DOWN);
591                 PIN_SLP(gpk2-4, INPUT, DOWN);
592                 PIN_SLP(gpk2-5, INPUT, DOWN);
593                 PIN_SLP(gpk2-6, INPUT, DOWN);
594
595                 PIN_SLP(gpl0-0, INPUT, DOWN);
596                 PIN_SLP(gpl0-1, INPUT, DOWN);
597                 PIN_SLP(gpl0-2, INPUT, DOWN);
598                 PIN_SLP(gpl0-3, INPUT, DOWN);
599
600                 PIN_SLP(gpm0-0, INPUT, DOWN);
601                 PIN_SLP(gpm0-1, INPUT, DOWN);
602                 PIN_SLP(gpm0-2, INPUT, DOWN);
603                 PIN_SLP(gpm0-3, INPUT, DOWN);
604                 PIN_SLP(gpm0-4, INPUT, DOWN);
605                 PIN_SLP(gpm0-5, INPUT, DOWN);
606                 PIN_SLP(gpm0-6, INPUT, DOWN);
607                 PIN_SLP(gpm0-7, INPUT, DOWN);
608
609                 PIN_SLP(gpm1-0, INPUT, DOWN);
610                 PIN_SLP(gpm1-1, INPUT, DOWN);
611                 PIN_SLP(gpm1-2, INPUT, DOWN);
612                 PIN_SLP(gpm1-3, INPUT, DOWN);
613                 PIN_SLP(gpm1-4, INPUT, DOWN);
614                 PIN_SLP(gpm1-5, INPUT, DOWN);
615                 PIN_SLP(gpm1-6, INPUT, DOWN);
616
617                 PIN_SLP(gpm2-0, INPUT, DOWN);
618                 PIN_SLP(gpm2-1, INPUT, DOWN);
619                 PIN_SLP(gpm2-2, INPUT, DOWN);
620                 PIN_SLP(gpm2-3, INPUT, DOWN);
621                 PIN_SLP(gpm2-4, INPUT, DOWN);
622
623                 PIN_SLP(gpm3-0, INPUT, DOWN);
624                 PIN_SLP(gpm3-1, INPUT, DOWN);
625                 PIN_SLP(gpm3-2, INPUT, DOWN);
626                 PIN_SLP(gpm3-3, INPUT, DOWN);
627                 PIN_SLP(gpm3-4, INPUT, DOWN);
628                 PIN_SLP(gpm3-5, INPUT, DOWN);
629                 PIN_SLP(gpm3-6, INPUT, DOWN);
630                 PIN_SLP(gpm3-7, INPUT, DOWN);
631
632                 PIN_SLP(gpm4-0, INPUT, DOWN);
633                 PIN_SLP(gpm4-1, INPUT, DOWN);
634                 PIN_SLP(gpm4-2, INPUT, DOWN);
635                 PIN_SLP(gpm4-3, INPUT, DOWN);
636                 PIN_SLP(gpm4-4, INPUT, DOWN);
637                 PIN_SLP(gpm4-5, INPUT, DOWN);
638                 PIN_SLP(gpm4-6, INPUT, DOWN);
639                 PIN_SLP(gpm4-7, INPUT, DOWN);
640         };
641 };