xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1e80100-crd.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
28d13bc63SEmmanuel Vadot/*
38d13bc63SEmmanuel Vadot * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
48d13bc63SEmmanuel Vadot */
58d13bc63SEmmanuel Vadot
68d13bc63SEmmanuel Vadot/dts-v1/;
78d13bc63SEmmanuel Vadot
88d13bc63SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9*b2d2a78aSEmmanuel Vadot#include <dt-bindings/input/gpio-keys.h>
10*b2d2a78aSEmmanuel Vadot#include <dt-bindings/input/input.h>
118d13bc63SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
128d13bc63SEmmanuel Vadot
138d13bc63SEmmanuel Vadot#include "x1e80100.dtsi"
147d0873ebSEmmanuel Vadot#include "x1e80100-pmics.dtsi"
158d13bc63SEmmanuel Vadot
168d13bc63SEmmanuel Vadot/ {
178d13bc63SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. X1E80100 CRD";
188d13bc63SEmmanuel Vadot	compatible = "qcom,x1e80100-crd", "qcom,x1e80100";
198d13bc63SEmmanuel Vadot
208d13bc63SEmmanuel Vadot	aliases {
218d13bc63SEmmanuel Vadot		serial0 = &uart21;
228d13bc63SEmmanuel Vadot	};
238d13bc63SEmmanuel Vadot
2401950c46SEmmanuel Vadot	wcd938x: audio-codec {
2501950c46SEmmanuel Vadot		compatible = "qcom,wcd9385-codec";
2601950c46SEmmanuel Vadot
2701950c46SEmmanuel Vadot		pinctrl-names = "default";
2801950c46SEmmanuel Vadot		pinctrl-0 = <&wcd_default>;
2901950c46SEmmanuel Vadot
3001950c46SEmmanuel Vadot		qcom,micbias1-microvolt = <1800000>;
3101950c46SEmmanuel Vadot		qcom,micbias2-microvolt = <1800000>;
3201950c46SEmmanuel Vadot		qcom,micbias3-microvolt = <1800000>;
3301950c46SEmmanuel Vadot		qcom,micbias4-microvolt = <1800000>;
3401950c46SEmmanuel Vadot		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
3501950c46SEmmanuel Vadot		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
3601950c46SEmmanuel Vadot		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
3701950c46SEmmanuel Vadot		qcom,rx-device = <&wcd_rx>;
3801950c46SEmmanuel Vadot		qcom,tx-device = <&wcd_tx>;
3901950c46SEmmanuel Vadot
4001950c46SEmmanuel Vadot		reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>;
4101950c46SEmmanuel Vadot
4201950c46SEmmanuel Vadot		vdd-buck-supply = <&vreg_l15b_1p8>;
4301950c46SEmmanuel Vadot		vdd-rxtx-supply = <&vreg_l15b_1p8>;
4401950c46SEmmanuel Vadot		vdd-io-supply = <&vreg_l15b_1p8>;
4501950c46SEmmanuel Vadot		vdd-mic-bias-supply = <&vreg_bob1>;
4601950c46SEmmanuel Vadot
4701950c46SEmmanuel Vadot		#sound-dai-cells = <1>;
4801950c46SEmmanuel Vadot	};
4901950c46SEmmanuel Vadot
508d13bc63SEmmanuel Vadot	chosen {
518d13bc63SEmmanuel Vadot		stdout-path = "serial0:115200n8";
528d13bc63SEmmanuel Vadot	};
538d13bc63SEmmanuel Vadot
54*b2d2a78aSEmmanuel Vadot	gpio-keys {
55*b2d2a78aSEmmanuel Vadot		compatible = "gpio-keys";
56*b2d2a78aSEmmanuel Vadot
57*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&hall_int_n_default>;
58*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
59*b2d2a78aSEmmanuel Vadot
60*b2d2a78aSEmmanuel Vadot		switch-lid {
61*b2d2a78aSEmmanuel Vadot			gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
62*b2d2a78aSEmmanuel Vadot			linux,input-type = <EV_SW>;
63*b2d2a78aSEmmanuel Vadot			linux,code = <SW_LID>;
64*b2d2a78aSEmmanuel Vadot			wakeup-source;
65*b2d2a78aSEmmanuel Vadot			wakeup-event-action = <EV_ACT_DEASSERTED>;
66*b2d2a78aSEmmanuel Vadot		};
67*b2d2a78aSEmmanuel Vadot	};
68*b2d2a78aSEmmanuel Vadot
690e8011faSEmmanuel Vadot	pmic-glink {
700e8011faSEmmanuel Vadot		compatible = "qcom,x1e80100-pmic-glink",
710e8011faSEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
720e8011faSEmmanuel Vadot			     "qcom,pmic-glink";
730e8011faSEmmanuel Vadot		#address-cells = <1>;
740e8011faSEmmanuel Vadot		#size-cells = <0>;
750e8011faSEmmanuel Vadot		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
760e8011faSEmmanuel Vadot				    <&tlmm 123 GPIO_ACTIVE_HIGH>,
770e8011faSEmmanuel Vadot				    <&tlmm 125 GPIO_ACTIVE_HIGH>;
780e8011faSEmmanuel Vadot
790e8011faSEmmanuel Vadot		/* Left-side rear port */
800e8011faSEmmanuel Vadot		connector@0 {
810e8011faSEmmanuel Vadot			compatible = "usb-c-connector";
820e8011faSEmmanuel Vadot			reg = <0>;
830e8011faSEmmanuel Vadot			power-role = "dual";
840e8011faSEmmanuel Vadot			data-role = "dual";
850e8011faSEmmanuel Vadot
860e8011faSEmmanuel Vadot			ports {
870e8011faSEmmanuel Vadot				#address-cells = <1>;
880e8011faSEmmanuel Vadot				#size-cells = <0>;
890e8011faSEmmanuel Vadot
900e8011faSEmmanuel Vadot				port@0 {
910e8011faSEmmanuel Vadot					reg = <0>;
920e8011faSEmmanuel Vadot
930e8011faSEmmanuel Vadot					pmic_glink_ss0_hs_in: endpoint {
940e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
950e8011faSEmmanuel Vadot					};
960e8011faSEmmanuel Vadot				};
970e8011faSEmmanuel Vadot
980e8011faSEmmanuel Vadot				port@1 {
990e8011faSEmmanuel Vadot					reg = <1>;
1000e8011faSEmmanuel Vadot
1010e8011faSEmmanuel Vadot					pmic_glink_ss0_ss_in: endpoint {
1020e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_qmpphy_out>;
1030e8011faSEmmanuel Vadot					};
1040e8011faSEmmanuel Vadot				};
1050e8011faSEmmanuel Vadot			};
1060e8011faSEmmanuel Vadot		};
1070e8011faSEmmanuel Vadot
1080e8011faSEmmanuel Vadot		/* Left-side front port */
1090e8011faSEmmanuel Vadot		connector@1 {
1100e8011faSEmmanuel Vadot			compatible = "usb-c-connector";
1110e8011faSEmmanuel Vadot			reg = <1>;
1120e8011faSEmmanuel Vadot			power-role = "dual";
1130e8011faSEmmanuel Vadot			data-role = "dual";
1140e8011faSEmmanuel Vadot
1150e8011faSEmmanuel Vadot			ports {
1160e8011faSEmmanuel Vadot				#address-cells = <1>;
1170e8011faSEmmanuel Vadot				#size-cells = <0>;
1180e8011faSEmmanuel Vadot
1190e8011faSEmmanuel Vadot				port@0 {
1200e8011faSEmmanuel Vadot					reg = <0>;
1210e8011faSEmmanuel Vadot
1220e8011faSEmmanuel Vadot					pmic_glink_ss1_hs_in: endpoint {
1230e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
1240e8011faSEmmanuel Vadot					};
1250e8011faSEmmanuel Vadot				};
1260e8011faSEmmanuel Vadot
1270e8011faSEmmanuel Vadot				port@1 {
1280e8011faSEmmanuel Vadot					reg = <1>;
1290e8011faSEmmanuel Vadot
1300e8011faSEmmanuel Vadot					pmic_glink_ss1_ss_in: endpoint {
1310e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_qmpphy_out>;
1320e8011faSEmmanuel Vadot					};
1330e8011faSEmmanuel Vadot				};
1340e8011faSEmmanuel Vadot			};
1350e8011faSEmmanuel Vadot		};
1360e8011faSEmmanuel Vadot
1370e8011faSEmmanuel Vadot		/* Right-side port */
1380e8011faSEmmanuel Vadot		connector@2 {
1390e8011faSEmmanuel Vadot			compatible = "usb-c-connector";
1400e8011faSEmmanuel Vadot			reg = <2>;
1410e8011faSEmmanuel Vadot			power-role = "dual";
1420e8011faSEmmanuel Vadot			data-role = "dual";
1430e8011faSEmmanuel Vadot
1440e8011faSEmmanuel Vadot			ports {
1450e8011faSEmmanuel Vadot				#address-cells = <1>;
1460e8011faSEmmanuel Vadot				#size-cells = <0>;
1470e8011faSEmmanuel Vadot
1480e8011faSEmmanuel Vadot				port@0 {
1490e8011faSEmmanuel Vadot					reg = <0>;
1500e8011faSEmmanuel Vadot
1510e8011faSEmmanuel Vadot					pmic_glink_ss2_hs_in: endpoint {
1520e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss2_dwc3_hs>;
1530e8011faSEmmanuel Vadot					};
1540e8011faSEmmanuel Vadot				};
1550e8011faSEmmanuel Vadot
1560e8011faSEmmanuel Vadot				port@1 {
1570e8011faSEmmanuel Vadot					reg = <1>;
1580e8011faSEmmanuel Vadot
1590e8011faSEmmanuel Vadot					pmic_glink_ss2_ss_in: endpoint {
1600e8011faSEmmanuel Vadot						remote-endpoint = <&usb_1_ss2_qmpphy_out>;
1610e8011faSEmmanuel Vadot					};
1620e8011faSEmmanuel Vadot				};
1630e8011faSEmmanuel Vadot			};
1640e8011faSEmmanuel Vadot		};
1650e8011faSEmmanuel Vadot	};
1660e8011faSEmmanuel Vadot
1677d0873ebSEmmanuel Vadot	reserved-memory {
1687d0873ebSEmmanuel Vadot		linux,cma {
1697d0873ebSEmmanuel Vadot			compatible = "shared-dma-pool";
1707d0873ebSEmmanuel Vadot			size = <0x0 0x8000000>;
1717d0873ebSEmmanuel Vadot			reusable;
1727d0873ebSEmmanuel Vadot			linux,cma-default;
1737d0873ebSEmmanuel Vadot		};
1747d0873ebSEmmanuel Vadot	};
1757d0873ebSEmmanuel Vadot
17601950c46SEmmanuel Vadot	sound {
17701950c46SEmmanuel Vadot		compatible = "qcom,x1e80100-sndcard";
17801950c46SEmmanuel Vadot		model = "X1E80100-CRD";
17901950c46SEmmanuel Vadot		audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
180*b2d2a78aSEmmanuel Vadot				"TweeterLeft IN", "WSA WSA_SPK2 OUT",
18101950c46SEmmanuel Vadot				"WooferRight IN", "WSA2 WSA_SPK2 OUT",
182*b2d2a78aSEmmanuel Vadot				"TweeterRight IN", "WSA2 WSA_SPK2 OUT",
18301950c46SEmmanuel Vadot				"IN1_HPHL", "HPHL_OUT",
18401950c46SEmmanuel Vadot				"IN2_HPHR", "HPHR_OUT",
18501950c46SEmmanuel Vadot				"AMIC2", "MIC BIAS2",
18601950c46SEmmanuel Vadot				"VA DMIC0", "MIC BIAS3",
18701950c46SEmmanuel Vadot				"VA DMIC1", "MIC BIAS3",
18801950c46SEmmanuel Vadot				"VA DMIC2", "MIC BIAS1",
18901950c46SEmmanuel Vadot				"VA DMIC3", "MIC BIAS1",
19001950c46SEmmanuel Vadot				"VA DMIC0", "VA MIC BIAS3",
19101950c46SEmmanuel Vadot				"VA DMIC1", "VA MIC BIAS3",
19201950c46SEmmanuel Vadot				"VA DMIC2", "VA MIC BIAS1",
19301950c46SEmmanuel Vadot				"VA DMIC3", "VA MIC BIAS1",
19401950c46SEmmanuel Vadot				"TX SWR_INPUT1", "ADC2_OUTPUT";
19501950c46SEmmanuel Vadot
19601950c46SEmmanuel Vadot		wcd-playback-dai-link {
19701950c46SEmmanuel Vadot			link-name = "WCD Playback";
19801950c46SEmmanuel Vadot
19901950c46SEmmanuel Vadot			cpu {
20001950c46SEmmanuel Vadot				sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
20101950c46SEmmanuel Vadot			};
20201950c46SEmmanuel Vadot
20301950c46SEmmanuel Vadot			codec {
20401950c46SEmmanuel Vadot				sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
20501950c46SEmmanuel Vadot			};
20601950c46SEmmanuel Vadot
20701950c46SEmmanuel Vadot			platform {
20801950c46SEmmanuel Vadot				sound-dai = <&q6apm>;
20901950c46SEmmanuel Vadot			};
21001950c46SEmmanuel Vadot		};
21101950c46SEmmanuel Vadot
21201950c46SEmmanuel Vadot		wcd-capture-dai-link {
21301950c46SEmmanuel Vadot			link-name = "WCD Capture";
21401950c46SEmmanuel Vadot
21501950c46SEmmanuel Vadot			cpu {
21601950c46SEmmanuel Vadot				sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
21701950c46SEmmanuel Vadot			};
21801950c46SEmmanuel Vadot
21901950c46SEmmanuel Vadot			codec {
2207d0873ebSEmmanuel Vadot				sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>;
22101950c46SEmmanuel Vadot			};
22201950c46SEmmanuel Vadot
22301950c46SEmmanuel Vadot			platform {
22401950c46SEmmanuel Vadot				sound-dai = <&q6apm>;
22501950c46SEmmanuel Vadot			};
22601950c46SEmmanuel Vadot		};
22701950c46SEmmanuel Vadot
22801950c46SEmmanuel Vadot		wsa-dai-link {
22901950c46SEmmanuel Vadot			link-name = "WSA Playback";
23001950c46SEmmanuel Vadot
23101950c46SEmmanuel Vadot			cpu {
23201950c46SEmmanuel Vadot				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
23301950c46SEmmanuel Vadot			};
23401950c46SEmmanuel Vadot
23501950c46SEmmanuel Vadot			codec {
23601950c46SEmmanuel Vadot				sound-dai = <&left_woofer>, <&left_tweeter>,
23701950c46SEmmanuel Vadot					    <&swr0 0>, <&lpass_wsamacro 0>,
23801950c46SEmmanuel Vadot					    <&right_woofer>, <&right_tweeter>,
23901950c46SEmmanuel Vadot					    <&swr3 0>, <&lpass_wsa2macro 0>;
24001950c46SEmmanuel Vadot			};
24101950c46SEmmanuel Vadot
24201950c46SEmmanuel Vadot			platform {
24301950c46SEmmanuel Vadot				sound-dai = <&q6apm>;
24401950c46SEmmanuel Vadot			};
24501950c46SEmmanuel Vadot		};
24601950c46SEmmanuel Vadot
24701950c46SEmmanuel Vadot		va-dai-link {
24801950c46SEmmanuel Vadot			link-name = "VA Capture";
24901950c46SEmmanuel Vadot
25001950c46SEmmanuel Vadot			cpu {
25101950c46SEmmanuel Vadot				sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
25201950c46SEmmanuel Vadot			};
25301950c46SEmmanuel Vadot
25401950c46SEmmanuel Vadot			codec {
25501950c46SEmmanuel Vadot				sound-dai = <&lpass_vamacro 0>;
25601950c46SEmmanuel Vadot			};
25701950c46SEmmanuel Vadot
25801950c46SEmmanuel Vadot			platform {
25901950c46SEmmanuel Vadot				sound-dai = <&q6apm>;
26001950c46SEmmanuel Vadot			};
26101950c46SEmmanuel Vadot		};
26201950c46SEmmanuel Vadot	};
26301950c46SEmmanuel Vadot
2648d13bc63SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
2658d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
2668d13bc63SEmmanuel Vadot
2678d13bc63SEmmanuel Vadot		regulator-name = "vph_pwr";
2688d13bc63SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
2698d13bc63SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
2708d13bc63SEmmanuel Vadot
2718d13bc63SEmmanuel Vadot		regulator-always-on;
2728d13bc63SEmmanuel Vadot		regulator-boot-on;
2738d13bc63SEmmanuel Vadot	};
2748d13bc63SEmmanuel Vadot
2758d13bc63SEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
2768d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
2778d13bc63SEmmanuel Vadot
2788d13bc63SEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
2798d13bc63SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2808d13bc63SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2818d13bc63SEmmanuel Vadot
2828d13bc63SEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
2838d13bc63SEmmanuel Vadot		enable-active-high;
2848d13bc63SEmmanuel Vadot
2858d13bc63SEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
2868d13bc63SEmmanuel Vadot		pinctrl-names = "default";
2878d13bc63SEmmanuel Vadot
2888d13bc63SEmmanuel Vadot		regulator-boot-on;
2898d13bc63SEmmanuel Vadot	};
2900e8011faSEmmanuel Vadot
2910e8011faSEmmanuel Vadot	vreg_nvme: regulator-nvme {
2920e8011faSEmmanuel Vadot		compatible = "regulator-fixed";
2930e8011faSEmmanuel Vadot
2940e8011faSEmmanuel Vadot		regulator-name = "VREG_NVME_3P3";
2950e8011faSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2960e8011faSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2970e8011faSEmmanuel Vadot
2980e8011faSEmmanuel Vadot		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
2990e8011faSEmmanuel Vadot		enable-active-high;
3000e8011faSEmmanuel Vadot
3010e8011faSEmmanuel Vadot		pinctrl-names = "default";
3020e8011faSEmmanuel Vadot		pinctrl-0 = <&nvme_reg_en>;
303*b2d2a78aSEmmanuel Vadot
304*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
305*b2d2a78aSEmmanuel Vadot	};
306*b2d2a78aSEmmanuel Vadot
307*b2d2a78aSEmmanuel Vadot	vreg_wwan: regulator-wwan {
308*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
309*b2d2a78aSEmmanuel Vadot
310*b2d2a78aSEmmanuel Vadot		regulator-name = "SDX_VPH_PWR";
311*b2d2a78aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
312*b2d2a78aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
313*b2d2a78aSEmmanuel Vadot
314*b2d2a78aSEmmanuel Vadot		gpio = <&tlmm 221 GPIO_ACTIVE_HIGH>;
315*b2d2a78aSEmmanuel Vadot		enable-active-high;
316*b2d2a78aSEmmanuel Vadot
317*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&wwan_sw_en>;
318*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
319*b2d2a78aSEmmanuel Vadot
320*b2d2a78aSEmmanuel Vadot		regulator-boot-on;
3210e8011faSEmmanuel Vadot	};
3228d13bc63SEmmanuel Vadot};
3238d13bc63SEmmanuel Vadot
3248d13bc63SEmmanuel Vadot&apps_rsc {
3258d13bc63SEmmanuel Vadot	regulators-0 {
3268d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
3278d13bc63SEmmanuel Vadot		qcom,pmic-id = "b";
3288d13bc63SEmmanuel Vadot
3298d13bc63SEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
3308d13bc63SEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
3318d13bc63SEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
3328d13bc63SEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
3338d13bc63SEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
3348d13bc63SEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob2>;
3358d13bc63SEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
3368d13bc63SEmmanuel Vadot		vdd-l12-supply = <&vreg_s5j_1p2>;
3378d13bc63SEmmanuel Vadot		vdd-l15-supply = <&vreg_s4c_1p8>;
3388d13bc63SEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
3398d13bc63SEmmanuel Vadot
3408d13bc63SEmmanuel Vadot		vreg_bob1: bob1 {
3418d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob1";
3428d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
3438d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3960000>;
3448d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3458d13bc63SEmmanuel Vadot		};
3468d13bc63SEmmanuel Vadot
3478d13bc63SEmmanuel Vadot		vreg_bob2: bob2 {
3488d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob2";
3498d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
3508d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
3518d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3528d13bc63SEmmanuel Vadot		};
3538d13bc63SEmmanuel Vadot
3548d13bc63SEmmanuel Vadot		vreg_l1b_1p8: ldo1 {
3558d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1b_1p8";
3568d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3578d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3588d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3598d13bc63SEmmanuel Vadot		};
3608d13bc63SEmmanuel Vadot
3618d13bc63SEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
3628d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
3638d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
3648d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3100000>;
3658d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3668d13bc63SEmmanuel Vadot		};
3678d13bc63SEmmanuel Vadot
3688d13bc63SEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
3698d13bc63SEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
3708d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3718d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3728d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3738d13bc63SEmmanuel Vadot		};
3748d13bc63SEmmanuel Vadot
3758d13bc63SEmmanuel Vadot		vreg_l5b_3p0: ldo5 {
3768d13bc63SEmmanuel Vadot			regulator-name = "vreg_l5b_3p0";
3778d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
3788d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
3798d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3808d13bc63SEmmanuel Vadot		};
3818d13bc63SEmmanuel Vadot
3828d13bc63SEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
3838d13bc63SEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
3848d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3858d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
3868d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3878d13bc63SEmmanuel Vadot		};
3888d13bc63SEmmanuel Vadot
3898d13bc63SEmmanuel Vadot		vreg_l7b_2p8: ldo7 {
3908d13bc63SEmmanuel Vadot			regulator-name = "vreg_l7b_2p8";
3918d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
3928d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
3938d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3948d13bc63SEmmanuel Vadot		};
3958d13bc63SEmmanuel Vadot
3968d13bc63SEmmanuel Vadot		vreg_l8b_3p0: ldo8 {
3978d13bc63SEmmanuel Vadot			regulator-name = "vreg_l8b_3p0";
3988d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
3998d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4008d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4018d13bc63SEmmanuel Vadot		};
4028d13bc63SEmmanuel Vadot
4038d13bc63SEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
4048d13bc63SEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
4058d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
4068d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
4078d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4088d13bc63SEmmanuel Vadot		};
4098d13bc63SEmmanuel Vadot
4108d13bc63SEmmanuel Vadot		vreg_l10b_1p8: ldo10 {
4118d13bc63SEmmanuel Vadot			regulator-name = "vreg_l10b_1p8";
4128d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4138d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4148d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4158d13bc63SEmmanuel Vadot		};
4168d13bc63SEmmanuel Vadot
4178d13bc63SEmmanuel Vadot		vreg_l12b_1p2: ldo12 {
4188d13bc63SEmmanuel Vadot			regulator-name = "vreg_l12b_1p2";
4198d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4208d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4218d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4228d13bc63SEmmanuel Vadot		};
4238d13bc63SEmmanuel Vadot
4248d13bc63SEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
4258d13bc63SEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
4268d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4278d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3100000>;
4288d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4298d13bc63SEmmanuel Vadot		};
4308d13bc63SEmmanuel Vadot
4318d13bc63SEmmanuel Vadot		vreg_l14b_3p0: ldo14 {
4328d13bc63SEmmanuel Vadot			regulator-name = "vreg_l14b_3p0";
4338d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4348d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4358d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4368d13bc63SEmmanuel Vadot		};
4378d13bc63SEmmanuel Vadot
4388d13bc63SEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
4398d13bc63SEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
4408d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4418d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4428d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4438d13bc63SEmmanuel Vadot		};
4448d13bc63SEmmanuel Vadot
4458d13bc63SEmmanuel Vadot		vreg_l16b_2p9: ldo16 {
4468d13bc63SEmmanuel Vadot			regulator-name = "vreg_l16b_2p9";
4478d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2912000>;
4488d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2912000>;
4498d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4508d13bc63SEmmanuel Vadot		};
4518d13bc63SEmmanuel Vadot
4528d13bc63SEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
4538d13bc63SEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
4548d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
4558d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
4568d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4578d13bc63SEmmanuel Vadot		};
4588d13bc63SEmmanuel Vadot	};
4598d13bc63SEmmanuel Vadot
4608d13bc63SEmmanuel Vadot	regulators-1 {
4618d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
4628d13bc63SEmmanuel Vadot		qcom,pmic-id = "c";
4638d13bc63SEmmanuel Vadot
4648d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
4658d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
4668d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
4678d13bc63SEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
4688d13bc63SEmmanuel Vadot
4698d13bc63SEmmanuel Vadot		vreg_s4c_1p8: smps4 {
4708d13bc63SEmmanuel Vadot			regulator-name = "vreg_s4c_1p8";
4718d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
4728d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
4738d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4748d13bc63SEmmanuel Vadot		};
4758d13bc63SEmmanuel Vadot
4768d13bc63SEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
4778d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
4788d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4798d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4808d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4818d13bc63SEmmanuel Vadot		};
4828d13bc63SEmmanuel Vadot
4838d13bc63SEmmanuel Vadot		vreg_l2c_0p8: ldo2 {
4848d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2c_0p8";
4858d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
4868d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
4878d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4888d13bc63SEmmanuel Vadot		};
4898d13bc63SEmmanuel Vadot
4908d13bc63SEmmanuel Vadot		vreg_l3c_0p8: ldo3 {
4918d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3c_0p8";
4928d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
4938d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
4948d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4958d13bc63SEmmanuel Vadot		};
4968d13bc63SEmmanuel Vadot	};
4978d13bc63SEmmanuel Vadot
4988d13bc63SEmmanuel Vadot	regulators-2 {
4998d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5008d13bc63SEmmanuel Vadot		qcom,pmic-id = "d";
5018d13bc63SEmmanuel Vadot
5028d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
5038d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
5048d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s4c_1p8>;
5058d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
5068d13bc63SEmmanuel Vadot
5078d13bc63SEmmanuel Vadot		vreg_l1d_0p8: ldo1 {
5088d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1d_0p8";
5098d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
5108d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
5118d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5128d13bc63SEmmanuel Vadot		};
5138d13bc63SEmmanuel Vadot
5148d13bc63SEmmanuel Vadot		vreg_l2d_0p9: ldo2 {
5158d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2d_0p9";
5168d13bc63SEmmanuel Vadot			regulator-min-microvolt = <912000>;
5178d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
5188d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5198d13bc63SEmmanuel Vadot		};
5208d13bc63SEmmanuel Vadot
5218d13bc63SEmmanuel Vadot		vreg_l3d_1p8: ldo3 {
5228d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3d_1p8";
5238d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5248d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5258d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5268d13bc63SEmmanuel Vadot		};
5278d13bc63SEmmanuel Vadot	};
5288d13bc63SEmmanuel Vadot
5298d13bc63SEmmanuel Vadot	regulators-3 {
5308d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5318d13bc63SEmmanuel Vadot		qcom,pmic-id = "e";
5328d13bc63SEmmanuel Vadot
5338d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
5348d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
5358d13bc63SEmmanuel Vadot
5368d13bc63SEmmanuel Vadot		vreg_l2e_0p8: ldo2 {
5378d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2e_0p8";
5388d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
5398d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
5408d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5418d13bc63SEmmanuel Vadot		};
5428d13bc63SEmmanuel Vadot
5438d13bc63SEmmanuel Vadot		vreg_l3e_1p2: ldo3 {
5448d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3e_1p2";
5458d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5468d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5478d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5488d13bc63SEmmanuel Vadot		};
5498d13bc63SEmmanuel Vadot	};
5508d13bc63SEmmanuel Vadot
5518d13bc63SEmmanuel Vadot	regulators-4 {
5528d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5538d13bc63SEmmanuel Vadot		qcom,pmic-id = "f";
5548d13bc63SEmmanuel Vadot
5558d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
5568d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
5578d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
5588d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
5598d13bc63SEmmanuel Vadot
5608d13bc63SEmmanuel Vadot		vreg_s1f_0p7: smps1 {
5618d13bc63SEmmanuel Vadot			regulator-name = "vreg_s1f_0p7";
5628d13bc63SEmmanuel Vadot			regulator-min-microvolt = <700000>;
5638d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
5648d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5658d13bc63SEmmanuel Vadot		};
5668d13bc63SEmmanuel Vadot
5678d13bc63SEmmanuel Vadot		vreg_l1f_1p0: ldo1 {
5688d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1f_1p0";
5698d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
5708d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
5718d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5728d13bc63SEmmanuel Vadot		};
5738d13bc63SEmmanuel Vadot
5748d13bc63SEmmanuel Vadot		vreg_l2f_1p0: ldo2 {
5758d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2f_1p0";
5768d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
5778d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
5788d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5798d13bc63SEmmanuel Vadot		};
5808d13bc63SEmmanuel Vadot
5818d13bc63SEmmanuel Vadot		vreg_l3f_1p0: ldo3 {
5828d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3f_1p0";
5838d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
5848d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
5858d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5868d13bc63SEmmanuel Vadot		};
5878d13bc63SEmmanuel Vadot	};
5888d13bc63SEmmanuel Vadot
5898d13bc63SEmmanuel Vadot	regulators-6 {
5908d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
5918d13bc63SEmmanuel Vadot		qcom,pmic-id = "i";
5928d13bc63SEmmanuel Vadot
5938d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s4c_1p8>;
5948d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
5958d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
5968d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
5978d13bc63SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
5988d13bc63SEmmanuel Vadot
5998d13bc63SEmmanuel Vadot		vreg_s1i_0p9: smps1 {
6008d13bc63SEmmanuel Vadot			regulator-name = "vreg_s1i_0p9";
6018d13bc63SEmmanuel Vadot			regulator-min-microvolt = <900000>;
6028d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
6038d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6048d13bc63SEmmanuel Vadot		};
6058d13bc63SEmmanuel Vadot
6068d13bc63SEmmanuel Vadot		vreg_s2i_1p0: smps2 {
6078d13bc63SEmmanuel Vadot			regulator-name = "vreg_s2i_1p0";
6088d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
6098d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
6108d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6118d13bc63SEmmanuel Vadot		};
6128d13bc63SEmmanuel Vadot
6138d13bc63SEmmanuel Vadot		vreg_l1i_1p8: ldo1 {
6148d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1i_1p8";
6158d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6168d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6178d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6188d13bc63SEmmanuel Vadot		};
6198d13bc63SEmmanuel Vadot
6208d13bc63SEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
6218d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
6228d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
6238d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
6248d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6258d13bc63SEmmanuel Vadot		};
6268d13bc63SEmmanuel Vadot
6278d13bc63SEmmanuel Vadot		vreg_l3i_0p8: ldo3 {
6288d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3i_0p8";
6298d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
6308d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
6318d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6328d13bc63SEmmanuel Vadot		};
6338d13bc63SEmmanuel Vadot	};
6348d13bc63SEmmanuel Vadot
6358d13bc63SEmmanuel Vadot	regulators-7 {
6368d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
6378d13bc63SEmmanuel Vadot		qcom,pmic-id = "j";
6388d13bc63SEmmanuel Vadot
6398d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
6408d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
6418d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
6428d13bc63SEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
6438d13bc63SEmmanuel Vadot
6448d13bc63SEmmanuel Vadot		vreg_s5j_1p2: smps5 {
6458d13bc63SEmmanuel Vadot			regulator-name = "vreg_s5j_1p2";
6468d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1256000>;
6478d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
6488d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6498d13bc63SEmmanuel Vadot		};
6508d13bc63SEmmanuel Vadot
6518d13bc63SEmmanuel Vadot		vreg_l1j_0p8: ldo1 {
6528d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1j_0p8";
6538d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
6548d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
6558d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6568d13bc63SEmmanuel Vadot		};
6578d13bc63SEmmanuel Vadot
6588d13bc63SEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
6598d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
6608d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
6618d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
6628d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6638d13bc63SEmmanuel Vadot		};
6648d13bc63SEmmanuel Vadot
6658d13bc63SEmmanuel Vadot		vreg_l3j_0p8: ldo3 {
6668d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3j_0p8";
6678d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
6688d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
6698d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6708d13bc63SEmmanuel Vadot		};
6718d13bc63SEmmanuel Vadot	};
6728d13bc63SEmmanuel Vadot};
6738d13bc63SEmmanuel Vadot
6740e8011faSEmmanuel Vadot&gpu {
6750e8011faSEmmanuel Vadot	status = "okay";
6760e8011faSEmmanuel Vadot
6770e8011faSEmmanuel Vadot	zap-shader {
6780e8011faSEmmanuel Vadot		firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
6790e8011faSEmmanuel Vadot	};
6800e8011faSEmmanuel Vadot};
6810e8011faSEmmanuel Vadot
68201950c46SEmmanuel Vadot&i2c0 {
68301950c46SEmmanuel Vadot	clock-frequency = <400000>;
68401950c46SEmmanuel Vadot
68501950c46SEmmanuel Vadot	status = "okay";
68601950c46SEmmanuel Vadot
68701950c46SEmmanuel Vadot	touchpad@15 {
68801950c46SEmmanuel Vadot		compatible = "hid-over-i2c";
68901950c46SEmmanuel Vadot		reg = <0x15>;
69001950c46SEmmanuel Vadot
69101950c46SEmmanuel Vadot		hid-descr-addr = <0x1>;
69201950c46SEmmanuel Vadot		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
69301950c46SEmmanuel Vadot
69401950c46SEmmanuel Vadot		pinctrl-0 = <&tpad_default>;
69501950c46SEmmanuel Vadot		pinctrl-names = "default";
69601950c46SEmmanuel Vadot
69701950c46SEmmanuel Vadot		wakeup-source;
69801950c46SEmmanuel Vadot	};
69901950c46SEmmanuel Vadot
70001950c46SEmmanuel Vadot	keyboard@3a {
70101950c46SEmmanuel Vadot		compatible = "hid-over-i2c";
70201950c46SEmmanuel Vadot		reg = <0x3a>;
70301950c46SEmmanuel Vadot
70401950c46SEmmanuel Vadot		hid-descr-addr = <0x1>;
70501950c46SEmmanuel Vadot		interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
70601950c46SEmmanuel Vadot
70701950c46SEmmanuel Vadot		pinctrl-0 = <&kybd_default>;
70801950c46SEmmanuel Vadot		pinctrl-names = "default";
70901950c46SEmmanuel Vadot
71001950c46SEmmanuel Vadot		wakeup-source;
71101950c46SEmmanuel Vadot	};
71201950c46SEmmanuel Vadot};
71301950c46SEmmanuel Vadot
71401950c46SEmmanuel Vadot&i2c8 {
71501950c46SEmmanuel Vadot	clock-frequency = <400000>;
71601950c46SEmmanuel Vadot
71701950c46SEmmanuel Vadot	status = "okay";
71801950c46SEmmanuel Vadot
71901950c46SEmmanuel Vadot	touchscreen@10 {
72001950c46SEmmanuel Vadot		compatible = "hid-over-i2c";
72101950c46SEmmanuel Vadot		reg = <0x10>;
72201950c46SEmmanuel Vadot
72301950c46SEmmanuel Vadot		hid-descr-addr = <0x1>;
72401950c46SEmmanuel Vadot		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
72501950c46SEmmanuel Vadot
72601950c46SEmmanuel Vadot		pinctrl-0 = <&ts0_default>;
72701950c46SEmmanuel Vadot		pinctrl-names = "default";
72801950c46SEmmanuel Vadot	};
72901950c46SEmmanuel Vadot};
73001950c46SEmmanuel Vadot
73101950c46SEmmanuel Vadot&lpass_tlmm {
73201950c46SEmmanuel Vadot	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
73301950c46SEmmanuel Vadot		pins = "gpio12";
73401950c46SEmmanuel Vadot		function = "gpio";
73501950c46SEmmanuel Vadot		drive-strength = <16>;
73601950c46SEmmanuel Vadot		bias-disable;
73701950c46SEmmanuel Vadot		output-low;
73801950c46SEmmanuel Vadot	};
73901950c46SEmmanuel Vadot
74001950c46SEmmanuel Vadot	spkr_23_sd_n_active: spkr-23-sd-n-active-state {
74101950c46SEmmanuel Vadot		pins = "gpio13";
74201950c46SEmmanuel Vadot		function = "gpio";
74301950c46SEmmanuel Vadot		drive-strength = <16>;
74401950c46SEmmanuel Vadot		bias-disable;
74501950c46SEmmanuel Vadot		output-low;
74601950c46SEmmanuel Vadot	};
74701950c46SEmmanuel Vadot};
74801950c46SEmmanuel Vadot
74901950c46SEmmanuel Vadot&lpass_vamacro {
75001950c46SEmmanuel Vadot	pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
75101950c46SEmmanuel Vadot	pinctrl-names = "default";
75201950c46SEmmanuel Vadot
75301950c46SEmmanuel Vadot	vdd-micb-supply = <&vreg_l1b_1p8>;
75401950c46SEmmanuel Vadot	qcom,dmic-sample-rate = <4800000>;
75501950c46SEmmanuel Vadot};
75601950c46SEmmanuel Vadot
75701950c46SEmmanuel Vadot&mdss {
75801950c46SEmmanuel Vadot	status = "okay";
75901950c46SEmmanuel Vadot};
76001950c46SEmmanuel Vadot
76101950c46SEmmanuel Vadot&mdss_dp3 {
76201950c46SEmmanuel Vadot	compatible = "qcom,x1e80100-dp";
76301950c46SEmmanuel Vadot	/delete-property/ #sound-dai-cells;
76401950c46SEmmanuel Vadot
76501950c46SEmmanuel Vadot	status = "okay";
76601950c46SEmmanuel Vadot
76701950c46SEmmanuel Vadot	aux-bus {
76801950c46SEmmanuel Vadot		panel {
7690e8011faSEmmanuel Vadot			compatible = "samsung,atna45af01", "samsung,atna33xc20";
7700e8011faSEmmanuel Vadot			enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
77101950c46SEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
77201950c46SEmmanuel Vadot
7730e8011faSEmmanuel Vadot			pinctrl-0 = <&edp_bl_en>;
7740e8011faSEmmanuel Vadot			pinctrl-names = "default";
7750e8011faSEmmanuel Vadot
77601950c46SEmmanuel Vadot			port {
77701950c46SEmmanuel Vadot				edp_panel_in: endpoint {
77801950c46SEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
77901950c46SEmmanuel Vadot				};
78001950c46SEmmanuel Vadot			};
78101950c46SEmmanuel Vadot		};
78201950c46SEmmanuel Vadot	};
78301950c46SEmmanuel Vadot
78401950c46SEmmanuel Vadot	ports {
78501950c46SEmmanuel Vadot		port@1 {
78601950c46SEmmanuel Vadot			reg = <1>;
78701950c46SEmmanuel Vadot			mdss_dp3_out: endpoint {
7887d0873ebSEmmanuel Vadot				data-lanes = <0 1 2 3>;
7897d0873ebSEmmanuel Vadot				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
7907d0873ebSEmmanuel Vadot
79101950c46SEmmanuel Vadot				remote-endpoint = <&edp_panel_in>;
79201950c46SEmmanuel Vadot			};
79301950c46SEmmanuel Vadot		};
79401950c46SEmmanuel Vadot	};
79501950c46SEmmanuel Vadot};
79601950c46SEmmanuel Vadot
79701950c46SEmmanuel Vadot&mdss_dp3_phy {
79801950c46SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
79901950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
80001950c46SEmmanuel Vadot
80101950c46SEmmanuel Vadot	status = "okay";
80201950c46SEmmanuel Vadot};
80301950c46SEmmanuel Vadot
80401950c46SEmmanuel Vadot&pcie4 {
8050e8011faSEmmanuel Vadot	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
8060e8011faSEmmanuel Vadot	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
8070e8011faSEmmanuel Vadot
8080e8011faSEmmanuel Vadot	pinctrl-0 = <&pcie4_default>;
8090e8011faSEmmanuel Vadot	pinctrl-names = "default";
8100e8011faSEmmanuel Vadot
81101950c46SEmmanuel Vadot	status = "okay";
81201950c46SEmmanuel Vadot};
81301950c46SEmmanuel Vadot
81401950c46SEmmanuel Vadot&pcie4_phy {
8150e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
81601950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
81701950c46SEmmanuel Vadot
81801950c46SEmmanuel Vadot	status = "okay";
81901950c46SEmmanuel Vadot};
82001950c46SEmmanuel Vadot
821*b2d2a78aSEmmanuel Vadot&pcie5 {
822*b2d2a78aSEmmanuel Vadot	perst-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
823*b2d2a78aSEmmanuel Vadot	wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
824*b2d2a78aSEmmanuel Vadot
825*b2d2a78aSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_wwan>;
826*b2d2a78aSEmmanuel Vadot
827*b2d2a78aSEmmanuel Vadot	pinctrl-0 = <&pcie5_default>;
828*b2d2a78aSEmmanuel Vadot	pinctrl-names = "default";
829*b2d2a78aSEmmanuel Vadot
830*b2d2a78aSEmmanuel Vadot	status = "okay";
831*b2d2a78aSEmmanuel Vadot};
832*b2d2a78aSEmmanuel Vadot
833*b2d2a78aSEmmanuel Vadot&pcie5_phy {
834*b2d2a78aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
835*b2d2a78aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
836*b2d2a78aSEmmanuel Vadot
837*b2d2a78aSEmmanuel Vadot	status = "okay";
838*b2d2a78aSEmmanuel Vadot};
839*b2d2a78aSEmmanuel Vadot
84001950c46SEmmanuel Vadot&pcie6a {
8410e8011faSEmmanuel Vadot	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
8420e8011faSEmmanuel Vadot	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
8430e8011faSEmmanuel Vadot
8440e8011faSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_nvme>;
8450e8011faSEmmanuel Vadot
8460e8011faSEmmanuel Vadot	pinctrl-names = "default";
8470e8011faSEmmanuel Vadot	pinctrl-0 = <&pcie6a_default>;
8480e8011faSEmmanuel Vadot
84901950c46SEmmanuel Vadot	status = "okay";
85001950c46SEmmanuel Vadot};
85101950c46SEmmanuel Vadot
85201950c46SEmmanuel Vadot&pcie6a_phy {
8530e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p8>;
85401950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
85501950c46SEmmanuel Vadot
85601950c46SEmmanuel Vadot	status = "okay";
85701950c46SEmmanuel Vadot};
85801950c46SEmmanuel Vadot
8590e8011faSEmmanuel Vadot&pmc8380_3_gpios {
8600e8011faSEmmanuel Vadot	edp_bl_en: edp-bl-en-state {
8610e8011faSEmmanuel Vadot		pins = "gpio4";
8620e8011faSEmmanuel Vadot		function = "normal";
8630e8011faSEmmanuel Vadot		power-source = <1>; /* 1.8V */
8640e8011faSEmmanuel Vadot		input-disable;
8650e8011faSEmmanuel Vadot		output-enable;
8660e8011faSEmmanuel Vadot	};
8670e8011faSEmmanuel Vadot};
8680e8011faSEmmanuel Vadot
86901950c46SEmmanuel Vadot&qupv3_0 {
87001950c46SEmmanuel Vadot	status = "okay";
87101950c46SEmmanuel Vadot};
87201950c46SEmmanuel Vadot
87301950c46SEmmanuel Vadot&qupv3_1 {
87401950c46SEmmanuel Vadot	status = "okay";
87501950c46SEmmanuel Vadot};
87601950c46SEmmanuel Vadot
8778d13bc63SEmmanuel Vadot&qupv3_2 {
8788d13bc63SEmmanuel Vadot	status = "okay";
8798d13bc63SEmmanuel Vadot};
8808d13bc63SEmmanuel Vadot
88101950c46SEmmanuel Vadot&remoteproc_adsp {
88201950c46SEmmanuel Vadot	firmware-name = "qcom/x1e80100/adsp.mbn",
88301950c46SEmmanuel Vadot			"qcom/x1e80100/adsp_dtb.mbn";
88401950c46SEmmanuel Vadot
88501950c46SEmmanuel Vadot	status = "okay";
88601950c46SEmmanuel Vadot};
88701950c46SEmmanuel Vadot
88801950c46SEmmanuel Vadot&remoteproc_cdsp {
88901950c46SEmmanuel Vadot	firmware-name = "qcom/x1e80100/cdsp.mbn",
89001950c46SEmmanuel Vadot			"qcom/x1e80100/cdsp_dtb.mbn";
89101950c46SEmmanuel Vadot
89201950c46SEmmanuel Vadot	status = "okay";
89301950c46SEmmanuel Vadot};
89401950c46SEmmanuel Vadot
8957d0873ebSEmmanuel Vadot&smb2360_0_eusb2_repeater {
8967d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
8977d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
8987d0873ebSEmmanuel Vadot};
8997d0873ebSEmmanuel Vadot
9007d0873ebSEmmanuel Vadot&smb2360_1_eusb2_repeater {
9017d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
9027d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
9037d0873ebSEmmanuel Vadot};
9047d0873ebSEmmanuel Vadot
905*b2d2a78aSEmmanuel Vadot&smb2360_2 {
906*b2d2a78aSEmmanuel Vadot	status = "okay";
907*b2d2a78aSEmmanuel Vadot};
908*b2d2a78aSEmmanuel Vadot
9097d0873ebSEmmanuel Vadot&smb2360_2_eusb2_repeater {
9107d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
9117d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l8b_3p0>;
9127d0873ebSEmmanuel Vadot};
9137d0873ebSEmmanuel Vadot
91401950c46SEmmanuel Vadot&swr0 {
91501950c46SEmmanuel Vadot	status = "okay";
91601950c46SEmmanuel Vadot
9177d0873ebSEmmanuel Vadot	pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
9187d0873ebSEmmanuel Vadot	pinctrl-names = "default";
9197d0873ebSEmmanuel Vadot
92001950c46SEmmanuel Vadot	/* WSA8845, Left Woofer */
92101950c46SEmmanuel Vadot	left_woofer: speaker@0,0 {
92201950c46SEmmanuel Vadot		compatible = "sdw20217020400";
92301950c46SEmmanuel Vadot		reg = <0 0>;
9247d0873ebSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
92501950c46SEmmanuel Vadot		#sound-dai-cells = <0>;
92601950c46SEmmanuel Vadot		sound-name-prefix = "WooferLeft";
92701950c46SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
92801950c46SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
929*b2d2a78aSEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
93001950c46SEmmanuel Vadot	};
93101950c46SEmmanuel Vadot
93201950c46SEmmanuel Vadot	/* WSA8845, Left Tweeter */
93301950c46SEmmanuel Vadot	left_tweeter: speaker@0,1 {
93401950c46SEmmanuel Vadot		compatible = "sdw20217020400";
93501950c46SEmmanuel Vadot		reg = <0 1>;
9367d0873ebSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
93701950c46SEmmanuel Vadot		#sound-dai-cells = <0>;
938*b2d2a78aSEmmanuel Vadot		sound-name-prefix = "TweeterLeft";
93901950c46SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
94001950c46SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
941*b2d2a78aSEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
94201950c46SEmmanuel Vadot	};
94301950c46SEmmanuel Vadot};
94401950c46SEmmanuel Vadot
94501950c46SEmmanuel Vadot&swr1 {
94601950c46SEmmanuel Vadot	status = "okay";
94701950c46SEmmanuel Vadot
94801950c46SEmmanuel Vadot	/* WCD9385 RX */
94901950c46SEmmanuel Vadot	wcd_rx: codec@0,4 {
95001950c46SEmmanuel Vadot		compatible = "sdw20217010d00";
95101950c46SEmmanuel Vadot		reg = <0 4>;
95201950c46SEmmanuel Vadot		qcom,rx-port-mapping = <1 2 3 4 5>;
95301950c46SEmmanuel Vadot	};
95401950c46SEmmanuel Vadot};
95501950c46SEmmanuel Vadot
95601950c46SEmmanuel Vadot&swr2 {
95701950c46SEmmanuel Vadot	status = "okay";
95801950c46SEmmanuel Vadot
95901950c46SEmmanuel Vadot	/* WCD9385 TX */
96001950c46SEmmanuel Vadot	wcd_tx: codec@0,3 {
96101950c46SEmmanuel Vadot		compatible = "sdw20217010d00";
96201950c46SEmmanuel Vadot		reg = <0 3>;
9637d0873ebSEmmanuel Vadot		qcom,tx-port-mapping = <2 2 3 4>;
96401950c46SEmmanuel Vadot	};
96501950c46SEmmanuel Vadot};
96601950c46SEmmanuel Vadot
96701950c46SEmmanuel Vadot&swr3 {
96801950c46SEmmanuel Vadot	status = "okay";
96901950c46SEmmanuel Vadot
9707d0873ebSEmmanuel Vadot	pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
9717d0873ebSEmmanuel Vadot	pinctrl-names = "default";
9727d0873ebSEmmanuel Vadot
97301950c46SEmmanuel Vadot	/* WSA8845, Right Woofer */
97401950c46SEmmanuel Vadot	right_woofer: speaker@0,0 {
97501950c46SEmmanuel Vadot		compatible = "sdw20217020400";
97601950c46SEmmanuel Vadot		reg = <0 0>;
9777d0873ebSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
97801950c46SEmmanuel Vadot		#sound-dai-cells = <0>;
97901950c46SEmmanuel Vadot		sound-name-prefix = "WooferRight";
98001950c46SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
98101950c46SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
982*b2d2a78aSEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
98301950c46SEmmanuel Vadot	};
98401950c46SEmmanuel Vadot
98501950c46SEmmanuel Vadot	/* WSA8845, Right Tweeter */
98601950c46SEmmanuel Vadot	right_tweeter: speaker@0,1 {
98701950c46SEmmanuel Vadot		compatible = "sdw20217020400";
98801950c46SEmmanuel Vadot		reg = <0 1>;
9897d0873ebSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
99001950c46SEmmanuel Vadot		#sound-dai-cells = <0>;
991*b2d2a78aSEmmanuel Vadot		sound-name-prefix = "TweeterRight";
99201950c46SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
99301950c46SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
994*b2d2a78aSEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
99501950c46SEmmanuel Vadot	};
99601950c46SEmmanuel Vadot};
99701950c46SEmmanuel Vadot
9988d13bc63SEmmanuel Vadot&tlmm {
9998d13bc63SEmmanuel Vadot	gpio-reserved-ranges = <34 2>, /* Unused */
10008d13bc63SEmmanuel Vadot			       <44 4>, /* SPI (TPM) */
10018d13bc63SEmmanuel Vadot			       <238 1>; /* UFS Reset */
10028d13bc63SEmmanuel Vadot
10038d13bc63SEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
10048d13bc63SEmmanuel Vadot		pins = "gpio70";
10058d13bc63SEmmanuel Vadot		function = "gpio";
10068d13bc63SEmmanuel Vadot		drive-strength = <16>;
10078d13bc63SEmmanuel Vadot		bias-disable;
10088d13bc63SEmmanuel Vadot	};
100901950c46SEmmanuel Vadot
1010*b2d2a78aSEmmanuel Vadot	hall_int_n_default: hall-int-n-state {
1011*b2d2a78aSEmmanuel Vadot		pins = "gpio92";
1012*b2d2a78aSEmmanuel Vadot		function = "gpio";
1013*b2d2a78aSEmmanuel Vadot		bias-disable;
1014*b2d2a78aSEmmanuel Vadot	};
1015*b2d2a78aSEmmanuel Vadot
101601950c46SEmmanuel Vadot	kybd_default: kybd-default-state {
101701950c46SEmmanuel Vadot		pins = "gpio67";
101801950c46SEmmanuel Vadot		function = "gpio";
101901950c46SEmmanuel Vadot		bias-disable;
102001950c46SEmmanuel Vadot	};
102101950c46SEmmanuel Vadot
10220e8011faSEmmanuel Vadot	nvme_reg_en: nvme-reg-en-state {
10230e8011faSEmmanuel Vadot		pins = "gpio18";
10240e8011faSEmmanuel Vadot		function = "gpio";
10250e8011faSEmmanuel Vadot		drive-strength = <2>;
10260e8011faSEmmanuel Vadot		bias-disable;
10270e8011faSEmmanuel Vadot	};
10280e8011faSEmmanuel Vadot
10290e8011faSEmmanuel Vadot	pcie4_default: pcie4-default-state {
10300e8011faSEmmanuel Vadot		clkreq-n-pins {
10310e8011faSEmmanuel Vadot			pins = "gpio147";
10320e8011faSEmmanuel Vadot			function = "pcie4_clk";
10330e8011faSEmmanuel Vadot			drive-strength = <2>;
10340e8011faSEmmanuel Vadot			bias-pull-up;
10350e8011faSEmmanuel Vadot		};
10360e8011faSEmmanuel Vadot
10370e8011faSEmmanuel Vadot		perst-n-pins {
10380e8011faSEmmanuel Vadot			pins = "gpio146";
10390e8011faSEmmanuel Vadot			function = "gpio";
10400e8011faSEmmanuel Vadot			drive-strength = <2>;
10410e8011faSEmmanuel Vadot			bias-disable;
10420e8011faSEmmanuel Vadot		};
10430e8011faSEmmanuel Vadot
10440e8011faSEmmanuel Vadot		wake-n-pins {
10450e8011faSEmmanuel Vadot			pins = "gpio148";
10460e8011faSEmmanuel Vadot			function = "gpio";
10470e8011faSEmmanuel Vadot			drive-strength = <2>;
10480e8011faSEmmanuel Vadot			bias-pull-up;
10490e8011faSEmmanuel Vadot		};
10500e8011faSEmmanuel Vadot	};
10510e8011faSEmmanuel Vadot
1052*b2d2a78aSEmmanuel Vadot	pcie5_default: pcie5-default-state {
1053*b2d2a78aSEmmanuel Vadot		clkreq-n-pins {
1054*b2d2a78aSEmmanuel Vadot			pins = "gpio150";
1055*b2d2a78aSEmmanuel Vadot			function = "pcie5_clk";
1056*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
1057*b2d2a78aSEmmanuel Vadot			bias-pull-up;
1058*b2d2a78aSEmmanuel Vadot		};
1059*b2d2a78aSEmmanuel Vadot
1060*b2d2a78aSEmmanuel Vadot		perst-n-pins {
1061*b2d2a78aSEmmanuel Vadot			pins = "gpio149";
1062*b2d2a78aSEmmanuel Vadot			function = "gpio";
1063*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
1064*b2d2a78aSEmmanuel Vadot			bias-disable;
1065*b2d2a78aSEmmanuel Vadot		};
1066*b2d2a78aSEmmanuel Vadot
1067*b2d2a78aSEmmanuel Vadot		wake-n-pins {
1068*b2d2a78aSEmmanuel Vadot			pins = "gpio151";
1069*b2d2a78aSEmmanuel Vadot			function = "gpio";
1070*b2d2a78aSEmmanuel Vadot			drive-strength = <2>;
1071*b2d2a78aSEmmanuel Vadot			bias-pull-up;
1072*b2d2a78aSEmmanuel Vadot		};
1073*b2d2a78aSEmmanuel Vadot	};
1074*b2d2a78aSEmmanuel Vadot
10750e8011faSEmmanuel Vadot	pcie6a_default: pcie6a-default-state {
10760e8011faSEmmanuel Vadot		clkreq-n-pins {
10770e8011faSEmmanuel Vadot			pins = "gpio153";
10780e8011faSEmmanuel Vadot			function = "pcie6a_clk";
10790e8011faSEmmanuel Vadot			drive-strength = <2>;
10800e8011faSEmmanuel Vadot			bias-pull-up;
10810e8011faSEmmanuel Vadot		};
10820e8011faSEmmanuel Vadot
10830e8011faSEmmanuel Vadot		perst-n-pins {
10840e8011faSEmmanuel Vadot			pins = "gpio152";
10850e8011faSEmmanuel Vadot			function = "gpio";
10860e8011faSEmmanuel Vadot			drive-strength = <2>;
10870e8011faSEmmanuel Vadot			bias-disable;
10880e8011faSEmmanuel Vadot		};
10890e8011faSEmmanuel Vadot
10900e8011faSEmmanuel Vadot		wake-n-pins {
10910e8011faSEmmanuel Vadot			pins = "gpio154";
10920e8011faSEmmanuel Vadot			function = "gpio";
10930e8011faSEmmanuel Vadot			drive-strength = <2>;
10940e8011faSEmmanuel Vadot			bias-pull-up;
10950e8011faSEmmanuel Vadot		};
10960e8011faSEmmanuel Vadot	};
10970e8011faSEmmanuel Vadot
109801950c46SEmmanuel Vadot	tpad_default: tpad-default-state {
109901950c46SEmmanuel Vadot		pins = "gpio3";
110001950c46SEmmanuel Vadot		function = "gpio";
110101950c46SEmmanuel Vadot		bias-disable;
110201950c46SEmmanuel Vadot	};
110301950c46SEmmanuel Vadot
110401950c46SEmmanuel Vadot	ts0_default: ts0-default-state {
110501950c46SEmmanuel Vadot		int-n-pins {
110601950c46SEmmanuel Vadot			pins = "gpio51";
110701950c46SEmmanuel Vadot			function = "gpio";
110801950c46SEmmanuel Vadot			bias-disable;
110901950c46SEmmanuel Vadot		};
111001950c46SEmmanuel Vadot
111101950c46SEmmanuel Vadot		reset-n-pins {
111201950c46SEmmanuel Vadot			pins = "gpio48";
111301950c46SEmmanuel Vadot			function = "gpio";
111401950c46SEmmanuel Vadot			output-high;
111501950c46SEmmanuel Vadot			drive-strength = <16>;
111601950c46SEmmanuel Vadot		};
111701950c46SEmmanuel Vadot	};
111801950c46SEmmanuel Vadot
111901950c46SEmmanuel Vadot	wcd_default: wcd-reset-n-active-state {
112001950c46SEmmanuel Vadot		pins = "gpio191";
112101950c46SEmmanuel Vadot		function = "gpio";
112201950c46SEmmanuel Vadot		drive-strength = <16>;
112301950c46SEmmanuel Vadot		bias-disable;
112401950c46SEmmanuel Vadot		output-low;
112501950c46SEmmanuel Vadot	};
1126*b2d2a78aSEmmanuel Vadot
1127*b2d2a78aSEmmanuel Vadot	wwan_sw_en: wwan-sw-en-state {
1128*b2d2a78aSEmmanuel Vadot		pins = "gpio221";
1129*b2d2a78aSEmmanuel Vadot		function = "gpio";
1130*b2d2a78aSEmmanuel Vadot		drive-strength = <4>;
1131*b2d2a78aSEmmanuel Vadot		bias-disable;
1132*b2d2a78aSEmmanuel Vadot	};
11338d13bc63SEmmanuel Vadot};
11348d13bc63SEmmanuel Vadot
11358d13bc63SEmmanuel Vadot&uart21 {
11368d13bc63SEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
11378d13bc63SEmmanuel Vadot	status = "okay";
11388d13bc63SEmmanuel Vadot};
113901950c46SEmmanuel Vadot
114001950c46SEmmanuel Vadot&usb_1_ss0_hsphy {
11410e8011faSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
11420e8011faSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
114301950c46SEmmanuel Vadot
11447d0873ebSEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
11457d0873ebSEmmanuel Vadot
114601950c46SEmmanuel Vadot	status = "okay";
114701950c46SEmmanuel Vadot};
114801950c46SEmmanuel Vadot
114901950c46SEmmanuel Vadot&usb_1_ss0_qmpphy {
11500e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
11510e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l1j_0p8>;
11520e8011faSEmmanuel Vadot
115301950c46SEmmanuel Vadot	status = "okay";
115401950c46SEmmanuel Vadot};
115501950c46SEmmanuel Vadot
115601950c46SEmmanuel Vadot&usb_1_ss0 {
115701950c46SEmmanuel Vadot	status = "okay";
115801950c46SEmmanuel Vadot};
115901950c46SEmmanuel Vadot
116001950c46SEmmanuel Vadot&usb_1_ss0_dwc3 {
116101950c46SEmmanuel Vadot	dr_mode = "host";
11620e8011faSEmmanuel Vadot};
11630e8011faSEmmanuel Vadot
11640e8011faSEmmanuel Vadot&usb_1_ss0_dwc3_hs {
11650e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_hs_in>;
11660e8011faSEmmanuel Vadot};
11670e8011faSEmmanuel Vadot
11680e8011faSEmmanuel Vadot&usb_1_ss0_qmpphy_out {
11690e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_ss_in>;
117001950c46SEmmanuel Vadot};
117101950c46SEmmanuel Vadot
117201950c46SEmmanuel Vadot&usb_1_ss1_hsphy {
11730e8011faSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
11740e8011faSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
117501950c46SEmmanuel Vadot
11767d0873ebSEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
11777d0873ebSEmmanuel Vadot
117801950c46SEmmanuel Vadot	status = "okay";
117901950c46SEmmanuel Vadot};
118001950c46SEmmanuel Vadot
118101950c46SEmmanuel Vadot&usb_1_ss1_qmpphy {
11820e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
11830e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
11840e8011faSEmmanuel Vadot
118501950c46SEmmanuel Vadot	status = "okay";
118601950c46SEmmanuel Vadot};
118701950c46SEmmanuel Vadot
118801950c46SEmmanuel Vadot&usb_1_ss1 {
118901950c46SEmmanuel Vadot	status = "okay";
119001950c46SEmmanuel Vadot};
119101950c46SEmmanuel Vadot
119201950c46SEmmanuel Vadot&usb_1_ss1_dwc3 {
119301950c46SEmmanuel Vadot	dr_mode = "host";
11940e8011faSEmmanuel Vadot};
11950e8011faSEmmanuel Vadot
11960e8011faSEmmanuel Vadot&usb_1_ss1_dwc3_hs {
11970e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_hs_in>;
11980e8011faSEmmanuel Vadot};
11990e8011faSEmmanuel Vadot
12000e8011faSEmmanuel Vadot&usb_1_ss1_qmpphy_out {
12010e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_ss_in>;
120201950c46SEmmanuel Vadot};
120301950c46SEmmanuel Vadot
120401950c46SEmmanuel Vadot&usb_1_ss2_hsphy {
12050e8011faSEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
12060e8011faSEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
120701950c46SEmmanuel Vadot
12087d0873ebSEmmanuel Vadot	phys = <&smb2360_2_eusb2_repeater>;
12097d0873ebSEmmanuel Vadot
121001950c46SEmmanuel Vadot	status = "okay";
121101950c46SEmmanuel Vadot};
121201950c46SEmmanuel Vadot
121301950c46SEmmanuel Vadot&usb_1_ss2_qmpphy {
12140e8011faSEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
12150e8011faSEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
12160e8011faSEmmanuel Vadot
121701950c46SEmmanuel Vadot	status = "okay";
121801950c46SEmmanuel Vadot};
121901950c46SEmmanuel Vadot
122001950c46SEmmanuel Vadot&usb_1_ss2 {
122101950c46SEmmanuel Vadot	status = "okay";
122201950c46SEmmanuel Vadot};
122301950c46SEmmanuel Vadot
122401950c46SEmmanuel Vadot&usb_1_ss2_dwc3 {
122501950c46SEmmanuel Vadot	dr_mode = "host";
12260e8011faSEmmanuel Vadot};
12270e8011faSEmmanuel Vadot
12280e8011faSEmmanuel Vadot&usb_1_ss2_dwc3_hs {
12290e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss2_hs_in>;
12300e8011faSEmmanuel Vadot};
12310e8011faSEmmanuel Vadot
12320e8011faSEmmanuel Vadot&usb_1_ss2_qmpphy_out {
12330e8011faSEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss2_ss_in>;
123401950c46SEmmanuel Vadot};
1235