2 * Samsung's Exynos3250 based Rinato board device tree source
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * Device tree source file for Samsung's Rinato board which is based on
8 * Samsung Exynos3250 SoC.
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.
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>
23 model = "Samsung Rinato board";
24 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
31 device_type = "memory";
32 reg = <0x40000000 0x1ff00000>;
36 compatible = "samsung,secure-firmware";
37 reg = <0x0205F000 0x1000>;
41 compatible = "gpio-keys";
44 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_POWER>;
47 debounce-interval = <10>;
52 i2c_max77836: i2c-gpio-0 {
53 compatible = "i2c-gpio";
54 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
58 max77836: subpmic@25 {
59 compatible = "maxim,max77836";
60 interrupt-parent = <&gpx1>;
61 interrupts = <5 IRQ_TYPE_NONE>;
66 compatible = "maxim,max77836-muic";
70 compatible = "maxim,max77836-regulator";
71 safeout_reg: SAFEOUT {
72 regulator-name = "SAFEOUT";
75 charger_reg: CHARGER {
76 regulator-name = "CHARGER";
77 regulator-min-microamp = <45000>;
78 regulator-max-microamp = <475000>;
83 regulator-name = "MOT_2.7V";
84 regulator-min-microvolt = <1100000>;
85 regulator-max-microvolt = <2700000>;
89 regulator-name = "UNUSED_LDO2";
90 regulator-min-microvolt = <800000>;
91 regulator-max-microvolt = <3950000>;
96 compatible = "maxim,max77836-charger";
98 maxim,constant-uvolt = <4350000>;
99 maxim,fast-charge-uamp = <225000>;
100 maxim,eoc-uamp = <7500>;
101 maxim,ovp-uvolt = <6500000>;
107 compatible = "regulator-haptic";
108 haptic-supply = <&motor_reg>;
109 min-microvolt = <1100000>;
110 max-microvolt = <2700000>;
114 cpu_thermal: cpu-thermal {
117 /* Corresponds to 500MHz */
118 cooling-device = <&cpu0 5 5>;
121 /* Corresponds to 200MHz */
122 cooling-device = <&cpu0 8 8>;
130 vdd-supply = <&ldo3_reg>;
132 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
133 assigned-clock-rates = <6000000>;
136 compatible = "ntc,ncp15wb473";
137 pullup-uv = <1800000>;
138 pullup-ohm = <100000>;
139 pulldown-ohm = <100000>;
140 io-channels = <&adc 0>;
144 compatible = "ntc,ncp15wb473";
145 pullup-uv = <1800000>;
146 pullup-ohm = <100000>;
147 pulldown-ohm = <100000>;
148 io-channels = <&adc 1>;
153 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
154 vdd-supply = <&buck1_reg>;
159 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
160 vdd-supply = <&buck3_reg>;
165 devfreq = <&bus_leftbus>;
170 devfreq = <&bus_leftbus>;
175 devfreq = <&bus_leftbus>;
180 devfreq = <&bus_leftbus>;
185 devfreq = <&bus_leftbus>;
190 devfreq = <&bus_leftbus>;
195 devfreq = <&bus_leftbus>;
200 cpu0-supply = <&buck2_reg>;
205 vbus-supply = <&safeout_reg>;
209 vusb_d-supply = <&ldo15_reg>;
210 vusb_a-supply = <&ldo12_reg>;
211 dr_mode = "peripheral";
216 vddcore-supply = <&ldo6_reg>;
217 vddio-supply = <&ldo6_reg>;
218 samsung,burst-clock-frequency = <250000000>;
219 samsung,esc-clock-frequency = <20000000>;
220 samsung,pll-clock-frequency = <24000000>;
224 compatible = "samsung,s6e63j0x03";
226 vdd3-supply = <&ldo16_reg>;
227 vci-supply = <&ldo20_reg>;
228 reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
229 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
230 power-on-delay= <30>;
231 power-off-delay= <120>;
236 panel-width-mm = <29>;
237 panel-height-mm = <29>;
241 clock-frequency = <4600000>;
247 vfront-porch = <150>;
267 #address-cells = <1>;
269 samsung,i2c-sda-delay = <100>;
270 samsung,i2c-slave-addr = <0x10>;
271 samsung,i2c-max-bus-freq = <100000>;
275 compatible = "samsung,s2mps14-pmic";
276 interrupt-parent = <&gpx0>;
277 interrupts = <7 IRQ_TYPE_NONE>;
281 s2mps14_osc: clocks {
282 compatible = "samsung,s2mps14-clk";
284 clock-output-names = "s2mps14_ap", "unused",
290 regulator-name = "VAP_ALIVE_1.0V";
291 regulator-min-microvolt = <1000000>;
292 regulator-max-microvolt = <1000000>;
295 regulator-state-mem {
296 regulator-on-in-suspend;
301 regulator-name = "VAP_M1_1.2V";
302 regulator-min-microvolt = <1200000>;
303 regulator-max-microvolt = <1200000>;
306 regulator-state-mem {
307 regulator-off-in-suspend;
312 regulator-name = "VCC_AP_1.8V";
313 regulator-min-microvolt = <1800000>;
314 regulator-max-microvolt = <1800000>;
317 regulator-state-mem {
318 regulator-off-in-suspend;
323 regulator-name = "VAP_AVDD_PLL1";
324 regulator-min-microvolt = <1800000>;
325 regulator-max-microvolt = <1800000>;
328 regulator-state-mem {
329 regulator-off-in-suspend;
334 regulator-name = "VAP_PLL_ISO_1.0V";
335 regulator-min-microvolt = <1000000>;
336 regulator-max-microvolt = <1000000>;
339 regulator-state-mem {
340 regulator-off-in-suspend;
345 regulator-name = "VAP_VMIPI_1.0V";
346 regulator-min-microvolt = <1000000>;
347 regulator-max-microvolt = <1000000>;
350 regulator-state-mem {
351 regulator-off-in-suspend;
356 regulator-name = "VAP_AVDD_1.8V";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
361 regulator-state-mem {
362 regulator-off-in-suspend;
367 regulator-name = "VAP_USB_3.0V";
368 regulator-min-microvolt = <3000000>;
369 regulator-max-microvolt = <3000000>;
372 regulator-state-mem {
373 regulator-off-in-suspend;
378 regulator-name = "V_LPDDR_1.2V";
379 regulator-min-microvolt = <1200000>;
380 regulator-max-microvolt = <1200000>;
383 regulator-state-mem {
384 regulator-on-in-suspend;
389 regulator-name = "UNUSED_LDO10";
390 regulator-min-microvolt = <1000000>;
391 regulator-max-microvolt = <1000000>;
393 regulator-state-mem {
394 regulator-off-in-suspend;
399 regulator-name = "V_EMMC_1.8V";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <1800000>;
402 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
406 regulator-name = "V_EMMC_2.8V";
407 regulator-min-microvolt = <2800000>;
408 regulator-max-microvolt = <2800000>;
409 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
413 regulator-name = "CAM_AVDD_2.8V";
414 regulator-min-microvolt = <2800000>;
415 regulator-max-microvolt = <2800000>;
417 regulator-state-mem {
418 regulator-off-in-suspend;
423 regulator-name = "UNUSED_LDO14";
424 regulator-min-microvolt = <2700000>;
425 regulator-max-microvolt = <2700000>;
427 regulator-state-mem {
428 regulator-off-in-suspend;
433 regulator-name = "TSP_AVDD_3.3V";
434 regulator-min-microvolt = <3300000>;
435 regulator-max-microvolt = <3300000>;
437 regulator-state-mem {
438 regulator-off-in-suspend;
443 regulator-name = "LCD_VDD_3.3V";
444 regulator-min-microvolt = <3300000>;
445 regulator-max-microvolt = <3300000>;
447 regulator-state-mem {
448 regulator-off-in-suspend;
453 regulator-name = "V_IRLED_3.3V";
454 regulator-min-microvolt = <3300000>;
455 regulator-max-microvolt = <3300000>;
457 regulator-state-mem {
458 regulator-off-in-suspend;
463 regulator-name = "CAM_AF_2.8V";
464 regulator-min-microvolt = <2800000>;
465 regulator-max-microvolt = <2800000>;
467 regulator-state-mem {
468 regulator-off-in-suspend;
473 regulator-name = "TSP_VDD_1.8V";
474 regulator-min-microvolt = <1800000>;
475 regulator-max-microvolt = <1800000>;
477 regulator-state-mem {
478 regulator-off-in-suspend;
483 regulator-name = "LCD_VDD_1.8V";
484 regulator-min-microvolt = <1800000>;
485 regulator-max-microvolt = <1800000>;
487 regulator-state-mem {
488 regulator-off-in-suspend;
493 regulator-name = "CAM_IO_1.8V";
494 regulator-min-microvolt = <1800000>;
495 regulator-max-microvolt = <1800000>;
497 regulator-state-mem {
498 regulator-off-in-suspend;
503 regulator-name = "CAM_DVDD_1.2V";
504 regulator-min-microvolt = <1200000>;
505 regulator-max-microvolt = <1200000>;
507 regulator-state-mem {
508 regulator-off-in-suspend;
513 regulator-name = "HRM_VCC_1.8V";
514 regulator-min-microvolt = <1800000>;
515 regulator-max-microvolt = <1800000>;
520 regulator-name = "HRM_VCC_3.3V";
521 regulator-min-microvolt = <3000000>;
522 regulator-max-microvolt = <3000000>;
524 regulator-state-mem {
525 regulator-off-in-suspend;
530 regulator-name = "UNUSED_LDO25";
531 regulator-min-microvolt = <3000000>;
532 regulator-max-microvolt = <3000000>;
534 regulator-state-mem {
535 regulator-off-in-suspend;
540 regulator-name = "VAP_MIF_1.0V";
541 regulator-min-microvolt = <800000>;
542 regulator-max-microvolt = <900000>;
545 regulator-state-mem {
546 regulator-off-in-suspend;
551 regulator-name = "VAP_ARM_1.0V";
552 regulator-min-microvolt = <850000>;
553 regulator-max-microvolt = <1150000>;
556 regulator-state-mem {
557 regulator-off-in-suspend;
562 regulator-name = "VAP_INT3D_1.0V";
563 regulator-min-microvolt = <850000>;
564 regulator-max-microvolt = <1000000>;
567 regulator-state-mem {
568 regulator-off-in-suspend;
573 regulator-name = "VCC_SUB_1.95V";
574 regulator-min-microvolt = <1950000>;
575 regulator-max-microvolt = <1950000>;
578 regulator-state-mem {
579 regulator-on-in-suspend;
584 regulator-name = "VCC_SUB_1.35V";
585 regulator-min-microvolt = <1350000>;
586 regulator-max-microvolt = <1350000>;
589 regulator-state-mem {
590 regulator-on-in-suspend;
598 #address-cells = <1>;
600 samsung,i2c-sda-delay = <100>;
601 samsung,i2c-slave-addr = <0x10>;
602 samsung,i2c-max-bus-freq = <400000>;
606 compatible = "maxim,max77836-battery";
607 interrupt-parent = <&gpx1>;
608 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
622 #address-cells = <1>;
629 card-detect-delay = <200>;
630 vmmc-supply = <&ldo12_reg>;
631 clock-frequency = <100000000>;
632 max-frequency = <100000000>;
633 samsung,dw-mshc-ciu-div = <1>;
634 samsung,dw-mshc-sdr-timing = <0 1>;
635 samsung,dw-mshc-ddr-timing = <1 2>;
636 pinctrl-names = "default";
637 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
643 assigned-clocks = <&cmu CLK_SCLK_UART0>;
644 assigned-clock-rates = <100000000>;
653 vtmu-supply = <&ldo7_reg>;
658 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
659 clock-names = "rtc", "rtc_src";
664 clock-frequency = <24000000>;
668 pinctrl-names = "default";
669 pinctrl-0 = <&initial0 &sleep0>;
671 initial0: initial-state {
672 PIN_IN(gpa1-4, DOWN, LV1);
673 PIN_IN(gpa1-5, DOWN, LV1);
675 PIN_IN(gpc0-0, DOWN, LV1);
676 PIN_IN(gpc0-1, DOWN, LV1);
677 PIN_IN(gpc0-2, DOWN, LV1);
678 PIN_IN(gpc0-3, DOWN, LV1);
679 PIN_IN(gpc0-4, DOWN, LV1);
681 PIN_IN(gpd0-0, DOWN, LV1);
682 PIN_IN(gpd0-1, DOWN, LV1);
685 sleep0: sleep-state {
686 PIN_SLP(gpa0-0, INPUT, DOWN);
687 PIN_SLP(gpa0-1, INPUT, DOWN);
688 PIN_SLP(gpa0-2, INPUT, DOWN);
689 PIN_SLP(gpa0-3, INPUT, DOWN);
690 PIN_SLP(gpa0-4, INPUT, DOWN);
691 PIN_SLP(gpa0-5, INPUT, DOWN);
692 PIN_SLP(gpa0-6, INPUT, DOWN);
693 PIN_SLP(gpa0-7, INPUT, DOWN);
695 PIN_SLP(gpa1-0, INPUT, DOWN);
696 PIN_SLP(gpa1-1, INPUT, DOWN);
697 PIN_SLP(gpa1-2, INPUT, DOWN);
698 PIN_SLP(gpa1-3, INPUT, DOWN);
699 PIN_SLP(gpa1-4, INPUT, DOWN);
700 PIN_SLP(gpa1-5, INPUT, DOWN);
702 PIN_SLP(gpb-0, PREV, NONE);
703 PIN_SLP(gpb-1, PREV, NONE);
704 PIN_SLP(gpb-2, PREV, NONE);
705 PIN_SLP(gpb-3, PREV, NONE);
706 PIN_SLP(gpb-4, INPUT, DOWN);
707 PIN_SLP(gpb-5, INPUT, DOWN);
708 PIN_SLP(gpb-6, INPUT, DOWN);
709 PIN_SLP(gpb-7, INPUT, DOWN);
711 PIN_SLP(gpc0-0, INPUT, DOWN);
712 PIN_SLP(gpc0-1, INPUT, DOWN);
713 PIN_SLP(gpc0-2, INPUT, DOWN);
714 PIN_SLP(gpc0-3, INPUT, DOWN);
715 PIN_SLP(gpc0-4, INPUT, DOWN);
717 PIN_SLP(gpc1-0, INPUT, DOWN);
718 PIN_SLP(gpc1-1, INPUT, DOWN);
719 PIN_SLP(gpc1-2, INPUT, DOWN);
720 PIN_SLP(gpc1-3, INPUT, DOWN);
721 PIN_SLP(gpc1-4, INPUT, DOWN);
723 PIN_SLP(gpd0-0, INPUT, DOWN);
724 PIN_SLP(gpd0-1, INPUT, DOWN);
725 PIN_SLP(gpd0-2, INPUT, NONE);
726 PIN_SLP(gpd0-3, INPUT, NONE);
728 PIN_SLP(gpd1-0, INPUT, NONE);
729 PIN_SLP(gpd1-1, INPUT, NONE);
730 PIN_SLP(gpd1-2, INPUT, NONE);
731 PIN_SLP(gpd1-3, INPUT, NONE);
736 pinctrl-names = "default";
737 pinctrl-0 = <&initial1 &sleep1>;
739 initial1: initial-state {
740 PIN_IN(gpe0-6, DOWN, LV1);
741 PIN_IN(gpe0-7, DOWN, LV1);
743 PIN_IN(gpe1-0, DOWN, LV1);
744 PIN_IN(gpe1-3, DOWN, LV1);
745 PIN_IN(gpe1-4, DOWN, LV1);
746 PIN_IN(gpe1-5, DOWN, LV1);
747 PIN_IN(gpe1-6, DOWN, LV1);
749 PIN_IN(gpk2-0, DOWN, LV1);
750 PIN_IN(gpk2-1, DOWN, LV1);
751 PIN_IN(gpk2-2, DOWN, LV1);
752 PIN_IN(gpk2-3, DOWN, LV1);
753 PIN_IN(gpk2-4, DOWN, LV1);
754 PIN_IN(gpk2-5, DOWN, LV1);
755 PIN_IN(gpk2-6, DOWN, LV1);
757 PIN_IN(gpm0-0, DOWN, LV1);
758 PIN_IN(gpm0-1, DOWN, LV1);
759 PIN_IN(gpm0-2, DOWN, LV1);
760 PIN_IN(gpm0-3, DOWN, LV1);
761 PIN_IN(gpm0-4, DOWN, LV1);
762 PIN_IN(gpm0-5, DOWN, LV1);
763 PIN_IN(gpm0-6, DOWN, LV1);
764 PIN_IN(gpm0-7, DOWN, LV1);
766 PIN_IN(gpm1-0, DOWN, LV1);
767 PIN_IN(gpm1-1, DOWN, LV1);
768 PIN_IN(gpm1-2, DOWN, LV1);
769 PIN_IN(gpm1-3, DOWN, LV1);
770 PIN_IN(gpm1-4, DOWN, LV1);
771 PIN_IN(gpm1-5, DOWN, LV1);
772 PIN_IN(gpm1-6, DOWN, LV1);
774 PIN_IN(gpm2-0, DOWN, LV1);
775 PIN_IN(gpm2-1, DOWN, LV1);
777 PIN_IN(gpm3-0, DOWN, LV1);
778 PIN_IN(gpm3-1, DOWN, LV1);
779 PIN_IN(gpm3-2, DOWN, LV1);
780 PIN_IN(gpm3-3, DOWN, LV1);
781 PIN_IN(gpm3-4, DOWN, LV1);
783 PIN_IN(gpm4-1, DOWN, LV1);
784 PIN_IN(gpm4-2, DOWN, LV1);
785 PIN_IN(gpm4-3, DOWN, LV1);
786 PIN_IN(gpm4-4, DOWN, LV1);
787 PIN_IN(gpm4-5, DOWN, LV1);
788 PIN_IN(gpm4-6, DOWN, LV1);
789 PIN_IN(gpm4-7, DOWN, LV1);
792 sleep1: sleep-state {
793 PIN_SLP(gpe0-0, PREV, NONE);
794 PIN_SLP(gpe0-1, PREV, NONE);
795 PIN_SLP(gpe0-2, INPUT, DOWN);
796 PIN_SLP(gpe0-3, INPUT, UP);
797 PIN_SLP(gpe0-4, INPUT, DOWN);
798 PIN_SLP(gpe0-5, INPUT, DOWN);
799 PIN_SLP(gpe0-6, INPUT, DOWN);
800 PIN_SLP(gpe0-7, INPUT, DOWN);
802 PIN_SLP(gpe1-0, INPUT, DOWN);
803 PIN_SLP(gpe1-1, PREV, NONE);
804 PIN_SLP(gpe1-2, INPUT, DOWN);
805 PIN_SLP(gpe1-3, INPUT, DOWN);
806 PIN_SLP(gpe1-4, INPUT, DOWN);
807 PIN_SLP(gpe1-5, INPUT, DOWN);
808 PIN_SLP(gpe1-6, INPUT, DOWN);
809 PIN_SLP(gpe1-7, INPUT, NONE);
811 PIN_SLP(gpe2-0, INPUT, NONE);
812 PIN_SLP(gpe2-1, INPUT, NONE);
813 PIN_SLP(gpe2-2, INPUT, NONE);
815 PIN_SLP(gpk0-0, INPUT, DOWN);
816 PIN_SLP(gpk0-1, INPUT, DOWN);
817 PIN_SLP(gpk0-2, OUT0, NONE);
818 PIN_SLP(gpk0-3, INPUT, DOWN);
819 PIN_SLP(gpk0-4, INPUT, DOWN);
820 PIN_SLP(gpk0-5, INPUT, DOWN);
821 PIN_SLP(gpk0-6, INPUT, DOWN);
822 PIN_SLP(gpk0-7, INPUT, DOWN);
824 PIN_SLP(gpk1-0, INPUT, DOWN);
825 PIN_SLP(gpk1-1, INPUT, DOWN);
826 PIN_SLP(gpk1-2, INPUT, DOWN);
827 PIN_SLP(gpk1-3, INPUT, DOWN);
828 PIN_SLP(gpk1-4, INPUT, DOWN);
829 PIN_SLP(gpk1-5, INPUT, DOWN);
830 PIN_SLP(gpk1-6, INPUT, DOWN);
832 PIN_SLP(gpk2-0, INPUT, DOWN);
833 PIN_SLP(gpk2-1, INPUT, DOWN);
834 PIN_SLP(gpk2-2, INPUT, DOWN);
835 PIN_SLP(gpk2-3, INPUT, DOWN);
836 PIN_SLP(gpk2-4, INPUT, DOWN);
837 PIN_SLP(gpk2-5, INPUT, DOWN);
838 PIN_SLP(gpk2-6, INPUT, DOWN);
840 PIN_SLP(gpl0-0, INPUT, DOWN);
841 PIN_SLP(gpl0-1, INPUT, DOWN);
842 PIN_SLP(gpl0-2, INPUT, DOWN);
843 PIN_SLP(gpl0-3, INPUT, DOWN);
845 PIN_SLP(gpm0-0, INPUT, DOWN);
846 PIN_SLP(gpm0-1, INPUT, DOWN);
847 PIN_SLP(gpm0-2, INPUT, DOWN);
848 PIN_SLP(gpm0-3, INPUT, DOWN);
849 PIN_SLP(gpm0-4, INPUT, DOWN);
850 PIN_SLP(gpm0-5, INPUT, DOWN);
851 PIN_SLP(gpm0-6, INPUT, DOWN);
852 PIN_SLP(gpm0-7, INPUT, DOWN);
854 PIN_SLP(gpm1-0, INPUT, DOWN);
855 PIN_SLP(gpm1-1, INPUT, DOWN);
856 PIN_SLP(gpm1-2, INPUT, DOWN);
857 PIN_SLP(gpm1-3, INPUT, DOWN);
858 PIN_SLP(gpm1-4, INPUT, DOWN);
859 PIN_SLP(gpm1-5, INPUT, DOWN);
860 PIN_SLP(gpm1-6, INPUT, DOWN);
862 PIN_SLP(gpm2-0, INPUT, DOWN);
863 PIN_SLP(gpm2-1, INPUT, DOWN);
864 PIN_SLP(gpm2-2, INPUT, DOWN);
865 PIN_SLP(gpm2-3, INPUT, DOWN);
866 PIN_SLP(gpm2-4, INPUT, DOWN);
868 PIN_SLP(gpm3-0, INPUT, DOWN);
869 PIN_SLP(gpm3-1, INPUT, DOWN);
870 PIN_SLP(gpm3-2, INPUT, DOWN);
871 PIN_SLP(gpm3-3, INPUT, DOWN);
872 PIN_SLP(gpm3-4, INPUT, DOWN);
873 PIN_SLP(gpm3-5, INPUT, DOWN);
874 PIN_SLP(gpm3-6, INPUT, DOWN);
875 PIN_SLP(gpm3-7, INPUT, DOWN);
877 PIN_SLP(gpm4-0, INPUT, DOWN);
878 PIN_SLP(gpm4-1, INPUT, DOWN);
879 PIN_SLP(gpm4-2, INPUT, DOWN);
880 PIN_SLP(gpm4-3, INPUT, DOWN);
881 PIN_SLP(gpm4-4, INPUT, DOWN);
882 PIN_SLP(gpm4-5, INPUT, DOWN);
883 PIN_SLP(gpm4-6, INPUT, DOWN);
884 PIN_SLP(gpm4-7, INPUT, DOWN);