xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sa8295p-adp.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2b97ee269SEmmanuel Vadot/*
3b97ee269SEmmanuel Vadot * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4b97ee269SEmmanuel Vadot * Copyright (c) 2022, Linaro Limited
5b97ee269SEmmanuel Vadot */
6b97ee269SEmmanuel Vadot
7b97ee269SEmmanuel Vadot/dts-v1/;
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10b97ee269SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11b97ee269SEmmanuel Vadot#include <dt-bindings/spmi/spmi.h>
12*b2d2a78aSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
13b97ee269SEmmanuel Vadot
14b97ee269SEmmanuel Vadot#include "sa8540p.dtsi"
15cb7aa33aSEmmanuel Vadot#include "sa8540p-pmics.dtsi"
16b97ee269SEmmanuel Vadot
17b97ee269SEmmanuel Vadot/ {
18b97ee269SEmmanuel Vadot	model = "Qualcomm SA8295P ADP";
19b97ee269SEmmanuel Vadot	compatible = "qcom,sa8295p-adp", "qcom,sa8540p";
20b97ee269SEmmanuel Vadot
21b97ee269SEmmanuel Vadot	aliases {
22cb7aa33aSEmmanuel Vadot		serial0 = &uart17;
23b97ee269SEmmanuel Vadot	};
24b97ee269SEmmanuel Vadot
25b97ee269SEmmanuel Vadot	chosen {
26b97ee269SEmmanuel Vadot		stdout-path = "serial0:115200n8";
27b97ee269SEmmanuel Vadot	};
28cb7aa33aSEmmanuel Vadot
29cb7aa33aSEmmanuel Vadot	dp2-connector {
30cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
31cb7aa33aSEmmanuel Vadot		label = "DP2";
32cb7aa33aSEmmanuel Vadot		type = "mini";
33cb7aa33aSEmmanuel Vadot
34cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
35cb7aa33aSEmmanuel Vadot
36cb7aa33aSEmmanuel Vadot		port {
37cb7aa33aSEmmanuel Vadot			dp2_connector_in: endpoint {
38cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss1_dp0_phy_out>;
39cb7aa33aSEmmanuel Vadot			};
40cb7aa33aSEmmanuel Vadot		};
41cb7aa33aSEmmanuel Vadot	};
42cb7aa33aSEmmanuel Vadot
43cb7aa33aSEmmanuel Vadot	dp3-connector {
44cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
45cb7aa33aSEmmanuel Vadot		label = "DP3";
46cb7aa33aSEmmanuel Vadot		type = "mini";
47cb7aa33aSEmmanuel Vadot
48cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
49cb7aa33aSEmmanuel Vadot
50cb7aa33aSEmmanuel Vadot		port {
51cb7aa33aSEmmanuel Vadot			dp3_connector_in: endpoint {
52cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss1_dp1_phy_out>;
53cb7aa33aSEmmanuel Vadot			};
54cb7aa33aSEmmanuel Vadot		};
55cb7aa33aSEmmanuel Vadot	};
56cb7aa33aSEmmanuel Vadot
57cb7aa33aSEmmanuel Vadot	edp0-connector {
58cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
59cb7aa33aSEmmanuel Vadot		label = "EDP0";
60cb7aa33aSEmmanuel Vadot		type = "mini";
61cb7aa33aSEmmanuel Vadot
62cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
63cb7aa33aSEmmanuel Vadot
64cb7aa33aSEmmanuel Vadot		port {
65cb7aa33aSEmmanuel Vadot			edp0_connector_in: endpoint {
66cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss0_dp2_phy_out>;
67cb7aa33aSEmmanuel Vadot			};
68cb7aa33aSEmmanuel Vadot		};
69cb7aa33aSEmmanuel Vadot	};
70cb7aa33aSEmmanuel Vadot
71cb7aa33aSEmmanuel Vadot	edp1-connector {
72cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
73cb7aa33aSEmmanuel Vadot		label = "EDP1";
74cb7aa33aSEmmanuel Vadot		type = "mini";
75cb7aa33aSEmmanuel Vadot
76cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
77cb7aa33aSEmmanuel Vadot
78cb7aa33aSEmmanuel Vadot		port {
79cb7aa33aSEmmanuel Vadot			edp1_connector_in: endpoint {
80cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss0_dp3_phy_out>;
81cb7aa33aSEmmanuel Vadot			};
82cb7aa33aSEmmanuel Vadot		};
83cb7aa33aSEmmanuel Vadot	};
84cb7aa33aSEmmanuel Vadot
85cb7aa33aSEmmanuel Vadot	edp2-connector {
86cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
87cb7aa33aSEmmanuel Vadot		label = "EDP2";
88cb7aa33aSEmmanuel Vadot		type = "mini";
89cb7aa33aSEmmanuel Vadot
90cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
91cb7aa33aSEmmanuel Vadot
92cb7aa33aSEmmanuel Vadot		port {
93cb7aa33aSEmmanuel Vadot			edp2_connector_in: endpoint {
94cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss1_dp2_phy_out>;
95cb7aa33aSEmmanuel Vadot			};
96cb7aa33aSEmmanuel Vadot		};
97cb7aa33aSEmmanuel Vadot	};
98cb7aa33aSEmmanuel Vadot
99cb7aa33aSEmmanuel Vadot	edp3-connector {
100cb7aa33aSEmmanuel Vadot		compatible = "dp-connector";
101cb7aa33aSEmmanuel Vadot		label = "EDP3";
102cb7aa33aSEmmanuel Vadot		type = "mini";
103cb7aa33aSEmmanuel Vadot
104cb7aa33aSEmmanuel Vadot		hpd-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
105cb7aa33aSEmmanuel Vadot
106cb7aa33aSEmmanuel Vadot		port {
107cb7aa33aSEmmanuel Vadot			edp3_connector_in: endpoint {
108cb7aa33aSEmmanuel Vadot				remote-endpoint = <&mdss1_dp3_phy_out>;
109cb7aa33aSEmmanuel Vadot			};
110cb7aa33aSEmmanuel Vadot		};
111cb7aa33aSEmmanuel Vadot	};
11201950c46SEmmanuel Vadot
113*b2d2a78aSEmmanuel Vadot	regulator-usb2-vbus {
114*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
115*b2d2a78aSEmmanuel Vadot		regulator-name = "USB2_VBUS";
116*b2d2a78aSEmmanuel Vadot		gpio = <&pmm8540c_gpios 9 GPIO_ACTIVE_HIGH>;
117*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&usb2_en>;
118*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
119*b2d2a78aSEmmanuel Vadot		enable-active-high;
120*b2d2a78aSEmmanuel Vadot		regulator-always-on;
121*b2d2a78aSEmmanuel Vadot	};
122*b2d2a78aSEmmanuel Vadot
123*b2d2a78aSEmmanuel Vadot	regulator-usb3-vbus {
124*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
125*b2d2a78aSEmmanuel Vadot		regulator-name = "USB3_VBUS";
126*b2d2a78aSEmmanuel Vadot		gpio = <&pmm8540e_gpios 5 GPIO_ACTIVE_HIGH>;
127*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&usb3_en>;
128*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
129*b2d2a78aSEmmanuel Vadot		enable-active-high;
130*b2d2a78aSEmmanuel Vadot		regulator-always-on;
131*b2d2a78aSEmmanuel Vadot	};
132*b2d2a78aSEmmanuel Vadot
133*b2d2a78aSEmmanuel Vadot	regulator-usb4-vbus {
134*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
135*b2d2a78aSEmmanuel Vadot		regulator-name = "USB4_VBUS";
136*b2d2a78aSEmmanuel Vadot		gpio = <&pmm8540g_gpios 5 GPIO_ACTIVE_HIGH>;
137*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&usb4_en>;
138*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
139*b2d2a78aSEmmanuel Vadot		enable-active-high;
140*b2d2a78aSEmmanuel Vadot		regulator-always-on;
141*b2d2a78aSEmmanuel Vadot	};
142*b2d2a78aSEmmanuel Vadot
143*b2d2a78aSEmmanuel Vadot	regulator-usb5-vbus {
144*b2d2a78aSEmmanuel Vadot		compatible = "regulator-fixed";
145*b2d2a78aSEmmanuel Vadot		regulator-name = "USB5_VBUS";
146*b2d2a78aSEmmanuel Vadot		gpio = <&pmm8540g_gpios 9 GPIO_ACTIVE_HIGH>;
147*b2d2a78aSEmmanuel Vadot		pinctrl-0 = <&usb5_en>;
148*b2d2a78aSEmmanuel Vadot		pinctrl-names = "default";
149*b2d2a78aSEmmanuel Vadot		enable-active-high;
150*b2d2a78aSEmmanuel Vadot		regulator-always-on;
151*b2d2a78aSEmmanuel Vadot	};
152*b2d2a78aSEmmanuel Vadot
15301950c46SEmmanuel Vadot	reserved-memory {
15401950c46SEmmanuel Vadot		gpu_mem: gpu-mem@8bf00000 {
15501950c46SEmmanuel Vadot			reg = <0 0x8bf00000 0 0x2000>;
15601950c46SEmmanuel Vadot			no-map;
15701950c46SEmmanuel Vadot		};
15801950c46SEmmanuel Vadot	};
159b97ee269SEmmanuel Vadot};
160b97ee269SEmmanuel Vadot
161b97ee269SEmmanuel Vadot&apps_rsc {
162cb7aa33aSEmmanuel Vadot	regulators-0 {
163b97ee269SEmmanuel Vadot		compatible = "qcom,pm8150-rpmh-regulators";
164b97ee269SEmmanuel Vadot		qcom,pmic-id = "a";
165b97ee269SEmmanuel Vadot
166b97ee269SEmmanuel Vadot		vreg_l3a: ldo3 {
167b97ee269SEmmanuel Vadot			regulator-name = "vreg_l3a";
168b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
169b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1208000>;
170b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
171b97ee269SEmmanuel Vadot		};
172b97ee269SEmmanuel Vadot
173b97ee269SEmmanuel Vadot		vreg_l5a: ldo5 {
174b97ee269SEmmanuel Vadot			regulator-name = "vreg_l5a";
175b97ee269SEmmanuel Vadot			regulator-min-microvolt = <912000>;
176b97ee269SEmmanuel Vadot			regulator-max-microvolt = <912000>;
177b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
178b97ee269SEmmanuel Vadot		};
179b97ee269SEmmanuel Vadot
180b97ee269SEmmanuel Vadot		vreg_l7a: ldo7 {
181b97ee269SEmmanuel Vadot			regulator-name = "vreg_l7a";
182b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
183b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
184b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
185b97ee269SEmmanuel Vadot		};
186b97ee269SEmmanuel Vadot
187b97ee269SEmmanuel Vadot		vreg_l13a: ldo13 {
188b97ee269SEmmanuel Vadot			regulator-name = "vreg_l13a";
189b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
190b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
191b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
192b97ee269SEmmanuel Vadot		};
1938bab661aSEmmanuel Vadot
1948bab661aSEmmanuel Vadot		vreg_l11a: ldo11 {
1958bab661aSEmmanuel Vadot			regulator-name = "vreg_l11a";
1968bab661aSEmmanuel Vadot			regulator-min-microvolt = <880000>;
1978bab661aSEmmanuel Vadot			regulator-max-microvolt = <880000>;
1988bab661aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1998bab661aSEmmanuel Vadot		};
200b97ee269SEmmanuel Vadot	};
201b97ee269SEmmanuel Vadot
202cb7aa33aSEmmanuel Vadot	regulators-1 {
203b97ee269SEmmanuel Vadot		compatible = "qcom,pm8150-rpmh-regulators";
204b97ee269SEmmanuel Vadot		qcom,pmic-id = "c";
205b97ee269SEmmanuel Vadot
206b97ee269SEmmanuel Vadot		vreg_l1c: ldo1 {
207b97ee269SEmmanuel Vadot			regulator-name = "vreg_l1c";
208b97ee269SEmmanuel Vadot			regulator-min-microvolt = <912000>;
209b97ee269SEmmanuel Vadot			regulator-max-microvolt = <912000>;
210b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
211b97ee269SEmmanuel Vadot		};
212b97ee269SEmmanuel Vadot
213b97ee269SEmmanuel Vadot		vreg_l2c: ldo2 {
214b97ee269SEmmanuel Vadot			regulator-name = "vreg_l2c";
215b97ee269SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
216b97ee269SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
217b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
218b97ee269SEmmanuel Vadot		};
219b97ee269SEmmanuel Vadot
220b97ee269SEmmanuel Vadot		vreg_l3c: ldo3 {
221b97ee269SEmmanuel Vadot			regulator-name = "vreg_l3c";
222b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
223b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
224b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
225b97ee269SEmmanuel Vadot			regulator-allow-set-load;
2268bab661aSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2277ef62cebSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
228b97ee269SEmmanuel Vadot		};
229b97ee269SEmmanuel Vadot
230b97ee269SEmmanuel Vadot		vreg_l4c: ldo4 {
231b97ee269SEmmanuel Vadot			regulator-name = "vreg_l4c";
232b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
233b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1208000>;
234b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235b97ee269SEmmanuel Vadot		};
236b97ee269SEmmanuel Vadot
237b97ee269SEmmanuel Vadot		vreg_l6c: ldo6 {
238b97ee269SEmmanuel Vadot			regulator-name = "vreg_l6c";
239b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
240b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
241b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242b97ee269SEmmanuel Vadot			regulator-allow-set-load;
2438bab661aSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2447ef62cebSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
245b97ee269SEmmanuel Vadot		};
246b97ee269SEmmanuel Vadot
247b97ee269SEmmanuel Vadot		vreg_l7c: ldo7 {
248b97ee269SEmmanuel Vadot			regulator-name = "vreg_l7c";
249b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
250b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
251b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
252b97ee269SEmmanuel Vadot		};
253b97ee269SEmmanuel Vadot
254b97ee269SEmmanuel Vadot		vreg_l10c: ldo10 {
255b97ee269SEmmanuel Vadot			regulator-name = "vreg_l10c";
256b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
257b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
258b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259b97ee269SEmmanuel Vadot			regulator-allow-set-load;
2608bab661aSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2617ef62cebSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
262b97ee269SEmmanuel Vadot		};
263b97ee269SEmmanuel Vadot
264b97ee269SEmmanuel Vadot		vreg_l17c: ldo17 {
265b97ee269SEmmanuel Vadot			regulator-name = "vreg_l17c";
266b97ee269SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
267b97ee269SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
268b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269b97ee269SEmmanuel Vadot			regulator-allow-set-load;
2708bab661aSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2717ef62cebSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
272b97ee269SEmmanuel Vadot		};
273b97ee269SEmmanuel Vadot	};
274b97ee269SEmmanuel Vadot
275cb7aa33aSEmmanuel Vadot	regulators-2 {
276b97ee269SEmmanuel Vadot		compatible = "qcom,pm8150-rpmh-regulators";
277b97ee269SEmmanuel Vadot		qcom,pmic-id = "g";
278b97ee269SEmmanuel Vadot
279b97ee269SEmmanuel Vadot		vreg_l3g: ldo3 {
280b97ee269SEmmanuel Vadot			regulator-name = "vreg_l3g";
281b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
282b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
283b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
284b97ee269SEmmanuel Vadot		};
285b97ee269SEmmanuel Vadot
286b97ee269SEmmanuel Vadot		vreg_l7g: ldo7 {
287b97ee269SEmmanuel Vadot			regulator-name = "vreg_l7g";
288b97ee269SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
289b97ee269SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
290b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
291b97ee269SEmmanuel Vadot		};
292b97ee269SEmmanuel Vadot
293b97ee269SEmmanuel Vadot		vreg_l8g: ldo8 {
294b97ee269SEmmanuel Vadot			regulator-name = "vreg_l8g";
295cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
296cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <912000>;
297cb7aa33aSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
298cb7aa33aSEmmanuel Vadot		};
299cb7aa33aSEmmanuel Vadot
300cb7aa33aSEmmanuel Vadot		vreg_l11g: ldo11 {
301cb7aa33aSEmmanuel Vadot			regulator-name = "vreg_l11g";
302cb7aa33aSEmmanuel Vadot			regulator-min-microvolt = <912000>;
303cb7aa33aSEmmanuel Vadot			regulator-max-microvolt = <912000>;
304b97ee269SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
305b97ee269SEmmanuel Vadot		};
306b97ee269SEmmanuel Vadot	};
307b97ee269SEmmanuel Vadot};
308b97ee269SEmmanuel Vadot
309cb7aa33aSEmmanuel Vadot&dispcc0 {
310cb7aa33aSEmmanuel Vadot	status = "okay";
311cb7aa33aSEmmanuel Vadot};
312cb7aa33aSEmmanuel Vadot
313cb7aa33aSEmmanuel Vadot&dispcc1 {
314cb7aa33aSEmmanuel Vadot	status = "okay";
315cb7aa33aSEmmanuel Vadot};
316cb7aa33aSEmmanuel Vadot
31701950c46SEmmanuel Vadot&i2c12 {
31801950c46SEmmanuel Vadot	pinctrl-0 = <&qup1_i2c4_state>;
31901950c46SEmmanuel Vadot	pinctrl-names = "default";
32001950c46SEmmanuel Vadot
32101950c46SEmmanuel Vadot	status = "okay";
32201950c46SEmmanuel Vadot
32301950c46SEmmanuel Vadot	vdd_gfx: regulator@39 {
32401950c46SEmmanuel Vadot		compatible = "maxim,max20411";
32501950c46SEmmanuel Vadot		reg = <0x39>;
32601950c46SEmmanuel Vadot
32701950c46SEmmanuel Vadot		regulator-min-microvolt = <800000>;
32801950c46SEmmanuel Vadot		regulator-max-microvolt = <800000>;
32901950c46SEmmanuel Vadot
33001950c46SEmmanuel Vadot		enable-gpios = <&pmm8540a_gpios 2 GPIO_ACTIVE_HIGH>;
33101950c46SEmmanuel Vadot
33201950c46SEmmanuel Vadot		pinctrl-0 = <&max20411_en>;
33301950c46SEmmanuel Vadot		pinctrl-names = "default";
33401950c46SEmmanuel Vadot	};
33501950c46SEmmanuel Vadot};
33601950c46SEmmanuel Vadot
33701950c46SEmmanuel Vadot&gpucc {
33801950c46SEmmanuel Vadot	vdd-gfx-supply = <&vdd_gfx>;
33901950c46SEmmanuel Vadot	status = "okay";
34001950c46SEmmanuel Vadot};
34101950c46SEmmanuel Vadot
34201950c46SEmmanuel Vadot&gmu {
34301950c46SEmmanuel Vadot	status = "okay";
34401950c46SEmmanuel Vadot};
34501950c46SEmmanuel Vadot
34601950c46SEmmanuel Vadot&gpu {
34701950c46SEmmanuel Vadot	status = "okay";
34801950c46SEmmanuel Vadot
34901950c46SEmmanuel Vadot	zap-shader {
35001950c46SEmmanuel Vadot		memory-region = <&gpu_mem>;
35101950c46SEmmanuel Vadot		firmware-name = "qcom/sa8295p/a690_zap.mbn";
35201950c46SEmmanuel Vadot	};
35301950c46SEmmanuel Vadot};
35401950c46SEmmanuel Vadot
35501950c46SEmmanuel Vadot&gpu_smmu {
35601950c46SEmmanuel Vadot	status = "okay";
35701950c46SEmmanuel Vadot};
35801950c46SEmmanuel Vadot
359cb7aa33aSEmmanuel Vadot&mdss0 {
360cb7aa33aSEmmanuel Vadot	status = "okay";
361cb7aa33aSEmmanuel Vadot};
362cb7aa33aSEmmanuel Vadot
363cb7aa33aSEmmanuel Vadot&mdss0_dp2 {
364cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
365cb7aa33aSEmmanuel Vadot
366cb7aa33aSEmmanuel Vadot	status = "okay";
367cb7aa33aSEmmanuel Vadot
368cb7aa33aSEmmanuel Vadot	ports {
369cb7aa33aSEmmanuel Vadot		port@1 {
370cb7aa33aSEmmanuel Vadot			reg = <1>;
371cb7aa33aSEmmanuel Vadot			mdss0_dp2_phy_out: endpoint {
372cb7aa33aSEmmanuel Vadot				remote-endpoint = <&edp0_connector_in>;
373cb7aa33aSEmmanuel Vadot			};
374cb7aa33aSEmmanuel Vadot		};
375cb7aa33aSEmmanuel Vadot	};
376cb7aa33aSEmmanuel Vadot};
377cb7aa33aSEmmanuel Vadot
378cb7aa33aSEmmanuel Vadot&mdss0_dp2_phy {
379cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l8g>;
380cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
381cb7aa33aSEmmanuel Vadot
382cb7aa33aSEmmanuel Vadot	status = "okay";
383cb7aa33aSEmmanuel Vadot};
384cb7aa33aSEmmanuel Vadot
385cb7aa33aSEmmanuel Vadot&mdss0_dp3 {
386cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
387cb7aa33aSEmmanuel Vadot
388cb7aa33aSEmmanuel Vadot	status = "okay";
389cb7aa33aSEmmanuel Vadot
390cb7aa33aSEmmanuel Vadot	ports {
391cb7aa33aSEmmanuel Vadot		port@1 {
392cb7aa33aSEmmanuel Vadot			reg = <1>;
393cb7aa33aSEmmanuel Vadot			mdss0_dp3_phy_out: endpoint {
394cb7aa33aSEmmanuel Vadot				remote-endpoint = <&edp1_connector_in>;
395cb7aa33aSEmmanuel Vadot			};
396cb7aa33aSEmmanuel Vadot		};
397cb7aa33aSEmmanuel Vadot	};
398cb7aa33aSEmmanuel Vadot};
399cb7aa33aSEmmanuel Vadot
400cb7aa33aSEmmanuel Vadot&mdss0_dp3_phy {
401cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l8g>;
402cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
403cb7aa33aSEmmanuel Vadot
404cb7aa33aSEmmanuel Vadot	status = "okay";
405cb7aa33aSEmmanuel Vadot};
406cb7aa33aSEmmanuel Vadot
407cb7aa33aSEmmanuel Vadot&mdss1 {
408cb7aa33aSEmmanuel Vadot	status = "okay";
409cb7aa33aSEmmanuel Vadot};
410cb7aa33aSEmmanuel Vadot
411cb7aa33aSEmmanuel Vadot&mdss1_dp0 {
412cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
413cb7aa33aSEmmanuel Vadot
414cb7aa33aSEmmanuel Vadot	status = "okay";
415cb7aa33aSEmmanuel Vadot
416cb7aa33aSEmmanuel Vadot	ports {
417cb7aa33aSEmmanuel Vadot		port@1 {
418cb7aa33aSEmmanuel Vadot			reg = <1>;
419cb7aa33aSEmmanuel Vadot			mdss1_dp0_phy_out: endpoint {
420cb7aa33aSEmmanuel Vadot				remote-endpoint = <&dp2_connector_in>;
421cb7aa33aSEmmanuel Vadot			};
422cb7aa33aSEmmanuel Vadot		};
423cb7aa33aSEmmanuel Vadot	};
424cb7aa33aSEmmanuel Vadot};
425cb7aa33aSEmmanuel Vadot
426cb7aa33aSEmmanuel Vadot&mdss1_dp0_phy {
427cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11g>;
428cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
429cb7aa33aSEmmanuel Vadot
430cb7aa33aSEmmanuel Vadot	status = "okay";
431cb7aa33aSEmmanuel Vadot};
432cb7aa33aSEmmanuel Vadot
433cb7aa33aSEmmanuel Vadot&mdss1_dp1 {
434cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
435cb7aa33aSEmmanuel Vadot
436cb7aa33aSEmmanuel Vadot	status = "okay";
437cb7aa33aSEmmanuel Vadot
438cb7aa33aSEmmanuel Vadot	ports {
439cb7aa33aSEmmanuel Vadot		port@1 {
440cb7aa33aSEmmanuel Vadot			reg = <1>;
441cb7aa33aSEmmanuel Vadot			mdss1_dp1_phy_out: endpoint {
442cb7aa33aSEmmanuel Vadot				remote-endpoint = <&dp3_connector_in>;
443cb7aa33aSEmmanuel Vadot			};
444cb7aa33aSEmmanuel Vadot		};
445cb7aa33aSEmmanuel Vadot	};
446cb7aa33aSEmmanuel Vadot};
447cb7aa33aSEmmanuel Vadot
448cb7aa33aSEmmanuel Vadot&mdss1_dp1_phy {
449cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11g>;
450cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
451cb7aa33aSEmmanuel Vadot
452cb7aa33aSEmmanuel Vadot	status = "okay";
453cb7aa33aSEmmanuel Vadot};
454cb7aa33aSEmmanuel Vadot
455cb7aa33aSEmmanuel Vadot&mdss1_dp2 {
456cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
457cb7aa33aSEmmanuel Vadot
458cb7aa33aSEmmanuel Vadot	status = "okay";
459cb7aa33aSEmmanuel Vadot
460cb7aa33aSEmmanuel Vadot	ports {
461cb7aa33aSEmmanuel Vadot		port@1 {
462cb7aa33aSEmmanuel Vadot			reg = <1>;
463cb7aa33aSEmmanuel Vadot			mdss1_dp2_phy_out: endpoint {
464cb7aa33aSEmmanuel Vadot				remote-endpoint = <&edp2_connector_in>;
465cb7aa33aSEmmanuel Vadot			};
466cb7aa33aSEmmanuel Vadot		};
467cb7aa33aSEmmanuel Vadot	};
468cb7aa33aSEmmanuel Vadot};
469cb7aa33aSEmmanuel Vadot
470cb7aa33aSEmmanuel Vadot&mdss1_dp2_phy {
471cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11g>;
472cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
473cb7aa33aSEmmanuel Vadot
474cb7aa33aSEmmanuel Vadot	status = "okay";
475cb7aa33aSEmmanuel Vadot};
476cb7aa33aSEmmanuel Vadot
477cb7aa33aSEmmanuel Vadot&mdss1_dp3 {
478cb7aa33aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
479cb7aa33aSEmmanuel Vadot
480cb7aa33aSEmmanuel Vadot	status = "okay";
481cb7aa33aSEmmanuel Vadot
482cb7aa33aSEmmanuel Vadot	ports {
483cb7aa33aSEmmanuel Vadot		port@1 {
484cb7aa33aSEmmanuel Vadot			reg = <1>;
485cb7aa33aSEmmanuel Vadot			mdss1_dp3_phy_out: endpoint {
486cb7aa33aSEmmanuel Vadot				remote-endpoint = <&edp3_connector_in>;
487cb7aa33aSEmmanuel Vadot			};
488cb7aa33aSEmmanuel Vadot		};
489cb7aa33aSEmmanuel Vadot	};
490cb7aa33aSEmmanuel Vadot};
491cb7aa33aSEmmanuel Vadot
492cb7aa33aSEmmanuel Vadot&mdss1_dp3_phy {
493cb7aa33aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11g>;
494cb7aa33aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
495cb7aa33aSEmmanuel Vadot
496cb7aa33aSEmmanuel Vadot	status = "okay";
497cb7aa33aSEmmanuel Vadot};
498cb7aa33aSEmmanuel Vadot
4998bab661aSEmmanuel Vadot&pcie2a {
5008bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
5018bab661aSEmmanuel Vadot	wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
5028bab661aSEmmanuel Vadot
5038bab661aSEmmanuel Vadot	pinctrl-names = "default";
5048bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie2a_default>;
5058bab661aSEmmanuel Vadot
5068bab661aSEmmanuel Vadot	status = "okay";
5078bab661aSEmmanuel Vadot};
5088bab661aSEmmanuel Vadot
5098bab661aSEmmanuel Vadot&pcie2a_phy {
5108bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11a>;
5118bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3a>;
5128bab661aSEmmanuel Vadot
5138bab661aSEmmanuel Vadot	status = "okay";
5148bab661aSEmmanuel Vadot};
5158bab661aSEmmanuel Vadot
5168bab661aSEmmanuel Vadot&pcie3a {
5178bab661aSEmmanuel Vadot	num-lanes = <2>;
5188bab661aSEmmanuel Vadot
5198bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
5208bab661aSEmmanuel Vadot	wake-gpios = <&tlmm 56 GPIO_ACTIVE_LOW>;
5218bab661aSEmmanuel Vadot
5228bab661aSEmmanuel Vadot	pinctrl-names = "default";
5238bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie3a_default>;
5248bab661aSEmmanuel Vadot
5258bab661aSEmmanuel Vadot	status = "okay";
5268bab661aSEmmanuel Vadot};
5278bab661aSEmmanuel Vadot
5288bab661aSEmmanuel Vadot&pcie3a_phy {
5298bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11a>;
5308bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3a>;
5318bab661aSEmmanuel Vadot
5328bab661aSEmmanuel Vadot	status = "okay";
5338bab661aSEmmanuel Vadot};
5348bab661aSEmmanuel Vadot
5358bab661aSEmmanuel Vadot&pcie3b {
5368bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 153 GPIO_ACTIVE_LOW>;
5378bab661aSEmmanuel Vadot	wake-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
5388bab661aSEmmanuel Vadot
5398bab661aSEmmanuel Vadot	pinctrl-names = "default";
5408bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie3b_default>;
5418bab661aSEmmanuel Vadot
5428bab661aSEmmanuel Vadot	status = "okay";
5438bab661aSEmmanuel Vadot};
5448bab661aSEmmanuel Vadot
5458bab661aSEmmanuel Vadot&pcie3b_phy {
5468bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11a>;
5478bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3a>;
5488bab661aSEmmanuel Vadot
5498bab661aSEmmanuel Vadot	status = "okay";
5508bab661aSEmmanuel Vadot};
5518bab661aSEmmanuel Vadot
5528bab661aSEmmanuel Vadot&pcie4 {
5538bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
5548bab661aSEmmanuel Vadot	wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
5558bab661aSEmmanuel Vadot
5568bab661aSEmmanuel Vadot	pinctrl-names = "default";
5578bab661aSEmmanuel Vadot	pinctrl-0 = <&pcie4_default>;
5588bab661aSEmmanuel Vadot
5598bab661aSEmmanuel Vadot	status = "okay";
5608bab661aSEmmanuel Vadot};
5618bab661aSEmmanuel Vadot
5628bab661aSEmmanuel Vadot&pcie4_phy {
5638bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l11a>;
5648bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l3a>;
5658bab661aSEmmanuel Vadot
5668bab661aSEmmanuel Vadot	status = "okay";
5678bab661aSEmmanuel Vadot};
5688bab661aSEmmanuel Vadot
56901950c46SEmmanuel Vadot&qup1 {
57001950c46SEmmanuel Vadot	status = "okay";
57101950c46SEmmanuel Vadot};
57201950c46SEmmanuel Vadot
573b97ee269SEmmanuel Vadot&qup2 {
574b97ee269SEmmanuel Vadot	status = "okay";
575b97ee269SEmmanuel Vadot};
576b97ee269SEmmanuel Vadot
577b97ee269SEmmanuel Vadot&remoteproc_adsp {
578b97ee269SEmmanuel Vadot	firmware-name = "qcom/sa8540p/adsp.mbn";
579b97ee269SEmmanuel Vadot	status = "okay";
580b97ee269SEmmanuel Vadot};
581b97ee269SEmmanuel Vadot
582b97ee269SEmmanuel Vadot&remoteproc_nsp0 {
583b97ee269SEmmanuel Vadot	firmware-name = "qcom/sa8540p/cdsp.mbn";
584b97ee269SEmmanuel Vadot	status = "okay";
585b97ee269SEmmanuel Vadot};
586b97ee269SEmmanuel Vadot
587b97ee269SEmmanuel Vadot&remoteproc_nsp1 {
588b97ee269SEmmanuel Vadot	firmware-name = "qcom/sa8540p/cdsp1.mbn";
589b97ee269SEmmanuel Vadot	status = "okay";
590b97ee269SEmmanuel Vadot};
591b97ee269SEmmanuel Vadot
592cb7aa33aSEmmanuel Vadot&uart17 {
593cb7aa33aSEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
594cb7aa33aSEmmanuel Vadot	status = "okay";
595b97ee269SEmmanuel Vadot};
596b97ee269SEmmanuel Vadot
597b97ee269SEmmanuel Vadot&ufs_mem_hc {
598b97ee269SEmmanuel Vadot	reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>;
599b97ee269SEmmanuel Vadot
600b97ee269SEmmanuel Vadot	vcc-supply = <&vreg_l17c>;
601b97ee269SEmmanuel Vadot	vcc-max-microamp = <800000>;
602b97ee269SEmmanuel Vadot	vccq-supply = <&vreg_l6c>;
603b97ee269SEmmanuel Vadot	vccq-max-microamp = <900000>;
604b97ee269SEmmanuel Vadot
605b97ee269SEmmanuel Vadot	status = "okay";
606b97ee269SEmmanuel Vadot};
607b97ee269SEmmanuel Vadot
608b97ee269SEmmanuel Vadot&ufs_mem_phy {
609b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l8g>;
610b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
611b97ee269SEmmanuel Vadot
612b97ee269SEmmanuel Vadot	status = "okay";
613b97ee269SEmmanuel Vadot};
614b97ee269SEmmanuel Vadot
615b97ee269SEmmanuel Vadot&ufs_card_hc {
616b97ee269SEmmanuel Vadot	reset-gpios = <&tlmm 229 GPIO_ACTIVE_LOW>;
617b97ee269SEmmanuel Vadot
618b97ee269SEmmanuel Vadot	vcc-supply = <&vreg_l10c>;
619b97ee269SEmmanuel Vadot	vcc-max-microamp = <800000>;
620b97ee269SEmmanuel Vadot	vccq-supply = <&vreg_l3c>;
621b97ee269SEmmanuel Vadot	vccq-max-microamp = <900000>;
622b97ee269SEmmanuel Vadot
623b97ee269SEmmanuel Vadot	status = "okay";
624b97ee269SEmmanuel Vadot};
625b97ee269SEmmanuel Vadot
626b97ee269SEmmanuel Vadot&ufs_card_phy {
627b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l8g>;
628b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g>;
629b97ee269SEmmanuel Vadot
630b97ee269SEmmanuel Vadot	status = "okay";
631b97ee269SEmmanuel Vadot};
632b97ee269SEmmanuel Vadot
633b97ee269SEmmanuel Vadot&usb_0 {
634b97ee269SEmmanuel Vadot	status = "okay";
635b97ee269SEmmanuel Vadot};
636b97ee269SEmmanuel Vadot
637b97ee269SEmmanuel Vadot&usb_0_dwc3 {
638b97ee269SEmmanuel Vadot	/* TODO: Define USB-C connector properly */
639b97ee269SEmmanuel Vadot	dr_mode = "peripheral";
640b97ee269SEmmanuel Vadot};
641b97ee269SEmmanuel Vadot
642b97ee269SEmmanuel Vadot&usb_0_hsphy {
643b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
644b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7a>;
645b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l13a>;
646b97ee269SEmmanuel Vadot
647b97ee269SEmmanuel Vadot	status = "okay";
648b97ee269SEmmanuel Vadot};
649b97ee269SEmmanuel Vadot
650b97ee269SEmmanuel Vadot&usb_0_qmpphy {
651b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3a>;
652b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
653b97ee269SEmmanuel Vadot
654b97ee269SEmmanuel Vadot	status = "okay";
655b97ee269SEmmanuel Vadot};
656b97ee269SEmmanuel Vadot
657b97ee269SEmmanuel Vadot&usb_1 {
658b97ee269SEmmanuel Vadot	status = "okay";
659b97ee269SEmmanuel Vadot};
660b97ee269SEmmanuel Vadot
661b97ee269SEmmanuel Vadot&usb_1_dwc3 {
662b97ee269SEmmanuel Vadot	/* TODO: Define USB-C connector properly */
663b97ee269SEmmanuel Vadot	dr_mode = "host";
664b97ee269SEmmanuel Vadot};
665b97ee269SEmmanuel Vadot
666b97ee269SEmmanuel Vadot&usb_1_hsphy {
667b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1c>;
668b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7c>;
669b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l2c>;
670b97ee269SEmmanuel Vadot
671b97ee269SEmmanuel Vadot	status = "okay";
672b97ee269SEmmanuel Vadot};
673b97ee269SEmmanuel Vadot
674b97ee269SEmmanuel Vadot&usb_1_qmpphy {
675b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l4c>;
676b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1c>;
677b97ee269SEmmanuel Vadot
678b97ee269SEmmanuel Vadot	status = "okay";
679b97ee269SEmmanuel Vadot};
680b97ee269SEmmanuel Vadot
681*b2d2a78aSEmmanuel Vadot&usb_2 {
682*b2d2a78aSEmmanuel Vadot	status = "okay";
683*b2d2a78aSEmmanuel Vadot};
684*b2d2a78aSEmmanuel Vadot
685b97ee269SEmmanuel Vadot&usb_2_hsphy0 {
686b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
687b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7g>;
688b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l13a>;
689b97ee269SEmmanuel Vadot
690b97ee269SEmmanuel Vadot	status = "okay";
691b97ee269SEmmanuel Vadot};
692b97ee269SEmmanuel Vadot
693b97ee269SEmmanuel Vadot&usb_2_hsphy1 {
694b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
695b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7g>;
696b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l13a>;
697b97ee269SEmmanuel Vadot
698b97ee269SEmmanuel Vadot	status = "okay";
699b97ee269SEmmanuel Vadot};
700b97ee269SEmmanuel Vadot
701b97ee269SEmmanuel Vadot&usb_2_hsphy2 {
702b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
703b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7g>;
704b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l13a>;
705b97ee269SEmmanuel Vadot
706b97ee269SEmmanuel Vadot	status = "okay";
707b97ee269SEmmanuel Vadot};
708b97ee269SEmmanuel Vadot
709b97ee269SEmmanuel Vadot&usb_2_hsphy3 {
710b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
711b97ee269SEmmanuel Vadot	vdda18-supply = <&vreg_l7g>;
712b97ee269SEmmanuel Vadot	vdda33-supply = <&vreg_l13a>;
713b97ee269SEmmanuel Vadot
714b97ee269SEmmanuel Vadot	status = "okay";
715b97ee269SEmmanuel Vadot};
716b97ee269SEmmanuel Vadot
717b97ee269SEmmanuel Vadot&usb_2_qmpphy0 {
718b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3a>;
719b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
720b97ee269SEmmanuel Vadot
721b97ee269SEmmanuel Vadot	status = "okay";
722b97ee269SEmmanuel Vadot};
723b97ee269SEmmanuel Vadot
724b97ee269SEmmanuel Vadot&usb_2_qmpphy1 {
725b97ee269SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3a>;
726b97ee269SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
727b97ee269SEmmanuel Vadot
728b97ee269SEmmanuel Vadot	status = "okay";
729b97ee269SEmmanuel Vadot};
730b97ee269SEmmanuel Vadot
731b97ee269SEmmanuel Vadot&xo_board_clk {
732b97ee269SEmmanuel Vadot	clock-frequency = <38400000>;
733b97ee269SEmmanuel Vadot};
734b97ee269SEmmanuel Vadot
735b97ee269SEmmanuel Vadot/* PINCTRL */
7368bab661aSEmmanuel Vadot
73701950c46SEmmanuel Vadot&pmm8540a_gpios {
73801950c46SEmmanuel Vadot	max20411_en: max20411-en-state {
73901950c46SEmmanuel Vadot		pins = "gpio2";
74001950c46SEmmanuel Vadot		function = "normal";
74101950c46SEmmanuel Vadot		output-enable;
74201950c46SEmmanuel Vadot	};
74301950c46SEmmanuel Vadot};
74401950c46SEmmanuel Vadot
745*b2d2a78aSEmmanuel Vadot&pmm8540c_gpios {
746*b2d2a78aSEmmanuel Vadot	usb2_en: usb2-en-state {
747*b2d2a78aSEmmanuel Vadot		pins = "gpio9";
748*b2d2a78aSEmmanuel Vadot		function = "normal";
749*b2d2a78aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
750*b2d2a78aSEmmanuel Vadot		output-enable;
751*b2d2a78aSEmmanuel Vadot		power-source = <0>;
752*b2d2a78aSEmmanuel Vadot	};
753*b2d2a78aSEmmanuel Vadot};
754*b2d2a78aSEmmanuel Vadot
755*b2d2a78aSEmmanuel Vadot&pmm8540e_gpios {
756*b2d2a78aSEmmanuel Vadot	usb3_en: usb3-en-state {
757*b2d2a78aSEmmanuel Vadot		pins = "gpio5";
758*b2d2a78aSEmmanuel Vadot		function = "normal";
759*b2d2a78aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
760*b2d2a78aSEmmanuel Vadot		output-enable;
761*b2d2a78aSEmmanuel Vadot		power-source = <0>;
762*b2d2a78aSEmmanuel Vadot	};
763*b2d2a78aSEmmanuel Vadot};
764*b2d2a78aSEmmanuel Vadot
765*b2d2a78aSEmmanuel Vadot&pmm8540g_gpios {
766*b2d2a78aSEmmanuel Vadot	usb4_en: usb4-en-state {
767*b2d2a78aSEmmanuel Vadot		pins = "gpio5";
768*b2d2a78aSEmmanuel Vadot		function = "normal";
769*b2d2a78aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
770*b2d2a78aSEmmanuel Vadot		output-enable;
771*b2d2a78aSEmmanuel Vadot		power-source = <0>;
772*b2d2a78aSEmmanuel Vadot	};
773*b2d2a78aSEmmanuel Vadot
774*b2d2a78aSEmmanuel Vadot	usb5_en: usb5-en-state {
775*b2d2a78aSEmmanuel Vadot		pins = "gpio9";
776*b2d2a78aSEmmanuel Vadot		function = "normal";
777*b2d2a78aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
778*b2d2a78aSEmmanuel Vadot		output-enable;
779*b2d2a78aSEmmanuel Vadot		power-source = <0>;
780*b2d2a78aSEmmanuel Vadot	};
781*b2d2a78aSEmmanuel Vadot};
782*b2d2a78aSEmmanuel Vadot
7838bab661aSEmmanuel Vadot&tlmm {
7848bab661aSEmmanuel Vadot	pcie2a_default: pcie2a-default-state {
7858bab661aSEmmanuel Vadot		clkreq-n-pins {
7868bab661aSEmmanuel Vadot			pins = "gpio142";
7878bab661aSEmmanuel Vadot			function = "pcie2a_clkreq";
7888bab661aSEmmanuel Vadot			drive-strength = <2>;
7898bab661aSEmmanuel Vadot			bias-pull-up;
7908bab661aSEmmanuel Vadot		};
7918bab661aSEmmanuel Vadot
7928bab661aSEmmanuel Vadot		perst-n-pins {
7938bab661aSEmmanuel Vadot			pins = "gpio143";
7948bab661aSEmmanuel Vadot			function = "gpio";
7958bab661aSEmmanuel Vadot			drive-strength = <2>;
7968bab661aSEmmanuel Vadot			bias-pull-down;
7978bab661aSEmmanuel Vadot		};
7988bab661aSEmmanuel Vadot
7998bab661aSEmmanuel Vadot		wake-n-pins {
8008bab661aSEmmanuel Vadot			pins = "gpio145";
8018bab661aSEmmanuel Vadot			function = "gpio";
8028bab661aSEmmanuel Vadot			drive-strength = <2>;
8038bab661aSEmmanuel Vadot			bias-pull-up;
8048bab661aSEmmanuel Vadot		};
8058bab661aSEmmanuel Vadot	};
8068bab661aSEmmanuel Vadot
8078bab661aSEmmanuel Vadot	pcie3a_default: pcie3a-default-state {
8088bab661aSEmmanuel Vadot		clkreq-n-pins {
8098bab661aSEmmanuel Vadot			pins = "gpio150";
8108bab661aSEmmanuel Vadot			function = "pcie3a_clkreq";
8118bab661aSEmmanuel Vadot			drive-strength = <2>;
8128bab661aSEmmanuel Vadot			bias-pull-up;
8138bab661aSEmmanuel Vadot		};
8148bab661aSEmmanuel Vadot
8158bab661aSEmmanuel Vadot		perst-n-pins {
8168bab661aSEmmanuel Vadot			pins = "gpio151";
8178bab661aSEmmanuel Vadot			function = "gpio";
8188bab661aSEmmanuel Vadot			drive-strength = <2>;
8198bab661aSEmmanuel Vadot			bias-pull-down;
8208bab661aSEmmanuel Vadot		};
8218bab661aSEmmanuel Vadot
8228bab661aSEmmanuel Vadot		wake-n-pins {
8238bab661aSEmmanuel Vadot			pins = "gpio56";
8248bab661aSEmmanuel Vadot			function = "gpio";
8258bab661aSEmmanuel Vadot			drive-strength = <2>;
8268bab661aSEmmanuel Vadot			bias-pull-up;
8278bab661aSEmmanuel Vadot		};
8288bab661aSEmmanuel Vadot	};
8298bab661aSEmmanuel Vadot
8308bab661aSEmmanuel Vadot	pcie3b_default: pcie3b-default-state {
8318bab661aSEmmanuel Vadot		clkreq-n-pins {
8328bab661aSEmmanuel Vadot			pins = "gpio152";
8338bab661aSEmmanuel Vadot			function = "pcie3b_clkreq";
8348bab661aSEmmanuel Vadot			drive-strength = <2>;
8358bab661aSEmmanuel Vadot			bias-pull-up;
8368bab661aSEmmanuel Vadot		};
8378bab661aSEmmanuel Vadot
8388bab661aSEmmanuel Vadot		perst-n-pins {
8398bab661aSEmmanuel Vadot			pins = "gpio153";
8408bab661aSEmmanuel Vadot			function = "gpio";
8418bab661aSEmmanuel Vadot			drive-strength = <2>;
8428bab661aSEmmanuel Vadot			bias-pull-down;
8438bab661aSEmmanuel Vadot		};
8448bab661aSEmmanuel Vadot
8458bab661aSEmmanuel Vadot		wake-n-pins {
8468bab661aSEmmanuel Vadot			pins = "gpio130";
8478bab661aSEmmanuel Vadot			function = "gpio";
8488bab661aSEmmanuel Vadot			drive-strength = <2>;
8498bab661aSEmmanuel Vadot			bias-pull-up;
8508bab661aSEmmanuel Vadot		};
8518bab661aSEmmanuel Vadot	};
8528bab661aSEmmanuel Vadot
8538bab661aSEmmanuel Vadot	pcie4_default: pcie4-default-state {
8548bab661aSEmmanuel Vadot		clkreq-n-pins {
8558bab661aSEmmanuel Vadot			pins = "gpio140";
8568bab661aSEmmanuel Vadot			function = "pcie4_clkreq";
8578bab661aSEmmanuel Vadot			drive-strength = <2>;
8588bab661aSEmmanuel Vadot			bias-pull-up;
8598bab661aSEmmanuel Vadot		};
8608bab661aSEmmanuel Vadot
8618bab661aSEmmanuel Vadot		perst-n-pins {
8628bab661aSEmmanuel Vadot			pins = "gpio141";
8638bab661aSEmmanuel Vadot			function = "gpio";
8648bab661aSEmmanuel Vadot			drive-strength = <2>;
8658bab661aSEmmanuel Vadot			bias-pull-down;
8668bab661aSEmmanuel Vadot		};
8678bab661aSEmmanuel Vadot
8688bab661aSEmmanuel Vadot		wake-n-pins {
8698bab661aSEmmanuel Vadot			pins = "gpio139";
8708bab661aSEmmanuel Vadot			function = "gpio";
8718bab661aSEmmanuel Vadot			drive-strength = <2>;
8728bab661aSEmmanuel Vadot			bias-pull-up;
8738bab661aSEmmanuel Vadot		};
8748bab661aSEmmanuel Vadot	};
87501950c46SEmmanuel Vadot
87601950c46SEmmanuel Vadot	qup1_i2c4_state: qup1-i2c4-state {
87701950c46SEmmanuel Vadot		pins = "gpio0", "gpio1";
87801950c46SEmmanuel Vadot		function = "qup12";
87901950c46SEmmanuel Vadot		drive-strength = <2>;
88001950c46SEmmanuel Vadot		bias-pull-up;
88101950c46SEmmanuel Vadot	};
8828bab661aSEmmanuel Vadot};
883