0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Samsung's Exynos3250 based Monk board device tree source
0004 *
0005 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
0006 * http://www.samsung.com
0007 *
0008 * Device tree source file for Samsung's Monk board which is based on
0009 * Samsung Exynos3250 SoC.
0010 */
0011
0012 /dts-v1/;
0013 #include "exynos3250.dtsi"
0014 #include "exynos4412-ppmu-common.dtsi"
0015 #include <dt-bindings/input/input.h>
0016 #include <dt-bindings/gpio/gpio.h>
0017 #include <dt-bindings/clock/samsung,s2mps11.h>
0018
0019 / {
0020 model = "Samsung Monk board";
0021 compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
0022
0023 aliases {
0024 i2c7 = &i2c_max77836;
0025 };
0026
0027 memory@40000000 {
0028 device_type = "memory";
0029 reg = <0x40000000 0x1ff00000>;
0030 };
0031
0032 firmware@205f000 {
0033 compatible = "samsung,secure-firmware";
0034 reg = <0x0205F000 0x1000>;
0035 };
0036
0037 gpio-keys {
0038 compatible = "gpio-keys";
0039
0040 power-key {
0041 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
0042 linux,code = <KEY_POWER>;
0043 label = "power key";
0044 debounce-interval = <10>;
0045 wakeup-source;
0046 };
0047 };
0048
0049 vemmc_reg: voltage-regulator-0 {
0050 compatible = "regulator-fixed";
0051 regulator-name = "V_EMMC_2.8V-fixed";
0052 regulator-min-microvolt = <2800000>;
0053 regulator-max-microvolt = <2800000>;
0054 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
0055 enable-active-high;
0056 };
0057
0058 i2c_max77836: i2c-gpio-0 {
0059 compatible = "i2c-gpio";
0060 sda-gpios = <&gpd0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0061 scl-gpios = <&gpd0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0062 #address-cells = <1>;
0063 #size-cells = <0>;
0064
0065 max77836: pmic@25 {
0066 compatible = "maxim,max77836";
0067 interrupt-parent = <&gpx1>;
0068 interrupts = <5 IRQ_TYPE_NONE>;
0069 reg = <0x25>;
0070 wakeup-source;
0071
0072 extcon {
0073 compatible = "maxim,max77836-muic";
0074 };
0075
0076 regulators {
0077 compatible = "maxim,max77836-regulator";
0078 safeout_reg: SAFEOUT {
0079 regulator-name = "SAFEOUT";
0080 };
0081
0082 charger_reg: CHARGER {
0083 regulator-name = "CHARGER";
0084 regulator-min-microamp = <45000>;
0085 regulator-max-microamp = <475000>;
0086 regulator-boot-on;
0087 };
0088
0089 motor_reg: LDO1 {
0090 regulator-name = "MOT_2.7V";
0091 regulator-min-microvolt = <1100000>;
0092 regulator-max-microvolt = <2700000>;
0093 };
0094
0095 LDO2 {
0096 regulator-name = "UNUSED_LDO2";
0097 regulator-min-microvolt = <800000>;
0098 regulator-max-microvolt = <3950000>;
0099 };
0100 };
0101
0102 charger {
0103 compatible = "maxim,max77836-charger";
0104
0105 maxim,constant-uvolt = <4350000>;
0106 maxim,fast-charge-uamp = <225000>;
0107 maxim,eoc-uamp = <7500>;
0108 maxim,ovp-uvolt = <6500000>;
0109 };
0110 };
0111 };
0112
0113 haptics {
0114 compatible = "regulator-haptic";
0115 haptic-supply = <&motor_reg>;
0116 min-microvolt = <1100000>;
0117 max-microvolt = <2700000>;
0118 };
0119
0120 thermal-zones {
0121 cpu_thermal: cpu-thermal {
0122 cooling-maps {
0123 map0 {
0124 /* Correspond to 500MHz at freq_table */
0125 cooling-device = <&cpu0 5 5>,
0126 <&cpu1 5 5>;
0127 };
0128 map1 {
0129 /* Correspond to 200MHz at freq_table */
0130 cooling-device = <&cpu0 8 8>,
0131 <&cpu1 8 8>;
0132 };
0133 };
0134 };
0135 };
0136 };
0137
0138 &adc {
0139 vdd-supply = <&ldo3_reg>;
0140 status = "okay";
0141 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
0142 assigned-clock-rates = <6000000>;
0143
0144 thermistor-ap {
0145 compatible = "murata,ncp15wb473";
0146 pullup-uv = <1800000>;
0147 pullup-ohm = <100000>;
0148 pulldown-ohm = <100000>;
0149 io-channels = <&adc 0>;
0150 };
0151
0152 thermistor-battery {
0153 compatible = "murata,ncp15wb473";
0154 pullup-uv = <1800000>;
0155 pullup-ohm = <100000>;
0156 pulldown-ohm = <100000>;
0157 io-channels = <&adc 1>;
0158 };
0159 };
0160
0161 &bus_dmc {
0162 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
0163 vdd-supply = <&buck1_reg>;
0164 status = "okay";
0165 };
0166
0167 &cmu {
0168 clocks = <&xusbxti>;
0169 };
0170
0171 &cpu0 {
0172 cpu0-supply = <&buck2_reg>;
0173 };
0174
0175 &exynos_usbphy {
0176 vbus-supply = <&safeout_reg>;
0177 status = "okay";
0178 };
0179
0180 &gpu {
0181 mali-supply = <&buck3_reg>;
0182 status = "okay";
0183 };
0184
0185 &hsotg {
0186 vusb_d-supply = <&ldo15_reg>;
0187 vusb_a-supply = <&ldo12_reg>;
0188 dr_mode = "peripheral";
0189 status = "okay";
0190 };
0191
0192 &i2c_0 {
0193 #address-cells = <1>;
0194 #size-cells = <0>;
0195 samsung,i2c-sda-delay = <100>;
0196 samsung,i2c-slave-addr = <0x10>;
0197 samsung,i2c-max-bus-freq = <100000>;
0198 status = "okay";
0199
0200 pmic@66 {
0201 compatible = "samsung,s2mps14-pmic";
0202 interrupt-parent = <&gpx0>;
0203 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
0204 reg = <0x66>;
0205 wakeup-source;
0206
0207 s2mps14_osc: clocks {
0208 compatible = "samsung,s2mps14-clk";
0209 #clock-cells = <1>;
0210 clock-output-names = "s2mps14_ap", "unused",
0211 "s2mps14_bt";
0212 };
0213
0214 regulators {
0215 ldo1_reg: LDO1 {
0216 regulator-name = "VAP_ALIVE_1.0V";
0217 regulator-min-microvolt = <1000000>;
0218 regulator-max-microvolt = <1000000>;
0219 regulator-always-on;
0220 };
0221
0222 ldo2_reg: LDO2 {
0223 regulator-name = "VAP_M1_1.2V";
0224 regulator-min-microvolt = <1200000>;
0225 regulator-max-microvolt = <1200000>;
0226 regulator-always-on;
0227 };
0228
0229 ldo3_reg: LDO3 {
0230 regulator-name = "VCC_AP_1.8V";
0231 regulator-min-microvolt = <1800000>;
0232 regulator-max-microvolt = <1800000>;
0233 regulator-always-on;
0234 };
0235
0236 ldo4_reg: LDO4 {
0237 regulator-name = "VAP_AVDD_PLL1";
0238 regulator-min-microvolt = <1800000>;
0239 regulator-max-microvolt = <1800000>;
0240 regulator-always-on;
0241 };
0242
0243 ldo5_reg: LDO5 {
0244 regulator-name = "VAP_PLL_ISO_1.0V";
0245 regulator-min-microvolt = <1000000>;
0246 regulator-max-microvolt = <1000000>;
0247 regulator-always-on;
0248 };
0249
0250 ldo6_reg: LDO6 {
0251 regulator-name = "VAP_MIPI_1.0V";
0252 regulator-min-microvolt = <1000000>;
0253 regulator-max-microvolt = <1000000>;
0254 };
0255
0256 ldo7_reg: LDO7 {
0257 regulator-name = "VAP_AVDD_1.8V";
0258 regulator-min-microvolt = <1800000>;
0259 regulator-max-microvolt = <1800000>;
0260 regulator-always-on;
0261 };
0262
0263 ldo8_reg: LDO8 {
0264 regulator-name = "VAP_USB_3.0V";
0265 regulator-min-microvolt = <3000000>;
0266 regulator-max-microvolt = <3000000>;
0267 regulator-always-on;
0268 };
0269
0270 ldo9_reg: LDO9 {
0271 regulator-name = "V_LPDDR_1.2V";
0272 regulator-min-microvolt = <1200000>;
0273 regulator-max-microvolt = <1200000>;
0274 regulator-always-on;
0275 };
0276
0277 ldo10_reg: LDO10 {
0278 regulator-name = "UNUSED_LDO10";
0279 regulator-min-microvolt = <1000000>;
0280 regulator-max-microvolt = <1000000>;
0281 };
0282
0283 ldo11_reg: LDO11 {
0284 regulator-name = "V_EMMC_1.8V";
0285 regulator-min-microvolt = <1800000>;
0286 regulator-max-microvolt = <1800000>;
0287 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
0288 };
0289
0290 ldo12_reg: LDO12 {
0291 regulator-name = "V_EMMC_2.8V";
0292 regulator-min-microvolt = <2800000>;
0293 regulator-max-microvolt = <2800000>;
0294 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
0295 };
0296
0297 ldo13_reg: LDO13 {
0298 regulator-name = "VSENSOR_2.85V";
0299 regulator-min-microvolt = <2850000>;
0300 regulator-max-microvolt = <2850000>;
0301 regulator-always-on;
0302 };
0303
0304 ldo14_reg: LDO14 {
0305 regulator-name = "UNUSED_LDO14";
0306 regulator-min-microvolt = <1800000>;
0307 regulator-max-microvolt = <1800000>;
0308 };
0309
0310 ldo15_reg: LDO15 {
0311 regulator-name = "TSP_AVDD_3.3V";
0312 regulator-min-microvolt = <3300000>;
0313 regulator-max-microvolt = <3300000>;
0314 };
0315
0316 ldo16_reg: LDO16 {
0317 regulator-name = "LCD_VDD_3.3V";
0318 regulator-min-microvolt = <3300000>;
0319 regulator-max-microvolt = <3300000>;
0320 };
0321
0322 ldo17_reg: LDO17 {
0323 regulator-name = "UNUSED_LDO17";
0324 regulator-min-microvolt = <1800000>;
0325 regulator-max-microvolt = <1800000>;
0326 };
0327
0328 ldo18_reg: LDO18 {
0329 regulator-name = "UNUSED_LDO18";
0330 regulator-min-microvolt = <1800000>;
0331 regulator-max-microvolt = <1800000>;
0332 };
0333
0334 ldo19_reg: LDO19 {
0335 regulator-name = "TSP_VDD_1.8V";
0336 regulator-min-microvolt = <1800000>;
0337 regulator-max-microvolt = <1800000>;
0338 };
0339
0340 ldo20_reg: LDO20 {
0341 regulator-name = "LCD_VDD_1.8V";
0342 regulator-min-microvolt = <1800000>;
0343 regulator-max-microvolt = <1800000>;
0344 };
0345
0346 ldo21_reg: LDO21 {
0347 regulator-name = "UNUSED_LDO21";
0348 regulator-min-microvolt = <1000000>;
0349 regulator-max-microvolt = <1000000>;
0350 };
0351
0352 ldo22_reg: LDO22 {
0353 regulator-name = "UNUSED_LDO22";
0354 regulator-min-microvolt = <1000000>;
0355 regulator-max-microvolt = <1000000>;
0356 };
0357
0358 ldo23_reg: LDO23 {
0359 regulator-name = "UNUSED_LDO23";
0360 regulator-min-microvolt = <1000000>;
0361 regulator-max-microvolt = <1000000>;
0362 regulator-always-on;
0363 };
0364
0365 ldo24_reg: LDO24 {
0366 regulator-name = "UNUSED_LDO24";
0367 regulator-min-microvolt = <1800000>;
0368 regulator-max-microvolt = <1800000>;
0369 };
0370
0371 ldo25_reg: LDO25 {
0372 regulator-name = "UNUSED_LDO25";
0373 regulator-min-microvolt = <1800000>;
0374 regulator-max-microvolt = <1800000>;
0375 };
0376
0377 buck1_reg: BUCK1 {
0378 regulator-name = "VAP_MIF_1.0V";
0379 regulator-min-microvolt = <800000>;
0380 regulator-max-microvolt = <900000>;
0381 regulator-always-on;
0382 };
0383
0384 buck2_reg: BUCK2 {
0385 regulator-name = "VAP_ARM_1.0V";
0386 regulator-min-microvolt = <850000>;
0387 regulator-max-microvolt = <1150000>;
0388 regulator-always-on;
0389 };
0390
0391 buck3_reg: BUCK3 {
0392 regulator-name = "VAP_INT3D_1.0V";
0393 regulator-min-microvolt = <850000>;
0394 regulator-max-microvolt = <1000000>;
0395 regulator-always-on;
0396 };
0397
0398 buck4_reg: BUCK4 {
0399 regulator-name = "VCC_SUB_1.95V";
0400 regulator-min-microvolt = <1950000>;
0401 regulator-max-microvolt = <1950000>;
0402 regulator-always-on;
0403 };
0404
0405 buck5_reg: BUCK5 {
0406 regulator-name = "VCC_SUB_1.35V";
0407 regulator-min-microvolt = <1350000>;
0408 regulator-max-microvolt = <1350000>;
0409 regulator-always-on;
0410 };
0411 };
0412 };
0413 };
0414
0415 &i2c_1 {
0416 #address-cells = <1>;
0417 #size-cells = <0>;
0418 samsung,i2c-sda-delay = <100>;
0419 samsung,i2c-slave-addr = <0x10>;
0420 samsung,i2c-max-bus-freq = <400000>;
0421 status = "okay";
0422
0423 fuelgauge@36 {
0424 compatible = "maxim,max77836-battery";
0425 interrupt-parent = <&gpx1>;
0426 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0427 reg = <0x36>;
0428 };
0429 };
0430
0431 &i2s2 {
0432 status = "okay";
0433 };
0434
0435 &mshc_0 {
0436 #address-cells = <1>;
0437 #size-cells = <0>;
0438 broken-cd;
0439 non-removable;
0440 cap-mmc-highspeed;
0441 desc-num = <4>;
0442 mmc-hs200-1_8v;
0443 card-detect-delay = <200>;
0444 vmmc-supply = <&vemmc_reg>;
0445 clock-frequency = <100000000>;
0446 max-frequency = <100000000>;
0447 samsung,dw-mshc-ciu-div = <1>;
0448 samsung,dw-mshc-sdr-timing = <0 1>;
0449 samsung,dw-mshc-ddr-timing = <1 2>;
0450 pinctrl-names = "default";
0451 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
0452 bus-width = <8>;
0453 status = "okay";
0454 };
0455
0456 &serial_0 {
0457 assigned-clocks = <&cmu CLK_SCLK_UART0>;
0458 assigned-clock-rates = <100000000>;
0459 status = "okay";
0460 };
0461
0462 &serial_1 {
0463 status = "okay";
0464 };
0465
0466 &tmu {
0467 vtmu-supply = <&ldo7_reg>;
0468 status = "okay";
0469 };
0470
0471 &rtc {
0472 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
0473 clock-names = "rtc", "rtc_src";
0474 status = "okay";
0475 };
0476
0477 &xusbxti {
0478 clock-frequency = <24000000>;
0479 };
0480
0481 &pinctrl_0 {
0482 pinctrl-names = "default";
0483 pinctrl-0 = <&sleep0>;
0484
0485 sleep0: sleep-state {
0486 PIN_SLP(gpa0-0, INPUT, DOWN);
0487 PIN_SLP(gpa0-1, INPUT, DOWN);
0488 PIN_SLP(gpa0-2, INPUT, DOWN);
0489 PIN_SLP(gpa0-3, INPUT, DOWN);
0490 PIN_SLP(gpa0-4, INPUT, DOWN);
0491 PIN_SLP(gpa0-5, INPUT, DOWN);
0492 PIN_SLP(gpa0-6, INPUT, DOWN);
0493 PIN_SLP(gpa0-7, INPUT, DOWN);
0494
0495 PIN_SLP(gpa1-0, INPUT, DOWN);
0496 PIN_SLP(gpa1-1, INPUT, DOWN);
0497 PIN_SLP(gpa1-2, INPUT, DOWN);
0498 PIN_SLP(gpa1-3, INPUT, DOWN);
0499 PIN_SLP(gpa1-4, INPUT, DOWN);
0500 PIN_SLP(gpa1-5, INPUT, DOWN);
0501
0502 PIN_SLP(gpb-0, PREV, NONE);
0503 PIN_SLP(gpb-1, PREV, NONE);
0504 PIN_SLP(gpb-2, PREV, NONE);
0505 PIN_SLP(gpb-3, PREV, NONE);
0506 PIN_SLP(gpb-4, INPUT, DOWN);
0507 PIN_SLP(gpb-5, INPUT, DOWN);
0508 PIN_SLP(gpb-6, INPUT, DOWN);
0509 PIN_SLP(gpb-7, INPUT, DOWN);
0510
0511 PIN_SLP(gpc0-0, INPUT, DOWN);
0512 PIN_SLP(gpc0-1, INPUT, DOWN);
0513 PIN_SLP(gpc0-2, INPUT, DOWN);
0514 PIN_SLP(gpc0-3, INPUT, DOWN);
0515 PIN_SLP(gpc0-4, INPUT, DOWN);
0516
0517 PIN_SLP(gpc1-0, INPUT, DOWN);
0518 PIN_SLP(gpc1-1, INPUT, DOWN);
0519 PIN_SLP(gpc1-2, INPUT, DOWN);
0520 PIN_SLP(gpc1-3, INPUT, DOWN);
0521 PIN_SLP(gpc1-4, INPUT, DOWN);
0522
0523 PIN_SLP(gpd0-0, INPUT, DOWN);
0524 PIN_SLP(gpd0-1, INPUT, DOWN);
0525 PIN_SLP(gpd0-2, INPUT, NONE);
0526 PIN_SLP(gpd0-3, INPUT, NONE);
0527
0528 PIN_SLP(gpd1-0, INPUT, NONE);
0529 PIN_SLP(gpd1-1, INPUT, NONE);
0530 PIN_SLP(gpd1-2, INPUT, NONE);
0531 PIN_SLP(gpd1-3, INPUT, NONE);
0532 };
0533 };
0534
0535 &pinctrl_1 {
0536 pinctrl-names = "default";
0537 pinctrl-0 = <&initial1 &sleep1>;
0538
0539 initial1: initial-state {
0540 PIN_IN(gpk2-0, DOWN, LV1);
0541 PIN_IN(gpk2-1, DOWN, LV1);
0542 PIN_IN(gpk2-2, DOWN, LV1);
0543 PIN_IN(gpk2-3, DOWN, LV1);
0544 PIN_IN(gpk2-4, DOWN, LV1);
0545 PIN_IN(gpk2-5, DOWN, LV1);
0546 PIN_IN(gpk2-6, DOWN, LV1);
0547 };
0548
0549 sleep1: sleep-state {
0550 PIN_SLP(gpe0-0, PREV, NONE);
0551 PIN_SLP(gpe0-1, PREV, NONE);
0552 PIN_SLP(gpe0-2, INPUT, DOWN);
0553 PIN_SLP(gpe0-3, INPUT, DOWN);
0554 PIN_SLP(gpe0-4, PREV, NONE);
0555 PIN_SLP(gpe0-5, INPUT, DOWN);
0556 PIN_SLP(gpe0-6, INPUT, DOWN);
0557 PIN_SLP(gpe0-7, INPUT, DOWN);
0558
0559 PIN_SLP(gpe1-0, INPUT, DOWN);
0560 PIN_SLP(gpe1-1, PREV, NONE);
0561 PIN_SLP(gpe1-2, INPUT, DOWN);
0562 PIN_SLP(gpe1-3, INPUT, DOWN);
0563 PIN_SLP(gpe1-4, INPUT, DOWN);
0564 PIN_SLP(gpe1-5, INPUT, DOWN);
0565 PIN_SLP(gpe1-6, INPUT, DOWN);
0566 PIN_SLP(gpe1-7, INPUT, NONE);
0567
0568 PIN_SLP(gpe2-0, INPUT, NONE);
0569 PIN_SLP(gpe2-1, INPUT, NONE);
0570 PIN_SLP(gpe2-2, INPUT, NONE);
0571
0572 PIN_SLP(gpk0-0, INPUT, DOWN);
0573 PIN_SLP(gpk0-1, INPUT, DOWN);
0574 PIN_SLP(gpk0-2, OUT0, NONE);
0575 PIN_SLP(gpk0-3, INPUT, DOWN);
0576 PIN_SLP(gpk0-4, INPUT, DOWN);
0577 PIN_SLP(gpk0-5, INPUT, DOWN);
0578 PIN_SLP(gpk0-6, INPUT, DOWN);
0579 PIN_SLP(gpk0-7, INPUT, DOWN);
0580
0581 PIN_SLP(gpk1-0, PREV, NONE);
0582 PIN_SLP(gpk1-1, PREV, NONE);
0583 PIN_SLP(gpk1-2, INPUT, DOWN);
0584 PIN_SLP(gpk1-3, PREV, NONE);
0585 PIN_SLP(gpk1-4, PREV, NONE);
0586 PIN_SLP(gpk1-5, PREV, NONE);
0587 PIN_SLP(gpk1-6, PREV, NONE);
0588
0589 PIN_SLP(gpk2-0, INPUT, DOWN);
0590 PIN_SLP(gpk2-1, INPUT, DOWN);
0591 PIN_SLP(gpk2-2, INPUT, DOWN);
0592 PIN_SLP(gpk2-3, INPUT, DOWN);
0593 PIN_SLP(gpk2-4, INPUT, DOWN);
0594 PIN_SLP(gpk2-5, INPUT, DOWN);
0595 PIN_SLP(gpk2-6, INPUT, DOWN);
0596
0597 PIN_SLP(gpl0-0, INPUT, DOWN);
0598 PIN_SLP(gpl0-1, INPUT, DOWN);
0599 PIN_SLP(gpl0-2, INPUT, DOWN);
0600 PIN_SLP(gpl0-3, INPUT, DOWN);
0601
0602 PIN_SLP(gpm0-0, INPUT, DOWN);
0603 PIN_SLP(gpm0-1, INPUT, DOWN);
0604 PIN_SLP(gpm0-2, INPUT, DOWN);
0605 PIN_SLP(gpm0-3, INPUT, DOWN);
0606 PIN_SLP(gpm0-4, INPUT, DOWN);
0607 PIN_SLP(gpm0-5, INPUT, DOWN);
0608 PIN_SLP(gpm0-6, INPUT, DOWN);
0609 PIN_SLP(gpm0-7, INPUT, DOWN);
0610
0611 PIN_SLP(gpm1-0, INPUT, DOWN);
0612 PIN_SLP(gpm1-1, INPUT, DOWN);
0613 PIN_SLP(gpm1-2, INPUT, DOWN);
0614 PIN_SLP(gpm1-3, INPUT, DOWN);
0615 PIN_SLP(gpm1-4, INPUT, DOWN);
0616 PIN_SLP(gpm1-5, INPUT, DOWN);
0617 PIN_SLP(gpm1-6, INPUT, DOWN);
0618
0619 PIN_SLP(gpm2-0, INPUT, DOWN);
0620 PIN_SLP(gpm2-1, INPUT, DOWN);
0621 PIN_SLP(gpm2-2, INPUT, DOWN);
0622 PIN_SLP(gpm2-3, INPUT, DOWN);
0623 PIN_SLP(gpm2-4, INPUT, DOWN);
0624
0625 PIN_SLP(gpm3-0, INPUT, DOWN);
0626 PIN_SLP(gpm3-1, INPUT, DOWN);
0627 PIN_SLP(gpm3-2, INPUT, DOWN);
0628 PIN_SLP(gpm3-3, INPUT, DOWN);
0629 PIN_SLP(gpm3-4, INPUT, DOWN);
0630 PIN_SLP(gpm3-5, INPUT, DOWN);
0631 PIN_SLP(gpm3-6, INPUT, DOWN);
0632 PIN_SLP(gpm3-7, INPUT, DOWN);
0633
0634 PIN_SLP(gpm4-0, INPUT, DOWN);
0635 PIN_SLP(gpm4-1, INPUT, DOWN);
0636 PIN_SLP(gpm4-2, INPUT, DOWN);
0637 PIN_SLP(gpm4-3, INPUT, DOWN);
0638 PIN_SLP(gpm4-4, INPUT, DOWN);
0639 PIN_SLP(gpm4-5, INPUT, DOWN);
0640 PIN_SLP(gpm4-6, INPUT, DOWN);
0641 PIN_SLP(gpm4-7, INPUT, DOWN);
0642 };
0643 };