Patrick Daly | 4deea5b | 2013-01-31 12:08:13 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -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 | |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 13 | /* SPM controlled regulators: */ |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 14 | |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 15 | &spmi_bus { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 16 | qcom,pm8226@1 { |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 17 | pm8226_s2: spm-regulator@1700 { |
| 18 | compatible = "qcom,spm-regulator"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 19 | regulator-name = "8226_s2"; |
David Collins | 03d33c1 | 2013-03-15 15:04:12 -0700 | [diff] [blame] | 20 | reg = <0x1700 0x100>; |
| 21 | regulator-min-microvolt = <900000>; |
| 22 | regulator-max-microvolt = <1275000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 23 | }; |
| 24 | }; |
| 25 | }; |
| 26 | |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 27 | /* CPR controlled regulator */ |
| 28 | |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 29 | &soc { |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 30 | apc_vreg_corner: regulator@f9018000 { |
| 31 | status = "okay"; |
| 32 | compatible = "qcom,cpr-regulator"; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 33 | reg = <0xf9018000 0x1000>, <0xf9011064 4>, <0xfc4b8000 0x1000>; |
| 34 | reg-names = "rbcpr", "rbcpr_clk", "efuse_addr"; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 35 | interrupts = <0 15 0>; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 36 | regulator-name = "apc_corner"; |
| 37 | regulator-min-microvolt = <1>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 38 | regulator-max-microvolt = <3>; |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 39 | |
| 40 | qcom,pvs-fuse-redun-sel = <22 24 3 2>; |
| 41 | qcom,pvs-fuse = <22 6 5>; |
| 42 | qcom,pvs-fuse-redun = <22 27 5>; |
| 43 | |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 44 | qcom,pvs-bin-process = <0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 2 |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 45 | 2 2 2 2 3 3 3 3 3 3 3 3 0 0 0 0>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 46 | qcom,pvs-corner-ceiling-slow = <1155000 1160000 1275000>; |
Willie Ruan | 712956f | 2013-07-10 09:58:29 -0700 | [diff] [blame] | 47 | qcom,pvs-corner-ceiling-nom = <1050000 1075000 1200000>; |
| 48 | qcom,pvs-corner-ceiling-fast = <1050000 1050000 1140000>; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 49 | vdd-apc-supply = <&pm8226_s2>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 50 | |
Willie Ruan | 839e8dd | 2013-04-04 09:59:31 -0700 | [diff] [blame] | 51 | vdd-mx-supply = <&pm8226_l3_ao>; |
| 52 | qcom,vdd-mx-vmax = <1350000>; |
| 53 | qcom,vdd-mx-vmin-method = <1>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 54 | |
| 55 | qcom,cpr-ref-clk = <19200>; |
| 56 | qcom,cpr-timer-delay = <5000>; |
David Collins | e808f90 | 2013-06-04 17:18:12 -0700 | [diff] [blame] | 57 | qcom,cpr-timer-cons-up = <0>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 58 | qcom,cpr-timer-cons-down = <2>; |
| 59 | qcom,cpr-irq-line = <0>; |
| 60 | qcom,cpr-step-quotient = <15>; |
David Collins | e808f90 | 2013-06-04 17:18:12 -0700 | [diff] [blame] | 61 | qcom,cpr-up-threshold = <0>; |
| 62 | qcom,cpr-down-threshold = <10>; |
| 63 | qcom,cpr-idle-clocks = <0>; |
Willie Ruan | b17b783 | 2013-04-08 21:30:27 -0700 | [diff] [blame] | 64 | qcom,cpr-gcnt-time = <1>; |
| 65 | qcom,vdd-apc-step-up-limit = <1>; |
| 66 | qcom,vdd-apc-step-down-limit = <1>; |
| 67 | qcom,cpr-apc-volt-step = <5000>; |
David Collins | 1581afc | 2013-05-21 14:32:00 -0700 | [diff] [blame] | 68 | |
Willie Ruan | 84e58d4 | 2013-06-12 13:01:28 -0700 | [diff] [blame] | 69 | qcom,cpr-fuse-redun-sel = <138 57 1 1>; |
| 70 | qcom,cpr-fuse-row = <138>; |
| 71 | qcom,cpr-fuse-bp-cpr-disable = <36>; |
| 72 | qcom,cpr-fuse-bp-scheme = <37>; |
| 73 | qcom,cpr-fuse-target-quot = <24 12 0>; |
| 74 | qcom,cpr-fuse-ro-sel = <54 38 41>; |
| 75 | qcom,cpr-fuse-redun-row = <139>; |
| 76 | qcom,cpr-fuse-redun-target-quot = <24 12 0>; |
| 77 | qcom,cpr-fuse-redun-ro-sel = <46 36 39>; |
| 78 | |
David Collins | 1581afc | 2013-05-21 14:32:00 -0700 | [diff] [blame] | 79 | qcom,cpr-enable; |
Willie Ruan | 7143bf6 | 2013-03-18 23:35:02 -0700 | [diff] [blame] | 80 | }; |
| 81 | }; |
| 82 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 83 | /* RPM controlled regulators: */ |
| 84 | |
| 85 | &rpm_bus { |
| 86 | rpm-regulator-smpa1 { |
| 87 | status = "okay"; |
| 88 | pm8226_s1: regulator-s1 { |
| 89 | regulator-min-microvolt = <500000>; |
| 90 | regulator-max-microvolt = <1275000>; |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | pm8226_s1_corner: regulator-s1-corner { |
| 94 | compatible = "qcom,rpm-regulator-smd"; |
| 95 | regulator-name = "8226_s1_corner"; |
| 96 | qcom,set = <3>; |
| 97 | regulator-min-microvolt = <1>; |
| 98 | regulator-max-microvolt = <7>; |
| 99 | qcom,use-voltage-corner; |
Patrick Daly | 4c4452a | 2013-04-29 12:25:05 -0700 | [diff] [blame] | 100 | qcom,consumer-supplies = "vdd_dig", ""; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 101 | }; |
| 102 | pm8226_s1_corner_ao: regulator-s1-corner-ao { |
| 103 | compatible = "qcom,rpm-regulator-smd"; |
| 104 | regulator-name = "8226_s1_corner_ao"; |
| 105 | qcom,set = <1>; |
| 106 | regulator-min-microvolt = <1>; |
| 107 | regulator-max-microvolt = <7>; |
| 108 | qcom,use-voltage-corner; |
Patrick Daly | 4c4452a | 2013-04-29 12:25:05 -0700 | [diff] [blame] | 109 | qcom,consumer-supplies = "vdd_sr2_dig", ""; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 110 | }; |
Jennifer Liu | c022d3a | 2013-06-26 11:33:58 -0700 | [diff] [blame] | 111 | pm8226_s1_floor_corner: regulator-s1-floor-corner { |
| 112 | compatible = "qcom,rpm-regulator-smd"; |
| 113 | regulator-name = "8226_s1_floor_corner"; |
| 114 | qcom,set = <3>; |
| 115 | regulator-min-microvolt = <1>; |
| 116 | regulator-max-microvolt = <7>; |
| 117 | qcom,use-voltage-floor-corner; |
| 118 | qcom,always-send-voltage; |
| 119 | }; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | rpm-regulator-smpa3 { |
| 123 | status = "okay"; |
| 124 | pm8226_s3: regulator-s3 { |
| 125 | regulator-min-microvolt = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 126 | regulator-max-microvolt = <1300000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 127 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 128 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 129 | }; |
| 130 | }; |
| 131 | |
| 132 | rpm-regulator-smpa4 { |
| 133 | status = "okay"; |
| 134 | pm8226_s4: regulator-s4 { |
Bhalchandra Gajare | def08ad | 2013-06-20 15:25:28 -0700 | [diff] [blame] | 135 | regulator-min-microvolt = <1800000>; |
| 136 | regulator-max-microvolt = <2200000>; |
| 137 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 138 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 139 | }; |
| 140 | }; |
| 141 | |
| 142 | rpm-regulator-smpa5 { |
| 143 | status = "okay"; |
| 144 | pm8226_s5: regulator-s5 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 145 | regulator-min-microvolt = <1150000>; |
| 146 | regulator-max-microvolt = <1150000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 147 | qcom,init-voltage = <1150000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 148 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 149 | }; |
| 150 | }; |
| 151 | |
| 152 | rpm-regulator-ldoa1 { |
| 153 | status = "okay"; |
| 154 | pm8226_l1: regulator-l1 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 155 | regulator-name = "8226_l1"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 156 | regulator-min-microvolt = <1225000>; |
| 157 | regulator-max-microvolt = <1225000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 158 | qcom,init-voltage = <1225000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 159 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 160 | }; |
| 161 | }; |
| 162 | |
| 163 | rpm-regulator-ldoa2 { |
| 164 | status = "okay"; |
| 165 | pm8226_l2: regulator-l2 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 166 | regulator-min-microvolt = <1200000>; |
| 167 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 168 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 169 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 170 | }; |
| 171 | }; |
| 172 | |
| 173 | rpm-regulator-ldoa3 { |
| 174 | status = "okay"; |
| 175 | pm8226_l3: regulator-l3 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 176 | regulator-name = "8226_l3"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 177 | regulator-min-microvolt = <750000>; |
| 178 | regulator-max-microvolt = <1275000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 179 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 180 | }; |
| 181 | pm8226_l3_ao: regulator-3-ao { |
| 182 | compatible = "qcom,rpm-regulator-smd"; |
| 183 | regulator-name = "8226_l3_ao"; |
| 184 | qcom,set = <1>; |
| 185 | regulator-min-microvolt = <750000>; |
| 186 | regulator-max-microvolt = <1275000>; |
| 187 | status = "okay"; |
| 188 | }; |
| 189 | pm8226_l3_so: regulator-l3-so { |
| 190 | compatible = "qcom,rpm-regulator-smd"; |
| 191 | regulator-name = "8226_l3_so"; |
| 192 | qcom,set = <2>; |
| 193 | regulator-min-microvolt = <750000>; |
| 194 | regulator-max-microvolt = <1275000>; |
| 195 | qcom,init-voltage = <750000>; |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | }; |
| 199 | |
| 200 | rpm-regulator-ldoa4 { |
| 201 | status = "okay"; |
| 202 | pm8226_l4: regulator-l4 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 203 | regulator-name = "8226_l4"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 204 | regulator-min-microvolt = <1200000>; |
| 205 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 206 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 207 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 208 | }; |
| 209 | }; |
| 210 | |
| 211 | rpm-regulator-ldoa5 { |
| 212 | status = "okay"; |
| 213 | pm8226_l5: regulator-l5 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 214 | regulator-name = "8226_l5"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 215 | regulator-min-microvolt = <1200000>; |
| 216 | regulator-max-microvolt = <1200000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 217 | qcom,init-voltage = <1200000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 218 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 219 | }; |
| 220 | }; |
| 221 | |
| 222 | rpm-regulator-ldoa6 { |
| 223 | status = "okay"; |
| 224 | pm8226_l6: regulator-l6 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 225 | regulator-name = "8226_l6"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 226 | regulator-min-microvolt = <1800000>; |
| 227 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 228 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 229 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 230 | }; |
| 231 | }; |
| 232 | |
| 233 | rpm-regulator-ldoa7 { |
| 234 | status = "okay"; |
| 235 | pm8226_l7: regulator-l7 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 236 | regulator-name = "8226_l7"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 237 | regulator-min-microvolt = <1850000>; |
| 238 | regulator-max-microvolt = <1850000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 239 | qcom,init-voltage = <1850000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 240 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 241 | }; |
| 242 | }; |
| 243 | |
| 244 | rpm-regulator-ldoa8 { |
| 245 | status = "okay"; |
| 246 | pm8226_l8: regulator-l8 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 247 | regulator-min-microvolt = <1800000>; |
| 248 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 249 | qcom,init-voltage = <1800000>; |
| 250 | status = "okay"; |
David Keitel | 3c56f48 | 2013-05-20 12:54:21 -0700 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | pm8226_l8_ao: regulator-l8-ao { |
| 254 | compatible = "qcom,rpm-regulator-smd"; |
| 255 | regulator-name = "8226_l8_ao"; |
| 256 | qcom,set = <1>; |
| 257 | regulator-min-microvolt = <1800000>; |
| 258 | regulator-max-microvolt = <1800000>; |
| 259 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 260 | qcom,consumer-supplies = "vdd_sr2_pll", ""; |
| 261 | }; |
David Keitel | 3c56f48 | 2013-05-20 12:54:21 -0700 | [diff] [blame] | 262 | |
| 263 | pm8226_l8_so: regulator-l8-so { |
| 264 | compatible = "qcom,rpm-regulator-smd"; |
| 265 | regulator-name = "8226_l8_so"; |
| 266 | qcom,set = <2>; |
| 267 | regulator-min-microvolt = <1800000>; |
| 268 | regulator-max-microvolt = <1800000>; |
| 269 | qcom,init-voltage = <1800000>; |
| 270 | qcom,init-enable = <0>; |
| 271 | }; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 272 | }; |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 273 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 274 | rpm-regulator-ldoa9 { |
| 275 | status = "okay"; |
| 276 | pm8226_l9: regulator-l9 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 277 | regulator-name = "8226_l9"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 278 | regulator-min-microvolt = <2050000>; |
| 279 | regulator-max-microvolt = <2050000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 280 | qcom,init-voltage = <2050000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 281 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 282 | }; |
| 283 | }; |
| 284 | |
| 285 | rpm-regulator-ldoa10 { |
| 286 | status = "okay"; |
| 287 | pm8226_l10: regulator-l10 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 288 | regulator-name = "8226_l10"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 289 | regulator-min-microvolt = <1800000>; |
| 290 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 291 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 292 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 293 | }; |
| 294 | }; |
| 295 | |
| 296 | rpm-regulator-ldoa12 { |
| 297 | status = "okay"; |
| 298 | pm8226_l12: regulator-l12 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 299 | regulator-name = "8226_l12"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 300 | regulator-min-microvolt = <1800000>; |
| 301 | regulator-max-microvolt = <1800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 302 | qcom,init-voltage = <1800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 303 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 304 | }; |
| 305 | }; |
| 306 | |
| 307 | rpm-regulator-ldoa14 { |
| 308 | status = "okay"; |
| 309 | pm8226_l14: regulator-l14 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 310 | regulator-name = "8226_l14"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 311 | regulator-min-microvolt = <2750000>; |
| 312 | regulator-max-microvolt = <2750000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 313 | qcom,init-voltage = <2750000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 314 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 315 | }; |
| 316 | }; |
| 317 | |
| 318 | rpm-regulator-ldoa15 { |
| 319 | status = "okay"; |
| 320 | pm8226_l15: regulator-l15 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 321 | regulator-name = "8226_l15"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 322 | regulator-min-microvolt = <2800000>; |
| 323 | regulator-max-microvolt = <2800000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 324 | qcom,init-voltage = <2800000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 325 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 326 | }; |
| 327 | }; |
| 328 | |
| 329 | rpm-regulator-ldoa16 { |
| 330 | status = "okay"; |
| 331 | pm8226_l16: regulator-l16 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 332 | regulator-name = "8226_l16"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 333 | regulator-min-microvolt = <3000000>; |
| 334 | regulator-max-microvolt = <3300000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 335 | qcom,init-voltage = <3300000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 336 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 337 | }; |
| 338 | }; |
| 339 | |
| 340 | rpm-regulator-ldoa17 { |
| 341 | status = "okay"; |
| 342 | pm8226_l17: regulator-l17 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 343 | regulator-min-microvolt = <2950000>; |
| 344 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 345 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 346 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 347 | }; |
| 348 | }; |
| 349 | |
| 350 | rpm-regulator-ldoa18 { |
| 351 | status = "okay"; |
| 352 | pm8226_l18: regulator-l18 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 353 | regulator-name = "8226_l18"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 354 | regulator-min-microvolt = <2950000>; |
| 355 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 356 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 357 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 358 | }; |
| 359 | }; |
| 360 | |
| 361 | rpm-regulator-ldoa19 { |
| 362 | status = "okay"; |
| 363 | pm8226_l19: regulator-l19 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 364 | regulator-name = "8226_l19"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 365 | regulator-min-microvolt = <2850000>; |
| 366 | regulator-max-microvolt = <2850000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 367 | qcom,init-voltage = <2850000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 368 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 369 | }; |
| 370 | }; |
| 371 | |
| 372 | rpm-regulator-ldoa20 { |
| 373 | status = "okay"; |
| 374 | pm8226_l20: regulator-l20 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 375 | regulator-name = "8226_l20"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 376 | regulator-min-microvolt = <3075000>; |
| 377 | regulator-max-microvolt = <3075000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 378 | qcom,init-voltage = <3075000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 379 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 380 | }; |
| 381 | }; |
| 382 | |
| 383 | rpm-regulator-ldoa21 { |
| 384 | status = "okay"; |
| 385 | pm8226_l21: regulator-l21 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 386 | regulator-name = "8226_l21"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 387 | regulator-min-microvolt = <1800000>; |
| 388 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 389 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 390 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 391 | }; |
| 392 | }; |
| 393 | |
| 394 | rpm-regulator-ldoa22 { |
| 395 | status = "okay"; |
| 396 | pm8226_l22: regulator-l22 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 397 | regulator-name = "8226_l22"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 398 | regulator-min-microvolt = <1800000>; |
| 399 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 400 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 401 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 402 | }; |
| 403 | }; |
| 404 | |
| 405 | rpm-regulator-ldoa23 { |
| 406 | status = "okay"; |
| 407 | pm8226_l23: regulator-l23 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 408 | regulator-name = "8226_l23"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 409 | regulator-min-microvolt = <1800000>; |
| 410 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 411 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 412 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 413 | }; |
| 414 | }; |
| 415 | |
| 416 | rpm-regulator-ldoa24 { |
| 417 | status = "okay"; |
| 418 | pm8226_l24: regulator-l24 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 419 | regulator-name = "8226_l24"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 420 | regulator-min-microvolt = <1300000>; |
| 421 | regulator-max-microvolt = <1300000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 422 | qcom,init-voltage = <1300000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 423 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 424 | }; |
| 425 | }; |
| 426 | |
David Keitel | 69d1d72 | 2013-06-07 19:30:32 -0700 | [diff] [blame] | 427 | rpm-regulator-ldoa25 { |
| 428 | status = "okay"; |
| 429 | pm8226_l25: regulator-l25 { |
| 430 | regulator-name = "8226_l25"; |
| 431 | regulator-min-microvolt = <1775000>; |
| 432 | regulator-max-microvolt = <2125000>; |
| 433 | qcom,init-voltage = <1775000>; |
| 434 | status = "okay"; |
| 435 | }; |
| 436 | }; |
| 437 | |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 438 | rpm-regulator-ldoa26 { |
| 439 | status = "okay"; |
| 440 | pm8226_l26: regulator-l26 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 441 | regulator-name = "8226_l26"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 442 | regulator-min-microvolt = <1225000>; |
| 443 | regulator-max-microvolt = <1225000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 444 | qcom,init-voltage = <1225000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 445 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 446 | }; |
| 447 | }; |
| 448 | |
| 449 | rpm-regulator-ldoa27 { |
| 450 | status = "okay"; |
| 451 | pm8226_l27: regulator-l27 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 452 | regulator-name = "8226_l27"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 453 | regulator-min-microvolt = <2050000>; |
| 454 | regulator-max-microvolt = <2050000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 455 | qcom,init-voltage = <2050000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 456 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 457 | }; |
| 458 | }; |
| 459 | |
| 460 | rpm-regulator-ldoa28 { |
| 461 | status = "okay"; |
| 462 | pm8226_l28: regulator-l28 { |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 463 | regulator-name = "8226_l28"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 464 | regulator-min-microvolt = <1800000>; |
| 465 | regulator-max-microvolt = <2950000>; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 466 | qcom,init-voltage = <2950000>; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 467 | status = "okay"; |
David Keitel | 376b268 | 2013-03-05 18:40:01 -0800 | [diff] [blame] | 468 | }; |
| 469 | }; |
| 470 | |
| 471 | rpm-regulator-vsa1 { |
| 472 | status = "okay"; |
| 473 | pm8226_lvs1: regulator-lvs1 { |
| 474 | status = "okay"; |
David Keitel | 7184c6e | 2013-02-11 13:23:04 -0800 | [diff] [blame] | 475 | }; |
David Collins | 37ddb97 | 2012-10-17 15:00:26 -0700 | [diff] [blame] | 476 | }; |
| 477 | }; |
David Keitel | 55aa28c | 2013-05-22 05:24:47 -0700 | [diff] [blame] | 478 | |
| 479 | &pm8226_chg_boost { |
| 480 | regulator-min-microvolt = <5000000>; |
| 481 | regulator-max-microvolt = <5000000>; |
| 482 | regulator-name = "8226_smbbp_boost"; |
| 483 | }; |
| 484 | |
David Collins | 091bb24 | 2013-05-23 11:08:24 -0700 | [diff] [blame] | 485 | &soc { |
| 486 | usb_otg_sw: regulator-ncp380 { |
| 487 | compatible = "regulator-fixed"; |
| 488 | regulator-name = "usb_otg_sw"; |
| 489 | gpio = <&msmgpio 67 0>; |
| 490 | parent-supply = <&pm8226_chg_boost>; |
| 491 | startup-delay-us = <4000>; |
| 492 | enable-active-high; |
| 493 | status = "disabled"; |
| 494 | }; |
| 495 | }; |