blob: 3c1711ccd64de18e794f8aa6ba0c793d18cc1978 [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"
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080014/include/ "dsi-panel-orise-720p-video.dtsi"
Amy Maloche24de28b2012-09-17 12:09:56 -070015/include/ "msm8974-leds.dtsi"
Sreesudhan Ramakrish Ramkumar97657922013-03-13 10:07:12 -070016/include/ "msm8974-camera-sensor-cdp.dtsi"
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070017
18/ {
19 serial@f991e000 {
20 status = "ok";
21 };
22
Chandan Uddaraju0c33e772012-12-13 22:49:58 -080023 qcom,mdss_dsi_toshiba_720p_video {
24 status = "ok";
Siddhartha Agrawal1d0557b2013-03-06 14:53:11 -080025 qcom,cont-splash-enabled;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070026 };
27
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080028 qcom,mdss_dsi_orise_720p_video {
29 status = "disable";
30 };
31
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070032 qcom,hdmi_tx@fd922100 {
33 status = "ok";
34 };
35
36 i2c@f9924000 {
37 atmel_mxt_ts@4a {
38 compatible = "atmel,mxt-ts";
39 reg = <0x4a>;
40 interrupt-parent = <&msmgpio>;
41 interrupts = <61 0x2>;
42 vdd_ana-supply = <&pm8941_l18>;
43 vcc_i2c-supply = <&pm8941_lvs1>;
44 atmel,reset-gpio = <&msmgpio 60 0x00>;
45 atmel,irq-gpio = <&msmgpio 61 0x00>;
46 atmel,panel-coords = <0 0 760 1424>;
47 atmel,display-coords = <0 0 720 1280>;
Sreenivasulu Chalam Charlabf7f6212012-10-17 22:10:24 +053048 atmel,i2c-pull-up;
Amy Malochea90b0052013-02-13 11:57:10 -080049 atmel,no-force-update;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070050 atmel,cfg_1 {
51 atmel,family-id = <0x82>;
52 atmel,variant-id = <0x19>;
53 atmel,version = <0x10>;
54 atmel,build = <0xaa>;
55 atmel,config = [
56 /* Object 6, Instance = 0 */
57 00 00 00 00 00 00
58 /* Object 38, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080059 15 01 00 03 0A 0C 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070060 /* Object 7, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080061 20 08 32 03
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070062 /* Object 8, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080063 0F 00 0A 0A 00 00 0A 0A 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070064 /* Object 9, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080065 83 00 00 18 0E 00 70 46 02 01
66 00 0A 03 31 04 05 0A 0A 90 05
67 F8 02 05 F1 F1 0F 00 00 08 2D
68 12 06 00 00 00 01
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070069 /* Object 15, Instance = 0 */
70 00 00 00 00 00 00 00 00 00 00
71 00
72 /* Object 18, Instance = 0 */
73 00 00
74 /* Object 19, Instance = 0 */
75 00 00 00 00 00 00
76 /* Object 23, Instance = 0 */
77 00 00 00 00 00 00 00 00 00 00
78 00 00 00 00 00
79 /* Object 25, Instance = 0 */
80 00 00 00 00 00 00 00 00 00 00
81 00 00 00 00 00
82 /* Object 40, Instance = 0 */
83 00 00 00 00 00
84 /* Object 42, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080085 33 1E 19 10 80 00 00 00 FF 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070086 /* Object 46, Instance = 0 */
87 00 00 10 10 00 00 03 00 00 01
88 /* Object 47, Instance = 0 */
89 08 0A 28 0A 02 0A 00 8C 00 20
90 00 00 00
91 /* Object 55, Instance = 0 */
92 00 00 00 00 00 00
93 /* Object 56, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080094 00 00 00 18 05 05 05 05 05 05
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070095 05 05 05 05 05 05 05 05 05 05
96 05 05 05 05 05 05 05 05 00 00
97 00 00 00 00 00 00 00 00 00 00
98 00 00
99 /* Object 57, Instance = 0 */
100 00 00 00
101 /* Object 61, Instance = 0 */
102 00 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700103 /* Object 62, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -0800104 01 2A 00 16 00 00 00 00 0B 01
105 02 03 04 08 00 00 08 10 18 05
106 00 0A 05 05 50 14 19 34 1A 7F
107 00 00 00 00 00 00 00 00 00 30
108 05 02 00 01 00 05 00 00 00 00
109 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700110 ];
111 };
112 };
113 };
114
Amy Maloche932657e2012-11-26 11:31:55 -0800115 gen-vkeys {
116 compatible = "qcom,gen-vkeys";
117 label = "atmel_mxt_ts";
118 qcom,disp-maxx = <720>;
119 qcom,disp-maxy = <1280>;
120 qcom,panel-maxx = <760>;
121 qcom,panel-maxy = <1424>;
122 qcom,key-codes = <158 139 102 217>;
123 };
124
Amy Maloche527acc42012-12-07 18:40:54 -0800125 i2c@f9967000 {
126 isa1200@48 {
127 status = "okay";
128 reg = <0x48>;
129 vcc_i2c-supply = <&pm8941_s3>;
130 compatible = "imagis,isa1200";
131 label = "vibrator";
132 imagis,chip-en;
133 imagis,smart-en;
134 imagis,need-pwm-clk;
135 imagis,ext-clk-en;
136 imagis,hap-en-gpio = <&msmgpio 86 0x00>;
137 imagis,max-timeout = <15000>;
138 imagis,pwm-div = <256>;
139 imagis,mode-ctrl = <2>;
140 imagis,regulator {
141 regulator-name = "vcc_i2c";
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <1800000>;
144 regulator-max-microamp = <9360>;
145 };
146 };
147 };
148
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700149 gpio_keys {
150 compatible = "gpio-keys";
151 input-name = "gpio-keys";
152
153 camera_snapshot {
154 label = "camera_snapshot";
155 gpios = <&pm8941_gpios 3 0x1>;
156 linux,input-type = <1>;
157 linux,code = <0x2fe>;
158 gpio-key,wakeup;
159 debounce-interval = <15>;
160 };
161
162 camera_focus {
163 label = "camera_focus";
164 gpios = <&pm8941_gpios 4 0x1>;
165 linux,input-type = <1>;
166 linux,code = <0x210>;
167 gpio-key,wakeup;
168 debounce-interval = <15>;
169 };
170
171 vol_up {
172 label = "volume_up";
173 gpios = <&pm8941_gpios 5 0x1>;
174 linux,input-type = <1>;
175 linux,code = <115>;
176 gpio-key,wakeup;
177 debounce-interval = <15>;
178 };
179 };
180
181 spi@f9923000 {
182 ethernet-switch@2 {
183 compatible = "micrel,ks8851";
184 reg = <2>;
185 interrupt-parent = <&msmgpio>;
186 interrupts = <94 0>;
187 spi-max-frequency = <4800000>;
188 rst-gpio = <&pm8941_mpps 6 0>;
189 vdd-io-supply = <&spi_eth_vreg>;
190 vdd-phy-supply = <&spi_eth_vreg>;
191 };
192 };
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800193
194 sound {
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800195 qcom,model = "msm8974-taiko-cdp-snd-card";
Kiran Kandi52650322012-12-11 15:49:39 -0800196 qcom,hdmi-audio-rx;
Fred Oh705c64f2013-03-07 14:25:40 -0800197 qcom,us-euro-gpios = <&pm8941_gpios 20 0>;
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800198 };
David Collinsf3c0e562012-12-20 11:45:06 -0800199
200 usb2_otg_sw: regulator-tpd4s214 {
201 compatible = "regulator-fixed";
202 regulator-name = "usb2_otg_sw";
203 gpio = <&pm8941_gpios 18 0>;
204 parent-supply = <&pm8941_boost>;
205 startup-delay-us = <17000>;
206 enable-active-high;
207 };
Ming-yi Lin44c2afa2013-02-22 11:36:58 +0800208
Manu Gautamf014ff72013-03-19 16:35:27 +0530209 hsic_host: hsic@f9a00000 {
210 compatible = "qcom,hsic-host";
211 reg = <0xf9a00000 0x400>;
212 #address-cells = <0>;
213 interrupt-parent = <&hsic_host>;
214 interrupts = <0 1 2>;
215 #interrupt-cells = <1>;
216 interrupt-map-mask = <0xffffffff>;
217 interrupt-map = <0 &intc 0 136 0
218 1 &intc 0 148 0
219 2 &msmgpio 144 0x8>;
220 interrupt-names = "core_irq", "async_irq", "wakeup";
221 HSIC_VDDCX-supply = <&pm8841_s2>;
222 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
223 hsic,strobe-gpio = <&msmgpio 144 0x00>;
224 hsic,data-gpio = <&msmgpio 145 0x00>;
225 hsic,resume-gpio = <&msmgpio 80 0x00>;
226 hsic,ignore-cal-pad-config;
227 hsic,strobe-pad-offset = <0x2050>;
228 hsic,data-pad-offset = <0x2054>;
229
230 qcom,msm-bus,name = "hsic";
231 qcom,msm-bus,num-cases = <2>;
Manu Gautamf014ff72013-03-19 16:35:27 +0530232 qcom,msm-bus,num-paths = <1>;
233 qcom,msm-bus,vectors-KBps =
234 <85 512 0 0>,
235 <85 512 40000 160000>;
Ming-yi Lin44c2afa2013-02-22 11:36:58 +0800236 };
237
Ming-yi Linc1b0ba32013-04-13 20:36:34 +0800238 wlan0: qca,wlan {
239 compatible = "qca,ar6004-hsic";
240 qcom,msm-bus,name = "wlan";
241 qcom,msm-bus,num-cases = <5>;
242 qcom,msm-bus,active-only = <0>;
243 qcom,msm-bus,num-paths = <1>;
244 qcom,msm-bus,vectors-KBps =
245 <85 512 0 0>,
246 <85 512 40000 160000>,
247 <85 512 40000 320000>,
248 <85 512 40000 480000>,
249 <85 512 40000 640000>;
250 };
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700251};
252
Amy Maloche24de28b2012-09-17 12:09:56 -0700253&spmi_bus {
254 qcom,pm8941@1 {
255 qcom,leds@d800 {
256 status = "okay";
257 qcom,wled_0 {
258 label = "wled";
259 linux,name = "wled:backlight";
260 linux,default-trigger = "bkl-trigger";
261 qcom,cs-out-en;
Amy Malochebd687672013-03-18 11:23:45 -0700262 qcom,op-fdbck = <1>;
Siddhartha Agrawal12315e62013-02-24 11:23:02 -0800263 qcom,default-state = "on";
Amy Maloche24de28b2012-09-17 12:09:56 -0700264 qcom,max-current = <25>;
265 qcom,ctrl-delay-us = <0>;
266 qcom,boost-curr-lim = <3>;
267 qcom,cp-sel = <0>;
268 qcom,switch-freq = <2>;
269 qcom,ovp-val = <2>;
270 qcom,num-strings = <1>;
271 qcom,id = <0>;
272 };
273 };
274
275 qcom,leds@d900 {
276 status = "disabled";
277 };
278
279 qcom,leds@da00 {
280 status = "disabled";
281 };
282
283 qcom,leds@db00 {
284 status = "disabled";
285 };
286
287 qcom,leds@dc00 {
288 status = "disabled";
289 };
290
291 qcom,leds@dd00 {
292 status = "disabled";
293 };
294
295 qcom,leds@de00 {
296 status = "disabled";
297 };
298
299 qcom,leds@df00 {
300 status = "disabled";
301 };
302
303 qcom,leds@e000 {
304 status = "disabled";
305 };
306
307 qcom,leds@e100 {
308 status = "disabled";
309 };
310 };
311};
312
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800313&sdcc1 {
314 status = "disabled";
315};
316
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700317&sdcc2 {
318 #address-cells = <0>;
319 interrupt-parent = <&sdcc2>;
320 interrupts = <0 1 2>;
321 #interrupt-cells = <1>;
322 interrupt-map-mask = <0xffffffff>;
323 interrupt-map = <0 &intc 0 125 0
324 1 &intc 0 220 0
325 2 &msmgpio 62 0x3>;
326 interrupt-names = "core_irq", "bam_irq", "status_irq";
327 cd-gpios = <&msmgpio 62 0x1>;
328 wp-gpios = <&pm8941_gpios 29 0x1>;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800329 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700330};
331
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700332&sdhc_1 {
333 vdd-supply = <&pm8941_l20>;
334 vdd-io-supply = <&pm8941_s3>;
335
Sahitya Tummalad0fc2dd2013-03-27 10:34:35 +0530336 qcom,vdd-always-on;
337 qcom,vdd-lpm-sup;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700338 qcom,vdd-voltage-level = <2950000 2950000>;
339 qcom,vdd-current-level = <800 500000>;
340
341 qcom,vdd-io-always-on;
342 qcom,vdd-io-voltage-level = <1800000 1800000>;
343 qcom,vdd-io-current-level = <250 154000>;
344
345 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
346 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700347 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700348 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
349
350 qcom,nonremovable;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800351 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700352};
353
354&sdhc_2 {
Sahitya Tummala6b152f82013-03-12 15:02:12 +0530355 #address-cells = <0>;
356 interrupt-parent = <&sdhc_2>;
357 interrupts = <0 1 2>;
358 #interrupt-cells = <1>;
359 interrupt-map-mask = <0xffffffff>;
360 interrupt-map = <0 &intc 0 125 0
361 1 &intc 0 221 0
362 2 &msmgpio 62 0x3>;
363 interrupt-names = "hc_irq", "pwr_irq", "status_irq";
364 cd-gpios = <&msmgpio 62 0x1>;
365
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700366 vdd-supply = <&pm8941_l21>;
367 vdd-io-supply = <&pm8941_l13>;
368
369 qcom,vdd-voltage-level = <2950000 2950000>;
370 qcom,vdd-current-level = <9000 800000>;
371
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700372 qcom,vdd-io-voltage-level = <1800000 2950000>;
373 qcom,vdd-io-current-level = <6 22000>;
374
375 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
376 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700377 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700378 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800379 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700380};
381
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700382/* Drive strength recommendations for clock line from hardware team is 10 mA.
383 * But since the driver has been been using the below values from the start
384 * without any problems, continue to use those.
385 */
386&sdcc1 {
387 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
388};
389
390&sdcc2 {
391 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
392};
393
394&sdhc_1 {
395 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
396};
397
398&sdhc_2 {
399 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
400};
401
Mayank Rana3d073cf2012-12-18 10:23:27 +0530402&uart7 {
403 status = "ok";
Saket Saurabh63789cc2013-03-07 13:24:12 +0530404 qcom,tx-gpio = <&msmgpio 41 0x00>;
405 qcom,rx-gpio = <&msmgpio 42 0x00>;
406 qcom,cts-gpio = <&msmgpio 43 0x00>;
407 qcom,rfr-gpio = <&msmgpio 44 0x00>;
Mayank Rana3d073cf2012-12-18 10:23:27 +0530408};
409
Jack Pham43ac4272012-12-05 18:02:19 -0800410&usb3 {
411 qcom,otg-capability;
412};
413
David Keiteldb2602d2012-11-27 15:59:54 -0800414&pm8941_chg {
415 status = "ok";
416
David Keitele89d4782013-03-27 11:29:59 -0700417 qcom,chgr@1000 {
David Keiteldb2602d2012-11-27 15:59:54 -0800418 status = "ok";
419 };
420
David Keitele89d4782013-03-27 11:29:59 -0700421 qcom,buck@1100 {
David Keiteldb2602d2012-11-27 15:59:54 -0800422 status = "ok";
423 };
424
David Keitele89d4782013-03-27 11:29:59 -0700425 qcom,usb-chgpth@1300 {
David Keiteldb2602d2012-11-27 15:59:54 -0800426 status = "ok";
427 };
428
David Keitele89d4782013-03-27 11:29:59 -0700429 qcom,dc-chgpth@1400 {
David Keiteldb2602d2012-11-27 15:59:54 -0800430 status = "ok";
431 };
432
David Keitele89d4782013-03-27 11:29:59 -0700433 qcom,boost@1500 {
David Keiteldb2602d2012-11-27 15:59:54 -0800434 status = "ok";
435 };
436
437 qcom,chg-misc@1600 {
438 status = "ok";
439 };
440};
441
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700442&pm8941_gpios {
443 gpio@c000 { /* GPIO 1 */
444 };
445
446 gpio@c100 { /* GPIO 2 */
447 };
448
449 gpio@c200 { /* GPIO 3 */
450 qcom,mode = <0>;
451 qcom,pull = <0>;
452 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700453 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700454 };
455
456 gpio@c300 { /* GPIO 4 */
457 qcom,mode = <0>;
458 qcom,pull = <0>;
459 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700460 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700461 };
462
463 gpio@c400 { /* GPIO 5 */
464 qcom,mode = <0>;
465 qcom,pull = <0>;
466 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700467 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700468 };
469
470 gpio@c500 { /* GPIO 6 */
471 };
472
473 gpio@c600 { /* GPIO 7 */
474 };
475
476 gpio@c700 { /* GPIO 8 */
477 };
478
479 gpio@c800 { /* GPIO 9 */
480 };
481
482 gpio@c900 { /* GPIO 10 */
483 };
484
485 gpio@ca00 { /* GPIO 11 */
486 };
487
488 gpio@cb00 { /* GPIO 12 */
489 };
490
491 gpio@cc00 { /* GPIO 13 */
492 };
493
494 gpio@cd00 { /* GPIO 14 */
495 };
496
497 gpio@ce00 { /* GPIO 15 */
498 qcom,mode = <1>;
499 qcom,output-type = <0>;
500 qcom,pull = <5>;
501 qcom,vin-sel = <2>;
502 qcom,out-strength = <3>;
Michael Bohand734fb22012-10-30 14:19:22 -0700503 qcom,src-sel = <2>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700504 qcom,master-en = <1>;
505 };
506
507 gpio@cf00 { /* GPIO 16 */
Amy Maloche527acc42012-12-07 18:40:54 -0800508 qcom,mode = <1>;
509 qcom,output-type = <0>;
510 qcom,pull = <2>;
511 qcom,vin-sel = <2>;
512 qcom,out-strength = <2>;
513 qcom,src-sel = <2>;
514 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700515 };
516
517 gpio@d000 { /* GPIO 17 */
518 };
519
520 gpio@d100 { /* GPIO 18 */
David Collinsf3c0e562012-12-20 11:45:06 -0800521 /* usb2_otg_sw regulator enable */
522 qcom,mode = <1>; /* Digital output */
523 qcom,output-type = <0>; /* CMOS logic */
524 qcom,invert = <0>; /* Output low initially */
525 qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */
526 qcom,src-sel = <0>; /* Constant */
527 qcom,out-strength = <2>; /* Medium drive strength */
528 qcom,master-en = <1>; /* Enable GPIO */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700529 };
530
531 gpio@d200 { /* GPIO 19 */
532 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
533 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
534 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
535 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
536 qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
Michael Bohand734fb22012-10-30 14:19:22 -0700537 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700538 qcom,master-en = <1>;
539 };
540
541 gpio@d300 { /* GPIO 20 */
Fred Oh705c64f2013-03-07 14:25:40 -0800542 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
543 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
544 qcom,invert = <0>; /* Output low initially */
545 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
546 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
547 qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
548 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
549 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700550 };
551
552 gpio@d400 { /* GPIO 21 */
553 };
554
555 gpio@d500 { /* GPIO 22 */
556 };
557
558 gpio@d600 { /* GPIO 23 */
559 };
560
561 gpio@d700 { /* GPIO 24 */
562 };
563
564 gpio@d800 { /* GPIO 25 */
565 };
566
567 gpio@d900 { /* GPIO 26 */
568 };
569
570 gpio@da00 { /* GPIO 27 */
571 };
572
573 gpio@db00 { /* GPIO 28 */
574 };
575
576 gpio@dc00 { /* GPIO 29 */
577 qcom,pull = <0>; /* set to default pull */
578 qcom,master-en = <1>;
579 qcom,vin-sel = <2>; /* select 1.8 V source */
580 };
581
582 gpio@dd00 { /* GPIO 30 */
583 };
584
585 gpio@de00 { /* GPIO 31 */
586 };
587
588 gpio@df00 { /* GPIO 32 */
589 };
590
591 gpio@e000 { /* GPIO 33 */
592 };
593
594 gpio@e100 { /* GPIO 34 */
595 };
596
597 gpio@e200 { /* GPIO 35 */
598 };
599
600 gpio@e300 { /* GPIO 36 */
601 };
602};
603
604&pm8941_mpps {
605
606 mpp@a000 { /* MPP 1 */
Michael Bohanbea1f582013-03-21 17:29:49 -0700607 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700608 };
609
610 mpp@a100 { /* MPP 2 */
611 };
612
613 mpp@a200 { /* MPP 3 */
614 };
615
616 mpp@a300 { /* MPP 4 */
617 };
618
619 mpp@a400 { /* MPP 5 */
620 /* SPI_ETH config */
621 qcom,mode = <1>; /* DIG_OUT */
622 qcom,output-type = <0>; /* CMOS */
623 qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
Michael Bohand734fb22012-10-30 14:19:22 -0700624 qcom,src-sel = <0>; /* CONSTANT */
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 */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700634 qcom,master-en = <1>; /* ENABLE MPP */
635 };
636
637 mpp@a600 { /* MPP 7 */
638 };
639
640 mpp@a700 { /* MPP 8 */
641 };
642};
643
644&pm8841_mpps {
645
646 mpp@a000 { /* MPP 1 */
647 };
648
649 mpp@a100 { /* MPP 2 */
650 };
651
652 mpp@a200 { /* MPP 3 */
653 };
654
655 mpp@a300 { /* MPP 4 */
656 };
657};
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800658
Pratik Patele69f8a92013-03-20 11:30:55 -0700659/* CoreSight */
660&tpiu {
661 qcom,seta-gpios = <&msmgpio 31 0>,
662 <&msmgpio 32 0>,
663 <&msmgpio 33 0>,
664 <&msmgpio 34 0>,
665 <&msmgpio 35 0>,
666 <&msmgpio 36 0>,
667 <&msmgpio 37 0>,
668 <&msmgpio 38 0>,
669 <&msmgpio 39 0>,
670 <&msmgpio 40 0>,
671 <&msmgpio 41 0>,
672 <&msmgpio 42 0>,
673 <&msmgpio 43 0>,
674 <&msmgpio 44 0>,
675 <&msmgpio 45 0>,
676 <&msmgpio 46 0>,
677 <&msmgpio 47 0>,
678 <&msmgpio 48 0>;
679 qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>;
680 qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
681 qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
682 qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
683
684 qcom,setb-gpios = <&msmgpio 15 0>,
685 <&msmgpio 16 0>,
686 <&msmgpio 17 0>,
687 <&msmgpio 18 0>,
688 <&msmgpio 19 0>,
689 <&msmgpio 20 0>,
690 <&msmgpio 21 0>,
691 <&msmgpio 22 0>,
692 <&msmgpio 23 0>,
693 <&msmgpio 24 0>,
694 <&msmgpio 25 0>,
695 <&msmgpio 26 0>,
696 <&msmgpio 27 0>,
697 <&msmgpio 28 0>,
698 <&msmgpio 89 0>,
699 <&msmgpio 90 0>,
700 <&msmgpio 91 0>,
701 <&msmgpio 92 0>;
702 qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>;
703 qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
704 qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
705 qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
706};
707
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800708&slim_msm {
709 taiko_codec {
710 qcom,cdc-micbias1-ext-cap;
711 qcom,cdc-micbias3-ext-cap;
712 qcom,cdc-micbias4-ext-cap;
713 };
714};