David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012, 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 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 13 | &rpm_bus { |
| 14 | rpm-regulator-smpa1 { |
| 15 | status = "okay"; |
| 16 | pm8019_s1: regulator-s1 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 17 | regulator-min-microvolt = <800000>; |
| 18 | regulator-max-microvolt = <1050000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 19 | qcom,init-voltage = <1050000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 20 | status = "okay"; |
| 21 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 22 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 23 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 24 | rpm-regulator-smpa2 { |
| 25 | status = "okay"; |
| 26 | qcom,allow-atomic = <1>; |
| 27 | pm8019_s2: regulator-s2 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 28 | regulator-min-microvolt = <1250000>; |
| 29 | regulator-max-microvolt = <1250000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 30 | qcom,init-voltage = <1250000>; |
| 31 | qcom,init-current = <100>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 32 | qcom,system-load = <100000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 33 | regulator-always-on; |
| 34 | status = "okay"; |
| 35 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 36 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 37 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 38 | rpm-regulator-smpa3 { |
| 39 | status = "okay"; |
| 40 | pm8019_s3: regulator-s3 { |
| 41 | regulator-min-microvolt = <1000000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 42 | regulator-max-microvolt = <1100000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 43 | qcom,init-voltage = <1100000>; |
| 44 | qcom,init-current = <100>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 45 | qcom,system-load = <100000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 46 | regulator-always-on; |
| 47 | status = "okay"; |
| 48 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 49 | pm8019_s3_ao: regulator-s3-ao { |
| 50 | compatible = "qcom,rpm-regulator-smd"; |
| 51 | regulator-name = "8019_s3_ao"; |
| 52 | qcom,set = <1>; |
| 53 | regulator-min-microvolt = <1000000>; |
| 54 | regulator-max-microvolt = <1100000>; |
| 55 | status = "okay"; |
| 56 | }; |
| 57 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 58 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 59 | rpm-regulator-smpa4 { |
| 60 | status = "okay"; |
| 61 | pm8019_s4: regulator-s4 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 62 | regulator-min-microvolt = <1800000>; |
| 63 | regulator-max-microvolt = <2075000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 64 | qcom,init-voltage = <2075000>; |
| 65 | qcom,init-current = <100>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 66 | qcom,system-load = <100000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 67 | regulator-always-on; |
| 68 | status = "okay"; |
| 69 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 70 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 71 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 72 | rpm-regulator-ldoa1 { |
| 73 | status = "okay"; |
| 74 | pm8019_l1: regulator-l1 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 75 | parent-supply = <&pm8019_s2>; |
| 76 | regulator-min-microvolt = <1225000>; |
| 77 | regulator-max-microvolt = <1225000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 78 | qcom,init-voltage = <1225000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 79 | status = "okay"; |
| 80 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 81 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 82 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 83 | rpm-regulator-ldoa2 { |
| 84 | status = "okay"; |
| 85 | pm8019_l2: regulator-l2 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 86 | parent-supply = <&pm8019_s4>; |
| 87 | regulator-min-microvolt = <1800000>; |
| 88 | regulator-max-microvolt = <1800000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 89 | qcom,init-voltage = <1800000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 90 | status = "okay"; |
| 91 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 92 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 93 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 94 | rpm-regulator-ldoa3 { |
| 95 | status = "okay"; |
| 96 | pm8019_l3: regulator-l3 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 97 | parent-supply = <&pm8019_s4>; |
| 98 | regulator-min-microvolt = <1800000>; |
| 99 | regulator-max-microvolt = <1800000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 100 | qcom,init-voltage = <1800000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 101 | status = "okay"; |
| 102 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 103 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 104 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 105 | rpm-regulator-ldoa4 { |
| 106 | status = "okay"; |
| 107 | pm8019_l4: regulator-l4 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 108 | regulator-min-microvolt = <3075000>; |
| 109 | regulator-max-microvolt = <3075000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 110 | qcom,init-voltage = <3075000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 111 | status = "okay"; |
| 112 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 113 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 114 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 115 | rpm-regulator-ldoa5 { |
| 116 | status = "okay"; |
| 117 | pm8019_l5: regulator-l5 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 118 | regulator-min-microvolt = <1800000>; |
| 119 | regulator-max-microvolt = <2850000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 120 | qcom,init-voltage = <1800000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 121 | status = "okay"; |
| 122 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 123 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 124 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 125 | rpm-regulator-ldoa6 { |
| 126 | status = "okay"; |
| 127 | pm8019_l6: regulator-l6 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 128 | regulator-min-microvolt = <1800000>; |
| 129 | regulator-max-microvolt = <2850000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 130 | qcom,init-voltage = <1800000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 131 | status = "okay"; |
| 132 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 133 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 134 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 135 | rpm-regulator-ldoa7 { |
| 136 | status = "okay"; |
| 137 | pm8019_l7: regulator-l7 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 138 | parent-supply = <&pm8019_s4>; |
| 139 | regulator-min-microvolt = <1800000>; |
| 140 | regulator-max-microvolt = <1800000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 141 | qcom,init-voltage = <1800000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 142 | status = "okay"; |
| 143 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 144 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 145 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 146 | rpm-regulator-ldoa8 { |
| 147 | status = "okay"; |
| 148 | pm8019_l8: regulator-l8 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 149 | parent-supply = <&pm8019_s4>; |
| 150 | regulator-min-microvolt = <2050000>; |
| 151 | regulator-max-microvolt = <2050000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 152 | qcom,init-voltage = <2050000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 153 | status = "okay"; |
| 154 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 155 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 156 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 157 | rpm-regulator-ldoa9 { |
| 158 | status = "okay"; |
| 159 | pm8019_l9: regulator-l9 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 160 | parent-supply = <&pm8019_s2>; |
| 161 | regulator-min-microvolt = <1200000>; |
| 162 | regulator-max-microvolt = <1200000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 163 | qcom,init-voltage = <1200000>; |
| 164 | qcom,init-current = <10>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 165 | qcom,system-load = <10000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 166 | regulator-always-on; |
| 167 | status = "okay"; |
| 168 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 169 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 170 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 171 | rpm-regulator-ldoa10 { |
| 172 | status = "okay"; |
| 173 | pm8019_l10: regulator-l10 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 174 | parent-supply = <&pm8019_s3>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 175 | regulator-min-microvolt = <500000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 176 | regulator-max-microvolt = <1050000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 177 | status = "okay"; |
| 178 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 179 | pm8019_l10_corner: regulator-l10-corner { |
| 180 | compatible = "qcom,rpm-regulator-smd"; |
| 181 | regulator-name = "8019_l10_corner"; |
| 182 | qcom,set = <3>; |
| 183 | regulator-min-microvolt = <1>; |
| 184 | regulator-max-microvolt = <7>; |
| 185 | qcom,use-voltage-corner; |
| 186 | status = "okay"; |
Tianyi Gou | 9fed1c1 | 2012-10-09 13:15:15 -0700 | [diff] [blame] | 187 | qcom,consumer-supplies = "vdd_dig", ""; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 188 | }; |
| 189 | pm8019_l10_corner_ao: regulator-l10-corner-ao { |
| 190 | compatible = "qcom,rpm-regulator-smd"; |
| 191 | regulator-name = "8019_l10_corner_ao"; |
| 192 | qcom,set = <1>; |
| 193 | regulator-min-microvolt = <1>; |
| 194 | regulator-max-microvolt = <7>; |
| 195 | qcom,use-voltage-corner; |
| 196 | status = "okay"; |
| 197 | }; |
| 198 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 199 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 200 | rpm-regulator-ldoa11 { |
| 201 | status = "okay"; |
| 202 | pm8019_l11: regulator-l11 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 203 | parent-supply = <&pm8019_s4>; |
| 204 | regulator-min-microvolt = <1800000>; |
| 205 | regulator-max-microvolt = <1800000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 206 | qcom,init-voltage = <1800000>; |
| 207 | qcom,init-current = <10>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 208 | qcom,system-load = <10000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 209 | regulator-always-on; |
| 210 | status = "okay"; |
| 211 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 212 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 213 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 214 | rpm-regulator-ldoa12 { |
| 215 | status = "okay"; |
| 216 | pm8019_l12: regulator-l12 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 217 | parent-supply = <&pm8019_s3>; |
David Collins | 0f4f640 | 2012-10-25 11:10:03 -0700 | [diff] [blame] | 218 | regulator-min-microvolt = <675000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 219 | regulator-max-microvolt = <1050000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 220 | status = "okay"; |
| 221 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 222 | pm8019_l12_ao: regulator-l12-ao { |
| 223 | compatible = "qcom,rpm-regulator-smd"; |
| 224 | regulator-name = "8019_l12_ao"; |
| 225 | qcom,set = <1>; |
| 226 | parent-supply = <&pm8019_s3_ao>; |
David Collins | 0f4f640 | 2012-10-25 11:10:03 -0700 | [diff] [blame] | 227 | regulator-min-microvolt = <675000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 228 | regulator-max-microvolt = <1050000>; |
| 229 | status = "okay"; |
| 230 | }; |
David Collins | 0f4f640 | 2012-10-25 11:10:03 -0700 | [diff] [blame] | 231 | pm8019_l12_so: regulator-l12-so { |
| 232 | compatible = "qcom,rpm-regulator-smd"; |
| 233 | regulator-name = "8019_l12_so"; |
| 234 | qcom,set = <2>; |
| 235 | parent-supply = <&pm8019_s3>; |
| 236 | regulator-min-microvolt = <675000>; |
| 237 | regulator-max-microvolt = <1050000>; |
| 238 | qcom,init-voltage = <675000>; |
| 239 | status = "okay"; |
| 240 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 241 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 242 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 243 | rpm-regulator-ldoa13 { |
| 244 | status = "okay"; |
| 245 | pm8019_l13: regulator-l13 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 246 | regulator-min-microvolt = <1800000>; |
| 247 | regulator-max-microvolt = <2950000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 248 | qcom,init-voltage = <2950000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 249 | status = "okay"; |
| 250 | }; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 251 | }; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 252 | |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 253 | rpm-regulator-ldoa14 { |
| 254 | status = "okay"; |
| 255 | pm8019_l14: regulator-l14 { |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 256 | regulator-min-microvolt = <2700000>; |
| 257 | regulator-max-microvolt = <2700000>; |
David Collins | f4a0f1e | 2012-09-28 13:18:20 -0700 | [diff] [blame] | 258 | qcom,init-voltage = <2700000>; |
David Collins | 56b4112 | 2012-09-24 17:09:23 -0700 | [diff] [blame] | 259 | status = "okay"; |
| 260 | }; |
| 261 | }; |
| 262 | }; |
Oluwafemi Adeyemi | ba1ea0c | 2012-10-12 16:04:48 -0700 | [diff] [blame] | 263 | |
| 264 | / { |
| 265 | ext_2p95v: regulator-isl80101 { |
| 266 | compatible = "regulator-fixed"; |
| 267 | regulator-name = "ext_2p95v"; |
| 268 | gpio = <&pm8019_gpios 4 0>; |
| 269 | enable-active-high; |
| 270 | }; |
David Collins | 84d39b2 | 2012-11-01 14:40:08 -0700 | [diff] [blame^] | 271 | |
| 272 | usb_vbus: regulator-usb-vbus { |
| 273 | compatible = "regulator-fixed"; |
| 274 | regulator-name = "usb_vbus"; |
| 275 | }; |
Oluwafemi Adeyemi | ba1ea0c | 2012-10-12 16:04:48 -0700 | [diff] [blame] | 276 | }; |