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