x86: Make the vdso2c compiler use the host architecture headers
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos3250-rinato.dts
blobe422819591dcb32e33b27a4f2ef6a94057961e4b
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  */
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>
22 / {
23         model = "Samsung Rinato board";
24         compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
26         aliases {
27                 i2c7 = &i2c_max77836;
28         };
30         memory {
31                 reg =  <0x40000000 0x1ff00000>;
32         };
34         firmware@0205F000 {
35                 compatible = "samsung,secure-firmware";
36                 reg = <0x0205F000 0x1000>;
37         };
39         gpio_keys {
40                 compatible = "gpio-keys";
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         };
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>;
57                 max77836: subpmic@25 {
58                         compatible = "maxim,max77836";
59                         interrupt-parent = <&gpx1>;
60                         interrupts = <5 0>;
61                         reg = <0x25>;
62                         wakeup-source;
64                         muic: max77836-muic {
65                                 compatible = "maxim,max77836-muic";
66                         };
68                         regulators {
69                                 compatible = "maxim,max77836-regulator";
70                                 safeout_reg: SAFEOUT {
71                                         regulator-name = "SAFEOUT";
72                                 };
74                                 charger_reg: CHARGER {
75                                         regulator-name = "CHARGER";
76                                         regulator-min-microamp = <45000>;
77                                         regulator-max-microamp = <475000>;
78                                         regulator-boot-on;
79                                 };
81                                 motor_reg: LDO1 {
82                                         regulator-name = "MOT_2.7V";
83                                         regulator-min-microvolt = <1100000>;
84                                         regulator-max-microvolt = <2700000>;
85                                 };
87                                 LDO2 {
88                                         regulator-name = "UNUSED_LDO2";
89                                         regulator-min-microvolt = <800000>;
90                                         regulator-max-microvolt = <3950000>;
91                                 };
92                         };
94                         charger {
95                                 compatible = "maxim,max77836-charger";
97                                 maxim,constant-uvolt = <4350000>;
98                                 maxim,fast-charge-uamp = <225000>;
99                                 maxim,eoc-uamp = <7500>;
100                                 maxim,ovp-uvolt = <6500000>;
101                         };
102                 };
103         };
105         haptics {
106                 compatible = "regulator-haptic";
107                 haptic-supply = <&motor_reg>;
108                 min-microvolt = <1100000>;
109                 max-microvolt = <2700000>;
110         };
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         };
128 &adc {
129         vdd-supply = <&ldo3_reg>;
130         status = "okay";
131         assigned-clocks = <&cmu CLK_SCLK_TSADC>;
132         assigned-clock-rates = <6000000>;
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         };
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         };
151 &bus_dmc {
152         devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
153         vdd-supply = <&buck1_reg>;
154         status = "okay";
157 &bus_leftbus {
158         devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
159         vdd-supply = <&buck3_reg>;
160         status = "okay";
163 &bus_rightbus {
164         devfreq = <&bus_leftbus>;
165         status = "okay";
168 &bus_lcd0 {
169         devfreq = <&bus_leftbus>;
170         status = "okay";
173 &bus_fsys {
174         devfreq = <&bus_leftbus>;
175         status = "okay";
178 &bus_mcuisp {
179         devfreq = <&bus_leftbus>;
180         status = "okay";
183 &bus_isp {
184         devfreq = <&bus_leftbus>;
185         status = "okay";
188 &bus_peril {
189         devfreq = <&bus_leftbus>;
190         status = "okay";
193 &bus_mfc {
194         devfreq = <&bus_leftbus>;
195         status = "okay";
198 &cpu0 {
199         cpu0-supply = <&buck2_reg>;
202 &exynos_usbphy {
203         status = "okay";
204         vbus-supply = <&safeout_reg>;
207 &hsotg {
208         vusb_d-supply = <&ldo15_reg>;
209         vusb_a-supply = <&ldo12_reg>;
210         dr_mode = "peripheral";
211         status = "okay";
214 &dsi_0 {
215         vddcore-supply = <&ldo6_reg>;
216         vddio-supply = <&ldo6_reg>;
217         samsung,pll-clock-frequency = <24000000>;
218         status = "okay";
220         ports {
221                 #address-cells = <1>;
222                 #size-cells = <0>;
224                 port@1 {
225                         reg = <1>;
227                         dsi_out: endpoint {
228                                 remote-endpoint = <&dsi_in>;
229                                 samsung,burst-clock-frequency = <250000000>;
230                                 samsung,esc-clock-frequency = <20000000>;
231                         };
232                 };
233         };
235         panel@0 {
236                 compatible = "samsung,s6e63j0x03";
237                 reg = <0>;
238                 vdd3-supply = <&ldo16_reg>;
239                 vci-supply = <&ldo20_reg>;
240                 reset-gpios = <&gpe0 1 GPIO_ACTIVE_HIGH>;
241                 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
242                 power-on-delay= <30>;
243                 power-off-delay= <120>;
244                 reset-delay = <5>;
245                 init-delay = <100>;
246                 flip-horizontal;
247                 flip-vertical;
248                 panel-width-mm = <29>;
249                 panel-height-mm = <29>;
251                 display-timings {
252                         timing-0 {
253                                 clock-frequency = <4600000>;
254                                 hactive = <320>;
255                                 vactive = <320>;
256                                 hfront-porch = <1>;
257                                 hback-porch = <1>;
258                                 hsync-len = <1>;
259                                 vfront-porch = <150>;
260                                 vback-porch = <1>;
261                                 vsync-len = <2>;
262                         };
263                 };
265                 port {
266                         dsi_in: endpoint {
267                                 remote-endpoint = <&dsi_out>;
268                         };
269                 };
270         };
273 &fimd {
274         status = "okay";
276         i80-if-timings {
277                 cs-setup = <0>;
278                 wr-setup = <0>;
279                 wr-act = <1>;
280                 wr-hold = <0>;
281         };
284 &i2c_0 {
285         #address-cells = <1>;
286         #size-cells = <0>;
287         samsung,i2c-sda-delay = <100>;
288         samsung,i2c-slave-addr = <0x10>;
289         samsung,i2c-max-bus-freq = <100000>;
290         status = "okay";
292         s2mps14_pmic@66 {
293                 compatible = "samsung,s2mps14-pmic";
294                 interrupt-parent = <&gpx0>;
295                 interrupts = <7 0>;
296                 reg = <0x66>;
297                 wakeup-source;
299                 s2mps14_osc: clocks {
300                         compatible = "samsung,s2mps14-clk";
301                         #clock-cells = <1>;
302                         clock-output-names = "s2mps14_ap", "unused",
303                                 "s2mps14_bt";
304                 };
306                 regulators {
307                         ldo1_reg: LDO1 {
308                                 regulator-name = "VAP_ALIVE_1.0V";
309                                 regulator-min-microvolt = <1000000>;
310                                 regulator-max-microvolt = <1000000>;
311                                 regulator-always-on;
313                                 regulator-state-mem {
314                                         regulator-on-in-suspend;
315                                 };
316                         };
318                         ldo2_reg: LDO2 {
319                                 regulator-name = "VAP_M1_1.2V";
320                                 regulator-min-microvolt = <1200000>;
321                                 regulator-max-microvolt = <1200000>;
322                                 regulator-always-on;
324                                 regulator-state-mem {
325                                         regulator-off-in-suspend;
326                                 };
327                         };
329                         ldo3_reg: LDO3 {
330                                 regulator-name = "VCC_AP_1.8V";
331                                 regulator-min-microvolt = <1800000>;
332                                 regulator-max-microvolt = <1800000>;
333                                 regulator-always-on;
335                                 regulator-state-mem {
336                                         regulator-off-in-suspend;
337                                 };
338                         };
340                         ldo4_reg: LDO4 {
341                                 regulator-name = "VAP_AVDD_PLL1";
342                                 regulator-min-microvolt = <1800000>;
343                                 regulator-max-microvolt = <1800000>;
344                                 regulator-always-on;
346                                 regulator-state-mem {
347                                         regulator-off-in-suspend;
348                                 };
349                         };
351                         ldo5_reg: LDO5 {
352                                 regulator-name = "VAP_PLL_ISO_1.0V";
353                                 regulator-min-microvolt = <1000000>;
354                                 regulator-max-microvolt = <1000000>;
355                                 regulator-always-on;
357                                 regulator-state-mem {
358                                         regulator-off-in-suspend;
359                                 };
360                         };
362                         ldo6_reg: LDO6 {
363                                 regulator-name = "VAP_VMIPI_1.0V";
364                                 regulator-min-microvolt = <1000000>;
365                                 regulator-max-microvolt = <1000000>;
366                                 regulator-always-on;
368                                 regulator-state-mem {
369                                         regulator-off-in-suspend;
370                                 };
371                         };
373                         ldo7_reg: LDO7 {
374                                 regulator-name = "VAP_AVDD_1.8V";
375                                 regulator-min-microvolt = <1800000>;
376                                 regulator-max-microvolt = <1800000>;
377                                 regulator-always-on;
379                                 regulator-state-mem {
380                                         regulator-off-in-suspend;
381                                 };
382                         };
384                         ldo8_reg: LDO8 {
385                                 regulator-name = "VAP_USB_3.0V";
386                                 regulator-min-microvolt = <3000000>;
387                                 regulator-max-microvolt = <3000000>;
388                                 regulator-always-on;
390                                 regulator-state-mem {
391                                         regulator-off-in-suspend;
392                                 };
393                         };
395                         ldo9_reg: LDO9 {
396                                 regulator-name = "V_LPDDR_1.2V";
397                                 regulator-min-microvolt = <1200000>;
398                                 regulator-max-microvolt = <1200000>;
399                                 regulator-always-on;
401                                 regulator-state-mem {
402                                         regulator-on-in-suspend;
403                                 };
404                         };
406                         ldo10_reg: LDO10 {
407                                 regulator-name = "UNUSED_LDO10";
408                                 regulator-min-microvolt = <1000000>;
409                                 regulator-max-microvolt = <1000000>;
411                                 regulator-state-mem {
412                                         regulator-off-in-suspend;
413                                 };
414                         };
416                         ldo11_reg: LDO11 {
417                                 regulator-name = "V_EMMC_1.8V";
418                                 regulator-min-microvolt = <1800000>;
419                                 regulator-max-microvolt = <1800000>;
420                                 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
421                         };
423                         ldo12_reg: LDO12 {
424                                 regulator-name = "V_EMMC_2.8V";
425                                 regulator-min-microvolt = <2800000>;
426                                 regulator-max-microvolt = <2800000>;
427                                 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
428                         };
430                         ldo13_reg: LDO13 {
431                                 regulator-name = "CAM_AVDD_2.8V";
432                                 regulator-min-microvolt = <2800000>;
433                                 regulator-max-microvolt = <2800000>;
435                                 regulator-state-mem {
436                                         regulator-off-in-suspend;
437                                 };
438                         };
440                         ldo14_reg: LDO14 {
441                                 regulator-name = "UNUSED_LDO14";
442                                 regulator-min-microvolt = <2700000>;
443                                 regulator-max-microvolt = <2700000>;
445                                 regulator-state-mem {
446                                         regulator-off-in-suspend;
447                                 };
448                         };
450                         ldo15_reg: LDO15 {
451                                 regulator-name = "TSP_AVDD_3.3V";
452                                 regulator-min-microvolt = <3300000>;
453                                 regulator-max-microvolt = <3300000>;
455                                 regulator-state-mem {
456                                         regulator-off-in-suspend;
457                                 };
458                         };
460                         ldo16_reg: LDO16 {
461                                 regulator-name = "LCD_VDD_3.3V";
462                                 regulator-min-microvolt = <3300000>;
463                                 regulator-max-microvolt = <3300000>;
465                                 regulator-state-mem {
466                                         regulator-off-in-suspend;
467                                 };
468                         };
470                         ldo17_reg: LDO17 {
471                                 regulator-name = "V_IRLED_3.3V";
472                                 regulator-min-microvolt = <3300000>;
473                                 regulator-max-microvolt = <3300000>;
475                                 regulator-state-mem {
476                                         regulator-off-in-suspend;
477                                 };
478                         };
480                         ldo18_reg: LDO18 {
481                                 regulator-name = "CAM_AF_2.8V";
482                                 regulator-min-microvolt = <2800000>;
483                                 regulator-max-microvolt = <2800000>;
485                                 regulator-state-mem {
486                                         regulator-off-in-suspend;
487                                 };
488                         };
490                         ldo19_reg: LDO19 {
491                                 regulator-name = "TSP_VDD_1.8V";
492                                 regulator-min-microvolt = <1800000>;
493                                 regulator-max-microvolt = <1800000>;
495                                 regulator-state-mem {
496                                         regulator-off-in-suspend;
497                                 };
498                         };
500                         ldo20_reg: LDO20 {
501                                 regulator-name = "LCD_VDD_1.8V";
502                                 regulator-min-microvolt = <1800000>;
503                                 regulator-max-microvolt = <1800000>;
505                                 regulator-state-mem {
506                                         regulator-off-in-suspend;
507                                 };
508                         };
510                         ldo21_reg: LDO21 {
511                                 regulator-name = "CAM_IO_1.8V";
512                                 regulator-min-microvolt = <1800000>;
513                                 regulator-max-microvolt = <1800000>;
515                                 regulator-state-mem {
516                                         regulator-off-in-suspend;
517                                 };
518                         };
520                         ldo22_reg: LDO22 {
521                                 regulator-name = "CAM_DVDD_1.2V";
522                                 regulator-min-microvolt = <1200000>;
523                                 regulator-max-microvolt = <1200000>;
525                                 regulator-state-mem {
526                                         regulator-off-in-suspend;
527                                 };
528                         };
530                         ldo23_reg: LDO23 {
531                                 regulator-name = "HRM_VCC_1.8V";
532                                 regulator-min-microvolt = <1800000>;
533                                 regulator-max-microvolt = <1800000>;
534                                 regulator-always-on;
535                         };
537                         ldo24_reg: LDO24 {
538                                 regulator-name = "HRM_VCC_3.3V";
539                                 regulator-min-microvolt = <3000000>;
540                                 regulator-max-microvolt = <3000000>;
542                                 regulator-state-mem {
543                                         regulator-off-in-suspend;
544                                 };
545                         };
547                         ldo25_reg: LDO25 {
548                                 regulator-name = "UNUSED_LDO25";
549                                 regulator-min-microvolt = <3000000>;
550                                 regulator-max-microvolt = <3000000>;
552                                 regulator-state-mem {
553                                         regulator-off-in-suspend;
554                                 };
555                         };
557                         buck1_reg: BUCK1 {
558                                 regulator-name = "VAP_MIF_1.0V";
559                                 regulator-min-microvolt = <800000>;
560                                 regulator-max-microvolt = <900000>;
561                                 regulator-always-on;
563                                 regulator-state-mem {
564                                         regulator-off-in-suspend;
565                                 };
566                         };
568                         buck2_reg: BUCK2 {
569                                 regulator-name = "VAP_ARM_1.0V";
570                                 regulator-min-microvolt = <850000>;
571                                 regulator-max-microvolt = <1150000>;
572                                 regulator-always-on;
574                                 regulator-state-mem {
575                                         regulator-off-in-suspend;
576                                 };
577                         };
579                         buck3_reg: BUCK3 {
580                                 regulator-name = "VAP_INT3D_1.0V";
581                                 regulator-min-microvolt = <850000>;
582                                 regulator-max-microvolt = <1000000>;
583                                 regulator-always-on;
585                                 regulator-state-mem {
586                                         regulator-off-in-suspend;
587                                 };
588                         };
590                         buck4_reg: BUCK4 {
591                                 regulator-name = "VCC_SUB_1.95V";
592                                 regulator-min-microvolt = <1950000>;
593                                 regulator-max-microvolt = <1950000>;
594                                 regulator-always-on;
596                                 regulator-state-mem {
597                                         regulator-on-in-suspend;
598                                 };
599                         };
601                         buck5_reg: BUCK5 {
602                                 regulator-name = "VCC_SUB_1.35V";
603                                 regulator-min-microvolt = <1350000>;
604                                 regulator-max-microvolt = <1350000>;
605                                 regulator-always-on;
607                                 regulator-state-mem {
608                                         regulator-on-in-suspend;
609                                 };
610                         };
611                 };
612         };
615 &i2c_1 {
616         #address-cells = <1>;
617         #size-cells = <0>;
618         samsung,i2c-sda-delay = <100>;
619         samsung,i2c-slave-addr = <0x10>;
620         samsung,i2c-max-bus-freq = <400000>;
621         status = "okay";
623         fuelgauge@36 {
624                 compatible = "maxim,max77836-battery";
625                 interrupt-parent = <&gpx1>;
626                 interrupts = <2 8>;
627                 reg = <0x36>;
628         };
631 &i2s2 {
632         status = "okay";
635 &mfc {
636         status = "okay";
639 &jpeg {
640         status = "okay";
643 &mshc_0 {
644         #address-cells = <1>;
645         #size-cells = <0>;
646         num-slots = <1>;
647         broken-cd;
648         non-removable;
649         cap-mmc-highspeed;
650         desc-num = <4>;
651         mmc-hs200-1_8v;
652         card-detect-delay = <200>;
653         vmmc-supply = <&ldo12_reg>;
654         clock-frequency = <100000000>;
655         clock-freq-min-max = <400000 100000000>;
656         samsung,dw-mshc-ciu-div = <1>;
657         samsung,dw-mshc-sdr-timing = <0 1>;
658         samsung,dw-mshc-ddr-timing = <1 2>;
659         pinctrl-names = "default";
660         pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
661         bus-width = <8>;
662         status = "okay";
665 &serial_0 {
666         assigned-clocks = <&cmu CLK_SCLK_UART0>;
667         assigned-clock-rates = <100000000>;
668         status = "okay";
671 &serial_1 {
672         status = "okay";
675 &tmu {
676         vtmu-supply = <&ldo7_reg>;
677         status = "okay";
680 &rtc {
681         clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
682         clock-names = "rtc", "rtc_src";
683         status = "okay";
686 &xusbxti {
687         clock-frequency = <24000000>;
690 &pinctrl_0 {
691         pinctrl-names = "default";
692         pinctrl-0 = <&initial0 &sleep0>;
694         initial0: initial-state {
695                 PIN_IN(gpa1-4, DOWN, LV1);
696                 PIN_IN(gpa1-5, DOWN, LV1);
698                 PIN_IN(gpc0-0, DOWN, LV1);
699                 PIN_IN(gpc0-1, DOWN, LV1);
700                 PIN_IN(gpc0-2, DOWN, LV1);
701                 PIN_IN(gpc0-3, DOWN, LV1);
702                 PIN_IN(gpc0-4, DOWN, LV1);
704                 PIN_IN(gpd0-0, DOWN, LV1);
705                 PIN_IN(gpd0-1, DOWN, LV1);
706         };
708         sleep0: sleep-state {
709                 PIN_SLP(gpa0-0, INPUT, DOWN);
710                 PIN_SLP(gpa0-1, INPUT, DOWN);
711                 PIN_SLP(gpa0-2, INPUT, DOWN);
712                 PIN_SLP(gpa0-3, INPUT, DOWN);
713                 PIN_SLP(gpa0-4, INPUT, DOWN);
714                 PIN_SLP(gpa0-5, INPUT, DOWN);
715                 PIN_SLP(gpa0-6, INPUT, DOWN);
716                 PIN_SLP(gpa0-7, INPUT, DOWN);
718                 PIN_SLP(gpa1-0, INPUT, DOWN);
719                 PIN_SLP(gpa1-1, INPUT, DOWN);
720                 PIN_SLP(gpa1-2, INPUT, DOWN);
721                 PIN_SLP(gpa1-3, INPUT, DOWN);
722                 PIN_SLP(gpa1-4, INPUT, DOWN);
723                 PIN_SLP(gpa1-5, INPUT, DOWN);
725                 PIN_SLP(gpb-0, PREV, NONE);
726                 PIN_SLP(gpb-1, PREV, NONE);
727                 PIN_SLP(gpb-2, PREV, NONE);
728                 PIN_SLP(gpb-3, PREV, NONE);
729                 PIN_SLP(gpb-4, INPUT, DOWN);
730                 PIN_SLP(gpb-5, INPUT, DOWN);
731                 PIN_SLP(gpb-6, INPUT, DOWN);
732                 PIN_SLP(gpb-7, INPUT, DOWN);
734                 PIN_SLP(gpc0-0, INPUT, DOWN);
735                 PIN_SLP(gpc0-1, INPUT, DOWN);
736                 PIN_SLP(gpc0-2, INPUT, DOWN);
737                 PIN_SLP(gpc0-3, INPUT, DOWN);
738                 PIN_SLP(gpc0-4, INPUT, DOWN);
740                 PIN_SLP(gpc1-0, INPUT, DOWN);
741                 PIN_SLP(gpc1-1, INPUT, DOWN);
742                 PIN_SLP(gpc1-2, INPUT, DOWN);
743                 PIN_SLP(gpc1-3, INPUT, DOWN);
744                 PIN_SLP(gpc1-4, INPUT, DOWN);
746                 PIN_SLP(gpd0-0, INPUT, DOWN);
747                 PIN_SLP(gpd0-1, INPUT, DOWN);
748                 PIN_SLP(gpd0-2, INPUT, NONE);
749                 PIN_SLP(gpd0-3, INPUT, NONE);
751                 PIN_SLP(gpd1-0, INPUT, NONE);
752                 PIN_SLP(gpd1-1, INPUT, NONE);
753                 PIN_SLP(gpd1-2, INPUT, NONE);
754                 PIN_SLP(gpd1-3, INPUT, NONE);
755         };
758 &pinctrl_1 {
759         pinctrl-names = "default";
760         pinctrl-0 = <&initial1 &sleep1>;
762         initial1: initial-state {
763                 PIN_IN(gpe0-6, DOWN, LV1);
764                 PIN_IN(gpe0-7, DOWN, LV1);
766                 PIN_IN(gpe1-0, DOWN, LV1);
767                 PIN_IN(gpe1-3, DOWN, LV1);
768                 PIN_IN(gpe1-4, DOWN, LV1);
769                 PIN_IN(gpe1-5, DOWN, LV1);
770                 PIN_IN(gpe1-6, DOWN, LV1);
772                 PIN_IN(gpk2-0, DOWN, LV1);
773                 PIN_IN(gpk2-1, DOWN, LV1);
774                 PIN_IN(gpk2-2, DOWN, LV1);
775                 PIN_IN(gpk2-3, DOWN, LV1);
776                 PIN_IN(gpk2-4, DOWN, LV1);
777                 PIN_IN(gpk2-5, DOWN, LV1);
778                 PIN_IN(gpk2-6, DOWN, LV1);
780                 PIN_IN(gpm0-0, DOWN, LV1);
781                 PIN_IN(gpm0-1, DOWN, LV1);
782                 PIN_IN(gpm0-2, DOWN, LV1);
783                 PIN_IN(gpm0-3, DOWN, LV1);
784                 PIN_IN(gpm0-4, DOWN, LV1);
785                 PIN_IN(gpm0-5, DOWN, LV1);
786                 PIN_IN(gpm0-6, DOWN, LV1);
787                 PIN_IN(gpm0-7, DOWN, LV1);
789                 PIN_IN(gpm1-0, DOWN, LV1);
790                 PIN_IN(gpm1-1, DOWN, LV1);
791                 PIN_IN(gpm1-2, DOWN, LV1);
792                 PIN_IN(gpm1-3, DOWN, LV1);
793                 PIN_IN(gpm1-4, DOWN, LV1);
794                 PIN_IN(gpm1-5, DOWN, LV1);
795                 PIN_IN(gpm1-6, DOWN, LV1);
797                 PIN_IN(gpm2-0, DOWN, LV1);
798                 PIN_IN(gpm2-1, DOWN, LV1);
800                 PIN_IN(gpm3-0, DOWN, LV1);
801                 PIN_IN(gpm3-1, DOWN, LV1);
802                 PIN_IN(gpm3-2, DOWN, LV1);
803                 PIN_IN(gpm3-3, DOWN, LV1);
804                 PIN_IN(gpm3-4, DOWN, LV1);
806                 PIN_IN(gpm4-1, DOWN, LV1);
807                 PIN_IN(gpm4-2, DOWN, LV1);
808                 PIN_IN(gpm4-3, DOWN, LV1);
809                 PIN_IN(gpm4-4, DOWN, LV1);
810                 PIN_IN(gpm4-5, DOWN, LV1);
811                 PIN_IN(gpm4-6, DOWN, LV1);
812                 PIN_IN(gpm4-7, DOWN, LV1);
813         };
815         sleep1: sleep-state {
816                 PIN_SLP(gpe0-0, PREV, NONE);
817                 PIN_SLP(gpe0-1, PREV, NONE);
818                 PIN_SLP(gpe0-2, INPUT, DOWN);
819                 PIN_SLP(gpe0-3, INPUT, UP);
820                 PIN_SLP(gpe0-4, INPUT, DOWN);
821                 PIN_SLP(gpe0-5, INPUT, DOWN);
822                 PIN_SLP(gpe0-6, INPUT, DOWN);
823                 PIN_SLP(gpe0-7, INPUT, DOWN);
825                 PIN_SLP(gpe1-0, INPUT, DOWN);
826                 PIN_SLP(gpe1-1, PREV, NONE);
827                 PIN_SLP(gpe1-2, INPUT, DOWN);
828                 PIN_SLP(gpe1-3, INPUT, DOWN);
829                 PIN_SLP(gpe1-4, INPUT, DOWN);
830                 PIN_SLP(gpe1-5, INPUT, DOWN);
831                 PIN_SLP(gpe1-6, INPUT, DOWN);
832                 PIN_SLP(gpe1-7, INPUT, NONE);
834                 PIN_SLP(gpe2-0, INPUT, NONE);
835                 PIN_SLP(gpe2-1, INPUT, NONE);
836                 PIN_SLP(gpe2-2, INPUT, NONE);
838                 PIN_SLP(gpk0-0, INPUT, DOWN);
839                 PIN_SLP(gpk0-1, INPUT, DOWN);
840                 PIN_SLP(gpk0-2, OUT0, NONE);
841                 PIN_SLP(gpk0-3, INPUT, DOWN);
842                 PIN_SLP(gpk0-4, INPUT, DOWN);
843                 PIN_SLP(gpk0-5, INPUT, DOWN);
844                 PIN_SLP(gpk0-6, INPUT, DOWN);
845                 PIN_SLP(gpk0-7, INPUT, DOWN);
847                 PIN_SLP(gpk1-0, INPUT, DOWN);
848                 PIN_SLP(gpk1-1, INPUT, DOWN);
849                 PIN_SLP(gpk1-2, INPUT, DOWN);
850                 PIN_SLP(gpk1-3, INPUT, DOWN);
851                 PIN_SLP(gpk1-4, INPUT, DOWN);
852                 PIN_SLP(gpk1-5, INPUT, DOWN);
853                 PIN_SLP(gpk1-6, INPUT, DOWN);
855                 PIN_SLP(gpk2-0, INPUT, DOWN);
856                 PIN_SLP(gpk2-1, INPUT, DOWN);
857                 PIN_SLP(gpk2-2, INPUT, DOWN);
858                 PIN_SLP(gpk2-3, INPUT, DOWN);
859                 PIN_SLP(gpk2-4, INPUT, DOWN);
860                 PIN_SLP(gpk2-5, INPUT, DOWN);
861                 PIN_SLP(gpk2-6, INPUT, DOWN);
863                 PIN_SLP(gpl0-0, INPUT, DOWN);
864                 PIN_SLP(gpl0-1, INPUT, DOWN);
865                 PIN_SLP(gpl0-2, INPUT, DOWN);
866                 PIN_SLP(gpl0-3, INPUT, DOWN);
868                 PIN_SLP(gpm0-0, INPUT, DOWN);
869                 PIN_SLP(gpm0-1, INPUT, DOWN);
870                 PIN_SLP(gpm0-2, INPUT, DOWN);
871                 PIN_SLP(gpm0-3, INPUT, DOWN);
872                 PIN_SLP(gpm0-4, INPUT, DOWN);
873                 PIN_SLP(gpm0-5, INPUT, DOWN);
874                 PIN_SLP(gpm0-6, INPUT, DOWN);
875                 PIN_SLP(gpm0-7, INPUT, DOWN);
877                 PIN_SLP(gpm1-0, INPUT, DOWN);
878                 PIN_SLP(gpm1-1, INPUT, DOWN);
879                 PIN_SLP(gpm1-2, INPUT, DOWN);
880                 PIN_SLP(gpm1-3, INPUT, DOWN);
881                 PIN_SLP(gpm1-4, INPUT, DOWN);
882                 PIN_SLP(gpm1-5, INPUT, DOWN);
883                 PIN_SLP(gpm1-6, INPUT, DOWN);
885                 PIN_SLP(gpm2-0, INPUT, DOWN);
886                 PIN_SLP(gpm2-1, INPUT, DOWN);
887                 PIN_SLP(gpm2-2, INPUT, DOWN);
888                 PIN_SLP(gpm2-3, INPUT, DOWN);
889                 PIN_SLP(gpm2-4, INPUT, DOWN);
891                 PIN_SLP(gpm3-0, INPUT, DOWN);
892                 PIN_SLP(gpm3-1, INPUT, DOWN);
893                 PIN_SLP(gpm3-2, INPUT, DOWN);
894                 PIN_SLP(gpm3-3, INPUT, DOWN);
895                 PIN_SLP(gpm3-4, INPUT, DOWN);
896                 PIN_SLP(gpm3-5, INPUT, DOWN);
897                 PIN_SLP(gpm3-6, INPUT, DOWN);
898                 PIN_SLP(gpm3-7, INPUT, DOWN);
900                 PIN_SLP(gpm4-0, INPUT, DOWN);
901                 PIN_SLP(gpm4-1, INPUT, DOWN);
902                 PIN_SLP(gpm4-2, INPUT, DOWN);
903                 PIN_SLP(gpm4-3, INPUT, DOWN);
904                 PIN_SLP(gpm4-4, INPUT, DOWN);
905                 PIN_SLP(gpm4-5, INPUT, DOWN);
906                 PIN_SLP(gpm4-6, INPUT, DOWN);
907                 PIN_SLP(gpm4-7, INPUT, DOWN);
908         };