Lines Matching +full:sm8350 +full:- +full:rpmh +full:- +full:clk
1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include "sm8350.dtsi"
18 * Yes, you are correct, there is NO MORE {msm,board,pmic}-id on SM8350!
24 chassis-type = "handset";
27 #address-cells = <2>;
28 #size-cells = <2>;
32 compatible = "simple-framebuffer";
35 /* The display, even though it's 4K, initializes at 1080-ish p */
42 * to unused clk cleanup & no panel driver yet
49 gpio-keys {
50 compatible = "gpio-keys";
52 pinctrl-names = "default";
53 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &g_assist_n>;
55 key-camera-focus {
59 debounce-interval = <15>;
60 linux,can-disable;
61 wakeup-source;
64 key-camera-snapshot {
68 debounce-interval = <15>;
69 linux,can-disable;
70 wakeup-source;
73 key-google-assist {
77 debounce-interval = <15>;
78 linux,can-disable;
79 wakeup-source;
82 key-vol-down {
86 debounce-interval = <15>;
87 linux,can-disable;
88 wakeup-source;
92 reserved-memory {
95 no-map;
101 console-size = <0x40000>;
102 record-size = <0x1000>;
103 no-map;
107 vph_pwr: vph-pwr-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "vph_pwr";
110 regulator-min-microvolt = <3700000>;
111 regulator-max-microvolt = <3700000>;
113 regulator-always-on;
114 regulator-boot-on;
120 firmware-name = "qcom/sm8350/Sony/sagami/adsp.mbn";
124 regulators-0 {
125 compatible = "qcom,pm8350-rpmh-regulators";
126 qcom,pmic-id = "b";
128 vdd-s1-supply = <&vph_pwr>;
129 vdd-s2-supply = <&vph_pwr>;
130 vdd-s3-supply = <&vph_pwr>;
131 vdd-s4-supply = <&vph_pwr>;
132 vdd-s5-supply = <&vph_pwr>;
133 vdd-s6-supply = <&vph_pwr>;
134 vdd-s7-supply = <&vph_pwr>;
135 vdd-s8-supply = <&vph_pwr>;
136 vdd-s9-supply = <&vph_pwr>;
137 vdd-s10-supply = <&vph_pwr>;
138 vdd-s11-supply = <&vph_pwr>;
139 vdd-s12-supply = <&vph_pwr>;
141 vdd-l1-l4-supply = <&pm8350_s11>;
142 vdd-l2-l7-supply = <&vreg_bob>;
143 vdd-l3-l5-supply = <&vreg_bob>;
144 vdd-l6-l9-l10-supply = <&pm8350_s11>;
148 * S5 - mx.lvl
149 * S6 - gfx.lvl
150 * S9 - mxc.lvl
154 regulator-name = "pm8350_s10";
155 regulator-min-microvolt = <1800000>;
156 regulator-max-microvolt = <1800000>;
157 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
161 regulator-name = "pm8350_s11";
162 regulator-min-microvolt = <752000>;
163 regulator-max-microvolt = <1000000>;
164 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
168 regulator-name = "pm8350_s12";
169 regulator-min-microvolt = <1224000>;
170 regulator-max-microvolt = <1360000>;
171 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
175 regulator-name = "pm8350_l1";
176 regulator-min-microvolt = <912000>;
177 regulator-max-microvolt = <920000>;
178 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
182 regulator-name = "pm8350_l2";
183 regulator-min-microvolt = <3072000>;
184 regulator-max-microvolt = <3072000>;
185 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
189 regulator-name = "pm8350_l3";
190 regulator-min-microvolt = <904000>;
191 regulator-max-microvolt = <904000>;
192 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
195 /* L4 - lmx.lvl (ARC) */
198 regulator-name = "pm8350_l5";
199 regulator-min-microvolt = <880000>;
200 regulator-max-microvolt = <888000>;
201 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
202 regulator-allow-set-load;
203 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
208 regulator-name = "pm8350_l6";
209 regulator-min-microvolt = <1200000>;
210 regulator-max-microvolt = <1208000>;
211 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
212 regulator-allow-set-load;
213 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
218 regulator-name = "pm8350_l7";
219 regulator-min-microvolt = <2400000>;
220 regulator-max-microvolt = <3008000>;
221 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
222 regulator-allow-set-load;
223 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
227 /* L8 - lcx.lvl (ARC) */
230 regulator-name = "pm8350_l9";
231 regulator-min-microvolt = <1200000>;
232 regulator-max-microvolt = <1200000>;
233 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234 regulator-allow-set-load;
235 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
240 regulators-1 {
241 compatible = "qcom,pm8350c-rpmh-regulators";
242 qcom,pmic-id = "c";
244 vdd-s1-supply = <&vph_pwr>;
245 vdd-s2-supply = <&vph_pwr>;
246 vdd-s3-supply = <&vph_pwr>;
247 vdd-s4-supply = <&vph_pwr>;
248 vdd-s5-supply = <&vph_pwr>;
249 vdd-s6-supply = <&vph_pwr>;
250 vdd-s7-supply = <&vph_pwr>;
251 vdd-s8-supply = <&vph_pwr>;
252 vdd-s9-supply = <&vph_pwr>;
253 vdd-s10-supply = <&vph_pwr>;
255 vdd-l1-l12-supply = <&pm8350c_s1>;
256 vdd-l2-l8-supply = <&pm8350c_s1>;
257 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
258 vdd-l6-l9-l11-supply = <&vreg_bob>;
259 vdd-l10-supply = <&pm8350_s12>;
261 vdd-bob-supply = <&vph_pwr>;
264 regulator-name = "pm8350c_s1";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1952000>;
267 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
270 /* S2 - ebi.lvl (ARC) */
273 regulator-name = "pm8350c_s3";
274 regulator-min-microvolt = <300000>;
275 regulator-max-microvolt = <704000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
281 * S4 - mss.lvl
282 * S6 - cx.lvl
283 * S8 - mmcx.lvl
287 regulator-name = "pm8350c_s10";
288 regulator-min-microvolt = <1048000>;
289 regulator-max-microvolt = <1128000>;
290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294 regulator-name = "pm8350c_l1";
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
297 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301 regulator-name = "pm8350c_l2";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
304 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
308 regulator-name = "pm8350c_l3";
309 regulator-min-microvolt = <3304000>;
310 regulator-max-microvolt = <3304000>;
311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-name = "pm8350c_l4";
316 regulator-min-microvolt = <1704000>;
317 regulator-max-microvolt = <3000000>;
318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulator-name = "pm8350c_l5";
323 regulator-min-microvolt = <1704000>;
324 regulator-max-microvolt = <3000000>;
325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 regulator-name = "pm8350c_l6";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <2960000>;
332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336 regulator-name = "pm8350c_l7";
337 regulator-min-microvolt = <3008000>;
338 regulator-max-microvolt = <3008000>;
339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 regulator-name = "pm8350c_l8";
344 regulator-min-microvolt = <1800000>;
345 regulator-max-microvolt = <1800000>;
346 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
350 regulator-name = "pm8350c_l9";
351 regulator-min-microvolt = <2960000>;
353 regulator-max-microvolt = <2960000>;
354 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
358 regulator-name = "pm8350c_l10";
359 regulator-min-microvolt = <1200000>;
360 regulator-max-microvolt = <1200000>;
361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
365 regulator-name = "pm8350c_l11";
366 regulator-min-microvolt = <2400000>;
367 regulator-max-microvolt = <3008000>;
368 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
372 regulator-name = "pm8350c_l12";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <2000000>;
375 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
379 regulator-name = "pm8350c_l13";
380 regulator-min-microvolt = <3000000>;
381 regulator-max-microvolt = <3000000>;
382 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
386 regulator-name = "vreg_bob";
387 regulator-min-microvolt = <3400000>;
388 regulator-max-microvolt = <3960000>;
389 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
395 regulators-2 {
396 compatible = "qcom,pmr735a-rpmh-regulators";
397 qcom,pmic-id = "e";
399 vdd-s1-supply = <&vph_pwr>;
400 vdd-s2-supply = <&vph_pwr>;
401 vdd-s3-supply = <&vph_pwr>;
403 vdd-l1-l2-supply = <&pmr735a_s2>;
404 vdd-l3-supply = <&pmr735a_s1>;
405 vdd-l4-supply = <&pm8350c_s1>;
406 vdd-l5-l6-supply = <&pm8350c_s1>;
407 vdd-l7-bob-supply = <&vreg_bob>;
410 regulator-name = "pmr735a_s1";
411 regulator-min-microvolt = <1200000>;
412 regulator-max-microvolt = <1280000>;
416 regulator-name = "pmr735a_s2";
417 regulator-min-microvolt = <500000>;
418 regulator-max-microvolt = <976000>;
422 regulator-name = "pmr735a_s3";
423 regulator-min-microvolt = <2208000>;
424 regulator-max-microvolt = <2352000>;
428 regulator-name = "pmr735a_l1";
429 regulator-min-microvolt = <912000>;
430 regulator-max-microvolt = <912000>;
434 regulator-name = "pmr735a_l2";
435 regulator-min-microvolt = <1200000>;
436 regulator-max-microvolt = <1200000>;
440 regulator-name = "pmr735a_l3";
441 regulator-min-microvolt = <1200000>;
442 regulator-max-microvolt = <1200000>;
446 regulator-name = "pmr735a_l4";
447 regulator-min-microvolt = <1776000>;
448 regulator-max-microvolt = <1872000>;
452 regulator-name = "pmr735a_l5";
453 regulator-min-microvolt = <800000>;
454 regulator-max-microvolt = <800000>;
458 regulator-name = "pmr735a_l6";
459 regulator-min-microvolt = <480000>;
460 regulator-max-microvolt = <904000>;
464 regulator-name = "pmr735a_l7";
465 regulator-min-microvolt = <2800000>;
466 regulator-max-microvolt = <2800000>;
473 firmware-name = "qcom/sm8350/Sony/sagami/cdsp.mbn";
478 clock-frequency = <1000000>;
485 clock-frequency = <400000>;
492 clock-frequency = <1000000>;
494 cs35l41_l: speaker-amp@40 {
497 interrupt-parent = <&tlmm>;
499 reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
500 cirrus,boost-peak-milliamp = <4000>;
501 cirrus,boost-ind-nanohenry = <1000>;
502 cirrus,boost-cap-microfarad = <15>;
503 cirrus,asp-sdout-hiz = <3>;
504 cirrus,gpio2-src-select = <2>;
505 cirrus,gpio2-output-enable;
506 #sound-dai-cells = <1>;
509 cs35l41_r: speaker-amp@41 {
512 interrupt-parent = <&tlmm>;
514 reset-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
515 cirrus,boost-peak-milliamp = <4000>;
516 cirrus,boost-ind-nanohenry = <1000>;
517 cirrus,boost-cap-microfarad = <15>;
518 cirrus,asp-sdout-hiz = <3>;
519 cirrus,gpio2-src-select = <2>;
520 cirrus,gpio2-output-enable;
521 #sound-dai-cells = <1>;
528 clock-frequency = <100000>;
536 clock-frequency = <100000>;
543 clock-frequency = <400000>;
550 clock-frequency = <1000000>;
556 qcom,gsi-loader = "self";
557 memory-region = <&pil_ipa_fw_mem>;
558 firmware-name = "qcom/sm8350/Sony/sagami/ipa_fws.mbn";
564 firmware-name = "qcom/sm8350/Sony/sagami/modem.mbn";
568 gpio-line-names = "ASSIGN1_THERM", /* GPIO_1 */
579 g_assist_n: g-assist-n-state {
582 power-source = <1>;
583 bias-pull-up;
584 input-enable;
589 snapshot_n: snapshot-n-state {
592 power-source = <0>;
593 bias-pull-up;
594 input-enable;
597 focus_n: focus-n-state {
600 power-source = <0>;
601 input-enable;
602 bias-pull-up;
607 gpio-line-names = "NC", /* GPIO_1 */
612 vol_down_n: vol-down-n-state {
615 power-source = <0>;
616 bias-pull-up;
617 input-enable;
647 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
648 pinctrl-names = "default", "sleep";
649 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_active>;
650 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_sleep>;
651 vmmc-supply = <&pm8350c_l9>;
652 vqmmc-supply = <&pm8350c_l6>;
653 no-sdio;
654 no-mmc;
660 firmware-name = "qcom/sm8350/Sony/sagami/slpi.mbn";
670 gpio-reserved-ranges = <44 4>;
671 gpio-line-names = "APPS_I2C_0_SDA", /* GPIO_0 */
875 ts_int_default: ts-int-default-state {
878 drive-strength = <2>;
879 bias-disable;
882 sdc2_card_det_active: sd-card-det-active-state {
885 drive-strength = <2>;
886 bias-pull-up;
889 sdc2_card_det_sleep: sd-card-det-sleep-state {
892 drive-strength = <2>;
893 bias-disable;
912 vdda-pll-supply = <&pm8350_l5>;
913 vdda18-supply = <&pm8350c_l1>;
914 vdda33-supply = <&pm8350_l2>;
920 vdda-phy-supply = <&pm8350_l6>;
921 vdda-pll-supply = <&pm8350_l1>;