]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/exynos3250-rinato.dts
ARM: dts: exynos: Clarify comment explaining purpose of Odroid XU3 DTSI
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / exynos3250-rinato.dts
CommitLineData
cc4637f7 1// SPDX-License-Identifier: GPL-2.0
faaf348e
CC
2/*
3 * Samsung's Exynos3250 based Rinato board device tree source
4 *
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * Device tree source file for Samsung's Rinato board which is based on
9 * Samsung Exynos3250 SoC.
faaf348e
CC
10 */
11
12/dts-v1/;
13#include "exynos3250.dtsi"
4a80467a 14#include "exynos4412-ppmu-common.dtsi"
faaf348e 15#include <dt-bindings/input/input.h>
13b9b64e 16#include <dt-bindings/gpio/gpio.h>
9f802938 17#include <dt-bindings/clock/samsung,s2mps11.h>
faaf348e
CC
18
19/ {
20 model = "Samsung Rinato board";
21 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
22
23 aliases {
24 i2c7 = &i2c_max77836;
25 };
26
c31a9a64
MS
27 chosen {
28 stdout-path = &serial_1;
29 };
30
2458ff00 31 memory@40000000 {
33c3de7e 32 device_type = "memory";
faaf348e
CC
33 reg = <0x40000000 0x1ff00000>;
34 };
35
8dccafaa 36 firmware@205f000 {
faaf348e
CC
37 compatible = "samsung,secure-firmware";
38 reg = <0x0205F000 0x1000>;
39 };
40
41 gpio_keys {
42 compatible = "gpio-keys";
43
44 power_key {
13b9b64e 45 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
faaf348e
CC
46 linux,code = <KEY_POWER>;
47 label = "power key";
48 debounce-interval = <10>;
36a0282a 49 wakeup-source;
faaf348e
CC
50 };
51 };
52
53 i2c_max77836: i2c-gpio-0 {
54 compatible = "i2c-gpio";
de77e52d 55 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
faaf348e
CC
56 #address-cells = <1>;
57 #size-cells = <0>;
58
59 max77836: subpmic@25 {
60 compatible = "maxim,max77836";
61 interrupt-parent = <&gpx1>;
6ff0b90d 62 interrupts = <5 IRQ_TYPE_NONE>;
faaf348e 63 reg = <0x25>;
36a0282a 64 wakeup-source;
faaf348e
CC
65
66 muic: max77836-muic {
67 compatible = "maxim,max77836-muic";
68 };
69
70 regulators {
71 compatible = "maxim,max77836-regulator";
72 safeout_reg: SAFEOUT {
73 regulator-name = "SAFEOUT";
74 };
75
76 charger_reg: CHARGER {
77 regulator-name = "CHARGER";
78 regulator-min-microamp = <45000>;
79 regulator-max-microamp = <475000>;
80 regulator-boot-on;
81 };
82
83 motor_reg: LDO1 {
84 regulator-name = "MOT_2.7V";
85 regulator-min-microvolt = <1100000>;
86 regulator-max-microvolt = <2700000>;
87 };
88
89 LDO2 {
90 regulator-name = "UNUSED_LDO2";
91 regulator-min-microvolt = <800000>;
92 regulator-max-microvolt = <3950000>;
93 };
94 };
95
96 charger {
97 compatible = "maxim,max77836-charger";
98
99 maxim,constant-uvolt = <4350000>;
100 maxim,fast-charge-uamp = <225000>;
101 maxim,eoc-uamp = <7500>;
102 maxim,ovp-uvolt = <6500000>;
103 };
104 };
105 };
c0276bc1
JK
106
107 haptics {
108 compatible = "regulator-haptic";
109 haptic-supply = <&motor_reg>;
110 min-microvolt = <1100000>;
111 max-microvolt = <2700000>;
112 };
5600f8cc
CC
113
114 thermal-zones {
115 cpu_thermal: cpu-thermal {
116 cooling-maps {
117 map0 {
118 /* Corresponds to 500MHz */
119 cooling-device = <&cpu0 5 5>;
120 };
121 map1 {
122 /* Corresponds to 200MHz */
123 cooling-device = <&cpu0 8 8>;
124 };
125 };
126 };
127 };
faaf348e
CC
128};
129
130&adc {
131 vdd-supply = <&ldo3_reg>;
132 status = "okay";
133 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
134 assigned-clock-rates = <6000000>;
135
136 thermistor-ap {
137 compatible = "ntc,ncp15wb473";
138 pullup-uv = <1800000>;
139 pullup-ohm = <100000>;
140 pulldown-ohm = <100000>;
141 io-channels = <&adc 0>;
142 };
143
144 thermistor-battery {
145 compatible = "ntc,ncp15wb473";
146 pullup-uv = <1800000>;
147 pullup-ohm = <100000>;
148 pulldown-ohm = <100000>;
149 io-channels = <&adc 1>;
150 };
151};
152
e9a53680
CC
153&bus_dmc {
154 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
155 vdd-supply = <&buck1_reg>;
156 status = "okay";
157};
158
691d010e
CC
159&bus_leftbus {
160 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
161 vdd-supply = <&buck3_reg>;
162 status = "okay";
163};
164
165&bus_rightbus {
166 devfreq = <&bus_leftbus>;
167 status = "okay";
168};
169
170&bus_lcd0 {
171 devfreq = <&bus_leftbus>;
172 status = "okay";
173};
174
175&bus_fsys {
176 devfreq = <&bus_leftbus>;
177 status = "okay";
178};
179
180&bus_mcuisp {
181 devfreq = <&bus_leftbus>;
182 status = "okay";
183};
184
185&bus_isp {
186 devfreq = <&bus_leftbus>;
187 status = "okay";
188};
189
190&bus_peril {
191 devfreq = <&bus_leftbus>;
192 status = "okay";
193};
194
195&bus_mfc {
196 devfreq = <&bus_leftbus>;
197 status = "okay";
198};
199
48816aff
CC
200&cpu0 {
201 cpu0-supply = <&buck2_reg>;
202};
203
cdc38668
JK
204&exynos_usbphy {
205 status = "okay";
4ae9a4c6 206 vbus-supply = <&safeout_reg>;
cdc38668
JK
207};
208
209&hsotg {
210 vusb_d-supply = <&ldo15_reg>;
211 vusb_a-supply = <&ldo12_reg>;
32f144f2 212 dr_mode = "peripheral";
cdc38668
JK
213 status = "okay";
214};
215
2ea2473d
ID
216&dsi_0 {
217 vddcore-supply = <&ldo6_reg>;
218 vddio-supply = <&ldo6_reg>;
4c74ea4e
HK
219 samsung,burst-clock-frequency = <250000000>;
220 samsung,esc-clock-frequency = <20000000>;
2ea2473d
ID
221 samsung,pll-clock-frequency = <24000000>;
222 status = "okay";
223
2ea2473d
ID
224 panel@0 {
225 compatible = "samsung,s6e63j0x03";
226 reg = <0>;
227 vdd3-supply = <&ldo16_reg>;
228 vci-supply = <&ldo20_reg>;
bc8ebb86 229 reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
de77e52d 230 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
2ea2473d
ID
231 };
232};
233
b59b3afb
ID
234&fimd {
235 status = "okay";
236
237 i80-if-timings {
238 cs-setup = <0>;
239 wr-setup = <0>;
240 wr-act = <1>;
241 wr-hold = <0>;
242 };
243};
244
faaf348e
CC
245&i2c_0 {
246 #address-cells = <1>;
247 #size-cells = <0>;
248 samsung,i2c-sda-delay = <100>;
249 samsung,i2c-slave-addr = <0x10>;
250 samsung,i2c-max-bus-freq = <100000>;
251 status = "okay";
252
253 s2mps14_pmic@66 {
254 compatible = "samsung,s2mps14-pmic";
255 interrupt-parent = <&gpx0>;
6ff0b90d 256 interrupts = <7 IRQ_TYPE_NONE>;
faaf348e 257 reg = <0x66>;
36a0282a 258 wakeup-source;
faaf348e
CC
259
260 s2mps14_osc: clocks {
261 compatible = "samsung,s2mps14-clk";
262 #clock-cells = <1>;
263 clock-output-names = "s2mps14_ap", "unused",
264 "s2mps14_bt";
265 };
266
267 regulators {
268 ldo1_reg: LDO1 {
269 regulator-name = "VAP_ALIVE_1.0V";
270 regulator-min-microvolt = <1000000>;
271 regulator-max-microvolt = <1000000>;
272 regulator-always-on;
b9d7fdac
CC
273
274 regulator-state-mem {
275 regulator-on-in-suspend;
276 };
faaf348e
CC
277 };
278
279 ldo2_reg: LDO2 {
280 regulator-name = "VAP_M1_1.2V";
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
283 regulator-always-on;
b9d7fdac
CC
284
285 regulator-state-mem {
286 regulator-off-in-suspend;
287 };
faaf348e
CC
288 };
289
290 ldo3_reg: LDO3 {
291 regulator-name = "VCC_AP_1.8V";
292 regulator-min-microvolt = <1800000>;
293 regulator-max-microvolt = <1800000>;
294 regulator-always-on;
b9d7fdac
CC
295
296 regulator-state-mem {
297 regulator-off-in-suspend;
298 };
faaf348e
CC
299 };
300
301 ldo4_reg: LDO4 {
302 regulator-name = "VAP_AVDD_PLL1";
303 regulator-min-microvolt = <1800000>;
304 regulator-max-microvolt = <1800000>;
305 regulator-always-on;
b9d7fdac
CC
306
307 regulator-state-mem {
308 regulator-off-in-suspend;
309 };
faaf348e
CC
310 };
311
312 ldo5_reg: LDO5 {
313 regulator-name = "VAP_PLL_ISO_1.0V";
314 regulator-min-microvolt = <1000000>;
315 regulator-max-microvolt = <1000000>;
316 regulator-always-on;
b9d7fdac
CC
317
318 regulator-state-mem {
319 regulator-off-in-suspend;
320 };
faaf348e
CC
321 };
322
323 ldo6_reg: LDO6 {
324 regulator-name = "VAP_VMIPI_1.0V";
325 regulator-min-microvolt = <1000000>;
326 regulator-max-microvolt = <1000000>;
327 regulator-always-on;
b9d7fdac
CC
328
329 regulator-state-mem {
330 regulator-off-in-suspend;
331 };
faaf348e
CC
332 };
333
334 ldo7_reg: LDO7 {
335 regulator-name = "VAP_AVDD_1.8V";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <1800000>;
338 regulator-always-on;
b9d7fdac
CC
339
340 regulator-state-mem {
341 regulator-off-in-suspend;
342 };
faaf348e
CC
343 };
344
345 ldo8_reg: LDO8 {
346 regulator-name = "VAP_USB_3.0V";
347 regulator-min-microvolt = <3000000>;
348 regulator-max-microvolt = <3000000>;
349 regulator-always-on;
b9d7fdac
CC
350
351 regulator-state-mem {
352 regulator-off-in-suspend;
353 };
faaf348e
CC
354 };
355
356 ldo9_reg: LDO9 {
357 regulator-name = "V_LPDDR_1.2V";
358 regulator-min-microvolt = <1200000>;
359 regulator-max-microvolt = <1200000>;
360 regulator-always-on;
b9d7fdac
CC
361
362 regulator-state-mem {
363 regulator-on-in-suspend;
364 };
faaf348e
CC
365 };
366
367 ldo10_reg: LDO10 {
368 regulator-name = "UNUSED_LDO10";
369 regulator-min-microvolt = <1000000>;
370 regulator-max-microvolt = <1000000>;
b9d7fdac
CC
371
372 regulator-state-mem {
373 regulator-off-in-suspend;
374 };
faaf348e
CC
375 };
376
377 ldo11_reg: LDO11 {
378 regulator-name = "V_EMMC_1.8V";
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <1800000>;
de77e52d 381 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
faaf348e
CC
382 };
383
384 ldo12_reg: LDO12 {
385 regulator-name = "V_EMMC_2.8V";
386 regulator-min-microvolt = <2800000>;
387 regulator-max-microvolt = <2800000>;
de77e52d 388 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
faaf348e
CC
389 };
390
391 ldo13_reg: LDO13 {
392 regulator-name = "CAM_AVDD_2.8V";
393 regulator-min-microvolt = <2800000>;
394 regulator-max-microvolt = <2800000>;
b9d7fdac
CC
395
396 regulator-state-mem {
397 regulator-off-in-suspend;
398 };
faaf348e
CC
399 };
400
401 ldo14_reg: LDO14 {
402 regulator-name = "UNUSED_LDO14";
403 regulator-min-microvolt = <2700000>;
404 regulator-max-microvolt = <2700000>;
b9d7fdac
CC
405
406 regulator-state-mem {
407 regulator-off-in-suspend;
408 };
faaf348e
CC
409 };
410
411 ldo15_reg: LDO15 {
412 regulator-name = "TSP_AVDD_3.3V";
413 regulator-min-microvolt = <3300000>;
414 regulator-max-microvolt = <3300000>;
b9d7fdac
CC
415
416 regulator-state-mem {
417 regulator-off-in-suspend;
418 };
faaf348e
CC
419 };
420
421 ldo16_reg: LDO16 {
422 regulator-name = "LCD_VDD_3.3V";
423 regulator-min-microvolt = <3300000>;
424 regulator-max-microvolt = <3300000>;
b9d7fdac
CC
425
426 regulator-state-mem {
427 regulator-off-in-suspend;
428 };
faaf348e
CC
429 };
430
431 ldo17_reg: LDO17 {
432 regulator-name = "V_IRLED_3.3V";
433 regulator-min-microvolt = <3300000>;
434 regulator-max-microvolt = <3300000>;
b9d7fdac
CC
435
436 regulator-state-mem {
437 regulator-off-in-suspend;
438 };
faaf348e
CC
439 };
440
441 ldo18_reg: LDO18 {
442 regulator-name = "CAM_AF_2.8V";
443 regulator-min-microvolt = <2800000>;
444 regulator-max-microvolt = <2800000>;
b9d7fdac
CC
445
446 regulator-state-mem {
447 regulator-off-in-suspend;
448 };
faaf348e
CC
449 };
450
451 ldo19_reg: LDO19 {
452 regulator-name = "TSP_VDD_1.8V";
453 regulator-min-microvolt = <1800000>;
454 regulator-max-microvolt = <1800000>;
b9d7fdac
CC
455
456 regulator-state-mem {
457 regulator-off-in-suspend;
458 };
faaf348e
CC
459 };
460
461 ldo20_reg: LDO20 {
462 regulator-name = "LCD_VDD_1.8V";
463 regulator-min-microvolt = <1800000>;
464 regulator-max-microvolt = <1800000>;
b9d7fdac
CC
465
466 regulator-state-mem {
467 regulator-off-in-suspend;
468 };
faaf348e
CC
469 };
470
471 ldo21_reg: LDO21 {
472 regulator-name = "CAM_IO_1.8V";
473 regulator-min-microvolt = <1800000>;
474 regulator-max-microvolt = <1800000>;
b9d7fdac
CC
475
476 regulator-state-mem {
477 regulator-off-in-suspend;
478 };
faaf348e
CC
479 };
480
481 ldo22_reg: LDO22 {
482 regulator-name = "CAM_DVDD_1.2V";
483 regulator-min-microvolt = <1200000>;
484 regulator-max-microvolt = <1200000>;
b9d7fdac
CC
485
486 regulator-state-mem {
487 regulator-off-in-suspend;
488 };
faaf348e
CC
489 };
490
491 ldo23_reg: LDO23 {
492 regulator-name = "HRM_VCC_1.8V";
493 regulator-min-microvolt = <1800000>;
494 regulator-max-microvolt = <1800000>;
495 regulator-always-on;
496 };
497
498 ldo24_reg: LDO24 {
499 regulator-name = "HRM_VCC_3.3V";
500 regulator-min-microvolt = <3000000>;
501 regulator-max-microvolt = <3000000>;
b9d7fdac
CC
502
503 regulator-state-mem {
504 regulator-off-in-suspend;
505 };
faaf348e
CC
506 };
507
508 ldo25_reg: LDO25 {
509 regulator-name = "UNUSED_LDO25";
510 regulator-min-microvolt = <3000000>;
511 regulator-max-microvolt = <3000000>;
b9d7fdac
CC
512
513 regulator-state-mem {
514 regulator-off-in-suspend;
515 };
faaf348e
CC
516 };
517
518 buck1_reg: BUCK1 {
519 regulator-name = "VAP_MIF_1.0V";
520 regulator-min-microvolt = <800000>;
521 regulator-max-microvolt = <900000>;
522 regulator-always-on;
b9d7fdac
CC
523
524 regulator-state-mem {
525 regulator-off-in-suspend;
526 };
faaf348e
CC
527 };
528
529 buck2_reg: BUCK2 {
530 regulator-name = "VAP_ARM_1.0V";
531 regulator-min-microvolt = <850000>;
532 regulator-max-microvolt = <1150000>;
533 regulator-always-on;
b9d7fdac
CC
534
535 regulator-state-mem {
536 regulator-off-in-suspend;
537 };
faaf348e
CC
538 };
539
540 buck3_reg: BUCK3 {
541 regulator-name = "VAP_INT3D_1.0V";
542 regulator-min-microvolt = <850000>;
543 regulator-max-microvolt = <1000000>;
544 regulator-always-on;
b9d7fdac
CC
545
546 regulator-state-mem {
547 regulator-off-in-suspend;
548 };
faaf348e
CC
549 };
550
551 buck4_reg: BUCK4 {
552 regulator-name = "VCC_SUB_1.95V";
553 regulator-min-microvolt = <1950000>;
554 regulator-max-microvolt = <1950000>;
555 regulator-always-on;
b9d7fdac
CC
556
557 regulator-state-mem {
558 regulator-on-in-suspend;
559 };
faaf348e
CC
560 };
561
562 buck5_reg: BUCK5 {
563 regulator-name = "VCC_SUB_1.35V";
564 regulator-min-microvolt = <1350000>;
565 regulator-max-microvolt = <1350000>;
566 regulator-always-on;
b9d7fdac
CC
567
568 regulator-state-mem {
569 regulator-on-in-suspend;
570 };
faaf348e
CC
571 };
572 };
573 };
574};
575
576&i2c_1 {
577 #address-cells = <1>;
578 #size-cells = <0>;
579 samsung,i2c-sda-delay = <100>;
580 samsung,i2c-slave-addr = <0x10>;
581 samsung,i2c-max-bus-freq = <400000>;
582 status = "okay";
583
584 fuelgauge@36 {
585 compatible = "maxim,max77836-battery";
586 interrupt-parent = <&gpx1>;
6ff0b90d 587 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
faaf348e
CC
588 reg = <0x36>;
589 };
590};
591
592&i2s2 {
593 status = "okay";
594};
595
a1c0013c
JA
596&jpeg {
597 status = "okay";
598};
599
faaf348e
CC
600&mshc_0 {
601 #address-cells = <1>;
602 #size-cells = <0>;
faaf348e
CC
603 broken-cd;
604 non-removable;
605 cap-mmc-highspeed;
606 desc-num = <4>;
607 mmc-hs200-1_8v;
608 card-detect-delay = <200>;
609 vmmc-supply = <&ldo12_reg>;
610 clock-frequency = <100000000>;
9adce7a4 611 max-frequency = <100000000>;
faaf348e
CC
612 samsung,dw-mshc-ciu-div = <1>;
613 samsung,dw-mshc-sdr-timing = <0 1>;
614 samsung,dw-mshc-ddr-timing = <1 2>;
615 pinctrl-names = "default";
616 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
617 bus-width = <8>;
618 status = "okay";
619};
620
621&serial_0 {
622 assigned-clocks = <&cmu CLK_SCLK_UART0>;
623 assigned-clock-rates = <100000000>;
624 status = "okay";
625};
626
627&serial_1 {
628 status = "okay";
629};
630
631&tmu {
632 vtmu-supply = <&ldo7_reg>;
633 status = "okay";
634};
635
636&rtc {
9f802938 637 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
faaf348e
CC
638 clock-names = "rtc", "rtc_src";
639 status = "okay";
640};
641
642&xusbxti {
643 clock-frequency = <24000000>;
644};
18073d6e
CC
645
646&pinctrl_0 {
647 pinctrl-names = "default";
40bbd191
CC
648 pinctrl-0 = <&initial0 &sleep0>;
649
650 initial0: initial-state {
651 PIN_IN(gpa1-4, DOWN, LV1);
652 PIN_IN(gpa1-5, DOWN, LV1);
653
654 PIN_IN(gpc0-0, DOWN, LV1);
655 PIN_IN(gpc0-1, DOWN, LV1);
656 PIN_IN(gpc0-2, DOWN, LV1);
657 PIN_IN(gpc0-3, DOWN, LV1);
658 PIN_IN(gpc0-4, DOWN, LV1);
659
660 PIN_IN(gpd0-0, DOWN, LV1);
661 PIN_IN(gpd0-1, DOWN, LV1);
662 };
18073d6e
CC
663
664 sleep0: sleep-state {
665 PIN_SLP(gpa0-0, INPUT, DOWN);
666 PIN_SLP(gpa0-1, INPUT, DOWN);
667 PIN_SLP(gpa0-2, INPUT, DOWN);
668 PIN_SLP(gpa0-3, INPUT, DOWN);
669 PIN_SLP(gpa0-4, INPUT, DOWN);
670 PIN_SLP(gpa0-5, INPUT, DOWN);
671 PIN_SLP(gpa0-6, INPUT, DOWN);
672 PIN_SLP(gpa0-7, INPUT, DOWN);
673
674 PIN_SLP(gpa1-0, INPUT, DOWN);
675 PIN_SLP(gpa1-1, INPUT, DOWN);
676 PIN_SLP(gpa1-2, INPUT, DOWN);
677 PIN_SLP(gpa1-3, INPUT, DOWN);
678 PIN_SLP(gpa1-4, INPUT, DOWN);
679 PIN_SLP(gpa1-5, INPUT, DOWN);
680
681 PIN_SLP(gpb-0, PREV, NONE);
682 PIN_SLP(gpb-1, PREV, NONE);
683 PIN_SLP(gpb-2, PREV, NONE);
684 PIN_SLP(gpb-3, PREV, NONE);
685 PIN_SLP(gpb-4, INPUT, DOWN);
686 PIN_SLP(gpb-5, INPUT, DOWN);
687 PIN_SLP(gpb-6, INPUT, DOWN);
688 PIN_SLP(gpb-7, INPUT, DOWN);
689
690 PIN_SLP(gpc0-0, INPUT, DOWN);
691 PIN_SLP(gpc0-1, INPUT, DOWN);
692 PIN_SLP(gpc0-2, INPUT, DOWN);
693 PIN_SLP(gpc0-3, INPUT, DOWN);
694 PIN_SLP(gpc0-4, INPUT, DOWN);
695
696 PIN_SLP(gpc1-0, INPUT, DOWN);
697 PIN_SLP(gpc1-1, INPUT, DOWN);
698 PIN_SLP(gpc1-2, INPUT, DOWN);
699 PIN_SLP(gpc1-3, INPUT, DOWN);
700 PIN_SLP(gpc1-4, INPUT, DOWN);
701
702 PIN_SLP(gpd0-0, INPUT, DOWN);
703 PIN_SLP(gpd0-1, INPUT, DOWN);
704 PIN_SLP(gpd0-2, INPUT, NONE);
705 PIN_SLP(gpd0-3, INPUT, NONE);
706
707 PIN_SLP(gpd1-0, INPUT, NONE);
708 PIN_SLP(gpd1-1, INPUT, NONE);
709 PIN_SLP(gpd1-2, INPUT, NONE);
710 PIN_SLP(gpd1-3, INPUT, NONE);
711 };
712};
713
714&pinctrl_1 {
715 pinctrl-names = "default";
40bbd191
CC
716 pinctrl-0 = <&initial1 &sleep1>;
717
718 initial1: initial-state {
719 PIN_IN(gpe0-6, DOWN, LV1);
720 PIN_IN(gpe0-7, DOWN, LV1);
721
722 PIN_IN(gpe1-0, DOWN, LV1);
723 PIN_IN(gpe1-3, DOWN, LV1);
724 PIN_IN(gpe1-4, DOWN, LV1);
725 PIN_IN(gpe1-5, DOWN, LV1);
726 PIN_IN(gpe1-6, DOWN, LV1);
727
728 PIN_IN(gpk2-0, DOWN, LV1);
729 PIN_IN(gpk2-1, DOWN, LV1);
730 PIN_IN(gpk2-2, DOWN, LV1);
731 PIN_IN(gpk2-3, DOWN, LV1);
732 PIN_IN(gpk2-4, DOWN, LV1);
733 PIN_IN(gpk2-5, DOWN, LV1);
734 PIN_IN(gpk2-6, DOWN, LV1);
735
736 PIN_IN(gpm0-0, DOWN, LV1);
737 PIN_IN(gpm0-1, DOWN, LV1);
738 PIN_IN(gpm0-2, DOWN, LV1);
739 PIN_IN(gpm0-3, DOWN, LV1);
740 PIN_IN(gpm0-4, DOWN, LV1);
741 PIN_IN(gpm0-5, DOWN, LV1);
742 PIN_IN(gpm0-6, DOWN, LV1);
743 PIN_IN(gpm0-7, DOWN, LV1);
744
745 PIN_IN(gpm1-0, DOWN, LV1);
746 PIN_IN(gpm1-1, DOWN, LV1);
747 PIN_IN(gpm1-2, DOWN, LV1);
748 PIN_IN(gpm1-3, DOWN, LV1);
749 PIN_IN(gpm1-4, DOWN, LV1);
750 PIN_IN(gpm1-5, DOWN, LV1);
751 PIN_IN(gpm1-6, DOWN, LV1);
752
753 PIN_IN(gpm2-0, DOWN, LV1);
754 PIN_IN(gpm2-1, DOWN, LV1);
755
756 PIN_IN(gpm3-0, DOWN, LV1);
757 PIN_IN(gpm3-1, DOWN, LV1);
758 PIN_IN(gpm3-2, DOWN, LV1);
759 PIN_IN(gpm3-3, DOWN, LV1);
760 PIN_IN(gpm3-4, DOWN, LV1);
761
762 PIN_IN(gpm4-1, DOWN, LV1);
763 PIN_IN(gpm4-2, DOWN, LV1);
764 PIN_IN(gpm4-3, DOWN, LV1);
765 PIN_IN(gpm4-4, DOWN, LV1);
766 PIN_IN(gpm4-5, DOWN, LV1);
767 PIN_IN(gpm4-6, DOWN, LV1);
768 PIN_IN(gpm4-7, DOWN, LV1);
769 };
18073d6e
CC
770
771 sleep1: sleep-state {
772 PIN_SLP(gpe0-0, PREV, NONE);
773 PIN_SLP(gpe0-1, PREV, NONE);
774 PIN_SLP(gpe0-2, INPUT, DOWN);
775 PIN_SLP(gpe0-3, INPUT, UP);
776 PIN_SLP(gpe0-4, INPUT, DOWN);
777 PIN_SLP(gpe0-5, INPUT, DOWN);
778 PIN_SLP(gpe0-6, INPUT, DOWN);
779 PIN_SLP(gpe0-7, INPUT, DOWN);
780
781 PIN_SLP(gpe1-0, INPUT, DOWN);
782 PIN_SLP(gpe1-1, PREV, NONE);
783 PIN_SLP(gpe1-2, INPUT, DOWN);
784 PIN_SLP(gpe1-3, INPUT, DOWN);
785 PIN_SLP(gpe1-4, INPUT, DOWN);
786 PIN_SLP(gpe1-5, INPUT, DOWN);
787 PIN_SLP(gpe1-6, INPUT, DOWN);
788 PIN_SLP(gpe1-7, INPUT, NONE);
789
790 PIN_SLP(gpe2-0, INPUT, NONE);
791 PIN_SLP(gpe2-1, INPUT, NONE);
792 PIN_SLP(gpe2-2, INPUT, NONE);
793
794 PIN_SLP(gpk0-0, INPUT, DOWN);
795 PIN_SLP(gpk0-1, INPUT, DOWN);
796 PIN_SLP(gpk0-2, OUT0, NONE);
797 PIN_SLP(gpk0-3, INPUT, DOWN);
798 PIN_SLP(gpk0-4, INPUT, DOWN);
799 PIN_SLP(gpk0-5, INPUT, DOWN);
800 PIN_SLP(gpk0-6, INPUT, DOWN);
801 PIN_SLP(gpk0-7, INPUT, DOWN);
802
803 PIN_SLP(gpk1-0, INPUT, DOWN);
804 PIN_SLP(gpk1-1, INPUT, DOWN);
805 PIN_SLP(gpk1-2, INPUT, DOWN);
806 PIN_SLP(gpk1-3, INPUT, DOWN);
807 PIN_SLP(gpk1-4, INPUT, DOWN);
808 PIN_SLP(gpk1-5, INPUT, DOWN);
809 PIN_SLP(gpk1-6, INPUT, DOWN);
810
811 PIN_SLP(gpk2-0, INPUT, DOWN);
812 PIN_SLP(gpk2-1, INPUT, DOWN);
813 PIN_SLP(gpk2-2, INPUT, DOWN);
814 PIN_SLP(gpk2-3, INPUT, DOWN);
815 PIN_SLP(gpk2-4, INPUT, DOWN);
816 PIN_SLP(gpk2-5, INPUT, DOWN);
817 PIN_SLP(gpk2-6, INPUT, DOWN);
818
819 PIN_SLP(gpl0-0, INPUT, DOWN);
820 PIN_SLP(gpl0-1, INPUT, DOWN);
821 PIN_SLP(gpl0-2, INPUT, DOWN);
822 PIN_SLP(gpl0-3, INPUT, DOWN);
823
824 PIN_SLP(gpm0-0, INPUT, DOWN);
825 PIN_SLP(gpm0-1, INPUT, DOWN);
826 PIN_SLP(gpm0-2, INPUT, DOWN);
827 PIN_SLP(gpm0-3, INPUT, DOWN);
828 PIN_SLP(gpm0-4, INPUT, DOWN);
829 PIN_SLP(gpm0-5, INPUT, DOWN);
830 PIN_SLP(gpm0-6, INPUT, DOWN);
831 PIN_SLP(gpm0-7, INPUT, DOWN);
832
833 PIN_SLP(gpm1-0, INPUT, DOWN);
834 PIN_SLP(gpm1-1, INPUT, DOWN);
835 PIN_SLP(gpm1-2, INPUT, DOWN);
836 PIN_SLP(gpm1-3, INPUT, DOWN);
837 PIN_SLP(gpm1-4, INPUT, DOWN);
838 PIN_SLP(gpm1-5, INPUT, DOWN);
839 PIN_SLP(gpm1-6, INPUT, DOWN);
840
841 PIN_SLP(gpm2-0, INPUT, DOWN);
842 PIN_SLP(gpm2-1, INPUT, DOWN);
843 PIN_SLP(gpm2-2, INPUT, DOWN);
844 PIN_SLP(gpm2-3, INPUT, DOWN);
845 PIN_SLP(gpm2-4, INPUT, DOWN);
846
847 PIN_SLP(gpm3-0, INPUT, DOWN);
848 PIN_SLP(gpm3-1, INPUT, DOWN);
849 PIN_SLP(gpm3-2, INPUT, DOWN);
850 PIN_SLP(gpm3-3, INPUT, DOWN);
851 PIN_SLP(gpm3-4, INPUT, DOWN);
852 PIN_SLP(gpm3-5, INPUT, DOWN);
853 PIN_SLP(gpm3-6, INPUT, DOWN);
854 PIN_SLP(gpm3-7, INPUT, DOWN);
855
856 PIN_SLP(gpm4-0, INPUT, DOWN);
857 PIN_SLP(gpm4-1, INPUT, DOWN);
858 PIN_SLP(gpm4-2, INPUT, DOWN);
859 PIN_SLP(gpm4-3, INPUT, DOWN);
860 PIN_SLP(gpm4-4, INPUT, DOWN);
861 PIN_SLP(gpm4-5, INPUT, DOWN);
862 PIN_SLP(gpm4-6, INPUT, DOWN);
863 PIN_SLP(gpm4-7, INPUT, DOWN);
864 };
865};