blob: 9e7b2e671815e2a7746602ad40e1e3f34d56c5a2 [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
Amy Maloche24de28b2012-09-17 12:09:56 -070013/include/ "msm8974-leds.dtsi"
Sreesudhan Ramakrish Ramkumar97657922013-03-13 10:07:12 -070014/include/ "msm8974-camera-sensor-cdp.dtsi"
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070015
Stepan Moskovchenko4dd8bab2013-07-15 20:38:12 -070016/ {
17 aliases {
18 serial0 = &blsp1_uart1;
19 };
20};
21
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070022&soc {
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070023 serial@f991e000 {
24 status = "ok";
25 };
26
Manoj Rao56403572013-06-19 15:54:03 -070027 qcom,mdss_dsi@fd922800 {
28 qcom,dsi-pref-prim-pan = <&dsi_tosh_720_vid>;
29 };
30
31 qcom,mdss_mdp@fd900000 {
32 qcom,mdss-pref-prim-intf = "dsi";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070033 };
34
Chandan Uddaraju6d2c8922013-01-24 23:11:12 -080035 qcom,mdss_dsi_orise_720p_video {
36 status = "disable";
37 };
38
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070039 qcom,hdmi_tx@fd922100 {
40 status = "ok";
41 };
42
43 i2c@f9924000 {
Amy Maloche0b294992013-08-29 10:29:54 -070044 synaptics@20 {
45 compatible = "synaptics,rmi4";
46 reg = <0x20>;
47 interrupt-parent = <&msmgpio>;
48 interrupts = <61 0x2008>;
49 vdd-supply = <&pm8941_l18>;
50 vcc_i2c-supply = <&pm8941_lvs1>;
51 synaptics,reset-gpio = <&msmgpio 60 0x00>;
52 synaptics,irq-gpio = <&msmgpio 61 0x2008>;
53 synaptics,display-coords = <0 0 1079 1919>;
54 synaptics,i2c-pull-up;
55 synaptics,power-down;
56 synaptics,disable-gpios;
57 synaptics,do-lockdown;
58 };
59
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070060 atmel_mxt_ts@4a {
61 compatible = "atmel,mxt-ts";
62 reg = <0x4a>;
63 interrupt-parent = <&msmgpio>;
64 interrupts = <61 0x2>;
65 vdd_ana-supply = <&pm8941_l18>;
66 vcc_i2c-supply = <&pm8941_lvs1>;
67 atmel,reset-gpio = <&msmgpio 60 0x00>;
68 atmel,irq-gpio = <&msmgpio 61 0x00>;
69 atmel,panel-coords = <0 0 760 1424>;
70 atmel,display-coords = <0 0 720 1280>;
Sreenivasulu Chalam Charlabf7f6212012-10-17 22:10:24 +053071 atmel,i2c-pull-up;
Amy Malochea90b0052013-02-13 11:57:10 -080072 atmel,no-force-update;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070073 atmel,cfg_1 {
Amy Maloche77487462013-06-17 16:25:55 -070074 atmel,fw-name = "atmel_8974_fluid_v1_0_AA.hex";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070075 atmel,family-id = <0x82>;
76 atmel,variant-id = <0x19>;
77 atmel,version = <0x10>;
78 atmel,build = <0xaa>;
79 atmel,config = [
80 /* Object 6, Instance = 0 */
81 00 00 00 00 00 00
82 /* Object 38, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080083 15 01 00 03 0A 0C 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070084 /* Object 7, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080085 20 08 32 03
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070086 /* Object 8, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080087 0F 00 0A 0A 00 00 0A 0A 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070088 /* Object 9, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -080089 83 00 00 18 0E 00 70 46 02 01
90 00 0A 03 31 04 05 0A 0A 90 05
91 F8 02 05 F1 F1 0F 00 00 08 2D
92 12 06 00 00 00 01
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -070093 /* Object 15, Instance = 0 */
94 00 00 00 00 00 00 00 00 00 00
95 00
96 /* Object 18, Instance = 0 */
97 00 00
98 /* Object 19, Instance = 0 */
99 00 00 00 00 00 00
100 /* Object 23, Instance = 0 */
101 00 00 00 00 00 00 00 00 00 00
102 00 00 00 00 00
103 /* Object 25, Instance = 0 */
104 00 00 00 00 00 00 00 00 00 00
105 00 00 00 00 00
106 /* Object 40, Instance = 0 */
107 00 00 00 00 00
108 /* Object 42, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -0800109 33 1E 19 10 80 00 00 00 FF 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700110 /* Object 46, Instance = 0 */
111 00 00 10 10 00 00 03 00 00 01
112 /* Object 47, Instance = 0 */
113 08 0A 28 0A 02 0A 00 8C 00 20
114 00 00 00
115 /* Object 55, Instance = 0 */
116 00 00 00 00 00 00
117 /* Object 56, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -0800118 00 00 00 18 05 05 05 05 05 05
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700119 05 05 05 05 05 05 05 05 05 05
120 05 05 05 05 05 05 05 05 00 00
121 00 00 00 00 00 00 00 00 00 00
122 00 00
123 /* Object 57, Instance = 0 */
124 00 00 00
125 /* Object 61, Instance = 0 */
126 00 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700127 /* Object 62, Instance = 0 */
Amy Maloche84637212012-12-14 15:12:19 -0800128 01 2A 00 16 00 00 00 00 0B 01
129 02 03 04 08 00 00 08 10 18 05
130 00 0A 05 05 50 14 19 34 1A 7F
131 00 00 00 00 00 00 00 00 00 30
132 05 02 00 01 00 05 00 00 00 00
133 00 00 00 00
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700134 ];
135 };
136 };
137 };
138
Amy Maloche932657e2012-11-26 11:31:55 -0800139 gen-vkeys {
140 compatible = "qcom,gen-vkeys";
141 label = "atmel_mxt_ts";
142 qcom,disp-maxx = <720>;
143 qcom,disp-maxy = <1280>;
144 qcom,panel-maxx = <760>;
145 qcom,panel-maxy = <1424>;
146 qcom,key-codes = <158 139 102 217>;
147 };
148
Amy Maloche527acc42012-12-07 18:40:54 -0800149 i2c@f9967000 {
150 isa1200@48 {
151 status = "okay";
152 reg = <0x48>;
153 vcc_i2c-supply = <&pm8941_s3>;
154 compatible = "imagis,isa1200";
155 label = "vibrator";
156 imagis,chip-en;
157 imagis,smart-en;
158 imagis,need-pwm-clk;
159 imagis,ext-clk-en;
160 imagis,hap-en-gpio = <&msmgpio 86 0x00>;
161 imagis,max-timeout = <15000>;
162 imagis,pwm-div = <256>;
163 imagis,mode-ctrl = <2>;
164 imagis,regulator {
165 regulator-name = "vcc_i2c";
166 regulator-min-microvolt = <1800000>;
167 regulator-max-microvolt = <1800000>;
168 regulator-max-microamp = <9360>;
169 };
170 };
171 };
172
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700173 gpio_keys {
174 compatible = "gpio-keys";
175 input-name = "gpio-keys";
176
177 camera_snapshot {
178 label = "camera_snapshot";
179 gpios = <&pm8941_gpios 3 0x1>;
180 linux,input-type = <1>;
181 linux,code = <0x2fe>;
182 gpio-key,wakeup;
183 debounce-interval = <15>;
184 };
185
186 camera_focus {
187 label = "camera_focus";
188 gpios = <&pm8941_gpios 4 0x1>;
189 linux,input-type = <1>;
190 linux,code = <0x210>;
191 gpio-key,wakeup;
192 debounce-interval = <15>;
193 };
194
195 vol_up {
196 label = "volume_up";
197 gpios = <&pm8941_gpios 5 0x1>;
198 linux,input-type = <1>;
199 linux,code = <115>;
200 gpio-key,wakeup;
201 debounce-interval = <15>;
202 };
203 };
204
205 spi@f9923000 {
206 ethernet-switch@2 {
207 compatible = "micrel,ks8851";
208 reg = <2>;
209 interrupt-parent = <&msmgpio>;
210 interrupts = <94 0>;
211 spi-max-frequency = <4800000>;
212 rst-gpio = <&pm8941_mpps 6 0>;
213 vdd-io-supply = <&spi_eth_vreg>;
214 vdd-phy-supply = <&spi_eth_vreg>;
215 };
216 };
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800217
218 sound {
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800219 qcom,model = "msm8974-taiko-cdp-snd-card";
Kiran Kandi52650322012-12-11 15:49:39 -0800220 qcom,hdmi-audio-rx;
Fred Oh705c64f2013-03-07 14:25:40 -0800221 qcom,us-euro-gpios = <&pm8941_gpios 20 0>;
Joonwoo Parkd581a762013-04-15 17:12:57 -0700222 qcom,cdc-micbias2-headset-only;
Phani Kumar Uppalapatia2129872012-11-08 20:36:45 -0800223 };
David Collinsf3c0e562012-12-20 11:45:06 -0800224
225 usb2_otg_sw: regulator-tpd4s214 {
226 compatible = "regulator-fixed";
227 regulator-name = "usb2_otg_sw";
228 gpio = <&pm8941_gpios 18 0>;
229 parent-supply = <&pm8941_boost>;
230 startup-delay-us = <17000>;
231 enable-active-high;
232 };
Ming-yi Lin44c2afa2013-02-22 11:36:58 +0800233
Manu Gautamf014ff72013-03-19 16:35:27 +0530234 hsic_host: hsic@f9a00000 {
235 compatible = "qcom,hsic-host";
236 reg = <0xf9a00000 0x400>;
237 #address-cells = <0>;
238 interrupt-parent = <&hsic_host>;
239 interrupts = <0 1 2>;
240 #interrupt-cells = <1>;
241 interrupt-map-mask = <0xffffffff>;
242 interrupt-map = <0 &intc 0 136 0
243 1 &intc 0 148 0
244 2 &msmgpio 144 0x8>;
245 interrupt-names = "core_irq", "async_irq", "wakeup";
Vijayavardhan Vennapusa6f1ec322013-08-12 13:24:59 +0530246 hsic_vdd_dig-supply = <&pm8841_s2_corner>;
Manu Gautamf014ff72013-03-19 16:35:27 +0530247 HSIC_GDSC-supply = <&gdsc_usb_hsic>;
248 hsic,strobe-gpio = <&msmgpio 144 0x00>;
249 hsic,data-gpio = <&msmgpio 145 0x00>;
250 hsic,resume-gpio = <&msmgpio 80 0x00>;
251 hsic,ignore-cal-pad-config;
252 hsic,strobe-pad-offset = <0x2050>;
253 hsic,data-pad-offset = <0x2054>;
Manu Gautam8efa9d12013-07-25 12:29:40 +0530254 qcom,phy-susp-sof-workaround;
Vijayavardhan Vennapusa6f1ec322013-08-12 13:24:59 +0530255 hsic,vdd-voltage-level = <1 5 7>;
Manu Gautamf014ff72013-03-19 16:35:27 +0530256
257 qcom,msm-bus,name = "hsic";
258 qcom,msm-bus,num-cases = <2>;
Manu Gautamf014ff72013-03-19 16:35:27 +0530259 qcom,msm-bus,num-paths = <1>;
260 qcom,msm-bus,vectors-KBps =
261 <85 512 0 0>,
262 <85 512 40000 160000>;
Ming-yi Lin44c2afa2013-02-22 11:36:58 +0800263 };
264
Ming-yi Linc1b0ba32013-04-13 20:36:34 +0800265 wlan0: qca,wlan {
266 compatible = "qca,ar6004-hsic";
267 qcom,msm-bus,name = "wlan";
268 qcom,msm-bus,num-cases = <5>;
269 qcom,msm-bus,active-only = <0>;
270 qcom,msm-bus,num-paths = <1>;
271 qcom,msm-bus,vectors-KBps =
272 <85 512 0 0>,
273 <85 512 40000 160000>,
274 <85 512 40000 320000>,
275 <85 512 40000 480000>,
Ming-yi Lin2faedc12013-05-15 10:30:00 +0800276 <85 512 40000 800000>;
Ming-yi Linc1b0ba32013-04-13 20:36:34 +0800277 };
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700278};
279
David Collins73cdb632013-06-17 17:24:45 -0700280&pm8941_lsid1 {
281 qcom,leds@d800 {
282 status = "okay";
283 qcom,wled_0 {
284 label = "wled";
285 linux,name = "wled:backlight";
286 linux,default-trigger = "bkl-trigger";
287 qcom,cs-out-en;
288 qcom,op-fdbck = <1>;
289 qcom,default-state = "on";
290 qcom,max-current = <25>;
291 qcom,ctrl-delay-us = <0>;
Chun Zhangc0ca2512013-07-26 19:32:15 -0700292 qcom,boost-curr-lim = <5>;
David Collins73cdb632013-06-17 17:24:45 -0700293 qcom,cp-sel = <0>;
Amy Maloche9eccb4c2013-07-12 14:31:56 -0700294 qcom,switch-freq = <11>;
David Collins73cdb632013-06-17 17:24:45 -0700295 qcom,ovp-val = <2>;
Chun Zhangc0ca2512013-07-26 19:32:15 -0700296 qcom,num-strings = <3>;
David Collins73cdb632013-06-17 17:24:45 -0700297 qcom,id = <0>;
Amy Maloche24de28b2012-09-17 12:09:56 -0700298 };
David Collins73cdb632013-06-17 17:24:45 -0700299 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700300
David Collins73cdb632013-06-17 17:24:45 -0700301 qcom,leds@d900 {
302 status = "disabled";
303 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700304
David Collins73cdb632013-06-17 17:24:45 -0700305 qcom,leds@da00 {
306 status = "disabled";
307 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700308
David Collins73cdb632013-06-17 17:24:45 -0700309 qcom,leds@db00 {
310 status = "disabled";
311 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700312
David Collins73cdb632013-06-17 17:24:45 -0700313 qcom,leds@dc00 {
314 status = "disabled";
315 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700316
David Collins73cdb632013-06-17 17:24:45 -0700317 qcom,leds@dd00 {
318 status = "disabled";
319 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700320
David Collins73cdb632013-06-17 17:24:45 -0700321 qcom,leds@de00 {
322 status = "disabled";
323 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700324
David Collins73cdb632013-06-17 17:24:45 -0700325 qcom,leds@df00 {
326 status = "disabled";
327 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700328
David Collins73cdb632013-06-17 17:24:45 -0700329 qcom,leds@e000 {
330 status = "disabled";
331 };
Amy Maloche24de28b2012-09-17 12:09:56 -0700332
David Collins73cdb632013-06-17 17:24:45 -0700333 qcom,leds@e100 {
334 status = "disabled";
Amy Maloche24de28b2012-09-17 12:09:56 -0700335 };
336};
337
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800338&sdcc1 {
339 status = "disabled";
340};
341
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700342&sdcc2 {
343 #address-cells = <0>;
344 interrupt-parent = <&sdcc2>;
345 interrupts = <0 1 2>;
346 #interrupt-cells = <1>;
347 interrupt-map-mask = <0xffffffff>;
348 interrupt-map = <0 &intc 0 125 0
349 1 &intc 0 220 0
350 2 &msmgpio 62 0x3>;
351 interrupt-names = "core_irq", "bam_irq", "status_irq";
352 cd-gpios = <&msmgpio 62 0x1>;
353 wp-gpios = <&pm8941_gpios 29 0x1>;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800354 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700355};
356
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700357&sdhc_1 {
358 vdd-supply = <&pm8941_l20>;
359 vdd-io-supply = <&pm8941_s3>;
360
Sahitya Tummalad0fc2dd2013-03-27 10:34:35 +0530361 qcom,vdd-always-on;
362 qcom,vdd-lpm-sup;
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700363 qcom,vdd-voltage-level = <2950000 2950000>;
364 qcom,vdd-current-level = <800 500000>;
365
366 qcom,vdd-io-always-on;
367 qcom,vdd-io-voltage-level = <1800000 1800000>;
368 qcom,vdd-io-current-level = <250 154000>;
369
370 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
371 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700372 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700373 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
374
375 qcom,nonremovable;
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800376 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700377};
378
379&sdhc_2 {
Sahitya Tummala6b152f82013-03-12 15:02:12 +0530380 #address-cells = <0>;
381 interrupt-parent = <&sdhc_2>;
382 interrupts = <0 1 2>;
383 #interrupt-cells = <1>;
384 interrupt-map-mask = <0xffffffff>;
385 interrupt-map = <0 &intc 0 125 0
386 1 &intc 0 221 0
387 2 &msmgpio 62 0x3>;
388 interrupt-names = "hc_irq", "pwr_irq", "status_irq";
389 cd-gpios = <&msmgpio 62 0x1>;
390
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700391 vdd-supply = <&pm8941_l21>;
392 vdd-io-supply = <&pm8941_l13>;
393
394 qcom,vdd-voltage-level = <2950000 2950000>;
395 qcom,vdd-current-level = <9000 800000>;
396
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700397 qcom,vdd-io-voltage-level = <1800000 2950000>;
398 qcom,vdd-io-current-level = <6 22000>;
399
400 qcom,pad-pull-on = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
401 qcom,pad-pull-off = <0x0 0x3 0x3>; /* no-pull, pull-up, pull-up */
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700402 qcom,pad-drv-on = <0x4 0x4 0x4>; /* 10mA, 10mA, 10mA */
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700403 qcom,pad-drv-off = <0x0 0x0 0x0>; /* 2mA, 2mA, 2mA */
Venkat Gopalakrishnand446a122012-11-05 14:10:44 -0800404 status = "ok";
Venkat Gopalakrishnan9855edd2012-09-17 15:05:13 -0700405};
406
Krishna Konda6c5d0f42013-04-12 16:44:26 -0700407/* Drive strength recommendations for clock line from hardware team is 10 mA.
408 * But since the driver has been been using the below values from the start
409 * without any problems, continue to use those.
410 */
411&sdcc1 {
412 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
413};
414
415&sdcc2 {
416 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
417};
418
419&sdhc_1 {
420 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
421};
422
423&sdhc_2 {
424 qcom,pad-drv-on = <0x7 0x4 0x4>; /* 16mA, 10mA, 10mA */
425};
426
Mayank Rana3d073cf2012-12-18 10:23:27 +0530427&uart7 {
428 status = "ok";
Saket Saurabh63789cc2013-03-07 13:24:12 +0530429 qcom,tx-gpio = <&msmgpio 41 0x00>;
430 qcom,rx-gpio = <&msmgpio 42 0x00>;
431 qcom,cts-gpio = <&msmgpio 43 0x00>;
432 qcom,rfr-gpio = <&msmgpio 44 0x00>;
Saket Saurabh4e68fe92013-05-03 14:41:44 +0530433 qcom,inject-rx-on-wakeup = <1>;
434 qcom,rx-char-to-inject = <0xFD>;
Mayank Rana3d073cf2012-12-18 10:23:27 +0530435};
436
Jack Pham43ac4272012-12-05 18:02:19 -0800437&usb3 {
438 qcom,otg-capability;
439};
440
David Keiteldb2602d2012-11-27 15:59:54 -0800441&pm8941_chg {
442 status = "ok";
443
David Keitele89d4782013-03-27 11:29:59 -0700444 qcom,chgr@1000 {
David Keiteldb2602d2012-11-27 15:59:54 -0800445 status = "ok";
446 };
447
David Keitele89d4782013-03-27 11:29:59 -0700448 qcom,buck@1100 {
David Keiteldb2602d2012-11-27 15:59:54 -0800449 status = "ok";
450 };
451
David Keitele89d4782013-03-27 11:29:59 -0700452 qcom,usb-chgpth@1300 {
David Keiteldb2602d2012-11-27 15:59:54 -0800453 status = "ok";
454 };
455
David Keitele89d4782013-03-27 11:29:59 -0700456 qcom,dc-chgpth@1400 {
David Keiteldb2602d2012-11-27 15:59:54 -0800457 status = "ok";
458 };
459
David Keitele89d4782013-03-27 11:29:59 -0700460 qcom,boost@1500 {
David Keiteldb2602d2012-11-27 15:59:54 -0800461 status = "ok";
462 };
463
464 qcom,chg-misc@1600 {
465 status = "ok";
466 };
467};
468
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700469&pm8941_gpios {
470 gpio@c000 { /* GPIO 1 */
471 };
472
473 gpio@c100 { /* GPIO 2 */
474 };
475
476 gpio@c200 { /* GPIO 3 */
477 qcom,mode = <0>;
478 qcom,pull = <0>;
479 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700480 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700481 };
482
483 gpio@c300 { /* GPIO 4 */
484 qcom,mode = <0>;
485 qcom,pull = <0>;
486 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700487 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700488 };
489
490 gpio@c400 { /* GPIO 5 */
491 qcom,mode = <0>;
492 qcom,pull = <0>;
493 qcom,vin-sel = <2>;
Michael Bohand734fb22012-10-30 14:19:22 -0700494 qcom,src-sel = <0>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700495 };
496
497 gpio@c500 { /* GPIO 6 */
498 };
499
500 gpio@c600 { /* GPIO 7 */
501 };
502
503 gpio@c700 { /* GPIO 8 */
504 };
505
506 gpio@c800 { /* GPIO 9 */
507 };
508
509 gpio@c900 { /* GPIO 10 */
510 };
511
512 gpio@ca00 { /* GPIO 11 */
513 };
514
515 gpio@cb00 { /* GPIO 12 */
516 };
517
518 gpio@cc00 { /* GPIO 13 */
519 };
520
521 gpio@cd00 { /* GPIO 14 */
522 };
523
524 gpio@ce00 { /* GPIO 15 */
525 qcom,mode = <1>;
526 qcom,output-type = <0>;
527 qcom,pull = <5>;
528 qcom,vin-sel = <2>;
Kiran Kandi1a35a222013-05-02 16:53:53 -0700529 qcom,out-strength = <1>;
Michael Bohand734fb22012-10-30 14:19:22 -0700530 qcom,src-sel = <2>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700531 qcom,master-en = <1>;
532 };
533
534 gpio@cf00 { /* GPIO 16 */
Amy Maloche527acc42012-12-07 18:40:54 -0800535 qcom,mode = <1>;
536 qcom,output-type = <0>;
537 qcom,pull = <2>;
538 qcom,vin-sel = <2>;
539 qcom,out-strength = <2>;
540 qcom,src-sel = <2>;
541 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700542 };
543
544 gpio@d000 { /* GPIO 17 */
545 };
546
547 gpio@d100 { /* GPIO 18 */
David Collinsf3c0e562012-12-20 11:45:06 -0800548 /* usb2_otg_sw regulator enable */
549 qcom,mode = <1>; /* Digital output */
550 qcom,output-type = <0>; /* CMOS logic */
551 qcom,invert = <0>; /* Output low initially */
552 qcom,vin-sel = <2>; /* PM8941 S3 = 1.8 V */
553 qcom,src-sel = <0>; /* Constant */
554 qcom,out-strength = <2>; /* Medium drive strength */
555 qcom,master-en = <1>; /* Enable GPIO */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700556 };
557
558 gpio@d200 { /* GPIO 19 */
559 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
560 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
561 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
562 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
563 qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
Michael Bohand734fb22012-10-30 14:19:22 -0700564 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700565 qcom,master-en = <1>;
566 };
567
568 gpio@d300 { /* GPIO 20 */
Fred Oh705c64f2013-03-07 14:25:40 -0800569 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
570 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
571 qcom,invert = <0>; /* Output low initially */
572 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
573 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
574 qcom,out-strength = <2>; /* QPNP_PIN_OUT_STRENGTH_MED */
575 qcom,src-sel = <0>; /* QPNP_PIN_SEL_FUNC_CONSTANT */
576 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700577 };
578
579 gpio@d400 { /* GPIO 21 */
580 };
581
582 gpio@d500 { /* GPIO 22 */
583 };
584
585 gpio@d600 { /* GPIO 23 */
586 };
587
588 gpio@d700 { /* GPIO 24 */
589 };
590
591 gpio@d800 { /* GPIO 25 */
592 };
593
594 gpio@d900 { /* GPIO 26 */
595 };
596
597 gpio@da00 { /* GPIO 27 */
598 };
599
600 gpio@db00 { /* GPIO 28 */
601 };
602
603 gpio@dc00 { /* GPIO 29 */
604 qcom,pull = <0>; /* set to default pull */
605 qcom,master-en = <1>;
606 qcom,vin-sel = <2>; /* select 1.8 V source */
607 };
608
609 gpio@dd00 { /* GPIO 30 */
610 };
611
612 gpio@de00 { /* GPIO 31 */
613 };
614
615 gpio@df00 { /* GPIO 32 */
616 };
617
618 gpio@e000 { /* GPIO 33 */
619 };
620
621 gpio@e100 { /* GPIO 34 */
622 };
623
624 gpio@e200 { /* GPIO 35 */
625 };
626
627 gpio@e300 { /* GPIO 36 */
Kuogee Hsieh865d0da2013-04-30 09:11:43 -0700628 qcom,mode = <1>; /* QPNP_PIN_MODE_DIG_OUT */
629 qcom,output-type = <0>; /* QPNP_PIN_OUT_BUF_CMOS */
630 qcom,pull = <5>; /* QPNP_PIN_PULL_NO */
631 qcom,vin-sel = <2>; /* QPNP_PIN_VIN2 */
632 qcom,out-strength = <3>; /* QPNP_PIN_OUT_STRENGTH_HIGH */
633 qcom,src-sel = <3>; /* QPNP_PIN_SEL_FUNC_2 */
634 qcom,master-en = <1>;
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700635 };
636};
637
638&pm8941_mpps {
639
640 mpp@a000 { /* MPP 1 */
Michael Bohanbea1f582013-03-21 17:29:49 -0700641 status = "disabled";
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700642 };
643
644 mpp@a100 { /* MPP 2 */
645 };
646
647 mpp@a200 { /* MPP 3 */
648 };
649
650 mpp@a300 { /* MPP 4 */
651 };
652
653 mpp@a400 { /* MPP 5 */
654 /* SPI_ETH config */
655 qcom,mode = <1>; /* DIG_OUT */
656 qcom,output-type = <0>; /* CMOS */
657 qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
Michael Bohand734fb22012-10-30 14:19:22 -0700658 qcom,src-sel = <0>; /* CONSTANT */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700659 qcom,master-en = <1>; /* ENABLE MPP */
660 };
661
662 mpp@a500 { /* MPP 6 */
663 /* SPI_ETH_RST config */
664 qcom,mode = <1>; /* DIG_OUT */
665 qcom,output-type = <0>; /* CMOS */
666 qcom,vin-sel = <2>; /* PM8941_S3 1.8V > 1.6V */
Michael Bohand734fb22012-10-30 14:19:22 -0700667 qcom,src-sel = <0>; /* CONSTANT */
Stepan Moskovchenko7731cd12012-10-23 14:44:15 -0700668 qcom,master-en = <1>; /* ENABLE MPP */
669 };
670
671 mpp@a600 { /* MPP 7 */
672 };
673
674 mpp@a700 { /* MPP 8 */
675 };
676};
677
678&pm8841_mpps {
679
680 mpp@a000 { /* MPP 1 */
681 };
682
683 mpp@a100 { /* MPP 2 */
684 };
685
686 mpp@a200 { /* MPP 3 */
687 };
688
689 mpp@a300 { /* MPP 4 */
690 };
691};
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800692
Pratik Patele69f8a92013-03-20 11:30:55 -0700693/* CoreSight */
694&tpiu {
695 qcom,seta-gpios = <&msmgpio 31 0>,
696 <&msmgpio 32 0>,
697 <&msmgpio 33 0>,
698 <&msmgpio 34 0>,
699 <&msmgpio 35 0>,
700 <&msmgpio 36 0>,
701 <&msmgpio 37 0>,
702 <&msmgpio 38 0>,
703 <&msmgpio 39 0>,
704 <&msmgpio 40 0>,
705 <&msmgpio 41 0>,
706 <&msmgpio 42 0>,
707 <&msmgpio 43 0>,
708 <&msmgpio 44 0>,
709 <&msmgpio 45 0>,
710 <&msmgpio 46 0>,
711 <&msmgpio 47 0>,
712 <&msmgpio 48 0>;
713 qcom,seta-gpios-func = <4 4 4 3 4 4 4 3 4 3 5 5 5 5 4 4 5 5>;
714 qcom,seta-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
715 qcom,seta-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
716 qcom,seta-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
717
718 qcom,setb-gpios = <&msmgpio 15 0>,
719 <&msmgpio 16 0>,
720 <&msmgpio 17 0>,
721 <&msmgpio 18 0>,
722 <&msmgpio 19 0>,
723 <&msmgpio 20 0>,
724 <&msmgpio 21 0>,
725 <&msmgpio 22 0>,
726 <&msmgpio 23 0>,
727 <&msmgpio 24 0>,
728 <&msmgpio 25 0>,
729 <&msmgpio 26 0>,
730 <&msmgpio 27 0>,
731 <&msmgpio 28 0>,
732 <&msmgpio 89 0>,
733 <&msmgpio 90 0>,
734 <&msmgpio 91 0>,
735 <&msmgpio 92 0>;
736 qcom,setb-gpios-func = <2 2 2 2 5 5 5 5 6 6 6 7 7 5 2 3 3 3>;
737 qcom,setb-gpios-drv = <7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7>;
738 qcom,setb-gpios-pull = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
739 qcom,setb-gpios-dir = <2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2>;
740};
741
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800742&slim_msm {
743 taiko_codec {
744 qcom,cdc-micbias1-ext-cap;
745 qcom,cdc-micbias3-ext-cap;
746 qcom,cdc-micbias4-ext-cap;
Joonwoo Parkdf0d5a92012-12-12 14:08:32 -0800747
748 /* If boot isn't available, vph_pwr_vreg can be used instead */
749 cdc-vdd-spkdrv-supply = <&pm8941_boost>;
750 qcom,cdc-vdd-spkdrv-voltage = <5000000 5000000>;
751 qcom,cdc-vdd-spkdrv-current = <1250000>;
752
753 qcom,cdc-on-demand-supplies = "cdc-vdd-spkdrv";
Kiran Kandi4041f7f2013-02-07 23:17:18 -0800754 };
755};
Manoj Rao56403572013-06-19 15:54:03 -0700756
757&dsi_tosh_720_vid {
758 qcom,cont-splash-enabled;
759};