Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 1 | /* Copyright (c) 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 | /dts-v1/; |
| 14 | |
| 15 | /include/ "msm9625-v2.dtsi" |
Ken Zhang | e529ff1 | 2013-01-24 17:02:35 -0500 | [diff] [blame] | 16 | /include/ "msm9625-display.dtsi" |
| 17 | /include/ "qpic-panel-ili-qvga.dtsi" |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 18 | |
| 19 | / { |
| 20 | model = "Qualcomm MSM 9625V2 CDP"; |
| 21 | compatible = "qcom,msm9625-cdp", "qcom,msm9625"; |
| 22 | qcom,msm-id = <134 1 0x20000>, <152 1 0x20000>, <149 1 0x20000>, |
Abhimanyu Kapur | 430add8 | 2013-01-28 13:51:01 -0800 | [diff] [blame] | 23 | <150 1 0x20000>, <151 1 0x20000>, <148 1 0x20000>, |
| 24 | <173 1 0x20000>, <174 1 0x20000>, <175 1 0x20000>; |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 25 | |
| 26 | i2c@f9925000 { |
| 27 | charger@57 { |
| 28 | compatible = "summit,smb137c"; |
| 29 | reg = <0x57>; |
| 30 | summit,chg-current-ma = <1500>; |
| 31 | summit,term-current-ma = <50>; |
| 32 | summit,pre-chg-current-ma = <100>; |
| 33 | summit,float-voltage-mv = <4200>; |
| 34 | summit,thresh-voltage-mv = <3000>; |
| 35 | summit,recharge-thresh-mv = <75>; |
| 36 | summit,system-voltage-mv = <4250>; |
| 37 | summit,charging-timeout = <382>; |
| 38 | summit,pre-charge-timeout = <48>; |
| 39 | summit,therm-current-ua = <10>; |
| 40 | summit,temperature-min = <4>; /* 0 C */ |
| 41 | summit,temperature-max = <3>; /* 45 C */ |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | wlan0: qca,wlan { |
| 46 | cell-index = <0>; |
Smita Ghosh | 08dacab | 2013-03-14 16:16:14 -0700 | [diff] [blame] | 47 | compatible = "qca,ar6004-hsic"; |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 48 | qca,chip-pwd-l-gpios = <&msmgpio 62 0>; |
| 49 | qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; |
Prashanth Bhatta | e11cadf | 2013-03-21 21:47:49 -0700 | [diff] [blame] | 50 | qca,vdd-io-supply = <&pm8019_l11>; |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 51 | }; |
Prashanth Bhatta | 8548680 | 2013-03-21 17:50:13 -0700 | [diff] [blame] | 52 | |
| 53 | qca,wlan_ar6003 { |
| 54 | cell-index = <0>; |
| 55 | compatible = "qca,ar6003-sdio"; |
| 56 | qca,chip-pwd-l-gpios = <&msmgpio 62 0>; |
| 57 | qca,pm-enable-gpios = <&pm8019_gpios 3 0x0>; |
| 58 | qca,vdd-io-supply = <&pm8019_l11>; |
| 59 | }; |
Abhimanyu Kapur | 2a74a92 | 2013-01-21 17:13:52 -0800 | [diff] [blame] | 60 | }; |
| 61 | |
| 62 | /* PM8019 GPIO and MPP configuration */ |
| 63 | &pm8019_gpios { |
| 64 | gpio@c000 { /* GPIO 1 */ |
| 65 | }; |
| 66 | |
| 67 | gpio@c100 { /* GPIO 2 */ |
| 68 | }; |
| 69 | |
| 70 | gpio@c200 { /* GPIO 3 */ |
| 71 | }; |
| 72 | |
| 73 | gpio@c300 { /* GPIO 4 */ |
| 74 | /* ext_2p95v regulator enable config */ |
| 75 | qcom,mode = <1>; /* Digital output */ |
| 76 | qcom,output-type = <0>; /* CMOS */ |
| 77 | qcom,invert = <0>; /* Output low */ |
| 78 | qcom,out-strength = <1>; /* Low */ |
| 79 | qcom,vin-sel = <2>; /* PM8019 L11 - 1.8V */ |
| 80 | qcom,src-sel = <0>; /* Constant */ |
| 81 | qcom,master-en = <1>; /* Enable GPIO */ |
| 82 | }; |
| 83 | |
| 84 | gpio@c400 { /* GPIO 5 */ |
| 85 | }; |
| 86 | |
| 87 | gpio@c500 { /* GPIO 6 */ |
| 88 | }; |
| 89 | }; |
| 90 | |
| 91 | &pm8019_mpps { |
| 92 | mpp@a000 { /* MPP 1 */ |
| 93 | }; |
| 94 | |
| 95 | mpp@a100 { /* MPP 2 */ |
| 96 | }; |
| 97 | |
| 98 | mpp@a200 { /* MPP 3 */ |
| 99 | }; |
| 100 | |
| 101 | mpp@a300 { /* MPP 4 */ |
| 102 | }; |
| 103 | |
| 104 | mpp@a400 { /* MPP 5 */ |
| 105 | }; |
| 106 | |
| 107 | mpp@a500 { /* MPP 6 */ |
| 108 | }; |
| 109 | }; |