aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-08-05 13:49:44 -0400
committerKukjin Kim <kgene.kim@samsung.com>2013-08-05 13:49:44 -0400
commitb4fec64758ab46ab80f177ebfea47f331ac01ed0 (patch)
tree0b0c535f929c20af13a20c7be0500934ddbc47b0
parent9f1eaef2fc861f375821da57dbec4987c5073b3a (diff)
ARM: dts: Add camera device nodes for Exynos4412 TRATS2 board
This patch enables the front camera using the internal camera ISP (FIMC-IS). Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos4412-trats2.dts88
1 files changed, 88 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index cab4c0e74051..5558e5a857c0 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -62,6 +62,15 @@
62 enable-active-high; 62 enable-active-high;
63 }; 63 };
64 64
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
65 /* More to come */ 74 /* More to come */
66 }; 75 };
67 76
@@ -472,4 +481,83 @@
472 gpios = <&gpj0 7 0>; 481 gpios = <&gpj0 7 0>;
473 }; 482 };
474 }; 483 };
484
485 camera {
486 pinctrl-0 = <&cam_port_b_clk_active>;
487 pinctrl-names = "default";
488 status = "okay";
489
490 fimc_0: fimc@11800000 {
491 status = "okay";
492 };
493
494 fimc_1: fimc@11810000 {
495 status = "okay";
496 };
497
498 fimc_2: fimc@11820000 {
499 status = "okay";
500 };
501
502 fimc_3: fimc@11830000 {
503 status = "okay";
504 };
505
506 csis_1: csis@11890000 {
507 vddcore-supply = <&ldo8_reg>;
508 vddio-supply = <&ldo10_reg>;
509 clock-frequency = <160000000>;
510 status = "okay";
511
512 /* Camera D (4) MIPI CSI-2 (CSIS1) */
513 port@4 {
514 reg = <4>;
515 csis1_ep: endpoint {
516 remote-endpoint = <&is_s5k6a3_ep>;
517 data-lanes = <1>;
518 samsung,csis-hs-settle = <18>;
519 samsung,csis-wclk;
520 };
521 };
522 };
523
524 fimc_lite_0: fimc-lite@12390000 {
525 status = "okay";
526 };
527
528 fimc_lite_1: fimc-lite@123A0000 {
529 status = "okay";
530 };
531
532 fimc-is@12000000 {
533 pinctrl-0 = <&fimc_is_uart>;
534 pinctrl-names = "default";
535 status = "okay";
536
537 i2c1_isp: i2c-isp@12140000 {
538 pinctrl-0 = <&fimc_is_i2c1>;
539 pinctrl-names = "default";
540
541 s5k6a3@10 {
542 compatible = "samsung,s5k6a3";
543 reg = <0x10>;
544 svdda-supply = <&cam_io_reg>;
545 svddio-supply = <&ldo19_reg>;
546 clock-frequency = <24000000>;
547 /* CAM_B_CLKOUT */
548 clocks = <&clock_cam 1>;
549 clock-names = "mclk";
550 samsung,camclk-out = <1>;
551 gpios = <&gpm1 6 0>;
552
553 port {
554 is_s5k6a3_ep: endpoint {
555 remote-endpoint = <&csis1_ep>;
556 data-lanes = <1>;
557 };
558 };
559 };
560 };
561 };
562 };
475}; 563};