xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1e80100-dell-xps13-9345.dts (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
15f62a964SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
25f62a964SEmmanuel Vadot/*
35f62a964SEmmanuel Vadot * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
45f62a964SEmmanuel Vadot * Copyright (c) 2024 Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
55f62a964SEmmanuel Vadot */
65f62a964SEmmanuel Vadot
75f62a964SEmmanuel Vadot/dts-v1/;
85f62a964SEmmanuel Vadot
95f62a964SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
105f62a964SEmmanuel Vadot#include <dt-bindings/input/gpio-keys.h>
115f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h>
125f62a964SEmmanuel Vadot#include <dt-bindings/leds/common.h>
135f62a964SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
145f62a964SEmmanuel Vadot
155f62a964SEmmanuel Vadot#include "x1e80100.dtsi"
165f62a964SEmmanuel Vadot#include "x1e80100-pmics.dtsi"
175f62a964SEmmanuel Vadot
185f62a964SEmmanuel Vadot/ {
195f62a964SEmmanuel Vadot	model = "Dell XPS 13 9345";
205f62a964SEmmanuel Vadot	compatible = "dell,xps13-9345", "qcom,x1e80100";
215f62a964SEmmanuel Vadot	chassis-type = "laptop";
225f62a964SEmmanuel Vadot
235f62a964SEmmanuel Vadot	aliases {
245f62a964SEmmanuel Vadot		serial0 = &uart21;
25*833e5d42SEmmanuel Vadot		serial1 = &uart14;
265f62a964SEmmanuel Vadot	};
275f62a964SEmmanuel Vadot
285f62a964SEmmanuel Vadot	gpio-keys {
295f62a964SEmmanuel Vadot		compatible = "gpio-keys";
305f62a964SEmmanuel Vadot
315f62a964SEmmanuel Vadot		pinctrl-0 = <&hall_int_n_default>;
325f62a964SEmmanuel Vadot		pinctrl-names = "default";
335f62a964SEmmanuel Vadot
345f62a964SEmmanuel Vadot		switch-lid {
355f62a964SEmmanuel Vadot			gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
365f62a964SEmmanuel Vadot			linux,input-type = <EV_SW>;
375f62a964SEmmanuel Vadot			linux,code = <SW_LID>;
385f62a964SEmmanuel Vadot			wakeup-source;
395f62a964SEmmanuel Vadot			wakeup-event-action = <EV_ACT_DEASSERTED>;
405f62a964SEmmanuel Vadot		};
415f62a964SEmmanuel Vadot	};
425f62a964SEmmanuel Vadot
435f62a964SEmmanuel Vadot	leds {
445f62a964SEmmanuel Vadot		compatible = "gpio-leds";
455f62a964SEmmanuel Vadot
465f62a964SEmmanuel Vadot		pinctrl-names = "default";
475f62a964SEmmanuel Vadot		pinctrl-0 = <&cam_indicator_en>;
485f62a964SEmmanuel Vadot
495f62a964SEmmanuel Vadot		led-camera-indicator {
505f62a964SEmmanuel Vadot			label = "white:camera-indicator";
515f62a964SEmmanuel Vadot			function = LED_FUNCTION_INDICATOR;
525f62a964SEmmanuel Vadot			color = <LED_COLOR_ID_WHITE>;
535f62a964SEmmanuel Vadot			gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
545f62a964SEmmanuel Vadot			linux,default-trigger = "none";
555f62a964SEmmanuel Vadot			default-state = "off";
565f62a964SEmmanuel Vadot			/* Reuse as a panic indicator until we get a "camera on" trigger */
575f62a964SEmmanuel Vadot			panic-indicator;
585f62a964SEmmanuel Vadot		};
595f62a964SEmmanuel Vadot	};
605f62a964SEmmanuel Vadot
615f62a964SEmmanuel Vadot	pmic-glink {
625f62a964SEmmanuel Vadot		compatible = "qcom,x1e80100-pmic-glink",
635f62a964SEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
645f62a964SEmmanuel Vadot			     "qcom,pmic-glink";
655f62a964SEmmanuel Vadot		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
665f62a964SEmmanuel Vadot				    <&tlmm 123 GPIO_ACTIVE_HIGH>;
675f62a964SEmmanuel Vadot		#address-cells = <1>;
685f62a964SEmmanuel Vadot		#size-cells = <0>;
695f62a964SEmmanuel Vadot
705f62a964SEmmanuel Vadot		/* Right-side USB Type-C port */
715f62a964SEmmanuel Vadot		connector@0 {
725f62a964SEmmanuel Vadot			compatible = "usb-c-connector";
735f62a964SEmmanuel Vadot			reg = <0>;
745f62a964SEmmanuel Vadot			power-role = "dual";
755f62a964SEmmanuel Vadot			data-role = "dual";
765f62a964SEmmanuel Vadot
775f62a964SEmmanuel Vadot			ports {
785f62a964SEmmanuel Vadot				#address-cells = <1>;
795f62a964SEmmanuel Vadot				#size-cells = <0>;
805f62a964SEmmanuel Vadot
815f62a964SEmmanuel Vadot				port@0 {
825f62a964SEmmanuel Vadot					reg = <0>;
835f62a964SEmmanuel Vadot
845f62a964SEmmanuel Vadot					pmic_glink_ss0_hs_in: endpoint {
855f62a964SEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
865f62a964SEmmanuel Vadot					};
875f62a964SEmmanuel Vadot				};
885f62a964SEmmanuel Vadot
895f62a964SEmmanuel Vadot				port@1 {
905f62a964SEmmanuel Vadot					reg = <1>;
915f62a964SEmmanuel Vadot
925f62a964SEmmanuel Vadot					pmic_glink_ss0_ss_in: endpoint {
932846c905SEmmanuel Vadot						remote-endpoint = <&retimer_ss0_ss_out>;
942846c905SEmmanuel Vadot					};
952846c905SEmmanuel Vadot				};
962846c905SEmmanuel Vadot
972846c905SEmmanuel Vadot				port@2 {
982846c905SEmmanuel Vadot					reg = <2>;
992846c905SEmmanuel Vadot
1002846c905SEmmanuel Vadot					pmic_glink_ss0_con_sbu_in: endpoint {
1012846c905SEmmanuel Vadot						remote-endpoint = <&retimer_ss0_con_sbu_out>;
1025f62a964SEmmanuel Vadot					};
1035f62a964SEmmanuel Vadot				};
1045f62a964SEmmanuel Vadot			};
1055f62a964SEmmanuel Vadot		};
1065f62a964SEmmanuel Vadot
1075f62a964SEmmanuel Vadot		/* Left-side USB Type-C port */
1085f62a964SEmmanuel Vadot		connector@1 {
1095f62a964SEmmanuel Vadot			compatible = "usb-c-connector";
1105f62a964SEmmanuel Vadot			reg = <1>;
1115f62a964SEmmanuel Vadot			power-role = "dual";
1125f62a964SEmmanuel Vadot			data-role = "dual";
1135f62a964SEmmanuel Vadot
1145f62a964SEmmanuel Vadot			ports {
1155f62a964SEmmanuel Vadot				#address-cells = <1>;
1165f62a964SEmmanuel Vadot				#size-cells = <0>;
1175f62a964SEmmanuel Vadot
1185f62a964SEmmanuel Vadot				port@0 {
1195f62a964SEmmanuel Vadot					reg = <0>;
1205f62a964SEmmanuel Vadot
1215f62a964SEmmanuel Vadot					pmic_glink_ss1_hs_in: endpoint {
1225f62a964SEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
1235f62a964SEmmanuel Vadot					};
1245f62a964SEmmanuel Vadot				};
1255f62a964SEmmanuel Vadot
1265f62a964SEmmanuel Vadot				port@1 {
1275f62a964SEmmanuel Vadot					reg = <1>;
1285f62a964SEmmanuel Vadot
1295f62a964SEmmanuel Vadot					pmic_glink_ss1_ss_in: endpoint {
1302846c905SEmmanuel Vadot						remote-endpoint = <&retimer_ss1_ss_out>;
1312846c905SEmmanuel Vadot					};
1322846c905SEmmanuel Vadot				};
1332846c905SEmmanuel Vadot
1342846c905SEmmanuel Vadot				port@2 {
1352846c905SEmmanuel Vadot					reg = <2>;
1362846c905SEmmanuel Vadot
1372846c905SEmmanuel Vadot					pmic_glink_ss1_con_sbu_in: endpoint {
1382846c905SEmmanuel Vadot						remote-endpoint = <&retimer_ss1_con_sbu_out>;
1395f62a964SEmmanuel Vadot					};
1405f62a964SEmmanuel Vadot				};
1415f62a964SEmmanuel Vadot			};
1425f62a964SEmmanuel Vadot		};
1435f62a964SEmmanuel Vadot	};
1445f62a964SEmmanuel Vadot
1455f62a964SEmmanuel Vadot	reserved-memory {
1465f62a964SEmmanuel Vadot		linux,cma {
1475f62a964SEmmanuel Vadot			compatible = "shared-dma-pool";
1485f62a964SEmmanuel Vadot			size = <0x0 0x8000000>;
1495f62a964SEmmanuel Vadot			reusable;
1505f62a964SEmmanuel Vadot			linux,cma-default;
1515f62a964SEmmanuel Vadot		};
1525f62a964SEmmanuel Vadot	};
1535f62a964SEmmanuel Vadot
1545f62a964SEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
1555f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1565f62a964SEmmanuel Vadot
1575f62a964SEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
1585f62a964SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1595f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1605f62a964SEmmanuel Vadot
1615f62a964SEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
1625f62a964SEmmanuel Vadot		enable-active-high;
1635f62a964SEmmanuel Vadot
1645f62a964SEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
1655f62a964SEmmanuel Vadot		pinctrl-names = "default";
1665f62a964SEmmanuel Vadot
1675f62a964SEmmanuel Vadot		regulator-boot-on;
1685f62a964SEmmanuel Vadot	};
1695f62a964SEmmanuel Vadot
1705f62a964SEmmanuel Vadot	vreg_nvme: regulator-nvme {
1715f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
1725f62a964SEmmanuel Vadot
1735f62a964SEmmanuel Vadot		regulator-name = "VREG_NVME_3P3";
1745f62a964SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1755f62a964SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1765f62a964SEmmanuel Vadot
1775f62a964SEmmanuel Vadot		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
1785f62a964SEmmanuel Vadot		enable-active-high;
1795f62a964SEmmanuel Vadot
1805f62a964SEmmanuel Vadot		pinctrl-0 = <&nvme_reg_en>;
1815f62a964SEmmanuel Vadot		pinctrl-names = "default";
1825f62a964SEmmanuel Vadot
1835f62a964SEmmanuel Vadot		regulator-boot-on;
1845f62a964SEmmanuel Vadot	};
1855f62a964SEmmanuel Vadot
1862846c905SEmmanuel Vadot	vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
1872846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1882846c905SEmmanuel Vadot
1892846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P15";
1902846c905SEmmanuel Vadot		regulator-min-microvolt = <1150000>;
1912846c905SEmmanuel Vadot		regulator-max-microvolt = <1150000>;
1922846c905SEmmanuel Vadot
1932846c905SEmmanuel Vadot		gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>;
1942846c905SEmmanuel Vadot		enable-active-high;
1952846c905SEmmanuel Vadot
1962846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr0_1p15_reg_en>;
1972846c905SEmmanuel Vadot		pinctrl-names = "default";
1982846c905SEmmanuel Vadot
1992846c905SEmmanuel Vadot		regulator-boot-on;
2002846c905SEmmanuel Vadot	};
2012846c905SEmmanuel Vadot
2022846c905SEmmanuel Vadot	vreg_rtmr0_1p8: regulator-rtmr0-1p8 {
2032846c905SEmmanuel Vadot		compatible = "regulator-fixed";
2042846c905SEmmanuel Vadot
2052846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P8";
2062846c905SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
2072846c905SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
2082846c905SEmmanuel Vadot
2092846c905SEmmanuel Vadot		gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>;
2102846c905SEmmanuel Vadot		enable-active-high;
2112846c905SEmmanuel Vadot
2122846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr0_1p8_reg_en>;
2132846c905SEmmanuel Vadot		pinctrl-names = "default";
2142846c905SEmmanuel Vadot
2152846c905SEmmanuel Vadot		regulator-boot-on;
2162846c905SEmmanuel Vadot	};
2172846c905SEmmanuel Vadot
2182846c905SEmmanuel Vadot	vreg_rtmr0_3p3: regulator-rtmr0-3p3 {
2192846c905SEmmanuel Vadot		compatible = "regulator-fixed";
2202846c905SEmmanuel Vadot
2212846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR0_3P3";
2222846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2232846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2242846c905SEmmanuel Vadot
2252846c905SEmmanuel Vadot		gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
2262846c905SEmmanuel Vadot		enable-active-high;
2272846c905SEmmanuel Vadot
2282846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr0_3p3_reg_en>;
2292846c905SEmmanuel Vadot		pinctrl-names = "default";
2302846c905SEmmanuel Vadot
2312846c905SEmmanuel Vadot		regulator-boot-on;
2322846c905SEmmanuel Vadot	};
2332846c905SEmmanuel Vadot
2342846c905SEmmanuel Vadot	vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
2352846c905SEmmanuel Vadot		compatible = "regulator-fixed";
2362846c905SEmmanuel Vadot
2372846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P15";
2382846c905SEmmanuel Vadot		regulator-min-microvolt = <1150000>;
2392846c905SEmmanuel Vadot		regulator-max-microvolt = <1150000>;
2402846c905SEmmanuel Vadot
2412846c905SEmmanuel Vadot		gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
2422846c905SEmmanuel Vadot		enable-active-high;
2432846c905SEmmanuel Vadot
2442846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr1_1p15_reg_en>;
2452846c905SEmmanuel Vadot		pinctrl-names = "default";
2462846c905SEmmanuel Vadot
2472846c905SEmmanuel Vadot		regulator-boot-on;
2482846c905SEmmanuel Vadot	};
2492846c905SEmmanuel Vadot
2502846c905SEmmanuel Vadot	vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
2512846c905SEmmanuel Vadot		compatible = "regulator-fixed";
2522846c905SEmmanuel Vadot
2532846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P8";
2542846c905SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
2552846c905SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
2562846c905SEmmanuel Vadot
2572846c905SEmmanuel Vadot		gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
2582846c905SEmmanuel Vadot		enable-active-high;
2592846c905SEmmanuel Vadot
2602846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr1_1p8_reg_en>;
2612846c905SEmmanuel Vadot		pinctrl-names = "default";
2622846c905SEmmanuel Vadot
2632846c905SEmmanuel Vadot		regulator-boot-on;
2642846c905SEmmanuel Vadot	};
2652846c905SEmmanuel Vadot
2662846c905SEmmanuel Vadot	vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
2672846c905SEmmanuel Vadot		compatible = "regulator-fixed";
2682846c905SEmmanuel Vadot
2692846c905SEmmanuel Vadot		regulator-name = "VREG_RTMR1_3P3";
2702846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2712846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2722846c905SEmmanuel Vadot
2732846c905SEmmanuel Vadot		gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
2742846c905SEmmanuel Vadot		enable-active-high;
2752846c905SEmmanuel Vadot
2762846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr1_3p3_reg_en>;
2772846c905SEmmanuel Vadot		pinctrl-names = "default";
2782846c905SEmmanuel Vadot
2792846c905SEmmanuel Vadot		regulator-boot-on;
2802846c905SEmmanuel Vadot	};
2812846c905SEmmanuel Vadot
2825f62a964SEmmanuel Vadot	vreg_vph_pwr: regulator-vph-pwr {
2835f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
2845f62a964SEmmanuel Vadot
2855f62a964SEmmanuel Vadot		regulator-name = "vph_pwr";
2865f62a964SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
2875f62a964SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
2885f62a964SEmmanuel Vadot
2895f62a964SEmmanuel Vadot		regulator-always-on;
2905f62a964SEmmanuel Vadot		regulator-boot-on;
2915f62a964SEmmanuel Vadot	};
292*833e5d42SEmmanuel Vadot
293*833e5d42SEmmanuel Vadot	vreg_wcn_0p95: regulator-wcn-0p95 {
294*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
295*833e5d42SEmmanuel Vadot
296*833e5d42SEmmanuel Vadot		regulator-name = "VREG_WCN_0P95";
297*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <950000>;
298*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <950000>;
299*833e5d42SEmmanuel Vadot
300*833e5d42SEmmanuel Vadot		vin-supply = <&vreg_wcn_3p3>;
301*833e5d42SEmmanuel Vadot	};
302*833e5d42SEmmanuel Vadot
303*833e5d42SEmmanuel Vadot	vreg_wcn_1p9: regulator-wcn-1p9 {
304*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
305*833e5d42SEmmanuel Vadot
306*833e5d42SEmmanuel Vadot		regulator-name = "VREG_WCN_1P9";
307*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <1900000>;
308*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <1900000>;
309*833e5d42SEmmanuel Vadot
310*833e5d42SEmmanuel Vadot		vin-supply = <&vreg_wcn_3p3>;
311*833e5d42SEmmanuel Vadot	};
312*833e5d42SEmmanuel Vadot
313*833e5d42SEmmanuel Vadot	vreg_wcn_3p3: regulator-wcn-3p3 {
314*833e5d42SEmmanuel Vadot		compatible = "regulator-fixed";
315*833e5d42SEmmanuel Vadot
316*833e5d42SEmmanuel Vadot		regulator-name = "VREG_WCN_3P3";
317*833e5d42SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
318*833e5d42SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
319*833e5d42SEmmanuel Vadot
320*833e5d42SEmmanuel Vadot		gpio = <&tlmm 214 GPIO_ACTIVE_HIGH>;
321*833e5d42SEmmanuel Vadot		enable-active-high;
322*833e5d42SEmmanuel Vadot
323*833e5d42SEmmanuel Vadot		pinctrl-0 = <&wcn_sw_en>;
324*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
325*833e5d42SEmmanuel Vadot
326*833e5d42SEmmanuel Vadot		regulator-boot-on;
327*833e5d42SEmmanuel Vadot	};
328*833e5d42SEmmanuel Vadot
329*833e5d42SEmmanuel Vadot	wcn7850-pmu {
330*833e5d42SEmmanuel Vadot		compatible = "qcom,wcn7850-pmu";
331*833e5d42SEmmanuel Vadot
332*833e5d42SEmmanuel Vadot		vdd-supply = <&vreg_wcn_0p95>;
333*833e5d42SEmmanuel Vadot		vddio-supply = <&vreg_l15b_1p8>;
334*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_wcn_0p95>;
335*833e5d42SEmmanuel Vadot		vdddig-supply = <&vreg_wcn_0p95>;
336*833e5d42SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_wcn_1p9>;
337*833e5d42SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_wcn_1p9>;
338*833e5d42SEmmanuel Vadot
339*833e5d42SEmmanuel Vadot		wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
340*833e5d42SEmmanuel Vadot		bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
341*833e5d42SEmmanuel Vadot
342*833e5d42SEmmanuel Vadot		pinctrl-0 = <&wcn_wlan_bt_en>;
343*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
344*833e5d42SEmmanuel Vadot
345*833e5d42SEmmanuel Vadot		regulators {
346*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_cmn: ldo0 {
347*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_cmn";
348*833e5d42SEmmanuel Vadot			};
349*833e5d42SEmmanuel Vadot
350*833e5d42SEmmanuel Vadot			vreg_pmu_aon_0p59: ldo1 {
351*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_aon_0p59";
352*833e5d42SEmmanuel Vadot			};
353*833e5d42SEmmanuel Vadot
354*833e5d42SEmmanuel Vadot			vreg_pmu_wlcx_0p8: ldo2 {
355*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_wlcx_0p8";
356*833e5d42SEmmanuel Vadot			};
357*833e5d42SEmmanuel Vadot
358*833e5d42SEmmanuel Vadot			vreg_pmu_wlmx_0p85: ldo3 {
359*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_wlmx_0p85";
360*833e5d42SEmmanuel Vadot			};
361*833e5d42SEmmanuel Vadot
362*833e5d42SEmmanuel Vadot			vreg_pmu_btcmx_0p85: ldo4 {
363*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_btcmx_0p85";
364*833e5d42SEmmanuel Vadot			};
365*833e5d42SEmmanuel Vadot
366*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_0p8: ldo5 {
367*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_0p8";
368*833e5d42SEmmanuel Vadot			};
369*833e5d42SEmmanuel Vadot
370*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_1p2: ldo6 {
371*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p2";
372*833e5d42SEmmanuel Vadot			};
373*833e5d42SEmmanuel Vadot
374*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_1p8: ldo7 {
375*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p8";
376*833e5d42SEmmanuel Vadot			};
377*833e5d42SEmmanuel Vadot
378*833e5d42SEmmanuel Vadot			vreg_pmu_pcie_0p9: ldo8 {
379*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_0p9";
380*833e5d42SEmmanuel Vadot			};
381*833e5d42SEmmanuel Vadot
382*833e5d42SEmmanuel Vadot			vreg_pmu_pcie_1p8: ldo9 {
383*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_1p8";
384*833e5d42SEmmanuel Vadot			};
385*833e5d42SEmmanuel Vadot		};
386*833e5d42SEmmanuel Vadot	};
3875f62a964SEmmanuel Vadot};
3885f62a964SEmmanuel Vadot
3895f62a964SEmmanuel Vadot&apps_rsc {
3905f62a964SEmmanuel Vadot	regulators-0 {
3915f62a964SEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
3925f62a964SEmmanuel Vadot		qcom,pmic-id = "b";
3935f62a964SEmmanuel Vadot		vdd-bob1-supply = <&vreg_vph_pwr>;
3945f62a964SEmmanuel Vadot		vdd-bob2-supply = <&vreg_vph_pwr>;
3955f62a964SEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
3965f62a964SEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
3975f62a964SEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
3985f62a964SEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob2>;
3995f62a964SEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
4005f62a964SEmmanuel Vadot		vdd-l12-supply = <&vreg_s5j_1p2>;
4015f62a964SEmmanuel Vadot		vdd-l15-supply = <&vreg_s4c_1p8>;
4025f62a964SEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
4035f62a964SEmmanuel Vadot
4045f62a964SEmmanuel Vadot		vreg_bob1: bob1 {
4055f62a964SEmmanuel Vadot			regulator-name = "vreg_bob1";
4065f62a964SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
4075f62a964SEmmanuel Vadot			regulator-max-microvolt = <3960000>;
4085f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4095f62a964SEmmanuel Vadot		};
4105f62a964SEmmanuel Vadot
4115f62a964SEmmanuel Vadot		vreg_bob2: bob2 {
4125f62a964SEmmanuel Vadot			regulator-name = "vreg_bob2";
4135f62a964SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
4145f62a964SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
4155f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4165f62a964SEmmanuel Vadot		};
4175f62a964SEmmanuel Vadot
4185f62a964SEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
4195f62a964SEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
4205f62a964SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4215f62a964SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4225f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4235f62a964SEmmanuel Vadot		};
4245f62a964SEmmanuel Vadot
4255f62a964SEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
4265f62a964SEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
4275f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4285f62a964SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4295f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4305f62a964SEmmanuel Vadot		};
4315f62a964SEmmanuel Vadot
4325f62a964SEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
4335f62a964SEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
4345f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4355f62a964SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
4365f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4375f62a964SEmmanuel Vadot		};
4385f62a964SEmmanuel Vadot
4395f62a964SEmmanuel Vadot		vreg_l8b_3p0: ldo8 {
4405f62a964SEmmanuel Vadot			regulator-name = "vreg_l8b_3p0";
4415f62a964SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4425f62a964SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4435f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4445f62a964SEmmanuel Vadot		};
4455f62a964SEmmanuel Vadot
4465f62a964SEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
4475f62a964SEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
4485f62a964SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
4495f62a964SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
4505f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4515f62a964SEmmanuel Vadot		};
4525f62a964SEmmanuel Vadot
4535f62a964SEmmanuel Vadot		vreg_l12b_1p2: ldo12 {
4545f62a964SEmmanuel Vadot			regulator-name = "vreg_l12b_1p2";
4555f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4565f62a964SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4575f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
458ae5de77eSEmmanuel Vadot			regulator-always-on;
4595f62a964SEmmanuel Vadot		};
4605f62a964SEmmanuel Vadot
4615f62a964SEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
4625f62a964SEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
4635f62a964SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4645f62a964SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4655f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4665f62a964SEmmanuel Vadot		};
4675f62a964SEmmanuel Vadot
4685f62a964SEmmanuel Vadot		vreg_l14b_3p0: ldo14 {
4695f62a964SEmmanuel Vadot			regulator-name = "vreg_l14b_3p0";
4705f62a964SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
4715f62a964SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
4725f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4735f62a964SEmmanuel Vadot		};
4745f62a964SEmmanuel Vadot
4755f62a964SEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
4765f62a964SEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
4775f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4785f62a964SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4795f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
480ae5de77eSEmmanuel Vadot			regulator-always-on;
4815f62a964SEmmanuel Vadot		};
4825f62a964SEmmanuel Vadot
4835f62a964SEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
4845f62a964SEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
4855f62a964SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
4865f62a964SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
4875f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4885f62a964SEmmanuel Vadot		};
4895f62a964SEmmanuel Vadot	};
4905f62a964SEmmanuel Vadot
4915f62a964SEmmanuel Vadot	regulators-1 {
4925f62a964SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
4935f62a964SEmmanuel Vadot		qcom,pmic-id = "c";
4945f62a964SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
4955f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
4965f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
4975f62a964SEmmanuel Vadot
4985f62a964SEmmanuel Vadot		vreg_s4c_1p8: smps4 {
4995f62a964SEmmanuel Vadot			regulator-name = "vreg_s4c_1p8";
5005f62a964SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
5015f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
5025f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5035f62a964SEmmanuel Vadot		};
5045f62a964SEmmanuel Vadot
5055f62a964SEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
5065f62a964SEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
5075f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5085f62a964SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5095f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5105f62a964SEmmanuel Vadot		};
5115f62a964SEmmanuel Vadot
5125f62a964SEmmanuel Vadot		vreg_l2c_0p8: ldo2 {
5135f62a964SEmmanuel Vadot			regulator-name = "vreg_l2c_0p8";
5145f62a964SEmmanuel Vadot			regulator-min-microvolt = <880000>;
5155f62a964SEmmanuel Vadot			regulator-max-microvolt = <880000>;
5165f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5175f62a964SEmmanuel Vadot		};
5185f62a964SEmmanuel Vadot
5195f62a964SEmmanuel Vadot		vreg_l3c_0p9: ldo3 {
5205f62a964SEmmanuel Vadot			regulator-name = "vreg_l3c_0p9";
5215f62a964SEmmanuel Vadot			regulator-min-microvolt = <920000>;
5225f62a964SEmmanuel Vadot			regulator-max-microvolt = <920000>;
5235f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5245f62a964SEmmanuel Vadot		};
5255f62a964SEmmanuel Vadot	};
5265f62a964SEmmanuel Vadot
5275f62a964SEmmanuel Vadot	regulators-2 {
5285f62a964SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5295f62a964SEmmanuel Vadot		qcom,pmic-id = "d";
5305f62a964SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
5315f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
5325f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s4c_1p8>;
5335f62a964SEmmanuel Vadot		vdd-s1-supply = <&vreg_vph_pwr>;
5345f62a964SEmmanuel Vadot
5355f62a964SEmmanuel Vadot		vreg_l1d_0p8: ldo1 {
5365f62a964SEmmanuel Vadot			regulator-name = "vreg_l1d_0p8";
5375f62a964SEmmanuel Vadot			regulator-min-microvolt = <880000>;
5385f62a964SEmmanuel Vadot			regulator-max-microvolt = <880000>;
5395f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5405f62a964SEmmanuel Vadot		};
5415f62a964SEmmanuel Vadot
5425f62a964SEmmanuel Vadot		vreg_l2d_0p9: ldo2 {
5435f62a964SEmmanuel Vadot			regulator-name = "vreg_l2d_0p9";
5445f62a964SEmmanuel Vadot			regulator-min-microvolt = <912000>;
5455f62a964SEmmanuel Vadot			regulator-max-microvolt = <912000>;
5465f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5475f62a964SEmmanuel Vadot		};
5485f62a964SEmmanuel Vadot
5495f62a964SEmmanuel Vadot		vreg_l3d_1p8: ldo3 {
5505f62a964SEmmanuel Vadot			regulator-name = "vreg_l3d_1p8";
5515f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5525f62a964SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5535f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5545f62a964SEmmanuel Vadot		};
5555f62a964SEmmanuel Vadot	};
5565f62a964SEmmanuel Vadot
5575f62a964SEmmanuel Vadot	regulators-3 {
5585f62a964SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5595f62a964SEmmanuel Vadot		qcom,pmic-id = "e";
5605f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
5615f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
5625f62a964SEmmanuel Vadot
5635f62a964SEmmanuel Vadot		vreg_l2e_0p8: ldo2 {
5645f62a964SEmmanuel Vadot			regulator-name = "vreg_l2e_0p8";
5655f62a964SEmmanuel Vadot			regulator-min-microvolt = <880000>;
5665f62a964SEmmanuel Vadot			regulator-max-microvolt = <880000>;
5675f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5685f62a964SEmmanuel Vadot		};
5695f62a964SEmmanuel Vadot
5705f62a964SEmmanuel Vadot		vreg_l3e_1p2: ldo3 {
5715f62a964SEmmanuel Vadot			regulator-name = "vreg_l3e_1p2";
5725f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5735f62a964SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5745f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5755f62a964SEmmanuel Vadot		};
5765f62a964SEmmanuel Vadot	};
5775f62a964SEmmanuel Vadot
5785f62a964SEmmanuel Vadot	regulators-4 {
5795f62a964SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
5805f62a964SEmmanuel Vadot		qcom,pmic-id = "f";
5815f62a964SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
5825f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
5835f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
5845f62a964SEmmanuel Vadot		vdd-s1-supply = <&vreg_vph_pwr>;
5855f62a964SEmmanuel Vadot
5865f62a964SEmmanuel Vadot		vreg_s1f_0p7: smps1 {
5875f62a964SEmmanuel Vadot			regulator-name = "vreg_s1f_0p7";
5885f62a964SEmmanuel Vadot			regulator-min-microvolt = <700000>;
5895f62a964SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
5905f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5915f62a964SEmmanuel Vadot		};
5925f62a964SEmmanuel Vadot	};
5935f62a964SEmmanuel Vadot
5945f62a964SEmmanuel Vadot	regulators-6 {
5955f62a964SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
5965f62a964SEmmanuel Vadot		qcom,pmic-id = "i";
5975f62a964SEmmanuel Vadot		vdd-l1-supply = <&vreg_s4c_1p8>;
5985f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
5995f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
6005f62a964SEmmanuel Vadot		vdd-s1-supply = <&vreg_vph_pwr>;
6015f62a964SEmmanuel Vadot		vdd-s2-supply = <&vreg_vph_pwr>;
6025f62a964SEmmanuel Vadot
6035f62a964SEmmanuel Vadot		vreg_s1i_0p9: smps1 {
6045f62a964SEmmanuel Vadot			regulator-name = "vreg_s1i_0p9";
6055f62a964SEmmanuel Vadot			regulator-min-microvolt = <900000>;
6065f62a964SEmmanuel Vadot			regulator-max-microvolt = <920000>;
6075f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6085f62a964SEmmanuel Vadot		};
6095f62a964SEmmanuel Vadot
6105f62a964SEmmanuel Vadot		vreg_s2i_1p0: smps2 {
6115f62a964SEmmanuel Vadot			regulator-name = "vreg_s2i_1p0";
6125f62a964SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
6135f62a964SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
6145f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6155f62a964SEmmanuel Vadot		};
6165f62a964SEmmanuel Vadot
6175f62a964SEmmanuel Vadot		vreg_l1i_1p8: ldo1 {
6185f62a964SEmmanuel Vadot			regulator-name = "vreg_l1i_1p8";
6195f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6205f62a964SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6215f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6225f62a964SEmmanuel Vadot		};
6235f62a964SEmmanuel Vadot
6245f62a964SEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
6255f62a964SEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
6265f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
6275f62a964SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
6285f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6295f62a964SEmmanuel Vadot		};
6305f62a964SEmmanuel Vadot
6315f62a964SEmmanuel Vadot		vreg_l3i_0p8: ldo3 {
6325f62a964SEmmanuel Vadot			regulator-name = "vreg_l3i_0p8";
6335f62a964SEmmanuel Vadot			regulator-min-microvolt = <880000>;
6345f62a964SEmmanuel Vadot			regulator-max-microvolt = <880000>;
6355f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6365f62a964SEmmanuel Vadot		};
6375f62a964SEmmanuel Vadot	};
6385f62a964SEmmanuel Vadot
6395f62a964SEmmanuel Vadot	regulators-7 {
6405f62a964SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
6415f62a964SEmmanuel Vadot		qcom,pmic-id = "j";
6425f62a964SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
6435f62a964SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
6445f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
6455f62a964SEmmanuel Vadot		vdd-s5-supply = <&vreg_vph_pwr>;
6465f62a964SEmmanuel Vadot
6475f62a964SEmmanuel Vadot		vreg_s5j_1p2: smps5 {
6485f62a964SEmmanuel Vadot			regulator-name = "vreg_s5j_1p2";
6495f62a964SEmmanuel Vadot			regulator-min-microvolt = <1256000>;
6505f62a964SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
6515f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6525f62a964SEmmanuel Vadot		};
6535f62a964SEmmanuel Vadot
6545f62a964SEmmanuel Vadot		vreg_l1j_0p9: ldo1 {
6555f62a964SEmmanuel Vadot			regulator-name = "vreg_l1j_0p9";
6565f62a964SEmmanuel Vadot			regulator-min-microvolt = <912000>;
6575f62a964SEmmanuel Vadot			regulator-max-microvolt = <912000>;
6585f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6595f62a964SEmmanuel Vadot		};
6605f62a964SEmmanuel Vadot
6615f62a964SEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
6625f62a964SEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
6635f62a964SEmmanuel Vadot			regulator-min-microvolt = <1256000>;
6645f62a964SEmmanuel Vadot			regulator-max-microvolt = <1256000>;
6655f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6665f62a964SEmmanuel Vadot		};
6675f62a964SEmmanuel Vadot
6685f62a964SEmmanuel Vadot		vreg_l3j_0p8: ldo3 {
6695f62a964SEmmanuel Vadot			regulator-name = "vreg_l3j_0p8";
6705f62a964SEmmanuel Vadot			regulator-min-microvolt = <880000>;
6715f62a964SEmmanuel Vadot			regulator-max-microvolt = <880000>;
6725f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6735f62a964SEmmanuel Vadot		};
6745f62a964SEmmanuel Vadot	};
6755f62a964SEmmanuel Vadot};
6765f62a964SEmmanuel Vadot
6775f62a964SEmmanuel Vadot&gpu {
6785f62a964SEmmanuel Vadot	status = "okay";
6795f62a964SEmmanuel Vadot
6805f62a964SEmmanuel Vadot	zap-shader {
6815f62a964SEmmanuel Vadot		firmware-name = "qcom/x1e80100/dell/xps13-9345/qcdxkmsuc8380.mbn";
6825f62a964SEmmanuel Vadot	};
6835f62a964SEmmanuel Vadot};
6845f62a964SEmmanuel Vadot
6855f62a964SEmmanuel Vadot&i2c0 {
6865f62a964SEmmanuel Vadot	clock-frequency = <400000>;
6875f62a964SEmmanuel Vadot	status = "okay";
6885f62a964SEmmanuel Vadot
6895f62a964SEmmanuel Vadot	keyboard@5 {
6905f62a964SEmmanuel Vadot		compatible = "hid-over-i2c";
6915f62a964SEmmanuel Vadot		reg = <0x5>;
6925f62a964SEmmanuel Vadot
6935f62a964SEmmanuel Vadot		hid-descr-addr = <0x20>;
6945f62a964SEmmanuel Vadot		interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
6955f62a964SEmmanuel Vadot
6965f62a964SEmmanuel Vadot		pinctrl-0 = <&kybd_default>;
6975f62a964SEmmanuel Vadot		pinctrl-names = "default";
6985f62a964SEmmanuel Vadot
6995f62a964SEmmanuel Vadot		wakeup-source;
7005f62a964SEmmanuel Vadot	};
7015f62a964SEmmanuel Vadot};
7025f62a964SEmmanuel Vadot
7035f62a964SEmmanuel Vadot&i2c3 {
7045f62a964SEmmanuel Vadot	clock-frequency = <400000>;
7052846c905SEmmanuel Vadot	status = "okay";
7062846c905SEmmanuel Vadot
7072846c905SEmmanuel Vadot	/* Right-side USB Type-C port */
7082846c905SEmmanuel Vadot	typec-mux@8 {
7092846c905SEmmanuel Vadot		compatible = "parade,ps8830";
7102846c905SEmmanuel Vadot		reg = <0x08>;
7112846c905SEmmanuel Vadot
7122846c905SEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK3>;
7132846c905SEmmanuel Vadot
7142846c905SEmmanuel Vadot		vdd-supply = <&vreg_rtmr0_1p15>;
7152846c905SEmmanuel Vadot		vdd33-supply = <&vreg_rtmr0_3p3>;
7162846c905SEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr0_3p3>;
7172846c905SEmmanuel Vadot		vddar-supply = <&vreg_rtmr0_1p15>;
7182846c905SEmmanuel Vadot		vddat-supply = <&vreg_rtmr0_1p15>;
7192846c905SEmmanuel Vadot		vddio-supply = <&vreg_rtmr0_1p8>;
7202846c905SEmmanuel Vadot
7212846c905SEmmanuel Vadot		reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>;
7222846c905SEmmanuel Vadot
7232846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr0_default>;
7242846c905SEmmanuel Vadot		pinctrl-names = "default";
7252846c905SEmmanuel Vadot
7262846c905SEmmanuel Vadot		retimer-switch;
7272846c905SEmmanuel Vadot		orientation-switch;
7282846c905SEmmanuel Vadot
7292846c905SEmmanuel Vadot		ports {
7302846c905SEmmanuel Vadot			#address-cells = <1>;
7312846c905SEmmanuel Vadot			#size-cells = <0>;
7322846c905SEmmanuel Vadot
7332846c905SEmmanuel Vadot			port@0 {
7342846c905SEmmanuel Vadot				reg = <0>;
7352846c905SEmmanuel Vadot
7362846c905SEmmanuel Vadot				retimer_ss0_ss_out: endpoint {
7372846c905SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss0_ss_in>;
7382846c905SEmmanuel Vadot				};
7392846c905SEmmanuel Vadot			};
7402846c905SEmmanuel Vadot
7412846c905SEmmanuel Vadot			port@1 {
7422846c905SEmmanuel Vadot				reg = <1>;
7432846c905SEmmanuel Vadot
7442846c905SEmmanuel Vadot				retimer_ss0_ss_in: endpoint {
7452846c905SEmmanuel Vadot					remote-endpoint = <&usb_1_ss0_qmpphy_out>;
7462846c905SEmmanuel Vadot				};
7472846c905SEmmanuel Vadot			};
7482846c905SEmmanuel Vadot
7492846c905SEmmanuel Vadot			port@2 {
7502846c905SEmmanuel Vadot				reg = <2>;
7512846c905SEmmanuel Vadot
7522846c905SEmmanuel Vadot				retimer_ss0_con_sbu_out: endpoint {
7532846c905SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss0_con_sbu_in>;
7542846c905SEmmanuel Vadot				};
7552846c905SEmmanuel Vadot			};
7562846c905SEmmanuel Vadot		};
7572846c905SEmmanuel Vadot	};
7585f62a964SEmmanuel Vadot};
7595f62a964SEmmanuel Vadot
7605f62a964SEmmanuel Vadot&i2c5 {
7615f62a964SEmmanuel Vadot	clock-frequency = <100000>;
7625f62a964SEmmanuel Vadot	status = "disabled";
7635f62a964SEmmanuel Vadot	/* EC @0x3b */
7645f62a964SEmmanuel Vadot};
7655f62a964SEmmanuel Vadot
7665f62a964SEmmanuel Vadot&i2c7 {
7675f62a964SEmmanuel Vadot	clock-frequency = <400000>;
7682846c905SEmmanuel Vadot	status = "okay";
7692846c905SEmmanuel Vadot
7702846c905SEmmanuel Vadot	/* Left-side USB Type-C port */
7712846c905SEmmanuel Vadot	typec-mux@8 {
7722846c905SEmmanuel Vadot		compatible = "parade,ps8830";
7732846c905SEmmanuel Vadot		reg = <0x8>;
7742846c905SEmmanuel Vadot
7752846c905SEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK4>;
7762846c905SEmmanuel Vadot
7772846c905SEmmanuel Vadot		vdd-supply = <&vreg_rtmr1_1p15>;
7782846c905SEmmanuel Vadot		vdd33-supply = <&vreg_rtmr1_3p3>;
7792846c905SEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr1_3p3>;
7802846c905SEmmanuel Vadot		vddar-supply = <&vreg_rtmr1_1p15>;
7812846c905SEmmanuel Vadot		vddat-supply = <&vreg_rtmr1_1p15>;
7822846c905SEmmanuel Vadot		vddio-supply = <&vreg_rtmr1_1p8>;
7832846c905SEmmanuel Vadot
7842846c905SEmmanuel Vadot		reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
7852846c905SEmmanuel Vadot
7862846c905SEmmanuel Vadot		pinctrl-0 = <&rtmr1_default>;
7872846c905SEmmanuel Vadot		pinctrl-names = "default";
7882846c905SEmmanuel Vadot
7892846c905SEmmanuel Vadot		retimer-switch;
7902846c905SEmmanuel Vadot		orientation-switch;
7912846c905SEmmanuel Vadot
7922846c905SEmmanuel Vadot		ports {
7932846c905SEmmanuel Vadot			#address-cells = <1>;
7942846c905SEmmanuel Vadot			#size-cells = <0>;
7952846c905SEmmanuel Vadot
7962846c905SEmmanuel Vadot			port@0 {
7972846c905SEmmanuel Vadot				reg = <0>;
7982846c905SEmmanuel Vadot
7992846c905SEmmanuel Vadot				retimer_ss1_ss_out: endpoint {
8002846c905SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_ss_in>;
8012846c905SEmmanuel Vadot				};
8022846c905SEmmanuel Vadot			};
8032846c905SEmmanuel Vadot
8042846c905SEmmanuel Vadot			port@1 {
8052846c905SEmmanuel Vadot				reg = <1>;
8062846c905SEmmanuel Vadot
8072846c905SEmmanuel Vadot				retimer_ss1_ss_in: endpoint {
8082846c905SEmmanuel Vadot					remote-endpoint = <&usb_1_ss1_qmpphy_out>;
8092846c905SEmmanuel Vadot				};
8102846c905SEmmanuel Vadot			};
8112846c905SEmmanuel Vadot
8122846c905SEmmanuel Vadot			port@2 {
8132846c905SEmmanuel Vadot				reg = <2>;
8142846c905SEmmanuel Vadot
8152846c905SEmmanuel Vadot				retimer_ss1_con_sbu_out: endpoint {
8162846c905SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
8172846c905SEmmanuel Vadot				};
8182846c905SEmmanuel Vadot			};
8192846c905SEmmanuel Vadot
8202846c905SEmmanuel Vadot		};
8212846c905SEmmanuel Vadot	};
8225f62a964SEmmanuel Vadot};
8235f62a964SEmmanuel Vadot
8245f62a964SEmmanuel Vadot&i2c8 {
8255f62a964SEmmanuel Vadot	clock-frequency = <400000>;
8265f62a964SEmmanuel Vadot
8275f62a964SEmmanuel Vadot	status = "okay";
8285f62a964SEmmanuel Vadot
8295f62a964SEmmanuel Vadot	touchscreen@10 {
8305f62a964SEmmanuel Vadot		compatible = "hid-over-i2c";
8315f62a964SEmmanuel Vadot		reg = <0x10>;
8325f62a964SEmmanuel Vadot
8335f62a964SEmmanuel Vadot		hid-descr-addr = <0x1>;
8345f62a964SEmmanuel Vadot		interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
8355f62a964SEmmanuel Vadot
8365f62a964SEmmanuel Vadot		pinctrl-0 = <&ts0_default>;
8375f62a964SEmmanuel Vadot		pinctrl-names = "default";
8385f62a964SEmmanuel Vadot	};
8395f62a964SEmmanuel Vadot};
8405f62a964SEmmanuel Vadot
8415f62a964SEmmanuel Vadot&i2c9 {
8425f62a964SEmmanuel Vadot	clock-frequency = <400000>;
843*833e5d42SEmmanuel Vadot	status = "okay";
844*833e5d42SEmmanuel Vadot
845*833e5d42SEmmanuel Vadot	eusb6_repeater: redriver@4f {
846*833e5d42SEmmanuel Vadot		compatible = "nxp,ptn3222";
847*833e5d42SEmmanuel Vadot		reg = <0x4f>;
848*833e5d42SEmmanuel Vadot		#phy-cells = <0>;
849*833e5d42SEmmanuel Vadot
850*833e5d42SEmmanuel Vadot		vdd3v3-supply = <&vreg_l13b_3p0>;
851*833e5d42SEmmanuel Vadot		vdd1v8-supply = <&vreg_l4b_1p8>;
852*833e5d42SEmmanuel Vadot
853*833e5d42SEmmanuel Vadot		reset-gpios = <&tlmm 184 GPIO_ACTIVE_LOW>;
854*833e5d42SEmmanuel Vadot
855*833e5d42SEmmanuel Vadot		pinctrl-0 = <&eusb6_reset_n>;
856*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
857*833e5d42SEmmanuel Vadot	};
8585f62a964SEmmanuel Vadot};
8595f62a964SEmmanuel Vadot
8605f62a964SEmmanuel Vadot&i2c17 {
8615f62a964SEmmanuel Vadot	clock-frequency = <400000>;
8625f62a964SEmmanuel Vadot	status = "okay";
8635f62a964SEmmanuel Vadot
8645f62a964SEmmanuel Vadot	touchpad@2c {
8655f62a964SEmmanuel Vadot		compatible = "hid-over-i2c";
8665f62a964SEmmanuel Vadot		reg = <0x2c>;
8675f62a964SEmmanuel Vadot
8685f62a964SEmmanuel Vadot		hid-descr-addr = <0x20>;
8695f62a964SEmmanuel Vadot		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
8705f62a964SEmmanuel Vadot
8715f62a964SEmmanuel Vadot		pinctrl-0 = <&tpad_default>;
8725f62a964SEmmanuel Vadot		pinctrl-names = "default";
8735f62a964SEmmanuel Vadot
8745f62a964SEmmanuel Vadot		wakeup-source;
8755f62a964SEmmanuel Vadot	};
8765f62a964SEmmanuel Vadot};
8775f62a964SEmmanuel Vadot
8785f62a964SEmmanuel Vadot&mdss {
8795f62a964SEmmanuel Vadot	status = "okay";
8805f62a964SEmmanuel Vadot};
8815f62a964SEmmanuel Vadot
882ae5de77eSEmmanuel Vadot&mdss_dp0 {
883ae5de77eSEmmanuel Vadot	status = "okay";
884ae5de77eSEmmanuel Vadot};
885ae5de77eSEmmanuel Vadot
886ae5de77eSEmmanuel Vadot&mdss_dp0_out {
887ae5de77eSEmmanuel Vadot	data-lanes = <0 1>;
888ae5de77eSEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
889ae5de77eSEmmanuel Vadot};
890ae5de77eSEmmanuel Vadot
891ae5de77eSEmmanuel Vadot&mdss_dp1 {
892ae5de77eSEmmanuel Vadot	status = "okay";
893ae5de77eSEmmanuel Vadot};
894ae5de77eSEmmanuel Vadot
895ae5de77eSEmmanuel Vadot&mdss_dp1_out {
896ae5de77eSEmmanuel Vadot	data-lanes = <0 1>;
897ae5de77eSEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
898ae5de77eSEmmanuel Vadot};
899ae5de77eSEmmanuel Vadot
9005f62a964SEmmanuel Vadot&mdss_dp3 {
9015f62a964SEmmanuel Vadot	/delete-property/ #sound-dai-cells;
9025f62a964SEmmanuel Vadot
9035f62a964SEmmanuel Vadot	status = "okay";
9045f62a964SEmmanuel Vadot
9055f62a964SEmmanuel Vadot	aux-bus {
9065f62a964SEmmanuel Vadot		panel {
9075f62a964SEmmanuel Vadot			compatible = "edp-panel";
9085f62a964SEmmanuel Vadot			enable-gpios = <&tlmm 74 GPIO_ACTIVE_HIGH>;
9095f62a964SEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
9105f62a964SEmmanuel Vadot
9115f62a964SEmmanuel Vadot			pinctrl-0 = <&edp_bl_en>;
9125f62a964SEmmanuel Vadot			pinctrl-names = "default";
9135f62a964SEmmanuel Vadot
9145f62a964SEmmanuel Vadot			port {
9155f62a964SEmmanuel Vadot				edp_panel_in: endpoint {
9165f62a964SEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
9175f62a964SEmmanuel Vadot				};
9185f62a964SEmmanuel Vadot			};
9195f62a964SEmmanuel Vadot		};
9205f62a964SEmmanuel Vadot	};
9215f62a964SEmmanuel Vadot
9225f62a964SEmmanuel Vadot	ports {
9235f62a964SEmmanuel Vadot		port@1 {
9245f62a964SEmmanuel Vadot			reg = <1>;
9255f62a964SEmmanuel Vadot
9265f62a964SEmmanuel Vadot			mdss_dp3_out: endpoint {
9275f62a964SEmmanuel Vadot				data-lanes = <0 1 2 3>;
9285f62a964SEmmanuel Vadot				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
9295f62a964SEmmanuel Vadot
9305f62a964SEmmanuel Vadot				remote-endpoint = <&edp_panel_in>;
9315f62a964SEmmanuel Vadot			};
9325f62a964SEmmanuel Vadot		};
9335f62a964SEmmanuel Vadot	};
9345f62a964SEmmanuel Vadot};
9355f62a964SEmmanuel Vadot
9365f62a964SEmmanuel Vadot&mdss_dp3_phy {
9375f62a964SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
9385f62a964SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
9395f62a964SEmmanuel Vadot
9405f62a964SEmmanuel Vadot	status = "okay";
9415f62a964SEmmanuel Vadot};
9425f62a964SEmmanuel Vadot
9435f62a964SEmmanuel Vadot&pcie4 {
9445f62a964SEmmanuel Vadot	perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
9455f62a964SEmmanuel Vadot	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
9465f62a964SEmmanuel Vadot
9475f62a964SEmmanuel Vadot	pinctrl-0 = <&pcie4_default>;
9485f62a964SEmmanuel Vadot	pinctrl-names = "default";
9495f62a964SEmmanuel Vadot
9505f62a964SEmmanuel Vadot	status = "okay";
9515f62a964SEmmanuel Vadot};
9525f62a964SEmmanuel Vadot
9535f62a964SEmmanuel Vadot&pcie4_phy {
9545f62a964SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
9555f62a964SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
9565f62a964SEmmanuel Vadot
9575f62a964SEmmanuel Vadot	status = "okay";
9585f62a964SEmmanuel Vadot};
9595f62a964SEmmanuel Vadot
960*833e5d42SEmmanuel Vadot&pcie4_port0 {
961*833e5d42SEmmanuel Vadot	wifi@0 {
962*833e5d42SEmmanuel Vadot		compatible = "pci17cb,1107";
963*833e5d42SEmmanuel Vadot		reg = <0x10000 0x0 0x0 0x0 0x0>;
964*833e5d42SEmmanuel Vadot
965*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p59>;
966*833e5d42SEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
967*833e5d42SEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
968*833e5d42SEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
969*833e5d42SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
970*833e5d42SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
971*833e5d42SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
972*833e5d42SEmmanuel Vadot		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
973*833e5d42SEmmanuel Vadot		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
974*833e5d42SEmmanuel Vadot	};
975*833e5d42SEmmanuel Vadot};
976*833e5d42SEmmanuel Vadot
9775f62a964SEmmanuel Vadot&pcie6a {
9785f62a964SEmmanuel Vadot	perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
9795f62a964SEmmanuel Vadot	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
9805f62a964SEmmanuel Vadot
9815f62a964SEmmanuel Vadot	vddpe-3v3-supply = <&vreg_nvme>;
9825f62a964SEmmanuel Vadot
9835f62a964SEmmanuel Vadot	pinctrl-0 = <&pcie6a_default>;
9845f62a964SEmmanuel Vadot	pinctrl-names = "default";
9855f62a964SEmmanuel Vadot
9865f62a964SEmmanuel Vadot	status = "okay";
9875f62a964SEmmanuel Vadot};
9885f62a964SEmmanuel Vadot
9895f62a964SEmmanuel Vadot&pcie6a_phy {
9905f62a964SEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p8>;
9915f62a964SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
9925f62a964SEmmanuel Vadot
9935f62a964SEmmanuel Vadot	status = "okay";
9945f62a964SEmmanuel Vadot};
9955f62a964SEmmanuel Vadot
9962846c905SEmmanuel Vadot&pm8550_gpios {
9972846c905SEmmanuel Vadot	rtmr0_default: rtmr0-reset-n-active-state {
9982846c905SEmmanuel Vadot		pins = "gpio10";
9992846c905SEmmanuel Vadot		function = "normal";
10002846c905SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10012846c905SEmmanuel Vadot	};
10022846c905SEmmanuel Vadot
10032846c905SEmmanuel Vadot	rtmr0_3p3_reg_en: rtmr0-3p3-reg-en-state {
10042846c905SEmmanuel Vadot		pins = "gpio11";
10052846c905SEmmanuel Vadot		function = "normal";
10062846c905SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10072846c905SEmmanuel Vadot	};
10082846c905SEmmanuel Vadot};
10092846c905SEmmanuel Vadot
10102846c905SEmmanuel Vadot&pmc8380_5_gpios {
10112846c905SEmmanuel Vadot	rtmr0_1p15_reg_en: rtmr0-1p15-reg-en-state {
10122846c905SEmmanuel Vadot		pins = "gpio8";
10132846c905SEmmanuel Vadot		function = "normal";
10142846c905SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10152846c905SEmmanuel Vadot	};
10162846c905SEmmanuel Vadot};
10172846c905SEmmanuel Vadot
10182846c905SEmmanuel Vadot&pm8550ve_9_gpios {
10192846c905SEmmanuel Vadot	rtmr0_1p8_reg_en: rtmr0-1p8-reg-en-state {
10202846c905SEmmanuel Vadot		pins = "gpio8";
10212846c905SEmmanuel Vadot		function = "normal";
10222846c905SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10232846c905SEmmanuel Vadot	};
10242846c905SEmmanuel Vadot};
10252846c905SEmmanuel Vadot
10265f62a964SEmmanuel Vadot&qupv3_0 {
10275f62a964SEmmanuel Vadot	status = "okay";
10285f62a964SEmmanuel Vadot};
10295f62a964SEmmanuel Vadot
10305f62a964SEmmanuel Vadot&qupv3_1 {
10315f62a964SEmmanuel Vadot	status = "okay";
10325f62a964SEmmanuel Vadot};
10335f62a964SEmmanuel Vadot
10345f62a964SEmmanuel Vadot&qupv3_2 {
10355f62a964SEmmanuel Vadot	status = "okay";
10365f62a964SEmmanuel Vadot};
10375f62a964SEmmanuel Vadot
10385f62a964SEmmanuel Vadot&remoteproc_adsp {
10395f62a964SEmmanuel Vadot	firmware-name = "qcom/x1e80100/dell/xps13-9345/qcadsp8380.mbn",
10405f62a964SEmmanuel Vadot			"qcom/x1e80100/dell/xps13-9345/adsp_dtbs.elf";
10415f62a964SEmmanuel Vadot
10425f62a964SEmmanuel Vadot	status = "okay";
10435f62a964SEmmanuel Vadot};
10445f62a964SEmmanuel Vadot
10455f62a964SEmmanuel Vadot&remoteproc_cdsp {
10465f62a964SEmmanuel Vadot	firmware-name = "qcom/x1e80100/dell/xps13-9345/qccdsp8380.mbn",
10475f62a964SEmmanuel Vadot			"qcom/x1e80100/dell/xps13-9345/cdsp_dtbs.elf";
10485f62a964SEmmanuel Vadot
10495f62a964SEmmanuel Vadot	status = "okay";
10505f62a964SEmmanuel Vadot};
10515f62a964SEmmanuel Vadot
10522846c905SEmmanuel Vadot&smb2360_0 {
10532846c905SEmmanuel Vadot	status = "okay";
10542846c905SEmmanuel Vadot};
10552846c905SEmmanuel Vadot
10565f62a964SEmmanuel Vadot&smb2360_0_eusb2_repeater {
10575f62a964SEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
10585f62a964SEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
10595f62a964SEmmanuel Vadot};
10605f62a964SEmmanuel Vadot
10612846c905SEmmanuel Vadot&smb2360_1 {
10622846c905SEmmanuel Vadot	status = "okay";
10632846c905SEmmanuel Vadot};
10642846c905SEmmanuel Vadot
10655f62a964SEmmanuel Vadot&smb2360_1_eusb2_repeater {
10665f62a964SEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
10675f62a964SEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
10685f62a964SEmmanuel Vadot};
10695f62a964SEmmanuel Vadot
10705f62a964SEmmanuel Vadot&tlmm {
10715f62a964SEmmanuel Vadot	gpio-reserved-ranges = <44 4>,  /* SPI11 (TPM) */
10725f62a964SEmmanuel Vadot			       <76 4>,  /* SPI19 (TZ Protected) */
10735f62a964SEmmanuel Vadot			       <238 1>; /* UFS Reset */
10745f62a964SEmmanuel Vadot
10755f62a964SEmmanuel Vadot	cam_indicator_en: cam-indicator-en-state {
10765f62a964SEmmanuel Vadot		pins = "gpio110";
10775f62a964SEmmanuel Vadot		function = "gpio";
10785f62a964SEmmanuel Vadot		drive-strength = <2>;
10795f62a964SEmmanuel Vadot		bias-disable;
10805f62a964SEmmanuel Vadot	};
10815f62a964SEmmanuel Vadot
10825f62a964SEmmanuel Vadot	edp_bl_en: edp-bl-en-state {
10835f62a964SEmmanuel Vadot		pins = "gpio74";
10845f62a964SEmmanuel Vadot		function = "gpio";
10855f62a964SEmmanuel Vadot		drive-strength = <2>;
10865f62a964SEmmanuel Vadot		bias-disable;
10875f62a964SEmmanuel Vadot	};
10885f62a964SEmmanuel Vadot
10895f62a964SEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
10905f62a964SEmmanuel Vadot		pins = "gpio70";
10915f62a964SEmmanuel Vadot		function = "gpio";
10925f62a964SEmmanuel Vadot		drive-strength = <16>;
10935f62a964SEmmanuel Vadot		bias-disable;
10945f62a964SEmmanuel Vadot	};
10955f62a964SEmmanuel Vadot
1096*833e5d42SEmmanuel Vadot	eusb6_reset_n: eusb6-reset-n-state {
1097*833e5d42SEmmanuel Vadot		pins = "gpio184";
1098*833e5d42SEmmanuel Vadot		function = "gpio";
1099*833e5d42SEmmanuel Vadot		drive-strength = <2>;
1100*833e5d42SEmmanuel Vadot		bias-disable;
1101*833e5d42SEmmanuel Vadot		output-low;
1102*833e5d42SEmmanuel Vadot	};
1103*833e5d42SEmmanuel Vadot
11045f62a964SEmmanuel Vadot	hall_int_n_default: hall-int-n-state {
11055f62a964SEmmanuel Vadot		pins = "gpio92";
11065f62a964SEmmanuel Vadot		function = "gpio";
11075f62a964SEmmanuel Vadot
11085f62a964SEmmanuel Vadot		bias-disable;
11095f62a964SEmmanuel Vadot	};
11105f62a964SEmmanuel Vadot
11115f62a964SEmmanuel Vadot	kybd_default: kybd-default-state {
11125f62a964SEmmanuel Vadot		pins = "gpio67";
11135f62a964SEmmanuel Vadot		function = "gpio";
11145f62a964SEmmanuel Vadot		bias-pull-up;
11155f62a964SEmmanuel Vadot	};
11165f62a964SEmmanuel Vadot
11175f62a964SEmmanuel Vadot	nvme_reg_en: nvme-reg-en-state {
11185f62a964SEmmanuel Vadot		pins = "gpio18";
11195f62a964SEmmanuel Vadot		function = "gpio";
11205f62a964SEmmanuel Vadot		drive-strength = <2>;
11215f62a964SEmmanuel Vadot		bias-disable;
11225f62a964SEmmanuel Vadot	};
11235f62a964SEmmanuel Vadot
11245f62a964SEmmanuel Vadot	pcie4_default: pcie4-default-state {
11255f62a964SEmmanuel Vadot		clkreq-n-pins {
11265f62a964SEmmanuel Vadot			pins = "gpio147";
11275f62a964SEmmanuel Vadot			function = "pcie4_clk";
11285f62a964SEmmanuel Vadot			drive-strength = <2>;
11295f62a964SEmmanuel Vadot			bias-pull-up;
11305f62a964SEmmanuel Vadot		};
11315f62a964SEmmanuel Vadot
11325f62a964SEmmanuel Vadot		perst-n-pins {
11335f62a964SEmmanuel Vadot			pins = "gpio146";
11345f62a964SEmmanuel Vadot			function = "gpio";
11355f62a964SEmmanuel Vadot			drive-strength = <2>;
11365f62a964SEmmanuel Vadot			bias-disable;
11375f62a964SEmmanuel Vadot		};
11385f62a964SEmmanuel Vadot
11395f62a964SEmmanuel Vadot		wake-n-pins {
11405f62a964SEmmanuel Vadot			pins = "gpio148";
11415f62a964SEmmanuel Vadot			function = "gpio";
11425f62a964SEmmanuel Vadot			drive-strength = <2>;
11435f62a964SEmmanuel Vadot			bias-pull-up;
11445f62a964SEmmanuel Vadot		};
11455f62a964SEmmanuel Vadot	};
11465f62a964SEmmanuel Vadot
11475f62a964SEmmanuel Vadot	pcie6a_default: pcie6a-default-state {
11485f62a964SEmmanuel Vadot		clkreq-n-pins {
11495f62a964SEmmanuel Vadot			pins = "gpio153";
11505f62a964SEmmanuel Vadot			function = "pcie6a_clk";
11515f62a964SEmmanuel Vadot			drive-strength = <2>;
11525f62a964SEmmanuel Vadot			bias-pull-up;
11535f62a964SEmmanuel Vadot		};
11545f62a964SEmmanuel Vadot
11555f62a964SEmmanuel Vadot		perst-n-pins {
11565f62a964SEmmanuel Vadot			pins = "gpio152";
11575f62a964SEmmanuel Vadot			function = "gpio";
11585f62a964SEmmanuel Vadot			drive-strength = <2>;
11595f62a964SEmmanuel Vadot			bias-disable;
11605f62a964SEmmanuel Vadot		};
11615f62a964SEmmanuel Vadot
11625f62a964SEmmanuel Vadot		wake-n-pins {
11635f62a964SEmmanuel Vadot			pins = "gpio154";
11645f62a964SEmmanuel Vadot			function = "gpio";
11655f62a964SEmmanuel Vadot			drive-strength = <2>;
11665f62a964SEmmanuel Vadot			bias-pull-up;
11675f62a964SEmmanuel Vadot		};
11685f62a964SEmmanuel Vadot	};
11695f62a964SEmmanuel Vadot
11702846c905SEmmanuel Vadot	rtmr1_1p15_reg_en: rtmr1-1p15-reg-en-state {
11712846c905SEmmanuel Vadot		pins = "gpio188";
11722846c905SEmmanuel Vadot		function = "gpio";
11732846c905SEmmanuel Vadot		drive-strength = <2>;
11742846c905SEmmanuel Vadot		bias-disable;
11752846c905SEmmanuel Vadot	};
11762846c905SEmmanuel Vadot
11772846c905SEmmanuel Vadot	rtmr1_1p8_reg_en: rtmr1-1p8-reg-en-state {
11782846c905SEmmanuel Vadot		pins = "gpio175";
11792846c905SEmmanuel Vadot		function = "gpio";
11802846c905SEmmanuel Vadot		drive-strength = <2>;
11812846c905SEmmanuel Vadot		bias-disable;
11822846c905SEmmanuel Vadot	};
11832846c905SEmmanuel Vadot
11842846c905SEmmanuel Vadot	rtmr1_3p3_reg_en: rtmr1-3p3-reg-en-state {
11852846c905SEmmanuel Vadot		pins = "gpio186";
11862846c905SEmmanuel Vadot		function = "gpio";
11872846c905SEmmanuel Vadot		drive-strength = <2>;
11882846c905SEmmanuel Vadot		bias-disable;
11892846c905SEmmanuel Vadot	};
11902846c905SEmmanuel Vadot
11912846c905SEmmanuel Vadot	rtmr1_default: rtmr1-reset-n-active-state {
11922846c905SEmmanuel Vadot		pins = "gpio176";
11932846c905SEmmanuel Vadot		function = "gpio";
11942846c905SEmmanuel Vadot		drive-strength = <2>;
11952846c905SEmmanuel Vadot		bias-disable;
11962846c905SEmmanuel Vadot	};
11972846c905SEmmanuel Vadot
11985f62a964SEmmanuel Vadot	tpad_default: tpad-default-state {
11995f62a964SEmmanuel Vadot		disable-pins {
12005f62a964SEmmanuel Vadot			pins = "gpio38";
12015f62a964SEmmanuel Vadot			function = "gpio";
12025f62a964SEmmanuel Vadot			output-high;
12035f62a964SEmmanuel Vadot		};
12045f62a964SEmmanuel Vadot
12055f62a964SEmmanuel Vadot		int-n-pins {
12065f62a964SEmmanuel Vadot			pins = "gpio3";
12075f62a964SEmmanuel Vadot			function = "gpio";
12085f62a964SEmmanuel Vadot			bias-pull-up;
12095f62a964SEmmanuel Vadot		};
12105f62a964SEmmanuel Vadot
12115f62a964SEmmanuel Vadot		reset-n-pins {
12125f62a964SEmmanuel Vadot			pins = "gpio52";
12135f62a964SEmmanuel Vadot			function = "gpio";
12145f62a964SEmmanuel Vadot			bias-disable;
12155f62a964SEmmanuel Vadot		};
12165f62a964SEmmanuel Vadot	};
12175f62a964SEmmanuel Vadot
12185f62a964SEmmanuel Vadot	ts0_default: ts0-default-state {
12195f62a964SEmmanuel Vadot		disable-pins {
12205f62a964SEmmanuel Vadot			pins = "gpio75";
12215f62a964SEmmanuel Vadot			function = "gpio";
12225f62a964SEmmanuel Vadot			output-high;
12235f62a964SEmmanuel Vadot		};
12245f62a964SEmmanuel Vadot
12255f62a964SEmmanuel Vadot		int-n-pins {
12265f62a964SEmmanuel Vadot			pins = "gpio51";
12275f62a964SEmmanuel Vadot			function = "gpio";
12285f62a964SEmmanuel Vadot			bias-pull-up;
12295f62a964SEmmanuel Vadot		};
12305f62a964SEmmanuel Vadot
12315f62a964SEmmanuel Vadot		reset-n-pins {
12325f62a964SEmmanuel Vadot			/* Technically should be High-Z input */
12335f62a964SEmmanuel Vadot			pins = "gpio48";
12345f62a964SEmmanuel Vadot			function = "gpio";
12355f62a964SEmmanuel Vadot			output-low;
12365f62a964SEmmanuel Vadot			drive-strength = <2>;
12375f62a964SEmmanuel Vadot		};
12385f62a964SEmmanuel Vadot	};
1239*833e5d42SEmmanuel Vadot
1240*833e5d42SEmmanuel Vadot	wcn_sw_en: wcn-sw-en-state {
1241*833e5d42SEmmanuel Vadot		pins = "gpio214";
1242*833e5d42SEmmanuel Vadot		function = "gpio";
1243*833e5d42SEmmanuel Vadot		drive-strength = <2>;
1244*833e5d42SEmmanuel Vadot		bias-disable;
1245*833e5d42SEmmanuel Vadot	};
1246*833e5d42SEmmanuel Vadot
1247*833e5d42SEmmanuel Vadot	wcn_wlan_bt_en: wcn-wlan-bt-en-state {
1248*833e5d42SEmmanuel Vadot		pins = "gpio116", "gpio117";
1249*833e5d42SEmmanuel Vadot		function = "gpio";
1250*833e5d42SEmmanuel Vadot		drive-strength = <2>;
1251*833e5d42SEmmanuel Vadot		bias-disable;
1252*833e5d42SEmmanuel Vadot	};
1253*833e5d42SEmmanuel Vadot};
1254*833e5d42SEmmanuel Vadot
1255*833e5d42SEmmanuel Vadot&uart14 {
1256*833e5d42SEmmanuel Vadot	status = "okay";
1257*833e5d42SEmmanuel Vadot
1258*833e5d42SEmmanuel Vadot	bluetooth {
1259*833e5d42SEmmanuel Vadot		compatible = "qcom,wcn7850-bt";
1260*833e5d42SEmmanuel Vadot		max-speed = <3200000>;
1261*833e5d42SEmmanuel Vadot
1262*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p59>;
1263*833e5d42SEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1264*833e5d42SEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1265*833e5d42SEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1266*833e5d42SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1267*833e5d42SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1268*833e5d42SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1269*833e5d42SEmmanuel Vadot	};
12705f62a964SEmmanuel Vadot};
12715f62a964SEmmanuel Vadot
12725f62a964SEmmanuel Vadot&uart21 {
12735f62a964SEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
12745f62a964SEmmanuel Vadot	status = "okay";
12755f62a964SEmmanuel Vadot};
12765f62a964SEmmanuel Vadot
12775f62a964SEmmanuel Vadot&usb_1_ss0_hsphy {
12785f62a964SEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
12795f62a964SEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
12805f62a964SEmmanuel Vadot
12815f62a964SEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
12825f62a964SEmmanuel Vadot
12835f62a964SEmmanuel Vadot	status = "okay";
12845f62a964SEmmanuel Vadot};
12855f62a964SEmmanuel Vadot
12865f62a964SEmmanuel Vadot&usb_1_ss0_qmpphy {
12872846c905SEmmanuel Vadot	vdda-phy-supply = <&vreg_l2j_1p2>;
12885f62a964SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1j_0p9>;
12895f62a964SEmmanuel Vadot
12905f62a964SEmmanuel Vadot	status = "okay";
12915f62a964SEmmanuel Vadot};
12925f62a964SEmmanuel Vadot
12935f62a964SEmmanuel Vadot&usb_1_ss0 {
12945f62a964SEmmanuel Vadot	status = "okay";
12955f62a964SEmmanuel Vadot};
12965f62a964SEmmanuel Vadot
12975f62a964SEmmanuel Vadot&usb_1_ss0_dwc3 {
12985f62a964SEmmanuel Vadot	dr_mode = "host";
12995f62a964SEmmanuel Vadot};
13005f62a964SEmmanuel Vadot
13015f62a964SEmmanuel Vadot&usb_1_ss0_dwc3_hs {
13025f62a964SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_hs_in>;
13035f62a964SEmmanuel Vadot};
13045f62a964SEmmanuel Vadot
13055f62a964SEmmanuel Vadot&usb_1_ss0_qmpphy_out {
13062846c905SEmmanuel Vadot	remote-endpoint = <&retimer_ss0_ss_in>;
13075f62a964SEmmanuel Vadot};
13085f62a964SEmmanuel Vadot
13095f62a964SEmmanuel Vadot&usb_1_ss1_hsphy {
13105f62a964SEmmanuel Vadot	vdd-supply = <&vreg_l3j_0p8>;
13115f62a964SEmmanuel Vadot	vdda12-supply = <&vreg_l2j_1p2>;
13125f62a964SEmmanuel Vadot
13135f62a964SEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
13145f62a964SEmmanuel Vadot
13155f62a964SEmmanuel Vadot	status = "okay";
13165f62a964SEmmanuel Vadot};
13175f62a964SEmmanuel Vadot
13185f62a964SEmmanuel Vadot&usb_1_ss1_qmpphy {
13192846c905SEmmanuel Vadot	vdda-phy-supply = <&vreg_l2j_1p2>;
13205f62a964SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2d_0p9>;
13215f62a964SEmmanuel Vadot
13225f62a964SEmmanuel Vadot	status = "okay";
13235f62a964SEmmanuel Vadot};
13245f62a964SEmmanuel Vadot
13255f62a964SEmmanuel Vadot&usb_1_ss1 {
13265f62a964SEmmanuel Vadot	status = "okay";
13275f62a964SEmmanuel Vadot};
13285f62a964SEmmanuel Vadot
13295f62a964SEmmanuel Vadot&usb_1_ss1_dwc3 {
13305f62a964SEmmanuel Vadot	dr_mode = "host";
13315f62a964SEmmanuel Vadot};
13325f62a964SEmmanuel Vadot
13335f62a964SEmmanuel Vadot&usb_1_ss1_dwc3_hs {
13345f62a964SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_hs_in>;
13355f62a964SEmmanuel Vadot};
13365f62a964SEmmanuel Vadot
13375f62a964SEmmanuel Vadot&usb_1_ss1_qmpphy_out {
13382846c905SEmmanuel Vadot	remote-endpoint = <&retimer_ss1_ss_in>;
13395f62a964SEmmanuel Vadot};
1340*833e5d42SEmmanuel Vadot
1341*833e5d42SEmmanuel Vadot&usb_mp {
1342*833e5d42SEmmanuel Vadot	status = "okay";
1343*833e5d42SEmmanuel Vadot};
1344*833e5d42SEmmanuel Vadot
1345*833e5d42SEmmanuel Vadot&usb_mp_hsphy0 {
1346*833e5d42SEmmanuel Vadot	vdd-supply = <&vreg_l2e_0p8>;
1347*833e5d42SEmmanuel Vadot	vdda12-supply = <&vreg_l3e_1p2>;
1348*833e5d42SEmmanuel Vadot
1349*833e5d42SEmmanuel Vadot	status = "okay";
1350*833e5d42SEmmanuel Vadot};
1351*833e5d42SEmmanuel Vadot
1352*833e5d42SEmmanuel Vadot&usb_mp_hsphy1 {
1353*833e5d42SEmmanuel Vadot	vdd-supply = <&vreg_l2e_0p8>;
1354*833e5d42SEmmanuel Vadot	vdda12-supply = <&vreg_l3e_1p2>;
1355*833e5d42SEmmanuel Vadot
1356*833e5d42SEmmanuel Vadot	phys = <&eusb6_repeater>;
1357*833e5d42SEmmanuel Vadot
1358*833e5d42SEmmanuel Vadot	status = "okay";
1359*833e5d42SEmmanuel Vadot};
1360*833e5d42SEmmanuel Vadot
1361*833e5d42SEmmanuel Vadot&usb_mp_qmpphy0 {
1362*833e5d42SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
1363*833e5d42SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3c_0p9>;
1364*833e5d42SEmmanuel Vadot
1365*833e5d42SEmmanuel Vadot	status = "okay";
1366*833e5d42SEmmanuel Vadot};
1367*833e5d42SEmmanuel Vadot
1368*833e5d42SEmmanuel Vadot&usb_mp_qmpphy1 {
1369*833e5d42SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_1p2>;
1370*833e5d42SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3c_0p9>;
1371*833e5d42SEmmanuel Vadot
1372*833e5d42SEmmanuel Vadot	status = "okay";
1373*833e5d42SEmmanuel Vadot};
1374