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"; 2160378f1aSVenkata Narendra Kumar Gutta 2260378f1aSVenkata Narendra Kumar Gutta aliases { 23bb1dfb4dSManivannan Sadhasivam serial0 = &uart12; 2460378f1aSVenkata Narendra Kumar Gutta }; 2560378f1aSVenkata Narendra Kumar Gutta 2660378f1aSVenkata Narendra Kumar Gutta chosen { 2760378f1aSVenkata Narendra Kumar Gutta stdout-path = "serial0:115200n8"; 2860378f1aSVenkata Narendra Kumar Gutta }; 29ec13d5c2SBryan O'Donoghue 30681db16aSDmitry Baryshkov thermal-zones { 31681db16aSDmitry Baryshkov camera-thermal { 32681db16aSDmitry Baryshkov polling-delay-passive = <0>; 33681db16aSDmitry Baryshkov polling-delay = <0>; 34681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 0>; 35681db16aSDmitry Baryshkov 36681db16aSDmitry Baryshkov trips { 37681db16aSDmitry Baryshkov active-config0 { 38681db16aSDmitry Baryshkov temperature = <125000>; 39681db16aSDmitry Baryshkov hysteresis = <1000>; 40681db16aSDmitry Baryshkov type = "passive"; 41681db16aSDmitry Baryshkov }; 42681db16aSDmitry Baryshkov }; 43681db16aSDmitry Baryshkov }; 44681db16aSDmitry Baryshkov 45681db16aSDmitry Baryshkov conn-thermal { 46681db16aSDmitry Baryshkov polling-delay-passive = <0>; 47681db16aSDmitry Baryshkov polling-delay = <0>; 48681db16aSDmitry Baryshkov thermal-sensors = <&pm8150b_adc_tm 0>; 49681db16aSDmitry Baryshkov 50681db16aSDmitry Baryshkov trips { 51681db16aSDmitry Baryshkov active-config0 { 52681db16aSDmitry Baryshkov temperature = <125000>; 53681db16aSDmitry Baryshkov hysteresis = <1000>; 54681db16aSDmitry Baryshkov type = "passive"; 55681db16aSDmitry Baryshkov }; 56681db16aSDmitry Baryshkov }; 57681db16aSDmitry Baryshkov }; 58681db16aSDmitry Baryshkov 59681db16aSDmitry Baryshkov mmw-pa1-thermal { 60681db16aSDmitry Baryshkov polling-delay-passive = <0>; 61681db16aSDmitry Baryshkov polling-delay = <0>; 62681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 2>; 63681db16aSDmitry Baryshkov 64681db16aSDmitry Baryshkov trips { 65681db16aSDmitry Baryshkov active-config0 { 66681db16aSDmitry Baryshkov temperature = <125000>; 67681db16aSDmitry Baryshkov hysteresis = <1000>; 68681db16aSDmitry Baryshkov type = "passive"; 69681db16aSDmitry Baryshkov }; 70681db16aSDmitry Baryshkov }; 71681db16aSDmitry Baryshkov }; 72681db16aSDmitry Baryshkov 73681db16aSDmitry Baryshkov mmw-pa2-thermal { 74681db16aSDmitry Baryshkov polling-delay-passive = <0>; 75681db16aSDmitry Baryshkov polling-delay = <0>; 76681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 2>; 77681db16aSDmitry Baryshkov 78681db16aSDmitry Baryshkov trips { 79681db16aSDmitry Baryshkov active-config0 { 80681db16aSDmitry Baryshkov temperature = <125000>; 81681db16aSDmitry Baryshkov hysteresis = <1000>; 82681db16aSDmitry Baryshkov type = "passive"; 83681db16aSDmitry Baryshkov }; 84681db16aSDmitry Baryshkov }; 85681db16aSDmitry Baryshkov }; 86681db16aSDmitry Baryshkov 87681db16aSDmitry Baryshkov skin-msm-thermal { 88681db16aSDmitry Baryshkov polling-delay-passive = <0>; 89681db16aSDmitry Baryshkov polling-delay = <0>; 90681db16aSDmitry Baryshkov thermal-sensors = <&pm8150l_adc_tm 1>; 91681db16aSDmitry Baryshkov 92681db16aSDmitry Baryshkov trips { 93681db16aSDmitry Baryshkov active-config0 { 94681db16aSDmitry Baryshkov temperature = <125000>; 95681db16aSDmitry Baryshkov hysteresis = <1000>; 96681db16aSDmitry Baryshkov type = "passive"; 97681db16aSDmitry Baryshkov }; 98681db16aSDmitry Baryshkov }; 99681db16aSDmitry Baryshkov }; 100681db16aSDmitry Baryshkov 101681db16aSDmitry Baryshkov skin-thermal { 102681db16aSDmitry Baryshkov polling-delay-passive = <0>; 103681db16aSDmitry Baryshkov polling-delay = <0>; 104681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 1>; 105681db16aSDmitry Baryshkov 106681db16aSDmitry Baryshkov trips { 107681db16aSDmitry Baryshkov active-config0 { 108681db16aSDmitry Baryshkov temperature = <125000>; 109681db16aSDmitry Baryshkov hysteresis = <1000>; 110681db16aSDmitry Baryshkov type = "passive"; 111681db16aSDmitry Baryshkov }; 112681db16aSDmitry Baryshkov }; 113681db16aSDmitry Baryshkov }; 114681db16aSDmitry Baryshkov 115681db16aSDmitry Baryshkov xo-thermal { 116681db16aSDmitry Baryshkov polling-delay-passive = <0>; 117681db16aSDmitry Baryshkov polling-delay = <0>; 118681db16aSDmitry Baryshkov thermal-sensors = <&pm8150_adc_tm 0>; 119681db16aSDmitry Baryshkov 120681db16aSDmitry Baryshkov trips { 121681db16aSDmitry Baryshkov active-config0 { 122681db16aSDmitry Baryshkov temperature = <125000>; 123681db16aSDmitry Baryshkov hysteresis = <1000>; 124681db16aSDmitry Baryshkov type = "passive"; 125681db16aSDmitry Baryshkov }; 126681db16aSDmitry Baryshkov }; 127681db16aSDmitry Baryshkov }; 128681db16aSDmitry Baryshkov }; 129681db16aSDmitry Baryshkov 130ec13d5c2SBryan O'Donoghue vph_pwr: vph-pwr-regulator { 131ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 132ec13d5c2SBryan O'Donoghue regulator-name = "vph_pwr"; 133ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3700000>; 134ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3700000>; 135ec13d5c2SBryan O'Donoghue }; 136ec13d5c2SBryan O'Donoghue 137ec13d5c2SBryan O'Donoghue vreg_s4a_1p8: pm8150-s4 { 138ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 139ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s4a_1p8"; 140ec13d5c2SBryan O'Donoghue 141ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 142ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 143ec13d5c2SBryan O'Donoghue 144ec13d5c2SBryan O'Donoghue regulator-always-on; 145ec13d5c2SBryan O'Donoghue regulator-boot-on; 146ec13d5c2SBryan O'Donoghue 147ec13d5c2SBryan O'Donoghue vin-supply = <&vph_pwr>; 148ec13d5c2SBryan O'Donoghue }; 149ec13d5c2SBryan O'Donoghue 150ec13d5c2SBryan O'Donoghue vreg_s6c_0p88: smpc6-regulator { 151ec13d5c2SBryan O'Donoghue compatible = "regulator-fixed"; 152ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s6c_0p88"; 153ec13d5c2SBryan O'Donoghue 154ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <880000>; 155ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <880000>; 156ec13d5c2SBryan O'Donoghue regulator-always-on; 157ec13d5c2SBryan O'Donoghue vin-supply = <&vph_pwr>; 158ec13d5c2SBryan O'Donoghue }; 159ec13d5c2SBryan O'Donoghue}; 160ec13d5c2SBryan O'Donoghue 16123a89037SBjorn Andersson&adsp { 16223a89037SBjorn Andersson status = "okay"; 16323a89037SBjorn Andersson firmware-name = "qcom/sm8250/adsp.mbn"; 16423a89037SBjorn Andersson}; 16523a89037SBjorn Andersson 166ec13d5c2SBryan O'Donoghue&apps_rsc { 167ec13d5c2SBryan O'Donoghue pm8150-rpmh-regulators { 168ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8150-rpmh-regulators"; 169ec13d5c2SBryan O'Donoghue qcom,pmic-id = "a"; 170ec13d5c2SBryan O'Donoghue 171ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 172ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vph_pwr>; 173ec13d5c2SBryan O'Donoghue vdd-s3-supply = <&vph_pwr>; 174ec13d5c2SBryan O'Donoghue vdd-s4-supply = <&vph_pwr>; 175ec13d5c2SBryan O'Donoghue vdd-s5-supply = <&vph_pwr>; 176ec13d5c2SBryan O'Donoghue vdd-s6-supply = <&vph_pwr>; 177ec13d5c2SBryan O'Donoghue vdd-s7-supply = <&vph_pwr>; 178ec13d5c2SBryan O'Donoghue vdd-s8-supply = <&vph_pwr>; 179ec13d5c2SBryan O'Donoghue vdd-s9-supply = <&vph_pwr>; 180ec13d5c2SBryan O'Donoghue vdd-s10-supply = <&vph_pwr>; 181ec13d5c2SBryan O'Donoghue vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; 182ec13d5c2SBryan O'Donoghue vdd-l2-l10-supply = <&vreg_bob>; 183ec13d5c2SBryan O'Donoghue vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 184ec13d5c2SBryan O'Donoghue vdd-l6-l9-supply = <&vreg_s8c_1p3>; 185ec13d5c2SBryan O'Donoghue vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 186ec13d5c2SBryan O'Donoghue vdd-l13-l16-l17-supply = <&vreg_bob>; 187ec13d5c2SBryan O'Donoghue 188ec13d5c2SBryan O'Donoghue vreg_s5a_1p9: smps5 { 189ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s5a_1p9"; 190ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1904000>; 191ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2000000>; 192ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 193ec13d5c2SBryan O'Donoghue }; 194ec13d5c2SBryan O'Donoghue 195ec13d5c2SBryan O'Donoghue vreg_s6a_0p95: smps6 { 196ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s6a_0p95"; 197ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <920000>; 198ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1128000>; 199ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 200ec13d5c2SBryan O'Donoghue }; 201ec13d5c2SBryan O'Donoghue 202ec13d5c2SBryan O'Donoghue vreg_l2a_3p1: ldo2 { 203ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2a_3p1"; 204ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3072000>; 205ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3072000>; 206ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 207ec13d5c2SBryan O'Donoghue }; 208ec13d5c2SBryan O'Donoghue 209ec13d5c2SBryan O'Donoghue vreg_l3a_0p9: ldo3 { 210ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3a_0p9"; 211ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <928000>; 212ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <932000>; 213ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 214ec13d5c2SBryan O'Donoghue }; 215ec13d5c2SBryan O'Donoghue 216ec13d5c2SBryan O'Donoghue vreg_l5a_0p875: ldo5 { 217ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5a_0p875"; 218ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <880000>; 219ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <880000>; 220ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 221ec13d5c2SBryan O'Donoghue }; 222ec13d5c2SBryan O'Donoghue 223ec13d5c2SBryan O'Donoghue vreg_l6a_1p2: ldo6 { 224ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6a_1p2"; 225ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 226ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 227ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228ec13d5c2SBryan O'Donoghue }; 229ec13d5c2SBryan O'Donoghue 230ec13d5c2SBryan O'Donoghue vreg_l7a_1p7: ldo7 { 231ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7a_1p7"; 232ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1704000>; 233ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 234ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 235ec13d5c2SBryan O'Donoghue }; 236ec13d5c2SBryan O'Donoghue 237ec13d5c2SBryan O'Donoghue vreg_l9a_1p2: ldo9 { 238ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l9a_1p2"; 239ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 240ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 241ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 242ec13d5c2SBryan O'Donoghue }; 243ec13d5c2SBryan O'Donoghue 244ec13d5c2SBryan O'Donoghue vreg_l10a_1p8: ldo10 { 245ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l10a_1p8"; 246ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 247ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 248ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 249ec13d5c2SBryan O'Donoghue }; 250ec13d5c2SBryan O'Donoghue 251ec13d5c2SBryan O'Donoghue vreg_l12a_1p8: ldo12 { 252ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l12a_1p8"; 253ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 254ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 255ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 256ec13d5c2SBryan O'Donoghue }; 257ec13d5c2SBryan O'Donoghue 258ec13d5c2SBryan O'Donoghue vreg_l13a_ts_3p0: ldo13 { 259ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l13a_ts_3p0"; 260ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3008000>; 261ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3008000>; 262ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 263ec13d5c2SBryan O'Donoghue }; 264ec13d5c2SBryan O'Donoghue 265ec13d5c2SBryan O'Donoghue vreg_l14a_1p8: ldo14 { 266ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l14a_1p8"; 267ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 268ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1880000>; 269ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 270ec13d5c2SBryan O'Donoghue }; 271ec13d5c2SBryan O'Donoghue 272ec13d5c2SBryan O'Donoghue vreg_l15a_11ad_io_1p8: ldo15 { 273ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l15a_11ad_io_1p8"; 274ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 275ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 276ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277ec13d5c2SBryan O'Donoghue }; 278ec13d5c2SBryan O'Donoghue 279ec13d5c2SBryan O'Donoghue vreg_l16a_2p7: ldo16 { 280ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l16a_2p7"; 281ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2704000>; 282ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 283ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284ec13d5c2SBryan O'Donoghue }; 285ec13d5c2SBryan O'Donoghue 286ec13d5c2SBryan O'Donoghue vreg_l17a_3p0: ldo17 { 287ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l17a_3p0"; 288ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 289ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3008000>; 290ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291ec13d5c2SBryan O'Donoghue }; 292221f0ef3SDmitry Baryshkov 293221f0ef3SDmitry Baryshkov vreg_l18a_0p9: ldo18 { 294221f0ef3SDmitry Baryshkov regulator-name = "vreg_l18a_0p9"; 295221f0ef3SDmitry Baryshkov regulator-min-microvolt = <912000>; 296221f0ef3SDmitry Baryshkov regulator-max-microvolt = <912000>; 297221f0ef3SDmitry Baryshkov regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 298221f0ef3SDmitry Baryshkov }; 299ec13d5c2SBryan O'Donoghue }; 300ec13d5c2SBryan O'Donoghue 301ec13d5c2SBryan O'Donoghue pm8150l-rpmh-regulators { 302ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8150l-rpmh-regulators"; 303ec13d5c2SBryan O'Donoghue qcom,pmic-id = "c"; 304ec13d5c2SBryan O'Donoghue 305ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 306ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vph_pwr>; 307ec13d5c2SBryan O'Donoghue vdd-s3-supply = <&vph_pwr>; 308ec13d5c2SBryan O'Donoghue vdd-s4-supply = <&vph_pwr>; 309ec13d5c2SBryan O'Donoghue vdd-s5-supply = <&vph_pwr>; 310ec13d5c2SBryan O'Donoghue vdd-s6-supply = <&vph_pwr>; 311ec13d5c2SBryan O'Donoghue vdd-s7-supply = <&vph_pwr>; 312ec13d5c2SBryan O'Donoghue vdd-s8-supply = <&vph_pwr>; 313ec13d5c2SBryan O'Donoghue vdd-l1-l8-supply = <&vreg_s4a_1p8>; 314ec13d5c2SBryan O'Donoghue vdd-l2-l3-supply = <&vreg_s8c_1p3>; 315ec13d5c2SBryan O'Donoghue vdd-l4-l5-l6-supply = <&vreg_bob>; 316ec13d5c2SBryan O'Donoghue vdd-l7-l11-supply = <&vreg_bob>; 317ec13d5c2SBryan O'Donoghue vdd-l9-l10-supply = <&vreg_bob>; 318ec13d5c2SBryan O'Donoghue vdd-bob-supply = <&vph_pwr>; 319ec13d5c2SBryan O'Donoghue 320ec13d5c2SBryan O'Donoghue vreg_bob: bob { 321ec13d5c2SBryan O'Donoghue regulator-name = "vreg_bob"; 322ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3008000>; 323ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <4000000>; 324ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 325ec13d5c2SBryan O'Donoghue }; 326ec13d5c2SBryan O'Donoghue 327ec13d5c2SBryan O'Donoghue vreg_s8c_1p3: smps8 { 328ec13d5c2SBryan O'Donoghue regulator-name = "vreg_s8c_1p3"; 329ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1352000>; 330ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1352000>; 331ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 332ec13d5c2SBryan O'Donoghue }; 333ec13d5c2SBryan O'Donoghue 334ec13d5c2SBryan O'Donoghue vreg_l1c_1p8: ldo1 { 335ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l1c_1p8"; 336ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 337ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 338ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 339ec13d5c2SBryan O'Donoghue }; 340ec13d5c2SBryan O'Donoghue 341ec13d5c2SBryan O'Donoghue vreg_l2c_1p2: ldo2 { 342ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2c_1p2"; 343ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 344ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 345ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 346ec13d5c2SBryan O'Donoghue }; 347ec13d5c2SBryan O'Donoghue 348ec13d5c2SBryan O'Donoghue vreg_l3c_0p92: ldo3 { 349ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3c_0p92"; 350ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <920000>; 351ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <920000>; 352ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 353ec13d5c2SBryan O'Donoghue }; 354ec13d5c2SBryan O'Donoghue 355ec13d5c2SBryan O'Donoghue vreg_l4c_1p7: ldo4 { 356ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l4c_1p7"; 357ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1704000>; 358ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2928000>; 359ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 360ec13d5c2SBryan O'Donoghue }; 361ec13d5c2SBryan O'Donoghue 362ec13d5c2SBryan O'Donoghue vreg_l5c_1p8: ldo5 { 363ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5c_1p8"; 364ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 365ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2928000>; 366ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 367ec13d5c2SBryan O'Donoghue }; 368ec13d5c2SBryan O'Donoghue 369ec13d5c2SBryan O'Donoghue vreg_l6c_2p9: ldo6 { 370ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6c_2p9"; 371ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 372ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 373ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 374ec13d5c2SBryan O'Donoghue }; 375ec13d5c2SBryan O'Donoghue 376ec13d5c2SBryan O'Donoghue vreg_l7c_cam_vcm0_2p85: ldo7 { 377ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7c_cam_vcm0_2p85"; 378ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 379ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3104000>; 380ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 381ec13d5c2SBryan O'Donoghue }; 382ec13d5c2SBryan O'Donoghue 383ec13d5c2SBryan O'Donoghue vreg_l8c_1p8: ldo8 { 384ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l8c_1p8"; 385ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 386ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 387ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 388ec13d5c2SBryan O'Donoghue }; 389ec13d5c2SBryan O'Donoghue 390ec13d5c2SBryan O'Donoghue vreg_l9c_2p9: ldo9 { 391ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l9c_2p9"; 392ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2704000>; 393ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2960000>; 394ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 395ec13d5c2SBryan O'Donoghue }; 396ec13d5c2SBryan O'Donoghue 397ec13d5c2SBryan O'Donoghue vreg_l10c_3p0: ldo10 { 398ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l10c_3p0"; 399ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3000000>; 400ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3000000>; 401ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 402ec13d5c2SBryan O'Donoghue }; 403ec13d5c2SBryan O'Donoghue 404ec13d5c2SBryan O'Donoghue vreg_l11c_3p3: ldo11 { 405ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l11c_3p3"; 406ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <3000000>; 407ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <3312000>; 408ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 409ec13d5c2SBryan O'Donoghue }; 410ec13d5c2SBryan O'Donoghue }; 411ec13d5c2SBryan O'Donoghue 412ec13d5c2SBryan O'Donoghue pm8009-rpmh-regulators { 413ec13d5c2SBryan O'Donoghue compatible = "qcom,pm8009-rpmh-regulators"; 414ec13d5c2SBryan O'Donoghue qcom,pmic-id = "f"; 415ec13d5c2SBryan O'Donoghue 416ec13d5c2SBryan O'Donoghue vdd-s1-supply = <&vph_pwr>; 417ec13d5c2SBryan O'Donoghue vdd-s2-supply = <&vreg_bob>; 418ec13d5c2SBryan O'Donoghue vdd-l2-supply = <&vreg_s8c_1p3>; 419ec13d5c2SBryan O'Donoghue vdd-l5-l6-supply = <&vreg_bob>; 420ec13d5c2SBryan O'Donoghue vdd-l7-supply = <&vreg_s4a_1p8>; 421ec13d5c2SBryan O'Donoghue 422ec13d5c2SBryan O'Donoghue vreg_l1f_cam_dvdd1_1p1: ldo1 { 423ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l1f_cam_dvdd1_1p1"; 424ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1104000>; 425ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1104000>; 426ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 427ec13d5c2SBryan O'Donoghue }; 428ec13d5c2SBryan O'Donoghue 429ec13d5c2SBryan O'Donoghue vreg_l2f_cam_dvdd0_1p2: ldo2 { 430ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l2f_cam_dvdd0_1p2"; 431ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1200000>; 432ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1200000>; 433ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 434ec13d5c2SBryan O'Donoghue }; 435ec13d5c2SBryan O'Donoghue 436ec13d5c2SBryan O'Donoghue vreg_l3f_cam_dvdd2_1p05: ldo3 { 437ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l3f_cam_dvdd2_1p05"; 438ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1056000>; 439ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1056000>; 440ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 441ec13d5c2SBryan O'Donoghue }; 442ec13d5c2SBryan O'Donoghue 443ec13d5c2SBryan O'Donoghue vreg_l5f_cam_avdd0_2p85: ldo5 { 444ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l5f_cam_avdd0_2p85"; 445ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2800000>; 446ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2800000>; 447ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 448ec13d5c2SBryan O'Donoghue }; 449ec13d5c2SBryan O'Donoghue 450ec13d5c2SBryan O'Donoghue vreg_l6f_cam_avdd1_2p85: ldo6 { 451ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l6f_cam_avdd1_2p85"; 452ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <2856000>; 453ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <2856000>; 454ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 455ec13d5c2SBryan O'Donoghue }; 456ec13d5c2SBryan O'Donoghue 457ec13d5c2SBryan O'Donoghue vreg_l7f_1p8: ldo7 { 458ec13d5c2SBryan O'Donoghue regulator-name = "vreg_l7f_1p8"; 459ec13d5c2SBryan O'Donoghue regulator-min-microvolt = <1800000>; 460ec13d5c2SBryan O'Donoghue regulator-max-microvolt = <1800000>; 461ec13d5c2SBryan O'Donoghue regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 462ec13d5c2SBryan O'Donoghue }; 463ec13d5c2SBryan O'Donoghue }; 46460378f1aSVenkata Narendra Kumar Gutta}; 46560378f1aSVenkata Narendra Kumar Gutta 46623a89037SBjorn Andersson&cdsp { 46723a89037SBjorn Andersson status = "okay"; 46823a89037SBjorn Andersson firmware-name = "qcom/sm8250/cdsp.mbn"; 46923a89037SBjorn Andersson}; 47023a89037SBjorn Andersson 471ece28cb5SKonrad Dybcio&gmu { 472ece28cb5SKonrad Dybcio status = "okay"; 473ece28cb5SKonrad Dybcio}; 474ece28cb5SKonrad Dybcio 4759e301a54SDmitry Baryshkov&gpu { 476ece28cb5SKonrad Dybcio status = "okay"; 477ece28cb5SKonrad Dybcio 4789e301a54SDmitry Baryshkov zap-shader { 4799e301a54SDmitry Baryshkov memory-region = <&gpu_mem>; 4809e301a54SDmitry Baryshkov firmware-name = "qcom/sm8250/a650_zap.mbn"; 4819e301a54SDmitry Baryshkov }; 4829e301a54SDmitry Baryshkov}; 4839e301a54SDmitry Baryshkov 484c0011172SDmitry Baryshkov&i2c1 { 485c0011172SDmitry Baryshkov status = "okay"; 486c0011172SDmitry Baryshkov clock-frequency = <1000000>; 487c0011172SDmitry Baryshkov 488c0011172SDmitry Baryshkov /* NQ NFC chip @28 */ 489c0011172SDmitry Baryshkov}; 490c0011172SDmitry Baryshkov 491c0011172SDmitry Baryshkov&i2c13 { 492c0011172SDmitry Baryshkov status = "okay"; 493c0011172SDmitry Baryshkov 494c0011172SDmitry Baryshkov /* st,stmfts @ 49 */ 495c0011172SDmitry Baryshkov}; 496c0011172SDmitry Baryshkov 497c0011172SDmitry Baryshkov&i2c15 { 498c0011172SDmitry Baryshkov status = "okay"; 499c0011172SDmitry Baryshkov 500c0011172SDmitry Baryshkov /* smb1390 @ 10 */ 501c0011172SDmitry Baryshkov /* rtc6226 @ 64 */ 502c0011172SDmitry Baryshkov}; 503c0011172SDmitry Baryshkov 504681db16aSDmitry Baryshkov&pm8150_adc { 505681db16aSDmitry Baryshkov xo-therm@4c { 506681db16aSDmitry Baryshkov reg = <ADC5_XO_THERM_100K_PU>; 507681db16aSDmitry Baryshkov qcom,ratiometric; 508681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 509681db16aSDmitry Baryshkov }; 510681db16aSDmitry Baryshkov 511681db16aSDmitry Baryshkov skin-therm@4d { 512681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 513681db16aSDmitry Baryshkov qcom,ratiometric; 514681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 515681db16aSDmitry Baryshkov }; 516681db16aSDmitry Baryshkov 517681db16aSDmitry Baryshkov pa-therm1@4e { 518681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 519681db16aSDmitry Baryshkov qcom,ratiometric; 520681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 521681db16aSDmitry Baryshkov }; 522681db16aSDmitry Baryshkov}; 523681db16aSDmitry Baryshkov 524681db16aSDmitry Baryshkov&pm8150_adc_tm { 525681db16aSDmitry Baryshkov status = "okay"; 526681db16aSDmitry Baryshkov 527681db16aSDmitry Baryshkov xo-therm@0 { 528681db16aSDmitry Baryshkov reg = <0>; 529681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 530681db16aSDmitry Baryshkov qcom,ratiometric; 531681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 532681db16aSDmitry Baryshkov }; 533681db16aSDmitry Baryshkov 534681db16aSDmitry Baryshkov skin-therm@1 { 535681db16aSDmitry Baryshkov reg = <1>; 536681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>; 537681db16aSDmitry Baryshkov qcom,ratiometric; 538681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 539681db16aSDmitry Baryshkov }; 540681db16aSDmitry Baryshkov 541681db16aSDmitry Baryshkov pa-therm1@2 { 542681db16aSDmitry Baryshkov reg = <2>; 543681db16aSDmitry Baryshkov io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 544681db16aSDmitry Baryshkov qcom,ratiometric; 545681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 546681db16aSDmitry Baryshkov }; 547681db16aSDmitry Baryshkov}; 548681db16aSDmitry Baryshkov 549681db16aSDmitry Baryshkov&pm8150b_adc { 550681db16aSDmitry Baryshkov conn-therm@4f { 551681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 552681db16aSDmitry Baryshkov qcom,ratiometric; 553681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 554681db16aSDmitry Baryshkov }; 555681db16aSDmitry Baryshkov}; 556681db16aSDmitry Baryshkov 557681db16aSDmitry Baryshkov&pm8150b_adc_tm { 558681db16aSDmitry Baryshkov status = "okay"; 559681db16aSDmitry Baryshkov 560681db16aSDmitry Baryshkov conn-therm@0 { 561681db16aSDmitry Baryshkov reg = <0>; 562681db16aSDmitry Baryshkov io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 563681db16aSDmitry Baryshkov qcom,ratiometric; 564681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 565681db16aSDmitry Baryshkov }; 566681db16aSDmitry Baryshkov}; 567681db16aSDmitry Baryshkov 568681db16aSDmitry Baryshkov&pm8150l_adc_tm { 569681db16aSDmitry Baryshkov status = "okay"; 570681db16aSDmitry Baryshkov 571681db16aSDmitry Baryshkov camera-flash-therm@0 { 572681db16aSDmitry Baryshkov reg = <0>; 573681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>; 574681db16aSDmitry Baryshkov qcom,ratiometric; 575681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 576681db16aSDmitry Baryshkov }; 577681db16aSDmitry Baryshkov 578681db16aSDmitry Baryshkov skin-msm-therm@1 { 579681db16aSDmitry Baryshkov reg = <1>; 580681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 581681db16aSDmitry Baryshkov qcom,ratiometric; 582681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 583681db16aSDmitry Baryshkov }; 584681db16aSDmitry Baryshkov 585681db16aSDmitry Baryshkov pa-therm2@2 { 586681db16aSDmitry Baryshkov reg = <2>; 587681db16aSDmitry Baryshkov io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 588681db16aSDmitry Baryshkov qcom,ratiometric; 589681db16aSDmitry Baryshkov qcom,hw-settle-time-us = <200>; 590681db16aSDmitry Baryshkov }; 591681db16aSDmitry Baryshkov}; 592681db16aSDmitry Baryshkov 593681db16aSDmitry Baryshkov&pm8150l_adc { 594681db16aSDmitry Baryshkov camera-flash-therm@4d { 595681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM1_100K_PU>; 596681db16aSDmitry Baryshkov qcom,ratiometric; 597681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 598681db16aSDmitry Baryshkov }; 599681db16aSDmitry Baryshkov 600681db16aSDmitry Baryshkov skin-msm-therm@4e { 601681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM2_100K_PU>; 602681db16aSDmitry Baryshkov qcom,ratiometric; 603681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 604681db16aSDmitry Baryshkov }; 605681db16aSDmitry Baryshkov 606681db16aSDmitry Baryshkov pa-therm2@4f { 607681db16aSDmitry Baryshkov reg = <ADC5_AMUX_THM3_100K_PU>; 608681db16aSDmitry Baryshkov qcom,ratiometric; 609681db16aSDmitry Baryshkov qcom,hw-settle-time = <200>; 610681db16aSDmitry Baryshkov }; 611681db16aSDmitry Baryshkov}; 612681db16aSDmitry Baryshkov 613c0011172SDmitry Baryshkov&qupv3_id_0 { 614c0011172SDmitry Baryshkov status = "okay"; 615c0011172SDmitry Baryshkov}; 616c0011172SDmitry Baryshkov 61760378f1aSVenkata Narendra Kumar Gutta&qupv3_id_1 { 61860378f1aSVenkata Narendra Kumar Gutta status = "okay"; 61960378f1aSVenkata Narendra Kumar Gutta}; 62060378f1aSVenkata Narendra Kumar Gutta 621c0011172SDmitry Baryshkov&qupv3_id_2 { 622c0011172SDmitry Baryshkov status = "okay"; 623c0011172SDmitry Baryshkov}; 624c0011172SDmitry Baryshkov 625*18019eb6SDmitry Baryshkov&rxmacro { 626*18019eb6SDmitry Baryshkov status = "okay"; 627*18019eb6SDmitry Baryshkov}; 628*18019eb6SDmitry Baryshkov 62923a89037SBjorn Andersson&slpi { 63023a89037SBjorn Andersson status = "okay"; 63123a89037SBjorn Andersson firmware-name = "qcom/sm8250/slpi.mbn"; 63223a89037SBjorn Andersson}; 63323a89037SBjorn Andersson 6345a263cf6SSrinivas Kandagatla&soc { 6355a263cf6SSrinivas Kandagatla wcd938x: codec { 6365a263cf6SSrinivas Kandagatla compatible = "qcom,wcd9380-codec"; 6375a263cf6SSrinivas Kandagatla #sound-dai-cells = <1>; 6385a263cf6SSrinivas Kandagatla reset-gpios = <&tlmm 32 0>; 6395a263cf6SSrinivas Kandagatla vdd-buck-supply = <&vreg_s4a_1p8>; 6405a263cf6SSrinivas Kandagatla vdd-rxtx-supply = <&vreg_s4a_1p8>; 6415a263cf6SSrinivas Kandagatla vdd-io-supply = <&vreg_s4a_1p8>; 6425a263cf6SSrinivas Kandagatla vdd-mic-bias-supply = <&vreg_bob>; 6435a263cf6SSrinivas Kandagatla qcom,micbias1-microvolt = <1800000>; 6445a263cf6SSrinivas Kandagatla qcom,micbias2-microvolt = <1800000>; 6455a263cf6SSrinivas Kandagatla qcom,micbias3-microvolt = <1800000>; 6465a263cf6SSrinivas Kandagatla qcom,micbias4-microvolt = <1800000>; 6475a263cf6SSrinivas Kandagatla qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 6485a263cf6SSrinivas Kandagatla qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 6495a263cf6SSrinivas Kandagatla qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 6505a263cf6SSrinivas Kandagatla qcom,rx-device = <&wcd_rx>; 6515a263cf6SSrinivas Kandagatla qcom,tx-device = <&wcd_tx>; 6525a263cf6SSrinivas Kandagatla }; 6535a263cf6SSrinivas Kandagatla}; 6545a263cf6SSrinivas Kandagatla 655fa244dcaSSrinivas Kandagatla&sound { 656fa244dcaSSrinivas Kandagatla compatible = "qcom,sm8250-sndcard"; 657fa244dcaSSrinivas Kandagatla model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC"; 658fa244dcaSSrinivas Kandagatla audio-routing = 659fa244dcaSSrinivas Kandagatla "SpkrLeft IN", "WSA_SPK1 OUT", 660fa244dcaSSrinivas Kandagatla "SpkrRight IN", "WSA_SPK2 OUT", 661fa244dcaSSrinivas Kandagatla "IN1_HPHL", "HPHL_OUT", 662fa244dcaSSrinivas Kandagatla "IN2_HPHR", "HPHR_OUT", 663fa244dcaSSrinivas Kandagatla "AMIC1", "MIC BIAS1", 664fa244dcaSSrinivas Kandagatla "AMIC2", "MIC BIAS2", 665fa244dcaSSrinivas Kandagatla "AMIC3", "MIC BIAS3", 666fa244dcaSSrinivas Kandagatla "AMIC4", "MIC BIAS3", 667fa244dcaSSrinivas Kandagatla "AMIC5", "MIC BIAS4", 668fa244dcaSSrinivas Kandagatla "TX SWR_ADC0", "ADC1_OUTPUT", 669fa244dcaSSrinivas Kandagatla "TX SWR_ADC1", "ADC2_OUTPUT", 670fa244dcaSSrinivas Kandagatla "TX SWR_ADC2", "ADC3_OUTPUT", 671fa244dcaSSrinivas Kandagatla "TX SWR_ADC3", "ADC4_OUTPUT", 672fa244dcaSSrinivas Kandagatla "TX SWR_DMIC0", "DMIC1_OUTPUT", 673fa244dcaSSrinivas Kandagatla "TX SWR_DMIC1", "DMIC2_OUTPUT", 674fa244dcaSSrinivas Kandagatla "TX SWR_DMIC2", "DMIC3_OUTPUT", 675fa244dcaSSrinivas Kandagatla "TX SWR_DMIC3", "DMIC4_OUTPUT", 676fa244dcaSSrinivas Kandagatla "TX SWR_DMIC4", "DMIC5_OUTPUT", 677fa244dcaSSrinivas Kandagatla "TX SWR_DMIC5", "DMIC6_OUTPUT", 678fa244dcaSSrinivas Kandagatla "TX SWR_DMIC6", "DMIC7_OUTPUT", 679fa244dcaSSrinivas Kandagatla "TX SWR_DMIC7", "DMIC8_OUTPUT"; 680fa244dcaSSrinivas Kandagatla 681fa244dcaSSrinivas Kandagatla mm1-dai-link { 682fa244dcaSSrinivas Kandagatla link-name = "MultiMedia1"; 683fa244dcaSSrinivas Kandagatla cpu { 684fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 685fa244dcaSSrinivas Kandagatla }; 686fa244dcaSSrinivas Kandagatla }; 687fa244dcaSSrinivas Kandagatla 688fa244dcaSSrinivas Kandagatla mm2-dai-link { 689fa244dcaSSrinivas Kandagatla link-name = "MultiMedia2"; 690fa244dcaSSrinivas Kandagatla cpu { 691fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 692fa244dcaSSrinivas Kandagatla }; 693fa244dcaSSrinivas Kandagatla }; 694fa244dcaSSrinivas Kandagatla 695fa244dcaSSrinivas Kandagatla mm3-dai-link { 696fa244dcaSSrinivas Kandagatla link-name = "MultiMedia3"; 697fa244dcaSSrinivas Kandagatla cpu { 698fa244dcaSSrinivas Kandagatla sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 699fa244dcaSSrinivas Kandagatla }; 700fa244dcaSSrinivas Kandagatla }; 701fa244dcaSSrinivas Kandagatla 702fa244dcaSSrinivas Kandagatla wcd-playback-dai-link { 703fa244dcaSSrinivas Kandagatla link-name = "WCD Playback"; 704fa244dcaSSrinivas Kandagatla cpu { 705fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>; 706fa244dcaSSrinivas Kandagatla }; 707fa244dcaSSrinivas Kandagatla codec { 708fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; 709fa244dcaSSrinivas Kandagatla }; 710fa244dcaSSrinivas Kandagatla platform { 711fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 712fa244dcaSSrinivas Kandagatla }; 713fa244dcaSSrinivas Kandagatla }; 714fa244dcaSSrinivas Kandagatla 715fa244dcaSSrinivas Kandagatla wcd-capture-dai-link { 716fa244dcaSSrinivas Kandagatla link-name = "WCD Capture"; 717fa244dcaSSrinivas Kandagatla cpu { 718fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai TX_CODEC_DMA_TX_3>; 719fa244dcaSSrinivas Kandagatla }; 720fa244dcaSSrinivas Kandagatla 721fa244dcaSSrinivas Kandagatla codec { 722fa244dcaSSrinivas Kandagatla sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; 723fa244dcaSSrinivas Kandagatla }; 724fa244dcaSSrinivas Kandagatla platform { 725fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 726fa244dcaSSrinivas Kandagatla }; 727fa244dcaSSrinivas Kandagatla }; 728fa244dcaSSrinivas Kandagatla 729fa244dcaSSrinivas Kandagatla wsa-dai-link { 730fa244dcaSSrinivas Kandagatla link-name = "WSA Playback"; 731fa244dcaSSrinivas Kandagatla cpu { 732fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 733fa244dcaSSrinivas Kandagatla }; 734fa244dcaSSrinivas Kandagatla 735fa244dcaSSrinivas Kandagatla codec { 736fa244dcaSSrinivas Kandagatla sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 737fa244dcaSSrinivas Kandagatla }; 738fa244dcaSSrinivas Kandagatla platform { 739fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 740fa244dcaSSrinivas Kandagatla }; 741fa244dcaSSrinivas Kandagatla }; 742fa244dcaSSrinivas Kandagatla 743fa244dcaSSrinivas Kandagatla va-dai-link { 744fa244dcaSSrinivas Kandagatla link-name = "VA Capture"; 745fa244dcaSSrinivas Kandagatla cpu { 746fa244dcaSSrinivas Kandagatla sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 747fa244dcaSSrinivas Kandagatla }; 748fa244dcaSSrinivas Kandagatla 749fa244dcaSSrinivas Kandagatla platform { 750fa244dcaSSrinivas Kandagatla sound-dai = <&q6routing>; 751fa244dcaSSrinivas Kandagatla }; 752fa244dcaSSrinivas Kandagatla 753fa244dcaSSrinivas Kandagatla codec { 754fa244dcaSSrinivas Kandagatla sound-dai = <&vamacro 0>; 755fa244dcaSSrinivas Kandagatla }; 756fa244dcaSSrinivas Kandagatla }; 757fa244dcaSSrinivas Kandagatla}; 758fa244dcaSSrinivas Kandagatla 7596fcda0b5SSrinivas Kandagatla&swr0 { 7606fcda0b5SSrinivas Kandagatla left_spkr: wsa8810-right@0,3{ 7616fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7626fcda0b5SSrinivas Kandagatla reg = <0 3>; 7636fcda0b5SSrinivas Kandagatla powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>; 7646fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7656fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrLeft"; 7666fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7676fcda0b5SSrinivas Kandagatla }; 7686fcda0b5SSrinivas Kandagatla 7696fcda0b5SSrinivas Kandagatla right_spkr: wsa8810-left@0,4{ 7706fcda0b5SSrinivas Kandagatla compatible = "sdw10217211000"; 7716fcda0b5SSrinivas Kandagatla reg = <0 4>; 7726fcda0b5SSrinivas Kandagatla powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>; 7736fcda0b5SSrinivas Kandagatla #thermal-sensor-cells = <0>; 7746fcda0b5SSrinivas Kandagatla sound-name-prefix = "SpkrRight"; 7756fcda0b5SSrinivas Kandagatla #sound-dai-cells = <0>; 7766fcda0b5SSrinivas Kandagatla }; 7776fcda0b5SSrinivas Kandagatla}; 7786fcda0b5SSrinivas Kandagatla 7795a263cf6SSrinivas Kandagatla&swr1 { 780*18019eb6SDmitry Baryshkov status = "okay"; 781*18019eb6SDmitry Baryshkov 7825a263cf6SSrinivas Kandagatla wcd_rx: wcd9380-rx@0,4 { 7835a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 7845a263cf6SSrinivas Kandagatla reg = <0 4>; 7855a263cf6SSrinivas Kandagatla qcom,rx-port-mapping = <1 2 3 4 5>; 7865a263cf6SSrinivas Kandagatla }; 7875a263cf6SSrinivas Kandagatla}; 7885a263cf6SSrinivas Kandagatla 7895a263cf6SSrinivas Kandagatla&swr2 { 790*18019eb6SDmitry Baryshkov status = "okay"; 791*18019eb6SDmitry Baryshkov 7925a263cf6SSrinivas Kandagatla wcd_tx: wcd9380-tx@0,3 { 7935a263cf6SSrinivas Kandagatla compatible = "sdw20217010d00"; 7945a263cf6SSrinivas Kandagatla reg = <0 3>; 7955a263cf6SSrinivas Kandagatla qcom,tx-port-mapping = <2 3 4 5>; 7965a263cf6SSrinivas Kandagatla }; 7975a263cf6SSrinivas Kandagatla}; 7985a263cf6SSrinivas Kandagatla 79916951b49SBjorn Andersson&tlmm { 80016951b49SBjorn Andersson gpio-reserved-ranges = <28 4>, <40 4>; 8015a263cf6SSrinivas Kandagatla 8025a263cf6SSrinivas Kandagatla wcd938x_reset_default: wcd938x_reset_default { 8035a263cf6SSrinivas Kandagatla mux { 8045a263cf6SSrinivas Kandagatla pins = "gpio32"; 8055a263cf6SSrinivas Kandagatla function = "gpio"; 8065a263cf6SSrinivas Kandagatla }; 8075a263cf6SSrinivas Kandagatla 8085a263cf6SSrinivas Kandagatla config { 8095a263cf6SSrinivas Kandagatla pins = "gpio32"; 8105a263cf6SSrinivas Kandagatla drive-strength = <16>; 8115a263cf6SSrinivas Kandagatla output-high; 8125a263cf6SSrinivas Kandagatla }; 8135a263cf6SSrinivas Kandagatla }; 8145a263cf6SSrinivas Kandagatla 8155a263cf6SSrinivas Kandagatla wcd938x_reset_sleep: wcd938x_reset_sleep { 8165a263cf6SSrinivas Kandagatla mux { 8175a263cf6SSrinivas Kandagatla pins = "gpio32"; 8185a263cf6SSrinivas Kandagatla function = "gpio"; 8195a263cf6SSrinivas Kandagatla }; 8205a263cf6SSrinivas Kandagatla 8215a263cf6SSrinivas Kandagatla config { 8225a263cf6SSrinivas Kandagatla pins = "gpio32"; 8235a263cf6SSrinivas Kandagatla drive-strength = <16>; 8245a263cf6SSrinivas Kandagatla bias-disable; 8255a263cf6SSrinivas Kandagatla output-low; 8265a263cf6SSrinivas Kandagatla }; 8275a263cf6SSrinivas Kandagatla }; 82816951b49SBjorn Andersson}; 82916951b49SBjorn Andersson 830*18019eb6SDmitry Baryshkov&txmacro { 831*18019eb6SDmitry Baryshkov status = "okay"; 832*18019eb6SDmitry Baryshkov}; 833*18019eb6SDmitry 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}; 905