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