ddd7ac283045f2b379594ff257d0cd5ccba3b532
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / exynos3250-rinato.dts
1 /*
2  * Samsung's Exynos3250 based Rinato 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 Rinato 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 Rinato board";
23         compatible = "samsung,rinato", "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         i2c_max77836: i2c-gpio-0 {
51                 compatible = "i2c-gpio";
52                 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
53                 #address-cells = <1>;
54                 #size-cells = <0>;
55
56                 max77836: subpmic@25 {
57                         compatible = "maxim,max77836";
58                         interrupt-parent = <&gpx1>;
59                         interrupts = <5 0>;
60                         reg = <0x25>;
61                         wakeup;
62
63                         muic: max77836-muic {
64                                 compatible = "maxim,max77836-muic";
65                         };
66
67                         regulators {
68                                 compatible = "maxim,max77836-regulator";
69                                 safeout_reg: SAFEOUT {
70                                         regulator-name = "SAFEOUT";
71                                 };
72
73                                 charger_reg: CHARGER {
74                                         regulator-name = "CHARGER";
75                                         regulator-min-microamp = <45000>;
76                                         regulator-max-microamp = <475000>;
77                                         regulator-boot-on;
78                                 };
79
80                                 motor_reg: LDO1 {
81                                         regulator-name = "MOT_2.7V";
82                                         regulator-min-microvolt = <1100000>;
83                                         regulator-max-microvolt = <2700000>;
84                                 };
85
86                                 LDO2 {
87                                         regulator-name = "UNUSED_LDO2";
88                                         regulator-min-microvolt = <800000>;
89                                         regulator-max-microvolt = <3950000>;
90                                 };
91                         };
92
93                         charger {
94                                 compatible = "maxim,max77836-charger";
95
96                                 maxim,constant-uvolt = <4350000>;
97                                 maxim,fast-charge-uamp = <225000>;
98                                 maxim,eoc-uamp = <7500>;
99                                 maxim,ovp-uvolt = <6500000>;
100                         };
101                 };
102         };
103
104         haptics {
105                 compatible = "regulator-haptic";
106                 haptic-supply = <&motor_reg>;
107                 min-microvolt = <1100000>;
108                 max-microvolt = <2700000>;
109         };
110 };
111
112 &adc {
113         vdd-supply = <&ldo3_reg>;
114         status = "okay";
115         assigned-clocks = <&cmu CLK_SCLK_TSADC>;
116         assigned-clock-rates = <6000000>;
117
118         thermistor-ap {
119                 compatible = "ntc,ncp15wb473";
120                 pullup-uv = <1800000>;
121                 pullup-ohm = <100000>;
122                 pulldown-ohm = <100000>;
123                 io-channels = <&adc 0>;
124         };
125
126         thermistor-battery {
127                 compatible = "ntc,ncp15wb473";
128                 pullup-uv = <1800000>;
129                 pullup-ohm = <100000>;
130                 pulldown-ohm = <100000>;
131                 io-channels = <&adc 1>;
132         };
133 };
134
135 &cpu0 {
136         cpu0-supply = <&buck2_reg>;
137 };
138
139 &exynos_usbphy {
140         status = "okay";
141 };
142
143 &hsotg {
144         vusb_d-supply = <&ldo15_reg>;
145         vusb_a-supply = <&ldo12_reg>;
146         dr_mode = "peripheral";
147         status = "okay";
148 };
149
150 &dsi_0 {
151         vddcore-supply = <&ldo6_reg>;
152         vddio-supply = <&ldo6_reg>;
153         samsung,pll-clock-frequency = <24000000>;
154         status = "okay";
155
156         ports {
157                 #address-cells = <1>;
158                 #size-cells = <0>;
159
160                 port@1 {
161                         reg = <1>;
162
163                         dsi_out: endpoint {
164                                 remote-endpoint = <&dsi_in>;
165                                 samsung,burst-clock-frequency = <250000000>;
166                                 samsung,esc-clock-frequency = <20000000>;
167                         };
168                 };
169         };
170
171         panel@0 {
172                 compatible = "samsung,s6e63j0x03";
173                 reg = <0>;
174                 vdd3-supply = <&ldo16_reg>;
175                 vci-supply = <&ldo20_reg>;
176                 reset-gpios = <&gpe0 1 0>;
177                 te-gpios = <&gpx0 6 0>;
178                 power-on-delay= <30>;
179                 power-off-delay= <120>;
180                 reset-delay = <5>;
181                 init-delay = <100>;
182                 flip-horizontal;
183                 flip-vertical;
184                 panel-width-mm = <29>;
185                 panel-height-mm = <29>;
186
187                 display-timings {
188                         timing-0 {
189                                 clock-frequency = <0>;
190                                 hactive = <320>;
191                                 vactive = <320>;
192                                 hfront-porch = <1>;
193                                 hback-porch = <1>;
194                                 hsync-len = <1>;
195                                 vfront-porch = <150>;
196                                 vback-porch = <1>;
197                                 vsync-len = <2>;
198                         };
199                 };
200
201                 port {
202                         dsi_in: endpoint {
203                                 remote-endpoint = <&dsi_out>;
204                         };
205                 };
206         };
207 };
208
209 &fimd {
210         status = "okay";
211
212         i80-if-timings {
213                 cs-setup = <0>;
214                 wr-setup = <0>;
215                 wr-act = <1>;
216                 wr-hold = <0>;
217         };
218 };
219
220 &i2c_0 {
221         #address-cells = <1>;
222         #size-cells = <0>;
223         samsung,i2c-sda-delay = <100>;
224         samsung,i2c-slave-addr = <0x10>;
225         samsung,i2c-max-bus-freq = <100000>;
226         status = "okay";
227
228         s2mps14_pmic@66 {
229                 compatible = "samsung,s2mps14-pmic";
230                 interrupt-parent = <&gpx0>;
231                 interrupts = <7 0>;
232                 reg = <0x66>;
233                 wakeup;
234
235                 s2mps14_osc: clocks {
236                         compatible = "samsung,s2mps14-clk";
237                         #clock-cells = <1>;
238                         clock-output-names = "s2mps14_ap", "unused",
239                                 "s2mps14_bt";
240                 };
241
242                 regulators {
243                         ldo1_reg: LDO1 {
244                                 regulator-name = "VAP_ALIVE_1.0V";
245                                 regulator-min-microvolt = <1000000>;
246                                 regulator-max-microvolt = <1000000>;
247                                 regulator-always-on;
248
249                                 regulator-state-mem {
250                                         regulator-on-in-suspend;
251                                 };
252                         };
253
254                         ldo2_reg: LDO2 {
255                                 regulator-name = "VAP_M1_1.2V";
256                                 regulator-min-microvolt = <1200000>;
257                                 regulator-max-microvolt = <1200000>;
258                                 regulator-always-on;
259
260                                 regulator-state-mem {
261                                         regulator-off-in-suspend;
262                                 };
263                         };
264
265                         ldo3_reg: LDO3 {
266                                 regulator-name = "VCC_AP_1.8V";
267                                 regulator-min-microvolt = <1800000>;
268                                 regulator-max-microvolt = <1800000>;
269                                 regulator-always-on;
270
271                                 regulator-state-mem {
272                                         regulator-off-in-suspend;
273                                 };
274                         };
275
276                         ldo4_reg: LDO4 {
277                                 regulator-name = "VAP_AVDD_PLL1";
278                                 regulator-min-microvolt = <1800000>;
279                                 regulator-max-microvolt = <1800000>;
280                                 regulator-always-on;
281
282                                 regulator-state-mem {
283                                         regulator-off-in-suspend;
284                                 };
285                         };
286
287                         ldo5_reg: LDO5 {
288                                 regulator-name = "VAP_PLL_ISO_1.0V";
289                                 regulator-min-microvolt = <1000000>;
290                                 regulator-max-microvolt = <1000000>;
291                                 regulator-always-on;
292
293                                 regulator-state-mem {
294                                         regulator-off-in-suspend;
295                                 };
296                         };
297
298                         ldo6_reg: LDO6 {
299                                 regulator-name = "VAP_VMIPI_1.0V";
300                                 regulator-min-microvolt = <1000000>;
301                                 regulator-max-microvolt = <1000000>;
302                                 regulator-always-on;
303
304                                 regulator-state-mem {
305                                         regulator-off-in-suspend;
306                                 };
307                         };
308
309                         ldo7_reg: LDO7 {
310                                 regulator-name = "VAP_AVDD_1.8V";
311                                 regulator-min-microvolt = <1800000>;
312                                 regulator-max-microvolt = <1800000>;
313                                 regulator-always-on;
314
315                                 regulator-state-mem {
316                                         regulator-off-in-suspend;
317                                 };
318                         };
319
320                         ldo8_reg: LDO8 {
321                                 regulator-name = "VAP_USB_3.0V";
322                                 regulator-min-microvolt = <3000000>;
323                                 regulator-max-microvolt = <3000000>;
324                                 regulator-always-on;
325
326                                 regulator-state-mem {
327                                         regulator-off-in-suspend;
328                                 };
329                         };
330
331                         ldo9_reg: LDO9 {
332                                 regulator-name = "V_LPDDR_1.2V";
333                                 regulator-min-microvolt = <1200000>;
334                                 regulator-max-microvolt = <1200000>;
335                                 regulator-always-on;
336
337                                 regulator-state-mem {
338                                         regulator-on-in-suspend;
339                                 };
340                         };
341
342                         ldo10_reg: LDO10 {
343                                 regulator-name = "UNUSED_LDO10";
344                                 regulator-min-microvolt = <1000000>;
345                                 regulator-max-microvolt = <1000000>;
346
347                                 regulator-state-mem {
348                                         regulator-off-in-suspend;
349                                 };
350                         };
351
352                         ldo11_reg: LDO11 {
353                                 regulator-name = "V_EMMC_1.8V";
354                                 regulator-min-microvolt = <1800000>;
355                                 regulator-max-microvolt = <1800000>;
356                                 samsung,ext-control-gpios = <&gpk0 2 0>;
357                         };
358
359                         ldo12_reg: LDO12 {
360                                 regulator-name = "V_EMMC_2.8V";
361                                 regulator-min-microvolt = <2800000>;
362                                 regulator-max-microvolt = <2800000>;
363                                 samsung,ext-control-gpios = <&gpk0 2 0>;
364                         };
365
366                         ldo13_reg: LDO13 {
367                                 regulator-name = "CAM_AVDD_2.8V";
368                                 regulator-min-microvolt = <2800000>;
369                                 regulator-max-microvolt = <2800000>;
370
371                                 regulator-state-mem {
372                                         regulator-off-in-suspend;
373                                 };
374                         };
375
376                         ldo14_reg: LDO14 {
377                                 regulator-name = "UNUSED_LDO14";
378                                 regulator-min-microvolt = <2700000>;
379                                 regulator-max-microvolt = <2700000>;
380
381                                 regulator-state-mem {
382                                         regulator-off-in-suspend;
383                                 };
384                         };
385
386                         ldo15_reg: LDO15 {
387                                 regulator-name = "TSP_AVDD_3.3V";
388                                 regulator-min-microvolt = <3300000>;
389                                 regulator-max-microvolt = <3300000>;
390
391                                 regulator-state-mem {
392                                         regulator-off-in-suspend;
393                                 };
394                         };
395
396                         ldo16_reg: LDO16 {
397                                 regulator-name = "LCD_VDD_3.3V";
398                                 regulator-min-microvolt = <3300000>;
399                                 regulator-max-microvolt = <3300000>;
400
401                                 regulator-state-mem {
402                                         regulator-off-in-suspend;
403                                 };
404                         };
405
406                         ldo17_reg: LDO17 {
407                                 regulator-name = "V_IRLED_3.3V";
408                                 regulator-min-microvolt = <3300000>;
409                                 regulator-max-microvolt = <3300000>;
410
411                                 regulator-state-mem {
412                                         regulator-off-in-suspend;
413                                 };
414                         };
415
416                         ldo18_reg: LDO18 {
417                                 regulator-name = "CAM_AF_2.8V";
418                                 regulator-min-microvolt = <2800000>;
419                                 regulator-max-microvolt = <2800000>;
420
421                                 regulator-state-mem {
422                                         regulator-off-in-suspend;
423                                 };
424                         };
425
426                         ldo19_reg: LDO19 {
427                                 regulator-name = "TSP_VDD_1.8V";
428                                 regulator-min-microvolt = <1800000>;
429                                 regulator-max-microvolt = <1800000>;
430
431                                 regulator-state-mem {
432                                         regulator-off-in-suspend;
433                                 };
434                         };
435
436                         ldo20_reg: LDO20 {
437                                 regulator-name = "LCD_VDD_1.8V";
438                                 regulator-min-microvolt = <1800000>;
439                                 regulator-max-microvolt = <1800000>;
440
441                                 regulator-state-mem {
442                                         regulator-off-in-suspend;
443                                 };
444                         };
445
446                         ldo21_reg: LDO21 {
447                                 regulator-name = "CAM_IO_1.8V";
448                                 regulator-min-microvolt = <1800000>;
449                                 regulator-max-microvolt = <1800000>;
450
451                                 regulator-state-mem {
452                                         regulator-off-in-suspend;
453                                 };
454                         };
455
456                         ldo22_reg: LDO22 {
457                                 regulator-name = "CAM_DVDD_1.2V";
458                                 regulator-min-microvolt = <1200000>;
459                                 regulator-max-microvolt = <1200000>;
460
461                                 regulator-state-mem {
462                                         regulator-off-in-suspend;
463                                 };
464                         };
465
466                         ldo23_reg: LDO23 {
467                                 regulator-name = "HRM_VCC_1.8V";
468                                 regulator-min-microvolt = <1800000>;
469                                 regulator-max-microvolt = <1800000>;
470                                 regulator-always-on;
471                         };
472
473                         ldo24_reg: LDO24 {
474                                 regulator-name = "HRM_VCC_3.3V";
475                                 regulator-min-microvolt = <3000000>;
476                                 regulator-max-microvolt = <3000000>;
477
478                                 regulator-state-mem {
479                                         regulator-off-in-suspend;
480                                 };
481                         };
482
483                         ldo25_reg: LDO25 {
484                                 regulator-name = "UNUSED_LDO25";
485                                 regulator-min-microvolt = <3000000>;
486                                 regulator-max-microvolt = <3000000>;
487
488                                 regulator-state-mem {
489                                         regulator-off-in-suspend;
490                                 };
491                         };
492
493                         buck1_reg: BUCK1 {
494                                 regulator-name = "VAP_MIF_1.0V";
495                                 regulator-min-microvolt = <800000>;
496                                 regulator-max-microvolt = <900000>;
497                                 regulator-always-on;
498
499                                 regulator-state-mem {
500                                         regulator-off-in-suspend;
501                                 };
502                         };
503
504                         buck2_reg: BUCK2 {
505                                 regulator-name = "VAP_ARM_1.0V";
506                                 regulator-min-microvolt = <850000>;
507                                 regulator-max-microvolt = <1150000>;
508                                 regulator-always-on;
509
510                                 regulator-state-mem {
511                                         regulator-off-in-suspend;
512                                 };
513                         };
514
515                         buck3_reg: BUCK3 {
516                                 regulator-name = "VAP_INT3D_1.0V";
517                                 regulator-min-microvolt = <850000>;
518                                 regulator-max-microvolt = <1000000>;
519                                 regulator-always-on;
520
521                                 regulator-state-mem {
522                                         regulator-off-in-suspend;
523                                 };
524                         };
525
526                         buck4_reg: BUCK4 {
527                                 regulator-name = "VCC_SUB_1.95V";
528                                 regulator-min-microvolt = <1950000>;
529                                 regulator-max-microvolt = <1950000>;
530                                 regulator-always-on;
531
532                                 regulator-state-mem {
533                                         regulator-on-in-suspend;
534                                 };
535                         };
536
537                         buck5_reg: BUCK5 {
538                                 regulator-name = "VCC_SUB_1.35V";
539                                 regulator-min-microvolt = <1350000>;
540                                 regulator-max-microvolt = <1350000>;
541                                 regulator-always-on;
542
543                                 regulator-state-mem {
544                                         regulator-on-in-suspend;
545                                 };
546                         };
547                 };
548         };
549 };
550
551 &i2c_1 {
552         #address-cells = <1>;
553         #size-cells = <0>;
554         samsung,i2c-sda-delay = <100>;
555         samsung,i2c-slave-addr = <0x10>;
556         samsung,i2c-max-bus-freq = <400000>;
557         status = "okay";
558
559         fuelgauge@36 {
560                 compatible = "maxim,max77836-battery";
561                 interrupt-parent = <&gpx1>;
562                 interrupts = <2 8>;
563                 reg = <0x36>;
564         };
565 };
566
567 &i2s2 {
568         status = "okay";
569 };
570
571 &mfc {
572         status = "okay";
573 };
574
575 &jpeg {
576         status = "okay";
577 };
578
579 &mshc_0 {
580         #address-cells = <1>;
581         #size-cells = <0>;
582         num-slots = <1>;
583         broken-cd;
584         non-removable;
585         cap-mmc-highspeed;
586         desc-num = <4>;
587         mmc-hs200-1_8v;
588         card-detect-delay = <200>;
589         vmmc-supply = <&ldo12_reg>;
590         clock-frequency = <100000000>;
591         clock-freq-min-max = <400000 100000000>;
592         samsung,dw-mshc-ciu-div = <1>;
593         samsung,dw-mshc-sdr-timing = <0 1>;
594         samsung,dw-mshc-ddr-timing = <1 2>;
595         pinctrl-names = "default";
596         pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
597         bus-width = <8>;
598         status = "okay";
599 };
600
601 &serial_0 {
602         assigned-clocks = <&cmu CLK_SCLK_UART0>;
603         assigned-clock-rates = <100000000>;
604         status = "okay";
605 };
606
607 &serial_1 {
608         status = "okay";
609 };
610
611 &tmu {
612         vtmu-supply = <&ldo7_reg>;
613         status = "okay";
614 };
615
616 &rtc {
617         clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
618         clock-names = "rtc", "rtc_src";
619         status = "okay";
620 };
621
622 &ppmu_dmc0 {
623         status = "okay";
624
625         events {
626                 ppmu_dmc0_3: ppmu-event3-dmc0 {
627                         event-name = "ppmu-event3-dmc0";
628                 };
629         };
630 };
631
632 &ppmu_dmc1 {
633         status = "okay";
634
635         events {
636                 ppmu_dmc1_3: ppmu-event3-dmc1 {
637                         event-name = "ppmu-event3-dmc1";
638                 };
639         };
640 };
641
642 &ppmu_leftbus {
643         status = "okay";
644
645         events {
646                 ppmu_leftbus_3: ppmu-event3-leftbus {
647                         event-name = "ppmu-event3-leftbus";
648                 };
649         };
650 };
651
652 &ppmu_rightbus {
653         status = "okay";
654
655         events {
656                 ppmu_rightbus_3: ppmu-event3-rightbus {
657                         event-name = "ppmu-event3-rightbus";
658                 };
659         };
660 };
661
662 &xusbxti {
663         clock-frequency = <24000000>;
664 };
665
666 &pinctrl_0 {
667         pinctrl-names = "default";
668         pinctrl-0 = <&sleep0>;
669
670         sleep0: sleep-state {
671                 PIN_SLP(gpa0-0, INPUT, DOWN);
672                 PIN_SLP(gpa0-1, INPUT, DOWN);
673                 PIN_SLP(gpa0-2, INPUT, DOWN);
674                 PIN_SLP(gpa0-3, INPUT, DOWN);
675                 PIN_SLP(gpa0-4, INPUT, DOWN);
676                 PIN_SLP(gpa0-5, INPUT, DOWN);
677                 PIN_SLP(gpa0-6, INPUT, DOWN);
678                 PIN_SLP(gpa0-7, INPUT, DOWN);
679
680                 PIN_SLP(gpa1-0, INPUT, DOWN);
681                 PIN_SLP(gpa1-1, INPUT, DOWN);
682                 PIN_SLP(gpa1-2, INPUT, DOWN);
683                 PIN_SLP(gpa1-3, INPUT, DOWN);
684                 PIN_SLP(gpa1-4, INPUT, DOWN);
685                 PIN_SLP(gpa1-5, INPUT, DOWN);
686
687                 PIN_SLP(gpb-0, PREV, NONE);
688                 PIN_SLP(gpb-1, PREV, NONE);
689                 PIN_SLP(gpb-2, PREV, NONE);
690                 PIN_SLP(gpb-3, PREV, NONE);
691                 PIN_SLP(gpb-4, INPUT, DOWN);
692                 PIN_SLP(gpb-5, INPUT, DOWN);
693                 PIN_SLP(gpb-6, INPUT, DOWN);
694                 PIN_SLP(gpb-7, INPUT, DOWN);
695
696                 PIN_SLP(gpc0-0, INPUT, DOWN);
697                 PIN_SLP(gpc0-1, INPUT, DOWN);
698                 PIN_SLP(gpc0-2, INPUT, DOWN);
699                 PIN_SLP(gpc0-3, INPUT, DOWN);
700                 PIN_SLP(gpc0-4, INPUT, DOWN);
701
702                 PIN_SLP(gpc1-0, INPUT, DOWN);
703                 PIN_SLP(gpc1-1, INPUT, DOWN);
704                 PIN_SLP(gpc1-2, INPUT, DOWN);
705                 PIN_SLP(gpc1-3, INPUT, DOWN);
706                 PIN_SLP(gpc1-4, INPUT, DOWN);
707
708                 PIN_SLP(gpd0-0, INPUT, DOWN);
709                 PIN_SLP(gpd0-1, INPUT, DOWN);
710                 PIN_SLP(gpd0-2, INPUT, NONE);
711                 PIN_SLP(gpd0-3, INPUT, NONE);
712
713                 PIN_SLP(gpd1-0, INPUT, NONE);
714                 PIN_SLP(gpd1-1, INPUT, NONE);
715                 PIN_SLP(gpd1-2, INPUT, NONE);
716                 PIN_SLP(gpd1-3, INPUT, NONE);
717         };
718 };
719
720 &pinctrl_1 {
721         pinctrl-names = "default";
722         pinctrl-0 = <&sleep1>;
723
724         sleep1: sleep-state {
725                 PIN_SLP(gpe0-0, PREV, NONE);
726                 PIN_SLP(gpe0-1, PREV, NONE);
727                 PIN_SLP(gpe0-2, INPUT, DOWN);
728                 PIN_SLP(gpe0-3, INPUT, UP);
729                 PIN_SLP(gpe0-4, INPUT, DOWN);
730                 PIN_SLP(gpe0-5, INPUT, DOWN);
731                 PIN_SLP(gpe0-6, INPUT, DOWN);
732                 PIN_SLP(gpe0-7, INPUT, DOWN);
733
734                 PIN_SLP(gpe1-0, INPUT, DOWN);
735                 PIN_SLP(gpe1-1, PREV, NONE);
736                 PIN_SLP(gpe1-2, INPUT, DOWN);
737                 PIN_SLP(gpe1-3, INPUT, DOWN);
738                 PIN_SLP(gpe1-4, INPUT, DOWN);
739                 PIN_SLP(gpe1-5, INPUT, DOWN);
740                 PIN_SLP(gpe1-6, INPUT, DOWN);
741                 PIN_SLP(gpe1-7, INPUT, NONE);
742
743                 PIN_SLP(gpe2-0, INPUT, NONE);
744                 PIN_SLP(gpe2-1, INPUT, NONE);
745                 PIN_SLP(gpe2-2, INPUT, NONE);
746
747                 PIN_SLP(gpk0-0, INPUT, DOWN);
748                 PIN_SLP(gpk0-1, INPUT, DOWN);
749                 PIN_SLP(gpk0-2, OUT0, NONE);
750                 PIN_SLP(gpk0-3, INPUT, DOWN);
751                 PIN_SLP(gpk0-4, INPUT, DOWN);
752                 PIN_SLP(gpk0-5, INPUT, DOWN);
753                 PIN_SLP(gpk0-6, INPUT, DOWN);
754                 PIN_SLP(gpk0-7, INPUT, DOWN);
755
756                 PIN_SLP(gpk1-0, INPUT, DOWN);
757                 PIN_SLP(gpk1-1, INPUT, DOWN);
758                 PIN_SLP(gpk1-2, INPUT, DOWN);
759                 PIN_SLP(gpk1-3, INPUT, DOWN);
760                 PIN_SLP(gpk1-4, INPUT, DOWN);
761                 PIN_SLP(gpk1-5, INPUT, DOWN);
762                 PIN_SLP(gpk1-6, INPUT, DOWN);
763
764                 PIN_SLP(gpk2-0, INPUT, DOWN);
765                 PIN_SLP(gpk2-1, INPUT, DOWN);
766                 PIN_SLP(gpk2-2, INPUT, DOWN);
767                 PIN_SLP(gpk2-3, INPUT, DOWN);
768                 PIN_SLP(gpk2-4, INPUT, DOWN);
769                 PIN_SLP(gpk2-5, INPUT, DOWN);
770                 PIN_SLP(gpk2-6, INPUT, DOWN);
771
772                 PIN_SLP(gpl0-0, INPUT, DOWN);
773                 PIN_SLP(gpl0-1, INPUT, DOWN);
774                 PIN_SLP(gpl0-2, INPUT, DOWN);
775                 PIN_SLP(gpl0-3, INPUT, DOWN);
776
777                 PIN_SLP(gpm0-0, INPUT, DOWN);
778                 PIN_SLP(gpm0-1, INPUT, DOWN);
779                 PIN_SLP(gpm0-2, INPUT, DOWN);
780                 PIN_SLP(gpm0-3, INPUT, DOWN);
781                 PIN_SLP(gpm0-4, INPUT, DOWN);
782                 PIN_SLP(gpm0-5, INPUT, DOWN);
783                 PIN_SLP(gpm0-6, INPUT, DOWN);
784                 PIN_SLP(gpm0-7, INPUT, DOWN);
785
786                 PIN_SLP(gpm1-0, INPUT, DOWN);
787                 PIN_SLP(gpm1-1, INPUT, DOWN);
788                 PIN_SLP(gpm1-2, INPUT, DOWN);
789                 PIN_SLP(gpm1-3, INPUT, DOWN);
790                 PIN_SLP(gpm1-4, INPUT, DOWN);
791                 PIN_SLP(gpm1-5, INPUT, DOWN);
792                 PIN_SLP(gpm1-6, INPUT, DOWN);
793
794                 PIN_SLP(gpm2-0, INPUT, DOWN);
795                 PIN_SLP(gpm2-1, INPUT, DOWN);
796                 PIN_SLP(gpm2-2, INPUT, DOWN);
797                 PIN_SLP(gpm2-3, INPUT, DOWN);
798                 PIN_SLP(gpm2-4, INPUT, DOWN);
799
800                 PIN_SLP(gpm3-0, INPUT, DOWN);
801                 PIN_SLP(gpm3-1, INPUT, DOWN);
802                 PIN_SLP(gpm3-2, INPUT, DOWN);
803                 PIN_SLP(gpm3-3, INPUT, DOWN);
804                 PIN_SLP(gpm3-4, INPUT, DOWN);
805                 PIN_SLP(gpm3-5, INPUT, DOWN);
806                 PIN_SLP(gpm3-6, INPUT, DOWN);
807                 PIN_SLP(gpm3-7, INPUT, DOWN);
808
809                 PIN_SLP(gpm4-0, INPUT, DOWN);
810                 PIN_SLP(gpm4-1, INPUT, DOWN);
811                 PIN_SLP(gpm4-2, INPUT, DOWN);
812                 PIN_SLP(gpm4-3, INPUT, DOWN);
813                 PIN_SLP(gpm4-4, INPUT, DOWN);
814                 PIN_SLP(gpm4-5, INPUT, DOWN);
815                 PIN_SLP(gpm4-6, INPUT, DOWN);
816                 PIN_SLP(gpm4-7, INPUT, DOWN);
817         };
818 };