blob: dea96574183f33dd6df26aeb7eb0cce6bd75d32c [file] [log] [blame]
Tomasz Figa15dfdfa2013-07-24 13:41:45 +09001/*
2 * Samsung's Exynos4412 based Trats 2 board device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Trats 2 board which is based on
8 * Samsung's Exynos4412 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 "exynos4412.dtsi"
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +090017#include <dt-bindings/gpio/gpio.h>
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +090018#include <dt-bindings/interrupt-controller/irq.h>
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090019
20/ {
21 model = "Samsung Trats 2 based on Exynos4412";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090022 compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090023
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +090024 aliases {
Tomasz Stanislawski6af2ba92014-05-09 05:58:59 +090025 i2c9 = &i2c_ak8975;
Beomho Seo85cb4e02014-05-22 07:56:53 +090026 i2c10 = &i2c_cm36651;
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +090027 i2c11 = &i2c_max77693;
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +090028 i2c12 = &i2c_max77693_fuel;
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +090029 };
30
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090031 memory {
32 reg = <0x40000000 0x40000000>;
33 };
34
35 chosen {
36 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
37 };
38
39 firmware@0204F000 {
40 compatible = "samsung,secure-firmware";
41 reg = <0x0204F000 0x1000>;
42 };
43
44 fixed-rate-clocks {
45 xxti {
46 compatible = "samsung,clock-xxti", "fixed-clock";
47 clock-frequency = <0>;
48 };
49
50 xusbxti {
51 compatible = "samsung,clock-xusbxti", "fixed-clock";
52 clock-frequency = <24000000>;
53 };
54 };
55
56 regulators {
57 compatible = "simple-bus";
58 #address-cells = <1>;
59 #size-cells = <0>;
60
61 vemmc_reg: regulator-0 {
62 compatible = "regulator-fixed";
63 regulator-name = "VMEM_VDD_2.8V";
64 regulator-min-microvolt = <2800000>;
65 regulator-max-microvolt = <2800000>;
66 gpio = <&gpk0 2 0>;
67 enable-active-high;
68 };
69
Sylwester Nawrockib4fec642013-08-06 02:49:44 +090070 cam_io_reg: voltage-regulator-1 {
71 compatible = "regulator-fixed";
72 regulator-name = "CAM_SENSOR_A";
73 regulator-min-microvolt = <2800000>;
74 regulator-max-microvolt = <2800000>;
75 gpio = <&gpm0 2 0>;
76 enable-active-high;
77 };
78
Andrzej Hajda420ae842014-03-28 12:52:45 +010079 lcd_vdd3_reg: voltage-regulator-2 {
80 compatible = "regulator-fixed";
81 regulator-name = "LCD_VDD_2.2V";
82 regulator-min-microvolt = <2200000>;
83 regulator-max-microvolt = <2200000>;
84 gpio = <&gpc0 1 0>;
85 enable-active-high;
86 };
87
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +090088 cam_af_reg: voltage-regulator-3 {
89 compatible = "regulator-fixed";
90 regulator-name = "CAM_AF";
91 regulator-min-microvolt = <2800000>;
92 regulator-max-microvolt = <2800000>;
93 gpio = <&gpm0 4 0>;
94 enable-active-high;
95 };
96
97 cam_isp_core_reg: voltage-regulator-4 {
98 compatible = "regulator-fixed";
99 regulator-name = "CAM_ISP_CORE_1.2V_EN";
100 regulator-min-microvolt = <1200000>;
101 regulator-max-microvolt = <1200000>;
102 gpio = <&gpm0 3 0>;
103 enable-active-high;
104 regulator-always-on;
105 };
Beomho Seo85cb4e02014-05-22 07:56:53 +0900106
107 ps_als_reg: voltage-regulator-5 {
108 compatible = "regulator-fixed";
109 regulator-name = "LED_A_3.0V";
110 regulator-min-microvolt = <3000000>;
111 regulator-max-microvolt = <3000000>;
112 gpio = <&gpj0 5 0>;
113 enable-active-high;
114 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900115 };
116
117 gpio-keys {
118 compatible = "gpio-keys";
119
120 key-down {
Beomho Seo172ff6c2014-05-22 07:57:39 +0900121 gpios = <&gpx3 3 1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900122 linux,code = <114>;
123 label = "volume down";
124 debounce-interval = <10>;
125 };
126
127 key-up {
Beomho Seo172ff6c2014-05-22 07:57:39 +0900128 gpios = <&gpx2 2 1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900129 linux,code = <115>;
130 label = "volume up";
131 debounce-interval = <10>;
132 };
133
134 key-power {
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900135 gpios = <&gpx2 7 1>;
136 linux,code = <116>;
137 label = "power";
138 debounce-interval = <10>;
139 gpio-key,wakeup;
140 };
Beomho Seo172ff6c2014-05-22 07:57:39 +0900141
142 key-ok {
143 gpios = <&gpx0 1 1>;
144 linux,code = <139>;
145 label = "ok";
146 debounce-inteval = <10>;
147 gpio-key,wakeup;
148 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900149 };
150
Chanwoo Choi4f423782014-03-18 06:25:59 +0900151 adc: adc@126C0000 {
152 vdd-supply = <&ldo3_reg>;
153 status = "okay";
154 };
155
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900156 i2c@13890000 {
157 samsung,i2c-sda-delay = <100>;
158 samsung,i2c-slave-addr = <0x10>;
159 samsung,i2c-max-bus-freq = <400000>;
160 pinctrl-0 = <&i2c3_bus>;
161 pinctrl-names = "default";
162 status = "okay";
163
164 mms114-touchscreen@48 {
165 compatible = "melfas,mms114";
166 reg = <0x48>;
167 interrupt-parent = <&gpm2>;
168 interrupts = <3 2>;
169 x-size = <720>;
170 y-size = <1280>;
171 avdd-supply = <&ldo23_reg>;
172 vdd-supply = <&ldo24_reg>;
173 };
174 };
175
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900176 i2c_0: i2c@13860000 {
177 samsung,i2c-sda-delay = <100>;
178 samsung,i2c-slave-addr = <0x10>;
179 samsung,i2c-max-bus-freq = <400000>;
180 pinctrl-0 = <&i2c0_bus>;
181 pinctrl-names = "default";
182 status = "okay";
183
184 s5c73m3@3c {
185 compatible = "samsung,s5c73m3";
186 reg = <0x3c>;
187 standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */
188 xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */
189 vdd-int-supply = <&buck9_reg>;
190 vddio-cis-supply = <&ldo9_reg>;
191 vdda-supply = <&ldo17_reg>;
192 vddio-host-supply = <&ldo18_reg>;
193 vdd-af-supply = <&cam_af_reg>;
194 vdd-reg-supply = <&cam_io_reg>;
195 clock-frequency = <24000000>;
196 /* CAM_A_CLKOUT */
197 clocks = <&camera 0>;
198 clock-names = "cis_extclk";
199 port {
200 s5c73m3_ep: endpoint {
201 remote-endpoint = <&csis0_ep>;
202 data-lanes = <1 2 3 4>;
203 };
204 };
205 };
206 };
207
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900208 i2c@138D0000 {
209 samsung,i2c-sda-delay = <100>;
210 samsung,i2c-slave-addr = <0x10>;
211 samsung,i2c-max-bus-freq = <100000>;
212 pinctrl-0 = <&i2c7_bus>;
213 pinctrl-names = "default";
214 status = "okay";
215
216 max77686_pmic@09 {
217 compatible = "maxim,max77686";
218 interrupt-parent = <&gpx0>;
219 interrupts = <7 0>;
220 reg = <0x09>;
Tomasz Figaada12c42013-12-12 17:07:21 +0100221 #clock-cells = <1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900222
223 voltage-regulators {
224 ldo1_reg: ldo1 {
225 regulator-compatible = "LDO1";
226 regulator-name = "VALIVE_1.0V_AP";
227 regulator-min-microvolt = <1000000>;
228 regulator-max-microvolt = <1000000>;
229 regulator-always-on;
230 regulator-mem-on;
231 };
232
233 ldo2_reg: ldo2 {
234 regulator-compatible = "LDO2";
235 regulator-name = "VM1M2_1.2V_AP";
236 regulator-min-microvolt = <1200000>;
237 regulator-max-microvolt = <1200000>;
238 regulator-always-on;
239 regulator-mem-on;
240 };
241
242 ldo3_reg: ldo3 {
243 regulator-compatible = "LDO3";
244 regulator-name = "VCC_1.8V_AP";
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
247 regulator-always-on;
248 regulator-mem-on;
249 };
250
251 ldo4_reg: ldo4 {
252 regulator-compatible = "LDO4";
253 regulator-name = "VCC_2.8V_AP";
254 regulator-min-microvolt = <2800000>;
255 regulator-max-microvolt = <2800000>;
256 regulator-always-on;
257 regulator-mem-on;
258 };
259
260 ldo5_reg: ldo5 {
261 regulator-compatible = "LDO5";
262 regulator-name = "VCC_1.8V_IO";
263 regulator-min-microvolt = <1800000>;
264 regulator-max-microvolt = <1800000>;
265 regulator-always-on;
266 regulator-mem-on;
267 };
268
269 ldo6_reg: ldo6 {
270 regulator-compatible = "LDO6";
271 regulator-name = "VMPLL_1.0V_AP";
272 regulator-min-microvolt = <1000000>;
273 regulator-max-microvolt = <1000000>;
274 regulator-always-on;
275 regulator-mem-on;
276 };
277
278 ldo7_reg: ldo7 {
279 regulator-compatible = "LDO7";
280 regulator-name = "VPLL_1.0V_AP";
281 regulator-min-microvolt = <1000000>;
282 regulator-max-microvolt = <1000000>;
283 regulator-always-on;
284 regulator-mem-on;
285 };
286
287 ldo8_reg: ldo8 {
288 regulator-compatible = "LDO8";
289 regulator-name = "VMIPI_1.0V";
290 regulator-min-microvolt = <1000000>;
291 regulator-max-microvolt = <1000000>;
292 regulator-mem-off;
293 };
294
295 ldo9_reg: ldo9 {
296 regulator-compatible = "LDO9";
297 regulator-name = "CAM_ISP_MIPI_1.2V";
298 regulator-min-microvolt = <1200000>;
299 regulator-max-microvolt = <1200000>;
300 regulator-mem-idle;
301 };
302
303 ldo10_reg: ldo10 {
304 regulator-compatible = "LDO10";
305 regulator-name = "VMIPI_1.8V";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
308 regulator-mem-off;
309 };
310
311 ldo11_reg: ldo11 {
312 regulator-compatible = "LDO11";
313 regulator-name = "VABB1_1.95V";
314 regulator-min-microvolt = <1950000>;
315 regulator-max-microvolt = <1950000>;
316 regulator-always-on;
317 regulator-mem-off;
318 };
319
320 ldo12_reg: ldo12 {
321 regulator-compatible = "LDO12";
322 regulator-name = "VUOTG_3.0V";
323 regulator-min-microvolt = <3000000>;
324 regulator-max-microvolt = <3000000>;
325 regulator-mem-off;
326 };
327
328 ldo13_reg: ldo13 {
329 regulator-compatible = "LDO13";
330 regulator-name = "NFC_AVDD_1.8V";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
333 regulator-mem-idle;
334 };
335
336 ldo14_reg: ldo14 {
337 regulator-compatible = "LDO14";
338 regulator-name = "VABB2_1.95V";
339 regulator-min-microvolt = <1950000>;
340 regulator-max-microvolt = <1950000>;
341 regulator-always-on;
342 regulator-mem-off;
343 };
344
345 ldo15_reg: ldo15 {
346 regulator-compatible = "LDO15";
347 regulator-name = "VHSIC_1.0V";
348 regulator-min-microvolt = <1000000>;
349 regulator-max-microvolt = <1000000>;
350 regulator-mem-off;
351 };
352
353 ldo16_reg: ldo16 {
354 regulator-compatible = "LDO16";
355 regulator-name = "VHSIC_1.8V";
356 regulator-min-microvolt = <1800000>;
357 regulator-max-microvolt = <1800000>;
358 regulator-mem-off;
359 };
360
361 ldo17_reg: ldo17 {
362 regulator-compatible = "LDO17";
363 regulator-name = "CAM_SENSOR_CORE_1.2V";
364 regulator-min-microvolt = <1200000>;
365 regulator-max-microvolt = <1200000>;
366 regulator-mem-idle;
367 };
368
369 ldo18_reg: ldo18 {
370 regulator-compatible = "LDO18";
371 regulator-name = "CAM_ISP_SEN_IO_1.8V";
372 regulator-min-microvolt = <1800000>;
373 regulator-max-microvolt = <1800000>;
374 regulator-mem-idle;
375 };
376
377 ldo19_reg: ldo19 {
378 regulator-compatible = "LDO19";
379 regulator-name = "VT_CAM_1.8V";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
382 regulator-mem-idle;
383 };
384
385 ldo20_reg: ldo20 {
386 regulator-compatible = "LDO20";
387 regulator-name = "VDDQ_PRE_1.8V";
388 regulator-min-microvolt = <1800000>;
389 regulator-max-microvolt = <1800000>;
390 regulator-mem-idle;
391 };
392
393 ldo21_reg: ldo21 {
394 regulator-compatible = "LDO21";
395 regulator-name = "VTF_2.8V";
396 regulator-min-microvolt = <2800000>;
397 regulator-max-microvolt = <2800000>;
398 regulator-mem-idle;
399 };
400
401 ldo22_reg: ldo22 {
402 regulator-compatible = "LDO22";
403 regulator-name = "VMEM_VDD_2.8V";
404 regulator-min-microvolt = <2800000>;
405 regulator-max-microvolt = <2800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900406 };
407
408 ldo23_reg: ldo23 {
409 regulator-compatible = "LDO23";
410 regulator-name = "TSP_AVDD_3.3V";
411 regulator-min-microvolt = <3300000>;
412 regulator-max-microvolt = <3300000>;
413 regulator-mem-idle;
414 };
415
416 ldo24_reg: ldo24 {
417 regulator-compatible = "LDO24";
418 regulator-name = "TSP_VDD_1.8V";
419 regulator-min-microvolt = <1800000>;
420 regulator-max-microvolt = <1800000>;
421 regulator-mem-idle;
422 };
423
424 ldo25_reg: ldo25 {
425 regulator-compatible = "LDO25";
426 regulator-name = "LCD_VCC_3.3V";
427 regulator-min-microvolt = <2800000>;
428 regulator-max-microvolt = <2800000>;
429 regulator-mem-idle;
430 };
431
432 ldo26_reg: ldo26 {
433 regulator-compatible = "LDO26";
434 regulator-name = "MOTOR_VCC_3.0V";
435 regulator-min-microvolt = <3000000>;
436 regulator-max-microvolt = <3000000>;
437 regulator-mem-idle;
438 };
439
440 buck1_reg: buck1 {
441 regulator-compatible = "BUCK1";
442 regulator-name = "vdd_mif";
443 regulator-min-microvolt = <850000>;
444 regulator-max-microvolt = <1100000>;
445 regulator-always-on;
446 regulator-boot-on;
447 regulator-mem-off;
448 };
449
450 buck2_reg: buck2 {
451 regulator-compatible = "BUCK2";
452 regulator-name = "vdd_arm";
453 regulator-min-microvolt = <850000>;
454 regulator-max-microvolt = <1500000>;
455 regulator-always-on;
456 regulator-boot-on;
457 regulator-mem-off;
458 };
459
460 buck3_reg: buck3 {
461 regulator-compatible = "BUCK3";
462 regulator-name = "vdd_int";
463 regulator-min-microvolt = <850000>;
464 regulator-max-microvolt = <1150000>;
465 regulator-always-on;
466 regulator-boot-on;
467 regulator-mem-off;
468 };
469
470 buck4_reg: buck4 {
471 regulator-compatible = "BUCK4";
472 regulator-name = "vdd_g3d";
473 regulator-min-microvolt = <850000>;
474 regulator-max-microvolt = <1150000>;
475 regulator-boot-on;
476 regulator-mem-off;
477 };
478
479 buck5_reg: buck5 {
480 regulator-compatible = "BUCK5";
481 regulator-name = "VMEM_1.2V_AP";
482 regulator-min-microvolt = <1200000>;
483 regulator-max-microvolt = <1200000>;
484 regulator-always-on;
485 };
486
487 buck6_reg: buck6 {
488 regulator-compatible = "BUCK6";
489 regulator-name = "VCC_SUB_1.35V";
490 regulator-min-microvolt = <1350000>;
491 regulator-max-microvolt = <1350000>;
492 regulator-always-on;
493 };
494
495 buck7_reg: buck7 {
496 regulator-compatible = "BUCK7";
497 regulator-name = "VCC_SUB_2.0V";
498 regulator-min-microvolt = <2000000>;
499 regulator-max-microvolt = <2000000>;
500 regulator-always-on;
501 };
502
503 buck8_reg: buck8 {
504 regulator-compatible = "BUCK8";
505 regulator-name = "VMEM_VDDF_3.0V";
506 regulator-min-microvolt = <2850000>;
507 regulator-max-microvolt = <2850000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900508 };
509
510 buck9_reg: buck9 {
511 regulator-compatible = "BUCK9";
512 regulator-name = "CAM_ISP_CORE_1.2V";
513 regulator-min-microvolt = <1000000>;
514 regulator-max-microvolt = <1200000>;
515 regulator-mem-off;
516 };
517 };
518 };
519 };
520
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900521 i2c_max77693: i2c-gpio-1 {
522 compatible = "i2c-gpio";
523 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
524 i2c-gpio,delay-us = <2>;
525 #address-cells = <1>;
526 #size-cells = <0>;
527 status = "okay";
528
529 max77693@66 {
530 compatible = "maxim,max77693";
531 interrupt-parent = <&gpx1>;
532 interrupts = <5 2>;
533 reg = <0x66>;
534
535 regulators {
536 esafeout1_reg: ESAFEOUT1@1 {
537 regulator-name = "ESAFEOUT1";
538 };
539 esafeout2_reg: ESAFEOUT2@2 {
540 regulator-name = "ESAFEOUT2";
541 };
542 charger_reg: CHARGER@0 {
543 regulator-name = "CHARGER";
544 regulator-min-microamp = <60000>;
545 regulator-max-microamp = <2580000>;
546 };
547 };
Jaewon Kimd9c68082014-11-22 23:19:22 +0900548
549 max77693_haptic {
550 compatible = "maxim,max77693-haptic";
551 haptic-supply = <&ldo26_reg>;
552 pwms = <&pwm 0 38022 0>;
553 };
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900554 };
555 };
556
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +0900557 i2c_max77693_fuel: i2c-gpio-3 {
558 compatible = "i2c-gpio";
559 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
560 i2c-gpio,delay-us = <2>;
561 #address-cells = <1>;
562 #size-cells = <0>;
563 status = "okay";
564
565 max77693-fuel-gauge@36 {
566 compatible = "maxim,max17047";
567 interrupt-parent = <&gpx2>;
568 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
569 reg = <0x36>;
570 };
571 };
572
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900573 mmc@12550000 {
574 num-slots = <1>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900575 broken-cd;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900576 non-removable;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900577 card-detect-delay = <200>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900578 vmmc-supply = <&vemmc_reg>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900579 clock-frequency = <400000000>;
580 samsung,dw-mshc-ciu-div = <0>;
581 samsung,dw-mshc-sdr-timing = <2 3>;
582 samsung,dw-mshc-ddr-timing = <1 2>;
583 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
584 pinctrl-names = "default";
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900585 status = "okay";
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500586 bus-width = <8>;
587 cap-mmc-highspeed;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900588 };
589
Krzysztof Kozlowskia427d152014-11-07 08:22:49 +0900590 sdhci@12530000 {
591 bus-width = <4>;
592 cd-gpios = <&gpx3 4 0>;
593 cd-inverted;
594 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
595 pinctrl-names = "default";
596 vmmc-supply = <&ldo21_reg>;
597 status = "okay";
598 };
599
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900600 serial@13800000 {
601 status = "okay";
602 };
603
604 serial@13810000 {
605 status = "okay";
606 };
607
608 serial@13820000 {
609 status = "okay";
610 };
611
612 serial@13830000 {
613 status = "okay";
614 };
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900615
Lukasz Majewski432047f2014-11-22 22:58:09 +0900616 tmu@100C0000 {
617 vtmu-supply = <&ldo10_reg>;
618 status = "okay";
619 };
620
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900621 i2c_ak8975: i2c-gpio-0 {
622 compatible = "i2c-gpio";
623 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
624 i2c-gpio,delay-us = <2>;
625 #address-cells = <1>;
626 #size-cells = <0>;
627 status = "okay";
628
629 ak8975@0c {
Beomho Seo30cc7982014-05-20 01:12:50 +0900630 compatible = "asahi-kasei,ak8975";
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900631 reg = <0x0c>;
632 gpios = <&gpj0 7 0>;
633 };
634 };
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900635
Beomho Seo85cb4e02014-05-22 07:56:53 +0900636 i2c_cm36651: i2c-gpio-2 {
637 compatible = "i2c-gpio";
638 gpios = <&gpf0 0 1>, <&gpf0 1 1>;
639 i2c-gpio,delay-us = <2>;
640 #address-cells = <1>;
641 #size-cells = <0>;
642
643 cm36651@18 {
644 compatible = "capella,cm36651";
645 reg = <0x18>;
646 interrupt-parent = <&gpx0>;
647 interrupts = <2 2>;
648 vled-supply = <&ps_als_reg>;
649 };
650 };
651
Andrzej Hajda201f1262013-08-06 02:49:45 +0900652 spi_1: spi@13930000 {
653 pinctrl-names = "default";
654 pinctrl-0 = <&spi1_bus>;
Naveen Krishna Chatradhie138d432014-07-16 17:19:10 +0200655 cs-gpios = <&gpb 5 0>;
Andrzej Hajda201f1262013-08-06 02:49:45 +0900656 status = "okay";
657
658 s5c73m3_spi: s5c73m3 {
659 compatible = "samsung,s5c73m3";
660 spi-max-frequency = <50000000>;
661 reg = <0>;
662 controller-data {
Andrzej Hajda201f1262013-08-06 02:49:45 +0900663 samsung,spi-feedback-delay = <2>;
664 };
665 };
666 };
667
Jaewon Kim249358c2014-11-22 23:19:18 +0900668 pwm: pwm@139D0000 {
669 pinctrl-0 = <&pwm0_out>;
670 pinctrl-names = "default";
671 samsung,pwm-outputs = <0>;
672 status = "okay";
673 };
674
Andrzej Hajda420ae842014-03-28 12:52:45 +0100675 dsi_0: dsi@11C80000 {
676 vddcore-supply = <&ldo8_reg>;
677 vddio-supply = <&ldo10_reg>;
678 samsung,pll-clock-frequency = <24000000>;
679 status = "okay";
680
681 ports {
682 #address-cells = <1>;
683 #size-cells = <0>;
684
685 port@1 {
686 reg = <1>;
687
688 dsi_out: endpoint {
689 remote-endpoint = <&dsi_in>;
690 samsung,burst-clock-frequency = <500000000>;
691 samsung,esc-clock-frequency = <20000000>;
692 };
693 };
694 };
695
696 panel@0 {
697 compatible = "samsung,s6e8aa0";
698 reg = <0>;
699 vdd3-supply = <&lcd_vdd3_reg>;
700 vci-supply = <&ldo25_reg>;
701 reset-gpios = <&gpy4 5 0>;
702 power-on-delay= <50>;
703 reset-delay = <100>;
704 init-delay = <100>;
705 flip-horizontal;
706 flip-vertical;
707 panel-width-mm = <58>;
708 panel-height-mm = <103>;
709
710 display-timings {
711 timing-0 {
712 clock-frequency = <0>;
713 hactive = <720>;
714 vactive = <1280>;
715 hfront-porch = <5>;
716 hback-porch = <5>;
717 hsync-len = <5>;
718 vfront-porch = <13>;
719 vback-porch = <1>;
720 vsync-len = <2>;
721 };
722 };
723
724 port {
725 dsi_in: endpoint {
726 remote-endpoint = <&dsi_out>;
727 };
728 };
729 };
730 };
731
Andrzej Hajdabbab1e3f2014-03-28 12:52:47 +0100732 fimd@11c00000 {
733 status = "okay";
734 };
735
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900736 camera: camera {
737 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900738 pinctrl-names = "default";
739 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900740 assigned-clocks = <&clock CLK_MOUT_CAM0>,
741 <&clock CLK_MOUT_CAM1>;
742 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
743 <&clock CLK_MOUT_MPLL_USER_T>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900744
745 fimc_0: fimc@11800000 {
746 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900747 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
748 <&clock CLK_SCLK_FIMC0>;
749 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
750 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900751 };
752
753 fimc_1: fimc@11810000 {
754 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900755 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
756 <&clock CLK_SCLK_FIMC1>;
757 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
758 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900759 };
760
761 fimc_2: fimc@11820000 {
762 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900763 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
764 <&clock CLK_SCLK_FIMC2>;
765 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
766 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900767 };
768
769 fimc_3: fimc@11830000 {
770 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900771 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
772 <&clock CLK_SCLK_FIMC3>;
773 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
774 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900775 };
776
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900777 csis_0: csis@11880000 {
778 status = "okay";
779 vddcore-supply = <&ldo8_reg>;
780 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900781 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
782 <&clock CLK_SCLK_CSIS0>;
783 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
784 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900785
786 /* Camera C (3) MIPI CSI-2 (CSIS0) */
787 port@3 {
788 reg = <3>;
789 csis0_ep: endpoint {
790 remote-endpoint = <&s5c73m3_ep>;
791 data-lanes = <1 2 3 4>;
792 samsung,csis-hs-settle = <12>;
793 };
794 };
795 };
796
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900797 csis_1: csis@11890000 {
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900798 status = "okay";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900799 vddcore-supply = <&ldo8_reg>;
800 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900801 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
802 <&clock CLK_SCLK_CSIS1>;
803 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
804 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900805
806 /* Camera D (4) MIPI CSI-2 (CSIS1) */
807 port@4 {
808 reg = <4>;
809 csis1_ep: endpoint {
810 remote-endpoint = <&is_s5k6a3_ep>;
811 data-lanes = <1>;
812 samsung,csis-hs-settle = <18>;
813 samsung,csis-wclk;
814 };
815 };
816 };
817
818 fimc_lite_0: fimc-lite@12390000 {
819 status = "okay";
820 };
821
822 fimc_lite_1: fimc-lite@123A0000 {
823 status = "okay";
824 };
825
826 fimc-is@12000000 {
827 pinctrl-0 = <&fimc_is_uart>;
828 pinctrl-names = "default";
829 status = "okay";
830
831 i2c1_isp: i2c-isp@12140000 {
832 pinctrl-0 = <&fimc_is_i2c1>;
833 pinctrl-names = "default";
834
835 s5k6a3@10 {
836 compatible = "samsung,s5k6a3";
837 reg = <0x10>;
838 svdda-supply = <&cam_io_reg>;
839 svddio-supply = <&ldo19_reg>;
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900840 afvdd-supply = <&ldo19_reg>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900841 clock-frequency = <24000000>;
842 /* CAM_B_CLKOUT */
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900843 clocks = <&camera 1>;
844 clock-names = "extclk";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900845 samsung,camclk-out = <1>;
846 gpios = <&gpm1 6 0>;
847
848 port {
849 is_s5k6a3_ep: endpoint {
850 remote-endpoint = <&csis1_ep>;
851 data-lanes = <1>;
852 };
853 };
854 };
855 };
856 };
857 };
Chanwoo Choi4f423782014-03-18 06:25:59 +0900858
Chanho Park3c8977f2014-05-23 03:30:21 +0900859 exynos-usbphy@125B0000 {
860 status = "okay";
861 };
862
863 hsotg@12480000 {
864 vusb_d-supply = <&ldo15_reg>;
865 vusb_a-supply = <&ldo12_reg>;
Marek Szyprowski32f144f2015-01-24 13:12:03 +0900866 dr_mode = "peripheral";
Chanho Park3c8977f2014-05-23 03:30:21 +0900867 status = "okay";
868 };
869
Chanwoo Choi4f423782014-03-18 06:25:59 +0900870 thermistor-ap@0 {
871 compatible = "ntc,ncp15wb473";
872 pullup-uv = <1800000>; /* VCC_1.8V_AP */
873 pullup-ohm = <100000>; /* 100K */
874 pulldown-ohm = <100000>; /* 100K */
875 io-channels = <&adc 1>; /* AP temperature */
876 };
877
878 thermistor-battery@1 {
879 compatible = "ntc,ncp15wb473";
880 pullup-uv = <1800000>; /* VCC_1.8V_AP */
881 pullup-ohm = <100000>; /* 100K */
882 pulldown-ohm = <100000>; /* 100K */
883 io-channels = <&adc 2>; /* Battery temperature */
884 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900885};
Tomasz Figa09918a92014-09-24 01:20:03 +0900886
887&pinctrl_0 {
888 pinctrl-names = "default";
889 pinctrl-0 = <&sleep0>;
890
891 sleep0: sleep-states {
892 PIN_SLP(gpa0-0, INPUT, NONE);
893 PIN_SLP(gpa0-1, OUT0, NONE);
894 PIN_SLP(gpa0-2, INPUT, NONE);
895 PIN_SLP(gpa0-3, INPUT, UP);
896 PIN_SLP(gpa0-4, INPUT, NONE);
897 PIN_SLP(gpa0-5, INPUT, DOWN);
898 PIN_SLP(gpa0-6, INPUT, DOWN);
899 PIN_SLP(gpa0-7, INPUT, UP);
900
901 PIN_SLP(gpa1-0, INPUT, DOWN);
902 PIN_SLP(gpa1-1, INPUT, DOWN);
903 PIN_SLP(gpa1-2, INPUT, DOWN);
904 PIN_SLP(gpa1-3, INPUT, DOWN);
905 PIN_SLP(gpa1-4, INPUT, DOWN);
906 PIN_SLP(gpa1-5, INPUT, DOWN);
907
908 PIN_SLP(gpb-0, INPUT, NONE);
909 PIN_SLP(gpb-1, INPUT, NONE);
910 PIN_SLP(gpb-2, INPUT, NONE);
911 PIN_SLP(gpb-3, INPUT, NONE);
912 PIN_SLP(gpb-4, INPUT, DOWN);
913 PIN_SLP(gpb-5, INPUT, UP);
914 PIN_SLP(gpb-6, INPUT, DOWN);
915 PIN_SLP(gpb-7, INPUT, DOWN);
916
917 PIN_SLP(gpc0-0, INPUT, DOWN);
918 PIN_SLP(gpc0-1, INPUT, DOWN);
919 PIN_SLP(gpc0-2, INPUT, DOWN);
920 PIN_SLP(gpc0-3, INPUT, DOWN);
921 PIN_SLP(gpc0-4, INPUT, DOWN);
922
923 PIN_SLP(gpc1-0, INPUT, NONE);
924 PIN_SLP(gpc1-1, PREV, NONE);
925 PIN_SLP(gpc1-2, INPUT, NONE);
926 PIN_SLP(gpc1-3, INPUT, NONE);
927 PIN_SLP(gpc1-4, INPUT, NONE);
928
929 PIN_SLP(gpd0-0, INPUT, DOWN);
930 PIN_SLP(gpd0-1, INPUT, DOWN);
931 PIN_SLP(gpd0-2, INPUT, NONE);
932 PIN_SLP(gpd0-3, INPUT, NONE);
933
934 PIN_SLP(gpd1-0, INPUT, DOWN);
935 PIN_SLP(gpd1-1, INPUT, DOWN);
936 PIN_SLP(gpd1-2, INPUT, NONE);
937 PIN_SLP(gpd1-3, INPUT, NONE);
938
939 PIN_SLP(gpf0-0, INPUT, NONE);
940 PIN_SLP(gpf0-1, INPUT, NONE);
941 PIN_SLP(gpf0-2, INPUT, DOWN);
942 PIN_SLP(gpf0-3, INPUT, DOWN);
943 PIN_SLP(gpf0-4, INPUT, NONE);
944 PIN_SLP(gpf0-5, INPUT, DOWN);
945 PIN_SLP(gpf0-6, INPUT, NONE);
946 PIN_SLP(gpf0-7, INPUT, DOWN);
947
948 PIN_SLP(gpf1-0, INPUT, DOWN);
949 PIN_SLP(gpf1-1, INPUT, DOWN);
950 PIN_SLP(gpf1-2, INPUT, DOWN);
951 PIN_SLP(gpf1-3, INPUT, DOWN);
952 PIN_SLP(gpf1-4, INPUT, NONE);
953 PIN_SLP(gpf1-5, INPUT, NONE);
954 PIN_SLP(gpf1-6, INPUT, DOWN);
955 PIN_SLP(gpf1-7, PREV, NONE);
956
957 PIN_SLP(gpf2-0, PREV, NONE);
958 PIN_SLP(gpf2-1, INPUT, DOWN);
959 PIN_SLP(gpf2-2, INPUT, DOWN);
960 PIN_SLP(gpf2-3, INPUT, DOWN);
961 PIN_SLP(gpf2-4, INPUT, DOWN);
962 PIN_SLP(gpf2-5, INPUT, DOWN);
963 PIN_SLP(gpf2-6, INPUT, NONE);
964 PIN_SLP(gpf2-7, INPUT, NONE);
965
966 PIN_SLP(gpf3-0, INPUT, NONE);
967 PIN_SLP(gpf3-1, PREV, NONE);
968 PIN_SLP(gpf3-2, PREV, NONE);
969 PIN_SLP(gpf3-3, PREV, NONE);
970 PIN_SLP(gpf3-4, OUT1, NONE);
971 PIN_SLP(gpf3-5, INPUT, DOWN);
972
973 PIN_SLP(gpj0-0, PREV, NONE);
974 PIN_SLP(gpj0-1, PREV, NONE);
975 PIN_SLP(gpj0-2, PREV, NONE);
976 PIN_SLP(gpj0-3, INPUT, DOWN);
977 PIN_SLP(gpj0-4, PREV, NONE);
978 PIN_SLP(gpj0-5, PREV, NONE);
979 PIN_SLP(gpj0-6, INPUT, DOWN);
980 PIN_SLP(gpj0-7, INPUT, DOWN);
981
982 PIN_SLP(gpj1-0, INPUT, DOWN);
983 PIN_SLP(gpj1-1, PREV, NONE);
984 PIN_SLP(gpj1-2, PREV, NONE);
985 PIN_SLP(gpj1-3, INPUT, DOWN);
986 PIN_SLP(gpj1-4, INPUT, DOWN);
987 };
988};
989
990&pinctrl_1 {
991 pinctrl-names = "default";
992 pinctrl-0 = <&sleep1>;
993
994 sleep1: sleep-states {
995 PIN_SLP(gpk0-0, PREV, NONE);
996 PIN_SLP(gpk0-1, PREV, NONE);
997 PIN_SLP(gpk0-2, OUT0, NONE);
998 PIN_SLP(gpk0-3, PREV, NONE);
999 PIN_SLP(gpk0-4, PREV, NONE);
1000 PIN_SLP(gpk0-5, PREV, NONE);
1001 PIN_SLP(gpk0-6, PREV, NONE);
1002
1003 PIN_SLP(gpk1-0, INPUT, DOWN);
1004 PIN_SLP(gpk1-1, INPUT, DOWN);
1005 PIN_SLP(gpk1-2, INPUT, DOWN);
1006 PIN_SLP(gpk1-3, PREV, NONE);
1007 PIN_SLP(gpk1-4, PREV, NONE);
1008 PIN_SLP(gpk1-5, PREV, NONE);
1009 PIN_SLP(gpk1-6, PREV, NONE);
1010
1011 PIN_SLP(gpk2-0, INPUT, DOWN);
1012 PIN_SLP(gpk2-1, INPUT, DOWN);
1013 PIN_SLP(gpk2-2, INPUT, DOWN);
1014 PIN_SLP(gpk2-3, INPUT, DOWN);
1015 PIN_SLP(gpk2-4, INPUT, DOWN);
1016 PIN_SLP(gpk2-5, INPUT, DOWN);
1017 PIN_SLP(gpk2-6, INPUT, DOWN);
1018
1019 PIN_SLP(gpk3-0, OUT0, NONE);
1020 PIN_SLP(gpk3-1, INPUT, NONE);
1021 PIN_SLP(gpk3-2, INPUT, DOWN);
1022 PIN_SLP(gpk3-3, INPUT, NONE);
1023 PIN_SLP(gpk3-4, INPUT, NONE);
1024 PIN_SLP(gpk3-5, INPUT, NONE);
1025 PIN_SLP(gpk3-6, INPUT, NONE);
1026
1027 PIN_SLP(gpl0-0, INPUT, DOWN);
1028 PIN_SLP(gpl0-1, INPUT, DOWN);
1029 PIN_SLP(gpl0-2, INPUT, DOWN);
1030 PIN_SLP(gpl0-3, INPUT, DOWN);
1031 PIN_SLP(gpl0-4, PREV, NONE);
1032 PIN_SLP(gpl0-6, PREV, NONE);
1033
1034 PIN_SLP(gpl1-0, INPUT, DOWN);
1035 PIN_SLP(gpl1-1, INPUT, DOWN);
1036 PIN_SLP(gpl2-0, INPUT, DOWN);
1037 PIN_SLP(gpl2-1, INPUT, DOWN);
1038 PIN_SLP(gpl2-2, INPUT, DOWN);
1039 PIN_SLP(gpl2-3, INPUT, DOWN);
1040 PIN_SLP(gpl2-4, INPUT, DOWN);
1041 PIN_SLP(gpl2-5, INPUT, DOWN);
1042 PIN_SLP(gpl2-6, PREV, NONE);
1043 PIN_SLP(gpl2-7, INPUT, DOWN);
1044
1045 PIN_SLP(gpm0-0, INPUT, DOWN);
1046 PIN_SLP(gpm0-1, INPUT, DOWN);
1047 PIN_SLP(gpm0-2, INPUT, DOWN);
1048 PIN_SLP(gpm0-3, INPUT, DOWN);
1049 PIN_SLP(gpm0-4, INPUT, DOWN);
1050 PIN_SLP(gpm0-5, INPUT, DOWN);
1051 PIN_SLP(gpm0-6, INPUT, DOWN);
1052 PIN_SLP(gpm0-7, INPUT, DOWN);
1053
1054 PIN_SLP(gpm1-0, INPUT, DOWN);
1055 PIN_SLP(gpm1-1, INPUT, DOWN);
1056 PIN_SLP(gpm1-2, INPUT, NONE);
1057 PIN_SLP(gpm1-3, INPUT, NONE);
1058 PIN_SLP(gpm1-4, INPUT, NONE);
1059 PIN_SLP(gpm1-5, INPUT, NONE);
1060 PIN_SLP(gpm1-6, INPUT, DOWN);
1061
1062 PIN_SLP(gpm2-0, INPUT, NONE);
1063 PIN_SLP(gpm2-1, INPUT, NONE);
1064 PIN_SLP(gpm2-2, INPUT, DOWN);
1065 PIN_SLP(gpm2-3, INPUT, DOWN);
1066 PIN_SLP(gpm2-4, INPUT, DOWN);
1067
1068 PIN_SLP(gpm3-0, PREV, NONE);
1069 PIN_SLP(gpm3-1, PREV, NONE);
1070 PIN_SLP(gpm3-2, PREV, NONE);
1071 PIN_SLP(gpm3-3, OUT1, NONE);
1072 PIN_SLP(gpm3-4, INPUT, DOWN);
1073 PIN_SLP(gpm3-5, INPUT, DOWN);
1074 PIN_SLP(gpm3-6, INPUT, DOWN);
1075 PIN_SLP(gpm3-7, INPUT, DOWN);
1076
1077 PIN_SLP(gpm4-0, INPUT, DOWN);
1078 PIN_SLP(gpm4-1, INPUT, DOWN);
1079 PIN_SLP(gpm4-2, INPUT, DOWN);
1080 PIN_SLP(gpm4-3, INPUT, DOWN);
1081 PIN_SLP(gpm4-4, INPUT, DOWN);
1082 PIN_SLP(gpm4-5, INPUT, DOWN);
1083 PIN_SLP(gpm4-6, INPUT, DOWN);
1084 PIN_SLP(gpm4-7, INPUT, DOWN);
1085
1086 PIN_SLP(gpy0-0, INPUT, DOWN);
1087 PIN_SLP(gpy0-1, INPUT, DOWN);
1088 PIN_SLP(gpy0-2, INPUT, DOWN);
1089 PIN_SLP(gpy0-3, INPUT, DOWN);
1090 PIN_SLP(gpy0-4, INPUT, DOWN);
1091 PIN_SLP(gpy0-5, INPUT, DOWN);
1092
1093 PIN_SLP(gpy1-0, INPUT, DOWN);
1094 PIN_SLP(gpy1-1, INPUT, DOWN);
1095 PIN_SLP(gpy1-2, INPUT, DOWN);
1096 PIN_SLP(gpy1-3, INPUT, DOWN);
1097
1098 PIN_SLP(gpy2-0, PREV, NONE);
1099 PIN_SLP(gpy2-1, INPUT, DOWN);
1100 PIN_SLP(gpy2-2, INPUT, NONE);
1101 PIN_SLP(gpy2-3, INPUT, NONE);
1102 PIN_SLP(gpy2-4, INPUT, NONE);
1103 PIN_SLP(gpy2-5, INPUT, NONE);
1104
1105 PIN_SLP(gpy3-0, INPUT, DOWN);
1106 PIN_SLP(gpy3-1, INPUT, DOWN);
1107 PIN_SLP(gpy3-2, INPUT, DOWN);
1108 PIN_SLP(gpy3-3, INPUT, DOWN);
1109 PIN_SLP(gpy3-4, INPUT, DOWN);
1110 PIN_SLP(gpy3-5, INPUT, DOWN);
1111 PIN_SLP(gpy3-6, INPUT, DOWN);
1112 PIN_SLP(gpy3-7, INPUT, DOWN);
1113
1114 PIN_SLP(gpy4-0, INPUT, DOWN);
1115 PIN_SLP(gpy4-1, INPUT, DOWN);
1116 PIN_SLP(gpy4-2, INPUT, DOWN);
1117 PIN_SLP(gpy4-3, INPUT, DOWN);
1118 PIN_SLP(gpy4-4, INPUT, DOWN);
1119 PIN_SLP(gpy4-5, INPUT, DOWN);
1120 PIN_SLP(gpy4-6, INPUT, DOWN);
1121 PIN_SLP(gpy4-7, INPUT, DOWN);
1122
1123 PIN_SLP(gpy5-0, INPUT, DOWN);
1124 PIN_SLP(gpy5-1, INPUT, DOWN);
1125 PIN_SLP(gpy5-2, INPUT, DOWN);
1126 PIN_SLP(gpy5-3, INPUT, DOWN);
1127 PIN_SLP(gpy5-4, INPUT, DOWN);
1128 PIN_SLP(gpy5-5, INPUT, DOWN);
1129 PIN_SLP(gpy5-6, INPUT, DOWN);
1130 PIN_SLP(gpy5-7, INPUT, DOWN);
1131
1132 PIN_SLP(gpy6-0, INPUT, DOWN);
1133 PIN_SLP(gpy6-1, INPUT, DOWN);
1134 PIN_SLP(gpy6-2, INPUT, DOWN);
1135 PIN_SLP(gpy6-3, INPUT, DOWN);
1136 PIN_SLP(gpy6-4, INPUT, DOWN);
1137 PIN_SLP(gpy6-5, INPUT, DOWN);
1138 PIN_SLP(gpy6-6, INPUT, DOWN);
1139 PIN_SLP(gpy6-7, INPUT, DOWN);
1140 };
1141};
1142
1143&pinctrl_2 {
1144 pinctrl-names = "default";
1145 pinctrl-0 = <&sleep2>;
1146
1147 sleep2: sleep-states {
1148 PIN_SLP(gpz-0, INPUT, DOWN);
1149 PIN_SLP(gpz-1, INPUT, DOWN);
1150 PIN_SLP(gpz-2, INPUT, DOWN);
1151 PIN_SLP(gpz-3, INPUT, DOWN);
1152 PIN_SLP(gpz-4, INPUT, DOWN);
1153 PIN_SLP(gpz-5, INPUT, DOWN);
1154 PIN_SLP(gpz-6, INPUT, DOWN);
1155 };
1156};
1157
1158&pinctrl_3 {
1159 pinctrl-names = "default";
1160 pinctrl-0 = <&sleep3>;
1161
1162 sleep3: sleep-states {
1163 PIN_SLP(gpv0-0, INPUT, DOWN);
1164 PIN_SLP(gpv0-1, INPUT, DOWN);
1165 PIN_SLP(gpv0-2, INPUT, DOWN);
1166 PIN_SLP(gpv0-3, INPUT, DOWN);
1167 PIN_SLP(gpv0-4, INPUT, DOWN);
1168 PIN_SLP(gpv0-5, INPUT, DOWN);
1169 PIN_SLP(gpv0-6, INPUT, DOWN);
1170 PIN_SLP(gpv0-7, INPUT, DOWN);
1171
1172 PIN_SLP(gpv1-0, INPUT, DOWN);
1173 PIN_SLP(gpv1-1, INPUT, DOWN);
1174 PIN_SLP(gpv1-2, INPUT, DOWN);
1175 PIN_SLP(gpv1-3, INPUT, DOWN);
1176 PIN_SLP(gpv1-4, INPUT, DOWN);
1177 PIN_SLP(gpv1-5, INPUT, DOWN);
1178 PIN_SLP(gpv1-6, INPUT, DOWN);
1179 PIN_SLP(gpv1-7, INPUT, DOWN);
1180
1181 PIN_SLP(gpv2-0, INPUT, DOWN);
1182 PIN_SLP(gpv2-1, INPUT, DOWN);
1183 PIN_SLP(gpv2-2, INPUT, DOWN);
1184 PIN_SLP(gpv2-3, INPUT, DOWN);
1185 PIN_SLP(gpv2-4, INPUT, DOWN);
1186 PIN_SLP(gpv2-5, INPUT, DOWN);
1187 PIN_SLP(gpv2-6, INPUT, DOWN);
1188 PIN_SLP(gpv2-7, INPUT, DOWN);
1189
1190 PIN_SLP(gpv3-0, INPUT, DOWN);
1191 PIN_SLP(gpv3-1, INPUT, DOWN);
1192 PIN_SLP(gpv3-2, INPUT, DOWN);
1193 PIN_SLP(gpv3-3, INPUT, DOWN);
1194 PIN_SLP(gpv3-4, INPUT, DOWN);
1195 PIN_SLP(gpv3-5, INPUT, DOWN);
1196 PIN_SLP(gpv3-6, INPUT, DOWN);
1197 PIN_SLP(gpv3-7, INPUT, DOWN);
1198
1199 PIN_SLP(gpv4-0, INPUT, DOWN);
1200 };
1201};