Lines Matching +full:pre +full:- +full:scaling
1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
15 #include <dt-bindings/firmware/qcom,scm.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
18 #include <dt-bindings/input/input.h>
19 #include <dt-bindings/leds/common.h>
20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
22 #include <dt-bindings/usb/pd.h>
32 chassis-type = "handset";
35 qcom,msm-id = <434 0x10000>, <459 0x10000>;
36 qcom,board-id = <8 32>;
44 #address-cells = <2>;
45 #size-cells = <2>;
48 stdout-path = "serial0:115200n8";
51 compatible = "simple-framebuffer";
60 gpio-keys {
61 compatible = "gpio-keys";
62 pinctrl-names = "default";
63 pinctrl-0 = <&gpio_keys_pin>;
65 key-volume-up {
73 lcdb_dummy: regulator-lcdb-dummy {
74 compatible = "regulator-fixed";
75 regulator-name = "lcdb_dummy";
76 regulator-min-microvolt = <5500000>;
77 regulator-max-microvolt = <5500000>;
80 reserved-memory {
87 compatible = "qcom,rmtfs-mem";
89 no-map;
91 qcom,client-id = <1>;
96 msm_therm_sensor: thermal-sensor-msm {
97 compatible = "generic-adc-thermal";
98 #thermal-sensor-cells = <0>;
99 io-channels = <&pm6150l_adc ADC5_AMUX_THM2_100K_PU>;
100 io-channel-names = "sensor-channel";
103 rear_cam_sensor: thermal-sensor-rear-cam {
104 compatible = "generic-adc-thermal";
105 #thermal-sensor-cells = <0>;
106 io-channels = <&pm6150l_adc ADC5_GPIO2_100K_PU>;
107 io-channel-names = "sensor-channel";
110 thermal-zones {
111 chg-skin-thermal {
112 thermal-sensors = <&pm7250b_adc_tm 0>;
115 active-config0 {
123 conn-thermal {
124 thermal-sensors = <&pm7250b_adc_tm 1>;
127 active-config0 {
135 pa0-thermal {
136 thermal-sensors = <&pm6150l_adc_tm 1>;
139 active-config0 {
147 pa1-thermal {
148 thermal-sensors = <&pm6150l_adc_tm 0>;
151 active-config0 {
159 pm8008-thermal {
160 polling-delay-passive = <100>;
161 thermal-sensors = <&pm8008>;
178 quiet-thermal {
179 thermal-sensors = <&pm6150l_adc_tm 3>;
182 active-config0 {
190 rear-cam-thermal {
191 polling-delay-passive = <1000>;
192 polling-delay = <5000>;
193 thermal-sensors = <&rear_cam_sensor>;
196 active-config0 {
204 rfc-flash-thermal {
205 thermal-sensors = <&pm6150l_adc_tm 2>;
208 active-config0 {
216 sdm-skin-thermal {
217 polling-delay-passive = <1000>;
218 polling-delay = <5000>;
219 thermal-sensors = <&msm_therm_sensor>;
236 xo-thermal {
237 thermal-sensors = <&pmk8350_adc_tm 0>;
240 active-config0 {
251 firmware-name = "qcom/sm7225/fairphone4/adsp.mbn";
256 regulators-0 {
257 compatible = "qcom,pm6350-rpmh-regulators";
258 qcom,pmic-id = "a";
261 regulator-name = "vreg_s1a";
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <1200000>;
267 regulator-name = "vreg_s2a";
268 regulator-min-microvolt = <1503000>;
269 regulator-max-microvolt = <2048000>;
273 regulator-name = "vreg_l2a";
274 regulator-min-microvolt = <1503000>;
275 regulator-max-microvolt = <1980000>;
276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280 regulator-name = "vreg_l3a";
281 regulator-min-microvolt = <2700000>;
282 regulator-max-microvolt = <3300000>;
283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287 regulator-name = "vreg_l4a";
288 regulator-min-microvolt = <352000>;
289 regulator-max-microvolt = <801000>;
290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294 regulator-name = "vreg_l5a";
295 regulator-min-microvolt = <1503000>;
296 regulator-max-microvolt = <1980000>;
297 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301 regulator-name = "vreg_l6a";
302 regulator-min-microvolt = <1710000>;
303 regulator-max-microvolt = <3544000>;
304 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
308 regulator-name = "vreg_l7a";
309 regulator-min-microvolt = <1620000>;
310 regulator-max-microvolt = <1980000>;
311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-name = "vreg_l8a";
316 regulator-min-microvolt = <2800000>;
317 regulator-max-microvolt = <2800000>;
318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
322 regulator-name = "vreg_l9a";
323 regulator-min-microvolt = <1650000>;
324 regulator-max-microvolt = <3401000>;
325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
329 regulator-name = "vreg_l11a";
330 regulator-min-microvolt = <1800000>;
331 regulator-max-microvolt = <2000000>;
332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
336 regulator-name = "vreg_l12a";
337 regulator-min-microvolt = <1620000>;
338 regulator-max-microvolt = <1980000>;
339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
343 regulator-name = "vreg_l13a";
344 regulator-min-microvolt = <570000>;
345 regulator-max-microvolt = <650000>;
346 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
350 regulator-name = "vreg_l14a";
351 regulator-min-microvolt = <1700000>;
352 regulator-max-microvolt = <1900000>;
353 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
357 regulator-name = "vreg_l15a";
358 regulator-min-microvolt = <1100000>;
359 regulator-max-microvolt = <1305000>;
360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
364 regulator-name = "vreg_l16a";
365 regulator-min-microvolt = <830000>;
366 regulator-max-microvolt = <921000>;
367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371 regulator-name = "vreg_l18a";
372 regulator-min-microvolt = <788000>;
373 regulator-max-microvolt = <1049000>;
374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
378 regulator-name = "vreg_l19a";
379 regulator-min-microvolt = <1080000>;
380 regulator-max-microvolt = <1305000>;
381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
385 regulator-name = "vreg_l20a";
386 regulator-min-microvolt = <530000>;
387 regulator-max-microvolt = <801000>;
388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
392 regulator-name = "vreg_l21a";
393 regulator-min-microvolt = <751000>;
394 regulator-max-microvolt = <825000>;
395 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
399 regulator-name = "vreg_l22a";
400 regulator-min-microvolt = <1080000>;
401 regulator-max-microvolt = <1305000>;
402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
406 regulators-1 {
407 compatible = "qcom,pm6150l-rpmh-regulators";
408 qcom,pmic-id = "e";
411 regulator-name = "vreg_s8e";
412 regulator-min-microvolt = <313000>;
413 regulator-max-microvolt = <1395000>;
417 regulator-name = "vreg_l1e";
418 regulator-min-microvolt = <1620000>;
419 regulator-max-microvolt = <1980000>;
420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
424 regulator-name = "vreg_l2e";
425 regulator-min-microvolt = <1170000>;
426 regulator-max-microvolt = <1305000>;
427 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
431 regulator-name = "vreg_l3e";
432 regulator-min-microvolt = <1100000>;
433 regulator-max-microvolt = <1299000>;
434 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
438 regulator-name = "vreg_l4e";
439 regulator-min-microvolt = <1620000>;
440 regulator-max-microvolt = <3300000>;
441 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
445 regulator-name = "vreg_l5e";
446 regulator-min-microvolt = <1620000>;
447 regulator-max-microvolt = <3300000>;
448 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
452 regulator-name = "vreg_l6e";
453 regulator-min-microvolt = <1700000>;
454 regulator-max-microvolt = <2950000>;
455 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
456 regulator-allow-set-load;
457 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
462 regulator-name = "vreg_l7e";
463 regulator-min-microvolt = <2700000>;
464 regulator-max-microvolt = <3544000>;
465 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
469 regulator-name = "vreg_l8e";
470 regulator-min-microvolt = <1620000>;
471 regulator-max-microvolt = <2000000>;
472 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
476 regulator-name = "vreg_l9e";
477 regulator-min-microvolt = <2700000>;
478 regulator-max-microvolt = <2960000>;
479 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
480 regulator-allow-set-load;
481 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
486 regulator-name = "vreg_l10e";
487 regulator-min-microvolt = <3000000>;
488 regulator-max-microvolt = <3401000>;
489 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
493 regulator-name = "vreg_l11e";
494 regulator-min-microvolt = <3000000>;
495 regulator-max-microvolt = <3401000>;
496 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
500 regulator-name = "vreg_bob";
501 regulator-min-microvolt = <1620000>;
502 regulator-max-microvolt = <5492000>;
503 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
504 regulator-allow-bypass;
530 firmware-name = "qcom/sm7225/fairphone4/cdsp.mbn";
547 firmware-name = "qcom/sm7225/fairphone4/a615_zap.mbn";
551 clock-frequency = <400000>;
561 clock-frequency = <400000>;
568 clock-frequency = <400000>;
575 interrupts-extended = <&tlmm 59 IRQ_TYPE_EDGE_RISING>;
576 reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
578 vdd-l1-l2-supply = <&vreg_s8e>;
579 vdd-l3-l4-supply = <&vreg_bob>;
580 vdd-l5-supply = <&vreg_bob>;
581 vdd-l6-supply = <&vreg_s2a>;
582 vdd-l7-supply = <&vreg_bob>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&pm8008_default>;
587 gpio-controller;
588 #gpio-cells = <2>;
589 gpio-ranges = <&pm8008 0 0 2>;
591 interrupt-controller;
592 #interrupt-cells = <2>;
594 #thermal-sensor-cells = <0>;
598 regulator-name = "vreg_l1p";
599 regulator-min-microvolt = <528000>;
600 regulator-max-microvolt = <1200000>;
604 regulator-name = "vreg_l2p";
605 regulator-min-microvolt = <528000>;
606 regulator-max-microvolt = <1200000>;
610 regulator-name = "vreg_l3p";
611 regulator-min-microvolt = <1500000>;
612 regulator-max-microvolt = <2800000>;
616 regulator-name = "vreg_l4p";
617 regulator-min-microvolt = <1500000>;
618 regulator-max-microvolt = <2904000>;
622 regulator-name = "vreg_l5p";
623 regulator-min-microvolt = <1500000>;
624 regulator-max-microvolt = <2900000>;
628 regulator-name = "vreg_l6p";
629 regulator-min-microvolt = <1500000>;
630 regulator-max-microvolt = <1800000>;
634 regulator-name = "vreg_l7p";
635 regulator-min-microvolt = <1500000>;
636 regulator-max-microvolt = <3140000>;
647 qcom,gsi-loader = "self";
648 memory-region = <&pil_ipa_fw_mem>;
649 firmware-name = "qcom/sm7225/fairphone4/ipa_fws.mbn";
658 vdda-supply = <&vreg_l22a>;
662 compatible = "djn,9a-3r063-1102b";
666 reset-gpios = <&pm6150l_gpios 9 GPIO_ACTIVE_LOW>;
668 vdd1-supply = <&vreg_l1e>;
669 vsn-supply = <&lcdb_dummy>;
670 vsp-supply = <&lcdb_dummy>;
674 remote-endpoint = <&mdss_dsi0_out>;
681 data-lanes = <0 1 2 3>;
682 remote-endpoint = <&panel_in>;
686 vdds-supply = <&vreg_l18a>;
691 firmware-name = "qcom/sm7225/fairphone4/modem.mbn";
696 pinctrl-0 = <&pm6150l_adc_default>;
697 pinctrl-names = "default";
702 qcom,hw-settle-time = <200>;
703 qcom,pre-scaling = <1 1>;
710 qcom,hw-settle-time = <200>;
711 qcom,pre-scaling = <1 1>;
718 qcom,hw-settle-time = <200>;
719 qcom,pre-scaling = <1 1>;
726 qcom,hw-settle-time = <200>;
727 qcom,pre-scaling = <1 1>;
734 qcom,hw-settle-time = <200>;
735 qcom,pre-scaling = <1 1>;
742 qcom,hw-settle-time = <200>;
743 qcom,pre-scaling = <1 1>;
751 pa-therm1@0 {
753 io-channels = <&pm6150l_adc ADC5_AMUX_THM1_100K_PU>;
754 qcom,hw-settle-time-us = <200>;
758 pa-therm0@1 {
760 io-channels = <&pm6150l_adc ADC5_AMUX_THM3_100K_PU>;
761 qcom,hw-settle-time-us = <200>;
765 rear-cam-flash-therm@2 {
767 io-channels = <&pm6150l_adc ADC5_GPIO3_100K_PU>;
768 qcom,hw-settle-time-us = <200>;
772 quiet-therm@3 {
774 io-channels = <&pm6150l_adc ADC5_GPIO4_100K_PU>;
775 qcom,hw-settle-time-us = <200>;
783 led-0 {
786 led-sources = <1>;
787 led-max-microamp = <180000>;
788 flash-max-microamp = <1000000>;
789 flash-max-timeout-us = <1280000>;
792 led-1 {
795 led-sources = <2>;
796 led-max-microamp = <180000>;
797 flash-max-microamp = <1000000>;
798 flash-max-timeout-us = <1280000>;
803 pm6150l_adc_default: adc-default-state {
806 bias-high-impedance;
811 qcom,switching-freq = <800>;
812 qcom,current-limit-microamp = <20000>;
813 qcom,num-strings = <2>;
819 gpio_keys_pin: gpio-keys-state {
822 bias-pull-up;
823 input-enable;
824 power-source = <0>;
837 qcom,hw-settle-time = <200>;
838 qcom,pre-scaling = <1 1>;
845 qcom,hw-settle-time = <200>;
846 qcom,pre-scaling = <1 1>;
854 charger-skin-therm@0 {
856 io-channels = <&pm7250b_adc ADC5_AMUX_THM1_100K_PU>;
858 qcom,hw-settle-time-us = <200>;
861 conn-therm@1 {
863 io-channels = <&pm7250b_adc ADC5_AMUX_THM3_100K_PU>;
865 qcom,hw-settle-time-us = <200>;
870 vdd-pdphy-supply = <&vreg_l3a>;
875 compatible = "usb-c-connector";
877 power-role = "dual";
878 data-role = "dual";
879 self-powered;
884 * charge still - without charger driver
886 typec-power-opmode = "default";
887 pd-disable;
890 #address-cells = <1>;
891 #size-cells = <0>;
896 remote-endpoint = <&usb_1_dwc3_hs_out>;
903 remote-endpoint = <&usb_1_qmpphy_out>;
911 regulator-min-microamp = <500000>;
912 regulator-max-microamp = <1500000>;
919 xo-therm@0 {
921 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
922 qcom,hw-settle-time-us = <200>;
935 qcom,hw-settle-time = <200>;
936 qcom,pre-scaling = <1 1>;
943 * Configure a bias-bus-hold on CTS to lower power
949 bias-bus-hold;
954 drive-strength = <2>;
955 bias-disable;
960 * Configure a pull-up on RX. This is needed to avoid
962 * in tri-state (module powered off or not driving the
965 bias-pull-up;
970 drive-strength = <2>;
971 bias-disable;
983 sd-cd-pins {
986 drive-strength = <2>;
987 bias-disable;
992 sd-cd-pins {
995 drive-strength = <2>;
996 bias-pull-up;
1001 vmmc-supply = <&vreg_l9e>;
1002 vqmmc-supply = <&vreg_l6e>;
1004 cd-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
1010 gpio-reserved-ranges = <13 4>, <56 2>;
1012 qup_uart1_sleep_cts: qup-uart1-sleep-cts-state {
1016 * Configure a bias-bus-hold on CTS to lower power
1022 bias-bus-hold;
1025 qup_uart1_sleep_rts: qup-uart1-sleep-rts-state {
1029 * Configure pull-down on RTS. As RTS is active low
1034 bias-pull-down;
1037 qup_uart1_sleep_rx: qup-uart1-sleep-rx-state {
1041 * Configure a pull-up on RX. This is needed to avoid
1045 bias-pull-up;
1048 qup_uart1_sleep_tx: qup-uart1-sleep-tx-state {
1052 * Configure pull-up on TX when it isn't actively driven
1055 bias-pull-up;
1058 pm8008_default: pm8008-default-state {
1059 int-pins {
1062 drive-strength = <2>;
1063 bias-pull-down;
1066 reset-n-pins {
1069 drive-strength = <2>;
1070 bias-disable;
1076 /delete-property/ interrupts;
1077 interrupts-extended = <&intc GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>,
1080 pinctrl-names = "default", "sleep";
1081 …pinctrl-1 = <&qup_uart1_sleep_cts>, <&qup_uart1_sleep_rts>, <&qup_uart1_sleep_tx>, <&qup_uart1_sle…
1086 compatible = "qcom,wcn3988-bt";
1088 vddio-supply = <&vreg_l11a>;
1089 vddxo-supply = <&vreg_l7a>;
1090 vddrf-supply = <&vreg_l2e>;
1091 vddch0-supply = <&vreg_l10e>;
1092 swctrl-gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
1094 max-speed = <3200000>;
1103 reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>;
1105 vcc-supply = <&vreg_l7e>;
1106 vcc-max-microamp = <800000>;
1107 vccq2-supply = <&vreg_l12a>;
1108 vccq2-max-microamp = <800000>;
1114 vdda-phy-supply = <&vreg_l18a>;
1115 vdda-pll-supply = <&vreg_l22a>;
1125 maximum-speed = "super-speed";
1130 remote-endpoint = <&pm7250b_hs_in>;
1134 vdd-supply = <&vreg_l18a>;
1135 vdda-pll-supply = <&vreg_l2a>;
1136 vdda-phy-dpdm-supply = <&vreg_l3a>;
1142 vdda-phy-supply = <&vreg_l22a>;
1143 vdda-pll-supply = <&vreg_l16a>;
1149 remote-endpoint = <&pm7250b_ss_in>;
1153 vdd-0.8-cx-mx-supply = <&vreg_l4a>;
1154 vdd-1.8-xo-supply = <&vreg_l7a>;
1155 vdd-1.3-rfa-supply = <&vreg_l2e>;
1156 vdd-3.3-ch0-supply = <&vreg_l10e>;
1157 vdd-3.3-ch1-supply = <&vreg_l11e>;