Lines Matching +full:qcom +full:- +full:pmic +full:- +full:gpio +full:- +full:state
1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h>
13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
23 /delete-node/ &rmtfs_mem;
27 compatible = "fairphone,fp5", "qcom,qcm6490";
28 chassis-type = "handset";
36 #address-cells = <2>;
37 #size-cells = <2>;
41 compatible = "simple-framebuffer";
51 gpio-keys {
52 compatible = "gpio-keys";
54 pinctrl-0 = <&volume_down_default>, <&hall_sensor_default>;
55 pinctrl-names = "default";
57 key-volume-up {
63 /* Powered by the always-on vreg_l8c */
64 event-hall-sensor {
67 linux,input-type = <EV_SW>;
69 linux,can-disable;
70 wakeup-source;
74 reserved-memory {
75 cont_splash_mem: cont-splash@e1000000 {
77 no-map;
82 no-map;
86 compatible = "qcom,rmtfs-mem";
88 no-map;
90 qcom,client-id = <1>;
91 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>, <QCOM_SCM_VMID_NAV>;
95 ois_avdd0_1p8: regulator-ois-avdd0-1p8 {
96 compatible = "regulator-fixed";
97 regulator-name = "OIS_AVDD0_1P8";
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <1800000>;
100 gpio = <&tlmm 157 GPIO_ACTIVE_HIGH>;
101 enable-active-high;
102 vin-supply = <&vreg_bob>;
105 ois_dvdd_1p1: regulator-ois-dvdd-1p1 {
106 compatible = "regulator-fixed";
107 regulator-name = "OIS_DVDD_1P1";
108 regulator-min-microvolt = <1100000>;
109 regulator-max-microvolt = <1100000>;
110 gpio = <&tlmm 97 GPIO_ACTIVE_HIGH>;
111 enable-active-high;
112 vin-supply = <&vreg_s8b>;
115 afvdd_2p8: regulator-afvdd-2p8 {
116 compatible = "regulator-fixed";
117 regulator-name = "AFVDD_2P8";
118 regulator-min-microvolt = <2800000>;
119 regulator-max-microvolt = <2800000>;
120 gpio = <&tlmm 68 GPIO_ACTIVE_HIGH>;
121 enable-active-high;
122 vin-supply = <&vreg_bob>;
125 thermal-zones {
126 camera-thermal {
127 polling-delay-passive = <0>;
128 polling-delay = <0>;
129 thermal-sensors = <&pmk8350_adc_tm 2>;
132 active-config0 {
140 chg-skin-thermal {
141 polling-delay-passive = <0>;
142 polling-delay = <0>;
143 thermal-sensors = <&pm7250b_adc_tm 0>;
146 active-config0 {
154 conn-thermal {
155 polling-delay-passive = <0>;
156 polling-delay = <0>;
157 thermal-sensors = <&pm7250b_adc_tm 1>;
160 active-config0 {
168 quiet-thermal {
169 polling-delay-passive = <0>;
170 polling-delay = <0>;
171 thermal-sensors = <&pmk8350_adc_tm 1>;
174 active-config0 {
182 rear-cam-thermal {
183 polling-delay-passive = <0>;
184 polling-delay = <0>;
185 thermal-sensors = <&pmk8350_adc_tm 4>;
188 active-config0 {
196 sdm-skin-thermal {
197 polling-delay-passive = <0>;
198 polling-delay = <0>;
199 thermal-sensors = <&pmk8350_adc_tm 3>;
202 active-config0 {
210 xo-thermal {
211 polling-delay-passive = <0>;
212 polling-delay = <0>;
213 thermal-sensors = <&pmk8350_adc_tm 0>;
216 active-config0 {
227 regulators-0 {
228 compatible = "qcom,pm7325-rpmh-regulators";
229 qcom,pmic-id = "b";
232 regulator-min-microvolt = <1840000>;
233 regulator-max-microvolt = <2040000>;
237 regulator-min-microvolt = <535000>;
238 regulator-max-microvolt = <1120000>;
242 regulator-min-microvolt = <1200000>;
243 regulator-max-microvolt = <1500000>;
244 regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>;
248 regulator-min-microvolt = <825000>;
249 regulator-max-microvolt = <925000>;
250 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
254 regulator-min-microvolt = <2700000>;
255 regulator-max-microvolt = <3544000>;
256 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
260 regulator-min-microvolt = <312000>;
261 regulator-max-microvolt = <910000>;
262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
266 regulator-min-microvolt = <1140000>;
267 regulator-max-microvolt = <1260000>;
268 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273 regulator-min-microvolt = <2952000>;
274 regulator-max-microvolt = <2952000>;
275 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
279 regulator-min-microvolt = <870000>;
280 regulator-max-microvolt = <970000>;
281 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
285 regulator-min-microvolt = <1200000>;
286 regulator-max-microvolt = <1304000>;
287 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
291 regulator-min-microvolt = <1504000>;
292 regulator-max-microvolt = <2000000>;
293 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297 regulator-min-microvolt = <751000>;
298 regulator-max-microvolt = <824000>;
299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 regulator-min-microvolt = <530000>;
304 regulator-max-microvolt = <824000>;
305 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
309 regulator-min-microvolt = <1080000>;
310 regulator-max-microvolt = <1304000>;
311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
315 regulator-min-microvolt = <765000>;
316 regulator-max-microvolt = <1020000>;
317 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
321 regulator-min-microvolt = <1100000>;
322 regulator-max-microvolt = <1300000>;
323 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
327 regulator-min-microvolt = <1700000>;
328 regulator-max-microvolt = <1900000>;
329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <2000000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339 regulator-min-microvolt = <1800000>;
340 regulator-max-microvolt = <2000000>;
341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
345 regulators-1 {
346 compatible = "qcom,pm8350c-rpmh-regulators";
347 qcom,pmic-id = "c";
350 regulator-min-microvolt = <2190000>;
351 regulator-max-microvolt = <2210000>;
352 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
356 regulator-min-microvolt = <1010000>;
357 regulator-max-microvolt = <1170000>;
358 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
362 regulator-min-microvolt = <1800000>;
363 regulator-max-microvolt = <1980000>;
364 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1950000>;
370 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374 regulator-min-microvolt = <3000000>;
375 regulator-max-microvolt = <3400000>;
376 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
380 regulator-min-microvolt = <1620000>;
381 regulator-max-microvolt = <3300000>;
382 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
386 regulator-min-microvolt = <1620000>;
387 regulator-max-microvolt = <3300000>;
388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
392 regulator-min-microvolt = <1650000>;
393 regulator-max-microvolt = <3544000>;
394 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
398 regulator-min-microvolt = <3000000>;
399 regulator-max-microvolt = <3544000>;
400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
404 regulator-min-microvolt = <1620000>;
405 regulator-max-microvolt = <2000000>;
406 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
408 regulator-always-on;
412 regulator-min-microvolt = <2700000>;
413 regulator-max-microvolt = <3544000>;
414 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
418 regulator-min-microvolt = <720000>;
419 regulator-max-microvolt = <1050000>;
420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
424 regulator-min-microvolt = <2800000>;
425 regulator-max-microvolt = <3544000>;
426 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430 regulator-min-microvolt = <1650000>;
431 regulator-max-microvolt = <2000000>;
432 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
436 regulator-min-microvolt = <2700000>;
437 regulator-max-microvolt = <3544000>;
438 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
442 regulator-min-microvolt = <3008000>;
443 regulator-max-microvolt = <3960000>;
444 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
450 /* Disable for now so simple-framebuffer continues working */
455 protected-clocks = <GCC_CFG_NOC_LPASS_CLK>,
483 /* PM8008 PMIC @ 8 and 9 */
510 qcom,gsi-loader = "self";
511 memory-region = <&ipa_fw_mem>;
512 firmware-name = "qcom/qcm6490/fairphone5/ipa_fws.mdt";
519 qcom,ratiometric;
520 qcom,hw-settle-time = <200>;
521 qcom,pre-scaling = <1 1>;
527 qcom,ratiometric;
528 qcom,hw-settle-time = <200>;
529 qcom,pre-scaling = <1 1>;
537 charger-skin-therm@0 {
539 io-channels = <&pm7250b_adc ADC5_AMUX_THM1_100K_PU>;
540 qcom,ratiometric;
541 qcom,hw-settle-time-us = <200>;
544 conn-therm@1 {
546 io-channels = <&pm7250b_adc ADC5_AMUX_THM3_100K_PU>;
547 qcom,ratiometric;
548 qcom,hw-settle-time-us = <200>;
553 volume_down_default: volume-down-default-state {
556 power-source = <1>;
557 bias-pull-up;
558 input-enable;
565 led-0 {
568 led-sources = <1>, <4>;
569 led-max-microamp = <500000>;
570 flash-max-microamp = <1500000>;
571 flash-max-timeout-us = <1280000>;
578 xo-therm@0 {
580 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
581 qcom,ratiometric;
582 qcom,hw-settle-time-us = <200>;
585 quiet-therm@1 {
587 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>;
588 qcom,ratiometric;
589 qcom,hw-settle-time-us = <200>;
592 cam-flash-therm@2 {
594 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM2_100K_PU>;
595 qcom,ratiometric;
596 qcom,hw-settle-time-us = <200>;
599 sdm-skin-therm@3 {
601 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>;
602 qcom,ratiometric;
603 qcom,hw-settle-time-us = <200>;
606 wide-rfc-therm@4 {
608 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM4_100K_PU>;
609 qcom,ratiometric;
610 qcom,hw-settle-time-us = <200>;
623 qcom,ratiometric;
624 qcom,hw-settle-time = <200>;
625 qcom,pre-scaling = <1 1>;
631 qcom,ratiometric;
632 qcom,hw-settle-time = <200>;
633 qcom,pre-scaling = <1 1>;
639 qcom,ratiometric;
640 qcom,hw-settle-time = <200>;
641 qcom,pre-scaling = <1 1>;
647 qcom,ratiometric;
648 qcom,hw-settle-time = <200>;
649 qcom,pre-scaling = <1 1>;
655 qcom,ratiometric;
656 qcom,hw-settle-time = <200>;
657 qcom,pre-scaling = <1 1>;
672 drive-strength = <6>;
673 bias-disable;
677 drive-strength = <6>;
678 bias-disable;
682 drive-strength = <2>;
683 bias-disable;
687 drive-strength = <2>;
688 bias-disable;
700 firmware-name = "qcom/qcm6490/fairphone5/adsp.mbn";
705 firmware-name = "qcom/qcm6490/fairphone5/cdsp.mbn";
710 firmware-name = "qcom/qcm6490/fairphone5/modem.mbn";
715 firmware-name = "qcom/qcm6490/fairphone5/wpss.mbn";
720 drive-strength = <16>;
721 bias-disable;
725 drive-strength = <10>;
726 bias-pull-up;
730 drive-strength = <10>;
731 bias-pull-up;
735 vmmc-supply = <&vreg_l9c>;
736 vqmmc-supply = <&vreg_l6c>;
738 pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>;
739 pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>;
752 * 32-33: SMB1394 (SPMI)
753 * 56-59: fingerprint reader (SPI)
755 gpio-reserved-ranges = <32 2>, <56 4>;
757 bluetooth_enable_default: bluetooth-enable-default-state {
759 function = "gpio";
760 output-low;
761 bias-disable;
764 hall_sensor_default: hall-sensor-default-state {
766 function = "gpio";
767 drive-strength = <2>;
768 bias-pull-up;
771 qup_uart7_sleep_cts: qup-uart7-sleep-cts-state {
773 function = "gpio";
775 * Configure a bias-bus-hold on CTS to lower power
777 * maintain a low power state regardless of whether
781 bias-bus-hold;
784 qup_uart7_sleep_rts: qup-uart7-sleep-rts-state {
786 function = "gpio";
788 * Configure pull-down on RTS. As RTS is active low
790 * can wakeup the system anytime from suspend state by
793 bias-pull-down;
796 qup_uart7_sleep_tx: qup-uart7-sleep-tx-state {
798 function = "gpio";
800 * Configure pull-up on TX when it isn't actively driven
803 bias-pull-up;
806 qup_uart7_sleep_rx: qup-uart7-sleep-rx-state {
808 function = "gpio";
810 * Configure a pull-up on RX. This is needed to avoid
814 bias-pull-up;
817 sw_ctrl_default: sw-ctrl-default-state {
819 function = "gpio";
820 bias-pull-down;
825 compatible = "qcom,geni-debug-uart";
830 /delete-property/interrupts;
831 interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
834 …pinctrl-1 = <&qup_uart7_sleep_cts>, <&qup_uart7_sleep_rts>, <&qup_uart7_sleep_tx>, <&qup_uart7_sle…
835 pinctrl-names = "default", "sleep";
840 compatible = "qcom,wcn6750-bt";
842 pinctrl-0 = <&bluetooth_enable_default>, <&sw_ctrl_default>;
843 pinctrl-names = "default";
845 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
846 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
848 vddio-supply = <&vreg_l19b>;
849 vddaon-supply = <&vreg_s7b>;
850 vddbtcxmx-supply = <&vreg_s7b>;
851 vddrfacmn-supply = <&vreg_s7b>;
852 vddrfa0p8-supply = <&vreg_s7b>;
853 vddrfa1p7-supply = <&vreg_s1b>;
854 vddrfa1p2-supply = <&vreg_s8b>;
855 vddrfa2p2-supply = <&vreg_s1c>;
856 vddasd-supply = <&vreg_l11c>;
858 max-speed = <3200000>;
863 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
865 vcc-supply = <&vreg_l7b>;
866 vcc-max-microamp = <800000>;
871 vccq-supply = <&vreg_l9b>;
872 vccq-max-microamp = <900000>;
878 vdda-phy-supply = <&vreg_l10c>;
879 vdda-pll-supply = <&vreg_l6b>;
893 vdda-pll-supply = <&vreg_l10c>;
894 vdda18-supply = <&vreg_l1c>;
895 vdda33-supply = <&vreg_l2b>;
897 qcom,hs-crossover-voltage-microvolt = <28000>;
898 qcom,hs-output-impedance-micro-ohms = <2600000>;
899 qcom,hs-rise-fall-time-bp = <5430>;
900 qcom,hs-disconnect-bp = <1743>;
901 qcom,hs-amplitude-bp = <2430>;
903 qcom,pre-emphasis-amplitude-bp = <20000>;
904 qcom,pre-emphasis-duration-bp = <20000>;
906 qcom,squelch-detector-bp = <(-2090)>;
912 vdda-phy-supply = <&vreg_l6b>;
913 vdda-pll-supply = <&vreg_l1b>;
919 qcom,ath11k-calibration-variant = "Fairphone_5";