1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos3250 based Rinato board device tree source
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Device tree source file for Samsung's Rinato board which is based on
9 * Samsung Exynos3250 SoC.
13 #include "exynos3250.dtsi"
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/clock/samsung,s2mps11.h>
20 model = "Samsung Rinato board";
21 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
28 stdout-path = &serial_1;
32 device_type = "memory";
33 reg = <0x40000000 0x1ff00000>;
37 compatible = "samsung,secure-firmware";
38 reg = <0x0205F000 0x1000>;
42 compatible = "gpio-keys";
45 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_POWER>;
48 debounce-interval = <10>;
53 wlan_pwrseq: mshc1-pwrseq {
54 compatible = "mmc-pwrseq-simple";
55 reset-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
58 i2c_max77836: i2c-gpio-0 {
59 compatible = "i2c-gpio";
60 sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
61 scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
66 compatible = "maxim,max77836";
67 interrupt-parent = <&gpx1>;
68 interrupts = <5 IRQ_TYPE_NONE>;
73 compatible = "maxim,max77836-muic";
77 compatible = "maxim,max77836-regulator";
78 safeout_reg: SAFEOUT {
79 regulator-name = "SAFEOUT";
82 charger_reg: CHARGER {
83 regulator-name = "CHARGER";
84 regulator-min-microamp = <45000>;
85 regulator-max-microamp = <475000>;
90 regulator-name = "MOT_2.7V";
91 regulator-min-microvolt = <1100000>;
92 regulator-max-microvolt = <2700000>;
96 regulator-name = "UNUSED_LDO2";
97 regulator-min-microvolt = <800000>;
98 regulator-max-microvolt = <3950000>;
103 compatible = "maxim,max77836-charger";
105 maxim,constant-uvolt = <4350000>;
106 maxim,fast-charge-uamp = <225000>;
107 maxim,eoc-uamp = <7500>;
108 maxim,ovp-uvolt = <6500000>;
114 compatible = "regulator-haptic";
115 haptic-supply = <&motor_reg>;
116 min-microvolt = <1100000>;
117 max-microvolt = <2700000>;
121 cpu_thermal: cpu-thermal {
124 /* Corresponds to 500MHz */
125 cooling-device = <&cpu0 5 5>,
129 /* Corresponds to 200MHz */
130 cooling-device = <&cpu0 8 8>,
139 vdd-supply = <&ldo3_reg>;
141 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
142 assigned-clock-rates = <6000000>;
145 compatible = "ntc,ncp15wb473";
146 pullup-uv = <1800000>;
147 pullup-ohm = <100000>;
148 pulldown-ohm = <100000>;
149 io-channels = <&adc 0>;
153 compatible = "ntc,ncp15wb473";
154 pullup-uv = <1800000>;
155 pullup-ohm = <100000>;
156 pulldown-ohm = <100000>;
157 io-channels = <&adc 1>;
162 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
163 vdd-supply = <&buck1_reg>;
168 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
169 vdd-supply = <&buck3_reg>;
174 devfreq = <&bus_leftbus>;
179 devfreq = <&bus_leftbus>;
184 devfreq = <&bus_leftbus>;
189 devfreq = <&bus_leftbus>;
194 devfreq = <&bus_leftbus>;
199 devfreq = <&bus_leftbus>;
204 devfreq = <&bus_leftbus>;
213 cpu0-supply = <&buck2_reg>;
218 vbus-supply = <&safeout_reg>;
222 vusb_d-supply = <&ldo15_reg>;
223 vusb_a-supply = <&ldo12_reg>;
224 dr_mode = "peripheral";
229 vddcore-supply = <&ldo6_reg>;
230 vddio-supply = <&ldo6_reg>;
231 samsung,burst-clock-frequency = <250000000>;
232 samsung,esc-clock-frequency = <20000000>;
233 samsung,pll-clock-frequency = <24000000>;
237 compatible = "samsung,s6e63j0x03";
239 vdd3-supply = <&ldo16_reg>;
240 vci-supply = <&ldo20_reg>;
241 reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
242 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
258 mali-supply = <&buck3_reg>;
263 #address-cells = <1>;
265 samsung,i2c-sda-delay = <100>;
266 samsung,i2c-slave-addr = <0x10>;
267 samsung,i2c-max-bus-freq = <100000>;
271 compatible = "samsung,s2mps14-pmic";
272 interrupt-parent = <&gpx0>;
273 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
277 s2mps14_osc: clocks {
278 compatible = "samsung,s2mps14-clk";
280 clock-output-names = "s2mps14_ap", "unused",
286 regulator-name = "VAP_ALIVE_1.0V";
287 regulator-min-microvolt = <1000000>;
288 regulator-max-microvolt = <1000000>;
291 regulator-state-mem {
292 regulator-on-in-suspend;
297 regulator-name = "VAP_M1_1.2V";
298 regulator-min-microvolt = <1200000>;
299 regulator-max-microvolt = <1200000>;
302 regulator-state-mem {
303 regulator-off-in-suspend;
308 regulator-name = "VCC_AP_1.8V";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
313 regulator-state-mem {
314 regulator-off-in-suspend;
319 regulator-name = "VAP_AVDD_PLL1";
320 regulator-min-microvolt = <1800000>;
321 regulator-max-microvolt = <1800000>;
324 regulator-state-mem {
325 regulator-off-in-suspend;
330 regulator-name = "VAP_PLL_ISO_1.0V";
331 regulator-min-microvolt = <1000000>;
332 regulator-max-microvolt = <1000000>;
335 regulator-state-mem {
336 regulator-off-in-suspend;
341 regulator-name = "VAP_VMIPI_1.0V";
342 regulator-min-microvolt = <1000000>;
343 regulator-max-microvolt = <1000000>;
346 regulator-state-mem {
347 regulator-off-in-suspend;
352 regulator-name = "VAP_AVDD_1.8V";
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
357 regulator-state-mem {
358 regulator-off-in-suspend;
363 regulator-name = "VAP_USB_3.0V";
364 regulator-min-microvolt = <3000000>;
365 regulator-max-microvolt = <3000000>;
368 regulator-state-mem {
369 regulator-off-in-suspend;
374 regulator-name = "V_LPDDR_1.2V";
375 regulator-min-microvolt = <1200000>;
376 regulator-max-microvolt = <1200000>;
379 regulator-state-mem {
380 regulator-on-in-suspend;
385 regulator-name = "UNUSED_LDO10";
386 regulator-min-microvolt = <1000000>;
387 regulator-max-microvolt = <1000000>;
389 regulator-state-mem {
390 regulator-off-in-suspend;
395 regulator-name = "V_EMMC_1.8V";
396 regulator-min-microvolt = <1800000>;
397 regulator-max-microvolt = <1800000>;
398 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
402 regulator-name = "V_EMMC_2.8V";
403 regulator-min-microvolt = <2800000>;
404 regulator-max-microvolt = <2800000>;
405 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
409 regulator-name = "CAM_AVDD_2.8V";
410 regulator-min-microvolt = <2800000>;
411 regulator-max-microvolt = <2800000>;
413 regulator-state-mem {
414 regulator-off-in-suspend;
419 regulator-name = "UNUSED_LDO14";
420 regulator-min-microvolt = <2700000>;
421 regulator-max-microvolt = <2700000>;
423 regulator-state-mem {
424 regulator-off-in-suspend;
429 regulator-name = "TSP_AVDD_3.3V";
430 regulator-min-microvolt = <3300000>;
431 regulator-max-microvolt = <3300000>;
433 regulator-state-mem {
434 regulator-off-in-suspend;
439 regulator-name = "LCD_VDD_3.3V";
440 regulator-min-microvolt = <3300000>;
441 regulator-max-microvolt = <3300000>;
443 regulator-state-mem {
444 regulator-off-in-suspend;
449 regulator-name = "V_IRLED_3.3V";
450 regulator-min-microvolt = <3300000>;
451 regulator-max-microvolt = <3300000>;
453 regulator-state-mem {
454 regulator-off-in-suspend;
459 regulator-name = "CAM_AF_2.8V";
460 regulator-min-microvolt = <2800000>;
461 regulator-max-microvolt = <2800000>;
463 regulator-state-mem {
464 regulator-off-in-suspend;
469 regulator-name = "TSP_VDD_1.8V";
470 regulator-min-microvolt = <1800000>;
471 regulator-max-microvolt = <1800000>;
473 regulator-state-mem {
474 regulator-off-in-suspend;
479 regulator-name = "LCD_VDD_1.8V";
480 regulator-min-microvolt = <1800000>;
481 regulator-max-microvolt = <1800000>;
483 regulator-state-mem {
484 regulator-off-in-suspend;
489 regulator-name = "CAM_IO_1.8V";
490 regulator-min-microvolt = <1800000>;
491 regulator-max-microvolt = <1800000>;
493 regulator-state-mem {
494 regulator-off-in-suspend;
499 regulator-name = "CAM_DVDD_1.2V";
500 regulator-min-microvolt = <1200000>;
501 regulator-max-microvolt = <1200000>;
503 regulator-state-mem {
504 regulator-off-in-suspend;
509 regulator-name = "HRM_VCC_1.8V";
510 regulator-min-microvolt = <1800000>;
511 regulator-max-microvolt = <1800000>;
516 regulator-name = "HRM_VCC_3.3V";
517 regulator-min-microvolt = <3000000>;
518 regulator-max-microvolt = <3000000>;
520 regulator-state-mem {
521 regulator-off-in-suspend;
526 regulator-name = "UNUSED_LDO25";
527 regulator-min-microvolt = <3000000>;
528 regulator-max-microvolt = <3000000>;
530 regulator-state-mem {
531 regulator-off-in-suspend;
536 regulator-name = "VAP_MIF_1.0V";
537 regulator-min-microvolt = <800000>;
538 regulator-max-microvolt = <900000>;
541 regulator-state-mem {
542 regulator-off-in-suspend;
547 regulator-name = "VAP_ARM_1.0V";
548 regulator-min-microvolt = <850000>;
549 regulator-max-microvolt = <1150000>;
552 regulator-state-mem {
553 regulator-off-in-suspend;
558 regulator-name = "VAP_INT3D_1.0V";
559 regulator-min-microvolt = <850000>;
560 regulator-max-microvolt = <1000000>;
563 regulator-state-mem {
564 regulator-off-in-suspend;
569 regulator-name = "VCC_SUB_1.95V";
570 regulator-min-microvolt = <1950000>;
571 regulator-max-microvolt = <1950000>;
574 regulator-state-mem {
575 regulator-on-in-suspend;
580 regulator-name = "VCC_SUB_1.35V";
581 regulator-min-microvolt = <1350000>;
582 regulator-max-microvolt = <1350000>;
585 regulator-state-mem {
586 regulator-on-in-suspend;
594 #address-cells = <1>;
596 samsung,i2c-sda-delay = <100>;
597 samsung,i2c-slave-addr = <0x10>;
598 samsung,i2c-max-bus-freq = <400000>;
602 compatible = "maxim,max77836-battery";
603 interrupt-parent = <&gpx1>;
604 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
623 card-detect-delay = <200>;
624 vmmc-supply = <&ldo12_reg>;
625 clock-frequency = <100000000>;
626 max-frequency = <100000000>;
627 samsung,dw-mshc-ciu-div = <1>;
628 samsung,dw-mshc-sdr-timing = <0 1>;
629 samsung,dw-mshc-ddr-timing = <1 2>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
639 #address-cells = <1>;
645 keep-power-in-suspend;
646 samsung,dw-mshc-ciu-div = <1>;
647 samsung,dw-mshc-sdr-timing = <0 1>;
648 samsung,dw-mshc-ddr-timing = <1 2>;
649 pinctrl-names = "default";
650 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus1 &sd1_bus4>;
653 mmc-pwrseq = <&wlan_pwrseq>;
656 compatible = "brcm,bcm4334-fmac";
659 interrupt-parent = <&gpx1>;
660 interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
661 interrupt-names = "host-wake";
666 assigned-clocks = <&cmu CLK_SCLK_UART0>;
667 assigned-clock-rates = <100000000>;
671 compatible = "brcm,bcm4330-bt";
672 max-speed = <3000000>;
673 shutdown-gpios = <&gpe0 0 GPIO_ACTIVE_HIGH>;
674 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
675 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
676 clocks = <&s2mps14_osc S2MPS11_CLK_BT>;
685 vtmu-supply = <&ldo7_reg>;
690 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
691 clock-names = "rtc", "rtc_src";
696 clock-frequency = <24000000>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&initial0 &sleep0>;
703 initial0: initial-state {
704 PIN_IN(gpa1-4, DOWN, LV1);
705 PIN_IN(gpa1-5, DOWN, LV1);
707 PIN_IN(gpc0-0, DOWN, LV1);
708 PIN_IN(gpc0-1, DOWN, LV1);
709 PIN_IN(gpc0-2, DOWN, LV1);
710 PIN_IN(gpc0-3, DOWN, LV1);
711 PIN_IN(gpc0-4, DOWN, LV1);
713 PIN_IN(gpd0-0, DOWN, LV1);
714 PIN_IN(gpd0-1, DOWN, LV1);
717 sleep0: sleep-state {
718 PIN_SLP(gpa0-0, INPUT, DOWN);
719 PIN_SLP(gpa0-1, INPUT, DOWN);
720 PIN_SLP(gpa0-2, INPUT, DOWN);
721 PIN_SLP(gpa0-3, INPUT, DOWN);
722 PIN_SLP(gpa0-4, INPUT, DOWN);
723 PIN_SLP(gpa0-5, INPUT, DOWN);
724 PIN_SLP(gpa0-6, INPUT, DOWN);
725 PIN_SLP(gpa0-7, INPUT, DOWN);
727 PIN_SLP(gpa1-0, INPUT, DOWN);
728 PIN_SLP(gpa1-1, INPUT, DOWN);
729 PIN_SLP(gpa1-2, INPUT, DOWN);
730 PIN_SLP(gpa1-3, INPUT, DOWN);
731 PIN_SLP(gpa1-4, INPUT, DOWN);
732 PIN_SLP(gpa1-5, INPUT, DOWN);
734 PIN_SLP(gpb-0, PREV, NONE);
735 PIN_SLP(gpb-1, PREV, NONE);
736 PIN_SLP(gpb-2, PREV, NONE);
737 PIN_SLP(gpb-3, PREV, NONE);
738 PIN_SLP(gpb-4, INPUT, DOWN);
739 PIN_SLP(gpb-5, INPUT, DOWN);
740 PIN_SLP(gpb-6, INPUT, DOWN);
741 PIN_SLP(gpb-7, INPUT, DOWN);
743 PIN_SLP(gpc0-0, INPUT, DOWN);
744 PIN_SLP(gpc0-1, INPUT, DOWN);
745 PIN_SLP(gpc0-2, INPUT, DOWN);
746 PIN_SLP(gpc0-3, INPUT, DOWN);
747 PIN_SLP(gpc0-4, INPUT, DOWN);
749 PIN_SLP(gpc1-0, INPUT, DOWN);
750 PIN_SLP(gpc1-1, INPUT, DOWN);
751 PIN_SLP(gpc1-2, INPUT, DOWN);
752 PIN_SLP(gpc1-3, INPUT, DOWN);
753 PIN_SLP(gpc1-4, INPUT, DOWN);
755 PIN_SLP(gpd0-0, INPUT, DOWN);
756 PIN_SLP(gpd0-1, INPUT, DOWN);
757 PIN_SLP(gpd0-2, INPUT, NONE);
758 PIN_SLP(gpd0-3, INPUT, NONE);
760 PIN_SLP(gpd1-0, INPUT, NONE);
761 PIN_SLP(gpd1-1, INPUT, NONE);
762 PIN_SLP(gpd1-2, INPUT, NONE);
763 PIN_SLP(gpd1-3, INPUT, NONE);
768 pinctrl-names = "default";
769 pinctrl-0 = <&initial1 &sleep1>;
771 initial1: initial-state {
772 PIN_IN(gpe0-6, DOWN, LV1);
773 PIN_IN(gpe0-7, DOWN, LV1);
775 PIN_IN(gpe1-0, DOWN, LV1);
776 PIN_IN(gpe1-3, DOWN, LV1);
777 PIN_IN(gpe1-4, DOWN, LV1);
778 PIN_IN(gpe1-5, DOWN, LV1);
779 PIN_IN(gpe1-6, DOWN, LV1);
781 PIN_IN(gpk2-0, DOWN, LV1);
782 PIN_IN(gpk2-1, DOWN, LV1);
783 PIN_IN(gpk2-2, DOWN, LV1);
784 PIN_IN(gpk2-3, DOWN, LV1);
785 PIN_IN(gpk2-4, DOWN, LV1);
786 PIN_IN(gpk2-5, DOWN, LV1);
787 PIN_IN(gpk2-6, DOWN, LV1);
789 PIN_IN(gpm0-0, DOWN, LV1);
790 PIN_IN(gpm0-1, DOWN, LV1);
791 PIN_IN(gpm0-2, DOWN, LV1);
792 PIN_IN(gpm0-3, DOWN, LV1);
793 PIN_IN(gpm0-4, DOWN, LV1);
794 PIN_IN(gpm0-5, DOWN, LV1);
795 PIN_IN(gpm0-6, DOWN, LV1);
796 PIN_IN(gpm0-7, DOWN, LV1);
798 PIN_IN(gpm1-0, DOWN, LV1);
799 PIN_IN(gpm1-1, DOWN, LV1);
800 PIN_IN(gpm1-2, DOWN, LV1);
801 PIN_IN(gpm1-3, DOWN, LV1);
802 PIN_IN(gpm1-4, DOWN, LV1);
803 PIN_IN(gpm1-5, DOWN, LV1);
804 PIN_IN(gpm1-6, DOWN, LV1);
806 PIN_IN(gpm2-0, DOWN, LV1);
807 PIN_IN(gpm2-1, DOWN, LV1);
809 PIN_IN(gpm3-0, DOWN, LV1);
810 PIN_IN(gpm3-1, DOWN, LV1);
811 PIN_IN(gpm3-2, DOWN, LV1);
812 PIN_IN(gpm3-3, DOWN, LV1);
813 PIN_IN(gpm3-4, DOWN, LV1);
815 PIN_IN(gpm4-1, DOWN, LV1);
816 PIN_IN(gpm4-2, DOWN, LV1);
817 PIN_IN(gpm4-3, DOWN, LV1);
818 PIN_IN(gpm4-4, DOWN, LV1);
819 PIN_IN(gpm4-5, DOWN, LV1);
820 PIN_IN(gpm4-6, DOWN, LV1);
821 PIN_IN(gpm4-7, DOWN, LV1);
824 sleep1: sleep-state {
825 PIN_SLP(gpe0-0, PREV, NONE);
826 PIN_SLP(gpe0-1, PREV, NONE);
827 PIN_SLP(gpe0-2, INPUT, DOWN);
828 PIN_SLP(gpe0-3, INPUT, UP);
829 PIN_SLP(gpe0-4, INPUT, DOWN);
830 PIN_SLP(gpe0-5, INPUT, DOWN);
831 PIN_SLP(gpe0-6, INPUT, DOWN);
832 PIN_SLP(gpe0-7, INPUT, DOWN);
834 PIN_SLP(gpe1-0, INPUT, DOWN);
835 PIN_SLP(gpe1-1, PREV, NONE);
836 PIN_SLP(gpe1-2, INPUT, DOWN);
837 PIN_SLP(gpe1-3, INPUT, DOWN);
838 PIN_SLP(gpe1-4, INPUT, DOWN);
839 PIN_SLP(gpe1-5, INPUT, DOWN);
840 PIN_SLP(gpe1-6, INPUT, DOWN);
841 PIN_SLP(gpe1-7, INPUT, NONE);
843 PIN_SLP(gpe2-0, INPUT, NONE);
844 PIN_SLP(gpe2-1, INPUT, NONE);
845 PIN_SLP(gpe2-2, INPUT, NONE);
847 PIN_SLP(gpk0-0, INPUT, DOWN);
848 PIN_SLP(gpk0-1, INPUT, DOWN);
849 PIN_SLP(gpk0-2, OUT0, NONE);
850 PIN_SLP(gpk0-3, INPUT, DOWN);
851 PIN_SLP(gpk0-4, INPUT, DOWN);
852 PIN_SLP(gpk0-5, INPUT, DOWN);
853 PIN_SLP(gpk0-6, INPUT, DOWN);
854 PIN_SLP(gpk0-7, INPUT, DOWN);
856 PIN_SLP(gpk1-0, INPUT, DOWN);
857 PIN_SLP(gpk1-1, INPUT, DOWN);
858 PIN_SLP(gpk1-2, INPUT, DOWN);
859 PIN_SLP(gpk1-3, INPUT, DOWN);
860 PIN_SLP(gpk1-4, INPUT, DOWN);
861 PIN_SLP(gpk1-5, INPUT, DOWN);
862 PIN_SLP(gpk1-6, INPUT, DOWN);
864 PIN_SLP(gpk2-0, INPUT, DOWN);
865 PIN_SLP(gpk2-1, INPUT, DOWN);
866 PIN_SLP(gpk2-2, INPUT, DOWN);
867 PIN_SLP(gpk2-3, INPUT, DOWN);
868 PIN_SLP(gpk2-4, INPUT, DOWN);
869 PIN_SLP(gpk2-5, INPUT, DOWN);
870 PIN_SLP(gpk2-6, INPUT, DOWN);
872 PIN_SLP(gpl0-0, INPUT, DOWN);
873 PIN_SLP(gpl0-1, INPUT, DOWN);
874 PIN_SLP(gpl0-2, INPUT, DOWN);
875 PIN_SLP(gpl0-3, INPUT, DOWN);
877 PIN_SLP(gpm0-0, INPUT, DOWN);
878 PIN_SLP(gpm0-1, INPUT, DOWN);
879 PIN_SLP(gpm0-2, INPUT, DOWN);
880 PIN_SLP(gpm0-3, INPUT, DOWN);
881 PIN_SLP(gpm0-4, INPUT, DOWN);
882 PIN_SLP(gpm0-5, INPUT, DOWN);
883 PIN_SLP(gpm0-6, INPUT, DOWN);
884 PIN_SLP(gpm0-7, INPUT, DOWN);
886 PIN_SLP(gpm1-0, INPUT, DOWN);
887 PIN_SLP(gpm1-1, INPUT, DOWN);
888 PIN_SLP(gpm1-2, INPUT, DOWN);
889 PIN_SLP(gpm1-3, INPUT, DOWN);
890 PIN_SLP(gpm1-4, INPUT, DOWN);
891 PIN_SLP(gpm1-5, INPUT, DOWN);
892 PIN_SLP(gpm1-6, INPUT, DOWN);
894 PIN_SLP(gpm2-0, INPUT, DOWN);
895 PIN_SLP(gpm2-1, INPUT, DOWN);
896 PIN_SLP(gpm2-2, INPUT, DOWN);
897 PIN_SLP(gpm2-3, INPUT, DOWN);
898 PIN_SLP(gpm2-4, INPUT, DOWN);
900 PIN_SLP(gpm3-0, INPUT, DOWN);
901 PIN_SLP(gpm3-1, INPUT, DOWN);
902 PIN_SLP(gpm3-2, INPUT, DOWN);
903 PIN_SLP(gpm3-3, INPUT, DOWN);
904 PIN_SLP(gpm3-4, INPUT, DOWN);
905 PIN_SLP(gpm3-5, INPUT, DOWN);
906 PIN_SLP(gpm3-6, INPUT, DOWN);
907 PIN_SLP(gpm3-7, INPUT, DOWN);
909 PIN_SLP(gpm4-0, INPUT, DOWN);
910 PIN_SLP(gpm4-1, INPUT, DOWN);
911 PIN_SLP(gpm4-2, INPUT, DOWN);
912 PIN_SLP(gpm4-3, INPUT, DOWN);
913 PIN_SLP(gpm4-4, INPUT, DOWN);
914 PIN_SLP(gpm4-5, INPUT, DOWN);
915 PIN_SLP(gpm4-6, INPUT, DOWN);
916 PIN_SLP(gpm4-7, INPUT, DOWN);