ARM: dts: Add max77693 charger node for exynos4412-trats2
[pandora-kernel.git] / arch / arm / boot / dts / exynos4412-trats2.dts
1 /*
2  * Samsung's Exynos4412 based Trats 2 board device tree source
3  *
4  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * Device tree source file for Samsung's Trats 2 board which is based on
8  * Samsung's Exynos4412 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 "exynos4412.dtsi"
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19
20 / {
21         model = "Samsung Trats 2 based on Exynos4412";
22         compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
23
24         aliases {
25                 i2c9 = &i2c_ak8975;
26                 i2c10 = &i2c_cm36651;
27                 i2c11 = &i2c_max77693;
28                 i2c12 = &i2c_max77693_fuel;
29         };
30
31         memory {
32                 reg =  <0x40000000 0x40000000>;
33         };
34
35         chosen {
36                 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
37         };
38
39         firmware@0204F000 {
40                 compatible = "samsung,secure-firmware";
41                 reg = <0x0204F000 0x1000>;
42         };
43
44         fixed-rate-clocks {
45                 xxti {
46                         compatible = "samsung,clock-xxti", "fixed-clock";
47                         clock-frequency = <0>;
48                 };
49
50                 xusbxti {
51                         compatible = "samsung,clock-xusbxti", "fixed-clock";
52                         clock-frequency = <24000000>;
53                 };
54         };
55
56         regulators {
57                 compatible = "simple-bus";
58                 #address-cells = <1>;
59                 #size-cells = <0>;
60
61                 cam_io_reg: voltage-regulator-1 {
62                         compatible = "regulator-fixed";
63                         regulator-name = "CAM_SENSOR_A";
64                         regulator-min-microvolt = <2800000>;
65                         regulator-max-microvolt = <2800000>;
66                         gpio = <&gpm0 2 0>;
67                         enable-active-high;
68                 };
69
70                 lcd_vdd3_reg: voltage-regulator-2 {
71                         compatible = "regulator-fixed";
72                         regulator-name = "LCD_VDD_2.2V";
73                         regulator-min-microvolt = <2200000>;
74                         regulator-max-microvolt = <2200000>;
75                         gpio = <&gpc0 1 0>;
76                         enable-active-high;
77                 };
78
79                 cam_af_reg: voltage-regulator-3 {
80                         compatible = "regulator-fixed";
81                         regulator-name = "CAM_AF";
82                         regulator-min-microvolt = <2800000>;
83                         regulator-max-microvolt = <2800000>;
84                         gpio = <&gpm0 4 0>;
85                         enable-active-high;
86                 };
87
88                 ps_als_reg: voltage-regulator-5 {
89                         compatible = "regulator-fixed";
90                         regulator-name = "LED_A_3.0V";
91                         regulator-min-microvolt = <3000000>;
92                         regulator-max-microvolt = <3000000>;
93                         gpio = <&gpj0 5 0>;
94                         enable-active-high;
95                 };
96         };
97
98         gpio-keys {
99                 compatible = "gpio-keys";
100
101                 key-down {
102                         gpios = <&gpx3 3 1>;
103                         linux,code = <114>;
104                         label = "volume down";
105                         debounce-interval = <10>;
106                 };
107
108                 key-up {
109                         gpios = <&gpx2 2 1>;
110                         linux,code = <115>;
111                         label = "volume up";
112                         debounce-interval = <10>;
113                 };
114
115                 key-power {
116                         gpios = <&gpx2 7 1>;
117                         linux,code = <116>;
118                         label = "power";
119                         debounce-interval = <10>;
120                         gpio-key,wakeup;
121                 };
122
123                 key-ok {
124                         gpios = <&gpx0 1 1>;
125                         linux,code = <139>;
126                         label = "ok";
127                         debounce-inteval = <10>;
128                         gpio-key,wakeup;
129                 };
130         };
131
132         adc: adc@126C0000 {
133                 vdd-supply = <&ldo3_reg>;
134                 status = "okay";
135         };
136
137         i2c@13890000 {
138                 samsung,i2c-sda-delay = <100>;
139                 samsung,i2c-slave-addr = <0x10>;
140                 samsung,i2c-max-bus-freq = <400000>;
141                 pinctrl-0 = <&i2c3_bus>;
142                 pinctrl-names = "default";
143                 status = "okay";
144
145                 mms114-touchscreen@48 {
146                         compatible = "melfas,mms114";
147                         reg = <0x48>;
148                         interrupt-parent = <&gpm2>;
149                         interrupts = <3 2>;
150                         x-size = <720>;
151                         y-size = <1280>;
152                         avdd-supply = <&ldo23_reg>;
153                         vdd-supply = <&ldo24_reg>;
154                 };
155         };
156
157         i2c_0: i2c@13860000 {
158                 samsung,i2c-sda-delay = <100>;
159                 samsung,i2c-slave-addr = <0x10>;
160                 samsung,i2c-max-bus-freq = <400000>;
161                 pinctrl-0 = <&i2c0_bus>;
162                 pinctrl-names = "default";
163                 status = "okay";
164
165                 s5c73m3@3c {
166                         compatible = "samsung,s5c73m3";
167                         reg = <0x3c>;
168                         standby-gpios = <&gpm0 1 1>;   /* ISP_STANDBY */
169                         xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */
170                         vdd-int-supply = <&buck9_reg>;
171                         vddio-cis-supply = <&ldo9_reg>;
172                         vdda-supply = <&ldo17_reg>;
173                         vddio-host-supply = <&ldo18_reg>;
174                         vdd-af-supply = <&cam_af_reg>;
175                         vdd-reg-supply = <&cam_io_reg>;
176                         clock-frequency = <24000000>;
177                         /* CAM_A_CLKOUT */
178                         clocks = <&camera 0>;
179                         clock-names = "cis_extclk";
180                         port {
181                                 s5c73m3_ep: endpoint {
182                                         remote-endpoint = <&csis0_ep>;
183                                         data-lanes = <1 2 3 4>;
184                                 };
185                         };
186                 };
187         };
188
189         i2c@138D0000 {
190                 samsung,i2c-sda-delay = <100>;
191                 samsung,i2c-slave-addr = <0x10>;
192                 samsung,i2c-max-bus-freq = <100000>;
193                 pinctrl-0 = <&i2c7_bus>;
194                 pinctrl-names = "default";
195                 status = "okay";
196
197                 max77686_pmic@09 {
198                         compatible = "maxim,max77686";
199                         interrupt-parent = <&gpx0>;
200                         interrupts = <7 0>;
201                         reg = <0x09>;
202                         #clock-cells = <1>;
203
204                         voltage-regulators {
205                                 ldo1_reg: ldo1 {
206                                         regulator-compatible = "LDO1";
207                                         regulator-name = "VALIVE_1.0V_AP";
208                                         regulator-min-microvolt = <1000000>;
209                                         regulator-max-microvolt = <1000000>;
210                                         regulator-always-on;
211                                 };
212
213                                 ldo2_reg: ldo2 {
214                                         regulator-compatible = "LDO2";
215                                         regulator-name = "VM1M2_1.2V_AP";
216                                         regulator-min-microvolt = <1200000>;
217                                         regulator-max-microvolt = <1200000>;
218                                         regulator-always-on;
219                                         regulator-state-mem {
220                                                 regulator-on-in-suspend;
221                                         };
222                                 };
223
224                                 ldo3_reg: ldo3 {
225                                         regulator-compatible = "LDO3";
226                                         regulator-name = "VCC_1.8V_AP";
227                                         regulator-min-microvolt = <1800000>;
228                                         regulator-max-microvolt = <1800000>;
229                                         regulator-always-on;
230                                 };
231
232                                 ldo4_reg: ldo4 {
233                                         regulator-compatible = "LDO4";
234                                         regulator-name = "VCC_2.8V_AP";
235                                         regulator-min-microvolt = <2800000>;
236                                         regulator-max-microvolt = <2800000>;
237                                         regulator-always-on;
238                                 };
239
240                                 ldo5_reg: ldo5 {
241                                         regulator-compatible = "LDO5";
242                                         regulator-name = "VCC_1.8V_IO";
243                                         regulator-min-microvolt = <1800000>;
244                                         regulator-max-microvolt = <1800000>;
245                                         regulator-always-on;
246                                 };
247
248                                 ldo6_reg: ldo6 {
249                                         regulator-compatible = "LDO6";
250                                         regulator-name = "VMPLL_1.0V_AP";
251                                         regulator-min-microvolt = <1000000>;
252                                         regulator-max-microvolt = <1000000>;
253                                         regulator-always-on;
254                                         regulator-state-mem {
255                                                 regulator-on-in-suspend;
256                                         };
257                                 };
258
259                                 ldo7_reg: ldo7 {
260                                         regulator-compatible = "LDO7";
261                                         regulator-name = "VPLL_1.0V_AP";
262                                         regulator-min-microvolt = <1000000>;
263                                         regulator-max-microvolt = <1000000>;
264                                         regulator-always-on;
265                                         regulator-state-mem {
266                                                 regulator-on-in-suspend;
267                                         };
268                                 };
269
270                                 ldo8_reg: ldo8 {
271                                         regulator-compatible = "LDO8";
272                                         regulator-name = "VMIPI_1.0V";
273                                         regulator-min-microvolt = <1000000>;
274                                         regulator-max-microvolt = <1000000>;
275                                         regulator-state-mem {
276                                                 regulator-off-in-suspend;
277                                         };
278                                 };
279
280                                 ldo9_reg: ldo9 {
281                                         regulator-compatible = "LDO9";
282                                         regulator-name = "CAM_ISP_MIPI_1.2V";
283                                         regulator-min-microvolt = <1200000>;
284                                         regulator-max-microvolt = <1200000>;
285                                 };
286
287                                 ldo10_reg: ldo10 {
288                                         regulator-compatible = "LDO10";
289                                         regulator-name = "VMIPI_1.8V";
290                                         regulator-min-microvolt = <1800000>;
291                                         regulator-max-microvolt = <1800000>;
292                                         regulator-state-mem {
293                                                 regulator-off-in-suspend;
294                                         };
295                                 };
296
297                                 ldo11_reg: ldo11 {
298                                         regulator-compatible = "LDO11";
299                                         regulator-name = "VABB1_1.95V";
300                                         regulator-min-microvolt = <1950000>;
301                                         regulator-max-microvolt = <1950000>;
302                                         regulator-always-on;
303                                         regulator-state-mem {
304                                                 regulator-off-in-suspend;
305                                         };
306                                 };
307
308                                 ldo12_reg: ldo12 {
309                                         regulator-compatible = "LDO12";
310                                         regulator-name = "VUOTG_3.0V";
311                                         regulator-min-microvolt = <3000000>;
312                                         regulator-max-microvolt = <3000000>;
313                                         regulator-state-mem {
314                                                 regulator-off-in-suspend;
315                                         };
316                                 };
317
318                                 ldo13_reg: ldo13 {
319                                         regulator-compatible = "LDO13";
320                                         regulator-name = "NFC_AVDD_1.8V";
321                                         regulator-min-microvolt = <1800000>;
322                                         regulator-max-microvolt = <1800000>;
323                                 };
324
325                                 ldo14_reg: ldo14 {
326                                         regulator-compatible = "LDO14";
327                                         regulator-name = "VABB2_1.95V";
328                                         regulator-min-microvolt = <1950000>;
329                                         regulator-max-microvolt = <1950000>;
330                                         regulator-always-on;
331                                         regulator-state-mem {
332                                                 regulator-off-in-suspend;
333                                         };
334                                 };
335
336                                 ldo15_reg: ldo15 {
337                                         regulator-compatible = "LDO15";
338                                         regulator-name = "VHSIC_1.0V";
339                                         regulator-min-microvolt = <1000000>;
340                                         regulator-max-microvolt = <1000000>;
341                                         regulator-state-mem {
342                                                 regulator-on-in-suspend;
343                                         };
344                                 };
345
346                                 ldo16_reg: ldo16 {
347                                         regulator-compatible = "LDO16";
348                                         regulator-name = "VHSIC_1.8V";
349                                         regulator-min-microvolt = <1800000>;
350                                         regulator-max-microvolt = <1800000>;
351                                         regulator-state-mem {
352                                                 regulator-on-in-suspend;
353                                         };
354                                 };
355
356                                 ldo17_reg: ldo17 {
357                                         regulator-compatible = "LDO17";
358                                         regulator-name = "CAM_SENSOR_CORE_1.2V";
359                                         regulator-min-microvolt = <1200000>;
360                                         regulator-max-microvolt = <1200000>;
361                                 };
362
363                                 ldo18_reg: ldo18 {
364                                         regulator-compatible = "LDO18";
365                                         regulator-name = "CAM_ISP_SEN_IO_1.8V";
366                                         regulator-min-microvolt = <1800000>;
367                                         regulator-max-microvolt = <1800000>;
368                                 };
369
370                                 ldo19_reg: ldo19 {
371                                         regulator-compatible = "LDO19";
372                                         regulator-name = "VT_CAM_1.8V";
373                                         regulator-min-microvolt = <1800000>;
374                                         regulator-max-microvolt = <1800000>;
375                                 };
376
377                                 ldo20_reg: ldo20 {
378                                         regulator-compatible = "LDO20";
379                                         regulator-name = "VDDQ_PRE_1.8V";
380                                         regulator-min-microvolt = <1800000>;
381                                         regulator-max-microvolt = <1800000>;
382                                 };
383
384                                 ldo21_reg: ldo21 {
385                                         regulator-compatible = "LDO21";
386                                         regulator-name = "VTF_2.8V";
387                                         regulator-min-microvolt = <2800000>;
388                                         regulator-max-microvolt = <2800000>;
389                                         maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
390                                 };
391
392                                 ldo22_reg: ldo22 {
393                                         regulator-compatible = "LDO22";
394                                         regulator-name = "VMEM_VDD_2.8V";
395                                         regulator-min-microvolt = <2800000>;
396                                         regulator-max-microvolt = <2800000>;
397                                         maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
398                                 };
399
400                                 ldo23_reg: ldo23 {
401                                         regulator-compatible = "LDO23";
402                                         regulator-name = "TSP_AVDD_3.3V";
403                                         regulator-min-microvolt = <3300000>;
404                                         regulator-max-microvolt = <3300000>;
405                                 };
406
407                                 ldo24_reg: ldo24 {
408                                         regulator-compatible = "LDO24";
409                                         regulator-name = "TSP_VDD_1.8V";
410                                         regulator-min-microvolt = <1800000>;
411                                         regulator-max-microvolt = <1800000>;
412                                 };
413
414                                 ldo25_reg: ldo25 {
415                                         regulator-compatible = "LDO25";
416                                         regulator-name = "LCD_VCC_3.3V";
417                                         regulator-min-microvolt = <2800000>;
418                                         regulator-max-microvolt = <2800000>;
419                                 };
420
421                                 ldo26_reg: ldo26 {
422                                         regulator-compatible = "LDO26";
423                                         regulator-name = "MOTOR_VCC_3.0V";
424                                         regulator-min-microvolt = <3000000>;
425                                         regulator-max-microvolt = <3000000>;
426                                 };
427
428                                 buck1_reg: buck1 {
429                                         regulator-compatible = "BUCK1";
430                                         regulator-name = "vdd_mif";
431                                         regulator-min-microvolt = <850000>;
432                                         regulator-max-microvolt = <1100000>;
433                                         regulator-always-on;
434                                         regulator-boot-on;
435                                         regulator-state-mem {
436                                                 regulator-off-in-suspend;
437                                         };
438                                 };
439
440                                 buck2_reg: buck2 {
441                                         regulator-compatible = "BUCK2";
442                                         regulator-name = "vdd_arm";
443                                         regulator-min-microvolt = <850000>;
444                                         regulator-max-microvolt = <1500000>;
445                                         regulator-always-on;
446                                         regulator-boot-on;
447                                         regulator-state-mem {
448                                                 regulator-on-in-suspend;
449                                         };
450                                 };
451
452                                 buck3_reg: buck3 {
453                                         regulator-compatible = "BUCK3";
454                                         regulator-name = "vdd_int";
455                                         regulator-min-microvolt = <850000>;
456                                         regulator-max-microvolt = <1150000>;
457                                         regulator-always-on;
458                                         regulator-boot-on;
459                                         regulator-state-mem {
460                                                 regulator-off-in-suspend;
461                                         };
462                                 };
463
464                                 buck4_reg: buck4 {
465                                         regulator-compatible = "BUCK4";
466                                         regulator-name = "vdd_g3d";
467                                         regulator-min-microvolt = <850000>;
468                                         regulator-max-microvolt = <1150000>;
469                                         regulator-boot-on;
470                                         regulator-state-mem {
471                                                 regulator-off-in-suspend;
472                                         };
473                                 };
474
475                                 buck5_reg: buck5 {
476                                         regulator-compatible = "BUCK5";
477                                         regulator-name = "VMEM_1.2V_AP";
478                                         regulator-min-microvolt = <1200000>;
479                                         regulator-max-microvolt = <1200000>;
480                                         regulator-always-on;
481                                 };
482
483                                 buck6_reg: buck6 {
484                                         regulator-compatible = "BUCK6";
485                                         regulator-name = "VCC_SUB_1.35V";
486                                         regulator-min-microvolt = <1350000>;
487                                         regulator-max-microvolt = <1350000>;
488                                         regulator-always-on;
489                                 };
490
491                                 buck7_reg: buck7 {
492                                         regulator-compatible = "BUCK7";
493                                         regulator-name = "VCC_SUB_2.0V";
494                                         regulator-min-microvolt = <2000000>;
495                                         regulator-max-microvolt = <2000000>;
496                                         regulator-always-on;
497                                 };
498
499                                 buck8_reg: buck8 {
500                                         regulator-compatible = "BUCK8";
501                                         regulator-name = "VMEM_VDDF_3.0V";
502                                         regulator-min-microvolt = <2850000>;
503                                         regulator-max-microvolt = <2850000>;
504                                         maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
505                                 };
506
507                                 buck9_reg: buck9 {
508                                         regulator-compatible = "BUCK9";
509                                         regulator-name = "CAM_ISP_CORE_1.2V";
510                                         regulator-min-microvolt = <1000000>;
511                                         regulator-max-microvolt = <1200000>;
512                                         maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
513                                 };
514                         };
515                 };
516         };
517
518         i2c_max77693: i2c-gpio-1 {
519                 compatible = "i2c-gpio";
520                 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
521                 i2c-gpio,delay-us = <2>;
522                 #address-cells = <1>;
523                 #size-cells = <0>;
524                 status = "okay";
525
526                 max77693@66 {
527                         compatible = "maxim,max77693";
528                         interrupt-parent = <&gpx1>;
529                         interrupts = <5 2>;
530                         reg = <0x66>;
531
532                         regulators {
533                                 esafeout1_reg: ESAFEOUT1@1 {
534                                         regulator-name = "ESAFEOUT1";
535                                 };
536                                 esafeout2_reg: ESAFEOUT2@2 {
537                                         regulator-name = "ESAFEOUT2";
538                                 };
539                                 charger_reg: CHARGER@0 {
540                                         regulator-name = "CHARGER";
541                                         regulator-min-microamp = <60000>;
542                                         regulator-max-microamp = <2580000>;
543                                 };
544                         };
545
546                         max77693_haptic {
547                                 compatible = "maxim,max77693-haptic";
548                                 haptic-supply = <&ldo26_reg>;
549                                 pwms = <&pwm 0 38022 0>;
550                         };
551
552                         charger {
553                                 compatible = "maxim,max77693-charger";
554
555                                 maxim,constant-microvolt = <4350000>;
556                                 maxim,min-system-microvolt = <3600000>;
557                                 maxim,thermal-regulation-celsius = <100>;
558                                 maxim,battery-overcurrent-microamp = <3500000>;
559                                 maxim,charge-input-threshold-microvolt = <4300000>;
560                         };
561                 };
562         };
563
564         i2c_max77693_fuel: i2c-gpio-3 {
565                 compatible = "i2c-gpio";
566                 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
567                 i2c-gpio,delay-us = <2>;
568                 #address-cells = <1>;
569                 #size-cells = <0>;
570                 status = "okay";
571
572                 max77693-fuel-gauge@36 {
573                         compatible = "maxim,max17047";
574                         interrupt-parent = <&gpx2>;
575                         interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
576                         reg = <0x36>;
577                 };
578         };
579
580         mmc@12550000 {
581                 num-slots = <1>;
582                 broken-cd;
583                 non-removable;
584                 card-detect-delay = <200>;
585                 vmmc-supply = <&ldo22_reg>;
586                 clock-frequency = <400000000>;
587                 samsung,dw-mshc-ciu-div = <0>;
588                 samsung,dw-mshc-sdr-timing = <2 3>;
589                 samsung,dw-mshc-ddr-timing = <1 2>;
590                 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
591                 pinctrl-names = "default";
592                 status = "okay";
593                 bus-width = <8>;
594                 cap-mmc-highspeed;
595         };
596
597         sdhci@12530000 {
598                 bus-width = <4>;
599                 cd-gpios = <&gpx3 4 0>;
600                 cd-inverted;
601                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
602                 pinctrl-names = "default";
603                 vmmc-supply = <&ldo21_reg>;
604                 status = "okay";
605         };
606
607         serial@13800000 {
608                 status = "okay";
609         };
610
611         serial@13810000 {
612                 status = "okay";
613         };
614
615         serial@13820000 {
616                 status = "okay";
617         };
618
619         serial@13830000 {
620                 status = "okay";
621         };
622
623         tmu@100C0000 {
624                 vtmu-supply = <&ldo10_reg>;
625                 status = "okay";
626         };
627
628         i2c_ak8975: i2c-gpio-0 {
629                 compatible = "i2c-gpio";
630                 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
631                 i2c-gpio,delay-us = <2>;
632                 #address-cells = <1>;
633                 #size-cells = <0>;
634                 status = "okay";
635
636                 ak8975@0c {
637                         compatible = "asahi-kasei,ak8975";
638                         reg = <0x0c>;
639                         gpios = <&gpj0 7 0>;
640                 };
641         };
642
643         i2c_cm36651: i2c-gpio-2 {
644                 compatible = "i2c-gpio";
645                 gpios = <&gpf0 0 1>, <&gpf0 1 1>;
646                 i2c-gpio,delay-us = <2>;
647                 #address-cells = <1>;
648                 #size-cells = <0>;
649
650                 cm36651@18 {
651                         compatible = "capella,cm36651";
652                         reg = <0x18>;
653                         interrupt-parent = <&gpx0>;
654                         interrupts = <2 2>;
655                         vled-supply = <&ps_als_reg>;
656                 };
657         };
658
659         spi_1: spi@13930000 {
660                 pinctrl-names = "default";
661                 pinctrl-0 = <&spi1_bus>;
662                 cs-gpios = <&gpb 5 0>;
663                 status = "okay";
664
665                 s5c73m3_spi: s5c73m3 {
666                         compatible = "samsung,s5c73m3";
667                         spi-max-frequency = <50000000>;
668                         reg = <0>;
669                         controller-data {
670                                 samsung,spi-feedback-delay = <2>;
671                         };
672                 };
673         };
674
675         pwm: pwm@139D0000 {
676                 pinctrl-0 = <&pwm0_out>;
677                 pinctrl-names = "default";
678                 samsung,pwm-outputs = <0>;
679                 status = "okay";
680         };
681
682         dsi_0: dsi@11C80000 {
683                 vddcore-supply = <&ldo8_reg>;
684                 vddio-supply = <&ldo10_reg>;
685                 samsung,pll-clock-frequency = <24000000>;
686                 status = "okay";
687
688                 ports {
689                         #address-cells = <1>;
690                         #size-cells = <0>;
691
692                         port@1 {
693                                 reg = <1>;
694
695                                 dsi_out: endpoint {
696                                         remote-endpoint = <&dsi_in>;
697                                         samsung,burst-clock-frequency = <500000000>;
698                                         samsung,esc-clock-frequency = <20000000>;
699                                 };
700                         };
701                 };
702
703                 panel@0 {
704                         compatible = "samsung,s6e8aa0";
705                         reg = <0>;
706                         vdd3-supply = <&lcd_vdd3_reg>;
707                         vci-supply = <&ldo25_reg>;
708                         reset-gpios = <&gpy4 5 0>;
709                         power-on-delay= <50>;
710                         reset-delay = <100>;
711                         init-delay = <100>;
712                         flip-horizontal;
713                         flip-vertical;
714                         panel-width-mm = <58>;
715                         panel-height-mm = <103>;
716
717                         display-timings {
718                                 timing-0 {
719                                         clock-frequency = <0>;
720                                         hactive = <720>;
721                                         vactive = <1280>;
722                                         hfront-porch = <5>;
723                                         hback-porch = <5>;
724                                         hsync-len = <5>;
725                                         vfront-porch = <13>;
726                                         vback-porch = <1>;
727                                         vsync-len = <2>;
728                                 };
729                         };
730
731                         port {
732                                 dsi_in: endpoint {
733                                         remote-endpoint = <&dsi_out>;
734                                 };
735                         };
736                 };
737         };
738
739         fimd@11c00000 {
740                 status = "okay";
741         };
742
743         camera: camera {
744                 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
745                 pinctrl-names = "default";
746                 status = "okay";
747                 assigned-clocks = <&clock CLK_MOUT_CAM0>,
748                                   <&clock CLK_MOUT_CAM1>;
749                 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
750                                          <&clock CLK_MOUT_MPLL_USER_T>;
751
752                 fimc_0: fimc@11800000 {
753                         status = "okay";
754                         assigned-clocks = <&clock CLK_MOUT_FIMC0>,
755                                         <&clock CLK_SCLK_FIMC0>;
756                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
757                         assigned-clock-rates = <0>, <176000000>;
758                 };
759
760                 fimc_1: fimc@11810000 {
761                         status = "okay";
762                         assigned-clocks = <&clock CLK_MOUT_FIMC1>,
763                                         <&clock CLK_SCLK_FIMC1>;
764                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
765                         assigned-clock-rates = <0>, <176000000>;
766                 };
767
768                 fimc_2: fimc@11820000 {
769                         status = "okay";
770                         assigned-clocks = <&clock CLK_MOUT_FIMC2>,
771                                         <&clock CLK_SCLK_FIMC2>;
772                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
773                         assigned-clock-rates = <0>, <176000000>;
774                 };
775
776                 fimc_3: fimc@11830000 {
777                         status = "okay";
778                         assigned-clocks = <&clock CLK_MOUT_FIMC3>,
779                                         <&clock CLK_SCLK_FIMC3>;
780                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
781                         assigned-clock-rates = <0>, <176000000>;
782                 };
783
784                 csis_0: csis@11880000 {
785                         status = "okay";
786                         vddcore-supply = <&ldo8_reg>;
787                         vddio-supply = <&ldo10_reg>;
788                         assigned-clocks = <&clock CLK_MOUT_CSIS0>,
789                                         <&clock CLK_SCLK_CSIS0>;
790                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
791                         assigned-clock-rates = <0>, <176000000>;
792
793                         /* Camera C (3) MIPI CSI-2 (CSIS0) */
794                         port@3 {
795                                 reg = <3>;
796                                 csis0_ep: endpoint {
797                                         remote-endpoint = <&s5c73m3_ep>;
798                                         data-lanes = <1 2 3 4>;
799                                         samsung,csis-hs-settle = <12>;
800                                 };
801                         };
802                 };
803
804                 csis_1: csis@11890000 {
805                         status = "okay";
806                         vddcore-supply = <&ldo8_reg>;
807                         vddio-supply = <&ldo10_reg>;
808                         assigned-clocks = <&clock CLK_MOUT_CSIS1>,
809                                         <&clock CLK_SCLK_CSIS1>;
810                         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
811                         assigned-clock-rates = <0>, <176000000>;
812
813                         /* Camera D (4) MIPI CSI-2 (CSIS1) */
814                         port@4 {
815                                 reg = <4>;
816                                 csis1_ep: endpoint {
817                                         remote-endpoint = <&is_s5k6a3_ep>;
818                                         data-lanes = <1>;
819                                         samsung,csis-hs-settle = <18>;
820                                         samsung,csis-wclk;
821                                 };
822                         };
823                 };
824
825                 fimc_lite_0: fimc-lite@12390000 {
826                         status = "okay";
827                 };
828
829                 fimc_lite_1: fimc-lite@123A0000 {
830                         status = "okay";
831                 };
832
833                 fimc-is@12000000 {
834                         pinctrl-0 = <&fimc_is_uart>;
835                         pinctrl-names = "default";
836                         status = "okay";
837
838                         i2c1_isp: i2c-isp@12140000 {
839                                 pinctrl-0 = <&fimc_is_i2c1>;
840                                 pinctrl-names = "default";
841
842                                 s5k6a3@10 {
843                                         compatible = "samsung,s5k6a3";
844                                         reg = <0x10>;
845                                         svdda-supply = <&cam_io_reg>;
846                                         svddio-supply = <&ldo19_reg>;
847                                         afvdd-supply = <&ldo19_reg>;
848                                         clock-frequency = <24000000>;
849                                         /* CAM_B_CLKOUT */
850                                         clocks = <&camera 1>;
851                                         clock-names = "extclk";
852                                         samsung,camclk-out = <1>;
853                                         gpios = <&gpm1 6 0>;
854
855                                         port {
856                                                 is_s5k6a3_ep: endpoint {
857                                                         remote-endpoint = <&csis1_ep>;
858                                                         data-lanes = <1>;
859                                                 };
860                                         };
861                                 };
862                         };
863                 };
864         };
865
866         exynos-usbphy@125B0000 {
867                 status = "okay";
868         };
869
870         hsotg@12480000 {
871                 vusb_d-supply = <&ldo15_reg>;
872                 vusb_a-supply = <&ldo12_reg>;
873                 dr_mode = "peripheral";
874                 status = "okay";
875         };
876
877         thermistor-ap@0 {
878                 compatible = "ntc,ncp15wb473";
879                 pullup-uv = <1800000>;   /* VCC_1.8V_AP */
880                 pullup-ohm = <100000>;   /* 100K */
881                 pulldown-ohm = <100000>; /* 100K */
882                 io-channels = <&adc 1>;  /* AP temperature */
883         };
884
885         thermistor-battery@1 {
886                 compatible = "ntc,ncp15wb473";
887                 pullup-uv = <1800000>;   /* VCC_1.8V_AP */
888                 pullup-ohm = <100000>;   /* 100K */
889                 pulldown-ohm = <100000>; /* 100K */
890                 io-channels = <&adc 2>;  /* Battery temperature */
891         };
892 };
893
894 &pinctrl_0 {
895         pinctrl-names = "default";
896         pinctrl-0 = <&sleep0>;
897
898         sleep0: sleep-states {
899                 PIN_SLP(gpa0-0, INPUT, NONE);
900                 PIN_SLP(gpa0-1, OUT0, NONE);
901                 PIN_SLP(gpa0-2, INPUT, NONE);
902                 PIN_SLP(gpa0-3, INPUT, UP);
903                 PIN_SLP(gpa0-4, INPUT, NONE);
904                 PIN_SLP(gpa0-5, INPUT, DOWN);
905                 PIN_SLP(gpa0-6, INPUT, DOWN);
906                 PIN_SLP(gpa0-7, INPUT, UP);
907
908                 PIN_SLP(gpa1-0, INPUT, DOWN);
909                 PIN_SLP(gpa1-1, INPUT, DOWN);
910                 PIN_SLP(gpa1-2, INPUT, DOWN);
911                 PIN_SLP(gpa1-3, INPUT, DOWN);
912                 PIN_SLP(gpa1-4, INPUT, DOWN);
913                 PIN_SLP(gpa1-5, INPUT, DOWN);
914
915                 PIN_SLP(gpb-0, INPUT, NONE);
916                 PIN_SLP(gpb-1, INPUT, NONE);
917                 PIN_SLP(gpb-2, INPUT, NONE);
918                 PIN_SLP(gpb-3, INPUT, NONE);
919                 PIN_SLP(gpb-4, INPUT, DOWN);
920                 PIN_SLP(gpb-5, INPUT, UP);
921                 PIN_SLP(gpb-6, INPUT, DOWN);
922                 PIN_SLP(gpb-7, INPUT, DOWN);
923
924                 PIN_SLP(gpc0-0, INPUT, DOWN);
925                 PIN_SLP(gpc0-1, INPUT, DOWN);
926                 PIN_SLP(gpc0-2, INPUT, DOWN);
927                 PIN_SLP(gpc0-3, INPUT, DOWN);
928                 PIN_SLP(gpc0-4, INPUT, DOWN);
929
930                 PIN_SLP(gpc1-0, INPUT, NONE);
931                 PIN_SLP(gpc1-1, PREV, NONE);
932                 PIN_SLP(gpc1-2, INPUT, NONE);
933                 PIN_SLP(gpc1-3, INPUT, NONE);
934                 PIN_SLP(gpc1-4, INPUT, NONE);
935
936                 PIN_SLP(gpd0-0, INPUT, DOWN);
937                 PIN_SLP(gpd0-1, INPUT, DOWN);
938                 PIN_SLP(gpd0-2, INPUT, NONE);
939                 PIN_SLP(gpd0-3, INPUT, NONE);
940
941                 PIN_SLP(gpd1-0, INPUT, DOWN);
942                 PIN_SLP(gpd1-1, INPUT, DOWN);
943                 PIN_SLP(gpd1-2, INPUT, NONE);
944                 PIN_SLP(gpd1-3, INPUT, NONE);
945
946                 PIN_SLP(gpf0-0, INPUT, NONE);
947                 PIN_SLP(gpf0-1, INPUT, NONE);
948                 PIN_SLP(gpf0-2, INPUT, DOWN);
949                 PIN_SLP(gpf0-3, INPUT, DOWN);
950                 PIN_SLP(gpf0-4, INPUT, NONE);
951                 PIN_SLP(gpf0-5, INPUT, DOWN);
952                 PIN_SLP(gpf0-6, INPUT, NONE);
953                 PIN_SLP(gpf0-7, INPUT, DOWN);
954
955                 PIN_SLP(gpf1-0, INPUT, DOWN);
956                 PIN_SLP(gpf1-1, INPUT, DOWN);
957                 PIN_SLP(gpf1-2, INPUT, DOWN);
958                 PIN_SLP(gpf1-3, INPUT, DOWN);
959                 PIN_SLP(gpf1-4, INPUT, NONE);
960                 PIN_SLP(gpf1-5, INPUT, NONE);
961                 PIN_SLP(gpf1-6, INPUT, DOWN);
962                 PIN_SLP(gpf1-7, PREV, NONE);
963
964                 PIN_SLP(gpf2-0, PREV, NONE);
965                 PIN_SLP(gpf2-1, INPUT, DOWN);
966                 PIN_SLP(gpf2-2, INPUT, DOWN);
967                 PIN_SLP(gpf2-3, INPUT, DOWN);
968                 PIN_SLP(gpf2-4, INPUT, DOWN);
969                 PIN_SLP(gpf2-5, INPUT, DOWN);
970                 PIN_SLP(gpf2-6, INPUT, NONE);
971                 PIN_SLP(gpf2-7, INPUT, NONE);
972
973                 PIN_SLP(gpf3-0, INPUT, NONE);
974                 PIN_SLP(gpf3-1, PREV, NONE);
975                 PIN_SLP(gpf3-2, PREV, NONE);
976                 PIN_SLP(gpf3-3, PREV, NONE);
977                 PIN_SLP(gpf3-4, OUT1, NONE);
978                 PIN_SLP(gpf3-5, INPUT, DOWN);
979
980                 PIN_SLP(gpj0-0, PREV, NONE);
981                 PIN_SLP(gpj0-1, PREV, NONE);
982                 PIN_SLP(gpj0-2, PREV, NONE);
983                 PIN_SLP(gpj0-3, INPUT, DOWN);
984                 PIN_SLP(gpj0-4, PREV, NONE);
985                 PIN_SLP(gpj0-5, PREV, NONE);
986                 PIN_SLP(gpj0-6, INPUT, DOWN);
987                 PIN_SLP(gpj0-7, INPUT, DOWN);
988
989                 PIN_SLP(gpj1-0, INPUT, DOWN);
990                 PIN_SLP(gpj1-1, PREV, NONE);
991                 PIN_SLP(gpj1-2, PREV, NONE);
992                 PIN_SLP(gpj1-3, INPUT, DOWN);
993                 PIN_SLP(gpj1-4, INPUT, DOWN);
994         };
995 };
996
997 &pinctrl_1 {
998         pinctrl-names = "default";
999         pinctrl-0 = <&sleep1>;
1000
1001         sleep1: sleep-states {
1002                 PIN_SLP(gpk0-0, PREV, NONE);
1003                 PIN_SLP(gpk0-1, PREV, NONE);
1004                 PIN_SLP(gpk0-2, OUT0, NONE);
1005                 PIN_SLP(gpk0-3, PREV, NONE);
1006                 PIN_SLP(gpk0-4, PREV, NONE);
1007                 PIN_SLP(gpk0-5, PREV, NONE);
1008                 PIN_SLP(gpk0-6, PREV, NONE);
1009
1010                 PIN_SLP(gpk1-0, INPUT, DOWN);
1011                 PIN_SLP(gpk1-1, INPUT, DOWN);
1012                 PIN_SLP(gpk1-2, INPUT, DOWN);
1013                 PIN_SLP(gpk1-3, PREV, NONE);
1014                 PIN_SLP(gpk1-4, PREV, NONE);
1015                 PIN_SLP(gpk1-5, PREV, NONE);
1016                 PIN_SLP(gpk1-6, PREV, NONE);
1017
1018                 PIN_SLP(gpk2-0, INPUT, DOWN);
1019                 PIN_SLP(gpk2-1, INPUT, DOWN);
1020                 PIN_SLP(gpk2-2, INPUT, DOWN);
1021                 PIN_SLP(gpk2-3, INPUT, DOWN);
1022                 PIN_SLP(gpk2-4, INPUT, DOWN);
1023                 PIN_SLP(gpk2-5, INPUT, DOWN);
1024                 PIN_SLP(gpk2-6, INPUT, DOWN);
1025
1026                 PIN_SLP(gpk3-0, OUT0, NONE);
1027                 PIN_SLP(gpk3-1, INPUT, NONE);
1028                 PIN_SLP(gpk3-2, INPUT, DOWN);
1029                 PIN_SLP(gpk3-3, INPUT, NONE);
1030                 PIN_SLP(gpk3-4, INPUT, NONE);
1031                 PIN_SLP(gpk3-5, INPUT, NONE);
1032                 PIN_SLP(gpk3-6, INPUT, NONE);
1033
1034                 PIN_SLP(gpl0-0, INPUT, DOWN);
1035                 PIN_SLP(gpl0-1, INPUT, DOWN);
1036                 PIN_SLP(gpl0-2, INPUT, DOWN);
1037                 PIN_SLP(gpl0-3, INPUT, DOWN);
1038                 PIN_SLP(gpl0-4, PREV, NONE);
1039                 PIN_SLP(gpl0-6, PREV, NONE);
1040
1041                 PIN_SLP(gpl1-0, INPUT, DOWN);
1042                 PIN_SLP(gpl1-1, INPUT, DOWN);
1043                 PIN_SLP(gpl2-0, INPUT, DOWN);
1044                 PIN_SLP(gpl2-1, INPUT, DOWN);
1045                 PIN_SLP(gpl2-2, INPUT, DOWN);
1046                 PIN_SLP(gpl2-3, INPUT, DOWN);
1047                 PIN_SLP(gpl2-4, INPUT, DOWN);
1048                 PIN_SLP(gpl2-5, INPUT, DOWN);
1049                 PIN_SLP(gpl2-6, PREV, NONE);
1050                 PIN_SLP(gpl2-7, INPUT, DOWN);
1051
1052                 PIN_SLP(gpm0-0, INPUT, DOWN);
1053                 PIN_SLP(gpm0-1, INPUT, DOWN);
1054                 PIN_SLP(gpm0-2, INPUT, DOWN);
1055                 PIN_SLP(gpm0-3, INPUT, DOWN);
1056                 PIN_SLP(gpm0-4, INPUT, DOWN);
1057                 PIN_SLP(gpm0-5, INPUT, DOWN);
1058                 PIN_SLP(gpm0-6, INPUT, DOWN);
1059                 PIN_SLP(gpm0-7, INPUT, DOWN);
1060
1061                 PIN_SLP(gpm1-0, INPUT, DOWN);
1062                 PIN_SLP(gpm1-1, INPUT, DOWN);
1063                 PIN_SLP(gpm1-2, INPUT, NONE);
1064                 PIN_SLP(gpm1-3, INPUT, NONE);
1065                 PIN_SLP(gpm1-4, INPUT, NONE);
1066                 PIN_SLP(gpm1-5, INPUT, NONE);
1067                 PIN_SLP(gpm1-6, INPUT, DOWN);
1068
1069                 PIN_SLP(gpm2-0, INPUT, NONE);
1070                 PIN_SLP(gpm2-1, INPUT, NONE);
1071                 PIN_SLP(gpm2-2, INPUT, DOWN);
1072                 PIN_SLP(gpm2-3, INPUT, DOWN);
1073                 PIN_SLP(gpm2-4, INPUT, DOWN);
1074
1075                 PIN_SLP(gpm3-0, PREV, NONE);
1076                 PIN_SLP(gpm3-1, PREV, NONE);
1077                 PIN_SLP(gpm3-2, PREV, NONE);
1078                 PIN_SLP(gpm3-3, OUT1, NONE);
1079                 PIN_SLP(gpm3-4, INPUT, DOWN);
1080                 PIN_SLP(gpm3-5, INPUT, DOWN);
1081                 PIN_SLP(gpm3-6, INPUT, DOWN);
1082                 PIN_SLP(gpm3-7, INPUT, DOWN);
1083
1084                 PIN_SLP(gpm4-0, INPUT, DOWN);
1085                 PIN_SLP(gpm4-1, INPUT, DOWN);
1086                 PIN_SLP(gpm4-2, INPUT, DOWN);
1087                 PIN_SLP(gpm4-3, INPUT, DOWN);
1088                 PIN_SLP(gpm4-4, INPUT, DOWN);
1089                 PIN_SLP(gpm4-5, INPUT, DOWN);
1090                 PIN_SLP(gpm4-6, INPUT, DOWN);
1091                 PIN_SLP(gpm4-7, INPUT, DOWN);
1092
1093                 PIN_SLP(gpy0-0, INPUT, DOWN);
1094                 PIN_SLP(gpy0-1, INPUT, DOWN);
1095                 PIN_SLP(gpy0-2, INPUT, DOWN);
1096                 PIN_SLP(gpy0-3, INPUT, DOWN);
1097                 PIN_SLP(gpy0-4, INPUT, DOWN);
1098                 PIN_SLP(gpy0-5, INPUT, DOWN);
1099
1100                 PIN_SLP(gpy1-0, INPUT, DOWN);
1101                 PIN_SLP(gpy1-1, INPUT, DOWN);
1102                 PIN_SLP(gpy1-2, INPUT, DOWN);
1103                 PIN_SLP(gpy1-3, INPUT, DOWN);
1104
1105                 PIN_SLP(gpy2-0, PREV, NONE);
1106                 PIN_SLP(gpy2-1, INPUT, DOWN);
1107                 PIN_SLP(gpy2-2, INPUT, NONE);
1108                 PIN_SLP(gpy2-3, INPUT, NONE);
1109                 PIN_SLP(gpy2-4, INPUT, NONE);
1110                 PIN_SLP(gpy2-5, INPUT, NONE);
1111
1112                 PIN_SLP(gpy3-0, INPUT, DOWN);
1113                 PIN_SLP(gpy3-1, INPUT, DOWN);
1114                 PIN_SLP(gpy3-2, INPUT, DOWN);
1115                 PIN_SLP(gpy3-3, INPUT, DOWN);
1116                 PIN_SLP(gpy3-4, INPUT, DOWN);
1117                 PIN_SLP(gpy3-5, INPUT, DOWN);
1118                 PIN_SLP(gpy3-6, INPUT, DOWN);
1119                 PIN_SLP(gpy3-7, INPUT, DOWN);
1120
1121                 PIN_SLP(gpy4-0, INPUT, DOWN);
1122                 PIN_SLP(gpy4-1, INPUT, DOWN);
1123                 PIN_SLP(gpy4-2, INPUT, DOWN);
1124                 PIN_SLP(gpy4-3, INPUT, DOWN);
1125                 PIN_SLP(gpy4-4, INPUT, DOWN);
1126                 PIN_SLP(gpy4-5, INPUT, DOWN);
1127                 PIN_SLP(gpy4-6, INPUT, DOWN);
1128                 PIN_SLP(gpy4-7, INPUT, DOWN);
1129
1130                 PIN_SLP(gpy5-0, INPUT, DOWN);
1131                 PIN_SLP(gpy5-1, INPUT, DOWN);
1132                 PIN_SLP(gpy5-2, INPUT, DOWN);
1133                 PIN_SLP(gpy5-3, INPUT, DOWN);
1134                 PIN_SLP(gpy5-4, INPUT, DOWN);
1135                 PIN_SLP(gpy5-5, INPUT, DOWN);
1136                 PIN_SLP(gpy5-6, INPUT, DOWN);
1137                 PIN_SLP(gpy5-7, INPUT, DOWN);
1138
1139                 PIN_SLP(gpy6-0, INPUT, DOWN);
1140                 PIN_SLP(gpy6-1, INPUT, DOWN);
1141                 PIN_SLP(gpy6-2, INPUT, DOWN);
1142                 PIN_SLP(gpy6-3, INPUT, DOWN);
1143                 PIN_SLP(gpy6-4, INPUT, DOWN);
1144                 PIN_SLP(gpy6-5, INPUT, DOWN);
1145                 PIN_SLP(gpy6-6, INPUT, DOWN);
1146                 PIN_SLP(gpy6-7, INPUT, DOWN);
1147         };
1148 };
1149
1150 &pinctrl_2 {
1151         pinctrl-names = "default";
1152         pinctrl-0 = <&sleep2>;
1153
1154         sleep2: sleep-states {
1155                 PIN_SLP(gpz-0, INPUT, DOWN);
1156                 PIN_SLP(gpz-1, INPUT, DOWN);
1157                 PIN_SLP(gpz-2, INPUT, DOWN);
1158                 PIN_SLP(gpz-3, INPUT, DOWN);
1159                 PIN_SLP(gpz-4, INPUT, DOWN);
1160                 PIN_SLP(gpz-5, INPUT, DOWN);
1161                 PIN_SLP(gpz-6, INPUT, DOWN);
1162         };
1163 };
1164
1165 &pinctrl_3 {
1166         pinctrl-names = "default";
1167         pinctrl-0 = <&sleep3>;
1168
1169         sleep3: sleep-states {
1170                 PIN_SLP(gpv0-0, INPUT, DOWN);
1171                 PIN_SLP(gpv0-1, INPUT, DOWN);
1172                 PIN_SLP(gpv0-2, INPUT, DOWN);
1173                 PIN_SLP(gpv0-3, INPUT, DOWN);
1174                 PIN_SLP(gpv0-4, INPUT, DOWN);
1175                 PIN_SLP(gpv0-5, INPUT, DOWN);
1176                 PIN_SLP(gpv0-6, INPUT, DOWN);
1177                 PIN_SLP(gpv0-7, INPUT, DOWN);
1178
1179                 PIN_SLP(gpv1-0, INPUT, DOWN);
1180                 PIN_SLP(gpv1-1, INPUT, DOWN);
1181                 PIN_SLP(gpv1-2, INPUT, DOWN);
1182                 PIN_SLP(gpv1-3, INPUT, DOWN);
1183                 PIN_SLP(gpv1-4, INPUT, DOWN);
1184                 PIN_SLP(gpv1-5, INPUT, DOWN);
1185                 PIN_SLP(gpv1-6, INPUT, DOWN);
1186                 PIN_SLP(gpv1-7, INPUT, DOWN);
1187
1188                 PIN_SLP(gpv2-0, INPUT, DOWN);
1189                 PIN_SLP(gpv2-1, INPUT, DOWN);
1190                 PIN_SLP(gpv2-2, INPUT, DOWN);
1191                 PIN_SLP(gpv2-3, INPUT, DOWN);
1192                 PIN_SLP(gpv2-4, INPUT, DOWN);
1193                 PIN_SLP(gpv2-5, INPUT, DOWN);
1194                 PIN_SLP(gpv2-6, INPUT, DOWN);
1195                 PIN_SLP(gpv2-7, INPUT, DOWN);
1196
1197                 PIN_SLP(gpv3-0, INPUT, DOWN);
1198                 PIN_SLP(gpv3-1, INPUT, DOWN);
1199                 PIN_SLP(gpv3-2, INPUT, DOWN);
1200                 PIN_SLP(gpv3-3, INPUT, DOWN);
1201                 PIN_SLP(gpv3-4, INPUT, DOWN);
1202                 PIN_SLP(gpv3-5, INPUT, DOWN);
1203                 PIN_SLP(gpv3-6, INPUT, DOWN);
1204                 PIN_SLP(gpv3-7, INPUT, DOWN);
1205
1206                 PIN_SLP(gpv4-0, INPUT, DOWN);
1207         };
1208 };