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