File Index
Files and directories
Sign in
FILE

x1e80100-microsoft-romulus.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/qcom/x1e80100-microsoft-romulus.dtsi DEVICETREE
   1// SPDX-License-Identifier: BSD-3-Clause
   2/*
   3 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
   4 */
   5
   6#include <dt-bindings/gpio/gpio.h>
   7#include <dt-bindings/input/gpio-keys.h>
   8#include <dt-bindings/input/input.h>
   9#include <dt-bindings/leds/common.h>
  10#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
  11
  12#include "hamoa.dtsi"
  13#include "hamoa-pmics.dtsi"
  14
  15/ {
  16	aliases {
  17		serial0 = &uart2;
  18		i2c0 = &i2c0;
  19		i2c3 = &i2c3;
  20		i2c4 = &i2c4;
  21		i2c5 = &i2c5;
  22		i2c7 = &i2c7;
  23	};
  24
  25	wcd938x: audio-codec {
  26		compatible = "qcom,wcd9385-codec";
  27
  28		reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>;
  29
  30		qcom,micbias1-microvolt = <1800000>;
  31		qcom,micbias2-microvolt = <1800000>;
  32		qcom,micbias3-microvolt = <1800000>;
  33		qcom,micbias4-microvolt = <1800000>;
  34		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
  35		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
  36		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
  37		qcom,rx-device = <&wcd_rx>;
  38		qcom,tx-device = <&wcd_tx>;
  39
  40
  41		vdd-buck-supply = <&vreg_l15b>;
  42		vdd-rxtx-supply = <&vreg_l15b>;
  43		vdd-io-supply = <&vreg_l15b>;
  44		vdd-mic-bias-supply = <&vreg_bob1>;
  45
  46		pinctrl-0 = <&wcd_default>;
  47		pinctrl-names = "default";
  48
  49		#sound-dai-cells = <1>;
  50	};
  51
  52	backlight: backlight {
  53		compatible = "pwm-backlight";
  54		pwms = <&pmk8550_pwm 0 5000000>;
  55		enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
  56		/* TODO: power-supply? */
  57
  58		pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
  59		pinctrl-names = "default";
  60	};
  61
  62	gpio-keys {
  63		compatible = "gpio-keys";
  64
  65		pinctrl-0 = <&hall_int_n_default>;
  66		pinctrl-names = "default";
  67
  68		switch-lid {
  69			gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
  70			linux,input-type = <EV_SW>;
  71			linux,code = <SW_LID>;
  72			wakeup-source;
  73			wakeup-event-action = <EV_ACT_DEASSERTED>;
  74		};
  75	};
  76
  77	leds {
  78		compatible = "gpio-leds";
  79
  80		pinctrl-names = "default";
  81		pinctrl-0 = <&cam_indicator_en>;
  82
  83		led-camera-indicator {
  84			label = "white:camera-indicator";
  85			function = LED_FUNCTION_INDICATOR;
  86			color = <LED_COLOR_ID_WHITE>;
  87			gpios = <&tlmm 225 GPIO_ACTIVE_HIGH>;
  88			linux,default-trigger = "none";
  89			default-state = "off";
  90			/* Reuse as a panic indicator until we get a "camera on" trigger */
  91			panic-indicator;
  92		};
  93	};
  94
  95	pmic-glink {
  96		compatible = "qcom,x1e80100-pmic-glink",
  97			     "qcom,sm8550-pmic-glink",
  98			     "qcom,pmic-glink";
  99		#address-cells = <1>;
 100		#size-cells = <0>;
 101		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
 102				    <&tlmm 123 GPIO_ACTIVE_HIGH>;
 103
 104		/* Left-side rear port */
 105		connector@0 {
 106			compatible = "usb-c-connector";
 107			reg = <0>;
 108			power-role = "dual";
 109			data-role = "dual";
 110
 111			ports {
 112				#address-cells = <1>;
 113				#size-cells = <0>;
 114
 115				port@0 {
 116					reg = <0>;
 117
 118					pmic_glink_ss0_hs_in: endpoint {
 119						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
 120					};
 121				};
 122
 123				port@1 {
 124					reg = <1>;
 125
 126					pmic_glink_ss0_ss_in: endpoint {
 127						remote-endpoint = <&retimer_ss0_ss_out>;
 128					};
 129				};
 130
 131				port@2 {
 132					reg = <2>;
 133
 134					pmic_glink_ss0_con_sbu_in: endpoint {
 135						remote-endpoint = <&retimer_ss0_con_sbu_out>;
 136					};
 137				};
 138			};
 139		};
 140
 141		/* Left-side front port */
 142		connector@1 {
 143			compatible = "usb-c-connector";
 144			reg = <1>;
 145			power-role = "dual";
 146			data-role = "dual";
 147
 148			ports {
 149				#address-cells = <1>;
 150				#size-cells = <0>;
 151
 152				port@0 {
 153					reg = <0>;
 154
 155					pmic_glink_ss1_hs_in: endpoint {
 156						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
 157					};
 158				};
 159
 160				port@1 {
 161					reg = <1>;
 162
 163					pmic_glink_ss1_ss_in: endpoint {
 164						remote-endpoint = <&retimer_ss1_ss_out>;
 165					};
 166				};
 167
 168				port@2 {
 169					reg = <2>;
 170
 171					pmic_glink_ss1_con_sbu_in: endpoint {
 172						remote-endpoint = <&retimer_ss1_con_sbu_out>;
 173					};
 174				};
 175			};
 176		};
 177	};
 178
 179	reserved-memory {
 180		linux,cma {
 181			compatible = "shared-dma-pool";
 182			size = <0x0 0x8000000>;
 183			reusable;
 184			linux,cma-default;
 185		};
 186	};
 187
 188	vreg_edp_3p3: regulator-edp-3p3 {
 189		compatible = "regulator-fixed";
 190
 191		regulator-name = "VREG_EDP_3P3";
 192		regulator-min-microvolt = <3300000>;
 193		regulator-max-microvolt = <3300000>;
 194
 195		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
 196		enable-active-high;
 197
 198		pinctrl-0 = <&edp_reg_en>;
 199		pinctrl-names = "default";
 200
 201		regulator-boot-on;
 202	};
 203
 204	vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
 205		compatible = "regulator-fixed";
 206
 207		regulator-name = "VREG_RTMR0_1P15";
 208
 209		regulator-min-microvolt = <1150000>;
 210		regulator-max-microvolt = <1150000>;
 211
 212		gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>;
 213		enable-active-high;
 214
 215		pinctrl-0 = <&rtmr0_1p15_reg_en>;
 216		pinctrl-names = "default";
 217
 218		regulator-boot-on;
 219	};
 220
 221	vreg_rtmr0_1p8: regulator-rtmr0-1p8 {
 222		compatible = "regulator-fixed";
 223
 224		regulator-name = "VREG_RTMR0_1P8";
 225
 226		regulator-min-microvolt = <1800000>;
 227		regulator-max-microvolt = <1800000>;
 228
 229		gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>;
 230		enable-active-high;
 231
 232		pinctrl-0 = <&rtmr0_1p8_reg_en>;
 233		pinctrl-names = "default";
 234
 235		regulator-boot-on;
 236	};
 237
 238	vreg_rtmr0_3p3: regulator-rtmr0-3p3 {
 239		compatible = "regulator-fixed";
 240
 241		regulator-name = "VREG_RTMR0_3P3";
 242
 243		regulator-min-microvolt = <3300000>;
 244		regulator-max-microvolt = <3300000>;
 245
 246		gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
 247		enable-active-high;
 248
 249		pinctrl-0 = <&rtmr0_3p3_reg_en>;
 250		pinctrl-names = "default";
 251
 252		regulator-boot-on;
 253	};
 254
 255	vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
 256		compatible = "regulator-fixed";
 257
 258		regulator-name = "VREG_RTMR1_1P15";
 259
 260		regulator-min-microvolt = <1150000>;
 261		regulator-max-microvolt = <1150000>;
 262
 263		gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
 264		enable-active-high;
 265
 266		pinctrl-0 = <&rtmr1_1p15_reg_en>;
 267		pinctrl-names = "default";
 268
 269		regulator-boot-on;
 270	};
 271
 272	vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
 273		compatible = "regulator-fixed";
 274
 275		regulator-name = "VREG_RTMR1_1P8";
 276
 277		regulator-min-microvolt = <1800000>;
 278		regulator-max-microvolt = <1800000>;
 279
 280		gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
 281		enable-active-high;
 282
 283		pinctrl-0 = <&rtmr1_1p8_reg_en>;
 284		pinctrl-names = "default";
 285
 286		regulator-boot-on;
 287	};
 288
 289	vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
 290		compatible = "regulator-fixed";
 291
 292		regulator-name = "VREG_RTMR1_3P3";
 293
 294		regulator-min-microvolt = <3300000>;
 295		regulator-max-microvolt = <3300000>;
 296
 297		gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
 298		enable-active-high;
 299
 300		pinctrl-0 = <&rtmr1_3p3_reg_en>;
 301		pinctrl-names = "default";
 302
 303		regulator-boot-on;
 304	};
 305
 306
 307	vreg_nvme: regulator-nvme {
 308		compatible = "regulator-fixed";
 309
 310		regulator-name = "VREG_NVME_3P3";
 311		regulator-min-microvolt = <3300000>;
 312		regulator-max-microvolt = <3300000>;
 313
 314		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
 315		enable-active-high;
 316
 317		pinctrl-0 = <&nvme_reg_en>;
 318		pinctrl-names = "default";
 319
 320		regulator-boot-on;
 321	};
 322
 323	vph_pwr: regulator-vph-pwr {
 324		compatible = "regulator-fixed";
 325
 326		regulator-name = "vph_pwr";
 327		regulator-min-microvolt = <3700000>;
 328		regulator-max-microvolt = <3700000>;
 329
 330		regulator-always-on;
 331		regulator-boot-on;
 332	};
 333
 334	vreg_wcn_0p95: regulator-wcn-0p95 {
 335		compatible = "regulator-fixed";
 336
 337		regulator-name = "VREG_WCN_0P95";
 338		regulator-min-microvolt = <950000>;
 339		regulator-max-microvolt = <950000>;
 340
 341		vin-supply = <&vreg_wcn_3p3>;
 342	};
 343
 344	vreg_wcn_1p9: regulator-wcn-1p9 {
 345		compatible = "regulator-fixed";
 346
 347		regulator-name = "VREG_WCN_1P9";
 348		regulator-min-microvolt = <1900000>;
 349		regulator-max-microvolt = <1900000>;
 350
 351		vin-supply = <&vreg_wcn_3p3>;
 352	};
 353
 354	vreg_wcn_3p3: regulator-wcn-3p3 {
 355		compatible = "regulator-fixed";
 356
 357		regulator-name = "VREG_WCN_3P3";
 358		regulator-min-microvolt = <3300000>;
 359		regulator-max-microvolt = <3300000>;
 360
 361		gpio = <&tlmm 214 GPIO_ACTIVE_HIGH>;
 362		enable-active-high;
 363
 364		pinctrl-0 = <&wcn_sw_en>;
 365		pinctrl-names = "default";
 366
 367		regulator-boot-on;
 368	};
 369
 370	sound {
 371		compatible = "qcom,x1e80100-sndcard";
 372		model = "X1E80100-Romulus";
 373		audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT",
 374				"SpkrRight IN", "WSA WSA_SPK2 OUT",
 375				"IN1_HPHL", "HPHL_OUT",
 376				"IN2_HPHR", "HPHR_OUT",
 377				"AMIC2", "MIC BIAS2",
 378				"VA DMIC0", "MIC BIAS3",
 379				"VA DMIC1", "MIC BIAS3",
 380				"VA DMIC0", "VA MIC BIAS3",
 381				"VA DMIC1", "VA MIC BIAS3",
 382				"TX SWR_INPUT1", "ADC2_OUTPUT";
 383
 384		va-dai-link {
 385			link-name = "VA Capture";
 386
 387			cpu {
 388				sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
 389			};
 390
 391			codec {
 392				sound-dai = <&lpass_vamacro 0>;
 393			};
 394
 395			platform {
 396				sound-dai = <&q6apm>;
 397			};
 398		};
 399
 400		wcd-capture-dai-link {
 401			link-name = "WCD Capture";
 402
 403			cpu {
 404				sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
 405			};
 406
 407			codec {
 408				sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>;
 409			};
 410
 411			platform {
 412				sound-dai = <&q6apm>;
 413			};
 414		};
 415
 416		wcd-playback-dai-link {
 417			link-name = "WCD Playback";
 418
 419			cpu {
 420				sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
 421			};
 422
 423			codec {
 424				sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
 425			};
 426
 427			platform {
 428				sound-dai = <&q6apm>;
 429			};
 430		};
 431
 432		wsa-dai-link {
 433			link-name = "WSA Playback";
 434
 435			cpu {
 436				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
 437			};
 438
 439			codec {
 440				sound-dai = <&left_spkr>, <&right_spkr>,
 441					    <&swr0 0>, <&lpass_wsamacro 0>;
 442			};
 443
 444			platform {
 445				sound-dai = <&q6apm>;
 446			};
 447		};
 448	};
 449
 450	wcn7850-pmu {
 451		compatible = "qcom,wcn7850-pmu";
 452
 453		vdd-supply = <&vreg_wcn_0p95>;
 454		vddio-supply = <&vreg_l15b>;
 455		vddaon-supply = <&vreg_wcn_0p95>;
 456		vdddig-supply = <&vreg_wcn_0p95>;
 457		vddrfa1p2-supply = <&vreg_wcn_1p9>;
 458		vddrfa1p8-supply = <&vreg_wcn_1p9>;
 459
 460		wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
 461		bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
 462
 463		pinctrl-0 = <&wcn_wlan_bt_en>;
 464		pinctrl-names = "default";
 465
 466		regulators {
 467			vreg_pmu_rfa_cmn: ldo0 {
 468				regulator-name = "vreg_pmu_rfa_cmn";
 469			};
 470
 471			vreg_pmu_aon_0p59: ldo1 {
 472				regulator-name = "vreg_pmu_aon_0p59";
 473			};
 474
 475			vreg_pmu_wlcx_0p8: ldo2 {
 476				regulator-name = "vreg_pmu_wlcx_0p8";
 477			};
 478
 479			vreg_pmu_wlmx_0p85: ldo3 {
 480				regulator-name = "vreg_pmu_wlmx_0p85";
 481			};
 482
 483			vreg_pmu_btcmx_0p85: ldo4 {
 484				regulator-name = "vreg_pmu_btcmx_0p85";
 485			};
 486
 487			vreg_pmu_rfa_0p8: ldo5 {
 488				regulator-name = "vreg_pmu_rfa_0p8";
 489			};
 490
 491			vreg_pmu_rfa_1p2: ldo6 {
 492				regulator-name = "vreg_pmu_rfa_1p2";
 493			};
 494
 495			vreg_pmu_rfa_1p8: ldo7 {
 496				regulator-name = "vreg_pmu_rfa_1p8";
 497			};
 498
 499			vreg_pmu_pcie_0p9: ldo8 {
 500				regulator-name = "vreg_pmu_pcie_0p9";
 501			};
 502
 503			vreg_pmu_pcie_1p8: ldo9 {
 504				regulator-name = "vreg_pmu_pcie_1p8";
 505			};
 506		};
 507	};
 508};
 509
 510&apps_rsc {
 511	regulators-0 {
 512		compatible = "qcom,pm8550-rpmh-regulators";
 513		qcom,pmic-id = "b";
 514
 515		vdd-bob1-supply = <&vph_pwr>;
 516		vdd-bob2-supply = <&vph_pwr>;
 517		vdd-l1-l4-l10-supply = <&vreg_s4c>;
 518		vdd-l2-l13-l14-supply = <&vreg_bob1>;
 519		vdd-l5-l16-supply = <&vreg_bob1>;
 520		vdd-l6-l7-supply = <&vreg_bob2>;
 521		vdd-l8-l9-supply = <&vreg_bob1>;
 522		vdd-l12-supply = <&vreg_s5j>;
 523		vdd-l15-supply = <&vreg_s4c>;
 524		vdd-l17-supply = <&vreg_bob2>;
 525
 526		vreg_bob1: bob1 {
 527			regulator-name = "vreg_bob1";
 528			regulator-min-microvolt = <3008000>;
 529			regulator-max-microvolt = <3960000>;
 530			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 531		};
 532
 533		vreg_bob2: bob2 {
 534			regulator-name = "vreg_bob2";
 535			regulator-min-microvolt = <2504000>;
 536			regulator-max-microvolt = <3008000>;
 537			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 538		};
 539
 540		vreg_l1b: ldo1 {
 541			regulator-name = "vreg_l1b";
 542			regulator-min-microvolt = <1800000>;
 543			regulator-max-microvolt = <1800000>;
 544			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 545		};
 546
 547		vreg_l2b: ldo2 {
 548			regulator-name = "vreg_l2b";
 549			regulator-min-microvolt = <3072000>;
 550			regulator-max-microvolt = <3072000>;
 551			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 552		};
 553
 554		vreg_l4b: ldo4 {
 555			regulator-name = "vreg_l4b";
 556			regulator-min-microvolt = <1800000>;
 557			regulator-max-microvolt = <1800000>;
 558			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 559		};
 560
 561		vreg_l5b: ldo5 {
 562			regulator-name = "vreg_l5b";
 563			regulator-min-microvolt = <3000000>;
 564			regulator-max-microvolt = <3000000>;
 565			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 566		};
 567
 568		vreg_l6b: ldo6 {
 569			regulator-name = "vreg_l6b";
 570			regulator-min-microvolt = <1800000>;
 571			regulator-max-microvolt = <2960000>;
 572			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 573		};
 574
 575		vreg_l7b: ldo7 {
 576			regulator-name = "vreg_l7b";
 577			regulator-min-microvolt = <2800000>;
 578			regulator-max-microvolt = <2800000>;
 579			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 580		};
 581
 582		vreg_l8b: ldo8 {
 583			regulator-name = "vreg_l8b";
 584			regulator-min-microvolt = <3072000>;
 585			regulator-max-microvolt = <3072000>;
 586			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 587		};
 588
 589		vreg_l9b: ldo9 {
 590			regulator-name = "vreg_l9b";
 591			regulator-min-microvolt = <2960000>;
 592			regulator-max-microvolt = <2960000>;
 593			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 594		};
 595
 596		vreg_l10b: ldo10 {
 597			regulator-name = "vreg_l10b";
 598			regulator-min-microvolt = <1800000>;
 599			regulator-max-microvolt = <1800000>;
 600			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 601		};
 602
 603		vreg_l12b: ldo12 {
 604			regulator-name = "vreg_l12b";
 605			regulator-min-microvolt = <1200000>;
 606			regulator-max-microvolt = <1200000>;
 607			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 608			regulator-always-on;
 609		};
 610
 611		vreg_l13b: ldo13 {
 612			regulator-name = "vreg_l13b";
 613			regulator-min-microvolt = <3072000>;
 614			regulator-max-microvolt = <3072000>;
 615			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 616		};
 617
 618		vreg_l14b: ldo14 {
 619			regulator-name = "vreg_l14b";
 620			regulator-min-microvolt = <3072000>;
 621			regulator-max-microvolt = <3072000>;
 622			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 623		};
 624
 625		vreg_l15b: ldo15 {
 626			regulator-name = "vreg_l15b";
 627			regulator-min-microvolt = <1800000>;
 628			regulator-max-microvolt = <1800000>;
 629			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 630			regulator-always-on;
 631		};
 632
 633		vreg_l16b: ldo16 {
 634			regulator-name = "vreg_l16b";
 635			regulator-min-microvolt = <2912000>;
 636			regulator-max-microvolt = <2912000>;
 637			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 638		};
 639
 640		vreg_l17b: ldo17 {
 641			regulator-name = "vreg_l17b";
 642			regulator-min-microvolt = <2504000>;
 643			regulator-max-microvolt = <2504000>;
 644			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 645		};
 646	};
 647
 648	regulators-1 {
 649		compatible = "qcom,pm8550ve-rpmh-regulators";
 650		qcom,pmic-id = "c";
 651
 652		vdd-l1-supply = <&vreg_s5j>;
 653		vdd-l2-supply = <&vreg_s1f>;
 654		vdd-l3-supply = <&vreg_s1f>;
 655		vdd-s4-supply = <&vph_pwr>;
 656
 657		vreg_s4c: smps4 {
 658			regulator-name = "vreg_s4c";
 659			regulator-min-microvolt = <1856000>;
 660			regulator-max-microvolt = <2000000>;
 661			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 662		};
 663
 664		vreg_l1c: ldo1 {
 665			regulator-name = "vreg_l1c";
 666			regulator-min-microvolt = <1200000>;
 667			regulator-max-microvolt = <1200000>;
 668			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 669		};
 670
 671		vreg_l2c: ldo2 {
 672			regulator-name = "vreg_l2c";
 673			regulator-min-microvolt = <880000>;
 674			regulator-max-microvolt = <920000>;
 675			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 676		};
 677
 678		vreg_l3c: ldo3 {
 679			regulator-name = "vreg_l3c";
 680			regulator-min-microvolt = <912000>;
 681			regulator-max-microvolt = <920000>;
 682			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 683		};
 684	};
 685
 686	regulators-2 {
 687		compatible = "qcom,pmc8380-rpmh-regulators";
 688		qcom,pmic-id = "d";
 689
 690		vdd-l1-supply = <&vreg_s1f>;
 691		vdd-l2-supply = <&vreg_s1f>;
 692		vdd-l3-supply = <&vreg_s4c>;
 693		vdd-s1-supply = <&vph_pwr>;
 694
 695		vreg_l1d: ldo1 {
 696			regulator-name = "vreg_l1d";
 697			regulator-min-microvolt = <880000>;
 698			regulator-max-microvolt = <920000>;
 699			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 700		};
 701
 702		vreg_l2d: ldo2 {
 703			regulator-name = "vreg_l2d";
 704			regulator-min-microvolt = <912000>;
 705			regulator-max-microvolt = <920000>;
 706			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 707		};
 708
 709		vreg_l3d: ldo3 {
 710			regulator-name = "vreg_l3d";
 711			regulator-min-microvolt = <1800000>;
 712			regulator-max-microvolt = <1800000>;
 713			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 714		};
 715	};
 716
 717	regulators-3 {
 718		compatible = "qcom,pmc8380-rpmh-regulators";
 719		qcom,pmic-id = "e";
 720
 721		vdd-l2-supply = <&vreg_s1f>;
 722		vdd-l3-supply = <&vreg_s5j>;
 723
 724		vreg_l2e: ldo2 {
 725			regulator-name = "vreg_l2e";
 726			regulator-min-microvolt = <880000>;
 727			regulator-max-microvolt = <920000>;
 728			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 729		};
 730
 731		vreg_l3e: ldo3 {
 732			regulator-name = "vreg_l3e";
 733			regulator-min-microvolt = <1200000>;
 734			regulator-max-microvolt = <1200000>;
 735			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 736		};
 737	};
 738
 739	regulators-4 {
 740		compatible = "qcom,pmc8380-rpmh-regulators";
 741		qcom,pmic-id = "f";
 742
 743		vdd-l1-supply = <&vreg_s5j>;
 744		vdd-l2-supply = <&vreg_s5j>;
 745		vdd-l3-supply = <&vreg_s5j>;
 746		vdd-s1-supply = <&vph_pwr>;
 747
 748		vreg_s1f: smps1 {
 749			regulator-name = "vreg_s1f";
 750			regulator-min-microvolt = <700000>;
 751			regulator-max-microvolt = <1100000>;
 752			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 753		};
 754
 755		vreg_l1f: ldo1 {
 756			regulator-name = "vreg_l1f";
 757			regulator-min-microvolt = <1024000>;
 758			regulator-max-microvolt = <1024000>;
 759			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 760		};
 761
 762		vreg_l2f: ldo2 {
 763			regulator-name = "vreg_l2f";
 764			regulator-min-microvolt = <1024000>;
 765			regulator-max-microvolt = <1024000>;
 766			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 767		};
 768
 769		vreg_l3f: ldo3 {
 770			regulator-name = "vreg_l3f";
 771			regulator-min-microvolt = <1024000>;
 772			regulator-max-microvolt = <1024000>;
 773			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 774		};
 775	};
 776
 777	regulators-6 {
 778		compatible = "qcom,pm8550ve-rpmh-regulators";
 779		qcom,pmic-id = "i";
 780
 781		vdd-l1-supply = <&vreg_s4c>;
 782		vdd-l2-supply = <&vreg_s5j>;
 783		vdd-l3-supply = <&vreg_s1f>;
 784		vdd-s1-supply = <&vph_pwr>;
 785		vdd-s2-supply = <&vph_pwr>;
 786
 787		vreg_s1i: smps1 {
 788			regulator-name = "vreg_s1i";
 789			regulator-min-microvolt = <900000>;
 790			regulator-max-microvolt = <920000>;
 791			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 792		};
 793
 794		vreg_s2i: smps2 {
 795			regulator-name = "vreg_s2i";
 796			regulator-min-microvolt = <1000000>;
 797			regulator-max-microvolt = <1100000>;
 798			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 799		};
 800
 801		vreg_l1i: ldo1 {
 802			regulator-name = "vreg_l1i";
 803			regulator-min-microvolt = <1800000>;
 804			regulator-max-microvolt = <1800000>;
 805			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 806		};
 807
 808		vreg_l2i: ldo2 {
 809			regulator-name = "vreg_l2i";
 810			regulator-min-microvolt = <1200000>;
 811			regulator-max-microvolt = <1200000>;
 812			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 813		};
 814
 815		vreg_l3i: ldo3 {
 816			regulator-name = "vreg_l3i";
 817			regulator-min-microvolt = <880000>;
 818			regulator-max-microvolt = <920000>;
 819			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 820		};
 821	};
 822
 823	regulators-7 {
 824		compatible = "qcom,pm8550ve-rpmh-regulators";
 825		qcom,pmic-id = "j";
 826
 827		vdd-l1-supply = <&vreg_s1f>;
 828		vdd-l2-supply = <&vreg_s5j>;
 829		vdd-l3-supply = <&vreg_s1f>;
 830		vdd-s5-supply = <&vph_pwr>;
 831
 832		vreg_s5j: smps5 {
 833			regulator-name = "vreg_s5j";
 834			regulator-min-microvolt = <1256000>;
 835			regulator-max-microvolt = <1304000>;
 836			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 837		};
 838
 839		vreg_l1j: ldo1 {
 840			regulator-name = "vreg_l1j";
 841			regulator-min-microvolt = <912000>;
 842			regulator-max-microvolt = <920000>;
 843			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 844		};
 845
 846		vreg_l2j: ldo2 {
 847			regulator-name = "vreg_l2j";
 848			regulator-min-microvolt = <1256000>;
 849			regulator-max-microvolt = <1256000>;
 850			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 851		};
 852
 853		vreg_l3j: ldo3 {
 854			regulator-name = "vreg_l3j";
 855			regulator-min-microvolt = <880000>;
 856			regulator-max-microvolt = <920000>;
 857			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 858		};
 859	};
 860};
 861
 862&gpu {
 863	status = "okay";
 864};
 865
 866&gpu_zap_shader {
 867	memory-region = <&gpu_microcode_mem>;
 868	firmware-name = "qcom/x1e80100/microsoft/qcdxkmsuc8380.mbn";
 869};
 870
 871&i2c0 {
 872	clock-frequency = <100000>;
 873
 874	status = "okay";
 875
 876	/* Something @39, @3e, @44 */
 877};
 878
 879&i2c3 {
 880	clock-frequency = <400000>;
 881
 882	status = "okay";
 883
 884	/* Left-side rear port */
 885	typec-mux@8 {
 886		compatible = "parade,ps8830";
 887		reg = <0x8>;
 888
 889		reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>;
 890
 891		clocks = <&rpmhcc RPMH_RF_CLK3>;
 892
 893		vdd-supply = <&vreg_rtmr0_1p15>;
 894		vdd33-supply = <&vreg_rtmr0_3p3>;
 895		vdd33-cap-supply = <&vreg_rtmr0_3p3>;
 896		vddar-supply = <&vreg_rtmr0_1p15>;
 897		vddat-supply = <&vreg_rtmr0_1p15>;
 898		vddio-supply = <&vreg_rtmr0_1p8>;
 899
 900		pinctrl-0 = <&rtmr0_default>;
 901		pinctrl-names = "default";
 902
 903		retimer-switch;
 904		orientation-switch;
 905
 906		ports {
 907			#address-cells = <1>;
 908			#size-cells = <0>;
 909
 910			port@0 {
 911				reg = <0>;
 912
 913				retimer_ss0_ss_out: endpoint {
 914					remote-endpoint = <&pmic_glink_ss0_ss_in>;
 915				};
 916			};
 917
 918			port@1 {
 919				reg = <1>;
 920
 921				retimer_ss0_ss_in: endpoint {
 922					remote-endpoint = <&usb_1_ss0_qmpphy_out>;
 923				};
 924			};
 925
 926			port@2 {
 927				reg = <2>;
 928
 929				retimer_ss0_con_sbu_out: endpoint {
 930					remote-endpoint = <&pmic_glink_ss0_con_sbu_in>;
 931				};
 932			};
 933		};
 934	};
 935
 936};
 937
 938&i2c4 {
 939	clock-frequency = <400000>;
 940
 941	status = "okay";
 942
 943	/* Something @18, @2c, @2e */
 944};
 945
 946&i2c5 {
 947	clock-frequency = <400000>;
 948
 949	status = "okay";
 950
 951	ptn3222: redriver@4f {
 952		compatible = "nxp,ptn3222";
 953		reg = <0x4f>;
 954
 955		reset-gpios = <&tlmm 7 GPIO_ACTIVE_LOW>;
 956
 957		vdd3v3-supply = <&vreg_l13b>;
 958		vdd1v8-supply = <&vreg_l4b>;
 959
 960		#phy-cells = <0>;
 961	};
 962};
 963
 964&i2c7 {
 965	clock-frequency = <400000>;
 966
 967	status = "okay";
 968
 969	/* Left-side front port */
 970	typec-mux@8 {
 971		compatible = "parade,ps8830";
 972		reg = <0x8>;
 973
 974		reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
 975
 976		clocks = <&rpmhcc RPMH_RF_CLK4>;
 977
 978		vdd-supply = <&vreg_rtmr1_1p15>;
 979		vdd33-supply = <&vreg_rtmr1_3p3>;
 980		vdd33-cap-supply = <&vreg_rtmr1_3p3>;
 981		vddar-supply = <&vreg_rtmr1_1p15>;
 982		vddat-supply = <&vreg_rtmr1_1p15>;
 983		vddio-supply = <&vreg_rtmr1_1p8>;
 984
 985		retimer-switch;
 986		orientation-switch;
 987
 988		ports {
 989			#address-cells = <1>;
 990			#size-cells = <0>;
 991
 992			port@0 {
 993				reg = <0>;
 994
 995				retimer_ss1_ss_out: endpoint {
 996					remote-endpoint = <&pmic_glink_ss1_ss_in>;
 997				};
 998			};
 999
1000			port@1 {
1001				reg = <1>;
1002
1003				retimer_ss1_ss_in: endpoint {
1004					remote-endpoint = <&usb_1_ss1_qmpphy_out>;
1005				};
1006			};
1007
1008			port@2 {
1009				reg = <2>;
1010
1011				retimer_ss1_con_sbu_out: endpoint {
1012					remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
1013				};
1014			};
1015		};
1016	};
1017};
1018
1019&lpass_tlmm {
1020	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
1021		pins = "gpio12";
1022		function = "gpio";
1023		drive-strength = <16>;
1024		bias-disable;
1025		output-low;
1026	};
1027};
1028
1029&lpass_vamacro {
1030	qcom,dmic-sample-rate = <4800000>;
1031
1032	vdd-micb-supply = <&vreg_l1b>;
1033
1034	pinctrl-0 = <&dmic01_default>;
1035	pinctrl-names = "default";
1036};
1037
1038&mdss {
1039	status = "okay";
1040};
1041
1042&mdss_dp0 {
1043	status = "okay";
1044};
1045
1046&mdss_dp0_out {
1047	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1048};
1049
1050&mdss_dp1 {
1051	status = "okay";
1052};
1053
1054&mdss_dp1_out {
1055	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1056};
1057
1058&mdss_dp3 {
1059	/delete-property/ #sound-dai-cells;
1060
1061	pinctrl-0 = <&edp0_hpd_default>;
1062	pinctrl-names = "default";
1063
1064	status = "okay";
1065
1066	aux-bus {
1067		panel {
1068			compatible = "edp-panel";
1069
1070			backlight = <&backlight>;
1071			power-supply = <&vreg_edp_3p3>;
1072
1073			port {
1074				edp_panel_in: endpoint {
1075					remote-endpoint = <&mdss_dp3_out>;
1076				};
1077			};
1078		};
1079	};
1080};
1081
1082&mdss_dp3_out {
1083	data-lanes = <0 1 2 3>;
1084	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
1085
1086	remote-endpoint = <&edp_panel_in>;
1087};
1088
1089&mdss_dp3_phy {
1090	vdda-phy-supply = <&vreg_l3j>;
1091	vdda-pll-supply = <&vreg_l2j>;
1092
1093	status = "okay";
1094};
1095
1096&pcie3 {
1097	perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
1098	wake-gpios = <&tlmm 145 GPIO_ACTIVE_HIGH>;
1099
1100	pinctrl-0 = <&pcie3_default>;
1101	pinctrl-names = "default";
1102
1103	/* The RTS5261 chip on the other side only does Gen1x1 anyway */
1104	max-link-speed = <1>;
1105	status = "okay";
1106};
1107
1108&pcie3_phy {
1109	vdda-phy-supply = <&vreg_l3c>;
1110	vdda-pll-supply = <&vreg_l3e>;
1111
1112	status = "okay";
1113};
1114
1115&pcie4 {
1116	status = "okay";
1117};
1118
1119&pcie4_phy {
1120	vdda-phy-supply = <&vreg_l3i>;
1121	vdda-pll-supply = <&vreg_l3e>;
1122
1123	status = "okay";
1124};
1125
1126&pcie4_port0 {
1127	wifi@0 {
1128		compatible = "pci17cb,1107";
1129		reg = <0x10000 0x0 0x0 0x0 0x0>;
1130
1131		vddaon-supply = <&vreg_pmu_aon_0p59>;
1132		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1133		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1134		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1135		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1136		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1137		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1138		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
1139		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
1140	};
1141};
1142
1143&pcie6a {
1144	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
1145	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
1146
1147	vddpe-3v3-supply = <&vreg_nvme>;
1148
1149	pinctrl-0 = <&pcie6a_default>;
1150	pinctrl-names = "default";
1151
1152	status = "okay";
1153};
1154
1155&pcie6a_phy {
1156	vdda-phy-supply = <&vreg_l1d>;
1157	vdda-pll-supply = <&vreg_l2j>;
1158
1159	status = "okay";
1160};
1161
1162&pm8550_gpios {
1163	rtmr0_default: rtmr0-reset-n-active-state {
1164		pins = "gpio10";
1165		function = "normal";
1166		power-source = <1>; /* 1.8V */
1167	};
1168
1169	rtmr0_3p3_reg_en: rtmr0-3p3-reg-en-state {
1170		pins = "gpio11";
1171		function = "normal";
1172		power-source = <1>; /* 1.8V */
1173	};
1174};
1175
1176&pm8550ve_9_gpios {
1177	rtmr0_1p8_reg_en: rtmr0-1p8-reg-en-state {
1178		pins = "gpio8";
1179		function = "normal";
1180		power-source = <1>; /* 1.8V */
1181	};
1182};
1183
1184&pmc8380_3_gpios {
1185	edp_bl_en: edp-bl-en-state {
1186		pins = "gpio4";
1187		function = "normal";
1188		power-source = <1>; /* 1.8V */
1189		input-disable;
1190		output-enable;
1191	};
1192};
1193
1194&pmc8380_5_gpios {
1195	rtmr0_1p15_reg_en: rtmr0-1p15-reg-en-state {
1196		pins = "gpio8";
1197		function = "normal";
1198		power-source = <1>; /* 1.8V */
1199	};
1200};
1201
1202&pmk8550_pwm {
1203	status = "okay";
1204};
1205
1206&pmk8550_gpios {
1207	edp_bl_pwm: edp-bl-pwm-state {
1208		pins = "gpio5";
1209		function = "func3";
1210	};
1211};
1212
1213&qupv3_0 {
1214	status = "okay";
1215};
1216
1217&qupv3_1 {
1218	status = "okay";
1219};
1220
1221&qupv3_2 {
1222	status = "okay";
1223};
1224
1225&remoteproc_adsp {
1226	firmware-name = "qcom/x1e80100/microsoft/Romulus/qcadsp8380.mbn",
1227			"qcom/x1e80100/microsoft/Romulus/adsp_dtbs.elf";
1228
1229	status = "okay";
1230};
1231
1232&remoteproc_cdsp {
1233	firmware-name = "qcom/x1e80100/microsoft/Romulus/qccdsp8380.mbn",
1234			"qcom/x1e80100/microsoft/Romulus/cdsp_dtbs.elf";
1235
1236	status = "okay";
1237};
1238
1239&smb2360_0 {
1240	status = "okay";
1241};
1242
1243&smb2360_0_eusb2_repeater {
1244	vdd18-supply = <&vreg_l3d>;
1245	vdd3-supply = <&vreg_l2b>;
1246};
1247
1248&smb2360_1 {
1249	status = "okay";
1250};
1251
1252&smb2360_1_eusb2_repeater {
1253	vdd18-supply = <&vreg_l3d>;
1254	vdd3-supply = <&vreg_l14b>;
1255};
1256
1257&smb2360_2 {
1258	status = "okay";
1259};
1260
1261&smb2360_2_eusb2_repeater {
1262	vdd18-supply = <&vreg_l3d>;
1263	vdd3-supply = <&vreg_l8b>;
1264};
1265
1266&swr0 {
1267	pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
1268	pinctrl-names = "default";
1269
1270	status = "okay";
1271
1272	/* WSA8845, Left speaker */
1273	left_spkr: speaker@0,0 {
1274		compatible = "sdw20217020400";
1275		reg = <0 0>;
1276		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1277		#sound-dai-cells = <0>;
1278		sound-name-prefix = "SpkrLeft";
1279		vdd-1p8-supply = <&vreg_l15b>;
1280		vdd-io-supply = <&vreg_l12b>;
1281		qcom,port-mapping = <1 2 3 7 10 13>;
1282	};
1283
1284	/* WSA8845, Right speaker */
1285	right_spkr: speaker@0,1 {
1286		compatible = "sdw20217020400";
1287		reg = <0 1>;
1288		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
1289		#sound-dai-cells = <0>;
1290		sound-name-prefix = "SpkrRight";
1291		vdd-1p8-supply = <&vreg_l15b>;
1292		vdd-io-supply = <&vreg_l12b>;
1293		qcom,port-mapping = <4 5 6 7 11 13>;
1294	};
1295};
1296
1297&swr1 {
1298	status = "okay";
1299
1300	/* WCD9385 RX */
1301	wcd_rx: codec@0,4 {
1302		compatible = "sdw20217010d00";
1303		reg = <0 4>;
1304		qcom,rx-port-mapping = <1 2 3 4 5>;
1305	};
1306};
1307
1308&swr2 {
1309	status = "okay";
1310
1311	/* WCD9385 TX */
1312	wcd_tx: codec@0,3 {
1313		compatible = "sdw20217010d00";
1314		reg = <0 3>;
1315		qcom,tx-port-mapping = <2 2 3 4>;
1316	};
1317};
1318
1319&tlmm {
1320	gpio-reserved-ranges = <44 4>, /* SPI (TPM) */
1321			       <238 1>; /* UFS Reset */
1322
1323	hall_int_n_default: hall-int-n-state {
1324		pins = "gpio2";
1325		function = "gpio";
1326		bias-disable;
1327	};
1328
1329	nvme_reg_en: nvme-reg-en-state {
1330		pins = "gpio18";
1331		function = "gpio";
1332		drive-strength = <2>;
1333		bias-disable;
1334	};
1335
1336	edp_reg_en: edp-reg-en-state {
1337		pins = "gpio70";
1338		function = "gpio";
1339		drive-strength = <16>;
1340		bias-disable;
1341	};
1342
1343	ssam_state: ssam-state-state {
1344		pins = "gpio91";
1345		function = "gpio";
1346		bias-disable;
1347	};
1348
1349	wcn_wlan_bt_en: wcn-wlan-bt-en-state {
1350		pins = "gpio116", "gpio117";
1351		function = "gpio";
1352		drive-strength = <2>;
1353		bias-disable;
1354	};
1355
1356	pcie3_default: pcie3-default-state {
1357		perst-n-pins {
1358			pins = "gpio143";
1359			function = "gpio";
1360			drive-strength = <2>;
1361			bias-disable;
1362		};
1363
1364		clkreq-n-pins {
1365			pins = "gpio144";
1366			function = "pcie3_clk";
1367			drive-strength = <2>;
1368			bias-pull-up;
1369		};
1370
1371		wake-n-pins {
1372			pins = "gpio145";
1373			function = "gpio";
1374			drive-strength = <2>;
1375			bias-pull-up;
1376		};
1377	};
1378
1379	pcie6a_default: pcie6a-default-state {
1380		perst-n-pins {
1381			pins = "gpio152";
1382			function = "gpio";
1383			drive-strength = <2>;
1384			bias-disable;
1385		};
1386
1387		clkreq-n-pins {
1388			pins = "gpio153";
1389			function = "pcie6a_clk";
1390			drive-strength = <2>;
1391			bias-pull-up;
1392		};
1393
1394		wake-n-pins {
1395			pins = "gpio154";
1396			function = "gpio";
1397			drive-strength = <2>;
1398			bias-pull-up;
1399		};
1400	};
1401
1402	rtmr1_1p8_reg_en: rtmr1-1p8-reg-en-state {
1403		pins = "gpio175";
1404		function = "gpio";
1405		drive-strength = <2>;
1406		bias-disable;
1407	};
1408
1409	rtmr1_3p3_reg_en: rtmr1-3p3-reg-en-state {
1410		pins = "gpio186";
1411		function = "gpio";
1412		drive-strength = <2>;
1413		bias-disable;
1414	};
1415
1416	rtmr1_1p15_reg_en: rtmr1-1p15-reg-en-state {
1417		pins = "gpio188";
1418		function = "gpio";
1419		drive-strength = <2>;
1420		bias-disable;
1421	};
1422
1423	wcd_default: wcd-reset-n-active-state {
1424		pins = "gpio191";
1425		function = "gpio";
1426		drive-strength = <16>;
1427		bias-disable;
1428		output-low;
1429	};
1430
1431	wcn_sw_en: wcn-sw-en-state {
1432		pins = "gpio214";
1433		function = "gpio";
1434		drive-strength = <2>;
1435		bias-disable;
1436	};
1437
1438	cam_indicator_en: cam-indicator-en-state {
1439		pins = "gpio225";
1440		function = "gpio";
1441		drive-strength = <2>;
1442		bias-disable;
1443	};
1444};
1445
1446&uart2 {
1447	status = "okay";
1448
1449	embedded-controller {
1450		compatible = "microsoft,surface-sam";
1451
1452		interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
1453
1454		current-speed = <4000000>;
1455
1456		pinctrl-0 = <&ssam_state>;
1457		pinctrl-names = "default";
1458	};
1459};
1460
1461&uart14 {
1462	status = "okay";
1463
1464	bluetooth {
1465		compatible = "qcom,wcn7850-bt";
1466		max-speed = <3200000>;
1467
1468		vddaon-supply = <&vreg_pmu_aon_0p59>;
1469		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1470		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1471		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1472		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1473		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1474		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1475	};
1476};
1477
1478&usb_1_ss0_hsphy {
1479	vdd-supply = <&vreg_l3j>;
1480	vdda12-supply = <&vreg_l2j>;
1481
1482	phys = <&smb2360_0_eusb2_repeater>;
1483
1484	status = "okay";
1485};
1486
1487&usb_1_ss0_qmpphy {
1488	vdda-phy-supply = <&vreg_l2j>;
1489	vdda-pll-supply = <&vreg_l1j>;
1490
1491	status = "okay";
1492};
1493
1494&usb_1_ss0 {
1495	status = "okay";
1496};
1497
1498&usb_1_ss0_dwc3 {
1499	dr_mode = "host";
1500};
1501
1502&usb_1_ss0_dwc3_hs {
1503	remote-endpoint = <&pmic_glink_ss0_hs_in>;
1504};
1505
1506&usb_1_ss0_qmpphy_out {
1507	remote-endpoint = <&retimer_ss0_ss_in>;
1508};
1509
1510&usb_1_ss1_hsphy {
1511	vdd-supply = <&vreg_l3j>;
1512	vdda12-supply = <&vreg_l2j>;
1513
1514	phys = <&smb2360_1_eusb2_repeater>;
1515
1516	status = "okay";
1517};
1518
1519&usb_1_ss1_qmpphy {
1520	vdda-phy-supply = <&vreg_l2j>;
1521	vdda-pll-supply = <&vreg_l2d>;
1522
1523	status = "okay";
1524};
1525
1526&usb_1_ss1 {
1527	status = "okay";
1528};
1529
1530&usb_1_ss1_dwc3 {
1531	dr_mode = "host";
1532};
1533
1534&usb_1_ss1_dwc3_hs {
1535	remote-endpoint = <&pmic_glink_ss1_hs_in>;
1536};
1537
1538&usb_1_ss1_qmpphy_out {
1539	remote-endpoint = <&retimer_ss1_ss_in>;
1540};
1541
1542/* MP0 goes to the Surface Connector, MP1 goes to the USB-A port */
1543&usb_mp {
1544	status = "okay";
1545};
1546
1547&usb_mp_hsphy0 {
1548	vdd-supply = <&vreg_l2e>;
1549	vdda12-supply = <&vreg_l2j>;
1550
1551	phys = <&smb2360_2_eusb2_repeater>;
1552
1553	status = "okay";
1554};
1555
1556&usb_mp_hsphy1 {
1557	vdd-supply = <&vreg_l2e>;
1558	vdda12-supply = <&vreg_l2j>;
1559
1560	phys = <&ptn3222>;
1561
1562	status = "okay";
1563};
1564
1565&usb_mp_qmpphy0 {
1566	vdda-phy-supply = <&vreg_l3e>;
1567	vdda-pll-supply = <&vreg_l3c>;
1568
1569	status = "okay";
1570};
1571
1572&usb_mp_qmpphy1 {
1573	vdda-phy-supply = <&vreg_l3e>;
1574	vdda-pll-supply = <&vreg_l3c>;
1575
1576	status = "okay";
1577};
~/ Read-only file preview.