1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2023 Linaro Limited 3 * Copyright (c) 2023 Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/leds/common.h> << 9 #include <dt-bindings/regulator/qcom,rpmh-regu 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "sm8550.dtsi" 9 #include "sm8550.dtsi" 11 #include "pm8010.dtsi" 10 #include "pm8010.dtsi" 12 #include "pm8550.dtsi" 11 #include "pm8550.dtsi" 13 #include "pm8550b.dtsi" 12 #include "pm8550b.dtsi" 14 #define PMK8550VE_SID 5 << 15 #include "pm8550ve.dtsi" 13 #include "pm8550ve.dtsi" 16 #include "pm8550vs.dtsi" 14 #include "pm8550vs.dtsi" 17 #include "pmk8550.dtsi" 15 #include "pmk8550.dtsi" 18 #include "pmr735d_a.dtsi" !! 16 #include "pmr735d.dtsi" 19 #include "pmr735d_b.dtsi" << 20 17 21 / { 18 / { 22 model = "Qualcomm Technologies, Inc. S 19 model = "Qualcomm Technologies, Inc. SM8550 QRD"; 23 compatible = "qcom,sm8550-qrd", "qcom, 20 compatible = "qcom,sm8550-qrd", "qcom,sm8550"; 24 chassis-type = "handset"; << 25 21 26 aliases { 22 aliases { 27 serial0 = &uart7; 23 serial0 = &uart7; 28 serial1 = &uart14; << 29 }; << 30 << 31 wcd938x: audio-codec { << 32 compatible = "qcom,wcd9385-cod << 33 << 34 pinctrl-names = "default"; << 35 pinctrl-0 = <&wcd_default>; << 36 << 37 qcom,micbias1-microvolt = <180 << 38 qcom,micbias2-microvolt = <180 << 39 qcom,micbias3-microvolt = <180 << 40 qcom,micbias4-microvolt = <180 << 41 qcom,mbhc-buttons-vthreshold-m << 42 qcom,mbhc-headset-vthreshold-m << 43 qcom,mbhc-headphone-vthreshold << 44 qcom,rx-device = <&wcd_rx>; << 45 qcom,tx-device = <&wcd_tx>; << 46 << 47 reset-gpios = <&tlmm 108 GPIO_ << 48 << 49 vdd-buck-supply = <&vreg_l15b_ << 50 vdd-rxtx-supply = <&vreg_l15b_ << 51 vdd-io-supply = <&vreg_l15b_1p << 52 vdd-mic-bias-supply = <&vreg_b << 53 << 54 #sound-dai-cells = <1>; << 55 }; 24 }; 56 25 57 chosen { 26 chosen { 58 stdout-path = "serial0:115200n 27 stdout-path = "serial0:115200n8"; 59 }; 28 }; 60 29 61 gpio-keys { << 62 compatible = "gpio-keys"; << 63 << 64 pinctrl-0 = <&volume_up_n>; << 65 pinctrl-names = "default"; << 66 << 67 key-volume-up { << 68 label = "Volume Up"; << 69 linux,code = <KEY_VOLU << 70 gpios = <&pm8550_gpios << 71 debounce-interval = <1 << 72 linux,can-disable; << 73 wakeup-source; << 74 }; << 75 }; << 76 << 77 pmic-glink { << 78 compatible = "qcom,sm8550-pmic << 79 #address-cells = <1>; << 80 #size-cells = <0>; << 81 orientation-gpios = <&tlmm 11 << 82 << 83 connector@0 { << 84 compatible = "usb-c-co << 85 reg = <0>; << 86 power-role = "dual"; << 87 data-role = "dual"; << 88 << 89 ports { << 90 #address-cells << 91 #size-cells = << 92 << 93 port@0 { << 94 reg = << 95 << 96 pmic_g << 97 << 98 }; << 99 }; << 100 << 101 port@1 { << 102 reg = << 103 << 104 pmic_g << 105 << 106 }; << 107 }; << 108 << 109 port@2 { << 110 reg = << 111 << 112 pmic_g << 113 << 114 }; << 115 }; << 116 }; << 117 }; << 118 }; << 119 << 120 sound { << 121 compatible = "qcom,sm8550-sndc << 122 model = "SM8550-QRD"; << 123 audio-routing = "SpkrLeft IN", << 124 "SpkrRight IN" << 125 "IN1_HPHL", "H << 126 "IN2_HPHR", "H << 127 "AMIC1", "MIC << 128 "AMIC2", "MIC << 129 "AMIC3", "MIC << 130 "AMIC4", "MIC << 131 "AMIC5", "MIC << 132 "VA DMIC0", "M << 133 "VA DMIC1", "M << 134 "VA DMIC2", "M << 135 "TX DMIC0", "M << 136 "TX DMIC1", "M << 137 "TX DMIC2", "M << 138 "TX SWR_INPUT0 << 139 "TX SWR_INPUT1 << 140 "TX SWR_INPUT0 << 141 "TX SWR_INPUT1 << 142 << 143 wcd-playback-dai-link { << 144 link-name = "WCD Playb << 145 << 146 cpu { << 147 sound-dai = <& << 148 }; << 149 << 150 codec { << 151 sound-dai = <& << 152 }; << 153 << 154 platform { << 155 sound-dai = <& << 156 }; << 157 }; << 158 << 159 wcd-capture-dai-link { << 160 link-name = "WCD Captu << 161 << 162 cpu { << 163 sound-dai = <& << 164 }; << 165 << 166 codec { << 167 sound-dai = <& << 168 }; << 169 << 170 platform { << 171 sound-dai = <& << 172 }; << 173 }; << 174 << 175 wsa-dai-link { << 176 link-name = "WSA Playb << 177 << 178 cpu { << 179 sound-dai = <& << 180 }; << 181 << 182 codec { << 183 sound-dai = <& << 184 }; << 185 << 186 platform { << 187 sound-dai = <& << 188 }; << 189 }; << 190 << 191 va-dai-link { << 192 link-name = "VA Captur << 193 << 194 cpu { << 195 sound-dai = <& << 196 }; << 197 << 198 codec { << 199 sound-dai = <& << 200 }; << 201 << 202 platform { << 203 sound-dai = <& << 204 }; << 205 }; << 206 }; << 207 << 208 vph_pwr: vph-pwr-regulator { 30 vph_pwr: vph-pwr-regulator { 209 compatible = "regulator-fixed" 31 compatible = "regulator-fixed"; 210 regulator-name = "vph_pwr"; 32 regulator-name = "vph_pwr"; 211 regulator-min-microvolt = <370 33 regulator-min-microvolt = <3700000>; 212 regulator-max-microvolt = <370 34 regulator-max-microvolt = <3700000>; 213 35 214 regulator-always-on; 36 regulator-always-on; 215 regulator-boot-on; 37 regulator-boot-on; 216 }; 38 }; 217 << 218 wcn7850-pmu { << 219 compatible = "qcom,wcn7850-pmu << 220 << 221 pinctrl-names = "default"; << 222 pinctrl-0 = <&wlan_en>, <&bt_d << 223 << 224 wlan-enable-gpios = <&tlmm 80 << 225 bt-enable-gpios = <&tlmm 81 GP << 226 << 227 vdd-supply = <&vreg_s5g_0p85>; << 228 vddio-supply = <&vreg_l15b_1p8 << 229 vddaon-supply = <&vreg_s2g_0p8 << 230 vdddig-supply = <&vreg_s4e_0p9 << 231 vddrfa1p2-supply = <&vreg_s4g_ << 232 vddrfa1p8-supply = <&vreg_s6g_ << 233 << 234 regulators { << 235 vreg_pmu_rfa_cmn: ldo0 << 236 regulator-name << 237 }; << 238 << 239 vreg_pmu_aon_0p59: ldo << 240 regulator-name << 241 }; << 242 << 243 vreg_pmu_wlcx_0p8: ldo << 244 regulator-name << 245 }; << 246 << 247 vreg_pmu_wlmx_0p85: ld << 248 regulator-name << 249 }; << 250 << 251 vreg_pmu_btcmx_0p85: l << 252 regulator-name << 253 }; << 254 << 255 vreg_pmu_rfa_0p8: ldo5 << 256 regulator-name << 257 }; << 258 << 259 vreg_pmu_rfa_1p2: ldo6 << 260 regulator-name << 261 }; << 262 << 263 vreg_pmu_rfa_1p8: ldo7 << 264 regulator-name << 265 }; << 266 << 267 vreg_pmu_pcie_0p9: ldo << 268 regulator-name << 269 }; << 270 << 271 vreg_pmu_pcie_1p8: ldo << 272 regulator-name << 273 }; << 274 }; << 275 }; << 276 }; 39 }; 277 40 278 &apps_rsc { 41 &apps_rsc { 279 regulators-0 { 42 regulators-0 { 280 compatible = "qcom,pm8550-rpmh 43 compatible = "qcom,pm8550-rpmh-regulators"; 281 qcom,pmic-id = "b"; 44 qcom,pmic-id = "b"; 282 45 283 vdd-bob1-supply = <&vph_pwr>; 46 vdd-bob1-supply = <&vph_pwr>; 284 vdd-bob2-supply = <&vph_pwr>; 47 vdd-bob2-supply = <&vph_pwr>; 285 vdd-l1-l4-l10-supply = <&vreg_ 48 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>; 286 vdd-l2-l13-l14-supply = <&vreg 49 vdd-l2-l13-l14-supply = <&vreg_bob1>; 287 vdd-l3-supply = <&vreg_s4g_1p2 50 vdd-l3-supply = <&vreg_s4g_1p25>; 288 vdd-l5-l16-supply = <&vreg_bob 51 vdd-l5-l16-supply = <&vreg_bob1>; 289 vdd-l6-l7-supply = <&vreg_bob1 52 vdd-l6-l7-supply = <&vreg_bob1>; 290 vdd-l8-l9-supply = <&vreg_bob1 53 vdd-l8-l9-supply = <&vreg_bob1>; 291 vdd-l11-supply = <&vreg_s4g_1p 54 vdd-l11-supply = <&vreg_s4g_1p25>; 292 vdd-l12-supply = <&vreg_s6g_1p 55 vdd-l12-supply = <&vreg_s6g_1p86>; 293 vdd-l15-supply = <&vreg_s6g_1p 56 vdd-l15-supply = <&vreg_s6g_1p86>; 294 vdd-l17-supply = <&vreg_bob2>; 57 vdd-l17-supply = <&vreg_bob2>; 295 58 296 vreg_bob1: bob1 { 59 vreg_bob1: bob1 { 297 regulator-name = "vreg 60 regulator-name = "vreg_bob1"; 298 regulator-min-microvol 61 regulator-min-microvolt = <3296000>; 299 regulator-max-microvol 62 regulator-max-microvolt = <3960000>; 300 regulator-initial-mode 63 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 301 }; 64 }; 302 65 303 vreg_bob2: bob2 { 66 vreg_bob2: bob2 { 304 regulator-name = "vreg 67 regulator-name = "vreg_bob2"; 305 regulator-min-microvol 68 regulator-min-microvolt = <2720000>; 306 regulator-max-microvol 69 regulator-max-microvolt = <3960000>; 307 regulator-initial-mode 70 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 308 }; 71 }; 309 72 310 vreg_l1b_1p8: ldo1 { 73 vreg_l1b_1p8: ldo1 { 311 regulator-name = "vreg 74 regulator-name = "vreg_l1b_1p8"; 312 regulator-min-microvol 75 regulator-min-microvolt = <1800000>; 313 regulator-max-microvol 76 regulator-max-microvolt = <1800000>; 314 regulator-initial-mode 77 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315 }; 78 }; 316 79 317 vreg_l2b_3p0: ldo2 { 80 vreg_l2b_3p0: ldo2 { 318 regulator-name = "vreg 81 regulator-name = "vreg_l2b_3p0"; 319 regulator-min-microvol 82 regulator-min-microvolt = <3008000>; 320 regulator-max-microvol 83 regulator-max-microvolt = <3008000>; 321 regulator-initial-mode 84 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322 }; 85 }; 323 86 324 vreg_l5b_3p1: ldo5 { 87 vreg_l5b_3p1: ldo5 { 325 regulator-name = "vreg 88 regulator-name = "vreg_l5b_3p1"; 326 regulator-min-microvol 89 regulator-min-microvolt = <3104000>; 327 regulator-max-microvol 90 regulator-max-microvolt = <3104000>; 328 regulator-initial-mode 91 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 329 }; 92 }; 330 93 331 vreg_l6b_1p8: ldo6 { 94 vreg_l6b_1p8: ldo6 { 332 regulator-name = "vreg 95 regulator-name = "vreg_l6b_1p8"; 333 regulator-min-microvol 96 regulator-min-microvolt = <1800000>; 334 regulator-max-microvol 97 regulator-max-microvolt = <3008000>; 335 regulator-initial-mode 98 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336 }; 99 }; 337 100 338 vreg_l7b_1p8: ldo7 { 101 vreg_l7b_1p8: ldo7 { 339 regulator-name = "vreg 102 regulator-name = "vreg_l7b_1p8"; 340 regulator-min-microvol 103 regulator-min-microvolt = <1800000>; 341 regulator-max-microvol 104 regulator-max-microvolt = <3008000>; 342 regulator-initial-mode 105 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343 }; 106 }; 344 107 345 vreg_l8b_1p8: ldo8 { 108 vreg_l8b_1p8: ldo8 { 346 regulator-name = "vreg 109 regulator-name = "vreg_l8b_1p8"; 347 regulator-min-microvol 110 regulator-min-microvolt = <1800000>; 348 regulator-max-microvol 111 regulator-max-microvolt = <3008000>; 349 regulator-initial-mode 112 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 350 }; 113 }; 351 114 352 vreg_l9b_2p9: ldo9 { 115 vreg_l9b_2p9: ldo9 { 353 regulator-name = "vreg 116 regulator-name = "vreg_l9b_2p9"; 354 regulator-min-microvol 117 regulator-min-microvolt = <2960000>; 355 regulator-max-microvol 118 regulator-max-microvolt = <3008000>; 356 regulator-initial-mode 119 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 357 }; 120 }; 358 121 359 vreg_l11b_1p2: ldo11 { 122 vreg_l11b_1p2: ldo11 { 360 regulator-name = "vreg 123 regulator-name = "vreg_l11b_1p2"; 361 regulator-min-microvol 124 regulator-min-microvolt = <1200000>; 362 regulator-max-microvol 125 regulator-max-microvolt = <1504000>; 363 regulator-initial-mode 126 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 364 }; 127 }; 365 128 366 vreg_l12b_1p8: ldo12 { 129 vreg_l12b_1p8: ldo12 { 367 regulator-name = "vreg 130 regulator-name = "vreg_l12b_1p8"; 368 regulator-min-microvol 131 regulator-min-microvolt = <1800000>; 369 regulator-max-microvol 132 regulator-max-microvolt = <1800000>; 370 regulator-initial-mode 133 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 371 }; 134 }; 372 135 373 vreg_l13b_3p0: ldo13 { 136 vreg_l13b_3p0: ldo13 { 374 regulator-name = "vreg 137 regulator-name = "vreg_l13b_3p0"; 375 regulator-min-microvol 138 regulator-min-microvolt = <3000000>; 376 regulator-max-microvol 139 regulator-max-microvolt = <3000000>; 377 regulator-initial-mode 140 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 378 }; 141 }; 379 142 380 vreg_l14b_3p2: ldo14 { 143 vreg_l14b_3p2: ldo14 { 381 regulator-name = "vreg 144 regulator-name = "vreg_l14b_3p2"; 382 regulator-min-microvol 145 regulator-min-microvolt = <3200000>; 383 regulator-max-microvol 146 regulator-max-microvolt = <3200000>; 384 regulator-initial-mode 147 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 385 }; 148 }; 386 149 387 vreg_l15b_1p8: ldo15 { 150 vreg_l15b_1p8: ldo15 { 388 regulator-name = "vreg 151 regulator-name = "vreg_l15b_1p8"; 389 regulator-min-microvol 152 regulator-min-microvolt = <1800000>; 390 regulator-max-microvol 153 regulator-max-microvolt = <1800000>; 391 regulator-initial-mode 154 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 392 }; 155 }; 393 156 394 vreg_l16b_2p8: ldo16 { 157 vreg_l16b_2p8: ldo16 { 395 regulator-name = "vreg 158 regulator-name = "vreg_l16b_2p8"; 396 regulator-min-microvol 159 regulator-min-microvolt = <2800000>; 397 regulator-max-microvol 160 regulator-max-microvolt = <2800000>; 398 regulator-initial-mode 161 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 399 }; 162 }; 400 163 401 vreg_l17b_2p5: ldo17 { 164 vreg_l17b_2p5: ldo17 { 402 regulator-name = "vreg 165 regulator-name = "vreg_l17b_2p5"; 403 regulator-min-microvol 166 regulator-min-microvolt = <2504000>; 404 regulator-max-microvol 167 regulator-max-microvolt = <2504000>; 405 regulator-initial-mode 168 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 406 }; 169 }; 407 }; 170 }; 408 171 409 regulators-1 { 172 regulators-1 { 410 compatible = "qcom,pm8550vs-rp 173 compatible = "qcom,pm8550vs-rpmh-regulators"; 411 qcom,pmic-id = "c"; 174 qcom,pmic-id = "c"; 412 175 413 vdd-l1-supply = <&vreg_s4g_1p2 176 vdd-l1-supply = <&vreg_s4g_1p25>; 414 vdd-l2-supply = <&vreg_s4e_0p9 177 vdd-l2-supply = <&vreg_s4e_0p95>; 415 vdd-l3-supply = <&vreg_s4e_0p9 178 vdd-l3-supply = <&vreg_s4e_0p95>; 416 179 417 vreg_l3c_0p9: ldo3 { 180 vreg_l3c_0p9: ldo3 { 418 regulator-name = "vreg 181 regulator-name = "vreg_l3c_0p9"; 419 regulator-min-microvol 182 regulator-min-microvolt = <880000>; 420 regulator-max-microvol 183 regulator-max-microvolt = <912000>; 421 regulator-initial-mode 184 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 422 }; 185 }; 423 }; 186 }; 424 187 425 regulators-2 { 188 regulators-2 { 426 compatible = "qcom,pm8550vs-rp 189 compatible = "qcom,pm8550vs-rpmh-regulators"; 427 qcom,pmic-id = "d"; 190 qcom,pmic-id = "d"; 428 191 429 vdd-l1-supply = <&vreg_s4e_0p9 192 vdd-l1-supply = <&vreg_s4e_0p95>; 430 vdd-l2-supply = <&vreg_s4e_0p9 193 vdd-l2-supply = <&vreg_s4e_0p95>; 431 vdd-l3-supply = <&vreg_s4e_0p9 194 vdd-l3-supply = <&vreg_s4e_0p95>; 432 195 433 vreg_l1d_0p88: ldo1 { 196 vreg_l1d_0p88: ldo1 { 434 regulator-name = "vreg 197 regulator-name = "vreg_l1d_0p88"; 435 regulator-min-microvol 198 regulator-min-microvolt = <880000>; 436 regulator-max-microvol 199 regulator-max-microvolt = <920000>; 437 regulator-initial-mode 200 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 438 }; 201 }; 439 202 440 /* ldo2 supplies SM8550 VDD_LP 203 /* ldo2 supplies SM8550 VDD_LPI_MX */ 441 }; 204 }; 442 205 443 regulators-3 { 206 regulators-3 { 444 compatible = "qcom,pm8550vs-rp 207 compatible = "qcom,pm8550vs-rpmh-regulators"; 445 qcom,pmic-id = "e"; 208 qcom,pmic-id = "e"; 446 209 447 vdd-l1-supply = <&vreg_s4e_0p9 210 vdd-l1-supply = <&vreg_s4e_0p95>; 448 vdd-l2-supply = <&vreg_s4e_0p9 211 vdd-l2-supply = <&vreg_s4e_0p95>; 449 vdd-l3-supply = <&vreg_s4g_1p2 212 vdd-l3-supply = <&vreg_s4g_1p25>; 450 vdd-s4-supply = <&vph_pwr>; 213 vdd-s4-supply = <&vph_pwr>; 451 vdd-s5-supply = <&vph_pwr>; 214 vdd-s5-supply = <&vph_pwr>; 452 215 453 vreg_s4e_0p95: smps4 { 216 vreg_s4e_0p95: smps4 { 454 regulator-name = "vreg 217 regulator-name = "vreg_s4e_0p95"; 455 regulator-min-microvol 218 regulator-min-microvolt = <904000>; 456 regulator-max-microvol 219 regulator-max-microvolt = <984000>; 457 regulator-initial-mode 220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458 }; 221 }; 459 222 460 vreg_s5e_1p08: smps5 { 223 vreg_s5e_1p08: smps5 { 461 regulator-name = "vreg 224 regulator-name = "vreg_s5e_1p08"; 462 regulator-min-microvol 225 regulator-min-microvolt = <1080000>; 463 regulator-max-microvol 226 regulator-max-microvolt = <1120000>; 464 regulator-initial-mode 227 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 465 }; 228 }; 466 229 467 vreg_l1e_0p88: ldo1 { 230 vreg_l1e_0p88: ldo1 { 468 regulator-name = "vreg 231 regulator-name = "vreg_l1e_0p88"; 469 regulator-min-microvol 232 regulator-min-microvolt = <880000>; 470 regulator-max-microvol 233 regulator-max-microvolt = <880000>; 471 regulator-initial-mode 234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 472 }; 235 }; 473 236 474 vreg_l2e_0p9: ldo2 { 237 vreg_l2e_0p9: ldo2 { 475 regulator-name = "vreg 238 regulator-name = "vreg_l2e_0p9"; 476 regulator-min-microvol 239 regulator-min-microvolt = <904000>; 477 regulator-max-microvol 240 regulator-max-microvolt = <970000>; 478 regulator-initial-mode 241 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 479 }; 242 }; 480 243 481 vreg_l3e_1p2: ldo3 { 244 vreg_l3e_1p2: ldo3 { 482 regulator-name = "vreg 245 regulator-name = "vreg_l3e_1p2"; 483 regulator-min-microvol 246 regulator-min-microvolt = <1200000>; 484 regulator-max-microvol 247 regulator-max-microvolt = <1200000>; 485 regulator-initial-mode 248 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 486 }; 249 }; 487 }; 250 }; 488 251 489 regulators-4 { 252 regulators-4 { 490 compatible = "qcom,pm8550ve-rp 253 compatible = "qcom,pm8550ve-rpmh-regulators"; 491 qcom,pmic-id = "f"; 254 qcom,pmic-id = "f"; 492 255 493 vdd-l1-supply = <&vreg_s4e_0p9 256 vdd-l1-supply = <&vreg_s4e_0p95>; 494 vdd-l2-supply = <&vreg_s4e_0p9 257 vdd-l2-supply = <&vreg_s4e_0p95>; 495 vdd-l3-supply = <&vreg_s4e_0p9 258 vdd-l3-supply = <&vreg_s4e_0p95>; 496 vdd-s4-supply = <&vph_pwr>; 259 vdd-s4-supply = <&vph_pwr>; 497 260 498 vreg_s4f_0p5: smps4 { 261 vreg_s4f_0p5: smps4 { 499 regulator-name = "vreg 262 regulator-name = "vreg_s4f_0p5"; 500 regulator-min-microvol 263 regulator-min-microvolt = <500000>; 501 regulator-max-microvol 264 regulator-max-microvolt = <700000>; 502 regulator-initial-mode 265 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 503 }; 266 }; 504 267 505 vreg_l1f_0p9: ldo1 { 268 vreg_l1f_0p9: ldo1 { 506 regulator-name = "vreg 269 regulator-name = "vreg_l1f_0p9"; 507 regulator-min-microvol 270 regulator-min-microvolt = <912000>; 508 regulator-max-microvol 271 regulator-max-microvolt = <912000>; 509 regulator-initial-mode 272 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 510 }; 273 }; 511 274 512 vreg_l2f_0p88: ldo2 { 275 vreg_l2f_0p88: ldo2 { 513 regulator-name = "vreg 276 regulator-name = "vreg_l2f_0p88"; 514 regulator-min-microvol 277 regulator-min-microvolt = <880000>; 515 regulator-max-microvol 278 regulator-max-microvolt = <912000>; 516 regulator-initial-mode 279 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 517 }; 280 }; 518 281 519 vreg_l3f_0p88: ldo3 { 282 vreg_l3f_0p88: ldo3 { 520 regulator-name = "vreg 283 regulator-name = "vreg_l3f_0p88"; 521 regulator-min-microvol 284 regulator-min-microvolt = <880000>; 522 regulator-max-microvol 285 regulator-max-microvolt = <912000>; 523 regulator-initial-mode 286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 524 }; 287 }; 525 }; 288 }; 526 289 527 regulators-5 { 290 regulators-5 { 528 compatible = "qcom,pm8550vs-rp 291 compatible = "qcom,pm8550vs-rpmh-regulators"; 529 qcom,pmic-id = "g"; 292 qcom,pmic-id = "g"; 530 293 531 vdd-l1-supply = <&vreg_s4g_1p2 294 vdd-l1-supply = <&vreg_s4g_1p25>; 532 vdd-l2-supply = <&vreg_s4g_1p2 295 vdd-l2-supply = <&vreg_s4g_1p25>; 533 vdd-l3-supply = <&vreg_s4g_1p2 296 vdd-l3-supply = <&vreg_s4g_1p25>; 534 vdd-s1-supply = <&vph_pwr>; 297 vdd-s1-supply = <&vph_pwr>; 535 vdd-s2-supply = <&vph_pwr>; 298 vdd-s2-supply = <&vph_pwr>; 536 vdd-s3-supply = <&vph_pwr>; 299 vdd-s3-supply = <&vph_pwr>; 537 vdd-s4-supply = <&vph_pwr>; 300 vdd-s4-supply = <&vph_pwr>; 538 vdd-s5-supply = <&vph_pwr>; 301 vdd-s5-supply = <&vph_pwr>; 539 vdd-s6-supply = <&vph_pwr>; 302 vdd-s6-supply = <&vph_pwr>; 540 303 541 vreg_s1g_1p25: smps1 { 304 vreg_s1g_1p25: smps1 { 542 regulator-name = "vreg 305 regulator-name = "vreg_s1g_1p25"; 543 regulator-min-microvol 306 regulator-min-microvolt = <1200000>; 544 regulator-max-microvol 307 regulator-max-microvolt = <1300000>; 545 regulator-initial-mode 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 546 }; 309 }; 547 310 548 vreg_s2g_0p85: smps2 { 311 vreg_s2g_0p85: smps2 { 549 regulator-name = "vreg 312 regulator-name = "vreg_s2g_0p85"; 550 regulator-min-microvol 313 regulator-min-microvolt = <800000>; 551 regulator-max-microvol 314 regulator-max-microvolt = <1000000>; 552 regulator-initial-mode 315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 553 }; 316 }; 554 317 555 vreg_s3g_0p8: smps3 { 318 vreg_s3g_0p8: smps3 { 556 regulator-name = "vreg 319 regulator-name = "vreg_s3g_0p8"; 557 regulator-min-microvol 320 regulator-min-microvolt = <300000>; 558 regulator-max-microvol 321 regulator-max-microvolt = <1004000>; 559 regulator-initial-mode 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 560 }; 323 }; 561 324 562 vreg_s4g_1p25: smps4 { 325 vreg_s4g_1p25: smps4 { 563 regulator-name = "vreg 326 regulator-name = "vreg_s4g_1p25"; 564 regulator-min-microvol 327 regulator-min-microvolt = <1200000>; 565 regulator-max-microvol 328 regulator-max-microvolt = <1352000>; 566 regulator-initial-mode 329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 567 }; 330 }; 568 331 569 vreg_s5g_0p85: smps5 { 332 vreg_s5g_0p85: smps5 { 570 regulator-name = "vreg 333 regulator-name = "vreg_s5g_0p85"; 571 regulator-min-microvol 334 regulator-min-microvolt = <500000>; 572 regulator-max-microvol 335 regulator-max-microvolt = <1004000>; 573 regulator-initial-mode 336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 574 }; 337 }; 575 338 576 vreg_s6g_1p86: smps6 { 339 vreg_s6g_1p86: smps6 { 577 regulator-name = "vreg 340 regulator-name = "vreg_s6g_1p86"; 578 regulator-min-microvol 341 regulator-min-microvolt = <1800000>; 579 regulator-max-microvol 342 regulator-max-microvolt = <2000000>; 580 regulator-initial-mode 343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 581 }; 344 }; 582 345 583 vreg_l1g_1p2: ldo1 { 346 vreg_l1g_1p2: ldo1 { 584 regulator-name = "vreg 347 regulator-name = "vreg_l1g_1p2"; 585 regulator-min-microvol 348 regulator-min-microvolt = <1200000>; 586 regulator-max-microvol 349 regulator-max-microvolt = <1200000>; 587 regulator-initial-mode 350 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 588 }; 351 }; 589 352 590 vreg_l3g_1p2: ldo3 { 353 vreg_l3g_1p2: ldo3 { 591 regulator-name = "vreg 354 regulator-name = "vreg_l3g_1p2"; 592 regulator-min-microvol 355 regulator-min-microvolt = <1200000>; 593 regulator-max-microvol 356 regulator-max-microvolt = <1200000>; 594 regulator-initial-mode 357 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 595 }; 358 }; 596 }; 359 }; 597 << 598 regulators-6 { << 599 compatible = "qcom,pm8010-rpmh << 600 qcom,pmic-id = "m"; << 601 << 602 vdd-l1-l2-supply = <&vreg_s4g_ << 603 vdd-l3-l4-supply = <&vreg_bob2 << 604 vdd-l5-supply = <&vreg_s6g_1p8 << 605 vdd-l6-supply = <&vreg_s6g_1p8 << 606 vdd-l7-supply = <&vreg_bob1>; << 607 << 608 vreg_l1m_1p056: ldo1 { << 609 regulator-name = "vreg << 610 regulator-min-microvol << 611 regulator-max-microvol << 612 regulator-initial-mode << 613 }; << 614 << 615 vreg_l2m_1p056: ldo2 { << 616 regulator-name = "vreg << 617 regulator-min-microvol << 618 regulator-max-microvol << 619 regulator-initial-mode << 620 }; << 621 << 622 vreg_l3m_2p8: ldo3 { << 623 regulator-name = "vreg << 624 regulator-min-microvol << 625 regulator-max-microvol << 626 regulator-initial-mode << 627 }; << 628 << 629 vreg_l4m_2p8: ldo4 { << 630 regulator-name = "vreg << 631 regulator-min-microvol << 632 regulator-max-microvol << 633 regulator-initial-mode << 634 }; << 635 << 636 vreg_l5m_1p8: ldo5 { << 637 regulator-name = "vreg << 638 regulator-min-microvol << 639 regulator-max-microvol << 640 regulator-initial-mode << 641 }; << 642 << 643 vreg_l6m_1p8: ldo6 { << 644 regulator-name = "vreg << 645 regulator-min-microvol << 646 regulator-max-microvol << 647 regulator-initial-mode << 648 }; << 649 << 650 vreg_l7m_2p9: ldo7 { << 651 regulator-name = "vreg << 652 regulator-min-microvol << 653 regulator-max-microvol << 654 regulator-initial-mode << 655 }; << 656 }; << 657 << 658 regulators-7 { << 659 compatible = "qcom,pm8010-rpmh << 660 qcom,pmic-id = "n"; << 661 << 662 vdd-l1-l2-supply = <&vreg_s4g_ << 663 vdd-l3-l4-supply = <&vreg_bob2 << 664 vdd-l5-supply = <&vreg_s6g_1p8 << 665 vdd-l6-supply = <&vreg_bob1>; << 666 vdd-l7-supply = <&vreg_bob1>; << 667 << 668 vreg_l1n_1p1: ldo1 { << 669 regulator-name = "vreg << 670 regulator-min-microvol << 671 regulator-max-microvol << 672 regulator-initial-mode << 673 }; << 674 << 675 vreg_l2n_1p1: ldo2 { << 676 regulator-name = "vreg << 677 regulator-min-microvol << 678 regulator-max-microvol << 679 regulator-initial-mode << 680 }; << 681 << 682 vreg_l3n_2p8: ldo3 { << 683 regulator-name = "vreg << 684 regulator-min-microvol << 685 regulator-max-microvol << 686 regulator-initial-mode << 687 }; << 688 << 689 vreg_l4n_2p8: ldo4 { << 690 regulator-name = "vreg << 691 regulator-min-microvol << 692 regulator-max-microvol << 693 regulator-initial-mode << 694 }; << 695 << 696 vreg_l5n_1p8: ldo5 { << 697 regulator-name = "vreg << 698 regulator-min-microvol << 699 regulator-max-microvol << 700 regulator-initial-mode << 701 }; << 702 << 703 vreg_l6n_3p3: ldo6 { << 704 regulator-name = "vreg << 705 regulator-min-microvol << 706 regulator-max-microvol << 707 regulator-initial-mode << 708 }; << 709 << 710 vreg_l7n_2p96: ldo7 { << 711 regulator-name = "vreg << 712 regulator-min-microvol << 713 regulator-max-microvol << 714 regulator-initial-mode << 715 }; << 716 }; << 717 }; << 718 << 719 &i2c_master_hub_0 { << 720 status = "okay"; << 721 }; << 722 << 723 &i2c_hub_2 { << 724 status = "okay"; << 725 << 726 typec-retimer@1c { << 727 compatible = "onnn,nb7vpq904m" << 728 reg = <0x1c>; << 729 << 730 vcc-supply = <&vreg_l15b_1p8>; << 731 << 732 retimer-switch; << 733 orientation-switch; << 734 << 735 ports { << 736 #address-cells = <1>; << 737 #size-cells = <0>; << 738 << 739 port@0 { << 740 reg = <0>; << 741 << 742 redriver_ss_ou << 743 remote << 744 }; << 745 }; << 746 << 747 port@1 { << 748 reg = <1>; << 749 << 750 redriver_ss_in << 751 data-l << 752 remote << 753 }; << 754 }; << 755 }; << 756 }; << 757 << 758 typec-mux@42 { << 759 compatible = "fcs,fsa4480"; << 760 reg = <0x42>; << 761 << 762 vcc-supply = <&vreg_bob1>; << 763 << 764 mode-switch; << 765 orientation-switch; << 766 << 767 port { << 768 fsa4480_sbu_mux: endpo << 769 remote-endpoin << 770 }; << 771 }; << 772 }; << 773 }; << 774 << 775 &ipa { << 776 qcom,gsi-loader = "self"; << 777 memory-region = <&ipa_fw_mem>; << 778 firmware-name = "qcom/sm8550/ipa_fws.m << 779 status = "okay"; << 780 }; << 781 << 782 &gpi_dma1 { << 783 status = "okay"; << 784 }; << 785 << 786 &gpu { << 787 status = "okay"; << 788 << 789 zap-shader { << 790 firmware-name = "qcom/sm8550/a << 791 }; << 792 }; << 793 << 794 &lpass_tlmm { << 795 spkr_1_sd_n_active: spkr-1-sd-n-active << 796 pins = "gpio17"; << 797 function = "gpio"; << 798 drive-strength = <16>; << 799 bias-disable; << 800 output-low; << 801 }; << 802 << 803 spkr_2_sd_n_active: spkr-2-sd-n-active << 804 pins = "gpio18"; << 805 function = "gpio"; << 806 drive-strength = <16>; << 807 bias-disable; << 808 output-low; << 809 }; << 810 }; << 811 << 812 &mdss { << 813 status = "okay"; << 814 }; << 815 << 816 &mdss_dsi0 { << 817 vdda-supply = <&vreg_l3e_1p2>; << 818 status = "okay"; << 819 << 820 panel@0 { << 821 compatible = "visionox,vtdr613 << 822 reg = <0>; << 823 << 824 pinctrl-0 = <&sde_dsi_active>, << 825 pinctrl-1 = <&sde_dsi_suspend> << 826 pinctrl-names = "default", "sl << 827 << 828 vci-supply = <&vreg_l13b_3p0>; << 829 vdd-supply = <&vreg_l11b_1p2>; << 830 vddio-supply = <&vreg_l12b_1p8 << 831 << 832 reset-gpios = <&tlmm 133 GPIO_ << 833 << 834 port { << 835 panel0_in: endpoint { << 836 remote-endpoin << 837 }; << 838 }; << 839 }; << 840 }; << 841 << 842 &mdss_dsi0_out { << 843 remote-endpoint = <&panel0_in>; << 844 data-lanes = <0 1 2 3>; << 845 }; << 846 << 847 &mdss_dsi0_phy { << 848 vdds-supply = <&vreg_l1e_0p88>; << 849 status = "okay"; << 850 }; << 851 << 852 &mdss_dp0 { << 853 status = "okay"; << 854 }; << 855 << 856 &mdss_dp0_out { << 857 data-lanes = <0 1>; << 858 }; << 859 << 860 &pcie0 { << 861 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIG << 862 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LO << 863 << 864 pinctrl-0 = <&pcie0_default_state>; << 865 pinctrl-names = "default"; << 866 << 867 status = "okay"; << 868 }; << 869 << 870 &pcieport0 { << 871 wifi@0 { << 872 compatible = "pci17cb,1107"; << 873 reg = <0x10000 0x0 0x0 0x0 0x0 << 874 << 875 vddrfacmn-supply = <&vreg_pmu_ << 876 vddaon-supply = <&vreg_pmu_aon << 877 vddwlcx-supply = <&vreg_pmu_wl << 878 vddwlmx-supply = <&vreg_pmu_wl << 879 vddrfa0p8-supply = <&vreg_pmu_ << 880 vddrfa1p2-supply = <&vreg_pmu_ << 881 vddrfa1p8-supply = <&vreg_pmu_ << 882 vddpcie0p9-supply = <&vreg_pmu << 883 vddpcie1p8-supply = <&vreg_pmu << 884 }; << 885 }; << 886 << 887 &pcie0_phy { << 888 vdda-phy-supply = <&vreg_l1e_0p88>; << 889 vdda-pll-supply = <&vreg_l3e_1p2>; << 890 << 891 status = "okay"; << 892 }; << 893 << 894 &pm8550_flash { << 895 status = "okay"; << 896 << 897 led-0 { << 898 function = LED_FUNCTION_FLASH; << 899 color = <LED_COLOR_ID_YELLOW>; << 900 led-sources = <1>, <4>; << 901 led-max-microamp = <500000>; << 902 flash-max-microamp = <2000000> << 903 flash-max-timeout-us = <128000 << 904 function-enumerator = <0>; << 905 }; << 906 << 907 led-1 { << 908 function = LED_FUNCTION_FLASH; << 909 color = <LED_COLOR_ID_WHITE>; << 910 led-sources = <2>, <3>; << 911 led-max-microamp = <500000>; << 912 flash-max-microamp = <2000000> << 913 flash-max-timeout-us = <128000 << 914 function-enumerator = <1>; << 915 }; << 916 }; << 917 << 918 &pm8550_gpios { << 919 volume_up_n: volume-up-n-state { << 920 pins = "gpio6"; << 921 function = "normal"; << 922 power-source = <1>; << 923 bias-pull-up; << 924 input-enable; << 925 }; << 926 }; << 927 << 928 &pm8550_pwm { << 929 status = "okay"; << 930 << 931 multi-led { << 932 color = <LED_COLOR_ID_RGB>; << 933 function = LED_FUNCTION_STATUS << 934 << 935 #address-cells = <1>; << 936 #size-cells = <0>; << 937 << 938 led@1 { << 939 reg = <1>; << 940 color = <LED_COLOR_ID_ << 941 }; << 942 << 943 led@2 { << 944 reg = <2>; << 945 color = <LED_COLOR_ID_ << 946 }; << 947 << 948 led@3 { << 949 reg = <3>; << 950 color = <LED_COLOR_ID_ << 951 }; << 952 }; << 953 }; << 954 << 955 &pm8550b_eusb2_repeater { << 956 vdd18-supply = <&vreg_l15b_1p8>; << 957 vdd3-supply = <&vreg_l5b_3p1>; << 958 }; << 959 << 960 &pon_pwrkey { << 961 status = "okay"; << 962 }; << 963 << 964 &pon_resin { << 965 linux,code = <KEY_VOLUMEDOWN>; << 966 << 967 status = "okay"; << 968 }; << 969 << 970 &pmk8550_gpios { << 971 pmk8550_sleep_clk: sleep-clk-state { << 972 pins = "gpio3"; << 973 function = "func1"; << 974 input-disable; << 975 output-enable; << 976 bias-disable; << 977 power-source = <0>; << 978 }; << 979 }; 360 }; 980 361 981 &qupv3_id_0 { 362 &qupv3_id_0 { 982 status = "okay"; 363 status = "okay"; 983 }; 364 }; 984 365 985 &qupv3_id_1 { << 986 status = "okay"; << 987 }; << 988 << 989 &remoteproc_adsp { 366 &remoteproc_adsp { 990 firmware-name = "qcom/sm8550/adsp.mbn" 367 firmware-name = "qcom/sm8550/adsp.mbn", 991 "qcom/sm8550/adsp_dtb. 368 "qcom/sm8550/adsp_dtb.mbn"; 992 status = "okay"; 369 status = "okay"; 993 }; 370 }; 994 371 995 &remoteproc_cdsp { 372 &remoteproc_cdsp { 996 firmware-name = "qcom/sm8550/cdsp.mbn" 373 firmware-name = "qcom/sm8550/cdsp.mbn", 997 "qcom/sm8550/cdsp_dtb. 374 "qcom/sm8550/cdsp_dtb.mbn"; 998 status = "okay"; 375 status = "okay"; 999 }; 376 }; 1000 377 1001 &remoteproc_mpss { 378 &remoteproc_mpss { 1002 firmware-name = "qcom/sm8550/modem.mb 379 firmware-name = "qcom/sm8550/modem.mbn", 1003 "qcom/sm8550/modem_dt 380 "qcom/sm8550/modem_dtb.mbn"; 1004 status = "okay"; 381 status = "okay"; 1005 }; 382 }; 1006 383 1007 &sleep_clk { 384 &sleep_clk { 1008 clock-frequency = <32000>; 385 clock-frequency = <32000>; 1009 }; 386 }; 1010 387 1011 &swr0 { << 1012 status = "okay"; << 1013 << 1014 /* WSA8845, Speaker North */ << 1015 north_spkr: speaker@0,0 { << 1016 compatible = "sdw20217020400" << 1017 reg = <0 0>; << 1018 pinctrl-names = "default"; << 1019 pinctrl-0 = <&spkr_1_sd_n_act << 1020 powerdown-gpios = <&lpass_tlm << 1021 #sound-dai-cells = <0>; << 1022 sound-name-prefix = "SpkrLeft << 1023 vdd-1p8-supply = <&vreg_l15b_ << 1024 vdd-io-supply = <&vreg_l3g_1p << 1025 qcom,port-mapping = <1 2 3 7 << 1026 }; << 1027 << 1028 /* WSA8845, Speaker South */ << 1029 south_spkr: speaker@0,1 { << 1030 compatible = "sdw20217020400" << 1031 reg = <0 1>; << 1032 pinctrl-names = "default"; << 1033 pinctrl-0 = <&spkr_2_sd_n_act << 1034 powerdown-gpios = <&lpass_tlm << 1035 #sound-dai-cells = <0>; << 1036 sound-name-prefix = "SpkrRigh << 1037 vdd-1p8-supply = <&vreg_l15b_ << 1038 vdd-io-supply = <&vreg_l3g_1p << 1039 qcom,port-mapping = <4 5 6 7 << 1040 }; << 1041 }; << 1042 << 1043 &spi4 { << 1044 status = "okay"; << 1045 << 1046 touchscreen@0 { << 1047 compatible = "goodix,gt9916"; << 1048 reg = <0>; << 1049 << 1050 interrupt-parent = <&tlmm>; << 1051 interrupts = <25 IRQ_TYPE_LEV << 1052 << 1053 reset-gpios = <&tlmm 24 GPIO_ << 1054 << 1055 avdd-supply = <&vreg_l14b_3p2 << 1056 << 1057 spi-max-frequency = <1000000> << 1058 << 1059 touchscreen-size-x = <1080>; << 1060 touchscreen-size-y = <2400>; << 1061 << 1062 pinctrl-names = "default"; << 1063 pinctrl-0 = <&ts_irq>, <&ts_r << 1064 }; << 1065 }; << 1066 << 1067 &swr1 { << 1068 status = "okay"; << 1069 << 1070 /* WCD9385 RX */ << 1071 wcd_rx: codec@0,4 { << 1072 compatible = "sdw20217010d00" << 1073 reg = <0 4>; << 1074 qcom,rx-port-mapping = <1 2 3 << 1075 }; << 1076 }; << 1077 << 1078 &swr2 { << 1079 status = "okay"; << 1080 << 1081 /* WCD9385 TX */ << 1082 wcd_tx: codec@0,3 { << 1083 compatible = "sdw20217010d00" << 1084 reg = <0 3>; << 1085 qcom,tx-port-mapping = <2 2 3 << 1086 }; << 1087 }; << 1088 << 1089 &tlmm { 388 &tlmm { 1090 gpio-reserved-ranges = <32 8>; 389 gpio-reserved-ranges = <32 8>; 1091 << 1092 bt_default: bt-default-state { << 1093 bt-en-pins { << 1094 pins = "gpio81"; << 1095 function = "gpio"; << 1096 drive-strength = <16> << 1097 bias-disable; << 1098 }; << 1099 << 1100 sw-ctrl-pins { << 1101 pins = "gpio82"; << 1102 function = "gpio"; << 1103 bias-pull-down; << 1104 }; << 1105 }; << 1106 << 1107 sde_dsi_active: sde-dsi-active-state << 1108 pins = "gpio133"; << 1109 function = "gpio"; << 1110 drive-strength = <8>; << 1111 bias-disable; << 1112 }; << 1113 << 1114 sde_dsi_suspend: sde-dsi-suspend-stat << 1115 pins = "gpio133"; << 1116 function = "gpio"; << 1117 drive-strength = <2>; << 1118 bias-pull-down; << 1119 }; << 1120 << 1121 sde_te_active: sde-te-active-state { << 1122 pins = "gpio86"; << 1123 function = "mdp_vsync"; << 1124 drive-strength = <2>; << 1125 bias-pull-down; << 1126 }; << 1127 << 1128 sde_te_suspend: sde-te-suspend-state << 1129 pins = "gpio86"; << 1130 function = "mdp_vsync"; << 1131 drive-strength = <2>; << 1132 bias-pull-down; << 1133 }; << 1134 << 1135 ts_irq: ts-irq-state { << 1136 pins = "gpio25"; << 1137 function = "gpio"; << 1138 drive-strength = <8>; << 1139 bias-pull-up; << 1140 }; << 1141 << 1142 ts_reset: ts-reset-state { << 1143 pins = "gpio24"; << 1144 function = "gpio"; << 1145 drive-strength = <8>; << 1146 bias-pull-up; << 1147 }; << 1148 << 1149 wcd_default: wcd-reset-n-active-state << 1150 pins = "gpio108"; << 1151 function = "gpio"; << 1152 drive-strength = <16>; << 1153 bias-disable; << 1154 output-low; << 1155 }; << 1156 << 1157 wlan_en: wlan-en-state { << 1158 pins = "gpio80"; << 1159 function = "gpio"; << 1160 drive-strength = <8>; << 1161 bias-pull-down; << 1162 }; << 1163 }; 390 }; 1164 391 1165 &uart7 { 392 &uart7 { 1166 status = "okay"; 393 status = "okay"; 1167 }; 394 }; 1168 395 1169 &uart14 { << 1170 status = "okay"; << 1171 << 1172 bluetooth { << 1173 compatible = "qcom,wcn7850-bt << 1174 << 1175 vddrfacmn-supply = <&vreg_pmu << 1176 vddaon-supply = <&vreg_pmu_ao << 1177 vddwlcx-supply = <&vreg_pmu_w << 1178 vddwlmx-supply = <&vreg_pmu_w << 1179 vddrfa0p8-supply = <&vreg_pmu << 1180 vddrfa1p2-supply = <&vreg_pmu << 1181 vddrfa1p8-supply = <&vreg_pmu << 1182 << 1183 max-speed = <3200000>; << 1184 }; << 1185 }; << 1186 << 1187 &ufs_mem_hc { 396 &ufs_mem_hc { 1188 reset-gpios = <&tlmm 210 GPIO_ACTIVE_ 397 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 1189 vcc-supply = <&vreg_l17b_2p5>; 398 vcc-supply = <&vreg_l17b_2p5>; 1190 vcc-max-microamp = <1300000>; 399 vcc-max-microamp = <1300000>; 1191 vccq-supply = <&vreg_l1g_1p2>; 400 vccq-supply = <&vreg_l1g_1p2>; 1192 vccq-max-microamp = <1200000>; 401 vccq-max-microamp = <1200000>; 1193 vdd-hba-supply = <&vreg_l3g_1p2>; !! 402 vccq2-supply = <&vreg_l3g_1p2>; >> 403 vccq2-max-microamp = <100>; 1194 404 1195 status = "okay"; 405 status = "okay"; 1196 }; 406 }; 1197 407 1198 &ufs_mem_phy { 408 &ufs_mem_phy { 1199 vdda-phy-supply = <&vreg_l1d_0p88>; 409 vdda-phy-supply = <&vreg_l1d_0p88>; 1200 vdda-pll-supply = <&vreg_l3e_1p2>; 410 vdda-pll-supply = <&vreg_l3e_1p2>; 1201 411 1202 status = "okay"; 412 status = "okay"; 1203 }; 413 }; 1204 414 1205 &usb_1 { 415 &usb_1 { 1206 status = "okay"; 416 status = "okay"; 1207 }; 417 }; 1208 418 1209 &usb_1_dwc3_hs { !! 419 &usb_1_dwc3 { 1210 remote-endpoint = <&pmic_glink_hs_in> !! 420 dr_mode = "peripheral"; 1211 }; 421 }; 1212 422 1213 &usb_1_hsphy { 423 &usb_1_hsphy { 1214 vdd-supply = <&vreg_l1e_0p88>; 424 vdd-supply = <&vreg_l1e_0p88>; 1215 vdda12-supply = <&vreg_l3e_1p2>; 425 vdda12-supply = <&vreg_l3e_1p2>; 1216 426 1217 phys = <&pm8550b_eusb2_repeater>; << 1218 << 1219 status = "okay"; 427 status = "okay"; 1220 }; 428 }; 1221 429 1222 &usb_dp_qmpphy { 430 &usb_dp_qmpphy { 1223 vdda-phy-supply = <&vreg_l3e_1p2>; 431 vdda-phy-supply = <&vreg_l3e_1p2>; 1224 vdda-pll-supply = <&vreg_l3f_0p88>; 432 vdda-pll-supply = <&vreg_l3f_0p88>; 1225 433 1226 status = "okay"; 434 status = "okay"; 1227 }; << 1228 << 1229 &usb_dp_qmpphy_out { << 1230 remote-endpoint = <&redriver_ss_in>; << 1231 }; 435 }; 1232 436 1233 &xo_board { 437 &xo_board { 1234 clock-frequency = <76800000>; 438 clock-frequency = <76800000>; 1235 }; 439 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.