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 reg = <0x40000000 0x1ff00000>;
35 compatible = "samsung,secure-firmware";
36 reg = <0x0205F000 0x1000>;
40 compatible = "gpio-keys";
43 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_POWER>;
46 debounce-interval = <10>;
51 i2c_max77836: i2c-gpio-0 {
52 compatible = "i2c-gpio";
53 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
57 max77836: subpmic@25 {
58 compatible = "maxim,max77836";
59 interrupt-parent = <&gpx1>;
65 compatible = "maxim,max77836-muic";
69 compatible = "maxim,max77836-regulator";
70 safeout_reg: SAFEOUT {
71 regulator-name = "SAFEOUT";
74 charger_reg: CHARGER {
75 regulator-name = "CHARGER";
76 regulator-min-microamp = <45000>;
77 regulator-max-microamp = <475000>;
82 regulator-name = "MOT_2.7V";
83 regulator-min-microvolt = <1100000>;
84 regulator-max-microvolt = <2700000>;
88 regulator-name = "UNUSED_LDO2";
89 regulator-min-microvolt = <800000>;
90 regulator-max-microvolt = <3950000>;
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>;
106 compatible = "regulator-haptic";
107 haptic-supply = <&motor_reg>;
108 min-microvolt = <1100000>;
109 max-microvolt = <2700000>;
113 cpu_thermal: cpu-thermal {
116 /* Corresponds to 500MHz */
117 cooling-device = <&cpu0 5 5>;
120 /* Corresponds to 200MHz */
121 cooling-device = <&cpu0 8 8>;
129 vdd-supply = <&ldo3_reg>;
131 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
132 assigned-clock-rates = <6000000>;
135 compatible = "ntc,ncp15wb473";
136 pullup-uv = <1800000>;
137 pullup-ohm = <100000>;
138 pulldown-ohm = <100000>;
139 io-channels = <&adc 0>;
143 compatible = "ntc,ncp15wb473";
144 pullup-uv = <1800000>;
145 pullup-ohm = <100000>;
146 pulldown-ohm = <100000>;
147 io-channels = <&adc 1>;
152 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
153 vdd-supply = <&buck1_reg>;
158 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
159 vdd-supply = <&buck3_reg>;
164 devfreq = <&bus_leftbus>;
169 devfreq = <&bus_leftbus>;
174 devfreq = <&bus_leftbus>;
179 devfreq = <&bus_leftbus>;
184 devfreq = <&bus_leftbus>;
189 devfreq = <&bus_leftbus>;
194 devfreq = <&bus_leftbus>;
199 cpu0-supply = <&buck2_reg>;
204 vbus-supply = <&safeout_reg>;
208 vusb_d-supply = <&ldo15_reg>;
209 vusb_a-supply = <&ldo12_reg>;
210 dr_mode = "peripheral";
215 vddcore-supply = <&ldo6_reg>;
216 vddio-supply = <&ldo6_reg>;
217 samsung,pll-clock-frequency = <24000000>;
221 #address-cells = <1>;
228 remote-endpoint = <&dsi_in>;
229 samsung,burst-clock-frequency = <250000000>;
230 samsung,esc-clock-frequency = <20000000>;
236 compatible = "samsung,s6e63j0x03";
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>;
248 panel-width-mm = <29>;
249 panel-height-mm = <29>;
253 clock-frequency = <4600000>;
259 vfront-porch = <150>;
267 remote-endpoint = <&dsi_out>;
285 #address-cells = <1>;
287 samsung,i2c-sda-delay = <100>;
288 samsung,i2c-slave-addr = <0x10>;
289 samsung,i2c-max-bus-freq = <100000>;
293 compatible = "samsung,s2mps14-pmic";
294 interrupt-parent = <&gpx0>;
299 s2mps14_osc: clocks {
300 compatible = "samsung,s2mps14-clk";
302 clock-output-names = "s2mps14_ap", "unused",
308 regulator-name = "VAP_ALIVE_1.0V";
309 regulator-min-microvolt = <1000000>;
310 regulator-max-microvolt = <1000000>;
313 regulator-state-mem {
314 regulator-on-in-suspend;
319 regulator-name = "VAP_M1_1.2V";
320 regulator-min-microvolt = <1200000>;
321 regulator-max-microvolt = <1200000>;
324 regulator-state-mem {
325 regulator-off-in-suspend;
330 regulator-name = "VCC_AP_1.8V";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
335 regulator-state-mem {
336 regulator-off-in-suspend;
341 regulator-name = "VAP_AVDD_PLL1";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
346 regulator-state-mem {
347 regulator-off-in-suspend;
352 regulator-name = "VAP_PLL_ISO_1.0V";
353 regulator-min-microvolt = <1000000>;
354 regulator-max-microvolt = <1000000>;
357 regulator-state-mem {
358 regulator-off-in-suspend;
363 regulator-name = "VAP_VMIPI_1.0V";
364 regulator-min-microvolt = <1000000>;
365 regulator-max-microvolt = <1000000>;
368 regulator-state-mem {
369 regulator-off-in-suspend;
374 regulator-name = "VAP_AVDD_1.8V";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
379 regulator-state-mem {
380 regulator-off-in-suspend;
385 regulator-name = "VAP_USB_3.0V";
386 regulator-min-microvolt = <3000000>;
387 regulator-max-microvolt = <3000000>;
390 regulator-state-mem {
391 regulator-off-in-suspend;
396 regulator-name = "V_LPDDR_1.2V";
397 regulator-min-microvolt = <1200000>;
398 regulator-max-microvolt = <1200000>;
401 regulator-state-mem {
402 regulator-on-in-suspend;
407 regulator-name = "UNUSED_LDO10";
408 regulator-min-microvolt = <1000000>;
409 regulator-max-microvolt = <1000000>;
411 regulator-state-mem {
412 regulator-off-in-suspend;
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>;
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>;
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;
441 regulator-name = "UNUSED_LDO14";
442 regulator-min-microvolt = <2700000>;
443 regulator-max-microvolt = <2700000>;
445 regulator-state-mem {
446 regulator-off-in-suspend;
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;
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;
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;
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;
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;
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;
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;
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;
531 regulator-name = "HRM_VCC_1.8V";
532 regulator-min-microvolt = <1800000>;
533 regulator-max-microvolt = <1800000>;
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;
548 regulator-name = "UNUSED_LDO25";
549 regulator-min-microvolt = <3000000>;
550 regulator-max-microvolt = <3000000>;
552 regulator-state-mem {
553 regulator-off-in-suspend;
558 regulator-name = "VAP_MIF_1.0V";
559 regulator-min-microvolt = <800000>;
560 regulator-max-microvolt = <900000>;
563 regulator-state-mem {
564 regulator-off-in-suspend;
569 regulator-name = "VAP_ARM_1.0V";
570 regulator-min-microvolt = <850000>;
571 regulator-max-microvolt = <1150000>;
574 regulator-state-mem {
575 regulator-off-in-suspend;
580 regulator-name = "VAP_INT3D_1.0V";
581 regulator-min-microvolt = <850000>;
582 regulator-max-microvolt = <1000000>;
585 regulator-state-mem {
586 regulator-off-in-suspend;
591 regulator-name = "VCC_SUB_1.95V";
592 regulator-min-microvolt = <1950000>;
593 regulator-max-microvolt = <1950000>;
596 regulator-state-mem {
597 regulator-on-in-suspend;
602 regulator-name = "VCC_SUB_1.35V";
603 regulator-min-microvolt = <1350000>;
604 regulator-max-microvolt = <1350000>;
607 regulator-state-mem {
608 regulator-on-in-suspend;
616 #address-cells = <1>;
618 samsung,i2c-sda-delay = <100>;
619 samsung,i2c-slave-addr = <0x10>;
620 samsung,i2c-max-bus-freq = <400000>;
624 compatible = "maxim,max77836-battery";
625 interrupt-parent = <&gpx1>;
644 #address-cells = <1>;
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>;
666 assigned-clocks = <&cmu CLK_SCLK_UART0>;
667 assigned-clock-rates = <100000000>;
676 vtmu-supply = <&ldo7_reg>;
681 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
682 clock-names = "rtc", "rtc_src";
687 clock-frequency = <24000000>;
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);
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);
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);
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);