| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. |
| 4 |
*/ |
| 5 |
/dts-v1/; |
| 6 |
|
| 7 |
#include <dt-bindings/gpio/gpio.h> |
| 8 |
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
| 9 |
#include <dt-bindings/gpio/gpio.h> |
| 10 |
#include "talos.dtsi" |
| 11 |
#include "pm8150.dtsi" |
| 12 |
/ { |
| 13 |
model = "Qualcomm Technologies, Inc. QCS615 Ride (IQ-615 Beta EVK)"; |
| 14 |
compatible = "qcom,qcs615-ride", "qcom,qcs615", "qcom,sm6150"; |
| 15 |
chassis-type = "embedded"; |
| 16 |
|
| 17 |
aliases { |
| 18 |
mmc0 = &sdhc_1; |
| 19 |
mmc1 = &sdhc_2; |
| 20 |
serial0 = &uart0; |
| 21 |
serial1 = &uart7; |
| 22 |
}; |
| 23 |
|
| 24 |
chosen { |
| 25 |
stdout-path = "serial0:115200n8"; |
| 26 |
}; |
| 27 |
|
| 28 |
clocks { |
| 29 |
sleep_clk: sleep-clk { |
| 30 |
compatible = "fixed-clock"; |
| 31 |
clock-frequency = <32000>; |
| 32 |
#clock-cells = <0>; |
| 33 |
}; |
| 34 |
|
| 35 |
xo_board_clk: xo-board-clk { |
| 36 |
compatible = "fixed-clock"; |
| 37 |
clock-frequency = <38400000>; |
| 38 |
#clock-cells = <0>; |
| 39 |
}; |
| 40 |
}; |
| 41 |
|
| 42 |
dp0-connector { |
| 43 |
compatible = "dp-connector"; |
| 44 |
label = "DP0"; |
| 45 |
type = "mini"; |
| 46 |
|
| 47 |
hpd-gpios = <&io_expander 8 GPIO_ACTIVE_HIGH>; |
| 48 |
|
| 49 |
port { |
| 50 |
dp0_connector_in: endpoint { |
| 51 |
remote-endpoint = <&mdss_dp0_out>; |
| 52 |
}; |
| 53 |
}; |
| 54 |
}; |
| 55 |
|
| 56 |
dp-dsi0-connector { |
| 57 |
compatible = "dp-connector"; |
| 58 |
label = "DSI0"; |
| 59 |
type = "mini"; |
| 60 |
|
| 61 |
port { |
| 62 |
dp_dsi0_connector_in: endpoint { |
| 63 |
remote-endpoint = <&dsi2dp_bridge_out>; |
| 64 |
}; |
| 65 |
}; |
| 66 |
}; |
| 67 |
|
| 68 |
vreg_conn_1p8: regulator-conn-1p8 { |
| 69 |
compatible = "regulator-fixed"; |
| 70 |
regulator-name = "vreg_conn_1p8"; |
| 71 |
startup-delay-us = <4000>; |
| 72 |
enable-active-high; |
| 73 |
gpio = <&pm8150_gpios 1 GPIO_ACTIVE_HIGH>; |
| 74 |
}; |
| 75 |
|
| 76 |
vreg_conn_pa: regulator-conn-pa { |
| 77 |
compatible = "regulator-fixed"; |
| 78 |
regulator-name = "vreg_conn_pa"; |
| 79 |
startup-delay-us = <4000>; |
| 80 |
enable-active-high; |
| 81 |
gpio = <&pm8150_gpios 6 GPIO_ACTIVE_HIGH>; |
| 82 |
}; |
| 83 |
|
| 84 |
regulator-usb2-vbus { |
| 85 |
compatible = "regulator-fixed"; |
| 86 |
regulator-name = "USB2_VBUS"; |
| 87 |
gpio = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>; |
| 88 |
pinctrl-0 = <&usb2_en>; |
| 89 |
pinctrl-names = "default"; |
| 90 |
enable-active-high; |
| 91 |
regulator-always-on; |
| 92 |
}; |
| 93 |
|
| 94 |
vreg_12p0: regulator-vreg-12p0 { |
| 95 |
compatible = "regulator-fixed"; |
| 96 |
regulator-name = "VREG_12P0"; |
| 97 |
|
| 98 |
regulator-always-on; |
| 99 |
regulator-boot-on; |
| 100 |
regulator-min-microvolt = <12000000>; |
| 101 |
regulator-max-microvolt = <12000000>; |
| 102 |
}; |
| 103 |
|
| 104 |
vreg_1p0: regulator-vreg-1p0 { |
| 105 |
compatible = "regulator-fixed"; |
| 106 |
regulator-name = "VREG_1P0"; |
| 107 |
|
| 108 |
regulator-always-on; |
| 109 |
regulator-boot-on; |
| 110 |
regulator-min-microvolt = <1000000>; |
| 111 |
regulator-max-microvolt = <1000000>; |
| 112 |
|
| 113 |
vin-supply = <&vreg_1p8>; |
| 114 |
}; |
| 115 |
|
| 116 |
vreg_1p8: regulator-vreg-1p8 { |
| 117 |
compatible = "regulator-fixed"; |
| 118 |
regulator-name = "VREG_1P8"; |
| 119 |
|
| 120 |
regulator-always-on; |
| 121 |
regulator-boot-on; |
| 122 |
regulator-min-microvolt = <1800000>; |
| 123 |
regulator-max-microvolt = <1800000>; |
| 124 |
|
| 125 |
vin-supply = <&vreg_5p0>; |
| 126 |
}; |
| 127 |
|
| 128 |
vreg_3p0: regulator-vreg-3p0 { |
| 129 |
compatible = "regulator-fixed"; |
| 130 |
regulator-name = "VREG_3P0"; |
| 131 |
|
| 132 |
regulator-always-on; |
| 133 |
regulator-boot-on; |
| 134 |
regulator-min-microvolt = <3000000>; |
| 135 |
regulator-max-microvolt = <3000000>; |
| 136 |
|
| 137 |
vin-supply = <&vreg_12p0>; |
| 138 |
}; |
| 139 |
|
| 140 |
vreg_5p0: regulator-vreg-5p0 { |
| 141 |
compatible = "regulator-fixed"; |
| 142 |
regulator-name = "VREG_5P0"; |
| 143 |
|
| 144 |
regulator-always-on; |
| 145 |
regulator-boot-on; |
| 146 |
regulator-min-microvolt = <5000000>; |
| 147 |
regulator-max-microvolt = <5000000>; |
| 148 |
|
| 149 |
vin-supply = <&vreg_12p0>; |
| 150 |
}; |
| 151 |
|
| 152 |
wcn6855-pmu { |
| 153 |
compatible = "qcom,wcn6855-pmu"; |
| 154 |
|
| 155 |
pinctrl-0 = <&bt_en_state>, <&wlan_en_state>; |
| 156 |
pinctrl-names = "default"; |
| 157 |
|
| 158 |
bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; |
| 159 |
wlan-enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; |
| 160 |
|
| 161 |
vddio-supply = <&vreg_conn_pa>; |
| 162 |
vddaon-supply = <&vreg_s5a>; |
| 163 |
vddpmu-supply = <&vreg_conn_1p8>; |
| 164 |
vddpmumx-supply = <&vreg_conn_1p8>; |
| 165 |
vddpmucx-supply = <&vreg_conn_pa>; |
| 166 |
vddrfa0p95-supply = <&vreg_s5a>; |
| 167 |
vddrfa1p3-supply = <&vreg_s6a>; |
| 168 |
vddrfa1p9-supply = <&vreg_l15a>; |
| 169 |
vddpcie1p3-supply = <&vreg_s6a>; |
| 170 |
vddpcie1p9-supply = <&vreg_l15a>; |
| 171 |
|
| 172 |
regulators { |
| 173 |
vreg_pmu_rfa_cmn: ldo0 { |
| 174 |
regulator-name = "vreg_pmu_rfa_cmn"; |
| 175 |
}; |
| 176 |
|
| 177 |
vreg_pmu_aon_0p59: ldo1 { |
| 178 |
regulator-name = "vreg_pmu_aon_0p59"; |
| 179 |
}; |
| 180 |
|
| 181 |
vreg_pmu_wlcx_0p8: ldo2 { |
| 182 |
regulator-name = "vreg_pmu_wlcx_0p8"; |
| 183 |
}; |
| 184 |
|
| 185 |
vreg_pmu_wlmx_0p85: ldo3 { |
| 186 |
regulator-name = "vreg_pmu_wlmx_0p85"; |
| 187 |
}; |
| 188 |
|
| 189 |
vreg_pmu_btcmx_0p85: ldo4 { |
| 190 |
regulator-name = "vreg_pmu_btcmx_0p85"; |
| 191 |
}; |
| 192 |
|
| 193 |
vreg_pmu_rfa_0p8: ldo5 { |
| 194 |
regulator-name = "vreg_pmu_rfa_0p8"; |
| 195 |
}; |
| 196 |
|
| 197 |
vreg_pmu_rfa_1p2: ldo6 { |
| 198 |
regulator-name = "vreg_pmu_rfa_1p2"; |
| 199 |
}; |
| 200 |
|
| 201 |
vreg_pmu_rfa_1p7: ldo7 { |
| 202 |
regulator-name = "vreg_pmu_rfa_1p7"; |
| 203 |
}; |
| 204 |
|
| 205 |
vreg_pmu_pcie_0p9: ldo8 { |
| 206 |
regulator-name = "vreg_pmu_pcie_0p9"; |
| 207 |
}; |
| 208 |
|
| 209 |
vreg_pmu_pcie_1p8: ldo9 { |
| 210 |
regulator-name = "vreg_pmu_pcie_1p8"; |
| 211 |
}; |
| 212 |
}; |
| 213 |
}; |
| 214 |
}; |
| 215 |
|
| 216 |
&apps_rsc { |
| 217 |
regulators-0 { |
| 218 |
compatible = "qcom,pm8150-rpmh-regulators"; |
| 219 |
qcom,pmic-id = "a"; |
| 220 |
|
| 221 |
vreg_s3a: smps3 { |
| 222 |
regulator-name = "vreg_s3a"; |
| 223 |
regulator-min-microvolt = <600000>; |
| 224 |
regulator-max-microvolt = <650000>; |
| 225 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 226 |
}; |
| 227 |
|
| 228 |
vreg_s4a: smps4 { |
| 229 |
regulator-name = "vreg_s4a"; |
| 230 |
regulator-min-microvolt = <1800000>; |
| 231 |
regulator-max-microvolt = <1829000>; |
| 232 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 233 |
}; |
| 234 |
|
| 235 |
vreg_s5a: smps5 { |
| 236 |
regulator-name = "vreg_s5a"; |
| 237 |
regulator-min-microvolt = <1896000>; |
| 238 |
regulator-max-microvolt = <2040000>; |
| 239 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 240 |
}; |
| 241 |
|
| 242 |
vreg_s6a: smps6 { |
| 243 |
regulator-name = "vreg_s6a"; |
| 244 |
regulator-min-microvolt = <1304000>; |
| 245 |
regulator-max-microvolt = <1404000>; |
| 246 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 247 |
}; |
| 248 |
|
| 249 |
vreg_l1a: ldo1 { |
| 250 |
regulator-name = "vreg_l1a"; |
| 251 |
regulator-min-microvolt = <488000>; |
| 252 |
regulator-max-microvolt = <852000>; |
| 253 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 254 |
regulator-allow-set-load; |
| 255 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 256 |
RPMH_REGULATOR_MODE_HPM>; |
| 257 |
}; |
| 258 |
|
| 259 |
vreg_l2a: ldo2 { |
| 260 |
regulator-name = "vreg_l2a"; |
| 261 |
regulator-min-microvolt = <1650000>; |
| 262 |
regulator-max-microvolt = <3100000>; |
| 263 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 264 |
regulator-allow-set-load; |
| 265 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 266 |
RPMH_REGULATOR_MODE_HPM>; |
| 267 |
}; |
| 268 |
|
| 269 |
vreg_l3a: ldo3 { |
| 270 |
regulator-name = "vreg_l3a"; |
| 271 |
regulator-min-microvolt = <1000000>; |
| 272 |
regulator-max-microvolt = <1248000>; |
| 273 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 274 |
regulator-allow-set-load; |
| 275 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 276 |
RPMH_REGULATOR_MODE_HPM>; |
| 277 |
}; |
| 278 |
|
| 279 |
vreg_l5a: ldo5 { |
| 280 |
regulator-name = "vreg_l5a"; |
| 281 |
regulator-min-microvolt = <875000>; |
| 282 |
regulator-max-microvolt = <975000>; |
| 283 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 284 |
regulator-allow-set-load; |
| 285 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 286 |
RPMH_REGULATOR_MODE_HPM>; |
| 287 |
}; |
| 288 |
|
| 289 |
vreg_l7a: ldo7 { |
| 290 |
regulator-name = "vreg_l7a"; |
| 291 |
regulator-min-microvolt = <1800000>; |
| 292 |
regulator-max-microvolt = <1900000>; |
| 293 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 294 |
regulator-allow-set-load; |
| 295 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 296 |
RPMH_REGULATOR_MODE_HPM>; |
| 297 |
}; |
| 298 |
|
| 299 |
vreg_l8a: ldo8 { |
| 300 |
regulator-name = "vreg_l8a"; |
| 301 |
regulator-min-microvolt = <1150000>; |
| 302 |
regulator-max-microvolt = <1350000>; |
| 303 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 304 |
regulator-allow-set-load; |
| 305 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 306 |
RPMH_REGULATOR_MODE_HPM>; |
| 307 |
}; |
| 308 |
|
| 309 |
vreg_l10a: ldo10 { |
| 310 |
regulator-name = "vreg_l10a"; |
| 311 |
regulator-min-microvolt = <2950000>; |
| 312 |
regulator-max-microvolt = <3312000>; |
| 313 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 314 |
regulator-allow-set-load; |
| 315 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 316 |
RPMH_REGULATOR_MODE_HPM>; |
| 317 |
}; |
| 318 |
|
| 319 |
vreg_l11a: ldo11 { |
| 320 |
regulator-name = "vreg_l11a"; |
| 321 |
regulator-min-microvolt = <1232000>; |
| 322 |
regulator-max-microvolt = <1260000>; |
| 323 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 324 |
regulator-allow-set-load; |
| 325 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 326 |
RPMH_REGULATOR_MODE_HPM>; |
| 327 |
}; |
| 328 |
|
| 329 |
vreg_l12a: ldo12 { |
| 330 |
regulator-name = "vreg_l12a"; |
| 331 |
regulator-min-microvolt = <1800000>; |
| 332 |
regulator-max-microvolt = <1890000>; |
| 333 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 334 |
}; |
| 335 |
|
| 336 |
vreg_l13a: ldo13 { |
| 337 |
regulator-name = "vreg_l13a"; |
| 338 |
regulator-min-microvolt = <3000000>; |
| 339 |
regulator-max-microvolt = <3230000>; |
| 340 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 341 |
regulator-allow-set-load; |
| 342 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 343 |
RPMH_REGULATOR_MODE_HPM>; |
| 344 |
}; |
| 345 |
|
| 346 |
vreg_l15a: ldo15 { |
| 347 |
regulator-name = "vreg_l15a"; |
| 348 |
regulator-min-microvolt = <1800000>; |
| 349 |
regulator-max-microvolt = <1904000>; |
| 350 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 351 |
regulator-allow-set-load; |
| 352 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 353 |
RPMH_REGULATOR_MODE_HPM>; |
| 354 |
}; |
| 355 |
|
| 356 |
vreg_l16a: ldo16 { |
| 357 |
regulator-name = "vreg_l16a"; |
| 358 |
regulator-min-microvolt = <3000000>; |
| 359 |
regulator-max-microvolt = <3312000>; |
| 360 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>; |
| 361 |
regulator-allow-set-load; |
| 362 |
regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM |
| 363 |
RPMH_REGULATOR_MODE_HPM>; |
| 364 |
}; |
| 365 |
|
| 366 |
vreg_l17a: ldo17 { |
| 367 |
regulator-name = "vreg_l17a"; |
| 368 |
regulator-min-microvolt = <2950000>; |
| 369 |
regulator-max-microvolt = <3312000>; |
| 370 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 371 |
}; |
| 372 |
}; |
| 373 |
}; |
| 374 |
|
| 375 |
&i2c2 { |
| 376 |
clock-frequency = <400000>; |
| 377 |
status = "okay"; |
| 378 |
|
| 379 |
io_expander: pinctrl@3e { |
| 380 |
compatible = "semtech,sx1509q"; |
| 381 |
reg = <0x3e>; |
| 382 |
interrupts-extended = <&tlmm 58 IRQ_TYPE_EDGE_FALLING>; |
| 383 |
gpio-controller; |
| 384 |
#gpio-cells = <2>; |
| 385 |
interrupt-controller; |
| 386 |
#interrupt-cells = <2>; |
| 387 |
semtech,probe-reset; |
| 388 |
}; |
| 389 |
|
| 390 |
i2c-mux@77 { |
| 391 |
compatible = "nxp,pca9542"; |
| 392 |
reg = <0x77>; |
| 393 |
#address-cells = <1>; |
| 394 |
#size-cells = <0>; |
| 395 |
|
| 396 |
i2c@0 { |
| 397 |
reg = <0>; |
| 398 |
#address-cells = <1>; |
| 399 |
#size-cells = <0>; |
| 400 |
|
| 401 |
bridge@58 { |
| 402 |
compatible = "analogix,anx7625"; |
| 403 |
reg = <0x58>; |
| 404 |
interrupts-extended = <&io_expander 0 IRQ_TYPE_EDGE_FALLING>; |
| 405 |
enable-gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>; |
| 406 |
reset-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>; |
| 407 |
vdd10-supply = <&vreg_1p0>; |
| 408 |
vdd18-supply = <&vreg_1p8>; |
| 409 |
vdd33-supply = <&vreg_3p0>; |
| 410 |
|
| 411 |
ports { |
| 412 |
#address-cells = <1>; |
| 413 |
#size-cells = <0>; |
| 414 |
|
| 415 |
port@0 { |
| 416 |
reg = <0>; |
| 417 |
|
| 418 |
dsi2dp_bridge_in: endpoint { |
| 419 |
remote-endpoint = <&mdss_dsi0_out>; |
| 420 |
}; |
| 421 |
}; |
| 422 |
|
| 423 |
port@1 { |
| 424 |
reg = <1>; |
| 425 |
|
| 426 |
dsi2dp_bridge_out: endpoint { |
| 427 |
remote-endpoint = <&dp_dsi0_connector_in>; |
| 428 |
}; |
| 429 |
}; |
| 430 |
}; |
| 431 |
}; |
| 432 |
}; |
| 433 |
}; |
| 434 |
}; |
| 435 |
|
| 436 |
&mdss { |
| 437 |
status = "okay"; |
| 438 |
}; |
| 439 |
|
| 440 |
&mdss_dp0 { |
| 441 |
status = "okay"; |
| 442 |
}; |
| 443 |
|
| 444 |
&mdss_dp0_out { |
| 445 |
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>; |
| 446 |
remote-endpoint = <&dp0_connector_in>; |
| 447 |
}; |
| 448 |
|
| 449 |
&mdss_dsi0 { |
| 450 |
vdda-supply = <&vreg_l11a>; |
| 451 |
status = "okay"; |
| 452 |
}; |
| 453 |
|
| 454 |
&mdss_dsi0_out { |
| 455 |
remote-endpoint = <&dsi2dp_bridge_in>; |
| 456 |
data-lanes = <0 1 2 3>; |
| 457 |
}; |
| 458 |
|
| 459 |
&mdss_dsi0_phy { |
| 460 |
vcca-supply = <&vreg_l5a>; |
| 461 |
status = "okay"; |
| 462 |
}; |
| 463 |
|
| 464 |
&pcie { |
| 465 |
perst-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>; |
| 466 |
wake-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; |
| 467 |
|
| 468 |
pinctrl-0 = <&pcie_default_state>; |
| 469 |
pinctrl-names = "default"; |
| 470 |
|
| 471 |
status = "okay"; |
| 472 |
}; |
| 473 |
|
| 474 |
&pcie_phy { |
| 475 |
vdda-phy-supply = <&vreg_l5a>; |
| 476 |
vdda-pll-supply = <&vreg_l12a>; |
| 477 |
|
| 478 |
status = "okay"; |
| 479 |
}; |
| 480 |
|
| 481 |
&pcie_port0 { |
| 482 |
wifi@0 { |
| 483 |
compatible = "pci17cb,1103"; |
| 484 |
reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 485 |
|
| 486 |
qcom,calibration-variant = "QC_QCS615_Ride"; |
| 487 |
|
| 488 |
vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; |
| 489 |
vddaon-supply = <&vreg_pmu_aon_0p59>; |
| 490 |
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 491 |
vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; |
| 492 |
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 493 |
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 494 |
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; |
| 495 |
vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; |
| 496 |
vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; |
| 497 |
}; |
| 498 |
}; |
| 499 |
|
| 500 |
&pm8150_gpios { |
| 501 |
usb2_en: usb2-en-state { |
| 502 |
pins = "gpio10"; |
| 503 |
function = "normal"; |
| 504 |
output-enable; |
| 505 |
power-source = <0>; |
| 506 |
}; |
| 507 |
}; |
| 508 |
|
| 509 |
&pon_pwrkey { |
| 510 |
status = "okay"; |
| 511 |
}; |
| 512 |
|
| 513 |
&pon_resin { |
| 514 |
linux,code = <KEY_VOLUMEDOWN>; |
| 515 |
|
| 516 |
status = "okay"; |
| 517 |
}; |
| 518 |
|
| 519 |
&qupv3_id_0 { |
| 520 |
status = "okay"; |
| 521 |
}; |
| 522 |
|
| 523 |
&qupv3_id_1 { |
| 524 |
status = "okay"; |
| 525 |
}; |
| 526 |
|
| 527 |
&remoteproc_adsp { |
| 528 |
firmware-name = "qcom/qcs615/adsp.mbn"; |
| 529 |
|
| 530 |
status = "okay"; |
| 531 |
}; |
| 532 |
|
| 533 |
&remoteproc_cdsp { |
| 534 |
firmware-name = "qcom/qcs615/cdsp.mbn"; |
| 535 |
|
| 536 |
status = "okay"; |
| 537 |
}; |
| 538 |
|
| 539 |
&tlmm { |
| 540 |
bt_en_state: bt-en-state { |
| 541 |
pins = "gpio85"; |
| 542 |
function = "gpio"; |
| 543 |
bias-pull-down; |
| 544 |
output-low; |
| 545 |
}; |
| 546 |
|
| 547 |
pcie_default_state: pcie-default-state { |
| 548 |
clkreq-pins { |
| 549 |
pins = "gpio90"; |
| 550 |
function = "pcie_clk_req"; |
| 551 |
drive-strength = <2>; |
| 552 |
bias-pull-up; |
| 553 |
}; |
| 554 |
|
| 555 |
perst-pins { |
| 556 |
pins = "gpio101"; |
| 557 |
function = "gpio"; |
| 558 |
drive-strength = <2>; |
| 559 |
bias-pull-down; |
| 560 |
}; |
| 561 |
|
| 562 |
wake-pins { |
| 563 |
pins = "gpio100"; |
| 564 |
function = "gpio"; |
| 565 |
drive-strength = <2>; |
| 566 |
bias-pull-up; |
| 567 |
}; |
| 568 |
}; |
| 569 |
|
| 570 |
wlan_en_state: wlan-en-state { |
| 571 |
pins = "gpio98"; |
| 572 |
function = "gpio"; |
| 573 |
bias-pull-down; |
| 574 |
drive-strength = <16>; |
| 575 |
output-low; |
| 576 |
}; |
| 577 |
}; |
| 578 |
|
| 579 |
&sdhc_1 { |
| 580 |
pinctrl-0 = <&sdc1_state_on>; |
| 581 |
pinctrl-1 = <&sdc1_state_off>; |
| 582 |
pinctrl-names = "default", "sleep"; |
| 583 |
|
| 584 |
bus-width = <8>; |
| 585 |
mmc-ddr-1_8v; |
| 586 |
mmc-hs200-1_8v; |
| 587 |
mmc-hs400-1_8v; |
| 588 |
mmc-hs400-enhanced-strobe; |
| 589 |
vmmc-supply = <&vreg_l17a>; |
| 590 |
vqmmc-supply = <&vreg_s4a>; |
| 591 |
|
| 592 |
non-removable; |
| 593 |
no-sd; |
| 594 |
no-sdio; |
| 595 |
|
| 596 |
status = "okay"; |
| 597 |
}; |
| 598 |
|
| 599 |
&sdhc_2 { |
| 600 |
pinctrl-0 = <&sdc2_state_on>; |
| 601 |
pinctrl-1 = <&sdc2_state_off>; |
| 602 |
pinctrl-names = "default", "sleep"; |
| 603 |
|
| 604 |
bus-width = <4>; |
| 605 |
cd-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>; |
| 606 |
|
| 607 |
vmmc-supply = <&vreg_l10a>; |
| 608 |
vqmmc-supply = <&vreg_s4a>; |
| 609 |
|
| 610 |
status = "okay"; |
| 611 |
}; |
| 612 |
|
| 613 |
&uart0 { |
| 614 |
status = "okay"; |
| 615 |
}; |
| 616 |
|
| 617 |
&uart7 { |
| 618 |
status = "okay"; |
| 619 |
|
| 620 |
bluetooth { |
| 621 |
compatible = "qcom,wcn6855-bt"; |
| 622 |
firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv"; |
| 623 |
|
| 624 |
vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; |
| 625 |
vddaon-supply = <&vreg_pmu_aon_0p59>; |
| 626 |
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 627 |
vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; |
| 628 |
vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; |
| 629 |
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 630 |
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 631 |
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; |
| 632 |
}; |
| 633 |
}; |
| 634 |
|
| 635 |
&usb_1_hsphy { |
| 636 |
vdd-supply = <&vreg_l5a>; |
| 637 |
vdda-pll-supply = <&vreg_l12a>; |
| 638 |
vdda-phy-dpdm-supply = <&vreg_l13a>; |
| 639 |
|
| 640 |
status = "okay"; |
| 641 |
}; |
| 642 |
|
| 643 |
&usb_qmpphy { |
| 644 |
vdda-phy-supply = <&vreg_l5a>; |
| 645 |
vdda-pll-supply = <&vreg_l12a>; |
| 646 |
|
| 647 |
status = "okay"; |
| 648 |
}; |
| 649 |
|
| 650 |
&usb_qmpphy_2 { |
| 651 |
vdda-phy-supply = <&vreg_l5a>; |
| 652 |
vdda-pll-supply = <&vreg_l12a>; |
| 653 |
|
| 654 |
status = "okay"; |
| 655 |
}; |
| 656 |
|
| 657 |
&usb_1 { |
| 658 |
status = "okay"; |
| 659 |
}; |
| 660 |
|
| 661 |
&usb_1_dwc3 { |
| 662 |
dr_mode = "peripheral"; |
| 663 |
}; |
| 664 |
|
| 665 |
&usb_hsphy_2 { |
| 666 |
vdd-supply = <&vreg_l5a>; |
| 667 |
vdda-pll-supply = <&vreg_l12a>; |
| 668 |
vdda-phy-dpdm-supply = <&vreg_l13a>; |
| 669 |
|
| 670 |
status = "okay"; |
| 671 |
}; |
| 672 |
|
| 673 |
&usb_2 { |
| 674 |
status = "okay"; |
| 675 |
}; |
| 676 |
|
| 677 |
&usb_2_dwc3 { |
| 678 |
dr_mode = "host"; |
| 679 |
}; |
| 680 |
|
| 681 |
&ufs_mem_hc { |
| 682 |
reset-gpios = <&tlmm 123 GPIO_ACTIVE_LOW>; |
| 683 |
vcc-supply = <&vreg_l17a>; |
| 684 |
vcc-max-microamp = <600000>; |
| 685 |
vccq2-supply = <&vreg_s4a>; |
| 686 |
vccq2-max-microamp = <600000>; |
| 687 |
|
| 688 |
status = "okay"; |
| 689 |
}; |
| 690 |
|
| 691 |
&ufs_mem_phy { |
| 692 |
vdda-phy-supply = <&vreg_l5a>; |
| 693 |
vdda-pll-supply = <&vreg_l12a>; |
| 694 |
|
| 695 |
status = "okay"; |
| 696 |
}; |
| 697 |
|
| 698 |
&venus { |
| 699 |
status = "okay"; |
| 700 |
}; |