12846c905SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 22846c905SEmmanuel Vadot/* 32846c905SEmmanuel Vadot * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. 42846c905SEmmanuel Vadot */ 52846c905SEmmanuel Vadot 62846c905SEmmanuel Vadot/dts-v1/; 72846c905SEmmanuel Vadot 82846c905SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 92846c905SEmmanuel Vadot#include <dt-bindings/leds/common.h> 102846c905SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 112846c905SEmmanuel Vadot#include "sm8750.dtsi" 122846c905SEmmanuel Vadot#include "pm8010.dtsi" 132846c905SEmmanuel Vadot#include "pm8550.dtsi" 142846c905SEmmanuel Vadot#define PMK8550VE_SID 8 152846c905SEmmanuel Vadot#include "pm8550ve.dtsi" 162846c905SEmmanuel Vadot#include "pmd8028.dtsi" 172846c905SEmmanuel Vadot#include "pmih0108.dtsi" 182846c905SEmmanuel Vadot#include "pmk8550.dtsi" 192846c905SEmmanuel Vadot#include "pmr735d_a.dtsi" 202846c905SEmmanuel Vadot#include "sm8750-pmics.dtsi" 212846c905SEmmanuel Vadot 222846c905SEmmanuel Vadot/ { 232846c905SEmmanuel Vadot model = "Qualcomm Technologies, Inc. SM8750 MTP"; 242846c905SEmmanuel Vadot compatible = "qcom,sm8750-mtp", "qcom,sm8750"; 252846c905SEmmanuel Vadot chassis-type = "handset"; 262846c905SEmmanuel Vadot 272846c905SEmmanuel Vadot 282846c905SEmmanuel Vadot aliases { 292846c905SEmmanuel Vadot serial0 = &uart7; 302846c905SEmmanuel Vadot }; 312846c905SEmmanuel Vadot 32*833e5d42SEmmanuel Vadot wcd939x: audio-codec { 33*833e5d42SEmmanuel Vadot compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec"; 34*833e5d42SEmmanuel Vadot 35*833e5d42SEmmanuel Vadot pinctrl-0 = <&wcd_default>; 36*833e5d42SEmmanuel Vadot pinctrl-names = "default"; 37*833e5d42SEmmanuel Vadot 38*833e5d42SEmmanuel Vadot qcom,micbias1-microvolt = <1800000>; 39*833e5d42SEmmanuel Vadot qcom,micbias2-microvolt = <1800000>; 40*833e5d42SEmmanuel Vadot qcom,micbias3-microvolt = <1800000>; 41*833e5d42SEmmanuel Vadot qcom,micbias4-microvolt = <1800000>; 42*833e5d42SEmmanuel Vadot qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 43*833e5d42SEmmanuel Vadot qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 44*833e5d42SEmmanuel Vadot qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 45*833e5d42SEmmanuel Vadot qcom,rx-device = <&wcd_rx>; 46*833e5d42SEmmanuel Vadot qcom,tx-device = <&wcd_tx>; 47*833e5d42SEmmanuel Vadot 48*833e5d42SEmmanuel Vadot reset-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>; 49*833e5d42SEmmanuel Vadot 50*833e5d42SEmmanuel Vadot vdd-buck-supply = <&vreg_l15b_1p8>; 51*833e5d42SEmmanuel Vadot vdd-rxtx-supply = <&vreg_l15b_1p8>; 52*833e5d42SEmmanuel Vadot vdd-io-supply = <&vreg_l15b_1p8>; 53*833e5d42SEmmanuel Vadot vdd-mic-bias-supply = <&vreg_bob1>; 54*833e5d42SEmmanuel Vadot vdd-px-supply = <&vreg_l2i_1p2>; 55*833e5d42SEmmanuel Vadot 56*833e5d42SEmmanuel Vadot #sound-dai-cells = <1>; 57*833e5d42SEmmanuel Vadot }; 58*833e5d42SEmmanuel Vadot 592846c905SEmmanuel Vadot chosen { 602846c905SEmmanuel Vadot stdout-path = "serial0:115200n8"; 612846c905SEmmanuel Vadot }; 622846c905SEmmanuel Vadot 632846c905SEmmanuel Vadot clocks { 642846c905SEmmanuel Vadot xo_board: xo-board { 652846c905SEmmanuel Vadot compatible = "fixed-clock"; 662846c905SEmmanuel Vadot clock-frequency = <76800000>; 672846c905SEmmanuel Vadot #clock-cells = <0>; 682846c905SEmmanuel Vadot }; 692846c905SEmmanuel Vadot 702846c905SEmmanuel Vadot sleep_clk: sleep-clk { 712846c905SEmmanuel Vadot compatible = "fixed-clock"; 722846c905SEmmanuel Vadot clock-frequency = <32000>; 732846c905SEmmanuel Vadot #clock-cells = <0>; 742846c905SEmmanuel Vadot }; 752846c905SEmmanuel Vadot 762846c905SEmmanuel Vadot bi_tcxo_div2: bi-tcxo-div2-clk { 772846c905SEmmanuel Vadot compatible = "fixed-factor-clock"; 782846c905SEmmanuel Vadot #clock-cells = <0>; 792846c905SEmmanuel Vadot 802846c905SEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>; 812846c905SEmmanuel Vadot clock-mult = <1>; 822846c905SEmmanuel Vadot clock-div = <2>; 832846c905SEmmanuel Vadot }; 842846c905SEmmanuel Vadot 852846c905SEmmanuel Vadot bi_tcxo_ao_div2: bi-tcxo-ao-div2-clk { 862846c905SEmmanuel Vadot compatible = "fixed-factor-clock"; 872846c905SEmmanuel Vadot #clock-cells = <0>; 882846c905SEmmanuel Vadot 892846c905SEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK_A>; 902846c905SEmmanuel Vadot clock-mult = <1>; 912846c905SEmmanuel Vadot clock-div = <2>; 922846c905SEmmanuel Vadot }; 932846c905SEmmanuel Vadot }; 942846c905SEmmanuel Vadot 952846c905SEmmanuel Vadot gpio-keys { 962846c905SEmmanuel Vadot compatible = "gpio-keys"; 972846c905SEmmanuel Vadot 982846c905SEmmanuel Vadot pinctrl-0 = <&volume_up_n>; 992846c905SEmmanuel Vadot pinctrl-names = "default"; 1002846c905SEmmanuel Vadot 1012846c905SEmmanuel Vadot key-volume-up { 1022846c905SEmmanuel Vadot label = "Volume Up"; 1032846c905SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 1042846c905SEmmanuel Vadot gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 1052846c905SEmmanuel Vadot debounce-interval = <15>; 1062846c905SEmmanuel Vadot linux,can-disable; 1072846c905SEmmanuel Vadot wakeup-source; 1082846c905SEmmanuel Vadot }; 1092846c905SEmmanuel Vadot }; 1102846c905SEmmanuel Vadot 111*833e5d42SEmmanuel Vadot sound { 112*833e5d42SEmmanuel Vadot compatible = "qcom,sm8750-sndcard", "qcom,sm8450-sndcard"; 113*833e5d42SEmmanuel Vadot model = "SM8750-MTP"; 114*833e5d42SEmmanuel Vadot audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 115*833e5d42SEmmanuel Vadot "SpkrRight IN", "WSA_SPK2 OUT", 116*833e5d42SEmmanuel Vadot "IN1_HPHL", "HPHL_OUT", 117*833e5d42SEmmanuel Vadot "IN2_HPHR", "HPHR_OUT", 118*833e5d42SEmmanuel Vadot "AMIC2", "MIC BIAS2", 119*833e5d42SEmmanuel Vadot "VA DMIC0", "MIC BIAS3", /* MIC4 on schematics */ 120*833e5d42SEmmanuel Vadot "VA DMIC1", "MIC BIAS3", /* MIC1 on schematics */ 121*833e5d42SEmmanuel Vadot "VA DMIC2", "MIC BIAS1", 122*833e5d42SEmmanuel Vadot "VA DMIC3", "MIC BIAS1", 123*833e5d42SEmmanuel Vadot "VA DMIC0", "VA MIC BIAS3", 124*833e5d42SEmmanuel Vadot "VA DMIC1", "VA MIC BIAS3", 125*833e5d42SEmmanuel Vadot "VA DMIC2", "VA MIC BIAS1", 126*833e5d42SEmmanuel Vadot "VA DMIC3", "VA MIC BIAS1", 127*833e5d42SEmmanuel Vadot "TX SWR_INPUT1", "ADC2_OUTPUT"; 128*833e5d42SEmmanuel Vadot 129*833e5d42SEmmanuel Vadot wcd-playback-dai-link { 130*833e5d42SEmmanuel Vadot link-name = "WCD Playback"; 131*833e5d42SEmmanuel Vadot 132*833e5d42SEmmanuel Vadot codec { 133*833e5d42SEmmanuel Vadot sound-dai = <&wcd939x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 134*833e5d42SEmmanuel Vadot }; 135*833e5d42SEmmanuel Vadot 136*833e5d42SEmmanuel Vadot cpu { 137*833e5d42SEmmanuel Vadot sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 138*833e5d42SEmmanuel Vadot }; 139*833e5d42SEmmanuel Vadot 140*833e5d42SEmmanuel Vadot platform { 141*833e5d42SEmmanuel Vadot sound-dai = <&q6apm>; 142*833e5d42SEmmanuel Vadot }; 143*833e5d42SEmmanuel Vadot }; 144*833e5d42SEmmanuel Vadot 145*833e5d42SEmmanuel Vadot wcd-capture-dai-link { 146*833e5d42SEmmanuel Vadot link-name = "WCD Capture"; 147*833e5d42SEmmanuel Vadot 148*833e5d42SEmmanuel Vadot codec { 149*833e5d42SEmmanuel Vadot sound-dai = <&wcd939x 1>, <&swr2 0>, <&lpass_txmacro 0>; 150*833e5d42SEmmanuel Vadot }; 151*833e5d42SEmmanuel Vadot 152*833e5d42SEmmanuel Vadot cpu { 153*833e5d42SEmmanuel Vadot sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 154*833e5d42SEmmanuel Vadot }; 155*833e5d42SEmmanuel Vadot 156*833e5d42SEmmanuel Vadot platform { 157*833e5d42SEmmanuel Vadot sound-dai = <&q6apm>; 158*833e5d42SEmmanuel Vadot }; 159*833e5d42SEmmanuel Vadot }; 160*833e5d42SEmmanuel Vadot 161*833e5d42SEmmanuel Vadot wsa-dai-link { 162*833e5d42SEmmanuel Vadot link-name = "WSA Playback"; 163*833e5d42SEmmanuel Vadot 164*833e5d42SEmmanuel Vadot codec { 165*833e5d42SEmmanuel Vadot sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 166*833e5d42SEmmanuel Vadot }; 167*833e5d42SEmmanuel Vadot 168*833e5d42SEmmanuel Vadot cpu { 169*833e5d42SEmmanuel Vadot sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 170*833e5d42SEmmanuel Vadot }; 171*833e5d42SEmmanuel Vadot 172*833e5d42SEmmanuel Vadot platform { 173*833e5d42SEmmanuel Vadot sound-dai = <&q6apm>; 174*833e5d42SEmmanuel Vadot }; 175*833e5d42SEmmanuel Vadot }; 176*833e5d42SEmmanuel Vadot 177*833e5d42SEmmanuel Vadot va-dai-link { 178*833e5d42SEmmanuel Vadot link-name = "VA Capture"; 179*833e5d42SEmmanuel Vadot 180*833e5d42SEmmanuel Vadot codec { 181*833e5d42SEmmanuel Vadot sound-dai = <&lpass_vamacro 0>; 182*833e5d42SEmmanuel Vadot }; 183*833e5d42SEmmanuel Vadot 184*833e5d42SEmmanuel Vadot cpu { 185*833e5d42SEmmanuel Vadot sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; 186*833e5d42SEmmanuel Vadot }; 187*833e5d42SEmmanuel Vadot 188*833e5d42SEmmanuel Vadot platform { 189*833e5d42SEmmanuel Vadot sound-dai = <&q6apm>; 190*833e5d42SEmmanuel Vadot }; 191*833e5d42SEmmanuel Vadot }; 192*833e5d42SEmmanuel Vadot }; 193*833e5d42SEmmanuel Vadot 1942846c905SEmmanuel Vadot vph_pwr: vph-pwr-regulator { 1952846c905SEmmanuel Vadot compatible = "regulator-fixed"; 1962846c905SEmmanuel Vadot 1972846c905SEmmanuel Vadot regulator-name = "vph_pwr"; 1982846c905SEmmanuel Vadot regulator-min-microvolt = <3700000>; 1992846c905SEmmanuel Vadot regulator-max-microvolt = <3700000>; 2002846c905SEmmanuel Vadot 2012846c905SEmmanuel Vadot regulator-always-on; 2022846c905SEmmanuel Vadot regulator-boot-on; 2032846c905SEmmanuel Vadot }; 2042846c905SEmmanuel Vadot}; 2052846c905SEmmanuel Vadot 2062846c905SEmmanuel Vadot&apps_rsc { 2072846c905SEmmanuel Vadot regulators-0 { 2082846c905SEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 2092846c905SEmmanuel Vadot 2102846c905SEmmanuel Vadot vdd-bob1-supply = <&vph_pwr>; 2112846c905SEmmanuel Vadot vdd-bob2-supply = <&vph_pwr>; 2122846c905SEmmanuel Vadot vdd-l1-l4-l10-supply = <&vreg_s3g_1p8>; 2132846c905SEmmanuel Vadot vdd-l2-l13-l14-supply = <&vreg_bob1>; 2142846c905SEmmanuel Vadot vdd-l3-supply = <&vreg_s7i_1p2>; 2152846c905SEmmanuel Vadot vdd-l5-l16-supply = <&vreg_bob1>; 2162846c905SEmmanuel Vadot vdd-l6-l7-supply = <&vreg_bob1>; 2172846c905SEmmanuel Vadot vdd-l8-l9-supply = <&vreg_bob1>; 2182846c905SEmmanuel Vadot vdd-l11-supply = <&vreg_s7i_1p2>; 2192846c905SEmmanuel Vadot vdd-l12-supply = <&vreg_s3g_1p8>; 2202846c905SEmmanuel Vadot vdd-l15-supply = <&vreg_s3g_1p8>; 2212846c905SEmmanuel Vadot vdd-l17-supply = <&vreg_bob2>; 2222846c905SEmmanuel Vadot 2232846c905SEmmanuel Vadot qcom,pmic-id = "b"; 2242846c905SEmmanuel Vadot 2252846c905SEmmanuel Vadot vreg_bob1: bob1 { 2262846c905SEmmanuel Vadot regulator-name = "vreg_bob1"; 2272846c905SEmmanuel Vadot regulator-min-microvolt = <3008000>; 2282846c905SEmmanuel Vadot regulator-max-microvolt = <4000000>; 2292846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2302846c905SEmmanuel Vadot }; 2312846c905SEmmanuel Vadot 2322846c905SEmmanuel Vadot vreg_bob2: bob2 { 2332846c905SEmmanuel Vadot regulator-name = "vreg_bob2"; 2342846c905SEmmanuel Vadot regulator-min-microvolt = <2704000>; 2352846c905SEmmanuel Vadot regulator-max-microvolt = <3008000>; 2362846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2372846c905SEmmanuel Vadot }; 2382846c905SEmmanuel Vadot 2392846c905SEmmanuel Vadot vreg_l1b_1p8: ldo1 { 2402846c905SEmmanuel Vadot regulator-name = "vreg_l1b_1p8"; 2412846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2422846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2432846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2442846c905SEmmanuel Vadot regulator-allow-set-load; 2452846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2462846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2472846c905SEmmanuel Vadot }; 2482846c905SEmmanuel Vadot 2492846c905SEmmanuel Vadot vreg_l2b_3p0: ldo2 { 2502846c905SEmmanuel Vadot regulator-name = "vreg_l2b_3p0"; 2512846c905SEmmanuel Vadot regulator-min-microvolt = <3008000>; 2522846c905SEmmanuel Vadot regulator-max-microvolt = <3048000>; 2532846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2542846c905SEmmanuel Vadot regulator-allow-set-load; 2552846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2562846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2572846c905SEmmanuel Vadot }; 2582846c905SEmmanuel Vadot 2592846c905SEmmanuel Vadot vreg_l4b_1p8: ldo4 { 2602846c905SEmmanuel Vadot regulator-name = "vreg_l4b_1p8"; 2612846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2622846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2632846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2642846c905SEmmanuel Vadot regulator-allow-set-load; 2652846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2662846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2672846c905SEmmanuel Vadot }; 2682846c905SEmmanuel Vadot 2692846c905SEmmanuel Vadot vreg_l5b_3p1: ldo5 { 2702846c905SEmmanuel Vadot regulator-name = "vreg_l5b_3p1"; 2712846c905SEmmanuel Vadot regulator-min-microvolt = <3100000>; 2722846c905SEmmanuel Vadot regulator-max-microvolt = <3148000>; 2732846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2742846c905SEmmanuel Vadot regulator-allow-set-load; 2752846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2762846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2772846c905SEmmanuel Vadot }; 2782846c905SEmmanuel Vadot 2792846c905SEmmanuel Vadot vreg_l6b_1p8: ldo6 { 2802846c905SEmmanuel Vadot regulator-name = "vreg_l6b_1p8"; 2812846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2822846c905SEmmanuel Vadot regulator-max-microvolt = <3008000>; 2832846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2842846c905SEmmanuel Vadot regulator-allow-set-load; 2852846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2862846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2872846c905SEmmanuel Vadot }; 2882846c905SEmmanuel Vadot 2892846c905SEmmanuel Vadot vreg_l7b_1p8: ldo7 { 2902846c905SEmmanuel Vadot regulator-name = "vreg_l7b_1p8"; 2912846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2922846c905SEmmanuel Vadot regulator-max-microvolt = <3008000>; 2932846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2942846c905SEmmanuel Vadot regulator-allow-set-load; 2952846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2962846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2972846c905SEmmanuel Vadot 2982846c905SEmmanuel Vadot }; 2992846c905SEmmanuel Vadot 3002846c905SEmmanuel Vadot vreg_l8b_1p8: ldo8 { 3012846c905SEmmanuel Vadot regulator-name = "vreg_l8b_1p8"; 3022846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3032846c905SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3042846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3052846c905SEmmanuel Vadot regulator-allow-set-load; 3062846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3072846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3082846c905SEmmanuel Vadot }; 3092846c905SEmmanuel Vadot 3102846c905SEmmanuel Vadot vreg_l9b_2p9: ldo9 { 3112846c905SEmmanuel Vadot regulator-name = "vreg_l9b_2p9"; 3122846c905SEmmanuel Vadot regulator-min-microvolt = <2960000>; 3132846c905SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3142846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3152846c905SEmmanuel Vadot regulator-allow-set-load; 3162846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3172846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3182846c905SEmmanuel Vadot }; 3192846c905SEmmanuel Vadot 3202846c905SEmmanuel Vadot vreg_l10b_1p8: ldo10 { 3212846c905SEmmanuel Vadot regulator-name = "vreg_l10b_1p8"; 3222846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3232846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3242846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3252846c905SEmmanuel Vadot regulator-allow-set-load; 3262846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3272846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3282846c905SEmmanuel Vadot }; 3292846c905SEmmanuel Vadot 3302846c905SEmmanuel Vadot vreg_l11b_1p0: ldo11 { 3312846c905SEmmanuel Vadot regulator-name = "vreg_l11b_1p0"; 3322846c905SEmmanuel Vadot regulator-min-microvolt = <1064000>; 3332846c905SEmmanuel Vadot regulator-max-microvolt = <1292000>; 3342846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3352846c905SEmmanuel Vadot regulator-allow-set-load; 3362846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3372846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3382846c905SEmmanuel Vadot }; 3392846c905SEmmanuel Vadot 3402846c905SEmmanuel Vadot vreg_l12b_1p8: ldo12 { 3412846c905SEmmanuel Vadot regulator-name = "vreg_l12b_1p8"; 3422846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3432846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3442846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3452846c905SEmmanuel Vadot regulator-allow-set-load; 3462846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3472846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3482846c905SEmmanuel Vadot }; 3492846c905SEmmanuel Vadot 3502846c905SEmmanuel Vadot vreg_l13b_3p0: ldo13 { 3512846c905SEmmanuel Vadot regulator-name = "vreg_l13b_3p0"; 3522846c905SEmmanuel Vadot regulator-min-microvolt = <3000000>; 3532846c905SEmmanuel Vadot regulator-max-microvolt = <3000000>; 3542846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3552846c905SEmmanuel Vadot regulator-allow-set-load; 3562846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3572846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3582846c905SEmmanuel Vadot }; 3592846c905SEmmanuel Vadot 3602846c905SEmmanuel Vadot vreg_l14b_3p2: ldo14 { 3612846c905SEmmanuel Vadot regulator-name = "vreg_l14b_3p2"; 3622846c905SEmmanuel Vadot regulator-min-microvolt = <3200000>; 3632846c905SEmmanuel Vadot regulator-max-microvolt = <3200000>; 3642846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3652846c905SEmmanuel Vadot regulator-allow-set-load; 3662846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3672846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3682846c905SEmmanuel Vadot }; 3692846c905SEmmanuel Vadot 3702846c905SEmmanuel Vadot vreg_l15b_1p8: ldo15 { 3712846c905SEmmanuel Vadot regulator-name = "vreg_l15b_1p8"; 3722846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3732846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3742846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3752846c905SEmmanuel Vadot regulator-allow-set-load; 3762846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3772846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3782846c905SEmmanuel Vadot }; 3792846c905SEmmanuel Vadot 3802846c905SEmmanuel Vadot vreg_l16b_2p8: ldo16 { 3812846c905SEmmanuel Vadot regulator-name = "vreg_l16b_2p8"; 3822846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 3832846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 3842846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3852846c905SEmmanuel Vadot regulator-allow-set-load; 3862846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3872846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3882846c905SEmmanuel Vadot }; 3892846c905SEmmanuel Vadot 3902846c905SEmmanuel Vadot vreg_l17b_2p5: ldo17 { 3912846c905SEmmanuel Vadot regulator-name = "vreg_l17b_2p5"; 3922846c905SEmmanuel Vadot regulator-min-microvolt = <2504000>; 3932846c905SEmmanuel Vadot regulator-max-microvolt = <2504000>; 3942846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3952846c905SEmmanuel Vadot regulator-allow-set-load; 3962846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3972846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3982846c905SEmmanuel Vadot }; 3992846c905SEmmanuel Vadot }; 4002846c905SEmmanuel Vadot 4012846c905SEmmanuel Vadot regulators-1 { 4022846c905SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 4032846c905SEmmanuel Vadot 4042846c905SEmmanuel Vadot vdd-l1-supply = <&vreg_s7i_1p2>; 4052846c905SEmmanuel Vadot vdd-l2-supply = <&vreg_s1d_0p97>; 4062846c905SEmmanuel Vadot vdd-l3-supply = <&vreg_s1d_0p97>; 4072846c905SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 4082846c905SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 4092846c905SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 4102846c905SEmmanuel Vadot 4112846c905SEmmanuel Vadot qcom,pmic-id = "d"; 4122846c905SEmmanuel Vadot 4132846c905SEmmanuel Vadot vreg_s1d_0p97: smps1 { 4142846c905SEmmanuel Vadot regulator-name = "vreg_s1d_0p97"; 4152846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 4162846c905SEmmanuel Vadot regulator-max-microvolt = <1100000>; 4172846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4182846c905SEmmanuel Vadot }; 4192846c905SEmmanuel Vadot 4202846c905SEmmanuel Vadot vreg_s3d_1p2: smps3 { 4212846c905SEmmanuel Vadot regulator-name = "vreg_s3d_1p2"; 4222846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4232846c905SEmmanuel Vadot regulator-max-microvolt = <1300000>; 4242846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4252846c905SEmmanuel Vadot }; 4262846c905SEmmanuel Vadot 4272846c905SEmmanuel Vadot vreg_s4d_0p85: smps4 { 4282846c905SEmmanuel Vadot regulator-name = "vreg_s4d_0p85"; 4292846c905SEmmanuel Vadot regulator-min-microvolt = <500000>; 4302846c905SEmmanuel Vadot regulator-max-microvolt = <1036000>; 4312846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4322846c905SEmmanuel Vadot }; 4332846c905SEmmanuel Vadot 4342846c905SEmmanuel Vadot vreg_l1d_1p2: ldo1 { 4352846c905SEmmanuel Vadot regulator-name = "vreg_l1d_1p2"; 4362846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4372846c905SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4382846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4392846c905SEmmanuel Vadot regulator-allow-set-load; 4402846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4412846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4422846c905SEmmanuel Vadot }; 4432846c905SEmmanuel Vadot 4442846c905SEmmanuel Vadot vreg_l2d_0p88: ldo2 { 4452846c905SEmmanuel Vadot regulator-name = "vreg_l2d_0p88"; 4462846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 4472846c905SEmmanuel Vadot regulator-max-microvolt = <912000>; 4482846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4492846c905SEmmanuel Vadot regulator-allow-set-load; 4502846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4512846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4522846c905SEmmanuel Vadot }; 4532846c905SEmmanuel Vadot 4542846c905SEmmanuel Vadot vreg_l3d_0p88: ldo3 { 4552846c905SEmmanuel Vadot regulator-name = "vreg_l3d_0p88"; 4562846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 4572846c905SEmmanuel Vadot regulator-max-microvolt = <920000>; 4582846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4592846c905SEmmanuel Vadot regulator-allow-set-load; 4602846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4612846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4622846c905SEmmanuel Vadot }; 4632846c905SEmmanuel Vadot }; 4642846c905SEmmanuel Vadot 4652846c905SEmmanuel Vadot regulators-2 { 4662846c905SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 4672846c905SEmmanuel Vadot 4682846c905SEmmanuel Vadot vdd-l1-supply = <&vreg_s1d_0p97>; 4692846c905SEmmanuel Vadot vdd-l2-supply = <&vreg_s7i_1p2>; 4702846c905SEmmanuel Vadot vdd-l3-supply = <&vreg_s3g_1p8>; 4712846c905SEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 4722846c905SEmmanuel Vadot 4732846c905SEmmanuel Vadot qcom,pmic-id = "f"; 4742846c905SEmmanuel Vadot 4752846c905SEmmanuel Vadot vreg_s5f_0p5: smps5 { 4762846c905SEmmanuel Vadot regulator-name = "vreg_s5f_0p5"; 4772846c905SEmmanuel Vadot regulator-min-microvolt = <500000>; 4782846c905SEmmanuel Vadot regulator-max-microvolt = <1000000>; 4792846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4802846c905SEmmanuel Vadot }; 4812846c905SEmmanuel Vadot 4822846c905SEmmanuel Vadot vreg_l1f_0p88: ldo1 { 4832846c905SEmmanuel Vadot regulator-name = "vreg_l1f_0p88"; 4842846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 4852846c905SEmmanuel Vadot regulator-max-microvolt = <920000>; 4862846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4872846c905SEmmanuel Vadot regulator-allow-set-load; 4882846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4892846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4902846c905SEmmanuel Vadot }; 4912846c905SEmmanuel Vadot 4922846c905SEmmanuel Vadot vreg_l2f_1p2: ldo2 { 4932846c905SEmmanuel Vadot regulator-name = "vreg_l2f_1p2"; 4942846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4952846c905SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4962846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4972846c905SEmmanuel Vadot regulator-allow-set-load; 4982846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4992846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5002846c905SEmmanuel Vadot }; 5012846c905SEmmanuel Vadot 5022846c905SEmmanuel Vadot vreg_l3f_1p8: ldo3 { 5032846c905SEmmanuel Vadot regulator-name = "vreg_l3f_1p8"; 5042846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5052846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 5062846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5072846c905SEmmanuel Vadot regulator-allow-set-load; 5082846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5092846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5102846c905SEmmanuel Vadot }; 5112846c905SEmmanuel Vadot 5122846c905SEmmanuel Vadot }; 5132846c905SEmmanuel Vadot 5142846c905SEmmanuel Vadot regulators-3 { 5152846c905SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 5162846c905SEmmanuel Vadot 5172846c905SEmmanuel Vadot vdd-l1-supply = <&vreg_s1d_0p97>; 5182846c905SEmmanuel Vadot vdd-l2-supply = <&vreg_s3g_1p8>; 5192846c905SEmmanuel Vadot vdd-l3-supply = <&vreg_s7i_1p2>; 5202846c905SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 5212846c905SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 5222846c905SEmmanuel Vadot 5232846c905SEmmanuel Vadot qcom,pmic-id = "g"; 5242846c905SEmmanuel Vadot 5252846c905SEmmanuel Vadot vreg_s1g_0p5: smps1 { 5262846c905SEmmanuel Vadot regulator-name = "vreg_s1g_0p5"; 5272846c905SEmmanuel Vadot regulator-min-microvolt = <300000>; 5282846c905SEmmanuel Vadot regulator-max-microvolt = <700000>; 5292846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5302846c905SEmmanuel Vadot }; 5312846c905SEmmanuel Vadot 5322846c905SEmmanuel Vadot vreg_s3g_1p8: smps3 { 5332846c905SEmmanuel Vadot regulator-name = "vreg_s3g_1p8"; 5342846c905SEmmanuel Vadot regulator-min-microvolt = <1856000>; 5352846c905SEmmanuel Vadot regulator-max-microvolt = <2000000>; 5362846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; 5372846c905SEmmanuel Vadot regulator-allow-set-load; 5382846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5392846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5402846c905SEmmanuel Vadot }; 5412846c905SEmmanuel Vadot 5422846c905SEmmanuel Vadot vreg_s4g_0p75: smps4 { 5432846c905SEmmanuel Vadot regulator-name = "vreg_s4g_0p75"; 5442846c905SEmmanuel Vadot regulator-min-microvolt = <300000>; 5452846c905SEmmanuel Vadot regulator-max-microvolt = <900000>; 5462846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5472846c905SEmmanuel Vadot }; 5482846c905SEmmanuel Vadot 5492846c905SEmmanuel Vadot vreg_l1g_0p91: ldo1 { 5502846c905SEmmanuel Vadot regulator-name = "vreg_l1g_0p91"; 5512846c905SEmmanuel Vadot regulator-min-microvolt = <912000>; 5522846c905SEmmanuel Vadot regulator-max-microvolt = <936000>; 5532846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5542846c905SEmmanuel Vadot regulator-allow-set-load; 5552846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5562846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5572846c905SEmmanuel Vadot }; 5582846c905SEmmanuel Vadot 5592846c905SEmmanuel Vadot vreg_l2g_1p8: ldo2 { 5602846c905SEmmanuel Vadot regulator-name = "vreg_l2g_1p8"; 5612846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 5622846c905SEmmanuel Vadot regulator-max-microvolt = <1860000>; 5632846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5642846c905SEmmanuel Vadot regulator-allow-set-load; 5652846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5662846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5672846c905SEmmanuel Vadot }; 5682846c905SEmmanuel Vadot 5692846c905SEmmanuel Vadot vreg_l3g_1p2: ldo3 { 5702846c905SEmmanuel Vadot regulator-name = "vreg_l3g_1p2"; 5712846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 5722846c905SEmmanuel Vadot regulator-max-microvolt = <1256000>; 5732846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5742846c905SEmmanuel Vadot regulator-allow-set-load; 5752846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5762846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5772846c905SEmmanuel Vadot }; 5782846c905SEmmanuel Vadot }; 5792846c905SEmmanuel Vadot 5802846c905SEmmanuel Vadot regulators-4 { 5812846c905SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 5822846c905SEmmanuel Vadot 5832846c905SEmmanuel Vadot vdd-l1-supply = <&vreg_s7i_1p2>; 5842846c905SEmmanuel Vadot vdd-l2-supply = <&vreg_s7i_1p2>; 5852846c905SEmmanuel Vadot vdd-l3-supply = <&vreg_s1d_0p97>; 5862846c905SEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 5872846c905SEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 5882846c905SEmmanuel Vadot 5892846c905SEmmanuel Vadot qcom,pmic-id = "i"; 5902846c905SEmmanuel Vadot 5912846c905SEmmanuel Vadot vreg_s7i_1p2: smps7 { 5922846c905SEmmanuel Vadot regulator-name = "vreg_s7i_1p2"; 5932846c905SEmmanuel Vadot regulator-min-microvolt = <1224000>; 5942846c905SEmmanuel Vadot regulator-max-microvolt = <1340000>; 5952846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5962846c905SEmmanuel Vadot }; 5972846c905SEmmanuel Vadot 5982846c905SEmmanuel Vadot vreg_s8i_0p9: smps8 { 5992846c905SEmmanuel Vadot regulator-name = "vreg_s8i_0p9"; 6002846c905SEmmanuel Vadot regulator-min-microvolt = <900000>; 6012846c905SEmmanuel Vadot regulator-max-microvolt = <972000>; 6022846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6032846c905SEmmanuel Vadot }; 6042846c905SEmmanuel Vadot 6052846c905SEmmanuel Vadot vreg_l1i_1p2: ldo1 { 6062846c905SEmmanuel Vadot regulator-name = "vreg_l1i_1p2"; 6072846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 6082846c905SEmmanuel Vadot regulator-max-microvolt = <1200000>; 6092846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6102846c905SEmmanuel Vadot regulator-allow-set-load; 6112846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6122846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6132846c905SEmmanuel Vadot }; 6142846c905SEmmanuel Vadot 6152846c905SEmmanuel Vadot vreg_l2i_1p2: ldo2 { 6162846c905SEmmanuel Vadot regulator-name = "vreg_l2i_1p2"; 6172846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 6182846c905SEmmanuel Vadot regulator-max-microvolt = <1200000>; 6192846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6202846c905SEmmanuel Vadot regulator-allow-set-load; 6212846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6222846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6232846c905SEmmanuel Vadot }; 6242846c905SEmmanuel Vadot 6252846c905SEmmanuel Vadot vreg_l3i_0p88: ldo3 { 6262846c905SEmmanuel Vadot regulator-name = "vreg_l3i_0p88"; 6272846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 6282846c905SEmmanuel Vadot regulator-max-microvolt = <912000>; 6292846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6302846c905SEmmanuel Vadot regulator-allow-set-load; 6312846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6322846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6332846c905SEmmanuel Vadot }; 6342846c905SEmmanuel Vadot }; 6352846c905SEmmanuel Vadot 6362846c905SEmmanuel Vadot regulators-5 { 6372846c905SEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 6382846c905SEmmanuel Vadot 6392846c905SEmmanuel Vadot vdd-l1-supply = <&vreg_s1d_0p97>; 6402846c905SEmmanuel Vadot vdd-l2-supply = <&vreg_s7i_1p2>; 6412846c905SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 6422846c905SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 6432846c905SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 6442846c905SEmmanuel Vadot 6452846c905SEmmanuel Vadot qcom,pmic-id = "j"; 6462846c905SEmmanuel Vadot 6472846c905SEmmanuel Vadot vreg_s2j_1p1: smps2 { 6482846c905SEmmanuel Vadot regulator-name = "vreg_s2j_1p1"; 6492846c905SEmmanuel Vadot regulator-min-microvolt = <1000000>; 6502846c905SEmmanuel Vadot regulator-max-microvolt = <1100000>; 6512846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6522846c905SEmmanuel Vadot }; 6532846c905SEmmanuel Vadot 6542846c905SEmmanuel Vadot vreg_s3j_1p1: smps3 { 6552846c905SEmmanuel Vadot regulator-name = "vreg_s3j_1p1"; 6562846c905SEmmanuel Vadot regulator-min-microvolt = <1000000>; 6572846c905SEmmanuel Vadot regulator-max-microvolt = <1100000>; 6582846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6592846c905SEmmanuel Vadot }; 6602846c905SEmmanuel Vadot 6612846c905SEmmanuel Vadot vreg_l1j_0p91: ldo1 { 6622846c905SEmmanuel Vadot regulator-name = "vreg_l1j_0p91"; 6632846c905SEmmanuel Vadot regulator-min-microvolt = <880000>; 6642846c905SEmmanuel Vadot regulator-max-microvolt = <920000>; 6652846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6662846c905SEmmanuel Vadot regulator-allow-set-load; 6672846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6682846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6692846c905SEmmanuel Vadot }; 6702846c905SEmmanuel Vadot 6712846c905SEmmanuel Vadot vreg_l2j_1p2: ldo2 { 6722846c905SEmmanuel Vadot regulator-name = "vreg_l2j_1p2"; 6732846c905SEmmanuel Vadot regulator-min-microvolt = <1200000>; 6742846c905SEmmanuel Vadot regulator-max-microvolt = <1200000>; 6752846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6762846c905SEmmanuel Vadot regulator-allow-set-load; 6772846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6782846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6792846c905SEmmanuel Vadot }; 6802846c905SEmmanuel Vadot }; 6812846c905SEmmanuel Vadot 6822846c905SEmmanuel Vadot regulators-6 { 6832846c905SEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 6842846c905SEmmanuel Vadot qcom,pmic-id = "m"; 6852846c905SEmmanuel Vadot 6862846c905SEmmanuel Vadot vdd-l1-l2-supply = <&vreg_s7i_1p2>; 6872846c905SEmmanuel Vadot vdd-l3-l4-supply = <&vreg_bob2>; 6882846c905SEmmanuel Vadot vdd-l5-supply = <&vreg_s3g_1p8>; 6892846c905SEmmanuel Vadot vdd-l6-supply = <&vreg_bob1>; 6902846c905SEmmanuel Vadot vdd-l7-supply = <&vreg_bob1>; 6912846c905SEmmanuel Vadot 6922846c905SEmmanuel Vadot vreg_l1m_1p1: ldo1 { 6932846c905SEmmanuel Vadot regulator-name = "vreg_l1m_1p1"; 6942846c905SEmmanuel Vadot regulator-min-microvolt = <1104000>; 6952846c905SEmmanuel Vadot regulator-max-microvolt = <1104000>; 6962846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6972846c905SEmmanuel Vadot regulator-allow-set-load; 6982846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6992846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 7002846c905SEmmanuel Vadot }; 7012846c905SEmmanuel Vadot 7022846c905SEmmanuel Vadot vreg_l2m_1p056: ldo2 { 7032846c905SEmmanuel Vadot regulator-name = "vreg_l2m_1p056"; 7042846c905SEmmanuel Vadot regulator-min-microvolt = <1056000>; 7052846c905SEmmanuel Vadot regulator-max-microvolt = <1056000>; 7062846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7072846c905SEmmanuel Vadot regulator-allow-set-load; 7082846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 7092846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 7102846c905SEmmanuel Vadot }; 7112846c905SEmmanuel Vadot 7122846c905SEmmanuel Vadot vreg_l3m_2p8: ldo3 { 7132846c905SEmmanuel Vadot regulator-name = "vreg_l3m_2p8"; 7142846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 7152846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 7162846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7172846c905SEmmanuel Vadot }; 7182846c905SEmmanuel Vadot 7192846c905SEmmanuel Vadot vreg_l4m_2p8: ldo4 { 7202846c905SEmmanuel Vadot regulator-name = "vreg_l4m_2p8"; 7212846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 7222846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 7232846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7242846c905SEmmanuel Vadot }; 7252846c905SEmmanuel Vadot 7262846c905SEmmanuel Vadot vreg_l5m_1p8: ldo5 { 7272846c905SEmmanuel Vadot regulator-name = "vreg_l5m_1p8"; 7282846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 7292846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 7302846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7312846c905SEmmanuel Vadot }; 7322846c905SEmmanuel Vadot 7332846c905SEmmanuel Vadot vreg_l6m_2p8: ldo6 { 7342846c905SEmmanuel Vadot regulator-name = "vreg_l6m_2p8"; 7352846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 7362846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 7372846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7382846c905SEmmanuel Vadot }; 7392846c905SEmmanuel Vadot 7402846c905SEmmanuel Vadot vreg_l7m_2p96: ldo7 { 7412846c905SEmmanuel Vadot regulator-name = "vreg_l7m_2p96"; 7422846c905SEmmanuel Vadot regulator-min-microvolt = <2960000>; 7432846c905SEmmanuel Vadot regulator-max-microvolt = <2960000>; 7442846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7452846c905SEmmanuel Vadot }; 7462846c905SEmmanuel Vadot }; 7472846c905SEmmanuel Vadot 7482846c905SEmmanuel Vadot regulators-7 { 7492846c905SEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 7502846c905SEmmanuel Vadot qcom,pmic-id = "n"; 7512846c905SEmmanuel Vadot 7522846c905SEmmanuel Vadot vdd-l1-l2-supply = <&vreg_s7i_1p2>; 7532846c905SEmmanuel Vadot vdd-l3-l4-supply = <&vreg_s3g_1p8>; 7542846c905SEmmanuel Vadot vdd-l5-supply = <&vreg_bob2>; 7552846c905SEmmanuel Vadot vdd-l6-supply = <&vreg_bob2>; 7562846c905SEmmanuel Vadot vdd-l7-supply = <&vreg_bob1>; 7572846c905SEmmanuel Vadot 7582846c905SEmmanuel Vadot vreg_l1n_1p1: ldo1 { 7592846c905SEmmanuel Vadot regulator-name = "vreg_l1n_1p1"; 7602846c905SEmmanuel Vadot regulator-min-microvolt = <1104000>; 7612846c905SEmmanuel Vadot regulator-max-microvolt = <1104000>; 7622846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7632846c905SEmmanuel Vadot regulator-allow-set-load; 7642846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 7652846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 7662846c905SEmmanuel Vadot }; 7672846c905SEmmanuel Vadot 7682846c905SEmmanuel Vadot vreg_l2n_1p1: ldo2 { 7692846c905SEmmanuel Vadot regulator-name = "vreg_l2n_1p1"; 7702846c905SEmmanuel Vadot regulator-min-microvolt = <1104000>; 7712846c905SEmmanuel Vadot regulator-max-microvolt = <1104000>; 7722846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7732846c905SEmmanuel Vadot regulator-allow-set-load; 7742846c905SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 7752846c905SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 7762846c905SEmmanuel Vadot }; 7772846c905SEmmanuel Vadot 7782846c905SEmmanuel Vadot vreg_l3n_1p8: ldo3 { 7792846c905SEmmanuel Vadot regulator-name = "vreg_l3n_1p8"; 7802846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 7812846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 7822846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7832846c905SEmmanuel Vadot }; 7842846c905SEmmanuel Vadot 7852846c905SEmmanuel Vadot vreg_l4n_1p8: ldo4 { 7862846c905SEmmanuel Vadot regulator-name = "vreg_l4n_1p8"; 7872846c905SEmmanuel Vadot regulator-min-microvolt = <1800000>; 7882846c905SEmmanuel Vadot regulator-max-microvolt = <1800000>; 7892846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7902846c905SEmmanuel Vadot }; 7912846c905SEmmanuel Vadot 7922846c905SEmmanuel Vadot vreg_l5n_2p8: ldo5 { 7932846c905SEmmanuel Vadot regulator-name = "vreg_l5n_2p8"; 7942846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 7952846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 7962846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 7972846c905SEmmanuel Vadot }; 7982846c905SEmmanuel Vadot 7992846c905SEmmanuel Vadot vreg_l6n_2p8: ldo6 { 8002846c905SEmmanuel Vadot regulator-name = "vreg_l6n_2p8"; 8012846c905SEmmanuel Vadot regulator-min-microvolt = <2800000>; 8022846c905SEmmanuel Vadot regulator-max-microvolt = <2800000>; 8032846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 8042846c905SEmmanuel Vadot }; 8052846c905SEmmanuel Vadot 8062846c905SEmmanuel Vadot vreg_l7n_3p3: ldo7 { 8072846c905SEmmanuel Vadot regulator-name = "vreg_l7n_3p3"; 8082846c905SEmmanuel Vadot regulator-min-microvolt = <3304000>; 8092846c905SEmmanuel Vadot regulator-max-microvolt = <3304000>; 8102846c905SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 8112846c905SEmmanuel Vadot }; 8122846c905SEmmanuel Vadot }; 8132846c905SEmmanuel Vadot}; 8142846c905SEmmanuel Vadot 815*833e5d42SEmmanuel Vadot&lpass_vamacro { 816*833e5d42SEmmanuel Vadot pinctrl-0 = <&dmic01_default>, <&dmic23_default>; 817*833e5d42SEmmanuel Vadot pinctrl-names = "default"; 818*833e5d42SEmmanuel Vadot 819*833e5d42SEmmanuel Vadot vdd-micb-supply = <&vreg_l1b_1p8>; 820*833e5d42SEmmanuel Vadot qcom,dmic-sample-rate = <4800000>; 821*833e5d42SEmmanuel Vadot}; 822*833e5d42SEmmanuel Vadot 8232846c905SEmmanuel Vadot&pm8550_flash { 8242846c905SEmmanuel Vadot status = "okay"; 8252846c905SEmmanuel Vadot 8262846c905SEmmanuel Vadot led-0 { 8272846c905SEmmanuel Vadot function = LED_FUNCTION_FLASH; 8282846c905SEmmanuel Vadot color = <LED_COLOR_ID_YELLOW>; 8292846c905SEmmanuel Vadot led-sources = <1>, <4>; 8302846c905SEmmanuel Vadot led-max-microamp = <500000>; 8312846c905SEmmanuel Vadot flash-max-microamp = <2000000>; 8322846c905SEmmanuel Vadot flash-max-timeout-us = <1280000>; 8332846c905SEmmanuel Vadot function-enumerator = <0>; 8342846c905SEmmanuel Vadot }; 8352846c905SEmmanuel Vadot 8362846c905SEmmanuel Vadot led-1 { 8372846c905SEmmanuel Vadot function = LED_FUNCTION_FLASH; 8382846c905SEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 8392846c905SEmmanuel Vadot led-sources = <2>, <3>; 8402846c905SEmmanuel Vadot led-max-microamp = <500000>; 8412846c905SEmmanuel Vadot flash-max-microamp = <2000000>; 8422846c905SEmmanuel Vadot flash-max-timeout-us = <1280000>; 8432846c905SEmmanuel Vadot function-enumerator = <1>; 8442846c905SEmmanuel Vadot }; 8452846c905SEmmanuel Vadot}; 8462846c905SEmmanuel Vadot 8472846c905SEmmanuel Vadot&pm8550_gpios { 8482846c905SEmmanuel Vadot volume_up_n: volume-up-n-state { 8492846c905SEmmanuel Vadot pins = "gpio6"; 8502846c905SEmmanuel Vadot function = "normal"; 8512846c905SEmmanuel Vadot bias-pull-up; 8522846c905SEmmanuel Vadot input-enable; 8532846c905SEmmanuel Vadot power-source = <1>; 8542846c905SEmmanuel Vadot }; 8552846c905SEmmanuel Vadot}; 8562846c905SEmmanuel Vadot 8572846c905SEmmanuel Vadot&pm8550_pwm { 8582846c905SEmmanuel Vadot status = "okay"; 8592846c905SEmmanuel Vadot 8602846c905SEmmanuel Vadot multi-led { 8612846c905SEmmanuel Vadot color = <LED_COLOR_ID_RGB>; 8622846c905SEmmanuel Vadot function = LED_FUNCTION_STATUS; 8632846c905SEmmanuel Vadot 8642846c905SEmmanuel Vadot #address-cells = <1>; 8652846c905SEmmanuel Vadot #size-cells = <0>; 8662846c905SEmmanuel Vadot 8672846c905SEmmanuel Vadot led@1 { 8682846c905SEmmanuel Vadot reg = <1>; 8692846c905SEmmanuel Vadot color = <LED_COLOR_ID_RED>; 8702846c905SEmmanuel Vadot }; 8712846c905SEmmanuel Vadot 8722846c905SEmmanuel Vadot led@2 { 8732846c905SEmmanuel Vadot reg = <2>; 8742846c905SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 8752846c905SEmmanuel Vadot }; 8762846c905SEmmanuel Vadot 8772846c905SEmmanuel Vadot led@3 { 8782846c905SEmmanuel Vadot reg = <3>; 8792846c905SEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 8802846c905SEmmanuel Vadot }; 8812846c905SEmmanuel Vadot }; 8822846c905SEmmanuel Vadot}; 8832846c905SEmmanuel Vadot 8842846c905SEmmanuel Vadot&pon_pwrkey { 8852846c905SEmmanuel Vadot status = "okay"; 8862846c905SEmmanuel Vadot}; 8872846c905SEmmanuel Vadot 8882846c905SEmmanuel Vadot&pon_resin { 8892846c905SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 8902846c905SEmmanuel Vadot 8912846c905SEmmanuel Vadot status = "okay"; 8922846c905SEmmanuel Vadot}; 8932846c905SEmmanuel Vadot 8942846c905SEmmanuel Vadot&pmih0108_eusb2_repeater { 8952846c905SEmmanuel Vadot status = "okay"; 8962846c905SEmmanuel Vadot 8972846c905SEmmanuel Vadot vdd18-supply = <&vreg_l15b_1p8>; 8982846c905SEmmanuel Vadot vdd3-supply = <&vreg_l5b_3p1>; 8992846c905SEmmanuel Vadot}; 9002846c905SEmmanuel Vadot 9012846c905SEmmanuel Vadot&qupv3_1 { 9022846c905SEmmanuel Vadot status = "okay"; 9032846c905SEmmanuel Vadot}; 9042846c905SEmmanuel Vadot 905ae5de77eSEmmanuel Vadot&remoteproc_adsp { 906ae5de77eSEmmanuel Vadot firmware-name = "qcom/sm8750/adsp.mbn", 907ae5de77eSEmmanuel Vadot "qcom/sm8750/adsp_dtb.mbn"; 908ae5de77eSEmmanuel Vadot 909ae5de77eSEmmanuel Vadot status = "okay"; 910ae5de77eSEmmanuel Vadot}; 911ae5de77eSEmmanuel Vadot 912ae5de77eSEmmanuel Vadot&remoteproc_cdsp { 913ae5de77eSEmmanuel Vadot firmware-name = "qcom/sm8750/cdsp.mbn", 914ae5de77eSEmmanuel Vadot "qcom/sm8750/cdsp_dtb.mbn"; 915ae5de77eSEmmanuel Vadot 916ae5de77eSEmmanuel Vadot status = "okay"; 917ae5de77eSEmmanuel Vadot}; 918ae5de77eSEmmanuel Vadot 919ae5de77eSEmmanuel Vadot&remoteproc_mpss { 920ae5de77eSEmmanuel Vadot firmware-name = "qcom/sm8750/modem.mbn", 921ae5de77eSEmmanuel Vadot "qcom/sm8750/modem_dtb.mbn"; 922ae5de77eSEmmanuel Vadot 923ae5de77eSEmmanuel Vadot /* Modem crashes after some time with "DOG detects stalled initialization" */ 924ae5de77eSEmmanuel Vadot status = "fail"; 925ae5de77eSEmmanuel Vadot}; 926ae5de77eSEmmanuel Vadot 927*833e5d42SEmmanuel Vadot&swr0 { 928*833e5d42SEmmanuel Vadot status = "okay"; 929*833e5d42SEmmanuel Vadot 930*833e5d42SEmmanuel Vadot /* WSA883x, left/front speaker */ 931*833e5d42SEmmanuel Vadot left_spkr: speaker@0,1 { 932*833e5d42SEmmanuel Vadot compatible = "sdw10217020200"; 933*833e5d42SEmmanuel Vadot reg = <0 1>; 934*833e5d42SEmmanuel Vadot pinctrl-0 = <&spkr_0_sd_n_active>; 935*833e5d42SEmmanuel Vadot pinctrl-names = "default"; 936*833e5d42SEmmanuel Vadot powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 937*833e5d42SEmmanuel Vadot #sound-dai-cells = <0>; 938*833e5d42SEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 939*833e5d42SEmmanuel Vadot #thermal-sensor-cells = <0>; 940*833e5d42SEmmanuel Vadot vdd-supply = <&vreg_l15b_1p8>; 941*833e5d42SEmmanuel Vadot }; 942*833e5d42SEmmanuel Vadot 943*833e5d42SEmmanuel Vadot /* WSA883x, right/back speaker */ 944*833e5d42SEmmanuel Vadot right_spkr: speaker@0,2 { 945*833e5d42SEmmanuel Vadot compatible = "sdw10217020200"; 946*833e5d42SEmmanuel Vadot reg = <0 2>; 947*833e5d42SEmmanuel Vadot pinctrl-0 = <&spkr_1_sd_n_active>; 948*833e5d42SEmmanuel Vadot pinctrl-names = "default"; 949*833e5d42SEmmanuel Vadot powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 950*833e5d42SEmmanuel Vadot #sound-dai-cells = <0>; 951*833e5d42SEmmanuel Vadot sound-name-prefix = "SpkrRight"; 952*833e5d42SEmmanuel Vadot #thermal-sensor-cells = <0>; 953*833e5d42SEmmanuel Vadot vdd-supply = <&vreg_l15b_1p8>; 954*833e5d42SEmmanuel Vadot }; 955*833e5d42SEmmanuel Vadot}; 956*833e5d42SEmmanuel Vadot 957*833e5d42SEmmanuel Vadot&swr1 { 958*833e5d42SEmmanuel Vadot status = "okay"; 959*833e5d42SEmmanuel Vadot 960*833e5d42SEmmanuel Vadot /* WCD9395 RX */ 961*833e5d42SEmmanuel Vadot wcd_rx: codec@0,4 { 962*833e5d42SEmmanuel Vadot compatible = "sdw20217010e00"; 963*833e5d42SEmmanuel Vadot reg = <0 4>; 964*833e5d42SEmmanuel Vadot 965*833e5d42SEmmanuel Vadot /* 966*833e5d42SEmmanuel Vadot * WCD9395 RX Port 1 (HPH_L/R) <=> SWR1 Port 1 (HPH_L/R) 967*833e5d42SEmmanuel Vadot * WCD9395 RX Port 2 (CLSH) <=> SWR1 Port 2 (CLSH) 968*833e5d42SEmmanuel Vadot * WCD9395 RX Port 3 (COMP_L/R) <=> SWR1 Port 3 (COMP_L/R) 969*833e5d42SEmmanuel Vadot * WCD9395 RX Port 4 (LO) <=> SWR1 Port 4 (LO) 970*833e5d42SEmmanuel Vadot * WCD9395 RX Port 5 (DSD_L/R) <=> SWR1 Port 5 (DSD_L/R) 971*833e5d42SEmmanuel Vadot * WCD9395 RX Port 6 (HIFI_PCM_L/R) <=> SWR1 Port 9 (HIFI_PCM_L/R) 972*833e5d42SEmmanuel Vadot */ 973*833e5d42SEmmanuel Vadot qcom,rx-port-mapping = <1 2 3 4 5 9>; 974*833e5d42SEmmanuel Vadot }; 975*833e5d42SEmmanuel Vadot}; 976*833e5d42SEmmanuel Vadot 977*833e5d42SEmmanuel Vadot&swr2 { 978*833e5d42SEmmanuel Vadot status = "okay"; 979*833e5d42SEmmanuel Vadot 980*833e5d42SEmmanuel Vadot /* WCD9395 TX */ 981*833e5d42SEmmanuel Vadot wcd_tx: codec@0,3 { 982*833e5d42SEmmanuel Vadot compatible = "sdw20217010e00"; 983*833e5d42SEmmanuel Vadot reg = <0 3>; 984*833e5d42SEmmanuel Vadot 985*833e5d42SEmmanuel Vadot /* 986*833e5d42SEmmanuel Vadot * WCD9395 TX Port 1 (ADC1,2,3,4) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 987*833e5d42SEmmanuel Vadot * WCD9395 TX Port 2 (ADC3,4 & DMIC0,1) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 988*833e5d42SEmmanuel Vadot * WCD9395 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7) 989*833e5d42SEmmanuel Vadot * WCD9395 TX Port 4 (DMIC4,5,6,7) <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11) 990*833e5d42SEmmanuel Vadot */ 991*833e5d42SEmmanuel Vadot qcom,tx-port-mapping = <2 2 3 4>; 992*833e5d42SEmmanuel Vadot }; 993*833e5d42SEmmanuel Vadot}; 994*833e5d42SEmmanuel Vadot 9952846c905SEmmanuel Vadot&tlmm { 9962846c905SEmmanuel Vadot /* reserved for secure world */ 9972846c905SEmmanuel Vadot gpio-reserved-ranges = <36 4>, <74 1>; 9982846c905SEmmanuel Vadot}; 9992846c905SEmmanuel Vadot 10002846c905SEmmanuel Vadot&uart7 { 10012846c905SEmmanuel Vadot status = "okay"; 10022846c905SEmmanuel Vadot}; 1003*833e5d42SEmmanuel Vadot 1004*833e5d42SEmmanuel Vadot/* Pinctrl */ 1005*833e5d42SEmmanuel Vadot&lpass_tlmm { 1006*833e5d42SEmmanuel Vadot spkr_0_sd_n_active: spkr-0-sd-n-active-state { 1007*833e5d42SEmmanuel Vadot pins = "gpio17"; 1008*833e5d42SEmmanuel Vadot function = "gpio"; 1009*833e5d42SEmmanuel Vadot drive-strength = <16>; 1010*833e5d42SEmmanuel Vadot bias-disable; 1011*833e5d42SEmmanuel Vadot output-low; 1012*833e5d42SEmmanuel Vadot }; 1013*833e5d42SEmmanuel Vadot 1014*833e5d42SEmmanuel Vadot spkr_1_sd_n_active: spkr-1-sd-n-active-state { 1015*833e5d42SEmmanuel Vadot pins = "gpio18"; 1016*833e5d42SEmmanuel Vadot function = "gpio"; 1017*833e5d42SEmmanuel Vadot drive-strength = <16>; 1018*833e5d42SEmmanuel Vadot bias-disable; 1019*833e5d42SEmmanuel Vadot output-low; 1020*833e5d42SEmmanuel Vadot }; 1021*833e5d42SEmmanuel Vadot}; 1022*833e5d42SEmmanuel Vadot 1023*833e5d42SEmmanuel Vadot&tlmm { 1024*833e5d42SEmmanuel Vadot wcd_default: wcd-reset-n-active-state { 1025*833e5d42SEmmanuel Vadot pins = "gpio101"; 1026*833e5d42SEmmanuel Vadot function = "gpio"; 1027*833e5d42SEmmanuel Vadot drive-strength = <16>; 1028*833e5d42SEmmanuel Vadot bias-disable; 1029*833e5d42SEmmanuel Vadot output-low; 1030*833e5d42SEmmanuel Vadot }; 1031*833e5d42SEmmanuel Vadot}; 1032*833e5d42SEmmanuel Vadot 1033*833e5d42SEmmanuel Vadot&ufs_mem_phy { 1034*833e5d42SEmmanuel Vadot vdda-phy-supply = <&vreg_l1j_0p91>; 1035*833e5d42SEmmanuel Vadot vdda-pll-supply = <&vreg_l3g_1p2>; 1036*833e5d42SEmmanuel Vadot 1037*833e5d42SEmmanuel Vadot status = "okay"; 1038*833e5d42SEmmanuel Vadot}; 1039*833e5d42SEmmanuel Vadot 1040*833e5d42SEmmanuel Vadot&ufs_mem_hc { 1041*833e5d42SEmmanuel Vadot reset-gpios = <&tlmm 215 GPIO_ACTIVE_LOW>; 1042*833e5d42SEmmanuel Vadot 1043*833e5d42SEmmanuel Vadot vcc-supply = <&vreg_l17b_2p5>; 1044*833e5d42SEmmanuel Vadot vcc-max-microamp = <1300000>; 1045*833e5d42SEmmanuel Vadot vccq-supply = <&vreg_l1d_1p2>; 1046*833e5d42SEmmanuel Vadot vccq-max-microamp = <1200000>; 1047*833e5d42SEmmanuel Vadot 1048*833e5d42SEmmanuel Vadot status = "okay"; 1049*833e5d42SEmmanuel Vadot}; 1050