18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 28d13bc63SEmmanuel Vadot/* 38d13bc63SEmmanuel Vadot * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 48d13bc63SEmmanuel Vadot */ 58d13bc63SEmmanuel Vadot 68d13bc63SEmmanuel Vadot/dts-v1/; 78d13bc63SEmmanuel Vadot 801950c46SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 98d13bc63SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 108d13bc63SEmmanuel Vadot 118d13bc63SEmmanuel Vadot#include "x1e80100.dtsi" 127d0873ebSEmmanuel Vadot#include "x1e80100-pmics.dtsi" 138d13bc63SEmmanuel Vadot 148d13bc63SEmmanuel Vadot/ { 158d13bc63SEmmanuel Vadot model = "Qualcomm Technologies, Inc. X1E80100 QCP"; 168d13bc63SEmmanuel Vadot compatible = "qcom,x1e80100-qcp", "qcom,x1e80100"; 178d13bc63SEmmanuel Vadot 188d13bc63SEmmanuel Vadot aliases { 198d13bc63SEmmanuel Vadot serial0 = &uart21; 208d13bc63SEmmanuel Vadot }; 218d13bc63SEmmanuel Vadot 220e8011faSEmmanuel Vadot wcd938x: audio-codec { 230e8011faSEmmanuel Vadot compatible = "qcom,wcd9385-codec"; 240e8011faSEmmanuel Vadot 250e8011faSEmmanuel Vadot pinctrl-names = "default"; 260e8011faSEmmanuel Vadot pinctrl-0 = <&wcd_default>; 270e8011faSEmmanuel Vadot 280e8011faSEmmanuel Vadot qcom,micbias1-microvolt = <1800000>; 290e8011faSEmmanuel Vadot qcom,micbias2-microvolt = <1800000>; 300e8011faSEmmanuel Vadot qcom,micbias3-microvolt = <1800000>; 310e8011faSEmmanuel Vadot qcom,micbias4-microvolt = <1800000>; 320e8011faSEmmanuel Vadot qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 330e8011faSEmmanuel Vadot qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 340e8011faSEmmanuel Vadot qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 350e8011faSEmmanuel Vadot qcom,rx-device = <&wcd_rx>; 360e8011faSEmmanuel Vadot qcom,tx-device = <&wcd_tx>; 370e8011faSEmmanuel Vadot 380e8011faSEmmanuel Vadot reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>; 390e8011faSEmmanuel Vadot 400e8011faSEmmanuel Vadot vdd-buck-supply = <&vreg_l15b_1p8>; 410e8011faSEmmanuel Vadot vdd-rxtx-supply = <&vreg_l15b_1p8>; 420e8011faSEmmanuel Vadot vdd-io-supply = <&vreg_l15b_1p8>; 430e8011faSEmmanuel Vadot vdd-mic-bias-supply = <&vreg_bob1>; 440e8011faSEmmanuel Vadot 450e8011faSEmmanuel Vadot #sound-dai-cells = <1>; 460e8011faSEmmanuel Vadot }; 470e8011faSEmmanuel Vadot 488d13bc63SEmmanuel Vadot chosen { 498d13bc63SEmmanuel Vadot stdout-path = "serial0:115200n8"; 508d13bc63SEmmanuel Vadot }; 518d13bc63SEmmanuel Vadot 520e8011faSEmmanuel Vadot pmic-glink { 530e8011faSEmmanuel Vadot compatible = "qcom,x1e80100-pmic-glink", 540e8011faSEmmanuel Vadot "qcom,sm8550-pmic-glink", 550e8011faSEmmanuel Vadot "qcom,pmic-glink"; 560e8011faSEmmanuel Vadot #address-cells = <1>; 570e8011faSEmmanuel Vadot #size-cells = <0>; 580e8011faSEmmanuel Vadot orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 590e8011faSEmmanuel Vadot <&tlmm 123 GPIO_ACTIVE_HIGH>, 600e8011faSEmmanuel Vadot <&tlmm 125 GPIO_ACTIVE_HIGH>; 610e8011faSEmmanuel Vadot 620e8011faSEmmanuel Vadot connector@0 { 630e8011faSEmmanuel Vadot compatible = "usb-c-connector"; 640e8011faSEmmanuel Vadot reg = <0>; 650e8011faSEmmanuel Vadot power-role = "dual"; 660e8011faSEmmanuel Vadot data-role = "dual"; 670e8011faSEmmanuel Vadot 680e8011faSEmmanuel Vadot ports { 690e8011faSEmmanuel Vadot #address-cells = <1>; 700e8011faSEmmanuel Vadot #size-cells = <0>; 710e8011faSEmmanuel Vadot 720e8011faSEmmanuel Vadot port@0 { 730e8011faSEmmanuel Vadot reg = <0>; 740e8011faSEmmanuel Vadot 750e8011faSEmmanuel Vadot pmic_glink_ss0_hs_in: endpoint { 760e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss0_dwc3_hs>; 770e8011faSEmmanuel Vadot }; 780e8011faSEmmanuel Vadot }; 790e8011faSEmmanuel Vadot 800e8011faSEmmanuel Vadot port@1 { 810e8011faSEmmanuel Vadot reg = <1>; 820e8011faSEmmanuel Vadot 830e8011faSEmmanuel Vadot pmic_glink_ss0_ss_in: endpoint { 840e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss0_qmpphy_out>; 850e8011faSEmmanuel Vadot }; 860e8011faSEmmanuel Vadot }; 870e8011faSEmmanuel Vadot }; 880e8011faSEmmanuel Vadot }; 890e8011faSEmmanuel Vadot 900e8011faSEmmanuel Vadot connector@1 { 910e8011faSEmmanuel Vadot compatible = "usb-c-connector"; 920e8011faSEmmanuel Vadot reg = <1>; 930e8011faSEmmanuel Vadot power-role = "dual"; 940e8011faSEmmanuel Vadot data-role = "dual"; 950e8011faSEmmanuel Vadot 960e8011faSEmmanuel Vadot ports { 970e8011faSEmmanuel Vadot #address-cells = <1>; 980e8011faSEmmanuel Vadot #size-cells = <0>; 990e8011faSEmmanuel Vadot 1000e8011faSEmmanuel Vadot port@0 { 1010e8011faSEmmanuel Vadot reg = <0>; 1020e8011faSEmmanuel Vadot 1030e8011faSEmmanuel Vadot pmic_glink_ss1_hs_in: endpoint { 1040e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss1_dwc3_hs>; 1050e8011faSEmmanuel Vadot }; 1060e8011faSEmmanuel Vadot }; 1070e8011faSEmmanuel Vadot 1080e8011faSEmmanuel Vadot port@1 { 1090e8011faSEmmanuel Vadot reg = <1>; 1100e8011faSEmmanuel Vadot 1110e8011faSEmmanuel Vadot pmic_glink_ss1_ss_in: endpoint { 1120e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss1_qmpphy_out>; 1130e8011faSEmmanuel Vadot }; 1140e8011faSEmmanuel Vadot }; 1150e8011faSEmmanuel Vadot }; 1160e8011faSEmmanuel Vadot }; 1170e8011faSEmmanuel Vadot 1180e8011faSEmmanuel Vadot connector@2 { 1190e8011faSEmmanuel Vadot compatible = "usb-c-connector"; 1200e8011faSEmmanuel Vadot reg = <2>; 1210e8011faSEmmanuel Vadot power-role = "dual"; 1220e8011faSEmmanuel Vadot data-role = "dual"; 1230e8011faSEmmanuel Vadot 1240e8011faSEmmanuel Vadot ports { 1250e8011faSEmmanuel Vadot #address-cells = <1>; 1260e8011faSEmmanuel Vadot #size-cells = <0>; 1270e8011faSEmmanuel Vadot 1280e8011faSEmmanuel Vadot port@0 { 1290e8011faSEmmanuel Vadot reg = <0>; 1300e8011faSEmmanuel Vadot 1310e8011faSEmmanuel Vadot pmic_glink_ss2_hs_in: endpoint { 1320e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss2_dwc3_hs>; 1330e8011faSEmmanuel Vadot }; 1340e8011faSEmmanuel Vadot }; 1350e8011faSEmmanuel Vadot 1360e8011faSEmmanuel Vadot port@1 { 1370e8011faSEmmanuel Vadot reg = <1>; 1380e8011faSEmmanuel Vadot 1390e8011faSEmmanuel Vadot pmic_glink_ss2_ss_in: endpoint { 1400e8011faSEmmanuel Vadot remote-endpoint = <&usb_1_ss2_qmpphy_out>; 1410e8011faSEmmanuel Vadot }; 1420e8011faSEmmanuel Vadot }; 1430e8011faSEmmanuel Vadot }; 1440e8011faSEmmanuel Vadot }; 1450e8011faSEmmanuel Vadot }; 1460e8011faSEmmanuel Vadot 1477d0873ebSEmmanuel Vadot reserved-memory { 1487d0873ebSEmmanuel Vadot linux,cma { 1497d0873ebSEmmanuel Vadot compatible = "shared-dma-pool"; 1507d0873ebSEmmanuel Vadot size = <0x0 0x8000000>; 1517d0873ebSEmmanuel Vadot reusable; 1527d0873ebSEmmanuel Vadot linux,cma-default; 1537d0873ebSEmmanuel Vadot }; 1547d0873ebSEmmanuel Vadot }; 1557d0873ebSEmmanuel Vadot 1560e8011faSEmmanuel Vadot sound { 1570e8011faSEmmanuel Vadot compatible = "qcom,x1e80100-sndcard"; 1580e8011faSEmmanuel Vadot model = "X1E80100-QCP"; 1590e8011faSEmmanuel Vadot audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT", 1600e8011faSEmmanuel Vadot "SpkrRight IN", "WSA WSA_SPK2 OUT", 1610e8011faSEmmanuel Vadot "IN1_HPHL", "HPHL_OUT", 1620e8011faSEmmanuel Vadot "IN2_HPHR", "HPHR_OUT", 1630e8011faSEmmanuel Vadot "AMIC2", "MIC BIAS2", 1640e8011faSEmmanuel Vadot "TX SWR_INPUT1", "ADC2_OUTPUT"; 1650e8011faSEmmanuel Vadot 1660e8011faSEmmanuel Vadot wcd-playback-dai-link { 1670e8011faSEmmanuel Vadot link-name = "WCD Playback"; 1680e8011faSEmmanuel Vadot 1690e8011faSEmmanuel Vadot cpu { 1700e8011faSEmmanuel Vadot sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 1710e8011faSEmmanuel Vadot }; 1720e8011faSEmmanuel Vadot 1730e8011faSEmmanuel Vadot codec { 1740e8011faSEmmanuel Vadot sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 1750e8011faSEmmanuel Vadot }; 1760e8011faSEmmanuel Vadot 1770e8011faSEmmanuel Vadot platform { 1780e8011faSEmmanuel Vadot sound-dai = <&q6apm>; 1790e8011faSEmmanuel Vadot }; 1800e8011faSEmmanuel Vadot }; 1810e8011faSEmmanuel Vadot 1820e8011faSEmmanuel Vadot wcd-capture-dai-link { 1830e8011faSEmmanuel Vadot link-name = "WCD Capture"; 1840e8011faSEmmanuel Vadot 1850e8011faSEmmanuel Vadot cpu { 1860e8011faSEmmanuel Vadot sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 1870e8011faSEmmanuel Vadot }; 1880e8011faSEmmanuel Vadot 1890e8011faSEmmanuel Vadot codec { 1900e8011faSEmmanuel Vadot sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; 1910e8011faSEmmanuel Vadot }; 1920e8011faSEmmanuel Vadot 1930e8011faSEmmanuel Vadot platform { 1940e8011faSEmmanuel Vadot sound-dai = <&q6apm>; 1950e8011faSEmmanuel Vadot }; 1960e8011faSEmmanuel Vadot }; 1970e8011faSEmmanuel Vadot 1980e8011faSEmmanuel Vadot wsa-dai-link { 1990e8011faSEmmanuel Vadot link-name = "WSA Playback"; 2000e8011faSEmmanuel Vadot 2010e8011faSEmmanuel Vadot cpu { 2020e8011faSEmmanuel Vadot sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 2030e8011faSEmmanuel Vadot }; 2040e8011faSEmmanuel Vadot 2050e8011faSEmmanuel Vadot codec { 2060e8011faSEmmanuel Vadot sound-dai = <&left_spkr>, <&right_spkr>, 2070e8011faSEmmanuel Vadot <&swr0 0>, <&lpass_wsamacro 0>; 2080e8011faSEmmanuel Vadot }; 2090e8011faSEmmanuel Vadot 2100e8011faSEmmanuel Vadot platform { 2110e8011faSEmmanuel Vadot sound-dai = <&q6apm>; 2120e8011faSEmmanuel Vadot }; 2130e8011faSEmmanuel Vadot }; 2140e8011faSEmmanuel Vadot }; 2150e8011faSEmmanuel Vadot 2168d13bc63SEmmanuel Vadot vph_pwr: vph-pwr-regulator { 2178d13bc63SEmmanuel Vadot compatible = "regulator-fixed"; 2188d13bc63SEmmanuel Vadot 2198d13bc63SEmmanuel Vadot regulator-name = "vph_pwr"; 2208d13bc63SEmmanuel Vadot regulator-min-microvolt = <3700000>; 2218d13bc63SEmmanuel Vadot regulator-max-microvolt = <3700000>; 2228d13bc63SEmmanuel Vadot 2238d13bc63SEmmanuel Vadot regulator-always-on; 2248d13bc63SEmmanuel Vadot regulator-boot-on; 2258d13bc63SEmmanuel Vadot }; 22601950c46SEmmanuel Vadot 22701950c46SEmmanuel Vadot vreg_edp_3p3: regulator-edp-3p3 { 22801950c46SEmmanuel Vadot compatible = "regulator-fixed"; 22901950c46SEmmanuel Vadot 23001950c46SEmmanuel Vadot regulator-name = "VREG_EDP_3P3"; 23101950c46SEmmanuel Vadot regulator-min-microvolt = <3300000>; 23201950c46SEmmanuel Vadot regulator-max-microvolt = <3300000>; 23301950c46SEmmanuel Vadot 23401950c46SEmmanuel Vadot gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 23501950c46SEmmanuel Vadot enable-active-high; 23601950c46SEmmanuel Vadot 23701950c46SEmmanuel Vadot pinctrl-0 = <&edp_reg_en>; 23801950c46SEmmanuel Vadot pinctrl-names = "default"; 23901950c46SEmmanuel Vadot 24001950c46SEmmanuel Vadot regulator-always-on; 24101950c46SEmmanuel Vadot regulator-boot-on; 24201950c46SEmmanuel Vadot }; 2430e8011faSEmmanuel Vadot 2440e8011faSEmmanuel Vadot vreg_nvme: regulator-nvme { 2450e8011faSEmmanuel Vadot compatible = "regulator-fixed"; 2460e8011faSEmmanuel Vadot 2470e8011faSEmmanuel Vadot regulator-name = "VREG_NVME_3P3"; 2480e8011faSEmmanuel Vadot regulator-min-microvolt = <3300000>; 2490e8011faSEmmanuel Vadot regulator-max-microvolt = <3300000>; 2500e8011faSEmmanuel Vadot 2510e8011faSEmmanuel Vadot gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 2520e8011faSEmmanuel Vadot enable-active-high; 2530e8011faSEmmanuel Vadot 2540e8011faSEmmanuel Vadot pinctrl-names = "default"; 2550e8011faSEmmanuel Vadot pinctrl-0 = <&nvme_reg_en>; 256*b2d2a78aSEmmanuel Vadot 257*b2d2a78aSEmmanuel Vadot regulator-boot-on; 2580e8011faSEmmanuel Vadot }; 2598d13bc63SEmmanuel Vadot}; 2608d13bc63SEmmanuel Vadot 2618d13bc63SEmmanuel Vadot&apps_rsc { 2628d13bc63SEmmanuel Vadot regulators-0 { 2638d13bc63SEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 2648d13bc63SEmmanuel Vadot qcom,pmic-id = "b"; 2658d13bc63SEmmanuel Vadot 2668d13bc63SEmmanuel Vadot vdd-bob1-supply = <&vph_pwr>; 2678d13bc63SEmmanuel Vadot vdd-bob2-supply = <&vph_pwr>; 2688d13bc63SEmmanuel Vadot vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 2698d13bc63SEmmanuel Vadot vdd-l2-l13-l14-supply = <&vreg_bob1>; 2708d13bc63SEmmanuel Vadot vdd-l5-l16-supply = <&vreg_bob1>; 2718d13bc63SEmmanuel Vadot vdd-l6-l7-supply = <&vreg_bob2>; 2728d13bc63SEmmanuel Vadot vdd-l8-l9-supply = <&vreg_bob1>; 2738d13bc63SEmmanuel Vadot vdd-l12-supply = <&vreg_s5j_1p2>; 2748d13bc63SEmmanuel Vadot vdd-l15-supply = <&vreg_s4c_1p8>; 2758d13bc63SEmmanuel Vadot vdd-l17-supply = <&vreg_bob2>; 2768d13bc63SEmmanuel Vadot 2778d13bc63SEmmanuel Vadot vreg_bob1: bob1 { 2788d13bc63SEmmanuel Vadot regulator-name = "vreg_bob1"; 2798d13bc63SEmmanuel Vadot regulator-min-microvolt = <3008000>; 2808d13bc63SEmmanuel Vadot regulator-max-microvolt = <3960000>; 2818d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2828d13bc63SEmmanuel Vadot }; 2838d13bc63SEmmanuel Vadot 2848d13bc63SEmmanuel Vadot vreg_bob2: bob2 { 2858d13bc63SEmmanuel Vadot regulator-name = "vreg_bob2"; 2868d13bc63SEmmanuel Vadot regulator-min-microvolt = <2504000>; 2878d13bc63SEmmanuel Vadot regulator-max-microvolt = <3008000>; 2888d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2898d13bc63SEmmanuel Vadot }; 2908d13bc63SEmmanuel Vadot 2918d13bc63SEmmanuel Vadot vreg_l1b_1p8: ldo1 { 2928d13bc63SEmmanuel Vadot regulator-name = "vreg_l1b_1p8"; 2938d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2948d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2958d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2968d13bc63SEmmanuel Vadot }; 2978d13bc63SEmmanuel Vadot 2988d13bc63SEmmanuel Vadot vreg_l2b_3p0: ldo2 { 2998d13bc63SEmmanuel Vadot regulator-name = "vreg_l2b_3p0"; 3008d13bc63SEmmanuel Vadot regulator-min-microvolt = <3072000>; 3018d13bc63SEmmanuel Vadot regulator-max-microvolt = <3100000>; 3028d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3038d13bc63SEmmanuel Vadot }; 3048d13bc63SEmmanuel Vadot 3058d13bc63SEmmanuel Vadot vreg_l4b_1p8: ldo4 { 3068d13bc63SEmmanuel Vadot regulator-name = "vreg_l4b_1p8"; 3078d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3088d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3098d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3108d13bc63SEmmanuel Vadot }; 3118d13bc63SEmmanuel Vadot 3128d13bc63SEmmanuel Vadot vreg_l5b_3p0: ldo5 { 3138d13bc63SEmmanuel Vadot regulator-name = "vreg_l5b_3p0"; 3148d13bc63SEmmanuel Vadot regulator-min-microvolt = <3000000>; 3158d13bc63SEmmanuel Vadot regulator-max-microvolt = <3000000>; 3168d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3178d13bc63SEmmanuel Vadot }; 3188d13bc63SEmmanuel Vadot 3198d13bc63SEmmanuel Vadot vreg_l6b_1p8: ldo6 { 3208d13bc63SEmmanuel Vadot regulator-name = "vreg_l6b_1p8"; 3218d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3228d13bc63SEmmanuel Vadot regulator-max-microvolt = <2960000>; 3238d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3248d13bc63SEmmanuel Vadot }; 3258d13bc63SEmmanuel Vadot 3268d13bc63SEmmanuel Vadot vreg_l7b_2p8: ldo7 { 3278d13bc63SEmmanuel Vadot regulator-name = "vreg_l7b_2p8"; 3288d13bc63SEmmanuel Vadot regulator-min-microvolt = <2800000>; 3298d13bc63SEmmanuel Vadot regulator-max-microvolt = <2800000>; 3308d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3318d13bc63SEmmanuel Vadot }; 3328d13bc63SEmmanuel Vadot 3338d13bc63SEmmanuel Vadot vreg_l8b_3p0: ldo8 { 3348d13bc63SEmmanuel Vadot regulator-name = "vreg_l8b_3p0"; 3358d13bc63SEmmanuel Vadot regulator-min-microvolt = <3072000>; 3368d13bc63SEmmanuel Vadot regulator-max-microvolt = <3072000>; 3378d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3388d13bc63SEmmanuel Vadot }; 3398d13bc63SEmmanuel Vadot 3408d13bc63SEmmanuel Vadot vreg_l9b_2p9: ldo9 { 3418d13bc63SEmmanuel Vadot regulator-name = "vreg_l9b_2p9"; 3428d13bc63SEmmanuel Vadot regulator-min-microvolt = <2960000>; 3438d13bc63SEmmanuel Vadot regulator-max-microvolt = <2960000>; 3448d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3458d13bc63SEmmanuel Vadot }; 3468d13bc63SEmmanuel Vadot 3478d13bc63SEmmanuel Vadot vreg_l10b_1p8: ldo10 { 3488d13bc63SEmmanuel Vadot regulator-name = "vreg_l10b_1p8"; 3498d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3508d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3518d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3528d13bc63SEmmanuel Vadot }; 3538d13bc63SEmmanuel Vadot 3548d13bc63SEmmanuel Vadot vreg_l12b_1p2: ldo12 { 3558d13bc63SEmmanuel Vadot regulator-name = "vreg_l12b_1p2"; 3568d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3578d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 3588d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3598d13bc63SEmmanuel Vadot }; 3608d13bc63SEmmanuel Vadot 3618d13bc63SEmmanuel Vadot vreg_l13b_3p0: ldo13 { 3628d13bc63SEmmanuel Vadot regulator-name = "vreg_l13b_3p0"; 3638d13bc63SEmmanuel Vadot regulator-min-microvolt = <3072000>; 3648d13bc63SEmmanuel Vadot regulator-max-microvolt = <3100000>; 3658d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3668d13bc63SEmmanuel Vadot }; 3678d13bc63SEmmanuel Vadot 3688d13bc63SEmmanuel Vadot vreg_l14b_3p0: ldo14 { 3698d13bc63SEmmanuel Vadot regulator-name = "vreg_l14b_3p0"; 3708d13bc63SEmmanuel Vadot regulator-min-microvolt = <3072000>; 3718d13bc63SEmmanuel Vadot regulator-max-microvolt = <3072000>; 3728d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3738d13bc63SEmmanuel Vadot }; 3748d13bc63SEmmanuel Vadot 3758d13bc63SEmmanuel Vadot vreg_l15b_1p8: ldo15 { 3768d13bc63SEmmanuel Vadot regulator-name = "vreg_l15b_1p8"; 3778d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 3788d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 3798d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3808d13bc63SEmmanuel Vadot }; 3818d13bc63SEmmanuel Vadot 3828d13bc63SEmmanuel Vadot vreg_l16b_2p9: ldo16 { 3838d13bc63SEmmanuel Vadot regulator-name = "vreg_l16b_2p9"; 3848d13bc63SEmmanuel Vadot regulator-min-microvolt = <2912000>; 3858d13bc63SEmmanuel Vadot regulator-max-microvolt = <2912000>; 3868d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3878d13bc63SEmmanuel Vadot }; 3888d13bc63SEmmanuel Vadot 3898d13bc63SEmmanuel Vadot vreg_l17b_2p5: ldo17 { 3908d13bc63SEmmanuel Vadot regulator-name = "vreg_l17b_2p5"; 3918d13bc63SEmmanuel Vadot regulator-min-microvolt = <2504000>; 3928d13bc63SEmmanuel Vadot regulator-max-microvolt = <2504000>; 3938d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3948d13bc63SEmmanuel Vadot }; 3958d13bc63SEmmanuel Vadot }; 3968d13bc63SEmmanuel Vadot 3978d13bc63SEmmanuel Vadot regulators-1 { 3988d13bc63SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 3998d13bc63SEmmanuel Vadot qcom,pmic-id = "c"; 4008d13bc63SEmmanuel Vadot 4018d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s5j_1p2>; 4028d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s1f_0p7>; 4038d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1f_0p7>; 4048d13bc63SEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 4058d13bc63SEmmanuel Vadot 4068d13bc63SEmmanuel Vadot vreg_s4c_1p8: smps4 { 4078d13bc63SEmmanuel Vadot regulator-name = "vreg_s4c_1p8"; 4088d13bc63SEmmanuel Vadot regulator-min-microvolt = <1856000>; 4098d13bc63SEmmanuel Vadot regulator-max-microvolt = <2000000>; 4108d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4118d13bc63SEmmanuel Vadot }; 4128d13bc63SEmmanuel Vadot 4138d13bc63SEmmanuel Vadot vreg_l1c_1p2: ldo1 { 4148d13bc63SEmmanuel Vadot regulator-name = "vreg_l1c_1p2"; 4158d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4168d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4178d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4188d13bc63SEmmanuel Vadot }; 4198d13bc63SEmmanuel Vadot 4208d13bc63SEmmanuel Vadot vreg_l2c_0p8: ldo2 { 4218d13bc63SEmmanuel Vadot regulator-name = "vreg_l2c_0p8"; 4228d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 4238d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 4248d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4258d13bc63SEmmanuel Vadot }; 4268d13bc63SEmmanuel Vadot 4278d13bc63SEmmanuel Vadot vreg_l3c_0p8: ldo3 { 4288d13bc63SEmmanuel Vadot regulator-name = "vreg_l3c_0p8"; 4298d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 4308d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 4318d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4328d13bc63SEmmanuel Vadot }; 4338d13bc63SEmmanuel Vadot }; 4348d13bc63SEmmanuel Vadot 4358d13bc63SEmmanuel Vadot regulators-2 { 4368d13bc63SEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 4378d13bc63SEmmanuel Vadot qcom,pmic-id = "d"; 4388d13bc63SEmmanuel Vadot 4398d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s1f_0p7>; 4408d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s1f_0p7>; 4418d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s4c_1p8>; 4428d13bc63SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 4438d13bc63SEmmanuel Vadot 4448d13bc63SEmmanuel Vadot vreg_l1d_0p8: ldo1 { 4458d13bc63SEmmanuel Vadot regulator-name = "vreg_l1d_0p8"; 4468d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 4478d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 4488d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4498d13bc63SEmmanuel Vadot }; 4508d13bc63SEmmanuel Vadot 4518d13bc63SEmmanuel Vadot vreg_l2d_0p9: ldo2 { 4528d13bc63SEmmanuel Vadot regulator-name = "vreg_l2d_0p9"; 4538d13bc63SEmmanuel Vadot regulator-min-microvolt = <912000>; 4548d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 4558d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4568d13bc63SEmmanuel Vadot }; 4578d13bc63SEmmanuel Vadot 4588d13bc63SEmmanuel Vadot vreg_l3d_1p8: ldo3 { 4598d13bc63SEmmanuel Vadot regulator-name = "vreg_l3d_1p8"; 4608d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4618d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 4628d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4638d13bc63SEmmanuel Vadot }; 4648d13bc63SEmmanuel Vadot }; 4658d13bc63SEmmanuel Vadot 4668d13bc63SEmmanuel Vadot regulators-3 { 4678d13bc63SEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 4688d13bc63SEmmanuel Vadot qcom,pmic-id = "e"; 4698d13bc63SEmmanuel Vadot 4708d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s1f_0p7>; 47101950c46SEmmanuel Vadot vdd-l3-supply = <&vreg_s5j_1p2>; 4728d13bc63SEmmanuel Vadot 4738d13bc63SEmmanuel Vadot vreg_l2e_0p8: ldo2 { 4748d13bc63SEmmanuel Vadot regulator-name = "vreg_l2e_0p8"; 4758d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 4768d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 4778d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4788d13bc63SEmmanuel Vadot }; 4798d13bc63SEmmanuel Vadot 4808d13bc63SEmmanuel Vadot vreg_l3e_1p2: ldo3 { 4818d13bc63SEmmanuel Vadot regulator-name = "vreg_l3e_1p2"; 4828d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 4838d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 4848d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4858d13bc63SEmmanuel Vadot }; 4868d13bc63SEmmanuel Vadot }; 4878d13bc63SEmmanuel Vadot 4888d13bc63SEmmanuel Vadot regulators-4 { 4898d13bc63SEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 4908d13bc63SEmmanuel Vadot qcom,pmic-id = "f"; 4918d13bc63SEmmanuel Vadot 4928d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s5j_1p2>; 4938d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s5j_1p2>; 4948d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s5j_1p2>; 4958d13bc63SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 4968d13bc63SEmmanuel Vadot 4978d13bc63SEmmanuel Vadot vreg_s1f_0p7: smps1 { 4988d13bc63SEmmanuel Vadot regulator-name = "vreg_s1f_0p7"; 4998d13bc63SEmmanuel Vadot regulator-min-microvolt = <700000>; 5008d13bc63SEmmanuel Vadot regulator-max-microvolt = <1100000>; 5018d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5028d13bc63SEmmanuel Vadot }; 5038d13bc63SEmmanuel Vadot 5048d13bc63SEmmanuel Vadot vreg_l1f_1p0: ldo1 { 5058d13bc63SEmmanuel Vadot regulator-name = "vreg_l1f_1p0"; 5068d13bc63SEmmanuel Vadot regulator-min-microvolt = <1024000>; 5078d13bc63SEmmanuel Vadot regulator-max-microvolt = <1024000>; 5088d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5098d13bc63SEmmanuel Vadot }; 5108d13bc63SEmmanuel Vadot 5118d13bc63SEmmanuel Vadot vreg_l2f_1p0: ldo2 { 5128d13bc63SEmmanuel Vadot regulator-name = "vreg_l2f_1p0"; 5138d13bc63SEmmanuel Vadot regulator-min-microvolt = <1024000>; 5148d13bc63SEmmanuel Vadot regulator-max-microvolt = <1024000>; 5158d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5168d13bc63SEmmanuel Vadot }; 5178d13bc63SEmmanuel Vadot 5188d13bc63SEmmanuel Vadot vreg_l3f_1p0: ldo3 { 5198d13bc63SEmmanuel Vadot regulator-name = "vreg_l3f_1p0"; 5208d13bc63SEmmanuel Vadot regulator-min-microvolt = <1024000>; 5218d13bc63SEmmanuel Vadot regulator-max-microvolt = <1024000>; 5228d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5238d13bc63SEmmanuel Vadot }; 5248d13bc63SEmmanuel Vadot }; 5258d13bc63SEmmanuel Vadot 5268d13bc63SEmmanuel Vadot regulators-6 { 5278d13bc63SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 5288d13bc63SEmmanuel Vadot qcom,pmic-id = "i"; 5298d13bc63SEmmanuel Vadot 5308d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s4c_1p8>; 5318d13bc63SEmmanuel Vadot vdd-l2-supply = <&vreg_s5j_1p2>; 5328d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1f_0p7>; 5338d13bc63SEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 5348d13bc63SEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 5358d13bc63SEmmanuel Vadot 5368d13bc63SEmmanuel Vadot vreg_s1i_0p9: smps1 { 5378d13bc63SEmmanuel Vadot regulator-name = "vreg_s1i_0p9"; 5388d13bc63SEmmanuel Vadot regulator-min-microvolt = <900000>; 5398d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5408d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5418d13bc63SEmmanuel Vadot }; 5428d13bc63SEmmanuel Vadot 5438d13bc63SEmmanuel Vadot vreg_s2i_1p0: smps2 { 5448d13bc63SEmmanuel Vadot regulator-name = "vreg_s2i_1p0"; 5458d13bc63SEmmanuel Vadot regulator-min-microvolt = <1000000>; 5468d13bc63SEmmanuel Vadot regulator-max-microvolt = <1100000>; 5478d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5488d13bc63SEmmanuel Vadot }; 5498d13bc63SEmmanuel Vadot 5508d13bc63SEmmanuel Vadot vreg_l1i_1p8: ldo1 { 5518d13bc63SEmmanuel Vadot regulator-name = "vreg_l1i_1p8"; 5528d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 5538d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 5548d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5558d13bc63SEmmanuel Vadot }; 5568d13bc63SEmmanuel Vadot 5578d13bc63SEmmanuel Vadot vreg_l2i_1p2: ldo2 { 5588d13bc63SEmmanuel Vadot regulator-name = "vreg_l2i_1p2"; 5598d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 5608d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 5618d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5628d13bc63SEmmanuel Vadot }; 5638d13bc63SEmmanuel Vadot 5648d13bc63SEmmanuel Vadot vreg_l3i_0p8: ldo3 { 5658d13bc63SEmmanuel Vadot regulator-name = "vreg_l3i_0p8"; 5668d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5678d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5688d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5698d13bc63SEmmanuel Vadot }; 5708d13bc63SEmmanuel Vadot }; 5718d13bc63SEmmanuel Vadot 5728d13bc63SEmmanuel Vadot regulators-7 { 5738d13bc63SEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 5748d13bc63SEmmanuel Vadot qcom,pmic-id = "j"; 5758d13bc63SEmmanuel Vadot 5768d13bc63SEmmanuel Vadot vdd-l1-supply = <&vreg_s1f_0p7>; 57701950c46SEmmanuel Vadot vdd-l2-supply = <&vreg_s5j_1p2>; 5788d13bc63SEmmanuel Vadot vdd-l3-supply = <&vreg_s1f_0p7>; 5798d13bc63SEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 5808d13bc63SEmmanuel Vadot 5818d13bc63SEmmanuel Vadot vreg_s5j_1p2: smps5 { 5828d13bc63SEmmanuel Vadot regulator-name = "vreg_s5j_1p2"; 5838d13bc63SEmmanuel Vadot regulator-min-microvolt = <1256000>; 5848d13bc63SEmmanuel Vadot regulator-max-microvolt = <1304000>; 5858d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5868d13bc63SEmmanuel Vadot }; 5878d13bc63SEmmanuel Vadot 5888d13bc63SEmmanuel Vadot vreg_l1j_0p8: ldo1 { 5898d13bc63SEmmanuel Vadot regulator-name = "vreg_l1j_0p8"; 5908d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 5918d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 5928d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 5938d13bc63SEmmanuel Vadot }; 5948d13bc63SEmmanuel Vadot 5958d13bc63SEmmanuel Vadot vreg_l2j_1p2: ldo2 { 5968d13bc63SEmmanuel Vadot regulator-name = "vreg_l2j_1p2"; 5978d13bc63SEmmanuel Vadot regulator-min-microvolt = <1200000>; 5988d13bc63SEmmanuel Vadot regulator-max-microvolt = <1200000>; 5998d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6008d13bc63SEmmanuel Vadot }; 6018d13bc63SEmmanuel Vadot 6028d13bc63SEmmanuel Vadot vreg_l3j_0p8: ldo3 { 6038d13bc63SEmmanuel Vadot regulator-name = "vreg_l3j_0p8"; 6048d13bc63SEmmanuel Vadot regulator-min-microvolt = <880000>; 6058d13bc63SEmmanuel Vadot regulator-max-microvolt = <920000>; 6068d13bc63SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 6078d13bc63SEmmanuel Vadot }; 6088d13bc63SEmmanuel Vadot }; 6098d13bc63SEmmanuel Vadot}; 6108d13bc63SEmmanuel Vadot 6110e8011faSEmmanuel Vadot&gpu { 6120e8011faSEmmanuel Vadot status = "okay"; 6130e8011faSEmmanuel Vadot 6140e8011faSEmmanuel Vadot zap-shader { 6150e8011faSEmmanuel Vadot firmware-name = "qcom/x1e80100/gen70500_zap.mbn"; 6160e8011faSEmmanuel Vadot }; 6170e8011faSEmmanuel Vadot}; 6180e8011faSEmmanuel Vadot 6190e8011faSEmmanuel Vadot&lpass_tlmm { 6200e8011faSEmmanuel Vadot spkr_01_sd_n_active: spkr-01-sd-n-active-state { 6210e8011faSEmmanuel Vadot pins = "gpio12"; 6220e8011faSEmmanuel Vadot function = "gpio"; 6230e8011faSEmmanuel Vadot drive-strength = <16>; 6240e8011faSEmmanuel Vadot bias-disable; 6250e8011faSEmmanuel Vadot output-low; 6260e8011faSEmmanuel Vadot }; 6270e8011faSEmmanuel Vadot}; 6280e8011faSEmmanuel Vadot 62901950c46SEmmanuel Vadot&mdss { 63001950c46SEmmanuel Vadot status = "okay"; 63101950c46SEmmanuel Vadot}; 63201950c46SEmmanuel Vadot 63301950c46SEmmanuel Vadot&mdss_dp3 { 63401950c46SEmmanuel Vadot compatible = "qcom,x1e80100-dp"; 63501950c46SEmmanuel Vadot /delete-property/ #sound-dai-cells; 63601950c46SEmmanuel Vadot 63701950c46SEmmanuel Vadot status = "okay"; 63801950c46SEmmanuel Vadot 63901950c46SEmmanuel Vadot aux-bus { 64001950c46SEmmanuel Vadot panel { 64101950c46SEmmanuel Vadot compatible = "edp-panel"; 64201950c46SEmmanuel Vadot power-supply = <&vreg_edp_3p3>; 64301950c46SEmmanuel Vadot 64401950c46SEmmanuel Vadot port { 64501950c46SEmmanuel Vadot edp_panel_in: endpoint { 64601950c46SEmmanuel Vadot remote-endpoint = <&mdss_dp3_out>; 64701950c46SEmmanuel Vadot }; 64801950c46SEmmanuel Vadot }; 64901950c46SEmmanuel Vadot }; 65001950c46SEmmanuel Vadot }; 65101950c46SEmmanuel Vadot 65201950c46SEmmanuel Vadot ports { 65301950c46SEmmanuel Vadot port@1 { 65401950c46SEmmanuel Vadot reg = <1>; 65501950c46SEmmanuel Vadot mdss_dp3_out: endpoint { 6567d0873ebSEmmanuel Vadot data-lanes = <0 1 2 3>; 6577d0873ebSEmmanuel Vadot link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 6587d0873ebSEmmanuel Vadot 65901950c46SEmmanuel Vadot remote-endpoint = <&edp_panel_in>; 66001950c46SEmmanuel Vadot }; 66101950c46SEmmanuel Vadot }; 66201950c46SEmmanuel Vadot }; 66301950c46SEmmanuel Vadot}; 66401950c46SEmmanuel Vadot 66501950c46SEmmanuel Vadot&mdss_dp3_phy { 66601950c46SEmmanuel Vadot vdda-phy-supply = <&vreg_l3j_0p8>; 66701950c46SEmmanuel Vadot vdda-pll-supply = <&vreg_l2j_1p2>; 66801950c46SEmmanuel Vadot 66901950c46SEmmanuel Vadot status = "okay"; 67001950c46SEmmanuel Vadot}; 67101950c46SEmmanuel Vadot 67201950c46SEmmanuel Vadot&pcie4 { 6730e8011faSEmmanuel Vadot perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 6740e8011faSEmmanuel Vadot wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 6750e8011faSEmmanuel Vadot 6760e8011faSEmmanuel Vadot pinctrl-0 = <&pcie4_default>; 6770e8011faSEmmanuel Vadot pinctrl-names = "default"; 6780e8011faSEmmanuel Vadot 67901950c46SEmmanuel Vadot status = "okay"; 68001950c46SEmmanuel Vadot}; 68101950c46SEmmanuel Vadot 68201950c46SEmmanuel Vadot&pcie4_phy { 6830e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l3i_0p8>; 68401950c46SEmmanuel Vadot vdda-pll-supply = <&vreg_l3e_1p2>; 68501950c46SEmmanuel Vadot 68601950c46SEmmanuel Vadot status = "okay"; 68701950c46SEmmanuel Vadot}; 68801950c46SEmmanuel Vadot 68901950c46SEmmanuel Vadot&pcie6a { 6900e8011faSEmmanuel Vadot perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 6910e8011faSEmmanuel Vadot wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 6920e8011faSEmmanuel Vadot 6930e8011faSEmmanuel Vadot vddpe-3v3-supply = <&vreg_nvme>; 6940e8011faSEmmanuel Vadot 6950e8011faSEmmanuel Vadot pinctrl-names = "default"; 6960e8011faSEmmanuel Vadot pinctrl-0 = <&pcie6a_default>; 6970e8011faSEmmanuel Vadot 69801950c46SEmmanuel Vadot status = "okay"; 69901950c46SEmmanuel Vadot}; 70001950c46SEmmanuel Vadot 70101950c46SEmmanuel Vadot&pcie6a_phy { 7020e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l1d_0p8>; 70301950c46SEmmanuel Vadot vdda-pll-supply = <&vreg_l2j_1p2>; 70401950c46SEmmanuel Vadot 70501950c46SEmmanuel Vadot status = "okay"; 70601950c46SEmmanuel Vadot}; 70701950c46SEmmanuel Vadot 70801950c46SEmmanuel Vadot&qupv3_0 { 70901950c46SEmmanuel Vadot status = "okay"; 71001950c46SEmmanuel Vadot}; 71101950c46SEmmanuel Vadot 71201950c46SEmmanuel Vadot&qupv3_1 { 71301950c46SEmmanuel Vadot status = "okay"; 71401950c46SEmmanuel Vadot}; 71501950c46SEmmanuel Vadot 7168d13bc63SEmmanuel Vadot&qupv3_2 { 7178d13bc63SEmmanuel Vadot status = "okay"; 7188d13bc63SEmmanuel Vadot}; 7198d13bc63SEmmanuel Vadot 72001950c46SEmmanuel Vadot&remoteproc_adsp { 72101950c46SEmmanuel Vadot firmware-name = "qcom/x1e80100/adsp.mbn", 72201950c46SEmmanuel Vadot "qcom/x1e80100/adsp_dtb.mbn"; 72301950c46SEmmanuel Vadot 72401950c46SEmmanuel Vadot status = "okay"; 72501950c46SEmmanuel Vadot}; 72601950c46SEmmanuel Vadot 72701950c46SEmmanuel Vadot&remoteproc_cdsp { 72801950c46SEmmanuel Vadot firmware-name = "qcom/x1e80100/cdsp.mbn", 72901950c46SEmmanuel Vadot "qcom/x1e80100/cdsp_dtb.mbn"; 73001950c46SEmmanuel Vadot 73101950c46SEmmanuel Vadot status = "okay"; 73201950c46SEmmanuel Vadot}; 73301950c46SEmmanuel Vadot 7347d0873ebSEmmanuel Vadot&smb2360_0_eusb2_repeater { 7357d0873ebSEmmanuel Vadot vdd18-supply = <&vreg_l3d_1p8>; 7367d0873ebSEmmanuel Vadot vdd3-supply = <&vreg_l2b_3p0>; 7377d0873ebSEmmanuel Vadot}; 7387d0873ebSEmmanuel Vadot 7397d0873ebSEmmanuel Vadot&smb2360_1_eusb2_repeater { 7407d0873ebSEmmanuel Vadot vdd18-supply = <&vreg_l3d_1p8>; 7417d0873ebSEmmanuel Vadot vdd3-supply = <&vreg_l14b_3p0>; 7427d0873ebSEmmanuel Vadot}; 7437d0873ebSEmmanuel Vadot 744*b2d2a78aSEmmanuel Vadot&smb2360_2 { 745*b2d2a78aSEmmanuel Vadot status = "okay"; 746*b2d2a78aSEmmanuel Vadot}; 747*b2d2a78aSEmmanuel Vadot 7487d0873ebSEmmanuel Vadot&smb2360_2_eusb2_repeater { 7497d0873ebSEmmanuel Vadot vdd18-supply = <&vreg_l3d_1p8>; 7507d0873ebSEmmanuel Vadot vdd3-supply = <&vreg_l8b_3p0>; 7517d0873ebSEmmanuel Vadot}; 7527d0873ebSEmmanuel Vadot 753*b2d2a78aSEmmanuel Vadot&smb2360_3 { 754*b2d2a78aSEmmanuel Vadot status = "okay"; 755*b2d2a78aSEmmanuel Vadot}; 756*b2d2a78aSEmmanuel Vadot 7570e8011faSEmmanuel Vadot&swr0 { 7580e8011faSEmmanuel Vadot pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>; 7590e8011faSEmmanuel Vadot pinctrl-names = "default"; 7600e8011faSEmmanuel Vadot 7610e8011faSEmmanuel Vadot status = "okay"; 7620e8011faSEmmanuel Vadot 7630e8011faSEmmanuel Vadot /* WSA8845, Left Speaker */ 7640e8011faSEmmanuel Vadot left_spkr: speaker@0,0 { 7650e8011faSEmmanuel Vadot compatible = "sdw20217020400"; 7660e8011faSEmmanuel Vadot reg = <0 0>; 7670e8011faSEmmanuel Vadot #sound-dai-cells = <0>; 7680e8011faSEmmanuel Vadot reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 7690e8011faSEmmanuel Vadot sound-name-prefix = "SpkrLeft"; 7700e8011faSEmmanuel Vadot vdd-1p8-supply = <&vreg_l15b_1p8>; 7710e8011faSEmmanuel Vadot vdd-io-supply = <&vreg_l12b_1p2>; 772*b2d2a78aSEmmanuel Vadot qcom,port-mapping = <1 2 3 7 10 13>; 7730e8011faSEmmanuel Vadot }; 7740e8011faSEmmanuel Vadot 7750e8011faSEmmanuel Vadot /* WSA8845, Right Speaker */ 7760e8011faSEmmanuel Vadot right_spkr: speaker@0,1 { 7770e8011faSEmmanuel Vadot compatible = "sdw20217020400"; 7780e8011faSEmmanuel Vadot reg = <0 1>; 7790e8011faSEmmanuel Vadot #sound-dai-cells = <0>; 7800e8011faSEmmanuel Vadot reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 7810e8011faSEmmanuel Vadot sound-name-prefix = "SpkrRight"; 7820e8011faSEmmanuel Vadot vdd-1p8-supply = <&vreg_l15b_1p8>; 7830e8011faSEmmanuel Vadot vdd-io-supply = <&vreg_l12b_1p2>; 784*b2d2a78aSEmmanuel Vadot qcom,port-mapping = <4 5 6 7 11 13>; 7850e8011faSEmmanuel Vadot }; 7860e8011faSEmmanuel Vadot}; 7870e8011faSEmmanuel Vadot 7880e8011faSEmmanuel Vadot&swr1 { 7890e8011faSEmmanuel Vadot status = "okay"; 7900e8011faSEmmanuel Vadot 7910e8011faSEmmanuel Vadot /* WCD9385 RX */ 7920e8011faSEmmanuel Vadot wcd_rx: codec@0,4 { 7930e8011faSEmmanuel Vadot compatible = "sdw20217010d00"; 7940e8011faSEmmanuel Vadot reg = <0 4>; 7950e8011faSEmmanuel Vadot qcom,rx-port-mapping = <1 2 3 4 5>; 7960e8011faSEmmanuel Vadot }; 7970e8011faSEmmanuel Vadot}; 7980e8011faSEmmanuel Vadot 7990e8011faSEmmanuel Vadot&swr2 { 8000e8011faSEmmanuel Vadot status = "okay"; 8010e8011faSEmmanuel Vadot 8020e8011faSEmmanuel Vadot /* WCD9385 TX */ 8030e8011faSEmmanuel Vadot wcd_tx: codec@0,3 { 8040e8011faSEmmanuel Vadot compatible = "sdw20217010d00"; 8050e8011faSEmmanuel Vadot reg = <0 3>; 8060e8011faSEmmanuel Vadot qcom,tx-port-mapping = <2 2 3 4>; 8070e8011faSEmmanuel Vadot }; 8080e8011faSEmmanuel Vadot}; 8090e8011faSEmmanuel Vadot 8108d13bc63SEmmanuel Vadot&tlmm { 8118d13bc63SEmmanuel Vadot gpio-reserved-ranges = <33 3>, /* Unused */ 8128d13bc63SEmmanuel Vadot <44 4>, /* SPI (TPM) */ 8138d13bc63SEmmanuel Vadot <238 1>; /* UFS Reset */ 81401950c46SEmmanuel Vadot 81501950c46SEmmanuel Vadot edp_reg_en: edp-reg-en-state { 81601950c46SEmmanuel Vadot pins = "gpio70"; 81701950c46SEmmanuel Vadot function = "gpio"; 81801950c46SEmmanuel Vadot drive-strength = <16>; 81901950c46SEmmanuel Vadot bias-disable; 82001950c46SEmmanuel Vadot }; 8210e8011faSEmmanuel Vadot 8220e8011faSEmmanuel Vadot nvme_reg_en: nvme-reg-en-state { 8230e8011faSEmmanuel Vadot pins = "gpio18"; 8240e8011faSEmmanuel Vadot function = "gpio"; 8250e8011faSEmmanuel Vadot drive-strength = <2>; 8260e8011faSEmmanuel Vadot bias-disable; 8270e8011faSEmmanuel Vadot }; 8280e8011faSEmmanuel Vadot 8290e8011faSEmmanuel Vadot pcie4_default: pcie4-default-state { 8300e8011faSEmmanuel Vadot clkreq-n-pins { 8310e8011faSEmmanuel Vadot pins = "gpio147"; 8320e8011faSEmmanuel Vadot function = "pcie4_clk"; 8330e8011faSEmmanuel Vadot drive-strength = <2>; 8340e8011faSEmmanuel Vadot bias-pull-up; 8350e8011faSEmmanuel Vadot }; 8360e8011faSEmmanuel Vadot 8370e8011faSEmmanuel Vadot perst-n-pins { 8380e8011faSEmmanuel Vadot pins = "gpio146"; 8390e8011faSEmmanuel Vadot function = "gpio"; 8400e8011faSEmmanuel Vadot drive-strength = <2>; 8410e8011faSEmmanuel Vadot bias-disable; 8420e8011faSEmmanuel Vadot }; 8430e8011faSEmmanuel Vadot 8440e8011faSEmmanuel Vadot wake-n-pins { 8450e8011faSEmmanuel Vadot pins = "gpio148"; 8460e8011faSEmmanuel Vadot function = "gpio"; 8470e8011faSEmmanuel Vadot drive-strength = <2>; 8480e8011faSEmmanuel Vadot bias-pull-up; 8490e8011faSEmmanuel Vadot }; 8500e8011faSEmmanuel Vadot }; 8510e8011faSEmmanuel Vadot 8520e8011faSEmmanuel Vadot pcie6a_default: pcie6a-default-state { 8530e8011faSEmmanuel Vadot clkreq-n-pins { 8540e8011faSEmmanuel Vadot pins = "gpio153"; 8550e8011faSEmmanuel Vadot function = "pcie6a_clk"; 8560e8011faSEmmanuel Vadot drive-strength = <2>; 8570e8011faSEmmanuel Vadot bias-pull-up; 8580e8011faSEmmanuel Vadot }; 8590e8011faSEmmanuel Vadot 8600e8011faSEmmanuel Vadot perst-n-pins { 8610e8011faSEmmanuel Vadot pins = "gpio152"; 8620e8011faSEmmanuel Vadot function = "gpio"; 8630e8011faSEmmanuel Vadot drive-strength = <2>; 8640e8011faSEmmanuel Vadot bias-disable; 8650e8011faSEmmanuel Vadot }; 8660e8011faSEmmanuel Vadot 8670e8011faSEmmanuel Vadot wake-n-pins { 8680e8011faSEmmanuel Vadot pins = "gpio154"; 8690e8011faSEmmanuel Vadot function = "gpio"; 8700e8011faSEmmanuel Vadot drive-strength = <2>; 8710e8011faSEmmanuel Vadot bias-pull-up; 8720e8011faSEmmanuel Vadot }; 8730e8011faSEmmanuel Vadot }; 8740e8011faSEmmanuel Vadot 8750e8011faSEmmanuel Vadot wcd_default: wcd-reset-n-active-state { 8760e8011faSEmmanuel Vadot pins = "gpio191"; 8770e8011faSEmmanuel Vadot function = "gpio"; 8780e8011faSEmmanuel Vadot drive-strength = <16>; 8790e8011faSEmmanuel Vadot bias-disable; 8800e8011faSEmmanuel Vadot output-low; 8810e8011faSEmmanuel Vadot }; 8828d13bc63SEmmanuel Vadot}; 8838d13bc63SEmmanuel Vadot 8848d13bc63SEmmanuel Vadot&uart21 { 8858d13bc63SEmmanuel Vadot compatible = "qcom,geni-debug-uart"; 8868d13bc63SEmmanuel Vadot status = "okay"; 8878d13bc63SEmmanuel Vadot}; 88801950c46SEmmanuel Vadot 88901950c46SEmmanuel Vadot&usb_1_ss0_hsphy { 8900e8011faSEmmanuel Vadot vdd-supply = <&vreg_l3j_0p8>; 8910e8011faSEmmanuel Vadot vdda12-supply = <&vreg_l2j_1p2>; 89201950c46SEmmanuel Vadot 8937d0873ebSEmmanuel Vadot phys = <&smb2360_0_eusb2_repeater>; 8947d0873ebSEmmanuel Vadot 89501950c46SEmmanuel Vadot status = "okay"; 89601950c46SEmmanuel Vadot}; 89701950c46SEmmanuel Vadot 89801950c46SEmmanuel Vadot&usb_1_ss0_qmpphy { 8990e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l3e_1p2>; 9000e8011faSEmmanuel Vadot vdda-pll-supply = <&vreg_l1j_0p8>; 9010e8011faSEmmanuel Vadot 90201950c46SEmmanuel Vadot status = "okay"; 90301950c46SEmmanuel Vadot}; 90401950c46SEmmanuel Vadot 90501950c46SEmmanuel Vadot&usb_1_ss0 { 90601950c46SEmmanuel Vadot status = "okay"; 90701950c46SEmmanuel Vadot}; 90801950c46SEmmanuel Vadot 90901950c46SEmmanuel Vadot&usb_1_ss0_dwc3 { 91001950c46SEmmanuel Vadot dr_mode = "host"; 9110e8011faSEmmanuel Vadot}; 9120e8011faSEmmanuel Vadot 9130e8011faSEmmanuel Vadot&usb_1_ss0_dwc3_hs { 9140e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss0_hs_in>; 9150e8011faSEmmanuel Vadot}; 9160e8011faSEmmanuel Vadot 9170e8011faSEmmanuel Vadot&usb_1_ss0_qmpphy_out { 9180e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss0_ss_in>; 91901950c46SEmmanuel Vadot}; 92001950c46SEmmanuel Vadot 92101950c46SEmmanuel Vadot&usb_1_ss1_hsphy { 9220e8011faSEmmanuel Vadot vdd-supply = <&vreg_l3j_0p8>; 9230e8011faSEmmanuel Vadot vdda12-supply = <&vreg_l2j_1p2>; 92401950c46SEmmanuel Vadot 9257d0873ebSEmmanuel Vadot phys = <&smb2360_1_eusb2_repeater>; 9267d0873ebSEmmanuel Vadot 92701950c46SEmmanuel Vadot status = "okay"; 92801950c46SEmmanuel Vadot}; 92901950c46SEmmanuel Vadot 93001950c46SEmmanuel Vadot&usb_1_ss1_qmpphy { 9310e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l3e_1p2>; 9320e8011faSEmmanuel Vadot vdda-pll-supply = <&vreg_l2d_0p9>; 9330e8011faSEmmanuel Vadot 93401950c46SEmmanuel Vadot status = "okay"; 93501950c46SEmmanuel Vadot}; 93601950c46SEmmanuel Vadot 93701950c46SEmmanuel Vadot&usb_1_ss1 { 93801950c46SEmmanuel Vadot status = "okay"; 93901950c46SEmmanuel Vadot}; 94001950c46SEmmanuel Vadot 94101950c46SEmmanuel Vadot&usb_1_ss1_dwc3 { 94201950c46SEmmanuel Vadot dr_mode = "host"; 9430e8011faSEmmanuel Vadot}; 9440e8011faSEmmanuel Vadot 9450e8011faSEmmanuel Vadot&usb_1_ss1_dwc3_hs { 9460e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss1_hs_in>; 9470e8011faSEmmanuel Vadot}; 9480e8011faSEmmanuel Vadot 9490e8011faSEmmanuel Vadot&usb_1_ss1_qmpphy_out { 9500e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss1_ss_in>; 95101950c46SEmmanuel Vadot}; 95201950c46SEmmanuel Vadot 95301950c46SEmmanuel Vadot&usb_1_ss2_hsphy { 9540e8011faSEmmanuel Vadot vdd-supply = <&vreg_l3j_0p8>; 9550e8011faSEmmanuel Vadot vdda12-supply = <&vreg_l2j_1p2>; 95601950c46SEmmanuel Vadot 9577d0873ebSEmmanuel Vadot phys = <&smb2360_2_eusb2_repeater>; 9587d0873ebSEmmanuel Vadot 95901950c46SEmmanuel Vadot status = "okay"; 96001950c46SEmmanuel Vadot}; 96101950c46SEmmanuel Vadot 96201950c46SEmmanuel Vadot&usb_1_ss2_qmpphy { 9630e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l3e_1p2>; 9640e8011faSEmmanuel Vadot vdda-pll-supply = <&vreg_l2d_0p9>; 9650e8011faSEmmanuel Vadot 96601950c46SEmmanuel Vadot status = "okay"; 96701950c46SEmmanuel Vadot}; 96801950c46SEmmanuel Vadot 96901950c46SEmmanuel Vadot&usb_1_ss2 { 97001950c46SEmmanuel Vadot status = "okay"; 97101950c46SEmmanuel Vadot}; 97201950c46SEmmanuel Vadot 97301950c46SEmmanuel Vadot&usb_1_ss2_dwc3 { 97401950c46SEmmanuel Vadot dr_mode = "host"; 9750e8011faSEmmanuel Vadot}; 9760e8011faSEmmanuel Vadot 9770e8011faSEmmanuel Vadot&usb_1_ss2_dwc3_hs { 9780e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss2_hs_in>; 9790e8011faSEmmanuel Vadot}; 9800e8011faSEmmanuel Vadot 9810e8011faSEmmanuel Vadot&usb_1_ss2_qmpphy_out { 9820e8011faSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss2_ss_in>; 98301950c46SEmmanuel Vadot}; 984