blob: 84380fa13e378066d79ef89a3590cdde40c158f8 [file] [log] [blame]
Chanwoo Choifaaf3482014-11-07 08:10:12 +09001/*
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 */
14
15/dts-v1/;
16#include "exynos3250.dtsi"
17#include <dt-bindings/input/input.h>
18
19/ {
20 model = "Samsung Rinato board";
21 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
22
23 aliases {
24 i2c7 = &i2c_max77836;
25 };
26
27 memory {
28 reg = <0x40000000 0x1ff00000>;
29 };
30
31 chosen {
32 bootargs = "console=ttySAC1,115200N8 root=/dev/mmcblk0p15 rootwait earlyprintk panic=5";
33 };
34
35 firmware@0205F000 {
36 compatible = "samsung,secure-firmware";
37 reg = <0x0205F000 0x1000>;
38 };
39
40 gpio_keys {
41 compatible = "gpio-keys";
42
43 power_key {
44 interrupt-parent = <&gpx2>;
45 interrupts = <7 0>;
46 gpios = <&gpx2 7 1>;
47 linux,code = <KEY_POWER>;
48 label = "power key";
49 debounce-interval = <10>;
50 gpio-key,wakeup;
51 };
52 };
53
54 i2c_max77836: i2c-gpio-0 {
55 compatible = "i2c-gpio";
56 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
57 #address-cells = <1>;
58 #size-cells = <0>;
59
60 max77836: subpmic@25 {
61 compatible = "maxim,max77836";
62 interrupt-parent = <&gpx1>;
63 interrupts = <5 0>;
64 reg = <0x25>;
65 wakeup;
66
67 muic: max77836-muic {
68 compatible = "maxim,max77836-muic";
69 };
70
71 regulators {
72 compatible = "maxim,max77836-regulator";
73 safeout_reg: SAFEOUT {
74 regulator-name = "SAFEOUT";
75 };
76
77 charger_reg: CHARGER {
78 regulator-name = "CHARGER";
79 regulator-min-microamp = <45000>;
80 regulator-max-microamp = <475000>;
81 regulator-boot-on;
82 };
83
84 motor_reg: LDO1 {
85 regulator-name = "MOT_2.7V";
86 regulator-min-microvolt = <1100000>;
87 regulator-max-microvolt = <2700000>;
88 };
89
90 LDO2 {
91 regulator-name = "UNUSED_LDO2";
92 regulator-min-microvolt = <800000>;
93 regulator-max-microvolt = <3950000>;
94 };
95 };
96
97 charger {
98 compatible = "maxim,max77836-charger";
99
100 maxim,constant-uvolt = <4350000>;
101 maxim,fast-charge-uamp = <225000>;
102 maxim,eoc-uamp = <7500>;
103 maxim,ovp-uvolt = <6500000>;
104 };
105 };
106 };
107};
108
109&adc {
110 vdd-supply = <&ldo3_reg>;
111 status = "okay";
112 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
113 assigned-clock-rates = <6000000>;
114
115 thermistor-ap {
116 compatible = "ntc,ncp15wb473";
117 pullup-uv = <1800000>;
118 pullup-ohm = <100000>;
119 pulldown-ohm = <100000>;
120 io-channels = <&adc 0>;
121 };
122
123 thermistor-battery {
124 compatible = "ntc,ncp15wb473";
125 pullup-uv = <1800000>;
126 pullup-ohm = <100000>;
127 pulldown-ohm = <100000>;
128 io-channels = <&adc 1>;
129 };
130};
131
132&i2c_0 {
133 #address-cells = <1>;
134 #size-cells = <0>;
135 samsung,i2c-sda-delay = <100>;
136 samsung,i2c-slave-addr = <0x10>;
137 samsung,i2c-max-bus-freq = <100000>;
138 status = "okay";
139
140 s2mps14_pmic@66 {
141 compatible = "samsung,s2mps14-pmic";
142 interrupt-parent = <&gpx0>;
143 interrupts = <7 0>;
144 reg = <0x66>;
145 wakeup;
146
147 s2mps14_osc: clocks {
148 compatible = "samsung,s2mps14-clk";
149 #clock-cells = <1>;
150 clock-output-names = "s2mps14_ap", "unused",
151 "s2mps14_bt";
152 };
153
154 regulators {
155 ldo1_reg: LDO1 {
156 regulator-name = "VAP_ALIVE_1.0V";
157 regulator-min-microvolt = <1000000>;
158 regulator-max-microvolt = <1000000>;
159 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900160
161 regulator-state-mem {
162 regulator-on-in-suspend;
163 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900164 };
165
166 ldo2_reg: LDO2 {
167 regulator-name = "VAP_M1_1.2V";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <1200000>;
170 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900171
172 regulator-state-mem {
173 regulator-off-in-suspend;
174 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900175 };
176
177 ldo3_reg: LDO3 {
178 regulator-name = "VCC_AP_1.8V";
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
181 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900182
183 regulator-state-mem {
184 regulator-off-in-suspend;
185 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900186 };
187
188 ldo4_reg: LDO4 {
189 regulator-name = "VAP_AVDD_PLL1";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
192 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900193
194 regulator-state-mem {
195 regulator-off-in-suspend;
196 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900197 };
198
199 ldo5_reg: LDO5 {
200 regulator-name = "VAP_PLL_ISO_1.0V";
201 regulator-min-microvolt = <1000000>;
202 regulator-max-microvolt = <1000000>;
203 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900204
205 regulator-state-mem {
206 regulator-off-in-suspend;
207 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900208 };
209
210 ldo6_reg: LDO6 {
211 regulator-name = "VAP_VMIPI_1.0V";
212 regulator-min-microvolt = <1000000>;
213 regulator-max-microvolt = <1000000>;
214 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900215
216 regulator-state-mem {
217 regulator-off-in-suspend;
218 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900219 };
220
221 ldo7_reg: LDO7 {
222 regulator-name = "VAP_AVDD_1.8V";
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
225 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900226
227 regulator-state-mem {
228 regulator-off-in-suspend;
229 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900230 };
231
232 ldo8_reg: LDO8 {
233 regulator-name = "VAP_USB_3.0V";
234 regulator-min-microvolt = <3000000>;
235 regulator-max-microvolt = <3000000>;
236 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900237
238 regulator-state-mem {
239 regulator-off-in-suspend;
240 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900241 };
242
243 ldo9_reg: LDO9 {
244 regulator-name = "V_LPDDR_1.2V";
245 regulator-min-microvolt = <1200000>;
246 regulator-max-microvolt = <1200000>;
247 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900248
249 regulator-state-mem {
250 regulator-on-in-suspend;
251 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900252 };
253
254 ldo10_reg: LDO10 {
255 regulator-name = "UNUSED_LDO10";
256 regulator-min-microvolt = <1000000>;
257 regulator-max-microvolt = <1000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900258
259 regulator-state-mem {
260 regulator-off-in-suspend;
261 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900262 };
263
264 ldo11_reg: LDO11 {
265 regulator-name = "V_EMMC_1.8V";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
268 samsung,ext-control-gpios = <&gpk0 2 0>;
269 };
270
271 ldo12_reg: LDO12 {
272 regulator-name = "V_EMMC_2.8V";
273 regulator-min-microvolt = <2800000>;
274 regulator-max-microvolt = <2800000>;
275 samsung,ext-control-gpios = <&gpk0 2 0>;
276 };
277
278 ldo13_reg: LDO13 {
279 regulator-name = "CAM_AVDD_2.8V";
280 regulator-min-microvolt = <2800000>;
281 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900282
283 regulator-state-mem {
284 regulator-off-in-suspend;
285 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900286 };
287
288 ldo14_reg: LDO14 {
289 regulator-name = "UNUSED_LDO14";
290 regulator-min-microvolt = <2700000>;
291 regulator-max-microvolt = <2700000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900292
293 regulator-state-mem {
294 regulator-off-in-suspend;
295 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900296 };
297
298 ldo15_reg: LDO15 {
299 regulator-name = "TSP_AVDD_3.3V";
300 regulator-min-microvolt = <3300000>;
301 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900302
303 regulator-state-mem {
304 regulator-off-in-suspend;
305 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900306 };
307
308 ldo16_reg: LDO16 {
309 regulator-name = "LCD_VDD_3.3V";
310 regulator-min-microvolt = <3300000>;
311 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900312
313 regulator-state-mem {
314 regulator-off-in-suspend;
315 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900316 };
317
318 ldo17_reg: LDO17 {
319 regulator-name = "V_IRLED_3.3V";
320 regulator-min-microvolt = <3300000>;
321 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900322
323 regulator-state-mem {
324 regulator-off-in-suspend;
325 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900326 };
327
328 ldo18_reg: LDO18 {
329 regulator-name = "CAM_AF_2.8V";
330 regulator-min-microvolt = <2800000>;
331 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900332
333 regulator-state-mem {
334 regulator-off-in-suspend;
335 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900336 };
337
338 ldo19_reg: LDO19 {
339 regulator-name = "TSP_VDD_1.8V";
340 regulator-min-microvolt = <1800000>;
341 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900342
343 regulator-state-mem {
344 regulator-off-in-suspend;
345 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900346 };
347
348 ldo20_reg: LDO20 {
349 regulator-name = "LCD_VDD_1.8V";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900352
353 regulator-state-mem {
354 regulator-off-in-suspend;
355 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900356 };
357
358 ldo21_reg: LDO21 {
359 regulator-name = "CAM_IO_1.8V";
360 regulator-min-microvolt = <1800000>;
361 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900362
363 regulator-state-mem {
364 regulator-off-in-suspend;
365 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900366 };
367
368 ldo22_reg: LDO22 {
369 regulator-name = "CAM_DVDD_1.2V";
370 regulator-min-microvolt = <1200000>;
371 regulator-max-microvolt = <1200000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900372
373 regulator-state-mem {
374 regulator-off-in-suspend;
375 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900376 };
377
378 ldo23_reg: LDO23 {
379 regulator-name = "HRM_VCC_1.8V";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
382 regulator-always-on;
383 };
384
385 ldo24_reg: LDO24 {
386 regulator-name = "HRM_VCC_3.3V";
387 regulator-min-microvolt = <3000000>;
388 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900389
390 regulator-state-mem {
391 regulator-off-in-suspend;
392 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900393 };
394
395 ldo25_reg: LDO25 {
396 regulator-name = "UNUSED_LDO25";
397 regulator-min-microvolt = <3000000>;
398 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900399
400 regulator-state-mem {
401 regulator-off-in-suspend;
402 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900403 };
404
405 buck1_reg: BUCK1 {
406 regulator-name = "VAP_MIF_1.0V";
407 regulator-min-microvolt = <800000>;
408 regulator-max-microvolt = <900000>;
409 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900410
411 regulator-state-mem {
412 regulator-off-in-suspend;
413 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900414 };
415
416 buck2_reg: BUCK2 {
417 regulator-name = "VAP_ARM_1.0V";
418 regulator-min-microvolt = <850000>;
419 regulator-max-microvolt = <1150000>;
420 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900421
422 regulator-state-mem {
423 regulator-off-in-suspend;
424 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900425 };
426
427 buck3_reg: BUCK3 {
428 regulator-name = "VAP_INT3D_1.0V";
429 regulator-min-microvolt = <850000>;
430 regulator-max-microvolt = <1000000>;
431 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900432
433 regulator-state-mem {
434 regulator-off-in-suspend;
435 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900436 };
437
438 buck4_reg: BUCK4 {
439 regulator-name = "VCC_SUB_1.95V";
440 regulator-min-microvolt = <1950000>;
441 regulator-max-microvolt = <1950000>;
442 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900443
444 regulator-state-mem {
445 regulator-on-in-suspend;
446 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900447 };
448
449 buck5_reg: BUCK5 {
450 regulator-name = "VCC_SUB_1.35V";
451 regulator-min-microvolt = <1350000>;
452 regulator-max-microvolt = <1350000>;
453 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900454
455 regulator-state-mem {
456 regulator-on-in-suspend;
457 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900458 };
459 };
460 };
461};
462
463&i2c_1 {
464 #address-cells = <1>;
465 #size-cells = <0>;
466 samsung,i2c-sda-delay = <100>;
467 samsung,i2c-slave-addr = <0x10>;
468 samsung,i2c-max-bus-freq = <400000>;
469 status = "okay";
470
471 fuelgauge@36 {
472 compatible = "maxim,max77836-battery";
473 interrupt-parent = <&gpx1>;
474 interrupts = <2 8>;
475 reg = <0x36>;
476 };
477};
478
479&i2s2 {
480 status = "okay";
481};
482
483&mfc {
484 status = "okay";
485};
486
487&mshc_0 {
488 #address-cells = <1>;
489 #size-cells = <0>;
490 num-slots = <1>;
491 broken-cd;
492 non-removable;
493 cap-mmc-highspeed;
494 desc-num = <4>;
495 mmc-hs200-1_8v;
496 card-detect-delay = <200>;
497 vmmc-supply = <&ldo12_reg>;
498 clock-frequency = <100000000>;
499 clock-freq-min-max = <400000 100000000>;
500 samsung,dw-mshc-ciu-div = <1>;
501 samsung,dw-mshc-sdr-timing = <0 1>;
502 samsung,dw-mshc-ddr-timing = <1 2>;
503 pinctrl-names = "default";
504 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
505 bus-width = <8>;
506 status = "okay";
507};
508
509&serial_0 {
510 assigned-clocks = <&cmu CLK_SCLK_UART0>;
511 assigned-clock-rates = <100000000>;
512 status = "okay";
513};
514
515&serial_1 {
516 status = "okay";
517};
518
519&tmu {
520 vtmu-supply = <&ldo7_reg>;
521 status = "okay";
522};
523
524&rtc {
525 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
526 clock-names = "rtc", "rtc_src";
527 status = "okay";
528};
529
530&xusbxti {
531 clock-frequency = <24000000>;
532};
Chanwoo Choi18073d62014-11-07 08:10:13 +0900533
534&pinctrl_0 {
535 pinctrl-names = "default";
536 pinctrl-0 = <&sleep0>;
537
538 sleep0: sleep-state {
539 PIN_SLP(gpa0-0, INPUT, DOWN);
540 PIN_SLP(gpa0-1, INPUT, DOWN);
541 PIN_SLP(gpa0-2, INPUT, DOWN);
542 PIN_SLP(gpa0-3, INPUT, DOWN);
543 PIN_SLP(gpa0-4, INPUT, DOWN);
544 PIN_SLP(gpa0-5, INPUT, DOWN);
545 PIN_SLP(gpa0-6, INPUT, DOWN);
546 PIN_SLP(gpa0-7, INPUT, DOWN);
547
548 PIN_SLP(gpa1-0, INPUT, DOWN);
549 PIN_SLP(gpa1-1, INPUT, DOWN);
550 PIN_SLP(gpa1-2, INPUT, DOWN);
551 PIN_SLP(gpa1-3, INPUT, DOWN);
552 PIN_SLP(gpa1-4, INPUT, DOWN);
553 PIN_SLP(gpa1-5, INPUT, DOWN);
554
555 PIN_SLP(gpb-0, PREV, NONE);
556 PIN_SLP(gpb-1, PREV, NONE);
557 PIN_SLP(gpb-2, PREV, NONE);
558 PIN_SLP(gpb-3, PREV, NONE);
559 PIN_SLP(gpb-4, INPUT, DOWN);
560 PIN_SLP(gpb-5, INPUT, DOWN);
561 PIN_SLP(gpb-6, INPUT, DOWN);
562 PIN_SLP(gpb-7, INPUT, DOWN);
563
564 PIN_SLP(gpc0-0, INPUT, DOWN);
565 PIN_SLP(gpc0-1, INPUT, DOWN);
566 PIN_SLP(gpc0-2, INPUT, DOWN);
567 PIN_SLP(gpc0-3, INPUT, DOWN);
568 PIN_SLP(gpc0-4, INPUT, DOWN);
569
570 PIN_SLP(gpc1-0, INPUT, DOWN);
571 PIN_SLP(gpc1-1, INPUT, DOWN);
572 PIN_SLP(gpc1-2, INPUT, DOWN);
573 PIN_SLP(gpc1-3, INPUT, DOWN);
574 PIN_SLP(gpc1-4, INPUT, DOWN);
575
576 PIN_SLP(gpd0-0, INPUT, DOWN);
577 PIN_SLP(gpd0-1, INPUT, DOWN);
578 PIN_SLP(gpd0-2, INPUT, NONE);
579 PIN_SLP(gpd0-3, INPUT, NONE);
580
581 PIN_SLP(gpd1-0, INPUT, NONE);
582 PIN_SLP(gpd1-1, INPUT, NONE);
583 PIN_SLP(gpd1-2, INPUT, NONE);
584 PIN_SLP(gpd1-3, INPUT, NONE);
585 };
586};
587
588&pinctrl_1 {
589 pinctrl-names = "default";
590 pinctrl-0 = <&sleep1>;
591
592 sleep1: sleep-state {
593 PIN_SLP(gpe0-0, PREV, NONE);
594 PIN_SLP(gpe0-1, PREV, NONE);
595 PIN_SLP(gpe0-2, INPUT, DOWN);
596 PIN_SLP(gpe0-3, INPUT, UP);
597 PIN_SLP(gpe0-4, INPUT, DOWN);
598 PIN_SLP(gpe0-5, INPUT, DOWN);
599 PIN_SLP(gpe0-6, INPUT, DOWN);
600 PIN_SLP(gpe0-7, INPUT, DOWN);
601
602 PIN_SLP(gpe1-0, INPUT, DOWN);
603 PIN_SLP(gpe1-1, PREV, NONE);
604 PIN_SLP(gpe1-2, INPUT, DOWN);
605 PIN_SLP(gpe1-3, INPUT, DOWN);
606 PIN_SLP(gpe1-4, INPUT, DOWN);
607 PIN_SLP(gpe1-5, INPUT, DOWN);
608 PIN_SLP(gpe1-6, INPUT, DOWN);
609 PIN_SLP(gpe1-7, INPUT, NONE);
610
611 PIN_SLP(gpe2-0, INPUT, NONE);
612 PIN_SLP(gpe2-1, INPUT, NONE);
613 PIN_SLP(gpe2-2, INPUT, NONE);
614
615 PIN_SLP(gpk0-0, INPUT, DOWN);
616 PIN_SLP(gpk0-1, INPUT, DOWN);
617 PIN_SLP(gpk0-2, OUT0, NONE);
618 PIN_SLP(gpk0-3, INPUT, DOWN);
619 PIN_SLP(gpk0-4, INPUT, DOWN);
620 PIN_SLP(gpk0-5, INPUT, DOWN);
621 PIN_SLP(gpk0-6, INPUT, DOWN);
622 PIN_SLP(gpk0-7, INPUT, DOWN);
623
624 PIN_SLP(gpk1-0, INPUT, DOWN);
625 PIN_SLP(gpk1-1, INPUT, DOWN);
626 PIN_SLP(gpk1-2, INPUT, DOWN);
627 PIN_SLP(gpk1-3, INPUT, DOWN);
628 PIN_SLP(gpk1-4, INPUT, DOWN);
629 PIN_SLP(gpk1-5, INPUT, DOWN);
630 PIN_SLP(gpk1-6, INPUT, DOWN);
631
632 PIN_SLP(gpk2-0, INPUT, DOWN);
633 PIN_SLP(gpk2-1, INPUT, DOWN);
634 PIN_SLP(gpk2-2, INPUT, DOWN);
635 PIN_SLP(gpk2-3, INPUT, DOWN);
636 PIN_SLP(gpk2-4, INPUT, DOWN);
637 PIN_SLP(gpk2-5, INPUT, DOWN);
638 PIN_SLP(gpk2-6, INPUT, DOWN);
639
640 PIN_SLP(gpl0-0, INPUT, DOWN);
641 PIN_SLP(gpl0-1, INPUT, DOWN);
642 PIN_SLP(gpl0-2, INPUT, DOWN);
643 PIN_SLP(gpl0-3, INPUT, DOWN);
644
645 PIN_SLP(gpm0-0, INPUT, DOWN);
646 PIN_SLP(gpm0-1, INPUT, DOWN);
647 PIN_SLP(gpm0-2, INPUT, DOWN);
648 PIN_SLP(gpm0-3, INPUT, DOWN);
649 PIN_SLP(gpm0-4, INPUT, DOWN);
650 PIN_SLP(gpm0-5, INPUT, DOWN);
651 PIN_SLP(gpm0-6, INPUT, DOWN);
652 PIN_SLP(gpm0-7, INPUT, DOWN);
653
654 PIN_SLP(gpm1-0, INPUT, DOWN);
655 PIN_SLP(gpm1-1, INPUT, DOWN);
656 PIN_SLP(gpm1-2, INPUT, DOWN);
657 PIN_SLP(gpm1-3, INPUT, DOWN);
658 PIN_SLP(gpm1-4, INPUT, DOWN);
659 PIN_SLP(gpm1-5, INPUT, DOWN);
660 PIN_SLP(gpm1-6, INPUT, DOWN);
661
662 PIN_SLP(gpm2-0, INPUT, DOWN);
663 PIN_SLP(gpm2-1, INPUT, DOWN);
664 PIN_SLP(gpm2-2, INPUT, DOWN);
665 PIN_SLP(gpm2-3, INPUT, DOWN);
666 PIN_SLP(gpm2-4, INPUT, DOWN);
667
668 PIN_SLP(gpm3-0, INPUT, DOWN);
669 PIN_SLP(gpm3-1, INPUT, DOWN);
670 PIN_SLP(gpm3-2, INPUT, DOWN);
671 PIN_SLP(gpm3-3, INPUT, DOWN);
672 PIN_SLP(gpm3-4, INPUT, DOWN);
673 PIN_SLP(gpm3-5, INPUT, DOWN);
674 PIN_SLP(gpm3-6, INPUT, DOWN);
675 PIN_SLP(gpm3-7, INPUT, DOWN);
676
677 PIN_SLP(gpm4-0, INPUT, DOWN);
678 PIN_SLP(gpm4-1, INPUT, DOWN);
679 PIN_SLP(gpm4-2, INPUT, DOWN);
680 PIN_SLP(gpm4-3, INPUT, DOWN);
681 PIN_SLP(gpm4-4, INPUT, DOWN);
682 PIN_SLP(gpm4-5, INPUT, DOWN);
683 PIN_SLP(gpm4-6, INPUT, DOWN);
684 PIN_SLP(gpm4-7, INPUT, DOWN);
685 };
686};