blob: cd83668bde62db07f95422abb1c40b4b792ef74d [file] [log] [blame]
Mayank Rana3d073cf2012-12-18 10:23:27 +05301/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/include/ "dsi-panel-toshiba-720p-video.dtsi"
Sreesudhan Ramakrish Ramkumar97657922013-03-13 10:07:12 -070014/include/ "msm8974-camera-sensor-mtp.dtsi"
Amy Maloche24de28b2012-09-17 12:09:56 -070015/include/ "msm8974-leds.dtsi"
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070016
17/ {
18 serial@f991e000 {
19 status = "ok";
20 };
21
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080022 qcom,mdss_dsi_toshiba_720p_video {
23 status = "ok";
Siddhartha Agrawal1d0557b2013-03-06 14:53:11 -080024 qcom,cont-splash-enabled;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070025 };
26
27 qcom,hdmi_tx@fd922100 {
28 status = "disabled";
29 };
30
31 i2c@f9924000 {
32 atmel_mxt_ts@4a {
33 compatible = "atmel,mxt-ts";
34 reg = <0x4a>;
35 interrupt-parent = <&msmgpio>;
36 interrupts = <61 0x2>;
37 vdd_ana-supply = <&pm8941_l18>;
38 vcc_i2c-supply = <&pm8941_lvs1>;
39 atmel,reset-gpio = <&msmgpio 60 0x00>;
40 atmel,irq-gpio = <&msmgpio 61 0x00>;
41 atmel,panel-coords = <0 0 760 1424>;
42 atmel,display-coords = <0 0 720 1280>;
Sreenivasulu Chalam Charlabf7f6212012-10-17 22:10:24 +053043 atmel,i2c-pull-up;
Amy Malochea90b0052013-02-13 11:57:10 -080044 atmel,no-force-update;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070045 atmel,cfg_1 {
46 atmel,family-id = <0x82>;
47 atmel,variant-id = <0x19>;
48 atmel,version = <0x10>;
49 atmel,build = <0xaa>;
50 atmel,config = [
51 /* Object 6, Instance = 0 */
52 00 00 00 00 00 00
53 /* Object 38, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080054 15 01 00 03 0A 0C 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070055 /* Object 7, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080056 20 08 32 03
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070057 /* Object 8, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080058 0F 00 0A 0A 00 00 0A 0A 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070059 /* Object 9, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080060 83 00 00 18 0E 00 70 46 02 01
61 00 0A 03 31 04 05 0A 0A 90 05
62 F8 02 05 F1 F1 0F 00 00 08 2D
63 12 06 00 00 00 01
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070064 /* Object 15, Instance = 0 */
65 00 00 00 00 00 00 00 00 00 00
66 00
67 /* Object 18, Instance = 0 */
68 00 00
69 /* Object 19, Instance = 0 */
70 00 00 00 00 00 00
71 /* Object 23, Instance = 0 */
72 00 00 00 00 00 00 00 00 00 00
73 00 00 00 00 00
74 /* Object 25, Instance = 0 */
75 00 00 00 00 00 00 00 00 00 00
76 00 00 00 00 00
77 /* Object 40, Instance = 0 */
78 00 00 00 00 00
79 /* Object 42, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080080 33 1E 19 10 80 00 00 00 FF 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070081 /* Object 46, Instance = 0 */
82 00 00 10 10 00 00 03 00 00 01
83 /* Object 47, Instance = 0 */
84 08 0A 28 0A 02 0A 00 8C 00 20
85 00 00 00
86 /* Object 55, Instance = 0 */
87 00 00 00 00 00 00
88 /* Object 56, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080089 00 00 00 18 05 05 05 05 05 05
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070090 05 05 05 05 05 05 05 05 05 05
91 05 05 05 05 05 05 05 05 00 00
92 00 00 00 00 00 00 00 00 00 00
93 00 00
94 /* Object 57, Instance = 0 */
95 00 00 00
96 /* Object 61, Instance = 0 */
97 00 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070098 /* Object 62, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080099 01 2A 00 16 00 00 00 00 0B 01
100 02 03 04 08 00 00 08 10 18 05
101 00 0A 05 05 50 14 19 34 1A 7F
102 00 00 00 00 00 00 00 00 00 30
103 05 02 00 01 00 05 00 00 00 00
104 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700105 ];
106 };
107 };
108 };
109
Amy Maloche932657e2012-11-26 11:31:55 -0800110 gen-vkeys {
111 compatible = "qcom,gen-vkeys";
112 label = "atmel_mxt_ts";
113 qcom,disp-maxx = <720>;
114 qcom,disp-maxy = <1280>;
115 qcom,panel-maxx = <760>;
116 qcom,panel-maxy = <1424>;
117 qcom,key-codes = <158 139 102 217>;
118 };
119
Amy Maloche527acc42012-12-07 18:40:54 -0800120 i2c@f9967000 {
121 isa1200@48 {
122 status = "okay";
123 reg = <0x48>;
124 vcc_i2c-supply = <&pm8941_s3>;
125 compatible = "imagis,isa1200";
126 label = "vibrator";
127 imagis,chip-en;
128 imagis,need-pwm-clk;
129 imagis,ext-clk-en;
130 imagis,hap-en-gpio = <&msmgpio 86 0x00>;
131 imagis,max-timeout = <15000>;
132 imagis,pwm-div = <256>;
133 imagis,mode-ctrl = <2>;
134 imagis,regulator {
135 regulator-name = "vcc_i2c";
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <1800000>;
138 regulator-max-microamp = <9360>;
139 };
140 };
141 };
142
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700143 gpio_keys {
144 compatible = "gpio-keys";
145 input-name = "gpio-keys";
146
147 camera_snapshot {
148 label = "camera_snapshot";
149 gpios = <&pm8941_gpios 3 0x1>;
150 linux,input-type = <1>;
151 linux,code = <0x2fe>;
152 gpio-key,wakeup;
153 debounce-interval = <15>;
154 };
155
156 camera_focus {
157 label = "camera_focus";
158 gpios = <&pm8941_gpios 4 0x1>;
159 linux,input-type = <1>;
160 linux,code = <0x210>;
161 gpio-key,wakeup;
162 debounce-interval = <15>;
163 };
164
165 vol_up {
166 label = "volume_up";
167 gpios = <&pm8941_gpios 5 0x1>;
168 linux,input-type = <1>;
169 linux,code = <115>;
170 gpio-key,wakeup;
171 debounce-interval = <15>;
172 };
173 };
174
175 spi@f9923000 {
176 ethernet-switch@2 {
177 compatible = "micrel,ks8851";
178 reg = <2>;
179 interrupt-parent = <&msmgpio>;
180 interrupts = <94 0>;
181 spi-max-frequency = <4800000>;
182 rst-gpio = <&pm8941_mpps 6 0>;
183 vdd-io-supply = <&spi_eth_vreg>;
184 vdd-phy-supply = <&spi_eth_vreg>;
185 };
186 };
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800187
188 sound {
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800189 qcom,model = "msm8974-taiko-mtp-snd-card";
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800190 };
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700191};
192
Amy Maloche24de28b2012-09-17 12:09:56 -0700193&spmi_bus {
194 qcom,pm8941@1 {
195 qcom,leds@d800 {
196 status = "okay";
197 qcom,wled_0 {
198 label = "wled";
199 linux,name = "wled:backlight";
200 linux,default-trigger = "bkl-trigger";
201 qcom,cs-out-en;
Amy Malochebd687672013-03-18 11:23:45 -0700202 qcom,op-fdbck = <1>;
Siddhartha Agrawal12315e62013-02-24 11:23:02 -0800203 qcom,default-state = "on";
Amy Maloche24de28b2012-09-17 12:09:56 -0700204 qcom,max-current = <25>;
205 qcom,ctrl-delay-us = <0>;
206 qcom,boost-curr-lim = <3>;
207 qcom,cp-sel = <0>;
208 qcom,switch-freq = <2>;
209 qcom,ovp-val = <2>;
210 qcom,num-strings = <1>;
211 qcom,id = <0>;
212 };
213 };
214
215 qcom,leds@d900 {
216 status = "disabled";
217 };
218
219 qcom,leds@da00 {
220 status = "disabled";
221 };
222
223 qcom,leds@db00 {
224 status = "disabled";
225 };
226
227 qcom,leds@dc00 {
228 status = "disabled";
229 };
230
231 qcom,leds@dd00 {
232 status = "disabled";
233 };
234
235 qcom,leds@de00 {
236 status = "disabled";
237 };
238
239 qcom,leds@df00 {
240 status = "disabled";
241 };
242
243 qcom,leds@e000 {
244 status = "disabled";
245 };
246
247 qcom,leds@e100 {
248 status = "disabled";
249 };
250 };
251};
252
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800253&sdcc1 {
254 status = "disabled";
255};
256
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700257&sdcc2 {
258 #address-cells = <0>;
259 interrupt-parent = <&sdcc2>;
260 interrupts = <0 1 2>;
261 #interrupt-cells = <1>;
262 interrupt-map-mask = <0xffffffff>;
263 interrupt-map = <0 &intc 0 125 0
264 1 &intc 0 220 0
265 2 &msmgpio 62 0x3>;
266 interrupt-names = "core_irq", "bam_irq", "status_irq";
267 cd-gpios = <&msmgpio 62 0x1>;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800268 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700269};
270
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700271&sdhc_1 {
272 vdd-supply = <&pm8941_l20>;
273 vdd-io-supply = <&pm8941_s3>;
274
Sahitya Tummalad0fc2dd2013-03-27 10:34:35 +0530275 qcom,vdd-always-on;
276 qcom,vdd-lpm-sup;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700277 qcom,vdd-voltage-level = <2950000 2950000>;
278 qcom,vdd-current-level = <800 500000>;
279
280 qcom,vdd-io-always-on;
281 qcom,vdd-io-voltage-level = <1800000 1800000>;
282 qcom,vdd-io-current-level = <250 154000>;
283
284 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
285 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
286 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
287 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
288
289 qcom,nonremovable;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800290 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700291};
292
293&sdhc_2 {
Sahitya Tummala6b152f82013-03-12 15:02:12 +0530294 #address-cells = <0>;
295 interrupt-parent = <&sdhc_2>;
296 interrupts = <0 1 2>;
297 #interrupt-cells = <1>;
298 interrupt-map-mask = <0xffffffff>;
299 interrupt-map = <0 &intc 0 125 0
300 1 &intc 0 221 0
301 2 &msmgpio 62 0x3>;
302 interrupt-names = "hc_irq", "pwr_irq", "status_irq";
303 cd-gpios = <&msmgpio 62 0x1>;
304
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700305 vdd-supply = <&pm8941_l21>;
306 vdd-io-supply = <&pm8941_l13>;
307
308 qcom,vdd-voltage-level = <2950000 2950000>;
309 qcom,vdd-current-level = <9000 800000>;
310
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700311 qcom,vdd-io-voltage-level = <1800000 2950000>;
312 qcom,vdd-io-current-level = <6 22000>;
313
314 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
315 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
316 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
317 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800318 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700319};
320
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700321&usb_otg {
322 qcom,hsusb-otg-otg-control = <2>;
323};
324
Mayank Rana3d073cf2012-12-18 10:23:27 +0530325&uart7 {
326 status = "ok";
327};
328
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700329&usb3 {
Manu Gautam6c0ff032012-11-02 14:55:35 +0530330 qcom,otg-capability;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700331};
332
Xiaozhe Shi03a44bf2012-11-12 15:59:27 -0800333&pm8941_bms {
334 status = "ok";
335};
336
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700337&pm8941_chg {
338 status = "ok";
David Keitele37b5792013-04-02 12:31:20 -0700339 qcom,chg-charging-disabled;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700340
David Keitele89d4782013-03-27 11:29:59 -0700341 qcom,chgr@1000 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700342 status = "ok";
343 };
344
David Keitele89d4782013-03-27 11:29:59 -0700345 qcom,buck@1100 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700346 status = "ok";
347 };
348
David Keitele89d4782013-03-27 11:29:59 -0700349 qcom,bat-if@1200 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700350 status = "ok";
351 };
352
David Keitele89d4782013-03-27 11:29:59 -0700353 qcom,usb-chgpth@1300 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700354 status = "ok";
355 };
356
David Keitele89d4782013-03-27 11:29:59 -0700357 qcom,dc-chgpth@1400 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700358 status = "ok";
359 };
360
David Keitele89d4782013-03-27 11:29:59 -0700361 qcom,boost@1500 {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700362 status = "ok";
363 };
364
365 qcom,chg-misc@1600 {
366 status = "ok";
367 };
368};
369
370&pm8941_gpios {
371 gpio@c000 { /* GPIO 1 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700372 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
373 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
374 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700375 };
376
377 gpio@c100 { /* GPIO 2 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700378 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
379 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
380 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700381 };
382
383 gpio@c200 { /* GPIO 3 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700384 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
385 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700386 qcom,vin-sel = <2>;
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700387 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
388 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700389 };
390
391 gpio@c300 { /* GPIO 4 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700392 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
393 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
394 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
395 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
396 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700397 };
398
399 gpio@c400 { /* GPIO 5 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700400 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
401 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
402 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
403 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
404 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700405 };
406
407 gpio@c500 { /* GPIO 6 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700408 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
409 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
410 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700411 };
412
413 gpio@c600 { /* GPIO 7 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700414 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
415 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
416 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700417 };
418
419 gpio@c700 { /* GPIO 8 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700420 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
421 qcom,pull = <0>; /* QPNP_PIN_PULL_UP_30 */
422 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700423 };
424
425 gpio@c800 { /* GPIO 9 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700426 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
427 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
428 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
429 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700430 };
431
432 gpio@c900 { /* GPIO 10 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700433 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
434 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
435 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
436 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700437 };
438
439 gpio@ca00 { /* GPIO 11 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700440 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
441 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
442 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
443 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700444 };
445
446 gpio@cb00 { /* GPIO 12 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700447 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
448 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
449 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
450 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700451 };
452
453 gpio@cc00 { /* GPIO 13 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700454 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
455 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
456 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
457 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700458 };
459
460 gpio@cd00 { /* GPIO 14 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700461 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
462 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
463 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
464 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700465 };
466
467 gpio@ce00 { /* GPIO 15 */
468 qcom,mode = <1>;
469 qcom,output-type = <0>;
470 qcom,pull = <5>;
471 qcom,vin-sel = <2>;
472 qcom,out-strength = <3>;
Michael Bohand734fb22012-10-30 14:19:22 -0700473 qcom,src-sel = <2>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700474 qcom,master-en = <1>;
475 };
476
477 gpio@cf00 { /* GPIO 16 */
Amy Maloche527acc42012-12-07 18:40:54 -0800478 qcom,mode = <1>;
479 qcom,output-type = <0>;
480 qcom,pull = <5>;
481 qcom,vin-sel = <2>;
482 qcom,out-strength = <3>;
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700483 qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */
Amy Maloche527acc42012-12-07 18:40:54 -0800484 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700485 };
486
487 gpio@d000 { /* GPIO 17 */
488 };
489
490 gpio@d100 { /* GPIO 18 */
491 };
492
493 gpio@d200 { /* GPIO 19 */
494 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
495 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
496 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
497 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700498 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
Michael Bohand734fb22012-10-30 14:19:22 -0700499 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700500 qcom,master-en = <1>;
501 };
502
503 gpio@d300 { /* GPIO 20 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700504 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
505 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
506 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
507 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700508 };
509
510 gpio@d400 { /* GPIO 21 */
511 };
512
513 gpio@d500 { /* GPIO 22 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700514 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
515 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
516 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700517 };
518
519 gpio@d600 { /* GPIO 23 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700520 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
521 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
522 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
523 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700524 };
525
526 gpio@d700 { /* GPIO 24 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700527 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
528 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
529 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
530 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700531 };
532
533 gpio@d800 { /* GPIO 25 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700534 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
535 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
536 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
537 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700538 };
539
540 gpio@d900 { /* GPIO 26 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700541 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
542 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
543 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
544 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700545 };
546
547 gpio@da00 { /* GPIO 27 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700548 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
549 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
550 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700551 };
552
553 gpio@db00 { /* GPIO 28 */
554 };
555
556 gpio@dc00 { /* GPIO 29 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700557 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
558 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
559 qcom,src-sel = <2>; /* QPNP_PIN_SEL_FUNC_1 */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700560 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700561 };
562
563 gpio@dd00 { /* GPIO 30 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700564 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
565 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
566 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700567 };
568
569 gpio@de00 { /* GPIO 31 */
570 };
571
572 gpio@df00 { /* GPIO 32 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700573 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
574 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
575 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700576 };
577
578 gpio@e000 { /* GPIO 33 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700579 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
580 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
581 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700582 };
583
584 gpio@e100 { /* GPIO 34 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700585 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
586 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
587 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700588 };
589
590 gpio@e200 { /* GPIO 35 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700591 qcom,mode = <0>; /* QPNP_PIN_MODE_DIG_IN */
592 qcom,pull = <4>; /* QPNP_PIN_PULL_DN */
593 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700594 };
595
596 gpio@e300 { /* GPIO 36 */
597 };
598};
599
600&pm8941_mpps {
601
602 mpp@a000 { /* MPP 1 */
Michael Bohanbea1f582013-03-21 17:29:49 -0700603 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700604 };
605
606 mpp@a100 { /* MPP 2 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700607 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
608 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
609 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700610 };
611
612 mpp@a200 { /* MPP 3 */
613 };
614
615 mpp@a300 { /* MPP 4 */
616 };
617
618 mpp@a400 { /* MPP 5 */
619 /* SPI_ETH config */
620 qcom,mode = <1>; /* DIG_OUT */
621 qcom,output-type = <0>; /* CMOS */
622 qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
Michael Bohand734fb22012-10-30 14:19:22 -0700623 qcom,src-sel = <0>; /* CONSTANT */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700624 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700625 qcom,master-en = <1>; /* ENABLE MPP */
626 };
627
628 mpp@a500 { /* MPP 6 */
629 /* SPI_ETH_RST config */
630 qcom,mode = <1>; /* DIG_OUT */
631 qcom,output-type = <0>; /* CMOS */
632 qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
Michael Bohand734fb22012-10-30 14:19:22 -0700633 qcom,src-sel = <0>; /* CONSTANT */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700634 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700635 qcom,master-en = <1>; /* ENABLE MPP */
636 };
637
638 mpp@a600 { /* MPP 7 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700639 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
640 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
641 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700642 };
643
644 mpp@a700 { /* MPP 8 */
Pawan Kumar Nimmagaddaab3a24c2013-04-08 11:33:36 -0700645 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
646 qcom,out-strength = <1>; /* QPNP_PIN_OUT_STRENGTH_LOW */
647 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700648 };
649};
650
651&pm8841_mpps {
652
653 mpp@a000 { /* MPP 1 */
654 };
655
656 mpp@a100 { /* MPP 2 */
657 };
658
659 mpp@a200 { /* MPP 3 */
660 };
661
662 mpp@a300 { /* MPP 4 */
663 };
664};
665
666&slim_msm {
667 taiko_codec {
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800668 qcom,cdc-micbias1-ext-cap;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700669 qcom,cdc-micbias2-ext-cap;
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800670 qcom,cdc-micbias4-ext-cap;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700671 };
672};
Siddartha Mohanadosse9f24de2012-11-02 17:13:18 -0700673
674&spi_epm {
675 epm-adc@0 {
676 compatible = "cy,epm-adc-cy8c5568lti-114";
677 reg = <0>;
678 interrupt-parent = <&msmgpio>;
679 spi-max-frequency = <960000>;
680 qcom,channels = <31>;
681 qcom,gain = <100 100 100 50 100 100 1 100 1 50
682 1 100 1 100 50 50 50 50 50 50
683 100 50 100 50 50 50 50 50 50 50
684 50>;
685 qcom,rsense = <2 2 2 200 20 2 1 2 1 30
686 1 10 1 30 50 30 500 30 100 30
687 100 500 20 200 1000 20 1000 1000 70 200
688 50>;
689 qcom,channel-type = <0x1540>;
690 };
691};