blob: c7f4fab6dfd9308e9018fee4f97090d197349a09 [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>
Beomho Seo13b9b642015-01-12 18:00:15 +090018#include <dt-bindings/gpio/gpio.h>
Chanwoo Choifaaf3482014-11-07 08:10:12 +090019
20/ {
21 model = "Samsung Rinato board";
22 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
23
24 aliases {
25 i2c7 = &i2c_max77836;
26 };
27
28 memory {
29 reg = <0x40000000 0x1ff00000>;
30 };
31
Chanwoo Choifaaf3482014-11-07 08:10:12 +090032 firmware@0205F000 {
33 compatible = "samsung,secure-firmware";
34 reg = <0x0205F000 0x1000>;
35 };
36
37 gpio_keys {
38 compatible = "gpio-keys";
39
40 power_key {
Beomho Seo13b9b642015-01-12 18:00:15 +090041 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
Chanwoo Choifaaf3482014-11-07 08:10:12 +090042 linux,code = <KEY_POWER>;
43 label = "power key";
44 debounce-interval = <10>;
45 gpio-key,wakeup;
46 };
47 };
48
49 i2c_max77836: i2c-gpio-0 {
50 compatible = "i2c-gpio";
51 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
52 #address-cells = <1>;
53 #size-cells = <0>;
54
55 max77836: subpmic@25 {
56 compatible = "maxim,max77836";
57 interrupt-parent = <&gpx1>;
58 interrupts = <5 0>;
59 reg = <0x25>;
60 wakeup;
61
62 muic: max77836-muic {
63 compatible = "maxim,max77836-muic";
64 };
65
66 regulators {
67 compatible = "maxim,max77836-regulator";
68 safeout_reg: SAFEOUT {
69 regulator-name = "SAFEOUT";
70 };
71
72 charger_reg: CHARGER {
73 regulator-name = "CHARGER";
74 regulator-min-microamp = <45000>;
75 regulator-max-microamp = <475000>;
76 regulator-boot-on;
77 };
78
79 motor_reg: LDO1 {
80 regulator-name = "MOT_2.7V";
81 regulator-min-microvolt = <1100000>;
82 regulator-max-microvolt = <2700000>;
83 };
84
85 LDO2 {
86 regulator-name = "UNUSED_LDO2";
87 regulator-min-microvolt = <800000>;
88 regulator-max-microvolt = <3950000>;
89 };
90 };
91
92 charger {
93 compatible = "maxim,max77836-charger";
94
95 maxim,constant-uvolt = <4350000>;
96 maxim,fast-charge-uamp = <225000>;
97 maxim,eoc-uamp = <7500>;
98 maxim,ovp-uvolt = <6500000>;
99 };
100 };
101 };
102};
103
104&adc {
105 vdd-supply = <&ldo3_reg>;
106 status = "okay";
107 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
108 assigned-clock-rates = <6000000>;
109
110 thermistor-ap {
111 compatible = "ntc,ncp15wb473";
112 pullup-uv = <1800000>;
113 pullup-ohm = <100000>;
114 pulldown-ohm = <100000>;
115 io-channels = <&adc 0>;
116 };
117
118 thermistor-battery {
119 compatible = "ntc,ncp15wb473";
120 pullup-uv = <1800000>;
121 pullup-ohm = <100000>;
122 pulldown-ohm = <100000>;
123 io-channels = <&adc 1>;
124 };
125};
126
Jaewon Kimcdc38662015-01-12 17:54:54 +0900127&exynos_usbphy {
128 status = "okay";
129};
130
131&hsotg {
132 vusb_d-supply = <&ldo15_reg>;
133 vusb_a-supply = <&ldo12_reg>;
134 status = "okay";
135};
136
Inki Dae2ea24732015-01-12 18:10:27 +0900137&dsi_0 {
138 vddcore-supply = <&ldo6_reg>;
139 vddio-supply = <&ldo6_reg>;
140 samsung,pll-clock-frequency = <24000000>;
141 status = "okay";
142
143 ports {
144 #address-cells = <1>;
145 #size-cells = <0>;
146
147 port@1 {
148 reg = <1>;
149
150 dsi_out: endpoint {
151 remote-endpoint = <&dsi_in>;
152 samsung,burst-clock-frequency = <250000000>;
153 samsung,esc-clock-frequency = <20000000>;
154 };
155 };
156 };
157
158 panel@0 {
159 compatible = "samsung,s6e63j0x03";
160 reg = <0>;
161 vdd3-supply = <&ldo16_reg>;
162 vci-supply = <&ldo20_reg>;
163 reset-gpios = <&gpe0 1 0>;
164 te-gpios = <&gpx0 6 0>;
165 power-on-delay= <30>;
166 power-off-delay= <120>;
167 reset-delay = <5>;
168 init-delay = <100>;
169 flip-horizontal;
170 flip-vertical;
171 panel-width-mm = <29>;
172 panel-height-mm = <29>;
173
174 display-timings {
175 timing-0 {
176 clock-frequency = <0>;
177 hactive = <320>;
178 vactive = <320>;
179 hfront-porch = <1>;
180 hback-porch = <1>;
181 hsync-len = <1>;
182 vfront-porch = <150>;
183 vback-porch = <1>;
184 vsync-len = <2>;
185 };
186 };
187
188 port {
189 dsi_in: endpoint {
190 remote-endpoint = <&dsi_out>;
191 };
192 };
193 };
194};
195
Inki Daeb59b3af2015-01-12 18:08:37 +0900196&fimd {
197 status = "okay";
198
199 i80-if-timings {
200 cs-setup = <0>;
201 wr-setup = <0>;
202 wr-act = <1>;
203 wr-hold = <0>;
204 };
205};
206
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900207&i2c_0 {
208 #address-cells = <1>;
209 #size-cells = <0>;
210 samsung,i2c-sda-delay = <100>;
211 samsung,i2c-slave-addr = <0x10>;
212 samsung,i2c-max-bus-freq = <100000>;
213 status = "okay";
214
215 s2mps14_pmic@66 {
216 compatible = "samsung,s2mps14-pmic";
217 interrupt-parent = <&gpx0>;
218 interrupts = <7 0>;
219 reg = <0x66>;
220 wakeup;
221
222 s2mps14_osc: clocks {
223 compatible = "samsung,s2mps14-clk";
224 #clock-cells = <1>;
225 clock-output-names = "s2mps14_ap", "unused",
226 "s2mps14_bt";
227 };
228
229 regulators {
230 ldo1_reg: LDO1 {
231 regulator-name = "VAP_ALIVE_1.0V";
232 regulator-min-microvolt = <1000000>;
233 regulator-max-microvolt = <1000000>;
234 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900235
236 regulator-state-mem {
237 regulator-on-in-suspend;
238 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900239 };
240
241 ldo2_reg: LDO2 {
242 regulator-name = "VAP_M1_1.2V";
243 regulator-min-microvolt = <1200000>;
244 regulator-max-microvolt = <1200000>;
245 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900246
247 regulator-state-mem {
248 regulator-off-in-suspend;
249 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900250 };
251
252 ldo3_reg: LDO3 {
253 regulator-name = "VCC_AP_1.8V";
254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <1800000>;
256 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900257
258 regulator-state-mem {
259 regulator-off-in-suspend;
260 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900261 };
262
263 ldo4_reg: LDO4 {
264 regulator-name = "VAP_AVDD_PLL1";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
267 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900268
269 regulator-state-mem {
270 regulator-off-in-suspend;
271 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900272 };
273
274 ldo5_reg: LDO5 {
275 regulator-name = "VAP_PLL_ISO_1.0V";
276 regulator-min-microvolt = <1000000>;
277 regulator-max-microvolt = <1000000>;
278 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900279
280 regulator-state-mem {
281 regulator-off-in-suspend;
282 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900283 };
284
285 ldo6_reg: LDO6 {
286 regulator-name = "VAP_VMIPI_1.0V";
287 regulator-min-microvolt = <1000000>;
288 regulator-max-microvolt = <1000000>;
289 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900290
291 regulator-state-mem {
292 regulator-off-in-suspend;
293 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900294 };
295
296 ldo7_reg: LDO7 {
297 regulator-name = "VAP_AVDD_1.8V";
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
300 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900301
302 regulator-state-mem {
303 regulator-off-in-suspend;
304 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900305 };
306
307 ldo8_reg: LDO8 {
308 regulator-name = "VAP_USB_3.0V";
309 regulator-min-microvolt = <3000000>;
310 regulator-max-microvolt = <3000000>;
311 regulator-always-on;
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 ldo9_reg: LDO9 {
319 regulator-name = "V_LPDDR_1.2V";
320 regulator-min-microvolt = <1200000>;
321 regulator-max-microvolt = <1200000>;
322 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900323
324 regulator-state-mem {
325 regulator-on-in-suspend;
326 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900327 };
328
329 ldo10_reg: LDO10 {
330 regulator-name = "UNUSED_LDO10";
331 regulator-min-microvolt = <1000000>;
332 regulator-max-microvolt = <1000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900333
334 regulator-state-mem {
335 regulator-off-in-suspend;
336 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900337 };
338
339 ldo11_reg: LDO11 {
340 regulator-name = "V_EMMC_1.8V";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
343 samsung,ext-control-gpios = <&gpk0 2 0>;
344 };
345
346 ldo12_reg: LDO12 {
347 regulator-name = "V_EMMC_2.8V";
348 regulator-min-microvolt = <2800000>;
349 regulator-max-microvolt = <2800000>;
350 samsung,ext-control-gpios = <&gpk0 2 0>;
351 };
352
353 ldo13_reg: LDO13 {
354 regulator-name = "CAM_AVDD_2.8V";
355 regulator-min-microvolt = <2800000>;
356 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900357
358 regulator-state-mem {
359 regulator-off-in-suspend;
360 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900361 };
362
363 ldo14_reg: LDO14 {
364 regulator-name = "UNUSED_LDO14";
365 regulator-min-microvolt = <2700000>;
366 regulator-max-microvolt = <2700000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900367
368 regulator-state-mem {
369 regulator-off-in-suspend;
370 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900371 };
372
373 ldo15_reg: LDO15 {
374 regulator-name = "TSP_AVDD_3.3V";
375 regulator-min-microvolt = <3300000>;
376 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900377
378 regulator-state-mem {
379 regulator-off-in-suspend;
380 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900381 };
382
383 ldo16_reg: LDO16 {
384 regulator-name = "LCD_VDD_3.3V";
385 regulator-min-microvolt = <3300000>;
386 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900387
388 regulator-state-mem {
389 regulator-off-in-suspend;
390 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900391 };
392
393 ldo17_reg: LDO17 {
394 regulator-name = "V_IRLED_3.3V";
395 regulator-min-microvolt = <3300000>;
396 regulator-max-microvolt = <3300000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900397
398 regulator-state-mem {
399 regulator-off-in-suspend;
400 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900401 };
402
403 ldo18_reg: LDO18 {
404 regulator-name = "CAM_AF_2.8V";
405 regulator-min-microvolt = <2800000>;
406 regulator-max-microvolt = <2800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900407
408 regulator-state-mem {
409 regulator-off-in-suspend;
410 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900411 };
412
413 ldo19_reg: LDO19 {
414 regulator-name = "TSP_VDD_1.8V";
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900417
418 regulator-state-mem {
419 regulator-off-in-suspend;
420 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900421 };
422
423 ldo20_reg: LDO20 {
424 regulator-name = "LCD_VDD_1.8V";
425 regulator-min-microvolt = <1800000>;
426 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900427
428 regulator-state-mem {
429 regulator-off-in-suspend;
430 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900431 };
432
433 ldo21_reg: LDO21 {
434 regulator-name = "CAM_IO_1.8V";
435 regulator-min-microvolt = <1800000>;
436 regulator-max-microvolt = <1800000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900437
438 regulator-state-mem {
439 regulator-off-in-suspend;
440 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900441 };
442
443 ldo22_reg: LDO22 {
444 regulator-name = "CAM_DVDD_1.2V";
445 regulator-min-microvolt = <1200000>;
446 regulator-max-microvolt = <1200000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900447
448 regulator-state-mem {
449 regulator-off-in-suspend;
450 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900451 };
452
453 ldo23_reg: LDO23 {
454 regulator-name = "HRM_VCC_1.8V";
455 regulator-min-microvolt = <1800000>;
456 regulator-max-microvolt = <1800000>;
457 regulator-always-on;
458 };
459
460 ldo24_reg: LDO24 {
461 regulator-name = "HRM_VCC_3.3V";
462 regulator-min-microvolt = <3000000>;
463 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900464
465 regulator-state-mem {
466 regulator-off-in-suspend;
467 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900468 };
469
470 ldo25_reg: LDO25 {
471 regulator-name = "UNUSED_LDO25";
472 regulator-min-microvolt = <3000000>;
473 regulator-max-microvolt = <3000000>;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900474
475 regulator-state-mem {
476 regulator-off-in-suspend;
477 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900478 };
479
480 buck1_reg: BUCK1 {
481 regulator-name = "VAP_MIF_1.0V";
482 regulator-min-microvolt = <800000>;
483 regulator-max-microvolt = <900000>;
484 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900485
486 regulator-state-mem {
487 regulator-off-in-suspend;
488 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900489 };
490
491 buck2_reg: BUCK2 {
492 regulator-name = "VAP_ARM_1.0V";
493 regulator-min-microvolt = <850000>;
494 regulator-max-microvolt = <1150000>;
495 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900496
497 regulator-state-mem {
498 regulator-off-in-suspend;
499 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900500 };
501
502 buck3_reg: BUCK3 {
503 regulator-name = "VAP_INT3D_1.0V";
504 regulator-min-microvolt = <850000>;
505 regulator-max-microvolt = <1000000>;
506 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900507
508 regulator-state-mem {
509 regulator-off-in-suspend;
510 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900511 };
512
513 buck4_reg: BUCK4 {
514 regulator-name = "VCC_SUB_1.95V";
515 regulator-min-microvolt = <1950000>;
516 regulator-max-microvolt = <1950000>;
517 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900518
519 regulator-state-mem {
520 regulator-on-in-suspend;
521 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900522 };
523
524 buck5_reg: BUCK5 {
525 regulator-name = "VCC_SUB_1.35V";
526 regulator-min-microvolt = <1350000>;
527 regulator-max-microvolt = <1350000>;
528 regulator-always-on;
Chanwoo Choib9d7fda2014-11-07 08:10:13 +0900529
530 regulator-state-mem {
531 regulator-on-in-suspend;
532 };
Chanwoo Choifaaf3482014-11-07 08:10:12 +0900533 };
534 };
535 };
536};
537
538&i2c_1 {
539 #address-cells = <1>;
540 #size-cells = <0>;
541 samsung,i2c-sda-delay = <100>;
542 samsung,i2c-slave-addr = <0x10>;
543 samsung,i2c-max-bus-freq = <400000>;
544 status = "okay";
545
546 fuelgauge@36 {
547 compatible = "maxim,max77836-battery";
548 interrupt-parent = <&gpx1>;
549 interrupts = <2 8>;
550 reg = <0x36>;
551 };
552};
553
554&i2s2 {
555 status = "okay";
556};
557
558&mfc {
559 status = "okay";
560};
561
562&mshc_0 {
563 #address-cells = <1>;
564 #size-cells = <0>;
565 num-slots = <1>;
566 broken-cd;
567 non-removable;
568 cap-mmc-highspeed;
569 desc-num = <4>;
570 mmc-hs200-1_8v;
571 card-detect-delay = <200>;
572 vmmc-supply = <&ldo12_reg>;
573 clock-frequency = <100000000>;
574 clock-freq-min-max = <400000 100000000>;
575 samsung,dw-mshc-ciu-div = <1>;
576 samsung,dw-mshc-sdr-timing = <0 1>;
577 samsung,dw-mshc-ddr-timing = <1 2>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
580 bus-width = <8>;
581 status = "okay";
582};
583
584&serial_0 {
585 assigned-clocks = <&cmu CLK_SCLK_UART0>;
586 assigned-clock-rates = <100000000>;
587 status = "okay";
588};
589
590&serial_1 {
591 status = "okay";
592};
593
594&tmu {
595 vtmu-supply = <&ldo7_reg>;
596 status = "okay";
597};
598
599&rtc {
600 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
601 clock-names = "rtc", "rtc_src";
602 status = "okay";
603};
604
605&xusbxti {
606 clock-frequency = <24000000>;
607};
Chanwoo Choi18073d62014-11-07 08:10:13 +0900608
609&pinctrl_0 {
610 pinctrl-names = "default";
611 pinctrl-0 = <&sleep0>;
612
613 sleep0: sleep-state {
614 PIN_SLP(gpa0-0, INPUT, DOWN);
615 PIN_SLP(gpa0-1, INPUT, DOWN);
616 PIN_SLP(gpa0-2, INPUT, DOWN);
617 PIN_SLP(gpa0-3, INPUT, DOWN);
618 PIN_SLP(gpa0-4, INPUT, DOWN);
619 PIN_SLP(gpa0-5, INPUT, DOWN);
620 PIN_SLP(gpa0-6, INPUT, DOWN);
621 PIN_SLP(gpa0-7, INPUT, DOWN);
622
623 PIN_SLP(gpa1-0, INPUT, DOWN);
624 PIN_SLP(gpa1-1, INPUT, DOWN);
625 PIN_SLP(gpa1-2, INPUT, DOWN);
626 PIN_SLP(gpa1-3, INPUT, DOWN);
627 PIN_SLP(gpa1-4, INPUT, DOWN);
628 PIN_SLP(gpa1-5, INPUT, DOWN);
629
630 PIN_SLP(gpb-0, PREV, NONE);
631 PIN_SLP(gpb-1, PREV, NONE);
632 PIN_SLP(gpb-2, PREV, NONE);
633 PIN_SLP(gpb-3, PREV, NONE);
634 PIN_SLP(gpb-4, INPUT, DOWN);
635 PIN_SLP(gpb-5, INPUT, DOWN);
636 PIN_SLP(gpb-6, INPUT, DOWN);
637 PIN_SLP(gpb-7, INPUT, DOWN);
638
639 PIN_SLP(gpc0-0, INPUT, DOWN);
640 PIN_SLP(gpc0-1, INPUT, DOWN);
641 PIN_SLP(gpc0-2, INPUT, DOWN);
642 PIN_SLP(gpc0-3, INPUT, DOWN);
643 PIN_SLP(gpc0-4, INPUT, DOWN);
644
645 PIN_SLP(gpc1-0, INPUT, DOWN);
646 PIN_SLP(gpc1-1, INPUT, DOWN);
647 PIN_SLP(gpc1-2, INPUT, DOWN);
648 PIN_SLP(gpc1-3, INPUT, DOWN);
649 PIN_SLP(gpc1-4, INPUT, DOWN);
650
651 PIN_SLP(gpd0-0, INPUT, DOWN);
652 PIN_SLP(gpd0-1, INPUT, DOWN);
653 PIN_SLP(gpd0-2, INPUT, NONE);
654 PIN_SLP(gpd0-3, INPUT, NONE);
655
656 PIN_SLP(gpd1-0, INPUT, NONE);
657 PIN_SLP(gpd1-1, INPUT, NONE);
658 PIN_SLP(gpd1-2, INPUT, NONE);
659 PIN_SLP(gpd1-3, INPUT, NONE);
660 };
661};
662
663&pinctrl_1 {
664 pinctrl-names = "default";
665 pinctrl-0 = <&sleep1>;
666
667 sleep1: sleep-state {
668 PIN_SLP(gpe0-0, PREV, NONE);
669 PIN_SLP(gpe0-1, PREV, NONE);
670 PIN_SLP(gpe0-2, INPUT, DOWN);
671 PIN_SLP(gpe0-3, INPUT, UP);
672 PIN_SLP(gpe0-4, INPUT, DOWN);
673 PIN_SLP(gpe0-5, INPUT, DOWN);
674 PIN_SLP(gpe0-6, INPUT, DOWN);
675 PIN_SLP(gpe0-7, INPUT, DOWN);
676
677 PIN_SLP(gpe1-0, INPUT, DOWN);
678 PIN_SLP(gpe1-1, PREV, NONE);
679 PIN_SLP(gpe1-2, INPUT, DOWN);
680 PIN_SLP(gpe1-3, INPUT, DOWN);
681 PIN_SLP(gpe1-4, INPUT, DOWN);
682 PIN_SLP(gpe1-5, INPUT, DOWN);
683 PIN_SLP(gpe1-6, INPUT, DOWN);
684 PIN_SLP(gpe1-7, INPUT, NONE);
685
686 PIN_SLP(gpe2-0, INPUT, NONE);
687 PIN_SLP(gpe2-1, INPUT, NONE);
688 PIN_SLP(gpe2-2, INPUT, NONE);
689
690 PIN_SLP(gpk0-0, INPUT, DOWN);
691 PIN_SLP(gpk0-1, INPUT, DOWN);
692 PIN_SLP(gpk0-2, OUT0, NONE);
693 PIN_SLP(gpk0-3, INPUT, DOWN);
694 PIN_SLP(gpk0-4, INPUT, DOWN);
695 PIN_SLP(gpk0-5, INPUT, DOWN);
696 PIN_SLP(gpk0-6, INPUT, DOWN);
697 PIN_SLP(gpk0-7, INPUT, DOWN);
698
699 PIN_SLP(gpk1-0, INPUT, DOWN);
700 PIN_SLP(gpk1-1, INPUT, DOWN);
701 PIN_SLP(gpk1-2, INPUT, DOWN);
702 PIN_SLP(gpk1-3, INPUT, DOWN);
703 PIN_SLP(gpk1-4, INPUT, DOWN);
704 PIN_SLP(gpk1-5, INPUT, DOWN);
705 PIN_SLP(gpk1-6, INPUT, DOWN);
706
707 PIN_SLP(gpk2-0, INPUT, DOWN);
708 PIN_SLP(gpk2-1, INPUT, DOWN);
709 PIN_SLP(gpk2-2, INPUT, DOWN);
710 PIN_SLP(gpk2-3, INPUT, DOWN);
711 PIN_SLP(gpk2-4, INPUT, DOWN);
712 PIN_SLP(gpk2-5, INPUT, DOWN);
713 PIN_SLP(gpk2-6, INPUT, DOWN);
714
715 PIN_SLP(gpl0-0, INPUT, DOWN);
716 PIN_SLP(gpl0-1, INPUT, DOWN);
717 PIN_SLP(gpl0-2, INPUT, DOWN);
718 PIN_SLP(gpl0-3, INPUT, DOWN);
719
720 PIN_SLP(gpm0-0, INPUT, DOWN);
721 PIN_SLP(gpm0-1, INPUT, DOWN);
722 PIN_SLP(gpm0-2, INPUT, DOWN);
723 PIN_SLP(gpm0-3, INPUT, DOWN);
724 PIN_SLP(gpm0-4, INPUT, DOWN);
725 PIN_SLP(gpm0-5, INPUT, DOWN);
726 PIN_SLP(gpm0-6, INPUT, DOWN);
727 PIN_SLP(gpm0-7, INPUT, DOWN);
728
729 PIN_SLP(gpm1-0, INPUT, DOWN);
730 PIN_SLP(gpm1-1, INPUT, DOWN);
731 PIN_SLP(gpm1-2, INPUT, DOWN);
732 PIN_SLP(gpm1-3, INPUT, DOWN);
733 PIN_SLP(gpm1-4, INPUT, DOWN);
734 PIN_SLP(gpm1-5, INPUT, DOWN);
735 PIN_SLP(gpm1-6, INPUT, DOWN);
736
737 PIN_SLP(gpm2-0, INPUT, DOWN);
738 PIN_SLP(gpm2-1, INPUT, DOWN);
739 PIN_SLP(gpm2-2, INPUT, DOWN);
740 PIN_SLP(gpm2-3, INPUT, DOWN);
741 PIN_SLP(gpm2-4, INPUT, DOWN);
742
743 PIN_SLP(gpm3-0, INPUT, DOWN);
744 PIN_SLP(gpm3-1, INPUT, DOWN);
745 PIN_SLP(gpm3-2, INPUT, DOWN);
746 PIN_SLP(gpm3-3, INPUT, DOWN);
747 PIN_SLP(gpm3-4, INPUT, DOWN);
748 PIN_SLP(gpm3-5, INPUT, DOWN);
749 PIN_SLP(gpm3-6, INPUT, DOWN);
750 PIN_SLP(gpm3-7, INPUT, DOWN);
751
752 PIN_SLP(gpm4-0, INPUT, DOWN);
753 PIN_SLP(gpm4-1, INPUT, DOWN);
754 PIN_SLP(gpm4-2, INPUT, DOWN);
755 PIN_SLP(gpm4-3, INPUT, DOWN);
756 PIN_SLP(gpm4-4, INPUT, DOWN);
757 PIN_SLP(gpm4-5, INPUT, DOWN);
758 PIN_SLP(gpm4-6, INPUT, DOWN);
759 PIN_SLP(gpm4-7, INPUT, DOWN);
760 };
761};