1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/dts-v1/; 7 8#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 10#include "x1e80100.dtsi" 11 12/ { 13 model = "Qualcomm Technologies, Inc. X1E80100 QCP"; 14 compatible = "qcom,x1e80100-qcp", "qcom,x1e80100"; 15 16 aliases { 17 serial0 = &uart21; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n8"; 22 }; 23 24 vph_pwr: vph-pwr-regulator { 25 compatible = "regulator-fixed"; 26 27 regulator-name = "vph_pwr"; 28 regulator-min-microvolt = <3700000>; 29 regulator-max-microvolt = <3700000>; 30 31 regulator-always-on; 32 regulator-boot-on; 33 }; 34}; 35 36&apps_rsc { 37 regulators-0 { 38 compatible = "qcom,pm8550-rpmh-regulators"; 39 qcom,pmic-id = "b"; 40 41 vdd-bob1-supply = <&vph_pwr>; 42 vdd-bob2-supply = <&vph_pwr>; 43 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 44 vdd-l2-l13-l14-supply = <&vreg_bob1>; 45 vdd-l5-l16-supply = <&vreg_bob1>; 46 vdd-l6-l7-supply = <&vreg_bob2>; 47 vdd-l8-l9-supply = <&vreg_bob1>; 48 vdd-l12-supply = <&vreg_s5j_1p2>; 49 vdd-l15-supply = <&vreg_s4c_1p8>; 50 vdd-l17-supply = <&vreg_bob2>; 51 52 vreg_bob1: bob1 { 53 regulator-name = "vreg_bob1"; 54 regulator-min-microvolt = <3008000>; 55 regulator-max-microvolt = <3960000>; 56 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 57 }; 58 59 vreg_bob2: bob2 { 60 regulator-name = "vreg_bob2"; 61 regulator-min-microvolt = <2504000>; 62 regulator-max-microvolt = <3008000>; 63 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 64 }; 65 66 vreg_l1b_1p8: ldo1 { 67 regulator-name = "vreg_l1b_1p8"; 68 regulator-min-microvolt = <1800000>; 69 regulator-max-microvolt = <1800000>; 70 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 71 }; 72 73 vreg_l2b_3p0: ldo2 { 74 regulator-name = "vreg_l2b_3p0"; 75 regulator-min-microvolt = <3072000>; 76 regulator-max-microvolt = <3100000>; 77 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 78 }; 79 80 vreg_l4b_1p8: ldo4 { 81 regulator-name = "vreg_l4b_1p8"; 82 regulator-min-microvolt = <1800000>; 83 regulator-max-microvolt = <1800000>; 84 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 85 }; 86 87 vreg_l5b_3p0: ldo5 { 88 regulator-name = "vreg_l5b_3p0"; 89 regulator-min-microvolt = <3000000>; 90 regulator-max-microvolt = <3000000>; 91 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 92 }; 93 94 vreg_l6b_1p8: ldo6 { 95 regulator-name = "vreg_l6b_1p8"; 96 regulator-min-microvolt = <1800000>; 97 regulator-max-microvolt = <2960000>; 98 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 99 }; 100 101 vreg_l7b_2p8: ldo7 { 102 regulator-name = "vreg_l7b_2p8"; 103 regulator-min-microvolt = <2800000>; 104 regulator-max-microvolt = <2800000>; 105 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 106 }; 107 108 vreg_l8b_3p0: ldo8 { 109 regulator-name = "vreg_l8b_3p0"; 110 regulator-min-microvolt = <3072000>; 111 regulator-max-microvolt = <3072000>; 112 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 113 }; 114 115 vreg_l9b_2p9: ldo9 { 116 regulator-name = "vreg_l9b_2p9"; 117 regulator-min-microvolt = <2960000>; 118 regulator-max-microvolt = <2960000>; 119 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 120 }; 121 122 vreg_l10b_1p8: ldo10 { 123 regulator-name = "vreg_l10b_1p8"; 124 regulator-min-microvolt = <1800000>; 125 regulator-max-microvolt = <1800000>; 126 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 127 }; 128 129 vreg_l12b_1p2: ldo12 { 130 regulator-name = "vreg_l12b_1p2"; 131 regulator-min-microvolt = <1200000>; 132 regulator-max-microvolt = <1200000>; 133 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 134 }; 135 136 vreg_l13b_3p0: ldo13 { 137 regulator-name = "vreg_l13b_3p0"; 138 regulator-min-microvolt = <3072000>; 139 regulator-max-microvolt = <3100000>; 140 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 141 }; 142 143 vreg_l14b_3p0: ldo14 { 144 regulator-name = "vreg_l14b_3p0"; 145 regulator-min-microvolt = <3072000>; 146 regulator-max-microvolt = <3072000>; 147 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 148 }; 149 150 vreg_l15b_1p8: ldo15 { 151 regulator-name = "vreg_l15b_1p8"; 152 regulator-min-microvolt = <1800000>; 153 regulator-max-microvolt = <1800000>; 154 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 155 }; 156 157 vreg_l16b_2p9: ldo16 { 158 regulator-name = "vreg_l16b_2p9"; 159 regulator-min-microvolt = <2912000>; 160 regulator-max-microvolt = <2912000>; 161 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 162 }; 163 164 vreg_l17b_2p5: ldo17 { 165 regulator-name = "vreg_l17b_2p5"; 166 regulator-min-microvolt = <2504000>; 167 regulator-max-microvolt = <2504000>; 168 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 169 }; 170 }; 171 172 regulators-1 { 173 compatible = "qcom,pm8550ve-rpmh-regulators"; 174 qcom,pmic-id = "c"; 175 176 vdd-l1-supply = <&vreg_s5j_1p2>; 177 vdd-l2-supply = <&vreg_s1f_0p7>; 178 vdd-l3-supply = <&vreg_s1f_0p7>; 179 vdd-s4-supply = <&vph_pwr>; 180 181 vreg_s4c_1p8: smps4 { 182 regulator-name = "vreg_s4c_1p8"; 183 regulator-min-microvolt = <1856000>; 184 regulator-max-microvolt = <2000000>; 185 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 186 }; 187 188 vreg_l1c_1p2: ldo1 { 189 regulator-name = "vreg_l1c_1p2"; 190 regulator-min-microvolt = <1200000>; 191 regulator-max-microvolt = <1200000>; 192 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 193 }; 194 195 vreg_l2c_0p8: ldo2 { 196 regulator-name = "vreg_l2c_0p8"; 197 regulator-min-microvolt = <880000>; 198 regulator-max-microvolt = <920000>; 199 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 200 }; 201 202 vreg_l3c_0p8: ldo3 { 203 regulator-name = "vreg_l3c_0p8"; 204 regulator-min-microvolt = <880000>; 205 regulator-max-microvolt = <920000>; 206 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 207 }; 208 }; 209 210 regulators-2 { 211 compatible = "qcom,pmc8380-rpmh-regulators"; 212 qcom,pmic-id = "d"; 213 214 vdd-l1-supply = <&vreg_s1f_0p7>; 215 vdd-l2-supply = <&vreg_s1f_0p7>; 216 vdd-l3-supply = <&vreg_s4c_1p8>; 217 vdd-s1-supply = <&vph_pwr>; 218 219 vreg_l1d_0p8: ldo1 { 220 regulator-name = "vreg_l1d_0p8"; 221 regulator-min-microvolt = <880000>; 222 regulator-max-microvolt = <920000>; 223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 224 }; 225 226 vreg_l2d_0p9: ldo2 { 227 regulator-name = "vreg_l2d_0p9"; 228 regulator-min-microvolt = <912000>; 229 regulator-max-microvolt = <920000>; 230 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 231 }; 232 233 vreg_l3d_1p8: ldo3 { 234 regulator-name = "vreg_l3d_1p8"; 235 regulator-min-microvolt = <1800000>; 236 regulator-max-microvolt = <1800000>; 237 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238 }; 239 }; 240 241 regulators-3 { 242 compatible = "qcom,pmc8380-rpmh-regulators"; 243 qcom,pmic-id = "e"; 244 245 vdd-l2-supply = <&vreg_s1f_0p7>; 246 vdd-l3-supply = <&vph_pwr>; 247 248 vreg_l2e_0p8: ldo2 { 249 regulator-name = "vreg_l2e_0p8"; 250 regulator-min-microvolt = <880000>; 251 regulator-max-microvolt = <920000>; 252 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 253 }; 254 255 vreg_l3e_1p2: ldo3 { 256 regulator-name = "vreg_l3e_1p2"; 257 regulator-min-microvolt = <1200000>; 258 regulator-max-microvolt = <1200000>; 259 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 260 }; 261 }; 262 263 regulators-4 { 264 compatible = "qcom,pmc8380-rpmh-regulators"; 265 qcom,pmic-id = "f"; 266 267 vdd-l1-supply = <&vreg_s5j_1p2>; 268 vdd-l2-supply = <&vreg_s5j_1p2>; 269 vdd-l3-supply = <&vreg_s5j_1p2>; 270 vdd-s1-supply = <&vph_pwr>; 271 272 vreg_s1f_0p7: smps1 { 273 regulator-name = "vreg_s1f_0p7"; 274 regulator-min-microvolt = <700000>; 275 regulator-max-microvolt = <1100000>; 276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 277 }; 278 279 vreg_l1f_1p0: ldo1 { 280 regulator-name = "vreg_l1f_1p0"; 281 regulator-min-microvolt = <1024000>; 282 regulator-max-microvolt = <1024000>; 283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284 }; 285 286 vreg_l2f_1p0: ldo2 { 287 regulator-name = "vreg_l2f_1p0"; 288 regulator-min-microvolt = <1024000>; 289 regulator-max-microvolt = <1024000>; 290 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291 }; 292 293 vreg_l3f_1p0: ldo3 { 294 regulator-name = "vreg_l3f_1p0"; 295 regulator-min-microvolt = <1024000>; 296 regulator-max-microvolt = <1024000>; 297 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 298 }; 299 }; 300 301 regulators-6 { 302 compatible = "qcom,pm8550ve-rpmh-regulators"; 303 qcom,pmic-id = "i"; 304 305 vdd-l1-supply = <&vreg_s4c_1p8>; 306 vdd-l2-supply = <&vreg_s5j_1p2>; 307 vdd-l3-supply = <&vreg_s1f_0p7>; 308 vdd-s1-supply = <&vph_pwr>; 309 vdd-s2-supply = <&vph_pwr>; 310 311 vreg_s1i_0p9: smps1 { 312 regulator-name = "vreg_s1i_0p9"; 313 regulator-min-microvolt = <900000>; 314 regulator-max-microvolt = <920000>; 315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 316 }; 317 318 vreg_s2i_1p0: smps2 { 319 regulator-name = "vreg_s2i_1p0"; 320 regulator-min-microvolt = <1000000>; 321 regulator-max-microvolt = <1100000>; 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 323 }; 324 325 vreg_l1i_1p8: ldo1 { 326 regulator-name = "vreg_l1i_1p8"; 327 regulator-min-microvolt = <1800000>; 328 regulator-max-microvolt = <1800000>; 329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 330 }; 331 332 vreg_l2i_1p2: ldo2 { 333 regulator-name = "vreg_l2i_1p2"; 334 regulator-min-microvolt = <1200000>; 335 regulator-max-microvolt = <1200000>; 336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 337 }; 338 339 vreg_l3i_0p8: ldo3 { 340 regulator-name = "vreg_l3i_0p8"; 341 regulator-min-microvolt = <880000>; 342 regulator-max-microvolt = <920000>; 343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 344 }; 345 }; 346 347 regulators-7 { 348 compatible = "qcom,pm8550ve-rpmh-regulators"; 349 qcom,pmic-id = "j"; 350 351 vdd-l1-supply = <&vreg_s1f_0p7>; 352 vdd-l2-supply = <&vph_pwr>; 353 vdd-l3-supply = <&vreg_s1f_0p7>; 354 vdd-s5-supply = <&vph_pwr>; 355 356 vreg_s5j_1p2: smps5 { 357 regulator-name = "vreg_s5j_1p2"; 358 regulator-min-microvolt = <1256000>; 359 regulator-max-microvolt = <1304000>; 360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 361 }; 362 363 vreg_l1j_0p8: ldo1 { 364 regulator-name = "vreg_l1j_0p8"; 365 regulator-min-microvolt = <880000>; 366 regulator-max-microvolt = <920000>; 367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 368 }; 369 370 vreg_l2j_1p2: ldo2 { 371 regulator-name = "vreg_l2j_1p2"; 372 regulator-min-microvolt = <1200000>; 373 regulator-max-microvolt = <1200000>; 374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 375 }; 376 377 vreg_l3j_0p8: ldo3 { 378 regulator-name = "vreg_l3j_0p8"; 379 regulator-min-microvolt = <880000>; 380 regulator-max-microvolt = <920000>; 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 382 }; 383 }; 384}; 385 386&qupv3_2 { 387 status = "okay"; 388}; 389 390&tlmm { 391 gpio-reserved-ranges = <33 3>, /* Unused */ 392 <44 4>, /* SPI (TPM) */ 393 <238 1>; /* UFS Reset */ 394}; 395 396&uart21 { 397 compatible = "qcom,geni-debug-uart"; 398 status = "okay"; 399}; 400