18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 28d13bc63SEmmanuel Vadot/* 38d13bc63SEmmanuel Vadot * Copyright (c) 2023, Linaro Limited 48d13bc63SEmmanuel Vadot */ 58d13bc63SEmmanuel Vadot 68d13bc63SEmmanuel Vadot/dts-v1/; 78d13bc63SEmmanuel Vadot 88d13bc63SEmmanuel Vadot#include <dt-bindings/leds/common.h> 98d13bc63SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 108d13bc63SEmmanuel Vadot#include "sm8650.dtsi" 118d13bc63SEmmanuel Vadot#include "pm8010.dtsi" 128d13bc63SEmmanuel Vadot#include "pm8550.dtsi" 138d13bc63SEmmanuel Vadot#include "pm8550b.dtsi" 148d13bc63SEmmanuel Vadot#define PMK8550VE_SID 8 158d13bc63SEmmanuel Vadot#include "pm8550ve.dtsi" 168d13bc63SEmmanuel Vadot#include "pm8550vs.dtsi" 178d13bc63SEmmanuel Vadot#include "pmk8550.dtsi" 188d13bc63SEmmanuel Vadot#include "pmr735d_a.dtsi" 198d13bc63SEmmanuel Vadot 208d13bc63SEmmanuel Vadot/ { 218d13bc63SEmmanuel Vadot model = "Qualcomm Technologies, Inc. SM8650 QRD"; 228d13bc63SEmmanuel Vadot compatible = "qcom,sm8650-qrd", "qcom,sm8650"; 238d13bc63SEmmanuel Vadot 248d13bc63SEmmanuel Vadot aliases { 258d13bc63SEmmanuel Vadot serial0 = &uart15; 268d13bc63SEmmanuel Vadot serial1 = &uart14; 278d13bc63SEmmanuel Vadot }; 288d13bc63SEmmanuel Vadot 298d13bc63SEmmanuel Vadot chosen { 308d13bc63SEmmanuel Vadot stdout-path = "serial0:115200n8"; 318d13bc63SEmmanuel Vadot }; 328d13bc63SEmmanuel Vadot 338d13bc63SEmmanuel Vadot gpio-keys { 348d13bc63SEmmanuel Vadot compatible = "gpio-keys"; 358d13bc63SEmmanuel Vadot 368d13bc63SEmmanuel Vadot pinctrl-0 = <&volume_up_n>; 378d13bc63SEmmanuel Vadot pinctrl-names = "default"; 388d13bc63SEmmanuel Vadot 398d13bc63SEmmanuel Vadot key-volume-up { 408d13bc63SEmmanuel Vadot label = "Volume Up"; 418d13bc63SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 428d13bc63SEmmanuel Vadot gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 438d13bc63SEmmanuel Vadot debounce-interval = <15>; 448d13bc63SEmmanuel Vadot linux,can-disable; 458d13bc63SEmmanuel Vadot wakeup-source; 468d13bc63SEmmanuel Vadot }; 478d13bc63SEmmanuel Vadot }; 488d13bc63SEmmanuel Vadot 498d13bc63SEmmanuel Vadot pmic-glink { 508d13bc63SEmmanuel Vadot compatible = "qcom,sm8650-pmic-glink", 518d13bc63SEmmanuel Vadot "qcom,sm8550-pmic-glink", 528d13bc63SEmmanuel Vadot "qcom,pmic-glink"; 538d13bc63SEmmanuel Vadot #address-cells = <1>; 548d13bc63SEmmanuel Vadot #size-cells = <0>; 558d13bc63SEmmanuel Vadot orientation-gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>; 568d13bc63SEmmanuel Vadot 578d13bc63SEmmanuel Vadot connector@0 { 588d13bc63SEmmanuel Vadot compatible = "usb-c-connector"; 598d13bc63SEmmanuel Vadot reg = <0>; 608d13bc63SEmmanuel Vadot 618d13bc63SEmmanuel Vadot power-role = "dual"; 628d13bc63SEmmanuel Vadot data-role = "dual"; 638d13bc63SEmmanuel Vadot 648d13bc63SEmmanuel Vadot ports { 658d13bc63SEmmanuel Vadot #address-cells = <1>; 668d13bc63SEmmanuel Vadot #size-cells = <0>; 678d13bc63SEmmanuel Vadot 688d13bc63SEmmanuel Vadot port@0 { 698d13bc63SEmmanuel Vadot reg = <0>; 708d13bc63SEmmanuel Vadot 718d13bc63SEmmanuel Vadot pmic_glink_hs_in: endpoint { 728d13bc63SEmmanuel Vadot remote-endpoint = <&usb_1_dwc3_hs>; 738d13bc63SEmmanuel Vadot }; 748d13bc63SEmmanuel Vadot }; 758d13bc63SEmmanuel Vadot 768d13bc63SEmmanuel Vadot port@1 { 778d13bc63SEmmanuel Vadot reg = <1>; 788d13bc63SEmmanuel Vadot 798d13bc63SEmmanuel Vadot pmic_glink_ss_in: endpoint { 8001950c46SEmmanuel Vadot remote-endpoint = <&redriver_ss_out>; 818d13bc63SEmmanuel Vadot }; 828d13bc63SEmmanuel Vadot }; 8301950c46SEmmanuel Vadot 8401950c46SEmmanuel Vadot port@2 { 8501950c46SEmmanuel Vadot reg = <2>; 8601950c46SEmmanuel Vadot 8701950c46SEmmanuel Vadot pmic_glink_sbu: endpoint { 8801950c46SEmmanuel Vadot remote-endpoint = <&wcd_usbss_sbu_mux>; 8901950c46SEmmanuel Vadot }; 9001950c46SEmmanuel Vadot }; 9101950c46SEmmanuel Vadot }; 9201950c46SEmmanuel Vadot }; 9301950c46SEmmanuel Vadot }; 9401950c46SEmmanuel Vadot 9501950c46SEmmanuel Vadot sound { 9601950c46SEmmanuel Vadot compatible = "qcom,sm8650-sndcard", "qcom,sm8450-sndcard"; 9701950c46SEmmanuel Vadot model = "SM8650-QRD"; 9801950c46SEmmanuel Vadot audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 9901950c46SEmmanuel Vadot "SpkrRight IN", "WSA_SPK2 OUT", 10001950c46SEmmanuel Vadot "IN1_HPHL", "HPHL_OUT", 10101950c46SEmmanuel Vadot "IN2_HPHR", "HPHR_OUT", 10201950c46SEmmanuel Vadot "AMIC1", "MIC BIAS1", 10301950c46SEmmanuel Vadot "AMIC2", "MIC BIAS2", 10401950c46SEmmanuel Vadot "AMIC3", "MIC BIAS3", 10501950c46SEmmanuel Vadot "AMIC4", "MIC BIAS3", 10601950c46SEmmanuel Vadot "AMIC5", "MIC BIAS4", 10701950c46SEmmanuel Vadot "TX SWR_INPUT0", "ADC1_OUTPUT", 10801950c46SEmmanuel Vadot "TX SWR_INPUT1", "ADC2_OUTPUT", 10901950c46SEmmanuel Vadot "TX SWR_INPUT2", "ADC3_OUTPUT", 11001950c46SEmmanuel Vadot "TX SWR_INPUT3", "ADC4_OUTPUT"; 11101950c46SEmmanuel Vadot 11201950c46SEmmanuel Vadot wcd-playback-dai-link { 11301950c46SEmmanuel Vadot link-name = "WCD Playback"; 11401950c46SEmmanuel Vadot 11501950c46SEmmanuel Vadot cpu { 11601950c46SEmmanuel Vadot sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 11701950c46SEmmanuel Vadot }; 11801950c46SEmmanuel Vadot 11901950c46SEmmanuel Vadot codec { 12001950c46SEmmanuel Vadot sound-dai = <&wcd939x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 12101950c46SEmmanuel Vadot }; 12201950c46SEmmanuel Vadot 12301950c46SEmmanuel Vadot platform { 12401950c46SEmmanuel Vadot sound-dai = <&q6apm>; 12501950c46SEmmanuel Vadot }; 12601950c46SEmmanuel Vadot }; 12701950c46SEmmanuel Vadot 12801950c46SEmmanuel Vadot wcd-capture-dai-link { 12901950c46SEmmanuel Vadot link-name = "WCD Capture"; 13001950c46SEmmanuel Vadot 13101950c46SEmmanuel Vadot cpu { 13201950c46SEmmanuel Vadot sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 13301950c46SEmmanuel Vadot }; 13401950c46SEmmanuel Vadot 13501950c46SEmmanuel Vadot codec { 13601950c46SEmmanuel Vadot sound-dai = <&wcd939x 1>, <&swr2 0>, <&lpass_txmacro 0>; 13701950c46SEmmanuel Vadot }; 13801950c46SEmmanuel Vadot 13901950c46SEmmanuel Vadot platform { 14001950c46SEmmanuel Vadot sound-dai = <&q6apm>; 14101950c46SEmmanuel Vadot }; 14201950c46SEmmanuel Vadot }; 14301950c46SEmmanuel Vadot 14401950c46SEmmanuel Vadot wsa-dai-link { 14501950c46SEmmanuel Vadot link-name = "WSA Playback"; 14601950c46SEmmanuel Vadot 14701950c46SEmmanuel Vadot cpu { 14801950c46SEmmanuel Vadot sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 14901950c46SEmmanuel Vadot }; 15001950c46SEmmanuel Vadot 15101950c46SEmmanuel Vadot codec { 15201950c46SEmmanuel Vadot sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 15301950c46SEmmanuel Vadot }; 15401950c46SEmmanuel Vadot 15501950c46SEmmanuel Vadot platform { 15601950c46SEmmanuel Vadot sound-dai = <&q6apm>; 1578d13bc63SEmmanuel Vadot }; 1588d13bc63SEmmanuel Vadot }; 1598d13bc63SEmmanuel Vadot }; 1608d13bc63SEmmanuel Vadot 1618d13bc63SEmmanuel Vadot vph_pwr: vph-pwr-regulator { 1628d13bc63SEmmanuel Vadot compatible = "regulator-fixed"; 1638d13bc63SEmmanuel Vadot 1648d13bc63SEmmanuel Vadot regulator-name = "vph_pwr"; 1658d13bc63SEmmanuel Vadot regulator-min-microvolt = <3700000>; 1668d13bc63SEmmanuel Vadot regulator-max-microvolt = <3700000>; 1678d13bc63SEmmanuel Vadot 1688d13bc63SEmmanuel Vadot regulator-always-on; 1698d13bc63SEmmanuel Vadot regulator-boot-on; 1708d13bc63SEmmanuel Vadot }; 17101950c46SEmmanuel Vadot 17201950c46SEmmanuel Vadot wcd939x: audio-codec { 17301950c46SEmmanuel Vadot compatible = "qcom,wcd9395-codec", "qcom,wcd9390-codec"; 17401950c46SEmmanuel Vadot 17501950c46SEmmanuel Vadot pinctrl-0 = <&wcd_default>; 17601950c46SEmmanuel Vadot pinctrl-names = "default"; 17701950c46SEmmanuel Vadot 17801950c46SEmmanuel Vadot qcom,micbias1-microvolt = <1800000>; 17901950c46SEmmanuel Vadot qcom,micbias2-microvolt = <1800000>; 18001950c46SEmmanuel Vadot qcom,micbias3-microvolt = <1800000>; 18101950c46SEmmanuel Vadot qcom,micbias4-microvolt = <1800000>; 18201950c46SEmmanuel Vadot qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 18301950c46SEmmanuel Vadot qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 18401950c46SEmmanuel Vadot qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 18501950c46SEmmanuel Vadot qcom,rx-device = <&wcd_rx>; 18601950c46SEmmanuel Vadot qcom,tx-device = <&wcd_tx>; 18701950c46SEmmanuel Vadot 18801950c46SEmmanuel Vadot reset-gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 18901950c46SEmmanuel Vadot 19001950c46SEmmanuel Vadot vdd-buck-supply = <&vreg_l15b_1p8>; 19101950c46SEmmanuel Vadot vdd-rxtx-supply = <&vreg_l15b_1p8>; 19201950c46SEmmanuel Vadot vdd-io-supply = <&vreg_l15b_1p8>; 19301950c46SEmmanuel Vadot vdd-mic-bias-supply = <&vreg_bob1>; 19401950c46SEmmanuel Vadot 19501950c46SEmmanuel Vadot #sound-dai-cells = <1>; 19601950c46SEmmanuel Vadot 19701950c46SEmmanuel Vadot mode-switch; 19801950c46SEmmanuel Vadot orientation-switch; 19901950c46SEmmanuel Vadot 20001950c46SEmmanuel Vadot port { 20101950c46SEmmanuel Vadot wcd_codec_headset_in: endpoint { 20201950c46SEmmanuel Vadot remote-endpoint = <&wcd_usbss_headset_out>; 20301950c46SEmmanuel Vadot }; 20401950c46SEmmanuel Vadot }; 20501950c46SEmmanuel Vadot }; 2060e8011faSEmmanuel Vadot 2070e8011faSEmmanuel Vadot wcn7850-pmu { 2080e8011faSEmmanuel Vadot compatible = "qcom,wcn7850-pmu"; 2090e8011faSEmmanuel Vadot 2100e8011faSEmmanuel Vadot pinctrl-names = "default"; 211*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&wlan_en>, <&bt_default>; 2120e8011faSEmmanuel Vadot 2130e8011faSEmmanuel Vadot wlan-enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>; 214*b2d2a78aSEmmanuel Vadot bt-enable-gpios = <&tlmm 17 GPIO_ACTIVE_HIGH>; 2150e8011faSEmmanuel Vadot 2160e8011faSEmmanuel Vadot vdd-supply = <&vreg_s4i_0p85>; 2170e8011faSEmmanuel Vadot vddio-supply = <&vreg_l15b_1p8>; 2180e8011faSEmmanuel Vadot vddio1p2-supply = <&vreg_l3c_1p2>; 2190e8011faSEmmanuel Vadot vddaon-supply = <&vreg_s2c_0p8>; 2200e8011faSEmmanuel Vadot vdddig-supply = <&vreg_s3c_0p9>; 2210e8011faSEmmanuel Vadot vddrfa1p2-supply = <&vreg_s1c_1p2>; 2220e8011faSEmmanuel Vadot vddrfa1p8-supply = <&vreg_s6c_1p8>; 2230e8011faSEmmanuel Vadot 2240e8011faSEmmanuel Vadot clocks = <&rpmhcc RPMH_RF_CLK1>; 2250e8011faSEmmanuel Vadot 2260e8011faSEmmanuel Vadot regulators { 2270e8011faSEmmanuel Vadot vreg_pmu_rfa_cmn: ldo0 { 2280e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_cmn"; 2290e8011faSEmmanuel Vadot }; 2300e8011faSEmmanuel Vadot 2310e8011faSEmmanuel Vadot vreg_pmu_aon_0p59: ldo1 { 2320e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_aon_0p59"; 2330e8011faSEmmanuel Vadot }; 2340e8011faSEmmanuel Vadot 2350e8011faSEmmanuel Vadot vreg_pmu_wlcx_0p8: ldo2 { 2360e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_wlcx_0p8"; 2370e8011faSEmmanuel Vadot }; 2380e8011faSEmmanuel Vadot 2390e8011faSEmmanuel Vadot vreg_pmu_wlmx_0p85: ldo3 { 2400e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_wlmx_0p85"; 2410e8011faSEmmanuel Vadot }; 2420e8011faSEmmanuel Vadot 2430e8011faSEmmanuel Vadot vreg_pmu_btcmx_0p85: ldo4 { 2440e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_btcmx_0p85"; 2450e8011faSEmmanuel Vadot }; 2460e8011faSEmmanuel Vadot 2470e8011faSEmmanuel Vadot vreg_pmu_rfa_0p8: ldo5 { 2480e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_0p8"; 2490e8011faSEmmanuel Vadot }; 2500e8011faSEmmanuel Vadot 2510e8011faSEmmanuel Vadot vreg_pmu_rfa_1p2: ldo6 { 2520e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p2"; 2530e8011faSEmmanuel Vadot }; 2540e8011faSEmmanuel Vadot 2550e8011faSEmmanuel Vadot vreg_pmu_rfa_1p8: ldo7 { 2560e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p8"; 2570e8011faSEmmanuel Vadot }; 2580e8011faSEmmanuel Vadot 2590e8011faSEmmanuel Vadot vreg_pmu_pcie_0p9: ldo8 { 2600e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_pcie_0p9"; 2610e8011faSEmmanuel Vadot }; 2620e8011faSEmmanuel Vadot 2630e8011faSEmmanuel Vadot vreg_pmu_pcie_1p8: ldo9 { 2640e8011faSEmmanuel Vadot regulator-name = "vreg_pmu_pcie_1p8"; 2650e8011faSEmmanuel Vadot }; 2660e8011faSEmmanuel Vadot }; 2670e8011faSEmmanuel Vadot }; 2688d13bc63SEmmanuel Vadot}; 2698d13bc63SEmmanuel Vadot 2708d13bc63SEmmanuel Vadot&apps_rsc { 2718d13bc63SEmmanuel Vadot regulators-0 { 2728d13bc63SEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 2738d13bc63SEmmanuel Vadot 2748d13bc63SEmmanuel Vadot vdd-bob1-supply = <&vph_pwr>; 2758d13bc63SEmmanuel Vadot vdd-bob2-supply = <&vph_pwr>; 2768d13bc63SEmmanuel Vadot vdd-l2-l13-l14-supply = <&vreg_bob1>; 2778d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1c_1p2>; 2788d13bc63SEmmanuel Vadot vdd-l5-l16-supply = <&vreg_bob1>; 2798d13bc63SEmmanuel Vadot vdd-l6-l7-supply = <&vreg_bob1>; 2808d13bc63SEmmanuel Vadot vdd-l8-l9-supply = <&vreg_bob1>; 2818d13bc63SEmmanuel Vadot vdd-l11-supply = <&vreg_s1c_1p2>; 2828d13bc63SEmmanuel Vadot vdd-l12-supply = <&vreg_s6c_1p8>; 2838d13bc63SEmmanuel Vadot vdd-l15-supply = <&vreg_s6c_1p8>; 2848d13bc63SEmmanuel Vadot vdd-l17-supply = <&vreg_bob2>; 2858d13bc63SEmmanuel Vadot 2868d13bc63SEmmanuel Vadot qcom,pmic-id = "b"; 2878d13bc63SEmmanuel Vadot 2888d13bc63SEmmanuel Vadot vreg_bob1: bob1 { 2898d13bc63SEmmanuel Vadot regulator-name = "vreg_bob1"; 2908d13bc63SEmmanuel Vadot regulator-min-microvolt = <3296000>; 2918d13bc63SEmmanuel Vadot regulator-max-microvolt = <3960000>; 2928d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2938d13bc63SEmmanuel Vadot }; 2948d13bc63SEmmanuel Vadot 2958d13bc63SEmmanuel Vadot vreg_bob2: bob2 { 2968d13bc63SEmmanuel Vadot regulator-name = "vreg_bob2"; 2978d13bc63SEmmanuel Vadot regulator-min-microvolt = <2720000>; 2988d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 2998d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3008d13bc63SEmmanuel Vadot }; 3018d13bc63SEmmanuel Vadot 3028d13bc63SEmmanuel Vadot vreg_l2b_3p0: ldo2 { 3038d13bc63SEmmanuel Vadot regulator-name = "vreg_l2b_3p0"; 3048d13bc63SEmmanuel Vadot regulator-min-microvolt = <3008000>; 3058d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3068d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3078d13bc63SEmmanuel Vadot regulator-allow-set-load; 3088d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3098d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3108d13bc63SEmmanuel Vadot }; 3118d13bc63SEmmanuel Vadot 3128d13bc63SEmmanuel Vadot vreg_l5b_3p1: ldo5 { 3138d13bc63SEmmanuel Vadot regulator-name = "vreg_l5b_3p1"; 3148d13bc63SEmmanuel Vadot regulator-min-microvolt = <3104000>; 3158d13bc63SEmmanuel Vadot regulator-max-microvolt = <3104000>; 3168d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3178d13bc63SEmmanuel Vadot regulator-allow-set-load; 3188d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3198d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3208d13bc63SEmmanuel Vadot }; 3218d13bc63SEmmanuel Vadot 3228d13bc63SEmmanuel Vadot vreg_l6b_1p8: ldo6 { 3238d13bc63SEmmanuel Vadot regulator-name = "vreg_l6b_1p8"; 3248d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3258d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3268d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3278d13bc63SEmmanuel Vadot regulator-allow-set-load; 3288d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3298d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3308d13bc63SEmmanuel Vadot }; 3318d13bc63SEmmanuel Vadot 3328d13bc63SEmmanuel Vadot vreg_l7b_1p8: ldo7 { 3338d13bc63SEmmanuel Vadot regulator-name = "vreg_l7b_1p8"; 3348d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3358d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3368d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3378d13bc63SEmmanuel Vadot }; 3388d13bc63SEmmanuel Vadot 3398d13bc63SEmmanuel Vadot vreg_l8b_1p8: ldo8 { 3408d13bc63SEmmanuel Vadot regulator-name = "vreg_l8b_1p8"; 3418d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3428d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 3438d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3448d13bc63SEmmanuel Vadot regulator-allow-set-load; 3458d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3468d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3478d13bc63SEmmanuel Vadot }; 3488d13bc63SEmmanuel Vadot 3498d13bc63SEmmanuel Vadot vreg_l11b_1p2: ldo11 { 3508d13bc63SEmmanuel Vadot regulator-name = "vreg_l11b_1p2"; 3518d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3528d13bc63SEmmanuel Vadot regulator-max-microvolt = <1504000>; 3538d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3548d13bc63SEmmanuel Vadot regulator-allow-set-load; 3558d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3568d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3578d13bc63SEmmanuel Vadot }; 3588d13bc63SEmmanuel Vadot 3598d13bc63SEmmanuel Vadot vreg_l12b_1p8: ldo12 { 3608d13bc63SEmmanuel Vadot regulator-name = "vreg_l12b_1p8"; 3618d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3628d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3638d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3648d13bc63SEmmanuel Vadot regulator-allow-set-load; 3658d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3668d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3678d13bc63SEmmanuel Vadot }; 3688d13bc63SEmmanuel Vadot 3698d13bc63SEmmanuel Vadot vreg_l13b_3p0: ldo13 { 3708d13bc63SEmmanuel Vadot regulator-name = "vreg_l13b_3p0"; 3718d13bc63SEmmanuel Vadot regulator-min-microvolt = <3000000>; 3728d13bc63SEmmanuel Vadot regulator-max-microvolt = <3000000>; 3738d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3748d13bc63SEmmanuel Vadot regulator-allow-set-load; 3758d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3768d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3778d13bc63SEmmanuel Vadot }; 3788d13bc63SEmmanuel Vadot 3798d13bc63SEmmanuel Vadot vreg_l14b_3p2: ldo14 { 3808d13bc63SEmmanuel Vadot regulator-name = "vreg_l14b_3p2"; 3818d13bc63SEmmanuel Vadot regulator-min-microvolt = <3200000>; 3828d13bc63SEmmanuel Vadot regulator-max-microvolt = <3200000>; 3838d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3848d13bc63SEmmanuel Vadot regulator-allow-set-load; 3858d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3868d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3878d13bc63SEmmanuel Vadot }; 3888d13bc63SEmmanuel Vadot 3898d13bc63SEmmanuel Vadot vreg_l15b_1p8: ldo15 { 3908d13bc63SEmmanuel Vadot regulator-name = "vreg_l15b_1p8"; 3918d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3928d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3938d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3948d13bc63SEmmanuel Vadot regulator-allow-set-load; 3958d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3968d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3978d13bc63SEmmanuel Vadot }; 3988d13bc63SEmmanuel Vadot 3998d13bc63SEmmanuel Vadot vreg_l16b_2p8: ldo16 { 4008d13bc63SEmmanuel Vadot regulator-name = "vreg_l16b_2p8"; 4018d13bc63SEmmanuel Vadot regulator-min-microvolt = <2800000>; 4028d13bc63SEmmanuel Vadot regulator-max-microvolt = <2800000>; 4038d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4048d13bc63SEmmanuel Vadot regulator-allow-set-load; 4058d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4068d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4078d13bc63SEmmanuel Vadot }; 4088d13bc63SEmmanuel Vadot 4098d13bc63SEmmanuel Vadot vreg_l17b_2p5: ldo17 { 4108d13bc63SEmmanuel Vadot regulator-name = "vreg_l17b_2p5"; 4118d13bc63SEmmanuel Vadot regulator-min-microvolt = <2504000>; 4128d13bc63SEmmanuel Vadot regulator-max-microvolt = <2504000>; 4138d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4148d13bc63SEmmanuel Vadot regulator-allow-set-load; 4158d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4168d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4178d13bc63SEmmanuel Vadot }; 4188d13bc63SEmmanuel Vadot }; 4198d13bc63SEmmanuel Vadot 4208d13bc63SEmmanuel Vadot regulators-1 { 4218d13bc63SEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 4228d13bc63SEmmanuel Vadot 4238d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s1c_1p2>; 4248d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s1c_1p2>; 4258d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1c_1p2>; 4268d13bc63SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 4278d13bc63SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 4288d13bc63SEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 4298d13bc63SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 4308d13bc63SEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 4318d13bc63SEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 4328d13bc63SEmmanuel Vadot 4338d13bc63SEmmanuel Vadot qcom,pmic-id = "c"; 4348d13bc63SEmmanuel Vadot 4358d13bc63SEmmanuel Vadot vreg_s1c_1p2: smps1 { 4368d13bc63SEmmanuel Vadot regulator-name = "vreg_s1c_1p2"; 4378d13bc63SEmmanuel Vadot regulator-min-microvolt = <1256000>; 4388d13bc63SEmmanuel Vadot regulator-max-microvolt = <1348000>; 4398d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4408d13bc63SEmmanuel Vadot }; 4418d13bc63SEmmanuel Vadot 4428d13bc63SEmmanuel Vadot vreg_s2c_0p8: smps2 { 4438d13bc63SEmmanuel Vadot regulator-name = "vreg_s2c_0p8"; 4448d13bc63SEmmanuel Vadot regulator-min-microvolt = <852000>; 4458d13bc63SEmmanuel Vadot regulator-max-microvolt = <1036000>; 4468d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4478d13bc63SEmmanuel Vadot }; 4488d13bc63SEmmanuel Vadot 4498d13bc63SEmmanuel Vadot vreg_s3c_0p9: smps3 { 4508d13bc63SEmmanuel Vadot regulator-name = "vreg_s3c_0p9"; 4518d13bc63SEmmanuel Vadot regulator-min-microvolt = <976000>; 4528d13bc63SEmmanuel Vadot regulator-max-microvolt = <1064000>; 4538d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4548d13bc63SEmmanuel Vadot }; 4558d13bc63SEmmanuel Vadot 4568d13bc63SEmmanuel Vadot vreg_s4c_1p2: smps4 { 4578d13bc63SEmmanuel Vadot regulator-name = "vreg_s4c_1p2"; 4588d13bc63SEmmanuel Vadot regulator-min-microvolt = <1224000>; 4598d13bc63SEmmanuel Vadot regulator-max-microvolt = <1280000>; 4608d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4618d13bc63SEmmanuel Vadot }; 4628d13bc63SEmmanuel Vadot 4638d13bc63SEmmanuel Vadot vreg_s5c_0p7: smps5 { 4648d13bc63SEmmanuel Vadot regulator-name = "vreg_s5c_0p7"; 4658d13bc63SEmmanuel Vadot regulator-min-microvolt = <752000>; 4668d13bc63SEmmanuel Vadot regulator-max-microvolt = <900000>; 4678d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4688d13bc63SEmmanuel Vadot }; 4698d13bc63SEmmanuel Vadot 4708d13bc63SEmmanuel Vadot vreg_s6c_1p8: smps6 { 4718d13bc63SEmmanuel Vadot regulator-name = "vreg_s6c_1p8"; 4728d13bc63SEmmanuel Vadot regulator-min-microvolt = <1856000>; 4738d13bc63SEmmanuel Vadot regulator-max-microvolt = <2000000>; 4748d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4758d13bc63SEmmanuel Vadot }; 4768d13bc63SEmmanuel Vadot 4778d13bc63SEmmanuel Vadot vreg_l1c_1p2: ldo1 { 4788d13bc63SEmmanuel Vadot regulator-name = "vreg_l1c_1p2"; 4798d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4808d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4818d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4828d13bc63SEmmanuel Vadot regulator-allow-set-load; 4838d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4848d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4858d13bc63SEmmanuel Vadot }; 4868d13bc63SEmmanuel Vadot 4878d13bc63SEmmanuel Vadot vreg_l3c_1p2: ldo3 { 4888d13bc63SEmmanuel Vadot regulator-name = "vreg_l3c_1p2"; 4898d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4908d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4918d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4928d13bc63SEmmanuel Vadot regulator-allow-set-load; 4938d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4948d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4958d13bc63SEmmanuel Vadot }; 4968d13bc63SEmmanuel Vadot }; 4978d13bc63SEmmanuel Vadot 4988d13bc63SEmmanuel Vadot regulators-2 { 4998d13bc63SEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 5008d13bc63SEmmanuel Vadot 5018d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s3c_0p9>; 5028d13bc63SEmmanuel Vadot 5038d13bc63SEmmanuel Vadot qcom,pmic-id = "d"; 5048d13bc63SEmmanuel Vadot 5058d13bc63SEmmanuel Vadot vreg_l1d_0p88: ldo1 { 5068d13bc63SEmmanuel Vadot regulator-name = "vreg_l1d_0p88"; 5078d13bc63SEmmanuel Vadot regulator-min-microvolt = <912000>; 5088d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5098d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5108d13bc63SEmmanuel Vadot regulator-allow-set-load; 5118d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5128d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5138d13bc63SEmmanuel Vadot }; 5148d13bc63SEmmanuel Vadot }; 5158d13bc63SEmmanuel Vadot 5168d13bc63SEmmanuel Vadot regulators-3 { 5178d13bc63SEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 5188d13bc63SEmmanuel Vadot 5198d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s3c_0p9>; 5208d13bc63SEmmanuel Vadot 5218d13bc63SEmmanuel Vadot qcom,pmic-id = "e"; 5228d13bc63SEmmanuel Vadot 5238d13bc63SEmmanuel Vadot vreg_l3e_0p9: ldo3 { 5248d13bc63SEmmanuel Vadot regulator-name = "vreg_l3e_0p9"; 5258d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5268d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5278d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5288d13bc63SEmmanuel Vadot regulator-allow-set-load; 5298d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5308d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5318d13bc63SEmmanuel Vadot }; 5328d13bc63SEmmanuel Vadot }; 5338d13bc63SEmmanuel Vadot 5348d13bc63SEmmanuel Vadot regulators-4 { 5358d13bc63SEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 5368d13bc63SEmmanuel Vadot 5378d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s3c_0p9>; 5388d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s3c_0p9>; 5398d13bc63SEmmanuel Vadot 5408d13bc63SEmmanuel Vadot qcom,pmic-id = "g"; 5418d13bc63SEmmanuel Vadot 5428d13bc63SEmmanuel Vadot vreg_l1g_0p91: ldo1 { 5438d13bc63SEmmanuel Vadot regulator-name = "vreg_l1g_0p91"; 5448d13bc63SEmmanuel Vadot regulator-min-microvolt = <912000>; 5458d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5468d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5478d13bc63SEmmanuel Vadot regulator-allow-set-load; 5488d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5498d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5508d13bc63SEmmanuel Vadot }; 5518d13bc63SEmmanuel Vadot 5528d13bc63SEmmanuel Vadot vreg_l3g_0p91: ldo3 { 5538d13bc63SEmmanuel Vadot regulator-name = "vreg_l3g_0p91"; 5548d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5558d13bc63SEmmanuel Vadot regulator-max-microvolt = <912000>; 5568d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5578d13bc63SEmmanuel Vadot regulator-allow-set-load; 5588d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5598d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5608d13bc63SEmmanuel Vadot }; 5618d13bc63SEmmanuel Vadot }; 5628d13bc63SEmmanuel Vadot 5638d13bc63SEmmanuel Vadot regulators-5 { 5648d13bc63SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 5658d13bc63SEmmanuel Vadot 5668d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s3c_0p9>; 5678d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s3c_0p9>; 5688d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1c_1p2>; 5698d13bc63SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 5708d13bc63SEmmanuel Vadot 5718d13bc63SEmmanuel Vadot qcom,pmic-id = "i"; 5728d13bc63SEmmanuel Vadot 5738d13bc63SEmmanuel Vadot vreg_s4i_0p85: smps4 { 5748d13bc63SEmmanuel Vadot regulator-name = "vreg_s4i_0p85"; 5758d13bc63SEmmanuel Vadot regulator-min-microvolt = <852000>; 5768d13bc63SEmmanuel Vadot regulator-max-microvolt = <1004000>; 5778d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5788d13bc63SEmmanuel Vadot }; 5798d13bc63SEmmanuel Vadot 5808d13bc63SEmmanuel Vadot vreg_l1i_0p88: ldo1 { 5818d13bc63SEmmanuel Vadot regulator-name = "vreg_l1i_0p88"; 5828d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5838d13bc63SEmmanuel Vadot regulator-max-microvolt = <912000>; 5848d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5858d13bc63SEmmanuel Vadot regulator-allow-set-load; 5868d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5878d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5888d13bc63SEmmanuel Vadot }; 5898d13bc63SEmmanuel Vadot 5908d13bc63SEmmanuel Vadot vreg_l2i_0p88: ldo2 { 5918d13bc63SEmmanuel Vadot regulator-name = "vreg_l2i_0p88"; 5928d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5938d13bc63SEmmanuel Vadot regulator-max-microvolt = <912000>; 5948d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5958d13bc63SEmmanuel Vadot regulator-allow-set-load; 5968d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 5978d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 5988d13bc63SEmmanuel Vadot }; 5998d13bc63SEmmanuel Vadot 6008d13bc63SEmmanuel Vadot vreg_l3i_1p2: ldo3 { 6018d13bc63SEmmanuel Vadot regulator-name = "vreg_l3i_0p91"; 6028d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 6038d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 6048d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6058d13bc63SEmmanuel Vadot regulator-allow-set-load; 6068d13bc63SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 6078d13bc63SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 6088d13bc63SEmmanuel Vadot }; 6098d13bc63SEmmanuel Vadot }; 61001950c46SEmmanuel Vadot 61101950c46SEmmanuel Vadot regulators-6 { 61201950c46SEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 61301950c46SEmmanuel Vadot qcom,pmic-id = "m"; 61401950c46SEmmanuel Vadot 61501950c46SEmmanuel Vadot vdd-l1-l2-supply = <&vreg_s1c_1p2>; 61601950c46SEmmanuel Vadot vdd-l3-l4-supply = <&vreg_bob2>; 61701950c46SEmmanuel Vadot vdd-l5-supply = <&vreg_s6c_1p8>; 61801950c46SEmmanuel Vadot vdd-l6-supply = <&vreg_bob1>; 61901950c46SEmmanuel Vadot vdd-l7-supply = <&vreg_bob1>; 62001950c46SEmmanuel Vadot 62101950c46SEmmanuel Vadot vreg_l1m_1p1: ldo1 { 62201950c46SEmmanuel Vadot regulator-name = "vreg_l1m_1p1"; 62301950c46SEmmanuel Vadot regulator-min-microvolt = <1104000>; 62401950c46SEmmanuel Vadot regulator-max-microvolt = <1104000>; 62501950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 62601950c46SEmmanuel Vadot regulator-allow-set-load; 62701950c46SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 62801950c46SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 62901950c46SEmmanuel Vadot }; 63001950c46SEmmanuel Vadot 63101950c46SEmmanuel Vadot vreg_l2m_1p056: ldo2 { 63201950c46SEmmanuel Vadot regulator-name = "vreg_l2m_1p056"; 63301950c46SEmmanuel Vadot regulator-min-microvolt = <1056000>; 63401950c46SEmmanuel Vadot regulator-max-microvolt = <1056000>; 63501950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 63601950c46SEmmanuel Vadot regulator-allow-set-load; 63701950c46SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 63801950c46SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 63901950c46SEmmanuel Vadot }; 64001950c46SEmmanuel Vadot 64101950c46SEmmanuel Vadot vreg_l3m_2p8: ldo3 { 64201950c46SEmmanuel Vadot regulator-name = "vreg_l3m_2p8"; 64301950c46SEmmanuel Vadot regulator-min-microvolt = <2800000>; 64401950c46SEmmanuel Vadot regulator-max-microvolt = <2800000>; 64501950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 64601950c46SEmmanuel Vadot }; 64701950c46SEmmanuel Vadot 64801950c46SEmmanuel Vadot vreg_l4m_2p8: ldo4 { 64901950c46SEmmanuel Vadot regulator-name = "vreg_l4m_2p8"; 65001950c46SEmmanuel Vadot regulator-min-microvolt = <2800000>; 65101950c46SEmmanuel Vadot regulator-max-microvolt = <2800000>; 65201950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 65301950c46SEmmanuel Vadot }; 65401950c46SEmmanuel Vadot 65501950c46SEmmanuel Vadot vreg_l5m_1p8: ldo5 { 65601950c46SEmmanuel Vadot regulator-name = "vreg_l5m_1p8"; 65701950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 65801950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 65901950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 66001950c46SEmmanuel Vadot }; 66101950c46SEmmanuel Vadot 66201950c46SEmmanuel Vadot vreg_l6m_2p8: ldo6 { 66301950c46SEmmanuel Vadot regulator-name = "vreg_l6m_2p8"; 66401950c46SEmmanuel Vadot regulator-min-microvolt = <2800000>; 66501950c46SEmmanuel Vadot regulator-max-microvolt = <2800000>; 66601950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 66701950c46SEmmanuel Vadot }; 66801950c46SEmmanuel Vadot 66901950c46SEmmanuel Vadot vreg_l7m_2p96: ldo7 { 67001950c46SEmmanuel Vadot regulator-name = "vreg_l7m_2p96"; 67101950c46SEmmanuel Vadot regulator-min-microvolt = <2960000>; 67201950c46SEmmanuel Vadot regulator-max-microvolt = <2960000>; 67301950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 67401950c46SEmmanuel Vadot }; 67501950c46SEmmanuel Vadot }; 67601950c46SEmmanuel Vadot 67701950c46SEmmanuel Vadot regulators-7 { 67801950c46SEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 67901950c46SEmmanuel Vadot qcom,pmic-id = "n"; 68001950c46SEmmanuel Vadot 68101950c46SEmmanuel Vadot vdd-l1-l2-supply = <&vreg_s1c_1p2>; 68201950c46SEmmanuel Vadot vdd-l3-l4-supply = <&vreg_s6c_1p8>; 68301950c46SEmmanuel Vadot vdd-l5-supply = <&vreg_bob2>; 68401950c46SEmmanuel Vadot vdd-l6-supply = <&vreg_bob2>; 68501950c46SEmmanuel Vadot vdd-l7-supply = <&vreg_bob1>; 68601950c46SEmmanuel Vadot 68701950c46SEmmanuel Vadot vreg_l1n_1p1: ldo1 { 68801950c46SEmmanuel Vadot regulator-name = "vreg_l1n_1p1"; 68901950c46SEmmanuel Vadot regulator-min-microvolt = <1104000>; 69001950c46SEmmanuel Vadot regulator-max-microvolt = <1104000>; 69101950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 69201950c46SEmmanuel Vadot regulator-allow-set-load; 69301950c46SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 69401950c46SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 69501950c46SEmmanuel Vadot }; 69601950c46SEmmanuel Vadot 69701950c46SEmmanuel Vadot vreg_l2n_1p056: ldo2 { 69801950c46SEmmanuel Vadot regulator-name = "vreg_l2n_1p056"; 69901950c46SEmmanuel Vadot regulator-min-microvolt = <1056000>; 70001950c46SEmmanuel Vadot regulator-max-microvolt = <1056000>; 70101950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 70201950c46SEmmanuel Vadot regulator-allow-set-load; 70301950c46SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 70401950c46SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 70501950c46SEmmanuel Vadot }; 70601950c46SEmmanuel Vadot 70701950c46SEmmanuel Vadot vreg_l3n_1p8: ldo3 { 70801950c46SEmmanuel Vadot regulator-name = "vreg_l3n_1p8"; 70901950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 71001950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 71101950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 71201950c46SEmmanuel Vadot }; 71301950c46SEmmanuel Vadot 71401950c46SEmmanuel Vadot vreg_l4n_1p8: ldo4 { 71501950c46SEmmanuel Vadot regulator-name = "vreg_l4n_1p8"; 71601950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 71701950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 71801950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 71901950c46SEmmanuel Vadot }; 72001950c46SEmmanuel Vadot 72101950c46SEmmanuel Vadot vreg_l5n_2p8: ldo5 { 72201950c46SEmmanuel Vadot regulator-name = "vreg_l5n_2p8"; 72301950c46SEmmanuel Vadot regulator-min-microvolt = <2800000>; 72401950c46SEmmanuel Vadot regulator-max-microvolt = <2800000>; 72501950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 72601950c46SEmmanuel Vadot }; 72701950c46SEmmanuel Vadot 72801950c46SEmmanuel Vadot vreg_l6n_2p8: ldo6 { 72901950c46SEmmanuel Vadot regulator-name = "vreg_l6n_2p8"; 73001950c46SEmmanuel Vadot regulator-min-microvolt = <2800000>; 73101950c46SEmmanuel Vadot regulator-max-microvolt = <2800000>; 73201950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 73301950c46SEmmanuel Vadot }; 73401950c46SEmmanuel Vadot 73501950c46SEmmanuel Vadot vreg_l7n_3p3: ldo7 { 73601950c46SEmmanuel Vadot regulator-name = "vreg_l7n_3p3"; 73701950c46SEmmanuel Vadot regulator-min-microvolt = <3304000>; 73801950c46SEmmanuel Vadot regulator-max-microvolt = <3304000>; 73901950c46SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 74001950c46SEmmanuel Vadot }; 74101950c46SEmmanuel Vadot }; 7428d13bc63SEmmanuel Vadot}; 7438d13bc63SEmmanuel Vadot 7448d13bc63SEmmanuel Vadot&dispcc { 7458d13bc63SEmmanuel Vadot status = "okay"; 7468d13bc63SEmmanuel Vadot}; 7478d13bc63SEmmanuel Vadot 7488d13bc63SEmmanuel Vadot&gpi_dma1 { 7498d13bc63SEmmanuel Vadot status = "okay"; 7508d13bc63SEmmanuel Vadot}; 7518d13bc63SEmmanuel Vadot 75201950c46SEmmanuel Vadot&i2c3 { 75301950c46SEmmanuel Vadot status = "okay"; 75401950c46SEmmanuel Vadot 75501950c46SEmmanuel Vadot wcd_usbss: typec-mux@e { 75601950c46SEmmanuel Vadot compatible = "qcom,wcd9395-usbss", "qcom,wcd9390-usbss"; 75701950c46SEmmanuel Vadot reg = <0xe>; 75801950c46SEmmanuel Vadot 75901950c46SEmmanuel Vadot vdd-supply = <&vreg_l15b_1p8>; 76001950c46SEmmanuel Vadot reset-gpios = <&tlmm 152 GPIO_ACTIVE_HIGH>; 76101950c46SEmmanuel Vadot 76201950c46SEmmanuel Vadot mode-switch; 76301950c46SEmmanuel Vadot orientation-switch; 76401950c46SEmmanuel Vadot 76501950c46SEmmanuel Vadot ports { 76601950c46SEmmanuel Vadot #address-cells = <1>; 76701950c46SEmmanuel Vadot #size-cells = <0>; 76801950c46SEmmanuel Vadot 76901950c46SEmmanuel Vadot port@0 { 77001950c46SEmmanuel Vadot reg = <0>; 77101950c46SEmmanuel Vadot 77201950c46SEmmanuel Vadot wcd_usbss_sbu_mux: endpoint { 77301950c46SEmmanuel Vadot remote-endpoint = <&pmic_glink_sbu>; 77401950c46SEmmanuel Vadot }; 77501950c46SEmmanuel Vadot }; 77601950c46SEmmanuel Vadot 77701950c46SEmmanuel Vadot port@1 { 77801950c46SEmmanuel Vadot reg = <1>; 77901950c46SEmmanuel Vadot 78001950c46SEmmanuel Vadot wcd_usbss_headset_out: endpoint { 78101950c46SEmmanuel Vadot remote-endpoint = <&wcd_codec_headset_in>; 78201950c46SEmmanuel Vadot }; 78301950c46SEmmanuel Vadot }; 78401950c46SEmmanuel Vadot }; 78501950c46SEmmanuel Vadot }; 78601950c46SEmmanuel Vadot}; 78701950c46SEmmanuel Vadot 78801950c46SEmmanuel Vadot&i2c6 { 78901950c46SEmmanuel Vadot status = "okay"; 79001950c46SEmmanuel Vadot 79101950c46SEmmanuel Vadot typec-mux@1c { 79201950c46SEmmanuel Vadot compatible = "onnn,nb7vpq904m"; 79301950c46SEmmanuel Vadot reg = <0x1c>; 79401950c46SEmmanuel Vadot 79501950c46SEmmanuel Vadot vcc-supply = <&vreg_l15b_1p8>; 79601950c46SEmmanuel Vadot 79701950c46SEmmanuel Vadot retimer-switch; 79801950c46SEmmanuel Vadot orientation-switch; 79901950c46SEmmanuel Vadot 80001950c46SEmmanuel Vadot ports { 80101950c46SEmmanuel Vadot #address-cells = <1>; 80201950c46SEmmanuel Vadot #size-cells = <0>; 80301950c46SEmmanuel Vadot 80401950c46SEmmanuel Vadot port@0 { 80501950c46SEmmanuel Vadot reg = <0>; 80601950c46SEmmanuel Vadot 80701950c46SEmmanuel Vadot redriver_ss_out: endpoint { 80801950c46SEmmanuel Vadot remote-endpoint = <&pmic_glink_ss_in>; 80901950c46SEmmanuel Vadot }; 81001950c46SEmmanuel Vadot }; 81101950c46SEmmanuel Vadot 81201950c46SEmmanuel Vadot port@1 { 81301950c46SEmmanuel Vadot reg = <1>; 81401950c46SEmmanuel Vadot 81501950c46SEmmanuel Vadot redriver_ss_in: endpoint { 81601950c46SEmmanuel Vadot data-lanes = <3 2 1 0>; 81701950c46SEmmanuel Vadot remote-endpoint = <&usb_dp_qmpphy_out>; 81801950c46SEmmanuel Vadot }; 81901950c46SEmmanuel Vadot }; 82001950c46SEmmanuel Vadot }; 82101950c46SEmmanuel Vadot }; 82201950c46SEmmanuel Vadot}; 82301950c46SEmmanuel Vadot 8248d13bc63SEmmanuel Vadot&ipa { 8258d13bc63SEmmanuel Vadot qcom,gsi-loader = "self"; 8268d13bc63SEmmanuel Vadot memory-region = <&ipa_fw_mem>; 8278d13bc63SEmmanuel Vadot firmware-name = "qcom/sm8650/ipa_fws.mbn"; 8288d13bc63SEmmanuel Vadot status = "okay"; 8298d13bc63SEmmanuel Vadot}; 8308d13bc63SEmmanuel Vadot 8317d0873ebSEmmanuel Vadot&gpu { 8327d0873ebSEmmanuel Vadot status = "okay"; 8337d0873ebSEmmanuel Vadot 8347d0873ebSEmmanuel Vadot zap-shader { 8357d0873ebSEmmanuel Vadot firmware-name = "qcom/sm8650/gen70900_zap.mbn"; 8367d0873ebSEmmanuel Vadot }; 8377d0873ebSEmmanuel Vadot}; 8387d0873ebSEmmanuel Vadot 83901950c46SEmmanuel Vadot&lpass_tlmm { 84001950c46SEmmanuel Vadot spkr_1_sd_n_active: spkr-1-sd-n-active-state { 84101950c46SEmmanuel Vadot pins = "gpio21"; 84201950c46SEmmanuel Vadot function = "gpio"; 84301950c46SEmmanuel Vadot drive-strength = <16>; 84401950c46SEmmanuel Vadot bias-disable; 84501950c46SEmmanuel Vadot output-low; 84601950c46SEmmanuel Vadot }; 84701950c46SEmmanuel Vadot}; 84801950c46SEmmanuel Vadot 8498d13bc63SEmmanuel Vadot&mdss { 8508d13bc63SEmmanuel Vadot status = "okay"; 8518d13bc63SEmmanuel Vadot}; 8528d13bc63SEmmanuel Vadot 8538d13bc63SEmmanuel Vadot&mdss_dsi0 { 8548d13bc63SEmmanuel Vadot vdda-supply = <&vreg_l3i_1p2>; 8558d13bc63SEmmanuel Vadot 8568d13bc63SEmmanuel Vadot status = "okay"; 8578d13bc63SEmmanuel Vadot 8588d13bc63SEmmanuel Vadot panel@0 { 8598d13bc63SEmmanuel Vadot compatible = "visionox,vtdr6130"; 8608d13bc63SEmmanuel Vadot reg = <0>; 8618d13bc63SEmmanuel Vadot 8628d13bc63SEmmanuel Vadot reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 8638d13bc63SEmmanuel Vadot 8648d13bc63SEmmanuel Vadot vddio-supply = <&vreg_l12b_1p8>; 8658d13bc63SEmmanuel Vadot vci-supply = <&vreg_l13b_3p0>; 8668d13bc63SEmmanuel Vadot vdd-supply = <&vreg_l11b_1p2>; 8678d13bc63SEmmanuel Vadot 8688d13bc63SEmmanuel Vadot pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync_active>; 8698d13bc63SEmmanuel Vadot pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync_suspend>; 8708d13bc63SEmmanuel Vadot pinctrl-names = "default", "sleep"; 8718d13bc63SEmmanuel Vadot 8728d13bc63SEmmanuel Vadot port { 8738d13bc63SEmmanuel Vadot panel0_in: endpoint { 8748d13bc63SEmmanuel Vadot remote-endpoint = <&mdss_dsi0_out>; 8758d13bc63SEmmanuel Vadot }; 8768d13bc63SEmmanuel Vadot }; 8778d13bc63SEmmanuel Vadot }; 8788d13bc63SEmmanuel Vadot}; 8798d13bc63SEmmanuel Vadot 8808d13bc63SEmmanuel Vadot&mdss_dsi0_out { 8818d13bc63SEmmanuel Vadot remote-endpoint = <&panel0_in>; 8828d13bc63SEmmanuel Vadot data-lanes = <0 1 2 3>; 8838d13bc63SEmmanuel Vadot}; 8848d13bc63SEmmanuel Vadot 8858d13bc63SEmmanuel Vadot&mdss_dsi0_phy { 8868d13bc63SEmmanuel Vadot vdds-supply = <&vreg_l1i_0p88>; 8878d13bc63SEmmanuel Vadot 8888d13bc63SEmmanuel Vadot status = "okay"; 8898d13bc63SEmmanuel Vadot}; 8908d13bc63SEmmanuel Vadot 89101950c46SEmmanuel Vadot&mdss_dp0 { 89201950c46SEmmanuel Vadot status = "okay"; 89301950c46SEmmanuel Vadot}; 89401950c46SEmmanuel Vadot 89501950c46SEmmanuel Vadot&mdss_dp0_out { 89601950c46SEmmanuel Vadot data-lanes = <0 1>; 8978d13bc63SEmmanuel Vadot}; 8988d13bc63SEmmanuel Vadot 8998d13bc63SEmmanuel Vadot&pcie0 { 9008d13bc63SEmmanuel Vadot wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 9018d13bc63SEmmanuel Vadot perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 9028d13bc63SEmmanuel Vadot 9038d13bc63SEmmanuel Vadot pinctrl-0 = <&pcie0_default_state>; 9048d13bc63SEmmanuel Vadot pinctrl-names = "default"; 9058d13bc63SEmmanuel Vadot 9068d13bc63SEmmanuel Vadot status = "okay"; 9078d13bc63SEmmanuel Vadot}; 9088d13bc63SEmmanuel Vadot 9090e8011faSEmmanuel Vadot&pcieport0 { 9100e8011faSEmmanuel Vadot wifi@0 { 9110e8011faSEmmanuel Vadot compatible = "pci17cb,1107"; 9120e8011faSEmmanuel Vadot reg = <0x10000 0x0 0x0 0x0 0x0>; 9130e8011faSEmmanuel Vadot 9140e8011faSEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 9150e8011faSEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 9160e8011faSEmmanuel Vadot vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 9170e8011faSEmmanuel Vadot vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 9180e8011faSEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 9190e8011faSEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 9200e8011faSEmmanuel Vadot vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; 9210e8011faSEmmanuel Vadot vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; 9220e8011faSEmmanuel Vadot vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; 9230e8011faSEmmanuel Vadot }; 9240e8011faSEmmanuel Vadot}; 9250e8011faSEmmanuel Vadot 9268d13bc63SEmmanuel Vadot&pcie0_phy { 9278d13bc63SEmmanuel Vadot vdda-phy-supply = <&vreg_l1i_0p88>; 9288d13bc63SEmmanuel Vadot vdda-pll-supply = <&vreg_l3i_1p2>; 9298d13bc63SEmmanuel Vadot 9308d13bc63SEmmanuel Vadot status = "okay"; 9318d13bc63SEmmanuel Vadot}; 9328d13bc63SEmmanuel Vadot 9338d13bc63SEmmanuel Vadot&pon_pwrkey { 9348d13bc63SEmmanuel Vadot status = "okay"; 9358d13bc63SEmmanuel Vadot}; 9368d13bc63SEmmanuel Vadot 9378d13bc63SEmmanuel Vadot&pon_resin { 9388d13bc63SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 9398d13bc63SEmmanuel Vadot 9408d13bc63SEmmanuel Vadot status = "okay"; 9418d13bc63SEmmanuel Vadot}; 9428d13bc63SEmmanuel Vadot 9438d13bc63SEmmanuel Vadot&pm8550_flash { 9448d13bc63SEmmanuel Vadot status = "okay"; 9458d13bc63SEmmanuel Vadot 9468d13bc63SEmmanuel Vadot led-0 { 9478d13bc63SEmmanuel Vadot function = LED_FUNCTION_FLASH; 9488d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_YELLOW>; 9498d13bc63SEmmanuel Vadot led-sources = <1>, <4>; 9508d13bc63SEmmanuel Vadot led-max-microamp = <500000>; 9518d13bc63SEmmanuel Vadot flash-max-microamp = <2000000>; 9528d13bc63SEmmanuel Vadot flash-max-timeout-us = <1280000>; 9538d13bc63SEmmanuel Vadot function-enumerator = <0>; 9548d13bc63SEmmanuel Vadot }; 9558d13bc63SEmmanuel Vadot 9568d13bc63SEmmanuel Vadot led-1 { 9578d13bc63SEmmanuel Vadot function = LED_FUNCTION_FLASH; 9588d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 9598d13bc63SEmmanuel Vadot led-sources = <2>, <3>; 9608d13bc63SEmmanuel Vadot led-max-microamp = <500000>; 9618d13bc63SEmmanuel Vadot flash-max-microamp = <2000000>; 9628d13bc63SEmmanuel Vadot flash-max-timeout-us = <1280000>; 9638d13bc63SEmmanuel Vadot function-enumerator = <1>; 9648d13bc63SEmmanuel Vadot }; 9658d13bc63SEmmanuel Vadot}; 9668d13bc63SEmmanuel Vadot 9678d13bc63SEmmanuel Vadot&pm8550_gpios { 9688d13bc63SEmmanuel Vadot volume_up_n: volume-up-n-state { 9698d13bc63SEmmanuel Vadot pins = "gpio6"; 9708d13bc63SEmmanuel Vadot function = "normal"; 9718d13bc63SEmmanuel Vadot bias-pull-up; 9728d13bc63SEmmanuel Vadot input-enable; 9738d13bc63SEmmanuel Vadot power-source = <1>; 9748d13bc63SEmmanuel Vadot }; 9758d13bc63SEmmanuel Vadot}; 9768d13bc63SEmmanuel Vadot 9778d13bc63SEmmanuel Vadot&pm8550_pwm { 9788d13bc63SEmmanuel Vadot status = "okay"; 9798d13bc63SEmmanuel Vadot 9808d13bc63SEmmanuel Vadot multi-led { 9818d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_RGB>; 9828d13bc63SEmmanuel Vadot function = LED_FUNCTION_STATUS; 9838d13bc63SEmmanuel Vadot 9848d13bc63SEmmanuel Vadot #address-cells = <1>; 9858d13bc63SEmmanuel Vadot #size-cells = <0>; 9868d13bc63SEmmanuel Vadot 9878d13bc63SEmmanuel Vadot led@1 { 9888d13bc63SEmmanuel Vadot reg = <1>; 9898d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_RED>; 9908d13bc63SEmmanuel Vadot }; 9918d13bc63SEmmanuel Vadot 9928d13bc63SEmmanuel Vadot led@2 { 9938d13bc63SEmmanuel Vadot reg = <2>; 9948d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 9958d13bc63SEmmanuel Vadot }; 9968d13bc63SEmmanuel Vadot 9978d13bc63SEmmanuel Vadot led@3 { 9988d13bc63SEmmanuel Vadot reg = <3>; 9998d13bc63SEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 10008d13bc63SEmmanuel Vadot }; 10018d13bc63SEmmanuel Vadot }; 10028d13bc63SEmmanuel Vadot}; 10038d13bc63SEmmanuel Vadot 10048d13bc63SEmmanuel Vadot&pm8550b_eusb2_repeater { 10058d13bc63SEmmanuel Vadot vdd18-supply = <&vreg_l15b_1p8>; 10068d13bc63SEmmanuel Vadot vdd3-supply = <&vreg_l5b_3p1>; 10078d13bc63SEmmanuel Vadot}; 10088d13bc63SEmmanuel Vadot 10098d13bc63SEmmanuel Vadot&pmk8550_rtc { 10108d13bc63SEmmanuel Vadot status = "okay"; 10118d13bc63SEmmanuel Vadot}; 10128d13bc63SEmmanuel Vadot 101301950c46SEmmanuel Vadot&qup_i2c3_data_clk { 101401950c46SEmmanuel Vadot /* Use internal I2C pull-up */ 101501950c46SEmmanuel Vadot bias-pull-up = <2200>; 101601950c46SEmmanuel Vadot}; 101701950c46SEmmanuel Vadot 10188d13bc63SEmmanuel Vadot&qupv3_id_0 { 10198d13bc63SEmmanuel Vadot status = "okay"; 10208d13bc63SEmmanuel Vadot}; 10218d13bc63SEmmanuel Vadot 10228d13bc63SEmmanuel Vadot&qupv3_id_1 { 10238d13bc63SEmmanuel Vadot status = "okay"; 10248d13bc63SEmmanuel Vadot}; 10258d13bc63SEmmanuel Vadot 10268d13bc63SEmmanuel Vadot&remoteproc_adsp { 10278d13bc63SEmmanuel Vadot firmware-name = "qcom/sm8650/adsp.mbn", 10288d13bc63SEmmanuel Vadot "qcom/sm8650/adsp_dtb.mbn"; 10298d13bc63SEmmanuel Vadot 10308d13bc63SEmmanuel Vadot status = "okay"; 10318d13bc63SEmmanuel Vadot}; 10328d13bc63SEmmanuel Vadot 10338d13bc63SEmmanuel Vadot&remoteproc_cdsp { 10348d13bc63SEmmanuel Vadot firmware-name = "qcom/sm8650/cdsp.mbn", 10358d13bc63SEmmanuel Vadot "qcom/sm8650/cdsp_dtb.mbn"; 10368d13bc63SEmmanuel Vadot 10378d13bc63SEmmanuel Vadot status = "okay"; 10388d13bc63SEmmanuel Vadot}; 10398d13bc63SEmmanuel Vadot 10408d13bc63SEmmanuel Vadot&remoteproc_mpss { 10418d13bc63SEmmanuel Vadot firmware-name = "qcom/sm8650/modem.mbn", 10428d13bc63SEmmanuel Vadot "qcom/sm8650/modem_dtb.mbn"; 10438d13bc63SEmmanuel Vadot 10448d13bc63SEmmanuel Vadot status = "okay"; 10458d13bc63SEmmanuel Vadot}; 10468d13bc63SEmmanuel Vadot 10478d13bc63SEmmanuel Vadot&sleep_clk { 10488d13bc63SEmmanuel Vadot clock-frequency = <32000>; 10498d13bc63SEmmanuel Vadot}; 10508d13bc63SEmmanuel Vadot 10518d13bc63SEmmanuel Vadot&spi4 { 10528d13bc63SEmmanuel Vadot status = "okay"; 10538d13bc63SEmmanuel Vadot 10548d13bc63SEmmanuel Vadot touchscreen@0 { 10558d13bc63SEmmanuel Vadot compatible = "goodix,gt9916"; 10568d13bc63SEmmanuel Vadot reg = <0>; 10578d13bc63SEmmanuel Vadot 10588d13bc63SEmmanuel Vadot interrupt-parent = <&tlmm>; 10598d13bc63SEmmanuel Vadot interrupts = <162 IRQ_TYPE_LEVEL_LOW>; 10608d13bc63SEmmanuel Vadot 10618d13bc63SEmmanuel Vadot reset-gpios = <&tlmm 161 GPIO_ACTIVE_LOW>; 10628d13bc63SEmmanuel Vadot 10638d13bc63SEmmanuel Vadot avdd-supply = <&vreg_l14b_3p2>; 10648d13bc63SEmmanuel Vadot 10658d13bc63SEmmanuel Vadot spi-max-frequency = <1000000>; 10668d13bc63SEmmanuel Vadot 10678d13bc63SEmmanuel Vadot touchscreen-size-x = <1080>; 10688d13bc63SEmmanuel Vadot touchscreen-size-y = <2400>; 10698d13bc63SEmmanuel Vadot 10708d13bc63SEmmanuel Vadot pinctrl-0 = <&ts_irq>, <&ts_reset>; 10718d13bc63SEmmanuel Vadot pinctrl-names = "default"; 10728d13bc63SEmmanuel Vadot }; 10738d13bc63SEmmanuel Vadot}; 10748d13bc63SEmmanuel Vadot 107501950c46SEmmanuel Vadot&swr0 { 107601950c46SEmmanuel Vadot status = "okay"; 107701950c46SEmmanuel Vadot 107801950c46SEmmanuel Vadot /* WSA8845, Speaker Left */ 107901950c46SEmmanuel Vadot left_spkr: speaker@0,0 { 108001950c46SEmmanuel Vadot compatible = "sdw20217020400"; 108101950c46SEmmanuel Vadot reg = <0 0>; 108201950c46SEmmanuel Vadot pinctrl-0 = <&spkr_1_sd_n_active>; 108301950c46SEmmanuel Vadot pinctrl-names = "default"; 108401950c46SEmmanuel Vadot powerdown-gpios = <&lpass_tlmm 21 GPIO_ACTIVE_LOW>; 108501950c46SEmmanuel Vadot #sound-dai-cells = <0>; 108601950c46SEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 108701950c46SEmmanuel Vadot vdd-1p8-supply = <&vreg_l15b_1p8>; 108801950c46SEmmanuel Vadot vdd-io-supply = <&vreg_l3c_1p2>; 10890e8011faSEmmanuel Vadot 10900e8011faSEmmanuel Vadot /* 10910e8011faSEmmanuel Vadot * WSA8845 Port 1 (DAC) <=> SWR0 Port 1 (SPKR_L) 10920e8011faSEmmanuel Vadot * WSA8845 Port 2 (COMP) <=> SWR0 Port 2 (SPKR_L_COMP) 10930e8011faSEmmanuel Vadot * WSA8845 Port 3 (BOOST) <=> SWR0 Port 3 (SPKR_L_BOOST) 10940e8011faSEmmanuel Vadot * WSA8845 Port 4 (PBR) <=> SWR0 Port 7 (PBR) 10950e8011faSEmmanuel Vadot * WSA8845 Port 5 (VISENSE) <=> SWR0 Port 10 (SPKR_L_VI) 10960e8011faSEmmanuel Vadot * WSA8845 Port 6 (CPS) <=> SWR0 Port 13 (CPS) 10970e8011faSEmmanuel Vadot */ 10980e8011faSEmmanuel Vadot qcom,port-mapping = <1 2 3 7 10 13>; 109901950c46SEmmanuel Vadot }; 110001950c46SEmmanuel Vadot 110101950c46SEmmanuel Vadot /* WSA8845, Speaker Right */ 110201950c46SEmmanuel Vadot right_spkr: speaker@0,1 { 110301950c46SEmmanuel Vadot compatible = "sdw20217020400"; 110401950c46SEmmanuel Vadot reg = <0 1>; 110501950c46SEmmanuel Vadot pinctrl-0 = <&spkr_2_sd_n_active>; 110601950c46SEmmanuel Vadot pinctrl-names = "default"; 110701950c46SEmmanuel Vadot powerdown-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; 110801950c46SEmmanuel Vadot #sound-dai-cells = <0>; 110901950c46SEmmanuel Vadot sound-name-prefix = "SpkrRight"; 111001950c46SEmmanuel Vadot vdd-1p8-supply = <&vreg_l15b_1p8>; 111101950c46SEmmanuel Vadot vdd-io-supply = <&vreg_l3c_1p2>; 11120e8011faSEmmanuel Vadot 11130e8011faSEmmanuel Vadot /* 11140e8011faSEmmanuel Vadot * WSA8845 Port 1 (DAC) <=> SWR0 Port 4 (SPKR_R) 11150e8011faSEmmanuel Vadot * WSA8845 Port 2 (COMP) <=> SWR0 Port 5 (SPKR_R_COMP) 11160e8011faSEmmanuel Vadot * WSA8845 Port 3 (BOOST) <=> SWR0 Port 6 (SPKR_R_BOOST) 11170e8011faSEmmanuel Vadot * WSA8845 Port 4 (PBR) <=> SWR0 Port 7 (PBR) 11180e8011faSEmmanuel Vadot * WSA8845 Port 5 (VISENSE) <=> SWR0 Port 11 (SPKR_R_VI) 11190e8011faSEmmanuel Vadot * WSA8845 Port 6 (CPS) <=> SWR0 Port 13 (CPS) 11200e8011faSEmmanuel Vadot */ 11210e8011faSEmmanuel Vadot qcom,port-mapping = <4 5 6 7 11 13>; 112201950c46SEmmanuel Vadot }; 112301950c46SEmmanuel Vadot}; 112401950c46SEmmanuel Vadot 112501950c46SEmmanuel Vadot&swr1 { 112601950c46SEmmanuel Vadot status = "okay"; 112701950c46SEmmanuel Vadot 112801950c46SEmmanuel Vadot /* WCD9395 RX */ 112901950c46SEmmanuel Vadot wcd_rx: codec@0,4 { 113001950c46SEmmanuel Vadot compatible = "sdw20217010e00"; 113101950c46SEmmanuel Vadot reg = <0 4>; 113201950c46SEmmanuel Vadot 113301950c46SEmmanuel Vadot /* 113401950c46SEmmanuel Vadot * WCD9395 RX Port 1 (HPH_L/R) <=> SWR1 Port 1 (HPH_L/R) 113501950c46SEmmanuel Vadot * WCD9395 RX Port 2 (CLSH) <=> SWR1 Port 2 (CLSH) 113601950c46SEmmanuel Vadot * WCD9395 RX Port 3 (COMP_L/R) <=> SWR1 Port 3 (COMP_L/R) 113701950c46SEmmanuel Vadot * WCD9395 RX Port 4 (LO) <=> SWR1 Port 4 (LO) 113801950c46SEmmanuel Vadot * WCD9395 RX Port 5 (DSD_L/R) <=> SWR1 Port 5 (DSD_L/R) 113901950c46SEmmanuel Vadot * WCD9395 RX Port 6 (HIFI_PCM_L/R) <=> SWR1 Port 9 (HIFI_PCM_L/R) 114001950c46SEmmanuel Vadot */ 114101950c46SEmmanuel Vadot qcom,rx-port-mapping = <1 2 3 4 5 9>; 114201950c46SEmmanuel Vadot }; 114301950c46SEmmanuel Vadot}; 114401950c46SEmmanuel Vadot 114501950c46SEmmanuel Vadot&swr2 { 114601950c46SEmmanuel Vadot status = "okay"; 114701950c46SEmmanuel Vadot 114801950c46SEmmanuel Vadot /* WCD9395 TX */ 114901950c46SEmmanuel Vadot wcd_tx: codec@0,3 { 115001950c46SEmmanuel Vadot compatible = "sdw20217010e00"; 115101950c46SEmmanuel Vadot reg = <0 3>; 115201950c46SEmmanuel Vadot 115301950c46SEmmanuel Vadot /* 115401950c46SEmmanuel Vadot * WCD9395 TX Port 1 (ADC1,2,3,4) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 115501950c46SEmmanuel Vadot * WCD9395 TX Port 2 (ADC3,4 & DMIC0,1) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 115601950c46SEmmanuel Vadot * WCD9395 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7) 115701950c46SEmmanuel Vadot * WCD9395 TX Port 4 (DMIC4,5,6,7) <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11) 115801950c46SEmmanuel Vadot */ 115901950c46SEmmanuel Vadot qcom,tx-port-mapping = <2 2 3 4>; 116001950c46SEmmanuel Vadot }; 116101950c46SEmmanuel Vadot}; 116201950c46SEmmanuel Vadot 11638d13bc63SEmmanuel Vadot&tlmm { 11648d13bc63SEmmanuel Vadot /* Reserved I/Os for NFC */ 11658d13bc63SEmmanuel Vadot gpio-reserved-ranges = <32 8>, <74 1>; 11668d13bc63SEmmanuel Vadot 11678d13bc63SEmmanuel Vadot bt_default: bt-default-state { 11688d13bc63SEmmanuel Vadot bt-en-pins { 11698d13bc63SEmmanuel Vadot pins = "gpio17"; 11708d13bc63SEmmanuel Vadot function = "gpio"; 11718d13bc63SEmmanuel Vadot drive-strength = <16>; 11728d13bc63SEmmanuel Vadot bias-disable; 11738d13bc63SEmmanuel Vadot }; 11748d13bc63SEmmanuel Vadot 11758d13bc63SEmmanuel Vadot sw-ctrl-pins { 11768d13bc63SEmmanuel Vadot pins = "gpio18"; 11778d13bc63SEmmanuel Vadot function = "gpio"; 11788d13bc63SEmmanuel Vadot bias-pull-down; 11798d13bc63SEmmanuel Vadot }; 11808d13bc63SEmmanuel Vadot }; 11818d13bc63SEmmanuel Vadot 11828d13bc63SEmmanuel Vadot disp0_reset_n_active: disp0-reset-n-active-state { 11838d13bc63SEmmanuel Vadot pins = "gpio133"; 11848d13bc63SEmmanuel Vadot function = "gpio"; 11858d13bc63SEmmanuel Vadot drive-strength = <8>; 11868d13bc63SEmmanuel Vadot bias-disable; 11878d13bc63SEmmanuel Vadot }; 11888d13bc63SEmmanuel Vadot 11898d13bc63SEmmanuel Vadot disp0_reset_n_suspend: disp0-reset-n-suspend-state { 11908d13bc63SEmmanuel Vadot pins = "gpio133"; 11918d13bc63SEmmanuel Vadot function = "gpio"; 11928d13bc63SEmmanuel Vadot drive-strength = <2>; 11938d13bc63SEmmanuel Vadot bias-pull-down; 11948d13bc63SEmmanuel Vadot }; 11958d13bc63SEmmanuel Vadot 11968d13bc63SEmmanuel Vadot mdp_vsync_active: mdp-vsync-active-state { 11978d13bc63SEmmanuel Vadot pins = "gpio86"; 11988d13bc63SEmmanuel Vadot function = "mdp_vsync"; 11998d13bc63SEmmanuel Vadot drive-strength = <2>; 12008d13bc63SEmmanuel Vadot bias-pull-down; 12018d13bc63SEmmanuel Vadot }; 12028d13bc63SEmmanuel Vadot 12038d13bc63SEmmanuel Vadot mdp_vsync_suspend: mdp-vsync-suspend-state { 12048d13bc63SEmmanuel Vadot pins = "gpio86"; 12058d13bc63SEmmanuel Vadot function = "mdp_vsync"; 12068d13bc63SEmmanuel Vadot drive-strength = <2>; 12078d13bc63SEmmanuel Vadot bias-pull-down; 12088d13bc63SEmmanuel Vadot }; 12098d13bc63SEmmanuel Vadot 121001950c46SEmmanuel Vadot spkr_2_sd_n_active: spkr-2-sd-n-active-state { 121101950c46SEmmanuel Vadot pins = "gpio77"; 121201950c46SEmmanuel Vadot function = "gpio"; 121301950c46SEmmanuel Vadot drive-strength = <16>; 121401950c46SEmmanuel Vadot bias-disable; 121501950c46SEmmanuel Vadot output-low; 121601950c46SEmmanuel Vadot }; 121701950c46SEmmanuel Vadot 12188d13bc63SEmmanuel Vadot ts_irq: ts-irq-state { 12198d13bc63SEmmanuel Vadot pins = "gpio161"; 12208d13bc63SEmmanuel Vadot function = "gpio"; 12218d13bc63SEmmanuel Vadot drive-strength = <8>; 12228d13bc63SEmmanuel Vadot bias-pull-up; 12238d13bc63SEmmanuel Vadot output-disable; 12248d13bc63SEmmanuel Vadot }; 12258d13bc63SEmmanuel Vadot 12268d13bc63SEmmanuel Vadot ts_reset: ts-reset-state { 12278d13bc63SEmmanuel Vadot pins = "gpio162"; 12288d13bc63SEmmanuel Vadot function = "gpio"; 12298d13bc63SEmmanuel Vadot drive-strength = <8>; 12308d13bc63SEmmanuel Vadot bias-pull-up; 12318d13bc63SEmmanuel Vadot }; 123201950c46SEmmanuel Vadot 123301950c46SEmmanuel Vadot wcd_default: wcd-reset-n-active-state { 123401950c46SEmmanuel Vadot pins = "gpio107"; 123501950c46SEmmanuel Vadot function = "gpio"; 123601950c46SEmmanuel Vadot drive-strength = <16>; 123701950c46SEmmanuel Vadot bias-disable; 123801950c46SEmmanuel Vadot output-low; 123901950c46SEmmanuel Vadot }; 12400e8011faSEmmanuel Vadot 12410e8011faSEmmanuel Vadot wlan_en: wlan-en-state { 12420e8011faSEmmanuel Vadot pins = "gpio16"; 12430e8011faSEmmanuel Vadot function = "gpio"; 12440e8011faSEmmanuel Vadot drive-strength = <8>; 12450e8011faSEmmanuel Vadot bias-pull-down; 12460e8011faSEmmanuel Vadot }; 12478d13bc63SEmmanuel Vadot}; 12488d13bc63SEmmanuel Vadot 12498d13bc63SEmmanuel Vadot&uart14 { 12508d13bc63SEmmanuel Vadot status = "okay"; 12518d13bc63SEmmanuel Vadot 12528d13bc63SEmmanuel Vadot bluetooth { 12538d13bc63SEmmanuel Vadot compatible = "qcom,wcn7850-bt"; 12548d13bc63SEmmanuel Vadot 1255*b2d2a78aSEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 1256*b2d2a78aSEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 1257*b2d2a78aSEmmanuel Vadot vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 1258*b2d2a78aSEmmanuel Vadot vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 1259*b2d2a78aSEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 1260*b2d2a78aSEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 1261*b2d2a78aSEmmanuel Vadot vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; 12628d13bc63SEmmanuel Vadot 12638d13bc63SEmmanuel Vadot max-speed = <3200000>; 12648d13bc63SEmmanuel Vadot }; 12658d13bc63SEmmanuel Vadot}; 12668d13bc63SEmmanuel Vadot 12678d13bc63SEmmanuel Vadot&uart15 { 12688d13bc63SEmmanuel Vadot status = "okay"; 12698d13bc63SEmmanuel Vadot}; 12708d13bc63SEmmanuel Vadot 12718d13bc63SEmmanuel Vadot&ufs_mem_hc { 12728d13bc63SEmmanuel Vadot reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 12738d13bc63SEmmanuel Vadot 12748d13bc63SEmmanuel Vadot vcc-supply = <&vreg_l17b_2p5>; 12758d13bc63SEmmanuel Vadot vcc-max-microamp = <1300000>; 12768d13bc63SEmmanuel Vadot vccq-supply = <&vreg_l1c_1p2>; 12778d13bc63SEmmanuel Vadot vccq-max-microamp = <1200000>; 12788d13bc63SEmmanuel Vadot 12798d13bc63SEmmanuel Vadot status = "okay"; 12808d13bc63SEmmanuel Vadot}; 12818d13bc63SEmmanuel Vadot 12828d13bc63SEmmanuel Vadot&ufs_mem_phy { 12838d13bc63SEmmanuel Vadot vdda-phy-supply = <&vreg_l1d_0p88>; 12848d13bc63SEmmanuel Vadot vdda-pll-supply = <&vreg_l3i_1p2>; 12858d13bc63SEmmanuel Vadot 12868d13bc63SEmmanuel Vadot status = "okay"; 12878d13bc63SEmmanuel Vadot}; 12888d13bc63SEmmanuel Vadot 12898d13bc63SEmmanuel Vadot/* 12908d13bc63SEmmanuel Vadot * DPAUX -> WCD9395 -> USB_SBU -> USB-C 12918d13bc63SEmmanuel Vadot * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> WCD9395 -> USB-C 12928d13bc63SEmmanuel Vadot * USB SS -> NB7VPQ904MMUTWG -> USB-C 12938d13bc63SEmmanuel Vadot */ 12948d13bc63SEmmanuel Vadot 12958d13bc63SEmmanuel Vadot&usb_1 { 12968d13bc63SEmmanuel Vadot status = "okay"; 12978d13bc63SEmmanuel Vadot}; 12988d13bc63SEmmanuel Vadot 12998d13bc63SEmmanuel Vadot&usb_1_dwc3 { 13008d13bc63SEmmanuel Vadot dr_mode = "otg"; 13018d13bc63SEmmanuel Vadot usb-role-switch; 13028d13bc63SEmmanuel Vadot}; 13038d13bc63SEmmanuel Vadot 13048d13bc63SEmmanuel Vadot&usb_1_dwc3_hs { 13058d13bc63SEmmanuel Vadot remote-endpoint = <&pmic_glink_hs_in>; 13068d13bc63SEmmanuel Vadot}; 13078d13bc63SEmmanuel Vadot 13088d13bc63SEmmanuel Vadot&usb_1_hsphy { 13098d13bc63SEmmanuel Vadot vdd-supply = <&vreg_l1i_0p88>; 13108d13bc63SEmmanuel Vadot vdda12-supply = <&vreg_l3i_1p2>; 13118d13bc63SEmmanuel Vadot 13128d13bc63SEmmanuel Vadot phys = <&pm8550b_eusb2_repeater>; 13138d13bc63SEmmanuel Vadot 13148d13bc63SEmmanuel Vadot status = "okay"; 13158d13bc63SEmmanuel Vadot}; 13168d13bc63SEmmanuel Vadot 13178d13bc63SEmmanuel Vadot&usb_dp_qmpphy { 13188d13bc63SEmmanuel Vadot vdda-phy-supply = <&vreg_l3i_1p2>; 13198d13bc63SEmmanuel Vadot vdda-pll-supply = <&vreg_l3g_0p91>; 13208d13bc63SEmmanuel Vadot 13218d13bc63SEmmanuel Vadot status = "okay"; 13228d13bc63SEmmanuel Vadot}; 13238d13bc63SEmmanuel Vadot 132401950c46SEmmanuel Vadot&usb_dp_qmpphy_out { 132501950c46SEmmanuel Vadot remote-endpoint = <&redriver_ss_in>; 132601950c46SEmmanuel Vadot}; 132701950c46SEmmanuel Vadot 13288d13bc63SEmmanuel Vadot&xo_board { 13298d13bc63SEmmanuel Vadot clock-frequency = <76800000>; 13308d13bc63SEmmanuel Vadot}; 1331