blob: e4bfad50a669b18edb60cf0bd9011f61fbf20919 [file] [log] [blame]
Tom Rini93743d22024-04-01 09:08:13 -04001// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 */
5
6/dts-v1/;
7
Tom Rini6bb92fc2024-05-20 09:54:58 -06008/* PM7250B is configured to use SID8/9 */
9#define PM7250B_SID 8
10#define PM7250B_SID1 9
11
12#include <dt-bindings/leds/common.h>
Tom Rini93743d22024-04-01 09:08:13 -040013#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14#include "sc7280.dtsi"
Tom Rini6bb92fc2024-05-20 09:54:58 -060015#include "pm7250b.dtsi"
Tom Rini93743d22024-04-01 09:08:13 -040016#include "pm7325.dtsi"
17#include "pm8350c.dtsi"
18#include "pmk8350.dtsi"
19
20/delete-node/ &ipa_fw_mem;
21/delete-node/ &rmtfs_mem;
22/delete-node/ &adsp_mem;
23/delete-node/ &cdsp_mem;
24/delete-node/ &video_mem;
25/delete-node/ &wlan_ce_mem;
26/delete-node/ &wpss_mem;
27/delete-node/ &xbl_mem;
28
29/ {
30 model = "Qualcomm Technologies, Inc. QCM6490 IDP";
31 compatible = "qcom,qcm6490-idp", "qcom,qcm6490";
32 chassis-type = "embedded";
33
34 aliases {
35 serial0 = &uart5;
36 };
37
38 chosen {
39 stdout-path = "serial0:115200n8";
40 };
41
42 reserved-memory {
43 xbl_mem: xbl@80700000 {
44 reg = <0x0 0x80700000 0x0 0x100000>;
45 no-map;
46 };
47
48 cdsp_secure_heap_mem: cdsp-secure-heap@81800000 {
49 reg = <0x0 0x81800000 0x0 0x1e00000>;
50 no-map;
51 };
52
53 camera_mem: camera@84300000 {
54 reg = <0x0 0x84300000 0x0 0x500000>;
55 no-map;
56 };
57
58 wpss_mem: wpss@84800000 {
59 reg = <0x0 0x84800000 0x0 0x1900000>;
60 no-map;
61 };
62
63 adsp_mem: adsp@86100000 {
64 reg = <0x0 0x86100000 0x0 0x2800000>;
65 no-map;
66 };
67
68 cdsp_mem: cdsp@88900000 {
69 reg = <0x0 0x88900000 0x0 0x1e00000>;
70 no-map;
71 };
72
73 video_mem: video@8a700000 {
74 reg = <0x0 0x8a700000 0x0 0x700000>;
75 no-map;
76 };
77
78 cvp_mem: cvp@8ae00000 {
79 reg = <0x0 0x8ae00000 0x0 0x500000>;
80 no-map;
81 };
82
83 ipa_fw_mem: ipa-fw@8b300000 {
84 reg = <0x0 0x8b300000 0x0 0x10000>;
85 no-map;
86 };
87
88 ipa_gsi_mem: ipa-gsi@8b310000 {
89 reg = <0x0 0x8b310000 0x0 0xa000>;
90 no-map;
91 };
92
93 gpu_microcode_mem: gpu-microcode@8b31a000 {
94 reg = <0x0 0x8b31a000 0x0 0x2000>;
95 no-map;
96 };
97
98 mpss_mem: mpss@8b800000 {
99 reg = <0x0 0x8b800000 0x0 0xf600000>;
100 no-map;
101 };
102
103 tz_stat_mem: tz-stat@c0000000 {
104 reg = <0x0 0xc0000000 0x0 0x100000>;
105 no-map;
106 };
107
108 tags_mem: tags@c0100000 {
109 reg = <0x0 0xc0100000 0x0 0x1200000>;
110 no-map;
111 };
112
113 qtee_mem: qtee@c1300000 {
114 reg = <0x0 0xc1300000 0x0 0x500000>;
115 no-map;
116 };
117
Tom Rini6bb92fc2024-05-20 09:54:58 -0600118 trusted_apps_mem: trusted-apps@c1800000 {
Tom Rini93743d22024-04-01 09:08:13 -0400119 reg = <0x0 0xc1800000 0x0 0x1c00000>;
120 no-map;
121 };
122
123 debug_vm_mem: debug-vm@d0600000 {
124 reg = <0x0 0xd0600000 0x0 0x100000>;
125 no-map;
126 };
127 };
128
129 vph_pwr: vph-pwr-regulator {
130 compatible = "regulator-fixed";
131 regulator-name = "vph_pwr";
Tom Rini6bb92fc2024-05-20 09:54:58 -0600132 regulator-min-microvolt = <3700000>;
133 regulator-max-microvolt = <3700000>;
Tom Rini93743d22024-04-01 09:08:13 -0400134 };
135};
136
137&apps_rsc {
138 regulators-0 {
139 compatible = "qcom,pm7325-rpmh-regulators";
140 qcom,pmic-id = "b";
141
142 vdd-s1-supply = <&vph_pwr>;
143 vdd-s2-supply = <&vph_pwr>;
144 vdd-s3-supply = <&vph_pwr>;
145 vdd-s4-supply = <&vph_pwr>;
146 vdd-s5-supply = <&vph_pwr>;
147 vdd-s6-supply = <&vph_pwr>;
148 vdd-s7-supply = <&vph_pwr>;
149 vdd-s8-supply = <&vph_pwr>;
150 vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>;
151 vdd-l2-l7-supply = <&vreg_bob_3p296>;
152 vdd-l3-supply = <&vreg_s2b_0p876>;
153 vdd-l5-supply = <&vreg_s2b_0p876>;
154 vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>;
155 vdd-l8-supply = <&vreg_s7b_0p972>;
156 vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>;
157 vdd-l13-supply = <&vreg_s7b_0p972>;
158 vdd-l14-l16-supply = <&vreg_s8b_1p272>;
159
160 vreg_s1b_1p872: smps1 {
161 regulator-min-microvolt = <1840000>;
162 regulator-max-microvolt = <2040000>;
163 };
164
165 vreg_s2b_0p876: smps2 {
166 regulator-min-microvolt = <570070>;
167 regulator-max-microvolt = <1050000>;
168 };
169
170 vreg_s7b_0p972: smps7 {
171 regulator-min-microvolt = <535000>;
172 regulator-max-microvolt = <1120000>;
173 };
174
175 vreg_s8b_1p272: smps8 {
176 regulator-min-microvolt = <1200000>;
177 regulator-max-microvolt = <1500000>;
178 regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>;
179 };
180
181 vreg_l1b_0p912: ldo1 {
182 regulator-min-microvolt = <825000>;
183 regulator-max-microvolt = <925000>;
184 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
185 };
186
187 vreg_l2b_3p072: ldo2 {
188 regulator-min-microvolt = <2700000>;
189 regulator-max-microvolt = <3544000>;
190 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
191 };
192
193 vreg_l3b_0p504: ldo3 {
194 regulator-min-microvolt = <312000>;
195 regulator-max-microvolt = <910000>;
196 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
197 };
198
199 vreg_l4b_0p752: ldo4 {
200 regulator-min-microvolt = <752000>;
201 regulator-max-microvolt = <820000>;
202 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
203 };
204
205 reg_l5b_0p752: ldo5 {
206 regulator-min-microvolt = <552000>;
207 regulator-max-microvolt = <832000>;
208 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
209 };
210
211 vreg_l6b_1p2: ldo6 {
212 regulator-min-microvolt = <1140000>;
213 regulator-max-microvolt = <1260000>;
214 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
215 };
216
217 vreg_l7b_2p952: ldo7 {
218 regulator-min-microvolt = <2400000>;
219 regulator-max-microvolt = <3544000>;
220 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221 };
222
223 vreg_l8b_0p904: ldo8 {
224 regulator-min-microvolt = <870000>;
225 regulator-max-microvolt = <970000>;
226 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
227 };
228
229 vreg_l9b_1p2: ldo9 {
230 regulator-min-microvolt = <1200000>;
231 regulator-max-microvolt = <1304000>;
232 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
233 };
234
235 vreg_l11b_1p504: ldo11 {
236 regulator-min-microvolt = <1504000>;
237 regulator-max-microvolt = <2000000>;
238 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
239 };
240
241 vreg_l12b_0p751: ldo12 {
242 regulator-min-microvolt = <751000>;
243 regulator-max-microvolt = <824000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
245 };
246
247 vreg_l13b_0p53: ldo13 {
248 regulator-min-microvolt = <530000>;
249 regulator-max-microvolt = <824000>;
250 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
251 };
252
253 vreg_l14b_1p08: ldo14 {
254 regulator-min-microvolt = <1080000>;
255 regulator-max-microvolt = <1304000>;
256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
257 };
258
259 vreg_l15b_0p765: ldo15 {
260 regulator-min-microvolt = <765000>;
261 regulator-max-microvolt = <1020000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263 };
264
265 vreg_l16b_1p1: ldo16 {
266 regulator-min-microvolt = <1100000>;
267 regulator-max-microvolt = <1300000>;
268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269 };
270
271 vreg_l17b_1p7: ldo17 {
272 regulator-min-microvolt = <1700000>;
273 regulator-max-microvolt = <1900000>;
274 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275 };
276
277 vreg_l18b_1p8: ldo18 {
278 regulator-min-microvolt = <1800000>;
279 regulator-max-microvolt = <2000000>;
280 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
281 };
282
283 vreg_l19b_1p8: ldo19 {
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <2000000>;
286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287 regulator-allow-set-load;
288 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
289 RPMH_REGULATOR_MODE_HPM>;
290 };
291 };
292
293 regulators-1 {
294 compatible = "qcom,pm8350c-rpmh-regulators";
295 qcom,pmic-id = "c";
296
297 vdd-s1-supply = <&vph_pwr>;
298 vdd-s2-supply = <&vph_pwr>;
299 vdd-s3-supply = <&vph_pwr>;
300 vdd-s4-supply = <&vph_pwr>;
301 vdd-s5-supply = <&vph_pwr>;
302 vdd-s6-supply = <&vph_pwr>;
303 vdd-s7-supply = <&vph_pwr>;
304 vdd-s8-supply = <&vph_pwr>;
305 vdd-s9-supply = <&vph_pwr>;
306 vdd-s10-supply = <&vph_pwr>;
307 vdd-l1-l12-supply = <&vreg_s1b_1p872>;
308 vdd-l2-l8-supply = <&vreg_s1b_1p872>;
309 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>;
310 vdd-l6-l9-l11-supply = <&vreg_bob_3p296>;
311 vdd-l10-supply = <&vreg_s7b_0p972>;
312 vdd-bob-supply = <&vph_pwr>;
313
314 vreg_s1c_2p19: smps1 {
315 regulator-min-microvolt = <2190000>;
316 regulator-max-microvolt = <2210000>;
317 };
318
319 vreg_s2c_0p752: smps2 {
320 regulator-min-microvolt = <750000>;
321 regulator-max-microvolt = <800000>;
322 };
323
324 vreg_s5c_0p752: smps5 {
325 regulator-min-microvolt = <465000>;
326 regulator-max-microvolt = <1050000>;
327 };
328
329 vreg_s7c_0p752: smps7 {
330 regulator-min-microvolt = <465000>;
331 regulator-max-microvolt = <800000>;
332 };
333
334 vreg_s9c_1p084: smps9 {
335 regulator-min-microvolt = <1010000>;
336 regulator-max-microvolt = <1170000>;
337 };
338
339 vreg_l1c_1p8: ldo1 {
340 regulator-min-microvolt = <1800000>;
341 regulator-max-microvolt = <1980000>;
342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 };
344
345 vreg_l2c_1p62: ldo2 {
346 regulator-min-microvolt = <1620000>;
347 regulator-max-microvolt = <1980000>;
348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
349 };
350
351 vreg_l3c_2p8: ldo3 {
352 regulator-min-microvolt = <2800000>;
353 regulator-max-microvolt = <3540000>;
354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
355 };
356
357 vreg_l4c_1p62: ldo4 {
358 regulator-min-microvolt = <1620000>;
359 regulator-max-microvolt = <3300000>;
360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
361 };
362
363 vreg_l5c_1p62: ldo5 {
364 regulator-min-microvolt = <1620000>;
365 regulator-max-microvolt = <3300000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367 };
368
369 vreg_l6c_2p96: ldo6 {
370 regulator-min-microvolt = <1650000>;
371 regulator-max-microvolt = <3544000>;
372 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
373 };
374
375 vreg_l7c_3p0: ldo7 {
376 regulator-min-microvolt = <3000000>;
377 regulator-max-microvolt = <3544000>;
378 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
379 };
380
381 vreg_l8c_1p62: ldo8 {
382 regulator-min-microvolt = <1620000>;
383 regulator-max-microvolt = <2000000>;
384 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385 };
386
387 vreg_l9c_2p96: ldo9 {
388 regulator-min-microvolt = <2700000>;
389 regulator-max-microvolt = <35440000>;
390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391 };
392
393 vreg_l10c_0p88: ldo10 {
394 regulator-min-microvolt = <720000>;
395 regulator-max-microvolt = <1050000>;
396 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
397 };
398
399 vreg_l11c_2p8: ldo11 {
400 regulator-min-microvolt = <2800000>;
401 regulator-max-microvolt = <3544000>;
402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403 };
404
405 vreg_l12c_1p65: ldo12 {
406 regulator-min-microvolt = <1650000>;
407 regulator-max-microvolt = <2000000>;
408 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
409 };
410
411 vreg_l13c_2p7: ldo13 {
412 regulator-min-microvolt = <2700000>;
413 regulator-max-microvolt = <3544000>;
414 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
415 };
416
417 vreg_bob_3p296: bob {
418 regulator-min-microvolt = <3008000>;
419 regulator-max-microvolt = <3960000>;
420 };
421 };
422};
423
Tom Rini6bb92fc2024-05-20 09:54:58 -0600424&pm8350c_pwm {
425 status = "okay";
426
427 multi-led {
428 color = <LED_COLOR_ID_RGB>;
429 function = LED_FUNCTION_STATUS;
430
431 #address-cells = <1>;
432 #size-cells = <0>;
433
434 led@1 {
435 reg = <1>;
436 color = <LED_COLOR_ID_RED>;
437 };
438
439 led@2 {
440 reg = <2>;
441 color = <LED_COLOR_ID_GREEN>;
442 };
443
444 led@3 {
445 reg = <3>;
446 color = <LED_COLOR_ID_BLUE>;
447 };
448 };
449};
450
Tom Rini93743d22024-04-01 09:08:13 -0400451&qupv3_id_0 {
452 status = "okay";
453};
454
455&sdhc_1 {
456 non-removable;
457 no-sd;
458 no-sdio;
459
460 vmmc-supply = <&vreg_l7b_2p952>;
461 vqmmc-supply = <&vreg_l19b_1p8>;
462
463 status = "okay";
464};
465
466&tlmm {
467 gpio-reserved-ranges = <32 2>, /* ADSP */
468 <48 4>; /* NFC */
469};
470
471&uart5 {
472 compatible = "qcom,geni-debug-uart";
473 status = "okay";
474};
475
476&usb_1 {
477 status = "okay";
478};
479
480&usb_1_dwc3 {
481 dr_mode = "peripheral";
482};
483
484&usb_1_hsphy {
485 vdda-pll-supply = <&vreg_l10c_0p88>;
486 vdda33-supply = <&vreg_l2b_3p072>;
487 vdda18-supply = <&vreg_l1c_1p8>;
488
489 status = "okay";
490};
491
492&usb_1_qmpphy {
493 vdda-phy-supply = <&vreg_l6b_1p2>;
494 vdda-pll-supply = <&vreg_l1b_0p912>;
495
496 status = "okay";
497};
498
499&wifi {
500 memory-region = <&wlan_fw_mem>;
501};