xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sc7280-idp.dts (revision 77013d11e6483b970af25e13c9b892075742f7e5)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * sc7280 IDP board device tree source
4 *
5 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
6 */
7
8/dts-v1/;
9
10#include "sc7280.dtsi"
11
12/ {
13	model = "Qualcomm Technologies, Inc. sc7280 IDP platform";
14	compatible = "qcom,sc7280-idp", "qcom,sc7280";
15
16	aliases {
17		serial0 = &uart5;
18	};
19
20	chosen {
21		stdout-path = "serial0:115200n8";
22	};
23};
24
25&apps_rsc {
26	pm7325-regulators {
27		compatible = "qcom,pm7325-rpmh-regulators";
28		qcom,pmic-id = "b";
29
30		vreg_s1b_1p8: smps1 {
31			regulator-min-microvolt = <1856000>;
32			regulator-max-microvolt = <2040000>;
33		};
34
35		vreg_s7b_0p9: smps7 {
36			regulator-min-microvolt = <535000>;
37			regulator-max-microvolt = <1120000>;
38		};
39
40		vreg_s8b_1p2: smps8 {
41			regulator-min-microvolt = <1256000>;
42			regulator-max-microvolt = <1500000>;
43		};
44
45		vreg_l1b_0p8: ldo1 {
46			regulator-min-microvolt = <825000>;
47			regulator-max-microvolt = <925000>;
48		};
49
50		vreg_l2b_3p0: ldo2 {
51			regulator-min-microvolt = <2700000>;
52			regulator-max-microvolt = <3544000>;
53		};
54
55		vreg_l6b_1p2: ldo6 {
56			regulator-min-microvolt = <1140000>;
57			regulator-max-microvolt = <1260000>;
58		};
59
60		vreg_l7b_2p9: ldo7 {
61			regulator-min-microvolt = <2960000>;
62			regulator-max-microvolt = <2960000>;
63		};
64
65		vreg_l8b_0p9: ldo8 {
66			regulator-min-microvolt = <870000>;
67			regulator-max-microvolt = <970000>;
68		};
69
70		vreg_l9b_1p2: ldo9 {
71			regulator-min-microvolt = <1080000>;
72			regulator-max-microvolt = <1304000>;
73		};
74
75		vreg_l11b_1p7: ldo11 {
76			regulator-min-microvolt = <1504000>;
77			regulator-max-microvolt = <2000000>;
78		};
79
80		vreg_l12b_0p8: ldo12 {
81			regulator-min-microvolt = <751000>;
82			regulator-max-microvolt = <824000>;
83		};
84
85		vreg_l13b_0p8: ldo13 {
86			regulator-min-microvolt = <530000>;
87			regulator-max-microvolt = <824000>;
88		};
89
90		vreg_l14b_1p2: ldo14 {
91			regulator-min-microvolt = <1080000>;
92			regulator-max-microvolt = <1304000>;
93		};
94
95		vreg_l15b_0p8: ldo15 {
96			regulator-min-microvolt = <765000>;
97			regulator-max-microvolt = <1020000>;
98		};
99
100		vreg_l16b_1p2: ldo16 {
101			regulator-min-microvolt = <1100000>;
102			regulator-max-microvolt = <1300000>;
103		};
104
105		vreg_l17b_1p8: ldo17 {
106			regulator-min-microvolt = <1700000>;
107			regulator-max-microvolt = <1900000>;
108		};
109
110		vreg_l18b_1p8: ldo18 {
111			regulator-min-microvolt = <1800000>;
112			regulator-max-microvolt = <2000000>;
113		};
114
115		vreg_l19b_1p8: ldo19 {
116			regulator-min-microvolt = <1800000>;
117			regulator-max-microvolt = <1800000>;
118		};
119	};
120
121	pm8350c-regulators {
122		compatible = "qcom,pm8350c-rpmh-regulators";
123		qcom,pmic-id = "c";
124
125		vreg_s1c_2p2: smps1 {
126			regulator-min-microvolt = <2190000>;
127			regulator-max-microvolt = <2210000>;
128		};
129
130		vreg_s9c_1p0: smps9 {
131			regulator-min-microvolt = <1010000>;
132			regulator-max-microvolt = <1170000>;
133		};
134
135		vreg_l1c_1p8: ldo1 {
136			regulator-min-microvolt = <1800000>;
137			regulator-max-microvolt = <1980000>;
138		};
139
140		vreg_l2c_1p8: ldo2 {
141			regulator-min-microvolt = <1620000>;
142			regulator-max-microvolt = <1980000>;
143		};
144
145		vreg_l3c_3p0: ldo3 {
146			regulator-min-microvolt = <2800000>;
147			regulator-max-microvolt = <3540000>;
148		};
149
150		vreg_l4c_1p8: ldo4 {
151			regulator-min-microvolt = <1620000>;
152			regulator-max-microvolt = <3300000>;
153		};
154
155		vreg_l5c_1p8: ldo5 {
156			regulator-min-microvolt = <1620000>;
157			regulator-max-microvolt = <3300000>;
158		};
159
160		vreg_l6c_2p9: ldo6 {
161			regulator-min-microvolt = <1800000>;
162			regulator-max-microvolt = <2950000>;
163		};
164
165		vreg_l7c_3p0: ldo7 {
166			regulator-min-microvolt = <3000000>;
167			regulator-max-microvolt = <3544000>;
168		};
169
170		vreg_l8c_1p8: ldo8 {
171			regulator-min-microvolt = <1620000>;
172			regulator-max-microvolt = <2000000>;
173		};
174
175		vreg_l9c_2p9: ldo9 {
176			regulator-min-microvolt = <2960000>;
177			regulator-max-microvolt = <2960000>;
178		};
179
180		vreg_l10c_0p8: ldo10 {
181			regulator-min-microvolt = <720000>;
182			regulator-max-microvolt = <1050000>;
183		};
184
185		vreg_l11c_2p8: ldo11 {
186			regulator-min-microvolt = <2800000>;
187			regulator-max-microvolt = <3544000>;
188		};
189
190		vreg_l12c_1p8: ldo12 {
191			regulator-min-microvolt = <1650000>;
192			regulator-max-microvolt = <2000000>;
193		};
194
195		vreg_l13c_3p0: ldo13 {
196			regulator-min-microvolt = <2700000>;
197			regulator-max-microvolt = <3544000>;
198		};
199
200		vreg_bob: bob {
201			regulator-min-microvolt = <3008000>;
202			regulator-max-microvolt = <3960000>;
203		};
204	};
205
206	pmr735a-regulators {
207		compatible = "qcom,pmr735a-rpmh-regulators";
208		qcom,pmic-id = "e";
209
210		vreg_l2e_1p2: ldo2 {
211			regulator-min-microvolt = <1200000>;
212			regulator-max-microvolt = <1200000>;
213		};
214
215		vreg_l3e_0p9: ldo3 {
216			regulator-min-microvolt = <912000>;
217			regulator-max-microvolt = <1020000>;
218		};
219
220		vreg_l4e_1p7: ldo4 {
221			regulator-min-microvolt = <1776000>;
222			regulator-max-microvolt = <1890000>;
223		};
224
225		vreg_l5e_0p8: ldo5 {
226			regulator-min-microvolt = <800000>;
227			regulator-max-microvolt = <800000>;
228		};
229
230		vreg_l6e_0p8: ldo6 {
231			regulator-min-microvolt = <480000>;
232			regulator-max-microvolt = <904000>;
233		};
234	};
235};
236
237&qupv3_id_0 {
238	status = "okay";
239};
240
241&uart5 {
242	status = "okay";
243};
244
245/* PINCTRL - additions to nodes defined in sc7280.dtsi */
246
247&qup_uart5_default {
248	tx {
249		pins = "gpio46";
250		drive-strength = <2>;
251		bias-disable;
252	};
253
254	rx {
255		pins = "gpio47";
256		drive-strength = <2>;
257		bias-pull-up;
258	};
259};
260