xref: /linux/arch/arm64/boot/dts/qcom/sdx75-idp.dts (revision 484f0a071f8d482649eaf025dee7b76a7202fec9)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9#include "sdx75.dtsi"
10#include "pm7550ba.dtsi"
11#include "pmk8550.dtsi"
12#include "pmx75.dtsi"
13
14/ {
15	model = "Qualcomm Technologies, Inc. SDX75 IDP";
16	compatible = "qcom,sdx75-idp", "qcom,sdx75";
17
18	aliases {
19		serial0 = &uart1;
20	};
21
22	vph_pwr: vph-pwr-regulator {
23		compatible = "regulator-fixed";
24		regulator-name = "vph_pwr";
25		regulator-min-microvolt = <3700000>;
26		regulator-max-microvolt = <3700000>;
27	};
28
29	vph_ext: vph-ext-regulator {
30		compatible = "regulator-fixed";
31		regulator-name = "vph_ext";
32		regulator-min-microvolt = <3700000>;
33		regulator-max-microvolt = <3700000>;
34	};
35
36	vreg_bob_3p3: pmx75-bob {
37		compatible = "regulator-fixed";
38		regulator-name = "vreg_bob_3p3";
39		regulator-min-microvolt = <3300000>;
40		regulator-max-microvolt = <3300000>;
41
42		vin-supply = <&vph_ext>;
43	};
44};
45
46&apps_rsc {
47	pmx75-rpmh-regulators {
48		compatible = "qcom,pmx75-rpmh-regulators";
49		qcom,pmic-id = "b";
50
51		vdd-s1-supply = <&vph_pwr>;
52		vdd-s2-supply = <&vph_pwr>;
53		vdd-s3-supply = <&vph_pwr>;
54		vdd-s4-supply = <&vph_pwr>;
55		vdd-s5-supply = <&vph_pwr>;
56		vdd-s6-supply = <&vph_pwr>;
57		vdd-s7-supply = <&vph_pwr>;
58		vdd-s8-supply = <&vph_pwr>;
59		vdd-s9-supply = <&vph_pwr>;
60		vdd-s10-supply = <&vph_pwr>;
61		vdd-l1-supply = <&vreg_s2b_1p224>;
62		vdd-l2-l18-supply = <&vreg_s2b_1p224>;
63		vdd-l3-supply = <&vreg_s7b_0p936>;
64		vdd-l4-l16-supply = <&vreg_s7b_0p936>;
65		vdd-l5-l6-supply = <&vreg_s4b_1p824>;
66		vdd-l7-supply = <&vreg_s7b_0p936>;
67		vdd-l8-l9-supply = <&vreg_s8b_0p824>;
68		vdd-l10-supply = <&vreg_bob_3p3>;
69		vdd-l11-l13-supply = <&vreg_bob_3p3>;
70		vdd-l12-supply = <&vreg_s2b_1p224>;
71		vdd-l14-supply = <&vreg_s3b_0p752>;
72		vdd-l15-supply = <&vreg_s2b_1p224>;
73		vdd-l17-supply = <&vreg_s8b_0p824>;
74		vdd-l19-supply = <&vreg_s7b_0p936>;
75		vdd-l20-l21-supply = <&vreg_s7b_0p936>;
76
77		vreg_s2b_1p224: smps2 {
78			regulator-name = "vreg_s2b_1p224";
79			regulator-min-microvolt = <1224000>;
80			regulator-max-microvolt = <1350000>;
81		};
82
83		vreg_s3b_0p752: smps3 {
84			regulator-name = "vreg_s3b_0p752";
85			regulator-min-microvolt = <684000>;
86			regulator-max-microvolt = <904000>;
87		};
88
89		vreg_s4b_1p824: smps4 {
90			regulator-name = "vreg_s4b_1p824";
91			regulator-min-microvolt = <1824000>;
92			regulator-max-microvolt = <1904000>;
93		};
94
95		vreg_s7b_0p936: smps7 {
96			regulator-name = "vreg_s7b_0p936";
97			regulator-min-microvolt = <352000>;
98			regulator-max-microvolt = <1060000>;
99		};
100
101		vreg_s8b_0p824: smps8 {
102			regulator-name = "vreg_s8b_0p824";
103			regulator-min-microvolt = <500000>;
104			regulator-max-microvolt = <1100000>;
105		};
106
107		vreg_l1b_1p2: ldo1 {
108			regulator-name = "vreg_l1b_1p2";
109			regulator-min-microvolt = <1200000>;
110			regulator-max-microvolt = <1200000>;
111			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
112		};
113
114		vreg_l2b_1p128: ldo2 {
115			regulator-name = "vreg_l2b_1p128";
116			regulator-min-microvolt = <1000000>;
117			regulator-max-microvolt = <1160000>;
118			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
119		};
120
121		vreg_l3b_0p896: ldo3 {
122			regulator-name = "vreg_l3b_0p896";
123			regulator-min-microvolt = <300000>;
124			regulator-max-microvolt = <1040000>;
125			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
126		};
127
128		vreg_l4b_0p88: ldo4 {
129			regulator-name = "vreg_l4b_0p88";
130			regulator-min-microvolt = <864000>;
131			regulator-max-microvolt = <912000>;
132			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
133		};
134
135		vreg_l5b_1p776: ldo5 {
136			regulator-name = "vreg_l5b_1p776";
137			regulator-min-microvolt = <1770000>;
138			regulator-max-microvolt = <1800000>;
139			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
140		};
141
142		vreg_l6b_1p8: ldo6 {
143			regulator-name = "vreg_l6b_1p8";
144			regulator-min-microvolt = <1800000>;
145			regulator-max-microvolt = <1800000>;
146			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
147		};
148
149		vreg_l7b_0p904: ldo7 {
150			regulator-name = "vreg_l7b_0p904";
151			regulator-min-microvolt = <300000>;
152			regulator-max-microvolt = <960000>;
153			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
154		};
155
156		vreg_l8b_0p8: ldo8 {
157			regulator-name = "vreg_l8b_0p8";
158			regulator-min-microvolt = <800000>;
159			regulator-max-microvolt = <800000>;
160			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
161		};
162
163		vreg_l9b_0p752: ldo9 {
164			regulator-name = "vreg_l9b_0p752";
165			regulator-min-microvolt = <752000>;
166			regulator-max-microvolt = <800000>;
167			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
168		};
169
170		vreg_l10b_3p08: ldo10 {
171			regulator-name = "vreg_l10b_3p08";
172			regulator-min-microvolt = <3008000>;
173			regulator-max-microvolt = <3088000>;
174			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
175		};
176
177		vreg_l11b_1p8: ldo11 {
178			regulator-name = "vreg_l11b_1p8";
179			regulator-min-microvolt = <1704000>;
180			regulator-max-microvolt = <2928000>;
181			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
182		};
183
184		vreg_l12b_1p2: ldo12 {
185			regulator-name = "vreg_l12b_1p2";
186			regulator-min-microvolt = <1200000>;
187			regulator-max-microvolt = <1200000>;
188			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
189		};
190
191		vreg_l13b_1p8: ldo13 {
192			regulator-name = "vreg_l13b_1p8";
193			regulator-min-microvolt = <1704000>;
194			regulator-max-microvolt = <2928000>;
195			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196		};
197
198		vreg_l14b_0p624: ldo14 {
199			regulator-name = "vreg_l14b_0p624";
200			regulator-min-microvolt = <300000>;
201			regulator-max-microvolt = <800000>;
202			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203		};
204
205		vreg_l15b_1p2: ldo15 {
206			regulator-name = "vreg_l15b_1p2";
207			regulator-min-microvolt = <1200000>;
208			regulator-max-microvolt = <1200000>;
209			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
210		};
211
212		vreg_l16b_0p912: ldo16 {
213			regulator-name = "vreg_l16b_0p912";
214			regulator-min-microvolt = <880000>;
215			regulator-max-microvolt = <920000>;
216			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
217		};
218
219		vreg_l17b_0p752: ldo17 {
220			regulator-name = "vreg_l17b_0p752";
221			regulator-min-microvolt = <684000>;
222			regulator-max-microvolt = <957600>;
223			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224		};
225
226		vreg_l19b_0p952: ldo19 {
227			regulator-name = "vreg_l19b_0p952";
228			regulator-min-microvolt = <900000>;
229			regulator-max-microvolt = <960000>;
230			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
231		};
232
233		vreg_l20b_0p912: ldo20 {
234			regulator-name = "vreg_l20b_0p912";
235			regulator-min-microvolt = <912000>;
236			regulator-max-microvolt = <952000>;
237			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
238		};
239
240		vreg_l21b_0p856: ldo21 {
241			regulator-name = "vreg_l21b_0p856";
242			regulator-min-microvolt = <300000>;
243			regulator-max-microvolt = <1000000>;
244			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
245		};
246	};
247};
248
249&chosen {
250	stdout-path = "serial0:115200n8";
251};
252
253&qupv3_id_0 {
254	status = "okay";
255};
256
257&tlmm {
258	gpio-reserved-ranges = <110 6>;
259};
260
261&uart1 {
262	status = "okay";
263};
264