|
201 | 201 | regulator-always-on; |
202 | 202 | regulator-boot-on; |
203 | 203 | }; |
| 204 | + |
| 205 | + /* |
| 206 | + * MTPs rev 2.0 (power grid v8) come with two different WiFi chips: |
| 207 | + * WCN7850 and WCN786x. |
| 208 | + * Device nodes here for the PMU, WiFi and Bluetooth describe the MTP |
| 209 | + * variant with WCN7850. |
| 210 | + */ |
| 211 | + wcn7850-pmu { |
| 212 | + compatible = "qcom,wcn7850-pmu"; |
| 213 | + |
| 214 | + pinctrl-names = "default"; |
| 215 | + pinctrl-0 = <&wlan_en>, <&bt_default>; |
| 216 | + |
| 217 | + wlan-enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>; |
| 218 | + bt-enable-gpios = <&pm8550ve_f_gpios 3 GPIO_ACTIVE_HIGH>; |
| 219 | + |
| 220 | + vdd-supply = <&vreg_s5f_0p85>; |
| 221 | + vddio-supply = <&vreg_l3f_1p8>; |
| 222 | + vddio1p2-supply = <&vreg_l2f_1p2>; |
| 223 | + vddaon-supply = <&vreg_s4d_0p85>; |
| 224 | + vdddig-supply = <&vreg_s1d_0p97>; |
| 225 | + vddrfa1p2-supply = <&vreg_s7i_1p2>; |
| 226 | + vddrfa1p8-supply = <&vreg_s3g_1p8>; |
| 227 | + |
| 228 | + clocks = <&rpmhcc RPMH_RF_CLK1>; |
| 229 | + |
| 230 | + regulators { |
| 231 | + vreg_pmu_rfa_cmn: ldo0 { |
| 232 | + regulator-name = "vreg_pmu_rfa_cmn"; |
| 233 | + }; |
| 234 | + |
| 235 | + vreg_pmu_aon_0p59: ldo1 { |
| 236 | + regulator-name = "vreg_pmu_aon_0p59"; |
| 237 | + }; |
| 238 | + |
| 239 | + vreg_pmu_wlcx_0p8: ldo2 { |
| 240 | + regulator-name = "vreg_pmu_wlcx_0p8"; |
| 241 | + }; |
| 242 | + |
| 243 | + vreg_pmu_wlmx_0p85: ldo3 { |
| 244 | + regulator-name = "vreg_pmu_wlmx_0p85"; |
| 245 | + }; |
| 246 | + |
| 247 | + vreg_pmu_btcmx_0p85: ldo4 { |
| 248 | + regulator-name = "vreg_pmu_btcmx_0p85"; |
| 249 | + }; |
| 250 | + |
| 251 | + vreg_pmu_rfa_0p8: ldo5 { |
| 252 | + regulator-name = "vreg_pmu_rfa_0p8"; |
| 253 | + }; |
| 254 | + |
| 255 | + vreg_pmu_rfa_1p2: ldo6 { |
| 256 | + regulator-name = "vreg_pmu_rfa_1p2"; |
| 257 | + }; |
| 258 | + |
| 259 | + vreg_pmu_rfa_1p8: ldo7 { |
| 260 | + regulator-name = "vreg_pmu_rfa_1p8"; |
| 261 | + }; |
| 262 | + |
| 263 | + vreg_pmu_pcie_0p9: ldo8 { |
| 264 | + regulator-name = "vreg_pmu_pcie_0p9"; |
| 265 | + }; |
| 266 | + |
| 267 | + vreg_pmu_pcie_1p8: ldo9 { |
| 268 | + regulator-name = "vreg_pmu_pcie_1p8"; |
| 269 | + }; |
| 270 | + }; |
| 271 | + }; |
204 | 272 | }; |
205 | 273 |
|
206 | 274 | &apps_rsc { |
|
426 | 494 |
|
427 | 495 | vreg_s4d_0p85: smps4 { |
428 | 496 | regulator-name = "vreg_s4d_0p85"; |
429 | | - regulator-min-microvolt = <500000>; |
| 497 | + regulator-min-microvolt = <852000>; |
430 | 498 | regulator-max-microvolt = <1036000>; |
431 | 499 | regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
432 | 500 | }; |
|
472 | 540 |
|
473 | 541 | qcom,pmic-id = "f"; |
474 | 542 |
|
475 | | - vreg_s5f_0p5: smps5 { |
476 | | - regulator-name = "vreg_s5f_0p5"; |
477 | | - regulator-min-microvolt = <500000>; |
| 543 | + vreg_s5f_0p85: smps5 { |
| 544 | + regulator-name = "vreg_s5f_0p85"; |
| 545 | + regulator-min-microvolt = <852000>; |
478 | 546 | regulator-max-microvolt = <1000000>; |
479 | 547 | regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
480 | 548 | }; |
|
891 | 959 | status = "okay"; |
892 | 960 | }; |
893 | 961 |
|
| 962 | +&pcie0 { |
| 963 | + wake-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>; |
| 964 | + perst-gpios = <&tlmm 102 GPIO_ACTIVE_LOW>; |
| 965 | + |
| 966 | + pinctrl-0 = <&pcie0_default_state>; |
| 967 | + pinctrl-names = "default"; |
| 968 | + |
| 969 | + status = "okay"; |
| 970 | +}; |
| 971 | + |
| 972 | +&pcie0_phy { |
| 973 | + vdda-phy-supply = <&vreg_l1f_0p88>; |
| 974 | + vdda-pll-supply = <&vreg_l3g_1p2>; |
| 975 | + |
| 976 | + status = "okay"; |
| 977 | +}; |
| 978 | + |
| 979 | +&pcieport0 { |
| 980 | + wifi@0 { |
| 981 | + compatible = "pci17cb,1107"; |
| 982 | + reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 983 | + |
| 984 | + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; |
| 985 | + vddaon-supply = <&vreg_pmu_aon_0p59>; |
| 986 | + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 987 | + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; |
| 988 | + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 989 | + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 990 | + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; |
| 991 | + vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; |
| 992 | + vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; |
| 993 | + }; |
| 994 | +}; |
| 995 | + |
894 | 996 | &pmih0108_eusb2_repeater { |
895 | 997 | status = "okay"; |
896 | 998 |
|
|
902 | 1004 | status = "okay"; |
903 | 1005 | }; |
904 | 1006 |
|
| 1007 | +&qupv3_2 { |
| 1008 | + status = "okay"; |
| 1009 | +}; |
| 1010 | + |
905 | 1011 | &remoteproc_adsp { |
906 | 1012 | firmware-name = "qcom/sm8750/adsp.mbn", |
907 | 1013 | "qcom/sm8750/adsp_dtb.mbn"; |
|
1035 | 1141 | }; |
1036 | 1142 |
|
1037 | 1143 | &tlmm { |
| 1144 | + bt_default: bt-default-state { |
| 1145 | + sw-ctrl-pins { |
| 1146 | + pins = "gpio18"; |
| 1147 | + function = "gpio"; |
| 1148 | + bias-pull-down; |
| 1149 | + }; |
| 1150 | + }; |
| 1151 | + |
1038 | 1152 | wcd_default: wcd-reset-n-active-state { |
1039 | 1153 | pins = "gpio101"; |
1040 | 1154 | function = "gpio"; |
1041 | 1155 | drive-strength = <16>; |
1042 | 1156 | bias-disable; |
1043 | 1157 | output-low; |
1044 | 1158 | }; |
| 1159 | + |
| 1160 | + wlan_en: wlan-en-state { |
| 1161 | + pins = "gpio16"; |
| 1162 | + function = "gpio"; |
| 1163 | + drive-strength = <8>; |
| 1164 | + bias-pull-down; |
| 1165 | + }; |
| 1166 | +}; |
| 1167 | + |
| 1168 | +&uart14 { |
| 1169 | + status = "okay"; |
| 1170 | + |
| 1171 | + bluetooth { |
| 1172 | + compatible = "qcom,wcn7850-bt"; |
| 1173 | + |
| 1174 | + vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; |
| 1175 | + vddaon-supply = <&vreg_pmu_aon_0p59>; |
| 1176 | + vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 1177 | + vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; |
| 1178 | + vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 1179 | + vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 1180 | + vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; |
| 1181 | + |
| 1182 | + max-speed = <3200000>; |
| 1183 | + }; |
1045 | 1184 | }; |
1046 | 1185 |
|
1047 | 1186 | &ufs_mem_phy { |
|
0 commit comments