Lines Matching +full:nxp +full:- +full:nci +full:- +full:i2c
1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/arm/qcom,ids.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h>
12 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.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>
17 #include <dt-bindings/sound/qcom,q6afe.h>
18 #include <dt-bindings/sound/qcom,q6asm.h>
26 /delete-node/ &rmtfs_mem;
31 chassis-type = "handset";
41 #address-cells = <2>;
42 #size-cells = <2>;
45 stdout-path = "serial0:115200n8";
48 compatible = "simple-framebuffer";
61 power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>;
65 gpio-keys {
66 compatible = "gpio-keys";
68 pinctrl-0 = <&kypd_volp_n>;
69 pinctrl-names = "default";
71 key-volume-up {
78 pmic-glink {
79 compatible = "qcom,sm7325-pmic-glink",
80 "qcom,qcm6490-pmic-glink",
81 "qcom,pmic-glink";
83 #address-cells = <1>;
84 #size-cells = <0>;
86 orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>;
89 compatible = "usb-c-connector";
91 power-role = "dual";
92 data-role = "dual";
95 #address-cells = <1>;
96 #size-cells = <0>;
102 remote-endpoint = <&usb_1_dwc3_hs>;
110 remote-endpoint = <&fsa4480_sbu_mux>;
117 reserved-memory {
118 #address-cells = <2>;
119 #size-cells = <2>;
125 pmsg-size = <0x200000>;
126 mem-type = <2>;
127 console-size = <0x200000>;
132 no-map;
137 no-map;
140 cont_splash_mem: cont-splash@e1000000 {
142 no-map;
146 compatible = "qcom,rmtfs-mem";
148 no-map;
150 qcom,client-id = <1>;
156 thermal-zones {
157 camera-thermal {
158 polling-delay-passive = <0>;
159 thermal-sensors = <&pmk8350_adc_tm 2>;
162 active-config0 {
170 chg-skin-thermal {
171 polling-delay-passive = <0>;
172 thermal-sensors = <&pmk8350_adc_tm 6>;
175 active-config0 {
183 conn-thermal {
184 polling-delay-passive = <0>;
185 thermal-sensors = <&pmk8350_adc_tm 5>;
188 active-config0 {
196 quiet-thermal {
197 polling-delay-passive = <0>;
198 thermal-sensors = <&pmk8350_adc_tm 1>;
201 active-config0 {
209 rear-cam-thermal {
210 polling-delay-passive = <0>;
211 thermal-sensors = <&pmk8350_adc_tm 4>;
214 active-config0 {
222 sdm-skin-thermal {
223 polling-delay-passive = <0>;
224 thermal-sensors = <&pmk8350_adc_tm 3>;
227 active-config0 {
235 xo-thermal {
236 polling-delay-passive = <0>;
237 thermal-sensors = <&pmk8350_adc_tm 0>;
240 active-config0 {
249 vph_pwr: vph-pwr-regulator {
250 compatible = "regulator-fixed";
251 regulator-name = "vph_pwr";
252 regulator-min-microvolt = <3700000>;
253 regulator-max-microvolt = <3700000>;
257 vreg_s2b_0p7: smpa3-regulator {
258 compatible = "regulator-fixed";
259 regulator-name = "vreg_s2b_0p7";
261 regulator-min-microvolt = <65535>;
262 regulator-max-microvolt = <65535>;
263 regulator-always-on;
264 vin-supply = <&vph_pwr>;
269 regulators-0 {
270 compatible = "qcom,pm7325-rpmh-regulators";
271 qcom,pmic-id = "b";
273 vdd-s1-supply = <&vph_pwr>;
274 vdd-s2-supply = <&vph_pwr>;
275 vdd-s7-supply = <&vph_pwr>;
276 vdd-s8-supply = <&vph_pwr>;
278 vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p952>;
279 vdd-l2-l7-supply = <&vreg_bob>;
280 vdd-l3-supply = <&vreg_s2b_0p7>;
281 vdd-l5-supply = <&vreg_s2b_0p7>;
282 vdd-l6-l9-l10-supply = <&vreg_s8b_1p256>;
283 vdd-l8-supply = <&vreg_s7b_0p952>;
284 vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p856>;
285 vdd-l13-supply = <&vreg_s7b_0p952>;
286 vdd-l14-l16-supply = <&vreg_s8b_1p256>;
289 * S2, L4-L5 are ARCs:
290 * S2 - ebi.lvl,
291 * L4 - lmx.lvl,
292 * l5 - lcx.lvl.
299 regulator-name = "vreg_s1b_1p856";
300 regulator-min-microvolt = <1840000>;
301 regulator-max-microvolt = <2040000>;
310 regulator-name = "vreg_s7b_0p952";
311 regulator-min-microvolt = <535000>;
312 regulator-max-microvolt = <1120000>;
317 regulator-name = "vreg_s8b_1p256";
318 regulator-min-microvolt = <1200000>;
319 regulator-max-microvolt = <1500000>;
320 regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>;
324 regulator-name = "vreg_l1b_0p912";
325 regulator-min-microvolt = <825000>;
326 regulator-max-microvolt = <925000>;
327 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332 regulator-name = "vreg_l2b_3p072";
333 regulator-min-microvolt = <2700000>;
334 regulator-max-microvolt = <3544000>;
335 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347 regulator-name = "vreg_l3b_0p6";
348 regulator-min-microvolt = <312000>;
349 regulator-max-microvolt = <910000>;
350 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
363 regulator-name = "vreg_l6b_1p2";
364 regulator-min-microvolt = <1140000>;
365 regulator-max-microvolt = <1260000>;
366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367 regulator-allow-set-load;
368 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
373 regulator-name = "vreg_l7b_2p96";
374 regulator-min-microvolt = <2400000>;
375 regulator-max-microvolt = <3544000>;
376 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
377 regulator-allow-set-load;
378 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
383 regulator-name = "vreg_l8b_0p904";
384 regulator-min-microvolt = <870000>;
385 regulator-max-microvolt = <970000>;
386 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391 regulator-name = "vreg_l9b_1p2";
392 regulator-min-microvolt = <1200000>;
393 regulator-max-microvolt = <1304000>;
394 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395 regulator-allow-set-load;
396 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
408 regulator-name = "vreg_l11b_1p776";
409 regulator-min-microvolt = <1504000>;
410 regulator-max-microvolt = <2000000>;
411 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430 regulator-name = "vreg_l12b_0p8";
431 regulator-min-microvolt = <751000>;
432 regulator-max-microvolt = <824000>;
433 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
439 regulator-name = "vreg_l13b_0p8";
440 regulator-min-microvolt = <530000>;
441 regulator-max-microvolt = <824000>;
442 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
464 regulator-name = "vreg_l14b_1p2";
465 regulator-min-microvolt = <1080000>;
466 regulator-max-microvolt = <1304000>;
467 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
474 regulator-name = "vreg_l15b_0p88";
475 regulator-min-microvolt = <765000>;
476 regulator-max-microvolt = <1020000>;
477 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
481 regulator-name = "vreg_l16b_1p2";
482 regulator-min-microvolt = <1100000>;
483 regulator-max-microvolt = <1300000>;
484 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
489 regulator-name = "vreg_l17b_1p8";
490 regulator-min-microvolt = <1700000>;
491 regulator-max-microvolt = <1900000>;
492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
501 regulator-name = "vreg_l18b_1p8";
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <2000000>;
504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
517 regulator-name = "vreg_l19b_1p8";
518 regulator-min-microvolt = <1800000>;
519 regulator-max-microvolt = <2000000>;
520 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
524 regulators-1 {
525 compatible = "qcom,pm8350c-rpmh-regulators";
526 qcom,pmic-id = "c";
528 vdd-s1-supply = <&vph_pwr>;
529 vdd-s2-supply = <&vph_pwr>;
530 vdd-s5-supply = <&vph_pwr>;
531 vdd-s7-supply = <&vph_pwr>;
532 vdd-s9-supply = <&vph_pwr>;
533 vdd-s10-supply = <&vph_pwr>;
535 vdd-l1-l12-supply = <&vreg_s1b_1p856>;
536 vdd-l2-l8-supply = <&vreg_s1b_1p856>;
537 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
538 vdd-l6-l9-l11-supply = <&vreg_bob>;
539 vdd-l10-supply = <&vreg_s7b_0p952>;
541 vdd-bob-supply = <&vph_pwr>;
545 * S2 - cx.lvl,
546 * S5 - mss.lvl,
547 * S7 - gfx.lvl,
548 * S10 - mx.lvl.
560 regulator-name = "vreg_s1c_2p2";
561 regulator-min-microvolt = <2190000>;
562 regulator-max-microvolt = <2210000>;
567 regulator-name = "vreg_s9c_0p676";
568 regulator-min-microvolt = <1010000>;
569 regulator-max-microvolt = <1170000>;
580 regulator-name = "vreg_l1c_1p8";
581 regulator-min-microvolt = <1800000>;
582 regulator-max-microvolt = <1980000>;
583 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
587 regulator-name = "vreg_l2c_1p8";
588 regulator-min-microvolt = <1620000>;
589 regulator-max-microvolt = <1980000>;
590 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
595 regulator-name = "vreg_l3c_3p0";
596 regulator-min-microvolt = <2800000>;
597 regulator-max-microvolt = <3540000>;
598 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
603 regulator-name = "vreg_l4c_1p8_3p0";
604 regulator-min-microvolt = <1620000>;
605 regulator-max-microvolt = <3300000>;
606 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
611 regulator-name = "vreg_l5c_1p8_3p0";
612 regulator-min-microvolt = <1620000>;
613 regulator-max-microvolt = <3300000>;
614 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
619 regulator-name = "vreg_l6c_2p96";
620 regulator-min-microvolt = <1650000>;
621 regulator-max-microvolt = <3544000>;
622 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
627 regulator-name = "vreg_l7c_3p0";
628 regulator-min-microvolt = <3000000>;
629 regulator-max-microvolt = <3544000>;
630 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
635 regulator-name = "vreg_l8c_1p8";
636 regulator-min-microvolt = <1620000>;
637 regulator-max-microvolt = <2000000>;
638 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
642 regulator-name = "vreg_l9c_2p96";
643 regulator-min-microvolt = <2700000>;
644 regulator-max-microvolt = <3544000>;
645 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
671 regulator-name = "vreg_l10c_0p88";
672 regulator-min-microvolt = <720000>;
673 regulator-max-microvolt = <1050000>;
674 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
675 regulator-allow-set-load;
676 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
683 regulator-name = "vreg_l11c_2p8";
684 regulator-min-microvolt = <2800000>;
685 regulator-max-microvolt = <3544000>;
686 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
691 regulator-name = "vreg_l12c_1p8";
692 regulator-min-microvolt = <1650000>;
693 regulator-max-microvolt = <2000000>;
694 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
699 regulator-name = "vreg_l13c_3p0";
700 regulator-min-microvolt = <2700000>;
701 regulator-max-microvolt = <3544000>;
702 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
708 regulator-name = "vreg_bob";
709 regulator-min-microvolt = <3008000>;
710 regulator-max-microvolt = <3960000>;
711 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
729 /* samsung,s5kjn1 (Rear-aux UW) */
737 protected-clocks = <GCC_CFG_NOC_LPASS_CLK>,
761 firmware-name = "qcom/sm7325/nothing/spacewar/a660_zap.mbn";
765 clock-frequency = <100000>;
770 typec-mux@42 {
774 vcc-supply = <&vreg_bob>;
776 mode-switch;
777 orientation-switch;
781 remote-endpoint = <&pmic_glink_sbu>;
788 clock-frequency = <100000>;
791 /* nxp,tfa9873 (EAR speaker codec) @ 34 */
792 /* nxp,tfa9873 (Main speaker codec) @ 35 */
796 clock-frequency = <1000000>;
800 compatible = "nxp,pn553",
801 "nxp,nxp-nci-i2c";
804 interrupt-parent = <&tlmm>;
807 enable-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
808 firmware-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
810 pinctrl-0 = <&nfc_en>,
814 pinctrl-names = "default";
819 qcom,gsi-loader = "self";
820 memory-region = <&ipa_fw_mem>;
821 firmware-name = "qcom/sm7325/nothing/spacewar/ipa_fws.mbn";
828 vdda-supply = <&vdd_a_dsi_0_1p2>;
834 vdds-supply = <&vdd_a_dsi_0_0p9>;
838 gpio-line-names = "NC", /* GPIO_1 */
849 kypd_volp_n: kypd-volp-n-state {
852 bias-pull-up;
853 input-enable;
854 power-source = <1>;
861 led-0 {
864 led-sources = <1>, <4>;
865 led-max-microamp = <500000>;
866 flash-max-microamp = <1500000>;
867 flash-max-timeout-us = <1280000>;
875 xo-therm@0 {
877 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
879 qcom,hw-settle-time-us = <200>;
883 quiet-therm@1 {
885 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>;
887 qcom,hw-settle-time-us = <200>;
890 cam-flash-therm@2 {
892 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM2_100K_PU>;
894 qcom,hw-settle-time-us = <200>;
897 sdm-skin-therm@3 {
899 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>;
901 qcom,hw-settle-time-us = <200>;
904 wide-rfc-therm@4 {
906 io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM4_100K_PU>;
908 qcom,hw-settle-time-us = <200>;
912 usb-conn-therm@5 {
914 io-channels = <&pmk8350_vadc PM8350B_ADC7_AMUX_THM4_100K_PU>;
916 qcom,hw-settle-time-us = <200>;
919 chg-skin-therm@6 {
921 io-channels = <&pmk8350_vadc PM8350B_ADC7_GPIO2_100K_PU>;
923 qcom,hw-settle-time-us = <200>;
936 qcom,hw-settle-time = <200>;
937 qcom,pre-scaling = <1 1>;
945 qcom,hw-settle-time = <200>;
946 qcom,pre-scaling = <1 1>;
953 qcom,hw-settle-time = <200>;
954 qcom,pre-scaling = <1 1>;
961 qcom,hw-settle-time = <200>;
962 qcom,pre-scaling = <1 1>;
969 qcom,hw-settle-time = <200>;
970 qcom,pre-scaling = <1 1>;
977 qcom,hw-settle-time = <200>;
978 qcom,pre-scaling = <1 1>;
985 qcom,hw-settle-time = <200>;
986 qcom,pre-scaling = <1 1>;
994 qcom,hw-settle-time = <200>;
995 qcom,pre-scaling = <1 1>;
1002 qcom,hw-settle-time = <200>;
1003 qcom,pre-scaling = <1 1>;
1010 qcom,hw-settle-time = <200>;
1011 qcom,pre-scaling = <1 1>;
1018 qcom,hw-settle-time = <200>;
1019 qcom,pre-scaling = <1 1>;
1036 qcom,sd-lines = <1>;
1047 vcc-supply = <&vdd_qfprom>;
1051 drive-strength = <2>;
1052 bias-disable;
1056 drive-strength = <2>;
1057 bias-disable;
1069 firmware-name = "qcom/sm7325/nothing/spacewar/adsp.mbn";
1074 firmware-name = "qcom/sm7325/nothing/spacewar/cdsp.mbn";
1079 firmware-name = "qcom/sm7325/nothing/spacewar/modem.mbn";
1084 firmware-name = "qcom/sm7325/nothing/spacewar/wpss.mbn";
1095 /* 56-59: Fingerprint reader (SPI) */
1096 gpio-reserved-ranges = <56 4>;
1098 bt_uart_sleep_cts: bt-uart-sleep-cts-state {
1101 bias-bus-hold;
1104 bt_uart_sleep_rts: bt-uart-sleep-rts-state {
1107 bias-pull-down;
1110 bt_uart_sleep_txd: bt-uart-sleep-txd-state {
1113 bias-pull-up;
1116 bt_uart_sleep_rxd: bt-uart-sleep-rxd-state {
1119 bias-pull-up;
1122 nfc_en: nfc-en-state {
1125 drive-strength = <2>;
1126 bias-disable;
1129 nfc_clk_req: nfc-clk-req-state {
1132 drive-strength = <2>;
1133 bias-disable;
1136 nfc_dwl_req: nfc-dwl-req-state {
1139 drive-strength = <2>;
1140 bias-disable;
1143 nfc_int_req: nfc-int-req-state {
1146 drive-strength = <2>;
1147 bias-pull-down;
1150 hst_bt_en: hst-bt-en-state {
1153 output-low;
1154 bias-disable;
1157 hst_sw_ctrl: hst-sw-ctrl-state {
1160 bias-pull-down;
1169 /delete-property/interrupts;
1170 interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
1173 pinctrl-1 = <&bt_uart_sleep_cts>,
1177 pinctrl-names = "default", "sleep";
1182 compatible = "qcom,wcn6750-bt";
1184 pinctrl-0 = <&hst_bt_en>,
1186 pinctrl-names = "default";
1188 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
1189 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
1191 vddio-supply = <&vreg_l19b_1p8>;
1192 vddaon-supply = <&vreg_s7b_0p952>;
1193 vddbtcxmx-supply = <&vreg_s7b_0p952>;
1194 vddrfacmn-supply = <&vreg_s7b_0p952>;
1195 vddrfa0p8-supply = <&vreg_s7b_0p952>;
1196 vddrfa1p7-supply = <&vdd19_pmu_rfa_i>;
1197 vddrfa1p2-supply = <&vdd13_pmu_rfa_i>;
1198 vddrfa2p2-supply = <&vreg_s1c_2p2>;
1199 vddasd-supply = <&vreg_l11c_2p8>;
1200 max-speed = <3200000>;
1202 qcom,local-bd-address-broken;
1207 reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
1209 vcc-supply = <&vreg_l7b_2p96>;
1210 vcc-max-microamp = <800000>;
1215 vccq-supply = <&vreg_l9b_1p2>;
1216 vccq-max-microamp = <900000>;
1222 vdda-phy-supply = <&vdd_a_ufs_0_core>;
1223 vdda-pll-supply = <&vdd_a_ufs_0_1p2>;
1229 qcom,select-utmi-as-pipe-clk;
1235 usb-role-switch;
1236 maximum-speed = "high-speed";
1239 phy-names = "usb2-phy";
1243 remote-endpoint = <&pmic_glink_hs_in>;
1247 vdda-pll-supply = <&vdd_a_usbhs_core>;
1248 vdda18-supply = <&vdd_a_usbhs_1p8>;
1249 vdda33-supply = <&vdd_a_usbhs_3p1>;
1254 firmware-name = "qcom/sm7325/nothing/spacewar/vpu20_1v.mbn";