160378f1aSVenkata Narendra Kumar Gutta// SPDX-License-Identifier: BSD-3-Clause 260378f1aSVenkata Narendra Kumar Gutta/* 360378f1aSVenkata Narendra Kumar Gutta * Copyright (c) 2020, The Linux Foundation. All rights reserved. 460378f1aSVenkata Narendra Kumar Gutta */ 560378f1aSVenkata Narendra Kumar Gutta 660378f1aSVenkata Narendra Kumar Gutta/dts-v1/; 760378f1aSVenkata Narendra Kumar Gutta 8ec13d5c2SBryan O'Donoghue#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 95a263cf6SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6afe.h> 105a263cf6SSrinivas Kandagatla#include <dt-bindings/sound/qcom,q6asm.h> 115a263cf6SSrinivas Kandagatla#include <dt-bindings/gpio/gpio.h> 1260378f1aSVenkata Narendra Kumar Gutta#include "sm8250.dtsi" 136304b5e9SDmitry Baryshkov#include "pm8150.dtsi" 146304b5e9SDmitry Baryshkov#include "pm8150b.dtsi" 156304b5e9SDmitry Baryshkov#include "pm8150l.dtsi" 166304b5e9SDmitry Baryshkov#include "pm8009.dtsi" 1760378f1aSVenkata Narendra Kumar Gutta 1860378f1aSVenkata Narendra Kumar Gutta/ { 1960378f1aSVenkata Narendra Kumar Gutta model = "Qualcomm Technologies, Inc. SM8250 MTP"; 20d371a931SDmitry Baryshkov compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 2146b17dfdSNeil Armstrong chassis-type = "handset"; 2260378f1aSVenkata Narendra Kumar Gutta 2360378f1aSVenkata Narendra Kumar Gutta aliases { 24bb1dfb4dSManivannan Sadhasivam serial0 = &uart12; 2560378f1aSVenkata Narendra Kumar Gutta }; 2660378f1aSVenkata Narendra Kumar Gutta 2774d6ed03SJohan Hovold wcd938x: audio-codec { 28e5b8c082SKrzysztof Kozlowski compatible = "qcom,wcd9380-codec"; 2974d6ed03SJohan Hovold 30e5b8c082SKrzysztof Kozlowski reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; 3174d6ed03SJohan Hovold 32e5b8c082SKrzysztof Kozlowski vdd-buck-supply = <&vreg_s4a_1p8>; 33e5b8c082SKrzysztof Kozlowski vdd-rxtx-supply = <&vreg_s4a_1p8>; 34e5b8c082SKrzysztof Kozlowski vdd-io-supply = <&vreg_s4a_1p8>; 35e5b8c082SKrzysztof Kozlowski vdd-mic-bias-supply = <&vreg_bob>; 3674d6ed03SJohan Hovold 37e5b8c082SKrzysztof Kozlowski qcom,micbias1-microvolt = <1800000>; 38e5b8c082SKrzysztof Kozlowski qcom,micbias2-microvolt = <1800000>; 39e5b8c082SKrzysztof Kozlowski qcom,micbias3-microvolt = <1800000>; 40e5b8c082SKrzysztof Kozlowski qcom,micbias4-microvolt = <1800000>; 41e5b8c082SKrzysztof Kozlowski qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 42e5b8c082SKrzysztof Kozlowski qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 43e5b8c082SKrzysztof Kozlowski qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 44e5b8c082SKrzysztof Kozlowski qcom,rx-device = <&wcd_rx>; 45e5b8c082SKrzysztof Kozlowski qcom,tx-device = <&wcd_tx>; 4674d6ed03SJohan Hovold 4774d6ed03SJohan Hovold #sound-dai-cells = <1>; 4874d6ed03SJohan Hovold }; 4974d6ed03SJohan Hovold 5074d6ed03SJohan Hovold chosen { 5174d6ed03SJohan Hovold stdout-path = "serial0:115200n8"; 52e5b8c082SKrzysztof Kozlowski }; 53e5b8c082SKrzysztof Kozlowski 54681db16aSDmitry Baryshkov thermal-zones { 55681db16aSDmitry Baryshkov camera-thermal { 56681db16aSDmitry Baryshkov polling-delay-passive = <0>; 57681db16aSDmitry Baryshkov polling-delay = <0>; 58681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 0>; 59681db16aSDmitry Baryshkov 60681db16aSDmitry Baryshkov trips { 61681db16aSDmitry Baryshkov active-config0 { 62681db16aSDmitry Baryshkov temperature = <125000>; 63681db16aSDmitry Baryshkov hysteresis = <1000>; 64681db16aSDmitry Baryshkov type = "passive"; 65681db16aSDmitry Baryshkov }; 66681db16aSDmitry Baryshkov }; 67681db16aSDmitry Baryshkov }; 68681db16aSDmitry Baryshkov 69681db16aSDmitry Baryshkov conn-thermal { 70681db16aSDmitry Baryshkov polling-delay-passive = <0>; 71681db16aSDmitry Baryshkov polling-delay = <0>; 72681db16aSDmitry Baryshkov thermal-sensors = <&pm8150b_adc_tm 0>; 73681db16aSDmitry Baryshkov 74681db16aSDmitry Baryshkov trips { 75681db16aSDmitry Baryshkov active-config0 { 76681db16aSDmitry Baryshkov temperature = <125000>; 77681db16aSDmitry Baryshkov hysteresis = <1000>; 78681db16aSDmitry Baryshkov type = "passive"; 79681db16aSDmitry Baryshkov }; 80681db16aSDmitry Baryshkov }; 81681db16aSDmitry Baryshkov }; 82681db16aSDmitry Baryshkov 83681db16aSDmitry Baryshkov mmw-pa1-thermal { 84681db16aSDmitry Baryshkov polling-delay-passive = <0>; 85681db16aSDmitry Baryshkov polling-delay = <0>; 86681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 2>; 87681db16aSDmitry Baryshkov 88681db16aSDmitry Baryshkov trips { 89681db16aSDmitry Baryshkov active-config0 { 90681db16aSDmitry Baryshkov temperature = <125000>; 91681db16aSDmitry Baryshkov hysteresis = <1000>; 92681db16aSDmitry Baryshkov type = "passive"; 93681db16aSDmitry Baryshkov }; 94681db16aSDmitry Baryshkov }; 95681db16aSDmitry Baryshkov }; 96681db16aSDmitry Baryshkov 97681db16aSDmitry Baryshkov mmw-pa2-thermal { 98681db16aSDmitry Baryshkov polling-delay-passive = <0>; 99681db16aSDmitry Baryshkov polling-delay = <0>; 100681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 2>; 101681db16aSDmitry Baryshkov 102681db16aSDmitry Baryshkov trips { 103681db16aSDmitry Baryshkov active-config0 { 104681db16aSDmitry Baryshkov temperature = <125000>; 105681db16aSDmitry Baryshkov hysteresis = <1000>; 106681db16aSDmitry Baryshkov type = "passive"; 107681db16aSDmitry Baryshkov }; 108681db16aSDmitry Baryshkov }; 109681db16aSDmitry Baryshkov }; 110681db16aSDmitry Baryshkov 111681db16aSDmitry Baryshkov skin-msm-thermal { 112681db16aSDmitry Baryshkov polling-delay-passive = <0>; 113681db16aSDmitry Baryshkov polling-delay = <0>; 114681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 1>; 115681db16aSDmitry Baryshkov 116681db16aSDmitry Baryshkov trips { 117681db16aSDmitry Baryshkov active-config0 { 118681db16aSDmitry Baryshkov temperature = <125000>; 119681db16aSDmitry Baryshkov hysteresis = <1000>; 120681db16aSDmitry Baryshkov type = "passive"; 121681db16aSDmitry Baryshkov }; 122681db16aSDmitry Baryshkov }; 123681db16aSDmitry Baryshkov }; 124681db16aSDmitry Baryshkov 125681db16aSDmitry Baryshkov skin-thermal { 126681db16aSDmitry Baryshkov polling-delay-passive = <0>; 127681db16aSDmitry Baryshkov polling-delay = <0>; 128681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 1>; 129681db16aSDmitry Baryshkov 130681db16aSDmitry Baryshkov trips { 131681db16aSDmitry Baryshkov active-config0 { 132681db16aSDmitry Baryshkov temperature = <125000>; 133681db16aSDmitry Baryshkov hysteresis = <1000>; 134681db16aSDmitry Baryshkov type = "passive"; 135681db16aSDmitry Baryshkov }; 136681db16aSDmitry Baryshkov }; 137681db16aSDmitry Baryshkov }; 138681db16aSDmitry Baryshkov 139681db16aSDmitry Baryshkov xo-thermal { 140681db16aSDmitry Baryshkov polling-delay-passive = <0>; 141681db16aSDmitry Baryshkov polling-delay = <0>; 142681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 0>; 143681db16aSDmitry Baryshkov 144681db16aSDmitry Baryshkov trips { 145681db16aSDmitry Baryshkov active-config0 { 146681db16aSDmitry Baryshkov temperature = <125000>; 147681db16aSDmitry Baryshkov hysteresis = <1000>; 148681db16aSDmitry Baryshkov type = "passive"; 149681db16aSDmitry Baryshkov }; 150681db16aSDmitry Baryshkov }; 151681db16aSDmitry Baryshkov }; 152681db16aSDmitry Baryshkov }; 153681db16aSDmitry Baryshkov 154ec13d5c2SBryan O'Donoghue vph_pwr: vph-pwr-regulator { 155ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 156ec13d5c2SBryan O'Donoghue regulator-name = "vph_pwr"; 157ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3700000>; 158ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3700000>; 159ec13d5c2SBryan O'Donoghue }; 160ec13d5c2SBryan O'Donoghue 161ec13d5c2SBryan O'Donoghue vreg_s4a_1p8: pm8150-s4 { 162ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 163ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s4a_1p8"; 164ec13d5c2SBryan O'Donoghue 165ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 166ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 167ec13d5c2SBryan O'Donoghue 168ec13d5c2SBryan O'Donoghue regulator-always-on; 169ec13d5c2SBryan O'Donoghue regulator-boot-on; 170ec13d5c2SBryan O'Donoghue 171ec13d5c2SBryan O'Donoghue vin-supply = <&vph_pwr>; 172ec13d5c2SBryan O'Donoghue }; 173ec13d5c2SBryan O'Donoghue 174ec13d5c2SBryan O'Donoghue vreg_s6c_0p88: smpc6-regulator { 175ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 176ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s6c_0p88"; 177ec13d5c2SBryan O'Donoghue 178ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <880000>; 179ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <880000>; 180ec13d5c2SBryan O'Donoghue regulator-always-on; 181ec13d5c2SBryan O'Donoghue vin-supply = <&vph_pwr>; 182ec13d5c2SBryan O'Donoghue }; 183ec13d5c2SBryan O'Donoghue}; 184ec13d5c2SBryan O'Donoghue 18523a89037SBjorn Andersson&adsp { 18623a89037SBjorn Andersson status = "okay"; 18723a89037SBjorn Andersson firmware-name = "qcom/sm8250/adsp.mbn"; 18823a89037SBjorn Andersson}; 18923a89037SBjorn Andersson 190ec13d5c2SBryan O'Donoghue&apps_rsc { 191537f572bSKrzysztof Kozlowski regulators-0 { 192ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8150-rpmh-regulators"; 193ec13d5c2SBryan O'Donoghue qcom,pmic-id = "a"; 194ec13d5c2SBryan O'Donoghue 195ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 196ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vph_pwr>; 197ec13d5c2SBryan O'Donoghue vdd-s3-supply = <&vph_pwr>; 198ec13d5c2SBryan O'Donoghue vdd-s4-supply = <&vph_pwr>; 199ec13d5c2SBryan O'Donoghue vdd-s5-supply = <&vph_pwr>; 200ec13d5c2SBryan O'Donoghue vdd-s6-supply = <&vph_pwr>; 201ec13d5c2SBryan O'Donoghue vdd-s7-supply = <&vph_pwr>; 202ec13d5c2SBryan O'Donoghue vdd-s8-supply = <&vph_pwr>; 203ec13d5c2SBryan O'Donoghue vdd-s9-supply = <&vph_pwr>; 204ec13d5c2SBryan O'Donoghue vdd-s10-supply = <&vph_pwr>; 205ec13d5c2SBryan O'Donoghue vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; 206ec13d5c2SBryan O'Donoghue vdd-l2-l10-supply = <&vreg_bob>; 207ec13d5c2SBryan O'Donoghue vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 208ec13d5c2SBryan O'Donoghue vdd-l6-l9-supply = <&vreg_s8c_1p3>; 209ec13d5c2SBryan O'Donoghue vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 210ec13d5c2SBryan O'Donoghue vdd-l13-l16-l17-supply = <&vreg_bob>; 211ec13d5c2SBryan O'Donoghue 212ec13d5c2SBryan O'Donoghue vreg_s5a_1p9: smps5 { 213ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s5a_1p9"; 214ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1904000>; 215ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2000000>; 216ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 217ec13d5c2SBryan O'Donoghue }; 218ec13d5c2SBryan O'Donoghue 219ec13d5c2SBryan O'Donoghue vreg_s6a_0p95: smps6 { 220ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s6a_0p95"; 221ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <920000>; 222ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1128000>; 223ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 224ec13d5c2SBryan O'Donoghue }; 225ec13d5c2SBryan O'Donoghue 226ec13d5c2SBryan O'Donoghue vreg_l2a_3p1: ldo2 { 227ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2a_3p1"; 228ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3072000>; 229ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3072000>; 230ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 231ec13d5c2SBryan O'Donoghue }; 232ec13d5c2SBryan O'Donoghue 233ec13d5c2SBryan O'Donoghue vreg_l3a_0p9: ldo3 { 234ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3a_0p9"; 235ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <928000>; 236ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <932000>; 237ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238ec13d5c2SBryan O'Donoghue }; 239ec13d5c2SBryan O'Donoghue 240ec13d5c2SBryan O'Donoghue vreg_l5a_0p875: ldo5 { 241ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5a_0p875"; 242ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <880000>; 243ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <880000>; 244ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 245ec13d5c2SBryan O'Donoghue }; 246ec13d5c2SBryan O'Donoghue 247ec13d5c2SBryan O'Donoghue vreg_l6a_1p2: ldo6 { 248ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6a_1p2"; 249ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 250ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 251ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 252ec13d5c2SBryan O'Donoghue }; 253ec13d5c2SBryan O'Donoghue 254ec13d5c2SBryan O'Donoghue vreg_l7a_1p7: ldo7 { 255ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7a_1p7"; 256ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1704000>; 257ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 258ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 259ec13d5c2SBryan O'Donoghue }; 260ec13d5c2SBryan O'Donoghue 261ec13d5c2SBryan O'Donoghue vreg_l9a_1p2: ldo9 { 262ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l9a_1p2"; 263ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 264ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 265ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 266ec13d5c2SBryan O'Donoghue }; 267ec13d5c2SBryan O'Donoghue 268ec13d5c2SBryan O'Donoghue vreg_l10a_1p8: ldo10 { 269ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l10a_1p8"; 270ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 271ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 272ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 273ec13d5c2SBryan O'Donoghue }; 274ec13d5c2SBryan O'Donoghue 275ec13d5c2SBryan O'Donoghue vreg_l12a_1p8: ldo12 { 276ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l12a_1p8"; 277ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 278ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 279ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 280ec13d5c2SBryan O'Donoghue }; 281ec13d5c2SBryan O'Donoghue 282ec13d5c2SBryan O'Donoghue vreg_l13a_ts_3p0: ldo13 { 283ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l13a_ts_3p0"; 284ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3008000>; 285ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3008000>; 286ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 287ec13d5c2SBryan O'Donoghue }; 288ec13d5c2SBryan O'Donoghue 289ec13d5c2SBryan O'Donoghue vreg_l14a_1p8: ldo14 { 290ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l14a_1p8"; 291ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 292ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1880000>; 293ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 294ec13d5c2SBryan O'Donoghue }; 295ec13d5c2SBryan O'Donoghue 296ec13d5c2SBryan O'Donoghue vreg_l15a_11ad_io_1p8: ldo15 { 297ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l15a_11ad_io_1p8"; 298ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 299ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 300ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 301ec13d5c2SBryan O'Donoghue }; 302ec13d5c2SBryan O'Donoghue 303ec13d5c2SBryan O'Donoghue vreg_l16a_2p7: ldo16 { 304ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l16a_2p7"; 305ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2704000>; 306ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 307ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 308ec13d5c2SBryan O'Donoghue }; 309ec13d5c2SBryan O'Donoghue 310ec13d5c2SBryan O'Donoghue vreg_l17a_3p0: ldo17 { 311ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l17a_3p0"; 312ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 313ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3008000>; 314ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315ec13d5c2SBryan O'Donoghue }; 316221f0ef3SDmitry Baryshkov 317221f0ef3SDmitry Baryshkov vreg_l18a_0p9: ldo18 { 318221f0ef3SDmitry Baryshkov regulator-name = "vreg_l18a_0p9"; 319221f0ef3SDmitry Baryshkov regulator-min-microvolt = <912000>; 320221f0ef3SDmitry Baryshkov regulator-max-microvolt = <912000>; 321221f0ef3SDmitry Baryshkov regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322221f0ef3SDmitry Baryshkov }; 323ec13d5c2SBryan O'Donoghue }; 324ec13d5c2SBryan O'Donoghue 325537f572bSKrzysztof Kozlowski regulators-1 { 326ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8150l-rpmh-regulators"; 327ec13d5c2SBryan O'Donoghue qcom,pmic-id = "c"; 328ec13d5c2SBryan O'Donoghue 329ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 330ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vph_pwr>; 331ec13d5c2SBryan O'Donoghue vdd-s3-supply = <&vph_pwr>; 332ec13d5c2SBryan O'Donoghue vdd-s4-supply = <&vph_pwr>; 333ec13d5c2SBryan O'Donoghue vdd-s5-supply = <&vph_pwr>; 334ec13d5c2SBryan O'Donoghue vdd-s6-supply = <&vph_pwr>; 335ec13d5c2SBryan O'Donoghue vdd-s7-supply = <&vph_pwr>; 336ec13d5c2SBryan O'Donoghue vdd-s8-supply = <&vph_pwr>; 337ec13d5c2SBryan O'Donoghue vdd-l1-l8-supply = <&vreg_s4a_1p8>; 338ec13d5c2SBryan O'Donoghue vdd-l2-l3-supply = <&vreg_s8c_1p3>; 339ec13d5c2SBryan O'Donoghue vdd-l4-l5-l6-supply = <&vreg_bob>; 340ec13d5c2SBryan O'Donoghue vdd-l7-l11-supply = <&vreg_bob>; 341ec13d5c2SBryan O'Donoghue vdd-l9-l10-supply = <&vreg_bob>; 342ec13d5c2SBryan O'Donoghue vdd-bob-supply = <&vph_pwr>; 343ec13d5c2SBryan O'Donoghue 344ec13d5c2SBryan O'Donoghue vreg_bob: bob { 345ec13d5c2SBryan O'Donoghue regulator-name = "vreg_bob"; 346ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3008000>; 347ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <4000000>; 348ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 349ec13d5c2SBryan O'Donoghue }; 350ec13d5c2SBryan O'Donoghue 351ec13d5c2SBryan O'Donoghue vreg_s8c_1p3: smps8 { 352ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s8c_1p3"; 353ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1352000>; 354ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1352000>; 355ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 356ec13d5c2SBryan O'Donoghue }; 357ec13d5c2SBryan O'Donoghue 358ec13d5c2SBryan O'Donoghue vreg_l1c_1p8: ldo1 { 359ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l1c_1p8"; 360ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 361ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 362ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 363ec13d5c2SBryan O'Donoghue }; 364ec13d5c2SBryan O'Donoghue 365ec13d5c2SBryan O'Donoghue vreg_l2c_1p2: ldo2 { 366ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2c_1p2"; 367ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 368ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 369ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 370ec13d5c2SBryan O'Donoghue }; 371ec13d5c2SBryan O'Donoghue 372ec13d5c2SBryan O'Donoghue vreg_l3c_0p92: ldo3 { 373ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3c_0p92"; 374ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <920000>; 375ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <920000>; 376ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 377ec13d5c2SBryan O'Donoghue }; 378ec13d5c2SBryan O'Donoghue 379ec13d5c2SBryan O'Donoghue vreg_l4c_1p7: ldo4 { 380ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l4c_1p7"; 381ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1704000>; 382ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2928000>; 383ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 384ec13d5c2SBryan O'Donoghue }; 385ec13d5c2SBryan O'Donoghue 386ec13d5c2SBryan O'Donoghue vreg_l5c_1p8: ldo5 { 387ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5c_1p8"; 388ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 389ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2928000>; 390ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391ec13d5c2SBryan O'Donoghue }; 392ec13d5c2SBryan O'Donoghue 393ec13d5c2SBryan O'Donoghue vreg_l6c_2p9: ldo6 { 394ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6c_2p9"; 395ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 396ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 397ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 398ec13d5c2SBryan O'Donoghue }; 399ec13d5c2SBryan O'Donoghue 400ec13d5c2SBryan O'Donoghue vreg_l7c_cam_vcm0_2p85: ldo7 { 401ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7c_cam_vcm0_2p85"; 402ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 403ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3104000>; 404ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 405ec13d5c2SBryan O'Donoghue }; 406ec13d5c2SBryan O'Donoghue 407ec13d5c2SBryan O'Donoghue vreg_l8c_1p8: ldo8 { 408ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l8c_1p8"; 409ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 410ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 411ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 412ec13d5c2SBryan O'Donoghue }; 413ec13d5c2SBryan O'Donoghue 414ec13d5c2SBryan O'Donoghue vreg_l9c_2p9: ldo9 { 415ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l9c_2p9"; 416ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2704000>; 417ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 418ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 419ec13d5c2SBryan O'Donoghue }; 420ec13d5c2SBryan O'Donoghue 421ec13d5c2SBryan O'Donoghue vreg_l10c_3p0: ldo10 { 422ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l10c_3p0"; 423ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3000000>; 424ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3000000>; 425ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 426ec13d5c2SBryan O'Donoghue }; 427ec13d5c2SBryan O'Donoghue 428ec13d5c2SBryan O'Donoghue vreg_l11c_3p3: ldo11 { 429ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l11c_3p3"; 430ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3000000>; 431ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3312000>; 432ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 433ec13d5c2SBryan O'Donoghue }; 434ec13d5c2SBryan O'Donoghue }; 435ec13d5c2SBryan O'Donoghue 436537f572bSKrzysztof Kozlowski regulators-2 { 437ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8009-rpmh-regulators"; 438ec13d5c2SBryan O'Donoghue qcom,pmic-id = "f"; 439ec13d5c2SBryan O'Donoghue 440ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 441ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vreg_bob>; 442ec13d5c2SBryan O'Donoghue vdd-l2-supply = <&vreg_s8c_1p3>; 443ec13d5c2SBryan O'Donoghue vdd-l5-l6-supply = <&vreg_bob>; 444ec13d5c2SBryan O'Donoghue vdd-l7-supply = <&vreg_s4a_1p8>; 445ec13d5c2SBryan O'Donoghue 446ec13d5c2SBryan O'Donoghue vreg_l1f_cam_dvdd1_1p1: ldo1 { 447ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l1f_cam_dvdd1_1p1"; 448ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1104000>; 449ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1104000>; 450ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 451ec13d5c2SBryan O'Donoghue }; 452ec13d5c2SBryan O'Donoghue 453ec13d5c2SBryan O'Donoghue vreg_l2f_cam_dvdd0_1p2: ldo2 { 454ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2f_cam_dvdd0_1p2"; 455ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 456ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 457ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458ec13d5c2SBryan O'Donoghue }; 459ec13d5c2SBryan O'Donoghue 460ec13d5c2SBryan O'Donoghue vreg_l3f_cam_dvdd2_1p05: ldo3 { 461ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3f_cam_dvdd2_1p05"; 462ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1056000>; 463ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1056000>; 464ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 465ec13d5c2SBryan O'Donoghue }; 466ec13d5c2SBryan O'Donoghue 467ec13d5c2SBryan O'Donoghue vreg_l5f_cam_avdd0_2p85: ldo5 { 468ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5f_cam_avdd0_2p85"; 469ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2800000>; 470ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2800000>; 471ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 472ec13d5c2SBryan O'Donoghue }; 473ec13d5c2SBryan O'Donoghue 474ec13d5c2SBryan O'Donoghue vreg_l6f_cam_avdd1_2p85: ldo6 { 475ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6f_cam_avdd1_2p85"; 476ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 477ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2856000>; 478ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 479ec13d5c2SBryan O'Donoghue }; 480ec13d5c2SBryan O'Donoghue 481ec13d5c2SBryan O'Donoghue vreg_l7f_1p8: ldo7 { 482ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7f_1p8"; 483ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 484ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 485ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 486ec13d5c2SBryan O'Donoghue }; 487ec13d5c2SBryan O'Donoghue }; 48860378f1aSVenkata Narendra Kumar Gutta}; 48960378f1aSVenkata Narendra Kumar Gutta 49023a89037SBjorn Andersson&cdsp { 49123a89037SBjorn Andersson status = "okay"; 49223a89037SBjorn Andersson firmware-name = "qcom/sm8250/cdsp.mbn"; 49323a89037SBjorn Andersson}; 49423a89037SBjorn Andersson 495ece28cb5SKonrad Dybcio&gmu { 496ece28cb5SKonrad Dybcio status = "okay"; 497ece28cb5SKonrad Dybcio}; 498ece28cb5SKonrad Dybcio 4999e301a54SDmitry Baryshkov&gpu { 500ece28cb5SKonrad Dybcio status = "okay"; 501ece28cb5SKonrad Dybcio 5029e301a54SDmitry Baryshkov zap-shader { 5039e301a54SDmitry Baryshkov memory-region = <&gpu_mem>; 5049e301a54SDmitry Baryshkov firmware-name = "qcom/sm8250/a650_zap.mbn"; 5059e301a54SDmitry Baryshkov }; 5069e301a54SDmitry Baryshkov}; 5079e301a54SDmitry Baryshkov 508c0011172SDmitry Baryshkov&i2c1 { 509c0011172SDmitry Baryshkov status = "okay"; 510c0011172SDmitry Baryshkov clock-frequency = <1000000>; 511c0011172SDmitry Baryshkov 512c0011172SDmitry Baryshkov /* NQ NFC chip @28 */ 513c0011172SDmitry Baryshkov}; 514c0011172SDmitry Baryshkov 515c0011172SDmitry Baryshkov&i2c13 { 516c0011172SDmitry Baryshkov status = "okay"; 517c0011172SDmitry Baryshkov 518c0011172SDmitry Baryshkov /* st,stmfts @ 49 */ 519c0011172SDmitry Baryshkov}; 520c0011172SDmitry Baryshkov 521c0011172SDmitry Baryshkov&i2c15 { 522c0011172SDmitry Baryshkov status = "okay"; 523c0011172SDmitry Baryshkov 524c0011172SDmitry Baryshkov /* smb1390 @ 10 */ 525c0011172SDmitry Baryshkov /* rtc6226 @ 64 */ 526c0011172SDmitry Baryshkov}; 527c0011172SDmitry Baryshkov 528681db16aSDmitry Baryshkov&pm8150_adc { 529*41c18552SMarijn Suijten channel@4c { 530681db16aSDmitry Baryshkov reg = <ADC5_XO_THERM_100K_PU>; 531681db16aSDmitry Baryshkov qcom,ratiometric; 532681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 533*41c18552SMarijn Suijten label = "xo_therm"; 534681db16aSDmitry Baryshkov }; 535681db16aSDmitry Baryshkov 536*41c18552SMarijn Suijten channel@4d { 537681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 538681db16aSDmitry Baryshkov qcom,ratiometric; 539681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 540*41c18552SMarijn Suijten label = "skin_therm"; 541681db16aSDmitry Baryshkov }; 542681db16aSDmitry Baryshkov 543*41c18552SMarijn Suijten channel@4e { 544681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 545681db16aSDmitry Baryshkov qcom,ratiometric; 546681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 547*41c18552SMarijn Suijten label = "pa_therm1"; 548681db16aSDmitry Baryshkov }; 549681db16aSDmitry Baryshkov}; 550681db16aSDmitry Baryshkov 551681db16aSDmitry Baryshkov&pm8150_adc_tm { 552681db16aSDmitry Baryshkov status = "okay"; 553681db16aSDmitry Baryshkov 554681db16aSDmitry Baryshkov xo-therm@0 { 555681db16aSDmitry Baryshkov reg = <0>; 556681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 557681db16aSDmitry Baryshkov qcom,ratiometric; 558681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 559681db16aSDmitry Baryshkov }; 560681db16aSDmitry Baryshkov 561681db16aSDmitry Baryshkov skin-therm@1 { 562681db16aSDmitry Baryshkov reg = <1>; 563681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>; 564681db16aSDmitry Baryshkov qcom,ratiometric; 565681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 566681db16aSDmitry Baryshkov }; 567681db16aSDmitry Baryshkov 568681db16aSDmitry Baryshkov pa-therm1@2 { 569681db16aSDmitry Baryshkov reg = <2>; 570681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 571681db16aSDmitry Baryshkov qcom,ratiometric; 572681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 573681db16aSDmitry Baryshkov }; 574681db16aSDmitry Baryshkov}; 575681db16aSDmitry Baryshkov 576681db16aSDmitry Baryshkov&pm8150b_adc { 577*41c18552SMarijn Suijten channel@4f { 578681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 579681db16aSDmitry Baryshkov qcom,ratiometric; 580681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 581*41c18552SMarijn Suijten label = "conn_therm"; 582681db16aSDmitry Baryshkov }; 583681db16aSDmitry Baryshkov}; 584681db16aSDmitry Baryshkov 585681db16aSDmitry Baryshkov&pm8150b_adc_tm { 586681db16aSDmitry Baryshkov status = "okay"; 587681db16aSDmitry Baryshkov 588681db16aSDmitry Baryshkov conn-therm@0 { 589681db16aSDmitry Baryshkov reg = <0>; 590681db16aSDmitry Baryshkov io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 591681db16aSDmitry Baryshkov qcom,ratiometric; 592681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 593681db16aSDmitry Baryshkov }; 594681db16aSDmitry Baryshkov}; 595681db16aSDmitry Baryshkov 596681db16aSDmitry Baryshkov&pm8150l_adc_tm { 597681db16aSDmitry Baryshkov status = "okay"; 598681db16aSDmitry Baryshkov 599681db16aSDmitry Baryshkov camera-flash-therm@0 { 600681db16aSDmitry Baryshkov reg = <0>; 601681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>; 602681db16aSDmitry Baryshkov qcom,ratiometric; 603681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 604681db16aSDmitry Baryshkov }; 605681db16aSDmitry Baryshkov 606681db16aSDmitry Baryshkov skin-msm-therm@1 { 607681db16aSDmitry Baryshkov reg = <1>; 608681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 609681db16aSDmitry Baryshkov qcom,ratiometric; 610681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 611681db16aSDmitry Baryshkov }; 612681db16aSDmitry Baryshkov 613681db16aSDmitry Baryshkov pa-therm2@2 { 614681db16aSDmitry Baryshkov reg = <2>; 615681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 616681db16aSDmitry Baryshkov qcom,ratiometric; 617681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 618681db16aSDmitry Baryshkov }; 619681db16aSDmitry Baryshkov}; 620681db16aSDmitry Baryshkov 621681db16aSDmitry Baryshkov&pm8150l_adc { 622*41c18552SMarijn Suijten channel@4d { 623681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 624681db16aSDmitry Baryshkov qcom,ratiometric; 625681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 626*41c18552SMarijn Suijten label = "camera_flash_therm"; 627681db16aSDmitry Baryshkov }; 628681db16aSDmitry Baryshkov 629*41c18552SMarijn Suijten channel@4e { 630681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 631681db16aSDmitry Baryshkov qcom,ratiometric; 632681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 633*41c18552SMarijn Suijten label = "skin_msm_therm"; 634681db16aSDmitry Baryshkov }; 635681db16aSDmitry Baryshkov 636*41c18552SMarijn Suijten channel@4f { 637681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 638681db16aSDmitry Baryshkov qcom,ratiometric; 639681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 640*41c18552SMarijn Suijten label = "pa_therm2"; 641681db16aSDmitry Baryshkov }; 642681db16aSDmitry Baryshkov}; 643681db16aSDmitry Baryshkov 644c0011172SDmitry Baryshkov&qupv3_id_0 { 645c0011172SDmitry Baryshkov status = "okay"; 646c0011172SDmitry Baryshkov}; 647c0011172SDmitry Baryshkov 64860378f1aSVenkata Narendra Kumar Gutta&qupv3_id_1 { 64960378f1aSVenkata Narendra Kumar Gutta status = "okay"; 65060378f1aSVenkata Narendra Kumar Gutta}; 65160378f1aSVenkata Narendra Kumar Gutta 652c0011172SDmitry Baryshkov&qupv3_id_2 { 653c0011172SDmitry Baryshkov status = "okay"; 654c0011172SDmitry Baryshkov}; 655c0011172SDmitry Baryshkov 65618019eb6SDmitry Baryshkov&rxmacro { 65718019eb6SDmitry Baryshkov status = "okay"; 65818019eb6SDmitry Baryshkov}; 65918019eb6SDmitry Baryshkov 66023a89037SBjorn Andersson&slpi { 66123a89037SBjorn Andersson status = "okay"; 66223a89037SBjorn Andersson firmware-name = "qcom/sm8250/slpi.mbn"; 66323a89037SBjorn Andersson}; 66423a89037SBjorn Andersson 665fa244dcaSSrinivas Kandagatla&sound { 666fa244dcaSSrinivas Kandagatla compatible = "qcom,sm8250-sndcard"; 667fa244dcaSSrinivas Kandagatla model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC"; 668fa244dcaSSrinivas Kandagatla audio-routing = 669fa244dcaSSrinivas Kandagatla "SpkrLeft IN", "WSA_SPK1 OUT", 670fa244dcaSSrinivas Kandagatla "SpkrRight IN", "WSA_SPK2 OUT", 671fa244dcaSSrinivas Kandagatla "IN1_HPHL", "HPHL_OUT", 672fa244dcaSSrinivas Kandagatla "IN2_HPHR", "HPHR_OUT", 673fa244dcaSSrinivas Kandagatla "AMIC1", "MIC BIAS1", 674fa244dcaSSrinivas Kandagatla "AMIC2", "MIC BIAS2", 675fa244dcaSSrinivas Kandagatla "AMIC3", "MIC BIAS3", 676fa244dcaSSrinivas Kandagatla "AMIC4", "MIC BIAS3", 677fa244dcaSSrinivas Kandagatla "AMIC5", "MIC BIAS4", 678fa244dcaSSrinivas Kandagatla "TX SWR_ADC0", "ADC1_OUTPUT", 679fa244dcaSSrinivas Kandagatla "TX SWR_ADC1", "ADC2_OUTPUT", 680fa244dcaSSrinivas Kandagatla "TX SWR_ADC2", "ADC3_OUTPUT", 681fa244dcaSSrinivas Kandagatla "TX SWR_ADC3", "ADC4_OUTPUT", 682fa244dcaSSrinivas Kandagatla "TX SWR_DMIC0", "DMIC1_OUTPUT", 683fa244dcaSSrinivas Kandagatla "TX SWR_DMIC1", "DMIC2_OUTPUT", 684fa244dcaSSrinivas Kandagatla "TX SWR_DMIC2", "DMIC3_OUTPUT", 685fa244dcaSSrinivas Kandagatla "TX SWR_DMIC3", "DMIC4_OUTPUT", 686fa244dcaSSrinivas Kandagatla "TX SWR_DMIC4", "DMIC5_OUTPUT", 687fa244dcaSSrinivas Kandagatla "TX SWR_DMIC5", "DMIC6_OUTPUT", 688fa244dcaSSrinivas Kandagatla "TX SWR_DMIC6", "DMIC7_OUTPUT", 689fa244dcaSSrinivas Kandagatla "TX SWR_DMIC7", "DMIC8_OUTPUT"; 690fa244dcaSSrinivas Kandagatla 691fa244dcaSSrinivas Kandagatla mm1-dai-link { 692fa244dcaSSrinivas Kandagatla link-name = "MultiMedia1"; 693fa244dcaSSrinivas Kandagatla cpu { 694fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 695fa244dcaSSrinivas Kandagatla }; 696fa244dcaSSrinivas Kandagatla }; 697fa244dcaSSrinivas Kandagatla 698fa244dcaSSrinivas Kandagatla mm2-dai-link { 699fa244dcaSSrinivas Kandagatla link-name = "MultiMedia2"; 700fa244dcaSSrinivas Kandagatla cpu { 701fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 702fa244dcaSSrinivas Kandagatla }; 703fa244dcaSSrinivas Kandagatla }; 704fa244dcaSSrinivas Kandagatla 705fa244dcaSSrinivas Kandagatla mm3-dai-link { 706fa244dcaSSrinivas Kandagatla link-name = "MultiMedia3"; 707fa244dcaSSrinivas Kandagatla cpu { 708fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 709fa244dcaSSrinivas Kandagatla }; 710fa244dcaSSrinivas Kandagatla }; 711fa244dcaSSrinivas Kandagatla 712fa244dcaSSrinivas Kandagatla wcd-playback-dai-link { 713fa244dcaSSrinivas Kandagatla link-name = "WCD Playback"; 714fa244dcaSSrinivas Kandagatla cpu { 715fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>; 716fa244dcaSSrinivas Kandagatla }; 717fa244dcaSSrinivas Kandagatla codec { 718fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; 719fa244dcaSSrinivas Kandagatla }; 720fa244dcaSSrinivas Kandagatla platform { 721fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 722fa244dcaSSrinivas Kandagatla }; 723fa244dcaSSrinivas Kandagatla }; 724fa244dcaSSrinivas Kandagatla 725fa244dcaSSrinivas Kandagatla wcd-capture-dai-link { 726fa244dcaSSrinivas Kandagatla link-name = "WCD Capture"; 727fa244dcaSSrinivas Kandagatla cpu { 728fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai TX_CODEC_DMA_TX_3>; 729fa244dcaSSrinivas Kandagatla }; 730fa244dcaSSrinivas Kandagatla 731fa244dcaSSrinivas Kandagatla codec { 732fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; 733fa244dcaSSrinivas Kandagatla }; 734fa244dcaSSrinivas Kandagatla platform { 735fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 736fa244dcaSSrinivas Kandagatla }; 737fa244dcaSSrinivas Kandagatla }; 738fa244dcaSSrinivas Kandagatla 739fa244dcaSSrinivas Kandagatla wsa-dai-link { 740fa244dcaSSrinivas Kandagatla link-name = "WSA Playback"; 741fa244dcaSSrinivas Kandagatla cpu { 742fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 743fa244dcaSSrinivas Kandagatla }; 744fa244dcaSSrinivas Kandagatla 745fa244dcaSSrinivas Kandagatla codec { 746fa244dcaSSrinivas Kandagatla sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 747fa244dcaSSrinivas Kandagatla }; 748fa244dcaSSrinivas Kandagatla platform { 749fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 750fa244dcaSSrinivas Kandagatla }; 751fa244dcaSSrinivas Kandagatla }; 752fa244dcaSSrinivas Kandagatla 753fa244dcaSSrinivas Kandagatla va-dai-link { 754fa244dcaSSrinivas Kandagatla link-name = "VA Capture"; 755fa244dcaSSrinivas Kandagatla cpu { 756fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 757fa244dcaSSrinivas Kandagatla }; 758fa244dcaSSrinivas Kandagatla 759fa244dcaSSrinivas Kandagatla platform { 760fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 761fa244dcaSSrinivas Kandagatla }; 762fa244dcaSSrinivas Kandagatla 763fa244dcaSSrinivas Kandagatla codec { 764fa244dcaSSrinivas Kandagatla sound-dai = <&vamacro 0>; 765fa244dcaSSrinivas Kandagatla }; 766fa244dcaSSrinivas Kandagatla }; 767fa244dcaSSrinivas Kandagatla}; 768fa244dcaSSrinivas Kandagatla 7696fcda0b5SSrinivas Kandagatla&swr0 { 770ba23455eSKonrad Dybcio status = "okay"; 771ba23455eSKonrad Dybcio 772bd35f4b0SSrinivasa Rao Mandadapu left_spkr: speaker@0,3 { 7736fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7746fcda0b5SSrinivas Kandagatla reg = <0 3>; 7754ded9153SKrzysztof Kozlowski powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>; 7766fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7776fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrLeft"; 7786fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7796fcda0b5SSrinivas Kandagatla }; 7806fcda0b5SSrinivas Kandagatla 781bd35f4b0SSrinivasa Rao Mandadapu right_spkr: speaker@0,4 { 7826fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7836fcda0b5SSrinivas Kandagatla reg = <0 4>; 7844ded9153SKrzysztof Kozlowski powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>; 7856fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7866fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrRight"; 7876fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7886fcda0b5SSrinivas Kandagatla }; 7896fcda0b5SSrinivas Kandagatla}; 7906fcda0b5SSrinivas Kandagatla 7915a263cf6SSrinivas Kandagatla&swr1 { 79218019eb6SDmitry Baryshkov status = "okay"; 79318019eb6SDmitry Baryshkov 7945a263cf6SSrinivas Kandagatla wcd_rx: wcd9380-rx@0,4 { 7955a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 7965a263cf6SSrinivas Kandagatla reg = <0 4>; 7975a263cf6SSrinivas Kandagatla qcom,rx-port-mapping = <1 2 3 4 5>; 7985a263cf6SSrinivas Kandagatla }; 7995a263cf6SSrinivas Kandagatla}; 8005a263cf6SSrinivas Kandagatla 8015a263cf6SSrinivas Kandagatla&swr2 { 80218019eb6SDmitry Baryshkov status = "okay"; 80318019eb6SDmitry Baryshkov 8045a263cf6SSrinivas Kandagatla wcd_tx: wcd9380-tx@0,3 { 8055a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 8065a263cf6SSrinivas Kandagatla reg = <0 3>; 8075a263cf6SSrinivas Kandagatla qcom,tx-port-mapping = <2 3 4 5>; 8085a263cf6SSrinivas Kandagatla }; 8095a263cf6SSrinivas Kandagatla}; 8105a263cf6SSrinivas Kandagatla 81116951b49SBjorn Andersson&tlmm { 81216951b49SBjorn Andersson gpio-reserved-ranges = <28 4>, <40 4>; 8135a263cf6SSrinivas Kandagatla 814f7636174SKrzysztof Kozlowski wcd938x_reset_default: wcd938x-reset-default-state { 8155a263cf6SSrinivas Kandagatla pins = "gpio32"; 8165a263cf6SSrinivas Kandagatla function = "gpio"; 8175a263cf6SSrinivas Kandagatla drive-strength = <16>; 8185a263cf6SSrinivas Kandagatla output-high; 8195a263cf6SSrinivas Kandagatla }; 8205a263cf6SSrinivas Kandagatla 821f7636174SKrzysztof Kozlowski wcd938x_reset_sleep: wcd938x-reset-sleep-state { 8225a263cf6SSrinivas Kandagatla pins = "gpio32"; 8235a263cf6SSrinivas Kandagatla function = "gpio"; 8245a263cf6SSrinivas Kandagatla drive-strength = <16>; 8255a263cf6SSrinivas Kandagatla bias-disable; 8265a263cf6SSrinivas Kandagatla output-low; 8275a263cf6SSrinivas Kandagatla }; 8285a263cf6SSrinivas Kandagatla}; 82916951b49SBjorn Andersson 83018019eb6SDmitry Baryshkov&txmacro { 83118019eb6SDmitry Baryshkov status = "okay"; 83218019eb6SDmitry Baryshkov}; 83318019eb6SDmitry Baryshkov 834bb1dfb4dSManivannan Sadhasivam&uart12 { 83560378f1aSVenkata Narendra Kumar Gutta status = "okay"; 83660378f1aSVenkata Narendra Kumar Gutta}; 837b7e2fba0SBryan O'Donoghue 838b7e2fba0SBryan O'Donoghue&ufs_mem_hc { 839b7e2fba0SBryan O'Donoghue status = "okay"; 840b7e2fba0SBryan O'Donoghue 841b7e2fba0SBryan O'Donoghue vcc-supply = <&vreg_l17a_3p0>; 842b7e2fba0SBryan O'Donoghue vcc-max-microamp = <750000>; 843b7e2fba0SBryan O'Donoghue vccq-supply = <&vreg_l6a_1p2>; 844b7e2fba0SBryan O'Donoghue vccq-max-microamp = <700000>; 845b7e2fba0SBryan O'Donoghue vccq2-supply = <&vreg_s4a_1p8>; 846b7e2fba0SBryan O'Donoghue vccq2-max-microamp = <750000>; 847b7e2fba0SBryan O'Donoghue}; 848b7e2fba0SBryan O'Donoghue 849b7e2fba0SBryan O'Donoghue&ufs_mem_phy { 850b7e2fba0SBryan O'Donoghue status = "okay"; 851b7e2fba0SBryan O'Donoghue 852b7e2fba0SBryan O'Donoghue vdda-phy-supply = <&vreg_l5a_0p875>; 853b7e2fba0SBryan O'Donoghue vdda-pll-supply = <&vreg_l9a_1p2>; 854b7e2fba0SBryan O'Donoghue}; 855221f0ef3SDmitry Baryshkov 856221f0ef3SDmitry Baryshkov&usb_1 { 857221f0ef3SDmitry Baryshkov status = "okay"; 858221f0ef3SDmitry Baryshkov}; 859221f0ef3SDmitry Baryshkov 860221f0ef3SDmitry Baryshkov&usb_1_dwc3 { 861221f0ef3SDmitry Baryshkov dr_mode = "host"; 862221f0ef3SDmitry Baryshkov}; 863221f0ef3SDmitry Baryshkov 864221f0ef3SDmitry Baryshkov&usb_1_hsphy { 865221f0ef3SDmitry Baryshkov status = "okay"; 866221f0ef3SDmitry Baryshkov 867221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l5a_0p875>; 868221f0ef3SDmitry Baryshkov vdda18-supply = <&vreg_l12a_1p8>; 869221f0ef3SDmitry Baryshkov vdda33-supply = <&vreg_l2a_3p1>; 870221f0ef3SDmitry Baryshkov}; 871221f0ef3SDmitry Baryshkov 872221f0ef3SDmitry Baryshkov&usb_1_qmpphy { 873221f0ef3SDmitry Baryshkov status = "okay"; 874221f0ef3SDmitry Baryshkov 875221f0ef3SDmitry Baryshkov vdda-phy-supply = <&vreg_l9a_1p2>; 876221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l18a_0p9>; 877221f0ef3SDmitry Baryshkov}; 878221f0ef3SDmitry Baryshkov 879221f0ef3SDmitry Baryshkov&usb_2 { 880221f0ef3SDmitry Baryshkov status = "okay"; 881221f0ef3SDmitry Baryshkov}; 882221f0ef3SDmitry Baryshkov 883221f0ef3SDmitry Baryshkov&usb_2_dwc3 { 884221f0ef3SDmitry Baryshkov dr_mode = "host"; 885221f0ef3SDmitry Baryshkov}; 886221f0ef3SDmitry Baryshkov 887221f0ef3SDmitry Baryshkov&usb_2_hsphy { 888221f0ef3SDmitry Baryshkov status = "okay"; 889221f0ef3SDmitry Baryshkov 890221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l5a_0p875>; 891221f0ef3SDmitry Baryshkov vdda18-supply = <&vreg_l12a_1p8>; 892221f0ef3SDmitry Baryshkov vdda33-supply = <&vreg_l2a_3p1>; 893221f0ef3SDmitry Baryshkov}; 894221f0ef3SDmitry Baryshkov 895221f0ef3SDmitry Baryshkov&usb_2_qmpphy { 896221f0ef3SDmitry Baryshkov status = "okay"; 897221f0ef3SDmitry Baryshkov 898221f0ef3SDmitry Baryshkov vdda-phy-supply = <&vreg_l9a_1p2>; 899221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l18a_0p9>; 900221f0ef3SDmitry Baryshkov}; 901ece28cb5SKonrad Dybcio 902ece28cb5SKonrad Dybcio&venus { 903ece28cb5SKonrad Dybcio status = "okay"; 904ece28cb5SKonrad Dybcio}; 905ba23455eSKonrad Dybcio 906ba23455eSKonrad Dybcio&wsamacro { 907ba23455eSKonrad Dybcio status = "okay"; 908ba23455eSKonrad Dybcio}; 909