1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (c) 2020, The Linux Foundation. All rights reserved. 4c66ec88fSEmmanuel Vadot */ 5c66ec88fSEmmanuel Vadot 6c66ec88fSEmmanuel Vadot/dts-v1/; 7c66ec88fSEmmanuel Vadot 8c66ec88fSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9e67e8565SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h> 10e67e8565SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h> 11e67e8565SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 12c66ec88fSEmmanuel Vadot#include "sm8250.dtsi" 13c66ec88fSEmmanuel Vadot#include "pm8150.dtsi" 14c66ec88fSEmmanuel Vadot#include "pm8150b.dtsi" 15c66ec88fSEmmanuel Vadot#include "pm8150l.dtsi" 16c66ec88fSEmmanuel Vadot#include "pm8009.dtsi" 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot/ { 19c66ec88fSEmmanuel Vadot model = "Qualcomm Technologies, Inc. SM8250 MTP"; 205def4c47SEmmanuel Vadot compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 21*aa1a8ff2SEmmanuel Vadot chassis-type = "handset"; 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot aliases { 246be33864SEmmanuel Vadot serial0 = &uart12; 25c66ec88fSEmmanuel Vadot }; 26c66ec88fSEmmanuel Vadot 27cb7aa33aSEmmanuel Vadot wcd938x: audio-codec { 28cb7aa33aSEmmanuel Vadot compatible = "qcom,wcd9380-codec"; 29cb7aa33aSEmmanuel Vadot 30cb7aa33aSEmmanuel Vadot reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>; 31cb7aa33aSEmmanuel Vadot 32cb7aa33aSEmmanuel Vadot vdd-buck-supply = <&vreg_s4a_1p8>; 33cb7aa33aSEmmanuel Vadot vdd-rxtx-supply = <&vreg_s4a_1p8>; 34cb7aa33aSEmmanuel Vadot vdd-io-supply = <&vreg_s4a_1p8>; 35cb7aa33aSEmmanuel Vadot vdd-mic-bias-supply = <&vreg_bob>; 36cb7aa33aSEmmanuel Vadot 37cb7aa33aSEmmanuel Vadot qcom,micbias1-microvolt = <1800000>; 38cb7aa33aSEmmanuel Vadot qcom,micbias2-microvolt = <1800000>; 39cb7aa33aSEmmanuel Vadot qcom,micbias3-microvolt = <1800000>; 40cb7aa33aSEmmanuel Vadot qcom,micbias4-microvolt = <1800000>; 41cb7aa33aSEmmanuel Vadot qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 42cb7aa33aSEmmanuel Vadot qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 43cb7aa33aSEmmanuel Vadot qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 44cb7aa33aSEmmanuel Vadot qcom,rx-device = <&wcd_rx>; 45cb7aa33aSEmmanuel Vadot qcom,tx-device = <&wcd_tx>; 46cb7aa33aSEmmanuel Vadot 47cb7aa33aSEmmanuel Vadot #sound-dai-cells = <1>; 48cb7aa33aSEmmanuel Vadot }; 49cb7aa33aSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot chosen { 51c66ec88fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot 545def4c47SEmmanuel Vadot thermal-zones { 555def4c47SEmmanuel Vadot camera-thermal { 565def4c47SEmmanuel Vadot thermal-sensors = <&pm8150l_adc_tm 0>; 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadot trips { 595def4c47SEmmanuel Vadot active-config0 { 605def4c47SEmmanuel Vadot temperature = <125000>; 615def4c47SEmmanuel Vadot hysteresis = <1000>; 625def4c47SEmmanuel Vadot type = "passive"; 635def4c47SEmmanuel Vadot }; 645def4c47SEmmanuel Vadot }; 655def4c47SEmmanuel Vadot }; 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot conn-thermal { 685def4c47SEmmanuel Vadot thermal-sensors = <&pm8150b_adc_tm 0>; 695def4c47SEmmanuel Vadot 705def4c47SEmmanuel Vadot trips { 715def4c47SEmmanuel Vadot active-config0 { 725def4c47SEmmanuel Vadot temperature = <125000>; 735def4c47SEmmanuel Vadot hysteresis = <1000>; 745def4c47SEmmanuel Vadot type = "passive"; 755def4c47SEmmanuel Vadot }; 765def4c47SEmmanuel Vadot }; 775def4c47SEmmanuel Vadot }; 785def4c47SEmmanuel Vadot 795def4c47SEmmanuel Vadot mmw-pa1-thermal { 805def4c47SEmmanuel Vadot thermal-sensors = <&pm8150_adc_tm 2>; 815def4c47SEmmanuel Vadot 825def4c47SEmmanuel Vadot trips { 835def4c47SEmmanuel Vadot active-config0 { 845def4c47SEmmanuel Vadot temperature = <125000>; 855def4c47SEmmanuel Vadot hysteresis = <1000>; 865def4c47SEmmanuel Vadot type = "passive"; 875def4c47SEmmanuel Vadot }; 885def4c47SEmmanuel Vadot }; 895def4c47SEmmanuel Vadot }; 905def4c47SEmmanuel Vadot 915def4c47SEmmanuel Vadot mmw-pa2-thermal { 925def4c47SEmmanuel Vadot thermal-sensors = <&pm8150l_adc_tm 2>; 935def4c47SEmmanuel Vadot 945def4c47SEmmanuel Vadot trips { 955def4c47SEmmanuel Vadot active-config0 { 965def4c47SEmmanuel Vadot temperature = <125000>; 975def4c47SEmmanuel Vadot hysteresis = <1000>; 985def4c47SEmmanuel Vadot type = "passive"; 995def4c47SEmmanuel Vadot }; 1005def4c47SEmmanuel Vadot }; 1015def4c47SEmmanuel Vadot }; 1025def4c47SEmmanuel Vadot 1035def4c47SEmmanuel Vadot skin-msm-thermal { 1045def4c47SEmmanuel Vadot thermal-sensors = <&pm8150l_adc_tm 1>; 1055def4c47SEmmanuel Vadot 1065def4c47SEmmanuel Vadot trips { 1075def4c47SEmmanuel Vadot active-config0 { 1085def4c47SEmmanuel Vadot temperature = <125000>; 1095def4c47SEmmanuel Vadot hysteresis = <1000>; 1105def4c47SEmmanuel Vadot type = "passive"; 1115def4c47SEmmanuel Vadot }; 1125def4c47SEmmanuel Vadot }; 1135def4c47SEmmanuel Vadot }; 1145def4c47SEmmanuel Vadot 1155def4c47SEmmanuel Vadot skin-thermal { 1165def4c47SEmmanuel Vadot thermal-sensors = <&pm8150_adc_tm 1>; 1175def4c47SEmmanuel Vadot 1185def4c47SEmmanuel Vadot trips { 1195def4c47SEmmanuel Vadot active-config0 { 1205def4c47SEmmanuel Vadot temperature = <125000>; 1215def4c47SEmmanuel Vadot hysteresis = <1000>; 1225def4c47SEmmanuel Vadot type = "passive"; 1235def4c47SEmmanuel Vadot }; 1245def4c47SEmmanuel Vadot }; 1255def4c47SEmmanuel Vadot }; 1265def4c47SEmmanuel Vadot 1275def4c47SEmmanuel Vadot xo-thermal { 1285def4c47SEmmanuel Vadot thermal-sensors = <&pm8150_adc_tm 0>; 1295def4c47SEmmanuel Vadot 1305def4c47SEmmanuel Vadot trips { 1315def4c47SEmmanuel Vadot active-config0 { 1325def4c47SEmmanuel Vadot temperature = <125000>; 1335def4c47SEmmanuel Vadot hysteresis = <1000>; 1345def4c47SEmmanuel Vadot type = "passive"; 1355def4c47SEmmanuel Vadot }; 1365def4c47SEmmanuel Vadot }; 1375def4c47SEmmanuel Vadot }; 1385def4c47SEmmanuel Vadot }; 1395def4c47SEmmanuel Vadot 140c66ec88fSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 141c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 142c66ec88fSEmmanuel Vadot regulator-name = "vph_pwr"; 143c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3700000>; 144c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3700000>; 145c66ec88fSEmmanuel Vadot }; 146c66ec88fSEmmanuel Vadot 147c66ec88fSEmmanuel Vadot vreg_s4a_1p8: pm8150-s4 { 148c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 149c66ec88fSEmmanuel Vadot regulator-name = "vreg_s4a_1p8"; 150c66ec88fSEmmanuel Vadot 151c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 152c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 153c66ec88fSEmmanuel Vadot 154c66ec88fSEmmanuel Vadot regulator-always-on; 155c66ec88fSEmmanuel Vadot regulator-boot-on; 156c66ec88fSEmmanuel Vadot 157c66ec88fSEmmanuel Vadot vin-supply = <&vph_pwr>; 158c66ec88fSEmmanuel Vadot }; 159c66ec88fSEmmanuel Vadot 160c66ec88fSEmmanuel Vadot vreg_s6c_0p88: smpc6-regulator { 161c66ec88fSEmmanuel Vadot compatible = "regulator-fixed"; 162c66ec88fSEmmanuel Vadot regulator-name = "vreg_s6c_0p88"; 163c66ec88fSEmmanuel Vadot 164c66ec88fSEmmanuel Vadot regulator-min-microvolt = <880000>; 165c66ec88fSEmmanuel Vadot regulator-max-microvolt = <880000>; 166c66ec88fSEmmanuel Vadot regulator-always-on; 167c66ec88fSEmmanuel Vadot vin-supply = <&vph_pwr>; 168c66ec88fSEmmanuel Vadot }; 169c66ec88fSEmmanuel Vadot}; 170c66ec88fSEmmanuel Vadot 171c66ec88fSEmmanuel Vadot&adsp { 172c66ec88fSEmmanuel Vadot status = "okay"; 173c66ec88fSEmmanuel Vadot firmware-name = "qcom/sm8250/adsp.mbn"; 174c66ec88fSEmmanuel Vadot}; 175c66ec88fSEmmanuel Vadot 176c66ec88fSEmmanuel Vadot&apps_rsc { 177cb7aa33aSEmmanuel Vadot regulators-0 { 178c66ec88fSEmmanuel Vadot compatible = "qcom,pm8150-rpmh-regulators"; 179c66ec88fSEmmanuel Vadot qcom,pmic-id = "a"; 180c66ec88fSEmmanuel Vadot 181c66ec88fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 182c66ec88fSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 183c66ec88fSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 184c66ec88fSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 185c66ec88fSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 186c66ec88fSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 187c66ec88fSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 188c66ec88fSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 189c66ec88fSEmmanuel Vadot vdd-s9-supply = <&vph_pwr>; 190c66ec88fSEmmanuel Vadot vdd-s10-supply = <&vph_pwr>; 191c66ec88fSEmmanuel Vadot vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; 192c66ec88fSEmmanuel Vadot vdd-l2-l10-supply = <&vreg_bob>; 193c66ec88fSEmmanuel Vadot vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 194c66ec88fSEmmanuel Vadot vdd-l6-l9-supply = <&vreg_s8c_1p3>; 195c66ec88fSEmmanuel Vadot vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 196c66ec88fSEmmanuel Vadot vdd-l13-l16-l17-supply = <&vreg_bob>; 197c66ec88fSEmmanuel Vadot 198c66ec88fSEmmanuel Vadot vreg_s5a_1p9: smps5 { 199c66ec88fSEmmanuel Vadot regulator-name = "vreg_s5a_1p9"; 200c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1904000>; 201c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2000000>; 202c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 203c66ec88fSEmmanuel Vadot }; 204c66ec88fSEmmanuel Vadot 205c66ec88fSEmmanuel Vadot vreg_s6a_0p95: smps6 { 206c66ec88fSEmmanuel Vadot regulator-name = "vreg_s6a_0p95"; 207c66ec88fSEmmanuel Vadot regulator-min-microvolt = <920000>; 208c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1128000>; 209c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 210c66ec88fSEmmanuel Vadot }; 211c66ec88fSEmmanuel Vadot 212c66ec88fSEmmanuel Vadot vreg_l2a_3p1: ldo2 { 213c66ec88fSEmmanuel Vadot regulator-name = "vreg_l2a_3p1"; 214c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3072000>; 215c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3072000>; 216c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 217c66ec88fSEmmanuel Vadot }; 218c66ec88fSEmmanuel Vadot 219c66ec88fSEmmanuel Vadot vreg_l3a_0p9: ldo3 { 220c66ec88fSEmmanuel Vadot regulator-name = "vreg_l3a_0p9"; 221c66ec88fSEmmanuel Vadot regulator-min-microvolt = <928000>; 222c66ec88fSEmmanuel Vadot regulator-max-microvolt = <932000>; 223c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 224c66ec88fSEmmanuel Vadot }; 225c66ec88fSEmmanuel Vadot 226c66ec88fSEmmanuel Vadot vreg_l5a_0p875: ldo5 { 227c66ec88fSEmmanuel Vadot regulator-name = "vreg_l5a_0p875"; 228c66ec88fSEmmanuel Vadot regulator-min-microvolt = <880000>; 229c66ec88fSEmmanuel Vadot regulator-max-microvolt = <880000>; 230c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 231c66ec88fSEmmanuel Vadot }; 232c66ec88fSEmmanuel Vadot 233c66ec88fSEmmanuel Vadot vreg_l6a_1p2: ldo6 { 234c66ec88fSEmmanuel Vadot regulator-name = "vreg_l6a_1p2"; 235c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 236c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 237c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238c66ec88fSEmmanuel Vadot }; 239c66ec88fSEmmanuel Vadot 240c66ec88fSEmmanuel Vadot vreg_l7a_1p7: ldo7 { 241c66ec88fSEmmanuel Vadot regulator-name = "vreg_l7a_1p7"; 242c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1704000>; 243c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 244c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 245c66ec88fSEmmanuel Vadot }; 246c66ec88fSEmmanuel Vadot 247c66ec88fSEmmanuel Vadot vreg_l9a_1p2: ldo9 { 248c66ec88fSEmmanuel Vadot regulator-name = "vreg_l9a_1p2"; 249c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 250c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 251c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 252c66ec88fSEmmanuel Vadot }; 253c66ec88fSEmmanuel Vadot 254c66ec88fSEmmanuel Vadot vreg_l10a_1p8: ldo10 { 255c66ec88fSEmmanuel Vadot regulator-name = "vreg_l10a_1p8"; 256c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 257c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 258c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 259c66ec88fSEmmanuel Vadot }; 260c66ec88fSEmmanuel Vadot 261c66ec88fSEmmanuel Vadot vreg_l12a_1p8: ldo12 { 262c66ec88fSEmmanuel Vadot regulator-name = "vreg_l12a_1p8"; 263c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 264c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 265c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 266c66ec88fSEmmanuel Vadot }; 267c66ec88fSEmmanuel Vadot 268c66ec88fSEmmanuel Vadot vreg_l13a_ts_3p0: ldo13 { 269c66ec88fSEmmanuel Vadot regulator-name = "vreg_l13a_ts_3p0"; 270c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3008000>; 271c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3008000>; 272c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 273c66ec88fSEmmanuel Vadot }; 274c66ec88fSEmmanuel Vadot 275c66ec88fSEmmanuel Vadot vreg_l14a_1p8: ldo14 { 276c66ec88fSEmmanuel Vadot regulator-name = "vreg_l14a_1p8"; 277c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 278c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1880000>; 279c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 280c66ec88fSEmmanuel Vadot }; 281c66ec88fSEmmanuel Vadot 282c66ec88fSEmmanuel Vadot vreg_l15a_11ad_io_1p8: ldo15 { 283c66ec88fSEmmanuel Vadot regulator-name = "vreg_l15a_11ad_io_1p8"; 284c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 285c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 286c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 287c66ec88fSEmmanuel Vadot }; 288c66ec88fSEmmanuel Vadot 289c66ec88fSEmmanuel Vadot vreg_l16a_2p7: ldo16 { 290c66ec88fSEmmanuel Vadot regulator-name = "vreg_l16a_2p7"; 291c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2704000>; 292c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 293c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 294c66ec88fSEmmanuel Vadot }; 295c66ec88fSEmmanuel Vadot 296c66ec88fSEmmanuel Vadot vreg_l17a_3p0: ldo17 { 297c66ec88fSEmmanuel Vadot regulator-name = "vreg_l17a_3p0"; 298c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2856000>; 299c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3008000>; 300c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 301c66ec88fSEmmanuel Vadot }; 3025def4c47SEmmanuel Vadot 3035def4c47SEmmanuel Vadot vreg_l18a_0p9: ldo18 { 3045def4c47SEmmanuel Vadot regulator-name = "vreg_l18a_0p9"; 3055def4c47SEmmanuel Vadot regulator-min-microvolt = <912000>; 3065def4c47SEmmanuel Vadot regulator-max-microvolt = <912000>; 3075def4c47SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3085def4c47SEmmanuel Vadot }; 309c66ec88fSEmmanuel Vadot }; 310c66ec88fSEmmanuel Vadot 311cb7aa33aSEmmanuel Vadot regulators-1 { 312c66ec88fSEmmanuel Vadot compatible = "qcom,pm8150l-rpmh-regulators"; 313c66ec88fSEmmanuel Vadot qcom,pmic-id = "c"; 314c66ec88fSEmmanuel Vadot 315c66ec88fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 316c66ec88fSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 317c66ec88fSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 318c66ec88fSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 319c66ec88fSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 320c66ec88fSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 321c66ec88fSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 322c66ec88fSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 323c66ec88fSEmmanuel Vadot vdd-l1-l8-supply = <&vreg_s4a_1p8>; 324c66ec88fSEmmanuel Vadot vdd-l2-l3-supply = <&vreg_s8c_1p3>; 325c66ec88fSEmmanuel Vadot vdd-l4-l5-l6-supply = <&vreg_bob>; 326c66ec88fSEmmanuel Vadot vdd-l7-l11-supply = <&vreg_bob>; 327c66ec88fSEmmanuel Vadot vdd-l9-l10-supply = <&vreg_bob>; 328c66ec88fSEmmanuel Vadot vdd-bob-supply = <&vph_pwr>; 329c66ec88fSEmmanuel Vadot 330c66ec88fSEmmanuel Vadot vreg_bob: bob { 331c66ec88fSEmmanuel Vadot regulator-name = "vreg_bob"; 332c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3008000>; 333c66ec88fSEmmanuel Vadot regulator-max-microvolt = <4000000>; 334c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 335c66ec88fSEmmanuel Vadot }; 336c66ec88fSEmmanuel Vadot 337c66ec88fSEmmanuel Vadot vreg_s8c_1p3: smps8 { 338c66ec88fSEmmanuel Vadot regulator-name = "vreg_s8c_1p3"; 339c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1352000>; 340c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1352000>; 341c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 342c66ec88fSEmmanuel Vadot }; 343c66ec88fSEmmanuel Vadot 344c66ec88fSEmmanuel Vadot vreg_l1c_1p8: ldo1 { 345c66ec88fSEmmanuel Vadot regulator-name = "vreg_l1c_1p8"; 346c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 347c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 348c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 349c66ec88fSEmmanuel Vadot }; 350c66ec88fSEmmanuel Vadot 351c66ec88fSEmmanuel Vadot vreg_l2c_1p2: ldo2 { 352c66ec88fSEmmanuel Vadot regulator-name = "vreg_l2c_1p2"; 353c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 354c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 355c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 356c66ec88fSEmmanuel Vadot }; 357c66ec88fSEmmanuel Vadot 358c66ec88fSEmmanuel Vadot vreg_l3c_0p92: ldo3 { 359c66ec88fSEmmanuel Vadot regulator-name = "vreg_l3c_0p92"; 360c66ec88fSEmmanuel Vadot regulator-min-microvolt = <920000>; 361c66ec88fSEmmanuel Vadot regulator-max-microvolt = <920000>; 362c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 363c66ec88fSEmmanuel Vadot }; 364c66ec88fSEmmanuel Vadot 365c66ec88fSEmmanuel Vadot vreg_l4c_1p7: ldo4 { 366c66ec88fSEmmanuel Vadot regulator-name = "vreg_l4c_1p7"; 367c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1704000>; 368c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2928000>; 369c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 370c66ec88fSEmmanuel Vadot }; 371c66ec88fSEmmanuel Vadot 372c66ec88fSEmmanuel Vadot vreg_l5c_1p8: ldo5 { 373c66ec88fSEmmanuel Vadot regulator-name = "vreg_l5c_1p8"; 374c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 375c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2928000>; 376c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 377c66ec88fSEmmanuel Vadot }; 378c66ec88fSEmmanuel Vadot 379c66ec88fSEmmanuel Vadot vreg_l6c_2p9: ldo6 { 380c66ec88fSEmmanuel Vadot regulator-name = "vreg_l6c_2p9"; 381c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 382c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 383c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 384c66ec88fSEmmanuel Vadot }; 385c66ec88fSEmmanuel Vadot 386c66ec88fSEmmanuel Vadot vreg_l7c_cam_vcm0_2p85: ldo7 { 387c66ec88fSEmmanuel Vadot regulator-name = "vreg_l7c_cam_vcm0_2p85"; 388c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2856000>; 389c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3104000>; 390c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391c66ec88fSEmmanuel Vadot }; 392c66ec88fSEmmanuel Vadot 393c66ec88fSEmmanuel Vadot vreg_l8c_1p8: ldo8 { 394c66ec88fSEmmanuel Vadot regulator-name = "vreg_l8c_1p8"; 395c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 396c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 397c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 398c66ec88fSEmmanuel Vadot }; 399c66ec88fSEmmanuel Vadot 400c66ec88fSEmmanuel Vadot vreg_l9c_2p9: ldo9 { 401c66ec88fSEmmanuel Vadot regulator-name = "vreg_l9c_2p9"; 402c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2704000>; 403c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 404c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 405c66ec88fSEmmanuel Vadot }; 406c66ec88fSEmmanuel Vadot 407c66ec88fSEmmanuel Vadot vreg_l10c_3p0: ldo10 { 408c66ec88fSEmmanuel Vadot regulator-name = "vreg_l10c_3p0"; 409c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 410c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3000000>; 411c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 412c66ec88fSEmmanuel Vadot }; 413c66ec88fSEmmanuel Vadot 414c66ec88fSEmmanuel Vadot vreg_l11c_3p3: ldo11 { 415c66ec88fSEmmanuel Vadot regulator-name = "vreg_l11c_3p3"; 416c66ec88fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 417c66ec88fSEmmanuel Vadot regulator-max-microvolt = <3312000>; 418c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 419c66ec88fSEmmanuel Vadot }; 420c66ec88fSEmmanuel Vadot }; 421c66ec88fSEmmanuel Vadot 422cb7aa33aSEmmanuel Vadot regulators-2 { 423c66ec88fSEmmanuel Vadot compatible = "qcom,pm8009-rpmh-regulators"; 424c66ec88fSEmmanuel Vadot qcom,pmic-id = "f"; 425c66ec88fSEmmanuel Vadot 426c66ec88fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 427c66ec88fSEmmanuel Vadot vdd-s2-supply = <&vreg_bob>; 428c66ec88fSEmmanuel Vadot vdd-l2-supply = <&vreg_s8c_1p3>; 429c66ec88fSEmmanuel Vadot vdd-l5-l6-supply = <&vreg_bob>; 430c66ec88fSEmmanuel Vadot vdd-l7-supply = <&vreg_s4a_1p8>; 431c66ec88fSEmmanuel Vadot 432c66ec88fSEmmanuel Vadot vreg_l1f_cam_dvdd1_1p1: ldo1 { 433c66ec88fSEmmanuel Vadot regulator-name = "vreg_l1f_cam_dvdd1_1p1"; 434c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1104000>; 435c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1104000>; 436c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 437c66ec88fSEmmanuel Vadot }; 438c66ec88fSEmmanuel Vadot 439c66ec88fSEmmanuel Vadot vreg_l2f_cam_dvdd0_1p2: ldo2 { 440c66ec88fSEmmanuel Vadot regulator-name = "vreg_l2f_cam_dvdd0_1p2"; 441c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 442c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 443c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 444c66ec88fSEmmanuel Vadot }; 445c66ec88fSEmmanuel Vadot 446c66ec88fSEmmanuel Vadot vreg_l3f_cam_dvdd2_1p05: ldo3 { 447c66ec88fSEmmanuel Vadot regulator-name = "vreg_l3f_cam_dvdd2_1p05"; 448c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1056000>; 449c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1056000>; 450c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 451c66ec88fSEmmanuel Vadot }; 452c66ec88fSEmmanuel Vadot 453c66ec88fSEmmanuel Vadot vreg_l5f_cam_avdd0_2p85: ldo5 { 454c66ec88fSEmmanuel Vadot regulator-name = "vreg_l5f_cam_avdd0_2p85"; 455c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2800000>; 456c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2800000>; 457c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458c66ec88fSEmmanuel Vadot }; 459c66ec88fSEmmanuel Vadot 460c66ec88fSEmmanuel Vadot vreg_l6f_cam_avdd1_2p85: ldo6 { 461c66ec88fSEmmanuel Vadot regulator-name = "vreg_l6f_cam_avdd1_2p85"; 462c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2856000>; 463c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2856000>; 464c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 465c66ec88fSEmmanuel Vadot }; 466c66ec88fSEmmanuel Vadot 467c66ec88fSEmmanuel Vadot vreg_l7f_1p8: ldo7 { 468c66ec88fSEmmanuel Vadot regulator-name = "vreg_l7f_1p8"; 469c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 470c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 471c66ec88fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 472c66ec88fSEmmanuel Vadot }; 473c66ec88fSEmmanuel Vadot }; 474c66ec88fSEmmanuel Vadot}; 475c66ec88fSEmmanuel Vadot 476c66ec88fSEmmanuel Vadot&cdsp { 477c66ec88fSEmmanuel Vadot status = "okay"; 478c66ec88fSEmmanuel Vadot firmware-name = "qcom/sm8250/cdsp.mbn"; 479c66ec88fSEmmanuel Vadot}; 480c66ec88fSEmmanuel Vadot 4815956d97fSEmmanuel Vadot&gmu { 4825956d97fSEmmanuel Vadot status = "okay"; 4835956d97fSEmmanuel Vadot}; 4845956d97fSEmmanuel Vadot 4855def4c47SEmmanuel Vadot&gpu { 4865956d97fSEmmanuel Vadot status = "okay"; 4875956d97fSEmmanuel Vadot 4885def4c47SEmmanuel Vadot zap-shader { 4895def4c47SEmmanuel Vadot memory-region = <&gpu_mem>; 4905def4c47SEmmanuel Vadot firmware-name = "qcom/sm8250/a650_zap.mbn"; 4915def4c47SEmmanuel Vadot }; 4925def4c47SEmmanuel Vadot}; 4935def4c47SEmmanuel Vadot 4946be33864SEmmanuel Vadot&i2c1 { 4956be33864SEmmanuel Vadot status = "okay"; 4966be33864SEmmanuel Vadot clock-frequency = <1000000>; 4976be33864SEmmanuel Vadot 4986be33864SEmmanuel Vadot /* NQ NFC chip @28 */ 4996be33864SEmmanuel Vadot}; 5006be33864SEmmanuel Vadot 5016be33864SEmmanuel Vadot&i2c13 { 5026be33864SEmmanuel Vadot status = "okay"; 5036be33864SEmmanuel Vadot 5046be33864SEmmanuel Vadot /* st,stmfts @ 49 */ 5056be33864SEmmanuel Vadot}; 5066be33864SEmmanuel Vadot 5076be33864SEmmanuel Vadot&i2c15 { 5086be33864SEmmanuel Vadot status = "okay"; 5096be33864SEmmanuel Vadot 5106be33864SEmmanuel Vadot /* smb1390 @ 10 */ 5116be33864SEmmanuel Vadot /* rtc6226 @ 64 */ 5126be33864SEmmanuel Vadot}; 5136be33864SEmmanuel Vadot 5145def4c47SEmmanuel Vadot&pm8150_adc { 515*aa1a8ff2SEmmanuel Vadot channel@4c { 5165def4c47SEmmanuel Vadot reg = <ADC5_XO_THERM_100K_PU>; 5175def4c47SEmmanuel Vadot qcom,ratiometric; 5185def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 519*aa1a8ff2SEmmanuel Vadot label = "xo_therm"; 5205def4c47SEmmanuel Vadot }; 5215def4c47SEmmanuel Vadot 522*aa1a8ff2SEmmanuel Vadot channel@4d { 5235def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM1_100K_PU>; 5245def4c47SEmmanuel Vadot qcom,ratiometric; 5255def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 526*aa1a8ff2SEmmanuel Vadot label = "skin_therm"; 5275def4c47SEmmanuel Vadot }; 5285def4c47SEmmanuel Vadot 529*aa1a8ff2SEmmanuel Vadot channel@4e { 5305def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM2_100K_PU>; 5315def4c47SEmmanuel Vadot qcom,ratiometric; 5325def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 533*aa1a8ff2SEmmanuel Vadot label = "pa_therm1"; 5345def4c47SEmmanuel Vadot }; 5355def4c47SEmmanuel Vadot}; 5365def4c47SEmmanuel Vadot 5375def4c47SEmmanuel Vadot&pm8150_adc_tm { 5385def4c47SEmmanuel Vadot status = "okay"; 5395def4c47SEmmanuel Vadot 5405def4c47SEmmanuel Vadot xo-therm@0 { 5415def4c47SEmmanuel Vadot reg = <0>; 5425def4c47SEmmanuel Vadot io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 5435def4c47SEmmanuel Vadot qcom,ratiometric; 5445def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5455def4c47SEmmanuel Vadot }; 5465def4c47SEmmanuel Vadot 5475def4c47SEmmanuel Vadot skin-therm@1 { 5485def4c47SEmmanuel Vadot reg = <1>; 5495def4c47SEmmanuel Vadot io-channels = <&pm8150_adc ADC5_AMUX_THM1_100K_PU>; 5505def4c47SEmmanuel Vadot qcom,ratiometric; 5515def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5525def4c47SEmmanuel Vadot }; 5535def4c47SEmmanuel Vadot 5545def4c47SEmmanuel Vadot pa-therm1@2 { 5555def4c47SEmmanuel Vadot reg = <2>; 5565def4c47SEmmanuel Vadot io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 5575def4c47SEmmanuel Vadot qcom,ratiometric; 5585def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5595def4c47SEmmanuel Vadot }; 5605def4c47SEmmanuel Vadot}; 5615def4c47SEmmanuel Vadot 5625def4c47SEmmanuel Vadot&pm8150b_adc { 563*aa1a8ff2SEmmanuel Vadot channel@4f { 5645def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM3_100K_PU>; 5655def4c47SEmmanuel Vadot qcom,ratiometric; 5665def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 567*aa1a8ff2SEmmanuel Vadot label = "conn_therm"; 5685def4c47SEmmanuel Vadot }; 5695def4c47SEmmanuel Vadot}; 5705def4c47SEmmanuel Vadot 5715def4c47SEmmanuel Vadot&pm8150b_adc_tm { 5725def4c47SEmmanuel Vadot status = "okay"; 5735def4c47SEmmanuel Vadot 5745def4c47SEmmanuel Vadot conn-therm@0 { 5755def4c47SEmmanuel Vadot reg = <0>; 5765def4c47SEmmanuel Vadot io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 5775def4c47SEmmanuel Vadot qcom,ratiometric; 5785def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5795def4c47SEmmanuel Vadot }; 5805def4c47SEmmanuel Vadot}; 5815def4c47SEmmanuel Vadot 5825def4c47SEmmanuel Vadot&pm8150l_adc_tm { 5835def4c47SEmmanuel Vadot status = "okay"; 5845def4c47SEmmanuel Vadot 5855def4c47SEmmanuel Vadot camera-flash-therm@0 { 5865def4c47SEmmanuel Vadot reg = <0>; 5875def4c47SEmmanuel Vadot io-channels = <&pm8150l_adc ADC5_AMUX_THM1_100K_PU>; 5885def4c47SEmmanuel Vadot qcom,ratiometric; 5895def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5905def4c47SEmmanuel Vadot }; 5915def4c47SEmmanuel Vadot 5925def4c47SEmmanuel Vadot skin-msm-therm@1 { 5935def4c47SEmmanuel Vadot reg = <1>; 5945def4c47SEmmanuel Vadot io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 5955def4c47SEmmanuel Vadot qcom,ratiometric; 5965def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 5975def4c47SEmmanuel Vadot }; 5985def4c47SEmmanuel Vadot 5995def4c47SEmmanuel Vadot pa-therm2@2 { 6005def4c47SEmmanuel Vadot reg = <2>; 6015def4c47SEmmanuel Vadot io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 6025def4c47SEmmanuel Vadot qcom,ratiometric; 6035def4c47SEmmanuel Vadot qcom,hw-settle-time-us = <200>; 6045def4c47SEmmanuel Vadot }; 6055def4c47SEmmanuel Vadot}; 6065def4c47SEmmanuel Vadot 6075def4c47SEmmanuel Vadot&pm8150l_adc { 608*aa1a8ff2SEmmanuel Vadot channel@4d { 6095def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM1_100K_PU>; 6105def4c47SEmmanuel Vadot qcom,ratiometric; 6115def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 612*aa1a8ff2SEmmanuel Vadot label = "camera_flash_therm"; 6135def4c47SEmmanuel Vadot }; 6145def4c47SEmmanuel Vadot 615*aa1a8ff2SEmmanuel Vadot channel@4e { 6165def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM2_100K_PU>; 6175def4c47SEmmanuel Vadot qcom,ratiometric; 6185def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 619*aa1a8ff2SEmmanuel Vadot label = "skin_msm_therm"; 6205def4c47SEmmanuel Vadot }; 6215def4c47SEmmanuel Vadot 622*aa1a8ff2SEmmanuel Vadot channel@4f { 6235def4c47SEmmanuel Vadot reg = <ADC5_AMUX_THM3_100K_PU>; 6245def4c47SEmmanuel Vadot qcom,ratiometric; 6255def4c47SEmmanuel Vadot qcom,hw-settle-time = <200>; 626*aa1a8ff2SEmmanuel Vadot label = "pa_therm2"; 6275def4c47SEmmanuel Vadot }; 6285def4c47SEmmanuel Vadot}; 6295def4c47SEmmanuel Vadot 6306be33864SEmmanuel Vadot&qupv3_id_0 { 6316be33864SEmmanuel Vadot status = "okay"; 6326be33864SEmmanuel Vadot}; 6336be33864SEmmanuel Vadot 634c66ec88fSEmmanuel Vadot&qupv3_id_1 { 635c66ec88fSEmmanuel Vadot status = "okay"; 636c66ec88fSEmmanuel Vadot}; 637c66ec88fSEmmanuel Vadot 6386be33864SEmmanuel Vadot&qupv3_id_2 { 6396be33864SEmmanuel Vadot status = "okay"; 6406be33864SEmmanuel Vadot}; 6416be33864SEmmanuel Vadot 642c9ccf3a3SEmmanuel Vadot&rxmacro { 643c9ccf3a3SEmmanuel Vadot status = "okay"; 644c9ccf3a3SEmmanuel Vadot}; 645c9ccf3a3SEmmanuel Vadot 646c66ec88fSEmmanuel Vadot&slpi { 647c66ec88fSEmmanuel Vadot status = "okay"; 648c66ec88fSEmmanuel Vadot firmware-name = "qcom/sm8250/slpi.mbn"; 649c66ec88fSEmmanuel Vadot}; 650c66ec88fSEmmanuel Vadot 651e67e8565SEmmanuel Vadot&sound { 652e67e8565SEmmanuel Vadot compatible = "qcom,sm8250-sndcard"; 653e67e8565SEmmanuel Vadot model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC"; 654e67e8565SEmmanuel Vadot audio-routing = 655e67e8565SEmmanuel Vadot "SpkrLeft IN", "WSA_SPK1 OUT", 656e67e8565SEmmanuel Vadot "SpkrRight IN", "WSA_SPK2 OUT", 657e67e8565SEmmanuel Vadot "IN1_HPHL", "HPHL_OUT", 658e67e8565SEmmanuel Vadot "IN2_HPHR", "HPHR_OUT", 659e67e8565SEmmanuel Vadot "AMIC1", "MIC BIAS1", 660e67e8565SEmmanuel Vadot "AMIC2", "MIC BIAS2", 661e67e8565SEmmanuel Vadot "AMIC3", "MIC BIAS3", 662e67e8565SEmmanuel Vadot "AMIC4", "MIC BIAS3", 663e67e8565SEmmanuel Vadot "AMIC5", "MIC BIAS4", 664e67e8565SEmmanuel Vadot "TX SWR_ADC0", "ADC1_OUTPUT", 665e67e8565SEmmanuel Vadot "TX SWR_ADC1", "ADC2_OUTPUT", 666e67e8565SEmmanuel Vadot "TX SWR_ADC2", "ADC3_OUTPUT", 667e67e8565SEmmanuel Vadot "TX SWR_ADC3", "ADC4_OUTPUT", 668e67e8565SEmmanuel Vadot "TX SWR_DMIC0", "DMIC1_OUTPUT", 669e67e8565SEmmanuel Vadot "TX SWR_DMIC1", "DMIC2_OUTPUT", 670e67e8565SEmmanuel Vadot "TX SWR_DMIC2", "DMIC3_OUTPUT", 671e67e8565SEmmanuel Vadot "TX SWR_DMIC3", "DMIC4_OUTPUT", 672e67e8565SEmmanuel Vadot "TX SWR_DMIC4", "DMIC5_OUTPUT", 673e67e8565SEmmanuel Vadot "TX SWR_DMIC5", "DMIC6_OUTPUT", 674e67e8565SEmmanuel Vadot "TX SWR_DMIC6", "DMIC7_OUTPUT", 675e67e8565SEmmanuel Vadot "TX SWR_DMIC7", "DMIC8_OUTPUT"; 676e67e8565SEmmanuel Vadot 677e67e8565SEmmanuel Vadot mm1-dai-link { 678e67e8565SEmmanuel Vadot link-name = "MultiMedia1"; 679e67e8565SEmmanuel Vadot cpu { 680e67e8565SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 681e67e8565SEmmanuel Vadot }; 682e67e8565SEmmanuel Vadot }; 683e67e8565SEmmanuel Vadot 684e67e8565SEmmanuel Vadot mm2-dai-link { 685e67e8565SEmmanuel Vadot link-name = "MultiMedia2"; 686e67e8565SEmmanuel Vadot cpu { 687e67e8565SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 688e67e8565SEmmanuel Vadot }; 689e67e8565SEmmanuel Vadot }; 690e67e8565SEmmanuel Vadot 691e67e8565SEmmanuel Vadot mm3-dai-link { 692e67e8565SEmmanuel Vadot link-name = "MultiMedia3"; 693e67e8565SEmmanuel Vadot cpu { 694e67e8565SEmmanuel Vadot sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 695e67e8565SEmmanuel Vadot }; 696e67e8565SEmmanuel Vadot }; 697e67e8565SEmmanuel Vadot 698e67e8565SEmmanuel Vadot wcd-playback-dai-link { 699e67e8565SEmmanuel Vadot link-name = "WCD Playback"; 700e67e8565SEmmanuel Vadot cpu { 701e67e8565SEmmanuel Vadot sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>; 702e67e8565SEmmanuel Vadot }; 703e67e8565SEmmanuel Vadot codec { 704e67e8565SEmmanuel Vadot sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; 705e67e8565SEmmanuel Vadot }; 706e67e8565SEmmanuel Vadot platform { 707e67e8565SEmmanuel Vadot sound-dai = <&q6routing>; 708e67e8565SEmmanuel Vadot }; 709e67e8565SEmmanuel Vadot }; 710e67e8565SEmmanuel Vadot 711e67e8565SEmmanuel Vadot wcd-capture-dai-link { 712e67e8565SEmmanuel Vadot link-name = "WCD Capture"; 713e67e8565SEmmanuel Vadot cpu { 714e67e8565SEmmanuel Vadot sound-dai = <&q6afedai TX_CODEC_DMA_TX_3>; 715e67e8565SEmmanuel Vadot }; 716e67e8565SEmmanuel Vadot 717e67e8565SEmmanuel Vadot codec { 718e67e8565SEmmanuel Vadot sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; 719e67e8565SEmmanuel Vadot }; 720e67e8565SEmmanuel Vadot platform { 721e67e8565SEmmanuel Vadot sound-dai = <&q6routing>; 722e67e8565SEmmanuel Vadot }; 723e67e8565SEmmanuel Vadot }; 724e67e8565SEmmanuel Vadot 725e67e8565SEmmanuel Vadot wsa-dai-link { 726e67e8565SEmmanuel Vadot link-name = "WSA Playback"; 727e67e8565SEmmanuel Vadot cpu { 728e67e8565SEmmanuel Vadot sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 729e67e8565SEmmanuel Vadot }; 730e67e8565SEmmanuel Vadot 731e67e8565SEmmanuel Vadot codec { 732e67e8565SEmmanuel Vadot sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 733e67e8565SEmmanuel Vadot }; 734e67e8565SEmmanuel Vadot platform { 735e67e8565SEmmanuel Vadot sound-dai = <&q6routing>; 736e67e8565SEmmanuel Vadot }; 737e67e8565SEmmanuel Vadot }; 738e67e8565SEmmanuel Vadot 739e67e8565SEmmanuel Vadot va-dai-link { 740e67e8565SEmmanuel Vadot link-name = "VA Capture"; 741e67e8565SEmmanuel Vadot cpu { 742e67e8565SEmmanuel Vadot sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 743e67e8565SEmmanuel Vadot }; 744e67e8565SEmmanuel Vadot 745e67e8565SEmmanuel Vadot platform { 746e67e8565SEmmanuel Vadot sound-dai = <&q6routing>; 747e67e8565SEmmanuel Vadot }; 748e67e8565SEmmanuel Vadot 749e67e8565SEmmanuel Vadot codec { 750e67e8565SEmmanuel Vadot sound-dai = <&vamacro 0>; 751e67e8565SEmmanuel Vadot }; 752e67e8565SEmmanuel Vadot }; 753e67e8565SEmmanuel Vadot}; 754e67e8565SEmmanuel Vadot 755e67e8565SEmmanuel Vadot&swr0 { 756cb7aa33aSEmmanuel Vadot status = "okay"; 757cb7aa33aSEmmanuel Vadot 7588bab661aSEmmanuel Vadot left_spkr: speaker@0,3 { 759e67e8565SEmmanuel Vadot compatible = "sdw10217211000"; 760e67e8565SEmmanuel Vadot reg = <0 3>; 761cb7aa33aSEmmanuel Vadot powerdown-gpios = <&tlmm 26 GPIO_ACTIVE_LOW>; 762e67e8565SEmmanuel Vadot #thermal-sensor-cells = <0>; 763e67e8565SEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 764e67e8565SEmmanuel Vadot #sound-dai-cells = <0>; 765e67e8565SEmmanuel Vadot }; 766e67e8565SEmmanuel Vadot 7678bab661aSEmmanuel Vadot right_spkr: speaker@0,4 { 768e67e8565SEmmanuel Vadot compatible = "sdw10217211000"; 769e67e8565SEmmanuel Vadot reg = <0 4>; 770cb7aa33aSEmmanuel Vadot powerdown-gpios = <&tlmm 127 GPIO_ACTIVE_LOW>; 771e67e8565SEmmanuel Vadot #thermal-sensor-cells = <0>; 772e67e8565SEmmanuel Vadot sound-name-prefix = "SpkrRight"; 773e67e8565SEmmanuel Vadot #sound-dai-cells = <0>; 774e67e8565SEmmanuel Vadot }; 775e67e8565SEmmanuel Vadot}; 776e67e8565SEmmanuel Vadot 777e67e8565SEmmanuel Vadot&swr1 { 778c9ccf3a3SEmmanuel Vadot status = "okay"; 779c9ccf3a3SEmmanuel Vadot 780e67e8565SEmmanuel Vadot wcd_rx: wcd9380-rx@0,4 { 781e67e8565SEmmanuel Vadot compatible = "sdw20217010d00"; 782e67e8565SEmmanuel Vadot reg = <0 4>; 783e67e8565SEmmanuel Vadot qcom,rx-port-mapping = <1 2 3 4 5>; 784e67e8565SEmmanuel Vadot }; 785e67e8565SEmmanuel Vadot}; 786e67e8565SEmmanuel Vadot 787e67e8565SEmmanuel Vadot&swr2 { 788c9ccf3a3SEmmanuel Vadot status = "okay"; 789c9ccf3a3SEmmanuel Vadot 790e67e8565SEmmanuel Vadot wcd_tx: wcd9380-tx@0,3 { 791e67e8565SEmmanuel Vadot compatible = "sdw20217010d00"; 792e67e8565SEmmanuel Vadot reg = <0 3>; 793e67e8565SEmmanuel Vadot qcom,tx-port-mapping = <2 3 4 5>; 794e67e8565SEmmanuel Vadot }; 795e67e8565SEmmanuel Vadot}; 796e67e8565SEmmanuel Vadot 797c66ec88fSEmmanuel Vadot&tlmm { 798c66ec88fSEmmanuel Vadot gpio-reserved-ranges = <28 4>, <40 4>; 799e67e8565SEmmanuel Vadot 8008bab661aSEmmanuel Vadot wcd938x_reset_default: wcd938x-reset-default-state { 801e67e8565SEmmanuel Vadot pins = "gpio32"; 802e67e8565SEmmanuel Vadot function = "gpio"; 803e67e8565SEmmanuel Vadot drive-strength = <16>; 804e67e8565SEmmanuel Vadot output-high; 805e67e8565SEmmanuel Vadot }; 806e67e8565SEmmanuel Vadot 8078bab661aSEmmanuel Vadot wcd938x_reset_sleep: wcd938x-reset-sleep-state { 808e67e8565SEmmanuel Vadot pins = "gpio32"; 809e67e8565SEmmanuel Vadot function = "gpio"; 810e67e8565SEmmanuel Vadot drive-strength = <16>; 811e67e8565SEmmanuel Vadot bias-disable; 812e67e8565SEmmanuel Vadot output-low; 813e67e8565SEmmanuel Vadot }; 814e67e8565SEmmanuel Vadot}; 815c66ec88fSEmmanuel Vadot 816c9ccf3a3SEmmanuel Vadot&txmacro { 817c9ccf3a3SEmmanuel Vadot status = "okay"; 818c9ccf3a3SEmmanuel Vadot}; 819c9ccf3a3SEmmanuel Vadot 8206be33864SEmmanuel Vadot&uart12 { 821c66ec88fSEmmanuel Vadot status = "okay"; 822c66ec88fSEmmanuel Vadot}; 823c66ec88fSEmmanuel Vadot 824c66ec88fSEmmanuel Vadot&ufs_mem_hc { 825c66ec88fSEmmanuel Vadot status = "okay"; 826c66ec88fSEmmanuel Vadot 827c66ec88fSEmmanuel Vadot vcc-supply = <&vreg_l17a_3p0>; 828c66ec88fSEmmanuel Vadot vcc-max-microamp = <750000>; 829c66ec88fSEmmanuel Vadot vccq-supply = <&vreg_l6a_1p2>; 830c66ec88fSEmmanuel Vadot vccq-max-microamp = <700000>; 831c66ec88fSEmmanuel Vadot vccq2-supply = <&vreg_s4a_1p8>; 832c66ec88fSEmmanuel Vadot vccq2-max-microamp = <750000>; 833c66ec88fSEmmanuel Vadot}; 834c66ec88fSEmmanuel Vadot 835c66ec88fSEmmanuel Vadot&ufs_mem_phy { 836c66ec88fSEmmanuel Vadot status = "okay"; 837c66ec88fSEmmanuel Vadot 838c66ec88fSEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p875>; 839c66ec88fSEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 840c66ec88fSEmmanuel Vadot}; 8415def4c47SEmmanuel Vadot 8425def4c47SEmmanuel Vadot&usb_1 { 8435def4c47SEmmanuel Vadot status = "okay"; 8445def4c47SEmmanuel Vadot}; 8455def4c47SEmmanuel Vadot 8465def4c47SEmmanuel Vadot&usb_1_dwc3 { 8475def4c47SEmmanuel Vadot dr_mode = "host"; 8485def4c47SEmmanuel Vadot}; 8495def4c47SEmmanuel Vadot 8505def4c47SEmmanuel Vadot&usb_1_hsphy { 8515def4c47SEmmanuel Vadot status = "okay"; 8525def4c47SEmmanuel Vadot 8535def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p875>; 8545def4c47SEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 8555def4c47SEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 8565def4c47SEmmanuel Vadot}; 8575def4c47SEmmanuel Vadot 8585def4c47SEmmanuel Vadot&usb_1_qmpphy { 8595def4c47SEmmanuel Vadot status = "okay"; 8605def4c47SEmmanuel Vadot 8615def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l9a_1p2>; 8625def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l18a_0p9>; 8635def4c47SEmmanuel Vadot}; 8645def4c47SEmmanuel Vadot 8655def4c47SEmmanuel Vadot&usb_2 { 8665def4c47SEmmanuel Vadot status = "okay"; 8675def4c47SEmmanuel Vadot}; 8685def4c47SEmmanuel Vadot 8695def4c47SEmmanuel Vadot&usb_2_dwc3 { 8705def4c47SEmmanuel Vadot dr_mode = "host"; 8715def4c47SEmmanuel Vadot}; 8725def4c47SEmmanuel Vadot 8735def4c47SEmmanuel Vadot&usb_2_hsphy { 8745def4c47SEmmanuel Vadot status = "okay"; 8755def4c47SEmmanuel Vadot 8765def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p875>; 8775def4c47SEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 8785def4c47SEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 8795def4c47SEmmanuel Vadot}; 8805def4c47SEmmanuel Vadot 8815def4c47SEmmanuel Vadot&usb_2_qmpphy { 8825def4c47SEmmanuel Vadot status = "okay"; 8835def4c47SEmmanuel Vadot 8845def4c47SEmmanuel Vadot vdda-phy-supply = <&vreg_l9a_1p2>; 8855def4c47SEmmanuel Vadot vdda-pll-supply = <&vreg_l18a_0p9>; 8865def4c47SEmmanuel Vadot}; 8875956d97fSEmmanuel Vadot 8885956d97fSEmmanuel Vadot&venus { 8895956d97fSEmmanuel Vadot status = "okay"; 8905956d97fSEmmanuel Vadot}; 891cb7aa33aSEmmanuel Vadot 892cb7aa33aSEmmanuel Vadot&wsamacro { 893cb7aa33aSEmmanuel Vadot status = "okay"; 894cb7aa33aSEmmanuel Vadot}; 895