1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2023-2024, Qualcomm Innovatio 4 */ 5 6 #include <dt-bindings/regulator/qcom,rpmh-regu 7 #include "qcs8550.dtsi" 8 #include "pm8550.dtsi" 9 #include "pm8550b.dtsi" 10 #define PMK8550VE_SID 5 11 #include "pm8550ve.dtsi" 12 #include "pm8550vs.dtsi" 13 #include "pmk8550.dtsi" 14 15 &apps_rsc { 16 regulators-0 { 17 compatible = "qcom,pm8550-rpmh 18 qcom,pmic-id = "b"; 19 20 vdd-l1-l4-l10-supply = <&vreg_ 21 vdd-l2-l13-l14-supply = <&vreg 22 vdd-l3-supply = <&vreg_s4g_1p2 23 vdd-l5-l16-supply = <&vreg_bob 24 vdd-l6-l7-supply = <&vreg_bob1 25 vdd-l8-l9-supply = <&vreg_bob1 26 vdd-l11-supply = <&vreg_s4g_1p 27 vdd-l12-supply = <&vreg_s6g_1p 28 vdd-l15-supply = <&vreg_s6g_1p 29 vdd-l17-supply = <&vreg_bob2>; 30 31 vreg_bob1: bob1 { 32 regulator-name = "vreg 33 regulator-min-microvol 34 regulator-max-microvol 35 regulator-initial-mode 36 }; 37 38 vreg_bob2: bob2 { 39 regulator-name = "vreg 40 regulator-min-microvol 41 regulator-max-microvol 42 regulator-initial-mode 43 }; 44 45 vreg_l1b_1p8: ldo1 { 46 regulator-name = "vreg 47 regulator-min-microvol 48 regulator-max-microvol 49 regulator-initial-mode 50 }; 51 52 vreg_l2b_3p0: ldo2 { 53 regulator-name = "vreg 54 regulator-min-microvol 55 regulator-max-microvol 56 regulator-initial-mode 57 }; 58 59 vreg_l5b_3p1: ldo5 { 60 regulator-name = "vreg 61 regulator-min-microvol 62 regulator-max-microvol 63 regulator-initial-mode 64 }; 65 66 vreg_l6b_1p8: ldo6 { 67 regulator-name = "vreg 68 regulator-min-microvol 69 regulator-max-microvol 70 regulator-initial-mode 71 }; 72 73 vreg_l7b_1p8: ldo7 { 74 regulator-name = "vreg 75 regulator-min-microvol 76 regulator-max-microvol 77 regulator-initial-mode 78 }; 79 80 vreg_l8b_1p8: ldo8 { 81 regulator-name = "vreg 82 regulator-min-microvol 83 regulator-max-microvol 84 regulator-initial-mode 85 }; 86 87 vreg_l9b_2p9: ldo9 { 88 regulator-name = "vreg 89 regulator-min-microvol 90 regulator-max-microvol 91 regulator-initial-mode 92 }; 93 94 vreg_l11b_1p2: ldo11 { 95 regulator-name = "vreg 96 regulator-min-microvol 97 regulator-max-microvol 98 regulator-initial-mode 99 }; 100 101 vreg_l12b_1p8: ldo12 { 102 regulator-name = "vreg 103 regulator-min-microvol 104 regulator-max-microvol 105 regulator-initial-mode 106 }; 107 108 vreg_l13b_3p0: ldo13 { 109 regulator-name = "vreg 110 regulator-min-microvol 111 regulator-max-microvol 112 regulator-initial-mode 113 }; 114 115 vreg_l14b_3p2: ldo14 { 116 regulator-name = "vreg 117 regulator-min-microvol 118 regulator-max-microvol 119 regulator-initial-mode 120 }; 121 122 vreg_l15b_1p8: ldo15 { 123 regulator-name = "vreg 124 regulator-min-microvol 125 regulator-max-microvol 126 regulator-initial-mode 127 }; 128 129 vreg_l16b_2p8: ldo16 { 130 regulator-name = "vreg 131 regulator-min-microvol 132 regulator-max-microvol 133 regulator-initial-mode 134 }; 135 136 vreg_l17b_2p5: ldo17 { 137 regulator-name = "vreg 138 regulator-min-microvol 139 regulator-max-microvol 140 regulator-initial-mode 141 }; 142 }; 143 144 regulators-1 { 145 compatible = "qcom,pm8550vs-rp 146 qcom,pmic-id = "c"; 147 148 vdd-l1-supply = <&vreg_s4g_1p2 149 vdd-l2-supply = <&vreg_s4e_0p9 150 vdd-l3-supply = <&vreg_s4e_0p9 151 152 vreg_l3c_0p9: ldo3 { 153 regulator-name = "vreg 154 regulator-min-microvol 155 regulator-max-microvol 156 regulator-initial-mode 157 }; 158 }; 159 160 regulators-2 { 161 compatible = "qcom,pm8550vs-rp 162 qcom,pmic-id = "d"; 163 164 vdd-l1-supply = <&vreg_s4e_0p9 165 vdd-l2-supply = <&vreg_s4e_0p9 166 vdd-l3-supply = <&vreg_s4e_0p9 167 168 vreg_l1d_0p88: ldo1 { 169 regulator-name = "vreg 170 regulator-min-microvol 171 regulator-max-microvol 172 regulator-initial-mode 173 }; 174 }; 175 176 regulators-3 { 177 compatible = "qcom,pm8550vs-rp 178 qcom,pmic-id = "e"; 179 180 vdd-l1-supply = <&vreg_s4e_0p9 181 vdd-l2-supply = <&vreg_s4e_0p9 182 vdd-l3-supply = <&vreg_s4g_1p2 183 184 vreg_s4e_0p95: smps4 { 185 regulator-name = "vreg 186 regulator-min-microvol 187 regulator-max-microvol 188 regulator-initial-mode 189 }; 190 191 vreg_s5e_1p08: smps5 { 192 regulator-name = "vreg 193 regulator-min-microvol 194 regulator-max-microvol 195 regulator-initial-mode 196 }; 197 198 vreg_l1e_0p88: ldo1 { 199 regulator-name = "vreg 200 regulator-min-microvol 201 regulator-max-microvol 202 regulator-initial-mode 203 }; 204 205 vreg_l2e_0p9: ldo2 { 206 regulator-name = "vreg 207 regulator-min-microvol 208 regulator-max-microvol 209 regulator-initial-mode 210 }; 211 212 vreg_l3e_1p2: ldo3 { 213 regulator-name = "vreg 214 regulator-min-microvol 215 regulator-max-microvol 216 regulator-initial-mode 217 }; 218 }; 219 220 regulators-4 { 221 compatible = "qcom,pm8550ve-rp 222 qcom,pmic-id = "f"; 223 224 vdd-l1-supply = <&vreg_s4e_0p9 225 vdd-l2-supply = <&vreg_s4e_0p9 226 vdd-l3-supply = <&vreg_s4e_0p9 227 228 vreg_s4f_0p5: smps4 { 229 regulator-name = "vreg 230 regulator-min-microvol 231 regulator-max-microvol 232 regulator-initial-mode 233 }; 234 235 vreg_l1f_0p9: ldo1 { 236 regulator-name = "vreg 237 regulator-min-microvol 238 regulator-max-microvol 239 regulator-initial-mode 240 }; 241 242 vreg_l2f_0p88: ldo2 { 243 regulator-name = "vreg 244 regulator-min-microvol 245 regulator-max-microvol 246 regulator-initial-mode 247 }; 248 249 vreg_l3f_0p88: ldo3 { 250 regulator-name = "vreg 251 regulator-min-microvol 252 regulator-max-microvol 253 regulator-initial-mode 254 }; 255 }; 256 257 regulators-5 { 258 compatible = "qcom,pm8550vs-rp 259 qcom,pmic-id = "g"; 260 vdd-l1-supply = <&vreg_s4g_1p2 261 vdd-l2-supply = <&vreg_s4g_1p2 262 vdd-l3-supply = <&vreg_s4g_1p2 263 264 vreg_s1g_1p25: smps1 { 265 regulator-name = "vreg 266 regulator-min-microvol 267 regulator-max-microvol 268 regulator-initial-mode 269 }; 270 271 vreg_s2g_0p85: smps2 { 272 regulator-name = "vreg 273 regulator-min-microvol 274 regulator-max-microvol 275 regulator-initial-mode 276 }; 277 278 vreg_s3g_0p8: smps3 { 279 regulator-name = "vreg 280 regulator-min-microvol 281 regulator-max-microvol 282 regulator-initial-mode 283 }; 284 285 vreg_s4g_1p25: smps4 { 286 regulator-name = "vreg 287 regulator-min-microvol 288 regulator-max-microvol 289 regulator-initial-mode 290 }; 291 292 vreg_s5g_0p85: smps5 { 293 regulator-name = "vreg 294 regulator-min-microvol 295 regulator-max-microvol 296 regulator-initial-mode 297 }; 298 299 vreg_s6g_1p86: smps6 { 300 regulator-name = "vreg 301 regulator-min-microvol 302 regulator-max-microvol 303 regulator-initial-mode 304 }; 305 306 vreg_l1g_1p2: ldo1 { 307 regulator-name = "vreg 308 regulator-min-microvol 309 regulator-max-microvol 310 regulator-initial-mode 311 }; 312 313 vreg_l2g_1p2: ldo2 { 314 regulator-name = "vreg 315 regulator-min-microvol 316 regulator-max-microvol 317 regulator-initial-mode 318 }; 319 320 vreg_l3g_1p2: ldo3 { 321 regulator-name = "vreg 322 regulator-min-microvol 323 regulator-max-microvol 324 regulator-initial-mode 325 }; 326 }; 327 }; 328 329 &mdss_dsi0 { 330 vdda-supply = <&vreg_l3e_1p2>; 331 }; 332 333 &mdss_dsi0_phy { 334 vdds-supply = <&vreg_l1e_0p88>; 335 }; 336 337 &pcie0 { 338 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LO 339 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIG 340 341 pinctrl-0 = <&pcie0_default_state>; 342 pinctrl-names = "default"; 343 }; 344 345 &pcie0_phy { 346 vdda-phy-supply = <&vreg_l1e_0p88>; 347 vdda-pll-supply = <&vreg_l3e_1p2>; 348 }; 349 350 &pcie1 { 351 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LO 352 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIG 353 354 pinctrl-0 = <&pcie1_default_state>; 355 pinctrl-names = "default"; 356 }; 357 358 &pcie1_phy { 359 vdda-phy-supply = <&vreg_l3c_0p9>; 360 vdda-pll-supply = <&vreg_l3e_1p2>; 361 vdda-qref-supply = <&vreg_l1e_0p88>; 362 }; 363 364 &pm8550b_eusb2_repeater { 365 vdd18-supply = <&vreg_l15b_1p8>; 366 vdd3-supply = <&vreg_l5b_3p1>; 367 }; 368 369 &sleep_clk { 370 clock-frequency = <32000>; 371 }; 372 373 &ufs_mem_hc { 374 reset-gpios = <&tlmm 210 GPIO_ACTIVE_L 375 vcc-supply = <&vreg_l17b_2p5>; 376 vcc-max-microamp = <1300000>; 377 vccq-supply = <&vreg_l1g_1p2>; 378 vccq-max-microamp = <1200000>; 379 vdd-hba-supply = <&vreg_l3g_1p2>; 380 381 status = "okay"; 382 }; 383 384 &ufs_mem_phy { 385 vdda-phy-supply = <&vreg_l1d_0p88>; 386 vdda-pll-supply = <&vreg_l3e_1p2>; 387 388 status = "okay"; 389 }; 390 391 &usb_1_hsphy { 392 phys = <&pm8550b_eusb2_repeater>; 393 394 vdd-supply = <&vreg_l1e_0p88>; 395 vdda12-supply = <&vreg_l3e_1p2>; 396 }; 397 398 &usb_dp_qmpphy { 399 vdda-phy-supply = <&vreg_l3e_1p2>; 400 vdda-pll-supply = <&vreg_l3f_0p88>; 401 }; 402 403 &xo_board { 404 clock-frequency = <76800000>; 405 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.