Abhimanyu Kapur | 0e088bb | 2013-01-08 18:41:17 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Abhimanyu Kapur | 9005c0f | 2012-09-04 11:36:43 -0700 | [diff] [blame] | 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 | /dts-v1/; |
| 14 | |
Abhimanyu Kapur | ef5d305 | 2013-01-21 15:10:44 -0800 | [diff] [blame] | 15 | /include/ "msm9625-v1.dtsi" |
Abhimanyu Kapur | 9005c0f | 2012-09-04 11:36:43 -0700 | [diff] [blame] | 16 | |
| 17 | / { |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 18 | model = "Qualcomm MSM 9625V1 MTP"; |
Abhimanyu Kapur | 9005c0f | 2012-09-04 11:36:43 -0700 | [diff] [blame] | 19 | compatible = "qcom,msm9625-mtp", "qcom,msm9625"; |
Abhimanyu Kapur | 430add8 | 2013-01-28 13:51:01 -0800 | [diff] [blame] | 20 | qcom,msm-id = <134 7 0>, <152 7 0>, <149 7 0>, <150 7 0>, |
| 21 | <151 7 0>, <148 7 0>, <173 7 0>, <174 7 0>, |
| 22 | <175 7 0>; |
David Collins | 919a95f | 2012-11-01 14:36:56 -0700 | [diff] [blame] | 23 | |
| 24 | i2c@f9925000 { |
| 25 | charger@57 { |
| 26 | compatible = "summit,smb137c"; |
| 27 | reg = <0x57>; |
| 28 | summit,chg-current-ma = <1500>; |
| 29 | summit,term-current-ma = <50>; |
| 30 | summit,pre-chg-current-ma = <100>; |
| 31 | summit,float-voltage-mv = <4200>; |
| 32 | summit,thresh-voltage-mv = <3000>; |
| 33 | summit,recharge-thresh-mv = <75>; |
| 34 | summit,system-voltage-mv = <4250>; |
| 35 | summit,charging-timeout = <382>; |
| 36 | summit,pre-charge-timeout = <48>; |
| 37 | summit,therm-current-ua = <10>; |
| 38 | summit,temperature-min = <4>; /* 0 C */ |
| 39 | summit,temperature-max = <3>; /* 45 C */ |
| 40 | }; |
| 41 | }; |
Pavan Kumar | 4eb9fb2 | 2012-10-29 18:52:47 -0700 | [diff] [blame] | 42 | |
| 43 | wlan0: qca,wlan { |
| 44 | cell-index = <0>; |
| 45 | compatible = "qca,ar6004-sdio"; |
| 46 | qca,chip-pwd-l-gpios = <&msmgpio 62 0>; |
| 47 | qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; |
| 48 | qca,ar6004-vdd-io-supply = <&pm8019_l11>; |
| 49 | }; |
Abhimanyu Kapur | 9005c0f | 2012-09-04 11:36:43 -0700 | [diff] [blame] | 50 | }; |
David Collins | ad5d0c9 | 2012-09-24 17:08:14 -0700 | [diff] [blame] | 51 | |
| 52 | /* PM8019 GPIO and MPP configuration */ |
| 53 | &pm8019_gpios { |
| 54 | gpio@c000 { /* GPIO 1 */ |
| 55 | }; |
| 56 | |
| 57 | gpio@c100 { /* GPIO 2 */ |
| 58 | }; |
| 59 | |
| 60 | gpio@c200 { /* GPIO 3 */ |
| 61 | }; |
| 62 | |
| 63 | gpio@c300 { /* GPIO 4 */ |
Oluwafemi Adeyemi | ba1ea0c | 2012-10-12 16:04:48 -0700 | [diff] [blame] | 64 | /* ext_2p95v regulator enable config */ |
| 65 | qcom,mode = <1>; /* Digital output */ |
| 66 | qcom,output-type = <0>; /* CMOS */ |
| 67 | qcom,invert = <0>; /* Output low */ |
| 68 | qcom,out-strength = <1>; /* Low */ |
| 69 | qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ |
Michael Bohan | d734fb2 | 2012-10-30 14:19:22 -0700 | [diff] [blame] | 70 | qcom,src-sel = <0>; /* Constant */ |
Oluwafemi Adeyemi | ba1ea0c | 2012-10-12 16:04:48 -0700 | [diff] [blame] | 71 | qcom,master-en = <1>; /* Enable GPIO */ |
David Collins | ad5d0c9 | 2012-09-24 17:08:14 -0700 | [diff] [blame] | 72 | }; |
| 73 | |
| 74 | gpio@c400 { /* GPIO 5 */ |
| 75 | }; |
| 76 | |
| 77 | gpio@c500 { /* GPIO 6 */ |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | &pm8019_mpps { |
| 82 | mpp@a000 { /* MPP 1 */ |
| 83 | }; |
| 84 | |
| 85 | mpp@a100 { /* MPP 2 */ |
| 86 | }; |
| 87 | |
| 88 | mpp@a200 { /* MPP 3 */ |
| 89 | }; |
| 90 | |
| 91 | mpp@a300 { /* MPP 4 */ |
| 92 | }; |
| 93 | |
| 94 | mpp@a400 { /* MPP 5 */ |
| 95 | }; |
| 96 | |
| 97 | mpp@a500 { /* MPP 6 */ |
| 98 | }; |
| 99 | }; |