~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*
  3  * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
  4  */
  5 
  6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
  7 #include "qcs8550.dtsi"
  8 #include "pm8550.dtsi"
  9 #include "pm8550b.dtsi"
 10 #define PMK8550VE_SID 5
 11 #include "pm8550ve.dtsi"
 12 #include "pm8550vs.dtsi"
 13 #include "pmk8550.dtsi"
 14 
 15 &apps_rsc {
 16         regulators-0 {
 17                 compatible = "qcom,pm8550-rpmh-regulators";
 18                 qcom,pmic-id = "b";
 19 
 20                 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>;
 21                 vdd-l2-l13-l14-supply = <&vreg_bob1>;
 22                 vdd-l3-supply = <&vreg_s4g_1p25>;
 23                 vdd-l5-l16-supply = <&vreg_bob1>;
 24                 vdd-l6-l7-supply = <&vreg_bob1>;
 25                 vdd-l8-l9-supply = <&vreg_bob1>;
 26                 vdd-l11-supply = <&vreg_s4g_1p25>;
 27                 vdd-l12-supply = <&vreg_s6g_1p86>;
 28                 vdd-l15-supply = <&vreg_s6g_1p86>;
 29                 vdd-l17-supply = <&vreg_bob2>;
 30 
 31                 vreg_bob1: bob1 {
 32                         regulator-name = "vreg_bob1";
 33                         regulator-min-microvolt = <3296000>;
 34                         regulator-max-microvolt = <3960000>;
 35                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 36                 };
 37 
 38                 vreg_bob2: bob2 {
 39                         regulator-name = "vreg_bob2";
 40                         regulator-min-microvolt = <2720000>;
 41                         regulator-max-microvolt = <3960000>;
 42                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 43                 };
 44 
 45                 vreg_l1b_1p8: ldo1 {
 46                         regulator-name = "vreg_l1b_1p8";
 47                         regulator-min-microvolt = <1800000>;
 48                         regulator-max-microvolt = <1800000>;
 49                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 50                 };
 51 
 52                 vreg_l2b_3p0: ldo2 {
 53                         regulator-name = "vreg_l2b_3p0";
 54                         regulator-min-microvolt = <3008000>;
 55                         regulator-max-microvolt = <3008000>;
 56                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 57                 };
 58 
 59                 vreg_l5b_3p1: ldo5 {
 60                         regulator-name = "vreg_l5b_3p1";
 61                         regulator-min-microvolt = <3104000>;
 62                         regulator-max-microvolt = <3104000>;
 63                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 64                 };
 65 
 66                 vreg_l6b_1p8: ldo6 {
 67                         regulator-name = "vreg_l6b_1p8";
 68                         regulator-min-microvolt = <1800000>;
 69                         regulator-max-microvolt = <3008000>;
 70                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 71                 };
 72 
 73                 vreg_l7b_1p8: ldo7 {
 74                         regulator-name = "vreg_l7b_1p8";
 75                         regulator-min-microvolt = <1800000>;
 76                         regulator-max-microvolt = <3008000>;
 77                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 78                 };
 79 
 80                 vreg_l8b_1p8: ldo8 {
 81                         regulator-name = "vreg_l8b_1p8";
 82                         regulator-min-microvolt = <1800000>;
 83                         regulator-max-microvolt = <3008000>;
 84                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 85                 };
 86 
 87                 vreg_l9b_2p9: ldo9 {
 88                         regulator-name = "vreg_l9b_2p9";
 89                         regulator-min-microvolt = <2960000>;
 90                         regulator-max-microvolt = <3008000>;
 91                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 92                 };
 93 
 94                 vreg_l11b_1p2: ldo11 {
 95                         regulator-name = "vreg_l11b_1p2";
 96                         regulator-min-microvolt = <1200000>;
 97                         regulator-max-microvolt = <1504000>;
 98                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
 99                 };
100 
101                 vreg_l12b_1p8: ldo12 {
102                         regulator-name = "vreg_l12b_1p8";
103                         regulator-min-microvolt = <1800000>;
104                         regulator-max-microvolt = <1800000>;
105                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
106                 };
107 
108                 vreg_l13b_3p0: ldo13 {
109                         regulator-name = "vreg_l13b_3p0";
110                         regulator-min-microvolt = <3000000>;
111                         regulator-max-microvolt = <3000000>;
112                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
113                 };
114 
115                 vreg_l14b_3p2: ldo14 {
116                         regulator-name = "vreg_l14b_3p2";
117                         regulator-min-microvolt = <3200000>;
118                         regulator-max-microvolt = <3200000>;
119                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
120                 };
121 
122                 vreg_l15b_1p8: ldo15 {
123                         regulator-name = "vreg_l15b_1p8";
124                         regulator-min-microvolt = <1800000>;
125                         regulator-max-microvolt = <1800000>;
126                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
127                 };
128 
129                 vreg_l16b_2p8: ldo16 {
130                         regulator-name = "vreg_l16b_2p8";
131                         regulator-min-microvolt = <2800000>;
132                         regulator-max-microvolt = <2800000>;
133                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
134                 };
135 
136                 vreg_l17b_2p5: ldo17 {
137                         regulator-name = "vreg_l17b_2p5";
138                         regulator-min-microvolt = <2504000>;
139                         regulator-max-microvolt = <2504000>;
140                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
141                 };
142         };
143 
144         regulators-1 {
145                 compatible = "qcom,pm8550vs-rpmh-regulators";
146                 qcom,pmic-id = "c";
147 
148                 vdd-l1-supply = <&vreg_s4g_1p25>;
149                 vdd-l2-supply = <&vreg_s4e_0p95>;
150                 vdd-l3-supply = <&vreg_s4e_0p95>;
151 
152                 vreg_l3c_0p9: ldo3 {
153                         regulator-name = "vreg_l3c_0p9";
154                         regulator-min-microvolt = <880000>;
155                         regulator-max-microvolt = <912000>;
156                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
157                 };
158         };
159 
160         regulators-2 {
161                 compatible = "qcom,pm8550vs-rpmh-regulators";
162                 qcom,pmic-id = "d";
163 
164                 vdd-l1-supply = <&vreg_s4e_0p95>;
165                 vdd-l2-supply = <&vreg_s4e_0p95>;
166                 vdd-l3-supply = <&vreg_s4e_0p95>;
167 
168                 vreg_l1d_0p88: ldo1 {
169                         regulator-name = "vreg_l1d_0p88";
170                         regulator-min-microvolt = <880000>;
171                         regulator-max-microvolt = <920000>;
172                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
173                 };
174         };
175 
176         regulators-3 {
177                 compatible = "qcom,pm8550vs-rpmh-regulators";
178                 qcom,pmic-id = "e";
179 
180                 vdd-l1-supply = <&vreg_s4e_0p95>;
181                 vdd-l2-supply = <&vreg_s4e_0p95>;
182                 vdd-l3-supply = <&vreg_s4g_1p25>;
183 
184                 vreg_s4e_0p95: smps4 {
185                         regulator-name = "vreg_s4e_0p95";
186                         regulator-min-microvolt = <904000>;
187                         regulator-max-microvolt = <984000>;
188                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
189                 };
190 
191                 vreg_s5e_1p08: smps5 {
192                         regulator-name = "vreg_s5e_1p08";
193                         regulator-min-microvolt = <1010000>;
194                         regulator-max-microvolt = <1120000>;
195                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196                 };
197 
198                 vreg_l1e_0p88: ldo1 {
199                         regulator-name = "vreg_l1e_0p88";
200                         regulator-min-microvolt = <880000>;
201                         regulator-max-microvolt = <912000>;
202                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203                 };
204 
205                 vreg_l2e_0p9: ldo2 {
206                         regulator-name = "vreg_l2e_0p9";
207                         regulator-min-microvolt = <870000>;
208                         regulator-max-microvolt = <970000>;
209                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
210                 };
211 
212                 vreg_l3e_1p2: ldo3 {
213                         regulator-name = "vreg_l3e_1p2";
214                         regulator-min-microvolt = <1200000>;
215                         regulator-max-microvolt = <1200000>;
216                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
217                 };
218         };
219 
220         regulators-4 {
221                 compatible = "qcom,pm8550ve-rpmh-regulators";
222                 qcom,pmic-id = "f";
223 
224                 vdd-l1-supply = <&vreg_s4e_0p95>;
225                 vdd-l2-supply = <&vreg_s4e_0p95>;
226                 vdd-l3-supply = <&vreg_s4e_0p95>;
227 
228                 vreg_s4f_0p5: smps4 {
229                         regulator-name = "vreg_s4f_0p5";
230                         regulator-min-microvolt = <300000>;
231                         regulator-max-microvolt = <700000>;
232                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
233                 };
234 
235                 vreg_l1f_0p9: ldo1 {
236                         regulator-name = "vreg_l1f_0p9";
237                         regulator-min-microvolt = <880000>;
238                         regulator-max-microvolt = <912000>;
239                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
240                 };
241 
242                 vreg_l2f_0p88: ldo2 {
243                         regulator-name = "vreg_l2f_0p88";
244                         regulator-min-microvolt = <880000>;
245                         regulator-max-microvolt = <912000>;
246                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
247                 };
248 
249                 vreg_l3f_0p88: ldo3 {
250                         regulator-name = "vreg_l3f_0p88";
251                         regulator-min-microvolt = <880000>;
252                         regulator-max-microvolt = <912000>;
253                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
254                 };
255         };
256 
257         regulators-5 {
258                 compatible = "qcom,pm8550vs-rpmh-regulators";
259                 qcom,pmic-id = "g";
260                 vdd-l1-supply = <&vreg_s4g_1p25>;
261                 vdd-l2-supply = <&vreg_s4g_1p25>;
262                 vdd-l3-supply = <&vreg_s4g_1p25>;
263 
264                 vreg_s1g_1p25: smps1 {
265                         regulator-name = "vreg_s1g_1p25";
266                         regulator-min-microvolt = <1200000>;
267                         regulator-max-microvolt = <1300000>;
268                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269                 };
270 
271                 vreg_s2g_0p85: smps2 {
272                         regulator-name = "vreg_s2g_0p85";
273                         regulator-min-microvolt = <500000>;
274                         regulator-max-microvolt = <1036000>;
275                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276                 };
277 
278                 vreg_s3g_0p8: smps3 {
279                         regulator-name = "vreg_s3g_0p8";
280                         regulator-min-microvolt = <300000>;
281                         regulator-max-microvolt = <1004000>;
282                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283                 };
284 
285                 vreg_s4g_1p25: smps4 {
286                         regulator-name = "vreg_s4g_1p25";
287                         regulator-min-microvolt = <1256000>;
288                         regulator-max-microvolt = <1408000>;
289                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290                 };
291 
292                 vreg_s5g_0p85: smps5 {
293                         regulator-name = "vreg_s5g_0p85";
294                         regulator-min-microvolt = <500000>;
295                         regulator-max-microvolt = <1004000>;
296                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297                 };
298 
299                 vreg_s6g_1p86: smps6 {
300                         regulator-name = "vreg_s6g_1p86";
301                         regulator-min-microvolt = <1800000>;
302                         regulator-max-microvolt = <2000000>;
303                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304                 };
305 
306                 vreg_l1g_1p2: ldo1 {
307                         regulator-name = "vreg_l1g_1p2";
308                         regulator-min-microvolt = <1128000>;
309                         regulator-max-microvolt = <1272000>;
310                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311                 };
312 
313                 vreg_l2g_1p2: ldo2 {
314                         regulator-name = "vreg_l2g_1p2";
315                         regulator-min-microvolt = <1100000>;
316                         regulator-max-microvolt = <1200000>;
317                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318                 };
319 
320                 vreg_l3g_1p2: ldo3 {
321                         regulator-name = "vreg_l3g_1p2";
322                         regulator-min-microvolt = <1200000>;
323                         regulator-max-microvolt = <1200000>;
324                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325                 };
326         };
327 };
328 
329 &mdss_dsi0 {
330         vdda-supply = <&vreg_l3e_1p2>;
331 };
332 
333 &mdss_dsi0_phy {
334         vdds-supply = <&vreg_l1e_0p88>;
335 };
336 
337 &pcie0 {
338         perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
339         wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
340 
341         pinctrl-0 = <&pcie0_default_state>;
342         pinctrl-names = "default";
343 };
344 
345 &pcie0_phy {
346         vdda-phy-supply = <&vreg_l1e_0p88>;
347         vdda-pll-supply = <&vreg_l3e_1p2>;
348 };
349 
350 &pcie1 {
351         perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
352         wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
353 
354         pinctrl-0 = <&pcie1_default_state>;
355         pinctrl-names = "default";
356 };
357 
358 &pcie1_phy {
359         vdda-phy-supply = <&vreg_l3c_0p9>;
360         vdda-pll-supply = <&vreg_l3e_1p2>;
361         vdda-qref-supply = <&vreg_l1e_0p88>;
362 };
363 
364 &pm8550b_eusb2_repeater {
365         vdd18-supply = <&vreg_l15b_1p8>;
366         vdd3-supply = <&vreg_l5b_3p1>;
367 };
368 
369 &sleep_clk {
370         clock-frequency = <32000>;
371 };
372 
373 &ufs_mem_hc {
374         reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
375         vcc-supply = <&vreg_l17b_2p5>;
376         vcc-max-microamp = <1300000>;
377         vccq-supply = <&vreg_l1g_1p2>;
378         vccq-max-microamp = <1200000>;
379         vdd-hba-supply = <&vreg_l3g_1p2>;
380 
381         status = "okay";
382 };
383 
384 &ufs_mem_phy {
385         vdda-phy-supply = <&vreg_l1d_0p88>;
386         vdda-pll-supply = <&vreg_l3e_1p2>;
387 
388         status = "okay";
389 };
390 
391 &usb_1_hsphy {
392         phys = <&pm8550b_eusb2_repeater>;
393 
394         vdd-supply = <&vreg_l1e_0p88>;
395         vdda12-supply = <&vreg_l3e_1p2>;
396 };
397 
398 &usb_dp_qmpphy {
399         vdda-phy-supply = <&vreg_l3e_1p2>;
400         vdda-pll-supply = <&vreg_l3f_0p88>;
401 };
402 
403 &xo_board {
404         clock-frequency = <76800000>;
405 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php