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