1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*b2d2a78aSEmmanuel Vadot/* 3*b2d2a78aSEmmanuel Vadot * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. 4*b2d2a78aSEmmanuel Vadot */ 5*b2d2a78aSEmmanuel Vadot 6*b2d2a78aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 7*b2d2a78aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 8*b2d2a78aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9*b2d2a78aSEmmanuel Vadot 10*b2d2a78aSEmmanuel Vadot#include "x1e80100.dtsi" 11*b2d2a78aSEmmanuel Vadot#include "x1e80100-pmics.dtsi" 12*b2d2a78aSEmmanuel Vadot 13*b2d2a78aSEmmanuel Vadot/ { 14*b2d2a78aSEmmanuel Vadot aliases { 15*b2d2a78aSEmmanuel Vadot serial0 = &uart2; 16*b2d2a78aSEmmanuel Vadot i2c0 = &i2c0; 17*b2d2a78aSEmmanuel Vadot i2c3 = &i2c3; 18*b2d2a78aSEmmanuel Vadot i2c4 = &i2c4; 19*b2d2a78aSEmmanuel Vadot i2c5 = &i2c5; 20*b2d2a78aSEmmanuel Vadot i2c7 = &i2c7; 21*b2d2a78aSEmmanuel Vadot }; 22*b2d2a78aSEmmanuel Vadot 23*b2d2a78aSEmmanuel Vadot backlight: backlight { 24*b2d2a78aSEmmanuel Vadot compatible = "pwm-backlight"; 25*b2d2a78aSEmmanuel Vadot pwms = <&pmk8550_pwm 0 5000000>; 26*b2d2a78aSEmmanuel Vadot enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; 27*b2d2a78aSEmmanuel Vadot /* TODO: power-supply? */ 28*b2d2a78aSEmmanuel Vadot 29*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>; 30*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 31*b2d2a78aSEmmanuel Vadot }; 32*b2d2a78aSEmmanuel Vadot 33*b2d2a78aSEmmanuel Vadot leds { 34*b2d2a78aSEmmanuel Vadot compatible = "gpio-leds"; 35*b2d2a78aSEmmanuel Vadot 36*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 37*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&cam_indicator_en>; 38*b2d2a78aSEmmanuel Vadot 39*b2d2a78aSEmmanuel Vadot led-camera-indicator { 40*b2d2a78aSEmmanuel Vadot label = "white:camera-indicator"; 41*b2d2a78aSEmmanuel Vadot function = LED_FUNCTION_INDICATOR; 42*b2d2a78aSEmmanuel Vadot color = <LED_COLOR_ID_WHITE>; 43*b2d2a78aSEmmanuel Vadot gpios = <&tlmm 225 GPIO_ACTIVE_HIGH>; 44*b2d2a78aSEmmanuel Vadot linux,default-trigger = "none"; 45*b2d2a78aSEmmanuel Vadot default-state = "off"; 46*b2d2a78aSEmmanuel Vadot /* Reuse as a panic indicator until we get a "camera on" trigger */ 47*b2d2a78aSEmmanuel Vadot panic-indicator; 48*b2d2a78aSEmmanuel Vadot }; 49*b2d2a78aSEmmanuel Vadot }; 50*b2d2a78aSEmmanuel Vadot 51*b2d2a78aSEmmanuel Vadot pmic-glink { 52*b2d2a78aSEmmanuel Vadot compatible = "qcom,x1e80100-pmic-glink", 53*b2d2a78aSEmmanuel Vadot "qcom,sm8550-pmic-glink", 54*b2d2a78aSEmmanuel Vadot "qcom,pmic-glink"; 55*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 56*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 57*b2d2a78aSEmmanuel Vadot orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 58*b2d2a78aSEmmanuel Vadot <&tlmm 123 GPIO_ACTIVE_HIGH>; 59*b2d2a78aSEmmanuel Vadot 60*b2d2a78aSEmmanuel Vadot /* Left-side rear port */ 61*b2d2a78aSEmmanuel Vadot connector@0 { 62*b2d2a78aSEmmanuel Vadot compatible = "usb-c-connector"; 63*b2d2a78aSEmmanuel Vadot reg = <0>; 64*b2d2a78aSEmmanuel Vadot power-role = "dual"; 65*b2d2a78aSEmmanuel Vadot data-role = "dual"; 66*b2d2a78aSEmmanuel Vadot 67*b2d2a78aSEmmanuel Vadot ports { 68*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 69*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 70*b2d2a78aSEmmanuel Vadot 71*b2d2a78aSEmmanuel Vadot port@0 { 72*b2d2a78aSEmmanuel Vadot reg = <0>; 73*b2d2a78aSEmmanuel Vadot 74*b2d2a78aSEmmanuel Vadot pmic_glink_ss0_hs_in: endpoint { 75*b2d2a78aSEmmanuel Vadot remote-endpoint = <&usb_1_ss0_dwc3_hs>; 76*b2d2a78aSEmmanuel Vadot }; 77*b2d2a78aSEmmanuel Vadot }; 78*b2d2a78aSEmmanuel Vadot 79*b2d2a78aSEmmanuel Vadot port@1 { 80*b2d2a78aSEmmanuel Vadot reg = <1>; 81*b2d2a78aSEmmanuel Vadot 82*b2d2a78aSEmmanuel Vadot pmic_glink_ss0_ss_in: endpoint { 83*b2d2a78aSEmmanuel Vadot remote-endpoint = <&usb_1_ss0_qmpphy_out>; 84*b2d2a78aSEmmanuel Vadot }; 85*b2d2a78aSEmmanuel Vadot }; 86*b2d2a78aSEmmanuel Vadot }; 87*b2d2a78aSEmmanuel Vadot }; 88*b2d2a78aSEmmanuel Vadot 89*b2d2a78aSEmmanuel Vadot /* Left-side front port */ 90*b2d2a78aSEmmanuel Vadot connector@1 { 91*b2d2a78aSEmmanuel Vadot compatible = "usb-c-connector"; 92*b2d2a78aSEmmanuel Vadot reg = <1>; 93*b2d2a78aSEmmanuel Vadot power-role = "dual"; 94*b2d2a78aSEmmanuel Vadot data-role = "dual"; 95*b2d2a78aSEmmanuel Vadot 96*b2d2a78aSEmmanuel Vadot ports { 97*b2d2a78aSEmmanuel Vadot #address-cells = <1>; 98*b2d2a78aSEmmanuel Vadot #size-cells = <0>; 99*b2d2a78aSEmmanuel Vadot 100*b2d2a78aSEmmanuel Vadot port@0 { 101*b2d2a78aSEmmanuel Vadot reg = <0>; 102*b2d2a78aSEmmanuel Vadot 103*b2d2a78aSEmmanuel Vadot pmic_glink_ss1_hs_in: endpoint { 104*b2d2a78aSEmmanuel Vadot remote-endpoint = <&usb_1_ss1_dwc3_hs>; 105*b2d2a78aSEmmanuel Vadot }; 106*b2d2a78aSEmmanuel Vadot }; 107*b2d2a78aSEmmanuel Vadot 108*b2d2a78aSEmmanuel Vadot port@1 { 109*b2d2a78aSEmmanuel Vadot reg = <1>; 110*b2d2a78aSEmmanuel Vadot 111*b2d2a78aSEmmanuel Vadot pmic_glink_ss1_ss_in: endpoint { 112*b2d2a78aSEmmanuel Vadot remote-endpoint = <&usb_1_ss1_qmpphy_out>; 113*b2d2a78aSEmmanuel Vadot }; 114*b2d2a78aSEmmanuel Vadot }; 115*b2d2a78aSEmmanuel Vadot }; 116*b2d2a78aSEmmanuel Vadot }; 117*b2d2a78aSEmmanuel Vadot }; 118*b2d2a78aSEmmanuel Vadot 119*b2d2a78aSEmmanuel Vadot reserved-memory { 120*b2d2a78aSEmmanuel Vadot linux,cma { 121*b2d2a78aSEmmanuel Vadot compatible = "shared-dma-pool"; 122*b2d2a78aSEmmanuel Vadot size = <0x0 0x8000000>; 123*b2d2a78aSEmmanuel Vadot reusable; 124*b2d2a78aSEmmanuel Vadot linux,cma-default; 125*b2d2a78aSEmmanuel Vadot }; 126*b2d2a78aSEmmanuel Vadot }; 127*b2d2a78aSEmmanuel Vadot 128*b2d2a78aSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 129*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 130*b2d2a78aSEmmanuel Vadot 131*b2d2a78aSEmmanuel Vadot regulator-name = "vph_pwr"; 132*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3700000>; 133*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3700000>; 134*b2d2a78aSEmmanuel Vadot 135*b2d2a78aSEmmanuel Vadot regulator-always-on; 136*b2d2a78aSEmmanuel Vadot regulator-boot-on; 137*b2d2a78aSEmmanuel Vadot }; 138*b2d2a78aSEmmanuel Vadot 139*b2d2a78aSEmmanuel Vadot vreg_edp_3p3: regulator-edp-3p3 { 140*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 141*b2d2a78aSEmmanuel Vadot 142*b2d2a78aSEmmanuel Vadot regulator-name = "VREG_EDP_3P3"; 143*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 144*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 145*b2d2a78aSEmmanuel Vadot 146*b2d2a78aSEmmanuel Vadot gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 147*b2d2a78aSEmmanuel Vadot enable-active-high; 148*b2d2a78aSEmmanuel Vadot 149*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&edp_reg_en>; 150*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 151*b2d2a78aSEmmanuel Vadot 152*b2d2a78aSEmmanuel Vadot regulator-boot-on; 153*b2d2a78aSEmmanuel Vadot }; 154*b2d2a78aSEmmanuel Vadot 155*b2d2a78aSEmmanuel Vadot vreg_nvme: regulator-nvme { 156*b2d2a78aSEmmanuel Vadot compatible = "regulator-fixed"; 157*b2d2a78aSEmmanuel Vadot 158*b2d2a78aSEmmanuel Vadot regulator-name = "VREG_NVME_3P3"; 159*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 160*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 161*b2d2a78aSEmmanuel Vadot 162*b2d2a78aSEmmanuel Vadot gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 163*b2d2a78aSEmmanuel Vadot enable-active-high; 164*b2d2a78aSEmmanuel Vadot 165*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&nvme_reg_en>; 166*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 167*b2d2a78aSEmmanuel Vadot 168*b2d2a78aSEmmanuel Vadot regulator-boot-on; 169*b2d2a78aSEmmanuel Vadot }; 170*b2d2a78aSEmmanuel Vadot}; 171*b2d2a78aSEmmanuel Vadot 172*b2d2a78aSEmmanuel Vadot&apps_rsc { 173*b2d2a78aSEmmanuel Vadot regulators-0 { 174*b2d2a78aSEmmanuel Vadot compatible = "qcom,pm8550-rpmh-regulators"; 175*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "b"; 176*b2d2a78aSEmmanuel Vadot 177*b2d2a78aSEmmanuel Vadot vdd-bob1-supply = <&vph_pwr>; 178*b2d2a78aSEmmanuel Vadot vdd-bob2-supply = <&vph_pwr>; 179*b2d2a78aSEmmanuel Vadot vdd-l1-l4-l10-supply = <&vreg_s4c>; 180*b2d2a78aSEmmanuel Vadot vdd-l2-l13-l14-supply = <&vreg_bob1>; 181*b2d2a78aSEmmanuel Vadot vdd-l5-l16-supply = <&vreg_bob1>; 182*b2d2a78aSEmmanuel Vadot vdd-l6-l7-supply = <&vreg_bob2>; 183*b2d2a78aSEmmanuel Vadot vdd-l8-l9-supply = <&vreg_bob1>; 184*b2d2a78aSEmmanuel Vadot vdd-l12-supply = <&vreg_s5j>; 185*b2d2a78aSEmmanuel Vadot vdd-l15-supply = <&vreg_s4c>; 186*b2d2a78aSEmmanuel Vadot vdd-l17-supply = <&vreg_bob2>; 187*b2d2a78aSEmmanuel Vadot 188*b2d2a78aSEmmanuel Vadot vreg_bob1: bob1 { 189*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_bob1"; 190*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3008000>; 191*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3960000>; 192*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 193*b2d2a78aSEmmanuel Vadot }; 194*b2d2a78aSEmmanuel Vadot 195*b2d2a78aSEmmanuel Vadot vreg_bob2: bob2 { 196*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_bob2"; 197*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <2504000>; 198*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3008000>; 199*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 200*b2d2a78aSEmmanuel Vadot }; 201*b2d2a78aSEmmanuel Vadot 202*b2d2a78aSEmmanuel Vadot vreg_l1b: ldo1 { 203*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1b"; 204*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 205*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 206*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 207*b2d2a78aSEmmanuel Vadot }; 208*b2d2a78aSEmmanuel Vadot 209*b2d2a78aSEmmanuel Vadot vreg_l2b: ldo2 { 210*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2b"; 211*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3072000>; 212*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3072000>; 213*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 214*b2d2a78aSEmmanuel Vadot }; 215*b2d2a78aSEmmanuel Vadot 216*b2d2a78aSEmmanuel Vadot vreg_l4b: ldo4 { 217*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l4b"; 218*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 219*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 220*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 221*b2d2a78aSEmmanuel Vadot }; 222*b2d2a78aSEmmanuel Vadot 223*b2d2a78aSEmmanuel Vadot vreg_l5b: ldo5 { 224*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l5b"; 225*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 226*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 227*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228*b2d2a78aSEmmanuel Vadot }; 229*b2d2a78aSEmmanuel Vadot 230*b2d2a78aSEmmanuel Vadot vreg_l6b: ldo6 { 231*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l6b"; 232*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 233*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 234*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 235*b2d2a78aSEmmanuel Vadot }; 236*b2d2a78aSEmmanuel Vadot 237*b2d2a78aSEmmanuel Vadot vreg_l7b: ldo7 { 238*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l7b"; 239*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 240*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 241*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 242*b2d2a78aSEmmanuel Vadot }; 243*b2d2a78aSEmmanuel Vadot 244*b2d2a78aSEmmanuel Vadot vreg_l8b: ldo8 { 245*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l8b"; 246*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3072000>; 247*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3072000>; 248*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 249*b2d2a78aSEmmanuel Vadot }; 250*b2d2a78aSEmmanuel Vadot 251*b2d2a78aSEmmanuel Vadot vreg_l9b: ldo9 { 252*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l9b"; 253*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <2960000>; 254*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 255*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 256*b2d2a78aSEmmanuel Vadot }; 257*b2d2a78aSEmmanuel Vadot 258*b2d2a78aSEmmanuel Vadot vreg_l10b: ldo10 { 259*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l10b"; 260*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 261*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 262*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 263*b2d2a78aSEmmanuel Vadot }; 264*b2d2a78aSEmmanuel Vadot 265*b2d2a78aSEmmanuel Vadot vreg_l12b: ldo12 { 266*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l12b"; 267*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 268*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 269*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 270*b2d2a78aSEmmanuel Vadot }; 271*b2d2a78aSEmmanuel Vadot 272*b2d2a78aSEmmanuel Vadot vreg_l13b: ldo13 { 273*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l13b"; 274*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3072000>; 275*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3072000>; 276*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277*b2d2a78aSEmmanuel Vadot }; 278*b2d2a78aSEmmanuel Vadot 279*b2d2a78aSEmmanuel Vadot vreg_l14b: ldo14 { 280*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l14b"; 281*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <3072000>; 282*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <3072000>; 283*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284*b2d2a78aSEmmanuel Vadot }; 285*b2d2a78aSEmmanuel Vadot 286*b2d2a78aSEmmanuel Vadot vreg_l15b: ldo15 { 287*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l15b"; 288*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 289*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 290*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291*b2d2a78aSEmmanuel Vadot }; 292*b2d2a78aSEmmanuel Vadot 293*b2d2a78aSEmmanuel Vadot vreg_l16b: ldo16 { 294*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l16b"; 295*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <2912000>; 296*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2912000>; 297*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 298*b2d2a78aSEmmanuel Vadot }; 299*b2d2a78aSEmmanuel Vadot 300*b2d2a78aSEmmanuel Vadot vreg_l17b: ldo17 { 301*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l17b"; 302*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <2504000>; 303*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2504000>; 304*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 305*b2d2a78aSEmmanuel Vadot }; 306*b2d2a78aSEmmanuel Vadot }; 307*b2d2a78aSEmmanuel Vadot 308*b2d2a78aSEmmanuel Vadot regulators-1 { 309*b2d2a78aSEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 310*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "c"; 311*b2d2a78aSEmmanuel Vadot 312*b2d2a78aSEmmanuel Vadot vdd-l1-supply = <&vreg_s5j>; 313*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s1f>; 314*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s1f>; 315*b2d2a78aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 316*b2d2a78aSEmmanuel Vadot 317*b2d2a78aSEmmanuel Vadot vreg_s4c: smps4 { 318*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_s4c"; 319*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1856000>; 320*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <2000000>; 321*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322*b2d2a78aSEmmanuel Vadot }; 323*b2d2a78aSEmmanuel Vadot 324*b2d2a78aSEmmanuel Vadot vreg_l1c: ldo1 { 325*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1c"; 326*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 327*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 328*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 329*b2d2a78aSEmmanuel Vadot }; 330*b2d2a78aSEmmanuel Vadot 331*b2d2a78aSEmmanuel Vadot vreg_l2c: ldo2 { 332*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2c"; 333*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <880000>; 334*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 335*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336*b2d2a78aSEmmanuel Vadot }; 337*b2d2a78aSEmmanuel Vadot 338*b2d2a78aSEmmanuel Vadot vreg_l3c: ldo3 { 339*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3c"; 340*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <912000>; 341*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 342*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343*b2d2a78aSEmmanuel Vadot }; 344*b2d2a78aSEmmanuel Vadot }; 345*b2d2a78aSEmmanuel Vadot 346*b2d2a78aSEmmanuel Vadot regulators-2 { 347*b2d2a78aSEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 348*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "d"; 349*b2d2a78aSEmmanuel Vadot 350*b2d2a78aSEmmanuel Vadot vdd-l1-supply = <&vreg_s1f>; 351*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s1f>; 352*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s4c>; 353*b2d2a78aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 354*b2d2a78aSEmmanuel Vadot 355*b2d2a78aSEmmanuel Vadot vreg_l1d: ldo1 { 356*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1d"; 357*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <880000>; 358*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 359*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 360*b2d2a78aSEmmanuel Vadot }; 361*b2d2a78aSEmmanuel Vadot 362*b2d2a78aSEmmanuel Vadot vreg_l2d: ldo2 { 363*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2d"; 364*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <912000>; 365*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 366*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 367*b2d2a78aSEmmanuel Vadot }; 368*b2d2a78aSEmmanuel Vadot 369*b2d2a78aSEmmanuel Vadot vreg_l3d: ldo3 { 370*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3d"; 371*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 372*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 373*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 374*b2d2a78aSEmmanuel Vadot }; 375*b2d2a78aSEmmanuel Vadot }; 376*b2d2a78aSEmmanuel Vadot 377*b2d2a78aSEmmanuel Vadot regulators-3 { 378*b2d2a78aSEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 379*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "e"; 380*b2d2a78aSEmmanuel Vadot 381*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s1f>; 382*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s5j>; 383*b2d2a78aSEmmanuel Vadot 384*b2d2a78aSEmmanuel Vadot vreg_l2e: ldo2 { 385*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2e"; 386*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <880000>; 387*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 388*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 389*b2d2a78aSEmmanuel Vadot }; 390*b2d2a78aSEmmanuel Vadot 391*b2d2a78aSEmmanuel Vadot vreg_l3e: ldo3 { 392*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3e"; 393*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 394*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 395*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 396*b2d2a78aSEmmanuel Vadot }; 397*b2d2a78aSEmmanuel Vadot }; 398*b2d2a78aSEmmanuel Vadot 399*b2d2a78aSEmmanuel Vadot regulators-4 { 400*b2d2a78aSEmmanuel Vadot compatible = "qcom,pmc8380-rpmh-regulators"; 401*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "f"; 402*b2d2a78aSEmmanuel Vadot 403*b2d2a78aSEmmanuel Vadot vdd-l1-supply = <&vreg_s5j>; 404*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s5j>; 405*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s5j>; 406*b2d2a78aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 407*b2d2a78aSEmmanuel Vadot 408*b2d2a78aSEmmanuel Vadot vreg_s1f: smps1 { 409*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_s1f"; 410*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <700000>; 411*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 412*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 413*b2d2a78aSEmmanuel Vadot }; 414*b2d2a78aSEmmanuel Vadot 415*b2d2a78aSEmmanuel Vadot vreg_l1f: ldo1 { 416*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1f"; 417*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1024000>; 418*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1024000>; 419*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 420*b2d2a78aSEmmanuel Vadot }; 421*b2d2a78aSEmmanuel Vadot 422*b2d2a78aSEmmanuel Vadot vreg_l2f: ldo2 { 423*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2f"; 424*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1024000>; 425*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1024000>; 426*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 427*b2d2a78aSEmmanuel Vadot }; 428*b2d2a78aSEmmanuel Vadot 429*b2d2a78aSEmmanuel Vadot vreg_l3f: ldo3 { 430*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3f"; 431*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1024000>; 432*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1024000>; 433*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 434*b2d2a78aSEmmanuel Vadot }; 435*b2d2a78aSEmmanuel Vadot }; 436*b2d2a78aSEmmanuel Vadot 437*b2d2a78aSEmmanuel Vadot regulators-6 { 438*b2d2a78aSEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 439*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "i"; 440*b2d2a78aSEmmanuel Vadot 441*b2d2a78aSEmmanuel Vadot vdd-l1-supply = <&vreg_s4c>; 442*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s5j>; 443*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s1f>; 444*b2d2a78aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 445*b2d2a78aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 446*b2d2a78aSEmmanuel Vadot 447*b2d2a78aSEmmanuel Vadot vreg_s1i: smps1 { 448*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_s1i"; 449*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <900000>; 450*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 451*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 452*b2d2a78aSEmmanuel Vadot }; 453*b2d2a78aSEmmanuel Vadot 454*b2d2a78aSEmmanuel Vadot vreg_s2i: smps2 { 455*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_s2i"; 456*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 457*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 458*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 459*b2d2a78aSEmmanuel Vadot }; 460*b2d2a78aSEmmanuel Vadot 461*b2d2a78aSEmmanuel Vadot vreg_l1i: ldo1 { 462*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1i"; 463*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 464*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 465*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 466*b2d2a78aSEmmanuel Vadot }; 467*b2d2a78aSEmmanuel Vadot 468*b2d2a78aSEmmanuel Vadot vreg_l2i: ldo2 { 469*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2i"; 470*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 471*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 472*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 473*b2d2a78aSEmmanuel Vadot }; 474*b2d2a78aSEmmanuel Vadot 475*b2d2a78aSEmmanuel Vadot vreg_l3i: ldo3 { 476*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3i"; 477*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <880000>; 478*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 479*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 480*b2d2a78aSEmmanuel Vadot }; 481*b2d2a78aSEmmanuel Vadot }; 482*b2d2a78aSEmmanuel Vadot 483*b2d2a78aSEmmanuel Vadot regulators-7 { 484*b2d2a78aSEmmanuel Vadot compatible = "qcom,pm8550ve-rpmh-regulators"; 485*b2d2a78aSEmmanuel Vadot qcom,pmic-id = "j"; 486*b2d2a78aSEmmanuel Vadot 487*b2d2a78aSEmmanuel Vadot vdd-l1-supply = <&vreg_s1f>; 488*b2d2a78aSEmmanuel Vadot vdd-l2-supply = <&vreg_s5j>; 489*b2d2a78aSEmmanuel Vadot vdd-l3-supply = <&vreg_s1f>; 490*b2d2a78aSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 491*b2d2a78aSEmmanuel Vadot 492*b2d2a78aSEmmanuel Vadot vreg_s5j: smps5 { 493*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_s5j"; 494*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1256000>; 495*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1304000>; 496*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 497*b2d2a78aSEmmanuel Vadot }; 498*b2d2a78aSEmmanuel Vadot 499*b2d2a78aSEmmanuel Vadot vreg_l1j: ldo1 { 500*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l1j"; 501*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <912000>; 502*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 503*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 504*b2d2a78aSEmmanuel Vadot }; 505*b2d2a78aSEmmanuel Vadot 506*b2d2a78aSEmmanuel Vadot vreg_l2j: ldo2 { 507*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l2j"; 508*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <1256000>; 509*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <1256000>; 510*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 511*b2d2a78aSEmmanuel Vadot }; 512*b2d2a78aSEmmanuel Vadot 513*b2d2a78aSEmmanuel Vadot vreg_l3j: ldo3 { 514*b2d2a78aSEmmanuel Vadot regulator-name = "vreg_l3j"; 515*b2d2a78aSEmmanuel Vadot regulator-min-microvolt = <880000>; 516*b2d2a78aSEmmanuel Vadot regulator-max-microvolt = <920000>; 517*b2d2a78aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 518*b2d2a78aSEmmanuel Vadot }; 519*b2d2a78aSEmmanuel Vadot }; 520*b2d2a78aSEmmanuel Vadot}; 521*b2d2a78aSEmmanuel Vadot 522*b2d2a78aSEmmanuel Vadot&gpu { 523*b2d2a78aSEmmanuel Vadot status = "okay"; 524*b2d2a78aSEmmanuel Vadot 525*b2d2a78aSEmmanuel Vadot zap-shader { 526*b2d2a78aSEmmanuel Vadot memory-region = <&gpu_microcode_mem>; 527*b2d2a78aSEmmanuel Vadot firmware-name = "qcom/x1e80100/microsoft/qcdxkmsuc8380.mbn"; 528*b2d2a78aSEmmanuel Vadot }; 529*b2d2a78aSEmmanuel Vadot}; 530*b2d2a78aSEmmanuel Vadot 531*b2d2a78aSEmmanuel Vadot&i2c0 { 532*b2d2a78aSEmmanuel Vadot clock-frequency = <100000>; 533*b2d2a78aSEmmanuel Vadot 534*b2d2a78aSEmmanuel Vadot status = "okay"; 535*b2d2a78aSEmmanuel Vadot 536*b2d2a78aSEmmanuel Vadot /* Something @39, @3e, @44 */ 537*b2d2a78aSEmmanuel Vadot}; 538*b2d2a78aSEmmanuel Vadot 539*b2d2a78aSEmmanuel Vadot&i2c3 { 540*b2d2a78aSEmmanuel Vadot clock-frequency = <400000>; 541*b2d2a78aSEmmanuel Vadot 542*b2d2a78aSEmmanuel Vadot status = "okay"; 543*b2d2a78aSEmmanuel Vadot 544*b2d2a78aSEmmanuel Vadot /* PS8830 USB retimer @8 */ 545*b2d2a78aSEmmanuel Vadot}; 546*b2d2a78aSEmmanuel Vadot 547*b2d2a78aSEmmanuel Vadot&i2c4 { 548*b2d2a78aSEmmanuel Vadot clock-frequency = <400000>; 549*b2d2a78aSEmmanuel Vadot 550*b2d2a78aSEmmanuel Vadot status = "okay"; 551*b2d2a78aSEmmanuel Vadot 552*b2d2a78aSEmmanuel Vadot /* Something @18, @2c, @2e */ 553*b2d2a78aSEmmanuel Vadot}; 554*b2d2a78aSEmmanuel Vadot 555*b2d2a78aSEmmanuel Vadot&i2c5 { 556*b2d2a78aSEmmanuel Vadot clock-frequency = <400000>; 557*b2d2a78aSEmmanuel Vadot 558*b2d2a78aSEmmanuel Vadot status = "okay"; 559*b2d2a78aSEmmanuel Vadot 560*b2d2a78aSEmmanuel Vadot /* Something @4f */ 561*b2d2a78aSEmmanuel Vadot}; 562*b2d2a78aSEmmanuel Vadot 563*b2d2a78aSEmmanuel Vadot&i2c7 { 564*b2d2a78aSEmmanuel Vadot clock-frequency = <400000>; 565*b2d2a78aSEmmanuel Vadot 566*b2d2a78aSEmmanuel Vadot status = "okay"; 567*b2d2a78aSEmmanuel Vadot 568*b2d2a78aSEmmanuel Vadot /* PS8830 USB retimer @8 */ 569*b2d2a78aSEmmanuel Vadot}; 570*b2d2a78aSEmmanuel Vadot 571*b2d2a78aSEmmanuel Vadot 572*b2d2a78aSEmmanuel Vadot&mdss { 573*b2d2a78aSEmmanuel Vadot status = "okay"; 574*b2d2a78aSEmmanuel Vadot}; 575*b2d2a78aSEmmanuel Vadot 576*b2d2a78aSEmmanuel Vadot&mdss_dp3 { 577*b2d2a78aSEmmanuel Vadot compatible = "qcom,x1e80100-dp"; 578*b2d2a78aSEmmanuel Vadot /delete-property/ #sound-dai-cells; 579*b2d2a78aSEmmanuel Vadot 580*b2d2a78aSEmmanuel Vadot status = "okay"; 581*b2d2a78aSEmmanuel Vadot 582*b2d2a78aSEmmanuel Vadot aux-bus { 583*b2d2a78aSEmmanuel Vadot panel { 584*b2d2a78aSEmmanuel Vadot compatible = "edp-panel"; 585*b2d2a78aSEmmanuel Vadot 586*b2d2a78aSEmmanuel Vadot backlight = <&backlight>; 587*b2d2a78aSEmmanuel Vadot power-supply = <&vreg_edp_3p3>; 588*b2d2a78aSEmmanuel Vadot 589*b2d2a78aSEmmanuel Vadot port { 590*b2d2a78aSEmmanuel Vadot edp_panel_in: endpoint { 591*b2d2a78aSEmmanuel Vadot remote-endpoint = <&mdss_dp3_out>; 592*b2d2a78aSEmmanuel Vadot }; 593*b2d2a78aSEmmanuel Vadot }; 594*b2d2a78aSEmmanuel Vadot }; 595*b2d2a78aSEmmanuel Vadot }; 596*b2d2a78aSEmmanuel Vadot 597*b2d2a78aSEmmanuel Vadot ports { 598*b2d2a78aSEmmanuel Vadot port@1 { 599*b2d2a78aSEmmanuel Vadot reg = <1>; 600*b2d2a78aSEmmanuel Vadot 601*b2d2a78aSEmmanuel Vadot mdss_dp3_out: endpoint { 602*b2d2a78aSEmmanuel Vadot data-lanes = <0 1 2 3>; 603*b2d2a78aSEmmanuel Vadot link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 604*b2d2a78aSEmmanuel Vadot 605*b2d2a78aSEmmanuel Vadot remote-endpoint = <&edp_panel_in>; 606*b2d2a78aSEmmanuel Vadot }; 607*b2d2a78aSEmmanuel Vadot }; 608*b2d2a78aSEmmanuel Vadot }; 609*b2d2a78aSEmmanuel Vadot}; 610*b2d2a78aSEmmanuel Vadot 611*b2d2a78aSEmmanuel Vadot&mdss_dp3_phy { 612*b2d2a78aSEmmanuel Vadot vdda-phy-supply = <&vreg_l3j>; 613*b2d2a78aSEmmanuel Vadot vdda-pll-supply = <&vreg_l2j>; 614*b2d2a78aSEmmanuel Vadot 615*b2d2a78aSEmmanuel Vadot status = "okay"; 616*b2d2a78aSEmmanuel Vadot}; 617*b2d2a78aSEmmanuel Vadot 618*b2d2a78aSEmmanuel Vadot&pcie4 { 619*b2d2a78aSEmmanuel Vadot status = "okay"; 620*b2d2a78aSEmmanuel Vadot}; 621*b2d2a78aSEmmanuel Vadot 622*b2d2a78aSEmmanuel Vadot&pcie4_phy { 623*b2d2a78aSEmmanuel Vadot vdda-phy-supply = <&vreg_l3i>; 624*b2d2a78aSEmmanuel Vadot vdda-pll-supply = <&vreg_l3e>; 625*b2d2a78aSEmmanuel Vadot 626*b2d2a78aSEmmanuel Vadot status = "okay"; 627*b2d2a78aSEmmanuel Vadot}; 628*b2d2a78aSEmmanuel Vadot 629*b2d2a78aSEmmanuel Vadot&pcie6a { 630*b2d2a78aSEmmanuel Vadot perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 631*b2d2a78aSEmmanuel Vadot wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 632*b2d2a78aSEmmanuel Vadot 633*b2d2a78aSEmmanuel Vadot vddpe-3v3-supply = <&vreg_nvme>; 634*b2d2a78aSEmmanuel Vadot 635*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&pcie6a_default>; 636*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 637*b2d2a78aSEmmanuel Vadot 638*b2d2a78aSEmmanuel Vadot status = "okay"; 639*b2d2a78aSEmmanuel Vadot}; 640*b2d2a78aSEmmanuel Vadot 641*b2d2a78aSEmmanuel Vadot&pcie6a_phy { 642*b2d2a78aSEmmanuel Vadot vdda-phy-supply = <&vreg_l1d>; 643*b2d2a78aSEmmanuel Vadot vdda-pll-supply = <&vreg_l2j>; 644*b2d2a78aSEmmanuel Vadot 645*b2d2a78aSEmmanuel Vadot status = "okay"; 646*b2d2a78aSEmmanuel Vadot}; 647*b2d2a78aSEmmanuel Vadot 648*b2d2a78aSEmmanuel Vadot&pmc8380_3_gpios { 649*b2d2a78aSEmmanuel Vadot edp_bl_en: edp-bl-en-state { 650*b2d2a78aSEmmanuel Vadot pins = "gpio4"; 651*b2d2a78aSEmmanuel Vadot function = "normal"; 652*b2d2a78aSEmmanuel Vadot power-source = <1>; /* 1.8V */ 653*b2d2a78aSEmmanuel Vadot input-disable; 654*b2d2a78aSEmmanuel Vadot output-enable; 655*b2d2a78aSEmmanuel Vadot }; 656*b2d2a78aSEmmanuel Vadot}; 657*b2d2a78aSEmmanuel Vadot 658*b2d2a78aSEmmanuel Vadot&pmk8550_pwm { 659*b2d2a78aSEmmanuel Vadot status = "okay"; 660*b2d2a78aSEmmanuel Vadot}; 661*b2d2a78aSEmmanuel Vadot 662*b2d2a78aSEmmanuel Vadot&pmk8550_gpios { 663*b2d2a78aSEmmanuel Vadot edp_bl_pwm: edp-bl-pwm-state { 664*b2d2a78aSEmmanuel Vadot pins = "gpio5"; 665*b2d2a78aSEmmanuel Vadot function = "func3"; 666*b2d2a78aSEmmanuel Vadot }; 667*b2d2a78aSEmmanuel Vadot}; 668*b2d2a78aSEmmanuel Vadot 669*b2d2a78aSEmmanuel Vadot&qupv3_0 { 670*b2d2a78aSEmmanuel Vadot status = "okay"; 671*b2d2a78aSEmmanuel Vadot}; 672*b2d2a78aSEmmanuel Vadot 673*b2d2a78aSEmmanuel Vadot&qupv3_1 { 674*b2d2a78aSEmmanuel Vadot status = "okay"; 675*b2d2a78aSEmmanuel Vadot}; 676*b2d2a78aSEmmanuel Vadot 677*b2d2a78aSEmmanuel Vadot&qupv3_2 { 678*b2d2a78aSEmmanuel Vadot status = "okay"; 679*b2d2a78aSEmmanuel Vadot}; 680*b2d2a78aSEmmanuel Vadot 681*b2d2a78aSEmmanuel Vadot&remoteproc_adsp { 682*b2d2a78aSEmmanuel Vadot firmware-name = "qcom/x1e80100/microsoft/Romulus/qcadsp8380.mbn", 683*b2d2a78aSEmmanuel Vadot "qcom/x1e80100/microsoft/Romulus/adsp_dtb.mbn"; 684*b2d2a78aSEmmanuel Vadot 685*b2d2a78aSEmmanuel Vadot status = "okay"; 686*b2d2a78aSEmmanuel Vadot}; 687*b2d2a78aSEmmanuel Vadot 688*b2d2a78aSEmmanuel Vadot&remoteproc_cdsp { 689*b2d2a78aSEmmanuel Vadot firmware-name = "qcom/x1e80100/microsoft/Romulus/qccdsp8380.mbn", 690*b2d2a78aSEmmanuel Vadot "qcom/x1e80100/microsoft/Romulus/cdsp_dtb.mbn"; 691*b2d2a78aSEmmanuel Vadot 692*b2d2a78aSEmmanuel Vadot status = "okay"; 693*b2d2a78aSEmmanuel Vadot}; 694*b2d2a78aSEmmanuel Vadot 695*b2d2a78aSEmmanuel Vadot&smb2360_0_eusb2_repeater { 696*b2d2a78aSEmmanuel Vadot vdd18-supply = <&vreg_l3d>; 697*b2d2a78aSEmmanuel Vadot vdd3-supply = <&vreg_l2b>; 698*b2d2a78aSEmmanuel Vadot}; 699*b2d2a78aSEmmanuel Vadot 700*b2d2a78aSEmmanuel Vadot&smb2360_1_eusb2_repeater { 701*b2d2a78aSEmmanuel Vadot vdd18-supply = <&vreg_l3d>; 702*b2d2a78aSEmmanuel Vadot vdd3-supply = <&vreg_l14b>; 703*b2d2a78aSEmmanuel Vadot}; 704*b2d2a78aSEmmanuel Vadot 705*b2d2a78aSEmmanuel Vadot&tlmm { 706*b2d2a78aSEmmanuel Vadot gpio-reserved-ranges = <44 4>, /* SPI (TPM) */ 707*b2d2a78aSEmmanuel Vadot <238 1>; /* UFS Reset */ 708*b2d2a78aSEmmanuel Vadot 709*b2d2a78aSEmmanuel Vadot nvme_reg_en: nvme-reg-en-state { 710*b2d2a78aSEmmanuel Vadot pins = "gpio18"; 711*b2d2a78aSEmmanuel Vadot function = "gpio"; 712*b2d2a78aSEmmanuel Vadot drive-strength = <2>; 713*b2d2a78aSEmmanuel Vadot bias-disable; 714*b2d2a78aSEmmanuel Vadot }; 715*b2d2a78aSEmmanuel Vadot 716*b2d2a78aSEmmanuel Vadot edp_reg_en: edp-reg-en-state { 717*b2d2a78aSEmmanuel Vadot pins = "gpio70"; 718*b2d2a78aSEmmanuel Vadot function = "gpio"; 719*b2d2a78aSEmmanuel Vadot drive-strength = <16>; 720*b2d2a78aSEmmanuel Vadot bias-disable; 721*b2d2a78aSEmmanuel Vadot }; 722*b2d2a78aSEmmanuel Vadot 723*b2d2a78aSEmmanuel Vadot ssam_state: ssam-state-state { 724*b2d2a78aSEmmanuel Vadot pins = "gpio91"; 725*b2d2a78aSEmmanuel Vadot function = "gpio"; 726*b2d2a78aSEmmanuel Vadot bias-disable; 727*b2d2a78aSEmmanuel Vadot }; 728*b2d2a78aSEmmanuel Vadot 729*b2d2a78aSEmmanuel Vadot pcie6a_default: pcie6a-default-state { 730*b2d2a78aSEmmanuel Vadot perst-n-pins { 731*b2d2a78aSEmmanuel Vadot pins = "gpio152"; 732*b2d2a78aSEmmanuel Vadot function = "gpio"; 733*b2d2a78aSEmmanuel Vadot drive-strength = <2>; 734*b2d2a78aSEmmanuel Vadot bias-disable; 735*b2d2a78aSEmmanuel Vadot }; 736*b2d2a78aSEmmanuel Vadot 737*b2d2a78aSEmmanuel Vadot clkreq-n-pins { 738*b2d2a78aSEmmanuel Vadot pins = "gpio153"; 739*b2d2a78aSEmmanuel Vadot function = "pcie6a_clk"; 740*b2d2a78aSEmmanuel Vadot drive-strength = <2>; 741*b2d2a78aSEmmanuel Vadot bias-pull-up; 742*b2d2a78aSEmmanuel Vadot }; 743*b2d2a78aSEmmanuel Vadot 744*b2d2a78aSEmmanuel Vadot wake-n-pins { 745*b2d2a78aSEmmanuel Vadot pins = "gpio154"; 746*b2d2a78aSEmmanuel Vadot function = "gpio"; 747*b2d2a78aSEmmanuel Vadot drive-strength = <2>; 748*b2d2a78aSEmmanuel Vadot bias-pull-up; 749*b2d2a78aSEmmanuel Vadot }; 750*b2d2a78aSEmmanuel Vadot }; 751*b2d2a78aSEmmanuel Vadot 752*b2d2a78aSEmmanuel Vadot cam_indicator_en: cam-indicator-en-state { 753*b2d2a78aSEmmanuel Vadot pins = "gpio225"; 754*b2d2a78aSEmmanuel Vadot function = "gpio"; 755*b2d2a78aSEmmanuel Vadot drive-strength = <2>; 756*b2d2a78aSEmmanuel Vadot bias-disable; 757*b2d2a78aSEmmanuel Vadot }; 758*b2d2a78aSEmmanuel Vadot}; 759*b2d2a78aSEmmanuel Vadot 760*b2d2a78aSEmmanuel Vadot&uart2 { 761*b2d2a78aSEmmanuel Vadot status = "okay"; 762*b2d2a78aSEmmanuel Vadot 763*b2d2a78aSEmmanuel Vadot embedded-controller { 764*b2d2a78aSEmmanuel Vadot compatible = "microsoft,surface-sam"; 765*b2d2a78aSEmmanuel Vadot 766*b2d2a78aSEmmanuel Vadot interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>; 767*b2d2a78aSEmmanuel Vadot 768*b2d2a78aSEmmanuel Vadot current-speed = <4000000>; 769*b2d2a78aSEmmanuel Vadot 770*b2d2a78aSEmmanuel Vadot pinctrl-0 = <&ssam_state>; 771*b2d2a78aSEmmanuel Vadot pinctrl-names = "default"; 772*b2d2a78aSEmmanuel Vadot }; 773*b2d2a78aSEmmanuel Vadot}; 774*b2d2a78aSEmmanuel Vadot 775*b2d2a78aSEmmanuel Vadot&usb_1_ss0_hsphy { 776*b2d2a78aSEmmanuel Vadot vdd-supply = <&vreg_l3j>; 777*b2d2a78aSEmmanuel Vadot vdda12-supply = <&vreg_l2j>; 778*b2d2a78aSEmmanuel Vadot 779*b2d2a78aSEmmanuel Vadot phys = <&smb2360_0_eusb2_repeater>; 780*b2d2a78aSEmmanuel Vadot 781*b2d2a78aSEmmanuel Vadot status = "okay"; 782*b2d2a78aSEmmanuel Vadot}; 783*b2d2a78aSEmmanuel Vadot 784*b2d2a78aSEmmanuel Vadot&usb_1_ss0_qmpphy { 785*b2d2a78aSEmmanuel Vadot vdda-phy-supply = <&vreg_l3e>; 786*b2d2a78aSEmmanuel Vadot vdda-pll-supply = <&vreg_l1j>; 787*b2d2a78aSEmmanuel Vadot 788*b2d2a78aSEmmanuel Vadot status = "okay"; 789*b2d2a78aSEmmanuel Vadot}; 790*b2d2a78aSEmmanuel Vadot 791*b2d2a78aSEmmanuel Vadot&usb_1_ss0 { 792*b2d2a78aSEmmanuel Vadot status = "okay"; 793*b2d2a78aSEmmanuel Vadot}; 794*b2d2a78aSEmmanuel Vadot 795*b2d2a78aSEmmanuel Vadot&usb_1_ss0_dwc3 { 796*b2d2a78aSEmmanuel Vadot dr_mode = "host"; 797*b2d2a78aSEmmanuel Vadot}; 798*b2d2a78aSEmmanuel Vadot 799*b2d2a78aSEmmanuel Vadot&usb_1_ss0_dwc3_hs { 800*b2d2a78aSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss0_hs_in>; 801*b2d2a78aSEmmanuel Vadot}; 802*b2d2a78aSEmmanuel Vadot 803*b2d2a78aSEmmanuel Vadot&usb_1_ss0_qmpphy_out { 804*b2d2a78aSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss0_ss_in>; 805*b2d2a78aSEmmanuel Vadot}; 806*b2d2a78aSEmmanuel Vadot 807*b2d2a78aSEmmanuel Vadot&usb_1_ss1_hsphy { 808*b2d2a78aSEmmanuel Vadot vdd-supply = <&vreg_l3j>; 809*b2d2a78aSEmmanuel Vadot vdda12-supply = <&vreg_l2j>; 810*b2d2a78aSEmmanuel Vadot 811*b2d2a78aSEmmanuel Vadot phys = <&smb2360_1_eusb2_repeater>; 812*b2d2a78aSEmmanuel Vadot 813*b2d2a78aSEmmanuel Vadot status = "okay"; 814*b2d2a78aSEmmanuel Vadot}; 815*b2d2a78aSEmmanuel Vadot 816*b2d2a78aSEmmanuel Vadot&usb_1_ss1_qmpphy { 817*b2d2a78aSEmmanuel Vadot vdda-phy-supply = <&vreg_l3e>; 818*b2d2a78aSEmmanuel Vadot vdda-pll-supply = <&vreg_l2d>; 819*b2d2a78aSEmmanuel Vadot 820*b2d2a78aSEmmanuel Vadot status = "okay"; 821*b2d2a78aSEmmanuel Vadot}; 822*b2d2a78aSEmmanuel Vadot 823*b2d2a78aSEmmanuel Vadot&usb_1_ss1 { 824*b2d2a78aSEmmanuel Vadot status = "okay"; 825*b2d2a78aSEmmanuel Vadot}; 826*b2d2a78aSEmmanuel Vadot 827*b2d2a78aSEmmanuel Vadot&usb_1_ss1_dwc3 { 828*b2d2a78aSEmmanuel Vadot dr_mode = "host"; 829*b2d2a78aSEmmanuel Vadot}; 830*b2d2a78aSEmmanuel Vadot 831*b2d2a78aSEmmanuel Vadot&usb_1_ss1_dwc3_hs { 832*b2d2a78aSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss1_hs_in>; 833*b2d2a78aSEmmanuel Vadot}; 834*b2d2a78aSEmmanuel Vadot 835*b2d2a78aSEmmanuel Vadot&usb_1_ss1_qmpphy_out { 836*b2d2a78aSEmmanuel Vadot remote-endpoint = <&pmic_glink_ss1_ss_in>; 837*b2d2a78aSEmmanuel Vadot}; 838