Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 1 | #include "qcom-msm8974.dtsi" |
Ivan T. Ivanov | c912789 | 2015-02-03 14:17:59 +0200 | [diff] [blame] | 2 | #include "qcom-pm8841.dtsi" |
| 3 | #include "qcom-pm8941.dtsi" |
Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Qualcomm APQ8074 Dragonboard"; |
| 7 | compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 8 | |
Stephen Boyd | 5f76978 | 2015-06-16 14:31:47 -0700 | [diff] [blame] | 9 | aliases { |
| 10 | serial0 = &blsp1_uart2; |
Stephen Boyd | 134c544 | 2015-11-20 15:31:20 -0800 | [diff] [blame] | 11 | usid0 = &pm8941_0; |
| 12 | usid4 = &pm8841_0; |
Stephen Boyd | 5f76978 | 2015-06-16 14:31:47 -0700 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | stdout-path = "serial0:115200n8"; |
| 17 | }; |
| 18 | |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 19 | soc { |
| 20 | serial@f991e000 { |
| 21 | status = "ok"; |
| 22 | }; |
| 23 | |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 24 | sdhci@f9824900 { |
| 25 | bus-width = <8>; |
| 26 | non-removable; |
| 27 | status = "ok"; |
Stephen Boyd | 5fda09b | 2016-05-10 15:45:59 -0700 | [diff] [blame] | 28 | |
| 29 | vmmc-supply = <&pm8941_l20>; |
| 30 | vqmmc-supply = <&pm8941_s3>; |
| 31 | |
| 32 | pinctrl-names = "default"; |
| 33 | pinctrl-0 = <&sdhc1_pin_a>; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | sdhci@f98a4900 { |
| 37 | cd-gpios = <&msmgpio 62 0x1>; |
Stephen Boyd | 5fda09b | 2016-05-10 15:45:59 -0700 | [diff] [blame] | 38 | pinctrl-names = "default"; |
| 39 | pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 40 | bus-width = <4>; |
Stephen Boyd | 5fda09b | 2016-05-10 15:45:59 -0700 | [diff] [blame] | 41 | status = "ok"; |
| 42 | |
| 43 | vmmc-supply = <&pm8941_l21>; |
| 44 | vqmmc-supply = <&pm8941_l13>; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 45 | }; |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 46 | |
| 47 | |
| 48 | pinctrl@fd510000 { |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 49 | i2c11_pins: i2c11 { |
| 50 | mux { |
| 51 | pins = "gpio83", "gpio84"; |
| 52 | function = "blsp_i2c11"; |
| 53 | }; |
| 54 | }; |
| 55 | |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 56 | spi8_default: spi8_default { |
| 57 | mosi { |
| 58 | pins = "gpio45"; |
| 59 | function = "blsp_spi8"; |
| 60 | }; |
| 61 | miso { |
| 62 | pins = "gpio46"; |
| 63 | function = "blsp_spi8"; |
| 64 | }; |
| 65 | cs { |
| 66 | pins = "gpio47"; |
| 67 | function = "blsp_spi8"; |
| 68 | }; |
| 69 | clk { |
| 70 | pins = "gpio48"; |
| 71 | function = "blsp_spi8"; |
| 72 | }; |
| 73 | }; |
Stephen Boyd | 5fda09b | 2016-05-10 15:45:59 -0700 | [diff] [blame] | 74 | |
| 75 | sdhc1_pin_a: sdhc1-pin-active { |
| 76 | clk { |
| 77 | pins = "sdc1_clk"; |
| 78 | drive-strength = <16>; |
| 79 | bias-disable; |
| 80 | }; |
| 81 | |
| 82 | cmd-data { |
| 83 | pins = "sdc1_cmd", "sdc1_data"; |
| 84 | drive-strength = <10>; |
| 85 | bias-pull-up; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | sdhc2_cd_pin_a: sdhc2-cd-pin-active { |
| 90 | pins = "gpio62"; |
| 91 | function = "gpio"; |
| 92 | |
| 93 | drive-strength = <2>; |
| 94 | bias-disable; |
| 95 | }; |
| 96 | |
| 97 | sdhc2_pin_a: sdhc2-pin-active { |
| 98 | clk { |
| 99 | pins = "sdc2_clk"; |
| 100 | drive-strength = <10>; |
| 101 | bias-disable; |
| 102 | }; |
| 103 | |
| 104 | cmd-data { |
| 105 | pins = "sdc2_cmd", "sdc2_data"; |
| 106 | drive-strength = <6>; |
| 107 | bias-pull-up; |
| 108 | }; |
| 109 | }; |
Kumar Gala | ba08220 | 2014-05-28 12:01:29 -0500 | [diff] [blame] | 110 | }; |
kiran.padwal@smartplayin.com | bf7f6b0 | 2014-09-16 17:15:38 +0530 | [diff] [blame] | 111 | |
| 112 | i2c@f9967000 { |
| 113 | status = "okay"; |
| 114 | clock-frequency = <200000>; |
| 115 | pinctrl-0 = <&i2c11_pins>; |
| 116 | pinctrl-names = "default"; |
| 117 | |
| 118 | eeprom: eeprom@52 { |
| 119 | compatible = "atmel,24c128"; |
| 120 | reg = <0x52>; |
| 121 | pagesize = <32>; |
| 122 | read-only; |
| 123 | }; |
| 124 | }; |
Georgi Djakov | 3e944c7 | 2014-01-31 16:21:56 +0200 | [diff] [blame] | 125 | }; |
Stephen Boyd | d04dc95 | 2016-05-10 15:45:58 -0700 | [diff] [blame] | 126 | |
| 127 | smd { |
| 128 | rpm { |
| 129 | rpm_requests { |
| 130 | pm8841-regulators { |
| 131 | s1 { |
| 132 | regulator-min-microvolt = <675000>; |
| 133 | regulator-max-microvolt = <1050000>; |
| 134 | }; |
| 135 | |
| 136 | s2 { |
| 137 | regulator-min-microvolt = <500000>; |
| 138 | regulator-max-microvolt = <1050000>; |
| 139 | }; |
| 140 | |
| 141 | s3 { |
| 142 | regulator-min-microvolt = <500000>; |
| 143 | regulator-max-microvolt = <1050000>; |
| 144 | }; |
| 145 | |
| 146 | s4 { |
| 147 | regulator-min-microvolt = <500000>; |
| 148 | regulator-max-microvolt = <1050000>; |
| 149 | }; |
| 150 | }; |
| 151 | |
| 152 | pm8941-regulators { |
| 153 | vdd_l1_l3-supply = <&pm8941_s1>; |
| 154 | vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; |
| 155 | vdd_l4_l11-supply = <&pm8941_s1>; |
| 156 | vdd_l5_l7-supply = <&pm8941_s2>; |
| 157 | vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; |
| 158 | vin_5vs-supply = <&pm8941_5v>; |
| 159 | |
| 160 | s1 { |
| 161 | regulator-min-microvolt = <1300000>; |
| 162 | regulator-max-microvolt = <1300000>; |
| 163 | regulator-always-on; |
| 164 | regulator-boot-on; |
| 165 | }; |
| 166 | |
| 167 | s2 { |
| 168 | regulator-min-microvolt = <2150000>; |
| 169 | regulator-max-microvolt = <2150000>; |
| 170 | regulator-boot-on; |
| 171 | }; |
| 172 | |
| 173 | s3 { |
| 174 | regulator-min-microvolt = <1800000>; |
| 175 | regulator-max-microvolt = <1800000>; |
| 176 | regulator-always-on; |
| 177 | regulator-boot-on; |
| 178 | }; |
| 179 | |
| 180 | l1 { |
| 181 | regulator-min-microvolt = <1225000>; |
| 182 | regulator-max-microvolt = <1225000>; |
| 183 | |
| 184 | regulator-always-on; |
| 185 | regulator-boot-on; |
| 186 | }; |
| 187 | |
| 188 | l2 { |
| 189 | regulator-min-microvolt = <1200000>; |
| 190 | regulator-max-microvolt = <1200000>; |
| 191 | }; |
| 192 | |
| 193 | l3 { |
| 194 | regulator-min-microvolt = <1225000>; |
| 195 | regulator-max-microvolt = <1225000>; |
| 196 | }; |
| 197 | |
| 198 | l4 { |
| 199 | regulator-min-microvolt = <1225000>; |
| 200 | regulator-max-microvolt = <1225000>; |
| 201 | }; |
| 202 | |
| 203 | l5 { |
| 204 | regulator-min-microvolt = <1800000>; |
| 205 | regulator-max-microvolt = <1800000>; |
| 206 | }; |
| 207 | |
| 208 | l6 { |
| 209 | regulator-min-microvolt = <1800000>; |
| 210 | regulator-max-microvolt = <1800000>; |
| 211 | |
| 212 | regulator-boot-on; |
| 213 | }; |
| 214 | |
| 215 | l7 { |
| 216 | regulator-min-microvolt = <1800000>; |
| 217 | regulator-max-microvolt = <1800000>; |
| 218 | |
| 219 | regulator-boot-on; |
| 220 | }; |
| 221 | |
| 222 | l8 { |
| 223 | regulator-min-microvolt = <1800000>; |
| 224 | regulator-max-microvolt = <1800000>; |
| 225 | }; |
| 226 | |
| 227 | l9 { |
| 228 | regulator-min-microvolt = <1800000>; |
| 229 | regulator-max-microvolt = <2950000>; |
| 230 | }; |
| 231 | |
| 232 | l10 { |
| 233 | regulator-min-microvolt = <1800000>; |
| 234 | regulator-max-microvolt = <1800000>; |
| 235 | regulator-always-on; |
| 236 | }; |
| 237 | |
| 238 | l11 { |
| 239 | regulator-min-microvolt = <1300000>; |
| 240 | regulator-max-microvolt = <1300000>; |
| 241 | }; |
| 242 | |
| 243 | l12 { |
| 244 | regulator-min-microvolt = <1800000>; |
| 245 | regulator-max-microvolt = <1800000>; |
| 246 | |
| 247 | regulator-always-on; |
| 248 | regulator-boot-on; |
| 249 | }; |
| 250 | |
| 251 | l13 { |
| 252 | regulator-min-microvolt = <1800000>; |
| 253 | regulator-max-microvolt = <2950000>; |
| 254 | |
| 255 | regulator-boot-on; |
| 256 | }; |
| 257 | |
| 258 | l14 { |
| 259 | regulator-min-microvolt = <1800000>; |
| 260 | regulator-max-microvolt = <1800000>; |
| 261 | }; |
| 262 | |
| 263 | l15 { |
| 264 | regulator-min-microvolt = <2050000>; |
| 265 | regulator-max-microvolt = <2050000>; |
| 266 | }; |
| 267 | |
| 268 | l16 { |
| 269 | regulator-min-microvolt = <2700000>; |
| 270 | regulator-max-microvolt = <2700000>; |
| 271 | }; |
| 272 | |
| 273 | l17 { |
| 274 | regulator-min-microvolt = <2700000>; |
| 275 | regulator-max-microvolt = <2700000>; |
| 276 | }; |
| 277 | |
| 278 | l18 { |
| 279 | regulator-min-microvolt = <2850000>; |
| 280 | regulator-max-microvolt = <2850000>; |
| 281 | }; |
| 282 | |
| 283 | l19 { |
| 284 | regulator-min-microvolt = <3300000>; |
| 285 | regulator-max-microvolt = <3300000>; |
| 286 | regulator-always-on; |
| 287 | }; |
| 288 | |
| 289 | l20 { |
| 290 | regulator-min-microvolt = <2950000>; |
| 291 | regulator-max-microvolt = <2950000>; |
| 292 | |
| 293 | regulator-allow-set-load; |
| 294 | regulator-boot-on; |
| 295 | regulator-system-load = <200000>; |
| 296 | }; |
| 297 | |
| 298 | l21 { |
| 299 | regulator-min-microvolt = <2950000>; |
| 300 | regulator-max-microvolt = <2950000>; |
| 301 | |
| 302 | regulator-boot-on; |
| 303 | }; |
| 304 | |
| 305 | l22 { |
| 306 | regulator-min-microvolt = <3000000>; |
| 307 | regulator-max-microvolt = <3000000>; |
| 308 | }; |
| 309 | |
| 310 | l23 { |
| 311 | regulator-min-microvolt = <3000000>; |
| 312 | regulator-max-microvolt = <3000000>; |
| 313 | }; |
| 314 | |
| 315 | l24 { |
| 316 | regulator-min-microvolt = <3075000>; |
| 317 | regulator-max-microvolt = <3075000>; |
| 318 | |
| 319 | regulator-boot-on; |
| 320 | }; |
| 321 | }; |
| 322 | }; |
| 323 | }; |
| 324 | }; |
Rohit Vaswani | 9857a75 | 2014-01-02 10:17:31 -0800 | [diff] [blame] | 325 | }; |