diff options
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 79 |
1 files changed, 73 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 8a558b7ac999..bc08e6ef3d4f 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -20,7 +20,7 @@ | |||
20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; | 20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; |
21 | 21 | ||
22 | aliases { | 22 | aliases { |
23 | i2c8 = &i2c_ak8975; | 23 | i2c9 = &i2c_ak8975; |
24 | }; | 24 | }; |
25 | 25 | ||
26 | memory { | 26 | memory { |
@@ -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>; |
@@ -647,10 +713,11 @@ | |||
647 | reg = <0x10>; | 713 | reg = <0x10>; |
648 | svdda-supply = <&cam_io_reg>; | 714 | svdda-supply = <&cam_io_reg>; |
649 | svddio-supply = <&ldo19_reg>; | 715 | svddio-supply = <&ldo19_reg>; |
716 | afvdd-supply = <&ldo19_reg>; | ||
650 | clock-frequency = <24000000>; | 717 | clock-frequency = <24000000>; |
651 | /* CAM_B_CLKOUT */ | 718 | /* CAM_B_CLKOUT */ |
652 | clocks = <&clock_cam 1>; | 719 | clocks = <&camera 1>; |
653 | clock-names = "mclk"; | 720 | clock-names = "extclk"; |
654 | samsung,camclk-out = <1>; | 721 | samsung,camclk-out = <1>; |
655 | gpios = <&gpm1 6 0>; | 722 | gpios = <&gpm1 6 0>; |
656 | 723 | ||