blob: 1f9cbb0dde0a74ab8af71a2ccbcb2f656287bcbb [file] [log] [blame]
Abhimanyu Kapur0458e3b2013-04-15 17:04:23 -07001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
2 *
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/ "msm9625-display.dtsi"
14/include/ "qpic-panel-ili-qvga.dtsi"
15
16/ {
17 i2c@f9925000 {
18 charger@57 {
19 compatible = "summit,smb137c";
20 reg = <0x57>;
21 summit,chg-current-ma = <1500>;
22 summit,term-current-ma = <50>;
23 summit,pre-chg-current-ma = <100>;
24 summit,float-voltage-mv = <4200>;
25 summit,thresh-voltage-mv = <3000>;
26 summit,recharge-thresh-mv = <75>;
27 summit,system-voltage-mv = <4250>;
28 summit,charging-timeout = <382>;
29 summit,pre-charge-timeout = <48>;
30 summit,therm-current-ua = <10>;
31 summit,temperature-min = <4>; /* 0 C */
32 summit,temperature-max = <3>; /* 45 C */
33 };
34 };
35
36 wlan0: qca,wlan {
37 cell-index = <0>;
38 compatible = "qca,ar6004-hsic";
39 qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
40 qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
41 qca,vdd-io-supply = <&pm8019_l11>;
42 };
43
44 qca,wlan_ar6003 {
45 cell-index = <0>;
46 compatible = "qca,ar6003-sdio";
47 qca,chip-pwd-l-gpios = <&msmgpio 62 0>;
48 qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>;
49 qca,vdd-io-supply = <&pm8019_l11>;
50 };
51};
52
53/* PM8019 GPIO and MPP configuration */
54&pm8019_gpios {
55 gpio@c000 { /* GPIO 1 */
56 };
57
58 gpio@c100 { /* GPIO 2 */
59 };
60
61 gpio@c200 { /* GPIO 3 */
62 };
63
64 gpio@c300 { /* GPIO 4 */
65 /* ext_2p95v regulator enable config */
66 qcom,mode = <1>; /* Digital output */
67 qcom,output-type = <0>; /* CMOS */
68 qcom,invert = <0>; /* Output low */
69 qcom,out-strength = <1>; /* Low */
70 qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */
71 qcom,src-sel = <0>; /* Constant */
72 qcom,master-en = <1>; /* Enable GPIO */
73 };
74
75 gpio@c400 { /* GPIO 5 */
76 };
77
78 gpio@c500 { /* GPIO 6 */
79 };
80};
81
82&pm8019_mpps {
83 mpp@a000 { /* MPP 1 */
84 };
85
86 mpp@a100 { /* MPP 2 */
87 };
88
89 mpp@a200 { /* MPP 3 */
90 };
91
92 mpp@a300 { /* MPP 4 */
93 };
94
95 mpp@a400 { /* MPP 5 */
96 };
97
98 mpp@a500 { /* MPP 6 */
99 };
100};