xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/x1p42100-microsoft-sp12in.dts (revision 67f8bc848ee31831336bd478e57d2f993551902e)
1*447f8053SHarrison Vanderbyl// SPDX-License-Identifier: BSD-3-Clause
2*447f8053SHarrison Vanderbyl/*
3*447f8053SHarrison Vanderbyl * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4*447f8053SHarrison Vanderbyl * Copyright (c) 2024, Linaro Limited
5*447f8053SHarrison Vanderbyl * Copyright (c) 2025, Jens Glathe
6*447f8053SHarrison Vanderbyl * Copyright (c) 2025, Harrison Vanderbyl
7*447f8053SHarrison Vanderbyl */
8*447f8053SHarrison Vanderbyl
9*447f8053SHarrison Vanderbyl/dts-v1/;
10*447f8053SHarrison Vanderbyl
11*447f8053SHarrison Vanderbyl#include <dt-bindings/gpio/gpio.h>
12*447f8053SHarrison Vanderbyl#include <dt-bindings/input/gpio-keys.h>
13*447f8053SHarrison Vanderbyl#include <dt-bindings/input/input.h>
14*447f8053SHarrison Vanderbyl#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15*447f8053SHarrison Vanderbyl#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
16*447f8053SHarrison Vanderbyl#include <dt-bindings/clock/qcom,x1e80100-tcsr.h>
17*447f8053SHarrison Vanderbyl
18*447f8053SHarrison Vanderbyl#include "purwa.dtsi"
19*447f8053SHarrison Vanderbyl#include "hamoa-pmics.dtsi"
20*447f8053SHarrison Vanderbyl
21*447f8053SHarrison Vanderbyl/delete-node/ &pmc8380_6;
22*447f8053SHarrison Vanderbyl/delete-node/ &pmc8380_6_thermal;
23*447f8053SHarrison Vanderbyl
24*447f8053SHarrison Vanderbyl/ {
25*447f8053SHarrison Vanderbyl	model = "Surface Pro 12in 1st Edition";
26*447f8053SHarrison Vanderbyl	compatible = "microsoft,surface-pro-12in", "qcom,x1p42100";
27*447f8053SHarrison Vanderbyl	chassis-type = "tablet";
28*447f8053SHarrison Vanderbyl
29*447f8053SHarrison Vanderbyl	aliases {
30*447f8053SHarrison Vanderbyl		serial0 = &uart2;
31*447f8053SHarrison Vanderbyl		serial1 = &uart14;
32*447f8053SHarrison Vanderbyl	};
33*447f8053SHarrison Vanderbyl
34*447f8053SHarrison Vanderbyl	backlight: backlight {
35*447f8053SHarrison Vanderbyl		compatible = "pwm-backlight";
36*447f8053SHarrison Vanderbyl		pwms = <&pmk8550_pwm 0 5000000>;
37*447f8053SHarrison Vanderbyl
38*447f8053SHarrison Vanderbyl		power-supply = <&vreg_edp_3p3>;
39*447f8053SHarrison Vanderbyl	};
40*447f8053SHarrison Vanderbyl
41*447f8053SHarrison Vanderbyl	gpio-keys {
42*447f8053SHarrison Vanderbyl		compatible = "gpio-keys";
43*447f8053SHarrison Vanderbyl
44*447f8053SHarrison Vanderbyl		pinctrl-0 = <&hall_int_n_default>, <&vol_up_n_default>, <&vol_down_n_default>;
45*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
46*447f8053SHarrison Vanderbyl
47*447f8053SHarrison Vanderbyl		switch-lid {
48*447f8053SHarrison Vanderbyl			gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
49*447f8053SHarrison Vanderbyl			linux,input-type = <EV_SW>;
50*447f8053SHarrison Vanderbyl			linux,code = <SW_LID>;
51*447f8053SHarrison Vanderbyl			wakeup-source;
52*447f8053SHarrison Vanderbyl			wakeup-event-action = <EV_ACT_DEASSERTED>;
53*447f8053SHarrison Vanderbyl		};
54*447f8053SHarrison Vanderbyl
55*447f8053SHarrison Vanderbyl		key-vol-up {
56*447f8053SHarrison Vanderbyl			gpios = <&pm8550_gpios 8 GPIO_ACTIVE_LOW>;
57*447f8053SHarrison Vanderbyl			linux,code = <KEY_VOLUMEUP>;
58*447f8053SHarrison Vanderbyl			debounce-interval = <15>;
59*447f8053SHarrison Vanderbyl			linux,can-disable;
60*447f8053SHarrison Vanderbyl			wakeup-source;
61*447f8053SHarrison Vanderbyl		};
62*447f8053SHarrison Vanderbyl
63*447f8053SHarrison Vanderbyl		key-vol-down {
64*447f8053SHarrison Vanderbyl			gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
65*447f8053SHarrison Vanderbyl			linux,code = <KEY_VOLUMEDOWN>;
66*447f8053SHarrison Vanderbyl			debounce-interval = <15>;
67*447f8053SHarrison Vanderbyl			linux,can-disable;
68*447f8053SHarrison Vanderbyl			wakeup-source;
69*447f8053SHarrison Vanderbyl		};
70*447f8053SHarrison Vanderbyl	};
71*447f8053SHarrison Vanderbyl
72*447f8053SHarrison Vanderbyl	pmic-glink {
73*447f8053SHarrison Vanderbyl		compatible = "qcom,x1e80100-pmic-glink",
74*447f8053SHarrison Vanderbyl			     "qcom,sm8550-pmic-glink",
75*447f8053SHarrison Vanderbyl			     "qcom,pmic-glink";
76*447f8053SHarrison Vanderbyl		orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
77*447f8053SHarrison Vanderbyl				    <&tlmm 123 GPIO_ACTIVE_HIGH>;
78*447f8053SHarrison Vanderbyl		#address-cells = <1>;
79*447f8053SHarrison Vanderbyl		#size-cells = <0>;
80*447f8053SHarrison Vanderbyl
81*447f8053SHarrison Vanderbyl		/* Right-side upper port */
82*447f8053SHarrison Vanderbyl		connector@0 {
83*447f8053SHarrison Vanderbyl			compatible = "usb-c-connector";
84*447f8053SHarrison Vanderbyl			reg = <0>;
85*447f8053SHarrison Vanderbyl			power-role = "dual";
86*447f8053SHarrison Vanderbyl			data-role = "dual";
87*447f8053SHarrison Vanderbyl
88*447f8053SHarrison Vanderbyl			ports {
89*447f8053SHarrison Vanderbyl				#address-cells = <1>;
90*447f8053SHarrison Vanderbyl				#size-cells = <0>;
91*447f8053SHarrison Vanderbyl
92*447f8053SHarrison Vanderbyl				port@0 {
93*447f8053SHarrison Vanderbyl					reg = <0>;
94*447f8053SHarrison Vanderbyl
95*447f8053SHarrison Vanderbyl					pmic_glink_ss0_hs_in: endpoint {
96*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss0_dwc3_hs>;
97*447f8053SHarrison Vanderbyl					};
98*447f8053SHarrison Vanderbyl				};
99*447f8053SHarrison Vanderbyl
100*447f8053SHarrison Vanderbyl				port@1 {
101*447f8053SHarrison Vanderbyl					reg = <1>;
102*447f8053SHarrison Vanderbyl
103*447f8053SHarrison Vanderbyl					pmic_glink_ss0_ss_in: endpoint {
104*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss0_qmpphy_out>;
105*447f8053SHarrison Vanderbyl					};
106*447f8053SHarrison Vanderbyl				};
107*447f8053SHarrison Vanderbyl
108*447f8053SHarrison Vanderbyl				port@2 {
109*447f8053SHarrison Vanderbyl					reg = <2>;
110*447f8053SHarrison Vanderbyl
111*447f8053SHarrison Vanderbyl					pmic_glink_ss0_sbu: endpoint {
112*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss0_sbu_mux>;
113*447f8053SHarrison Vanderbyl					};
114*447f8053SHarrison Vanderbyl				};
115*447f8053SHarrison Vanderbyl			};
116*447f8053SHarrison Vanderbyl		};
117*447f8053SHarrison Vanderbyl
118*447f8053SHarrison Vanderbyl		/* Right-side lower port */
119*447f8053SHarrison Vanderbyl		connector@1 {
120*447f8053SHarrison Vanderbyl			compatible = "usb-c-connector";
121*447f8053SHarrison Vanderbyl			reg = <1>;
122*447f8053SHarrison Vanderbyl			power-role = "dual";
123*447f8053SHarrison Vanderbyl			data-role = "dual";
124*447f8053SHarrison Vanderbyl
125*447f8053SHarrison Vanderbyl			ports {
126*447f8053SHarrison Vanderbyl				#address-cells = <1>;
127*447f8053SHarrison Vanderbyl				#size-cells = <0>;
128*447f8053SHarrison Vanderbyl
129*447f8053SHarrison Vanderbyl				port@0 {
130*447f8053SHarrison Vanderbyl					reg = <0>;
131*447f8053SHarrison Vanderbyl
132*447f8053SHarrison Vanderbyl					pmic_glink_ss1_hs_in: endpoint {
133*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss1_dwc3_hs>;
134*447f8053SHarrison Vanderbyl					};
135*447f8053SHarrison Vanderbyl				};
136*447f8053SHarrison Vanderbyl
137*447f8053SHarrison Vanderbyl				port@1 {
138*447f8053SHarrison Vanderbyl					reg = <1>;
139*447f8053SHarrison Vanderbyl
140*447f8053SHarrison Vanderbyl					pmic_glink_ss1_ss_in: endpoint {
141*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss1_qmpphy_out>;
142*447f8053SHarrison Vanderbyl					};
143*447f8053SHarrison Vanderbyl				};
144*447f8053SHarrison Vanderbyl
145*447f8053SHarrison Vanderbyl				port@2 {
146*447f8053SHarrison Vanderbyl					reg = <2>;
147*447f8053SHarrison Vanderbyl
148*447f8053SHarrison Vanderbyl					pmic_glink_ss1_sbu: endpoint {
149*447f8053SHarrison Vanderbyl						remote-endpoint = <&usb_1_ss1_sbu_mux>;
150*447f8053SHarrison Vanderbyl					};
151*447f8053SHarrison Vanderbyl				};
152*447f8053SHarrison Vanderbyl			};
153*447f8053SHarrison Vanderbyl		};
154*447f8053SHarrison Vanderbyl	};
155*447f8053SHarrison Vanderbyl
156*447f8053SHarrison Vanderbyl	reserved-memory {
157*447f8053SHarrison Vanderbyl		linux,cma {
158*447f8053SHarrison Vanderbyl			compatible = "shared-dma-pool";
159*447f8053SHarrison Vanderbyl			size = <0x0 0x20000000>;
160*447f8053SHarrison Vanderbyl			reusable;
161*447f8053SHarrison Vanderbyl			linux,cma-default;
162*447f8053SHarrison Vanderbyl		};
163*447f8053SHarrison Vanderbyl	};
164*447f8053SHarrison Vanderbyl
165*447f8053SHarrison Vanderbyl	vreg_edp_3p3: regulator-edp-3p3 {
166*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
167*447f8053SHarrison Vanderbyl
168*447f8053SHarrison Vanderbyl		regulator-name = "VREG_EDP_3P3";
169*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <3300000>;
170*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <3300000>;
171*447f8053SHarrison Vanderbyl
172*447f8053SHarrison Vanderbyl		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
173*447f8053SHarrison Vanderbyl		enable-active-high;
174*447f8053SHarrison Vanderbyl
175*447f8053SHarrison Vanderbyl		pinctrl-0 = <&edp_reg_en>;
176*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
177*447f8053SHarrison Vanderbyl
178*447f8053SHarrison Vanderbyl		regulator-boot-on;
179*447f8053SHarrison Vanderbyl		vin-supply = <&vreg_panel_en>;
180*447f8053SHarrison Vanderbyl	};
181*447f8053SHarrison Vanderbyl
182*447f8053SHarrison Vanderbyl	vreg_panel_en: regulator-panel-en {
183*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
184*447f8053SHarrison Vanderbyl
185*447f8053SHarrison Vanderbyl		regulator-name = "VREG_PANEL_EN";
186*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <3300000>;
187*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <3300000>;
188*447f8053SHarrison Vanderbyl
189*447f8053SHarrison Vanderbyl		gpio = <&tlmm 29 GPIO_ACTIVE_HIGH>;
190*447f8053SHarrison Vanderbyl		enable-active-high;
191*447f8053SHarrison Vanderbyl
192*447f8053SHarrison Vanderbyl		regulator-enable-ramp-delay = <150000>;
193*447f8053SHarrison Vanderbyl
194*447f8053SHarrison Vanderbyl		pinctrl-0 = <&panel_en>;
195*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
196*447f8053SHarrison Vanderbyl
197*447f8053SHarrison Vanderbyl		regulator-boot-on;
198*447f8053SHarrison Vanderbyl	};
199*447f8053SHarrison Vanderbyl
200*447f8053SHarrison Vanderbyl	vph_pwr: regulator-vph-pwr {
201*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
202*447f8053SHarrison Vanderbyl
203*447f8053SHarrison Vanderbyl		regulator-name = "vph_pwr";
204*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <3700000>;
205*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <3700000>;
206*447f8053SHarrison Vanderbyl	};
207*447f8053SHarrison Vanderbyl
208*447f8053SHarrison Vanderbyl	vreg_wcn_0p95: regulator-wcn-0p95 {
209*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
210*447f8053SHarrison Vanderbyl
211*447f8053SHarrison Vanderbyl		regulator-name = "VREG_WCN_0P95";
212*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <950000>;
213*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <950000>;
214*447f8053SHarrison Vanderbyl
215*447f8053SHarrison Vanderbyl		vin-supply = <&vreg_wcn_3p3>;
216*447f8053SHarrison Vanderbyl	};
217*447f8053SHarrison Vanderbyl
218*447f8053SHarrison Vanderbyl	vreg_wcn_1p9: regulator-wcn-1p9 {
219*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
220*447f8053SHarrison Vanderbyl
221*447f8053SHarrison Vanderbyl		regulator-name = "VREG_WCN_1P9";
222*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <1900000>;
223*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <1900000>;
224*447f8053SHarrison Vanderbyl
225*447f8053SHarrison Vanderbyl		vin-supply = <&vreg_wcn_3p3>;
226*447f8053SHarrison Vanderbyl	};
227*447f8053SHarrison Vanderbyl
228*447f8053SHarrison Vanderbyl	vreg_wcn_3p3: regulator-wcn-3p3 {
229*447f8053SHarrison Vanderbyl		compatible = "regulator-fixed";
230*447f8053SHarrison Vanderbyl
231*447f8053SHarrison Vanderbyl		regulator-name = "VREG_WCN_3P3";
232*447f8053SHarrison Vanderbyl		regulator-min-microvolt = <3300000>;
233*447f8053SHarrison Vanderbyl		regulator-max-microvolt = <3300000>;
234*447f8053SHarrison Vanderbyl
235*447f8053SHarrison Vanderbyl		gpio = <&tlmm 214 GPIO_ACTIVE_HIGH>;
236*447f8053SHarrison Vanderbyl		enable-active-high;
237*447f8053SHarrison Vanderbyl
238*447f8053SHarrison Vanderbyl		pinctrl-0 = <&wcn_sw_en>;
239*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
240*447f8053SHarrison Vanderbyl	};
241*447f8053SHarrison Vanderbyl
242*447f8053SHarrison Vanderbyl	sound {
243*447f8053SHarrison Vanderbyl		compatible = "qcom,x1e80100-sndcard";
244*447f8053SHarrison Vanderbyl		model = "X1P42100-Microsoft-Surface-Pro-12in";
245*447f8053SHarrison Vanderbyl		audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT",
246*447f8053SHarrison Vanderbyl				"SpkrRight IN", "WSA WSA_SPK2 OUT",
247*447f8053SHarrison Vanderbyl				"VA DMIC0", "vdd-micb",
248*447f8053SHarrison Vanderbyl				"VA DMIC1", "vdd-micb";
249*447f8053SHarrison Vanderbyl
250*447f8053SHarrison Vanderbyl		va-dai-link {
251*447f8053SHarrison Vanderbyl			link-name = "VA Capture";
252*447f8053SHarrison Vanderbyl
253*447f8053SHarrison Vanderbyl			codec {
254*447f8053SHarrison Vanderbyl				sound-dai = <&lpass_vamacro 0>;
255*447f8053SHarrison Vanderbyl			};
256*447f8053SHarrison Vanderbyl
257*447f8053SHarrison Vanderbyl			cpu {
258*447f8053SHarrison Vanderbyl				sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
259*447f8053SHarrison Vanderbyl			};
260*447f8053SHarrison Vanderbyl
261*447f8053SHarrison Vanderbyl			platform {
262*447f8053SHarrison Vanderbyl				sound-dai = <&q6apm>;
263*447f8053SHarrison Vanderbyl			};
264*447f8053SHarrison Vanderbyl		};
265*447f8053SHarrison Vanderbyl
266*447f8053SHarrison Vanderbyl		wsa-dai-link {
267*447f8053SHarrison Vanderbyl			link-name = "WSA Playback";
268*447f8053SHarrison Vanderbyl
269*447f8053SHarrison Vanderbyl			codec {
270*447f8053SHarrison Vanderbyl				sound-dai = <&left_spkr>, <&right_spkr>,
271*447f8053SHarrison Vanderbyl					    <&swr0 0>, <&lpass_wsamacro 0>;
272*447f8053SHarrison Vanderbyl			};
273*447f8053SHarrison Vanderbyl
274*447f8053SHarrison Vanderbyl			cpu {
275*447f8053SHarrison Vanderbyl				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
276*447f8053SHarrison Vanderbyl			};
277*447f8053SHarrison Vanderbyl
278*447f8053SHarrison Vanderbyl			platform {
279*447f8053SHarrison Vanderbyl				sound-dai = <&q6apm>;
280*447f8053SHarrison Vanderbyl			};
281*447f8053SHarrison Vanderbyl		};
282*447f8053SHarrison Vanderbyl	};
283*447f8053SHarrison Vanderbyl
284*447f8053SHarrison Vanderbyl	wcn7850-pmu {
285*447f8053SHarrison Vanderbyl		compatible = "qcom,wcn7850-pmu";
286*447f8053SHarrison Vanderbyl
287*447f8053SHarrison Vanderbyl		vdd-supply = <&vreg_wcn_0p95>;
288*447f8053SHarrison Vanderbyl		vddio-supply = <&vreg_l15b_1p8>;
289*447f8053SHarrison Vanderbyl		vddaon-supply = <&vreg_wcn_0p95>;
290*447f8053SHarrison Vanderbyl		vdddig-supply = <&vreg_wcn_0p95>;
291*447f8053SHarrison Vanderbyl		vddrfa1p2-supply = <&vreg_wcn_1p9>;
292*447f8053SHarrison Vanderbyl		vddrfa1p8-supply = <&vreg_wcn_1p9>;
293*447f8053SHarrison Vanderbyl
294*447f8053SHarrison Vanderbyl		wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
295*447f8053SHarrison Vanderbyl		bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
296*447f8053SHarrison Vanderbyl
297*447f8053SHarrison Vanderbyl		pinctrl-0 = <&wcn_wlan_bt_en>;
298*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
299*447f8053SHarrison Vanderbyl
300*447f8053SHarrison Vanderbyl		regulators {
301*447f8053SHarrison Vanderbyl			vreg_pmu_rfa_cmn: ldo0 {
302*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_rfa_cmn";
303*447f8053SHarrison Vanderbyl			};
304*447f8053SHarrison Vanderbyl
305*447f8053SHarrison Vanderbyl			vreg_pmu_aon_0p59: ldo1 {
306*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_aon_0p59";
307*447f8053SHarrison Vanderbyl			};
308*447f8053SHarrison Vanderbyl
309*447f8053SHarrison Vanderbyl			vreg_pmu_wlcx_0p8: ldo2 {
310*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_wlcx_0p8";
311*447f8053SHarrison Vanderbyl			};
312*447f8053SHarrison Vanderbyl
313*447f8053SHarrison Vanderbyl			vreg_pmu_wlmx_0p85: ldo3 {
314*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_wlmx_0p85";
315*447f8053SHarrison Vanderbyl			};
316*447f8053SHarrison Vanderbyl
317*447f8053SHarrison Vanderbyl			vreg_pmu_btcmx_0p85: ldo4 {
318*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_btcmx_0p85";
319*447f8053SHarrison Vanderbyl			};
320*447f8053SHarrison Vanderbyl
321*447f8053SHarrison Vanderbyl			vreg_pmu_rfa_0p8: ldo5 {
322*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_rfa_0p8";
323*447f8053SHarrison Vanderbyl			};
324*447f8053SHarrison Vanderbyl
325*447f8053SHarrison Vanderbyl			vreg_pmu_rfa_1p2: ldo6 {
326*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_rfa_1p2";
327*447f8053SHarrison Vanderbyl			};
328*447f8053SHarrison Vanderbyl
329*447f8053SHarrison Vanderbyl			vreg_pmu_rfa_1p8: ldo7 {
330*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_rfa_1p8";
331*447f8053SHarrison Vanderbyl			};
332*447f8053SHarrison Vanderbyl
333*447f8053SHarrison Vanderbyl			vreg_pmu_pcie_0p9: ldo8 {
334*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_pcie_0p9";
335*447f8053SHarrison Vanderbyl			};
336*447f8053SHarrison Vanderbyl
337*447f8053SHarrison Vanderbyl			vreg_pmu_pcie_1p8: ldo9 {
338*447f8053SHarrison Vanderbyl				regulator-name = "vreg_pmu_pcie_1p8";
339*447f8053SHarrison Vanderbyl			};
340*447f8053SHarrison Vanderbyl		};
341*447f8053SHarrison Vanderbyl	};
342*447f8053SHarrison Vanderbyl
343*447f8053SHarrison Vanderbyl	usb-1-ss0-sbu-mux {
344*447f8053SHarrison Vanderbyl		compatible = "onnn,fsusb42", "gpio-sbu-mux";
345*447f8053SHarrison Vanderbyl
346*447f8053SHarrison Vanderbyl		enable-gpios = <&tlmm 168 GPIO_ACTIVE_LOW>;
347*447f8053SHarrison Vanderbyl		select-gpios = <&tlmm 167 GPIO_ACTIVE_HIGH>;
348*447f8053SHarrison Vanderbyl
349*447f8053SHarrison Vanderbyl		pinctrl-0 = <&usb_1_ss0_sbu_default>;
350*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
351*447f8053SHarrison Vanderbyl
352*447f8053SHarrison Vanderbyl		mode-switch;
353*447f8053SHarrison Vanderbyl		orientation-switch;
354*447f8053SHarrison Vanderbyl
355*447f8053SHarrison Vanderbyl		port {
356*447f8053SHarrison Vanderbyl			usb_1_ss0_sbu_mux: endpoint {
357*447f8053SHarrison Vanderbyl				remote-endpoint = <&pmic_glink_ss0_sbu>;
358*447f8053SHarrison Vanderbyl			};
359*447f8053SHarrison Vanderbyl		};
360*447f8053SHarrison Vanderbyl	};
361*447f8053SHarrison Vanderbyl
362*447f8053SHarrison Vanderbyl	usb-1-ss1-sbu-mux {
363*447f8053SHarrison Vanderbyl		compatible = "onnn,fsusb42", "gpio-sbu-mux";
364*447f8053SHarrison Vanderbyl
365*447f8053SHarrison Vanderbyl		enable-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>;
366*447f8053SHarrison Vanderbyl		select-gpios = <&tlmm 178 GPIO_ACTIVE_HIGH>;
367*447f8053SHarrison Vanderbyl
368*447f8053SHarrison Vanderbyl		pinctrl-0 = <&usb_1_ss1_sbu_default>;
369*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
370*447f8053SHarrison Vanderbyl
371*447f8053SHarrison Vanderbyl		mode-switch;
372*447f8053SHarrison Vanderbyl		orientation-switch;
373*447f8053SHarrison Vanderbyl
374*447f8053SHarrison Vanderbyl		port {
375*447f8053SHarrison Vanderbyl			usb_1_ss1_sbu_mux: endpoint {
376*447f8053SHarrison Vanderbyl				remote-endpoint = <&pmic_glink_ss1_sbu>;
377*447f8053SHarrison Vanderbyl			};
378*447f8053SHarrison Vanderbyl		};
379*447f8053SHarrison Vanderbyl	};
380*447f8053SHarrison Vanderbyl};
381*447f8053SHarrison Vanderbyl
382*447f8053SHarrison Vanderbyl&apps_rsc {
383*447f8053SHarrison Vanderbyl	regulators-0 {
384*447f8053SHarrison Vanderbyl		compatible = "qcom,pm8550-rpmh-regulators";
385*447f8053SHarrison Vanderbyl		qcom,pmic-id = "b";
386*447f8053SHarrison Vanderbyl
387*447f8053SHarrison Vanderbyl		vdd-bob1-supply = <&vph_pwr>;
388*447f8053SHarrison Vanderbyl		vdd-bob2-supply = <&vph_pwr>;
389*447f8053SHarrison Vanderbyl		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
390*447f8053SHarrison Vanderbyl		vdd-l2-l13-l14-supply = <&vreg_bob1>;
391*447f8053SHarrison Vanderbyl		vdd-l5-l16-supply = <&vreg_bob1>;
392*447f8053SHarrison Vanderbyl		vdd-l6-l7-supply = <&vreg_bob2>;
393*447f8053SHarrison Vanderbyl		vdd-l8-l9-supply = <&vreg_bob1>;
394*447f8053SHarrison Vanderbyl		vdd-l12-supply = <&vreg_s5j_1p2>;
395*447f8053SHarrison Vanderbyl		vdd-l15-supply = <&vreg_s4c_1p8>;
396*447f8053SHarrison Vanderbyl		vdd-l17-supply = <&vreg_bob2>;
397*447f8053SHarrison Vanderbyl
398*447f8053SHarrison Vanderbyl		vreg_bob1: bob1 {
399*447f8053SHarrison Vanderbyl			regulator-name = "vreg_bob1";
400*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3008000>;
401*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3960000>;
402*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403*447f8053SHarrison Vanderbyl		};
404*447f8053SHarrison Vanderbyl
405*447f8053SHarrison Vanderbyl		vreg_bob2: bob2 {
406*447f8053SHarrison Vanderbyl			regulator-name = "vreg_bob2";
407*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <2504000>;
408*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3008000>;
409*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
410*447f8053SHarrison Vanderbyl		};
411*447f8053SHarrison Vanderbyl
412*447f8053SHarrison Vanderbyl		vreg_l1b_1p8: ldo1 {
413*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l1b_1p8";
414*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
415*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
416*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
417*447f8053SHarrison Vanderbyl		};
418*447f8053SHarrison Vanderbyl
419*447f8053SHarrison Vanderbyl		vreg_l2b_3p0: ldo2 {
420*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2b_3p0";
421*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3072000>;
422*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3100000>;
423*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
424*447f8053SHarrison Vanderbyl		};
425*447f8053SHarrison Vanderbyl
426*447f8053SHarrison Vanderbyl		vreg_l4b_1p8: ldo4 {
427*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l4b_1p8";
428*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
429*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
430*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
431*447f8053SHarrison Vanderbyl		};
432*447f8053SHarrison Vanderbyl
433*447f8053SHarrison Vanderbyl		vreg_l5b_3p0: ldo5 {
434*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l5b_3p0";
435*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3000000>;
436*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3000000>;
437*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
438*447f8053SHarrison Vanderbyl		};
439*447f8053SHarrison Vanderbyl
440*447f8053SHarrison Vanderbyl		vreg_l6b_1p8: ldo6 {
441*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l6b_1p8";
442*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
443*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2960000>;
444*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
445*447f8053SHarrison Vanderbyl		};
446*447f8053SHarrison Vanderbyl
447*447f8053SHarrison Vanderbyl		vreg_l7b_2p8: ldo7 {
448*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l7b_2p8";
449*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <2800000>;
450*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2800000>;
451*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
452*447f8053SHarrison Vanderbyl			regulator-always-on;
453*447f8053SHarrison Vanderbyl		};
454*447f8053SHarrison Vanderbyl
455*447f8053SHarrison Vanderbyl		vreg_l8b_3p0: ldo8 {
456*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l8b_3p0";
457*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3072000>;
458*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3072000>;
459*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
460*447f8053SHarrison Vanderbyl		};
461*447f8053SHarrison Vanderbyl
462*447f8053SHarrison Vanderbyl		vreg_l9b_2p9: ldo9 {
463*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l9b_2p9";
464*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <2960000>;
465*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2960000>;
466*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
467*447f8053SHarrison Vanderbyl		};
468*447f8053SHarrison Vanderbyl
469*447f8053SHarrison Vanderbyl		vreg_l10b_1p8: ldo10 {
470*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l10b_1p8";
471*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
472*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
473*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
474*447f8053SHarrison Vanderbyl		};
475*447f8053SHarrison Vanderbyl
476*447f8053SHarrison Vanderbyl		vreg_l12b_1p2: ldo12 {
477*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l12b_1p2";
478*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1200000>;
479*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1200000>;
480*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
481*447f8053SHarrison Vanderbyl		};
482*447f8053SHarrison Vanderbyl
483*447f8053SHarrison Vanderbyl		vreg_l13b_3p0: ldo13 {
484*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l13b_3p0";
485*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3072000>;
486*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3100000>;
487*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
488*447f8053SHarrison Vanderbyl		};
489*447f8053SHarrison Vanderbyl
490*447f8053SHarrison Vanderbyl		vreg_l14b_3p0: ldo14 {
491*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l14b_3p0";
492*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <3072000>;
493*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <3072000>;
494*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
495*447f8053SHarrison Vanderbyl		};
496*447f8053SHarrison Vanderbyl
497*447f8053SHarrison Vanderbyl		vreg_l15b_1p8: ldo15 {
498*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l15b_1p8";
499*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
500*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
501*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
502*447f8053SHarrison Vanderbyl		};
503*447f8053SHarrison Vanderbyl
504*447f8053SHarrison Vanderbyl		vreg_l16b_2p9: ldo16 {
505*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l16b_2p9";
506*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <2900000>;
507*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2912000>;
508*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
509*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
510*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
511*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
512*447f8053SHarrison Vanderbyl		};
513*447f8053SHarrison Vanderbyl
514*447f8053SHarrison Vanderbyl		vreg_l17b_2p5: ldo17 {
515*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l17b_2p5";
516*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <2504000>;
517*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2504000>;
518*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
519*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
520*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
521*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
522*447f8053SHarrison Vanderbyl		};
523*447f8053SHarrison Vanderbyl	};
524*447f8053SHarrison Vanderbyl
525*447f8053SHarrison Vanderbyl	regulators-1 {
526*447f8053SHarrison Vanderbyl		compatible = "qcom,pm8550ve-rpmh-regulators";
527*447f8053SHarrison Vanderbyl		qcom,pmic-id = "c";
528*447f8053SHarrison Vanderbyl
529*447f8053SHarrison Vanderbyl		vdd-l1-supply = <&vreg_s5j_1p2>;
530*447f8053SHarrison Vanderbyl		vdd-s4-supply = <&vph_pwr>;
531*447f8053SHarrison Vanderbyl
532*447f8053SHarrison Vanderbyl		vreg_s4c_1p8: smps4 {
533*447f8053SHarrison Vanderbyl			regulator-name = "vreg_s4c_1p8";
534*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1856000>;
535*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <2000000>;
536*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
537*447f8053SHarrison Vanderbyl		};
538*447f8053SHarrison Vanderbyl
539*447f8053SHarrison Vanderbyl		vreg_l1c_1p2: ldo1 {
540*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l1c_1p2";
541*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1200000>;
542*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1200000>;
543*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
544*447f8053SHarrison Vanderbyl		};
545*447f8053SHarrison Vanderbyl
546*447f8053SHarrison Vanderbyl		vreg_l2c_0p8: ldo2 {
547*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2c_0p8";
548*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
549*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
550*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
551*447f8053SHarrison Vanderbyl		};
552*447f8053SHarrison Vanderbyl
553*447f8053SHarrison Vanderbyl		vreg_l3c_0p8: ldo3 {
554*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l3c_0p8";
555*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
556*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
557*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
558*447f8053SHarrison Vanderbyl		};
559*447f8053SHarrison Vanderbyl	};
560*447f8053SHarrison Vanderbyl
561*447f8053SHarrison Vanderbyl	regulators-2 {
562*447f8053SHarrison Vanderbyl		compatible = "qcom,pmc8380-rpmh-regulators";
563*447f8053SHarrison Vanderbyl		qcom,pmic-id = "d";
564*447f8053SHarrison Vanderbyl
565*447f8053SHarrison Vanderbyl		vdd-l3-supply = <&vreg_s4c_1p8>;
566*447f8053SHarrison Vanderbyl		vdd-s1-supply = <&vph_pwr>;
567*447f8053SHarrison Vanderbyl
568*447f8053SHarrison Vanderbyl		vreg_l1d_0p8: ldo1 {
569*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l1d_0p8";
570*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
571*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
572*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
573*447f8053SHarrison Vanderbyl		};
574*447f8053SHarrison Vanderbyl
575*447f8053SHarrison Vanderbyl		vreg_l2d_0p9: ldo2 {
576*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2d_0p9";
577*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <912000>;
578*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
579*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
580*447f8053SHarrison Vanderbyl		};
581*447f8053SHarrison Vanderbyl
582*447f8053SHarrison Vanderbyl		vreg_l3d_1p8: ldo3 {
583*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l3d_1p8";
584*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
585*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
586*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
587*447f8053SHarrison Vanderbyl		};
588*447f8053SHarrison Vanderbyl	};
589*447f8053SHarrison Vanderbyl
590*447f8053SHarrison Vanderbyl	regulators-3 {
591*447f8053SHarrison Vanderbyl		compatible = "qcom,pmc8380-rpmh-regulators";
592*447f8053SHarrison Vanderbyl		qcom,pmic-id = "e";
593*447f8053SHarrison Vanderbyl
594*447f8053SHarrison Vanderbyl		vdd-l3-supply = <&vreg_s5j_1p2>;
595*447f8053SHarrison Vanderbyl
596*447f8053SHarrison Vanderbyl		vreg_l2e_0p8: ldo2 {
597*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2e_0p8";
598*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
599*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <880000>;
600*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
601*447f8053SHarrison Vanderbyl		};
602*447f8053SHarrison Vanderbyl
603*447f8053SHarrison Vanderbyl		vreg_l3e_1p2: ldo3 {
604*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l3e_1p2";
605*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1200000>;
606*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1200000>;
607*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
608*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
609*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
610*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
611*447f8053SHarrison Vanderbyl		};
612*447f8053SHarrison Vanderbyl	};
613*447f8053SHarrison Vanderbyl
614*447f8053SHarrison Vanderbyl	regulators-6 {
615*447f8053SHarrison Vanderbyl		compatible = "qcom,pm8550ve-rpmh-regulators";
616*447f8053SHarrison Vanderbyl		qcom,pmic-id = "i";
617*447f8053SHarrison Vanderbyl
618*447f8053SHarrison Vanderbyl		vdd-l1-supply = <&vreg_s4c_1p8>;
619*447f8053SHarrison Vanderbyl		vdd-l2-supply = <&vreg_s5j_1p2>;
620*447f8053SHarrison Vanderbyl		vdd-s1-supply = <&vph_pwr>;
621*447f8053SHarrison Vanderbyl		vdd-s2-supply = <&vph_pwr>;
622*447f8053SHarrison Vanderbyl
623*447f8053SHarrison Vanderbyl		vreg_s1i_0p9: smps1 {
624*447f8053SHarrison Vanderbyl			regulator-name = "vreg_s1i_0p9";
625*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <900000>;
626*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
627*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
628*447f8053SHarrison Vanderbyl		};
629*447f8053SHarrison Vanderbyl
630*447f8053SHarrison Vanderbyl		vreg_s2i_1p0: smps2 {
631*447f8053SHarrison Vanderbyl			regulator-name = "vreg_s2i_1p0";
632*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1000000>;
633*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1100000>;
634*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
635*447f8053SHarrison Vanderbyl		};
636*447f8053SHarrison Vanderbyl
637*447f8053SHarrison Vanderbyl		vreg_l1i_1p8: ldo1 {
638*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l1i_1p8";
639*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1800000>;
640*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1800000>;
641*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
642*447f8053SHarrison Vanderbyl		};
643*447f8053SHarrison Vanderbyl
644*447f8053SHarrison Vanderbyl		vreg_l2i_1p2: ldo2 {
645*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2i_1p2";
646*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1200000>;
647*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1200000>;
648*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
649*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
650*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
651*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
652*447f8053SHarrison Vanderbyl		};
653*447f8053SHarrison Vanderbyl
654*447f8053SHarrison Vanderbyl		vreg_l3i_0p8: ldo3 {
655*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l3i_0p8";
656*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
657*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <880000>;
658*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
659*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
660*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
661*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
662*447f8053SHarrison Vanderbyl		};
663*447f8053SHarrison Vanderbyl	};
664*447f8053SHarrison Vanderbyl
665*447f8053SHarrison Vanderbyl	regulators-7 {
666*447f8053SHarrison Vanderbyl		compatible = "qcom,pm8550ve-rpmh-regulators";
667*447f8053SHarrison Vanderbyl		qcom,pmic-id = "j";
668*447f8053SHarrison Vanderbyl
669*447f8053SHarrison Vanderbyl		vdd-l2-supply = <&vreg_s5j_1p2>;
670*447f8053SHarrison Vanderbyl		vdd-s5-supply = <&vph_pwr>;
671*447f8053SHarrison Vanderbyl
672*447f8053SHarrison Vanderbyl		vreg_s5j_1p2: smps5 {
673*447f8053SHarrison Vanderbyl			regulator-name = "vreg_s5j_1p2";
674*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1256000>;
675*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1304000>;
676*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
677*447f8053SHarrison Vanderbyl		};
678*447f8053SHarrison Vanderbyl
679*447f8053SHarrison Vanderbyl		vreg_l1j_0p8: ldo1 {
680*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l1j_0p8";
681*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
682*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <920000>;
683*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
684*447f8053SHarrison Vanderbyl		};
685*447f8053SHarrison Vanderbyl
686*447f8053SHarrison Vanderbyl		vreg_l2j_1p2: ldo2 {
687*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l2j_1p2";
688*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <1200000>;
689*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <1256000>;
690*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
691*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
692*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
693*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
694*447f8053SHarrison Vanderbyl		};
695*447f8053SHarrison Vanderbyl
696*447f8053SHarrison Vanderbyl		vreg_l3j_0p8: ldo3 {
697*447f8053SHarrison Vanderbyl			regulator-name = "vreg_l3j_0p8";
698*447f8053SHarrison Vanderbyl			regulator-min-microvolt = <880000>;
699*447f8053SHarrison Vanderbyl			regulator-max-microvolt = <880000>;
700*447f8053SHarrison Vanderbyl			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
701*447f8053SHarrison Vanderbyl			regulator-allow-set-load;
702*447f8053SHarrison Vanderbyl			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
703*447f8053SHarrison Vanderbyl						   RPMH_REGULATOR_MODE_HPM>;
704*447f8053SHarrison Vanderbyl		};
705*447f8053SHarrison Vanderbyl	};
706*447f8053SHarrison Vanderbyl};
707*447f8053SHarrison Vanderbyl
708*447f8053SHarrison Vanderbyl&gpu {
709*447f8053SHarrison Vanderbyl	status = "okay";
710*447f8053SHarrison Vanderbyl};
711*447f8053SHarrison Vanderbyl
712*447f8053SHarrison Vanderbyl&gpu_zap_shader {
713*447f8053SHarrison Vanderbyl	firmware-name = "qcom/x1p42100/Microsoft/Surface12/qcdxkmsucpurwa.mbn";
714*447f8053SHarrison Vanderbyl};
715*447f8053SHarrison Vanderbyl
716*447f8053SHarrison Vanderbyl&i2c8 {
717*447f8053SHarrison Vanderbyl	clock-frequency = <1000000>;
718*447f8053SHarrison Vanderbyl
719*447f8053SHarrison Vanderbyl	status = "okay";
720*447f8053SHarrison Vanderbyl
721*447f8053SHarrison Vanderbyl	touchscreen@16 {
722*447f8053SHarrison Vanderbyl		compatible = "hid-over-i2c";
723*447f8053SHarrison Vanderbyl		reg = <0x16>;
724*447f8053SHarrison Vanderbyl
725*447f8053SHarrison Vanderbyl		hid-descr-addr = <0x1>;
726*447f8053SHarrison Vanderbyl		interrupts-extended = <&tlmm 38 IRQ_TYPE_LEVEL_LOW>;
727*447f8053SHarrison Vanderbyl		wakeup-source;
728*447f8053SHarrison Vanderbyl
729*447f8053SHarrison Vanderbyl		vddl-supply = <&vreg_l15b_1p8>;
730*447f8053SHarrison Vanderbyl
731*447f8053SHarrison Vanderbyl		pinctrl-0 = <&ts0_default>;
732*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
733*447f8053SHarrison Vanderbyl	};
734*447f8053SHarrison Vanderbyl};
735*447f8053SHarrison Vanderbyl
736*447f8053SHarrison Vanderbyl&i2c0 {
737*447f8053SHarrison Vanderbyl	clock-frequency = <400000>;
738*447f8053SHarrison Vanderbyl
739*447f8053SHarrison Vanderbyl	status = "okay";
740*447f8053SHarrison Vanderbyl};
741*447f8053SHarrison Vanderbyl
742*447f8053SHarrison Vanderbyl&i2c4 {
743*447f8053SHarrison Vanderbyl	clock-frequency = <400000>;
744*447f8053SHarrison Vanderbyl
745*447f8053SHarrison Vanderbyl	status = "okay";
746*447f8053SHarrison Vanderbyl
747*447f8053SHarrison Vanderbyl	/* MAX34417 @12 */
748*447f8053SHarrison Vanderbyl	/* MAX34417 @14 */
749*447f8053SHarrison Vanderbyl	/* MAX34417 @16 */
750*447f8053SHarrison Vanderbyl	/* MAX34417 @18 */
751*447f8053SHarrison Vanderbyl	/* MAX34417 @1a */
752*447f8053SHarrison Vanderbyl};
753*447f8053SHarrison Vanderbyl
754*447f8053SHarrison Vanderbyl&i2c9 {
755*447f8053SHarrison Vanderbyl	clock-frequency = <400000>;
756*447f8053SHarrison Vanderbyl
757*447f8053SHarrison Vanderbyl	status = "okay";
758*447f8053SHarrison Vanderbyl
759*447f8053SHarrison Vanderbyl	/* NFC @28 Business 2109 sku only */
760*447f8053SHarrison Vanderbyl};
761*447f8053SHarrison Vanderbyl
762*447f8053SHarrison Vanderbyl&lpass_tlmm {
763*447f8053SHarrison Vanderbyl	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
764*447f8053SHarrison Vanderbyl		pins = "gpio12";
765*447f8053SHarrison Vanderbyl		function = "gpio";
766*447f8053SHarrison Vanderbyl		drive-strength = <2>;
767*447f8053SHarrison Vanderbyl		bias-disable;
768*447f8053SHarrison Vanderbyl		output-low;
769*447f8053SHarrison Vanderbyl	};
770*447f8053SHarrison Vanderbyl};
771*447f8053SHarrison Vanderbyl
772*447f8053SHarrison Vanderbyl&lpass_vamacro {
773*447f8053SHarrison Vanderbyl	qcom,dmic-sample-rate = <4800000>;
774*447f8053SHarrison Vanderbyl
775*447f8053SHarrison Vanderbyl	vdd-micb-supply = <&vreg_l1b_1p8>;
776*447f8053SHarrison Vanderbyl
777*447f8053SHarrison Vanderbyl	pinctrl-0 = <&dmic01_default>;
778*447f8053SHarrison Vanderbyl	pinctrl-names = "default";
779*447f8053SHarrison Vanderbyl};
780*447f8053SHarrison Vanderbyl
781*447f8053SHarrison Vanderbyl&mdss {
782*447f8053SHarrison Vanderbyl	status = "okay";
783*447f8053SHarrison Vanderbyl};
784*447f8053SHarrison Vanderbyl
785*447f8053SHarrison Vanderbyl&mdss_dp0 {
786*447f8053SHarrison Vanderbyl	status = "okay";
787*447f8053SHarrison Vanderbyl};
788*447f8053SHarrison Vanderbyl
789*447f8053SHarrison Vanderbyl&mdss_dp0_out {
790*447f8053SHarrison Vanderbyl	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
791*447f8053SHarrison Vanderbyl};
792*447f8053SHarrison Vanderbyl
793*447f8053SHarrison Vanderbyl&mdss_dp1 {
794*447f8053SHarrison Vanderbyl	status = "okay";
795*447f8053SHarrison Vanderbyl};
796*447f8053SHarrison Vanderbyl
797*447f8053SHarrison Vanderbyl&mdss_dp1_out {
798*447f8053SHarrison Vanderbyl	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
799*447f8053SHarrison Vanderbyl};
800*447f8053SHarrison Vanderbyl
801*447f8053SHarrison Vanderbyl&mdss_dp3 {
802*447f8053SHarrison Vanderbyl	/delete-property/ #sound-dai-cells;
803*447f8053SHarrison Vanderbyl
804*447f8053SHarrison Vanderbyl	pinctrl-0 = <&edp0_hpd_default>;
805*447f8053SHarrison Vanderbyl	pinctrl-names = "default";
806*447f8053SHarrison Vanderbyl
807*447f8053SHarrison Vanderbyl	status = "okay";
808*447f8053SHarrison Vanderbyl
809*447f8053SHarrison Vanderbyl	aux-bus {
810*447f8053SHarrison Vanderbyl		panel: panel {
811*447f8053SHarrison Vanderbyl			compatible = "edp-panel";
812*447f8053SHarrison Vanderbyl
813*447f8053SHarrison Vanderbyl			backlight = <&backlight>;
814*447f8053SHarrison Vanderbyl
815*447f8053SHarrison Vanderbyl			power-supply = <&vreg_edp_3p3>;
816*447f8053SHarrison Vanderbyl
817*447f8053SHarrison Vanderbyl			port {
818*447f8053SHarrison Vanderbyl				edp_panel_in: endpoint {
819*447f8053SHarrison Vanderbyl					remote-endpoint = <&mdss_dp3_out>;
820*447f8053SHarrison Vanderbyl				};
821*447f8053SHarrison Vanderbyl			};
822*447f8053SHarrison Vanderbyl		};
823*447f8053SHarrison Vanderbyl	};
824*447f8053SHarrison Vanderbyl};
825*447f8053SHarrison Vanderbyl
826*447f8053SHarrison Vanderbyl&mdss_dp3_out {
827*447f8053SHarrison Vanderbyl	data-lanes = <0 1 2 3>;
828*447f8053SHarrison Vanderbyl	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
829*447f8053SHarrison Vanderbyl
830*447f8053SHarrison Vanderbyl	remote-endpoint = <&edp_panel_in>;
831*447f8053SHarrison Vanderbyl};
832*447f8053SHarrison Vanderbyl
833*447f8053SHarrison Vanderbyl&mdss_dp3_phy {
834*447f8053SHarrison Vanderbyl	vdda-phy-supply = <&vreg_l3j_0p8>;
835*447f8053SHarrison Vanderbyl	vdda-pll-supply = <&vreg_l2j_1p2>;
836*447f8053SHarrison Vanderbyl
837*447f8053SHarrison Vanderbyl	status = "okay";
838*447f8053SHarrison Vanderbyl};
839*447f8053SHarrison Vanderbyl
840*447f8053SHarrison Vanderbyl&pcie4 {
841*447f8053SHarrison Vanderbyl	pinctrl-0 = <&pcie4_default>;
842*447f8053SHarrison Vanderbyl	pinctrl-names = "default";
843*447f8053SHarrison Vanderbyl
844*447f8053SHarrison Vanderbyl	status = "okay";
845*447f8053SHarrison Vanderbyl};
846*447f8053SHarrison Vanderbyl
847*447f8053SHarrison Vanderbyl&pcie4_phy {
848*447f8053SHarrison Vanderbyl	vdda-phy-supply = <&vreg_l3i_0p8>;
849*447f8053SHarrison Vanderbyl	vdda-pll-supply = <&vreg_l3e_1p2>;
850*447f8053SHarrison Vanderbyl
851*447f8053SHarrison Vanderbyl	status = "okay";
852*447f8053SHarrison Vanderbyl};
853*447f8053SHarrison Vanderbyl
854*447f8053SHarrison Vanderbyl&pcie4_port0 {
855*447f8053SHarrison Vanderbyl	reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
856*447f8053SHarrison Vanderbyl	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
857*447f8053SHarrison Vanderbyl
858*447f8053SHarrison Vanderbyl	wifi@0 {
859*447f8053SHarrison Vanderbyl		compatible = "pci17cb,1107";
860*447f8053SHarrison Vanderbyl		reg = <0x10000 0x0 0x0 0x0 0x0>;
861*447f8053SHarrison Vanderbyl
862*447f8053SHarrison Vanderbyl		vddaon-supply = <&vreg_pmu_aon_0p59>;
863*447f8053SHarrison Vanderbyl		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
864*447f8053SHarrison Vanderbyl		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
865*447f8053SHarrison Vanderbyl		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
866*447f8053SHarrison Vanderbyl		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
867*447f8053SHarrison Vanderbyl		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
868*447f8053SHarrison Vanderbyl		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
869*447f8053SHarrison Vanderbyl		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
870*447f8053SHarrison Vanderbyl		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
871*447f8053SHarrison Vanderbyl	};
872*447f8053SHarrison Vanderbyl};
873*447f8053SHarrison Vanderbyl
874*447f8053SHarrison Vanderbyl&pm8550_gpios {
875*447f8053SHarrison Vanderbyl	vol_up_n_default: vol-up-n-state {
876*447f8053SHarrison Vanderbyl		pins = "gpio8";
877*447f8053SHarrison Vanderbyl		function = "normal";
878*447f8053SHarrison Vanderbyl		power-source = <1>;
879*447f8053SHarrison Vanderbyl		bias-pull-up;
880*447f8053SHarrison Vanderbyl		input-enable;
881*447f8053SHarrison Vanderbyl	};
882*447f8053SHarrison Vanderbyl
883*447f8053SHarrison Vanderbyl	vol_down_n_default: vol-down-n-state {
884*447f8053SHarrison Vanderbyl		pins = "gpio6";
885*447f8053SHarrison Vanderbyl		function = "normal";
886*447f8053SHarrison Vanderbyl		power-source = <1>;
887*447f8053SHarrison Vanderbyl		bias-pull-up;
888*447f8053SHarrison Vanderbyl		input-enable;
889*447f8053SHarrison Vanderbyl	};
890*447f8053SHarrison Vanderbyl};
891*447f8053SHarrison Vanderbyl
892*447f8053SHarrison Vanderbyl&pmk8550_pwm {
893*447f8053SHarrison Vanderbyl	status = "okay";
894*447f8053SHarrison Vanderbyl};
895*447f8053SHarrison Vanderbyl
896*447f8053SHarrison Vanderbyl&qupv3_0 {
897*447f8053SHarrison Vanderbyl	status = "okay";
898*447f8053SHarrison Vanderbyl};
899*447f8053SHarrison Vanderbyl
900*447f8053SHarrison Vanderbyl&qupv3_1 {
901*447f8053SHarrison Vanderbyl	status = "okay";
902*447f8053SHarrison Vanderbyl};
903*447f8053SHarrison Vanderbyl
904*447f8053SHarrison Vanderbyl&qupv3_2 {
905*447f8053SHarrison Vanderbyl	status = "okay";
906*447f8053SHarrison Vanderbyl};
907*447f8053SHarrison Vanderbyl
908*447f8053SHarrison Vanderbyl&remoteproc_adsp {
909*447f8053SHarrison Vanderbyl	firmware-name = "qcom/x1p42100/Microsoft/Surface12/qcadsp8380.mbn",
910*447f8053SHarrison Vanderbyl			"qcom/x1p42100/Microsoft/Surface12/adsp_dtbs.elf";
911*447f8053SHarrison Vanderbyl
912*447f8053SHarrison Vanderbyl	status = "okay";
913*447f8053SHarrison Vanderbyl};
914*447f8053SHarrison Vanderbyl
915*447f8053SHarrison Vanderbyl&remoteproc_cdsp {
916*447f8053SHarrison Vanderbyl	firmware-name = "qcom/x1p42100/Microsoft/Surface12/qccdsp8380.mbn",
917*447f8053SHarrison Vanderbyl			"qcom/x1p42100/Microsoft/Surface12/cdsp_dtbs.elf";
918*447f8053SHarrison Vanderbyl
919*447f8053SHarrison Vanderbyl	status = "okay";
920*447f8053SHarrison Vanderbyl};
921*447f8053SHarrison Vanderbyl
922*447f8053SHarrison Vanderbyl&smb2360_0 {
923*447f8053SHarrison Vanderbyl	status = "okay";
924*447f8053SHarrison Vanderbyl};
925*447f8053SHarrison Vanderbyl
926*447f8053SHarrison Vanderbyl&smb2360_0_eusb2_repeater {
927*447f8053SHarrison Vanderbyl	vdd18-supply = <&vreg_l3d_1p8>;
928*447f8053SHarrison Vanderbyl	vdd3-supply = <&vreg_l2b_3p0>;
929*447f8053SHarrison Vanderbyl};
930*447f8053SHarrison Vanderbyl
931*447f8053SHarrison Vanderbyl&smb2360_1 {
932*447f8053SHarrison Vanderbyl	status = "okay";
933*447f8053SHarrison Vanderbyl};
934*447f8053SHarrison Vanderbyl
935*447f8053SHarrison Vanderbyl&smb2360_1_eusb2_repeater {
936*447f8053SHarrison Vanderbyl	vdd18-supply = <&vreg_l3d_1p8>;
937*447f8053SHarrison Vanderbyl	vdd3-supply = <&vreg_l14b_3p0>;
938*447f8053SHarrison Vanderbyl};
939*447f8053SHarrison Vanderbyl
940*447f8053SHarrison Vanderbyl&swr0 {
941*447f8053SHarrison Vanderbyl	pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
942*447f8053SHarrison Vanderbyl	pinctrl-names = "default";
943*447f8053SHarrison Vanderbyl
944*447f8053SHarrison Vanderbyl	status = "okay";
945*447f8053SHarrison Vanderbyl
946*447f8053SHarrison Vanderbyl	/* WSA8845, Left speaker */
947*447f8053SHarrison Vanderbyl	left_spkr: speaker@0,0 {
948*447f8053SHarrison Vanderbyl		compatible = "sdw20217020400";
949*447f8053SHarrison Vanderbyl		reg = <0 0>;
950*447f8053SHarrison Vanderbyl		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
951*447f8053SHarrison Vanderbyl		#sound-dai-cells = <0>;
952*447f8053SHarrison Vanderbyl		sound-name-prefix = "SpkrLeft";
953*447f8053SHarrison Vanderbyl		vdd-1p8-supply = <&vreg_l15b_1p8>;
954*447f8053SHarrison Vanderbyl		vdd-io-supply = <&vreg_l12b_1p2>;
955*447f8053SHarrison Vanderbyl		qcom,port-mapping = <1 2 3 7 10 13>;
956*447f8053SHarrison Vanderbyl	};
957*447f8053SHarrison Vanderbyl
958*447f8053SHarrison Vanderbyl	/* WSA8845, Right speaker */
959*447f8053SHarrison Vanderbyl	right_spkr: speaker@0,1 {
960*447f8053SHarrison Vanderbyl		compatible = "sdw20217020400";
961*447f8053SHarrison Vanderbyl		reg = <0 1>;
962*447f8053SHarrison Vanderbyl		reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
963*447f8053SHarrison Vanderbyl		#sound-dai-cells = <0>;
964*447f8053SHarrison Vanderbyl		sound-name-prefix = "SpkrRight";
965*447f8053SHarrison Vanderbyl		vdd-1p8-supply = <&vreg_l15b_1p8>;
966*447f8053SHarrison Vanderbyl		vdd-io-supply = <&vreg_l12b_1p2>;
967*447f8053SHarrison Vanderbyl		qcom,port-mapping = <4 5 6 7 11 13>;
968*447f8053SHarrison Vanderbyl	};
969*447f8053SHarrison Vanderbyl};
970*447f8053SHarrison Vanderbyl
971*447f8053SHarrison Vanderbyl&tlmm {
972*447f8053SHarrison Vanderbyl	gpio-reserved-ranges = <34 2>, /* Unused */
973*447f8053SHarrison Vanderbyl			       <44 4>; /* SPI (TPM) */
974*447f8053SHarrison Vanderbyl
975*447f8053SHarrison Vanderbyl	edp_reg_en: edp-reg-en-state {
976*447f8053SHarrison Vanderbyl		pins = "gpio70";
977*447f8053SHarrison Vanderbyl		function = "gpio";
978*447f8053SHarrison Vanderbyl		drive-strength = <2>;
979*447f8053SHarrison Vanderbyl		bias-disable;
980*447f8053SHarrison Vanderbyl	};
981*447f8053SHarrison Vanderbyl
982*447f8053SHarrison Vanderbyl	hall_int_n_default: hall-int-n-state {
983*447f8053SHarrison Vanderbyl		pins = "gpio2";
984*447f8053SHarrison Vanderbyl		function = "gpio";
985*447f8053SHarrison Vanderbyl		bias-disable;
986*447f8053SHarrison Vanderbyl	};
987*447f8053SHarrison Vanderbyl
988*447f8053SHarrison Vanderbyl	panel_en: panel-en-state {
989*447f8053SHarrison Vanderbyl		pins = "gpio29";
990*447f8053SHarrison Vanderbyl		function = "gpio";
991*447f8053SHarrison Vanderbyl		drive-strength = <2>;
992*447f8053SHarrison Vanderbyl		bias-disable;
993*447f8053SHarrison Vanderbyl	};
994*447f8053SHarrison Vanderbyl
995*447f8053SHarrison Vanderbyl	pcie4_default: pcie4-default-state {
996*447f8053SHarrison Vanderbyl		clkreq-n-pins {
997*447f8053SHarrison Vanderbyl			pins = "gpio147";
998*447f8053SHarrison Vanderbyl			function = "pcie4_clk";
999*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1000*447f8053SHarrison Vanderbyl			bias-pull-up;
1001*447f8053SHarrison Vanderbyl		};
1002*447f8053SHarrison Vanderbyl
1003*447f8053SHarrison Vanderbyl		perst-n-pins {
1004*447f8053SHarrison Vanderbyl			pins = "gpio146";
1005*447f8053SHarrison Vanderbyl			function = "gpio";
1006*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1007*447f8053SHarrison Vanderbyl			bias-disable;
1008*447f8053SHarrison Vanderbyl		};
1009*447f8053SHarrison Vanderbyl
1010*447f8053SHarrison Vanderbyl		wake-n-pins {
1011*447f8053SHarrison Vanderbyl			pins = "gpio148";
1012*447f8053SHarrison Vanderbyl			function = "gpio";
1013*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1014*447f8053SHarrison Vanderbyl			bias-pull-up;
1015*447f8053SHarrison Vanderbyl		};
1016*447f8053SHarrison Vanderbyl	};
1017*447f8053SHarrison Vanderbyl
1018*447f8053SHarrison Vanderbyl	ssam_state: ssam-state-state {
1019*447f8053SHarrison Vanderbyl		pins = "gpio91";
1020*447f8053SHarrison Vanderbyl		function = "gpio";
1021*447f8053SHarrison Vanderbyl		bias-disable;
1022*447f8053SHarrison Vanderbyl	};
1023*447f8053SHarrison Vanderbyl
1024*447f8053SHarrison Vanderbyl	ts0_default: ts0-default-state {
1025*447f8053SHarrison Vanderbyl		int-n-pins {
1026*447f8053SHarrison Vanderbyl			pins = "gpio38";
1027*447f8053SHarrison Vanderbyl			function = "gpio";
1028*447f8053SHarrison Vanderbyl			bias-disable;
1029*447f8053SHarrison Vanderbyl		};
1030*447f8053SHarrison Vanderbyl
1031*447f8053SHarrison Vanderbyl		reset-n-pins {
1032*447f8053SHarrison Vanderbyl			pins = "gpio48";
1033*447f8053SHarrison Vanderbyl			function = "gpio";
1034*447f8053SHarrison Vanderbyl			output-high;
1035*447f8053SHarrison Vanderbyl			drive-strength = <16>;
1036*447f8053SHarrison Vanderbyl		};
1037*447f8053SHarrison Vanderbyl	};
1038*447f8053SHarrison Vanderbyl
1039*447f8053SHarrison Vanderbyl	wcn_sw_en: wcn-sw-en-state {
1040*447f8053SHarrison Vanderbyl		pins = "gpio214";
1041*447f8053SHarrison Vanderbyl		function = "gpio";
1042*447f8053SHarrison Vanderbyl		drive-strength = <2>;
1043*447f8053SHarrison Vanderbyl		bias-disable;
1044*447f8053SHarrison Vanderbyl	};
1045*447f8053SHarrison Vanderbyl
1046*447f8053SHarrison Vanderbyl	wcn_wlan_bt_en: wcn-wlan-bt-en-state {
1047*447f8053SHarrison Vanderbyl		pins = "gpio116", "gpio117";
1048*447f8053SHarrison Vanderbyl		function = "gpio";
1049*447f8053SHarrison Vanderbyl		drive-strength = <2>;
1050*447f8053SHarrison Vanderbyl		bias-disable;
1051*447f8053SHarrison Vanderbyl	};
1052*447f8053SHarrison Vanderbyl
1053*447f8053SHarrison Vanderbyl	usb_1_ss0_sbu_default: usb-1-ss0-sbu-state {
1054*447f8053SHarrison Vanderbyl		oe-n-pins {
1055*447f8053SHarrison Vanderbyl			pins = "gpio168";
1056*447f8053SHarrison Vanderbyl			function = "gpio";
1057*447f8053SHarrison Vanderbyl			bias-disable;
1058*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1059*447f8053SHarrison Vanderbyl		};
1060*447f8053SHarrison Vanderbyl
1061*447f8053SHarrison Vanderbyl		sel-pins {
1062*447f8053SHarrison Vanderbyl			pins = "gpio167";
1063*447f8053SHarrison Vanderbyl			function = "gpio";
1064*447f8053SHarrison Vanderbyl			bias-disable;
1065*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1066*447f8053SHarrison Vanderbyl		};
1067*447f8053SHarrison Vanderbyl	};
1068*447f8053SHarrison Vanderbyl
1069*447f8053SHarrison Vanderbyl	usb_1_ss1_sbu_default: usb-1-ss1-sbu-state {
1070*447f8053SHarrison Vanderbyl		oe-n-pins {
1071*447f8053SHarrison Vanderbyl			pins = "gpio179";
1072*447f8053SHarrison Vanderbyl			function = "gpio";
1073*447f8053SHarrison Vanderbyl			bias-disable;
1074*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1075*447f8053SHarrison Vanderbyl		};
1076*447f8053SHarrison Vanderbyl
1077*447f8053SHarrison Vanderbyl		sel-pins {
1078*447f8053SHarrison Vanderbyl			pins = "gpio178";
1079*447f8053SHarrison Vanderbyl			function = "gpio";
1080*447f8053SHarrison Vanderbyl			bias-disable;
1081*447f8053SHarrison Vanderbyl			drive-strength = <2>;
1082*447f8053SHarrison Vanderbyl		};
1083*447f8053SHarrison Vanderbyl	};
1084*447f8053SHarrison Vanderbyl};
1085*447f8053SHarrison Vanderbyl
1086*447f8053SHarrison Vanderbyl&uart2 {
1087*447f8053SHarrison Vanderbyl	status = "okay";
1088*447f8053SHarrison Vanderbyl
1089*447f8053SHarrison Vanderbyl	embedded-controller {
1090*447f8053SHarrison Vanderbyl		compatible = "microsoft,surface-sam";
1091*447f8053SHarrison Vanderbyl
1092*447f8053SHarrison Vanderbyl		interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
1093*447f8053SHarrison Vanderbyl
1094*447f8053SHarrison Vanderbyl		current-speed = <4000000>;
1095*447f8053SHarrison Vanderbyl
1096*447f8053SHarrison Vanderbyl		pinctrl-0 = <&ssam_state>;
1097*447f8053SHarrison Vanderbyl		pinctrl-names = "default";
1098*447f8053SHarrison Vanderbyl	};
1099*447f8053SHarrison Vanderbyl};
1100*447f8053SHarrison Vanderbyl
1101*447f8053SHarrison Vanderbyl&uart14 {
1102*447f8053SHarrison Vanderbyl	status = "okay";
1103*447f8053SHarrison Vanderbyl
1104*447f8053SHarrison Vanderbyl	bluetooth {
1105*447f8053SHarrison Vanderbyl		compatible = "qcom,wcn7850-bt";
1106*447f8053SHarrison Vanderbyl		max-speed = <3200000>;
1107*447f8053SHarrison Vanderbyl
1108*447f8053SHarrison Vanderbyl		vddaon-supply = <&vreg_pmu_aon_0p59>;
1109*447f8053SHarrison Vanderbyl		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1110*447f8053SHarrison Vanderbyl		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1111*447f8053SHarrison Vanderbyl		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1112*447f8053SHarrison Vanderbyl		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1113*447f8053SHarrison Vanderbyl		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1114*447f8053SHarrison Vanderbyl		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1115*447f8053SHarrison Vanderbyl	};
1116*447f8053SHarrison Vanderbyl};
1117*447f8053SHarrison Vanderbyl
1118*447f8053SHarrison Vanderbyl&ufs_mem_hc {
1119*447f8053SHarrison Vanderbyl	vcc-supply = <&vreg_l17b_2p5>;
1120*447f8053SHarrison Vanderbyl	vcc-max-microamp = <800000>;
1121*447f8053SHarrison Vanderbyl	vccq-supply = <&vreg_l2i_1p2>;
1122*447f8053SHarrison Vanderbyl	vccq-max-microamp = <900000>;
1123*447f8053SHarrison Vanderbyl
1124*447f8053SHarrison Vanderbyl	vdd-hba-supply = <&vreg_l3j_0p8>;
1125*447f8053SHarrison Vanderbyl
1126*447f8053SHarrison Vanderbyl	status = "okay";
1127*447f8053SHarrison Vanderbyl};
1128*447f8053SHarrison Vanderbyl
1129*447f8053SHarrison Vanderbyl&ufs_mem_phy {
1130*447f8053SHarrison Vanderbyl	status = "okay";
1131*447f8053SHarrison Vanderbyl
1132*447f8053SHarrison Vanderbyl	vdda-phy-supply = <&vreg_l3i_0p8>;
1133*447f8053SHarrison Vanderbyl	vdda-pll-supply = <&vreg_l3e_1p2>;
1134*447f8053SHarrison Vanderbyl};
1135*447f8053SHarrison Vanderbyl
1136*447f8053SHarrison Vanderbyl&usb_1_ss0_hsphy {
1137*447f8053SHarrison Vanderbyl	vdd-supply = <&vreg_l3j_0p8>;
1138*447f8053SHarrison Vanderbyl	vdda12-supply = <&vreg_l2j_1p2>;
1139*447f8053SHarrison Vanderbyl
1140*447f8053SHarrison Vanderbyl	phys = <&smb2360_0_eusb2_repeater>;
1141*447f8053SHarrison Vanderbyl
1142*447f8053SHarrison Vanderbyl	status = "okay";
1143*447f8053SHarrison Vanderbyl};
1144*447f8053SHarrison Vanderbyl
1145*447f8053SHarrison Vanderbyl&usb_1_ss0_qmpphy {
1146*447f8053SHarrison Vanderbyl	vdda-phy-supply = <&vreg_l2j_1p2>;
1147*447f8053SHarrison Vanderbyl	vdda-pll-supply = <&vreg_l1j_0p8>;
1148*447f8053SHarrison Vanderbyl
1149*447f8053SHarrison Vanderbyl	status = "okay";
1150*447f8053SHarrison Vanderbyl};
1151*447f8053SHarrison Vanderbyl
1152*447f8053SHarrison Vanderbyl&usb_1_ss0 {
1153*447f8053SHarrison Vanderbyl	dr_mode = "host";
1154*447f8053SHarrison Vanderbyl
1155*447f8053SHarrison Vanderbyl	status = "okay";
1156*447f8053SHarrison Vanderbyl};
1157*447f8053SHarrison Vanderbyl
1158*447f8053SHarrison Vanderbyl&usb_1_ss0_dwc3_hs {
1159*447f8053SHarrison Vanderbyl	remote-endpoint = <&pmic_glink_ss0_hs_in>;
1160*447f8053SHarrison Vanderbyl};
1161*447f8053SHarrison Vanderbyl
1162*447f8053SHarrison Vanderbyl&usb_1_ss0_qmpphy_out {
1163*447f8053SHarrison Vanderbyl	remote-endpoint = <&pmic_glink_ss0_ss_in>;
1164*447f8053SHarrison Vanderbyl};
1165*447f8053SHarrison Vanderbyl
1166*447f8053SHarrison Vanderbyl&usb_1_ss1_hsphy {
1167*447f8053SHarrison Vanderbyl	vdd-supply = <&vreg_l3j_0p8>;
1168*447f8053SHarrison Vanderbyl	vdda12-supply = <&vreg_l2j_1p2>;
1169*447f8053SHarrison Vanderbyl
1170*447f8053SHarrison Vanderbyl	phys = <&smb2360_1_eusb2_repeater>;
1171*447f8053SHarrison Vanderbyl
1172*447f8053SHarrison Vanderbyl	status = "okay";
1173*447f8053SHarrison Vanderbyl};
1174*447f8053SHarrison Vanderbyl
1175*447f8053SHarrison Vanderbyl&usb_1_ss1_qmpphy {
1176*447f8053SHarrison Vanderbyl	vdda-phy-supply = <&vreg_l2j_1p2>;
1177*447f8053SHarrison Vanderbyl	vdda-pll-supply = <&vreg_l2d_0p9>;
1178*447f8053SHarrison Vanderbyl
1179*447f8053SHarrison Vanderbyl	status = "okay";
1180*447f8053SHarrison Vanderbyl};
1181*447f8053SHarrison Vanderbyl
1182*447f8053SHarrison Vanderbyl&usb_1_ss1 {
1183*447f8053SHarrison Vanderbyl	dr_mode = "host";
1184*447f8053SHarrison Vanderbyl
1185*447f8053SHarrison Vanderbyl	status = "okay";
1186*447f8053SHarrison Vanderbyl};
1187*447f8053SHarrison Vanderbyl
1188*447f8053SHarrison Vanderbyl&usb_1_ss1_dwc3_hs {
1189*447f8053SHarrison Vanderbyl	remote-endpoint = <&pmic_glink_ss1_hs_in>;
1190*447f8053SHarrison Vanderbyl};
1191*447f8053SHarrison Vanderbyl
1192*447f8053SHarrison Vanderbyl&usb_1_ss1_qmpphy_out {
1193*447f8053SHarrison Vanderbyl	remote-endpoint = <&pmic_glink_ss1_ss_in>;
1194*447f8053SHarrison Vanderbyl};
1195