diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-05-08 17:01:40 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-05-08 17:01:40 -0400 |
commit | 4cb378646ef85e76745225912025871f3dc93ca3 (patch) | |
tree | c7aa2a63d0511c3ca73087cacbe377d0f58ab028 /arch/arm/boot/dts/exynos4412-trats2.dts | |
parent | ee5eda64af051097c00534db7c5432c4a061d355 (diff) |
ARM: dts: Add rear camera nodes for exynos4412-trats2
This patch enables the rear facing camera (s5c73m3) on TRATS2 board
by adding the I2C0 bus controller, s5c73m3 sensor, MIPI CSI-2 receiver
and the sensor's voltage regulator supply nodes.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 72 |
1 files changed, 69 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index cf0e11037729..f621fd976815 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -80,7 +80,24 @@ | |||
80 | enable-active-high; | 80 | enable-active-high; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | /* More to come */ | 83 | cam_af_reg: voltage-regulator-3 { |
84 | compatible = "regulator-fixed"; | ||
85 | regulator-name = "CAM_AF"; | ||
86 | regulator-min-microvolt = <2800000>; | ||
87 | regulator-max-microvolt = <2800000>; | ||
88 | gpio = <&gpm0 4 0>; | ||
89 | enable-active-high; | ||
90 | }; | ||
91 | |||
92 | cam_isp_core_reg: voltage-regulator-4 { | ||
93 | compatible = "regulator-fixed"; | ||
94 | regulator-name = "CAM_ISP_CORE_1.2V_EN"; | ||
95 | regulator-min-microvolt = <1200000>; | ||
96 | regulator-max-microvolt = <1200000>; | ||
97 | gpio = <&gpm0 3 0>; | ||
98 | enable-active-high; | ||
99 | regulator-always-on; | ||
100 | }; | ||
84 | }; | 101 | }; |
85 | 102 | ||
86 | gpio-keys { | 103 | gpio-keys { |
@@ -140,6 +157,38 @@ | |||
140 | }; | 157 | }; |
141 | }; | 158 | }; |
142 | 159 | ||
160 | i2c_0: i2c@13860000 { | ||
161 | samsung,i2c-sda-delay = <100>; | ||
162 | samsung,i2c-slave-addr = <0x10>; | ||
163 | samsung,i2c-max-bus-freq = <400000>; | ||
164 | pinctrl-0 = <&i2c0_bus>; | ||
165 | pinctrl-names = "default"; | ||
166 | status = "okay"; | ||
167 | |||
168 | s5c73m3@3c { | ||
169 | compatible = "samsung,s5c73m3"; | ||
170 | reg = <0x3c>; | ||
171 | standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ | ||
172 | xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ | ||
173 | vdd-int-supply = <&buck9_reg>; | ||
174 | vddio-cis-supply = <&ldo9_reg>; | ||
175 | vdda-supply = <&ldo17_reg>; | ||
176 | vddio-host-supply = <&ldo18_reg>; | ||
177 | vdd-af-supply = <&cam_af_reg>; | ||
178 | vdd-reg-supply = <&cam_io_reg>; | ||
179 | clock-frequency = <24000000>; | ||
180 | /* CAM_A_CLKOUT */ | ||
181 | clocks = <&camera 0>; | ||
182 | clock-names = "cis_extclk"; | ||
183 | port { | ||
184 | s5c73m3_ep: endpoint { | ||
185 | remote-endpoint = <&csis0_ep>; | ||
186 | data-lanes = <1 2 3 4>; | ||
187 | }; | ||
188 | }; | ||
189 | }; | ||
190 | }; | ||
191 | |||
143 | i2c@138D0000 { | 192 | i2c@138D0000 { |
144 | samsung,i2c-sda-delay = <100>; | 193 | samsung,i2c-sda-delay = <100>; |
145 | samsung,i2c-slave-addr = <0x10>; | 194 | samsung,i2c-slave-addr = <0x10>; |
@@ -586,8 +635,8 @@ | |||
586 | status = "okay"; | 635 | status = "okay"; |
587 | }; | 636 | }; |
588 | 637 | ||
589 | camera { | 638 | camera: camera { |
590 | pinctrl-0 = <&cam_port_b_clk_active>; | 639 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; |
591 | pinctrl-names = "default"; | 640 | pinctrl-names = "default"; |
592 | status = "okay"; | 641 | status = "okay"; |
593 | 642 | ||
@@ -607,6 +656,23 @@ | |||
607 | status = "okay"; | 656 | status = "okay"; |
608 | }; | 657 | }; |
609 | 658 | ||
659 | csis_0: csis@11880000 { | ||
660 | status = "okay"; | ||
661 | vddcore-supply = <&ldo8_reg>; | ||
662 | vddio-supply = <&ldo10_reg>; | ||
663 | clock-frequency = <176000000>; | ||
664 | |||
665 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ | ||
666 | port@3 { | ||
667 | reg = <3>; | ||
668 | csis0_ep: endpoint { | ||
669 | remote-endpoint = <&s5c73m3_ep>; | ||
670 | data-lanes = <1 2 3 4>; | ||
671 | samsung,csis-hs-settle = <12>; | ||
672 | }; | ||
673 | }; | ||
674 | }; | ||
675 | |||
610 | csis_1: csis@11890000 { | 676 | csis_1: csis@11890000 { |
611 | vddcore-supply = <&ldo8_reg>; | 677 | vddcore-supply = <&ldo8_reg>; |
612 | vddio-supply = <&ldo10_reg>; | 678 | vddio-supply = <&ldo10_reg>; |