xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/hamoa-iot-evk.dts (revision 69ed3df4f588860308677cda76cbcce1f19a54c9)
11537cf73SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
21537cf73SEmmanuel Vadot/*
31537cf73SEmmanuel Vadot * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
41537cf73SEmmanuel Vadot */
51537cf73SEmmanuel Vadot
61537cf73SEmmanuel Vadot/dts-v1/;
71537cf73SEmmanuel Vadot
80cd4430aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
91537cf73SEmmanuel Vadot#include "hamoa-iot-som.dtsi"
100cd4430aSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
111537cf73SEmmanuel Vadot
121537cf73SEmmanuel Vadot/ {
131537cf73SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. Hamoa IoT EVK";
141537cf73SEmmanuel Vadot	compatible = "qcom,hamoa-iot-evk", "qcom,hamoa-iot-som", "qcom,x1e80100";
151537cf73SEmmanuel Vadot	chassis-type = "embedded";
161537cf73SEmmanuel Vadot
171537cf73SEmmanuel Vadot	aliases {
181537cf73SEmmanuel Vadot		serial0 = &uart21;
191537cf73SEmmanuel Vadot		serial1 = &uart14;
201537cf73SEmmanuel Vadot	};
211537cf73SEmmanuel Vadot
220cd4430aSEmmanuel Vadot	backlight: backlight {
230cd4430aSEmmanuel Vadot		compatible = "pwm-backlight";
240cd4430aSEmmanuel Vadot		pwms = <&pmk8550_pwm 0 5000000>;
250cd4430aSEmmanuel Vadot		enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
260cd4430aSEmmanuel Vadot		power-supply = <&vreg_edp_bl>;
270cd4430aSEmmanuel Vadot
280cd4430aSEmmanuel Vadot		pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>;
290cd4430aSEmmanuel Vadot		pinctrl-names = "default";
300cd4430aSEmmanuel Vadot	};
310cd4430aSEmmanuel Vadot
321537cf73SEmmanuel Vadot	wcd938x: audio-codec {
331537cf73SEmmanuel Vadot		compatible = "qcom,wcd9385-codec";
341537cf73SEmmanuel Vadot
351537cf73SEmmanuel Vadot		pinctrl-0 = <&wcd_default>;
361537cf73SEmmanuel Vadot		pinctrl-names = "default";
371537cf73SEmmanuel Vadot
381537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>;
391537cf73SEmmanuel Vadot
401537cf73SEmmanuel Vadot		qcom,micbias1-microvolt = <1800000>;
411537cf73SEmmanuel Vadot		qcom,micbias2-microvolt = <1800000>;
421537cf73SEmmanuel Vadot		qcom,micbias3-microvolt = <1800000>;
431537cf73SEmmanuel Vadot		qcom,micbias4-microvolt = <1800000>;
441537cf73SEmmanuel Vadot		qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000
451537cf73SEmmanuel Vadot							 500000 500000 500000 500000>;
461537cf73SEmmanuel Vadot		qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
471537cf73SEmmanuel Vadot		qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
481537cf73SEmmanuel Vadot		qcom,rx-device = <&wcd_rx>;
491537cf73SEmmanuel Vadot		qcom,tx-device = <&wcd_tx>;
501537cf73SEmmanuel Vadot
511537cf73SEmmanuel Vadot		vdd-buck-supply = <&vreg_l15b_1p8>;
521537cf73SEmmanuel Vadot		vdd-rxtx-supply = <&vreg_l15b_1p8>;
531537cf73SEmmanuel Vadot		vdd-io-supply = <&vreg_l15b_1p8>;
541537cf73SEmmanuel Vadot		vdd-mic-bias-supply = <&vreg_bob1>;
551537cf73SEmmanuel Vadot
561537cf73SEmmanuel Vadot		#sound-dai-cells = <1>;
571537cf73SEmmanuel Vadot	};
581537cf73SEmmanuel Vadot
591537cf73SEmmanuel Vadot	chosen {
601537cf73SEmmanuel Vadot		stdout-path = "serial0:115200n8";
611537cf73SEmmanuel Vadot	};
621537cf73SEmmanuel Vadot
630cd4430aSEmmanuel Vadot	connector3 {
640cd4430aSEmmanuel Vadot		compatible = "usb-a-connector";
650cd4430aSEmmanuel Vadot		label = "USB-3-Type-A";
660cd4430aSEmmanuel Vadot		power-role = "source";
670cd4430aSEmmanuel Vadot
680cd4430aSEmmanuel Vadot		vbus-supply = <&regulator_usb3_vbus>;
690cd4430aSEmmanuel Vadot
700cd4430aSEmmanuel Vadot		port {
710cd4430aSEmmanuel Vadot			connector_3_in: endpoint {
720cd4430aSEmmanuel Vadot			};
730cd4430aSEmmanuel Vadot		};
740cd4430aSEmmanuel Vadot	};
750cd4430aSEmmanuel Vadot
760cd4430aSEmmanuel Vadot	connector6 {
770cd4430aSEmmanuel Vadot		compatible = "usb-a-connector";
780cd4430aSEmmanuel Vadot		label = "USB-6-Type-A";
790cd4430aSEmmanuel Vadot		power-role = "source";
800cd4430aSEmmanuel Vadot
810cd4430aSEmmanuel Vadot		vbus-supply = <&regulator_usb6_vbus>;
820cd4430aSEmmanuel Vadot
830cd4430aSEmmanuel Vadot		port {
840cd4430aSEmmanuel Vadot			connector_4_in: endpoint {
850cd4430aSEmmanuel Vadot			};
860cd4430aSEmmanuel Vadot		};
870cd4430aSEmmanuel Vadot	};
880cd4430aSEmmanuel Vadot
891537cf73SEmmanuel Vadot	pmic-glink {
901537cf73SEmmanuel Vadot		compatible = "qcom,x1e80100-pmic-glink",
911537cf73SEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
921537cf73SEmmanuel Vadot			     "qcom,pmic-glink";
931537cf73SEmmanuel Vadot		#address-cells = <1>;
941537cf73SEmmanuel Vadot		#size-cells = <0>;
951537cf73SEmmanuel Vadot		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
961537cf73SEmmanuel Vadot				    <&tlmm 123 GPIO_ACTIVE_HIGH>,
971537cf73SEmmanuel Vadot				    <&tlmm 125 GPIO_ACTIVE_HIGH>;
981537cf73SEmmanuel Vadot
991537cf73SEmmanuel Vadot		connector@0 {
1001537cf73SEmmanuel Vadot			compatible = "usb-c-connector";
1011537cf73SEmmanuel Vadot			reg = <0>;
1021537cf73SEmmanuel Vadot			power-role = "dual";
1031537cf73SEmmanuel Vadot			data-role = "dual";
1041537cf73SEmmanuel Vadot
1051537cf73SEmmanuel Vadot			ports {
1061537cf73SEmmanuel Vadot				#address-cells = <1>;
1071537cf73SEmmanuel Vadot				#size-cells = <0>;
1081537cf73SEmmanuel Vadot
1091537cf73SEmmanuel Vadot				port@0 {
1101537cf73SEmmanuel Vadot					reg = <0>;
1111537cf73SEmmanuel Vadot
1121537cf73SEmmanuel Vadot					pmic_glink_ss0_hs_in: endpoint {
1131537cf73SEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
1141537cf73SEmmanuel Vadot					};
1151537cf73SEmmanuel Vadot				};
1161537cf73SEmmanuel Vadot
1171537cf73SEmmanuel Vadot				port@1 {
1181537cf73SEmmanuel Vadot					reg = <1>;
1191537cf73SEmmanuel Vadot
1201537cf73SEmmanuel Vadot					pmic_glink_ss0_ss_in: endpoint {
1211537cf73SEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_qmpphy_out>;
1221537cf73SEmmanuel Vadot					};
1231537cf73SEmmanuel Vadot				};
1241537cf73SEmmanuel Vadot
1251537cf73SEmmanuel Vadot				port@2 {
1261537cf73SEmmanuel Vadot					reg = <2>;
1271537cf73SEmmanuel Vadot
1281537cf73SEmmanuel Vadot					pmic_glink_ss0_sbu: endpoint {
1291537cf73SEmmanuel Vadot						remote-endpoint = <&usb_1_ss0_sbu_mux>;
1301537cf73SEmmanuel Vadot					};
1311537cf73SEmmanuel Vadot				};
1321537cf73SEmmanuel Vadot			};
1331537cf73SEmmanuel Vadot		};
1341537cf73SEmmanuel Vadot
1351537cf73SEmmanuel Vadot		connector@1 {
1361537cf73SEmmanuel Vadot			compatible = "usb-c-connector";
1371537cf73SEmmanuel Vadot			reg = <1>;
1381537cf73SEmmanuel Vadot			power-role = "dual";
1391537cf73SEmmanuel Vadot			data-role = "dual";
1401537cf73SEmmanuel Vadot
1411537cf73SEmmanuel Vadot			ports {
1421537cf73SEmmanuel Vadot				#address-cells = <1>;
1431537cf73SEmmanuel Vadot				#size-cells = <0>;
1441537cf73SEmmanuel Vadot
1451537cf73SEmmanuel Vadot				port@0 {
1461537cf73SEmmanuel Vadot					reg = <0>;
1471537cf73SEmmanuel Vadot
1481537cf73SEmmanuel Vadot					pmic_glink_ss1_hs_in: endpoint {
1491537cf73SEmmanuel Vadot						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
1501537cf73SEmmanuel Vadot					};
1511537cf73SEmmanuel Vadot				};
1521537cf73SEmmanuel Vadot
1531537cf73SEmmanuel Vadot				port@1 {
1541537cf73SEmmanuel Vadot					reg = <1>;
1551537cf73SEmmanuel Vadot
1561537cf73SEmmanuel Vadot					pmic_glink_ss1_ss_in: endpoint {
1571537cf73SEmmanuel Vadot						remote-endpoint = <&retimer_ss1_ss_out>;
1581537cf73SEmmanuel Vadot					};
1591537cf73SEmmanuel Vadot				};
1601537cf73SEmmanuel Vadot
1611537cf73SEmmanuel Vadot				port@2 {
1621537cf73SEmmanuel Vadot					reg = <2>;
1631537cf73SEmmanuel Vadot
1641537cf73SEmmanuel Vadot					pmic_glink_ss1_con_sbu_in: endpoint {
1651537cf73SEmmanuel Vadot						remote-endpoint = <&retimer_ss1_con_sbu_out>;
1661537cf73SEmmanuel Vadot					};
1671537cf73SEmmanuel Vadot				};
1681537cf73SEmmanuel Vadot			};
1691537cf73SEmmanuel Vadot		};
1701537cf73SEmmanuel Vadot
1711537cf73SEmmanuel Vadot		connector@2 {
1721537cf73SEmmanuel Vadot			compatible = "usb-c-connector";
1731537cf73SEmmanuel Vadot			reg = <2>;
1741537cf73SEmmanuel Vadot			power-role = "dual";
1751537cf73SEmmanuel Vadot			data-role = "dual";
1761537cf73SEmmanuel Vadot
1771537cf73SEmmanuel Vadot			ports {
1781537cf73SEmmanuel Vadot				#address-cells = <1>;
1791537cf73SEmmanuel Vadot				#size-cells = <0>;
1801537cf73SEmmanuel Vadot
1811537cf73SEmmanuel Vadot				port@0 {
1821537cf73SEmmanuel Vadot					reg = <0>;
1831537cf73SEmmanuel Vadot
1841537cf73SEmmanuel Vadot					pmic_glink_ss2_hs_in: endpoint {
1851537cf73SEmmanuel Vadot						remote-endpoint = <&usb_1_ss2_dwc3_hs>;
1861537cf73SEmmanuel Vadot					};
1871537cf73SEmmanuel Vadot				};
1881537cf73SEmmanuel Vadot
1891537cf73SEmmanuel Vadot				port@1 {
1901537cf73SEmmanuel Vadot					reg = <1>;
1911537cf73SEmmanuel Vadot
1921537cf73SEmmanuel Vadot					pmic_glink_ss2_ss_in: endpoint {
1931537cf73SEmmanuel Vadot						remote-endpoint = <&retimer_ss2_ss_out>;
1941537cf73SEmmanuel Vadot					};
1951537cf73SEmmanuel Vadot				};
1961537cf73SEmmanuel Vadot
1971537cf73SEmmanuel Vadot				port@2 {
1981537cf73SEmmanuel Vadot					reg = <2>;
1991537cf73SEmmanuel Vadot
2001537cf73SEmmanuel Vadot					pmic_glink_ss2_con_sbu_in: endpoint {
2011537cf73SEmmanuel Vadot						remote-endpoint = <&retimer_ss2_con_sbu_out>;
2021537cf73SEmmanuel Vadot					};
2031537cf73SEmmanuel Vadot				};
2041537cf73SEmmanuel Vadot			};
2051537cf73SEmmanuel Vadot		};
2061537cf73SEmmanuel Vadot	};
2071537cf73SEmmanuel Vadot
2081537cf73SEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
2091537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
2101537cf73SEmmanuel Vadot
2111537cf73SEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
2121537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2131537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2141537cf73SEmmanuel Vadot
2151537cf73SEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
2161537cf73SEmmanuel Vadot		enable-active-high;
2171537cf73SEmmanuel Vadot
2181537cf73SEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
2191537cf73SEmmanuel Vadot		pinctrl-names = "default";
2201537cf73SEmmanuel Vadot
2211537cf73SEmmanuel Vadot		regulator-boot-on;
2221537cf73SEmmanuel Vadot	};
2231537cf73SEmmanuel Vadot
2240cd4430aSEmmanuel Vadot	vreg_edp_bl: regulator-edp-bl {
2250cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
2260cd4430aSEmmanuel Vadot
2270cd4430aSEmmanuel Vadot		regulator-name = "VBL9";
2280cd4430aSEmmanuel Vadot		regulator-min-microvolt = <3600000>;
2290cd4430aSEmmanuel Vadot		regulator-max-microvolt = <3600000>;
2300cd4430aSEmmanuel Vadot
2310cd4430aSEmmanuel Vadot		gpio = <&pmc8380_3_gpios 10 GPIO_ACTIVE_HIGH>;
2320cd4430aSEmmanuel Vadot		enable-active-high;
2330cd4430aSEmmanuel Vadot
2340cd4430aSEmmanuel Vadot		pinctrl-0 = <&edp_bl_reg_en>;
2350cd4430aSEmmanuel Vadot		pinctrl-names = "default";
2360cd4430aSEmmanuel Vadot
2370cd4430aSEmmanuel Vadot		regulator-boot-on;
2380cd4430aSEmmanuel Vadot	};
2390cd4430aSEmmanuel Vadot
2401537cf73SEmmanuel Vadot	vreg_nvme: regulator-nvme {
2411537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
2421537cf73SEmmanuel Vadot
2431537cf73SEmmanuel Vadot		regulator-name = "VREG_NVME_3P3";
2441537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2451537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2461537cf73SEmmanuel Vadot
2471537cf73SEmmanuel Vadot		gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
2481537cf73SEmmanuel Vadot		enable-active-high;
2491537cf73SEmmanuel Vadot
2501537cf73SEmmanuel Vadot		pinctrl-0 = <&nvme_reg_en>;
2511537cf73SEmmanuel Vadot		pinctrl-names = "default";
2521537cf73SEmmanuel Vadot
2531537cf73SEmmanuel Vadot		regulator-boot-on;
2541537cf73SEmmanuel Vadot	};
2551537cf73SEmmanuel Vadot
2560cd4430aSEmmanuel Vadot	vreg_pcie_12v: regulator-pcie-12v {
2570cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
2580cd4430aSEmmanuel Vadot
2590cd4430aSEmmanuel Vadot		regulator-name = "VREG_PCIE_12V";
2600cd4430aSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
2610cd4430aSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
2620cd4430aSEmmanuel Vadot
2630cd4430aSEmmanuel Vadot		gpio = <&pm8550ve_8_gpios 8 GPIO_ACTIVE_HIGH>;
2640cd4430aSEmmanuel Vadot		enable-active-high;
2650cd4430aSEmmanuel Vadot
2660cd4430aSEmmanuel Vadot		pinctrl-0 = <&pcie_x8_12v>;
2670cd4430aSEmmanuel Vadot		pinctrl-names = "default";
2680cd4430aSEmmanuel Vadot	};
2690cd4430aSEmmanuel Vadot
2700cd4430aSEmmanuel Vadot	vreg_pcie_3v3: regulator-pcie-3v3 {
2710cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
2720cd4430aSEmmanuel Vadot
2730cd4430aSEmmanuel Vadot		regulator-name = "VREG_PCIE_3P3";
2740cd4430aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2750cd4430aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2760cd4430aSEmmanuel Vadot
2770cd4430aSEmmanuel Vadot		gpio = <&pmc8380_3_gpios 6 GPIO_ACTIVE_HIGH>;
2780cd4430aSEmmanuel Vadot		enable-active-high;
2790cd4430aSEmmanuel Vadot
2800cd4430aSEmmanuel Vadot		pinctrl-0 = <&pm_sde7_main_3p3_en>;
2810cd4430aSEmmanuel Vadot		pinctrl-names = "default";
2820cd4430aSEmmanuel Vadot	};
2830cd4430aSEmmanuel Vadot
2840cd4430aSEmmanuel Vadot	vreg_pcie_3v3_aux: regulator-pcie-3v3-aux {
2850cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
2860cd4430aSEmmanuel Vadot
2870cd4430aSEmmanuel Vadot		regulator-name = "VREG_PCIE_3P3_AUX";
2880cd4430aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
2890cd4430aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
2900cd4430aSEmmanuel Vadot
2910cd4430aSEmmanuel Vadot		gpio = <&pmc8380_3_gpios 8 GPIO_ACTIVE_HIGH>;
2920cd4430aSEmmanuel Vadot		enable-active-high;
2930cd4430aSEmmanuel Vadot
2940cd4430aSEmmanuel Vadot		pinctrl-0 = <&pm_sde7_aux_3p3_en>;
2950cd4430aSEmmanuel Vadot		pinctrl-names = "default";
2960cd4430aSEmmanuel Vadot	};
2970cd4430aSEmmanuel Vadot
2981537cf73SEmmanuel Vadot	/* Left unused as the retimer is not used on this board. */
2991537cf73SEmmanuel Vadot	vreg_rtmr0_1p15: regulator-rtmr0-1p15 {
3001537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3011537cf73SEmmanuel Vadot
3021537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P15";
3031537cf73SEmmanuel Vadot		regulator-min-microvolt = <1150000>;
3041537cf73SEmmanuel Vadot		regulator-max-microvolt = <1150000>;
3051537cf73SEmmanuel Vadot
3061537cf73SEmmanuel Vadot		gpio = <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>;
3071537cf73SEmmanuel Vadot		enable-active-high;
3081537cf73SEmmanuel Vadot
3091537cf73SEmmanuel Vadot		pinctrl-0 = <&usb0_pwr_1p15_reg_en>;
3101537cf73SEmmanuel Vadot		pinctrl-names = "default";
3111537cf73SEmmanuel Vadot
3121537cf73SEmmanuel Vadot		regulator-boot-on;
3131537cf73SEmmanuel Vadot	};
3141537cf73SEmmanuel Vadot
3151537cf73SEmmanuel Vadot	vreg_rtmr0_1p8: regulator-rtmr0-1p8 {
3161537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3171537cf73SEmmanuel Vadot
3181537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR0_1P8";
3191537cf73SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
3201537cf73SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
3211537cf73SEmmanuel Vadot
3221537cf73SEmmanuel Vadot		gpio = <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>;
3231537cf73SEmmanuel Vadot		enable-active-high;
3241537cf73SEmmanuel Vadot
3251537cf73SEmmanuel Vadot		pinctrl-0 = <&usb0_1p8_reg_en>;
3261537cf73SEmmanuel Vadot		pinctrl-names = "default";
3271537cf73SEmmanuel Vadot
3281537cf73SEmmanuel Vadot		regulator-boot-on;
3291537cf73SEmmanuel Vadot	};
3301537cf73SEmmanuel Vadot
3311537cf73SEmmanuel Vadot	vreg_rtmr0_3p3: regulator-rtmr0-3p3 {
3321537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3331537cf73SEmmanuel Vadot
3341537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR0_3P3";
3351537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
3361537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
3371537cf73SEmmanuel Vadot
3381537cf73SEmmanuel Vadot		gpio = <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>;
3391537cf73SEmmanuel Vadot		enable-active-high;
3401537cf73SEmmanuel Vadot
3411537cf73SEmmanuel Vadot		pinctrl-0 = <&usb0_3p3_reg_en>;
3421537cf73SEmmanuel Vadot		pinctrl-names = "default";
3431537cf73SEmmanuel Vadot
3441537cf73SEmmanuel Vadot		regulator-boot-on;
3451537cf73SEmmanuel Vadot	};
3461537cf73SEmmanuel Vadot
3471537cf73SEmmanuel Vadot	vreg_rtmr1_1p15: regulator-rtmr1-1p15 {
3481537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3491537cf73SEmmanuel Vadot
3501537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P15";
3511537cf73SEmmanuel Vadot		regulator-min-microvolt = <1150000>;
3521537cf73SEmmanuel Vadot		regulator-max-microvolt = <1150000>;
3531537cf73SEmmanuel Vadot
3541537cf73SEmmanuel Vadot		gpio = <&tlmm 188 GPIO_ACTIVE_HIGH>;
3551537cf73SEmmanuel Vadot		enable-active-high;
3561537cf73SEmmanuel Vadot
3571537cf73SEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_1p15_reg_en>;
3581537cf73SEmmanuel Vadot		pinctrl-names = "default";
3591537cf73SEmmanuel Vadot
3601537cf73SEmmanuel Vadot		regulator-boot-on;
3611537cf73SEmmanuel Vadot	};
3621537cf73SEmmanuel Vadot
3631537cf73SEmmanuel Vadot	vreg_rtmr1_1p8: regulator-rtmr1-1p8 {
3641537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3651537cf73SEmmanuel Vadot
3661537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR1_1P8";
3671537cf73SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
3681537cf73SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
3691537cf73SEmmanuel Vadot
3701537cf73SEmmanuel Vadot		gpio = <&tlmm 175 GPIO_ACTIVE_HIGH>;
3711537cf73SEmmanuel Vadot		enable-active-high;
3721537cf73SEmmanuel Vadot
3731537cf73SEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_1p8_reg_en>;
3741537cf73SEmmanuel Vadot		pinctrl-names = "default";
3751537cf73SEmmanuel Vadot
3761537cf73SEmmanuel Vadot		regulator-boot-on;
3771537cf73SEmmanuel Vadot	};
3781537cf73SEmmanuel Vadot
3791537cf73SEmmanuel Vadot	vreg_rtmr1_3p3: regulator-rtmr1-3p3 {
3801537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3811537cf73SEmmanuel Vadot
3821537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR1_3P3";
3831537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
3841537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
3851537cf73SEmmanuel Vadot
3861537cf73SEmmanuel Vadot		gpio = <&tlmm 186 GPIO_ACTIVE_HIGH>;
3871537cf73SEmmanuel Vadot		enable-active-high;
3881537cf73SEmmanuel Vadot
3891537cf73SEmmanuel Vadot		pinctrl-0 = <&usb1_pwr_3p3_reg_en>;
3901537cf73SEmmanuel Vadot		pinctrl-names = "default";
3911537cf73SEmmanuel Vadot
3921537cf73SEmmanuel Vadot		regulator-boot-on;
3931537cf73SEmmanuel Vadot	};
3941537cf73SEmmanuel Vadot
3951537cf73SEmmanuel Vadot	vreg_rtmr2_1p15: regulator-rtmr2-1p15 {
3961537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
3971537cf73SEmmanuel Vadot
3981537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR2_1P15";
3991537cf73SEmmanuel Vadot		regulator-min-microvolt = <1150000>;
4001537cf73SEmmanuel Vadot		regulator-max-microvolt = <1150000>;
4011537cf73SEmmanuel Vadot
4021537cf73SEmmanuel Vadot		gpio = <&tlmm 189 GPIO_ACTIVE_HIGH>;
4031537cf73SEmmanuel Vadot		enable-active-high;
4041537cf73SEmmanuel Vadot
4051537cf73SEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_1p15_reg_en>;
4061537cf73SEmmanuel Vadot		pinctrl-names = "default";
4071537cf73SEmmanuel Vadot
4081537cf73SEmmanuel Vadot		regulator-boot-on;
4091537cf73SEmmanuel Vadot	};
4101537cf73SEmmanuel Vadot
4111537cf73SEmmanuel Vadot	vreg_rtmr2_1p8: regulator-rtmr2-1p8 {
4121537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
4131537cf73SEmmanuel Vadot
4141537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR2_1P8";
4151537cf73SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
4161537cf73SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
4171537cf73SEmmanuel Vadot
4181537cf73SEmmanuel Vadot		gpio = <&tlmm 126 GPIO_ACTIVE_HIGH>;
4191537cf73SEmmanuel Vadot		enable-active-high;
4201537cf73SEmmanuel Vadot
4211537cf73SEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_1p8_reg_en>;
4221537cf73SEmmanuel Vadot		pinctrl-names = "default";
4231537cf73SEmmanuel Vadot
4241537cf73SEmmanuel Vadot		regulator-boot-on;
4251537cf73SEmmanuel Vadot	};
4261537cf73SEmmanuel Vadot
4271537cf73SEmmanuel Vadot	vreg_rtmr2_3p3: regulator-rtmr2-3p3 {
4281537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
4291537cf73SEmmanuel Vadot
4301537cf73SEmmanuel Vadot		regulator-name = "VREG_RTMR2_3P3";
4311537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
4321537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
4331537cf73SEmmanuel Vadot
4341537cf73SEmmanuel Vadot		gpio = <&tlmm 187 GPIO_ACTIVE_HIGH>;
4351537cf73SEmmanuel Vadot		enable-active-high;
4361537cf73SEmmanuel Vadot
4371537cf73SEmmanuel Vadot		pinctrl-0 = <&usb2_pwr_3p3_reg_en>;
4381537cf73SEmmanuel Vadot		pinctrl-names = "default";
4391537cf73SEmmanuel Vadot
4401537cf73SEmmanuel Vadot		regulator-boot-on;
4411537cf73SEmmanuel Vadot	};
4421537cf73SEmmanuel Vadot
4430cd4430aSEmmanuel Vadot	regulator_usb3_vbus: regulator-usb3-vbus {
4440cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
4450cd4430aSEmmanuel Vadot		regulator-name = "USB3_VBUS";
4460cd4430aSEmmanuel Vadot		gpio = <&pm8550ve_9_gpios 4 GPIO_ACTIVE_HIGH>;
4470cd4430aSEmmanuel Vadot		pinctrl-0 = <&usb3_en>;
4480cd4430aSEmmanuel Vadot		pinctrl-names = "default";
4490cd4430aSEmmanuel Vadot		enable-active-high;
4500cd4430aSEmmanuel Vadot		regulator-always-on;
4510cd4430aSEmmanuel Vadot	};
4520cd4430aSEmmanuel Vadot
4530cd4430aSEmmanuel Vadot	regulator_usb6_vbus: regulator-usb6-vbus {
4540cd4430aSEmmanuel Vadot		compatible = "regulator-fixed";
4550cd4430aSEmmanuel Vadot		regulator-name = "USB6_VBUS";
4560cd4430aSEmmanuel Vadot		gpio = <&pm8550ve_9_gpios 5 GPIO_ACTIVE_HIGH>;
4570cd4430aSEmmanuel Vadot		pinctrl-0 = <&usb6_en>;
4580cd4430aSEmmanuel Vadot		pinctrl-names = "default";
4590cd4430aSEmmanuel Vadot		enable-active-high;
4600cd4430aSEmmanuel Vadot		regulator-always-on;
4610cd4430aSEmmanuel Vadot	};
4620cd4430aSEmmanuel Vadot
4631537cf73SEmmanuel Vadot	vph_pwr: regulator-vph-pwr {
4641537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
4651537cf73SEmmanuel Vadot
4661537cf73SEmmanuel Vadot		regulator-name = "vph_pwr";
4671537cf73SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
4681537cf73SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
4691537cf73SEmmanuel Vadot
4701537cf73SEmmanuel Vadot		regulator-always-on;
4711537cf73SEmmanuel Vadot		regulator-boot-on;
4721537cf73SEmmanuel Vadot	};
4731537cf73SEmmanuel Vadot
4741537cf73SEmmanuel Vadot	/*
4751537cf73SEmmanuel Vadot	 * TODO: These two regulators are actually part of the removable M.2
4761537cf73SEmmanuel Vadot	 * card and not the EVK mainboard. Need to describe this differently.
4771537cf73SEmmanuel Vadot	 * Functionally it works correctly, because all we need to do is to
4781537cf73SEmmanuel Vadot	 * turn on the actual 3.3V supply above.
4791537cf73SEmmanuel Vadot	 */
4801537cf73SEmmanuel Vadot	vreg_wcn_0p95: regulator-wcn-0p95 {
4811537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
4821537cf73SEmmanuel Vadot
4831537cf73SEmmanuel Vadot		regulator-name = "VREG_WCN_0P95";
4841537cf73SEmmanuel Vadot		regulator-min-microvolt = <950000>;
4851537cf73SEmmanuel Vadot		regulator-max-microvolt = <950000>;
4861537cf73SEmmanuel Vadot
4871537cf73SEmmanuel Vadot		vin-supply = <&vreg_wcn_3p3>;
4881537cf73SEmmanuel Vadot	};
4891537cf73SEmmanuel Vadot
4901537cf73SEmmanuel Vadot	vreg_wcn_1p9: regulator-wcn-1p9 {
4911537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
4921537cf73SEmmanuel Vadot
4931537cf73SEmmanuel Vadot		regulator-name = "VREG_WCN_1P9";
4941537cf73SEmmanuel Vadot		regulator-min-microvolt = <1900000>;
4951537cf73SEmmanuel Vadot		regulator-max-microvolt = <1900000>;
4961537cf73SEmmanuel Vadot
4971537cf73SEmmanuel Vadot		vin-supply = <&vreg_wcn_3p3>;
4981537cf73SEmmanuel Vadot	};
4991537cf73SEmmanuel Vadot
5001537cf73SEmmanuel Vadot	vreg_wcn_3p3: regulator-wcn-3p3 {
5011537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
5021537cf73SEmmanuel Vadot
5031537cf73SEmmanuel Vadot		regulator-name = "VREG_WCN_3P3";
5041537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
5051537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
5061537cf73SEmmanuel Vadot
5071537cf73SEmmanuel Vadot		gpio = <&tlmm 214 GPIO_ACTIVE_HIGH>;
5081537cf73SEmmanuel Vadot		enable-active-high;
5091537cf73SEmmanuel Vadot
5101537cf73SEmmanuel Vadot		pinctrl-0 = <&wcn_sw_en>;
5111537cf73SEmmanuel Vadot		pinctrl-names = "default";
5121537cf73SEmmanuel Vadot
5131537cf73SEmmanuel Vadot		regulator-always-on;
5141537cf73SEmmanuel Vadot		regulator-boot-on;
5151537cf73SEmmanuel Vadot	};
5161537cf73SEmmanuel Vadot
5171537cf73SEmmanuel Vadot	vreg_wwan: regulator-wwan {
5181537cf73SEmmanuel Vadot		compatible = "regulator-fixed";
5191537cf73SEmmanuel Vadot
5201537cf73SEmmanuel Vadot		regulator-name = "SDX_VPH_PWR";
5211537cf73SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
5221537cf73SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
5231537cf73SEmmanuel Vadot
5241537cf73SEmmanuel Vadot		gpio = <&tlmm 221 GPIO_ACTIVE_HIGH>;
5251537cf73SEmmanuel Vadot		enable-active-high;
5261537cf73SEmmanuel Vadot
5271537cf73SEmmanuel Vadot		pinctrl-0 = <&wwan_sw_en>;
5281537cf73SEmmanuel Vadot		pinctrl-names = "default";
5291537cf73SEmmanuel Vadot
5301537cf73SEmmanuel Vadot		regulator-boot-on;
5311537cf73SEmmanuel Vadot	};
5321537cf73SEmmanuel Vadot
5331537cf73SEmmanuel Vadot	sound {
5341537cf73SEmmanuel Vadot		compatible = "qcom,x1e80100-sndcard";
5351537cf73SEmmanuel Vadot		model = "X1E80100-EVK";
5361537cf73SEmmanuel Vadot		audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
5371537cf73SEmmanuel Vadot				"TweeterLeft IN", "WSA WSA_SPK2 OUT",
5381537cf73SEmmanuel Vadot				"WooferRight IN", "WSA2 WSA_SPK2 OUT",
5391537cf73SEmmanuel Vadot				"TweeterRight IN", "WSA2 WSA_SPK2 OUT",
5401537cf73SEmmanuel Vadot				"IN1_HPHL", "HPHL_OUT",
5411537cf73SEmmanuel Vadot				"IN2_HPHR", "HPHR_OUT",
5421537cf73SEmmanuel Vadot				"AMIC2", "MIC BIAS2",
5431537cf73SEmmanuel Vadot				"VA DMIC0", "MIC BIAS3",
5441537cf73SEmmanuel Vadot				"VA DMIC1", "MIC BIAS3",
5451537cf73SEmmanuel Vadot				"VA DMIC2", "MIC BIAS1",
5461537cf73SEmmanuel Vadot				"VA DMIC3", "MIC BIAS1",
5471537cf73SEmmanuel Vadot				"TX SWR_INPUT1", "ADC2_OUTPUT";
5481537cf73SEmmanuel Vadot
5491537cf73SEmmanuel Vadot		wcd-playback-dai-link {
5501537cf73SEmmanuel Vadot			link-name = "WCD Playback";
5511537cf73SEmmanuel Vadot
5521537cf73SEmmanuel Vadot			codec {
5531537cf73SEmmanuel Vadot				sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
5541537cf73SEmmanuel Vadot			};
5551537cf73SEmmanuel Vadot
5561537cf73SEmmanuel Vadot			cpu {
5571537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
5581537cf73SEmmanuel Vadot			};
5591537cf73SEmmanuel Vadot
5601537cf73SEmmanuel Vadot			platform {
5611537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
5621537cf73SEmmanuel Vadot			};
5631537cf73SEmmanuel Vadot		};
5641537cf73SEmmanuel Vadot
5651537cf73SEmmanuel Vadot		wcd-capture-dai-link {
5661537cf73SEmmanuel Vadot			link-name = "WCD Capture";
5671537cf73SEmmanuel Vadot
5681537cf73SEmmanuel Vadot			codec {
5691537cf73SEmmanuel Vadot				sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>;
5701537cf73SEmmanuel Vadot			};
5711537cf73SEmmanuel Vadot
5721537cf73SEmmanuel Vadot			cpu {
5731537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
5741537cf73SEmmanuel Vadot			};
5751537cf73SEmmanuel Vadot
5761537cf73SEmmanuel Vadot			platform {
5771537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
5781537cf73SEmmanuel Vadot			};
5791537cf73SEmmanuel Vadot		};
5801537cf73SEmmanuel Vadot
5811537cf73SEmmanuel Vadot		wsa-dai-link {
5821537cf73SEmmanuel Vadot			link-name = "WSA Playback";
5831537cf73SEmmanuel Vadot
5841537cf73SEmmanuel Vadot			codec {
5851537cf73SEmmanuel Vadot				sound-dai = <&left_woofer>,
5861537cf73SEmmanuel Vadot					    <&left_tweeter>,
5871537cf73SEmmanuel Vadot					    <&swr0 0>,
5881537cf73SEmmanuel Vadot					    <&lpass_wsamacro 0>,
5891537cf73SEmmanuel Vadot					    <&right_woofer>,
5901537cf73SEmmanuel Vadot					    <&right_tweeter>,
5911537cf73SEmmanuel Vadot					    <&swr3 0>,
5921537cf73SEmmanuel Vadot					    <&lpass_wsa2macro 0>;
5931537cf73SEmmanuel Vadot			};
5941537cf73SEmmanuel Vadot
5951537cf73SEmmanuel Vadot			cpu {
5961537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
5971537cf73SEmmanuel Vadot			};
5981537cf73SEmmanuel Vadot
5991537cf73SEmmanuel Vadot			platform {
6001537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
6011537cf73SEmmanuel Vadot			};
6021537cf73SEmmanuel Vadot		};
6031537cf73SEmmanuel Vadot
6041537cf73SEmmanuel Vadot		va-dai-link {
6051537cf73SEmmanuel Vadot			link-name = "VA Capture";
6061537cf73SEmmanuel Vadot
6071537cf73SEmmanuel Vadot			codec {
6081537cf73SEmmanuel Vadot				sound-dai = <&lpass_vamacro 0>;
6091537cf73SEmmanuel Vadot			};
6101537cf73SEmmanuel Vadot
6111537cf73SEmmanuel Vadot			cpu {
6121537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
6131537cf73SEmmanuel Vadot			};
6141537cf73SEmmanuel Vadot
6151537cf73SEmmanuel Vadot			platform {
6161537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
6171537cf73SEmmanuel Vadot			};
6181537cf73SEmmanuel Vadot		};
619*69ed3df4SEmmanuel Vadot
620*69ed3df4SEmmanuel Vadot		dp0-dai-link {
621*69ed3df4SEmmanuel Vadot			link-name = "DP0 Playback";
622*69ed3df4SEmmanuel Vadot
623*69ed3df4SEmmanuel Vadot			codec {
624*69ed3df4SEmmanuel Vadot				sound-dai = <&mdss_dp0>;
625*69ed3df4SEmmanuel Vadot			};
626*69ed3df4SEmmanuel Vadot
627*69ed3df4SEmmanuel Vadot			cpu {
628*69ed3df4SEmmanuel Vadot				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_0>;
629*69ed3df4SEmmanuel Vadot			};
630*69ed3df4SEmmanuel Vadot
631*69ed3df4SEmmanuel Vadot			platform {
632*69ed3df4SEmmanuel Vadot				sound-dai = <&q6apm>;
633*69ed3df4SEmmanuel Vadot			};
634*69ed3df4SEmmanuel Vadot		};
635*69ed3df4SEmmanuel Vadot
636*69ed3df4SEmmanuel Vadot		dp1-dai-link {
637*69ed3df4SEmmanuel Vadot			link-name = "DP1 Playback";
638*69ed3df4SEmmanuel Vadot
639*69ed3df4SEmmanuel Vadot			codec {
640*69ed3df4SEmmanuel Vadot				sound-dai = <&mdss_dp1>;
641*69ed3df4SEmmanuel Vadot			};
642*69ed3df4SEmmanuel Vadot
643*69ed3df4SEmmanuel Vadot			cpu {
644*69ed3df4SEmmanuel Vadot				sound-dai = <&q6apmbedai DISPLAY_PORT_RX_1>;
645*69ed3df4SEmmanuel Vadot			};
646*69ed3df4SEmmanuel Vadot
647*69ed3df4SEmmanuel Vadot			platform {
648*69ed3df4SEmmanuel Vadot				sound-dai = <&q6apm>;
649*69ed3df4SEmmanuel Vadot			};
650*69ed3df4SEmmanuel Vadot		};
6511537cf73SEmmanuel Vadot	};
6521537cf73SEmmanuel Vadot
6531537cf73SEmmanuel Vadot	usb-1-ss0-sbu-mux {
6541537cf73SEmmanuel Vadot		compatible = "onnn,fsusb42", "gpio-sbu-mux";
6551537cf73SEmmanuel Vadot
6561537cf73SEmmanuel Vadot		enable-gpios = <&tlmm 168 GPIO_ACTIVE_LOW>;
6571537cf73SEmmanuel Vadot		select-gpios = <&tlmm 167 GPIO_ACTIVE_HIGH>;
6581537cf73SEmmanuel Vadot
6591537cf73SEmmanuel Vadot		pinctrl-0 = <&usb_1_ss0_sbu_default>;
6601537cf73SEmmanuel Vadot		pinctrl-names = "default";
6611537cf73SEmmanuel Vadot
6621537cf73SEmmanuel Vadot		mode-switch;
6631537cf73SEmmanuel Vadot		orientation-switch;
6641537cf73SEmmanuel Vadot
6651537cf73SEmmanuel Vadot		port {
6661537cf73SEmmanuel Vadot			usb_1_ss0_sbu_mux: endpoint {
6671537cf73SEmmanuel Vadot				remote-endpoint = <&pmic_glink_ss0_sbu>;
6681537cf73SEmmanuel Vadot			};
6691537cf73SEmmanuel Vadot		};
6701537cf73SEmmanuel Vadot	};
6711537cf73SEmmanuel Vadot
6721537cf73SEmmanuel Vadot	wcn7850-pmu {
6731537cf73SEmmanuel Vadot		compatible = "qcom,wcn7850-pmu";
6741537cf73SEmmanuel Vadot
6751537cf73SEmmanuel Vadot		vdd-supply = <&vreg_wcn_0p95>;
6761537cf73SEmmanuel Vadot		vddio-supply = <&vreg_l15b_1p8>;
6771537cf73SEmmanuel Vadot		vddaon-supply = <&vreg_wcn_0p95>;
6781537cf73SEmmanuel Vadot		vdddig-supply = <&vreg_wcn_0p95>;
6791537cf73SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_wcn_1p9>;
6801537cf73SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_wcn_1p9>;
6811537cf73SEmmanuel Vadot
6821537cf73SEmmanuel Vadot		bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
6831537cf73SEmmanuel Vadot		wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
6841537cf73SEmmanuel Vadot
6850cd4430aSEmmanuel Vadot		pinctrl-0 = <&wcn_bt_en>, <&wcn_wlan_en>;
6861537cf73SEmmanuel Vadot		pinctrl-names = "default";
6871537cf73SEmmanuel Vadot
6881537cf73SEmmanuel Vadot		regulators {
6891537cf73SEmmanuel Vadot			vreg_pmu_rfa_cmn: ldo0 {
6901537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_cmn";
6911537cf73SEmmanuel Vadot			};
6921537cf73SEmmanuel Vadot
6931537cf73SEmmanuel Vadot			vreg_pmu_aon_0p59: ldo1 {
6941537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_aon_0p59";
6951537cf73SEmmanuel Vadot			};
6961537cf73SEmmanuel Vadot
6971537cf73SEmmanuel Vadot			vreg_pmu_wlcx_0p8: ldo2 {
6981537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_wlcx_0p8";
6991537cf73SEmmanuel Vadot			};
7001537cf73SEmmanuel Vadot
7011537cf73SEmmanuel Vadot			vreg_pmu_wlmx_0p85: ldo3 {
7021537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_wlmx_0p85";
7031537cf73SEmmanuel Vadot			};
7041537cf73SEmmanuel Vadot
7051537cf73SEmmanuel Vadot			vreg_pmu_btcmx_0p85: ldo4 {
7061537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_btcmx_0p85";
7071537cf73SEmmanuel Vadot			};
7081537cf73SEmmanuel Vadot
7091537cf73SEmmanuel Vadot			vreg_pmu_rfa_0p8: ldo5 {
7101537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_0p8";
7111537cf73SEmmanuel Vadot			};
7121537cf73SEmmanuel Vadot
7131537cf73SEmmanuel Vadot			vreg_pmu_rfa_1p2: ldo6 {
7141537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p2";
7151537cf73SEmmanuel Vadot			};
7161537cf73SEmmanuel Vadot
7171537cf73SEmmanuel Vadot			vreg_pmu_rfa_1p8: ldo7 {
7181537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p8";
7191537cf73SEmmanuel Vadot			};
7201537cf73SEmmanuel Vadot
7211537cf73SEmmanuel Vadot			vreg_pmu_pcie_0p9: ldo8 {
7221537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_0p9";
7231537cf73SEmmanuel Vadot			};
7241537cf73SEmmanuel Vadot
7251537cf73SEmmanuel Vadot			vreg_pmu_pcie_1p8: ldo9 {
7261537cf73SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_1p8";
7271537cf73SEmmanuel Vadot			};
7281537cf73SEmmanuel Vadot		};
7291537cf73SEmmanuel Vadot	};
7301537cf73SEmmanuel Vadot};
7311537cf73SEmmanuel Vadot
7321537cf73SEmmanuel Vadot&i2c1 {
7331537cf73SEmmanuel Vadot	clock-frequency = <400000>;
7341537cf73SEmmanuel Vadot	status = "okay";
7351537cf73SEmmanuel Vadot
7361537cf73SEmmanuel Vadot	typec-mux@8 {
7371537cf73SEmmanuel Vadot		compatible = "parade,ps8830";
7381537cf73SEmmanuel Vadot		reg = <0x08>;
7391537cf73SEmmanuel Vadot
7401537cf73SEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK5>;
7411537cf73SEmmanuel Vadot
7421537cf73SEmmanuel Vadot		vdd-supply = <&vreg_rtmr2_1p15>;
7431537cf73SEmmanuel Vadot		vdd33-supply = <&vreg_rtmr2_3p3>;
7441537cf73SEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr2_3p3>;
7451537cf73SEmmanuel Vadot		vddar-supply = <&vreg_rtmr2_1p15>;
7461537cf73SEmmanuel Vadot		vddat-supply = <&vreg_rtmr2_1p15>;
7471537cf73SEmmanuel Vadot		vddio-supply = <&vreg_rtmr2_1p8>;
7481537cf73SEmmanuel Vadot
7491537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 185 GPIO_ACTIVE_LOW>;
7501537cf73SEmmanuel Vadot
7511537cf73SEmmanuel Vadot		pinctrl-0 = <&rtmr2_default>;
7521537cf73SEmmanuel Vadot		pinctrl-names = "default";
7531537cf73SEmmanuel Vadot
7541537cf73SEmmanuel Vadot		orientation-switch;
7551537cf73SEmmanuel Vadot		retimer-switch;
7561537cf73SEmmanuel Vadot
7571537cf73SEmmanuel Vadot		ports {
7581537cf73SEmmanuel Vadot			#address-cells = <1>;
7591537cf73SEmmanuel Vadot			#size-cells = <0>;
7601537cf73SEmmanuel Vadot
7611537cf73SEmmanuel Vadot			port@0 {
7621537cf73SEmmanuel Vadot				reg = <0>;
7631537cf73SEmmanuel Vadot
7641537cf73SEmmanuel Vadot				retimer_ss2_ss_out: endpoint {
7651537cf73SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss2_ss_in>;
7661537cf73SEmmanuel Vadot				};
7671537cf73SEmmanuel Vadot			};
7681537cf73SEmmanuel Vadot
7691537cf73SEmmanuel Vadot			port@1 {
7701537cf73SEmmanuel Vadot				reg = <1>;
7711537cf73SEmmanuel Vadot
7721537cf73SEmmanuel Vadot				retimer_ss2_ss_in: endpoint {
7731537cf73SEmmanuel Vadot					remote-endpoint = <&usb_1_ss2_qmpphy_out>;
7741537cf73SEmmanuel Vadot				};
7751537cf73SEmmanuel Vadot			};
7761537cf73SEmmanuel Vadot
7771537cf73SEmmanuel Vadot			port@2 {
7781537cf73SEmmanuel Vadot				reg = <2>;
7791537cf73SEmmanuel Vadot
7801537cf73SEmmanuel Vadot				retimer_ss2_con_sbu_out: endpoint {
7811537cf73SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss2_con_sbu_in>;
7821537cf73SEmmanuel Vadot				};
7831537cf73SEmmanuel Vadot			};
7841537cf73SEmmanuel Vadot		};
7851537cf73SEmmanuel Vadot	};
7861537cf73SEmmanuel Vadot};
7871537cf73SEmmanuel Vadot
7881537cf73SEmmanuel Vadot&i2c5 {
7891537cf73SEmmanuel Vadot	clock-frequency = <400000>;
7901537cf73SEmmanuel Vadot
7911537cf73SEmmanuel Vadot	status = "okay";
7921537cf73SEmmanuel Vadot
7931537cf73SEmmanuel Vadot	eusb3_repeater: redriver@47 {
7941537cf73SEmmanuel Vadot		compatible = "nxp,ptn3222";
7951537cf73SEmmanuel Vadot		reg = <0x47>;
7961537cf73SEmmanuel Vadot		#phy-cells = <0>;
7971537cf73SEmmanuel Vadot
7981537cf73SEmmanuel Vadot		vdd3v3-supply = <&vreg_l13b_3p0>;
7991537cf73SEmmanuel Vadot		vdd1v8-supply = <&vreg_l4b_1p8>;
8001537cf73SEmmanuel Vadot
8011537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
8021537cf73SEmmanuel Vadot
8031537cf73SEmmanuel Vadot		pinctrl-0 = <&eusb3_reset_n>;
8041537cf73SEmmanuel Vadot		pinctrl-names = "default";
8051537cf73SEmmanuel Vadot	};
8061537cf73SEmmanuel Vadot
8071537cf73SEmmanuel Vadot	eusb5_repeater: redriver@43 {
8081537cf73SEmmanuel Vadot		compatible = "nxp,ptn3222";
8091537cf73SEmmanuel Vadot		reg = <0x43>;
8101537cf73SEmmanuel Vadot		#phy-cells = <0>;
8111537cf73SEmmanuel Vadot
8121537cf73SEmmanuel Vadot		vdd3v3-supply = <&vreg_l13b_3p0>;
8131537cf73SEmmanuel Vadot		vdd1v8-supply = <&vreg_l4b_1p8>;
8141537cf73SEmmanuel Vadot
8151537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 7 GPIO_ACTIVE_LOW>;
8161537cf73SEmmanuel Vadot
8171537cf73SEmmanuel Vadot		pinctrl-0 = <&eusb5_reset_n>;
8181537cf73SEmmanuel Vadot		pinctrl-names = "default";
8191537cf73SEmmanuel Vadot	};
8201537cf73SEmmanuel Vadot
8211537cf73SEmmanuel Vadot	eusb6_repeater: redriver@4f {
8221537cf73SEmmanuel Vadot		compatible = "nxp,ptn3222";
8231537cf73SEmmanuel Vadot		reg = <0x4f>;
8241537cf73SEmmanuel Vadot		#phy-cells = <0>;
8251537cf73SEmmanuel Vadot
8261537cf73SEmmanuel Vadot		vdd3v3-supply = <&vreg_l13b_3p0>;
8271537cf73SEmmanuel Vadot		vdd1v8-supply = <&vreg_l4b_1p8>;
8281537cf73SEmmanuel Vadot
8291537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 184 GPIO_ACTIVE_LOW>;
8301537cf73SEmmanuel Vadot
8311537cf73SEmmanuel Vadot		pinctrl-0 = <&eusb6_reset_n>;
8321537cf73SEmmanuel Vadot		pinctrl-names = "default";
8331537cf73SEmmanuel Vadot	};
8341537cf73SEmmanuel Vadot};
8351537cf73SEmmanuel Vadot
8361537cf73SEmmanuel Vadot&i2c7 {
8371537cf73SEmmanuel Vadot	clock-frequency = <400000>;
8381537cf73SEmmanuel Vadot
8391537cf73SEmmanuel Vadot	status = "okay";
8401537cf73SEmmanuel Vadot
8411537cf73SEmmanuel Vadot	typec-mux@8 {
8421537cf73SEmmanuel Vadot		compatible = "parade,ps8830";
8431537cf73SEmmanuel Vadot		reg = <0x8>;
8441537cf73SEmmanuel Vadot
8451537cf73SEmmanuel Vadot		clocks = <&rpmhcc RPMH_RF_CLK4>;
8461537cf73SEmmanuel Vadot
8471537cf73SEmmanuel Vadot		vdd-supply = <&vreg_rtmr1_1p15>;
8481537cf73SEmmanuel Vadot		vdd33-supply = <&vreg_rtmr1_3p3>;
8491537cf73SEmmanuel Vadot		vdd33-cap-supply = <&vreg_rtmr1_3p3>;
8501537cf73SEmmanuel Vadot		vddar-supply = <&vreg_rtmr1_1p15>;
8511537cf73SEmmanuel Vadot		vddat-supply = <&vreg_rtmr1_1p15>;
8521537cf73SEmmanuel Vadot		vddio-supply = <&vreg_rtmr1_1p8>;
8531537cf73SEmmanuel Vadot
8541537cf73SEmmanuel Vadot		reset-gpios = <&tlmm 176 GPIO_ACTIVE_LOW>;
8551537cf73SEmmanuel Vadot
8561537cf73SEmmanuel Vadot		pinctrl-0 = <&rtmr1_default>;
8571537cf73SEmmanuel Vadot		pinctrl-names = "default";
8581537cf73SEmmanuel Vadot
8591537cf73SEmmanuel Vadot		retimer-switch;
8601537cf73SEmmanuel Vadot		orientation-switch;
8611537cf73SEmmanuel Vadot
8621537cf73SEmmanuel Vadot		ports {
8631537cf73SEmmanuel Vadot			#address-cells = <1>;
8641537cf73SEmmanuel Vadot			#size-cells = <0>;
8651537cf73SEmmanuel Vadot
8661537cf73SEmmanuel Vadot			port@0 {
8671537cf73SEmmanuel Vadot				reg = <0>;
8681537cf73SEmmanuel Vadot
8691537cf73SEmmanuel Vadot				retimer_ss1_ss_out: endpoint {
8701537cf73SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_ss_in>;
8711537cf73SEmmanuel Vadot				};
8721537cf73SEmmanuel Vadot			};
8731537cf73SEmmanuel Vadot
8741537cf73SEmmanuel Vadot			port@1 {
8751537cf73SEmmanuel Vadot				reg = <1>;
8761537cf73SEmmanuel Vadot
8771537cf73SEmmanuel Vadot				retimer_ss1_ss_in: endpoint {
8781537cf73SEmmanuel Vadot					remote-endpoint = <&usb_1_ss1_qmpphy_out>;
8791537cf73SEmmanuel Vadot				};
8801537cf73SEmmanuel Vadot			};
8811537cf73SEmmanuel Vadot
8821537cf73SEmmanuel Vadot			port@2 {
8831537cf73SEmmanuel Vadot				reg = <2>;
8841537cf73SEmmanuel Vadot
8851537cf73SEmmanuel Vadot				retimer_ss1_con_sbu_out: endpoint {
8861537cf73SEmmanuel Vadot					remote-endpoint = <&pmic_glink_ss1_con_sbu_in>;
8871537cf73SEmmanuel Vadot				};
8881537cf73SEmmanuel Vadot			};
8891537cf73SEmmanuel Vadot		};
8901537cf73SEmmanuel Vadot	};
8911537cf73SEmmanuel Vadot};
8921537cf73SEmmanuel Vadot
8931537cf73SEmmanuel Vadot&lpass_tlmm {
89496fb1ebdSEmmanuel Vadot	spkr_0_sd_n_active: spkr-0-sd-n-active-state {
8951537cf73SEmmanuel Vadot		pins = "gpio12";
8961537cf73SEmmanuel Vadot		function = "gpio";
8971537cf73SEmmanuel Vadot		drive-strength = <16>;
8981537cf73SEmmanuel Vadot		bias-disable;
8991537cf73SEmmanuel Vadot	};
9001537cf73SEmmanuel Vadot
90196fb1ebdSEmmanuel Vadot	spkr_1_sd_n_active: spkr-1-sd-n-active-state {
9021537cf73SEmmanuel Vadot		pins = "gpio13";
9031537cf73SEmmanuel Vadot		function = "gpio";
9041537cf73SEmmanuel Vadot		drive-strength = <16>;
9051537cf73SEmmanuel Vadot		bias-disable;
90696fb1ebdSEmmanuel Vadot	};
90796fb1ebdSEmmanuel Vadot
90896fb1ebdSEmmanuel Vadot	spkr_2_sd_n_active: spkr-2-sd-n-active-state {
90996fb1ebdSEmmanuel Vadot		pins = "gpio17";
91096fb1ebdSEmmanuel Vadot		function = "gpio";
91196fb1ebdSEmmanuel Vadot		drive-strength = <16>;
91296fb1ebdSEmmanuel Vadot		bias-disable;
91396fb1ebdSEmmanuel Vadot	};
91496fb1ebdSEmmanuel Vadot
91596fb1ebdSEmmanuel Vadot	spkr_3_sd_n_active: spkr-3-sd-n-active-state {
91696fb1ebdSEmmanuel Vadot		pins = "gpio18";
91796fb1ebdSEmmanuel Vadot		function = "gpio";
91896fb1ebdSEmmanuel Vadot		drive-strength = <16>;
91996fb1ebdSEmmanuel Vadot		bias-disable;
9201537cf73SEmmanuel Vadot	};
9211537cf73SEmmanuel Vadot};
9221537cf73SEmmanuel Vadot
9231537cf73SEmmanuel Vadot&lpass_vamacro {
9241537cf73SEmmanuel Vadot	pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
9251537cf73SEmmanuel Vadot	pinctrl-names = "default";
9261537cf73SEmmanuel Vadot
9271537cf73SEmmanuel Vadot	vdd-micb-supply = <&vreg_l1b_1p8>;
9281537cf73SEmmanuel Vadot	qcom,dmic-sample-rate = <4800000>;
9291537cf73SEmmanuel Vadot};
9301537cf73SEmmanuel Vadot
9311537cf73SEmmanuel Vadot&mdss {
9321537cf73SEmmanuel Vadot	status = "okay";
9331537cf73SEmmanuel Vadot};
9341537cf73SEmmanuel Vadot
9351537cf73SEmmanuel Vadot&mdss_dp0 {
9361537cf73SEmmanuel Vadot	status = "okay";
9371537cf73SEmmanuel Vadot};
9381537cf73SEmmanuel Vadot
9391537cf73SEmmanuel Vadot&mdss_dp0_out {
9401537cf73SEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
9411537cf73SEmmanuel Vadot};
9421537cf73SEmmanuel Vadot
9431537cf73SEmmanuel Vadot&mdss_dp1 {
9441537cf73SEmmanuel Vadot	status = "okay";
9451537cf73SEmmanuel Vadot};
9461537cf73SEmmanuel Vadot
9471537cf73SEmmanuel Vadot&mdss_dp1_out {
9481537cf73SEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
9491537cf73SEmmanuel Vadot};
9501537cf73SEmmanuel Vadot
9511537cf73SEmmanuel Vadot&mdss_dp2 {
9521537cf73SEmmanuel Vadot	status = "okay";
9531537cf73SEmmanuel Vadot};
9541537cf73SEmmanuel Vadot
9551537cf73SEmmanuel Vadot&mdss_dp2_out {
9561537cf73SEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
9571537cf73SEmmanuel Vadot};
9581537cf73SEmmanuel Vadot
9591537cf73SEmmanuel Vadot&mdss_dp3 {
9601537cf73SEmmanuel Vadot	/delete-property/ #sound-dai-cells;
9611537cf73SEmmanuel Vadot
9621537cf73SEmmanuel Vadot	pinctrl-0 = <&edp0_hpd_default>;
9631537cf73SEmmanuel Vadot	pinctrl-names = "default";
9641537cf73SEmmanuel Vadot
9651537cf73SEmmanuel Vadot	status = "okay";
9661537cf73SEmmanuel Vadot
9671537cf73SEmmanuel Vadot	aux-bus {
9681537cf73SEmmanuel Vadot		panel {
9691537cf73SEmmanuel Vadot			compatible = "edp-panel";
9700cd4430aSEmmanuel Vadot
9710cd4430aSEmmanuel Vadot			backlight = <&backlight>;
9721537cf73SEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
9731537cf73SEmmanuel Vadot
9741537cf73SEmmanuel Vadot			port {
9751537cf73SEmmanuel Vadot				edp_panel_in: endpoint {
9761537cf73SEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
9771537cf73SEmmanuel Vadot				};
9781537cf73SEmmanuel Vadot			};
9791537cf73SEmmanuel Vadot		};
9801537cf73SEmmanuel Vadot	};
9811537cf73SEmmanuel Vadot};
9821537cf73SEmmanuel Vadot
9831537cf73SEmmanuel Vadot&mdss_dp3_out {
9841537cf73SEmmanuel Vadot	data-lanes = <0 1 2 3>;
9851537cf73SEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
9861537cf73SEmmanuel Vadot
9871537cf73SEmmanuel Vadot	remote-endpoint = <&edp_panel_in>;
9881537cf73SEmmanuel Vadot};
9891537cf73SEmmanuel Vadot
9901537cf73SEmmanuel Vadot&mdss_dp3_phy {
9911537cf73SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
9921537cf73SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
9931537cf73SEmmanuel Vadot
9941537cf73SEmmanuel Vadot	status = "okay";
9951537cf73SEmmanuel Vadot};
9961537cf73SEmmanuel Vadot
9970cd4430aSEmmanuel Vadot&pcie3_port0 {
9980cd4430aSEmmanuel Vadot	vpcie12v-supply = <&vreg_pcie_12v>;
9990cd4430aSEmmanuel Vadot	vpcie3v3-supply = <&vreg_pcie_3v3>;
10000cd4430aSEmmanuel Vadot	vpcie3v3aux-supply = <&vreg_pcie_3v3_aux>;
10010cd4430aSEmmanuel Vadot
10020cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
10030cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
10040cd4430aSEmmanuel Vadot};
10050cd4430aSEmmanuel Vadot
10060cd4430aSEmmanuel Vadot&pcie4_port0 {
10070cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
10080cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
10090cd4430aSEmmanuel Vadot
10100cd4430aSEmmanuel Vadot	wifi@0 {
10110cd4430aSEmmanuel Vadot		compatible = "pci17cb,1107";
10120cd4430aSEmmanuel Vadot		reg = <0x10000 0x0 0x0 0x0 0x0>;
10130cd4430aSEmmanuel Vadot
10140cd4430aSEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p59>;
10150cd4430aSEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
10160cd4430aSEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
10170cd4430aSEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
10180cd4430aSEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
10190cd4430aSEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
10200cd4430aSEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
10210cd4430aSEmmanuel Vadot		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
10220cd4430aSEmmanuel Vadot		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
10230cd4430aSEmmanuel Vadot	};
10240cd4430aSEmmanuel Vadot};
10250cd4430aSEmmanuel Vadot
10260cd4430aSEmmanuel Vadot&pcie5 {
10270cd4430aSEmmanuel Vadot	vddpe-3v3-supply = <&vreg_wwan>;
10280cd4430aSEmmanuel Vadot};
10290cd4430aSEmmanuel Vadot
10300cd4430aSEmmanuel Vadot&pcie5_port0 {
10310cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
10320cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
10330cd4430aSEmmanuel Vadot};
10340cd4430aSEmmanuel Vadot
10351537cf73SEmmanuel Vadot&pcie6a {
10361537cf73SEmmanuel Vadot	vddpe-3v3-supply = <&vreg_nvme>;
10371537cf73SEmmanuel Vadot};
10381537cf73SEmmanuel Vadot
10390cd4430aSEmmanuel Vadot&pcie6a_port0 {
10400cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
10410cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
10420cd4430aSEmmanuel Vadot};
10430cd4430aSEmmanuel Vadot
10441537cf73SEmmanuel Vadot&pm8550_gpios {
10451537cf73SEmmanuel Vadot	rtmr0_default: rtmr0-reset-n-active-state {
10461537cf73SEmmanuel Vadot		pins = "gpio10";
10471537cf73SEmmanuel Vadot		function = "normal";
10481537cf73SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10491537cf73SEmmanuel Vadot		bias-disable;
10501537cf73SEmmanuel Vadot		input-disable;
10511537cf73SEmmanuel Vadot		output-enable;
10521537cf73SEmmanuel Vadot	};
10531537cf73SEmmanuel Vadot
10541537cf73SEmmanuel Vadot	usb0_3p3_reg_en: usb0-3p3-reg-en-state {
10551537cf73SEmmanuel Vadot		pins = "gpio11";
10561537cf73SEmmanuel Vadot		function = "normal";
10571537cf73SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10581537cf73SEmmanuel Vadot		bias-disable;
10591537cf73SEmmanuel Vadot		input-disable;
10601537cf73SEmmanuel Vadot		output-enable;
10611537cf73SEmmanuel Vadot	};
10621537cf73SEmmanuel Vadot};
10631537cf73SEmmanuel Vadot
10640cd4430aSEmmanuel Vadot&pm8550ve_8_gpios {
10650cd4430aSEmmanuel Vadot	pcie_x8_12v: pcie-12v-default-state {
10660cd4430aSEmmanuel Vadot		pins = "gpio8";
10670cd4430aSEmmanuel Vadot		function = "normal";
10680cd4430aSEmmanuel Vadot		output-enable;
10690cd4430aSEmmanuel Vadot		output-high;
10700cd4430aSEmmanuel Vadot		bias-pull-down;
10710cd4430aSEmmanuel Vadot		power-source = <0>;
10720cd4430aSEmmanuel Vadot	};
10730cd4430aSEmmanuel Vadot};
10740cd4430aSEmmanuel Vadot
10751537cf73SEmmanuel Vadot&pm8550ve_9_gpios {
10761537cf73SEmmanuel Vadot	usb0_1p8_reg_en: usb0-1p8-reg-en-state {
10771537cf73SEmmanuel Vadot		pins = "gpio8";
10781537cf73SEmmanuel Vadot		function = "normal";
10791537cf73SEmmanuel Vadot		power-source = <1>; /* 1.8V */
10801537cf73SEmmanuel Vadot		bias-disable;
10811537cf73SEmmanuel Vadot		input-disable;
10821537cf73SEmmanuel Vadot		output-enable;
10831537cf73SEmmanuel Vadot	};
10840cd4430aSEmmanuel Vadot
10850cd4430aSEmmanuel Vadot	usb3_en: usb3-en-state {
10860cd4430aSEmmanuel Vadot		pins = "gpio4";
10870cd4430aSEmmanuel Vadot		function = "normal";
10880cd4430aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
10890cd4430aSEmmanuel Vadot		output-enable;
10900cd4430aSEmmanuel Vadot		power-source = <0>;
10910cd4430aSEmmanuel Vadot	};
10920cd4430aSEmmanuel Vadot
10930cd4430aSEmmanuel Vadot	usb6_en: usb6-en-state {
10940cd4430aSEmmanuel Vadot		pins = "gpio5";
10950cd4430aSEmmanuel Vadot		function = "normal";
10960cd4430aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
10970cd4430aSEmmanuel Vadot		output-enable;
10980cd4430aSEmmanuel Vadot		power-source = <0>;
10990cd4430aSEmmanuel Vadot	};
11000cd4430aSEmmanuel Vadot};
11010cd4430aSEmmanuel Vadot
11020cd4430aSEmmanuel Vadot&pm8550_pwm {
11030cd4430aSEmmanuel Vadot	status = "okay";
11040cd4430aSEmmanuel Vadot
11050cd4430aSEmmanuel Vadot	multi-led {
11060cd4430aSEmmanuel Vadot		color = <LED_COLOR_ID_MULTI>;
11070cd4430aSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
11080cd4430aSEmmanuel Vadot
11090cd4430aSEmmanuel Vadot		#address-cells = <1>;
11100cd4430aSEmmanuel Vadot		#size-cells = <0>;
11110cd4430aSEmmanuel Vadot
11120cd4430aSEmmanuel Vadot		led@1 {
11130cd4430aSEmmanuel Vadot			reg = <1>;
11140cd4430aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
11150cd4430aSEmmanuel Vadot		};
11160cd4430aSEmmanuel Vadot
11170cd4430aSEmmanuel Vadot		led@2 {
11180cd4430aSEmmanuel Vadot			reg = <2>;
11190cd4430aSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
11200cd4430aSEmmanuel Vadot		};
11210cd4430aSEmmanuel Vadot	};
11220cd4430aSEmmanuel Vadot};
11230cd4430aSEmmanuel Vadot
11240cd4430aSEmmanuel Vadot&pmc8380_3_gpios {
11250cd4430aSEmmanuel Vadot	edp_bl_en: edp-bl-en-state {
11260cd4430aSEmmanuel Vadot		pins = "gpio4";
11270cd4430aSEmmanuel Vadot		function = "normal";
11280cd4430aSEmmanuel Vadot		power-source = <1>;
11290cd4430aSEmmanuel Vadot		input-disable;
11300cd4430aSEmmanuel Vadot		output-enable;
11310cd4430aSEmmanuel Vadot	};
11320cd4430aSEmmanuel Vadot
11330cd4430aSEmmanuel Vadot	edp_bl_reg_en: edp-bl-reg-en-state {
11340cd4430aSEmmanuel Vadot		pins = "gpio10";
11350cd4430aSEmmanuel Vadot		function = "normal";
11360cd4430aSEmmanuel Vadot	};
11370cd4430aSEmmanuel Vadot
11380cd4430aSEmmanuel Vadot	pm_sde7_aux_3p3_en: pcie-aux-3p3-default-state {
11390cd4430aSEmmanuel Vadot		pins = "gpio8";
11400cd4430aSEmmanuel Vadot		function = "normal";
11410cd4430aSEmmanuel Vadot		output-enable;
11420cd4430aSEmmanuel Vadot		bias-pull-down;
11430cd4430aSEmmanuel Vadot		power-source = <0>;
11440cd4430aSEmmanuel Vadot	};
11450cd4430aSEmmanuel Vadot
11460cd4430aSEmmanuel Vadot	pm_sde7_main_3p3_en: pcie-main-3p3-default-state {
11470cd4430aSEmmanuel Vadot		pins = "gpio6";
11480cd4430aSEmmanuel Vadot		function = "normal";
11490cd4430aSEmmanuel Vadot		output-enable;
11500cd4430aSEmmanuel Vadot		bias-pull-down;
11510cd4430aSEmmanuel Vadot		power-source = <0>;
11520cd4430aSEmmanuel Vadot	};
11531537cf73SEmmanuel Vadot};
11541537cf73SEmmanuel Vadot
11551537cf73SEmmanuel Vadot&pmc8380_5_gpios {
11561537cf73SEmmanuel Vadot	usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state {
11571537cf73SEmmanuel Vadot		pins = "gpio8";
11581537cf73SEmmanuel Vadot		function = "normal";
11591537cf73SEmmanuel Vadot		power-source = <1>; /* 1.8V */
11601537cf73SEmmanuel Vadot		bias-disable;
11611537cf73SEmmanuel Vadot		input-disable;
11621537cf73SEmmanuel Vadot		output-enable;
11631537cf73SEmmanuel Vadot	};
11641537cf73SEmmanuel Vadot};
11651537cf73SEmmanuel Vadot
11660cd4430aSEmmanuel Vadot&pmk8550_gpios {
11670cd4430aSEmmanuel Vadot	edp_bl_pwm: edp-bl-pwm-state {
11680cd4430aSEmmanuel Vadot		pins = "gpio5";
11690cd4430aSEmmanuel Vadot		function = "func3";
11700cd4430aSEmmanuel Vadot	};
11710cd4430aSEmmanuel Vadot};
11720cd4430aSEmmanuel Vadot
11730cd4430aSEmmanuel Vadot&pmk8550_pwm {
11740cd4430aSEmmanuel Vadot	status = "okay";
11750cd4430aSEmmanuel Vadot};
11760cd4430aSEmmanuel Vadot
1177*69ed3df4SEmmanuel Vadot&sdhc_2 {
1178*69ed3df4SEmmanuel Vadot	cd-gpios = <&tlmm 71 GPIO_ACTIVE_LOW>;
1179*69ed3df4SEmmanuel Vadot
1180*69ed3df4SEmmanuel Vadot	vmmc-supply = <&vreg_l9b_2p9>;
1181*69ed3df4SEmmanuel Vadot	vqmmc-supply = <&vreg_l6b_1p8>;
1182*69ed3df4SEmmanuel Vadot
1183*69ed3df4SEmmanuel Vadot	no-sdio;
1184*69ed3df4SEmmanuel Vadot	no-mmc;
1185*69ed3df4SEmmanuel Vadot
1186*69ed3df4SEmmanuel Vadot	pinctrl-0 = <&sdc2_default &sdc2_card_det_n>;
1187*69ed3df4SEmmanuel Vadot	pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>;
1188*69ed3df4SEmmanuel Vadot	pinctrl-names = "default", "sleep";
1189*69ed3df4SEmmanuel Vadot
1190*69ed3df4SEmmanuel Vadot	status = "okay";
1191*69ed3df4SEmmanuel Vadot};
1192*69ed3df4SEmmanuel Vadot
11931537cf73SEmmanuel Vadot&smb2360_0 {
11941537cf73SEmmanuel Vadot	status = "okay";
11951537cf73SEmmanuel Vadot};
11961537cf73SEmmanuel Vadot
11971537cf73SEmmanuel Vadot&smb2360_0_eusb2_repeater {
11981537cf73SEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
11991537cf73SEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
12001537cf73SEmmanuel Vadot};
12011537cf73SEmmanuel Vadot
12021537cf73SEmmanuel Vadot&smb2360_1 {
12031537cf73SEmmanuel Vadot	status = "okay";
12041537cf73SEmmanuel Vadot};
12051537cf73SEmmanuel Vadot
12061537cf73SEmmanuel Vadot&smb2360_1_eusb2_repeater {
12071537cf73SEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
12081537cf73SEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
12091537cf73SEmmanuel Vadot};
12101537cf73SEmmanuel Vadot
12111537cf73SEmmanuel Vadot&smb2360_2 {
12121537cf73SEmmanuel Vadot	status = "okay";
12131537cf73SEmmanuel Vadot};
12141537cf73SEmmanuel Vadot
12151537cf73SEmmanuel Vadot&smb2360_2_eusb2_repeater {
12161537cf73SEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
12171537cf73SEmmanuel Vadot	vdd3-supply = <&vreg_l8b_3p0>;
12181537cf73SEmmanuel Vadot};
12191537cf73SEmmanuel Vadot
12200cd4430aSEmmanuel Vadot&spi11 {
12210cd4430aSEmmanuel Vadot	status = "okay";
12220cd4430aSEmmanuel Vadot
12230cd4430aSEmmanuel Vadot	tpm@0 {
12240cd4430aSEmmanuel Vadot		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
12250cd4430aSEmmanuel Vadot		reg = <0>;
12260cd4430aSEmmanuel Vadot		spi-max-frequency = <20000000>;
12270cd4430aSEmmanuel Vadot	};
12280cd4430aSEmmanuel Vadot};
12290cd4430aSEmmanuel Vadot
12301537cf73SEmmanuel Vadot&swr0 {
12311537cf73SEmmanuel Vadot	status = "okay";
12321537cf73SEmmanuel Vadot
123396fb1ebdSEmmanuel Vadot	pinctrl-0 = <&wsa_swr_active>;
12341537cf73SEmmanuel Vadot	pinctrl-names = "default";
12351537cf73SEmmanuel Vadot
12361537cf73SEmmanuel Vadot	/* WSA8845, Left Woofer */
12371537cf73SEmmanuel Vadot	left_woofer: speaker@0,0 {
12381537cf73SEmmanuel Vadot		compatible = "sdw20217020400";
123996fb1ebdSEmmanuel Vadot		pinctrl-0 = <&spkr_0_sd_n_active>;
124096fb1ebdSEmmanuel Vadot		pinctrl-names = "default";
12411537cf73SEmmanuel Vadot		reg = <0 0>;
12421537cf73SEmmanuel Vadot		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
12431537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
12441537cf73SEmmanuel Vadot		sound-name-prefix = "WooferLeft";
12451537cf73SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
12461537cf73SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
12471537cf73SEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
12481537cf73SEmmanuel Vadot	};
12491537cf73SEmmanuel Vadot
12501537cf73SEmmanuel Vadot	/* WSA8845, Left Tweeter */
12511537cf73SEmmanuel Vadot	left_tweeter: speaker@0,1 {
12521537cf73SEmmanuel Vadot		compatible = "sdw20217020400";
125396fb1ebdSEmmanuel Vadot		pinctrl-0 = <&spkr_1_sd_n_active>;
125496fb1ebdSEmmanuel Vadot		pinctrl-names = "default";
12551537cf73SEmmanuel Vadot		reg = <0 1>;
125696fb1ebdSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
12571537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
12581537cf73SEmmanuel Vadot		sound-name-prefix = "TweeterLeft";
12591537cf73SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
12601537cf73SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
12611537cf73SEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
12621537cf73SEmmanuel Vadot	};
12631537cf73SEmmanuel Vadot};
12641537cf73SEmmanuel Vadot
12651537cf73SEmmanuel Vadot&swr1 {
12661537cf73SEmmanuel Vadot	status = "okay";
12671537cf73SEmmanuel Vadot
12681537cf73SEmmanuel Vadot	/* WCD9385 RX */
12691537cf73SEmmanuel Vadot	wcd_rx: codec@0,4 {
12701537cf73SEmmanuel Vadot		compatible = "sdw20217010d00";
12711537cf73SEmmanuel Vadot		reg = <0 4>;
12721537cf73SEmmanuel Vadot		qcom,rx-port-mapping = <1 2 3 4 5>;
12731537cf73SEmmanuel Vadot	};
12741537cf73SEmmanuel Vadot};
12751537cf73SEmmanuel Vadot
12761537cf73SEmmanuel Vadot&swr2 {
12771537cf73SEmmanuel Vadot	status = "okay";
12781537cf73SEmmanuel Vadot
12791537cf73SEmmanuel Vadot	/* WCD9385 TX */
12801537cf73SEmmanuel Vadot	wcd_tx: codec@0,3 {
12811537cf73SEmmanuel Vadot		compatible = "sdw20217010d00";
12821537cf73SEmmanuel Vadot		reg = <0 3>;
12831537cf73SEmmanuel Vadot		qcom,tx-port-mapping = <2 2 3 4>;
12841537cf73SEmmanuel Vadot	};
12851537cf73SEmmanuel Vadot};
12861537cf73SEmmanuel Vadot
12871537cf73SEmmanuel Vadot&swr3 {
12881537cf73SEmmanuel Vadot	status = "okay";
12891537cf73SEmmanuel Vadot
129096fb1ebdSEmmanuel Vadot	pinctrl-0 = <&wsa2_swr_active>;
12911537cf73SEmmanuel Vadot	pinctrl-names = "default";
12921537cf73SEmmanuel Vadot
12931537cf73SEmmanuel Vadot	/* WSA8845, Right Woofer */
12941537cf73SEmmanuel Vadot	right_woofer: speaker@0,0 {
12951537cf73SEmmanuel Vadot		compatible = "sdw20217020400";
129696fb1ebdSEmmanuel Vadot		pinctrl-0 = <&spkr_2_sd_n_active>;
129796fb1ebdSEmmanuel Vadot		pinctrl-names = "default";
12981537cf73SEmmanuel Vadot		reg = <0 0>;
129996fb1ebdSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
13001537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
13011537cf73SEmmanuel Vadot		sound-name-prefix = "WooferRight";
13021537cf73SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
13031537cf73SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
13041537cf73SEmmanuel Vadot		qcom,port-mapping = <1 2 3 7 10 13>;
13051537cf73SEmmanuel Vadot	};
13061537cf73SEmmanuel Vadot
13071537cf73SEmmanuel Vadot	/* WSA8845, Right Tweeter */
13081537cf73SEmmanuel Vadot	right_tweeter: speaker@0,1 {
13091537cf73SEmmanuel Vadot		compatible = "sdw20217020400";
131096fb1ebdSEmmanuel Vadot		pinctrl-0 = <&spkr_3_sd_n_active>;
131196fb1ebdSEmmanuel Vadot		pinctrl-names = "default";
13121537cf73SEmmanuel Vadot		reg = <0 1>;
131396fb1ebdSEmmanuel Vadot		reset-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
13141537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
13151537cf73SEmmanuel Vadot		sound-name-prefix = "TweeterRight";
13161537cf73SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
13171537cf73SEmmanuel Vadot		vdd-io-supply = <&vreg_l12b_1p2>;
13181537cf73SEmmanuel Vadot		qcom,port-mapping = <4 5 6 7 11 13>;
13191537cf73SEmmanuel Vadot	};
13201537cf73SEmmanuel Vadot};
13211537cf73SEmmanuel Vadot
13221537cf73SEmmanuel Vadot&tlmm {
13231537cf73SEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
13241537cf73SEmmanuel Vadot		pins = "gpio70";
13251537cf73SEmmanuel Vadot		function = "gpio";
13261537cf73SEmmanuel Vadot		drive-strength = <16>;
13271537cf73SEmmanuel Vadot		bias-disable;
13281537cf73SEmmanuel Vadot	};
13291537cf73SEmmanuel Vadot
13301537cf73SEmmanuel Vadot	eusb3_reset_n: eusb3-reset-n-state {
13311537cf73SEmmanuel Vadot		pins = "gpio6";
13321537cf73SEmmanuel Vadot		function = "gpio";
13331537cf73SEmmanuel Vadot		drive-strength = <2>;
13341537cf73SEmmanuel Vadot		bias-disable;
13351537cf73SEmmanuel Vadot		output-low;
13361537cf73SEmmanuel Vadot	};
13371537cf73SEmmanuel Vadot
13381537cf73SEmmanuel Vadot	eusb5_reset_n: eusb5-reset-n-state {
13391537cf73SEmmanuel Vadot		pins = "gpio7";
13401537cf73SEmmanuel Vadot		function = "gpio";
13411537cf73SEmmanuel Vadot		drive-strength = <2>;
13421537cf73SEmmanuel Vadot		bias-pull-up;
13431537cf73SEmmanuel Vadot		output-low;
13441537cf73SEmmanuel Vadot	};
13451537cf73SEmmanuel Vadot
13461537cf73SEmmanuel Vadot	eusb6_reset_n: eusb6-reset-n-state {
13471537cf73SEmmanuel Vadot		pins = "gpio184";
13481537cf73SEmmanuel Vadot		function = "gpio";
13491537cf73SEmmanuel Vadot		drive-strength = <2>;
13501537cf73SEmmanuel Vadot		bias-pull-up;
13511537cf73SEmmanuel Vadot		output-low;
13521537cf73SEmmanuel Vadot	};
13531537cf73SEmmanuel Vadot
13541537cf73SEmmanuel Vadot	nvme_reg_en: nvme-reg-en-state {
13551537cf73SEmmanuel Vadot		pins = "gpio18";
13561537cf73SEmmanuel Vadot		function = "gpio";
13571537cf73SEmmanuel Vadot		drive-strength = <2>;
13581537cf73SEmmanuel Vadot		bias-disable;
13591537cf73SEmmanuel Vadot	};
13601537cf73SEmmanuel Vadot
13611537cf73SEmmanuel Vadot	rtmr1_default: rtmr1-reset-n-active-state {
13621537cf73SEmmanuel Vadot		pins = "gpio176";
13631537cf73SEmmanuel Vadot		function = "gpio";
13641537cf73SEmmanuel Vadot		drive-strength = <2>;
13651537cf73SEmmanuel Vadot		bias-disable;
13661537cf73SEmmanuel Vadot	};
13671537cf73SEmmanuel Vadot
13681537cf73SEmmanuel Vadot	rtmr2_default: rtmr2-reset-n-active-state {
13691537cf73SEmmanuel Vadot		pins = "gpio185";
13701537cf73SEmmanuel Vadot		function = "gpio";
13711537cf73SEmmanuel Vadot		drive-strength = <2>;
13721537cf73SEmmanuel Vadot		bias-disable;
13731537cf73SEmmanuel Vadot	};
13741537cf73SEmmanuel Vadot
1375*69ed3df4SEmmanuel Vadot	sdc2_card_det_n: sd-card-det-n-state {
1376*69ed3df4SEmmanuel Vadot		pins = "gpio71";
1377*69ed3df4SEmmanuel Vadot		function = "gpio";
1378*69ed3df4SEmmanuel Vadot		drive-strength = <2>;
1379*69ed3df4SEmmanuel Vadot		bias-pull-up;
1380*69ed3df4SEmmanuel Vadot	};
1381*69ed3df4SEmmanuel Vadot
13821537cf73SEmmanuel Vadot	usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state {
13831537cf73SEmmanuel Vadot		pins = "gpio188";
13841537cf73SEmmanuel Vadot		function = "gpio";
13851537cf73SEmmanuel Vadot		drive-strength = <2>;
13861537cf73SEmmanuel Vadot		bias-disable;
13871537cf73SEmmanuel Vadot	};
13881537cf73SEmmanuel Vadot
13891537cf73SEmmanuel Vadot	usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state {
13901537cf73SEmmanuel Vadot		pins = "gpio175";
13911537cf73SEmmanuel Vadot		function = "gpio";
13921537cf73SEmmanuel Vadot		drive-strength = <2>;
13931537cf73SEmmanuel Vadot		bias-disable;
13941537cf73SEmmanuel Vadot	};
13951537cf73SEmmanuel Vadot
13961537cf73SEmmanuel Vadot	usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state {
13971537cf73SEmmanuel Vadot		pins = "gpio186";
13981537cf73SEmmanuel Vadot		function = "gpio";
13991537cf73SEmmanuel Vadot		drive-strength = <2>;
14001537cf73SEmmanuel Vadot		bias-disable;
14011537cf73SEmmanuel Vadot	};
14021537cf73SEmmanuel Vadot
14031537cf73SEmmanuel Vadot	usb2_pwr_1p15_reg_en: usb2-pwr-1p15-reg-en-state {
14041537cf73SEmmanuel Vadot		pins = "gpio189";
14051537cf73SEmmanuel Vadot		function = "gpio";
14061537cf73SEmmanuel Vadot		drive-strength = <2>;
14071537cf73SEmmanuel Vadot		bias-disable;
14081537cf73SEmmanuel Vadot	};
14091537cf73SEmmanuel Vadot
14101537cf73SEmmanuel Vadot	usb2_pwr_1p8_reg_en: usb2-pwr-1p8-reg-en-state {
14111537cf73SEmmanuel Vadot		pins = "gpio126";
14121537cf73SEmmanuel Vadot		function = "gpio";
14131537cf73SEmmanuel Vadot		drive-strength = <2>;
14141537cf73SEmmanuel Vadot		bias-disable;
14151537cf73SEmmanuel Vadot	};
14161537cf73SEmmanuel Vadot
14171537cf73SEmmanuel Vadot	usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state {
14181537cf73SEmmanuel Vadot		pins = "gpio187";
14191537cf73SEmmanuel Vadot		function = "gpio";
14201537cf73SEmmanuel Vadot		drive-strength = <2>;
14211537cf73SEmmanuel Vadot		bias-disable;
14221537cf73SEmmanuel Vadot	};
14231537cf73SEmmanuel Vadot
14241537cf73SEmmanuel Vadot	usb_1_ss0_sbu_default: usb-1-ss0-sbu-state {
14251537cf73SEmmanuel Vadot		mode-pins {
14261537cf73SEmmanuel Vadot			pins = "gpio166";
14271537cf73SEmmanuel Vadot			function = "gpio";
14281537cf73SEmmanuel Vadot			bias-disable;
14291537cf73SEmmanuel Vadot			drive-strength = <2>;
14301537cf73SEmmanuel Vadot			output-high;
14311537cf73SEmmanuel Vadot		};
14321537cf73SEmmanuel Vadot
14331537cf73SEmmanuel Vadot		oe-n-pins {
14341537cf73SEmmanuel Vadot			pins = "gpio168";
14351537cf73SEmmanuel Vadot			function = "gpio";
14361537cf73SEmmanuel Vadot			bias-disable;
14371537cf73SEmmanuel Vadot			drive-strength = <2>;
14381537cf73SEmmanuel Vadot		};
14391537cf73SEmmanuel Vadot
14401537cf73SEmmanuel Vadot		sel-pins {
14411537cf73SEmmanuel Vadot			pins = "gpio167";
14421537cf73SEmmanuel Vadot			function = "gpio";
14431537cf73SEmmanuel Vadot			bias-disable;
14441537cf73SEmmanuel Vadot			drive-strength = <2>;
14451537cf73SEmmanuel Vadot		};
14461537cf73SEmmanuel Vadot	};
14471537cf73SEmmanuel Vadot
14481537cf73SEmmanuel Vadot	wcd_default: wcd-reset-n-active-state {
14491537cf73SEmmanuel Vadot		pins = "gpio191";
14501537cf73SEmmanuel Vadot		function = "gpio";
14511537cf73SEmmanuel Vadot		drive-strength = <16>;
14521537cf73SEmmanuel Vadot		bias-disable;
14531537cf73SEmmanuel Vadot		output-low;
14541537cf73SEmmanuel Vadot	};
14551537cf73SEmmanuel Vadot
14561537cf73SEmmanuel Vadot	wcn_bt_en: wcn-bt-en-state {
14571537cf73SEmmanuel Vadot		pins = "gpio116";
14581537cf73SEmmanuel Vadot		function = "gpio";
14591537cf73SEmmanuel Vadot		drive-strength = <2>;
14601537cf73SEmmanuel Vadot		bias-disable;
14611537cf73SEmmanuel Vadot	};
14621537cf73SEmmanuel Vadot
14630cd4430aSEmmanuel Vadot	wcn_wlan_en: wcn-wlan-en-state {
14640cd4430aSEmmanuel Vadot		pins = "gpio117";
14650cd4430aSEmmanuel Vadot		function = "gpio";
14660cd4430aSEmmanuel Vadot		drive-strength = <2>;
14670cd4430aSEmmanuel Vadot		bias-disable;
14680cd4430aSEmmanuel Vadot	};
14690cd4430aSEmmanuel Vadot
14701537cf73SEmmanuel Vadot	wwan_sw_en: wwan-sw-en-state {
14711537cf73SEmmanuel Vadot		pins = "gpio221";
14721537cf73SEmmanuel Vadot		function = "gpio";
14731537cf73SEmmanuel Vadot		drive-strength = <4>;
14741537cf73SEmmanuel Vadot		bias-disable;
14751537cf73SEmmanuel Vadot	};
14761537cf73SEmmanuel Vadot
14771537cf73SEmmanuel Vadot	wcn_sw_en: wcn-sw-en-state {
14781537cf73SEmmanuel Vadot		pins = "gpio214";
14791537cf73SEmmanuel Vadot		function = "gpio";
14801537cf73SEmmanuel Vadot		drive-strength = <2>;
14811537cf73SEmmanuel Vadot		bias-disable;
14821537cf73SEmmanuel Vadot	};
14831537cf73SEmmanuel Vadot
14841537cf73SEmmanuel Vadot	/* Switches USB signal routing between the USB connector and the Wi-Fi card. */
14851537cf73SEmmanuel Vadot	wcn_usb_sw_n: wcn-usb-sw-n-state {
14861537cf73SEmmanuel Vadot		pins = "gpio225";
14871537cf73SEmmanuel Vadot		function = "gpio";
14881537cf73SEmmanuel Vadot		drive-strength = <2>;
14891537cf73SEmmanuel Vadot		bias-disable;
14901537cf73SEmmanuel Vadot		output-high;
14911537cf73SEmmanuel Vadot	};
14921537cf73SEmmanuel Vadot};
14931537cf73SEmmanuel Vadot
14941537cf73SEmmanuel Vadot&uart14 {
14951537cf73SEmmanuel Vadot	status = "okay";
14961537cf73SEmmanuel Vadot
14971537cf73SEmmanuel Vadot	bluetooth {
14981537cf73SEmmanuel Vadot		compatible = "qcom,wcn7850-bt";
14991537cf73SEmmanuel Vadot		max-speed = <3200000>;
15001537cf73SEmmanuel Vadot
15011537cf73SEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p59>;
15021537cf73SEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
15031537cf73SEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
15041537cf73SEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
15051537cf73SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
15061537cf73SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
15071537cf73SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
15081537cf73SEmmanuel Vadot	};
15091537cf73SEmmanuel Vadot};
15101537cf73SEmmanuel Vadot
15111537cf73SEmmanuel Vadot&uart21 {
15121537cf73SEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
15131537cf73SEmmanuel Vadot
15141537cf73SEmmanuel Vadot	status = "okay";
15151537cf73SEmmanuel Vadot};
15161537cf73SEmmanuel Vadot
1517*69ed3df4SEmmanuel Vadot&ufs_mem_phy {
1518*69ed3df4SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_0p8>;
1519*69ed3df4SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
1520*69ed3df4SEmmanuel Vadot
1521*69ed3df4SEmmanuel Vadot	status = "okay";
1522*69ed3df4SEmmanuel Vadot};
1523*69ed3df4SEmmanuel Vadot
1524*69ed3df4SEmmanuel Vadot&ufs_mem_hc {
1525*69ed3df4SEmmanuel Vadot	reset-gpios = <&tlmm 238 GPIO_ACTIVE_LOW>;
1526*69ed3df4SEmmanuel Vadot
1527*69ed3df4SEmmanuel Vadot	vcc-supply = <&vreg_l17b_2p5>;
1528*69ed3df4SEmmanuel Vadot	vcc-max-microamp = <1300000>;
1529*69ed3df4SEmmanuel Vadot	vccq-supply = <&vreg_l2i_1p2>;
1530*69ed3df4SEmmanuel Vadot	vccq-max-microamp = <1200000>;
1531*69ed3df4SEmmanuel Vadot
1532*69ed3df4SEmmanuel Vadot	status = "okay";
1533*69ed3df4SEmmanuel Vadot};
1534*69ed3df4SEmmanuel Vadot
15351537cf73SEmmanuel Vadot&usb_1_ss0_dwc3_hs {
15361537cf73SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_hs_in>;
15371537cf73SEmmanuel Vadot};
15381537cf73SEmmanuel Vadot
15391537cf73SEmmanuel Vadot&usb_1_ss0_hsphy {
15401537cf73SEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
15411537cf73SEmmanuel Vadot};
15421537cf73SEmmanuel Vadot
15431537cf73SEmmanuel Vadot&usb_1_ss0_qmpphy_out {
15441537cf73SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss0_ss_in>;
15451537cf73SEmmanuel Vadot};
15461537cf73SEmmanuel Vadot
15471537cf73SEmmanuel Vadot&usb_1_ss1_dwc3_hs {
15481537cf73SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss1_hs_in>;
15491537cf73SEmmanuel Vadot};
15501537cf73SEmmanuel Vadot
15511537cf73SEmmanuel Vadot&usb_1_ss1_hsphy {
15521537cf73SEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
15531537cf73SEmmanuel Vadot};
15541537cf73SEmmanuel Vadot
15551537cf73SEmmanuel Vadot&usb_1_ss1_qmpphy_out {
15561537cf73SEmmanuel Vadot	remote-endpoint = <&retimer_ss1_ss_in>;
15571537cf73SEmmanuel Vadot};
15581537cf73SEmmanuel Vadot
15591537cf73SEmmanuel Vadot&usb_1_ss2_dwc3_hs {
15601537cf73SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss2_hs_in>;
15611537cf73SEmmanuel Vadot};
15621537cf73SEmmanuel Vadot
15631537cf73SEmmanuel Vadot&usb_1_ss2_hsphy {
15641537cf73SEmmanuel Vadot	phys = <&smb2360_2_eusb2_repeater>;
15651537cf73SEmmanuel Vadot};
15661537cf73SEmmanuel Vadot
15671537cf73SEmmanuel Vadot&usb_1_ss2_qmpphy_out {
15681537cf73SEmmanuel Vadot	remote-endpoint = <&retimer_ss2_ss_in>;
15691537cf73SEmmanuel Vadot};
15701537cf73SEmmanuel Vadot
15711537cf73SEmmanuel Vadot&usb_2_hsphy {
15721537cf73SEmmanuel Vadot	phys = <&eusb5_repeater>;
15731537cf73SEmmanuel Vadot
15741537cf73SEmmanuel Vadot	pinctrl-0 = <&wcn_usb_sw_n>;
15751537cf73SEmmanuel Vadot	pinctrl-names = "default";
15761537cf73SEmmanuel Vadot};
15771537cf73SEmmanuel Vadot
15781537cf73SEmmanuel Vadot&usb_mp_hsphy0 {
15791537cf73SEmmanuel Vadot	phys = <&eusb3_repeater>;
15801537cf73SEmmanuel Vadot};
15811537cf73SEmmanuel Vadot
15821537cf73SEmmanuel Vadot&usb_mp_hsphy1 {
15831537cf73SEmmanuel Vadot	phys = <&eusb6_repeater>;
15841537cf73SEmmanuel Vadot};
1585*69ed3df4SEmmanuel Vadot
1586*69ed3df4SEmmanuel Vadot&thermal_zones {
1587*69ed3df4SEmmanuel Vadot	gpuss-0-thermal {
1588*69ed3df4SEmmanuel Vadot		trips {
1589*69ed3df4SEmmanuel Vadot			trip-point0 {
1590*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1591*69ed3df4SEmmanuel Vadot			};
1592*69ed3df4SEmmanuel Vadot		};
1593*69ed3df4SEmmanuel Vadot	};
1594*69ed3df4SEmmanuel Vadot
1595*69ed3df4SEmmanuel Vadot	gpuss-1-thermal {
1596*69ed3df4SEmmanuel Vadot		trips {
1597*69ed3df4SEmmanuel Vadot			trip-point0 {
1598*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1599*69ed3df4SEmmanuel Vadot			};
1600*69ed3df4SEmmanuel Vadot		};
1601*69ed3df4SEmmanuel Vadot	};
1602*69ed3df4SEmmanuel Vadot
1603*69ed3df4SEmmanuel Vadot	gpuss-2-thermal {
1604*69ed3df4SEmmanuel Vadot		trips {
1605*69ed3df4SEmmanuel Vadot			trip-point0 {
1606*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1607*69ed3df4SEmmanuel Vadot			};
1608*69ed3df4SEmmanuel Vadot		};
1609*69ed3df4SEmmanuel Vadot	};
1610*69ed3df4SEmmanuel Vadot
1611*69ed3df4SEmmanuel Vadot	gpuss-3-thermal {
1612*69ed3df4SEmmanuel Vadot		trips {
1613*69ed3df4SEmmanuel Vadot			trip-point0 {
1614*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1615*69ed3df4SEmmanuel Vadot			};
1616*69ed3df4SEmmanuel Vadot		};
1617*69ed3df4SEmmanuel Vadot	};
1618*69ed3df4SEmmanuel Vadot
1619*69ed3df4SEmmanuel Vadot	gpuss-4-thermal {
1620*69ed3df4SEmmanuel Vadot		trips {
1621*69ed3df4SEmmanuel Vadot			trip-point0 {
1622*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1623*69ed3df4SEmmanuel Vadot			};
1624*69ed3df4SEmmanuel Vadot		};
1625*69ed3df4SEmmanuel Vadot	};
1626*69ed3df4SEmmanuel Vadot
1627*69ed3df4SEmmanuel Vadot	gpuss-5-thermal {
1628*69ed3df4SEmmanuel Vadot		trips {
1629*69ed3df4SEmmanuel Vadot			trip-point0 {
1630*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1631*69ed3df4SEmmanuel Vadot			};
1632*69ed3df4SEmmanuel Vadot		};
1633*69ed3df4SEmmanuel Vadot	};
1634*69ed3df4SEmmanuel Vadot
1635*69ed3df4SEmmanuel Vadot	gpuss-6-thermal {
1636*69ed3df4SEmmanuel Vadot		trips {
1637*69ed3df4SEmmanuel Vadot			trip-point0 {
1638*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1639*69ed3df4SEmmanuel Vadot			};
1640*69ed3df4SEmmanuel Vadot		};
1641*69ed3df4SEmmanuel Vadot	};
1642*69ed3df4SEmmanuel Vadot
1643*69ed3df4SEmmanuel Vadot	gpuss-7-thermal {
1644*69ed3df4SEmmanuel Vadot		trips {
1645*69ed3df4SEmmanuel Vadot			trip-point0 {
1646*69ed3df4SEmmanuel Vadot				temperature = <105000>;
1647*69ed3df4SEmmanuel Vadot			};
1648*69ed3df4SEmmanuel Vadot		};
1649*69ed3df4SEmmanuel Vadot	};
1650*69ed3df4SEmmanuel Vadot};
1651