1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2023 Qualcomm Innovation Cent 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> << 10 #include <dt-bindings/input/input.h> << 11 #include <dt-bindings/regulator/qcom,rpmh-regu 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 10 13 #include "x1e80100.dtsi" 11 #include "x1e80100.dtsi" 14 #include "x1e80100-pmics.dtsi" 12 #include "x1e80100-pmics.dtsi" 15 13 16 / { 14 / { 17 model = "Qualcomm Technologies, Inc. X 15 model = "Qualcomm Technologies, Inc. X1E80100 CRD"; 18 compatible = "qcom,x1e80100-crd", "qco 16 compatible = "qcom,x1e80100-crd", "qcom,x1e80100"; 19 17 20 aliases { 18 aliases { 21 serial0 = &uart21; 19 serial0 = &uart21; 22 }; 20 }; 23 21 24 wcd938x: audio-codec { 22 wcd938x: audio-codec { 25 compatible = "qcom,wcd9385-cod 23 compatible = "qcom,wcd9385-codec"; 26 24 27 pinctrl-names = "default"; 25 pinctrl-names = "default"; 28 pinctrl-0 = <&wcd_default>; 26 pinctrl-0 = <&wcd_default>; 29 27 30 qcom,micbias1-microvolt = <180 28 qcom,micbias1-microvolt = <1800000>; 31 qcom,micbias2-microvolt = <180 29 qcom,micbias2-microvolt = <1800000>; 32 qcom,micbias3-microvolt = <180 30 qcom,micbias3-microvolt = <1800000>; 33 qcom,micbias4-microvolt = <180 31 qcom,micbias4-microvolt = <1800000>; 34 qcom,mbhc-buttons-vthreshold-m 32 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 35 qcom,mbhc-headset-vthreshold-m 33 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 36 qcom,mbhc-headphone-vthreshold 34 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 37 qcom,rx-device = <&wcd_rx>; 35 qcom,rx-device = <&wcd_rx>; 38 qcom,tx-device = <&wcd_tx>; 36 qcom,tx-device = <&wcd_tx>; 39 37 40 reset-gpios = <&tlmm 191 GPIO_ 38 reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>; 41 39 42 vdd-buck-supply = <&vreg_l15b_ 40 vdd-buck-supply = <&vreg_l15b_1p8>; 43 vdd-rxtx-supply = <&vreg_l15b_ 41 vdd-rxtx-supply = <&vreg_l15b_1p8>; 44 vdd-io-supply = <&vreg_l15b_1p 42 vdd-io-supply = <&vreg_l15b_1p8>; 45 vdd-mic-bias-supply = <&vreg_b 43 vdd-mic-bias-supply = <&vreg_bob1>; 46 44 47 #sound-dai-cells = <1>; 45 #sound-dai-cells = <1>; 48 }; 46 }; 49 47 50 chosen { 48 chosen { 51 stdout-path = "serial0:115200n 49 stdout-path = "serial0:115200n8"; 52 }; 50 }; 53 51 54 gpio-keys { << 55 compatible = "gpio-keys"; << 56 << 57 pinctrl-0 = <&hall_int_n_defau << 58 pinctrl-names = "default"; << 59 << 60 switch-lid { << 61 gpios = <&tlmm 92 GPIO << 62 linux,input-type = <EV << 63 linux,code = <SW_LID>; << 64 wakeup-source; << 65 wakeup-event-action = << 66 }; << 67 }; << 68 << 69 pmic-glink { 52 pmic-glink { 70 compatible = "qcom,x1e80100-pm 53 compatible = "qcom,x1e80100-pmic-glink", 71 "qcom,sm8550-pmic 54 "qcom,sm8550-pmic-glink", 72 "qcom,pmic-glink" 55 "qcom,pmic-glink"; 73 #address-cells = <1>; 56 #address-cells = <1>; 74 #size-cells = <0>; 57 #size-cells = <0>; 75 orientation-gpios = <&tlmm 121 58 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>, 76 <&tlmm 123 59 <&tlmm 123 GPIO_ACTIVE_HIGH>, 77 <&tlmm 125 60 <&tlmm 125 GPIO_ACTIVE_HIGH>; 78 61 79 /* Left-side rear port */ 62 /* Left-side rear port */ 80 connector@0 { 63 connector@0 { 81 compatible = "usb-c-co 64 compatible = "usb-c-connector"; 82 reg = <0>; 65 reg = <0>; 83 power-role = "dual"; 66 power-role = "dual"; 84 data-role = "dual"; 67 data-role = "dual"; 85 68 86 ports { 69 ports { 87 #address-cells 70 #address-cells = <1>; 88 #size-cells = 71 #size-cells = <0>; 89 72 90 port@0 { 73 port@0 { 91 reg = 74 reg = <0>; 92 75 93 pmic_g 76 pmic_glink_ss0_hs_in: endpoint { 94 77 remote-endpoint = <&usb_1_ss0_dwc3_hs>; 95 }; 78 }; 96 }; 79 }; 97 80 98 port@1 { 81 port@1 { 99 reg = 82 reg = <1>; 100 83 101 pmic_g 84 pmic_glink_ss0_ss_in: endpoint { 102 85 remote-endpoint = <&usb_1_ss0_qmpphy_out>; 103 }; 86 }; 104 }; 87 }; 105 }; 88 }; 106 }; 89 }; 107 90 108 /* Left-side front port */ 91 /* Left-side front port */ 109 connector@1 { 92 connector@1 { 110 compatible = "usb-c-co 93 compatible = "usb-c-connector"; 111 reg = <1>; 94 reg = <1>; 112 power-role = "dual"; 95 power-role = "dual"; 113 data-role = "dual"; 96 data-role = "dual"; 114 97 115 ports { 98 ports { 116 #address-cells 99 #address-cells = <1>; 117 #size-cells = 100 #size-cells = <0>; 118 101 119 port@0 { 102 port@0 { 120 reg = 103 reg = <0>; 121 104 122 pmic_g 105 pmic_glink_ss1_hs_in: endpoint { 123 106 remote-endpoint = <&usb_1_ss1_dwc3_hs>; 124 }; 107 }; 125 }; 108 }; 126 109 127 port@1 { 110 port@1 { 128 reg = 111 reg = <1>; 129 112 130 pmic_g 113 pmic_glink_ss1_ss_in: endpoint { 131 114 remote-endpoint = <&usb_1_ss1_qmpphy_out>; 132 }; 115 }; 133 }; 116 }; 134 }; 117 }; 135 }; 118 }; 136 119 137 /* Right-side port */ 120 /* Right-side port */ 138 connector@2 { 121 connector@2 { 139 compatible = "usb-c-co 122 compatible = "usb-c-connector"; 140 reg = <2>; 123 reg = <2>; 141 power-role = "dual"; 124 power-role = "dual"; 142 data-role = "dual"; 125 data-role = "dual"; 143 126 144 ports { 127 ports { 145 #address-cells 128 #address-cells = <1>; 146 #size-cells = 129 #size-cells = <0>; 147 130 148 port@0 { 131 port@0 { 149 reg = 132 reg = <0>; 150 133 151 pmic_g 134 pmic_glink_ss2_hs_in: endpoint { 152 135 remote-endpoint = <&usb_1_ss2_dwc3_hs>; 153 }; 136 }; 154 }; 137 }; 155 138 156 port@1 { 139 port@1 { 157 reg = 140 reg = <1>; 158 141 159 pmic_g 142 pmic_glink_ss2_ss_in: endpoint { 160 143 remote-endpoint = <&usb_1_ss2_qmpphy_out>; 161 }; 144 }; 162 }; 145 }; 163 }; 146 }; 164 }; 147 }; 165 }; 148 }; 166 149 167 reserved-memory { 150 reserved-memory { 168 linux,cma { 151 linux,cma { 169 compatible = "shared-d 152 compatible = "shared-dma-pool"; 170 size = <0x0 0x8000000> 153 size = <0x0 0x8000000>; 171 reusable; 154 reusable; 172 linux,cma-default; 155 linux,cma-default; 173 }; 156 }; 174 }; 157 }; 175 158 176 sound { 159 sound { 177 compatible = "qcom,x1e80100-sn 160 compatible = "qcom,x1e80100-sndcard"; 178 model = "X1E80100-CRD"; 161 model = "X1E80100-CRD"; 179 audio-routing = "WooferLeft IN 162 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT", 180 "TweeterLeft I !! 163 "TwitterLeft IN", "WSA WSA_SPK2 OUT", 181 "WooferRight I 164 "WooferRight IN", "WSA2 WSA_SPK2 OUT", 182 "TweeterRight !! 165 "TwitterRight IN", "WSA2 WSA_SPK2 OUT", 183 "IN1_HPHL", "H 166 "IN1_HPHL", "HPHL_OUT", 184 "IN2_HPHR", "H 167 "IN2_HPHR", "HPHR_OUT", 185 "AMIC2", "MIC 168 "AMIC2", "MIC BIAS2", 186 "VA DMIC0", "M 169 "VA DMIC0", "MIC BIAS3", 187 "VA DMIC1", "M 170 "VA DMIC1", "MIC BIAS3", 188 "VA DMIC2", "M 171 "VA DMIC2", "MIC BIAS1", 189 "VA DMIC3", "M 172 "VA DMIC3", "MIC BIAS1", 190 "VA DMIC0", "V 173 "VA DMIC0", "VA MIC BIAS3", 191 "VA DMIC1", "V 174 "VA DMIC1", "VA MIC BIAS3", 192 "VA DMIC2", "V 175 "VA DMIC2", "VA MIC BIAS1", 193 "VA DMIC3", "V 176 "VA DMIC3", "VA MIC BIAS1", 194 "TX SWR_INPUT1 177 "TX SWR_INPUT1", "ADC2_OUTPUT"; 195 178 196 wcd-playback-dai-link { 179 wcd-playback-dai-link { 197 link-name = "WCD Playb 180 link-name = "WCD Playback"; 198 181 199 cpu { 182 cpu { 200 sound-dai = <& 183 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 201 }; 184 }; 202 185 203 codec { 186 codec { 204 sound-dai = <& 187 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 205 }; 188 }; 206 189 207 platform { 190 platform { 208 sound-dai = <& 191 sound-dai = <&q6apm>; 209 }; 192 }; 210 }; 193 }; 211 194 212 wcd-capture-dai-link { 195 wcd-capture-dai-link { 213 link-name = "WCD Captu 196 link-name = "WCD Capture"; 214 197 215 cpu { 198 cpu { 216 sound-dai = <& 199 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 217 }; 200 }; 218 201 219 codec { 202 codec { 220 sound-dai = <& 203 sound-dai = <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; 221 }; 204 }; 222 205 223 platform { 206 platform { 224 sound-dai = <& 207 sound-dai = <&q6apm>; 225 }; 208 }; 226 }; 209 }; 227 210 228 wsa-dai-link { 211 wsa-dai-link { 229 link-name = "WSA Playb 212 link-name = "WSA Playback"; 230 213 231 cpu { 214 cpu { 232 sound-dai = <& 215 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 233 }; 216 }; 234 217 235 codec { 218 codec { 236 sound-dai = <& 219 sound-dai = <&left_woofer>, <&left_tweeter>, 237 <& 220 <&swr0 0>, <&lpass_wsamacro 0>, 238 <& 221 <&right_woofer>, <&right_tweeter>, 239 <& 222 <&swr3 0>, <&lpass_wsa2macro 0>; 240 }; 223 }; 241 224 242 platform { 225 platform { 243 sound-dai = <& 226 sound-dai = <&q6apm>; 244 }; 227 }; 245 }; 228 }; 246 229 247 va-dai-link { 230 va-dai-link { 248 link-name = "VA Captur 231 link-name = "VA Capture"; 249 232 250 cpu { 233 cpu { 251 sound-dai = <& 234 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; 252 }; 235 }; 253 236 254 codec { 237 codec { 255 sound-dai = <& 238 sound-dai = <&lpass_vamacro 0>; 256 }; 239 }; 257 240 258 platform { 241 platform { 259 sound-dai = <& 242 sound-dai = <&q6apm>; 260 }; 243 }; 261 }; 244 }; 262 }; 245 }; 263 246 264 vph_pwr: vph-pwr-regulator { 247 vph_pwr: vph-pwr-regulator { 265 compatible = "regulator-fixed" 248 compatible = "regulator-fixed"; 266 249 267 regulator-name = "vph_pwr"; 250 regulator-name = "vph_pwr"; 268 regulator-min-microvolt = <370 251 regulator-min-microvolt = <3700000>; 269 regulator-max-microvolt = <370 252 regulator-max-microvolt = <3700000>; 270 253 271 regulator-always-on; 254 regulator-always-on; 272 regulator-boot-on; 255 regulator-boot-on; 273 }; 256 }; 274 257 275 vreg_edp_3p3: regulator-edp-3p3 { 258 vreg_edp_3p3: regulator-edp-3p3 { 276 compatible = "regulator-fixed" 259 compatible = "regulator-fixed"; 277 260 278 regulator-name = "VREG_EDP_3P3 261 regulator-name = "VREG_EDP_3P3"; 279 regulator-min-microvolt = <330 262 regulator-min-microvolt = <3300000>; 280 regulator-max-microvolt = <330 263 regulator-max-microvolt = <3300000>; 281 264 282 gpio = <&tlmm 70 GPIO_ACTIVE_H 265 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; 283 enable-active-high; 266 enable-active-high; 284 267 285 pinctrl-0 = <&edp_reg_en>; 268 pinctrl-0 = <&edp_reg_en>; 286 pinctrl-names = "default"; 269 pinctrl-names = "default"; 287 270 288 regulator-boot-on; 271 regulator-boot-on; 289 }; 272 }; 290 273 291 vreg_nvme: regulator-nvme { 274 vreg_nvme: regulator-nvme { 292 compatible = "regulator-fixed" 275 compatible = "regulator-fixed"; 293 276 294 regulator-name = "VREG_NVME_3P 277 regulator-name = "VREG_NVME_3P3"; 295 regulator-min-microvolt = <330 278 regulator-min-microvolt = <3300000>; 296 regulator-max-microvolt = <330 279 regulator-max-microvolt = <3300000>; 297 280 298 gpio = <&tlmm 18 GPIO_ACTIVE_H 281 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; 299 enable-active-high; 282 enable-active-high; 300 283 301 pinctrl-names = "default"; 284 pinctrl-names = "default"; 302 pinctrl-0 = <&nvme_reg_en>; 285 pinctrl-0 = <&nvme_reg_en>; 303 286 304 regulator-boot-on; 287 regulator-boot-on; 305 }; 288 }; 306 << 307 vreg_wwan: regulator-wwan { << 308 compatible = "regulator-fixed" << 309 << 310 regulator-name = "SDX_VPH_PWR" << 311 regulator-min-microvolt = <330 << 312 regulator-max-microvolt = <330 << 313 << 314 gpio = <&tlmm 221 GPIO_ACTIVE_ << 315 enable-active-high; << 316 << 317 pinctrl-0 = <&wwan_sw_en>; << 318 pinctrl-names = "default"; << 319 << 320 regulator-boot-on; << 321 }; << 322 }; 289 }; 323 290 324 &apps_rsc { 291 &apps_rsc { 325 regulators-0 { 292 regulators-0 { 326 compatible = "qcom,pm8550-rpmh 293 compatible = "qcom,pm8550-rpmh-regulators"; 327 qcom,pmic-id = "b"; 294 qcom,pmic-id = "b"; 328 295 329 vdd-bob1-supply = <&vph_pwr>; 296 vdd-bob1-supply = <&vph_pwr>; 330 vdd-bob2-supply = <&vph_pwr>; 297 vdd-bob2-supply = <&vph_pwr>; 331 vdd-l1-l4-l10-supply = <&vreg_ 298 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>; 332 vdd-l2-l13-l14-supply = <&vreg 299 vdd-l2-l13-l14-supply = <&vreg_bob1>; 333 vdd-l5-l16-supply = <&vreg_bob 300 vdd-l5-l16-supply = <&vreg_bob1>; 334 vdd-l6-l7-supply = <&vreg_bob2 301 vdd-l6-l7-supply = <&vreg_bob2>; 335 vdd-l8-l9-supply = <&vreg_bob1 302 vdd-l8-l9-supply = <&vreg_bob1>; 336 vdd-l12-supply = <&vreg_s5j_1p 303 vdd-l12-supply = <&vreg_s5j_1p2>; 337 vdd-l15-supply = <&vreg_s4c_1p 304 vdd-l15-supply = <&vreg_s4c_1p8>; 338 vdd-l17-supply = <&vreg_bob2>; 305 vdd-l17-supply = <&vreg_bob2>; 339 306 340 vreg_bob1: bob1 { 307 vreg_bob1: bob1 { 341 regulator-name = "vreg 308 regulator-name = "vreg_bob1"; 342 regulator-min-microvol 309 regulator-min-microvolt = <3008000>; 343 regulator-max-microvol 310 regulator-max-microvolt = <3960000>; 344 regulator-initial-mode 311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 345 }; 312 }; 346 313 347 vreg_bob2: bob2 { 314 vreg_bob2: bob2 { 348 regulator-name = "vreg 315 regulator-name = "vreg_bob2"; 349 regulator-min-microvol 316 regulator-min-microvolt = <2504000>; 350 regulator-max-microvol 317 regulator-max-microvolt = <3008000>; 351 regulator-initial-mode 318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 352 }; 319 }; 353 320 354 vreg_l1b_1p8: ldo1 { 321 vreg_l1b_1p8: ldo1 { 355 regulator-name = "vreg 322 regulator-name = "vreg_l1b_1p8"; 356 regulator-min-microvol 323 regulator-min-microvolt = <1800000>; 357 regulator-max-microvol 324 regulator-max-microvolt = <1800000>; 358 regulator-initial-mode 325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 359 }; 326 }; 360 327 361 vreg_l2b_3p0: ldo2 { 328 vreg_l2b_3p0: ldo2 { 362 regulator-name = "vreg 329 regulator-name = "vreg_l2b_3p0"; 363 regulator-min-microvol 330 regulator-min-microvolt = <3072000>; 364 regulator-max-microvol 331 regulator-max-microvolt = <3100000>; 365 regulator-initial-mode 332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 366 }; 333 }; 367 334 368 vreg_l4b_1p8: ldo4 { 335 vreg_l4b_1p8: ldo4 { 369 regulator-name = "vreg 336 regulator-name = "vreg_l4b_1p8"; 370 regulator-min-microvol 337 regulator-min-microvolt = <1800000>; 371 regulator-max-microvol 338 regulator-max-microvolt = <1800000>; 372 regulator-initial-mode 339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 373 }; 340 }; 374 341 375 vreg_l5b_3p0: ldo5 { 342 vreg_l5b_3p0: ldo5 { 376 regulator-name = "vreg 343 regulator-name = "vreg_l5b_3p0"; 377 regulator-min-microvol 344 regulator-min-microvolt = <3000000>; 378 regulator-max-microvol 345 regulator-max-microvolt = <3000000>; 379 regulator-initial-mode 346 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 380 }; 347 }; 381 348 382 vreg_l6b_1p8: ldo6 { 349 vreg_l6b_1p8: ldo6 { 383 regulator-name = "vreg 350 regulator-name = "vreg_l6b_1p8"; 384 regulator-min-microvol 351 regulator-min-microvolt = <1800000>; 385 regulator-max-microvol 352 regulator-max-microvolt = <2960000>; 386 regulator-initial-mode 353 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 387 }; 354 }; 388 355 389 vreg_l7b_2p8: ldo7 { 356 vreg_l7b_2p8: ldo7 { 390 regulator-name = "vreg 357 regulator-name = "vreg_l7b_2p8"; 391 regulator-min-microvol 358 regulator-min-microvolt = <2800000>; 392 regulator-max-microvol 359 regulator-max-microvolt = <2800000>; 393 regulator-initial-mode 360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 394 }; 361 }; 395 362 396 vreg_l8b_3p0: ldo8 { 363 vreg_l8b_3p0: ldo8 { 397 regulator-name = "vreg 364 regulator-name = "vreg_l8b_3p0"; 398 regulator-min-microvol 365 regulator-min-microvolt = <3072000>; 399 regulator-max-microvol 366 regulator-max-microvolt = <3072000>; 400 regulator-initial-mode 367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 }; 368 }; 402 369 403 vreg_l9b_2p9: ldo9 { 370 vreg_l9b_2p9: ldo9 { 404 regulator-name = "vreg 371 regulator-name = "vreg_l9b_2p9"; 405 regulator-min-microvol 372 regulator-min-microvolt = <2960000>; 406 regulator-max-microvol 373 regulator-max-microvolt = <2960000>; 407 regulator-initial-mode 374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 408 }; 375 }; 409 376 410 vreg_l10b_1p8: ldo10 { 377 vreg_l10b_1p8: ldo10 { 411 regulator-name = "vreg 378 regulator-name = "vreg_l10b_1p8"; 412 regulator-min-microvol 379 regulator-min-microvolt = <1800000>; 413 regulator-max-microvol 380 regulator-max-microvolt = <1800000>; 414 regulator-initial-mode 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 415 }; 382 }; 416 383 417 vreg_l12b_1p2: ldo12 { 384 vreg_l12b_1p2: ldo12 { 418 regulator-name = "vreg 385 regulator-name = "vreg_l12b_1p2"; 419 regulator-min-microvol 386 regulator-min-microvolt = <1200000>; 420 regulator-max-microvol 387 regulator-max-microvolt = <1200000>; 421 regulator-initial-mode 388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 422 }; 389 }; 423 390 424 vreg_l13b_3p0: ldo13 { 391 vreg_l13b_3p0: ldo13 { 425 regulator-name = "vreg 392 regulator-name = "vreg_l13b_3p0"; 426 regulator-min-microvol 393 regulator-min-microvolt = <3072000>; 427 regulator-max-microvol 394 regulator-max-microvolt = <3100000>; 428 regulator-initial-mode 395 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 429 }; 396 }; 430 397 431 vreg_l14b_3p0: ldo14 { 398 vreg_l14b_3p0: ldo14 { 432 regulator-name = "vreg 399 regulator-name = "vreg_l14b_3p0"; 433 regulator-min-microvol 400 regulator-min-microvolt = <3072000>; 434 regulator-max-microvol 401 regulator-max-microvolt = <3072000>; 435 regulator-initial-mode 402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 436 }; 403 }; 437 404 438 vreg_l15b_1p8: ldo15 { 405 vreg_l15b_1p8: ldo15 { 439 regulator-name = "vreg 406 regulator-name = "vreg_l15b_1p8"; 440 regulator-min-microvol 407 regulator-min-microvolt = <1800000>; 441 regulator-max-microvol 408 regulator-max-microvolt = <1800000>; 442 regulator-initial-mode 409 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 443 }; 410 }; 444 411 445 vreg_l16b_2p9: ldo16 { 412 vreg_l16b_2p9: ldo16 { 446 regulator-name = "vreg 413 regulator-name = "vreg_l16b_2p9"; 447 regulator-min-microvol 414 regulator-min-microvolt = <2912000>; 448 regulator-max-microvol 415 regulator-max-microvolt = <2912000>; 449 regulator-initial-mode 416 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 450 }; 417 }; 451 418 452 vreg_l17b_2p5: ldo17 { 419 vreg_l17b_2p5: ldo17 { 453 regulator-name = "vreg 420 regulator-name = "vreg_l17b_2p5"; 454 regulator-min-microvol 421 regulator-min-microvolt = <2504000>; 455 regulator-max-microvol 422 regulator-max-microvolt = <2504000>; 456 regulator-initial-mode 423 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 457 }; 424 }; 458 }; 425 }; 459 426 460 regulators-1 { 427 regulators-1 { 461 compatible = "qcom,pm8550ve-rp 428 compatible = "qcom,pm8550ve-rpmh-regulators"; 462 qcom,pmic-id = "c"; 429 qcom,pmic-id = "c"; 463 430 464 vdd-l1-supply = <&vreg_s5j_1p2 431 vdd-l1-supply = <&vreg_s5j_1p2>; 465 vdd-l2-supply = <&vreg_s1f_0p7 432 vdd-l2-supply = <&vreg_s1f_0p7>; 466 vdd-l3-supply = <&vreg_s1f_0p7 433 vdd-l3-supply = <&vreg_s1f_0p7>; 467 vdd-s4-supply = <&vph_pwr>; 434 vdd-s4-supply = <&vph_pwr>; 468 435 469 vreg_s4c_1p8: smps4 { 436 vreg_s4c_1p8: smps4 { 470 regulator-name = "vreg 437 regulator-name = "vreg_s4c_1p8"; 471 regulator-min-microvol 438 regulator-min-microvolt = <1856000>; 472 regulator-max-microvol 439 regulator-max-microvolt = <2000000>; 473 regulator-initial-mode 440 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 474 }; 441 }; 475 442 476 vreg_l1c_1p2: ldo1 { 443 vreg_l1c_1p2: ldo1 { 477 regulator-name = "vreg 444 regulator-name = "vreg_l1c_1p2"; 478 regulator-min-microvol 445 regulator-min-microvolt = <1200000>; 479 regulator-max-microvol 446 regulator-max-microvolt = <1200000>; 480 regulator-initial-mode 447 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 481 }; 448 }; 482 449 483 vreg_l2c_0p8: ldo2 { 450 vreg_l2c_0p8: ldo2 { 484 regulator-name = "vreg 451 regulator-name = "vreg_l2c_0p8"; 485 regulator-min-microvol 452 regulator-min-microvolt = <880000>; 486 regulator-max-microvol 453 regulator-max-microvolt = <920000>; 487 regulator-initial-mode 454 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 488 }; 455 }; 489 456 490 vreg_l3c_0p8: ldo3 { 457 vreg_l3c_0p8: ldo3 { 491 regulator-name = "vreg 458 regulator-name = "vreg_l3c_0p8"; 492 regulator-min-microvol 459 regulator-min-microvolt = <880000>; 493 regulator-max-microvol 460 regulator-max-microvolt = <920000>; 494 regulator-initial-mode 461 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 495 }; 462 }; 496 }; 463 }; 497 464 498 regulators-2 { 465 regulators-2 { 499 compatible = "qcom,pmc8380-rpm 466 compatible = "qcom,pmc8380-rpmh-regulators"; 500 qcom,pmic-id = "d"; 467 qcom,pmic-id = "d"; 501 468 502 vdd-l1-supply = <&vreg_s1f_0p7 469 vdd-l1-supply = <&vreg_s1f_0p7>; 503 vdd-l2-supply = <&vreg_s1f_0p7 470 vdd-l2-supply = <&vreg_s1f_0p7>; 504 vdd-l3-supply = <&vreg_s4c_1p8 471 vdd-l3-supply = <&vreg_s4c_1p8>; 505 vdd-s1-supply = <&vph_pwr>; 472 vdd-s1-supply = <&vph_pwr>; 506 473 507 vreg_l1d_0p8: ldo1 { 474 vreg_l1d_0p8: ldo1 { 508 regulator-name = "vreg 475 regulator-name = "vreg_l1d_0p8"; 509 regulator-min-microvol 476 regulator-min-microvolt = <880000>; 510 regulator-max-microvol 477 regulator-max-microvolt = <920000>; 511 regulator-initial-mode 478 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 512 }; 479 }; 513 480 514 vreg_l2d_0p9: ldo2 { 481 vreg_l2d_0p9: ldo2 { 515 regulator-name = "vreg 482 regulator-name = "vreg_l2d_0p9"; 516 regulator-min-microvol 483 regulator-min-microvolt = <912000>; 517 regulator-max-microvol 484 regulator-max-microvolt = <920000>; 518 regulator-initial-mode 485 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 519 }; 486 }; 520 487 521 vreg_l3d_1p8: ldo3 { 488 vreg_l3d_1p8: ldo3 { 522 regulator-name = "vreg 489 regulator-name = "vreg_l3d_1p8"; 523 regulator-min-microvol 490 regulator-min-microvolt = <1800000>; 524 regulator-max-microvol 491 regulator-max-microvolt = <1800000>; 525 regulator-initial-mode 492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 526 }; 493 }; 527 }; 494 }; 528 495 529 regulators-3 { 496 regulators-3 { 530 compatible = "qcom,pmc8380-rpm 497 compatible = "qcom,pmc8380-rpmh-regulators"; 531 qcom,pmic-id = "e"; 498 qcom,pmic-id = "e"; 532 499 533 vdd-l2-supply = <&vreg_s1f_0p7 500 vdd-l2-supply = <&vreg_s1f_0p7>; 534 vdd-l3-supply = <&vreg_s5j_1p2 501 vdd-l3-supply = <&vreg_s5j_1p2>; 535 502 536 vreg_l2e_0p8: ldo2 { 503 vreg_l2e_0p8: ldo2 { 537 regulator-name = "vreg 504 regulator-name = "vreg_l2e_0p8"; 538 regulator-min-microvol 505 regulator-min-microvolt = <880000>; 539 regulator-max-microvol 506 regulator-max-microvolt = <920000>; 540 regulator-initial-mode 507 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 541 }; 508 }; 542 509 543 vreg_l3e_1p2: ldo3 { 510 vreg_l3e_1p2: ldo3 { 544 regulator-name = "vreg 511 regulator-name = "vreg_l3e_1p2"; 545 regulator-min-microvol 512 regulator-min-microvolt = <1200000>; 546 regulator-max-microvol 513 regulator-max-microvolt = <1200000>; 547 regulator-initial-mode 514 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 548 }; 515 }; 549 }; 516 }; 550 517 551 regulators-4 { 518 regulators-4 { 552 compatible = "qcom,pmc8380-rpm 519 compatible = "qcom,pmc8380-rpmh-regulators"; 553 qcom,pmic-id = "f"; 520 qcom,pmic-id = "f"; 554 521 555 vdd-l1-supply = <&vreg_s5j_1p2 522 vdd-l1-supply = <&vreg_s5j_1p2>; 556 vdd-l2-supply = <&vreg_s5j_1p2 523 vdd-l2-supply = <&vreg_s5j_1p2>; 557 vdd-l3-supply = <&vreg_s5j_1p2 524 vdd-l3-supply = <&vreg_s5j_1p2>; 558 vdd-s1-supply = <&vph_pwr>; 525 vdd-s1-supply = <&vph_pwr>; 559 526 560 vreg_s1f_0p7: smps1 { 527 vreg_s1f_0p7: smps1 { 561 regulator-name = "vreg 528 regulator-name = "vreg_s1f_0p7"; 562 regulator-min-microvol 529 regulator-min-microvolt = <700000>; 563 regulator-max-microvol 530 regulator-max-microvolt = <1100000>; 564 regulator-initial-mode 531 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 565 }; 532 }; 566 533 567 vreg_l1f_1p0: ldo1 { 534 vreg_l1f_1p0: ldo1 { 568 regulator-name = "vreg 535 regulator-name = "vreg_l1f_1p0"; 569 regulator-min-microvol 536 regulator-min-microvolt = <1024000>; 570 regulator-max-microvol 537 regulator-max-microvolt = <1024000>; 571 regulator-initial-mode 538 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 572 }; 539 }; 573 540 574 vreg_l2f_1p0: ldo2 { 541 vreg_l2f_1p0: ldo2 { 575 regulator-name = "vreg 542 regulator-name = "vreg_l2f_1p0"; 576 regulator-min-microvol 543 regulator-min-microvolt = <1024000>; 577 regulator-max-microvol 544 regulator-max-microvolt = <1024000>; 578 regulator-initial-mode 545 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 579 }; 546 }; 580 547 581 vreg_l3f_1p0: ldo3 { 548 vreg_l3f_1p0: ldo3 { 582 regulator-name = "vreg 549 regulator-name = "vreg_l3f_1p0"; 583 regulator-min-microvol 550 regulator-min-microvolt = <1024000>; 584 regulator-max-microvol 551 regulator-max-microvolt = <1024000>; 585 regulator-initial-mode 552 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 586 }; 553 }; 587 }; 554 }; 588 555 589 regulators-6 { 556 regulators-6 { 590 compatible = "qcom,pm8550ve-rp 557 compatible = "qcom,pm8550ve-rpmh-regulators"; 591 qcom,pmic-id = "i"; 558 qcom,pmic-id = "i"; 592 559 593 vdd-l1-supply = <&vreg_s4c_1p8 560 vdd-l1-supply = <&vreg_s4c_1p8>; 594 vdd-l2-supply = <&vreg_s5j_1p2 561 vdd-l2-supply = <&vreg_s5j_1p2>; 595 vdd-l3-supply = <&vreg_s1f_0p7 562 vdd-l3-supply = <&vreg_s1f_0p7>; 596 vdd-s1-supply = <&vph_pwr>; 563 vdd-s1-supply = <&vph_pwr>; 597 vdd-s2-supply = <&vph_pwr>; 564 vdd-s2-supply = <&vph_pwr>; 598 565 599 vreg_s1i_0p9: smps1 { 566 vreg_s1i_0p9: smps1 { 600 regulator-name = "vreg 567 regulator-name = "vreg_s1i_0p9"; 601 regulator-min-microvol 568 regulator-min-microvolt = <900000>; 602 regulator-max-microvol 569 regulator-max-microvolt = <920000>; 603 regulator-initial-mode 570 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 604 }; 571 }; 605 572 606 vreg_s2i_1p0: smps2 { 573 vreg_s2i_1p0: smps2 { 607 regulator-name = "vreg 574 regulator-name = "vreg_s2i_1p0"; 608 regulator-min-microvol 575 regulator-min-microvolt = <1000000>; 609 regulator-max-microvol 576 regulator-max-microvolt = <1100000>; 610 regulator-initial-mode 577 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 611 }; 578 }; 612 579 613 vreg_l1i_1p8: ldo1 { 580 vreg_l1i_1p8: ldo1 { 614 regulator-name = "vreg 581 regulator-name = "vreg_l1i_1p8"; 615 regulator-min-microvol 582 regulator-min-microvolt = <1800000>; 616 regulator-max-microvol 583 regulator-max-microvolt = <1800000>; 617 regulator-initial-mode 584 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 618 }; 585 }; 619 586 620 vreg_l2i_1p2: ldo2 { 587 vreg_l2i_1p2: ldo2 { 621 regulator-name = "vreg 588 regulator-name = "vreg_l2i_1p2"; 622 regulator-min-microvol 589 regulator-min-microvolt = <1200000>; 623 regulator-max-microvol 590 regulator-max-microvolt = <1200000>; 624 regulator-initial-mode 591 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 625 }; 592 }; 626 593 627 vreg_l3i_0p8: ldo3 { 594 vreg_l3i_0p8: ldo3 { 628 regulator-name = "vreg 595 regulator-name = "vreg_l3i_0p8"; 629 regulator-min-microvol 596 regulator-min-microvolt = <880000>; 630 regulator-max-microvol 597 regulator-max-microvolt = <920000>; 631 regulator-initial-mode 598 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 632 }; 599 }; 633 }; 600 }; 634 601 635 regulators-7 { 602 regulators-7 { 636 compatible = "qcom,pm8550ve-rp 603 compatible = "qcom,pm8550ve-rpmh-regulators"; 637 qcom,pmic-id = "j"; 604 qcom,pmic-id = "j"; 638 605 639 vdd-l1-supply = <&vreg_s1f_0p7 606 vdd-l1-supply = <&vreg_s1f_0p7>; 640 vdd-l2-supply = <&vreg_s5j_1p2 607 vdd-l2-supply = <&vreg_s5j_1p2>; 641 vdd-l3-supply = <&vreg_s1f_0p7 608 vdd-l3-supply = <&vreg_s1f_0p7>; 642 vdd-s5-supply = <&vph_pwr>; 609 vdd-s5-supply = <&vph_pwr>; 643 610 644 vreg_s5j_1p2: smps5 { 611 vreg_s5j_1p2: smps5 { 645 regulator-name = "vreg 612 regulator-name = "vreg_s5j_1p2"; 646 regulator-min-microvol 613 regulator-min-microvolt = <1256000>; 647 regulator-max-microvol 614 regulator-max-microvolt = <1304000>; 648 regulator-initial-mode 615 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 649 }; 616 }; 650 617 651 vreg_l1j_0p8: ldo1 { 618 vreg_l1j_0p8: ldo1 { 652 regulator-name = "vreg 619 regulator-name = "vreg_l1j_0p8"; 653 regulator-min-microvol 620 regulator-min-microvolt = <880000>; 654 regulator-max-microvol 621 regulator-max-microvolt = <920000>; 655 regulator-initial-mode 622 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 656 }; 623 }; 657 624 658 vreg_l2j_1p2: ldo2 { 625 vreg_l2j_1p2: ldo2 { 659 regulator-name = "vreg 626 regulator-name = "vreg_l2j_1p2"; 660 regulator-min-microvol 627 regulator-min-microvolt = <1200000>; 661 regulator-max-microvol 628 regulator-max-microvolt = <1200000>; 662 regulator-initial-mode 629 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 663 }; 630 }; 664 631 665 vreg_l3j_0p8: ldo3 { 632 vreg_l3j_0p8: ldo3 { 666 regulator-name = "vreg 633 regulator-name = "vreg_l3j_0p8"; 667 regulator-min-microvol 634 regulator-min-microvolt = <880000>; 668 regulator-max-microvol 635 regulator-max-microvolt = <920000>; 669 regulator-initial-mode 636 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 670 }; 637 }; 671 }; 638 }; 672 }; 639 }; 673 640 674 &gpu { 641 &gpu { 675 status = "okay"; 642 status = "okay"; 676 643 677 zap-shader { 644 zap-shader { 678 firmware-name = "qcom/x1e80100 645 firmware-name = "qcom/x1e80100/gen70500_zap.mbn"; 679 }; 646 }; 680 }; 647 }; 681 648 682 &i2c0 { 649 &i2c0 { 683 clock-frequency = <400000>; 650 clock-frequency = <400000>; 684 651 685 status = "okay"; 652 status = "okay"; 686 653 687 touchpad@15 { 654 touchpad@15 { 688 compatible = "hid-over-i2c"; 655 compatible = "hid-over-i2c"; 689 reg = <0x15>; 656 reg = <0x15>; 690 657 691 hid-descr-addr = <0x1>; 658 hid-descr-addr = <0x1>; 692 interrupts-extended = <&tlmm 3 659 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; 693 660 694 pinctrl-0 = <&tpad_default>; 661 pinctrl-0 = <&tpad_default>; 695 pinctrl-names = "default"; 662 pinctrl-names = "default"; 696 663 697 wakeup-source; 664 wakeup-source; 698 }; 665 }; 699 666 700 keyboard@3a { 667 keyboard@3a { 701 compatible = "hid-over-i2c"; 668 compatible = "hid-over-i2c"; 702 reg = <0x3a>; 669 reg = <0x3a>; 703 670 704 hid-descr-addr = <0x1>; 671 hid-descr-addr = <0x1>; 705 interrupts-extended = <&tlmm 6 672 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; 706 673 707 pinctrl-0 = <&kybd_default>; 674 pinctrl-0 = <&kybd_default>; 708 pinctrl-names = "default"; 675 pinctrl-names = "default"; 709 676 710 wakeup-source; 677 wakeup-source; 711 }; 678 }; 712 }; 679 }; 713 680 714 &i2c8 { 681 &i2c8 { 715 clock-frequency = <400000>; 682 clock-frequency = <400000>; 716 683 717 status = "okay"; 684 status = "okay"; 718 685 719 touchscreen@10 { 686 touchscreen@10 { 720 compatible = "hid-over-i2c"; 687 compatible = "hid-over-i2c"; 721 reg = <0x10>; 688 reg = <0x10>; 722 689 723 hid-descr-addr = <0x1>; 690 hid-descr-addr = <0x1>; 724 interrupts-extended = <&tlmm 5 691 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; 725 692 726 pinctrl-0 = <&ts0_default>; 693 pinctrl-0 = <&ts0_default>; 727 pinctrl-names = "default"; 694 pinctrl-names = "default"; 728 }; 695 }; 729 }; 696 }; 730 697 731 &lpass_tlmm { 698 &lpass_tlmm { 732 spkr_01_sd_n_active: spkr-01-sd-n-acti 699 spkr_01_sd_n_active: spkr-01-sd-n-active-state { 733 pins = "gpio12"; 700 pins = "gpio12"; 734 function = "gpio"; 701 function = "gpio"; 735 drive-strength = <16>; 702 drive-strength = <16>; 736 bias-disable; 703 bias-disable; 737 output-low; 704 output-low; 738 }; 705 }; 739 706 740 spkr_23_sd_n_active: spkr-23-sd-n-acti 707 spkr_23_sd_n_active: spkr-23-sd-n-active-state { 741 pins = "gpio13"; 708 pins = "gpio13"; 742 function = "gpio"; 709 function = "gpio"; 743 drive-strength = <16>; 710 drive-strength = <16>; 744 bias-disable; 711 bias-disable; 745 output-low; 712 output-low; 746 }; 713 }; 747 }; 714 }; 748 715 749 &lpass_vamacro { 716 &lpass_vamacro { 750 pinctrl-0 = <&dmic01_default>, <&dmic2 717 pinctrl-0 = <&dmic01_default>, <&dmic23_default>; 751 pinctrl-names = "default"; 718 pinctrl-names = "default"; 752 719 753 vdd-micb-supply = <&vreg_l1b_1p8>; 720 vdd-micb-supply = <&vreg_l1b_1p8>; 754 qcom,dmic-sample-rate = <4800000>; 721 qcom,dmic-sample-rate = <4800000>; 755 }; 722 }; 756 723 757 &mdss { 724 &mdss { 758 status = "okay"; 725 status = "okay"; 759 }; 726 }; 760 727 761 &mdss_dp3 { 728 &mdss_dp3 { 762 compatible = "qcom,x1e80100-dp"; 729 compatible = "qcom,x1e80100-dp"; 763 /delete-property/ #sound-dai-cells; 730 /delete-property/ #sound-dai-cells; 764 731 765 status = "okay"; 732 status = "okay"; 766 733 767 aux-bus { 734 aux-bus { 768 panel { 735 panel { 769 compatible = "samsung, 736 compatible = "samsung,atna45af01", "samsung,atna33xc20"; 770 enable-gpios = <&pmc83 737 enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; 771 power-supply = <&vreg_ 738 power-supply = <&vreg_edp_3p3>; 772 739 773 pinctrl-0 = <&edp_bl_e 740 pinctrl-0 = <&edp_bl_en>; 774 pinctrl-names = "defau 741 pinctrl-names = "default"; 775 742 776 port { 743 port { 777 edp_panel_in: 744 edp_panel_in: endpoint { 778 remote 745 remote-endpoint = <&mdss_dp3_out>; 779 }; 746 }; 780 }; 747 }; 781 }; 748 }; 782 }; 749 }; 783 750 784 ports { 751 ports { 785 port@1 { 752 port@1 { 786 reg = <1>; 753 reg = <1>; 787 mdss_dp3_out: endpoint 754 mdss_dp3_out: endpoint { 788 data-lanes = < 755 data-lanes = <0 1 2 3>; 789 link-frequenci 756 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 790 757 791 remote-endpoin 758 remote-endpoint = <&edp_panel_in>; 792 }; 759 }; 793 }; 760 }; 794 }; 761 }; 795 }; 762 }; 796 763 797 &mdss_dp3_phy { 764 &mdss_dp3_phy { 798 vdda-phy-supply = <&vreg_l3j_0p8>; 765 vdda-phy-supply = <&vreg_l3j_0p8>; 799 vdda-pll-supply = <&vreg_l2j_1p2>; 766 vdda-pll-supply = <&vreg_l2j_1p2>; 800 767 801 status = "okay"; 768 status = "okay"; 802 }; 769 }; 803 770 804 &pcie4 { 771 &pcie4 { 805 perst-gpios = <&tlmm 146 GPIO_ACTIVE_L 772 perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>; 806 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LO 773 wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>; 807 774 808 pinctrl-0 = <&pcie4_default>; 775 pinctrl-0 = <&pcie4_default>; 809 pinctrl-names = "default"; 776 pinctrl-names = "default"; 810 777 811 status = "okay"; 778 status = "okay"; 812 }; 779 }; 813 780 814 &pcie4_phy { 781 &pcie4_phy { 815 vdda-phy-supply = <&vreg_l3i_0p8>; 782 vdda-phy-supply = <&vreg_l3i_0p8>; 816 vdda-pll-supply = <&vreg_l3e_1p2>; 783 vdda-pll-supply = <&vreg_l3e_1p2>; 817 784 818 status = "okay"; 785 status = "okay"; 819 }; 786 }; 820 787 821 &pcie5 { << 822 perst-gpios = <&tlmm 149 GPIO_ACTIVE_L << 823 wake-gpios = <&tlmm 151 GPIO_ACTIVE_LO << 824 << 825 vddpe-3v3-supply = <&vreg_wwan>; << 826 << 827 pinctrl-0 = <&pcie5_default>; << 828 pinctrl-names = "default"; << 829 << 830 status = "okay"; << 831 }; << 832 << 833 &pcie5_phy { << 834 vdda-phy-supply = <&vreg_l3i_0p8>; << 835 vdda-pll-supply = <&vreg_l3e_1p2>; << 836 << 837 status = "okay"; << 838 }; << 839 << 840 &pcie6a { 788 &pcie6a { 841 perst-gpios = <&tlmm 152 GPIO_ACTIVE_L 789 perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; 842 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LO 790 wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; 843 791 844 vddpe-3v3-supply = <&vreg_nvme>; 792 vddpe-3v3-supply = <&vreg_nvme>; 845 793 846 pinctrl-names = "default"; 794 pinctrl-names = "default"; 847 pinctrl-0 = <&pcie6a_default>; 795 pinctrl-0 = <&pcie6a_default>; 848 796 849 status = "okay"; 797 status = "okay"; 850 }; 798 }; 851 799 852 &pcie6a_phy { 800 &pcie6a_phy { 853 vdda-phy-supply = <&vreg_l1d_0p8>; 801 vdda-phy-supply = <&vreg_l1d_0p8>; 854 vdda-pll-supply = <&vreg_l2j_1p2>; 802 vdda-pll-supply = <&vreg_l2j_1p2>; 855 803 856 status = "okay"; 804 status = "okay"; 857 }; 805 }; 858 806 859 &pmc8380_3_gpios { 807 &pmc8380_3_gpios { 860 edp_bl_en: edp-bl-en-state { 808 edp_bl_en: edp-bl-en-state { 861 pins = "gpio4"; 809 pins = "gpio4"; 862 function = "normal"; 810 function = "normal"; 863 power-source = <1>; /* 1.8V */ 811 power-source = <1>; /* 1.8V */ 864 input-disable; 812 input-disable; 865 output-enable; 813 output-enable; 866 }; 814 }; 867 }; 815 }; 868 816 869 &qupv3_0 { 817 &qupv3_0 { 870 status = "okay"; 818 status = "okay"; 871 }; 819 }; 872 820 873 &qupv3_1 { 821 &qupv3_1 { 874 status = "okay"; 822 status = "okay"; 875 }; 823 }; 876 824 877 &qupv3_2 { 825 &qupv3_2 { 878 status = "okay"; 826 status = "okay"; 879 }; 827 }; 880 828 881 &remoteproc_adsp { 829 &remoteproc_adsp { 882 firmware-name = "qcom/x1e80100/adsp.mb 830 firmware-name = "qcom/x1e80100/adsp.mbn", 883 "qcom/x1e80100/adsp_dt 831 "qcom/x1e80100/adsp_dtb.mbn"; 884 832 885 status = "okay"; 833 status = "okay"; 886 }; 834 }; 887 835 888 &remoteproc_cdsp { 836 &remoteproc_cdsp { 889 firmware-name = "qcom/x1e80100/cdsp.mb 837 firmware-name = "qcom/x1e80100/cdsp.mbn", 890 "qcom/x1e80100/cdsp_dt 838 "qcom/x1e80100/cdsp_dtb.mbn"; 891 839 892 status = "okay"; 840 status = "okay"; 893 }; 841 }; 894 842 895 &smb2360_0_eusb2_repeater { 843 &smb2360_0_eusb2_repeater { 896 vdd18-supply = <&vreg_l3d_1p8>; 844 vdd18-supply = <&vreg_l3d_1p8>; 897 vdd3-supply = <&vreg_l2b_3p0>; 845 vdd3-supply = <&vreg_l2b_3p0>; 898 }; 846 }; 899 847 900 &smb2360_1_eusb2_repeater { 848 &smb2360_1_eusb2_repeater { 901 vdd18-supply = <&vreg_l3d_1p8>; 849 vdd18-supply = <&vreg_l3d_1p8>; 902 vdd3-supply = <&vreg_l14b_3p0>; 850 vdd3-supply = <&vreg_l14b_3p0>; 903 }; 851 }; 904 852 905 &smb2360_2 { << 906 status = "okay"; << 907 }; << 908 << 909 &smb2360_2_eusb2_repeater { 853 &smb2360_2_eusb2_repeater { 910 vdd18-supply = <&vreg_l3d_1p8>; 854 vdd18-supply = <&vreg_l3d_1p8>; 911 vdd3-supply = <&vreg_l8b_3p0>; 855 vdd3-supply = <&vreg_l8b_3p0>; 912 }; 856 }; 913 857 914 &swr0 { 858 &swr0 { 915 status = "okay"; 859 status = "okay"; 916 860 917 pinctrl-0 = <&wsa_swr_active>, <&spkr_ 861 pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>; 918 pinctrl-names = "default"; 862 pinctrl-names = "default"; 919 863 920 /* WSA8845, Left Woofer */ 864 /* WSA8845, Left Woofer */ 921 left_woofer: speaker@0,0 { 865 left_woofer: speaker@0,0 { 922 compatible = "sdw20217020400"; 866 compatible = "sdw20217020400"; 923 reg = <0 0>; 867 reg = <0 0>; 924 reset-gpios = <&lpass_tlmm 12 868 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 925 #sound-dai-cells = <0>; 869 #sound-dai-cells = <0>; 926 sound-name-prefix = "WooferLef 870 sound-name-prefix = "WooferLeft"; 927 vdd-1p8-supply = <&vreg_l15b_1 871 vdd-1p8-supply = <&vreg_l15b_1p8>; 928 vdd-io-supply = <&vreg_l12b_1p 872 vdd-io-supply = <&vreg_l12b_1p2>; 929 qcom,port-mapping = <1 2 3 7 1 << 930 }; 873 }; 931 874 932 /* WSA8845, Left Tweeter */ 875 /* WSA8845, Left Tweeter */ 933 left_tweeter: speaker@0,1 { 876 left_tweeter: speaker@0,1 { 934 compatible = "sdw20217020400"; 877 compatible = "sdw20217020400"; 935 reg = <0 1>; 878 reg = <0 1>; 936 reset-gpios = <&lpass_tlmm 12 879 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; 937 #sound-dai-cells = <0>; 880 #sound-dai-cells = <0>; 938 sound-name-prefix = "TweeterLe !! 881 sound-name-prefix = "TwitterLeft"; 939 vdd-1p8-supply = <&vreg_l15b_1 882 vdd-1p8-supply = <&vreg_l15b_1p8>; 940 vdd-io-supply = <&vreg_l12b_1p 883 vdd-io-supply = <&vreg_l12b_1p2>; 941 qcom,port-mapping = <4 5 6 7 1 << 942 }; 884 }; 943 }; 885 }; 944 886 945 &swr1 { 887 &swr1 { 946 status = "okay"; 888 status = "okay"; 947 889 948 /* WCD9385 RX */ 890 /* WCD9385 RX */ 949 wcd_rx: codec@0,4 { 891 wcd_rx: codec@0,4 { 950 compatible = "sdw20217010d00"; 892 compatible = "sdw20217010d00"; 951 reg = <0 4>; 893 reg = <0 4>; 952 qcom,rx-port-mapping = <1 2 3 894 qcom,rx-port-mapping = <1 2 3 4 5>; 953 }; 895 }; 954 }; 896 }; 955 897 956 &swr2 { 898 &swr2 { 957 status = "okay"; 899 status = "okay"; 958 900 959 /* WCD9385 TX */ 901 /* WCD9385 TX */ 960 wcd_tx: codec@0,3 { 902 wcd_tx: codec@0,3 { 961 compatible = "sdw20217010d00"; 903 compatible = "sdw20217010d00"; 962 reg = <0 3>; 904 reg = <0 3>; 963 qcom,tx-port-mapping = <2 2 3 905 qcom,tx-port-mapping = <2 2 3 4>; 964 }; 906 }; 965 }; 907 }; 966 908 967 &swr3 { 909 &swr3 { 968 status = "okay"; 910 status = "okay"; 969 911 970 pinctrl-0 = <&wsa2_swr_active>, <&spkr 912 pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>; 971 pinctrl-names = "default"; 913 pinctrl-names = "default"; 972 914 973 /* WSA8845, Right Woofer */ 915 /* WSA8845, Right Woofer */ 974 right_woofer: speaker@0,0 { 916 right_woofer: speaker@0,0 { 975 compatible = "sdw20217020400"; 917 compatible = "sdw20217020400"; 976 reg = <0 0>; 918 reg = <0 0>; 977 reset-gpios = <&lpass_tlmm 13 919 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 978 #sound-dai-cells = <0>; 920 #sound-dai-cells = <0>; 979 sound-name-prefix = "WooferRig 921 sound-name-prefix = "WooferRight"; 980 vdd-1p8-supply = <&vreg_l15b_1 922 vdd-1p8-supply = <&vreg_l15b_1p8>; 981 vdd-io-supply = <&vreg_l12b_1p 923 vdd-io-supply = <&vreg_l12b_1p2>; 982 qcom,port-mapping = <1 2 3 7 1 << 983 }; 924 }; 984 925 985 /* WSA8845, Right Tweeter */ 926 /* WSA8845, Right Tweeter */ 986 right_tweeter: speaker@0,1 { 927 right_tweeter: speaker@0,1 { 987 compatible = "sdw20217020400"; 928 compatible = "sdw20217020400"; 988 reg = <0 1>; 929 reg = <0 1>; 989 reset-gpios = <&lpass_tlmm 13 930 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; 990 #sound-dai-cells = <0>; 931 #sound-dai-cells = <0>; 991 sound-name-prefix = "TweeterRi !! 932 sound-name-prefix = "TwitterRight"; 992 vdd-1p8-supply = <&vreg_l15b_1 933 vdd-1p8-supply = <&vreg_l15b_1p8>; 993 vdd-io-supply = <&vreg_l12b_1p 934 vdd-io-supply = <&vreg_l12b_1p2>; 994 qcom,port-mapping = <4 5 6 7 1 << 995 }; 935 }; 996 }; 936 }; 997 937 998 &tlmm { 938 &tlmm { 999 gpio-reserved-ranges = <34 2>, /* Unus 939 gpio-reserved-ranges = <34 2>, /* Unused */ 1000 <44 4>, /* SPI 940 <44 4>, /* SPI (TPM) */ 1001 <238 1>; /* UF 941 <238 1>; /* UFS Reset */ 1002 942 1003 edp_reg_en: edp-reg-en-state { 943 edp_reg_en: edp-reg-en-state { 1004 pins = "gpio70"; 944 pins = "gpio70"; 1005 function = "gpio"; 945 function = "gpio"; 1006 drive-strength = <16>; 946 drive-strength = <16>; 1007 bias-disable; 947 bias-disable; 1008 }; 948 }; 1009 949 1010 hall_int_n_default: hall-int-n-state << 1011 pins = "gpio92"; << 1012 function = "gpio"; << 1013 bias-disable; << 1014 }; << 1015 << 1016 kybd_default: kybd-default-state { 950 kybd_default: kybd-default-state { 1017 pins = "gpio67"; 951 pins = "gpio67"; 1018 function = "gpio"; 952 function = "gpio"; 1019 bias-disable; 953 bias-disable; 1020 }; 954 }; 1021 955 1022 nvme_reg_en: nvme-reg-en-state { 956 nvme_reg_en: nvme-reg-en-state { 1023 pins = "gpio18"; 957 pins = "gpio18"; 1024 function = "gpio"; 958 function = "gpio"; 1025 drive-strength = <2>; 959 drive-strength = <2>; 1026 bias-disable; 960 bias-disable; 1027 }; 961 }; 1028 962 1029 pcie4_default: pcie4-default-state { 963 pcie4_default: pcie4-default-state { 1030 clkreq-n-pins { 964 clkreq-n-pins { 1031 pins = "gpio147"; 965 pins = "gpio147"; 1032 function = "pcie4_clk 966 function = "pcie4_clk"; 1033 drive-strength = <2>; 967 drive-strength = <2>; 1034 bias-pull-up; 968 bias-pull-up; 1035 }; 969 }; 1036 970 1037 perst-n-pins { 971 perst-n-pins { 1038 pins = "gpio146"; 972 pins = "gpio146"; 1039 function = "gpio"; 973 function = "gpio"; 1040 drive-strength = <2>; 974 drive-strength = <2>; 1041 bias-disable; 975 bias-disable; 1042 }; 976 }; 1043 977 1044 wake-n-pins { 978 wake-n-pins { 1045 pins = "gpio148"; 979 pins = "gpio148"; 1046 function = "gpio"; 980 function = "gpio"; 1047 drive-strength = <2>; 981 drive-strength = <2>; 1048 bias-pull-up; 982 bias-pull-up; 1049 }; 983 }; 1050 }; 984 }; 1051 985 1052 pcie5_default: pcie5-default-state { << 1053 clkreq-n-pins { << 1054 pins = "gpio150"; << 1055 function = "pcie5_clk << 1056 drive-strength = <2>; << 1057 bias-pull-up; << 1058 }; << 1059 << 1060 perst-n-pins { << 1061 pins = "gpio149"; << 1062 function = "gpio"; << 1063 drive-strength = <2>; << 1064 bias-disable; << 1065 }; << 1066 << 1067 wake-n-pins { << 1068 pins = "gpio151"; << 1069 function = "gpio"; << 1070 drive-strength = <2>; << 1071 bias-pull-up; << 1072 }; << 1073 }; << 1074 << 1075 pcie6a_default: pcie6a-default-state 986 pcie6a_default: pcie6a-default-state { 1076 clkreq-n-pins { 987 clkreq-n-pins { 1077 pins = "gpio153"; 988 pins = "gpio153"; 1078 function = "pcie6a_cl 989 function = "pcie6a_clk"; 1079 drive-strength = <2>; 990 drive-strength = <2>; 1080 bias-pull-up; 991 bias-pull-up; 1081 }; 992 }; 1082 993 1083 perst-n-pins { 994 perst-n-pins { 1084 pins = "gpio152"; 995 pins = "gpio152"; 1085 function = "gpio"; 996 function = "gpio"; 1086 drive-strength = <2>; 997 drive-strength = <2>; 1087 bias-disable; 998 bias-disable; 1088 }; 999 }; 1089 1000 1090 wake-n-pins { 1001 wake-n-pins { 1091 pins = "gpio154"; 1002 pins = "gpio154"; 1092 function = "gpio"; 1003 function = "gpio"; 1093 drive-strength = <2>; 1004 drive-strength = <2>; 1094 bias-pull-up; 1005 bias-pull-up; 1095 }; 1006 }; 1096 }; 1007 }; 1097 1008 1098 tpad_default: tpad-default-state { 1009 tpad_default: tpad-default-state { 1099 pins = "gpio3"; 1010 pins = "gpio3"; 1100 function = "gpio"; 1011 function = "gpio"; 1101 bias-disable; 1012 bias-disable; 1102 }; 1013 }; 1103 1014 1104 ts0_default: ts0-default-state { 1015 ts0_default: ts0-default-state { 1105 int-n-pins { 1016 int-n-pins { 1106 pins = "gpio51"; 1017 pins = "gpio51"; 1107 function = "gpio"; 1018 function = "gpio"; 1108 bias-disable; 1019 bias-disable; 1109 }; 1020 }; 1110 1021 1111 reset-n-pins { 1022 reset-n-pins { 1112 pins = "gpio48"; 1023 pins = "gpio48"; 1113 function = "gpio"; 1024 function = "gpio"; 1114 output-high; 1025 output-high; 1115 drive-strength = <16> 1026 drive-strength = <16>; 1116 }; 1027 }; 1117 }; 1028 }; 1118 1029 1119 wcd_default: wcd-reset-n-active-state 1030 wcd_default: wcd-reset-n-active-state { 1120 pins = "gpio191"; 1031 pins = "gpio191"; 1121 function = "gpio"; 1032 function = "gpio"; 1122 drive-strength = <16>; 1033 drive-strength = <16>; 1123 bias-disable; 1034 bias-disable; 1124 output-low; 1035 output-low; 1125 }; << 1126 << 1127 wwan_sw_en: wwan-sw-en-state { << 1128 pins = "gpio221"; << 1129 function = "gpio"; << 1130 drive-strength = <4>; << 1131 bias-disable; << 1132 }; 1036 }; 1133 }; 1037 }; 1134 1038 1135 &uart21 { 1039 &uart21 { 1136 compatible = "qcom,geni-debug-uart"; 1040 compatible = "qcom,geni-debug-uart"; 1137 status = "okay"; 1041 status = "okay"; 1138 }; 1042 }; 1139 1043 1140 &usb_1_ss0_hsphy { 1044 &usb_1_ss0_hsphy { 1141 vdd-supply = <&vreg_l3j_0p8>; 1045 vdd-supply = <&vreg_l3j_0p8>; 1142 vdda12-supply = <&vreg_l2j_1p2>; 1046 vdda12-supply = <&vreg_l2j_1p2>; 1143 1047 1144 phys = <&smb2360_0_eusb2_repeater>; 1048 phys = <&smb2360_0_eusb2_repeater>; 1145 1049 1146 status = "okay"; 1050 status = "okay"; 1147 }; 1051 }; 1148 1052 1149 &usb_1_ss0_qmpphy { 1053 &usb_1_ss0_qmpphy { 1150 vdda-phy-supply = <&vreg_l3e_1p2>; 1054 vdda-phy-supply = <&vreg_l3e_1p2>; 1151 vdda-pll-supply = <&vreg_l1j_0p8>; 1055 vdda-pll-supply = <&vreg_l1j_0p8>; 1152 1056 1153 status = "okay"; 1057 status = "okay"; 1154 }; 1058 }; 1155 1059 1156 &usb_1_ss0 { 1060 &usb_1_ss0 { 1157 status = "okay"; 1061 status = "okay"; 1158 }; 1062 }; 1159 1063 1160 &usb_1_ss0_dwc3 { 1064 &usb_1_ss0_dwc3 { 1161 dr_mode = "host"; 1065 dr_mode = "host"; 1162 }; 1066 }; 1163 1067 1164 &usb_1_ss0_dwc3_hs { 1068 &usb_1_ss0_dwc3_hs { 1165 remote-endpoint = <&pmic_glink_ss0_hs 1069 remote-endpoint = <&pmic_glink_ss0_hs_in>; 1166 }; 1070 }; 1167 1071 1168 &usb_1_ss0_qmpphy_out { 1072 &usb_1_ss0_qmpphy_out { 1169 remote-endpoint = <&pmic_glink_ss0_ss 1073 remote-endpoint = <&pmic_glink_ss0_ss_in>; 1170 }; 1074 }; 1171 1075 1172 &usb_1_ss1_hsphy { 1076 &usb_1_ss1_hsphy { 1173 vdd-supply = <&vreg_l3j_0p8>; 1077 vdd-supply = <&vreg_l3j_0p8>; 1174 vdda12-supply = <&vreg_l2j_1p2>; 1078 vdda12-supply = <&vreg_l2j_1p2>; 1175 1079 1176 phys = <&smb2360_1_eusb2_repeater>; 1080 phys = <&smb2360_1_eusb2_repeater>; 1177 1081 1178 status = "okay"; 1082 status = "okay"; 1179 }; 1083 }; 1180 1084 1181 &usb_1_ss1_qmpphy { 1085 &usb_1_ss1_qmpphy { 1182 vdda-phy-supply = <&vreg_l3e_1p2>; 1086 vdda-phy-supply = <&vreg_l3e_1p2>; 1183 vdda-pll-supply = <&vreg_l2d_0p9>; 1087 vdda-pll-supply = <&vreg_l2d_0p9>; 1184 1088 1185 status = "okay"; 1089 status = "okay"; 1186 }; 1090 }; 1187 1091 1188 &usb_1_ss1 { 1092 &usb_1_ss1 { 1189 status = "okay"; 1093 status = "okay"; 1190 }; 1094 }; 1191 1095 1192 &usb_1_ss1_dwc3 { 1096 &usb_1_ss1_dwc3 { 1193 dr_mode = "host"; 1097 dr_mode = "host"; 1194 }; 1098 }; 1195 1099 1196 &usb_1_ss1_dwc3_hs { 1100 &usb_1_ss1_dwc3_hs { 1197 remote-endpoint = <&pmic_glink_ss1_hs 1101 remote-endpoint = <&pmic_glink_ss1_hs_in>; 1198 }; 1102 }; 1199 1103 1200 &usb_1_ss1_qmpphy_out { 1104 &usb_1_ss1_qmpphy_out { 1201 remote-endpoint = <&pmic_glink_ss1_ss 1105 remote-endpoint = <&pmic_glink_ss1_ss_in>; 1202 }; 1106 }; 1203 1107 1204 &usb_1_ss2_hsphy { 1108 &usb_1_ss2_hsphy { 1205 vdd-supply = <&vreg_l3j_0p8>; 1109 vdd-supply = <&vreg_l3j_0p8>; 1206 vdda12-supply = <&vreg_l2j_1p2>; 1110 vdda12-supply = <&vreg_l2j_1p2>; 1207 1111 1208 phys = <&smb2360_2_eusb2_repeater>; 1112 phys = <&smb2360_2_eusb2_repeater>; 1209 1113 1210 status = "okay"; 1114 status = "okay"; 1211 }; 1115 }; 1212 1116 1213 &usb_1_ss2_qmpphy { 1117 &usb_1_ss2_qmpphy { 1214 vdda-phy-supply = <&vreg_l3e_1p2>; 1118 vdda-phy-supply = <&vreg_l3e_1p2>; 1215 vdda-pll-supply = <&vreg_l2d_0p9>; 1119 vdda-pll-supply = <&vreg_l2d_0p9>; 1216 1120 1217 status = "okay"; 1121 status = "okay"; 1218 }; 1122 }; 1219 1123 1220 &usb_1_ss2 { 1124 &usb_1_ss2 { 1221 status = "okay"; 1125 status = "okay"; 1222 }; 1126 }; 1223 1127 1224 &usb_1_ss2_dwc3 { 1128 &usb_1_ss2_dwc3 { 1225 dr_mode = "host"; 1129 dr_mode = "host"; 1226 }; 1130 }; 1227 1131 1228 &usb_1_ss2_dwc3_hs { 1132 &usb_1_ss2_dwc3_hs { 1229 remote-endpoint = <&pmic_glink_ss2_hs 1133 remote-endpoint = <&pmic_glink_ss2_hs_in>; 1230 }; 1134 }; 1231 1135 1232 &usb_1_ss2_qmpphy_out { 1136 &usb_1_ss2_qmpphy_out { 1233 remote-endpoint = <&pmic_glink_ss2_ss 1137 remote-endpoint = <&pmic_glink_ss2_ss_in>; 1234 }; 1138 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.