1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*0e8011faSEmmanuel Vadot/* 3*0e8011faSEmmanuel Vadot * Copyright (c) 2024, Alexandru Marc Serdeliuc <serdeliuk@yahoo.com> 4*0e8011faSEmmanuel Vadot * Copyright (c) 2024, David Wronek <david@mainlining.org> 5*0e8011faSEmmanuel Vadot * Copyright (c) 2022, Linaro Limited 6*0e8011faSEmmanuel Vadot */ 7*0e8011faSEmmanuel Vadot 8*0e8011faSEmmanuel Vadot/dts-v1/; 9*0e8011faSEmmanuel Vadot 10*0e8011faSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11*0e8011faSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12*0e8011faSEmmanuel Vadot#include "sm8550.dtsi" 13*0e8011faSEmmanuel Vadot#include "pm8550.dtsi" 14*0e8011faSEmmanuel Vadot#include "pm8550vs.dtsi" 15*0e8011faSEmmanuel Vadot#include "pmk8550.dtsi" 16*0e8011faSEmmanuel Vadot 17*0e8011faSEmmanuel Vadot/delete-node/ &adspslpi_mem; 18*0e8011faSEmmanuel Vadot/delete-node/ &cdsp_mem; 19*0e8011faSEmmanuel Vadot/delete-node/ &mpss_dsm_mem; 20*0e8011faSEmmanuel Vadot/delete-node/ &mpss_mem; 21*0e8011faSEmmanuel Vadot/delete-node/ &rmtfs_mem; 22*0e8011faSEmmanuel Vadot 23*0e8011faSEmmanuel Vadot/ { 24*0e8011faSEmmanuel Vadot model = "Samsung Galaxy Z Fold5"; 25*0e8011faSEmmanuel Vadot compatible = "samsung,q5q", "qcom,sm8550"; 26*0e8011faSEmmanuel Vadot chassis-type = "handset"; 27*0e8011faSEmmanuel Vadot 28*0e8011faSEmmanuel Vadot aliases { 29*0e8011faSEmmanuel Vadot serial0 = &uart7; 30*0e8011faSEmmanuel Vadot }; 31*0e8011faSEmmanuel Vadot 32*0e8011faSEmmanuel Vadot chosen { 33*0e8011faSEmmanuel Vadot #address-cells = <2>; 34*0e8011faSEmmanuel Vadot #size-cells = <2>; 35*0e8011faSEmmanuel Vadot ranges; 36*0e8011faSEmmanuel Vadot 37*0e8011faSEmmanuel Vadot framebuffer: framebuffer@b8000000 { 38*0e8011faSEmmanuel Vadot compatible = "simple-framebuffer"; 39*0e8011faSEmmanuel Vadot reg = <0x0 0xb8000000 0x0 0x2b00000>; 40*0e8011faSEmmanuel Vadot width = <2176>; 41*0e8011faSEmmanuel Vadot height = <1812>; 42*0e8011faSEmmanuel Vadot stride = <(2176 * 4)>; 43*0e8011faSEmmanuel Vadot format = "a8r8g8b8"; 44*0e8011faSEmmanuel Vadot }; 45*0e8011faSEmmanuel Vadot }; 46*0e8011faSEmmanuel Vadot 47*0e8011faSEmmanuel Vadot gpio-keys { 48*0e8011faSEmmanuel Vadot compatible = "gpio-keys"; 49*0e8011faSEmmanuel Vadot pinctrl-0 = <&volume_up_n>; 50*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 51*0e8011faSEmmanuel Vadot 52*0e8011faSEmmanuel Vadot key-volume-up { 53*0e8011faSEmmanuel Vadot label = "Volume Up"; 54*0e8011faSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 55*0e8011faSEmmanuel Vadot gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 56*0e8011faSEmmanuel Vadot debounce-interval = <15>; 57*0e8011faSEmmanuel Vadot linux,can-disable; 58*0e8011faSEmmanuel Vadot wakeup-source; 59*0e8011faSEmmanuel Vadot }; 60*0e8011faSEmmanuel Vadot }; 61*0e8011faSEmmanuel Vadot 62*0e8011faSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 63*0e8011faSEmmanuel Vadot compatible = "regulator-fixed"; 64*0e8011faSEmmanuel Vadot regulator-name = "vph_pwr"; 65*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3700000>; 66*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3700000>; 67*0e8011faSEmmanuel Vadot regulator-always-on; 68*0e8011faSEmmanuel Vadot regulator-boot-on; 69*0e8011faSEmmanuel Vadot }; 70*0e8011faSEmmanuel Vadot 71*0e8011faSEmmanuel Vadot reserved-memory { 72*0e8011faSEmmanuel Vadot adspslpi_mem: adspslpi@9ea00000 { 73*0e8011faSEmmanuel Vadot reg = <0x0 0x9ea00000 0x0 0x59b4000>; 74*0e8011faSEmmanuel Vadot no-map; 75*0e8011faSEmmanuel Vadot }; 76*0e8011faSEmmanuel Vadot 77*0e8011faSEmmanuel Vadot cdsp_mem: cdsp-region@9c900000 { 78*0e8011faSEmmanuel Vadot reg = <0 0x9c900000 0 0x2000000>; 79*0e8011faSEmmanuel Vadot no-map; 80*0e8011faSEmmanuel Vadot }; 81*0e8011faSEmmanuel Vadot 82*0e8011faSEmmanuel Vadot mpss_dsm_mem: mpss-dsm@d4d00000 { 83*0e8011faSEmmanuel Vadot reg = <0x0 0xd4d00000 0x0 0x3300000>; 84*0e8011faSEmmanuel Vadot no-map; 85*0e8011faSEmmanuel Vadot }; 86*0e8011faSEmmanuel Vadot 87*0e8011faSEmmanuel Vadot mpss_mem: mpss@8b400000 { 88*0e8011faSEmmanuel Vadot reg = <0x0 0x8b400000 0x0 0xfc00000>; 89*0e8011faSEmmanuel Vadot no-map; 90*0e8011faSEmmanuel Vadot }; 91*0e8011faSEmmanuel Vadot 92*0e8011faSEmmanuel Vadot rmtfs_mem: rmtfs-region@d4a80000 { 93*0e8011faSEmmanuel Vadot reg = <0x0 0xd4a80000 0x0 0x280000>; 94*0e8011faSEmmanuel Vadot no-map; 95*0e8011faSEmmanuel Vadot }; 96*0e8011faSEmmanuel Vadot 97*0e8011faSEmmanuel Vadot /* 98*0e8011faSEmmanuel Vadot * The bootloader will only keep display hardware enabled 99*0e8011faSEmmanuel Vadot * if this memory region is named exactly 'splash_region' 100*0e8011faSEmmanuel Vadot */ 101*0e8011faSEmmanuel Vadot splash_region@b8000000 { 102*0e8011faSEmmanuel Vadot reg = <0x0 0xb8000000 0x0 0x2b00000>; 103*0e8011faSEmmanuel Vadot no-map; 104*0e8011faSEmmanuel Vadot }; 105*0e8011faSEmmanuel Vadot }; 106*0e8011faSEmmanuel Vadot}; 107*0e8011faSEmmanuel Vadot 108*0e8011faSEmmanuel Vadot&apps_rsc { 109*0e8011faSEmmanuel Vadot regulators-0 { 110*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 111*0e8011faSEmmanuel Vadot qcom,pmic-id = "b"; 112*0e8011faSEmmanuel Vadot 113*0e8011faSEmmanuel Vadot vreg_bob1: bob1 { 114*0e8011faSEmmanuel Vadot regulator-name = "vreg_bob1"; 115*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3296000>; 116*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3960000>; 117*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 118*0e8011faSEmmanuel Vadot }; 119*0e8011faSEmmanuel Vadot 120*0e8011faSEmmanuel Vadot vreg_bob2: bob2 { 121*0e8011faSEmmanuel Vadot regulator-name = "vreg_bob2"; 122*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2720000>; 123*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3960000>; 124*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 125*0e8011faSEmmanuel Vadot }; 126*0e8011faSEmmanuel Vadot 127*0e8011faSEmmanuel Vadot vreg_l1b_1p8: ldo1 { 128*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1b_1p8"; 129*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 130*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 131*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 132*0e8011faSEmmanuel Vadot }; 133*0e8011faSEmmanuel Vadot 134*0e8011faSEmmanuel Vadot vreg_l2b_3p0: ldo2 { 135*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2b_3p0"; 136*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3008000>; 137*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3008000>; 138*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 139*0e8011faSEmmanuel Vadot }; 140*0e8011faSEmmanuel Vadot 141*0e8011faSEmmanuel Vadot vreg_l5b_3p1: ldo5 { 142*0e8011faSEmmanuel Vadot regulator-name = "vreg_l5b_3p1"; 143*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3104000>; 144*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3104000>; 145*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 146*0e8011faSEmmanuel Vadot }; 147*0e8011faSEmmanuel Vadot 148*0e8011faSEmmanuel Vadot vreg_l6b_1p8: ldo6 { 149*0e8011faSEmmanuel Vadot regulator-name = "vreg_l6b_1p8"; 150*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 151*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3008000>; 152*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 153*0e8011faSEmmanuel Vadot }; 154*0e8011faSEmmanuel Vadot 155*0e8011faSEmmanuel Vadot vreg_l7b_1p8: ldo7 { 156*0e8011faSEmmanuel Vadot regulator-name = "vreg_l7b_1p8"; 157*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 158*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3008000>; 159*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 160*0e8011faSEmmanuel Vadot }; 161*0e8011faSEmmanuel Vadot 162*0e8011faSEmmanuel Vadot vreg_l8b_1p8: ldo8 { 163*0e8011faSEmmanuel Vadot regulator-name = "vreg_l8b_1p8"; 164*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 165*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3008000>; 166*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 167*0e8011faSEmmanuel Vadot }; 168*0e8011faSEmmanuel Vadot 169*0e8011faSEmmanuel Vadot vreg_l9b_2p9: ldo9 { 170*0e8011faSEmmanuel Vadot regulator-name = "vreg_l9b_2p9"; 171*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2960000>; 172*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3008000>; 173*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 174*0e8011faSEmmanuel Vadot }; 175*0e8011faSEmmanuel Vadot 176*0e8011faSEmmanuel Vadot vreg_l11b_1p2: ldo11 { 177*0e8011faSEmmanuel Vadot regulator-name = "vreg_l11b_1p2"; 178*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 179*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1504000>; 180*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 181*0e8011faSEmmanuel Vadot }; 182*0e8011faSEmmanuel Vadot 183*0e8011faSEmmanuel Vadot vreg_l12b_1p8: ldo12 { 184*0e8011faSEmmanuel Vadot regulator-name = "vreg_l12b_1p8"; 185*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 186*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 187*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 188*0e8011faSEmmanuel Vadot }; 189*0e8011faSEmmanuel Vadot 190*0e8011faSEmmanuel Vadot vreg_l13b_3p0: ldo13 { 191*0e8011faSEmmanuel Vadot regulator-name = "vreg_l13b_3p0"; 192*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3000000>; 193*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3000000>; 194*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 195*0e8011faSEmmanuel Vadot }; 196*0e8011faSEmmanuel Vadot 197*0e8011faSEmmanuel Vadot vreg_l14b_3p2: ldo14 { 198*0e8011faSEmmanuel Vadot regulator-name = "vreg_l14b_3p2"; 199*0e8011faSEmmanuel Vadot regulator-min-microvolt = <3200000>; 200*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3200000>; 201*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 202*0e8011faSEmmanuel Vadot }; 203*0e8011faSEmmanuel Vadot 204*0e8011faSEmmanuel Vadot vreg_l15b_1p8: ldo15 { 205*0e8011faSEmmanuel Vadot regulator-name = "vreg_l15b_1p8"; 206*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 207*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 208*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 209*0e8011faSEmmanuel Vadot regulator-allow-set-load; 210*0e8011faSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 211*0e8011faSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 212*0e8011faSEmmanuel Vadot regulator-always-on; 213*0e8011faSEmmanuel Vadot }; 214*0e8011faSEmmanuel Vadot 215*0e8011faSEmmanuel Vadot vreg_l16b_2p8: ldo16 { 216*0e8011faSEmmanuel Vadot regulator-name = "vreg_l16b_2p8"; 217*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 218*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2800000>; 219*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 220*0e8011faSEmmanuel Vadot }; 221*0e8011faSEmmanuel Vadot 222*0e8011faSEmmanuel Vadot vreg_l17b_2p5: ldo17 { 223*0e8011faSEmmanuel Vadot regulator-name = "vreg_l17b_2p5"; 224*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2504000>; 225*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2504000>; 226*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 227*0e8011faSEmmanuel Vadot }; 228*0e8011faSEmmanuel Vadot }; 229*0e8011faSEmmanuel Vadot 230*0e8011faSEmmanuel Vadot regulators-1 { 231*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 232*0e8011faSEmmanuel Vadot qcom,pmic-id = "c"; 233*0e8011faSEmmanuel Vadot 234*0e8011faSEmmanuel Vadot vreg_l3c_0p91: ldo3 { 235*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3c_0p9"; 236*0e8011faSEmmanuel Vadot regulator-min-microvolt = <880000>; 237*0e8011faSEmmanuel Vadot regulator-max-microvolt = <912000>; 238*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 239*0e8011faSEmmanuel Vadot }; 240*0e8011faSEmmanuel Vadot }; 241*0e8011faSEmmanuel Vadot 242*0e8011faSEmmanuel Vadot regulators-2 { 243*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 244*0e8011faSEmmanuel Vadot qcom,pmic-id = "d"; 245*0e8011faSEmmanuel Vadot 246*0e8011faSEmmanuel Vadot vreg_l1d_0p88: ldo1 { 247*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1d_0p88"; 248*0e8011faSEmmanuel Vadot regulator-min-microvolt = <880000>; 249*0e8011faSEmmanuel Vadot regulator-max-microvolt = <920000>; 250*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 251*0e8011faSEmmanuel Vadot }; 252*0e8011faSEmmanuel Vadot }; 253*0e8011faSEmmanuel Vadot 254*0e8011faSEmmanuel Vadot regulators-3 { 255*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 256*0e8011faSEmmanuel Vadot qcom,pmic-id = "e"; 257*0e8011faSEmmanuel Vadot 258*0e8011faSEmmanuel Vadot vreg_s4e_0p9: smps4 { 259*0e8011faSEmmanuel Vadot regulator-name = "vreg_s4e_0p9"; 260*0e8011faSEmmanuel Vadot regulator-min-microvolt = <904000>; 261*0e8011faSEmmanuel Vadot regulator-max-microvolt = <984000>; 262*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 263*0e8011faSEmmanuel Vadot }; 264*0e8011faSEmmanuel Vadot 265*0e8011faSEmmanuel Vadot vreg_s5e_1p1: smps5 { 266*0e8011faSEmmanuel Vadot regulator-name = "vreg_s5e_1p1"; 267*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1080000>; 268*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1120000>; 269*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 270*0e8011faSEmmanuel Vadot }; 271*0e8011faSEmmanuel Vadot 272*0e8011faSEmmanuel Vadot vreg_l1e_0p88: ldo1 { 273*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1e_0p88"; 274*0e8011faSEmmanuel Vadot regulator-min-microvolt = <880000>; 275*0e8011faSEmmanuel Vadot regulator-max-microvolt = <880000>; 276*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277*0e8011faSEmmanuel Vadot }; 278*0e8011faSEmmanuel Vadot 279*0e8011faSEmmanuel Vadot vreg_l2e_0p9: ldo2 { 280*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2e_0p9"; 281*0e8011faSEmmanuel Vadot regulator-min-microvolt = <904000>; 282*0e8011faSEmmanuel Vadot regulator-max-microvolt = <970000>; 283*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284*0e8011faSEmmanuel Vadot }; 285*0e8011faSEmmanuel Vadot 286*0e8011faSEmmanuel Vadot vreg_l3e_1p2: ldo3 { 287*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3e_1p2"; 288*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 289*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 290*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291*0e8011faSEmmanuel Vadot }; 292*0e8011faSEmmanuel Vadot }; 293*0e8011faSEmmanuel Vadot 294*0e8011faSEmmanuel Vadot regulators-4 { 295*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 296*0e8011faSEmmanuel Vadot qcom,pmic-id = "f"; 297*0e8011faSEmmanuel Vadot 298*0e8011faSEmmanuel Vadot vreg_s4f_0p5: smps4 { 299*0e8011faSEmmanuel Vadot regulator-name = "vreg_s4f_0p5"; 300*0e8011faSEmmanuel Vadot regulator-min-microvolt = <500000>; 301*0e8011faSEmmanuel Vadot regulator-max-microvolt = <700000>; 302*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 303*0e8011faSEmmanuel Vadot }; 304*0e8011faSEmmanuel Vadot 305*0e8011faSEmmanuel Vadot vreg_l1f_0p9: ldo1 { 306*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1f_0p9"; 307*0e8011faSEmmanuel Vadot regulator-min-microvolt = <912000>; 308*0e8011faSEmmanuel Vadot regulator-max-microvolt = <912000>; 309*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 310*0e8011faSEmmanuel Vadot }; 311*0e8011faSEmmanuel Vadot 312*0e8011faSEmmanuel Vadot vreg_l2f_0p88: ldo2 { 313*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2f_0p88"; 314*0e8011faSEmmanuel Vadot regulator-min-microvolt = <880000>; 315*0e8011faSEmmanuel Vadot regulator-max-microvolt = <912000>; 316*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 317*0e8011faSEmmanuel Vadot }; 318*0e8011faSEmmanuel Vadot 319*0e8011faSEmmanuel Vadot vreg_l3f_0p91: ldo3 { 320*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3f_0p91"; 321*0e8011faSEmmanuel Vadot regulator-min-microvolt = <880000>; 322*0e8011faSEmmanuel Vadot regulator-max-microvolt = <912000>; 323*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 324*0e8011faSEmmanuel Vadot }; 325*0e8011faSEmmanuel Vadot }; 326*0e8011faSEmmanuel Vadot 327*0e8011faSEmmanuel Vadot regulators-5 { 328*0e8011faSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 329*0e8011faSEmmanuel Vadot qcom,pmic-id = "g"; 330*0e8011faSEmmanuel Vadot 331*0e8011faSEmmanuel Vadot vreg_s1g_1p2: smps1 { 332*0e8011faSEmmanuel Vadot regulator-name = "vreg_s1g_1p2"; 333*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 334*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1300000>; 335*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336*0e8011faSEmmanuel Vadot }; 337*0e8011faSEmmanuel Vadot 338*0e8011faSEmmanuel Vadot vreg_s2g_0p8: smps2 { 339*0e8011faSEmmanuel Vadot regulator-name = "vreg_s2g_0p8"; 340*0e8011faSEmmanuel Vadot regulator-min-microvolt = <800000>; 341*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1000000>; 342*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343*0e8011faSEmmanuel Vadot }; 344*0e8011faSEmmanuel Vadot 345*0e8011faSEmmanuel Vadot vreg_s3g_0p7: smps3 { 346*0e8011faSEmmanuel Vadot regulator-name = "vreg_s3g_0p7"; 347*0e8011faSEmmanuel Vadot regulator-min-microvolt = <300000>; 348*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1004000>; 349*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 350*0e8011faSEmmanuel Vadot }; 351*0e8011faSEmmanuel Vadot 352*0e8011faSEmmanuel Vadot vreg_s4g_1p3: smps4 { 353*0e8011faSEmmanuel Vadot regulator-name = "vreg_s4g_1p3"; 354*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 355*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1352000>; 356*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 357*0e8011faSEmmanuel Vadot }; 358*0e8011faSEmmanuel Vadot 359*0e8011faSEmmanuel Vadot vreg_s5g_0p8: smps5 { 360*0e8011faSEmmanuel Vadot regulator-name = "vreg_s5g_0p8"; 361*0e8011faSEmmanuel Vadot regulator-min-microvolt = <500000>; 362*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1004000>; 363*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 364*0e8011faSEmmanuel Vadot }; 365*0e8011faSEmmanuel Vadot 366*0e8011faSEmmanuel Vadot vreg_s6g_1p8: smps6 { 367*0e8011faSEmmanuel Vadot regulator-name = "vreg_s6g_1p8"; 368*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 369*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2000000>; 370*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 371*0e8011faSEmmanuel Vadot }; 372*0e8011faSEmmanuel Vadot 373*0e8011faSEmmanuel Vadot vreg_l1g_1p2: ldo1 { 374*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1g_1p2"; 375*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 376*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 377*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 378*0e8011faSEmmanuel Vadot }; 379*0e8011faSEmmanuel Vadot 380*0e8011faSEmmanuel Vadot vreg_l2g_1p2: ldo2 { 381*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2g_1p2"; 382*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 383*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 384*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 385*0e8011faSEmmanuel Vadot }; 386*0e8011faSEmmanuel Vadot 387*0e8011faSEmmanuel Vadot vreg_l3g_1p2: ldo3 { 388*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3g_1p2"; 389*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1200000>; 390*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 391*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 392*0e8011faSEmmanuel Vadot }; 393*0e8011faSEmmanuel Vadot }; 394*0e8011faSEmmanuel Vadot 395*0e8011faSEmmanuel Vadot regulators-6 { 396*0e8011faSEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 397*0e8011faSEmmanuel Vadot qcom,pmic-id = "m"; 398*0e8011faSEmmanuel Vadot 399*0e8011faSEmmanuel Vadot vreg_l1m_1p056: ldo1 { 400*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1m_1p056"; 401*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1056000>; 402*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1056000>; 403*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 404*0e8011faSEmmanuel Vadot }; 405*0e8011faSEmmanuel Vadot 406*0e8011faSEmmanuel Vadot vreg_l2m_1p056: ldo2 { 407*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2m_1p056"; 408*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1056000>; 409*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1056000>; 410*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 411*0e8011faSEmmanuel Vadot }; 412*0e8011faSEmmanuel Vadot 413*0e8011faSEmmanuel Vadot vreg_l3m_2p8: ldo3 { 414*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3m_2p8"; 415*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 416*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2800000>; 417*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 418*0e8011faSEmmanuel Vadot }; 419*0e8011faSEmmanuel Vadot 420*0e8011faSEmmanuel Vadot vreg_l4m_2p8: ldo4 { 421*0e8011faSEmmanuel Vadot regulator-name = "vreg_l4m_2p8"; 422*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 423*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2800000>; 424*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 425*0e8011faSEmmanuel Vadot }; 426*0e8011faSEmmanuel Vadot 427*0e8011faSEmmanuel Vadot vreg_l5m_1p8: ldo5 { 428*0e8011faSEmmanuel Vadot regulator-name = "vreg_l5m_1p8"; 429*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 430*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 431*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 432*0e8011faSEmmanuel Vadot }; 433*0e8011faSEmmanuel Vadot 434*0e8011faSEmmanuel Vadot vreg_l6m_1p8: ldo6 { 435*0e8011faSEmmanuel Vadot regulator-name = "vreg_l6m_1p8"; 436*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 437*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 438*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 439*0e8011faSEmmanuel Vadot }; 440*0e8011faSEmmanuel Vadot 441*0e8011faSEmmanuel Vadot vreg_l7m_2p9: ldo7 { 442*0e8011faSEmmanuel Vadot regulator-name = "vreg_l7m_2p9"; 443*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 444*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2904000>; 445*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 446*0e8011faSEmmanuel Vadot }; 447*0e8011faSEmmanuel Vadot }; 448*0e8011faSEmmanuel Vadot 449*0e8011faSEmmanuel Vadot regulators-7 { 450*0e8011faSEmmanuel Vadot compatible = "qcom,pm8010-rpmh-regulators"; 451*0e8011faSEmmanuel Vadot qcom,pmic-id = "n"; 452*0e8011faSEmmanuel Vadot 453*0e8011faSEmmanuel Vadot vreg_l1n_1p1: ldo1 { 454*0e8011faSEmmanuel Vadot regulator-name = "vreg_l1n_1p1"; 455*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1104000>; 456*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 457*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458*0e8011faSEmmanuel Vadot }; 459*0e8011faSEmmanuel Vadot 460*0e8011faSEmmanuel Vadot vreg_l2n_1p1: ldo2 { 461*0e8011faSEmmanuel Vadot regulator-name = "vreg_l2n_1p1"; 462*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1104000>; 463*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1200000>; 464*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 465*0e8011faSEmmanuel Vadot }; 466*0e8011faSEmmanuel Vadot 467*0e8011faSEmmanuel Vadot vreg_l3n_2p8: ldo3 { 468*0e8011faSEmmanuel Vadot regulator-name = "vreg_l3n_2p8"; 469*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 470*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3000000>; 471*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 472*0e8011faSEmmanuel Vadot }; 473*0e8011faSEmmanuel Vadot 474*0e8011faSEmmanuel Vadot vreg_l4n_2p8: ldo4 { 475*0e8011faSEmmanuel Vadot regulator-name = "vreg_l4n_2p8"; 476*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 477*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3300000>; 478*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 479*0e8011faSEmmanuel Vadot }; 480*0e8011faSEmmanuel Vadot 481*0e8011faSEmmanuel Vadot vreg_l5n_1p8: ldo5 { 482*0e8011faSEmmanuel Vadot regulator-name = "vreg_l5n_1p8"; 483*0e8011faSEmmanuel Vadot regulator-min-microvolt = <1800000>; 484*0e8011faSEmmanuel Vadot regulator-max-microvolt = <1800000>; 485*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 486*0e8011faSEmmanuel Vadot }; 487*0e8011faSEmmanuel Vadot 488*0e8011faSEmmanuel Vadot vreg_l6n_3p3: ldo6 { 489*0e8011faSEmmanuel Vadot regulator-name = "vreg_l6n_3p3"; 490*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 491*0e8011faSEmmanuel Vadot regulator-max-microvolt = <3304000>; 492*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 493*0e8011faSEmmanuel Vadot }; 494*0e8011faSEmmanuel Vadot 495*0e8011faSEmmanuel Vadot vreg_l7n_2p96: ldo7 { 496*0e8011faSEmmanuel Vadot regulator-name = "vreg_l7n_2p96"; 497*0e8011faSEmmanuel Vadot regulator-min-microvolt = <2800000>; 498*0e8011faSEmmanuel Vadot regulator-max-microvolt = <2960000>; 499*0e8011faSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 500*0e8011faSEmmanuel Vadot }; 501*0e8011faSEmmanuel Vadot }; 502*0e8011faSEmmanuel Vadot}; 503*0e8011faSEmmanuel Vadot 504*0e8011faSEmmanuel Vadot&dispcc { 505*0e8011faSEmmanuel Vadot status = "disabled"; 506*0e8011faSEmmanuel Vadot}; 507*0e8011faSEmmanuel Vadot 508*0e8011faSEmmanuel Vadot&i2c_master_hub_0 { 509*0e8011faSEmmanuel Vadot status = "okay"; 510*0e8011faSEmmanuel Vadot}; 511*0e8011faSEmmanuel Vadot 512*0e8011faSEmmanuel Vadot&pcie0 { 513*0e8011faSEmmanuel Vadot wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 514*0e8011faSEmmanuel Vadot perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 515*0e8011faSEmmanuel Vadot pinctrl-0 = <&pcie0_default_state>; 516*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 517*0e8011faSEmmanuel Vadot status = "okay"; 518*0e8011faSEmmanuel Vadot}; 519*0e8011faSEmmanuel Vadot 520*0e8011faSEmmanuel Vadot&pcie0_phy { 521*0e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l1e_0p88>; 522*0e8011faSEmmanuel Vadot vdda-pll-supply = <&vreg_l3e_1p2>; 523*0e8011faSEmmanuel Vadot status = "okay"; 524*0e8011faSEmmanuel Vadot}; 525*0e8011faSEmmanuel Vadot 526*0e8011faSEmmanuel Vadot&pm8550_gpios { 527*0e8011faSEmmanuel Vadot volume_up_n: volume-up-n-state { 528*0e8011faSEmmanuel Vadot pins = "gpio6"; 529*0e8011faSEmmanuel Vadot function = "normal"; 530*0e8011faSEmmanuel Vadot power-source = <1>; 531*0e8011faSEmmanuel Vadot bias-pull-up; 532*0e8011faSEmmanuel Vadot input-enable; 533*0e8011faSEmmanuel Vadot }; 534*0e8011faSEmmanuel Vadot}; 535*0e8011faSEmmanuel Vadot 536*0e8011faSEmmanuel Vadot&pon_pwrkey { 537*0e8011faSEmmanuel Vadot status = "okay"; 538*0e8011faSEmmanuel Vadot}; 539*0e8011faSEmmanuel Vadot 540*0e8011faSEmmanuel Vadot&pon_resin { 541*0e8011faSEmmanuel Vadot status = "okay"; 542*0e8011faSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 543*0e8011faSEmmanuel Vadot}; 544*0e8011faSEmmanuel Vadot 545*0e8011faSEmmanuel Vadot&qupv3_id_0 { 546*0e8011faSEmmanuel Vadot status = "okay"; 547*0e8011faSEmmanuel Vadot}; 548*0e8011faSEmmanuel Vadot 549*0e8011faSEmmanuel Vadot&remoteproc_adsp { 550*0e8011faSEmmanuel Vadot firmware-name = "qcom/sm8550/adsp.mdt", 551*0e8011faSEmmanuel Vadot "qcom/sm8550/adsp_dtb.mdt"; 552*0e8011faSEmmanuel Vadot status = "okay"; 553*0e8011faSEmmanuel Vadot}; 554*0e8011faSEmmanuel Vadot 555*0e8011faSEmmanuel Vadot&remoteproc_cdsp { 556*0e8011faSEmmanuel Vadot firmware-name = "qcom/sm8550/cdsp.mdt", 557*0e8011faSEmmanuel Vadot "qcom/sm8550/cdsp_dtb.mdt"; 558*0e8011faSEmmanuel Vadot status = "okay"; 559*0e8011faSEmmanuel Vadot}; 560*0e8011faSEmmanuel Vadot 561*0e8011faSEmmanuel Vadot&remoteproc_mpss { 562*0e8011faSEmmanuel Vadot firmware-name = "qcom/sm8550/modem.mdt", 563*0e8011faSEmmanuel Vadot "qcom/sm8550/modem_dtb.mdt"; 564*0e8011faSEmmanuel Vadot status = "okay"; 565*0e8011faSEmmanuel Vadot}; 566*0e8011faSEmmanuel Vadot 567*0e8011faSEmmanuel Vadot&sleep_clk { 568*0e8011faSEmmanuel Vadot clock-frequency = <32000>; 569*0e8011faSEmmanuel Vadot}; 570*0e8011faSEmmanuel Vadot 571*0e8011faSEmmanuel Vadot&tlmm { 572*0e8011faSEmmanuel Vadot gpio-reserved-ranges = <36 4>, <50 2>; 573*0e8011faSEmmanuel Vadot}; 574*0e8011faSEmmanuel Vadot 575*0e8011faSEmmanuel Vadot&ufs_mem_hc { 576*0e8011faSEmmanuel Vadot reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 577*0e8011faSEmmanuel Vadot vcc-supply = <&vreg_l17b_2p5>; 578*0e8011faSEmmanuel Vadot vcc-max-microamp = <1300000>; 579*0e8011faSEmmanuel Vadot vccq-supply = <&vreg_l1g_1p2>; 580*0e8011faSEmmanuel Vadot vccq-max-microamp = <1200000>; 581*0e8011faSEmmanuel Vadot vdd-hba-supply = <&vreg_l3g_1p2>; 582*0e8011faSEmmanuel Vadot status = "okay"; 583*0e8011faSEmmanuel Vadot}; 584*0e8011faSEmmanuel Vadot 585*0e8011faSEmmanuel Vadot&ufs_mem_phy { 586*0e8011faSEmmanuel Vadot vdda-phy-supply = <&vreg_l1d_0p88>; 587*0e8011faSEmmanuel Vadot vdda-pll-supply = <&vreg_l3e_1p2>; 588*0e8011faSEmmanuel Vadot status = "okay"; 589*0e8011faSEmmanuel Vadot}; 590*0e8011faSEmmanuel Vadot 591*0e8011faSEmmanuel Vadot&xo_board { 592*0e8011faSEmmanuel Vadot clock-frequency = <76800000>; 593*0e8011faSEmmanuel Vadot}; 594