| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2021, The Linux Foundation. All rights reserved. |
| 4 |
* Copyright (c) 2022, Linaro Limited |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
|
| 9 |
#include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> |
| 10 |
#include <dt-bindings/gpio/gpio.h> |
| 11 |
#include <dt-bindings/input/gpio-keys.h> |
| 12 |
#include <dt-bindings/input/input.h> |
| 13 |
#include <dt-bindings/leds/common.h> |
| 14 |
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
| 15 |
|
| 16 |
#include "sc8280xp.dtsi" |
| 17 |
#include "sc8280xp-pmics.dtsi" |
| 18 |
|
| 19 |
/ { |
| 20 |
model = "Lenovo ThinkPad X13s"; |
| 21 |
compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; |
| 22 |
|
| 23 |
aliases { |
| 24 |
i2c4 = &i2c4; |
| 25 |
i2c21 = &i2c21; |
| 26 |
serial1 = &uart2; |
| 27 |
}; |
| 28 |
|
| 29 |
wcd938x: audio-codec { |
| 30 |
compatible = "qcom,wcd9380-codec"; |
| 31 |
|
| 32 |
pinctrl-names = "default"; |
| 33 |
pinctrl-0 = <&wcd_default>; |
| 34 |
|
| 35 |
reset-gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; |
| 36 |
|
| 37 |
vdd-buck-supply = <&vreg_s10b>; |
| 38 |
vdd-rxtx-supply = <&vreg_s10b>; |
| 39 |
vdd-io-supply = <&vreg_s10b>; |
| 40 |
vdd-mic-bias-supply = <&vreg_bob>; |
| 41 |
|
| 42 |
qcom,micbias1-microvolt = <1800000>; |
| 43 |
qcom,micbias2-microvolt = <1800000>; |
| 44 |
qcom,micbias3-microvolt = <1800000>; |
| 45 |
qcom,micbias4-microvolt = <1800000>; |
| 46 |
qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; |
| 47 |
qcom,mbhc-headset-vthreshold-microvolt = <1700000>; |
| 48 |
qcom,mbhc-headphone-vthreshold-microvolt = <50000>; |
| 49 |
qcom,rx-device = <&wcd_rx>; |
| 50 |
qcom,tx-device = <&wcd_tx>; |
| 51 |
|
| 52 |
#sound-dai-cells = <1>; |
| 53 |
}; |
| 54 |
|
| 55 |
backlight: backlight { |
| 56 |
compatible = "pwm-backlight"; |
| 57 |
pwms = <&pmc8280c_lpg 3 1000000>; |
| 58 |
enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>; |
| 59 |
power-supply = <&vreg_edp_bl>; |
| 60 |
|
| 61 |
pinctrl-names = "default"; |
| 62 |
pinctrl-0 = <&edp_bl_en>, <&edp_bl_pwm>; |
| 63 |
}; |
| 64 |
|
| 65 |
gpio-keys { |
| 66 |
compatible = "gpio-keys"; |
| 67 |
|
| 68 |
pinctrl-names = "default"; |
| 69 |
pinctrl-0 = <&hall_int_n_default>; |
| 70 |
|
| 71 |
switch-lid { |
| 72 |
gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; |
| 73 |
linux,input-type = <EV_SW>; |
| 74 |
linux,code = <SW_LID>; |
| 75 |
wakeup-source; |
| 76 |
wakeup-event-action = <EV_ACT_DEASSERTED>; |
| 77 |
}; |
| 78 |
}; |
| 79 |
|
| 80 |
leds { |
| 81 |
compatible = "gpio-leds"; |
| 82 |
|
| 83 |
pinctrl-names = "default"; |
| 84 |
pinctrl-0 = <&cam_indicator_en>; |
| 85 |
|
| 86 |
privacy_led: privacy-led { |
| 87 |
function = LED_FUNCTION_INDICATOR; |
| 88 |
color = <LED_COLOR_ID_WHITE>; |
| 89 |
gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>; |
| 90 |
default-state = "off"; |
| 91 |
panic-indicator; |
| 92 |
}; |
| 93 |
}; |
| 94 |
|
| 95 |
pmic-glink { |
| 96 |
compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink"; |
| 97 |
|
| 98 |
#address-cells = <1>; |
| 99 |
#size-cells = <0>; |
| 100 |
orientation-gpios = <&tlmm 166 GPIO_ACTIVE_HIGH>, |
| 101 |
<&tlmm 49 GPIO_ACTIVE_HIGH>; |
| 102 |
|
| 103 |
connector@0 { |
| 104 |
compatible = "usb-c-connector"; |
| 105 |
reg = <0>; |
| 106 |
power-role = "dual"; |
| 107 |
data-role = "dual"; |
| 108 |
|
| 109 |
ports { |
| 110 |
#address-cells = <1>; |
| 111 |
#size-cells = <0>; |
| 112 |
|
| 113 |
port@0 { |
| 114 |
reg = <0>; |
| 115 |
|
| 116 |
pmic_glink_con0_hs: endpoint { |
| 117 |
remote-endpoint = <&usb_0_dwc3_hs>; |
| 118 |
}; |
| 119 |
}; |
| 120 |
|
| 121 |
port@1 { |
| 122 |
reg = <1>; |
| 123 |
|
| 124 |
pmic_glink_con0_ss: endpoint { |
| 125 |
remote-endpoint = <&usb_0_qmpphy_out>; |
| 126 |
}; |
| 127 |
}; |
| 128 |
|
| 129 |
port@2 { |
| 130 |
reg = <2>; |
| 131 |
|
| 132 |
pmic_glink_con0_sbu: endpoint { |
| 133 |
remote-endpoint = <&usb0_sbu_mux>; |
| 134 |
}; |
| 135 |
}; |
| 136 |
}; |
| 137 |
}; |
| 138 |
|
| 139 |
connector@1 { |
| 140 |
compatible = "usb-c-connector"; |
| 141 |
reg = <1>; |
| 142 |
power-role = "dual"; |
| 143 |
data-role = "dual"; |
| 144 |
|
| 145 |
ports { |
| 146 |
#address-cells = <1>; |
| 147 |
#size-cells = <0>; |
| 148 |
port@0 { |
| 149 |
reg = <0>; |
| 150 |
|
| 151 |
pmic_glink_con1_hs: endpoint { |
| 152 |
remote-endpoint = <&usb_1_dwc3_hs>; |
| 153 |
}; |
| 154 |
}; |
| 155 |
|
| 156 |
port@1 { |
| 157 |
reg = <1>; |
| 158 |
|
| 159 |
pmic_glink_con1_ss: endpoint { |
| 160 |
remote-endpoint = <&usb_1_qmpphy_out>; |
| 161 |
}; |
| 162 |
}; |
| 163 |
|
| 164 |
port@2 { |
| 165 |
reg = <2>; |
| 166 |
|
| 167 |
pmic_glink_con1_sbu: endpoint { |
| 168 |
remote-endpoint = <&usb1_sbu_mux>; |
| 169 |
}; |
| 170 |
}; |
| 171 |
}; |
| 172 |
}; |
| 173 |
}; |
| 174 |
|
| 175 |
vreg_edp_3p3: regulator-edp-3p3 { |
| 176 |
compatible = "regulator-fixed"; |
| 177 |
|
| 178 |
regulator-name = "VCC3LCD"; |
| 179 |
regulator-min-microvolt = <3300000>; |
| 180 |
regulator-max-microvolt = <3300000>; |
| 181 |
|
| 182 |
gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>; |
| 183 |
enable-active-high; |
| 184 |
|
| 185 |
pinctrl-names = "default"; |
| 186 |
pinctrl-0 = <&edp_reg_en>; |
| 187 |
|
| 188 |
regulator-boot-on; |
| 189 |
}; |
| 190 |
|
| 191 |
vreg_edp_bl: regulator-edp-bl { |
| 192 |
compatible = "regulator-fixed"; |
| 193 |
|
| 194 |
regulator-name = "VBL9"; |
| 195 |
regulator-min-microvolt = <3600000>; |
| 196 |
regulator-max-microvolt = <3600000>; |
| 197 |
|
| 198 |
gpio = <&pmc8280_1_gpios 9 GPIO_ACTIVE_HIGH>; |
| 199 |
enable-active-high; |
| 200 |
|
| 201 |
pinctrl-names = "default"; |
| 202 |
pinctrl-0 = <&edp_bl_reg_en>; |
| 203 |
|
| 204 |
regulator-boot-on; |
| 205 |
}; |
| 206 |
|
| 207 |
vreg_misc_3p3: regulator-misc-3p3 { |
| 208 |
compatible = "regulator-fixed"; |
| 209 |
|
| 210 |
regulator-name = "VCC3B"; |
| 211 |
regulator-min-microvolt = <3300000>; |
| 212 |
regulator-max-microvolt = <3300000>; |
| 213 |
|
| 214 |
gpio = <&pmc8280_1_gpios 1 GPIO_ACTIVE_HIGH>; |
| 215 |
enable-active-high; |
| 216 |
|
| 217 |
pinctrl-names = "default"; |
| 218 |
pinctrl-0 = <&misc_3p3_reg_en>; |
| 219 |
|
| 220 |
regulator-boot-on; |
| 221 |
regulator-always-on; |
| 222 |
}; |
| 223 |
|
| 224 |
vreg_nvme: regulator-nvme { |
| 225 |
compatible = "regulator-fixed"; |
| 226 |
|
| 227 |
regulator-name = "VCC3_SSD"; |
| 228 |
regulator-min-microvolt = <3300000>; |
| 229 |
regulator-max-microvolt = <3300000>; |
| 230 |
|
| 231 |
gpio = <&tlmm 135 GPIO_ACTIVE_HIGH>; |
| 232 |
enable-active-high; |
| 233 |
|
| 234 |
pinctrl-names = "default"; |
| 235 |
pinctrl-0 = <&nvme_reg_en>; |
| 236 |
|
| 237 |
regulator-boot-on; |
| 238 |
}; |
| 239 |
|
| 240 |
vreg_vph_pwr: regulator-vph-pwr { |
| 241 |
compatible = "regulator-fixed"; |
| 242 |
|
| 243 |
regulator-name = "VPH_VCC3R9"; |
| 244 |
regulator-min-microvolt = <3900000>; |
| 245 |
regulator-max-microvolt = <3900000>; |
| 246 |
|
| 247 |
regulator-always-on; |
| 248 |
}; |
| 249 |
|
| 250 |
vreg_wlan: regulator-wlan { |
| 251 |
compatible = "regulator-fixed"; |
| 252 |
|
| 253 |
regulator-name = "VCC_WLAN_3R9"; |
| 254 |
regulator-min-microvolt = <3900000>; |
| 255 |
regulator-max-microvolt = <3900000>; |
| 256 |
|
| 257 |
gpio = <&pmr735a_gpios 1 GPIO_ACTIVE_HIGH>; |
| 258 |
enable-active-high; |
| 259 |
|
| 260 |
pinctrl-names = "default"; |
| 261 |
pinctrl-0 = <&hastings_reg_en>; |
| 262 |
|
| 263 |
regulator-boot-on; |
| 264 |
}; |
| 265 |
|
| 266 |
vreg_wwan: regulator-wwan { |
| 267 |
compatible = "regulator-fixed"; |
| 268 |
|
| 269 |
regulator-name = "VCC3B_WAN"; |
| 270 |
regulator-min-microvolt = <3300000>; |
| 271 |
regulator-max-microvolt = <3300000>; |
| 272 |
|
| 273 |
gpio = <&pmc8280_2_gpios 1 GPIO_ACTIVE_HIGH>; |
| 274 |
enable-active-high; |
| 275 |
|
| 276 |
pinctrl-names = "default"; |
| 277 |
pinctrl-0 = <&wwan_sw_en>; |
| 278 |
|
| 279 |
regulator-boot-on; |
| 280 |
}; |
| 281 |
|
| 282 |
reserved-memory { |
| 283 |
linux,cma { |
| 284 |
compatible = "shared-dma-pool"; |
| 285 |
size = <0x0 0x8000000>; |
| 286 |
reusable; |
| 287 |
linux,cma-default; |
| 288 |
}; |
| 289 |
}; |
| 290 |
|
| 291 |
thermal-zones { |
| 292 |
pm8008-thermal { |
| 293 |
polling-delay-passive = <100>; |
| 294 |
polling-delay = <0>; |
| 295 |
|
| 296 |
thermal-sensors = <&pm8008>; |
| 297 |
|
| 298 |
trips { |
| 299 |
trip0 { |
| 300 |
temperature = <95000>; |
| 301 |
hysteresis = <0>; |
| 302 |
type = "passive"; |
| 303 |
}; |
| 304 |
|
| 305 |
trip1 { |
| 306 |
temperature = <115000>; |
| 307 |
hysteresis = <0>; |
| 308 |
type = "critical"; |
| 309 |
}; |
| 310 |
}; |
| 311 |
}; |
| 312 |
|
| 313 |
skin-temp-thermal { |
| 314 |
polling-delay-passive = <250>; |
| 315 |
|
| 316 |
thermal-sensors = <&pmk8280_adc_tm 5>; |
| 317 |
|
| 318 |
trips { |
| 319 |
skin_temp_alert0: trip-point0 { |
| 320 |
temperature = <55000>; |
| 321 |
hysteresis = <1000>; |
| 322 |
type = "passive"; |
| 323 |
}; |
| 324 |
|
| 325 |
skin_temp_alert1: trip-point1 { |
| 326 |
temperature = <58000>; |
| 327 |
hysteresis = <1000>; |
| 328 |
type = "passive"; |
| 329 |
}; |
| 330 |
|
| 331 |
skin-temp-crit { |
| 332 |
temperature = <73000>; |
| 333 |
hysteresis = <1000>; |
| 334 |
type = "critical"; |
| 335 |
}; |
| 336 |
}; |
| 337 |
|
| 338 |
cooling-maps { |
| 339 |
map0 { |
| 340 |
trip = <&skin_temp_alert0>; |
| 341 |
cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 342 |
<&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 343 |
<&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 344 |
<&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 345 |
}; |
| 346 |
|
| 347 |
map1 { |
| 348 |
trip = <&skin_temp_alert1>; |
| 349 |
cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 350 |
<&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 351 |
<&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 352 |
<&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 353 |
}; |
| 354 |
}; |
| 355 |
}; |
| 356 |
}; |
| 357 |
|
| 358 |
usb0-sbu-mux { |
| 359 |
compatible = "pericom,pi3usb102", "gpio-sbu-mux"; |
| 360 |
|
| 361 |
enable-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>; |
| 362 |
select-gpios = <&tlmm 164 GPIO_ACTIVE_HIGH>; |
| 363 |
|
| 364 |
pinctrl-names = "default"; |
| 365 |
pinctrl-0 = <&usb0_sbu_default>; |
| 366 |
|
| 367 |
mode-switch; |
| 368 |
orientation-switch; |
| 369 |
|
| 370 |
port { |
| 371 |
usb0_sbu_mux: endpoint { |
| 372 |
remote-endpoint = <&pmic_glink_con0_sbu>; |
| 373 |
}; |
| 374 |
}; |
| 375 |
}; |
| 376 |
|
| 377 |
usb1-sbu-mux { |
| 378 |
compatible = "pericom,pi3usb102", "gpio-sbu-mux"; |
| 379 |
|
| 380 |
enable-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>; |
| 381 |
select-gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; |
| 382 |
|
| 383 |
pinctrl-names = "default"; |
| 384 |
pinctrl-0 = <&usb1_sbu_default>; |
| 385 |
|
| 386 |
mode-switch; |
| 387 |
orientation-switch; |
| 388 |
|
| 389 |
port { |
| 390 |
usb1_sbu_mux: endpoint { |
| 391 |
remote-endpoint = <&pmic_glink_con1_sbu>; |
| 392 |
}; |
| 393 |
}; |
| 394 |
}; |
| 395 |
|
| 396 |
wcn6855-pmu { |
| 397 |
compatible = "qcom,wcn6855-pmu"; |
| 398 |
|
| 399 |
pinctrl-0 = <&bt_default>, <&wlan_en>; |
| 400 |
pinctrl-names = "default"; |
| 401 |
|
| 402 |
wlan-enable-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>; |
| 403 |
bt-enable-gpios = <&tlmm 133 GPIO_ACTIVE_HIGH>; |
| 404 |
swctrl-gpios = <&tlmm 132 GPIO_ACTIVE_HIGH>; |
| 405 |
|
| 406 |
vddio-supply = <&vreg_s10b>; |
| 407 |
vddaon-supply = <&vreg_s12b>; |
| 408 |
vddpmu-supply = <&vreg_s12b>; |
| 409 |
vddpmumx-supply = <&vreg_s12b>; |
| 410 |
vddpmucx-supply = <&vreg_s12b>; |
| 411 |
vddrfa0p95-supply = <&vreg_s12b>; |
| 412 |
vddrfa1p3-supply = <&vreg_s11b>; |
| 413 |
vddrfa1p9-supply = <&vreg_s1c>; |
| 414 |
vddpcie1p3-supply = <&vreg_s11b>; |
| 415 |
vddpcie1p9-supply = <&vreg_s1c>; |
| 416 |
|
| 417 |
regulators { |
| 418 |
vreg_pmu_rfa_cmn_0p8: ldo0 { |
| 419 |
regulator-name = "vreg_pmu_rfa_cmn_0p8"; |
| 420 |
}; |
| 421 |
|
| 422 |
vreg_pmu_aon_0p8: ldo1 { |
| 423 |
regulator-name = "vreg_pmu_aon_0p8"; |
| 424 |
}; |
| 425 |
|
| 426 |
vreg_pmu_wlcx_0p8: ldo2 { |
| 427 |
regulator-name = "vreg_pmu_wlcx_0p8"; |
| 428 |
}; |
| 429 |
|
| 430 |
vreg_pmu_wlmx_0p8: ldo3 { |
| 431 |
regulator-name = "vreg_pmu_wlmx_0p8"; |
| 432 |
}; |
| 433 |
|
| 434 |
vreg_pmu_btcmx_0p8: ldo4 { |
| 435 |
regulator-name = "vreg_pmu_btcmx_0p8"; |
| 436 |
}; |
| 437 |
|
| 438 |
vreg_pmu_pcie_1p8: ldo5 { |
| 439 |
regulator-name = "vreg_pmu_pcie_1p8"; |
| 440 |
}; |
| 441 |
|
| 442 |
vreg_pmu_pcie_0p9: ldo6 { |
| 443 |
regulator-name = "vreg_pmu_pcie_0p9"; |
| 444 |
}; |
| 445 |
|
| 446 |
vreg_pmu_rfa_0p8: ldo7 { |
| 447 |
regulator-name = "vreg_pmu_rfa_0p8"; |
| 448 |
}; |
| 449 |
|
| 450 |
vreg_pmu_rfa_1p2: ldo8 { |
| 451 |
regulator-name = "vreg_pmu_rfa_1p2"; |
| 452 |
}; |
| 453 |
|
| 454 |
vreg_pmu_rfa_1p7: ldo9 { |
| 455 |
regulator-name = "vreg_pmu_rfa_1p7"; |
| 456 |
}; |
| 457 |
}; |
| 458 |
}; |
| 459 |
}; |
| 460 |
|
| 461 |
&apps_rsc { |
| 462 |
regulators-0 { |
| 463 |
compatible = "qcom,pm8350-rpmh-regulators"; |
| 464 |
qcom,pmic-id = "b"; |
| 465 |
|
| 466 |
vdd-l1-l4-supply = <&vreg_s12b>; |
| 467 |
vdd-l2-l7-supply = <&vreg_bob>; |
| 468 |
vdd-l3-l5-supply = <&vreg_s11b>; |
| 469 |
vdd-l6-l9-l10-supply = <&vreg_s12b>; |
| 470 |
vdd-l8-supply = <&vreg_s12b>; |
| 471 |
|
| 472 |
vreg_s10b: smps10 { |
| 473 |
regulator-name = "vreg_s10b"; |
| 474 |
regulator-min-microvolt = <1800000>; |
| 475 |
regulator-max-microvolt = <1800000>; |
| 476 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 477 |
regulator-always-on; |
| 478 |
}; |
| 479 |
|
| 480 |
vreg_s11b: smps11 { |
| 481 |
regulator-name = "vreg_s11b"; |
| 482 |
regulator-min-microvolt = <1272000>; |
| 483 |
regulator-max-microvolt = <1272000>; |
| 484 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 485 |
}; |
| 486 |
|
| 487 |
vreg_s12b: smps12 { |
| 488 |
regulator-name = "vreg_s12b"; |
| 489 |
regulator-min-microvolt = <984000>; |
| 490 |
regulator-max-microvolt = <984000>; |
| 491 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 492 |
}; |
| 493 |
|
| 494 |
vreg_l1b: ldo1 { |
| 495 |
regulator-name = "vreg_l1b"; |
| 496 |
regulator-min-microvolt = <912000>; |
| 497 |
regulator-max-microvolt = <912000>; |
| 498 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 499 |
}; |
| 500 |
|
| 501 |
vreg_l3b: ldo3 { |
| 502 |
regulator-name = "vreg_l3b"; |
| 503 |
regulator-min-microvolt = <1200000>; |
| 504 |
regulator-max-microvolt = <1200000>; |
| 505 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 506 |
regulator-boot-on; |
| 507 |
}; |
| 508 |
|
| 509 |
vreg_l4b: ldo4 { |
| 510 |
regulator-name = "vreg_l4b"; |
| 511 |
regulator-min-microvolt = <912000>; |
| 512 |
regulator-max-microvolt = <912000>; |
| 513 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 514 |
}; |
| 515 |
|
| 516 |
vreg_l6b: ldo6 { |
| 517 |
regulator-name = "vreg_l6b"; |
| 518 |
regulator-min-microvolt = <880000>; |
| 519 |
regulator-max-microvolt = <880000>; |
| 520 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 521 |
regulator-boot-on; |
| 522 |
}; |
| 523 |
}; |
| 524 |
|
| 525 |
regulators-1 { |
| 526 |
compatible = "qcom,pm8350c-rpmh-regulators"; |
| 527 |
qcom,pmic-id = "c"; |
| 528 |
|
| 529 |
vdd-bob-supply = <&vreg_vph_pwr>; |
| 530 |
vdd-l1-l12-supply = <&vreg_s1c>; |
| 531 |
vdd-l2-l8-supply = <&vreg_s1c>; |
| 532 |
vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; |
| 533 |
vdd-l6-l9-l11-supply = <&vreg_bob>; |
| 534 |
vdd-l10-supply = <&vreg_s11b>; |
| 535 |
|
| 536 |
vreg_s1c: smps1 { |
| 537 |
regulator-name = "vreg_s1c"; |
| 538 |
regulator-min-microvolt = <1880000>; |
| 539 |
regulator-max-microvolt = <1900000>; |
| 540 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 541 |
regulator-always-on; |
| 542 |
}; |
| 543 |
|
| 544 |
vreg_l1c: ldo1 { |
| 545 |
regulator-name = "vreg_l1c"; |
| 546 |
regulator-min-microvolt = <1800000>; |
| 547 |
regulator-max-microvolt = <1800000>; |
| 548 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 549 |
}; |
| 550 |
|
| 551 |
vreg_l8c: ldo8 { |
| 552 |
regulator-name = "vreg_l8c"; |
| 553 |
regulator-min-microvolt = <1800000>; |
| 554 |
regulator-max-microvolt = <1800000>; |
| 555 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 556 |
}; |
| 557 |
|
| 558 |
vreg_l12c: ldo12 { |
| 559 |
regulator-name = "vreg_l12c"; |
| 560 |
regulator-min-microvolt = <1800000>; |
| 561 |
regulator-max-microvolt = <1800000>; |
| 562 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 563 |
}; |
| 564 |
|
| 565 |
vreg_l13c: ldo13 { |
| 566 |
regulator-name = "vreg_l13c"; |
| 567 |
regulator-min-microvolt = <3072000>; |
| 568 |
regulator-max-microvolt = <3072000>; |
| 569 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 570 |
}; |
| 571 |
|
| 572 |
vreg_bob: bob { |
| 573 |
regulator-name = "vreg_bob"; |
| 574 |
regulator-min-microvolt = <3008000>; |
| 575 |
regulator-max-microvolt = <3960000>; |
| 576 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; |
| 577 |
regulator-always-on; |
| 578 |
}; |
| 579 |
}; |
| 580 |
|
| 581 |
regulators-2 { |
| 582 |
compatible = "qcom,pm8350-rpmh-regulators"; |
| 583 |
qcom,pmic-id = "d"; |
| 584 |
|
| 585 |
vdd-l1-l4-supply = <&vreg_s11b>; |
| 586 |
vdd-l2-l7-supply = <&vreg_bob>; |
| 587 |
vdd-l3-l5-supply = <&vreg_s11b>; |
| 588 |
vdd-l6-l9-l10-supply = <&vreg_s12b>; |
| 589 |
vdd-l8-supply = <&vreg_s12b>; |
| 590 |
|
| 591 |
vreg_l2d: ldo2 { |
| 592 |
regulator-name = "vreg_l2d"; |
| 593 |
regulator-min-microvolt = <3072000>; |
| 594 |
regulator-max-microvolt = <3072000>; |
| 595 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 596 |
}; |
| 597 |
|
| 598 |
vreg_l3d: ldo3 { |
| 599 |
regulator-name = "vreg_l3d"; |
| 600 |
regulator-min-microvolt = <1200000>; |
| 601 |
regulator-max-microvolt = <1200000>; |
| 602 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 603 |
}; |
| 604 |
|
| 605 |
vreg_l4d: ldo4 { |
| 606 |
regulator-name = "vreg_l4d"; |
| 607 |
regulator-min-microvolt = <1200000>; |
| 608 |
regulator-max-microvolt = <1200000>; |
| 609 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 610 |
}; |
| 611 |
|
| 612 |
vreg_l6d: ldo6 { |
| 613 |
regulator-name = "vreg_l6d"; |
| 614 |
regulator-min-microvolt = <880000>; |
| 615 |
regulator-max-microvolt = <880000>; |
| 616 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 617 |
}; |
| 618 |
|
| 619 |
vreg_l7d: ldo7 { |
| 620 |
regulator-name = "vreg_l7d"; |
| 621 |
regulator-min-microvolt = <3072000>; |
| 622 |
regulator-max-microvolt = <3072000>; |
| 623 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 624 |
}; |
| 625 |
|
| 626 |
vreg_l8d: ldo8 { |
| 627 |
regulator-name = "vreg_l8d"; |
| 628 |
regulator-min-microvolt = <912000>; |
| 629 |
regulator-max-microvolt = <912000>; |
| 630 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 631 |
}; |
| 632 |
|
| 633 |
vreg_l9d: ldo9 { |
| 634 |
regulator-name = "vreg_l9d"; |
| 635 |
regulator-min-microvolt = <912000>; |
| 636 |
regulator-max-microvolt = <912000>; |
| 637 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 638 |
}; |
| 639 |
|
| 640 |
vreg_l10d: ldo10 { |
| 641 |
regulator-name = "vreg_l10d"; |
| 642 |
regulator-min-microvolt = <912000>; |
| 643 |
regulator-max-microvolt = <912000>; |
| 644 |
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; |
| 645 |
}; |
| 646 |
}; |
| 647 |
}; |
| 648 |
|
| 649 |
&camss { |
| 650 |
vdda-phy-supply = <&vreg_l6d>; |
| 651 |
vdda-pll-supply = <&vreg_l4d>; |
| 652 |
|
| 653 |
status = "okay"; |
| 654 |
|
| 655 |
ports { |
| 656 |
port@0 { |
| 657 |
csiphy0_lanes01_ep: endpoint@0 { |
| 658 |
reg = <0>; |
| 659 |
clock-lanes = <7>; |
| 660 |
data-lanes = <0 1>; |
| 661 |
remote-endpoint = <&ov5675_ep>; |
| 662 |
}; |
| 663 |
}; |
| 664 |
}; |
| 665 |
}; |
| 666 |
|
| 667 |
&cci2 { |
| 668 |
status = "okay"; |
| 669 |
}; |
| 670 |
|
| 671 |
&cci2_i2c1 { |
| 672 |
camera@10 { |
| 673 |
compatible = "ovti,ov5675"; |
| 674 |
reg = <0x10>; |
| 675 |
|
| 676 |
reset-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>; |
| 677 |
pinctrl-names = "default"; |
| 678 |
pinctrl-0 = <&cam_rgb_default>; |
| 679 |
|
| 680 |
leds = <&privacy_led>; |
| 681 |
led-names = "privacy"; |
| 682 |
|
| 683 |
clocks = <&camcc CAMCC_MCLK3_CLK>; |
| 684 |
|
| 685 |
orientation = <0>; /* Front facing */ |
| 686 |
|
| 687 |
avdd-supply = <&vreg_l6q>; |
| 688 |
dvdd-supply = <&vreg_l2q>; |
| 689 |
dovdd-supply = <&vreg_l7q>; |
| 690 |
|
| 691 |
port { |
| 692 |
ov5675_ep: endpoint { |
| 693 |
data-lanes = <1 2>; |
| 694 |
link-frequencies = /bits/ 64 <450000000>; |
| 695 |
remote-endpoint = <&csiphy0_lanes01_ep>; |
| 696 |
}; |
| 697 |
}; |
| 698 |
|
| 699 |
}; |
| 700 |
}; |
| 701 |
|
| 702 |
&dispcc0 { |
| 703 |
status = "okay"; |
| 704 |
}; |
| 705 |
|
| 706 |
&gpi_dma0 { |
| 707 |
status = "okay"; |
| 708 |
}; |
| 709 |
|
| 710 |
&gpi_dma1 { |
| 711 |
status = "okay"; |
| 712 |
}; |
| 713 |
|
| 714 |
&gpi_dma2 { |
| 715 |
status = "okay"; |
| 716 |
}; |
| 717 |
|
| 718 |
&gpu { |
| 719 |
status = "okay"; |
| 720 |
}; |
| 721 |
|
| 722 |
&gpu_zap_shader { |
| 723 |
firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn"; |
| 724 |
}; |
| 725 |
|
| 726 |
&mdss0 { |
| 727 |
status = "okay"; |
| 728 |
}; |
| 729 |
|
| 730 |
&mdss0_dp0 { |
| 731 |
status = "okay"; |
| 732 |
}; |
| 733 |
|
| 734 |
&mdss0_dp0_out { |
| 735 |
data-lanes = <0 1 2 3>; |
| 736 |
remote-endpoint = <&usb_0_qmpphy_dp_in>; |
| 737 |
}; |
| 738 |
|
| 739 |
&mdss0_dp1 { |
| 740 |
status = "okay"; |
| 741 |
}; |
| 742 |
|
| 743 |
&mdss0_dp1_out { |
| 744 |
data-lanes = <0 1 2 3>; |
| 745 |
remote-endpoint = <&usb_1_qmpphy_dp_in>; |
| 746 |
}; |
| 747 |
|
| 748 |
&mdss0_dp3 { |
| 749 |
compatible = "qcom,sc8280xp-edp"; |
| 750 |
/delete-property/ #sound-dai-cells; |
| 751 |
|
| 752 |
data-lanes = <0 1 2 3>; |
| 753 |
|
| 754 |
status = "okay"; |
| 755 |
|
| 756 |
aux-bus { |
| 757 |
panel { |
| 758 |
compatible = "edp-panel"; |
| 759 |
|
| 760 |
backlight = <&backlight>; |
| 761 |
power-supply = <&vreg_edp_3p3>; |
| 762 |
|
| 763 |
port { |
| 764 |
edp_panel_in: endpoint { |
| 765 |
remote-endpoint = <&mdss0_dp3_out>; |
| 766 |
}; |
| 767 |
}; |
| 768 |
}; |
| 769 |
}; |
| 770 |
}; |
| 771 |
|
| 772 |
&mdss0_dp3_out { |
| 773 |
remote-endpoint = <&edp_panel_in>; |
| 774 |
}; |
| 775 |
|
| 776 |
&mdss0_dp3_phy { |
| 777 |
compatible = "qcom,sc8280xp-edp-phy"; |
| 778 |
vdda-phy-supply = <&vreg_l6b>; |
| 779 |
vdda-pll-supply = <&vreg_l3b>; |
| 780 |
|
| 781 |
status = "okay"; |
| 782 |
}; |
| 783 |
|
| 784 |
&i2c4 { |
| 785 |
clock-frequency = <400000>; |
| 786 |
|
| 787 |
pinctrl-names = "default"; |
| 788 |
pinctrl-0 = <&i2c4_default>; |
| 789 |
|
| 790 |
status = "okay"; |
| 791 |
|
| 792 |
touchscreen@10 { |
| 793 |
compatible = "elan,ekth5015m", "elan,ekth6915"; |
| 794 |
reg = <0x10>; |
| 795 |
|
| 796 |
interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>; |
| 797 |
reset-gpios = <&tlmm 99 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; |
| 798 |
no-reset-on-power-off; |
| 799 |
|
| 800 |
vcc33-supply = <&vreg_misc_3p3>; |
| 801 |
vccio-supply = <&vreg_misc_3p3>; |
| 802 |
|
| 803 |
pinctrl-names = "default"; |
| 804 |
pinctrl-0 = <&ts0_default>; |
| 805 |
}; |
| 806 |
}; |
| 807 |
|
| 808 |
&i2c11 { |
| 809 |
clock-frequency = <400000>; |
| 810 |
|
| 811 |
pinctrl-names = "default"; |
| 812 |
pinctrl-0 = <&i2c11_default>; |
| 813 |
|
| 814 |
status = "okay"; |
| 815 |
|
| 816 |
pm8008: pmic@c { |
| 817 |
compatible = "qcom,pm8008"; |
| 818 |
reg = <0xc>; |
| 819 |
|
| 820 |
interrupts-extended = <&tlmm 41 IRQ_TYPE_EDGE_RISING>; |
| 821 |
reset-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>; |
| 822 |
|
| 823 |
vdd-l1-l2-supply = <&vreg_s11b>; |
| 824 |
vdd-l3-l4-supply = <&vreg_bob>; |
| 825 |
vdd-l5-supply = <&vreg_bob>; |
| 826 |
vdd-l6-supply = <&vreg_bob>; |
| 827 |
vdd-l7-supply = <&vreg_bob>; |
| 828 |
|
| 829 |
pinctrl-names = "default"; |
| 830 |
pinctrl-0 = <&pm8008_default>; |
| 831 |
|
| 832 |
gpio-controller; |
| 833 |
#gpio-cells = <2>; |
| 834 |
gpio-ranges = <&pm8008 0 0 2>; |
| 835 |
|
| 836 |
interrupt-controller; |
| 837 |
#interrupt-cells = <2>; |
| 838 |
|
| 839 |
#thermal-sensor-cells = <0>; |
| 840 |
|
| 841 |
regulators { |
| 842 |
vreg_l1q: ldo1 { |
| 843 |
regulator-name = "vreg_l1q"; |
| 844 |
regulator-min-microvolt = <1200000>; |
| 845 |
regulator-max-microvolt = <1200000>; |
| 846 |
}; |
| 847 |
|
| 848 |
vreg_l2q: ldo2 { |
| 849 |
regulator-name = "vreg_l2q"; |
| 850 |
regulator-min-microvolt = <1200000>; |
| 851 |
regulator-max-microvolt = <1200000>; |
| 852 |
}; |
| 853 |
|
| 854 |
vreg_l3q: ldo3 { |
| 855 |
regulator-name = "vreg_l3q"; |
| 856 |
regulator-min-microvolt = <2800000>; |
| 857 |
regulator-max-microvolt = <2800000>; |
| 858 |
}; |
| 859 |
|
| 860 |
vreg_l4q: ldo4 { |
| 861 |
regulator-name = "vreg_l4q"; |
| 862 |
regulator-min-microvolt = <2800000>; |
| 863 |
regulator-max-microvolt = <2800000>; |
| 864 |
}; |
| 865 |
|
| 866 |
vreg_l5q: ldo5 { |
| 867 |
regulator-name = "vreg_l5q"; |
| 868 |
regulator-min-microvolt = <1800000>; |
| 869 |
regulator-max-microvolt = <1800000>; |
| 870 |
}; |
| 871 |
|
| 872 |
vreg_l6q: ldo6 { |
| 873 |
regulator-name = "vreg_l6q"; |
| 874 |
regulator-min-microvolt = <1800000>; |
| 875 |
regulator-max-microvolt = <1800000>; |
| 876 |
}; |
| 877 |
|
| 878 |
vreg_l7q: ldo7 { |
| 879 |
regulator-name = "vreg_l7q"; |
| 880 |
regulator-min-microvolt = <2800000>; |
| 881 |
regulator-max-microvolt = <2800000>; |
| 882 |
}; |
| 883 |
}; |
| 884 |
}; |
| 885 |
}; |
| 886 |
|
| 887 |
&i2c21 { |
| 888 |
clock-frequency = <400000>; |
| 889 |
|
| 890 |
pinctrl-names = "default"; |
| 891 |
pinctrl-0 = <&i2c21_default>, <&tpad_default>; |
| 892 |
|
| 893 |
status = "okay"; |
| 894 |
|
| 895 |
touchpad@15 { |
| 896 |
compatible = "hid-over-i2c"; |
| 897 |
reg = <0x15>; |
| 898 |
|
| 899 |
hid-descr-addr = <0x1>; |
| 900 |
interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; |
| 901 |
vdd-supply = <&vreg_misc_3p3>; |
| 902 |
vddl-supply = <&vreg_s10b>; |
| 903 |
|
| 904 |
wakeup-source; |
| 905 |
}; |
| 906 |
|
| 907 |
touchpad@2c { |
| 908 |
compatible = "hid-over-i2c"; |
| 909 |
reg = <0x2c>; |
| 910 |
|
| 911 |
hid-descr-addr = <0x20>; |
| 912 |
interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; |
| 913 |
vdd-supply = <&vreg_misc_3p3>; |
| 914 |
vddl-supply = <&vreg_s10b>; |
| 915 |
|
| 916 |
wakeup-source; |
| 917 |
}; |
| 918 |
|
| 919 |
keyboard@68 { |
| 920 |
compatible = "hid-over-i2c"; |
| 921 |
reg = <0x68>; |
| 922 |
|
| 923 |
hid-descr-addr = <0x1>; |
| 924 |
interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>; |
| 925 |
vdd-supply = <&vreg_misc_3p3>; |
| 926 |
vddl-supply = <&vreg_s10b>; |
| 927 |
|
| 928 |
pinctrl-names = "default"; |
| 929 |
pinctrl-0 = <&kybd_default>; |
| 930 |
|
| 931 |
wakeup-source; |
| 932 |
}; |
| 933 |
}; |
| 934 |
|
| 935 |
&pcie2a { |
| 936 |
perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>; |
| 937 |
wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>; |
| 938 |
|
| 939 |
vddpe-3v3-supply = <&vreg_nvme>; |
| 940 |
|
| 941 |
pinctrl-names = "default"; |
| 942 |
pinctrl-0 = <&pcie2a_default>; |
| 943 |
|
| 944 |
status = "okay"; |
| 945 |
}; |
| 946 |
|
| 947 |
&pcie2a_phy { |
| 948 |
vdda-phy-supply = <&vreg_l6d>; |
| 949 |
vdda-pll-supply = <&vreg_l4d>; |
| 950 |
|
| 951 |
status = "okay"; |
| 952 |
}; |
| 953 |
|
| 954 |
&pcie3a { |
| 955 |
perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>; |
| 956 |
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; |
| 957 |
|
| 958 |
vddpe-3v3-supply = <&vreg_wwan>; |
| 959 |
|
| 960 |
pinctrl-names = "default"; |
| 961 |
pinctrl-0 = <&pcie3a_default>; |
| 962 |
|
| 963 |
status = "okay"; |
| 964 |
}; |
| 965 |
|
| 966 |
&pcie3a_phy { |
| 967 |
vdda-phy-supply = <&vreg_l6d>; |
| 968 |
vdda-pll-supply = <&vreg_l4d>; |
| 969 |
|
| 970 |
status = "okay"; |
| 971 |
}; |
| 972 |
|
| 973 |
&pcie4 { |
| 974 |
max-link-speed = <2>; |
| 975 |
|
| 976 |
perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>; |
| 977 |
wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>; |
| 978 |
|
| 979 |
vddpe-3v3-supply = <&vreg_wlan>; |
| 980 |
|
| 981 |
pinctrl-names = "default"; |
| 982 |
pinctrl-0 = <&pcie4_default>; |
| 983 |
|
| 984 |
status = "okay"; |
| 985 |
}; |
| 986 |
|
| 987 |
&pcie4_port0 { |
| 988 |
wifi@0 { |
| 989 |
compatible = "pci17cb,1103"; |
| 990 |
reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 991 |
|
| 992 |
vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>; |
| 993 |
vddaon-supply = <&vreg_pmu_aon_0p8>; |
| 994 |
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 995 |
vddwlmx-supply = <&vreg_pmu_wlmx_0p8>; |
| 996 |
vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; |
| 997 |
vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; |
| 998 |
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 999 |
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 1000 |
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; |
| 1001 |
|
| 1002 |
qcom,calibration-variant = "LE_X13S"; |
| 1003 |
}; |
| 1004 |
}; |
| 1005 |
|
| 1006 |
&pcie4_phy { |
| 1007 |
vdda-phy-supply = <&vreg_l6d>; |
| 1008 |
vdda-pll-supply = <&vreg_l4d>; |
| 1009 |
|
| 1010 |
status = "okay"; |
| 1011 |
}; |
| 1012 |
|
| 1013 |
&pmc8280c_lpg { |
| 1014 |
status = "okay"; |
| 1015 |
}; |
| 1016 |
|
| 1017 |
&pmk8280_adc_tm { |
| 1018 |
status = "okay"; |
| 1019 |
|
| 1020 |
sys-therm@0 { |
| 1021 |
reg = <0>; |
| 1022 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>; |
| 1023 |
qcom,hw-settle-time-us = <200>; |
| 1024 |
qcom,avg-samples = <2>; |
| 1025 |
qcom,ratiometric; |
| 1026 |
}; |
| 1027 |
|
| 1028 |
sys-therm@1 { |
| 1029 |
reg = <1>; |
| 1030 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>; |
| 1031 |
qcom,hw-settle-time-us = <200>; |
| 1032 |
qcom,avg-samples = <2>; |
| 1033 |
qcom,ratiometric; |
| 1034 |
}; |
| 1035 |
|
| 1036 |
sys-therm@2 { |
| 1037 |
reg = <2>; |
| 1038 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>; |
| 1039 |
qcom,hw-settle-time-us = <200>; |
| 1040 |
qcom,avg-samples = <2>; |
| 1041 |
qcom,ratiometric; |
| 1042 |
}; |
| 1043 |
|
| 1044 |
sys-therm@3 { |
| 1045 |
reg = <3>; |
| 1046 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>; |
| 1047 |
qcom,hw-settle-time-us = <200>; |
| 1048 |
qcom,avg-samples = <2>; |
| 1049 |
qcom,ratiometric; |
| 1050 |
}; |
| 1051 |
|
| 1052 |
sys-therm@4 { |
| 1053 |
reg = <4>; |
| 1054 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM1_100K_PU(3)>; |
| 1055 |
qcom,hw-settle-time-us = <200>; |
| 1056 |
qcom,avg-samples = <2>; |
| 1057 |
qcom,ratiometric; |
| 1058 |
}; |
| 1059 |
|
| 1060 |
sys-therm@5 { |
| 1061 |
reg = <5>; |
| 1062 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM2_100K_PU(3)>; |
| 1063 |
qcom,hw-settle-time-us = <200>; |
| 1064 |
qcom,avg-samples = <2>; |
| 1065 |
qcom,ratiometric; |
| 1066 |
}; |
| 1067 |
|
| 1068 |
sys-therm@6 { |
| 1069 |
reg = <6>; |
| 1070 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM3_100K_PU(3)>; |
| 1071 |
qcom,hw-settle-time-us = <200>; |
| 1072 |
qcom,avg-samples = <2>; |
| 1073 |
qcom,ratiometric; |
| 1074 |
}; |
| 1075 |
|
| 1076 |
sys-therm@7 { |
| 1077 |
reg = <7>; |
| 1078 |
io-channels = <&pmk8280_vadc PM8350_ADC7_AMUX_THM4_100K_PU(3)>; |
| 1079 |
qcom,hw-settle-time-us = <200>; |
| 1080 |
qcom,avg-samples = <2>; |
| 1081 |
qcom,ratiometric; |
| 1082 |
}; |
| 1083 |
}; |
| 1084 |
|
| 1085 |
&pmk8280_pon_pwrkey { |
| 1086 |
status = "okay"; |
| 1087 |
}; |
| 1088 |
|
| 1089 |
&pmk8280_pon_resin { |
| 1090 |
status = "okay"; |
| 1091 |
}; |
| 1092 |
|
| 1093 |
&pmk8280_rtc { |
| 1094 |
qcom,uefi-rtc-info; |
| 1095 |
|
| 1096 |
status = "okay"; |
| 1097 |
}; |
| 1098 |
|
| 1099 |
&pmk8280_vadc { |
| 1100 |
channel@144 { |
| 1101 |
reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>; |
| 1102 |
qcom,hw-settle-time = <200>; |
| 1103 |
qcom,ratiometric; |
| 1104 |
label = "sys_therm1"; |
| 1105 |
}; |
| 1106 |
|
| 1107 |
channel@145 { |
| 1108 |
reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>; |
| 1109 |
qcom,hw-settle-time = <200>; |
| 1110 |
qcom,ratiometric; |
| 1111 |
label = "sys_therm2"; |
| 1112 |
}; |
| 1113 |
|
| 1114 |
channel@146 { |
| 1115 |
reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>; |
| 1116 |
qcom,hw-settle-time = <200>; |
| 1117 |
qcom,ratiometric; |
| 1118 |
label = "sys_therm3"; |
| 1119 |
}; |
| 1120 |
|
| 1121 |
channel@147 { |
| 1122 |
reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>; |
| 1123 |
qcom,hw-settle-time = <200>; |
| 1124 |
qcom,ratiometric; |
| 1125 |
label = "sys_therm4"; |
| 1126 |
}; |
| 1127 |
|
| 1128 |
channel@344 { |
| 1129 |
reg = <PM8350_ADC7_AMUX_THM1_100K_PU(3)>; |
| 1130 |
qcom,hw-settle-time = <200>; |
| 1131 |
qcom,ratiometric; |
| 1132 |
label = "sys_therm5"; |
| 1133 |
}; |
| 1134 |
|
| 1135 |
channel@345 { |
| 1136 |
reg = <PM8350_ADC7_AMUX_THM2_100K_PU(3)>; |
| 1137 |
qcom,hw-settle-time = <200>; |
| 1138 |
qcom,ratiometric; |
| 1139 |
label = "sys_therm6"; |
| 1140 |
}; |
| 1141 |
|
| 1142 |
channel@346 { |
| 1143 |
reg = <PM8350_ADC7_AMUX_THM3_100K_PU(3)>; |
| 1144 |
qcom,hw-settle-time = <200>; |
| 1145 |
qcom,ratiometric; |
| 1146 |
label = "sys_therm7"; |
| 1147 |
}; |
| 1148 |
|
| 1149 |
channel@347 { |
| 1150 |
reg = <PM8350_ADC7_AMUX_THM4_100K_PU(3)>; |
| 1151 |
qcom,hw-settle-time = <200>; |
| 1152 |
qcom,ratiometric; |
| 1153 |
label = "sys_therm8"; |
| 1154 |
}; |
| 1155 |
}; |
| 1156 |
|
| 1157 |
&qup0 { |
| 1158 |
status = "okay"; |
| 1159 |
}; |
| 1160 |
|
| 1161 |
&qup1 { |
| 1162 |
status = "okay"; |
| 1163 |
}; |
| 1164 |
|
| 1165 |
&qup2 { |
| 1166 |
status = "okay"; |
| 1167 |
}; |
| 1168 |
|
| 1169 |
&remoteproc_adsp { |
| 1170 |
firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn"; |
| 1171 |
|
| 1172 |
status = "okay"; |
| 1173 |
}; |
| 1174 |
|
| 1175 |
&remoteproc_nsp0 { |
| 1176 |
firmware-name = "qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn"; |
| 1177 |
|
| 1178 |
status = "okay"; |
| 1179 |
}; |
| 1180 |
|
| 1181 |
&remoteproc_slpi { |
| 1182 |
firmware-name = "qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn"; |
| 1183 |
|
| 1184 |
status = "okay"; |
| 1185 |
}; |
| 1186 |
|
| 1187 |
&rxmacro { |
| 1188 |
status = "okay"; |
| 1189 |
}; |
| 1190 |
|
| 1191 |
&sound { |
| 1192 |
compatible = "qcom,sc8280xp-sndcard"; |
| 1193 |
model = "SC8280XP-LENOVO-X13S"; |
| 1194 |
audio-routing = |
| 1195 |
"SpkrLeft IN", "WSA_SPK1 OUT", |
| 1196 |
"SpkrRight IN", "WSA_SPK2 OUT", |
| 1197 |
"IN1_HPHL", "HPHL_OUT", |
| 1198 |
"IN2_HPHR", "HPHR_OUT", |
| 1199 |
"AMIC2", "MIC BIAS2", |
| 1200 |
"VA DMIC0", "MIC BIAS1", |
| 1201 |
"VA DMIC1", "MIC BIAS1", |
| 1202 |
"VA DMIC2", "MIC BIAS3", |
| 1203 |
"TX SWR_ADC1", "ADC2_OUTPUT"; |
| 1204 |
|
| 1205 |
wcd-playback-dai-link { |
| 1206 |
link-name = "WCD Playback"; |
| 1207 |
cpu { |
| 1208 |
sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; |
| 1209 |
}; |
| 1210 |
|
| 1211 |
codec { |
| 1212 |
sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; |
| 1213 |
}; |
| 1214 |
|
| 1215 |
platform { |
| 1216 |
sound-dai = <&q6apm>; |
| 1217 |
}; |
| 1218 |
}; |
| 1219 |
|
| 1220 |
wcd-capture-dai-link { |
| 1221 |
link-name = "WCD Capture"; |
| 1222 |
cpu { |
| 1223 |
sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; |
| 1224 |
}; |
| 1225 |
|
| 1226 |
codec { |
| 1227 |
sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; |
| 1228 |
}; |
| 1229 |
|
| 1230 |
platform { |
| 1231 |
sound-dai = <&q6apm>; |
| 1232 |
}; |
| 1233 |
}; |
| 1234 |
|
| 1235 |
wsa-dai-link { |
| 1236 |
link-name = "WSA Playback"; |
| 1237 |
cpu { |
| 1238 |
sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; |
| 1239 |
}; |
| 1240 |
|
| 1241 |
codec { |
| 1242 |
sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; |
| 1243 |
}; |
| 1244 |
|
| 1245 |
platform { |
| 1246 |
sound-dai = <&q6apm>; |
| 1247 |
}; |
| 1248 |
}; |
| 1249 |
|
| 1250 |
va-dai-link { |
| 1251 |
link-name = "VA Capture"; |
| 1252 |
cpu { |
| 1253 |
sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; |
| 1254 |
}; |
| 1255 |
|
| 1256 |
platform { |
| 1257 |
sound-dai = <&q6apm>; |
| 1258 |
}; |
| 1259 |
|
| 1260 |
codec { |
| 1261 |
sound-dai = <&vamacro 0>; |
| 1262 |
}; |
| 1263 |
}; |
| 1264 |
}; |
| 1265 |
|
| 1266 |
&swr0 { |
| 1267 |
status = "okay"; |
| 1268 |
|
| 1269 |
left_spkr: wsa8830-left@0,1 { |
| 1270 |
compatible = "sdw10217020200"; |
| 1271 |
reg = <0 1>; |
| 1272 |
pinctrl-names = "default"; |
| 1273 |
pinctrl-0 = <&spkr_1_sd_n_default>; |
| 1274 |
powerdown-gpios = <&tlmm 178 GPIO_ACTIVE_LOW>; |
| 1275 |
#thermal-sensor-cells = <0>; |
| 1276 |
sound-name-prefix = "SpkrLeft"; |
| 1277 |
#sound-dai-cells = <0>; |
| 1278 |
vdd-supply = <&vreg_s10b>; |
| 1279 |
}; |
| 1280 |
|
| 1281 |
right_spkr: wsa8830-right@0,2 { |
| 1282 |
compatible = "sdw10217020200"; |
| 1283 |
reg = <0 2>; |
| 1284 |
pinctrl-names = "default"; |
| 1285 |
pinctrl-0 = <&spkr_2_sd_n_default>; |
| 1286 |
powerdown-gpios = <&tlmm 179 GPIO_ACTIVE_LOW>; |
| 1287 |
#thermal-sensor-cells = <0>; |
| 1288 |
sound-name-prefix = "SpkrRight"; |
| 1289 |
#sound-dai-cells = <0>; |
| 1290 |
vdd-supply = <&vreg_s10b>; |
| 1291 |
}; |
| 1292 |
}; |
| 1293 |
|
| 1294 |
&swr1 { |
| 1295 |
status = "okay"; |
| 1296 |
|
| 1297 |
wcd_rx: wcd9380-rx@0,4 { |
| 1298 |
compatible = "sdw20217010d00"; |
| 1299 |
reg = <0 4>; |
| 1300 |
qcom,rx-port-mapping = <1 2 3 4 5>; |
| 1301 |
}; |
| 1302 |
}; |
| 1303 |
|
| 1304 |
&swr2 { |
| 1305 |
status = "okay"; |
| 1306 |
|
| 1307 |
wcd_tx: wcd9380-tx@0,3 { |
| 1308 |
compatible = "sdw20217010d00"; |
| 1309 |
reg = <0 3>; |
| 1310 |
qcom,tx-port-mapping = <1 1 2 3>; |
| 1311 |
}; |
| 1312 |
}; |
| 1313 |
|
| 1314 |
&txmacro { |
| 1315 |
status = "okay"; |
| 1316 |
}; |
| 1317 |
|
| 1318 |
&uart2 { |
| 1319 |
pinctrl-0 = <&uart2_default>; |
| 1320 |
pinctrl-names = "default"; |
| 1321 |
|
| 1322 |
status = "okay"; |
| 1323 |
|
| 1324 |
bluetooth { |
| 1325 |
compatible = "qcom,wcn6855-bt"; |
| 1326 |
|
| 1327 |
vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>; |
| 1328 |
vddaon-supply = <&vreg_pmu_aon_0p8>; |
| 1329 |
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; |
| 1330 |
vddwlmx-supply = <&vreg_pmu_wlmx_0p8>; |
| 1331 |
vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>; |
| 1332 |
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; |
| 1333 |
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; |
| 1334 |
vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; |
| 1335 |
|
| 1336 |
max-speed = <3200000>; |
| 1337 |
}; |
| 1338 |
}; |
| 1339 |
|
| 1340 |
&usb_0 { |
| 1341 |
status = "okay"; |
| 1342 |
}; |
| 1343 |
|
| 1344 |
&usb_0_dwc3 { |
| 1345 |
dr_mode = "host"; |
| 1346 |
}; |
| 1347 |
|
| 1348 |
&usb_0_dwc3_hs { |
| 1349 |
remote-endpoint = <&pmic_glink_con0_hs>; |
| 1350 |
}; |
| 1351 |
|
| 1352 |
&usb_0_hsphy { |
| 1353 |
vdda-pll-supply = <&vreg_l9d>; |
| 1354 |
vdda18-supply = <&vreg_l1c>; |
| 1355 |
vdda33-supply = <&vreg_l7d>; |
| 1356 |
|
| 1357 |
status = "okay"; |
| 1358 |
}; |
| 1359 |
|
| 1360 |
&usb_0_qmpphy { |
| 1361 |
vdda-phy-supply = <&vreg_l9d>; |
| 1362 |
vdda-pll-supply = <&vreg_l4d>; |
| 1363 |
|
| 1364 |
mode-switch; |
| 1365 |
orientation-switch; |
| 1366 |
|
| 1367 |
status = "okay"; |
| 1368 |
}; |
| 1369 |
|
| 1370 |
&usb_0_qmpphy_dp_in { |
| 1371 |
remote-endpoint = <&mdss0_dp0_out>; |
| 1372 |
}; |
| 1373 |
|
| 1374 |
&usb_0_qmpphy_out { |
| 1375 |
remote-endpoint = <&pmic_glink_con0_ss>; |
| 1376 |
}; |
| 1377 |
|
| 1378 |
&usb_1 { |
| 1379 |
status = "okay"; |
| 1380 |
}; |
| 1381 |
|
| 1382 |
&usb_1_dwc3 { |
| 1383 |
dr_mode = "host"; |
| 1384 |
}; |
| 1385 |
|
| 1386 |
&usb_1_dwc3_hs { |
| 1387 |
remote-endpoint = <&pmic_glink_con1_hs>; |
| 1388 |
}; |
| 1389 |
|
| 1390 |
&usb_1_hsphy { |
| 1391 |
vdda-pll-supply = <&vreg_l4b>; |
| 1392 |
vdda18-supply = <&vreg_l1c>; |
| 1393 |
vdda33-supply = <&vreg_l13c>; |
| 1394 |
|
| 1395 |
status = "okay"; |
| 1396 |
}; |
| 1397 |
|
| 1398 |
&usb_1_qmpphy { |
| 1399 |
vdda-phy-supply = <&vreg_l4b>; |
| 1400 |
vdda-pll-supply = <&vreg_l3b>; |
| 1401 |
|
| 1402 |
mode-switch; |
| 1403 |
orientation-switch; |
| 1404 |
|
| 1405 |
status = "okay"; |
| 1406 |
}; |
| 1407 |
|
| 1408 |
&usb_1_qmpphy_dp_in { |
| 1409 |
remote-endpoint = <&mdss0_dp1_out>; |
| 1410 |
}; |
| 1411 |
|
| 1412 |
&usb_1_qmpphy_out { |
| 1413 |
remote-endpoint = <&pmic_glink_con1_ss>; |
| 1414 |
}; |
| 1415 |
|
| 1416 |
&usb_2 { |
| 1417 |
status = "okay"; |
| 1418 |
}; |
| 1419 |
|
| 1420 |
&usb_2_hsphy0 { |
| 1421 |
vdda-pll-supply = <&vreg_l1b>; |
| 1422 |
vdda18-supply = <&vreg_l1c>; |
| 1423 |
vdda33-supply = <&vreg_l7d>; |
| 1424 |
|
| 1425 |
status = "okay"; |
| 1426 |
}; |
| 1427 |
|
| 1428 |
&usb_2_hsphy1 { |
| 1429 |
vdda-pll-supply = <&vreg_l8d>; |
| 1430 |
vdda18-supply = <&vreg_l1c>; |
| 1431 |
vdda33-supply = <&vreg_l7d>; |
| 1432 |
|
| 1433 |
status = "okay"; |
| 1434 |
}; |
| 1435 |
|
| 1436 |
&usb_2_hsphy2 { |
| 1437 |
vdda-pll-supply = <&vreg_l10d>; |
| 1438 |
vdda18-supply = <&vreg_l8c>; |
| 1439 |
vdda33-supply = <&vreg_l2d>; |
| 1440 |
|
| 1441 |
status = "okay"; |
| 1442 |
}; |
| 1443 |
|
| 1444 |
&usb_2_hsphy3 { |
| 1445 |
vdda-pll-supply = <&vreg_l10d>; |
| 1446 |
vdda18-supply = <&vreg_l8c>; |
| 1447 |
vdda33-supply = <&vreg_l2d>; |
| 1448 |
|
| 1449 |
status = "okay"; |
| 1450 |
}; |
| 1451 |
|
| 1452 |
&usb_2_qmpphy0 { |
| 1453 |
vdda-phy-supply = <&vreg_l1b>; |
| 1454 |
vdda-pll-supply = <&vreg_l4d>; |
| 1455 |
|
| 1456 |
status = "okay"; |
| 1457 |
}; |
| 1458 |
|
| 1459 |
&usb_2_qmpphy1 { |
| 1460 |
vdda-phy-supply = <&vreg_l8d>; |
| 1461 |
vdda-pll-supply = <&vreg_l4d>; |
| 1462 |
|
| 1463 |
status = "okay"; |
| 1464 |
}; |
| 1465 |
|
| 1466 |
&vamacro { |
| 1467 |
pinctrl-0 = <&dmic01_default>, <&dmic23_default>; |
| 1468 |
pinctrl-names = "default"; |
| 1469 |
|
| 1470 |
vdd-micb-supply = <&vreg_s10b>; |
| 1471 |
|
| 1472 |
qcom,dmic-sample-rate = <4800000>; |
| 1473 |
|
| 1474 |
status = "okay"; |
| 1475 |
}; |
| 1476 |
|
| 1477 |
&wsamacro { |
| 1478 |
status = "okay"; |
| 1479 |
}; |
| 1480 |
|
| 1481 |
&xo_board_clk { |
| 1482 |
clock-frequency = <38400000>; |
| 1483 |
}; |
| 1484 |
|
| 1485 |
/* PINCTRL */ |
| 1486 |
|
| 1487 |
&lpass_tlmm { |
| 1488 |
status = "okay"; |
| 1489 |
}; |
| 1490 |
|
| 1491 |
&pmc8280_1_gpios { |
| 1492 |
edp_bl_en: edp-bl-en-state { |
| 1493 |
pins = "gpio8"; |
| 1494 |
function = "normal"; |
| 1495 |
}; |
| 1496 |
|
| 1497 |
edp_bl_reg_en: edp-bl-reg-en-state { |
| 1498 |
pins = "gpio9"; |
| 1499 |
function = "normal"; |
| 1500 |
}; |
| 1501 |
|
| 1502 |
misc_3p3_reg_en: misc-3p3-reg-en-state { |
| 1503 |
pins = "gpio1"; |
| 1504 |
function = "normal"; |
| 1505 |
}; |
| 1506 |
}; |
| 1507 |
|
| 1508 |
&pmc8280_2_gpios { |
| 1509 |
wwan_sw_en: wwan-sw-en-state { |
| 1510 |
pins = "gpio1"; |
| 1511 |
function = "normal"; |
| 1512 |
}; |
| 1513 |
}; |
| 1514 |
|
| 1515 |
&pmc8280c_gpios { |
| 1516 |
edp_bl_pwm: edp-bl-pwm-state { |
| 1517 |
pins = "gpio8"; |
| 1518 |
function = "func1"; |
| 1519 |
}; |
| 1520 |
}; |
| 1521 |
|
| 1522 |
&pmr735a_gpios { |
| 1523 |
hastings_reg_en: hastings-reg-en-state { |
| 1524 |
pins = "gpio1"; |
| 1525 |
function = "normal"; |
| 1526 |
}; |
| 1527 |
}; |
| 1528 |
|
| 1529 |
&tlmm { |
| 1530 |
gpio-reserved-ranges = <70 2>, <74 6>, <125 2>, <128 2>, <154 4>; |
| 1531 |
|
| 1532 |
bt_default: bt-default-state { |
| 1533 |
hstp-bt-en-pins { |
| 1534 |
pins = "gpio133"; |
| 1535 |
function = "gpio"; |
| 1536 |
drive-strength = <16>; |
| 1537 |
bias-disable; |
| 1538 |
}; |
| 1539 |
|
| 1540 |
hstp-sw-ctrl-pins { |
| 1541 |
pins = "gpio132"; |
| 1542 |
function = "gpio"; |
| 1543 |
bias-pull-down; |
| 1544 |
}; |
| 1545 |
}; |
| 1546 |
|
| 1547 |
cam_indicator_en: cam-indicator-en-state { |
| 1548 |
pins = "gpio28"; |
| 1549 |
function = "gpio"; |
| 1550 |
drive-strength = <2>; |
| 1551 |
bias-disable; |
| 1552 |
}; |
| 1553 |
|
| 1554 |
cam_rgb_default: cam-rgb-default-state { |
| 1555 |
mclk-pins { |
| 1556 |
pins = "gpio17"; |
| 1557 |
function = "cam_mclk"; |
| 1558 |
drive-strength = <16>; |
| 1559 |
bias-disable; |
| 1560 |
}; |
| 1561 |
|
| 1562 |
sc-rgb-xshut-n-pins { |
| 1563 |
pins = "gpio15"; |
| 1564 |
function = "gpio"; |
| 1565 |
drive-strength = <2>; |
| 1566 |
bias-disable; |
| 1567 |
}; |
| 1568 |
}; |
| 1569 |
|
| 1570 |
edp_reg_en: edp-reg-en-state { |
| 1571 |
pins = "gpio25"; |
| 1572 |
function = "gpio"; |
| 1573 |
drive-strength = <16>; |
| 1574 |
bias-disable; |
| 1575 |
}; |
| 1576 |
|
| 1577 |
hall_int_n_default: hall-int-n-state { |
| 1578 |
pins = "gpio107"; |
| 1579 |
function = "gpio"; |
| 1580 |
bias-disable; |
| 1581 |
}; |
| 1582 |
|
| 1583 |
i2c4_default: i2c4-default-state { |
| 1584 |
pins = "gpio171", "gpio172"; |
| 1585 |
function = "qup4"; |
| 1586 |
drive-strength = <16>; |
| 1587 |
bias-disable; |
| 1588 |
}; |
| 1589 |
|
| 1590 |
i2c11_default: i2c11-default-state { |
| 1591 |
pins = "gpio18", "gpio19"; |
| 1592 |
function = "qup11"; |
| 1593 |
drive-strength = <16>; |
| 1594 |
bias-disable; |
| 1595 |
}; |
| 1596 |
|
| 1597 |
i2c21_default: i2c21-default-state { |
| 1598 |
pins = "gpio81", "gpio82"; |
| 1599 |
function = "qup21"; |
| 1600 |
drive-strength = <16>; |
| 1601 |
bias-disable; |
| 1602 |
}; |
| 1603 |
|
| 1604 |
kybd_default: kybd-default-state { |
| 1605 |
disable-pins { |
| 1606 |
pins = "gpio102"; |
| 1607 |
function = "gpio"; |
| 1608 |
output-low; |
| 1609 |
}; |
| 1610 |
|
| 1611 |
int-n-pins { |
| 1612 |
pins = "gpio104"; |
| 1613 |
function = "gpio"; |
| 1614 |
bias-disable; |
| 1615 |
}; |
| 1616 |
|
| 1617 |
reset-pins { |
| 1618 |
pins = "gpio105"; |
| 1619 |
function = "gpio"; |
| 1620 |
bias-disable; |
| 1621 |
}; |
| 1622 |
}; |
| 1623 |
|
| 1624 |
nvme_reg_en: nvme-reg-en-state { |
| 1625 |
pins = "gpio135"; |
| 1626 |
function = "gpio"; |
| 1627 |
drive-strength = <2>; |
| 1628 |
bias-disable; |
| 1629 |
}; |
| 1630 |
|
| 1631 |
pcie2a_default: pcie2a-default-state { |
| 1632 |
clkreq-n-pins { |
| 1633 |
pins = "gpio142"; |
| 1634 |
function = "pcie2a_clkreq"; |
| 1635 |
drive-strength = <2>; |
| 1636 |
bias-pull-up; |
| 1637 |
}; |
| 1638 |
|
| 1639 |
perst-n-pins { |
| 1640 |
pins = "gpio143"; |
| 1641 |
function = "gpio"; |
| 1642 |
drive-strength = <2>; |
| 1643 |
bias-disable; |
| 1644 |
}; |
| 1645 |
|
| 1646 |
wake-n-pins { |
| 1647 |
pins = "gpio145"; |
| 1648 |
function = "gpio"; |
| 1649 |
drive-strength = <2>; |
| 1650 |
bias-pull-up; |
| 1651 |
}; |
| 1652 |
}; |
| 1653 |
|
| 1654 |
pcie3a_default: pcie3a-default-state { |
| 1655 |
clkreq-n-pins { |
| 1656 |
pins = "gpio150"; |
| 1657 |
function = "pcie3a_clkreq"; |
| 1658 |
drive-strength = <2>; |
| 1659 |
bias-pull-up; |
| 1660 |
}; |
| 1661 |
|
| 1662 |
perst-n-pins { |
| 1663 |
pins = "gpio151"; |
| 1664 |
function = "gpio"; |
| 1665 |
drive-strength = <2>; |
| 1666 |
bias-disable; |
| 1667 |
}; |
| 1668 |
|
| 1669 |
wake-n-pins { |
| 1670 |
pins = "gpio148"; |
| 1671 |
function = "gpio"; |
| 1672 |
drive-strength = <2>; |
| 1673 |
bias-pull-up; |
| 1674 |
}; |
| 1675 |
}; |
| 1676 |
|
| 1677 |
pcie4_default: pcie4-default-state { |
| 1678 |
clkreq-n-pins { |
| 1679 |
pins = "gpio140"; |
| 1680 |
function = "pcie4_clkreq"; |
| 1681 |
drive-strength = <2>; |
| 1682 |
bias-pull-up; |
| 1683 |
}; |
| 1684 |
|
| 1685 |
perst-n-pins { |
| 1686 |
pins = "gpio141"; |
| 1687 |
function = "gpio"; |
| 1688 |
drive-strength = <2>; |
| 1689 |
bias-disable; |
| 1690 |
}; |
| 1691 |
|
| 1692 |
wake-n-pins { |
| 1693 |
pins = "gpio139"; |
| 1694 |
function = "gpio"; |
| 1695 |
drive-strength = <2>; |
| 1696 |
bias-pull-up; |
| 1697 |
}; |
| 1698 |
}; |
| 1699 |
|
| 1700 |
pm8008_default: pm8008-default-state { |
| 1701 |
int-pins { |
| 1702 |
pins = "gpio41"; |
| 1703 |
function = "gpio"; |
| 1704 |
drive-strength = <2>; |
| 1705 |
bias-pull-down; |
| 1706 |
}; |
| 1707 |
|
| 1708 |
reset-n-pins { |
| 1709 |
pins = "gpio42"; |
| 1710 |
function = "gpio"; |
| 1711 |
drive-strength = <2>; |
| 1712 |
bias-disable; |
| 1713 |
}; |
| 1714 |
}; |
| 1715 |
|
| 1716 |
spkr_1_sd_n_default: spkr-1-sd-n-default-state { |
| 1717 |
perst-n-pins { |
| 1718 |
pins = "gpio178"; |
| 1719 |
function = "gpio"; |
| 1720 |
drive-strength = <16>; |
| 1721 |
bias-disable; |
| 1722 |
output-high; |
| 1723 |
}; |
| 1724 |
}; |
| 1725 |
|
| 1726 |
spkr_2_sd_n_default: spkr-2-sd-n-default-state { |
| 1727 |
perst-n-pins { |
| 1728 |
pins = "gpio179"; |
| 1729 |
function = "gpio"; |
| 1730 |
drive-strength = <16>; |
| 1731 |
bias-disable; |
| 1732 |
output-high; |
| 1733 |
}; |
| 1734 |
}; |
| 1735 |
|
| 1736 |
tpad_default: tpad-default-state { |
| 1737 |
int-n-pins { |
| 1738 |
pins = "gpio182"; |
| 1739 |
function = "gpio"; |
| 1740 |
bias-disable; |
| 1741 |
}; |
| 1742 |
}; |
| 1743 |
|
| 1744 |
ts0_default: ts0-default-state { |
| 1745 |
int-n-pins { |
| 1746 |
pins = "gpio175"; |
| 1747 |
function = "gpio"; |
| 1748 |
bias-disable; |
| 1749 |
}; |
| 1750 |
|
| 1751 |
reset-n-pins { |
| 1752 |
pins = "gpio99"; |
| 1753 |
function = "gpio"; |
| 1754 |
drive-strength = <2>; |
| 1755 |
bias-disable; |
| 1756 |
}; |
| 1757 |
}; |
| 1758 |
|
| 1759 |
uart2_default: uart2-default-state { |
| 1760 |
cts-pins { |
| 1761 |
pins = "gpio121"; |
| 1762 |
function = "qup2"; |
| 1763 |
bias-bus-hold; |
| 1764 |
}; |
| 1765 |
|
| 1766 |
rts-pins { |
| 1767 |
pins = "gpio122"; |
| 1768 |
function = "qup2"; |
| 1769 |
drive-strength = <2>; |
| 1770 |
bias-disable; |
| 1771 |
}; |
| 1772 |
|
| 1773 |
rx-pins { |
| 1774 |
pins = "gpio124"; |
| 1775 |
function = "qup2"; |
| 1776 |
bias-pull-up; |
| 1777 |
}; |
| 1778 |
|
| 1779 |
tx-pins { |
| 1780 |
pins = "gpio123"; |
| 1781 |
function = "qup2"; |
| 1782 |
drive-strength = <2>; |
| 1783 |
bias-disable; |
| 1784 |
}; |
| 1785 |
}; |
| 1786 |
|
| 1787 |
usb0_sbu_default: usb0-sbu-state { |
| 1788 |
oe-n-pins { |
| 1789 |
pins = "gpio101"; |
| 1790 |
function = "gpio"; |
| 1791 |
bias-disable; |
| 1792 |
drive-strength = <16>; |
| 1793 |
output-high; |
| 1794 |
}; |
| 1795 |
|
| 1796 |
sel-pins { |
| 1797 |
pins = "gpio164"; |
| 1798 |
function = "gpio"; |
| 1799 |
bias-disable; |
| 1800 |
drive-strength = <16>; |
| 1801 |
}; |
| 1802 |
}; |
| 1803 |
|
| 1804 |
usb1_sbu_default: usb1-sbu-state { |
| 1805 |
oe-n-pins { |
| 1806 |
pins = "gpio48"; |
| 1807 |
function = "gpio"; |
| 1808 |
bias-disable; |
| 1809 |
drive-strength = <16>; |
| 1810 |
output-high; |
| 1811 |
}; |
| 1812 |
|
| 1813 |
sel-pins { |
| 1814 |
pins = "gpio47"; |
| 1815 |
function = "gpio"; |
| 1816 |
bias-disable; |
| 1817 |
drive-strength = <16>; |
| 1818 |
}; |
| 1819 |
}; |
| 1820 |
|
| 1821 |
wcd_default: wcd-default-state { |
| 1822 |
reset-pins { |
| 1823 |
pins = "gpio106"; |
| 1824 |
function = "gpio"; |
| 1825 |
bias-disable; |
| 1826 |
}; |
| 1827 |
}; |
| 1828 |
|
| 1829 |
wlan_en: wlan-en-state { |
| 1830 |
pins = "gpio134"; |
| 1831 |
function = "gpio"; |
| 1832 |
drive-strength = <8>; |
| 1833 |
bias-pull-down; |
| 1834 |
}; |
| 1835 |
}; |