1*7d0873ebSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*7d0873ebSEmmanuel Vadot/* 3*7d0873ebSEmmanuel Vadot * Copyright (c) 2023, Linaro Limited 4*7d0873ebSEmmanuel Vadot */ 5*7d0873ebSEmmanuel Vadot 6*7d0873ebSEmmanuel Vadot/dts-v1/; 7*7d0873ebSEmmanuel Vadot 8*7d0873ebSEmmanuel Vadot#include <dt-bindings/firmware/qcom,scm.h> 9*7d0873ebSEmmanuel Vadot#include <dt-bindings/leds/common.h> 10*7d0873ebSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11*7d0873ebSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12*7d0873ebSEmmanuel Vadot#include <dt-bindings/sound/cs35l45.h> 13*7d0873ebSEmmanuel Vadot#include "sm8550.dtsi" 14*7d0873ebSEmmanuel Vadot#include "pm8010.dtsi" 15*7d0873ebSEmmanuel Vadot#include "pm8550.dtsi" 16*7d0873ebSEmmanuel Vadot#include "pm8550b.dtsi" 17*7d0873ebSEmmanuel Vadot#define PMK8550VE_SID 5 18*7d0873ebSEmmanuel Vadot#include "pm8550ve.dtsi" 19*7d0873ebSEmmanuel Vadot#include "pm8550vs.dtsi" 20*7d0873ebSEmmanuel Vadot#include "pmk8550.dtsi" 21*7d0873ebSEmmanuel Vadot/* TODO: Only one SID of PMR735D seems accessible? */ 22*7d0873ebSEmmanuel Vadot 23*7d0873ebSEmmanuel Vadot/delete-node/ &hwfence_shbuf; 24*7d0873ebSEmmanuel Vadot/delete-node/ &mpss_mem; 25*7d0873ebSEmmanuel Vadot/delete-node/ &rmtfs_mem; 26*7d0873ebSEmmanuel Vadot/ { 27*7d0873ebSEmmanuel Vadot model = "Sony Xperia 1 V"; 28*7d0873ebSEmmanuel Vadot compatible = "sony,pdx234", "qcom,sm8550"; 29*7d0873ebSEmmanuel Vadot chassis-type = "handset"; 30*7d0873ebSEmmanuel Vadot 31*7d0873ebSEmmanuel Vadot aliases { 32*7d0873ebSEmmanuel Vadot i2c0 = &i2c0; 33*7d0873ebSEmmanuel Vadot i2c4 = &i2c4; 34*7d0873ebSEmmanuel Vadot i2c10 = &i2c10; 35*7d0873ebSEmmanuel Vadot i2c11 = &i2c11; 36*7d0873ebSEmmanuel Vadot i2c16 = &i2c_hub_2; 37*7d0873ebSEmmanuel Vadot serial0 = &uart7; 38*7d0873ebSEmmanuel Vadot }; 39*7d0873ebSEmmanuel Vadot 40*7d0873ebSEmmanuel Vadot chosen { 41*7d0873ebSEmmanuel Vadot stdout-path = "serial0:115200n8"; 42*7d0873ebSEmmanuel Vadot }; 43*7d0873ebSEmmanuel Vadot 44*7d0873ebSEmmanuel Vadot gpio-keys { 45*7d0873ebSEmmanuel Vadot compatible = "gpio-keys"; 46*7d0873ebSEmmanuel Vadot label = "gpio-keys"; 47*7d0873ebSEmmanuel Vadot 48*7d0873ebSEmmanuel Vadot pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>; 49*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 50*7d0873ebSEmmanuel Vadot 51*7d0873ebSEmmanuel Vadot key-camera-focus { 52*7d0873ebSEmmanuel Vadot label = "Camera Focus"; 53*7d0873ebSEmmanuel Vadot linux,code = <KEY_CAMERA_FOCUS>; 54*7d0873ebSEmmanuel Vadot gpios = <&pm8550b_gpios 8 GPIO_ACTIVE_LOW>; 55*7d0873ebSEmmanuel Vadot debounce-interval = <15>; 56*7d0873ebSEmmanuel Vadot linux,can-disable; 57*7d0873ebSEmmanuel Vadot wakeup-source; 58*7d0873ebSEmmanuel Vadot }; 59*7d0873ebSEmmanuel Vadot 60*7d0873ebSEmmanuel Vadot key-camera-snapshot { 61*7d0873ebSEmmanuel Vadot label = "Camera Snapshot"; 62*7d0873ebSEmmanuel Vadot gpios = <&pm8550b_gpios 7 GPIO_ACTIVE_LOW>; 63*7d0873ebSEmmanuel Vadot linux,code = <KEY_CAMERA>; 64*7d0873ebSEmmanuel Vadot debounce-interval = <15>; 65*7d0873ebSEmmanuel Vadot linux,can-disable; 66*7d0873ebSEmmanuel Vadot wakeup-source; 67*7d0873ebSEmmanuel Vadot }; 68*7d0873ebSEmmanuel Vadot 69*7d0873ebSEmmanuel Vadot key-volume-down { 70*7d0873ebSEmmanuel Vadot label = "Volume Down"; 71*7d0873ebSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 72*7d0873ebSEmmanuel Vadot gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 73*7d0873ebSEmmanuel Vadot debounce-interval = <15>; 74*7d0873ebSEmmanuel Vadot linux,can-disable; 75*7d0873ebSEmmanuel Vadot wakeup-source; 76*7d0873ebSEmmanuel Vadot }; 77*7d0873ebSEmmanuel Vadot }; 78*7d0873ebSEmmanuel Vadot 79*7d0873ebSEmmanuel Vadot pmic-glink { 80*7d0873ebSEmmanuel Vadot compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; 81*7d0873ebSEmmanuel Vadot orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; 82*7d0873ebSEmmanuel Vadot #address-cells = <1>; 83*7d0873ebSEmmanuel Vadot #size-cells = <0>; 84*7d0873ebSEmmanuel Vadot 85*7d0873ebSEmmanuel Vadot connector@0 { 86*7d0873ebSEmmanuel Vadot compatible = "usb-c-connector"; 87*7d0873ebSEmmanuel Vadot reg = <0>; 88*7d0873ebSEmmanuel Vadot power-role = "dual"; 89*7d0873ebSEmmanuel Vadot data-role = "dual"; 90*7d0873ebSEmmanuel Vadot 91*7d0873ebSEmmanuel Vadot ports { 92*7d0873ebSEmmanuel Vadot #address-cells = <1>; 93*7d0873ebSEmmanuel Vadot #size-cells = <0>; 94*7d0873ebSEmmanuel Vadot 95*7d0873ebSEmmanuel Vadot port@0 { 96*7d0873ebSEmmanuel Vadot reg = <0>; 97*7d0873ebSEmmanuel Vadot 98*7d0873ebSEmmanuel Vadot pmic_glink_hs_in: endpoint { 99*7d0873ebSEmmanuel Vadot remote-endpoint = <&usb_1_dwc3_hs>; 100*7d0873ebSEmmanuel Vadot }; 101*7d0873ebSEmmanuel Vadot }; 102*7d0873ebSEmmanuel Vadot 103*7d0873ebSEmmanuel Vadot port@1 { 104*7d0873ebSEmmanuel Vadot reg = <1>; 105*7d0873ebSEmmanuel Vadot 106*7d0873ebSEmmanuel Vadot pmic_glink_ss_in: endpoint { 107*7d0873ebSEmmanuel Vadot remote-endpoint = <&usb_dp_qmpphy_out>; 108*7d0873ebSEmmanuel Vadot }; 109*7d0873ebSEmmanuel Vadot }; 110*7d0873ebSEmmanuel Vadot }; 111*7d0873ebSEmmanuel Vadot }; 112*7d0873ebSEmmanuel Vadot }; 113*7d0873ebSEmmanuel Vadot 114*7d0873ebSEmmanuel Vadot reserved-memory { 115*7d0873ebSEmmanuel Vadot mpss_mem: mpss-region@89800000 { 116*7d0873ebSEmmanuel Vadot reg = <0x0 0x89800000 0x0 0x10800000>; 117*7d0873ebSEmmanuel Vadot no-map; 118*7d0873ebSEmmanuel Vadot }; 119*7d0873ebSEmmanuel Vadot 120*7d0873ebSEmmanuel Vadot splash@b8000000 { 121*7d0873ebSEmmanuel Vadot reg = <0x0 0xb8000000 0x0 0x2b00000>; 122*7d0873ebSEmmanuel Vadot no-map; 123*7d0873ebSEmmanuel Vadot }; 124*7d0873ebSEmmanuel Vadot 125*7d0873ebSEmmanuel Vadot hwfence_shbuf: hwfence-shbuf-region@e6440000 { 126*7d0873ebSEmmanuel Vadot reg = <0x0 0xe6440000 0x0 0x2dd000>; 127*7d0873ebSEmmanuel Vadot no-map; 128*7d0873ebSEmmanuel Vadot }; 129*7d0873ebSEmmanuel Vadot 130*7d0873ebSEmmanuel Vadot rmtfs_mem: memory@f8b00000 { 131*7d0873ebSEmmanuel Vadot compatible = "qcom,rmtfs-mem"; 132*7d0873ebSEmmanuel Vadot reg = <0x0 0xf8b00000 0x0 0x280000>; 133*7d0873ebSEmmanuel Vadot no-map; 134*7d0873ebSEmmanuel Vadot 135*7d0873ebSEmmanuel Vadot qcom,client-id = <1>; 136*7d0873ebSEmmanuel Vadot qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; 137*7d0873ebSEmmanuel Vadot }; 138*7d0873ebSEmmanuel Vadot 139*7d0873ebSEmmanuel Vadot ramoops@ffd00000 { 140*7d0873ebSEmmanuel Vadot compatible = "ramoops"; 141*7d0873ebSEmmanuel Vadot reg = <0x0 0xffd00000 0x0 0xc0000>; 142*7d0873ebSEmmanuel Vadot console-size = <0x40000>; 143*7d0873ebSEmmanuel Vadot record-size = <0x1000>; 144*7d0873ebSEmmanuel Vadot pmsg-size = <0x40000>; 145*7d0873ebSEmmanuel Vadot ecc-size = <16>; 146*7d0873ebSEmmanuel Vadot }; 147*7d0873ebSEmmanuel Vadot 148*7d0873ebSEmmanuel Vadot rdtag-store-region@ffdc0000 { 149*7d0873ebSEmmanuel Vadot reg = <0x0 0xffdc0000 0x0 0x40000>; 150*7d0873ebSEmmanuel Vadot no-map; 151*7d0873ebSEmmanuel Vadot }; 152*7d0873ebSEmmanuel Vadot }; 153*7d0873ebSEmmanuel Vadot 154*7d0873ebSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 155*7d0873ebSEmmanuel Vadot compatible = "regulator-fixed"; 156*7d0873ebSEmmanuel Vadot regulator-name = "vph_pwr"; 157*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3700000>; 158*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3700000>; 159*7d0873ebSEmmanuel Vadot 160*7d0873ebSEmmanuel Vadot regulator-always-on; 161*7d0873ebSEmmanuel Vadot regulator-boot-on; 162*7d0873ebSEmmanuel Vadot }; 163*7d0873ebSEmmanuel Vadot}; 164*7d0873ebSEmmanuel Vadot 165*7d0873ebSEmmanuel Vadot&apps_rsc { 166*7d0873ebSEmmanuel Vadot regulators-0 { 167*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 168*7d0873ebSEmmanuel Vadot qcom,pmic-id = "b"; 169*7d0873ebSEmmanuel Vadot 170*7d0873ebSEmmanuel Vadot pm8550_bob1: bob1 { 171*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_bob1"; 172*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3416000>; 173*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3960000>; 174*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 175*7d0873ebSEmmanuel Vadot }; 176*7d0873ebSEmmanuel Vadot 177*7d0873ebSEmmanuel Vadot /* TODO: bob2 @ 2.704-3.008V doesn't fall into the vreg driver constraints */ 178*7d0873ebSEmmanuel Vadot 179*7d0873ebSEmmanuel Vadot pm8550_l1: ldo1 { 180*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l1"; 181*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 182*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 183*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 184*7d0873ebSEmmanuel Vadot }; 185*7d0873ebSEmmanuel Vadot 186*7d0873ebSEmmanuel Vadot pm8550_l2: ldo2 { 187*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l2"; 188*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3008000>; 189*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3008000>; 190*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 191*7d0873ebSEmmanuel Vadot }; 192*7d0873ebSEmmanuel Vadot 193*7d0873ebSEmmanuel Vadot /* L4 exists in cmd-db, but the board seems to crash on access */ 194*7d0873ebSEmmanuel Vadot 195*7d0873ebSEmmanuel Vadot pm8550_l5: ldo5 { 196*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l5"; 197*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3104000>; 198*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3104000>; 199*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 200*7d0873ebSEmmanuel Vadot }; 201*7d0873ebSEmmanuel Vadot 202*7d0873ebSEmmanuel Vadot pm8550_l6: ldo6 { 203*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l6"; 204*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 205*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3008000>; 206*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 207*7d0873ebSEmmanuel Vadot }; 208*7d0873ebSEmmanuel Vadot 209*7d0873ebSEmmanuel Vadot pm8550_l7: ldo7 { 210*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l7"; 211*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 212*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3008000>; 213*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 214*7d0873ebSEmmanuel Vadot }; 215*7d0873ebSEmmanuel Vadot 216*7d0873ebSEmmanuel Vadot pm8550_l8: ldo8 { 217*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l8"; 218*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 219*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3008000>; 220*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 221*7d0873ebSEmmanuel Vadot }; 222*7d0873ebSEmmanuel Vadot 223*7d0873ebSEmmanuel Vadot pm8550_l9: ldo9 { 224*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l9"; 225*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <2960000>; 226*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3008000>; 227*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228*7d0873ebSEmmanuel Vadot }; 229*7d0873ebSEmmanuel Vadot 230*7d0873ebSEmmanuel Vadot pm8550_l10: ldo10 { 231*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l10"; 232*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 233*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 234*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 235*7d0873ebSEmmanuel Vadot }; 236*7d0873ebSEmmanuel Vadot 237*7d0873ebSEmmanuel Vadot pm8550_l11: ldo11 { 238*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l11"; 239*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 240*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1504000>; 241*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 242*7d0873ebSEmmanuel Vadot }; 243*7d0873ebSEmmanuel Vadot 244*7d0873ebSEmmanuel Vadot pm8550_l12: ldo12 { 245*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l12"; 246*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 247*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 248*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 249*7d0873ebSEmmanuel Vadot }; 250*7d0873ebSEmmanuel Vadot 251*7d0873ebSEmmanuel Vadot pm8550_l13: ldo13 { 252*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l13"; 253*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3000000>; 254*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3000000>; 255*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 256*7d0873ebSEmmanuel Vadot }; 257*7d0873ebSEmmanuel Vadot 258*7d0873ebSEmmanuel Vadot pm8550_l14: ldo14 { 259*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l14"; 260*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <3304000>; 261*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3304000>; 262*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 263*7d0873ebSEmmanuel Vadot }; 264*7d0873ebSEmmanuel Vadot 265*7d0873ebSEmmanuel Vadot pm8550_l15: ldo15 { 266*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l15"; 267*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 268*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1800000>; 269*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 270*7d0873ebSEmmanuel Vadot }; 271*7d0873ebSEmmanuel Vadot 272*7d0873ebSEmmanuel Vadot pm8550_l16: ldo16 { 273*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l16"; 274*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <2800000>; 275*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <2800000>; 276*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277*7d0873ebSEmmanuel Vadot }; 278*7d0873ebSEmmanuel Vadot 279*7d0873ebSEmmanuel Vadot pm8550_l17: ldo17 { 280*7d0873ebSEmmanuel Vadot regulator-name = "pm8550_l17"; 281*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <2504000>; 282*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <2504000>; 283*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284*7d0873ebSEmmanuel Vadot }; 285*7d0873ebSEmmanuel Vadot }; 286*7d0873ebSEmmanuel Vadot 287*7d0873ebSEmmanuel Vadot regulators-1 { 288*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 289*7d0873ebSEmmanuel Vadot qcom,pmic-id = "c"; 290*7d0873ebSEmmanuel Vadot 291*7d0873ebSEmmanuel Vadot pm8550vs_0_l1: ldo1 { 292*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_0_l1"; 293*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 294*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 295*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 296*7d0873ebSEmmanuel Vadot }; 297*7d0873ebSEmmanuel Vadot 298*7d0873ebSEmmanuel Vadot pm8550vs_0_l3: ldo3 { 299*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_0_l3"; 300*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <880000>; 301*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <912000>; 302*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 303*7d0873ebSEmmanuel Vadot }; 304*7d0873ebSEmmanuel Vadot }; 305*7d0873ebSEmmanuel Vadot 306*7d0873ebSEmmanuel Vadot regulators-2 { 307*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 308*7d0873ebSEmmanuel Vadot qcom,pmic-id = "d"; 309*7d0873ebSEmmanuel Vadot 310*7d0873ebSEmmanuel Vadot pm8550vs_1_l1: ldo1 { 311*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_1_l1"; 312*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <880000>; 313*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <920000>; 314*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315*7d0873ebSEmmanuel Vadot }; 316*7d0873ebSEmmanuel Vadot 317*7d0873ebSEmmanuel Vadot /* L3 exists in cmd-db, but the board seems to crash on access */ 318*7d0873ebSEmmanuel Vadot }; 319*7d0873ebSEmmanuel Vadot 320*7d0873ebSEmmanuel Vadot regulators-3 { 321*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 322*7d0873ebSEmmanuel Vadot qcom,pmic-id = "e"; 323*7d0873ebSEmmanuel Vadot 324*7d0873ebSEmmanuel Vadot pm8550vs_2_s4: smps4 { 325*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_2_s4"; 326*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <904000>; 327*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <984000>; 328*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 329*7d0873ebSEmmanuel Vadot }; 330*7d0873ebSEmmanuel Vadot 331*7d0873ebSEmmanuel Vadot pm8550vs_2_s5: smps5 { 332*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_2_s5"; 333*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1010000>; 334*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1120000>; 335*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336*7d0873ebSEmmanuel Vadot }; 337*7d0873ebSEmmanuel Vadot 338*7d0873ebSEmmanuel Vadot pm8550vs_2_l1: ldo1 { 339*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_2_l1"; 340*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <880000>; 341*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <912000>; 342*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343*7d0873ebSEmmanuel Vadot }; 344*7d0873ebSEmmanuel Vadot 345*7d0873ebSEmmanuel Vadot pm8550vs_2_l2: ldo2 { 346*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_2_l2"; 347*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <880000>; 348*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <968000>; 349*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 350*7d0873ebSEmmanuel Vadot }; 351*7d0873ebSEmmanuel Vadot 352*7d0873ebSEmmanuel Vadot pm8550vs_2_l3: ldo3 { 353*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_2_l3"; 354*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 355*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 356*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 357*7d0873ebSEmmanuel Vadot }; 358*7d0873ebSEmmanuel Vadot }; 359*7d0873ebSEmmanuel Vadot 360*7d0873ebSEmmanuel Vadot regulators-4 { 361*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 362*7d0873ebSEmmanuel Vadot qcom,pmic-id = "f"; 363*7d0873ebSEmmanuel Vadot 364*7d0873ebSEmmanuel Vadot pm8550ve_s4: smps4 { 365*7d0873ebSEmmanuel Vadot regulator-name = "pm8550ve_s4"; 366*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 367*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <700000>; 368*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 369*7d0873ebSEmmanuel Vadot }; 370*7d0873ebSEmmanuel Vadot 371*7d0873ebSEmmanuel Vadot pm8550ve_l1: ldo1 { 372*7d0873ebSEmmanuel Vadot regulator-name = "pm8550ve_l1"; 373*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <912000>; 374*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <912000>; 375*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 376*7d0873ebSEmmanuel Vadot }; 377*7d0873ebSEmmanuel Vadot 378*7d0873ebSEmmanuel Vadot pm8550ve_l2: ldo2 { 379*7d0873ebSEmmanuel Vadot regulator-name = "pm8550ve_l2"; 380*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <880000>; 381*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <912000>; 382*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 383*7d0873ebSEmmanuel Vadot }; 384*7d0873ebSEmmanuel Vadot 385*7d0873ebSEmmanuel Vadot pm8550ve_l3: ldo3 { 386*7d0873ebSEmmanuel Vadot regulator-name = "pm8550ve_l3"; 387*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <912000>; 388*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <912000>; 389*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 390*7d0873ebSEmmanuel Vadot }; 391*7d0873ebSEmmanuel Vadot }; 392*7d0873ebSEmmanuel Vadot 393*7d0873ebSEmmanuel Vadot regulators-5 { 394*7d0873ebSEmmanuel Vadot compatible = "qcom,pm8550vs-rpmh-regulators"; 395*7d0873ebSEmmanuel Vadot qcom,pmic-id = "g"; 396*7d0873ebSEmmanuel Vadot 397*7d0873ebSEmmanuel Vadot pm8550vs_3_s1: smps1 { 398*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s1"; 399*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 400*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1300000>; 401*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 402*7d0873ebSEmmanuel Vadot }; 403*7d0873ebSEmmanuel Vadot 404*7d0873ebSEmmanuel Vadot pm8550vs_3_s2: smps2 { 405*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s2"; 406*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 407*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1036000>; 408*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 409*7d0873ebSEmmanuel Vadot }; 410*7d0873ebSEmmanuel Vadot 411*7d0873ebSEmmanuel Vadot pm8550vs_3_s3: smps3 { 412*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s3"; 413*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <300000>; 414*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1004000>; 415*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 416*7d0873ebSEmmanuel Vadot }; 417*7d0873ebSEmmanuel Vadot 418*7d0873ebSEmmanuel Vadot pm8550vs_3_s4: smps4 { 419*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s4"; 420*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 421*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1352000>; 422*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 423*7d0873ebSEmmanuel Vadot }; 424*7d0873ebSEmmanuel Vadot 425*7d0873ebSEmmanuel Vadot pm8550vs_3_s5: smps5 { 426*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s5"; 427*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 428*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1004000>; 429*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 430*7d0873ebSEmmanuel Vadot }; 431*7d0873ebSEmmanuel Vadot 432*7d0873ebSEmmanuel Vadot pm8550vs_3_s6: smps6 { 433*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_s6"; 434*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 435*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <2000000>; 436*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 437*7d0873ebSEmmanuel Vadot }; 438*7d0873ebSEmmanuel Vadot 439*7d0873ebSEmmanuel Vadot pm8550vs_3_l1: ldo1 { 440*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_l1"; 441*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1144000>; 442*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1256000>; 443*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 444*7d0873ebSEmmanuel Vadot }; 445*7d0873ebSEmmanuel Vadot 446*7d0873ebSEmmanuel Vadot pm8550vs_3_l2: ldo2 { 447*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_l2"; 448*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1104000>; 449*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 450*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 451*7d0873ebSEmmanuel Vadot }; 452*7d0873ebSEmmanuel Vadot 453*7d0873ebSEmmanuel Vadot pm8550vs_3_l3: ldo3 { 454*7d0873ebSEmmanuel Vadot regulator-name = "pm8550vs_3_l3"; 455*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 456*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 457*7d0873ebSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 458*7d0873ebSEmmanuel Vadot }; 459*7d0873ebSEmmanuel Vadot }; 460*7d0873ebSEmmanuel Vadot 461*7d0873ebSEmmanuel Vadot /* TODO: Unknown PMIC @ k, l, PM8010 @ m, n */ 462*7d0873ebSEmmanuel Vadot}; 463*7d0873ebSEmmanuel Vadot 464*7d0873ebSEmmanuel Vadot&gpi_dma1 { 465*7d0873ebSEmmanuel Vadot status = "okay"; 466*7d0873ebSEmmanuel Vadot}; 467*7d0873ebSEmmanuel Vadot 468*7d0873ebSEmmanuel Vadot&gpi_dma2 { 469*7d0873ebSEmmanuel Vadot status = "okay"; 470*7d0873ebSEmmanuel Vadot}; 471*7d0873ebSEmmanuel Vadot 472*7d0873ebSEmmanuel Vadot&i2c_hub_2 { 473*7d0873ebSEmmanuel Vadot clock-frequency = <400000>; 474*7d0873ebSEmmanuel Vadot status = "okay"; 475*7d0873ebSEmmanuel Vadot 476*7d0873ebSEmmanuel Vadot pmic@75 { 477*7d0873ebSEmmanuel Vadot compatible = "dlg,slg51000"; 478*7d0873ebSEmmanuel Vadot reg = <0x75>; 479*7d0873ebSEmmanuel Vadot dlg,cs-gpios = <&pm8550vs_g_gpios 4 GPIO_ACTIVE_HIGH>; 480*7d0873ebSEmmanuel Vadot 481*7d0873ebSEmmanuel Vadot pinctrl-0 = <&cam_pwr_a_cs>; 482*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 483*7d0873ebSEmmanuel Vadot 484*7d0873ebSEmmanuel Vadot regulators { 485*7d0873ebSEmmanuel Vadot slg51000_a_ldo1: ldo1 { 486*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo1"; 487*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <2400000>; 488*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 489*7d0873ebSEmmanuel Vadot }; 490*7d0873ebSEmmanuel Vadot 491*7d0873ebSEmmanuel Vadot slg51000_a_ldo2: ldo2 { 492*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo2"; 493*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <2400000>; 494*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 495*7d0873ebSEmmanuel Vadot }; 496*7d0873ebSEmmanuel Vadot 497*7d0873ebSEmmanuel Vadot slg51000_a_ldo3: ldo3 { 498*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo3"; 499*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 500*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3750000>; 501*7d0873ebSEmmanuel Vadot }; 502*7d0873ebSEmmanuel Vadot 503*7d0873ebSEmmanuel Vadot slg51000_a_ldo4: ldo4 { 504*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo4"; 505*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 506*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3750000>; 507*7d0873ebSEmmanuel Vadot }; 508*7d0873ebSEmmanuel Vadot 509*7d0873ebSEmmanuel Vadot slg51000_a_ldo5: ldo5 { 510*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo5"; 511*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 512*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 513*7d0873ebSEmmanuel Vadot }; 514*7d0873ebSEmmanuel Vadot 515*7d0873ebSEmmanuel Vadot slg51000_a_ldo6: ldo6 { 516*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo6"; 517*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <500000>; 518*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <1200000>; 519*7d0873ebSEmmanuel Vadot }; 520*7d0873ebSEmmanuel Vadot 521*7d0873ebSEmmanuel Vadot slg51000_a_ldo7: ldo7 { 522*7d0873ebSEmmanuel Vadot regulator-name = "slg51000_a_ldo7"; 523*7d0873ebSEmmanuel Vadot regulator-min-microvolt = <1200000>; 524*7d0873ebSEmmanuel Vadot regulator-max-microvolt = <3750000>; 525*7d0873ebSEmmanuel Vadot }; 526*7d0873ebSEmmanuel Vadot }; 527*7d0873ebSEmmanuel Vadot }; 528*7d0873ebSEmmanuel Vadot}; 529*7d0873ebSEmmanuel Vadot 530*7d0873ebSEmmanuel Vadot&i2c_master_hub_0 { 531*7d0873ebSEmmanuel Vadot status = "okay"; 532*7d0873ebSEmmanuel Vadot}; 533*7d0873ebSEmmanuel Vadot 534*7d0873ebSEmmanuel Vadot&i2c0 { 535*7d0873ebSEmmanuel Vadot clock-frequency = <1000000>; 536*7d0873ebSEmmanuel Vadot status = "okay"; 537*7d0873ebSEmmanuel Vadot 538*7d0873ebSEmmanuel Vadot /* NXP NFC @ 28 */ 539*7d0873ebSEmmanuel Vadot}; 540*7d0873ebSEmmanuel Vadot 541*7d0873ebSEmmanuel Vadot&i2c4 { 542*7d0873ebSEmmanuel Vadot clock-frequency = <400000>; 543*7d0873ebSEmmanuel Vadot status = "okay"; 544*7d0873ebSEmmanuel Vadot 545*7d0873ebSEmmanuel Vadot /* LX Semi SW82907 touchscreen @ 28 */ 546*7d0873ebSEmmanuel Vadot}; 547*7d0873ebSEmmanuel Vadot 548*7d0873ebSEmmanuel Vadot&i2c10 { 549*7d0873ebSEmmanuel Vadot clock-frequency = <1000000>; 550*7d0873ebSEmmanuel Vadot status = "okay"; 551*7d0873ebSEmmanuel Vadot 552*7d0873ebSEmmanuel Vadot /* Cirrus Logic CS40L25A boosted haptics driver @ 40 */ 553*7d0873ebSEmmanuel Vadot}; 554*7d0873ebSEmmanuel Vadot 555*7d0873ebSEmmanuel Vadot&i2c11 { 556*7d0873ebSEmmanuel Vadot clock-frequency = <1000000>; 557*7d0873ebSEmmanuel Vadot status = "okay"; 558*7d0873ebSEmmanuel Vadot 559*7d0873ebSEmmanuel Vadot cs35l41_l: speaker-amp@30 { 560*7d0873ebSEmmanuel Vadot compatible = "cirrus,cs35l45"; 561*7d0873ebSEmmanuel Vadot reg = <0x30>; 562*7d0873ebSEmmanuel Vadot interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; 563*7d0873ebSEmmanuel Vadot reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>; 564*7d0873ebSEmmanuel Vadot cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED | CS35L45_ASP_TX_HIZ_DISABLED)>; 565*7d0873ebSEmmanuel Vadot #sound-dai-cells = <1>; 566*7d0873ebSEmmanuel Vadot 567*7d0873ebSEmmanuel Vadot cirrus,gpio-ctrl2 { 568*7d0873ebSEmmanuel Vadot gpio-ctrl = <0x2>; 569*7d0873ebSEmmanuel Vadot }; 570*7d0873ebSEmmanuel Vadot }; 571*7d0873ebSEmmanuel Vadot 572*7d0873ebSEmmanuel Vadot cs35l41_r: speaker-amp@31 { 573*7d0873ebSEmmanuel Vadot compatible = "cirrus,cs35l45"; 574*7d0873ebSEmmanuel Vadot reg = <0x31>; 575*7d0873ebSEmmanuel Vadot interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; 576*7d0873ebSEmmanuel Vadot reset-gpios = <&tlmm 183 GPIO_ACTIVE_HIGH>; 577*7d0873ebSEmmanuel Vadot cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED | CS35L45_ASP_TX_HIZ_DISABLED)>; 578*7d0873ebSEmmanuel Vadot #sound-dai-cells = <1>; 579*7d0873ebSEmmanuel Vadot 580*7d0873ebSEmmanuel Vadot cirrus,gpio-ctrl2 { 581*7d0873ebSEmmanuel Vadot gpio-ctrl = <0x2>; 582*7d0873ebSEmmanuel Vadot }; 583*7d0873ebSEmmanuel Vadot }; 584*7d0873ebSEmmanuel Vadot}; 585*7d0873ebSEmmanuel Vadot 586*7d0873ebSEmmanuel Vadot&pcie0 { 587*7d0873ebSEmmanuel Vadot wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 588*7d0873ebSEmmanuel Vadot perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 589*7d0873ebSEmmanuel Vadot 590*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pcie0_default_state>; 591*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 592*7d0873ebSEmmanuel Vadot 593*7d0873ebSEmmanuel Vadot status = "okay"; 594*7d0873ebSEmmanuel Vadot}; 595*7d0873ebSEmmanuel Vadot 596*7d0873ebSEmmanuel Vadot&pcie0_phy { 597*7d0873ebSEmmanuel Vadot vdda-phy-supply = <&pm8550vs_2_l1>; 598*7d0873ebSEmmanuel Vadot vdda-pll-supply = <&pm8550vs_2_l3>; 599*7d0873ebSEmmanuel Vadot 600*7d0873ebSEmmanuel Vadot status = "okay"; 601*7d0873ebSEmmanuel Vadot}; 602*7d0873ebSEmmanuel Vadot 603*7d0873ebSEmmanuel Vadot&pm8550_flash { 604*7d0873ebSEmmanuel Vadot status = "okay"; 605*7d0873ebSEmmanuel Vadot 606*7d0873ebSEmmanuel Vadot led-0 { 607*7d0873ebSEmmanuel Vadot function = LED_FUNCTION_FLASH; 608*7d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 609*7d0873ebSEmmanuel Vadot led-sources = <1>, <4>; 610*7d0873ebSEmmanuel Vadot led-max-microamp = <500000>; 611*7d0873ebSEmmanuel Vadot flash-max-microamp = <1000000>; 612*7d0873ebSEmmanuel Vadot flash-max-timeout-us = <1280000>; 613*7d0873ebSEmmanuel Vadot function-enumerator = <0>; 614*7d0873ebSEmmanuel Vadot }; 615*7d0873ebSEmmanuel Vadot 616*7d0873ebSEmmanuel Vadot led-1 { 617*7d0873ebSEmmanuel Vadot function = LED_FUNCTION_FLASH; 618*7d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_YELLOW>; 619*7d0873ebSEmmanuel Vadot led-sources = <2>, <3>; 620*7d0873ebSEmmanuel Vadot led-max-microamp = <500000>; 621*7d0873ebSEmmanuel Vadot flash-max-microamp = <1000000>; 622*7d0873ebSEmmanuel Vadot flash-max-timeout-us = <1280000>; 623*7d0873ebSEmmanuel Vadot function-enumerator = <1>; 624*7d0873ebSEmmanuel Vadot }; 625*7d0873ebSEmmanuel Vadot}; 626*7d0873ebSEmmanuel Vadot 627*7d0873ebSEmmanuel Vadot&pm8550_gpios { 628*7d0873ebSEmmanuel Vadot vol_down_n: volume-down-n-state { 629*7d0873ebSEmmanuel Vadot pins = "gpio6"; 630*7d0873ebSEmmanuel Vadot function = "normal"; 631*7d0873ebSEmmanuel Vadot power-source = <1>; 632*7d0873ebSEmmanuel Vadot bias-pull-up; 633*7d0873ebSEmmanuel Vadot input-enable; 634*7d0873ebSEmmanuel Vadot }; 635*7d0873ebSEmmanuel Vadot 636*7d0873ebSEmmanuel Vadot sdc2_card_det_n: sd-card-det-n-state { 637*7d0873ebSEmmanuel Vadot pins = "gpio12"; 638*7d0873ebSEmmanuel Vadot function = "normal"; 639*7d0873ebSEmmanuel Vadot power-source = <1>; 640*7d0873ebSEmmanuel Vadot bias-pull-down; 641*7d0873ebSEmmanuel Vadot output-disable; 642*7d0873ebSEmmanuel Vadot input-enable; 643*7d0873ebSEmmanuel Vadot }; 644*7d0873ebSEmmanuel Vadot}; 645*7d0873ebSEmmanuel Vadot 646*7d0873ebSEmmanuel Vadot&pm8550b_gpios { 647*7d0873ebSEmmanuel Vadot snapshot_n: snapshot-n-state { 648*7d0873ebSEmmanuel Vadot pins = "gpio7"; 649*7d0873ebSEmmanuel Vadot function = "normal"; 650*7d0873ebSEmmanuel Vadot power-source = <1>; 651*7d0873ebSEmmanuel Vadot bias-pull-up; 652*7d0873ebSEmmanuel Vadot input-enable; 653*7d0873ebSEmmanuel Vadot }; 654*7d0873ebSEmmanuel Vadot 655*7d0873ebSEmmanuel Vadot focus_n: focus-n-state { 656*7d0873ebSEmmanuel Vadot pins = "gpio8"; 657*7d0873ebSEmmanuel Vadot function = "normal"; 658*7d0873ebSEmmanuel Vadot power-source = <1>; 659*7d0873ebSEmmanuel Vadot bias-pull-up; 660*7d0873ebSEmmanuel Vadot input-enable; 661*7d0873ebSEmmanuel Vadot }; 662*7d0873ebSEmmanuel Vadot}; 663*7d0873ebSEmmanuel Vadot 664*7d0873ebSEmmanuel Vadot&pm8550vs_g_gpios { 665*7d0873ebSEmmanuel Vadot cam_pwr_a_cs: cam-pwr-a-cs-state { 666*7d0873ebSEmmanuel Vadot pins = "gpio4"; 667*7d0873ebSEmmanuel Vadot function = "normal"; 668*7d0873ebSEmmanuel Vadot power-source = <0x01>; 669*7d0873ebSEmmanuel Vadot drive-push-pull; 670*7d0873ebSEmmanuel Vadot output-low; 671*7d0873ebSEmmanuel Vadot qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>; 672*7d0873ebSEmmanuel Vadot }; 673*7d0873ebSEmmanuel Vadot}; 674*7d0873ebSEmmanuel Vadot 675*7d0873ebSEmmanuel Vadot&pm8550b_eusb2_repeater { 676*7d0873ebSEmmanuel Vadot qcom,tune-usb2-disc-thres = /bits/ 8 <0x6>; 677*7d0873ebSEmmanuel Vadot qcom,tune-usb2-amplitude = /bits/ 8 <0xf>; 678*7d0873ebSEmmanuel Vadot qcom,tune-usb2-preem = /bits/ 8 <0x7>; 679*7d0873ebSEmmanuel Vadot vdd18-supply = <&pm8550_l15>; 680*7d0873ebSEmmanuel Vadot vdd3-supply = <&pm8550_l5>; 681*7d0873ebSEmmanuel Vadot}; 682*7d0873ebSEmmanuel Vadot 683*7d0873ebSEmmanuel Vadot&pon_pwrkey { 684*7d0873ebSEmmanuel Vadot status = "okay"; 685*7d0873ebSEmmanuel Vadot}; 686*7d0873ebSEmmanuel Vadot 687*7d0873ebSEmmanuel Vadot&pon_resin { 688*7d0873ebSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 689*7d0873ebSEmmanuel Vadot status = "okay"; 690*7d0873ebSEmmanuel Vadot}; 691*7d0873ebSEmmanuel Vadot 692*7d0873ebSEmmanuel Vadot&qupv3_id_0 { 693*7d0873ebSEmmanuel Vadot status = "okay"; 694*7d0873ebSEmmanuel Vadot}; 695*7d0873ebSEmmanuel Vadot 696*7d0873ebSEmmanuel Vadot&qupv3_id_1 { 697*7d0873ebSEmmanuel Vadot status = "okay"; 698*7d0873ebSEmmanuel Vadot}; 699*7d0873ebSEmmanuel Vadot 700*7d0873ebSEmmanuel Vadot&remoteproc_adsp { 701*7d0873ebSEmmanuel Vadot firmware-name = "qcom/sm8550/Sony/yodo/adsp.mbn", 702*7d0873ebSEmmanuel Vadot "qcom/sm8550/Sony/yodo/adsp_dtb.mbn"; 703*7d0873ebSEmmanuel Vadot status = "okay"; 704*7d0873ebSEmmanuel Vadot}; 705*7d0873ebSEmmanuel Vadot 706*7d0873ebSEmmanuel Vadot&remoteproc_cdsp { 707*7d0873ebSEmmanuel Vadot firmware-name = "qcom/sm8550/Sony/yodo/cdsp.mbn", 708*7d0873ebSEmmanuel Vadot "qcom/sm8550/Sony/yodo/cdsp_dtb.mbn"; 709*7d0873ebSEmmanuel Vadot status = "okay"; 710*7d0873ebSEmmanuel Vadot}; 711*7d0873ebSEmmanuel Vadot 712*7d0873ebSEmmanuel Vadot&sdhc_2 { 713*7d0873ebSEmmanuel Vadot cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>; 714*7d0873ebSEmmanuel Vadot pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; 715*7d0873ebSEmmanuel Vadot pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; 716*7d0873ebSEmmanuel Vadot pinctrl-names = "default", "sleep"; 717*7d0873ebSEmmanuel Vadot vmmc-supply = <&pm8550_l9>; 718*7d0873ebSEmmanuel Vadot vqmmc-supply = <&pm8550_l8>; 719*7d0873ebSEmmanuel Vadot no-sdio; 720*7d0873ebSEmmanuel Vadot no-mmc; 721*7d0873ebSEmmanuel Vadot status = "okay"; 722*7d0873ebSEmmanuel Vadot}; 723*7d0873ebSEmmanuel Vadot 724*7d0873ebSEmmanuel Vadot&sleep_clk { 725*7d0873ebSEmmanuel Vadot clock-frequency = <32000>; 726*7d0873ebSEmmanuel Vadot}; 727*7d0873ebSEmmanuel Vadot 728*7d0873ebSEmmanuel Vadot&tlmm { 729*7d0873ebSEmmanuel Vadot gpio-reserved-ranges = <32 8>; 730*7d0873ebSEmmanuel Vadot}; 731*7d0873ebSEmmanuel Vadot 732*7d0873ebSEmmanuel Vadot&uart7 { 733*7d0873ebSEmmanuel Vadot status = "okay"; 734*7d0873ebSEmmanuel Vadot}; 735*7d0873ebSEmmanuel Vadot 736*7d0873ebSEmmanuel Vadot&usb_1 { 737*7d0873ebSEmmanuel Vadot status = "okay"; 738*7d0873ebSEmmanuel Vadot}; 739*7d0873ebSEmmanuel Vadot 740*7d0873ebSEmmanuel Vadot&usb_1_dwc3_hs { 741*7d0873ebSEmmanuel Vadot remote-endpoint = <&pmic_glink_hs_in>; 742*7d0873ebSEmmanuel Vadot}; 743*7d0873ebSEmmanuel Vadot 744*7d0873ebSEmmanuel Vadot&usb_1_hsphy { 745*7d0873ebSEmmanuel Vadot vdd-supply = <&pm8550vs_2_l1>; 746*7d0873ebSEmmanuel Vadot vdda12-supply = <&pm8550vs_2_l3>; 747*7d0873ebSEmmanuel Vadot phys = <&pm8550b_eusb2_repeater>; 748*7d0873ebSEmmanuel Vadot 749*7d0873ebSEmmanuel Vadot status = "okay"; 750*7d0873ebSEmmanuel Vadot}; 751*7d0873ebSEmmanuel Vadot 752*7d0873ebSEmmanuel Vadot&usb_dp_qmpphy { 753*7d0873ebSEmmanuel Vadot vdda-phy-supply = <&pm8550vs_2_l3>; 754*7d0873ebSEmmanuel Vadot vdda-pll-supply = <&pm8550ve_l3>; 755*7d0873ebSEmmanuel Vadot 756*7d0873ebSEmmanuel Vadot status = "okay"; 757*7d0873ebSEmmanuel Vadot}; 758*7d0873ebSEmmanuel Vadot 759*7d0873ebSEmmanuel Vadot&usb_dp_qmpphy_out { 760*7d0873ebSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss_in>; 761*7d0873ebSEmmanuel Vadot}; 762*7d0873ebSEmmanuel Vadot 763*7d0873ebSEmmanuel Vadot&xo_board { 764*7d0873ebSEmmanuel Vadot clock-frequency = <76800000>; 765*7d0873ebSEmmanuel Vadot}; 766