1*cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*cb7aa33aSEmmanuel Vadot/* 3*cb7aa33aSEmmanuel Vadot * Copyright (c) 2022, 2023 Jianhua Lu <lujianhua000@gmail.com> 4*cb7aa33aSEmmanuel Vadot */ 5*cb7aa33aSEmmanuel Vadot 6*cb7aa33aSEmmanuel Vadot/dts-v1/; 7*cb7aa33aSEmmanuel Vadot 8*cb7aa33aSEmmanuel Vadot#include <dt-bindings/arm/qcom,ids.h> 9*cb7aa33aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10*cb7aa33aSEmmanuel Vadot#include "sm8250.dtsi" 11*cb7aa33aSEmmanuel Vadot#include "pm8150.dtsi" 12*cb7aa33aSEmmanuel Vadot#include "pm8150b.dtsi" 13*cb7aa33aSEmmanuel Vadot#include "pm8150l.dtsi" 14*cb7aa33aSEmmanuel Vadot#include "pm8009.dtsi" 15*cb7aa33aSEmmanuel Vadot 16*cb7aa33aSEmmanuel Vadot/* 17*cb7aa33aSEmmanuel Vadot * Delete following upstream (sm8250.dtsi) reserved 18*cb7aa33aSEmmanuel Vadot * memory mappings which are different on this device. 19*cb7aa33aSEmmanuel Vadot */ 20*cb7aa33aSEmmanuel Vadot/delete-node/ &adsp_mem; 21*cb7aa33aSEmmanuel Vadot/delete-node/ &cdsp_secure_heap; 22*cb7aa33aSEmmanuel Vadot/delete-node/ &slpi_mem; 23*cb7aa33aSEmmanuel Vadot/delete-node/ &spss_mem; 24*cb7aa33aSEmmanuel Vadot/delete-node/ &xbl_aop_mem; 25*cb7aa33aSEmmanuel Vadot 26*cb7aa33aSEmmanuel Vadot/ { 27*cb7aa33aSEmmanuel Vadot model = "Xiaomi Mi Pad 5 Pro"; 28*cb7aa33aSEmmanuel Vadot compatible = "xiaomi,elish", "qcom,sm8250"; 29*cb7aa33aSEmmanuel Vadot classis-type = "tablet"; 30*cb7aa33aSEmmanuel Vadot 31*cb7aa33aSEmmanuel Vadot /* required for bootloader to select correct board */ 32*cb7aa33aSEmmanuel Vadot qcom,msm-id = <QCOM_ID_SM8250 0x20001>; /* SM8250 v2.1 */ 33*cb7aa33aSEmmanuel Vadot qcom,board-id = <0x10008 0>; 34*cb7aa33aSEmmanuel Vadot 35*cb7aa33aSEmmanuel Vadot chosen { 36*cb7aa33aSEmmanuel Vadot #address-cells = <2>; 37*cb7aa33aSEmmanuel Vadot #size-cells = <2>; 38*cb7aa33aSEmmanuel Vadot ranges; 39*cb7aa33aSEmmanuel Vadot 40*cb7aa33aSEmmanuel Vadot framebuffer: framebuffer@9c000000 { 41*cb7aa33aSEmmanuel Vadot compatible = "simple-framebuffer"; 42*cb7aa33aSEmmanuel Vadot reg = <0x0 0x9c000000 0x0 0x2300000>; 43*cb7aa33aSEmmanuel Vadot width = <1600>; 44*cb7aa33aSEmmanuel Vadot height = <2560>; 45*cb7aa33aSEmmanuel Vadot stride = <(1600 * 4)>; 46*cb7aa33aSEmmanuel Vadot format = "a8r8g8b8"; 47*cb7aa33aSEmmanuel Vadot }; 48*cb7aa33aSEmmanuel Vadot }; 49*cb7aa33aSEmmanuel Vadot 50*cb7aa33aSEmmanuel Vadot battery_l: battery-l { 51*cb7aa33aSEmmanuel Vadot compatible = "simple-battery"; 52*cb7aa33aSEmmanuel Vadot voltage-min-design-microvolt = <3870000>; 53*cb7aa33aSEmmanuel Vadot energy-full-design-microwatt-hours = <16600000>; 54*cb7aa33aSEmmanuel Vadot charge-full-design-microamp-hours = <4300000>; 55*cb7aa33aSEmmanuel Vadot }; 56*cb7aa33aSEmmanuel Vadot 57*cb7aa33aSEmmanuel Vadot battery_r: battery-r { 58*cb7aa33aSEmmanuel Vadot compatible = "simple-battery"; 59*cb7aa33aSEmmanuel Vadot voltage-min-design-microvolt = <3870000>; 60*cb7aa33aSEmmanuel Vadot energy-full-design-microwatt-hours = <16600000>; 61*cb7aa33aSEmmanuel Vadot charge-full-design-microamp-hours = <4300000>; 62*cb7aa33aSEmmanuel Vadot }; 63*cb7aa33aSEmmanuel Vadot 64*cb7aa33aSEmmanuel Vadot bl_vddpos_5p5: bl-vddpos-regulator { 65*cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 66*cb7aa33aSEmmanuel Vadot regulator-name = "bl_vddpos_5p5"; 67*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <5500000>; 68*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <5500000>; 69*cb7aa33aSEmmanuel Vadot regulator-enable-ramp-delay = <233>; 70*cb7aa33aSEmmanuel Vadot gpio = <&tlmm 130 GPIO_ACTIVE_HIGH>; 71*cb7aa33aSEmmanuel Vadot enable-active-high; 72*cb7aa33aSEmmanuel Vadot regulator-boot-on; 73*cb7aa33aSEmmanuel Vadot }; 74*cb7aa33aSEmmanuel Vadot 75*cb7aa33aSEmmanuel Vadot bl_vddneg_5p5: bl-vddneg-regulator { 76*cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 77*cb7aa33aSEmmanuel Vadot regulator-name = "bl_vddneg_5p5"; 78*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <5500000>; 79*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <5500000>; 80*cb7aa33aSEmmanuel Vadot regulator-enable-ramp-delay = <233>; 81*cb7aa33aSEmmanuel Vadot gpio = <&tlmm 131 GPIO_ACTIVE_HIGH>; 82*cb7aa33aSEmmanuel Vadot enable-active-high; 83*cb7aa33aSEmmanuel Vadot regulator-boot-on; 84*cb7aa33aSEmmanuel Vadot }; 85*cb7aa33aSEmmanuel Vadot 86*cb7aa33aSEmmanuel Vadot gpio_keys: gpio-keys { 87*cb7aa33aSEmmanuel Vadot compatible = "gpio-keys"; 88*cb7aa33aSEmmanuel Vadot 89*cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 90*cb7aa33aSEmmanuel Vadot pinctrl-0 = <&vol_up_n>; 91*cb7aa33aSEmmanuel Vadot 92*cb7aa33aSEmmanuel Vadot key-vol-up { 93*cb7aa33aSEmmanuel Vadot label = "Volume Up"; 94*cb7aa33aSEmmanuel Vadot gpios = <&pm8150_gpios 6 GPIO_ACTIVE_LOW>; 95*cb7aa33aSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 96*cb7aa33aSEmmanuel Vadot debounce-interval = <15>; 97*cb7aa33aSEmmanuel Vadot linux,can-disable; 98*cb7aa33aSEmmanuel Vadot gpio-key,wakeup; 99*cb7aa33aSEmmanuel Vadot }; 100*cb7aa33aSEmmanuel Vadot }; 101*cb7aa33aSEmmanuel Vadot 102*cb7aa33aSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 103*cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 104*cb7aa33aSEmmanuel Vadot regulator-name = "vph_pwr"; 105*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3700000>; 106*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3700000>; 107*cb7aa33aSEmmanuel Vadot }; 108*cb7aa33aSEmmanuel Vadot 109*cb7aa33aSEmmanuel Vadot /* S6c is really ebi.lvl but it's there for supply map completeness sake. */ 110*cb7aa33aSEmmanuel Vadot vreg_s6c_0p88: smpc6-regulator { 111*cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 112*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s6c_0p88"; 113*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <880000>; 114*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <880000>; 115*cb7aa33aSEmmanuel Vadot regulator-always-on; 116*cb7aa33aSEmmanuel Vadot vin-supply = <&vph_pwr>; 117*cb7aa33aSEmmanuel Vadot }; 118*cb7aa33aSEmmanuel Vadot 119*cb7aa33aSEmmanuel Vadot reserved-memory { 120*cb7aa33aSEmmanuel Vadot xbl_aop_mem: xbl-aop@80700000 { 121*cb7aa33aSEmmanuel Vadot reg = <0x0 0x80600000 0x0 0x260000>; 122*cb7aa33aSEmmanuel Vadot no-map; 123*cb7aa33aSEmmanuel Vadot }; 124*cb7aa33aSEmmanuel Vadot 125*cb7aa33aSEmmanuel Vadot slpi_mem: slpi@88c00000 { 126*cb7aa33aSEmmanuel Vadot reg = <0x0 0x88c00000 0x0 0x2f00000>; 127*cb7aa33aSEmmanuel Vadot no-map; 128*cb7aa33aSEmmanuel Vadot }; 129*cb7aa33aSEmmanuel Vadot 130*cb7aa33aSEmmanuel Vadot adsp_mem: adsp@8bb00000 { 131*cb7aa33aSEmmanuel Vadot reg = <0x0 0x8bb00000 0x0 0x2500000>; 132*cb7aa33aSEmmanuel Vadot no-map; 133*cb7aa33aSEmmanuel Vadot }; 134*cb7aa33aSEmmanuel Vadot 135*cb7aa33aSEmmanuel Vadot spss_mem: spss@8e000000 { 136*cb7aa33aSEmmanuel Vadot reg = <0x0 0x8e000000 0x0 0x100000>; 137*cb7aa33aSEmmanuel Vadot no-map; 138*cb7aa33aSEmmanuel Vadot }; 139*cb7aa33aSEmmanuel Vadot 140*cb7aa33aSEmmanuel Vadot cdsp_secure_heap: cdsp-secure-heap@8e100000 { 141*cb7aa33aSEmmanuel Vadot reg = <0x0 0x8e100000 0x0 0x4600000>; 142*cb7aa33aSEmmanuel Vadot no-map; 143*cb7aa33aSEmmanuel Vadot }; 144*cb7aa33aSEmmanuel Vadot 145*cb7aa33aSEmmanuel Vadot cont_splash_mem: cont-splash@9c000000 { 146*cb7aa33aSEmmanuel Vadot reg = <0x0 0x9c000000 0x0 0x2300000>; 147*cb7aa33aSEmmanuel Vadot no-map; 148*cb7aa33aSEmmanuel Vadot }; 149*cb7aa33aSEmmanuel Vadot 150*cb7aa33aSEmmanuel Vadot ramoops@b0000000 { 151*cb7aa33aSEmmanuel Vadot compatible = "ramoops"; 152*cb7aa33aSEmmanuel Vadot reg = <0x0 0xb0000000 0x0 0x400000>; 153*cb7aa33aSEmmanuel Vadot record-size = <0x1000>; 154*cb7aa33aSEmmanuel Vadot console-size = <0x200000>; 155*cb7aa33aSEmmanuel Vadot ecc-size = <16>; 156*cb7aa33aSEmmanuel Vadot no-map; 157*cb7aa33aSEmmanuel Vadot }; 158*cb7aa33aSEmmanuel Vadot }; 159*cb7aa33aSEmmanuel Vadot}; 160*cb7aa33aSEmmanuel Vadot 161*cb7aa33aSEmmanuel Vadot&adsp { 162*cb7aa33aSEmmanuel Vadot firmware-name = "qcom/sm8250/xiaomi/elish/adsp.mbn"; 163*cb7aa33aSEmmanuel Vadot status = "okay"; 164*cb7aa33aSEmmanuel Vadot}; 165*cb7aa33aSEmmanuel Vadot 166*cb7aa33aSEmmanuel Vadot&apps_rsc { 167*cb7aa33aSEmmanuel Vadot regulators-0 { 168*cb7aa33aSEmmanuel Vadot compatible = "qcom,pm8150-rpmh-regulators"; 169*cb7aa33aSEmmanuel Vadot qcom,pmic-id = "a"; 170*cb7aa33aSEmmanuel Vadot 171*cb7aa33aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 172*cb7aa33aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 173*cb7aa33aSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 174*cb7aa33aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 175*cb7aa33aSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 176*cb7aa33aSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 177*cb7aa33aSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 178*cb7aa33aSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 179*cb7aa33aSEmmanuel Vadot vdd-s9-supply = <&vph_pwr>; 180*cb7aa33aSEmmanuel Vadot vdd-s10-supply = <&vph_pwr>; 181*cb7aa33aSEmmanuel Vadot vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; 182*cb7aa33aSEmmanuel Vadot vdd-l2-l10-supply = <&vreg_bob>; 183*cb7aa33aSEmmanuel Vadot vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 184*cb7aa33aSEmmanuel Vadot vdd-l6-l9-supply = <&vreg_s8c_1p35>; 185*cb7aa33aSEmmanuel Vadot vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 186*cb7aa33aSEmmanuel Vadot vdd-l13-l16-l17-supply = <&vreg_bob>; 187*cb7aa33aSEmmanuel Vadot 188*cb7aa33aSEmmanuel Vadot /* (S1+S2+S3) - cx.lvl (ARC) */ 189*cb7aa33aSEmmanuel Vadot 190*cb7aa33aSEmmanuel Vadot vreg_s4a_1p8: smps4 { 191*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s4a_1p8"; 192*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 193*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1920000>; 194*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 195*cb7aa33aSEmmanuel Vadot regulator-allow-set-load; 196*cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 197*cb7aa33aSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 198*cb7aa33aSEmmanuel Vadot }; 199*cb7aa33aSEmmanuel Vadot 200*cb7aa33aSEmmanuel Vadot vreg_s5a_1p9: smps5 { 201*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s5a_1p9"; 202*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1900000>; 203*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2040000>; 204*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 205*cb7aa33aSEmmanuel Vadot }; 206*cb7aa33aSEmmanuel Vadot 207*cb7aa33aSEmmanuel Vadot vreg_s6a_0p95: smps6 { 208*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s6a_0p95"; 209*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <950000>; 210*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1128000>; 211*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 212*cb7aa33aSEmmanuel Vadot }; 213*cb7aa33aSEmmanuel Vadot 214*cb7aa33aSEmmanuel Vadot vreg_l2a_3p1: ldo2 { 215*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l2a_3p1"; 216*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3072000>; 217*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3072000>; 218*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 219*cb7aa33aSEmmanuel Vadot }; 220*cb7aa33aSEmmanuel Vadot 221*cb7aa33aSEmmanuel Vadot vreg_l3a_0p9: ldo3 { 222*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l3a_0p9"; 223*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <928000>; 224*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <932000>; 225*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 226*cb7aa33aSEmmanuel Vadot }; 227*cb7aa33aSEmmanuel Vadot 228*cb7aa33aSEmmanuel Vadot /* L4 - lmx.lvl (ARC) */ 229*cb7aa33aSEmmanuel Vadot 230*cb7aa33aSEmmanuel Vadot vreg_l5a_0p88: ldo5 { 231*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l5a_0p88"; 232*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <880000>; 233*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <880000>; 234*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 235*cb7aa33aSEmmanuel Vadot }; 236*cb7aa33aSEmmanuel Vadot 237*cb7aa33aSEmmanuel Vadot vreg_l6a_1p2: ldo6 { 238*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l6a_1p2"; 239*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 240*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 241*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 242*cb7aa33aSEmmanuel Vadot regulator-allow-set-load; 243*cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 244*cb7aa33aSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 245*cb7aa33aSEmmanuel Vadot }; 246*cb7aa33aSEmmanuel Vadot 247*cb7aa33aSEmmanuel Vadot /* L7 is unused. */ 248*cb7aa33aSEmmanuel Vadot 249*cb7aa33aSEmmanuel Vadot vreg_l9a_1p2: ldo9 { 250*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l9a_1p2"; 251*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 252*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 253*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 254*cb7aa33aSEmmanuel Vadot }; 255*cb7aa33aSEmmanuel Vadot 256*cb7aa33aSEmmanuel Vadot /* L10 is unused, L11 - lcx.lvl (ARC) */ 257*cb7aa33aSEmmanuel Vadot 258*cb7aa33aSEmmanuel Vadot vreg_l12a_1p8: ldo12 { 259*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l12a_1p8"; 260*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 261*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 262*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 263*cb7aa33aSEmmanuel Vadot }; 264*cb7aa33aSEmmanuel Vadot 265*cb7aa33aSEmmanuel Vadot /* L13 is unused. */ 266*cb7aa33aSEmmanuel Vadot 267*cb7aa33aSEmmanuel Vadot vreg_l14a_1p88: ldo14 { 268*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l14a_1p88"; 269*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1880000>; 270*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1880000>; 271*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 272*cb7aa33aSEmmanuel Vadot }; 273*cb7aa33aSEmmanuel Vadot 274*cb7aa33aSEmmanuel Vadot /* L15 & L16 are unused. */ 275*cb7aa33aSEmmanuel Vadot 276*cb7aa33aSEmmanuel Vadot vreg_l17a_3p0: ldo17 { 277*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l17a_3p0"; 278*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2496000>; 279*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3008000>; 280*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 281*cb7aa33aSEmmanuel Vadot regulator-allow-set-load; 282*cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 283*cb7aa33aSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 284*cb7aa33aSEmmanuel Vadot }; 285*cb7aa33aSEmmanuel Vadot 286*cb7aa33aSEmmanuel Vadot vreg_l18a_0p9: ldo18 { 287*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l18a_0p9"; 288*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <800000>; 289*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <920000>; 290*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291*cb7aa33aSEmmanuel Vadot }; 292*cb7aa33aSEmmanuel Vadot }; 293*cb7aa33aSEmmanuel Vadot 294*cb7aa33aSEmmanuel Vadot /* 295*cb7aa33aSEmmanuel Vadot * Remaining regulators that are not yet supported: 296*cb7aa33aSEmmanuel Vadot * OLEDB: 4925000-8100000 297*cb7aa33aSEmmanuel Vadot * ab: 4600000-6100000 298*cb7aa33aSEmmanuel Vadot * ibb: 800000-5400000 299*cb7aa33aSEmmanuel Vadot */ 300*cb7aa33aSEmmanuel Vadot regulators-1 { 301*cb7aa33aSEmmanuel Vadot compatible = "qcom,pm8150l-rpmh-regulators"; 302*cb7aa33aSEmmanuel Vadot qcom,pmic-id = "c"; 303*cb7aa33aSEmmanuel Vadot 304*cb7aa33aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 305*cb7aa33aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 306*cb7aa33aSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 307*cb7aa33aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 308*cb7aa33aSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 309*cb7aa33aSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 310*cb7aa33aSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 311*cb7aa33aSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 312*cb7aa33aSEmmanuel Vadot vdd-l1-l8-supply = <&vreg_s4a_1p8>; 313*cb7aa33aSEmmanuel Vadot vdd-l2-l3-supply = <&vreg_s8c_1p35>; 314*cb7aa33aSEmmanuel Vadot vdd-l4-l5-l6-supply = <&vreg_bob>; 315*cb7aa33aSEmmanuel Vadot vdd-l7-l11-supply = <&vreg_bob>; 316*cb7aa33aSEmmanuel Vadot vdd-l9-l10-supply = <&vreg_bob>; 317*cb7aa33aSEmmanuel Vadot vdd-bob-supply = <&vph_pwr>; 318*cb7aa33aSEmmanuel Vadot 319*cb7aa33aSEmmanuel Vadot vreg_bob: bob { 320*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_bob"; 321*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3350000>; 322*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3960000>; 323*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 324*cb7aa33aSEmmanuel Vadot }; 325*cb7aa33aSEmmanuel Vadot 326*cb7aa33aSEmmanuel Vadot /* 327*cb7aa33aSEmmanuel Vadot * S1-S6 are ARCs: 328*cb7aa33aSEmmanuel Vadot * (S1+S2) - gfx.lvl, 329*cb7aa33aSEmmanuel Vadot * S3 - mx.lvl, 330*cb7aa33aSEmmanuel Vadot * (S4+S5) - mmcx.lvl, 331*cb7aa33aSEmmanuel Vadot * S6 - ebi.lvl 332*cb7aa33aSEmmanuel Vadot */ 333*cb7aa33aSEmmanuel Vadot 334*cb7aa33aSEmmanuel Vadot vreg_s7c_0p35: smps7 { 335*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s7c_0p35"; 336*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <348000>; 337*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 338*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 339*cb7aa33aSEmmanuel Vadot }; 340*cb7aa33aSEmmanuel Vadot 341*cb7aa33aSEmmanuel Vadot vreg_s8c_1p35: smps8 { 342*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s8c_1p35"; 343*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1350000>; 344*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1400000>; 345*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 346*cb7aa33aSEmmanuel Vadot }; 347*cb7aa33aSEmmanuel Vadot 348*cb7aa33aSEmmanuel Vadot vreg_l1c_1p8: ldo1 { 349*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l1c_1p8"; 350*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 351*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 352*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 353*cb7aa33aSEmmanuel Vadot }; 354*cb7aa33aSEmmanuel Vadot 355*cb7aa33aSEmmanuel Vadot /* L2-4 are unused. */ 356*cb7aa33aSEmmanuel Vadot 357*cb7aa33aSEmmanuel Vadot vreg_l5c_1p8: ldo5 { 358*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l5c_1p8"; 359*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 360*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 361*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 362*cb7aa33aSEmmanuel Vadot }; 363*cb7aa33aSEmmanuel Vadot 364*cb7aa33aSEmmanuel Vadot vreg_l6c_2p9: ldo6 { 365*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l6c_2p9"; 366*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 367*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 368*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 369*cb7aa33aSEmmanuel Vadot regulator-allow-set-load; 370*cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 371*cb7aa33aSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 372*cb7aa33aSEmmanuel Vadot }; 373*cb7aa33aSEmmanuel Vadot 374*cb7aa33aSEmmanuel Vadot vreg_l7c_2p85: ldo7 { 375*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l7c_2p85"; 376*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2856000>; 377*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3104000>; 378*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 379*cb7aa33aSEmmanuel Vadot }; 380*cb7aa33aSEmmanuel Vadot 381*cb7aa33aSEmmanuel Vadot vreg_l8c_1p8: ldo8 { 382*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l8c_1p8"; 383*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 384*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 385*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 386*cb7aa33aSEmmanuel Vadot }; 387*cb7aa33aSEmmanuel Vadot 388*cb7aa33aSEmmanuel Vadot vreg_l9c_2p9: ldo9 { 389*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l9c_2p9"; 390*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2704000>; 391*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 392*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 393*cb7aa33aSEmmanuel Vadot regulator-allow-set-load; 394*cb7aa33aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 395*cb7aa33aSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 396*cb7aa33aSEmmanuel Vadot }; 397*cb7aa33aSEmmanuel Vadot 398*cb7aa33aSEmmanuel Vadot vreg_l10c_3p3: ldo10 { 399*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l10c_3p3"; 400*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3296000>; 401*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3296000>; 402*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 403*cb7aa33aSEmmanuel Vadot }; 404*cb7aa33aSEmmanuel Vadot 405*cb7aa33aSEmmanuel Vadot vreg_l11c_3p0: ldo11 { 406*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l11c_3p0"; 407*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 408*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 409*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 410*cb7aa33aSEmmanuel Vadot }; 411*cb7aa33aSEmmanuel Vadot }; 412*cb7aa33aSEmmanuel Vadot 413*cb7aa33aSEmmanuel Vadot regulators-2 { 414*cb7aa33aSEmmanuel Vadot compatible = "qcom,pm8009-rpmh-regulators"; 415*cb7aa33aSEmmanuel Vadot qcom,pmic-id = "f"; 416*cb7aa33aSEmmanuel Vadot 417*cb7aa33aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 418*cb7aa33aSEmmanuel Vadot vdd-s2-supply = <&vreg_bob>; 419*cb7aa33aSEmmanuel Vadot vdd-l2-supply = <&vreg_s8c_1p35>; 420*cb7aa33aSEmmanuel Vadot vdd-l5-l6-supply = <&vreg_bob>; 421*cb7aa33aSEmmanuel Vadot vdd-l7-supply = <&vreg_s4a_1p8>; 422*cb7aa33aSEmmanuel Vadot 423*cb7aa33aSEmmanuel Vadot vreg_s1f_1p2: smps1 { 424*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s1f_1p2"; 425*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 426*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 427*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 428*cb7aa33aSEmmanuel Vadot }; 429*cb7aa33aSEmmanuel Vadot 430*cb7aa33aSEmmanuel Vadot vreg_s2f_0p5: smps2 { 431*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_s2f_0p5"; 432*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <512000>; 433*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 434*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 435*cb7aa33aSEmmanuel Vadot }; 436*cb7aa33aSEmmanuel Vadot 437*cb7aa33aSEmmanuel Vadot /* L1 is unused. */ 438*cb7aa33aSEmmanuel Vadot 439*cb7aa33aSEmmanuel Vadot vreg_l2f_1p3: ldo2 { 440*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l2f_1p3"; 441*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1304000>; 442*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1304000>; 443*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 444*cb7aa33aSEmmanuel Vadot }; 445*cb7aa33aSEmmanuel Vadot 446*cb7aa33aSEmmanuel Vadot /* L3 & L4 are unused. */ 447*cb7aa33aSEmmanuel Vadot 448*cb7aa33aSEmmanuel Vadot vreg_l5f_2p8: ldo5 { 449*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l5f_2p85"; 450*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 451*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 452*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 453*cb7aa33aSEmmanuel Vadot }; 454*cb7aa33aSEmmanuel Vadot 455*cb7aa33aSEmmanuel Vadot vreg_l6f_2p8: ldo6 { 456*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l6f_2p8"; 457*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 458*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 459*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 460*cb7aa33aSEmmanuel Vadot }; 461*cb7aa33aSEmmanuel Vadot 462*cb7aa33aSEmmanuel Vadot vreg_l7f_1p8: ldo7 { 463*cb7aa33aSEmmanuel Vadot regulator-name = "vreg_l7f_1p8"; 464*cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 465*cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 466*cb7aa33aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 467*cb7aa33aSEmmanuel Vadot }; 468*cb7aa33aSEmmanuel Vadot }; 469*cb7aa33aSEmmanuel Vadot}; 470*cb7aa33aSEmmanuel Vadot 471*cb7aa33aSEmmanuel Vadot&cdsp { 472*cb7aa33aSEmmanuel Vadot firmware-name = "qcom/sm8250/xiaomi/elish/cdsp.mbn"; 473*cb7aa33aSEmmanuel Vadot status = "okay"; 474*cb7aa33aSEmmanuel Vadot}; 475*cb7aa33aSEmmanuel Vadot 476*cb7aa33aSEmmanuel Vadot&gmu { 477*cb7aa33aSEmmanuel Vadot status = "okay"; 478*cb7aa33aSEmmanuel Vadot}; 479*cb7aa33aSEmmanuel Vadot 480*cb7aa33aSEmmanuel Vadot&gpi_dma0 { 481*cb7aa33aSEmmanuel Vadot status = "okay"; 482*cb7aa33aSEmmanuel Vadot}; 483*cb7aa33aSEmmanuel Vadot 484*cb7aa33aSEmmanuel Vadot&gpi_dma1 { 485*cb7aa33aSEmmanuel Vadot status = "okay"; 486*cb7aa33aSEmmanuel Vadot}; 487*cb7aa33aSEmmanuel Vadot 488*cb7aa33aSEmmanuel Vadot&gpi_dma2 { 489*cb7aa33aSEmmanuel Vadot status = "okay"; 490*cb7aa33aSEmmanuel Vadot}; 491*cb7aa33aSEmmanuel Vadot 492*cb7aa33aSEmmanuel Vadot&gpu { 493*cb7aa33aSEmmanuel Vadot status = "okay"; 494*cb7aa33aSEmmanuel Vadot 495*cb7aa33aSEmmanuel Vadot zap-shader { 496*cb7aa33aSEmmanuel Vadot memory-region = <&gpu_mem>; 497*cb7aa33aSEmmanuel Vadot firmware-name = "qcom/sm8250/xiaomi/elish/a650_zap.mbn"; 498*cb7aa33aSEmmanuel Vadot }; 499*cb7aa33aSEmmanuel Vadot}; 500*cb7aa33aSEmmanuel Vadot 501*cb7aa33aSEmmanuel Vadot&i2c0 { 502*cb7aa33aSEmmanuel Vadot clock-frequency = <400000>; 503*cb7aa33aSEmmanuel Vadot status = "okay"; 504*cb7aa33aSEmmanuel Vadot 505*cb7aa33aSEmmanuel Vadot fuel-gauge@55 { 506*cb7aa33aSEmmanuel Vadot compatible = "ti,bq27z561"; 507*cb7aa33aSEmmanuel Vadot reg = <0x55>; 508*cb7aa33aSEmmanuel Vadot monitored-battery = <&battery_r>; 509*cb7aa33aSEmmanuel Vadot }; 510*cb7aa33aSEmmanuel Vadot}; 511*cb7aa33aSEmmanuel Vadot 512*cb7aa33aSEmmanuel Vadot&i2c11 { 513*cb7aa33aSEmmanuel Vadot clock-frequency = <400000>; 514*cb7aa33aSEmmanuel Vadot status = "okay"; 515*cb7aa33aSEmmanuel Vadot 516*cb7aa33aSEmmanuel Vadot backlight: backlight@11 { 517*cb7aa33aSEmmanuel Vadot compatible = "kinetic,ktz8866"; 518*cb7aa33aSEmmanuel Vadot reg = <0x11>; 519*cb7aa33aSEmmanuel Vadot vddpos-supply = <&bl_vddpos_5p5>; 520*cb7aa33aSEmmanuel Vadot vddneg-supply = <&bl_vddneg_5p5>; 521*cb7aa33aSEmmanuel Vadot enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>; 522*cb7aa33aSEmmanuel Vadot current-num-sinks = <5>; 523*cb7aa33aSEmmanuel Vadot kinetic,current-ramp-delay-ms = <128>; 524*cb7aa33aSEmmanuel Vadot kinetic,led-enable-ramp-delay-ms = <1>; 525*cb7aa33aSEmmanuel Vadot kinetic,enable-lcd-bias; 526*cb7aa33aSEmmanuel Vadot }; 527*cb7aa33aSEmmanuel Vadot}; 528*cb7aa33aSEmmanuel Vadot 529*cb7aa33aSEmmanuel Vadot&i2c13 { 530*cb7aa33aSEmmanuel Vadot clock-frequency = <400000>; 531*cb7aa33aSEmmanuel Vadot status = "okay"; 532*cb7aa33aSEmmanuel Vadot 533*cb7aa33aSEmmanuel Vadot fuel-gauge@55 { 534*cb7aa33aSEmmanuel Vadot compatible = "ti,bq27z561"; 535*cb7aa33aSEmmanuel Vadot reg = <0x55>; 536*cb7aa33aSEmmanuel Vadot monitored-battery = <&battery_l>; 537*cb7aa33aSEmmanuel Vadot }; 538*cb7aa33aSEmmanuel Vadot}; 539*cb7aa33aSEmmanuel Vadot 540*cb7aa33aSEmmanuel Vadot&pcie0 { 541*cb7aa33aSEmmanuel Vadot status = "okay"; 542*cb7aa33aSEmmanuel Vadot}; 543*cb7aa33aSEmmanuel Vadot 544*cb7aa33aSEmmanuel Vadot&pcie0_phy { 545*cb7aa33aSEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 546*cb7aa33aSEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 547*cb7aa33aSEmmanuel Vadot status = "okay"; 548*cb7aa33aSEmmanuel Vadot}; 549*cb7aa33aSEmmanuel Vadot 550*cb7aa33aSEmmanuel Vadot&pm8150_gpios { 551*cb7aa33aSEmmanuel Vadot vol_up_n: vol-up-n-state { 552*cb7aa33aSEmmanuel Vadot pins = "gpio6"; 553*cb7aa33aSEmmanuel Vadot function = "normal"; 554*cb7aa33aSEmmanuel Vadot power-source = <1>; 555*cb7aa33aSEmmanuel Vadot input-enable; 556*cb7aa33aSEmmanuel Vadot bias-pull-up; 557*cb7aa33aSEmmanuel Vadot }; 558*cb7aa33aSEmmanuel Vadot}; 559*cb7aa33aSEmmanuel Vadot 560*cb7aa33aSEmmanuel Vadot&pon_pwrkey { 561*cb7aa33aSEmmanuel Vadot status = "okay"; 562*cb7aa33aSEmmanuel Vadot}; 563*cb7aa33aSEmmanuel Vadot 564*cb7aa33aSEmmanuel Vadot&pon_resin { 565*cb7aa33aSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 566*cb7aa33aSEmmanuel Vadot status = "okay"; 567*cb7aa33aSEmmanuel Vadot}; 568*cb7aa33aSEmmanuel Vadot 569*cb7aa33aSEmmanuel Vadot&qupv3_id_0 { 570*cb7aa33aSEmmanuel Vadot status = "okay"; 571*cb7aa33aSEmmanuel Vadot}; 572*cb7aa33aSEmmanuel Vadot 573*cb7aa33aSEmmanuel Vadot&qupv3_id_1 { 574*cb7aa33aSEmmanuel Vadot status = "okay"; 575*cb7aa33aSEmmanuel Vadot}; 576*cb7aa33aSEmmanuel Vadot 577*cb7aa33aSEmmanuel Vadot&qupv3_id_2 { 578*cb7aa33aSEmmanuel Vadot status = "okay"; 579*cb7aa33aSEmmanuel Vadot}; 580*cb7aa33aSEmmanuel Vadot 581*cb7aa33aSEmmanuel Vadot&slpi { 582*cb7aa33aSEmmanuel Vadot firmware-name = "qcom/sm8250/xiaomi/elish/slpi.mbn"; 583*cb7aa33aSEmmanuel Vadot status = "okay"; 584*cb7aa33aSEmmanuel Vadot}; 585*cb7aa33aSEmmanuel Vadot 586*cb7aa33aSEmmanuel Vadot&tlmm { 587*cb7aa33aSEmmanuel Vadot gpio-reserved-ranges = <40 4>; 588*cb7aa33aSEmmanuel Vadot}; 589*cb7aa33aSEmmanuel Vadot 590*cb7aa33aSEmmanuel Vadot&usb_1 { 591*cb7aa33aSEmmanuel Vadot /* USB 2.0 only */ 592*cb7aa33aSEmmanuel Vadot qcom,select-utmi-as-pipe-clk; 593*cb7aa33aSEmmanuel Vadot status = "okay"; 594*cb7aa33aSEmmanuel Vadot}; 595*cb7aa33aSEmmanuel Vadot 596*cb7aa33aSEmmanuel Vadot&usb_1_dwc3 { 597*cb7aa33aSEmmanuel Vadot dr_mode = "peripheral"; 598*cb7aa33aSEmmanuel Vadot maximum-spped = "high-speed"; 599*cb7aa33aSEmmanuel Vadot /* Remove USB3 phy */ 600*cb7aa33aSEmmanuel Vadot phys = <&usb_1_hsphy>; 601*cb7aa33aSEmmanuel Vadot phy-names = "usb2-phy"; 602*cb7aa33aSEmmanuel Vadot}; 603*cb7aa33aSEmmanuel Vadot 604*cb7aa33aSEmmanuel Vadot&usb_1_hsphy { 605*cb7aa33aSEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p88>; 606*cb7aa33aSEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 607*cb7aa33aSEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 608*cb7aa33aSEmmanuel Vadot status = "okay"; 609*cb7aa33aSEmmanuel Vadot}; 610*cb7aa33aSEmmanuel Vadot 611*cb7aa33aSEmmanuel Vadot&ufs_mem_hc { 612*cb7aa33aSEmmanuel Vadot vcc-supply = <&vreg_l17a_3p0>; 613*cb7aa33aSEmmanuel Vadot vcc-max-microamp = <800000>; 614*cb7aa33aSEmmanuel Vadot vccq-supply = <&vreg_l6a_1p2>; 615*cb7aa33aSEmmanuel Vadot vccq-max-microamp = <800000>; 616*cb7aa33aSEmmanuel Vadot vccq2-supply = <&vreg_s4a_1p8>; 617*cb7aa33aSEmmanuel Vadot vccq2-max-microamp = <800000>; 618*cb7aa33aSEmmanuel Vadot status = "okay"; 619*cb7aa33aSEmmanuel Vadot}; 620*cb7aa33aSEmmanuel Vadot 621*cb7aa33aSEmmanuel Vadot&ufs_mem_phy { 622*cb7aa33aSEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 623*cb7aa33aSEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 624*cb7aa33aSEmmanuel Vadot status = "okay"; 625*cb7aa33aSEmmanuel Vadot}; 626*cb7aa33aSEmmanuel Vadot 627*cb7aa33aSEmmanuel Vadot&venus { 628*cb7aa33aSEmmanuel Vadot firmware-name = "qcom/sm8250/xiaomi/elish/venus.mbn"; 629*cb7aa33aSEmmanuel Vadot status = "okay"; 630*cb7aa33aSEmmanuel Vadot}; 631