| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
|
| 8 |
/* PM7250B is configured to use SID8/9 */ |
| 9 |
#define PM7250B_SID 8 |
| 10 |
#define PM7250B_SID1 9 |
| 11 |
|
| 12 |
#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> |
| 13 |
#include <dt-bindings/iio/qcom,spmi-adc7-pm7325.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 "kodiak.dtsi" |
| 18 |
#include "pm7250b.dtsi" |
| 19 |
#include "pm7325.dtsi" |
| 20 |
#include "pm8350c.dtsi" |
| 21 |
#include "pmk8350.dtsi" |
| 22 |
#include "qcs6490-audioreach.dtsi" |
| 23 |
|
| 24 |
/delete-node/ &ipa_fw_mem; |
| 25 |
/delete-node/ &rmtfs_mem; |
| 26 |
/delete-node/ &adsp_mem; |
| 27 |
/delete-node/ &cdsp_mem; |
| 28 |
/delete-node/ &video_mem; |
| 29 |
/delete-node/ &wlan_ce_mem; |
| 30 |
/delete-node/ &wpss_mem; |
| 31 |
/delete-node/ &xbl_mem; |
| 32 |
|
| 33 |
/ { |
| 34 |
model = "Qualcomm Technologies, Inc. Robotics RB3gen2"; |
| 35 |
compatible = "qcom,qcs6490-rb3gen2", "qcom,qcm6490"; |
| 36 |
chassis-type = "embedded"; |
| 37 |
|
| 38 |
aliases { |
| 39 |
serial0 = &uart5; |
| 40 |
serial1 = &uart7; |
| 41 |
}; |
| 42 |
|
| 43 |
chosen { |
| 44 |
stdout-path = "serial0:115200n8"; |
| 45 |
}; |
| 46 |
|
| 47 |
dp-connector { |
| 48 |
compatible = "dp-connector"; |
| 49 |
label = "DP"; |
| 50 |
type = "mini"; |
| 51 |
|
| 52 |
hpd-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>; |
| 53 |
|
| 54 |
port { |
| 55 |
dp_connector_in: endpoint { |
| 56 |
remote-endpoint = <&mdss_edp_out>; |
| 57 |
}; |
| 58 |
}; |
| 59 |
}; |
| 60 |
|
| 61 |
hdmi-connector { |
| 62 |
compatible = "hdmi-connector"; |
| 63 |
type = "a"; |
| 64 |
|
| 65 |
port { |
| 66 |
hdmi_con: endpoint { |
| 67 |
remote-endpoint = <<9611_out>; |
| 68 |
}; |
| 69 |
}; |
| 70 |
}; |
| 71 |
|
| 72 |
lt9611_1v2: lt9611-vdd12-regulator { |
| 73 |
compatible = "regulator-fixed"; |
| 74 |
regulator-name = "LT9611_1V2"; |
| 75 |
|
| 76 |
regulator-min-microvolt = <1200000>; |
| 77 |
regulator-max-microvolt = <1200000>; |
| 78 |
}; |
| 79 |
|
| 80 |
reserved-memory { |
| 81 |
xbl_mem: xbl@80700000 { |
| 82 |
reg = <0x0 0x80700000 0x0 0x100000>; |
| 83 |
no-map; |
| 84 |
}; |
| 85 |
|
| 86 |
cdsp_secure_heap_mem: cdsp-secure-heap@81800000 { |
| 87 |
reg = <0x0 0x81800000 0x0 0x1e00000>; |
| 88 |
no-map; |
| 89 |
}; |
| 90 |
|
| 91 |
camera_mem: camera@84300000 { |
| 92 |
reg = <0x0 0x84300000 0x0 0x500000>; |
| 93 |
no-map; |
| 94 |
}; |
| 95 |
|
| 96 |
wpss_mem: wpss@84800000 { |
| 97 |
reg = <0x0 0x84800000 0x0 0x1900000>; |
| 98 |
no-map; |
| 99 |
}; |
| 100 |
|
| 101 |
adsp_mem: adsp@86100000 { |
| 102 |
reg = <0x0 0x86100000 0x0 0x2800000>; |
| 103 |
no-map; |
| 104 |
}; |
| 105 |
|
| 106 |
cdsp_mem: cdsp@88900000 { |
| 107 |
reg = <0x0 0x88900000 0x0 0x1e00000>; |
| 108 |
no-map; |
| 109 |
}; |
| 110 |
|
| 111 |
video_mem: video@8a700000 { |
| 112 |
reg = <0x0 0x8a700000 0x0 0x700000>; |
| 113 |
no-map; |
| 114 |
}; |
| 115 |
|
| 116 |
cvp_mem: cvp@8ae00000 { |
| 117 |
reg = <0x0 0x8ae00000 0x0 0x500000>; |
| 118 |
no-map; |
| 119 |
}; |
| 120 |
|
| 121 |
ipa_fw_mem: ipa-fw@8b300000 { |
| 122 |
reg = <0x0 0x8b300000 0x0 0x10000>; |
| 123 |
no-map; |
| 124 |
}; |
| 125 |
|
| 126 |
ipa_gsi_mem: ipa-gsi@8b310000 { |
| 127 |
reg = <0x0 0x8b310000 0x0 0xa000>; |
| 128 |
no-map; |
| 129 |
}; |
| 130 |
|
| 131 |
gpu_microcode_mem: gpu-microcode@8b31a000 { |
| 132 |
reg = <0x0 0x8b31a000 0x0 0x2000>; |
| 133 |
no-map; |
| 134 |
}; |
| 135 |
|
| 136 |
tz_stat_mem: tz-stat@c0000000 { |
| 137 |
reg = <0x0 0xc0000000 0x0 0x100000>; |
| 138 |
no-map; |
| 139 |
}; |
| 140 |
|
| 141 |
tags_mem: tags@c0100000 { |
| 142 |
reg = <0x0 0xc0100000 0x0 0x1200000>; |
| 143 |
no-map; |
| 144 |
}; |
| 145 |
|
| 146 |
qtee_mem: qtee@c1300000 { |
| 147 |
reg = <0x0 0xc1300000 0x0 0x500000>; |
| 148 |
no-map; |
| 149 |
}; |
| 150 |
|
| 151 |
trusted_apps_mem: trusted-apps@c1800000 { |
| 152 |
reg = <0x0 0xc1800000 0x0 0x1c00000>; |
| 153 |
no-map; |
| 154 |
}; |
| 155 |
|
| 156 |
debug_vm_mem: debug-vm@d0600000 { |
| 157 |
reg = <0x0 0xd0600000 0x0 0x100000>; |
| 158 |
no-map; |
| 159 |
}; |
| 160 |
}; |
| 161 |
|
| 162 |
gpio-keys { |
| 163 |
compatible = "gpio-keys"; |
| 164 |
|
| 165 |
pinctrl-0 = <&kypd_vol_up_n>; |
| 166 |
pinctrl-names = "default"; |
| 167 |
|
| 168 |
key-volume-up { |
| 169 |
label = "Volume Up"; |
| 170 |
gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>; |
| 171 |
linux,code = <KEY_VOLUMEUP>; |
| 172 |
linux,can-disable; |
| 173 |
}; |
| 174 |
}; |
| 175 |
|
| 176 |
pmic-glink { |
| 177 |
compatible = "qcom,qcm6490-pmic-glink", "qcom,pmic-glink"; |
| 178 |
|
| 179 |
#address-cells = <1>; |
| 180 |
#size-cells = <0>; |
| 181 |
orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>; |
| 182 |
|
| 183 |
connector@0 { |
| 184 |
compatible = "usb-c-connector"; |
| 185 |
reg = <0>; |
| 186 |
power-role = "dual"; |
| 187 |
data-role = "dual"; |
| 188 |
|
| 189 |
ports { |
| 190 |
#address-cells = <1>; |
| 191 |
#size-cells = <0>; |
| 192 |
|
| 193 |
port@0 { |
| 194 |
reg = <0>; |
| 195 |
|
| 196 |
pmic_glink_hs_in: endpoint { |
| 197 |
remote-endpoint = <&usb_1_dwc3_hs>; |
| 198 |
}; |
| 199 |
}; |
| 200 |
|
| 201 |
port@1 { |
| 202 |
reg = <1>; |
| 203 |
|
| 204 |
pmic_glink_ss_in: endpoint { |
| 205 |
remote-endpoint = <&redriver_usb_con_ss>; |
| 206 |
}; |
| 207 |
}; |
| 208 |
|
| 209 |
port@2 { |
| 210 |
reg = <2>; |
| 211 |
|
| 212 |
pmic_glink_sbu_in: endpoint { |
| 213 |
remote-endpoint = <&redriver_usb_con_sbu>; |
| 214 |
}; |
| 215 |
}; |
| 216 |
}; |
| 217 |
}; |
| 218 |
}; |
| 219 |
|
| 220 |
vph_pwr: regulator-vph-pwr { |
| 221 |
compatible = "regulator-fixed"; |
| 222 |
regulator-name = "vph_pwr"; |
| 223 |
regulator-min-microvolt = <3700000>; |
| 224 |
regulator-max-microvolt = <3700000>; |
| 225 |
}; |
| 226 |
|
| 227 |
thermal-zones { |
| 228 |
sdm-skin-thermal { |
| 229 |
thermal-sensors = <&pmk8350_adc_tm 3>; |
| 230 |
|
| 231 |
trips { |
| 232 |
active-config0 { |
| 233 |
temperature = <125000>; |
| 234 |
hysteresis = <1000>; |
| 235 |
type = "passive"; |
| 236 |
}; |
| 237 |
}; |
| 238 |
}; |
| 239 |
|
| 240 |
quiet-thermal { |
| 241 |
thermal-sensors = <&pmk8350_adc_tm 1>; |
| 242 |
|
| 243 |
trips { |
| 244 |
active-config0 { |
| 245 |
temperature = <125000>; |
| 246 |
hysteresis = <1000>; |
| 247 |
type = "passive"; |
| 248 |
}; |
| 249 |
}; |
| 250 |
}; |
| 251 |
|
| 252 |
xo-thermal { |
| 253 |
thermal-sensors = <&pmk8350_adc_tm 0>; |
| 254 |
|
| 255 |
trips { |
| 256 |
active-config0 { |
| 257 |
temperature = <125000>; |
| 258 |
hysteresis = <1000>; |
| 259 |
type = "passive"; |
| 260 |
}; |
| 261 |
}; |
| 262 |
}; |
| 263 |
}; |
| 264 |
|
| 265 |
vdd_ntn_0p9: regulator-vdd-ntn-0p9 { |
| 266 |
compatible = "regulator-fixed"; |
| 267 |
regulator-name = "VDD_NTN_0P9"; |
| 268 |
gpio = <&pm8350c_gpios 2 GPIO_ACTIVE_HIGH>; |
| 269 |
regulator-min-microvolt = <899400>; |
| 270 |
regulator-max-microvolt = <899400>; |
| 271 |
enable-active-high; |
| 272 |
pinctrl-0 = <&ntn_0p9_en>; |
| 273 |
pinctrl-names = "default"; |
| 274 |
regulator-enable-ramp-delay = <4300>; |
| 275 |
}; |
| 276 |
|
| 277 |
vdd_ntn_1p8: regulator-vdd-ntn-1p8 { |
| 278 |
compatible = "regulator-fixed"; |
| 279 |
regulator-name = "VDD_NTN_1P8"; |
| 280 |
gpio = <&pm8350c_gpios 3 GPIO_ACTIVE_HIGH>; |
| 281 |
regulator-min-microvolt = <1800000>; |
| 282 |
regulator-max-microvolt = <1800000>; |
| 283 |
enable-active-high; |
| 284 |
pinctrl-0 = <&ntn_1p8_en>; |
| 285 |
pinctrl-names = "default"; |
| 286 |
regulator-enable-ramp-delay = <10000>; |
| 287 |
}; |
| 288 |
|
| 289 |
wcn6750-pmu { |
| 290 |
compatible = "qcom,wcn6750-pmu"; |
| 291 |
pinctrl-0 = <&bt_en>; |
| 292 |
pinctrl-names = "default"; |
| 293 |
vddaon-supply = <&vreg_s7b_0p972>; |
| 294 |
vddasd-supply = <&vreg_l11c_2p8>; |
| 295 |
vddpmu-supply = <&vreg_s7b_0p972>; |
| 296 |
vddrfa0p8-supply = <&vreg_s7b_0p972>; |
| 297 |
vddrfa1p2-supply = <&vreg_s8b_1p272>; |
| 298 |
vddrfa1p7-supply = <&vreg_s1b_1p872>; |
| 299 |
vddrfa2p2-supply = <&vreg_s1c_2p19>; |
| 300 |
|
| 301 |
bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; |
| 302 |
|
| 303 |
regulators { |
| 304 |
vreg_pmu_rfa_cmn: ldo0 { |
| 305 |
regulator-name = "vreg_pmu_rfa_cmn"; |
| 306 |
}; |
| 307 |
|
| 308 |
vreg_pmu_aon_0p59: ldo1 { |
| 309 |
regulator-name = "vreg_pmu_aon_0p59"; |
| 310 |
}; |
| 311 |
|
| 312 |
vreg_pmu_wlcx_0p8: ldo2 { |
| 313 |
regulator-name = "vreg_pmu_wlcx_0p8"; |
| 314 |
}; |
| 315 |
|
| 316 |
vreg_pmu_wlmx_0p85: ldo3 { |
| 317 |
regulator-name = "vreg_pmu_wlmx_0p85"; |
| 318 |
}; |
| 319 |
|
| 320 |
vreg_pmu_btcmx_0p85: ldo4 { |
| 321 |
regulator-name = "vreg_pmu_btcmx_0p85"; |
| 322 |
}; |
| 323 |
|
| 324 |
vreg_pmu_rfa_0p8: ldo5 { |
| 325 |
regulator-name = "vreg_pmu_rfa_0p8"; |
| 326 |
}; |
| 327 |
|
| 328 |
vreg_pmu_rfa_1p2: ldo6 { |
| 329 |
regulator-name = "vreg_pmu_rfa_1p2"; |
| 330 |
}; |
| 331 |
|
| 332 |
vreg_pmu_rfa_1p7: ldo7 { |
| 333 |
regulator-name = "vreg_pmu_rfa_1p7"; |
| 334 |
}; |
| 335 |
|
| 336 |
vreg_pmu_pcie_0p9: ldo8 { |
| 337 |
regulator-name = "vreg_pmu_pcie_0p9"; |
| 338 |
}; |
| 339 |
|
| 340 |
vreg_pmu_pcie_1p8: ldo9 { |
| 341 |
regulator-name = "vreg_pmu_pcie_1p8"; |
| 342 |
}; |
| 343 |
}; |
| 344 |
}; |
| 345 |
}; |
| 346 |
|
| 347 |
&apps_rsc { |
| 348 |
regulators-0 { |
| 349 |
compatible = "qcom,pm7325-rpmh-regulators"; |
| 350 |
qcom,pmic-id = "b"; |
| 351 |
|
| 352 |
vdd-s1-supply = <&vph_pwr>; |
| 353 |
vdd-s2-supply = <&vph_pwr>; |
| 354 |
vdd-s3-supply = <&vph_pwr>; |
| 355 |
vdd-s4-supply = <&vph_pwr>; |
| 356 |
vdd-s5-supply = <&vph_pwr>; |
| 357 |
vdd-s6-supply = <&vph_pwr>; |
| 358 |
vdd-s7-supply = <&vph_pwr>; |
| 359 |
vdd-s8-supply = <&vph_pwr>; |
| 360 |
vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>; |
| 361 |
vdd-l2-l7-supply = <&vreg_bob_3p296>; |
| 362 |
vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>; |
| 363 |
vdd-l8-supply = <&vreg_s7b_0p972>; |
| 364 |
vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>; |
| 365 |
vdd-l13-supply = <&vreg_s7b_0p972>; |
| 366 |
vdd-l14-l16-supply = <&vreg_s8b_1p272>; |
| 367 |
|
| 368 |
vreg_s1b_1p872: smps1 { |
| 369 |
regulator-name = "vreg_s1b_1p872"; |
| 370 |
regulator-min-microvolt = <1840000>; |
| 371 |
regulator-max-microvolt = <2040000>; |
| 372 |
}; |
| 373 |
|
| 374 |
vreg_s7b_0p972: smps7 { |
| 375 |
regulator-name = "vreg_s7b_0p972"; |
| 376 |
regulator-min-microvolt = <535000>; |
| 377 |
regulator-max-microvolt = <1120000>; |
| 378 |
}; |
| 379 |
|
| 380 |
vreg_s8b_1p272: smps8 { |
| 381 |
regulator-name = "vreg_s8b_1p272"; |
| 382 |
regulator-min-microvolt = <1200000>; |
| 383 |
regulator-max-microvolt = <1500000>; |
| 384 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>; |
| 385 |
}; |
| 386 |
|
| 387 |
vreg_l1b_0p912: ldo1 { |
| 388 |
regulator-name = "vreg_l1b_0p912"; |
| 389 |
regulator-min-microvolt = <825000>; |
| 390 |
regulator-max-microvolt = <925000>; |
| 391 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 392 |
}; |
| 393 |
|
| 394 |
vreg_l2b_3p072: ldo2 { |
| 395 |
regulator-name = "vreg_l2b_3p072"; |
| 396 |
regulator-min-microvolt = <2700000>; |
| 397 |
regulator-max-microvolt = <3544000>; |
| 398 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 399 |
}; |
| 400 |
|
| 401 |
vreg_l3b_0p504: ldo3 { |
| 402 |
regulator-name = "vreg_l3b_0p504"; |
| 403 |
regulator-min-microvolt = <312000>; |
| 404 |
regulator-max-microvolt = <650000>; |
| 405 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 406 |
}; |
| 407 |
|
| 408 |
vreg_l6b_1p2: ldo6 { |
| 409 |
regulator-name = "vreg_l6b_1p2"; |
| 410 |
regulator-min-microvolt = <1200000>; |
| 411 |
regulator-max-microvolt = <1260000>; |
| 412 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 413 |
}; |
| 414 |
|
| 415 |
vreg_l7b_2p952: ldo7 { |
| 416 |
regulator-name = "vreg_l7b_2p952"; |
| 417 |
regulator-min-microvolt = <2952000>; |
| 418 |
regulator-max-microvolt = <2952000>; |
| 419 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 420 |
}; |
| 421 |
|
| 422 |
vreg_l8b_0p904: ldo8 { |
| 423 |
regulator-name = "vreg_l8b_0p904"; |
| 424 |
regulator-min-microvolt = <870000>; |
| 425 |
regulator-max-microvolt = <970000>; |
| 426 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 427 |
}; |
| 428 |
|
| 429 |
vreg_l9b_1p2: ldo9 { |
| 430 |
regulator-name = "vreg_l9b_1p2"; |
| 431 |
regulator-min-microvolt = <1200000>; |
| 432 |
regulator-max-microvolt = <1200000>; |
| 433 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 434 |
regulator-allow-set-load; |
| 435 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 436 |
RPMH_REGULATOR_MODE_HPM>; |
| 437 |
}; |
| 438 |
|
| 439 |
vreg_l11b_1p504: ldo11 { |
| 440 |
regulator-name = "vreg_l11b_1p504"; |
| 441 |
regulator-min-microvolt = <1776000>; |
| 442 |
regulator-max-microvolt = <2000000>; |
| 443 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 444 |
}; |
| 445 |
|
| 446 |
vreg_l12b_0p751: ldo12 { |
| 447 |
regulator-name = "vreg_l12b_0p751"; |
| 448 |
regulator-min-microvolt = <751000>; |
| 449 |
regulator-max-microvolt = <824000>; |
| 450 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 451 |
}; |
| 452 |
|
| 453 |
vreg_l13b_0p53: ldo13 { |
| 454 |
regulator-name = "vreg_l13b_0p53"; |
| 455 |
regulator-min-microvolt = <530000>; |
| 456 |
regulator-max-microvolt = <824000>; |
| 457 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 458 |
}; |
| 459 |
|
| 460 |
vreg_l14b_1p08: ldo14 { |
| 461 |
regulator-name = "vreg_l14b_1p08"; |
| 462 |
regulator-min-microvolt = <1200000>; |
| 463 |
regulator-max-microvolt = <1304000>; |
| 464 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 465 |
}; |
| 466 |
|
| 467 |
vreg_l15b_0p765: ldo15 { |
| 468 |
regulator-name = "vreg_l15b_0p765"; |
| 469 |
regulator-min-microvolt = <765000>; |
| 470 |
regulator-max-microvolt = <1020000>; |
| 471 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 472 |
}; |
| 473 |
|
| 474 |
vreg_l16b_1p1: ldo16 { |
| 475 |
regulator-name = "vreg_l16b_1p1"; |
| 476 |
regulator-min-microvolt = <1100000>; |
| 477 |
regulator-max-microvolt = <1300000>; |
| 478 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 479 |
}; |
| 480 |
|
| 481 |
vreg_l17b_1p7: ldo17 { |
| 482 |
regulator-name = "vreg_l17b_1p7"; |
| 483 |
regulator-min-microvolt = <1700000>; |
| 484 |
regulator-max-microvolt = <1900000>; |
| 485 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 486 |
}; |
| 487 |
|
| 488 |
vreg_l18b_1p8: ldo18 { |
| 489 |
regulator-name = "vreg_l18b_1p8"; |
| 490 |
regulator-min-microvolt = <1800000>; |
| 491 |
regulator-max-microvolt = <2000000>; |
| 492 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 493 |
}; |
| 494 |
|
| 495 |
vreg_l19b_1p8: ldo19 { |
| 496 |
regulator-name = "vreg_l19b_1p8"; |
| 497 |
regulator-min-microvolt = <1800000>; |
| 498 |
regulator-max-microvolt = <2000000>; |
| 499 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 500 |
}; |
| 501 |
}; |
| 502 |
|
| 503 |
regulators-1 { |
| 504 |
compatible = "qcom,pm8350c-rpmh-regulators"; |
| 505 |
qcom,pmic-id = "c"; |
| 506 |
|
| 507 |
vdd-s1-supply = <&vph_pwr>; |
| 508 |
vdd-s2-supply = <&vph_pwr>; |
| 509 |
vdd-s3-supply = <&vph_pwr>; |
| 510 |
vdd-s4-supply = <&vph_pwr>; |
| 511 |
vdd-s5-supply = <&vph_pwr>; |
| 512 |
vdd-s6-supply = <&vph_pwr>; |
| 513 |
vdd-s7-supply = <&vph_pwr>; |
| 514 |
vdd-s8-supply = <&vph_pwr>; |
| 515 |
vdd-s9-supply = <&vph_pwr>; |
| 516 |
vdd-s10-supply = <&vph_pwr>; |
| 517 |
vdd-l1-l12-supply = <&vreg_s1b_1p872>; |
| 518 |
vdd-l2-l8-supply = <&vreg_s1b_1p872>; |
| 519 |
vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>; |
| 520 |
vdd-l6-l9-l11-supply = <&vreg_bob_3p296>; |
| 521 |
vdd-l10-supply = <&vreg_s7b_0p972>; |
| 522 |
vdd-bob-supply = <&vph_pwr>; |
| 523 |
|
| 524 |
vreg_s1c_2p19: smps1 { |
| 525 |
regulator-name = "vreg_s1c_2p19"; |
| 526 |
regulator-min-microvolt = <2200000>; |
| 527 |
regulator-max-microvolt = <2208000>; |
| 528 |
}; |
| 529 |
|
| 530 |
vreg_s9c_1p084: smps9 { |
| 531 |
regulator-name = "vreg_s9c_1p084"; |
| 532 |
regulator-min-microvolt = <1010000>; |
| 533 |
regulator-max-microvolt = <1170000>; |
| 534 |
}; |
| 535 |
|
| 536 |
vreg_l1c_1p8: ldo1 { |
| 537 |
regulator-name = "vreg_l1c_1p8"; |
| 538 |
regulator-min-microvolt = <1800000>; |
| 539 |
regulator-max-microvolt = <1980000>; |
| 540 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 541 |
}; |
| 542 |
|
| 543 |
vreg_l2c_1p62: ldo2 { |
| 544 |
regulator-name = "vreg_l2c_1p62"; |
| 545 |
regulator-min-microvolt = <1620000>; |
| 546 |
regulator-max-microvolt = <1980000>; |
| 547 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 548 |
}; |
| 549 |
|
| 550 |
vreg_l3c_2p8: ldo3 { |
| 551 |
regulator-name = "vreg_l3c_2p8"; |
| 552 |
regulator-min-microvolt = <2800000>; |
| 553 |
regulator-max-microvolt = <3540000>; |
| 554 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 555 |
}; |
| 556 |
|
| 557 |
vreg_l4c_1p62: ldo4 { |
| 558 |
regulator-name = "vreg_l4c_1p62"; |
| 559 |
regulator-min-microvolt = <1620000>; |
| 560 |
regulator-max-microvolt = <3300000>; |
| 561 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 562 |
}; |
| 563 |
|
| 564 |
vreg_l5c_1p62: ldo5 { |
| 565 |
regulator-name = "vreg_l5c_1p62"; |
| 566 |
regulator-min-microvolt = <1620000>; |
| 567 |
regulator-max-microvolt = <3300000>; |
| 568 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 569 |
}; |
| 570 |
|
| 571 |
vreg_l6c_2p96: ldo6 { |
| 572 |
regulator-name = "vreg_l6c_2p96"; |
| 573 |
regulator-min-microvolt = <1650000>; |
| 574 |
regulator-max-microvolt = <3544000>; |
| 575 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 576 |
}; |
| 577 |
|
| 578 |
vreg_l7c_3p0: ldo7 { |
| 579 |
regulator-name = "vreg_l7c_3p0"; |
| 580 |
regulator-min-microvolt = <3000000>; |
| 581 |
regulator-max-microvolt = <3544000>; |
| 582 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 583 |
}; |
| 584 |
|
| 585 |
vreg_l8c_1p62: ldo8 { |
| 586 |
regulator-name = "vreg_l8c_1p62"; |
| 587 |
regulator-min-microvolt = <1800000>; |
| 588 |
regulator-max-microvolt = <2000000>; |
| 589 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 590 |
}; |
| 591 |
|
| 592 |
vreg_l9c_2p96: ldo9 { |
| 593 |
regulator-name = "vreg_l9c_2p96"; |
| 594 |
regulator-min-microvolt = <2700000>; |
| 595 |
regulator-max-microvolt = <3544000>; |
| 596 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 597 |
}; |
| 598 |
|
| 599 |
vreg_l10c_0p88: ldo10 { |
| 600 |
regulator-name = "vreg_l10c_0p88"; |
| 601 |
regulator-min-microvolt = <720000>; |
| 602 |
regulator-max-microvolt = <1050000>; |
| 603 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 604 |
}; |
| 605 |
|
| 606 |
vreg_l11c_2p8: ldo11 { |
| 607 |
regulator-name = "vreg_l11c_2p8"; |
| 608 |
regulator-min-microvolt = <2800000>; |
| 609 |
regulator-max-microvolt = <3544000>; |
| 610 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 611 |
}; |
| 612 |
|
| 613 |
vreg_l12c_1p65: ldo12 { |
| 614 |
regulator-name = "vreg_l12c_1p65"; |
| 615 |
regulator-min-microvolt = <1800000>; |
| 616 |
regulator-max-microvolt = <2000000>; |
| 617 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 618 |
}; |
| 619 |
|
| 620 |
vreg_l13c_2p7: ldo13 { |
| 621 |
regulator-name = "vreg_l13c_2p7"; |
| 622 |
regulator-min-microvolt = <2700000>; |
| 623 |
regulator-max-microvolt = <3544000>; |
| 624 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 625 |
}; |
| 626 |
|
| 627 |
vreg_bob_3p296: bob { |
| 628 |
regulator-name = "vreg_bob_3p296"; |
| 629 |
regulator-min-microvolt = <3008000>; |
| 630 |
regulator-max-microvolt = <3960000>; |
| 631 |
}; |
| 632 |
}; |
| 633 |
}; |
| 634 |
|
| 635 |
&gcc { |
| 636 |
protected-clocks = <GCC_CFG_NOC_LPASS_CLK>, |
| 637 |
<GCC_MSS_CFG_AHB_CLK>, |
| 638 |
<GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, |
| 639 |
<GCC_MSS_OFFLINE_AXI_CLK>, |
| 640 |
<GCC_MSS_Q6SS_BOOT_CLK_SRC>, |
| 641 |
<GCC_MSS_Q6_MEMNOC_AXI_CLK>, |
| 642 |
<GCC_MSS_SNOC_AXI_CLK>, |
| 643 |
<GCC_QSPI_CNOC_PERIPH_AHB_CLK>, |
| 644 |
<GCC_QSPI_CORE_CLK>, |
| 645 |
<GCC_QSPI_CORE_CLK_SRC>, |
| 646 |
<GCC_SEC_CTRL_CLK_SRC>, |
| 647 |
<GCC_WPSS_AHB_BDG_MST_CLK>, |
| 648 |
<GCC_WPSS_AHB_CLK>, |
| 649 |
<GCC_WPSS_RSCP_CLK>; |
| 650 |
}; |
| 651 |
|
| 652 |
&gpi_dma0 { |
| 653 |
status = "okay"; |
| 654 |
}; |
| 655 |
|
| 656 |
&gpi_dma1 { |
| 657 |
status = "okay"; |
| 658 |
}; |
| 659 |
|
| 660 |
&gpu { |
| 661 |
status = "okay"; |
| 662 |
}; |
| 663 |
|
| 664 |
&gpu_zap_shader { |
| 665 |
firmware-name = "qcom/qcs6490/a660_zap.mbn"; |
| 666 |
}; |
| 667 |
|
| 668 |
&i2c0 { |
| 669 |
clock-frequency = <400000>; |
| 670 |
status = "okay"; |
| 671 |
|
| 672 |
lt9611_codec: hdmi-bridge@2b { |
| 673 |
compatible = "lontium,lt9611uxc"; |
| 674 |
reg = <0x2b>; |
| 675 |
|
| 676 |
interrupts-extended = <&tlmm 24 IRQ_TYPE_EDGE_FALLING>; |
| 677 |
reset-gpios = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; |
| 678 |
|
| 679 |
vdd-supply = <<9611_1v2>; |
| 680 |
vcc-supply = <&vreg_l11c_2p8>; |
| 681 |
|
| 682 |
pinctrl-names = "default"; |
| 683 |
pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; |
| 684 |
|
| 685 |
ports { |
| 686 |
#address-cells = <1>; |
| 687 |
#size-cells = <0>; |
| 688 |
|
| 689 |
port@0 { |
| 690 |
reg = <0>; |
| 691 |
|
| 692 |
lt9611_a: endpoint { |
| 693 |
remote-endpoint = <&mdss_dsi0_out>; |
| 694 |
}; |
| 695 |
}; |
| 696 |
|
| 697 |
port@2 { |
| 698 |
reg = <2>; |
| 699 |
|
| 700 |
lt9611_out: endpoint { |
| 701 |
remote-endpoint = <&hdmi_con>; |
| 702 |
}; |
| 703 |
}; |
| 704 |
}; |
| 705 |
}; |
| 706 |
}; |
| 707 |
|
| 708 |
&i2c1 { |
| 709 |
clock-frequency = <100000>; |
| 710 |
status = "okay"; |
| 711 |
|
| 712 |
typec-mux@1c { |
| 713 |
compatible = "onnn,nb7vpq904m"; |
| 714 |
reg = <0x1c>; |
| 715 |
|
| 716 |
vcc-supply = <&vreg_l18b_1p8>; |
| 717 |
|
| 718 |
retimer-switch; |
| 719 |
orientation-switch; |
| 720 |
|
| 721 |
ports { |
| 722 |
#address-cells = <1>; |
| 723 |
#size-cells = <0>; |
| 724 |
|
| 725 |
port@0 { |
| 726 |
reg = <0>; |
| 727 |
|
| 728 |
redriver_usb_con_ss: endpoint { |
| 729 |
remote-endpoint = <&pmic_glink_ss_in>; |
| 730 |
}; |
| 731 |
}; |
| 732 |
|
| 733 |
port@1 { |
| 734 |
reg = <1>; |
| 735 |
|
| 736 |
redriver_phy_con_ss: endpoint { |
| 737 |
remote-endpoint = <&usb_dp_qmpphy_out>; |
| 738 |
data-lanes = <0 1 2 3>; |
| 739 |
}; |
| 740 |
}; |
| 741 |
|
| 742 |
port@2 { |
| 743 |
reg = <2>; |
| 744 |
|
| 745 |
redriver_usb_con_sbu: endpoint { |
| 746 |
remote-endpoint = <&pmic_glink_sbu_in>; |
| 747 |
}; |
| 748 |
}; |
| 749 |
}; |
| 750 |
}; |
| 751 |
}; |
| 752 |
|
| 753 |
&lpass_va_macro { |
| 754 |
status = "okay"; |
| 755 |
}; |
| 756 |
|
| 757 |
&lpass_wsa_macro { |
| 758 |
status = "okay"; |
| 759 |
}; |
| 760 |
|
| 761 |
&mdss { |
| 762 |
status = "okay"; |
| 763 |
}; |
| 764 |
|
| 765 |
&mdss_dp { |
| 766 |
status = "okay"; |
| 767 |
}; |
| 768 |
|
| 769 |
&mdss_dp_out { |
| 770 |
data-lanes = <0 1>; |
| 771 |
remote-endpoint = <&usb_dp_qmpphy_dp_in>; |
| 772 |
}; |
| 773 |
|
| 774 |
&mdss_dsi { |
| 775 |
vdda-supply = <&vreg_l6b_1p2>; |
| 776 |
status = "okay"; |
| 777 |
}; |
| 778 |
|
| 779 |
&mdss_dsi0_out { |
| 780 |
remote-endpoint = <<9611_a>; |
| 781 |
data-lanes = <0 1 2 3>; |
| 782 |
}; |
| 783 |
|
| 784 |
&mdss_dsi_phy { |
| 785 |
vdds-supply = <&vreg_l10c_0p88>; |
| 786 |
status = "okay"; |
| 787 |
}; |
| 788 |
|
| 789 |
&mdss_edp { |
| 790 |
status = "okay"; |
| 791 |
}; |
| 792 |
|
| 793 |
&mdss_edp_out { |
| 794 |
data-lanes = <0 1 2 3>; |
| 795 |
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; |
| 796 |
|
| 797 |
remote-endpoint = <&dp_connector_in>; |
| 798 |
}; |
| 799 |
|
| 800 |
&mdss_edp_phy { |
| 801 |
status = "okay"; |
| 802 |
}; |
| 803 |
|
| 804 |
&pcie1 { |
| 805 |
perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; |
| 806 |
|
| 807 |
pinctrl-0 = <&pcie1_reset_n>, <&pcie1_wake_n>, <&pcie1_clkreq_n>; |
| 808 |
pinctrl-names = "default"; |
| 809 |
|
| 810 |
iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, |
| 811 |
<0x100 &apps_smmu 0x1c81 0x1>, |
| 812 |
<0x208 &apps_smmu 0x1c84 0x1>, |
| 813 |
<0x210 &apps_smmu 0x1c85 0x1>, |
| 814 |
<0x218 &apps_smmu 0x1c86 0x1>, |
| 815 |
<0x300 &apps_smmu 0x1c87 0x1>, |
| 816 |
<0x400 &apps_smmu 0x1c88 0x1>, |
| 817 |
<0x500 &apps_smmu 0x1c89 0x1>, |
| 818 |
<0x501 &apps_smmu 0x1c90 0x1>; |
| 819 |
|
| 820 |
status = "okay"; |
| 821 |
}; |
| 822 |
|
| 823 |
&pcie1_phy { |
| 824 |
vdda-phy-supply = <&vreg_l10c_0p88>; |
| 825 |
vdda-pll-supply = <&vreg_l6b_1p2>; |
| 826 |
|
| 827 |
status = "okay"; |
| 828 |
}; |
| 829 |
|
| 830 |
&pcie1_port0 { |
| 831 |
pcie@0,0 { |
| 832 |
compatible = "pci1179,0623"; |
| 833 |
reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 834 |
#address-cells = <3>; |
| 835 |
#size-cells = <2>; |
| 836 |
|
| 837 |
device_type = "pci"; |
| 838 |
ranges; |
| 839 |
bus-range = <0x2 0xff>; |
| 840 |
|
| 841 |
vddc-supply = <&vdd_ntn_0p9>; |
| 842 |
vdd18-supply = <&vdd_ntn_1p8>; |
| 843 |
vdd09-supply = <&vdd_ntn_0p9>; |
| 844 |
vddio1-supply = <&vdd_ntn_1p8>; |
| 845 |
vddio2-supply = <&vdd_ntn_1p8>; |
| 846 |
vddio18-supply = <&vdd_ntn_1p8>; |
| 847 |
|
| 848 |
i2c-parent = <&i2c0 0x77>; |
| 849 |
|
| 850 |
resx-gpios = <&pm8350c_gpios 1 GPIO_ACTIVE_LOW>; |
| 851 |
|
| 852 |
pinctrl-0 = <&tc9563_resx_n>; |
| 853 |
pinctrl-names = "default"; |
| 854 |
|
| 855 |
pcie@1,0 { |
| 856 |
reg = <0x20800 0x0 0x0 0x0 0x0>; |
| 857 |
#address-cells = <3>; |
| 858 |
#size-cells = <2>; |
| 859 |
|
| 860 |
device_type = "pci"; |
| 861 |
ranges; |
| 862 |
bus-range = <0x3 0xff>; |
| 863 |
}; |
| 864 |
|
| 865 |
pcie@2,0 { |
| 866 |
reg = <0x21000 0x0 0x0 0x0 0x0>; |
| 867 |
#address-cells = <3>; |
| 868 |
#size-cells = <2>; |
| 869 |
|
| 870 |
device_type = "pci"; |
| 871 |
ranges; |
| 872 |
bus-range = <0x4 0xff>; |
| 873 |
}; |
| 874 |
|
| 875 |
pcie@3,0 { |
| 876 |
reg = <0x21800 0x0 0x0 0x0 0x0>; |
| 877 |
#address-cells = <3>; |
| 878 |
#size-cells = <2>; |
| 879 |
device_type = "pci"; |
| 880 |
ranges; |
| 881 |
bus-range = <0x5 0xff>; |
| 882 |
|
| 883 |
pci@0,0 { |
| 884 |
reg = <0x50000 0x0 0x0 0x0 0x0>; |
| 885 |
#address-cells = <3>; |
| 886 |
#size-cells = <2>; |
| 887 |
device_type = "pci"; |
| 888 |
ranges; |
| 889 |
}; |
| 890 |
|
| 891 |
pci@0,1 { |
| 892 |
reg = <0x50100 0x0 0x0 0x0 0x0>; |
| 893 |
#address-cells = <3>; |
| 894 |
#size-cells = <2>; |
| 895 |
device_type = "pci"; |
| 896 |
ranges; |
| 897 |
}; |
| 898 |
}; |
| 899 |
}; |
| 900 |
}; |
| 901 |
|
| 902 |
&pm7325_gpios { |
| 903 |
kypd_vol_up_n: kypd-vol-up-n-state { |
| 904 |
pins = "gpio6"; |
| 905 |
function = PMIC_GPIO_FUNC_NORMAL; |
| 906 |
power-source = <1>; |
| 907 |
bias-pull-up; |
| 908 |
input-enable; |
| 909 |
}; |
| 910 |
}; |
| 911 |
|
| 912 |
&pm7325_temp_alarm { |
| 913 |
io-channels = <&pmk8350_vadc PM7325_ADC7_DIE_TEMP>; |
| 914 |
io-channel-names = "thermal"; |
| 915 |
}; |
| 916 |
|
| 917 |
&pmk8350_adc_tm { |
| 918 |
status = "okay"; |
| 919 |
|
| 920 |
xo-therm@0 { |
| 921 |
reg = <0>; |
| 922 |
io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>; |
| 923 |
qcom,ratiometric; |
| 924 |
qcom,hw-settle-time-us = <200>; |
| 925 |
}; |
| 926 |
|
| 927 |
quiet-therm@1 { |
| 928 |
reg = <1>; |
| 929 |
io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>; |
| 930 |
qcom,ratiometric; |
| 931 |
qcom,hw-settle-time-us = <200>; |
| 932 |
}; |
| 933 |
|
| 934 |
sdm-skin-therm@3 { |
| 935 |
reg = <3>; |
| 936 |
io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>; |
| 937 |
qcom,ratiometric; |
| 938 |
qcom,hw-settle-time-us = <200>; |
| 939 |
}; |
| 940 |
}; |
| 941 |
|
| 942 |
&pm8350c_pwm { |
| 943 |
nvmem = <&pmk8350_sdam_21>, |
| 944 |
<&pmk8350_sdam_22>; |
| 945 |
nvmem-names = "lpg_chan_sdam", |
| 946 |
"lut_sdam"; |
| 947 |
|
| 948 |
#address-cells = <1>; |
| 949 |
#size-cells = <0>; |
| 950 |
|
| 951 |
status = "okay"; |
| 952 |
|
| 953 |
led@1 { |
| 954 |
reg = <1>; |
| 955 |
color = <LED_COLOR_ID_GREEN>; |
| 956 |
function = LED_FUNCTION_INDICATOR; |
| 957 |
function-enumerator = <3>; |
| 958 |
linux,default-trigger = "none"; |
| 959 |
default-state = "off"; |
| 960 |
panic-indicator; |
| 961 |
}; |
| 962 |
|
| 963 |
led@2 { |
| 964 |
reg = <2>; |
| 965 |
color = <LED_COLOR_ID_GREEN>; |
| 966 |
function = LED_FUNCTION_INDICATOR; |
| 967 |
function-enumerator = <2>; |
| 968 |
linux,default-trigger = "none"; |
| 969 |
default-state = "off"; |
| 970 |
}; |
| 971 |
|
| 972 |
led@3 { |
| 973 |
reg = <3>; |
| 974 |
color = <LED_COLOR_ID_GREEN>; |
| 975 |
function = LED_FUNCTION_INDICATOR; |
| 976 |
function-enumerator = <1>; |
| 977 |
linux,default-trigger = "none"; |
| 978 |
default-state = "off"; |
| 979 |
}; |
| 980 |
}; |
| 981 |
|
| 982 |
&pmk8350_rtc { |
| 983 |
status = "okay"; |
| 984 |
}; |
| 985 |
|
| 986 |
&pmk8350_vadc { |
| 987 |
channel@3 { |
| 988 |
reg = <PMK8350_ADC7_DIE_TEMP>; |
| 989 |
label = "pmk8350_die_temp"; |
| 990 |
qcom,pre-scaling = <1 1>; |
| 991 |
}; |
| 992 |
|
| 993 |
channel@44 { |
| 994 |
reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; |
| 995 |
label = "xo_therm"; |
| 996 |
qcom,hw-settle-time = <200>; |
| 997 |
qcom,pre-scaling = <1 1>; |
| 998 |
qcom,ratiometric; |
| 999 |
}; |
| 1000 |
|
| 1001 |
channel@103 { |
| 1002 |
reg = <PM7325_ADC7_DIE_TEMP>; |
| 1003 |
label = "pm7325_die_temp"; |
| 1004 |
qcom,pre-scaling = <1 1>; |
| 1005 |
}; |
| 1006 |
|
| 1007 |
channel@144 { |
| 1008 |
reg = <PM7325_ADC7_AMUX_THM1_100K_PU>; |
| 1009 |
qcom,ratiometric; |
| 1010 |
qcom,hw-settle-time = <200>; |
| 1011 |
qcom,pre-scaling = <1 1>; |
| 1012 |
label = "pm7325_quiet_therm"; |
| 1013 |
}; |
| 1014 |
|
| 1015 |
channel@146 { |
| 1016 |
reg = <PM7325_ADC7_AMUX_THM3_100K_PU>; |
| 1017 |
qcom,ratiometric; |
| 1018 |
qcom,hw-settle-time = <200>; |
| 1019 |
qcom,pre-scaling = <1 1>; |
| 1020 |
label = "pm7325_sdm_skin_therm"; |
| 1021 |
}; |
| 1022 |
}; |
| 1023 |
|
| 1024 |
&pon_pwrkey { |
| 1025 |
status = "okay"; |
| 1026 |
}; |
| 1027 |
|
| 1028 |
&pon_resin { |
| 1029 |
linux,code = <KEY_VOLUMEDOWN>; |
| 1030 |
|
| 1031 |
status = "okay"; |
| 1032 |
}; |
| 1033 |
|
| 1034 |
&qup_uart7_cts { |
| 1035 |
/* |
| 1036 |
* Configure a bias-bus-hold on CTS to lower power |
| 1037 |
* usage when Bluetooth is turned off. Bus hold will |
| 1038 |
* maintain a low power state regardless of whether |
| 1039 |
* the Bluetooth module drives the pin in either |
| 1040 |
* direction or leaves the pin fully unpowered. |
| 1041 |
*/ |
| 1042 |
bias-bus-hold; |
| 1043 |
}; |
| 1044 |
|
| 1045 |
&qup_uart7_rts { |
| 1046 |
/* We'll drive RTS, so no pull */ |
| 1047 |
drive-strength = <2>; |
| 1048 |
bias-disable; |
| 1049 |
}; |
| 1050 |
|
| 1051 |
&qup_uart7_rx { |
| 1052 |
/* |
| 1053 |
* Configure a pull-up on RX. This is needed to avoid |
| 1054 |
* garbage data when the TX pin of the Bluetooth module is |
| 1055 |
* in tri-state (module powered off or not driving the |
| 1056 |
* signal yet). |
| 1057 |
*/ |
| 1058 |
bias-pull-up; |
| 1059 |
}; |
| 1060 |
|
| 1061 |
&qup_uart7_tx { |
| 1062 |
/* We'll drive TX, so no pull */ |
| 1063 |
drive-strength = <2>; |
| 1064 |
bias-disable; |
| 1065 |
}; |
| 1066 |
|
| 1067 |
&qupv3_id_0 { |
| 1068 |
firmware-name = "qcom/qcs6490/qupv3fw.elf"; |
| 1069 |
status = "okay"; |
| 1070 |
}; |
| 1071 |
|
| 1072 |
&qupv3_id_1 { |
| 1073 |
firmware-name = "qcom/qcs6490/qupv3fw.elf"; |
| 1074 |
status = "okay"; |
| 1075 |
}; |
| 1076 |
|
| 1077 |
&remoteproc_adsp { |
| 1078 |
firmware-name = "qcom/qcs6490/adsp.mbn"; |
| 1079 |
status = "okay"; |
| 1080 |
}; |
| 1081 |
|
| 1082 |
&remoteproc_cdsp { |
| 1083 |
firmware-name = "qcom/qcs6490/cdsp.mbn"; |
| 1084 |
status = "okay"; |
| 1085 |
}; |
| 1086 |
|
| 1087 |
&remoteproc_mpss { |
| 1088 |
firmware-name = "qcom/qcs6490/modem.mbn"; |
| 1089 |
status = "okay"; |
| 1090 |
}; |
| 1091 |
|
| 1092 |
&remoteproc_wpss { |
| 1093 |
firmware-name = "qcom/qcs6490/wpss.mbn"; |
| 1094 |
status = "okay"; |
| 1095 |
}; |
| 1096 |
|
| 1097 |
&sdhc_2 { |
| 1098 |
pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd>; |
| 1099 |
pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd>; |
| 1100 |
|
| 1101 |
vmmc-supply = <&vreg_l9c_2p96>; |
| 1102 |
vqmmc-supply = <&vreg_l6c_2p96>; |
| 1103 |
|
| 1104 |
cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>; |
| 1105 |
|
| 1106 |
status = "okay"; |
| 1107 |
}; |
| 1108 |
|
| 1109 |
&sound { |
| 1110 |
compatible = "qcom,qcs6490-rb3gen2-sndcard"; |
| 1111 |
model = "QCS6490-RB3Gen2"; |
| 1112 |
|
| 1113 |
audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", |
| 1114 |
"SpkrRight IN", "WSA_SPK2 OUT", |
| 1115 |
"VA DMIC0", "vdd-micb", |
| 1116 |
"VA DMIC1", "vdd-micb", |
| 1117 |
"VA DMIC2", "vdd-micb", |
| 1118 |
"VA DMIC3", "vdd-micb"; |
| 1119 |
|
| 1120 |
wsa-dai-link { |
| 1121 |
link-name = "WSA Playback"; |
| 1122 |
|
| 1123 |
codec { |
| 1124 |
sound-dai = <&left_spkr>, <&right_spkr>, |
| 1125 |
<&swr2 0>, <&lpass_wsa_macro 0>; |
| 1126 |
}; |
| 1127 |
|
| 1128 |
cpu { |
| 1129 |
sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; |
| 1130 |
}; |
| 1131 |
|
| 1132 |
platform { |
| 1133 |
sound-dai = <&q6apm>; |
| 1134 |
}; |
| 1135 |
}; |
| 1136 |
|
| 1137 |
va-dai-link { |
| 1138 |
link-name = "VA Capture"; |
| 1139 |
|
| 1140 |
codec { |
| 1141 |
sound-dai = <&lpass_va_macro 0>; |
| 1142 |
}; |
| 1143 |
|
| 1144 |
cpu { |
| 1145 |
sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; |
| 1146 |
}; |
| 1147 |
|
| 1148 |
platform { |
| 1149 |
sound-dai = <&q6apm>; |
| 1150 |
}; |
| 1151 |
}; |
| 1152 |
}; |
| 1153 |
|
| 1154 |
&swr2 { |
| 1155 |
status = "okay"; |
| 1156 |
|
| 1157 |
left_spkr: speaker@0,1 { |
| 1158 |
compatible = "sdw10217020200"; |
| 1159 |
reg = <0 1>; |
| 1160 |
reset-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>; |
| 1161 |
#sound-dai-cells = <0>; |
| 1162 |
sound-name-prefix = "SpkrLeft"; |
| 1163 |
#thermal-sensor-cells = <0>; |
| 1164 |
vdd-supply = <&vreg_l18b_1p8>; |
| 1165 |
qcom,port-mapping = <1 2 3 7>; |
| 1166 |
}; |
| 1167 |
|
| 1168 |
right_spkr: speaker@0,2 { |
| 1169 |
compatible = "sdw10217020200"; |
| 1170 |
reg = <0 2>; |
| 1171 |
reset-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>; |
| 1172 |
#sound-dai-cells = <0>; |
| 1173 |
sound-name-prefix = "SpkrRight"; |
| 1174 |
#thermal-sensor-cells = <0>; |
| 1175 |
vdd-supply = <&vreg_l18b_1p8>; |
| 1176 |
qcom,port-mapping = <4 5 6 8>; |
| 1177 |
}; |
| 1178 |
}; |
| 1179 |
|
| 1180 |
&pm8350c_gpios { |
| 1181 |
ntn_0p9_en: ntn-0p9-en-state { |
| 1182 |
pins = "gpio2"; |
| 1183 |
function = "normal"; |
| 1184 |
|
| 1185 |
bias-disable; |
| 1186 |
input-disable; |
| 1187 |
output-enable; |
| 1188 |
power-source = <0>; |
| 1189 |
}; |
| 1190 |
|
| 1191 |
ntn_1p8_en: ntn-1p8-en-state { |
| 1192 |
pins = "gpio3"; |
| 1193 |
function = "normal"; |
| 1194 |
|
| 1195 |
bias-disable; |
| 1196 |
input-disable; |
| 1197 |
output-enable; |
| 1198 |
power-source = <0>; |
| 1199 |
}; |
| 1200 |
|
| 1201 |
tc9563_resx_n: tc9563-resx-state { |
| 1202 |
pins = "gpio1"; |
| 1203 |
function = "normal"; |
| 1204 |
|
| 1205 |
bias-disable; |
| 1206 |
input-disable; |
| 1207 |
output-enable; |
| 1208 |
power-source = <0>; |
| 1209 |
}; |
| 1210 |
}; |
| 1211 |
|
| 1212 |
&tlmm { |
| 1213 |
gpio-reserved-ranges = <32 2>, /* ADSP */ |
| 1214 |
<48 4>; /* NFC */ |
| 1215 |
|
| 1216 |
bt_en: bt-en-state { |
| 1217 |
pins = "gpio85"; |
| 1218 |
function = "gpio"; |
| 1219 |
output-low; |
| 1220 |
bias-disable; |
| 1221 |
}; |
| 1222 |
|
| 1223 |
qup_uart7_sleep_cts: qup-uart7-sleep-cts-state { |
| 1224 |
pins = "gpio28"; |
| 1225 |
function = "gpio"; |
| 1226 |
/* |
| 1227 |
* Configure a bias-bus-hold on CTS to lower power |
| 1228 |
* usage when Bluetooth is turned off. Bus hold will |
| 1229 |
* maintain a low power state regardless of whether |
| 1230 |
* the Bluetooth module drives the pin in either |
| 1231 |
* direction or leaves the pin fully unpowered. |
| 1232 |
*/ |
| 1233 |
bias-bus-hold; |
| 1234 |
}; |
| 1235 |
|
| 1236 |
qup_uart7_sleep_rts: qup-uart7-sleep-rts-state { |
| 1237 |
pins = "gpio29"; |
| 1238 |
function = "gpio"; |
| 1239 |
/* |
| 1240 |
* Configure pull-down on RTS. As RTS is active low |
| 1241 |
* signal, pull it low to indicate the BT SoC that it |
| 1242 |
* can wakeup the system anytime from suspend state by |
| 1243 |
* pulling RX low (by sending wakeup bytes). |
| 1244 |
*/ |
| 1245 |
bias-pull-down; |
| 1246 |
}; |
| 1247 |
|
| 1248 |
qup_uart7_sleep_rx: qup-uart7-sleep-rx-state { |
| 1249 |
pins = "gpio31"; |
| 1250 |
function = "gpio"; |
| 1251 |
/* |
| 1252 |
* Configure a pull-up on RX. This is needed to avoid |
| 1253 |
* garbage data when the TX pin of the Bluetooth module |
| 1254 |
* is floating which may cause spurious wakeups. |
| 1255 |
*/ |
| 1256 |
bias-pull-up; |
| 1257 |
}; |
| 1258 |
|
| 1259 |
qup_uart7_sleep_tx: qup-uart7-sleep-tx-state { |
| 1260 |
pins = "gpio30"; |
| 1261 |
function = "gpio"; |
| 1262 |
/* |
| 1263 |
* Configure pull-up on TX when it isn't actively driven |
| 1264 |
* to prevent BT SoC from receiving garbage during sleep. |
| 1265 |
*/ |
| 1266 |
bias-pull-up; |
| 1267 |
}; |
| 1268 |
}; |
| 1269 |
|
| 1270 |
&uart5 { |
| 1271 |
status = "okay"; |
| 1272 |
}; |
| 1273 |
|
| 1274 |
&uart7 { |
| 1275 |
/delete-property/ interrupts; |
| 1276 |
interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>, |
| 1277 |
<&tlmm 31 IRQ_TYPE_EDGE_FALLING>; |
| 1278 |
pinctrl-1 = <&qup_uart7_sleep_cts>, |
| 1279 |
<&qup_uart7_sleep_rts>, |
| 1280 |
<&qup_uart7_sleep_tx>, |
| 1281 |
<&qup_uart7_sleep_rx>; |
| 1282 |
pinctrl-names = "default", |
| 1283 |
"sleep"; |
| 1284 |
|
| 1285 |
status = "okay"; |
| 1286 |
|
| 1287 |
bluetooth: bluetooth { |
| 1288 |
compatible = "qcom,wcn6750-bt"; |
| 1289 |
vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; |
| 1290 |
vddaon-supply = <&vreg_pmu_aon_0p59>; |
| 1291 |
vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; |
| 1292 |
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 1293 |
vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; |
| 1294 |
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 1295 |
max-speed = <3200000>; |
| 1296 |
}; |
| 1297 |
}; |
| 1298 |
|
| 1299 |
&usb_1 { |
| 1300 |
dr_mode = "otg"; |
| 1301 |
usb-role-switch; |
| 1302 |
|
| 1303 |
status = "okay"; |
| 1304 |
}; |
| 1305 |
|
| 1306 |
&usb_1_dwc3_hs { |
| 1307 |
remote-endpoint = <&pmic_glink_hs_in>; |
| 1308 |
}; |
| 1309 |
|
| 1310 |
&usb_1_dwc3_ss { |
| 1311 |
remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; |
| 1312 |
}; |
| 1313 |
|
| 1314 |
&usb_1_hsphy { |
| 1315 |
vdda-pll-supply = <&vreg_l10c_0p88>; |
| 1316 |
vdda33-supply = <&vreg_l2b_3p072>; |
| 1317 |
vdda18-supply = <&vreg_l1c_1p8>; |
| 1318 |
|
| 1319 |
status = "okay"; |
| 1320 |
}; |
| 1321 |
|
| 1322 |
&usb_1_qmpphy { |
| 1323 |
vdda-phy-supply = <&vreg_l6b_1p2>; |
| 1324 |
vdda-pll-supply = <&vreg_l1b_0p912>; |
| 1325 |
|
| 1326 |
orientation-switch; |
| 1327 |
|
| 1328 |
status = "okay"; |
| 1329 |
}; |
| 1330 |
|
| 1331 |
&usb_dp_qmpphy_out { |
| 1332 |
remote-endpoint = <&redriver_phy_con_ss>; |
| 1333 |
}; |
| 1334 |
|
| 1335 |
&usb_dp_qmpphy_usb_ss_in { |
| 1336 |
remote-endpoint = <&usb_1_dwc3_ss>; |
| 1337 |
}; |
| 1338 |
|
| 1339 |
&usb_dp_qmpphy_dp_in { |
| 1340 |
remote-endpoint = <&mdss_dp_out>; |
| 1341 |
}; |
| 1342 |
|
| 1343 |
&ufs_mem_hc { |
| 1344 |
reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>; |
| 1345 |
vcc-supply = <&vreg_l7b_2p952>; |
| 1346 |
vcc-max-microamp = <800000>; |
| 1347 |
vccq-supply = <&vreg_l9b_1p2>; |
| 1348 |
vccq-max-microamp = <900000>; |
| 1349 |
vccq2-supply = <&vreg_l9b_1p2>; |
| 1350 |
vccq2-max-microamp = <900000>; |
| 1351 |
|
| 1352 |
status = "okay"; |
| 1353 |
}; |
| 1354 |
|
| 1355 |
&ufs_mem_phy { |
| 1356 |
vdda-phy-supply = <&vreg_l10c_0p88>; |
| 1357 |
vdda-pll-supply = <&vreg_l6b_1p2>; |
| 1358 |
|
| 1359 |
status = "okay"; |
| 1360 |
}; |
| 1361 |
|
| 1362 |
&venus { |
| 1363 |
status = "okay"; |
| 1364 |
}; |
| 1365 |
|
| 1366 |
&wifi { |
| 1367 |
memory-region = <&wlan_fw_mem>; |
| 1368 |
qcom,calibration-variant = "Qualcomm_rb3gen2"; |
| 1369 |
|
| 1370 |
status = "okay"; |
| 1371 |
}; |
| 1372 |
|
| 1373 |
/* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */ |
| 1374 |
|
| 1375 |
&edp_hot_plug_det { |
| 1376 |
function = "gpio"; |
| 1377 |
bias-disable; |
| 1378 |
}; |
| 1379 |
|
| 1380 |
&pm7250b_gpios { |
| 1381 |
lt9611_rst_pin: lt9611-rst-state { |
| 1382 |
pins = "gpio2"; |
| 1383 |
function = "normal"; |
| 1384 |
|
| 1385 |
output-high; |
| 1386 |
input-disable; |
| 1387 |
power-source = <0>; |
| 1388 |
}; |
| 1389 |
}; |
| 1390 |
|
| 1391 |
&sdc2_clk { |
| 1392 |
bias-disable; |
| 1393 |
drive-strength = <16>; |
| 1394 |
}; |
| 1395 |
|
| 1396 |
&sdc2_cmd { |
| 1397 |
bias-pull-up; |
| 1398 |
drive-strength = <10>; |
| 1399 |
}; |
| 1400 |
|
| 1401 |
&sdc2_data { |
| 1402 |
bias-pull-up; |
| 1403 |
drive-strength = <10>; |
| 1404 |
}; |
| 1405 |
|
| 1406 |
&tlmm { |
| 1407 |
lt9611_irq_pin: lt9611-irq-state { |
| 1408 |
pins = "gpio24"; |
| 1409 |
function = "gpio"; |
| 1410 |
drive-strength = <2>; |
| 1411 |
bias-disable; |
| 1412 |
}; |
| 1413 |
|
| 1414 |
pcie1_reset_n: pcie1-reset-n-state { |
| 1415 |
pins = "gpio2"; |
| 1416 |
function = "gpio"; |
| 1417 |
drive-strength = <16>; |
| 1418 |
output-low; |
| 1419 |
bias-disable; |
| 1420 |
}; |
| 1421 |
|
| 1422 |
pcie1_wake_n: pcie1-wake-n-state { |
| 1423 |
pins = "gpio3"; |
| 1424 |
function = "gpio"; |
| 1425 |
drive-strength = <2>; |
| 1426 |
bias-pull-up; |
| 1427 |
}; |
| 1428 |
|
| 1429 |
sd_cd: sd-cd-state { |
| 1430 |
pins = "gpio91"; |
| 1431 |
function = "gpio"; |
| 1432 |
bias-pull-up; |
| 1433 |
}; |
| 1434 |
}; |
| 1435 |
|
| 1436 |
&lpass_audiocc { |
| 1437 |
compatible = "qcom,qcm6490-lpassaudiocc"; |
| 1438 |
/delete-property/ power-domains; |
| 1439 |
}; |