blob: 29ae3f959d0c166aa8c8f681c7bc08ddc4a0151c [file] [log] [blame]
Kevin Chan350b6932012-08-01 02:21:00 -07001/*
Jignesh Mehtaa06591f2012-10-31 17:18:08 -07002 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Kevin Chan350b6932012-08-01 02:21:00 -07003 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
Jignesh Mehtaa06591f2012-10-31 17:18:08 -070017 qcom,msm-cam@fd8C0000 {
18 compatible = "qcom,msm-cam";
Kevin Chan350b6932012-08-01 02:21:00 -070019 reg = <0xfd8C0000 0x10000>;
Jignesh Mehtaa06591f2012-10-31 17:18:08 -070020 reg-names = "msm-cam";
Kevin Chan350b6932012-08-01 02:21:00 -070021 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070022
Kevin Chan350b6932012-08-01 02:21:00 -070023 qcom,csiphy@fda0ac00 {
24 cell-index = <0>;
25 compatible = "qcom,csiphy";
Evgeniy Borisov4de53312013-03-27 05:14:41 -070026 reg = <0xfda0ac00 0x200>,
27 <0xfda00030 0x4>;
28 reg-names = "csiphy", "csiphy_clk_mux";
Kevin Chan350b6932012-08-01 02:21:00 -070029 interrupts = <0 78 0>;
30 interrupt-names = "csiphy";
31 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070032
Kevin Chan350b6932012-08-01 02:21:00 -070033 qcom,csiphy@fda0b000 {
34 cell-index = <1>;
35 compatible = "qcom,csiphy";
Evgeniy Borisov4de53312013-03-27 05:14:41 -070036 reg = <0xfda0b000 0x200>,
37 <0xfda00038 0x4>;
38 reg-names = "csiphy", "csiphy_clk_mux";
Kevin Chan350b6932012-08-01 02:21:00 -070039 interrupts = <0 79 0>;
40 interrupt-names = "csiphy";
41 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070042
Kevin Chan350b6932012-08-01 02:21:00 -070043 qcom,csiphy@fda0b400 {
44 cell-index = <2>;
45 compatible = "qcom,csiphy";
Evgeniy Borisov4de53312013-03-27 05:14:41 -070046 reg = <0xfda0b400 0x200>,
47 <0xfda00040 0x4>;
48 reg-names = "csiphy", "csiphy_clk_mux";
Kevin Chan350b6932012-08-01 02:21:00 -070049 interrupts = <0 80 0>;
50 interrupt-names = "csiphy";
51 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070052
Kevin Chan350b6932012-08-01 02:21:00 -070053 qcom,csid@fda08000 {
54 cell-index = <0>;
55 compatible = "qcom,csid";
56 reg = <0xfda08000 0x100>;
57 reg-names = "csid";
58 interrupts = <0 51 0>;
59 interrupt-names = "csid";
Su Liu0850c5b2013-03-22 17:31:17 -070060 qcom,csi-vdd-voltage = <1800000>;
61 qcom,mipi-csi-vdd-supply = <&pm8941_l12>;
Kevin Chan350b6932012-08-01 02:21:00 -070062 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070063
Kevin Chan350b6932012-08-01 02:21:00 -070064 qcom,csid@fda08400 {
65 cell-index = <1>;
66 compatible = "qcom,csid";
67 reg = <0xfda08400 0x100>;
68 reg-names = "csid";
69 interrupts = <0 52 0>;
70 interrupt-names = "csid";
Su Liu0850c5b2013-03-22 17:31:17 -070071 qcom,csi-vdd-voltage = <1800000>;
72 qcom,mipi-csi-vdd-supply = <&pm8941_l12>;
Kevin Chan350b6932012-08-01 02:21:00 -070073 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070074
Kevin Chan350b6932012-08-01 02:21:00 -070075 qcom,csid@fda08800 {
76 cell-index = <2>;
77 compatible = "qcom,csid";
78 reg = <0xfda08800 0x100>;
79 reg-names = "csid";
80 interrupts = <0 53 0>;
81 interrupt-names = "csid";
Su Liu0850c5b2013-03-22 17:31:17 -070082 qcom,csi-vdd-voltage = <1800000>;
83 qcom,mipi-csi-vdd-supply = <&pm8941_l12>;
Kevin Chan350b6932012-08-01 02:21:00 -070084 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070085
Kevin Chan350b6932012-08-01 02:21:00 -070086 qcom,csid@fda08C00 {
87 cell-index = <3>;
88 compatible = "qcom,csid";
89 reg = <0xfda08C00 0x100>;
90 reg-names = "csid";
91 interrupts = <0 54 0>;
92 interrupt-names = "csid";
Su Liu0850c5b2013-03-22 17:31:17 -070093 qcom,csi-vdd-voltage = <1800000>;
94 qcom,mipi-csi-vdd-supply = <&pm8941_l12>;
Kevin Chan350b6932012-08-01 02:21:00 -070095 };
Kevin Chan57b41ee2012-08-24 09:02:22 -070096
Kevin Chan350b6932012-08-01 02:21:00 -070097 qcom,ispif@fda0A000 {
98 cell-index = <0>;
99 compatible = "qcom,ispif";
Evgeniy Borisov4de53312013-03-27 05:14:41 -0700100 reg = <0xfda0A000 0x500>,
101 <0xfda00020 0x10>;
102 reg-names = "ispif", "csi_clk_mux";
Kevin Chan350b6932012-08-01 02:21:00 -0700103 interrupts = <0 55 0>;
104 interrupt-names = "ispif";
105 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700106
Kevin Chan350b6932012-08-01 02:21:00 -0700107 qcom,vfe@fda10000 {
108 cell-index = <0>;
109 compatible = "qcom,vfe40";
Kevin Chan7303f592012-08-23 23:36:53 -0700110 reg = <0xfda10000 0x1000>,
111 <0xfda40000 0x200>;
112 reg-names = "vfe", "vfe_vbif";
Kevin Chan350b6932012-08-01 02:21:00 -0700113 interrupts = <0 57 0>;
114 interrupt-names = "vfe";
115 vdd-supply = <&gdsc_vfe>;
116 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700117
Kevin Chan350b6932012-08-01 02:21:00 -0700118 qcom,vfe@fda14000 {
119 cell-index = <1>;
120 compatible = "qcom,vfe40";
Kevin Chan7303f592012-08-23 23:36:53 -0700121 reg = <0xfda14000 0x1000>,
122 <0xfda40000 0x200>;
123 reg-names = "vfe", "vfe_vbif";
Kevin Chan350b6932012-08-01 02:21:00 -0700124 interrupts = <0 58 0>;
125 interrupt-names = "vfe";
126 vdd-supply = <&gdsc_vfe>;
127 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700128
Kevin Chan350b6932012-08-01 02:21:00 -0700129 qcom,jpeg@fda1c000 {
130 cell-index = <0>;
131 compatible = "qcom,jpeg";
132 reg = <0xfda1c000 0x400>;
133 reg-names = "jpeg";
134 interrupts = <0 59 0>;
135 interrupt-names = "jpeg";
Ashwini Rao078b72d2012-08-28 16:25:58 -0700136 vdd-supply = <&gdsc_jpeg>;
Kevin Chan350b6932012-08-01 02:21:00 -0700137 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700138
Kevin Chan350b6932012-08-01 02:21:00 -0700139 qcom,jpeg@fda20000 {
140 cell-index = <1>;
141 compatible = "qcom,jpeg";
142 reg = <0xfda20000 0x400>;
143 reg-names = "jpeg";
144 interrupts = <0 60 0>;
145 interrupt-names = "jpeg";
Ashwini Rao078b72d2012-08-28 16:25:58 -0700146 vdd-supply = <&gdsc_jpeg>;
Kevin Chan350b6932012-08-01 02:21:00 -0700147 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700148
Kevin Chan350b6932012-08-01 02:21:00 -0700149 qcom,jpeg@fda24000 {
150 cell-index = <2>;
151 compatible = "qcom,jpeg";
152 reg = <0xfda24000 0x400>;
153 reg-names = "jpeg";
154 interrupts = <0 61 0>;
155 interrupt-names = "jpeg";
Ashwini Rao078b72d2012-08-28 16:25:58 -0700156 vdd-supply = <&gdsc_jpeg>;
Kevin Chan350b6932012-08-01 02:21:00 -0700157 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700158
Kevin Chan350b6932012-08-01 02:21:00 -0700159 qcom,irqrouter@fda00000 {
160 cell-index = <0>;
161 compatible = "qcom,irqrouter";
162 reg = <0xfda00000 0x100>;
163 reg-names = "irqrouter";
164 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700165
Kevin Chan350b6932012-08-01 02:21:00 -0700166 qcom,cpp@fda04000 {
167 cell-index = <0>;
168 compatible = "qcom,cpp";
Rajakumar Govindaram15342012013-02-09 14:58:40 -0800169 reg = <0xfda04000 0x100>,
Rajakumar Govindaramd359e4f2013-03-06 03:11:57 -0800170 <0xfda40000 0x200>,
171 <0xfda18000 0x008>;
172 reg-names = "cpp", "cpp_vbif", "cpp_hw";
Kevin Chan350b6932012-08-01 02:21:00 -0700173 interrupts = <0 49 0>;
174 interrupt-names = "cpp";
175 vdd-supply = <&gdsc_vfe>;
176 };
Kevin Chan57b41ee2012-08-24 09:02:22 -0700177
Sreesudhan Ramakrish Ramkumard53503f2012-10-18 10:42:27 -0700178 led_flash0: qcom,camera-led-flash {
179 cell-index = <0>;
180 compatible = "qcom,camera-led-flash";
181 qcom,flash-type = <1>;
182 qcom,flash-source = <&pm8941_flash0 &pm8941_flash1>;
183 };
184
Sreesudhan Ramakrish Ramkumar39074612012-10-11 20:48:51 -0700185 cci: qcom,cci@fda0C000 {
Kevin Chan57b41ee2012-08-24 09:02:22 -0700186 cell-index = <0>;
187 compatible = "qcom,cci";
188 reg = <0xfda0C000 0x1000>;
189 #address-cells = <1>;
Sreesudhan Ramakrish Ramkumar78892ea2013-02-21 00:59:37 -0800190 #size-cells = <0>;
Kevin Chan57b41ee2012-08-24 09:02:22 -0700191 reg-names = "cci";
192 interrupts = <0 50 0>;
193 interrupt-names = "cci";
Shuzhen Wang77337992013-01-08 15:46:09 -0800194 gpios = <&msmgpio 19 0>,
195 <&msmgpio 20 0>,
196 <&msmgpio 21 0>,
197 <&msmgpio 22 0>;
198 qcom,gpio-tbl-num = <0 1 2 3>;
199 qcom,gpio-tbl-flags = <1 1 1 1>;
200 qcom,gpio-tbl-label = "CCI_I2C_DATA0",
201 "CCI_I2C_CLK0",
202 "CCI_I2C_DATA1",
203 "CCI_I2C_CLK1";
204 qcom,hw-thigh = <78>;
205 qcom,hw-tlow = <114>;
206 qcom,hw-tsu-sto = <28>;
207 qcom,hw-tsu-sta = <28>;
208 qcom,hw-thd-dat = <10>;
209 qcom,hw-thd-sta = <77>;
210 qcom,hw-tbuf = <118>;
211 qcom,hw-scl-stretch-en = <0>;
212 qcom,hw-trdhld = <6>;
213 qcom,hw-tsp = <1>;
Kevin Chan57b41ee2012-08-24 09:02:22 -0700214 };
Kevin Chan350b6932012-08-01 02:21:00 -0700215};