xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sa8775p-ride.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1fac71e4eSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2fac71e4eSEmmanuel Vadot/*
3fac71e4eSEmmanuel Vadot * Copyright (c) 2023, Linaro Limited
4fac71e4eSEmmanuel Vadot */
5fac71e4eSEmmanuel Vadot
6fac71e4eSEmmanuel Vadot/dts-v1/;
7fac71e4eSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
9fac71e4eSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
10fac71e4eSEmmanuel Vadot
11fac71e4eSEmmanuel Vadot#include "sa8775p.dtsi"
12fac71e4eSEmmanuel Vadot#include "sa8775p-pmics.dtsi"
13fac71e4eSEmmanuel Vadot
14fac71e4eSEmmanuel Vadot/ {
15fac71e4eSEmmanuel Vadot	model = "Qualcomm SA8775P Ride";
16fac71e4eSEmmanuel Vadot	compatible = "qcom,sa8775p-ride", "qcom,sa8775p";
17fac71e4eSEmmanuel Vadot
18fac71e4eSEmmanuel Vadot	aliases {
19aa1a8ff2SEmmanuel Vadot		ethernet0 = &ethernet0;
20aa1a8ff2SEmmanuel Vadot		ethernet1 = &ethernet1;
21aa1a8ff2SEmmanuel Vadot		i2c11 = &i2c11;
22aa1a8ff2SEmmanuel Vadot		i2c18 = &i2c18;
23fac71e4eSEmmanuel Vadot		serial0 = &uart10;
24fac71e4eSEmmanuel Vadot		serial1 = &uart12;
25fac71e4eSEmmanuel Vadot		serial2 = &uart17;
26fac71e4eSEmmanuel Vadot		spi16 = &spi16;
27f126890aSEmmanuel Vadot		ufshc1 = &ufs_mem_hc;
28fac71e4eSEmmanuel Vadot	};
29fac71e4eSEmmanuel Vadot
30fac71e4eSEmmanuel Vadot	chosen {
31fac71e4eSEmmanuel Vadot		stdout-path = "serial0:115200n8";
32fac71e4eSEmmanuel Vadot	};
33fac71e4eSEmmanuel Vadot};
34fac71e4eSEmmanuel Vadot
35fac71e4eSEmmanuel Vadot&apps_rsc {
36fac71e4eSEmmanuel Vadot	regulators-0 {
37fac71e4eSEmmanuel Vadot		compatible = "qcom,pmm8654au-rpmh-regulators";
38fac71e4eSEmmanuel Vadot		qcom,pmic-id = "a";
39fac71e4eSEmmanuel Vadot
40fac71e4eSEmmanuel Vadot		vreg_s4a: smps4 {
41fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s4a";
42fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
43fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1816000>;
44fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
45fac71e4eSEmmanuel Vadot		};
46fac71e4eSEmmanuel Vadot
47fac71e4eSEmmanuel Vadot		vreg_s5a: smps5 {
48fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s5a";
49fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1850000>;
50fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1996000>;
51fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
52fac71e4eSEmmanuel Vadot		};
53fac71e4eSEmmanuel Vadot
54fac71e4eSEmmanuel Vadot		vreg_s9a: smps9 {
55fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s9a";
56fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <535000>;
57fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1120000>;
58fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
59fac71e4eSEmmanuel Vadot		};
60fac71e4eSEmmanuel Vadot
61fac71e4eSEmmanuel Vadot		vreg_l4a: ldo4 {
62fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l4a";
63fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <788000>;
64fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1050000>;
65fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
66fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
67fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
68fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
69fac71e4eSEmmanuel Vadot		};
70fac71e4eSEmmanuel Vadot
71fac71e4eSEmmanuel Vadot		vreg_l5a: ldo5 {
72fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l5a";
73fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <870000>;
74fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <950000>;
75fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
76fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
77fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
78fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
79fac71e4eSEmmanuel Vadot		};
80fac71e4eSEmmanuel Vadot
81fac71e4eSEmmanuel Vadot		vreg_l6a: ldo6 {
82fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l6a";
83fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <870000>;
84fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <970000>;
85fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
86fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
87fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
88fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
89fac71e4eSEmmanuel Vadot		};
90fac71e4eSEmmanuel Vadot
91fac71e4eSEmmanuel Vadot		vreg_l7a: ldo7 {
92fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l7a";
93fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <720000>;
94fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <950000>;
95fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
96fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
97fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
98fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
99fac71e4eSEmmanuel Vadot		};
100fac71e4eSEmmanuel Vadot
101fac71e4eSEmmanuel Vadot		vreg_l8a: ldo8 {
102fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l8a";
103fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <2504000>;
104fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
105fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
106fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
107fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
108fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
109fac71e4eSEmmanuel Vadot		};
110fac71e4eSEmmanuel Vadot
111fac71e4eSEmmanuel Vadot		vreg_l9a: ldo9 {
112fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l9a";
113fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <2970000>;
114fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <3544000>;
115fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
116fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
117fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
118fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
119fac71e4eSEmmanuel Vadot		};
120fac71e4eSEmmanuel Vadot	};
121fac71e4eSEmmanuel Vadot
122fac71e4eSEmmanuel Vadot	regulators-1 {
123fac71e4eSEmmanuel Vadot		compatible = "qcom,pmm8654au-rpmh-regulators";
124fac71e4eSEmmanuel Vadot		qcom,pmic-id = "c";
125fac71e4eSEmmanuel Vadot
126fac71e4eSEmmanuel Vadot		vreg_l1c: ldo1 {
127fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l1c";
128fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1140000>;
129fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1260000>;
130fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
131fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
132fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
133fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
134fac71e4eSEmmanuel Vadot		};
135fac71e4eSEmmanuel Vadot
136fac71e4eSEmmanuel Vadot		vreg_l2c: ldo2 {
137fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l2c";
138fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <900000>;
139fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
140fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
141fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
142fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
143fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
144fac71e4eSEmmanuel Vadot		};
145fac71e4eSEmmanuel Vadot
146fac71e4eSEmmanuel Vadot		vreg_l3c: ldo3 {
147fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l3c";
148fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
149fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
150fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
151fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
152fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
153fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
154fac71e4eSEmmanuel Vadot		};
155fac71e4eSEmmanuel Vadot
156fac71e4eSEmmanuel Vadot		vreg_l4c: ldo4 {
157fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l4c";
158f126890aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
159f126890aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
160fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
161fac71e4eSEmmanuel Vadot			/*
162fac71e4eSEmmanuel Vadot			 * FIXME: This should have regulator-allow-set-load but
163fac71e4eSEmmanuel Vadot			 * we're getting an over-current fault from the PMIC
164fac71e4eSEmmanuel Vadot			 * when switching to LPM.
165fac71e4eSEmmanuel Vadot			 */
166fac71e4eSEmmanuel Vadot		};
167fac71e4eSEmmanuel Vadot
168fac71e4eSEmmanuel Vadot		vreg_l5c: ldo5 {
169fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l5c";
170fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
171fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
172fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
174fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
175fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
176fac71e4eSEmmanuel Vadot		};
177fac71e4eSEmmanuel Vadot
178fac71e4eSEmmanuel Vadot		vreg_l6c: ldo6 {
179fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l6c";
180fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1620000>;
181fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1980000>;
182fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
183fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
184fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
185fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
186fac71e4eSEmmanuel Vadot		};
187fac71e4eSEmmanuel Vadot
188fac71e4eSEmmanuel Vadot		vreg_l7c: ldo7 {
189fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l7c";
190fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1620000>;
191fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <2000000>;
192fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
194fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
195fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
196fac71e4eSEmmanuel Vadot		};
197fac71e4eSEmmanuel Vadot
198fac71e4eSEmmanuel Vadot		vreg_l8c: ldo8 {
199fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l8c";
200fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <2400000>;
201fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
202fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
204fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
205fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
206fac71e4eSEmmanuel Vadot		};
207fac71e4eSEmmanuel Vadot
208fac71e4eSEmmanuel Vadot		vreg_l9c: ldo9 {
209fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l9c";
210fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1650000>;
211fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <2700000>;
212fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
213fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
214fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
215fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
216fac71e4eSEmmanuel Vadot		};
217fac71e4eSEmmanuel Vadot	};
218fac71e4eSEmmanuel Vadot
219fac71e4eSEmmanuel Vadot	regulators-2 {
220fac71e4eSEmmanuel Vadot		compatible = "qcom,pmm8654au-rpmh-regulators";
221fac71e4eSEmmanuel Vadot		qcom,pmic-id = "e";
222fac71e4eSEmmanuel Vadot
223fac71e4eSEmmanuel Vadot		vreg_s4e: smps4 {
224fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s4e";
225fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <970000>;
226fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1520000>;
227fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228fac71e4eSEmmanuel Vadot		};
229fac71e4eSEmmanuel Vadot
230fac71e4eSEmmanuel Vadot		vreg_s7e: smps7 {
231fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s7e";
232fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1010000>;
233fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1170000>;
234fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235fac71e4eSEmmanuel Vadot		};
236fac71e4eSEmmanuel Vadot
237fac71e4eSEmmanuel Vadot		vreg_s9e: smps9 {
238fac71e4eSEmmanuel Vadot			regulator-name = "vreg_s9e";
239fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <300000>;
240fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <570000>;
241fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242fac71e4eSEmmanuel Vadot		};
243fac71e4eSEmmanuel Vadot
244fac71e4eSEmmanuel Vadot		vreg_l6e: ldo6 {
245fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l6e";
246fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1280000>;
247fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1450000>;
248fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
250fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
251fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
252fac71e4eSEmmanuel Vadot		};
253fac71e4eSEmmanuel Vadot
254fac71e4eSEmmanuel Vadot		vreg_l8e: ldo8 {
255fac71e4eSEmmanuel Vadot			regulator-name = "vreg_l8e";
256fac71e4eSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
257fac71e4eSEmmanuel Vadot			regulator-max-microvolt = <1950000>;
258fac71e4eSEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
259fac71e4eSEmmanuel Vadot			regulator-allow-set-load;
260fac71e4eSEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
261fac71e4eSEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
262fac71e4eSEmmanuel Vadot		};
263fac71e4eSEmmanuel Vadot	};
264fac71e4eSEmmanuel Vadot};
265fac71e4eSEmmanuel Vadot
266aa1a8ff2SEmmanuel Vadot&ethernet0 {
267aa1a8ff2SEmmanuel Vadot	phy-mode = "sgmii";
268aa1a8ff2SEmmanuel Vadot	phy-handle = <&sgmii_phy0>;
269aa1a8ff2SEmmanuel Vadot
270aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&ethernet0_default>;
271aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
272aa1a8ff2SEmmanuel Vadot
273aa1a8ff2SEmmanuel Vadot	snps,mtl-rx-config = <&mtl_rx_setup>;
274aa1a8ff2SEmmanuel Vadot	snps,mtl-tx-config = <&mtl_tx_setup>;
275aa1a8ff2SEmmanuel Vadot	snps,ps-speed = <1000>;
276aa1a8ff2SEmmanuel Vadot
277aa1a8ff2SEmmanuel Vadot	status = "okay";
278aa1a8ff2SEmmanuel Vadot
279aa1a8ff2SEmmanuel Vadot	mdio {
280aa1a8ff2SEmmanuel Vadot		compatible = "snps,dwmac-mdio";
281aa1a8ff2SEmmanuel Vadot		#address-cells = <1>;
282aa1a8ff2SEmmanuel Vadot		#size-cells = <0>;
283aa1a8ff2SEmmanuel Vadot
284aa1a8ff2SEmmanuel Vadot		sgmii_phy0: phy@8 {
285aa1a8ff2SEmmanuel Vadot			compatible = "ethernet-phy-id0141.0dd4";
286aa1a8ff2SEmmanuel Vadot			reg = <0x8>;
287aa1a8ff2SEmmanuel Vadot			device_type = "ethernet-phy";
28884943d6fSEmmanuel Vadot			interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>;
289aa1a8ff2SEmmanuel Vadot			reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>;
290aa1a8ff2SEmmanuel Vadot			reset-assert-us = <11000>;
291aa1a8ff2SEmmanuel Vadot			reset-deassert-us = <70000>;
292aa1a8ff2SEmmanuel Vadot		};
293aa1a8ff2SEmmanuel Vadot
294aa1a8ff2SEmmanuel Vadot		sgmii_phy1: phy@a {
295aa1a8ff2SEmmanuel Vadot			compatible = "ethernet-phy-id0141.0dd4";
296aa1a8ff2SEmmanuel Vadot			reg = <0xa>;
297aa1a8ff2SEmmanuel Vadot			device_type = "ethernet-phy";
29884943d6fSEmmanuel Vadot			interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>;
299aa1a8ff2SEmmanuel Vadot			reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>;
300aa1a8ff2SEmmanuel Vadot			reset-assert-us = <11000>;
301aa1a8ff2SEmmanuel Vadot			reset-deassert-us = <70000>;
302aa1a8ff2SEmmanuel Vadot		};
303aa1a8ff2SEmmanuel Vadot	};
304aa1a8ff2SEmmanuel Vadot
305aa1a8ff2SEmmanuel Vadot	mtl_rx_setup: rx-queues-config {
306aa1a8ff2SEmmanuel Vadot		snps,rx-queues-to-use = <4>;
307aa1a8ff2SEmmanuel Vadot		snps,rx-sched-sp;
308aa1a8ff2SEmmanuel Vadot
309aa1a8ff2SEmmanuel Vadot		queue0 {
310aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
311aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x0>;
312aa1a8ff2SEmmanuel Vadot			snps,route-up;
313aa1a8ff2SEmmanuel Vadot			snps,priority = <0x1>;
314aa1a8ff2SEmmanuel Vadot		};
315aa1a8ff2SEmmanuel Vadot
316aa1a8ff2SEmmanuel Vadot		queue1 {
317aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
318aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x1>;
319aa1a8ff2SEmmanuel Vadot			snps,route-ptp;
320aa1a8ff2SEmmanuel Vadot		};
321aa1a8ff2SEmmanuel Vadot
322aa1a8ff2SEmmanuel Vadot		queue2 {
323aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
324aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x2>;
325aa1a8ff2SEmmanuel Vadot			snps,route-avcp;
326aa1a8ff2SEmmanuel Vadot		};
327aa1a8ff2SEmmanuel Vadot
328aa1a8ff2SEmmanuel Vadot		queue3 {
329aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
330aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x3>;
331aa1a8ff2SEmmanuel Vadot			snps,priority = <0xc>;
332aa1a8ff2SEmmanuel Vadot		};
333aa1a8ff2SEmmanuel Vadot	};
334aa1a8ff2SEmmanuel Vadot
335aa1a8ff2SEmmanuel Vadot	mtl_tx_setup: tx-queues-config {
336aa1a8ff2SEmmanuel Vadot		snps,tx-queues-to-use = <4>;
337aa1a8ff2SEmmanuel Vadot		snps,tx-sched-sp;
338aa1a8ff2SEmmanuel Vadot
339aa1a8ff2SEmmanuel Vadot		queue0 {
340aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
341aa1a8ff2SEmmanuel Vadot		};
342aa1a8ff2SEmmanuel Vadot
343aa1a8ff2SEmmanuel Vadot		queue1 {
344aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
345aa1a8ff2SEmmanuel Vadot		};
346aa1a8ff2SEmmanuel Vadot
347aa1a8ff2SEmmanuel Vadot		queue2 {
348aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
349aa1a8ff2SEmmanuel Vadot			snps,send_slope = <0x1000>;
350aa1a8ff2SEmmanuel Vadot			snps,idle_slope = <0x1000>;
351aa1a8ff2SEmmanuel Vadot			snps,high_credit = <0x3e800>;
352aa1a8ff2SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
353aa1a8ff2SEmmanuel Vadot		};
354aa1a8ff2SEmmanuel Vadot
355aa1a8ff2SEmmanuel Vadot		queue3 {
356aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
357aa1a8ff2SEmmanuel Vadot			snps,send_slope = <0x1000>;
358aa1a8ff2SEmmanuel Vadot			snps,idle_slope = <0x1000>;
359aa1a8ff2SEmmanuel Vadot			snps,high_credit = <0x3e800>;
360aa1a8ff2SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
361aa1a8ff2SEmmanuel Vadot		};
362aa1a8ff2SEmmanuel Vadot	};
363aa1a8ff2SEmmanuel Vadot};
364aa1a8ff2SEmmanuel Vadot
365aa1a8ff2SEmmanuel Vadot&ethernet1 {
366aa1a8ff2SEmmanuel Vadot	phy-mode = "sgmii";
367aa1a8ff2SEmmanuel Vadot	phy-handle = <&sgmii_phy1>;
368aa1a8ff2SEmmanuel Vadot
369aa1a8ff2SEmmanuel Vadot	snps,mtl-rx-config = <&mtl_rx_setup1>;
370aa1a8ff2SEmmanuel Vadot	snps,mtl-tx-config = <&mtl_tx_setup1>;
371aa1a8ff2SEmmanuel Vadot	snps,ps-speed = <1000>;
372aa1a8ff2SEmmanuel Vadot
373aa1a8ff2SEmmanuel Vadot	status = "okay";
374aa1a8ff2SEmmanuel Vadot
375aa1a8ff2SEmmanuel Vadot	mtl_rx_setup1: rx-queues-config {
376aa1a8ff2SEmmanuel Vadot		snps,rx-queues-to-use = <4>;
377aa1a8ff2SEmmanuel Vadot		snps,rx-sched-sp;
378aa1a8ff2SEmmanuel Vadot
379aa1a8ff2SEmmanuel Vadot		queue0 {
380aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
381aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x0>;
382aa1a8ff2SEmmanuel Vadot			snps,route-up;
383aa1a8ff2SEmmanuel Vadot			snps,priority = <0x1>;
384aa1a8ff2SEmmanuel Vadot		};
385aa1a8ff2SEmmanuel Vadot
386aa1a8ff2SEmmanuel Vadot		queue1 {
387aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
388aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x1>;
389aa1a8ff2SEmmanuel Vadot			snps,route-ptp;
390aa1a8ff2SEmmanuel Vadot		};
391aa1a8ff2SEmmanuel Vadot
392aa1a8ff2SEmmanuel Vadot		queue2 {
393aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
394aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x2>;
395aa1a8ff2SEmmanuel Vadot			snps,route-avcp;
396aa1a8ff2SEmmanuel Vadot		};
397aa1a8ff2SEmmanuel Vadot
398aa1a8ff2SEmmanuel Vadot		queue3 {
399aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
400aa1a8ff2SEmmanuel Vadot			snps,map-to-dma-channel = <0x3>;
401aa1a8ff2SEmmanuel Vadot			snps,priority = <0xc>;
402aa1a8ff2SEmmanuel Vadot		};
403aa1a8ff2SEmmanuel Vadot	};
404aa1a8ff2SEmmanuel Vadot
405aa1a8ff2SEmmanuel Vadot	mtl_tx_setup1: tx-queues-config {
406aa1a8ff2SEmmanuel Vadot		snps,tx-queues-to-use = <4>;
407aa1a8ff2SEmmanuel Vadot		snps,tx-sched-sp;
408aa1a8ff2SEmmanuel Vadot
409aa1a8ff2SEmmanuel Vadot		queue0 {
410aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
411aa1a8ff2SEmmanuel Vadot		};
412aa1a8ff2SEmmanuel Vadot
413aa1a8ff2SEmmanuel Vadot		queue1 {
414aa1a8ff2SEmmanuel Vadot			snps,dcb-algorithm;
415aa1a8ff2SEmmanuel Vadot		};
416aa1a8ff2SEmmanuel Vadot
417aa1a8ff2SEmmanuel Vadot		queue2 {
418aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
419aa1a8ff2SEmmanuel Vadot			snps,send_slope = <0x1000>;
420aa1a8ff2SEmmanuel Vadot			snps,idle_slope = <0x1000>;
421aa1a8ff2SEmmanuel Vadot			snps,high_credit = <0x3e800>;
422aa1a8ff2SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
423aa1a8ff2SEmmanuel Vadot		};
424aa1a8ff2SEmmanuel Vadot
425aa1a8ff2SEmmanuel Vadot		queue3 {
426aa1a8ff2SEmmanuel Vadot			snps,avb-algorithm;
427aa1a8ff2SEmmanuel Vadot			snps,send_slope = <0x1000>;
428aa1a8ff2SEmmanuel Vadot			snps,idle_slope = <0x1000>;
429aa1a8ff2SEmmanuel Vadot			snps,high_credit = <0x3e800>;
430aa1a8ff2SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
431aa1a8ff2SEmmanuel Vadot		};
432aa1a8ff2SEmmanuel Vadot	};
433aa1a8ff2SEmmanuel Vadot};
434aa1a8ff2SEmmanuel Vadot
435f126890aSEmmanuel Vadot&i2c11 {
436f126890aSEmmanuel Vadot	clock-frequency = <400000>;
437f126890aSEmmanuel Vadot	pinctrl-0 = <&qup_i2c11_default>;
438f126890aSEmmanuel Vadot	pinctrl-names = "default";
439f126890aSEmmanuel Vadot	status = "okay";
440f126890aSEmmanuel Vadot};
441f126890aSEmmanuel Vadot
442fac71e4eSEmmanuel Vadot&i2c18 {
443fac71e4eSEmmanuel Vadot	clock-frequency = <400000>;
444fac71e4eSEmmanuel Vadot	pinctrl-0 = <&qup_i2c18_default>;
445fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
446fac71e4eSEmmanuel Vadot	status = "okay";
447fac71e4eSEmmanuel Vadot};
448fac71e4eSEmmanuel Vadot
449fac71e4eSEmmanuel Vadot&pmm8654au_0_gpios {
450fac71e4eSEmmanuel Vadot	gpio-line-names = "DS_EN",
451fac71e4eSEmmanuel Vadot			  "POFF_COMPLETE",
452fac71e4eSEmmanuel Vadot			  "UFS0_VER_ID",
453fac71e4eSEmmanuel Vadot			  "FAST_POFF",
454fac71e4eSEmmanuel Vadot			  "DBU1_PON_DONE",
455fac71e4eSEmmanuel Vadot			  "AOSS_SLEEP",
456fac71e4eSEmmanuel Vadot			  "CAM_DES0_EN",
457fac71e4eSEmmanuel Vadot			  "CAM_DES1_EN",
458fac71e4eSEmmanuel Vadot			  "CAM_DES2_EN",
459fac71e4eSEmmanuel Vadot			  "CAM_DES3_EN",
460fac71e4eSEmmanuel Vadot			  "UEFI",
461fac71e4eSEmmanuel Vadot			  "ANALOG_PON_OPT";
462fac71e4eSEmmanuel Vadot};
463fac71e4eSEmmanuel Vadot
464*8d13bc63SEmmanuel Vadot&pmm8654au_0_pon_resin {
465*8d13bc63SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
466*8d13bc63SEmmanuel Vadot	status = "okay";
467*8d13bc63SEmmanuel Vadot};
468*8d13bc63SEmmanuel Vadot
469fac71e4eSEmmanuel Vadot&pmm8654au_1_gpios {
470fac71e4eSEmmanuel Vadot	gpio-line-names = "PMIC_C_ID0",
471fac71e4eSEmmanuel Vadot			  "PMIC_C_ID1",
472fac71e4eSEmmanuel Vadot			  "UFS1_VER_ID",
473fac71e4eSEmmanuel Vadot			  "IPA_PWR",
474fac71e4eSEmmanuel Vadot			  "",
475fac71e4eSEmmanuel Vadot			  "WLAN_DBU4_EN",
476fac71e4eSEmmanuel Vadot			  "WLAN_EN",
477fac71e4eSEmmanuel Vadot			  "BT_EN",
478fac71e4eSEmmanuel Vadot			  "USB2_PWR_EN",
479fac71e4eSEmmanuel Vadot			  "USB2_FAULT";
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot	usb2_en_state: usb2-en-state {
482f126890aSEmmanuel Vadot		pins = "gpio9";
483f126890aSEmmanuel Vadot		function = "normal";
484f126890aSEmmanuel Vadot		output-high;
485f126890aSEmmanuel Vadot		power-source = <0>;
486f126890aSEmmanuel Vadot	};
487fac71e4eSEmmanuel Vadot};
488fac71e4eSEmmanuel Vadot
489fac71e4eSEmmanuel Vadot&pmm8654au_2_gpios {
490fac71e4eSEmmanuel Vadot	gpio-line-names = "PMIC_E_ID0",
491fac71e4eSEmmanuel Vadot			  "PMIC_E_ID1",
492fac71e4eSEmmanuel Vadot			  "USB0_PWR_EN",
493fac71e4eSEmmanuel Vadot			  "USB0_FAULT",
494fac71e4eSEmmanuel Vadot			  "SENSOR_IRQ_1",
495fac71e4eSEmmanuel Vadot			  "SENSOR_IRQ_2",
496fac71e4eSEmmanuel Vadot			  "SENSOR_RST",
497fac71e4eSEmmanuel Vadot			  "SGMIIO0_RST",
498fac71e4eSEmmanuel Vadot			  "SGMIIO1_RST",
499fac71e4eSEmmanuel Vadot			  "USB1_PWR_ENABLE",
500fac71e4eSEmmanuel Vadot			  "USB1_FAULT",
501fac71e4eSEmmanuel Vadot			  "VMON_SPX8";
502f126890aSEmmanuel Vadot
503f126890aSEmmanuel Vadot	usb0_en_state: usb0-en-state {
504f126890aSEmmanuel Vadot		pins = "gpio3";
505f126890aSEmmanuel Vadot		function = "normal";
506f126890aSEmmanuel Vadot		output-high;
507f126890aSEmmanuel Vadot		power-source = <0>;
508f126890aSEmmanuel Vadot	};
509f126890aSEmmanuel Vadot
510f126890aSEmmanuel Vadot	usb1_en_state: usb1-en-state {
511f126890aSEmmanuel Vadot		pins = "gpio10";
512f126890aSEmmanuel Vadot		function = "normal";
513f126890aSEmmanuel Vadot		output-high;
514f126890aSEmmanuel Vadot		power-source = <0>;
515f126890aSEmmanuel Vadot	};
516fac71e4eSEmmanuel Vadot};
517fac71e4eSEmmanuel Vadot
518fac71e4eSEmmanuel Vadot&pmm8654au_3_gpios {
519fac71e4eSEmmanuel Vadot	gpio-line-names = "PMIC_G_ID0",
520fac71e4eSEmmanuel Vadot			  "PMIC_G_ID1",
521fac71e4eSEmmanuel Vadot			  "GNSS_RST",
522fac71e4eSEmmanuel Vadot			  "GNSS_EN",
523fac71e4eSEmmanuel Vadot			  "GNSS_BOOT_MODE";
524fac71e4eSEmmanuel Vadot};
525fac71e4eSEmmanuel Vadot
526fac71e4eSEmmanuel Vadot&qupv3_id_1 {
527fac71e4eSEmmanuel Vadot	status = "okay";
528fac71e4eSEmmanuel Vadot};
529fac71e4eSEmmanuel Vadot
530fac71e4eSEmmanuel Vadot&qupv3_id_2 {
531fac71e4eSEmmanuel Vadot	status = "okay";
532fac71e4eSEmmanuel Vadot};
533fac71e4eSEmmanuel Vadot
534aa1a8ff2SEmmanuel Vadot&serdes0 {
535aa1a8ff2SEmmanuel Vadot	phy-supply = <&vreg_l5a>;
536aa1a8ff2SEmmanuel Vadot	status = "okay";
537aa1a8ff2SEmmanuel Vadot};
538aa1a8ff2SEmmanuel Vadot
539aa1a8ff2SEmmanuel Vadot&serdes1 {
540aa1a8ff2SEmmanuel Vadot	phy-supply = <&vreg_l5a>;
541aa1a8ff2SEmmanuel Vadot	status = "okay";
542aa1a8ff2SEmmanuel Vadot};
543aa1a8ff2SEmmanuel Vadot
544fac71e4eSEmmanuel Vadot&sleep_clk {
545fac71e4eSEmmanuel Vadot	clock-frequency = <32764>;
546fac71e4eSEmmanuel Vadot};
547fac71e4eSEmmanuel Vadot
548fac71e4eSEmmanuel Vadot&spi16 {
549fac71e4eSEmmanuel Vadot	pinctrl-0 = <&qup_spi16_default>;
550fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
551fac71e4eSEmmanuel Vadot	status = "okay";
552fac71e4eSEmmanuel Vadot};
553fac71e4eSEmmanuel Vadot
554fac71e4eSEmmanuel Vadot&tlmm {
555aa1a8ff2SEmmanuel Vadot	ethernet0_default: ethernet0-default-state {
556aa1a8ff2SEmmanuel Vadot		ethernet0_mdc: ethernet0-mdc-pins {
557aa1a8ff2SEmmanuel Vadot			pins = "gpio8";
558aa1a8ff2SEmmanuel Vadot			function = "emac0_mdc";
559aa1a8ff2SEmmanuel Vadot			drive-strength = <16>;
560aa1a8ff2SEmmanuel Vadot			bias-pull-up;
561aa1a8ff2SEmmanuel Vadot		};
562aa1a8ff2SEmmanuel Vadot
563aa1a8ff2SEmmanuel Vadot		ethernet0_mdio: ethernet0-mdio-pins {
564aa1a8ff2SEmmanuel Vadot			pins = "gpio9";
565aa1a8ff2SEmmanuel Vadot			function = "emac0_mdio";
566aa1a8ff2SEmmanuel Vadot			drive-strength = <16>;
567aa1a8ff2SEmmanuel Vadot			bias-pull-up;
568aa1a8ff2SEmmanuel Vadot		};
569aa1a8ff2SEmmanuel Vadot	};
570aa1a8ff2SEmmanuel Vadot
571fac71e4eSEmmanuel Vadot	qup_uart10_default: qup-uart10-state {
572fac71e4eSEmmanuel Vadot		pins = "gpio46", "gpio47";
573fac71e4eSEmmanuel Vadot		function = "qup1_se3";
574fac71e4eSEmmanuel Vadot	};
575fac71e4eSEmmanuel Vadot
576fac71e4eSEmmanuel Vadot	qup_spi16_default: qup-spi16-state {
577fac71e4eSEmmanuel Vadot		pins = "gpio86", "gpio87", "gpio88", "gpio89";
578fac71e4eSEmmanuel Vadot		function = "qup2_se2";
579fac71e4eSEmmanuel Vadot		drive-strength = <6>;
580fac71e4eSEmmanuel Vadot		bias-disable;
581fac71e4eSEmmanuel Vadot	};
582fac71e4eSEmmanuel Vadot
583f126890aSEmmanuel Vadot	qup_i2c11_default: qup-i2c11-state {
584f126890aSEmmanuel Vadot		pins = "gpio48", "gpio49";
585f126890aSEmmanuel Vadot		function = "qup1_se4";
586f126890aSEmmanuel Vadot		drive-strength = <2>;
587f126890aSEmmanuel Vadot		bias-pull-up;
588f126890aSEmmanuel Vadot	};
589f126890aSEmmanuel Vadot
590fac71e4eSEmmanuel Vadot	qup_i2c18_default: qup-i2c18-state {
591fac71e4eSEmmanuel Vadot		pins = "gpio95", "gpio96";
592fac71e4eSEmmanuel Vadot		function = "qup2_se4";
593fac71e4eSEmmanuel Vadot		drive-strength = <2>;
594fac71e4eSEmmanuel Vadot		bias-pull-up;
595fac71e4eSEmmanuel Vadot	};
596fac71e4eSEmmanuel Vadot
597fac71e4eSEmmanuel Vadot	qup_uart12_default: qup-uart12-state {
598fac71e4eSEmmanuel Vadot		qup_uart12_cts: qup-uart12-cts-pins {
599fac71e4eSEmmanuel Vadot			pins = "gpio52";
600fac71e4eSEmmanuel Vadot			function = "qup1_se5";
601fac71e4eSEmmanuel Vadot			bias-disable;
602fac71e4eSEmmanuel Vadot		};
603fac71e4eSEmmanuel Vadot
604fac71e4eSEmmanuel Vadot		qup_uart12_rts: qup-uart12-rts-pins {
605fac71e4eSEmmanuel Vadot			pins = "gpio53";
606fac71e4eSEmmanuel Vadot			function = "qup1_se5";
607fac71e4eSEmmanuel Vadot			bias-pull-down;
608fac71e4eSEmmanuel Vadot		};
609fac71e4eSEmmanuel Vadot
610fac71e4eSEmmanuel Vadot		qup_uart12_tx: qup-uart12-tx-pins {
611fac71e4eSEmmanuel Vadot			pins = "gpio54";
612fac71e4eSEmmanuel Vadot			function = "qup1_se5";
613fac71e4eSEmmanuel Vadot			bias-pull-up;
614fac71e4eSEmmanuel Vadot		};
615fac71e4eSEmmanuel Vadot
616fac71e4eSEmmanuel Vadot		qup_uart12_rx: qup-uart12-rx-pins {
617fac71e4eSEmmanuel Vadot			pins = "gpio55";
618fac71e4eSEmmanuel Vadot			function = "qup1_se5";
619fac71e4eSEmmanuel Vadot			bias-pull-down;
620fac71e4eSEmmanuel Vadot		};
621fac71e4eSEmmanuel Vadot	};
622fac71e4eSEmmanuel Vadot
623fac71e4eSEmmanuel Vadot	qup_uart17_default: qup-uart17-state {
624fac71e4eSEmmanuel Vadot		qup_uart17_cts: qup-uart17-cts-pins {
625fac71e4eSEmmanuel Vadot			pins = "gpio91";
626fac71e4eSEmmanuel Vadot			function = "qup2_se3";
627fac71e4eSEmmanuel Vadot			bias-disable;
628fac71e4eSEmmanuel Vadot		};
629fac71e4eSEmmanuel Vadot
630fac71e4eSEmmanuel Vadot		qup_uart17_rts: qup0-uart17-rts-pins {
631fac71e4eSEmmanuel Vadot			pins = "gpio92";
632fac71e4eSEmmanuel Vadot			function = "qup2_se3";
633fac71e4eSEmmanuel Vadot			bias-pull-down;
634fac71e4eSEmmanuel Vadot		};
635fac71e4eSEmmanuel Vadot
636fac71e4eSEmmanuel Vadot		qup_uart17_tx: qup0-uart17-tx-pins {
637fac71e4eSEmmanuel Vadot			pins = "gpio93";
638fac71e4eSEmmanuel Vadot			function = "qup2_se3";
639fac71e4eSEmmanuel Vadot			bias-pull-up;
640fac71e4eSEmmanuel Vadot		};
641fac71e4eSEmmanuel Vadot
642fac71e4eSEmmanuel Vadot		qup_uart17_rx: qup0-uart17-rx-pins {
643fac71e4eSEmmanuel Vadot			pins = "gpio94";
644fac71e4eSEmmanuel Vadot			function = "qup2_se3";
645fac71e4eSEmmanuel Vadot			bias-pull-down;
646fac71e4eSEmmanuel Vadot		};
647fac71e4eSEmmanuel Vadot	};
648aa1a8ff2SEmmanuel Vadot
649aa1a8ff2SEmmanuel Vadot	pcie0_default_state: pcie0-default-state {
650aa1a8ff2SEmmanuel Vadot		perst-pins {
651aa1a8ff2SEmmanuel Vadot			pins = "gpio2";
652aa1a8ff2SEmmanuel Vadot			function = "gpio";
653aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
654aa1a8ff2SEmmanuel Vadot			bias-pull-down;
655aa1a8ff2SEmmanuel Vadot		};
656aa1a8ff2SEmmanuel Vadot
657aa1a8ff2SEmmanuel Vadot		clkreq-pins {
658aa1a8ff2SEmmanuel Vadot			pins = "gpio1";
659aa1a8ff2SEmmanuel Vadot			function = "pcie0_clkreq";
660aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
661aa1a8ff2SEmmanuel Vadot			bias-pull-up;
662aa1a8ff2SEmmanuel Vadot		};
663aa1a8ff2SEmmanuel Vadot
664aa1a8ff2SEmmanuel Vadot		wake-pins {
665aa1a8ff2SEmmanuel Vadot			pins = "gpio0";
666aa1a8ff2SEmmanuel Vadot			function = "gpio";
667aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
668aa1a8ff2SEmmanuel Vadot			bias-pull-up;
669aa1a8ff2SEmmanuel Vadot		};
670aa1a8ff2SEmmanuel Vadot	};
671aa1a8ff2SEmmanuel Vadot
672aa1a8ff2SEmmanuel Vadot	pcie1_default_state: pcie1-default-state {
673aa1a8ff2SEmmanuel Vadot		perst-pins {
674aa1a8ff2SEmmanuel Vadot			pins = "gpio4";
675aa1a8ff2SEmmanuel Vadot			function = "gpio";
676aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
677aa1a8ff2SEmmanuel Vadot			bias-pull-down;
678aa1a8ff2SEmmanuel Vadot		};
679aa1a8ff2SEmmanuel Vadot
680aa1a8ff2SEmmanuel Vadot		clkreq-pins {
681aa1a8ff2SEmmanuel Vadot			pins = "gpio3";
682aa1a8ff2SEmmanuel Vadot			function = "pcie1_clkreq";
683aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
684aa1a8ff2SEmmanuel Vadot			bias-pull-up;
685aa1a8ff2SEmmanuel Vadot		};
686aa1a8ff2SEmmanuel Vadot
687aa1a8ff2SEmmanuel Vadot		wake-pins {
688aa1a8ff2SEmmanuel Vadot			pins = "gpio5";
689aa1a8ff2SEmmanuel Vadot			function = "gpio";
690aa1a8ff2SEmmanuel Vadot			drive-strength = <2>;
691aa1a8ff2SEmmanuel Vadot			bias-pull-up;
692aa1a8ff2SEmmanuel Vadot		};
693aa1a8ff2SEmmanuel Vadot	};
694aa1a8ff2SEmmanuel Vadot};
695aa1a8ff2SEmmanuel Vadot
696aa1a8ff2SEmmanuel Vadot&pcie0 {
697aa1a8ff2SEmmanuel Vadot	perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
698aa1a8ff2SEmmanuel Vadot	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
699aa1a8ff2SEmmanuel Vadot
700aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
701aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pcie0_default_state>;
702aa1a8ff2SEmmanuel Vadot
703aa1a8ff2SEmmanuel Vadot	status = "okay";
704aa1a8ff2SEmmanuel Vadot};
705aa1a8ff2SEmmanuel Vadot
706aa1a8ff2SEmmanuel Vadot&pcie1 {
707aa1a8ff2SEmmanuel Vadot	perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
708aa1a8ff2SEmmanuel Vadot	wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
709aa1a8ff2SEmmanuel Vadot
710aa1a8ff2SEmmanuel Vadot	pinctrl-names = "default";
711aa1a8ff2SEmmanuel Vadot	pinctrl-0 = <&pcie1_default_state>;
712aa1a8ff2SEmmanuel Vadot
713aa1a8ff2SEmmanuel Vadot	status = "okay";
714aa1a8ff2SEmmanuel Vadot};
715aa1a8ff2SEmmanuel Vadot
716aa1a8ff2SEmmanuel Vadot&pcie0_phy {
717aa1a8ff2SEmmanuel Vadot	vdda-phy-supply = <&vreg_l5a>;
718aa1a8ff2SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1c>;
719aa1a8ff2SEmmanuel Vadot
720aa1a8ff2SEmmanuel Vadot	status = "okay";
721aa1a8ff2SEmmanuel Vadot};
722aa1a8ff2SEmmanuel Vadot
723aa1a8ff2SEmmanuel Vadot&pcie1_phy {
724aa1a8ff2SEmmanuel Vadot	vdda-phy-supply = <&vreg_l5a>;
725aa1a8ff2SEmmanuel Vadot	vdda-pll-supply = <&vreg_l1c>;
726aa1a8ff2SEmmanuel Vadot
727aa1a8ff2SEmmanuel Vadot	status = "okay";
728fac71e4eSEmmanuel Vadot};
729fac71e4eSEmmanuel Vadot
730fac71e4eSEmmanuel Vadot&uart10 {
731fac71e4eSEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
732fac71e4eSEmmanuel Vadot	pinctrl-0 = <&qup_uart10_default>;
733fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
734fac71e4eSEmmanuel Vadot	status = "okay";
735fac71e4eSEmmanuel Vadot};
736fac71e4eSEmmanuel Vadot
737fac71e4eSEmmanuel Vadot&uart12 {
738fac71e4eSEmmanuel Vadot	pinctrl-0 = <&qup_uart12_default>;
739fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
740fac71e4eSEmmanuel Vadot	status = "okay";
741fac71e4eSEmmanuel Vadot};
742fac71e4eSEmmanuel Vadot
743fac71e4eSEmmanuel Vadot&uart17 {
744fac71e4eSEmmanuel Vadot	pinctrl-0 = <&qup_uart17_default>;
745fac71e4eSEmmanuel Vadot	pinctrl-names = "default";
746fac71e4eSEmmanuel Vadot	status = "okay";
747fac71e4eSEmmanuel Vadot};
748fac71e4eSEmmanuel Vadot
749f126890aSEmmanuel Vadot&ufs_mem_hc {
750f126890aSEmmanuel Vadot	reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>;
751f126890aSEmmanuel Vadot	vcc-supply = <&vreg_l8a>;
752f126890aSEmmanuel Vadot	vcc-max-microamp = <1100000>;
753f126890aSEmmanuel Vadot	vccq-supply = <&vreg_l4c>;
754f126890aSEmmanuel Vadot	vccq-max-microamp = <1200000>;
755f126890aSEmmanuel Vadot
756f126890aSEmmanuel Vadot	status = "okay";
757f126890aSEmmanuel Vadot};
758f126890aSEmmanuel Vadot
759f126890aSEmmanuel Vadot&ufs_mem_phy {
760f126890aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l4a>;
761f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l1c>;
762f126890aSEmmanuel Vadot
763f126890aSEmmanuel Vadot	status = "okay";
764f126890aSEmmanuel Vadot};
765f126890aSEmmanuel Vadot
766f126890aSEmmanuel Vadot&usb_0 {
767f126890aSEmmanuel Vadot	pinctrl-names = "default";
768f126890aSEmmanuel Vadot	pinctrl-0 = <&usb0_en_state>;
769f126890aSEmmanuel Vadot
770f126890aSEmmanuel Vadot	status = "okay";
771f126890aSEmmanuel Vadot};
772f126890aSEmmanuel Vadot
773f126890aSEmmanuel Vadot&usb_0_dwc3 {
774f126890aSEmmanuel Vadot	dr_mode = "peripheral";
775f126890aSEmmanuel Vadot};
776f126890aSEmmanuel Vadot
777f126890aSEmmanuel Vadot&usb_0_hsphy {
778f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
779f126890aSEmmanuel Vadot	vdda18-supply = <&vreg_l6c>;
780f126890aSEmmanuel Vadot	vdda33-supply = <&vreg_l9a>;
781f126890aSEmmanuel Vadot
782f126890aSEmmanuel Vadot	status = "okay";
783f126890aSEmmanuel Vadot};
784f126890aSEmmanuel Vadot
785f126890aSEmmanuel Vadot&usb_0_qmpphy {
786f126890aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1c>;
787f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
788f126890aSEmmanuel Vadot
789f126890aSEmmanuel Vadot	status = "okay";
790f126890aSEmmanuel Vadot};
791f126890aSEmmanuel Vadot
792f126890aSEmmanuel Vadot&usb_1 {
793f126890aSEmmanuel Vadot	pinctrl-names = "default";
794f126890aSEmmanuel Vadot	pinctrl-0 = <&usb1_en_state>;
795f126890aSEmmanuel Vadot
796f126890aSEmmanuel Vadot	status = "okay";
797f126890aSEmmanuel Vadot};
798f126890aSEmmanuel Vadot
799f126890aSEmmanuel Vadot&usb_1_dwc3 {
800f126890aSEmmanuel Vadot	dr_mode = "host";
801f126890aSEmmanuel Vadot};
802f126890aSEmmanuel Vadot
803f126890aSEmmanuel Vadot&usb_1_hsphy {
804f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
805f126890aSEmmanuel Vadot	vdda18-supply = <&vreg_l6c>;
806f126890aSEmmanuel Vadot	vdda33-supply = <&vreg_l9a>;
807f126890aSEmmanuel Vadot
808f126890aSEmmanuel Vadot	status = "okay";
809f126890aSEmmanuel Vadot};
810f126890aSEmmanuel Vadot
811f126890aSEmmanuel Vadot&usb_1_qmpphy {
812f126890aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l1c>;
813f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
814f126890aSEmmanuel Vadot
815f126890aSEmmanuel Vadot	status = "okay";
816f126890aSEmmanuel Vadot};
817f126890aSEmmanuel Vadot
818f126890aSEmmanuel Vadot&usb_2 {
819f126890aSEmmanuel Vadot	pinctrl-names = "default";
820f126890aSEmmanuel Vadot	pinctrl-0 = <&usb2_en_state>;
821f126890aSEmmanuel Vadot
822f126890aSEmmanuel Vadot	status = "okay";
823f126890aSEmmanuel Vadot};
824f126890aSEmmanuel Vadot
825f126890aSEmmanuel Vadot&usb_2_dwc3 {
826f126890aSEmmanuel Vadot	dr_mode = "host";
827f126890aSEmmanuel Vadot};
828f126890aSEmmanuel Vadot
829f126890aSEmmanuel Vadot&usb_2_hsphy {
830f126890aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
831f126890aSEmmanuel Vadot	vdda18-supply = <&vreg_l6c>;
832f126890aSEmmanuel Vadot	vdda33-supply = <&vreg_l9a>;
833f126890aSEmmanuel Vadot
834f126890aSEmmanuel Vadot	status = "okay";
835f126890aSEmmanuel Vadot};
836f126890aSEmmanuel Vadot
837fac71e4eSEmmanuel Vadot&xo_board_clk {
838fac71e4eSEmmanuel Vadot	clock-frequency = <38400000>;
839fac71e4eSEmmanuel Vadot};
840