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