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"; 21*46b17dfdSNeil 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 { 529681db16aSDmitry Baryshkov xo-therm@4c { 530681db16aSDmitry Baryshkov reg = <ADC5_XO_THERM_100K_PU>; 531681db16aSDmitry Baryshkov qcom,ratiometric; 532681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 533681db16aSDmitry Baryshkov }; 534681db16aSDmitry Baryshkov 535681db16aSDmitry Baryshkov skin-therm@4d { 536681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 537681db16aSDmitry Baryshkov qcom,ratiometric; 538681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 539681db16aSDmitry Baryshkov }; 540681db16aSDmitry Baryshkov 541681db16aSDmitry Baryshkov pa-therm1@4e { 542681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 543681db16aSDmitry Baryshkov qcom,ratiometric; 544681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 545681db16aSDmitry Baryshkov }; 546681db16aSDmitry Baryshkov}; 547681db16aSDmitry Baryshkov 548681db16aSDmitry Baryshkov&pm8150_adc_tm { 549681db16aSDmitry Baryshkov status = "okay"; 550681db16aSDmitry Baryshkov 551681db16aSDmitry Baryshkov xo-therm@0 { 552681db16aSDmitry Baryshkov reg = <0>; 553681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 554681db16aSDmitry Baryshkov qcom,ratiometric; 555681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 556681db16aSDmitry Baryshkov }; 557681db16aSDmitry Baryshkov 558681db16aSDmitry Baryshkov skin-therm@1 { 559681db16aSDmitry Baryshkov reg = <1>; 560681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>; 561681db16aSDmitry Baryshkov qcom,ratiometric; 562681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 563681db16aSDmitry Baryshkov }; 564681db16aSDmitry Baryshkov 565681db16aSDmitry Baryshkov pa-therm1@2 { 566681db16aSDmitry Baryshkov reg = <2>; 567681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 568681db16aSDmitry Baryshkov qcom,ratiometric; 569681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 570681db16aSDmitry Baryshkov }; 571681db16aSDmitry Baryshkov}; 572681db16aSDmitry Baryshkov 573681db16aSDmitry Baryshkov&pm8150b_adc { 574681db16aSDmitry Baryshkov conn-therm@4f { 575681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 576681db16aSDmitry Baryshkov qcom,ratiometric; 577681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 578681db16aSDmitry Baryshkov }; 579681db16aSDmitry Baryshkov}; 580681db16aSDmitry Baryshkov 581681db16aSDmitry Baryshkov&pm8150b_adc_tm { 582681db16aSDmitry Baryshkov status = "okay"; 583681db16aSDmitry Baryshkov 584681db16aSDmitry Baryshkov conn-therm@0 { 585681db16aSDmitry Baryshkov reg = <0>; 586681db16aSDmitry Baryshkov io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 587681db16aSDmitry Baryshkov qcom,ratiometric; 588681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 589681db16aSDmitry Baryshkov }; 590681db16aSDmitry Baryshkov}; 591681db16aSDmitry Baryshkov 592681db16aSDmitry Baryshkov&pm8150l_adc_tm { 593681db16aSDmitry Baryshkov status = "okay"; 594681db16aSDmitry Baryshkov 595681db16aSDmitry Baryshkov camera-flash-therm@0 { 596681db16aSDmitry Baryshkov reg = <0>; 597681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>; 598681db16aSDmitry Baryshkov qcom,ratiometric; 599681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 600681db16aSDmitry Baryshkov }; 601681db16aSDmitry Baryshkov 602681db16aSDmitry Baryshkov skin-msm-therm@1 { 603681db16aSDmitry Baryshkov reg = <1>; 604681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 605681db16aSDmitry Baryshkov qcom,ratiometric; 606681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 607681db16aSDmitry Baryshkov }; 608681db16aSDmitry Baryshkov 609681db16aSDmitry Baryshkov pa-therm2@2 { 610681db16aSDmitry Baryshkov reg = <2>; 611681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 612681db16aSDmitry Baryshkov qcom,ratiometric; 613681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 614681db16aSDmitry Baryshkov }; 615681db16aSDmitry Baryshkov}; 616681db16aSDmitry Baryshkov 617681db16aSDmitry Baryshkov&pm8150l_adc { 618681db16aSDmitry Baryshkov camera-flash-therm@4d { 619681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 620681db16aSDmitry Baryshkov qcom,ratiometric; 621681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 622681db16aSDmitry Baryshkov }; 623681db16aSDmitry Baryshkov 624681db16aSDmitry Baryshkov skin-msm-therm@4e { 625681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 626681db16aSDmitry Baryshkov qcom,ratiometric; 627681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 628681db16aSDmitry Baryshkov }; 629681db16aSDmitry Baryshkov 630681db16aSDmitry Baryshkov pa-therm2@4f { 631681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 632681db16aSDmitry Baryshkov qcom,ratiometric; 633681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 634681db16aSDmitry Baryshkov }; 635681db16aSDmitry Baryshkov}; 636681db16aSDmitry Baryshkov 637c0011172SDmitry Baryshkov&qupv3_id_0 { 638c0011172SDmitry Baryshkov status = "okay"; 639c0011172SDmitry Baryshkov}; 640c0011172SDmitry Baryshkov 64160378f1aSVenkata Narendra Kumar Gutta&qupv3_id_1 { 64260378f1aSVenkata Narendra Kumar Gutta status = "okay"; 64360378f1aSVenkata Narendra Kumar Gutta}; 64460378f1aSVenkata Narendra Kumar Gutta 645c0011172SDmitry Baryshkov&qupv3_id_2 { 646c0011172SDmitry Baryshkov status = "okay"; 647c0011172SDmitry Baryshkov}; 648c0011172SDmitry Baryshkov 64918019eb6SDmitry Baryshkov&rxmacro { 65018019eb6SDmitry Baryshkov status = "okay"; 65118019eb6SDmitry Baryshkov}; 65218019eb6SDmitry Baryshkov 65323a89037SBjorn Andersson&slpi { 65423a89037SBjorn Andersson status = "okay"; 65523a89037SBjorn Andersson firmware-name = "qcom/sm8250/slpi.mbn"; 65623a89037SBjorn Andersson}; 65723a89037SBjorn Andersson 658fa244dcaSSrinivas Kandagatla&sound { 659fa244dcaSSrinivas Kandagatla compatible = "qcom,sm8250-sndcard"; 660fa244dcaSSrinivas Kandagatla model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC"; 661fa244dcaSSrinivas Kandagatla audio-routing = 662fa244dcaSSrinivas Kandagatla "SpkrLeft IN", "WSA_SPK1 OUT", 663fa244dcaSSrinivas Kandagatla "SpkrRight IN", "WSA_SPK2 OUT", 664fa244dcaSSrinivas Kandagatla "IN1_HPHL", "HPHL_OUT", 665fa244dcaSSrinivas Kandagatla "IN2_HPHR", "HPHR_OUT", 666fa244dcaSSrinivas Kandagatla "AMIC1", "MIC BIAS1", 667fa244dcaSSrinivas Kandagatla "AMIC2", "MIC BIAS2", 668fa244dcaSSrinivas Kandagatla "AMIC3", "MIC BIAS3", 669fa244dcaSSrinivas Kandagatla "AMIC4", "MIC BIAS3", 670fa244dcaSSrinivas Kandagatla "AMIC5", "MIC BIAS4", 671fa244dcaSSrinivas Kandagatla "TX SWR_ADC0", "ADC1_OUTPUT", 672fa244dcaSSrinivas Kandagatla "TX SWR_ADC1", "ADC2_OUTPUT", 673fa244dcaSSrinivas Kandagatla "TX SWR_ADC2", "ADC3_OUTPUT", 674fa244dcaSSrinivas Kandagatla "TX SWR_ADC3", "ADC4_OUTPUT", 675fa244dcaSSrinivas Kandagatla "TX SWR_DMIC0", "DMIC1_OUTPUT", 676fa244dcaSSrinivas Kandagatla "TX SWR_DMIC1", "DMIC2_OUTPUT", 677fa244dcaSSrinivas Kandagatla "TX SWR_DMIC2", "DMIC3_OUTPUT", 678fa244dcaSSrinivas Kandagatla "TX SWR_DMIC3", "DMIC4_OUTPUT", 679fa244dcaSSrinivas Kandagatla "TX SWR_DMIC4", "DMIC5_OUTPUT", 680fa244dcaSSrinivas Kandagatla "TX SWR_DMIC5", "DMIC6_OUTPUT", 681fa244dcaSSrinivas Kandagatla "TX SWR_DMIC6", "DMIC7_OUTPUT", 682fa244dcaSSrinivas Kandagatla "TX SWR_DMIC7", "DMIC8_OUTPUT"; 683fa244dcaSSrinivas Kandagatla 684fa244dcaSSrinivas Kandagatla mm1-dai-link { 685fa244dcaSSrinivas Kandagatla link-name = "MultiMedia1"; 686fa244dcaSSrinivas Kandagatla cpu { 687fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 688fa244dcaSSrinivas Kandagatla }; 689fa244dcaSSrinivas Kandagatla }; 690fa244dcaSSrinivas Kandagatla 691fa244dcaSSrinivas Kandagatla mm2-dai-link { 692fa244dcaSSrinivas Kandagatla link-name = "MultiMedia2"; 693fa244dcaSSrinivas Kandagatla cpu { 694fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 695fa244dcaSSrinivas Kandagatla }; 696fa244dcaSSrinivas Kandagatla }; 697fa244dcaSSrinivas Kandagatla 698fa244dcaSSrinivas Kandagatla mm3-dai-link { 699fa244dcaSSrinivas Kandagatla link-name = "MultiMedia3"; 700fa244dcaSSrinivas Kandagatla cpu { 701fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 702fa244dcaSSrinivas Kandagatla }; 703fa244dcaSSrinivas Kandagatla }; 704fa244dcaSSrinivas Kandagatla 705fa244dcaSSrinivas Kandagatla wcd-playback-dai-link { 706fa244dcaSSrinivas Kandagatla link-name = "WCD Playback"; 707fa244dcaSSrinivas Kandagatla cpu { 708fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>; 709fa244dcaSSrinivas Kandagatla }; 710fa244dcaSSrinivas Kandagatla codec { 711fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; 712fa244dcaSSrinivas Kandagatla }; 713fa244dcaSSrinivas Kandagatla platform { 714fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 715fa244dcaSSrinivas Kandagatla }; 716fa244dcaSSrinivas Kandagatla }; 717fa244dcaSSrinivas Kandagatla 718fa244dcaSSrinivas Kandagatla wcd-capture-dai-link { 719fa244dcaSSrinivas Kandagatla link-name = "WCD Capture"; 720fa244dcaSSrinivas Kandagatla cpu { 721fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai TX_CODEC_DMA_TX_3>; 722fa244dcaSSrinivas Kandagatla }; 723fa244dcaSSrinivas Kandagatla 724fa244dcaSSrinivas Kandagatla codec { 725fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; 726fa244dcaSSrinivas Kandagatla }; 727fa244dcaSSrinivas Kandagatla platform { 728fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 729fa244dcaSSrinivas Kandagatla }; 730fa244dcaSSrinivas Kandagatla }; 731fa244dcaSSrinivas Kandagatla 732fa244dcaSSrinivas Kandagatla wsa-dai-link { 733fa244dcaSSrinivas Kandagatla link-name = "WSA Playback"; 734fa244dcaSSrinivas Kandagatla cpu { 735fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 736fa244dcaSSrinivas Kandagatla }; 737fa244dcaSSrinivas Kandagatla 738fa244dcaSSrinivas Kandagatla codec { 739fa244dcaSSrinivas Kandagatla sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 740fa244dcaSSrinivas Kandagatla }; 741fa244dcaSSrinivas Kandagatla platform { 742fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 743fa244dcaSSrinivas Kandagatla }; 744fa244dcaSSrinivas Kandagatla }; 745fa244dcaSSrinivas Kandagatla 746fa244dcaSSrinivas Kandagatla va-dai-link { 747fa244dcaSSrinivas Kandagatla link-name = "VA Capture"; 748fa244dcaSSrinivas Kandagatla cpu { 749fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 750fa244dcaSSrinivas Kandagatla }; 751fa244dcaSSrinivas Kandagatla 752fa244dcaSSrinivas Kandagatla platform { 753fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 754fa244dcaSSrinivas Kandagatla }; 755fa244dcaSSrinivas Kandagatla 756fa244dcaSSrinivas Kandagatla codec { 757fa244dcaSSrinivas Kandagatla sound-dai = <&vamacro 0>; 758fa244dcaSSrinivas Kandagatla }; 759fa244dcaSSrinivas Kandagatla }; 760fa244dcaSSrinivas Kandagatla}; 761fa244dcaSSrinivas Kandagatla 7626fcda0b5SSrinivas Kandagatla&swr0 { 763ba23455eSKonrad Dybcio status = "okay"; 764ba23455eSKonrad Dybcio 765bd35f4b0SSrinivasa Rao Mandadapu left_spkr: speaker@0,3 { 7666fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7676fcda0b5SSrinivas Kandagatla reg = <0 3>; 7684ded9153SKrzysztof Kozlowski powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>; 7696fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7706fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrLeft"; 7716fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7726fcda0b5SSrinivas Kandagatla }; 7736fcda0b5SSrinivas Kandagatla 774bd35f4b0SSrinivasa Rao Mandadapu right_spkr: speaker@0,4 { 7756fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7766fcda0b5SSrinivas Kandagatla reg = <0 4>; 7774ded9153SKrzysztof Kozlowski powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>; 7786fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7796fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrRight"; 7806fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7816fcda0b5SSrinivas Kandagatla }; 7826fcda0b5SSrinivas Kandagatla}; 7836fcda0b5SSrinivas Kandagatla 7845a263cf6SSrinivas Kandagatla&swr1 { 78518019eb6SDmitry Baryshkov status = "okay"; 78618019eb6SDmitry Baryshkov 7875a263cf6SSrinivas Kandagatla wcd_rx: wcd9380-rx@0,4 { 7885a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 7895a263cf6SSrinivas Kandagatla reg = <0 4>; 7905a263cf6SSrinivas Kandagatla qcom,rx-port-mapping = <1 2 3 4 5>; 7915a263cf6SSrinivas Kandagatla }; 7925a263cf6SSrinivas Kandagatla}; 7935a263cf6SSrinivas Kandagatla 7945a263cf6SSrinivas Kandagatla&swr2 { 79518019eb6SDmitry Baryshkov status = "okay"; 79618019eb6SDmitry Baryshkov 7975a263cf6SSrinivas Kandagatla wcd_tx: wcd9380-tx@0,3 { 7985a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 7995a263cf6SSrinivas Kandagatla reg = <0 3>; 8005a263cf6SSrinivas Kandagatla qcom,tx-port-mapping = <2 3 4 5>; 8015a263cf6SSrinivas Kandagatla }; 8025a263cf6SSrinivas Kandagatla}; 8035a263cf6SSrinivas Kandagatla 80416951b49SBjorn Andersson&tlmm { 80516951b49SBjorn Andersson gpio-reserved-ranges = <28 4>, <40 4>; 8065a263cf6SSrinivas Kandagatla 807f7636174SKrzysztof Kozlowski wcd938x_reset_default: wcd938x-reset-default-state { 8085a263cf6SSrinivas Kandagatla pins = "gpio32"; 8095a263cf6SSrinivas Kandagatla function = "gpio"; 8105a263cf6SSrinivas Kandagatla drive-strength = <16>; 8115a263cf6SSrinivas Kandagatla output-high; 8125a263cf6SSrinivas Kandagatla }; 8135a263cf6SSrinivas Kandagatla 814f7636174SKrzysztof Kozlowski wcd938x_reset_sleep: wcd938x-reset-sleep-state { 8155a263cf6SSrinivas Kandagatla pins = "gpio32"; 8165a263cf6SSrinivas Kandagatla function = "gpio"; 8175a263cf6SSrinivas Kandagatla drive-strength = <16>; 8185a263cf6SSrinivas Kandagatla bias-disable; 8195a263cf6SSrinivas Kandagatla output-low; 8205a263cf6SSrinivas Kandagatla }; 8215a263cf6SSrinivas Kandagatla}; 82216951b49SBjorn Andersson 82318019eb6SDmitry Baryshkov&txmacro { 82418019eb6SDmitry Baryshkov status = "okay"; 82518019eb6SDmitry Baryshkov}; 82618019eb6SDmitry Baryshkov 827bb1dfb4dSManivannan Sadhasivam&uart12 { 82860378f1aSVenkata Narendra Kumar Gutta status = "okay"; 82960378f1aSVenkata Narendra Kumar Gutta}; 830b7e2fba0SBryan O'Donoghue 831b7e2fba0SBryan O'Donoghue&ufs_mem_hc { 832b7e2fba0SBryan O'Donoghue status = "okay"; 833b7e2fba0SBryan O'Donoghue 834b7e2fba0SBryan O'Donoghue vcc-supply = <&vreg_l17a_3p0>; 835b7e2fba0SBryan O'Donoghue vcc-max-microamp = <750000>; 836b7e2fba0SBryan O'Donoghue vccq-supply = <&vreg_l6a_1p2>; 837b7e2fba0SBryan O'Donoghue vccq-max-microamp = <700000>; 838b7e2fba0SBryan O'Donoghue vccq2-supply = <&vreg_s4a_1p8>; 839b7e2fba0SBryan O'Donoghue vccq2-max-microamp = <750000>; 840b7e2fba0SBryan O'Donoghue}; 841b7e2fba0SBryan O'Donoghue 842b7e2fba0SBryan O'Donoghue&ufs_mem_phy { 843b7e2fba0SBryan O'Donoghue status = "okay"; 844b7e2fba0SBryan O'Donoghue 845b7e2fba0SBryan O'Donoghue vdda-phy-supply = <&vreg_l5a_0p875>; 846b7e2fba0SBryan O'Donoghue vdda-pll-supply = <&vreg_l9a_1p2>; 847b7e2fba0SBryan O'Donoghue}; 848221f0ef3SDmitry Baryshkov 849221f0ef3SDmitry Baryshkov&usb_1 { 850221f0ef3SDmitry Baryshkov status = "okay"; 851221f0ef3SDmitry Baryshkov}; 852221f0ef3SDmitry Baryshkov 853221f0ef3SDmitry Baryshkov&usb_1_dwc3 { 854221f0ef3SDmitry Baryshkov dr_mode = "host"; 855221f0ef3SDmitry Baryshkov}; 856221f0ef3SDmitry Baryshkov 857221f0ef3SDmitry Baryshkov&usb_1_hsphy { 858221f0ef3SDmitry Baryshkov status = "okay"; 859221f0ef3SDmitry Baryshkov 860221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l5a_0p875>; 861221f0ef3SDmitry Baryshkov vdda18-supply = <&vreg_l12a_1p8>; 862221f0ef3SDmitry Baryshkov vdda33-supply = <&vreg_l2a_3p1>; 863221f0ef3SDmitry Baryshkov}; 864221f0ef3SDmitry Baryshkov 865221f0ef3SDmitry Baryshkov&usb_1_qmpphy { 866221f0ef3SDmitry Baryshkov status = "okay"; 867221f0ef3SDmitry Baryshkov 868221f0ef3SDmitry Baryshkov vdda-phy-supply = <&vreg_l9a_1p2>; 869221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l18a_0p9>; 870221f0ef3SDmitry Baryshkov}; 871221f0ef3SDmitry Baryshkov 872221f0ef3SDmitry Baryshkov&usb_2 { 873221f0ef3SDmitry Baryshkov status = "okay"; 874221f0ef3SDmitry Baryshkov}; 875221f0ef3SDmitry Baryshkov 876221f0ef3SDmitry Baryshkov&usb_2_dwc3 { 877221f0ef3SDmitry Baryshkov dr_mode = "host"; 878221f0ef3SDmitry Baryshkov}; 879221f0ef3SDmitry Baryshkov 880221f0ef3SDmitry Baryshkov&usb_2_hsphy { 881221f0ef3SDmitry Baryshkov status = "okay"; 882221f0ef3SDmitry Baryshkov 883221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l5a_0p875>; 884221f0ef3SDmitry Baryshkov vdda18-supply = <&vreg_l12a_1p8>; 885221f0ef3SDmitry Baryshkov vdda33-supply = <&vreg_l2a_3p1>; 886221f0ef3SDmitry Baryshkov}; 887221f0ef3SDmitry Baryshkov 888221f0ef3SDmitry Baryshkov&usb_2_qmpphy { 889221f0ef3SDmitry Baryshkov status = "okay"; 890221f0ef3SDmitry Baryshkov 891221f0ef3SDmitry Baryshkov vdda-phy-supply = <&vreg_l9a_1p2>; 892221f0ef3SDmitry Baryshkov vdda-pll-supply = <&vreg_l18a_0p9>; 893221f0ef3SDmitry Baryshkov}; 894ece28cb5SKonrad Dybcio 895ece28cb5SKonrad Dybcio&venus { 896ece28cb5SKonrad Dybcio status = "okay"; 897ece28cb5SKonrad Dybcio}; 898ba23455eSKonrad Dybcio 899ba23455eSKonrad Dybcio&wsamacro { 900ba23455eSKonrad Dybcio status = "okay"; 901ba23455eSKonrad Dybcio}; 902