File Index
Files and directories
Sign in
FILE

x1-dell-thena.dtsi

File preview with syntax highlighting.

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