Bhushan Shah | b1100d8 | 2016-07-29 11:39:06 +0530 | [diff] [blame] | 1 | #include "qcom-msm8974.dtsi" |
| 2 | #include "qcom-pm8841.dtsi" |
| 3 | #include "qcom-pm8941.dtsi" |
Bhushan Shah | b806664 | 2016-07-29 11:39:09 +0530 | [diff] [blame^] | 4 | #include <dt-bindings/gpio/gpio.h> |
| 5 | #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> |
Bhushan Shah | b1100d8 | 2016-07-29 11:39:06 +0530 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | model = "LGE MSM 8974 HAMMERHEAD"; |
| 9 | compatible = "lge,hammerhead", "qcom,msm8974"; |
| 10 | |
| 11 | aliases { |
| 12 | serial0 = &blsp1_uart1; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = "serial0:115200n8"; |
| 17 | }; |
Bhushan Shah | b806664 | 2016-07-29 11:39:09 +0530 | [diff] [blame^] | 18 | |
| 19 | smd { |
| 20 | rpm { |
| 21 | rpm_requests { |
| 22 | pm8841-regulators { |
| 23 | s1 { |
| 24 | regulator-min-microvolt = <675000>; |
| 25 | regulator-max-microvolt = <1050000>; |
| 26 | }; |
| 27 | |
| 28 | s2 { |
| 29 | regulator-min-microvolt = <500000>; |
| 30 | regulator-max-microvolt = <1050000>; |
| 31 | }; |
| 32 | |
| 33 | s3 { |
| 34 | regulator-min-microvolt = <1050000>; |
| 35 | regulator-max-microvolt = <1050000>; |
| 36 | }; |
| 37 | |
| 38 | s4 { |
| 39 | regulator-min-microvolt = <815000>; |
| 40 | regulator-max-microvolt = <900000>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | pm8941-regulators { |
| 45 | vdd_l1_l3-supply = <&pm8941_s1>; |
| 46 | vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; |
| 47 | vdd_l4_l11-supply = <&pm8941_s1>; |
| 48 | vdd_l5_l7-supply = <&pm8941_s2>; |
| 49 | vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; |
| 50 | vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>; |
| 51 | vdd_l9_l10_l17_l22-supply = <&vreg_boost>; |
| 52 | vdd_l13_l20_l23_l24-supply = <&vreg_boost>; |
| 53 | vdd_l21-supply = <&vreg_boost>; |
| 54 | |
| 55 | s1 { |
| 56 | regulator-min-microvolt = <1300000>; |
| 57 | regulator-max-microvolt = <1300000>; |
| 58 | |
| 59 | regulator-always-on; |
| 60 | regulator-boot-on; |
| 61 | }; |
| 62 | |
| 63 | s2 { |
| 64 | regulator-min-microvolt = <2150000>; |
| 65 | regulator-max-microvolt = <2150000>; |
| 66 | |
| 67 | regulator-boot-on; |
| 68 | }; |
| 69 | |
| 70 | s3 { |
| 71 | regulator-min-microvolt = <1800000>; |
| 72 | regulator-max-microvolt = <1800000>; |
| 73 | |
| 74 | regulator-always-on; |
| 75 | regulator-boot-on; |
| 76 | }; |
| 77 | |
| 78 | l1 { |
| 79 | regulator-min-microvolt = <1225000>; |
| 80 | regulator-max-microvolt = <1225000>; |
| 81 | |
| 82 | regulator-always-on; |
| 83 | regulator-boot-on; |
| 84 | }; |
| 85 | |
| 86 | l2 { |
| 87 | regulator-min-microvolt = <1200000>; |
| 88 | regulator-max-microvolt = <1200000>; |
| 89 | }; |
| 90 | |
| 91 | l3 { |
| 92 | regulator-min-microvolt = <1225000>; |
| 93 | regulator-max-microvolt = <1225000>; |
| 94 | }; |
| 95 | |
| 96 | l4 { |
| 97 | regulator-min-microvolt = <1225000>; |
| 98 | regulator-max-microvolt = <1225000>; |
| 99 | }; |
| 100 | |
| 101 | l5 { |
| 102 | regulator-min-microvolt = <1800000>; |
| 103 | regulator-max-microvolt = <1800000>; |
| 104 | }; |
| 105 | |
| 106 | l6 { |
| 107 | regulator-min-microvolt = <1800000>; |
| 108 | regulator-max-microvolt = <1800000>; |
| 109 | |
| 110 | regulator-boot-on; |
| 111 | }; |
| 112 | |
| 113 | l7 { |
| 114 | regulator-min-microvolt = <1800000>; |
| 115 | regulator-max-microvolt = <1800000>; |
| 116 | |
| 117 | regulator-boot-on; |
| 118 | }; |
| 119 | |
| 120 | l8 { |
| 121 | regulator-min-microvolt = <1800000>; |
| 122 | regulator-max-microvolt = <1800000>; |
| 123 | }; |
| 124 | |
| 125 | l9 { |
| 126 | regulator-min-microvolt = <1800000>; |
| 127 | regulator-max-microvolt = <2950000>; |
| 128 | }; |
| 129 | |
| 130 | l10 { |
| 131 | regulator-min-microvolt = <1800000>; |
| 132 | regulator-max-microvolt = <2950000>; |
| 133 | }; |
| 134 | |
| 135 | l11 { |
| 136 | regulator-min-microvolt = <1300000>; |
| 137 | regulator-max-microvolt = <1300000>; |
| 138 | }; |
| 139 | |
| 140 | l12 { |
| 141 | regulator-min-microvolt = <1800000>; |
| 142 | regulator-max-microvolt = <1800000>; |
| 143 | |
| 144 | regulator-always-on; |
| 145 | regulator-boot-on; |
| 146 | }; |
| 147 | |
| 148 | l13 { |
| 149 | regulator-min-microvolt = <1800000>; |
| 150 | regulator-max-microvolt = <2950000>; |
| 151 | |
| 152 | regulator-boot-on; |
| 153 | }; |
| 154 | |
| 155 | l14 { |
| 156 | regulator-min-microvolt = <1800000>; |
| 157 | regulator-max-microvolt = <1800000>; |
| 158 | }; |
| 159 | |
| 160 | l15 { |
| 161 | regulator-min-microvolt = <2050000>; |
| 162 | regulator-max-microvolt = <2050000>; |
| 163 | }; |
| 164 | |
| 165 | l16 { |
| 166 | regulator-min-microvolt = <2700000>; |
| 167 | regulator-max-microvolt = <2700000>; |
| 168 | }; |
| 169 | |
| 170 | l17 { |
| 171 | regulator-min-microvolt = <2850000>; |
| 172 | regulator-max-microvolt = <2850000>; |
| 173 | }; |
| 174 | |
| 175 | l18 { |
| 176 | regulator-min-microvolt = <2850000>; |
| 177 | regulator-max-microvolt = <2850000>; |
| 178 | }; |
| 179 | |
| 180 | l19 { |
| 181 | regulator-min-microvolt = <3000000>; |
| 182 | regulator-max-microvolt = <3300000>; |
| 183 | }; |
| 184 | |
| 185 | l20 { |
| 186 | regulator-min-microvolt = <2950000>; |
| 187 | regulator-max-microvolt = <2950000>; |
| 188 | |
| 189 | regulator-boot-on; |
| 190 | }; |
| 191 | |
| 192 | l21 { |
| 193 | regulator-min-microvolt = <2950000>; |
| 194 | regulator-max-microvolt = <2950000>; |
| 195 | |
| 196 | regulator-boot-on; |
| 197 | }; |
| 198 | |
| 199 | l22 { |
| 200 | regulator-min-microvolt = <3000000>; |
| 201 | regulator-max-microvolt = <3300000>; |
| 202 | }; |
| 203 | |
| 204 | l23 { |
| 205 | regulator-min-microvolt = <3000000>; |
| 206 | regulator-max-microvolt = <3000000>; |
| 207 | }; |
| 208 | |
| 209 | l24 { |
| 210 | regulator-min-microvolt = <3075000>; |
| 211 | regulator-max-microvolt = <3075000>; |
| 212 | |
| 213 | regulator-boot-on; |
| 214 | }; |
| 215 | }; |
| 216 | }; |
| 217 | }; |
| 218 | }; |
Bhushan Shah | b1100d8 | 2016-07-29 11:39:06 +0530 | [diff] [blame] | 219 | }; |
| 220 | |
| 221 | &soc { |
| 222 | serial@f991d000 { |
| 223 | status = "ok"; |
| 224 | }; |
| 225 | |
| 226 | }; |