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