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