ARM: dts: exynos4412-trats2: enable exynos/fimd node
[deliverable/linux.git] / arch / arm / boot / dts / exynos4412-trats2.dts
CommitLineData
15dfdfad
TF
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
18/ {
19 model = "Samsung Trats 2 based on Exynos4412";
20 compatible = "samsung,trats2", "samsung,exynos4412";
21
9f1eaef2
JA
22 aliases {
23 i2c8 = &i2c_ak8975;
24 };
25
15dfdfad
TF
26 memory {
27 reg = <0x40000000 0x40000000>;
28 };
29
30 chosen {
31 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
32 };
33
34 firmware@0204F000 {
35 compatible = "samsung,secure-firmware";
36 reg = <0x0204F000 0x1000>;
37 };
38
39 fixed-rate-clocks {
40 xxti {
41 compatible = "samsung,clock-xxti", "fixed-clock";
42 clock-frequency = <0>;
43 };
44
45 xusbxti {
46 compatible = "samsung,clock-xusbxti", "fixed-clock";
47 clock-frequency = <24000000>;
48 };
49 };
50
51 regulators {
52 compatible = "simple-bus";
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 vemmc_reg: regulator-0 {
57 compatible = "regulator-fixed";
58 regulator-name = "VMEM_VDD_2.8V";
59 regulator-min-microvolt = <2800000>;
60 regulator-max-microvolt = <2800000>;
61 gpio = <&gpk0 2 0>;
62 enable-active-high;
63 };
64
b4fec647
SN
65 cam_io_reg: voltage-regulator-1 {
66 compatible = "regulator-fixed";
67 regulator-name = "CAM_SENSOR_A";
68 regulator-min-microvolt = <2800000>;
69 regulator-max-microvolt = <2800000>;
70 gpio = <&gpm0 2 0>;
71 enable-active-high;
72 };
73
420ae845
AH
74 lcd_vdd3_reg: voltage-regulator-2 {
75 compatible = "regulator-fixed";
76 regulator-name = "LCD_VDD_2.2V";
77 regulator-min-microvolt = <2200000>;
78 regulator-max-microvolt = <2200000>;
79 gpio = <&gpc0 1 0>;
80 enable-active-high;
81 };
82
15dfdfad
TF
83 /* More to come */
84 };
85
86 gpio-keys {
87 compatible = "gpio-keys";
88
89 key-down {
90 interrupt-parent = <&gpj1>;
91 interrupts = <2 0>;
92 gpios = <&gpj1 2 1>;
93 linux,code = <114>;
94 label = "volume down";
95 debounce-interval = <10>;
96 };
97
98 key-up {
99 interrupt-parent = <&gpj1>;
100 interrupts = <1 0>;
101 gpios = <&gpj1 1 1>;
102 linux,code = <115>;
103 label = "volume up";
104 debounce-interval = <10>;
105 };
106
107 key-power {
108 interrupt-parent = <&gpx2>;
109 interrupts = <7 0>;
110 gpios = <&gpx2 7 1>;
111 linux,code = <116>;
112 label = "power";
113 debounce-interval = <10>;
114 gpio-key,wakeup;
115 };
116 };
117
118 i2c@13890000 {
119 samsung,i2c-sda-delay = <100>;
120 samsung,i2c-slave-addr = <0x10>;
121 samsung,i2c-max-bus-freq = <400000>;
122 pinctrl-0 = <&i2c3_bus>;
123 pinctrl-names = "default";
124 status = "okay";
125
126 mms114-touchscreen@48 {
127 compatible = "melfas,mms114";
128 reg = <0x48>;
129 interrupt-parent = <&gpm2>;
130 interrupts = <3 2>;
131 x-size = <720>;
132 y-size = <1280>;
133 avdd-supply = <&ldo23_reg>;
134 vdd-supply = <&ldo24_reg>;
135 };
136 };
137
138 i2c@138D0000 {
139 samsung,i2c-sda-delay = <100>;
140 samsung,i2c-slave-addr = <0x10>;
141 samsung,i2c-max-bus-freq = <100000>;
142 pinctrl-0 = <&i2c7_bus>;
143 pinctrl-names = "default";
144 status = "okay";
145
146 max77686_pmic@09 {
147 compatible = "maxim,max77686";
148 interrupt-parent = <&gpx0>;
149 interrupts = <7 0>;
150 reg = <0x09>;
ada12c47 151 #clock-cells = <1>;
15dfdfad
TF
152
153 voltage-regulators {
154 ldo1_reg: ldo1 {
155 regulator-compatible = "LDO1";
156 regulator-name = "VALIVE_1.0V_AP";
157 regulator-min-microvolt = <1000000>;
158 regulator-max-microvolt = <1000000>;
159 regulator-always-on;
160 regulator-mem-on;
161 };
162
163 ldo2_reg: ldo2 {
164 regulator-compatible = "LDO2";
165 regulator-name = "VM1M2_1.2V_AP";
166 regulator-min-microvolt = <1200000>;
167 regulator-max-microvolt = <1200000>;
168 regulator-always-on;
169 regulator-mem-on;
170 };
171
172 ldo3_reg: ldo3 {
173 regulator-compatible = "LDO3";
174 regulator-name = "VCC_1.8V_AP";
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <1800000>;
177 regulator-always-on;
178 regulator-mem-on;
179 };
180
181 ldo4_reg: ldo4 {
182 regulator-compatible = "LDO4";
183 regulator-name = "VCC_2.8V_AP";
184 regulator-min-microvolt = <2800000>;
185 regulator-max-microvolt = <2800000>;
186 regulator-always-on;
187 regulator-mem-on;
188 };
189
190 ldo5_reg: ldo5 {
191 regulator-compatible = "LDO5";
192 regulator-name = "VCC_1.8V_IO";
193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
195 regulator-always-on;
196 regulator-mem-on;
197 };
198
199 ldo6_reg: ldo6 {
200 regulator-compatible = "LDO6";
201 regulator-name = "VMPLL_1.0V_AP";
202 regulator-min-microvolt = <1000000>;
203 regulator-max-microvolt = <1000000>;
204 regulator-always-on;
205 regulator-mem-on;
206 };
207
208 ldo7_reg: ldo7 {
209 regulator-compatible = "LDO7";
210 regulator-name = "VPLL_1.0V_AP";
211 regulator-min-microvolt = <1000000>;
212 regulator-max-microvolt = <1000000>;
213 regulator-always-on;
214 regulator-mem-on;
215 };
216
217 ldo8_reg: ldo8 {
218 regulator-compatible = "LDO8";
219 regulator-name = "VMIPI_1.0V";
220 regulator-min-microvolt = <1000000>;
221 regulator-max-microvolt = <1000000>;
222 regulator-mem-off;
223 };
224
225 ldo9_reg: ldo9 {
226 regulator-compatible = "LDO9";
227 regulator-name = "CAM_ISP_MIPI_1.2V";
228 regulator-min-microvolt = <1200000>;
229 regulator-max-microvolt = <1200000>;
230 regulator-mem-idle;
231 };
232
233 ldo10_reg: ldo10 {
234 regulator-compatible = "LDO10";
235 regulator-name = "VMIPI_1.8V";
236 regulator-min-microvolt = <1800000>;
237 regulator-max-microvolt = <1800000>;
238 regulator-mem-off;
239 };
240
241 ldo11_reg: ldo11 {
242 regulator-compatible = "LDO11";
243 regulator-name = "VABB1_1.95V";
244 regulator-min-microvolt = <1950000>;
245 regulator-max-microvolt = <1950000>;
246 regulator-always-on;
247 regulator-mem-off;
248 };
249
250 ldo12_reg: ldo12 {
251 regulator-compatible = "LDO12";
252 regulator-name = "VUOTG_3.0V";
253 regulator-min-microvolt = <3000000>;
254 regulator-max-microvolt = <3000000>;
255 regulator-mem-off;
256 };
257
258 ldo13_reg: ldo13 {
259 regulator-compatible = "LDO13";
260 regulator-name = "NFC_AVDD_1.8V";
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <1800000>;
263 regulator-mem-idle;
264 };
265
266 ldo14_reg: ldo14 {
267 regulator-compatible = "LDO14";
268 regulator-name = "VABB2_1.95V";
269 regulator-min-microvolt = <1950000>;
270 regulator-max-microvolt = <1950000>;
271 regulator-always-on;
272 regulator-mem-off;
273 };
274
275 ldo15_reg: ldo15 {
276 regulator-compatible = "LDO15";
277 regulator-name = "VHSIC_1.0V";
278 regulator-min-microvolt = <1000000>;
279 regulator-max-microvolt = <1000000>;
280 regulator-mem-off;
281 };
282
283 ldo16_reg: ldo16 {
284 regulator-compatible = "LDO16";
285 regulator-name = "VHSIC_1.8V";
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <1800000>;
288 regulator-mem-off;
289 };
290
291 ldo17_reg: ldo17 {
292 regulator-compatible = "LDO17";
293 regulator-name = "CAM_SENSOR_CORE_1.2V";
294 regulator-min-microvolt = <1200000>;
295 regulator-max-microvolt = <1200000>;
296 regulator-mem-idle;
297 };
298
299 ldo18_reg: ldo18 {
300 regulator-compatible = "LDO18";
301 regulator-name = "CAM_ISP_SEN_IO_1.8V";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
304 regulator-mem-idle;
305 };
306
307 ldo19_reg: ldo19 {
308 regulator-compatible = "LDO19";
309 regulator-name = "VT_CAM_1.8V";
310 regulator-min-microvolt = <1800000>;
311 regulator-max-microvolt = <1800000>;
312 regulator-mem-idle;
313 };
314
315 ldo20_reg: ldo20 {
316 regulator-compatible = "LDO20";
317 regulator-name = "VDDQ_PRE_1.8V";
318 regulator-min-microvolt = <1800000>;
319 regulator-max-microvolt = <1800000>;
320 regulator-mem-idle;
321 };
322
323 ldo21_reg: ldo21 {
324 regulator-compatible = "LDO21";
325 regulator-name = "VTF_2.8V";
326 regulator-min-microvolt = <2800000>;
327 regulator-max-microvolt = <2800000>;
328 regulator-mem-idle;
329 };
330
331 ldo22_reg: ldo22 {
332 regulator-compatible = "LDO22";
333 regulator-name = "VMEM_VDD_2.8V";
334 regulator-min-microvolt = <2800000>;
335 regulator-max-microvolt = <2800000>;
336 regulator-always-on;
337 regulator-mem-off;
338 };
339
340 ldo23_reg: ldo23 {
341 regulator-compatible = "LDO23";
342 regulator-name = "TSP_AVDD_3.3V";
343 regulator-min-microvolt = <3300000>;
344 regulator-max-microvolt = <3300000>;
345 regulator-mem-idle;
346 };
347
348 ldo24_reg: ldo24 {
349 regulator-compatible = "LDO24";
350 regulator-name = "TSP_VDD_1.8V";
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
353 regulator-mem-idle;
354 };
355
356 ldo25_reg: ldo25 {
357 regulator-compatible = "LDO25";
358 regulator-name = "LCD_VCC_3.3V";
359 regulator-min-microvolt = <2800000>;
360 regulator-max-microvolt = <2800000>;
361 regulator-mem-idle;
362 };
363
364 ldo26_reg: ldo26 {
365 regulator-compatible = "LDO26";
366 regulator-name = "MOTOR_VCC_3.0V";
367 regulator-min-microvolt = <3000000>;
368 regulator-max-microvolt = <3000000>;
369 regulator-mem-idle;
370 };
371
372 buck1_reg: buck1 {
373 regulator-compatible = "BUCK1";
374 regulator-name = "vdd_mif";
375 regulator-min-microvolt = <850000>;
376 regulator-max-microvolt = <1100000>;
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-mem-off;
380 };
381
382 buck2_reg: buck2 {
383 regulator-compatible = "BUCK2";
384 regulator-name = "vdd_arm";
385 regulator-min-microvolt = <850000>;
386 regulator-max-microvolt = <1500000>;
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-mem-off;
390 };
391
392 buck3_reg: buck3 {
393 regulator-compatible = "BUCK3";
394 regulator-name = "vdd_int";
395 regulator-min-microvolt = <850000>;
396 regulator-max-microvolt = <1150000>;
397 regulator-always-on;
398 regulator-boot-on;
399 regulator-mem-off;
400 };
401
402 buck4_reg: buck4 {
403 regulator-compatible = "BUCK4";
404 regulator-name = "vdd_g3d";
405 regulator-min-microvolt = <850000>;
406 regulator-max-microvolt = <1150000>;
407 regulator-boot-on;
408 regulator-mem-off;
409 };
410
411 buck5_reg: buck5 {
412 regulator-compatible = "BUCK5";
413 regulator-name = "VMEM_1.2V_AP";
414 regulator-min-microvolt = <1200000>;
415 regulator-max-microvolt = <1200000>;
416 regulator-always-on;
417 };
418
419 buck6_reg: buck6 {
420 regulator-compatible = "BUCK6";
421 regulator-name = "VCC_SUB_1.35V";
422 regulator-min-microvolt = <1350000>;
423 regulator-max-microvolt = <1350000>;
424 regulator-always-on;
425 };
426
427 buck7_reg: buck7 {
428 regulator-compatible = "BUCK7";
429 regulator-name = "VCC_SUB_2.0V";
430 regulator-min-microvolt = <2000000>;
431 regulator-max-microvolt = <2000000>;
432 regulator-always-on;
433 };
434
435 buck8_reg: buck8 {
436 regulator-compatible = "BUCK8";
437 regulator-name = "VMEM_VDDF_3.0V";
438 regulator-min-microvolt = <2850000>;
439 regulator-max-microvolt = <2850000>;
440 regulator-always-on;
441 regulator-mem-off;
442 };
443
444 buck9_reg: buck9 {
445 regulator-compatible = "BUCK9";
446 regulator-name = "CAM_ISP_CORE_1.2V";
447 regulator-min-microvolt = <1000000>;
448 regulator-max-microvolt = <1200000>;
449 regulator-mem-off;
450 };
451 };
452 };
453 };
454
ca7c11fc
TF
455 mmc@12550000 {
456 num-slots = <1>;
457 supports-highspeed;
458 broken-cd;
15dfdfad 459 non-removable;
ca7c11fc 460 card-detect-delay = <200>;
15dfdfad 461 vmmc-supply = <&vemmc_reg>;
ca7c11fc
TF
462 clock-frequency = <400000000>;
463 samsung,dw-mshc-ciu-div = <0>;
464 samsung,dw-mshc-sdr-timing = <2 3>;
465 samsung,dw-mshc-ddr-timing = <1 2>;
466 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
467 pinctrl-names = "default";
15dfdfad 468 status = "okay";
ca7c11fc
TF
469
470 slot@0 {
471 reg = <0>;
472 bus-width = <8>;
473 };
15dfdfad
TF
474 };
475
476 serial@13800000 {
477 status = "okay";
478 };
479
480 serial@13810000 {
481 status = "okay";
482 };
483
484 serial@13820000 {
485 status = "okay";
486 };
487
488 serial@13830000 {
489 status = "okay";
490 };
9f1eaef2
JA
491
492 i2c_ak8975: i2c-gpio-0 {
493 compatible = "i2c-gpio";
494 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
495 i2c-gpio,delay-us = <2>;
496 #address-cells = <1>;
497 #size-cells = <0>;
498 status = "okay";
499
500 ak8975@0c {
501 compatible = "ak,ak8975";
502 reg = <0x0c>;
503 gpios = <&gpj0 7 0>;
504 };
505 };
b4fec647 506
201f1267
AH
507 spi_1: spi@13930000 {
508 pinctrl-names = "default";
509 pinctrl-0 = <&spi1_bus>;
510 status = "okay";
511
512 s5c73m3_spi: s5c73m3 {
513 compatible = "samsung,s5c73m3";
514 spi-max-frequency = <50000000>;
515 reg = <0>;
516 controller-data {
517 cs-gpio = <&gpb 5 0>;
518 samsung,spi-feedback-delay = <2>;
519 };
520 };
521 };
522
420ae845
AH
523 dsi_0: dsi@11C80000 {
524 vddcore-supply = <&ldo8_reg>;
525 vddio-supply = <&ldo10_reg>;
526 samsung,pll-clock-frequency = <24000000>;
527 status = "okay";
528
529 ports {
530 #address-cells = <1>;
531 #size-cells = <0>;
532
533 port@1 {
534 reg = <1>;
535
536 dsi_out: endpoint {
537 remote-endpoint = <&dsi_in>;
538 samsung,burst-clock-frequency = <500000000>;
539 samsung,esc-clock-frequency = <20000000>;
540 };
541 };
542 };
543
544 panel@0 {
545 compatible = "samsung,s6e8aa0";
546 reg = <0>;
547 vdd3-supply = <&lcd_vdd3_reg>;
548 vci-supply = <&ldo25_reg>;
549 reset-gpios = <&gpy4 5 0>;
550 power-on-delay= <50>;
551 reset-delay = <100>;
552 init-delay = <100>;
553 flip-horizontal;
554 flip-vertical;
555 panel-width-mm = <58>;
556 panel-height-mm = <103>;
557
558 display-timings {
559 timing-0 {
560 clock-frequency = <0>;
561 hactive = <720>;
562 vactive = <1280>;
563 hfront-porch = <5>;
564 hback-porch = <5>;
565 hsync-len = <5>;
566 vfront-porch = <13>;
567 vback-porch = <1>;
568 vsync-len = <2>;
569 };
570 };
571
572 port {
573 dsi_in: endpoint {
574 remote-endpoint = <&dsi_out>;
575 };
576 };
577 };
578 };
579
bbab1e3f
AH
580 fimd@11c00000 {
581 status = "okay";
582 };
583
b4fec647
SN
584 camera {
585 pinctrl-0 = <&cam_port_b_clk_active>;
586 pinctrl-names = "default";
587 status = "okay";
588
589 fimc_0: fimc@11800000 {
590 status = "okay";
591 };
592
593 fimc_1: fimc@11810000 {
594 status = "okay";
595 };
596
597 fimc_2: fimc@11820000 {
598 status = "okay";
599 };
600
601 fimc_3: fimc@11830000 {
602 status = "okay";
603 };
604
605 csis_1: csis@11890000 {
606 vddcore-supply = <&ldo8_reg>;
607 vddio-supply = <&ldo10_reg>;
608 clock-frequency = <160000000>;
609 status = "okay";
610
611 /* Camera D (4) MIPI CSI-2 (CSIS1) */
612 port@4 {
613 reg = <4>;
614 csis1_ep: endpoint {
615 remote-endpoint = <&is_s5k6a3_ep>;
616 data-lanes = <1>;
617 samsung,csis-hs-settle = <18>;
618 samsung,csis-wclk;
619 };
620 };
621 };
622
623 fimc_lite_0: fimc-lite@12390000 {
624 status = "okay";
625 };
626
627 fimc_lite_1: fimc-lite@123A0000 {
628 status = "okay";
629 };
630
631 fimc-is@12000000 {
632 pinctrl-0 = <&fimc_is_uart>;
633 pinctrl-names = "default";
634 status = "okay";
635
636 i2c1_isp: i2c-isp@12140000 {
637 pinctrl-0 = <&fimc_is_i2c1>;
638 pinctrl-names = "default";
639
640 s5k6a3@10 {
641 compatible = "samsung,s5k6a3";
642 reg = <0x10>;
643 svdda-supply = <&cam_io_reg>;
644 svddio-supply = <&ldo19_reg>;
645 clock-frequency = <24000000>;
646 /* CAM_B_CLKOUT */
647 clocks = <&clock_cam 1>;
648 clock-names = "mclk";
649 samsung,camclk-out = <1>;
650 gpios = <&gpm1 6 0>;
651
652 port {
653 is_s5k6a3_ep: endpoint {
654 remote-endpoint = <&csis1_ep>;
655 data-lanes = <1>;
656 };
657 };
658 };
659 };
660 };
661 };
15dfdfad 662};
This page took 0.077006 seconds and 5 git commands to generate.