Stepan Moskovchenko | 6b8bbc5 | 2013-06-14 15:55:04 -0700 | [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 | /* |
| 14 | * As a general rule, only chipset-specific property overrides should be placed |
| 15 | * inside this file. However, device definitions should be placed inside the |
| 16 | * msm8974.dtsi / msm8974pro.dtsi file(s). |
| 17 | */ |
| 18 | |
| 19 | /include/ "msm8974pro.dtsi" |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 20 | |
| 21 | /include/ "msm-pma8084-rpm-regulator.dtsi" |
| 22 | /include/ "msm-pma8084.dtsi" |
David Collins | 2392688 | 2013-10-10 16:00:22 -0700 | [diff] [blame] | 23 | /include/ "msm8974pro-pma8084-regulator.dtsi" |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 24 | |
| 25 | /* |
| 26 | * Override PM8841 and PM8941 resources with proper PMA8084 resources for |
| 27 | * MSM8974Pro AC. |
| 28 | */ |
| 29 | |
| 30 | &soc { |
| 31 | qcom,csid@fda08000 { |
| 32 | qcom,mipi-csi-vdd-supply = <&pma8084_l12>; |
| 33 | }; |
| 34 | |
| 35 | qcom,csid@fda08400 { |
| 36 | qcom,mipi-csi-vdd-supply = <&pma8084_l12>; |
| 37 | }; |
| 38 | |
| 39 | qcom,csid@fda08800 { |
| 40 | qcom,mipi-csi-vdd-supply = <&pma8084_l12>; |
| 41 | }; |
| 42 | |
| 43 | qcom,csid@fda08C00 { |
| 44 | qcom,mipi-csi-vdd-supply = <&pma8084_l12>; |
| 45 | }; |
| 46 | |
| 47 | tpiu@fc318000 { |
| 48 | vdd-supply = <&pma8084_l21>; |
Aparna Das | ed44c8e | 2013-08-05 12:33:55 -0700 | [diff] [blame] | 49 | vdd-io-supply = <&pma8084_l13>; |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | qcom,mdss_dsi@fd922800 { |
| 53 | vdd-supply = <&pma8084_l22>; |
| 54 | vddio-supply = <&pma8084_l12>; |
| 55 | vdda-supply = <&pma8084_l2>; |
David Collins | c162926 | 2013-08-01 15:23:04 -0700 | [diff] [blame] | 56 | qcom,platform-reset-gpio = <&pma8084_gpios 20 0>; |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | qcom,mdss_dsi@fd922e00 { |
| 60 | vdd-supply = <&pma8084_l22>; |
| 61 | vddio-supply = <&pma8084_l12>; |
| 62 | vdda-supply = <&pma8084_l2>; |
| 63 | }; |
| 64 | |
| 65 | qcom,hdmi_tx@fd922100 { |
| 66 | hpd-5v-supply = <&pma8084_mvs1>; |
| 67 | core-vdda-supply = <&pma8084_l12>; |
| 68 | core-vcc-supply = <&pma8084_s4>; |
| 69 | }; |
| 70 | |
| 71 | qcom,mdss_edp@fd923400 { |
| 72 | vdda-supply = <&pma8084_l12>; |
| 73 | }; |
| 74 | |
| 75 | usb@f9a55000 { |
| 76 | HSUSB_VDDCX-supply = <&pma8084_s2_corner>; |
| 77 | HSUSB_1p8-supply = <&pma8084_l6>; |
| 78 | HSUSB_3p3-supply = <&pma8084_l24>; |
| 79 | }; |
| 80 | |
| 81 | qcom,sdcc@f9824000 { |
| 82 | vdd-supply = <&pma8084_l20>; |
| 83 | vdd-io-supply = <&pma8084_s4>; |
| 84 | }; |
| 85 | |
| 86 | qcom,sdcc@f98a4000 { |
| 87 | vdd-supply = <&pma8084_l21>; |
| 88 | vdd-io-supply = <&pma8084_l13>; |
| 89 | }; |
| 90 | |
| 91 | slim@fe12f000 { |
| 92 | taiko_codec { |
| 93 | cdc-vdd-buck-supply = <&pma8084_s5>; |
| 94 | cdc-vdd-tx-h-supply = <&pma8084_s4>; |
| 95 | cdc-vdd-rx-h-supply = <&pma8084_s4>; |
| 96 | cdc-vddpx-1-supply = <&pma8084_s4>; |
| 97 | cdc-vdd-a-1p2v-supply = <&pma8084_l1>; |
| 98 | cdc-vddcx-1-supply = <&pma8084_l1>; |
| 99 | cdc-vddcx-2-supply = <&pma8084_l1>; |
| 100 | }; |
| 101 | }; |
| 102 | |
Saravana Kannan | fd3ac30 | 2013-05-06 17:45:49 -0700 | [diff] [blame] | 103 | qcom,clock-krait@f9016000 { |
| 104 | l2-dig-supply = <&pma8084_s2_corner_ao>; |
| 105 | hfpll-dig-supply = <&pma8084_s2_corner_ao>; |
| 106 | hfpll-analog-supply = <&pma8084_l12_ao>; |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | qcom,ssusb@f9200000 { |
| 110 | ssusb_vdd_dig-supply = <&pma8084_s2_corner>; |
| 111 | SSUSB_1p8-supply = <&pma8084_l6>; |
| 112 | hsusb_vdd_dig-supply = <&pma8084_s2_corner>; |
| 113 | HSUSB_1p8-supply = <&pma8084_l6>; |
| 114 | HSUSB_3p3-supply = <&pma8084_l24>; |
| 115 | }; |
| 116 | |
| 117 | qcom,ehci-host@f9a55000 { |
| 118 | HSUSB_VDDCX-supply = <&pma8084_s2>; |
| 119 | HSUSB_1p8-supply = <&pma8084_l6>; |
| 120 | HSUSB_3p3-supply = <&pma8084_l24>; |
| 121 | }; |
| 122 | |
| 123 | qcom,gdsc@fd8c4024 { |
| 124 | parent-supply = <&pma8084_s7_corner>; |
| 125 | }; |
| 126 | |
| 127 | qcom,lpass@fe200000 { |
| 128 | vdd_cx-supply = <&pma8084_s2_corner>; |
| 129 | }; |
| 130 | |
| 131 | qcom,mss@fc880000 { |
| 132 | vdd_mss-supply = <&pma8084_s6>; |
| 133 | vdd_cx-supply = <&pma8084_s2_corner>; |
| 134 | vdd_mx-supply = <&pma8084_s1>; |
| 135 | vdd_pll-supply = <&pma8084_l12>; |
| 136 | }; |
| 137 | |
| 138 | qcom,pronto@fb21b000 { |
| 139 | vdd_pronto_pll-supply = <&pma8084_l12>; |
| 140 | }; |
| 141 | |
| 142 | qcom,wcnss-wlan@fb000000 { |
| 143 | qcom,pronto-vddmx-supply = <&pma8084_s1>; |
| 144 | qcom,pronto-vddcx-supply = <&pma8084_s2>; |
| 145 | qcom,pronto-vddpx-supply = <&pma8084_s4>; |
| 146 | qcom,iris-vddxo-supply = <&pma8084_l6>; |
| 147 | qcom,iris-vddrfa-supply = <&pma8084_l11>; |
| 148 | qcom,iris-vddpa-supply = <&pma8084_l19>; |
| 149 | qcom,iris-vdddig-supply = <&pma8084_s4>; |
| 150 | }; |
| 151 | |
| 152 | qcom,msm-thermal { |
Jennifer Liu | b7f92ee | 2013-07-05 11:29:33 -0700 | [diff] [blame] | 153 | vdd-dig-supply = <&pma8084_s2_floor_corner>; |
| 154 | vdd-gfx-supply = <&pma8084_s7_floor_corner>; |
Ram Chandrasekar | d880feb | 2013-11-14 16:35:40 -0700 | [diff] [blame] | 155 | qti,pmic-opt-curr-temp = <85>; |
| 156 | qti,pmic-opt-curr-temp-hysteresis = <10>; |
| 157 | qti,pmic-opt-curr-regs = "vdd-dig"; |
Jennifer Liu | dd39415 | 2013-08-28 15:11:19 -0700 | [diff] [blame] | 158 | /delete-property/ qcom,pmic-sw-mode-temp; |
| 159 | /delete-property/ qcom,pmic-sw-mode-temp-hysteresis; |
| 160 | /delete-property/ qcom,pmic-sw-mode-regs; |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | qcom,lpm-resources { |
| 164 | qcom,lpm-resources@0 { |
| 165 | qcom,name = "vdd-dig"; |
| 166 | qcom,type = <0x61706d73>; /* "smpa" */ |
| 167 | qcom,id = <2>; |
| 168 | }; |
| 169 | |
| 170 | qcom,lpm-resources@1 { |
| 171 | qcom,name = "vdd-mem"; |
| 172 | qcom,type = <0x61706d73>; /* "smpa" */ |
| 173 | qcom,id = <1>; |
| 174 | }; |
| 175 | }; |
| 176 | |
| 177 | sound { |
| 178 | qcom,cdc-mclk-gpios = <&pma8084_gpios 15 0>; |
| 179 | }; |
| 180 | }; |
| 181 | |
| 182 | &krait_pdn { |
| 183 | qcom,use-phase-switching; |
| 184 | }; |
| 185 | |
Chandan Uddaraju | b8d7183 | 2013-08-27 20:14:04 -0700 | [diff] [blame] | 186 | &mdss_mdp { |
| 187 | vdd-cx-supply = <&pma8084_s2_corner>; |
| 188 | }; |
| 189 | |
David Collins | 02817ff | 2013-06-18 09:31:00 -0700 | [diff] [blame] | 190 | &tspp { |
| 191 | vdd_cx-supply = <&pma8084_s2_corner>; |
| 192 | }; |
Abhijeet Dharmapurikar | 579347c | 2013-07-19 12:35:06 -0700 | [diff] [blame] | 193 | |
David Collins | eb238ee75 | 2013-12-19 12:14:45 -0800 | [diff] [blame] | 194 | &pma8084_s2_corner { |
| 195 | qcom,init-smps-mode = <0>; /* Allow AUTO mode for VDD_CX. */ |
| 196 | }; |
| 197 | |
Abhijeet Dharmapurikar | 579347c | 2013-07-19 12:35:06 -0700 | [diff] [blame] | 198 | &krait_regulator_pmic { |
| 199 | status = "ok"; |
| 200 | |
| 201 | qcom,ctl@2900 { |
| 202 | status = "ok"; |
| 203 | }; |
| 204 | |
| 205 | qcom,ps@2a00 { |
| 206 | status = "ok"; |
| 207 | }; |
| 208 | |
| 209 | qcom,freq@2b00 { |
| 210 | status = "ok"; |
| 211 | }; |
| 212 | }; |