1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2022, Linaro Limited 3 * Copyright (c) 2022, Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/regulator/qcom,rpmh-regu 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include "sm8550.dtsi" 9 #include "sm8550.dtsi" 10 #include "pm8010.dtsi" 10 #include "pm8010.dtsi" 11 #include "pm8550.dtsi" 11 #include "pm8550.dtsi" 12 #include "pm8550b.dtsi" 12 #include "pm8550b.dtsi" 13 #define PMK8550VE_SID 5 13 #define PMK8550VE_SID 5 14 #include "pm8550ve.dtsi" 14 #include "pm8550ve.dtsi" 15 #include "pm8550vs.dtsi" 15 #include "pm8550vs.dtsi" 16 #include "pmk8550.dtsi" 16 #include "pmk8550.dtsi" 17 #include "pmr735d_a.dtsi" 17 #include "pmr735d_a.dtsi" 18 #include "pmr735d_b.dtsi" 18 #include "pmr735d_b.dtsi" 19 19 20 / { 20 / { 21 model = "Qualcomm Technologies, Inc. S 21 model = "Qualcomm Technologies, Inc. SM8550 MTP"; 22 compatible = "qcom,sm8550-mtp", "qcom, 22 compatible = "qcom,sm8550-mtp", "qcom,sm8550"; 23 chassis-type = "handset"; 23 chassis-type = "handset"; 24 24 25 aliases { 25 aliases { 26 serial0 = &uart7; 26 serial0 = &uart7; 27 }; 27 }; 28 28 29 wcd938x: audio-codec { 29 wcd938x: audio-codec { 30 compatible = "qcom,wcd9385-cod 30 compatible = "qcom,wcd9385-codec"; 31 31 32 pinctrl-names = "default"; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&wcd_default>; 33 pinctrl-0 = <&wcd_default>; 34 34 35 qcom,micbias1-microvolt = <180 35 qcom,micbias1-microvolt = <1800000>; 36 qcom,micbias2-microvolt = <180 36 qcom,micbias2-microvolt = <1800000>; 37 qcom,micbias3-microvolt = <180 37 qcom,micbias3-microvolt = <1800000>; 38 qcom,micbias4-microvolt = <180 38 qcom,micbias4-microvolt = <1800000>; 39 qcom,mbhc-buttons-vthreshold-m 39 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 40 qcom,mbhc-headset-vthreshold-m 40 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 41 qcom,mbhc-headphone-vthreshold 41 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 42 qcom,rx-device = <&wcd_rx>; 42 qcom,rx-device = <&wcd_rx>; 43 qcom,tx-device = <&wcd_tx>; 43 qcom,tx-device = <&wcd_tx>; 44 44 45 reset-gpios = <&tlmm 108 GPIO_ 45 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 46 46 47 vdd-buck-supply = <&vreg_l15b_ 47 vdd-buck-supply = <&vreg_l15b_1p8>; 48 vdd-rxtx-supply = <&vreg_l15b_ 48 vdd-rxtx-supply = <&vreg_l15b_1p8>; 49 vdd-io-supply = <&vreg_l15b_1p 49 vdd-io-supply = <&vreg_l15b_1p8>; 50 vdd-mic-bias-supply = <&vreg_b 50 vdd-mic-bias-supply = <&vreg_bob1>; 51 51 52 #sound-dai-cells = <1>; 52 #sound-dai-cells = <1>; 53 }; 53 }; 54 54 55 chosen { 55 chosen { 56 stdout-path = "serial0:115200n 56 stdout-path = "serial0:115200n8"; 57 }; 57 }; 58 58 59 pmic-glink { 59 pmic-glink { 60 compatible = "qcom,sm8550-pmic 60 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; 61 #address-cells = <1>; 61 #address-cells = <1>; 62 #size-cells = <0>; 62 #size-cells = <0>; 63 orientation-gpios = <&tlmm 11 63 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; 64 64 65 connector@0 { 65 connector@0 { 66 compatible = "usb-c-co 66 compatible = "usb-c-connector"; 67 reg = <0>; 67 reg = <0>; 68 power-role = "dual"; 68 power-role = "dual"; 69 data-role = "dual"; 69 data-role = "dual"; 70 70 71 ports { 71 ports { 72 #address-cells 72 #address-cells = <1>; 73 #size-cells = 73 #size-cells = <0>; 74 74 75 port@0 { 75 port@0 { 76 reg = 76 reg = <0>; 77 77 78 pmic_g 78 pmic_glink_hs_in: endpoint { 79 79 remote-endpoint = <&usb_1_dwc3_hs>; 80 }; 80 }; 81 }; 81 }; 82 82 83 port@1 { 83 port@1 { 84 reg = 84 reg = <1>; 85 85 86 pmic_g 86 pmic_glink_ss_in: endpoint { 87 87 remote-endpoint = <&usb_dp_qmpphy_out>; 88 }; 88 }; 89 }; 89 }; 90 90 91 port@2 { 91 port@2 { 92 reg = 92 reg = <2>; 93 93 94 pmic_g 94 pmic_glink_sbu: endpoint { 95 95 remote-endpoint = <&fsa4480_sbu_mux>; 96 }; 96 }; 97 }; 97 }; 98 }; 98 }; 99 }; 99 }; 100 }; 100 }; 101 101 102 sound { 102 sound { 103 compatible = "qcom,sm8550-sndc 103 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; 104 model = "SM8550-MTP"; 104 model = "SM8550-MTP"; 105 audio-routing = "SpkrLeft IN", 105 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 106 "SpkrRight IN" 106 "SpkrRight IN", "WSA_SPK2 OUT", 107 "IN1_HPHL", "H 107 "IN1_HPHL", "HPHL_OUT", 108 "IN2_HPHR", "H 108 "IN2_HPHR", "HPHR_OUT", 109 "AMIC1", "MIC 109 "AMIC1", "MIC BIAS1", 110 "AMIC2", "MIC 110 "AMIC2", "MIC BIAS2", 111 "AMIC3", "MIC 111 "AMIC3", "MIC BIAS3", 112 "AMIC4", "MIC 112 "AMIC4", "MIC BIAS3", 113 "AMIC5", "MIC 113 "AMIC5", "MIC BIAS4", 114 "VA DMIC0", "M 114 "VA DMIC0", "MIC BIAS1", 115 "VA DMIC1", "M 115 "VA DMIC1", "MIC BIAS1", 116 "VA DMIC2", "M 116 "VA DMIC2", "MIC BIAS3", 117 "TX DMIC0", "M 117 "TX DMIC0", "MIC BIAS1", 118 "TX DMIC1", "M 118 "TX DMIC1", "MIC BIAS2", 119 "TX DMIC2", "M 119 "TX DMIC2", "MIC BIAS3", 120 "TX SWR_INPUT0 120 "TX SWR_INPUT0", "ADC1_OUTPUT", 121 "TX SWR_INPUT1 121 "TX SWR_INPUT1", "ADC2_OUTPUT", 122 "TX SWR_INPUT0 122 "TX SWR_INPUT0", "ADC3_OUTPUT", 123 "TX SWR_INPUT1 123 "TX SWR_INPUT1", "ADC4_OUTPUT"; 124 124 125 wcd-playback-dai-link { 125 wcd-playback-dai-link { 126 link-name = "WCD Playb 126 link-name = "WCD Playback"; 127 127 128 cpu { 128 cpu { 129 sound-dai = <& 129 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 130 }; 130 }; 131 131 132 codec { 132 codec { 133 sound-dai = <& 133 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 134 }; 134 }; 135 135 136 platform { 136 platform { 137 sound-dai = <& 137 sound-dai = <&q6apm>; 138 }; 138 }; 139 }; 139 }; 140 140 141 wcd-capture-dai-link { 141 wcd-capture-dai-link { 142 link-name = "WCD Captu 142 link-name = "WCD Capture"; 143 143 144 cpu { 144 cpu { 145 sound-dai = <& 145 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 146 }; 146 }; 147 147 148 codec { 148 codec { 149 sound-dai = <& 149 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; 150 }; 150 }; 151 151 152 platform { 152 platform { 153 sound-dai = <& 153 sound-dai = <&q6apm>; 154 }; 154 }; 155 }; 155 }; 156 156 157 wsa-dai-link { 157 wsa-dai-link { 158 link-name = "WSA Playb 158 link-name = "WSA Playback"; 159 159 160 cpu { 160 cpu { 161 sound-dai = <& 161 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 162 }; 162 }; 163 163 164 codec { 164 codec { 165 sound-dai = <& 165 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 166 }; 166 }; 167 167 168 platform { 168 platform { 169 sound-dai = <& 169 sound-dai = <&q6apm>; 170 }; 170 }; 171 }; 171 }; 172 172 173 va-dai-link { 173 va-dai-link { 174 link-name = "VA Captur 174 link-name = "VA Capture"; 175 175 176 cpu { 176 cpu { 177 sound-dai = <& 177 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 178 }; 178 }; 179 179 180 codec { 180 codec { 181 sound-dai = <& 181 sound-dai = <&lpass_vamacro 0>; 182 }; 182 }; 183 183 184 platform { 184 platform { 185 sound-dai = <& 185 sound-dai = <&q6apm>; 186 }; 186 }; 187 }; 187 }; 188 }; 188 }; 189 189 190 vph_pwr: vph-pwr-regulator { 190 vph_pwr: vph-pwr-regulator { 191 compatible = "regulator-fixed" 191 compatible = "regulator-fixed"; 192 regulator-name = "vph_pwr"; 192 regulator-name = "vph_pwr"; 193 regulator-min-microvolt = <370 193 regulator-min-microvolt = <3700000>; 194 regulator-max-microvolt = <370 194 regulator-max-microvolt = <3700000>; 195 195 196 regulator-always-on; 196 regulator-always-on; 197 regulator-boot-on; 197 regulator-boot-on; 198 }; 198 }; 199 }; 199 }; 200 200 201 &apps_rsc { 201 &apps_rsc { 202 regulators-0 { 202 regulators-0 { 203 compatible = "qcom,pm8550-rpmh 203 compatible = "qcom,pm8550-rpmh-regulators"; 204 qcom,pmic-id = "b"; 204 qcom,pmic-id = "b"; 205 205 206 vdd-bob1-supply = <&vph_pwr>; 206 vdd-bob1-supply = <&vph_pwr>; 207 vdd-bob2-supply = <&vph_pwr>; 207 vdd-bob2-supply = <&vph_pwr>; 208 vdd-l1-l4-l10-supply = <&vreg_ 208 vdd-l1-l4-l10-supply = <&vreg_s6g_1p8>; 209 vdd-l2-l13-l14-supply = <&vreg 209 vdd-l2-l13-l14-supply = <&vreg_bob1>; 210 vdd-l3-supply = <&vreg_s4g_1p3 210 vdd-l3-supply = <&vreg_s4g_1p3>; 211 vdd-l5-l16-supply = <&vreg_bob 211 vdd-l5-l16-supply = <&vreg_bob1>; 212 vdd-l6-l7-supply = <&vreg_bob1 212 vdd-l6-l7-supply = <&vreg_bob1>; 213 vdd-l8-l9-supply = <&vreg_bob1 213 vdd-l8-l9-supply = <&vreg_bob1>; 214 vdd-l11-supply = <&vreg_s4g_1p 214 vdd-l11-supply = <&vreg_s4g_1p3>; 215 vdd-l12-supply = <&vreg_s6g_1p 215 vdd-l12-supply = <&vreg_s6g_1p8>; 216 vdd-l15-supply = <&vreg_s6g_1p 216 vdd-l15-supply = <&vreg_s6g_1p8>; 217 vdd-l17-supply = <&vreg_bob2>; 217 vdd-l17-supply = <&vreg_bob2>; 218 218 219 vreg_bob1: bob1 { 219 vreg_bob1: bob1 { 220 regulator-name = "vreg 220 regulator-name = "vreg_bob1"; 221 regulator-min-microvol 221 regulator-min-microvolt = <3296000>; 222 regulator-max-microvol 222 regulator-max-microvolt = <3960000>; 223 regulator-initial-mode 223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 224 }; 224 }; 225 225 226 vreg_bob2: bob2 { 226 vreg_bob2: bob2 { 227 regulator-name = "vreg 227 regulator-name = "vreg_bob2"; 228 regulator-min-microvol 228 regulator-min-microvolt = <2720000>; 229 regulator-max-microvol 229 regulator-max-microvolt = <3960000>; 230 regulator-initial-mode 230 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 231 }; 231 }; 232 232 233 vreg_l1b_1p8: ldo1 { 233 vreg_l1b_1p8: ldo1 { 234 regulator-name = "vreg 234 regulator-name = "vreg_l1b_1p8"; 235 regulator-min-microvol 235 regulator-min-microvolt = <1800000>; 236 regulator-max-microvol 236 regulator-max-microvolt = <1800000>; 237 regulator-initial-mode 237 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238 }; 238 }; 239 239 240 vreg_l2b_3p0: ldo2 { 240 vreg_l2b_3p0: ldo2 { 241 regulator-name = "vreg 241 regulator-name = "vreg_l2b_3p0"; 242 regulator-min-microvol 242 regulator-min-microvolt = <3008000>; 243 regulator-max-microvol 243 regulator-max-microvolt = <3008000>; 244 regulator-initial-mode 244 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 245 }; 245 }; 246 246 247 vreg_l5b_3p1: ldo5 { 247 vreg_l5b_3p1: ldo5 { 248 regulator-name = "vreg 248 regulator-name = "vreg_l5b_3p1"; 249 regulator-min-microvol 249 regulator-min-microvolt = <3104000>; 250 regulator-max-microvol 250 regulator-max-microvolt = <3104000>; 251 regulator-initial-mode 251 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 252 }; 252 }; 253 253 254 vreg_l6b_1p8: ldo6 { 254 vreg_l6b_1p8: ldo6 { 255 regulator-name = "vreg 255 regulator-name = "vreg_l6b_1p8"; 256 regulator-min-microvol 256 regulator-min-microvolt = <1800000>; 257 regulator-max-microvol 257 regulator-max-microvolt = <3008000>; 258 regulator-initial-mode 258 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 259 }; 259 }; 260 260 261 vreg_l7b_1p8: ldo7 { 261 vreg_l7b_1p8: ldo7 { 262 regulator-name = "vreg 262 regulator-name = "vreg_l7b_1p8"; 263 regulator-min-microvol 263 regulator-min-microvolt = <1800000>; 264 regulator-max-microvol 264 regulator-max-microvolt = <3008000>; 265 regulator-initial-mode 265 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 266 }; 266 }; 267 267 268 vreg_l8b_1p8: ldo8 { 268 vreg_l8b_1p8: ldo8 { 269 regulator-name = "vreg 269 regulator-name = "vreg_l8b_1p8"; 270 regulator-min-microvol 270 regulator-min-microvolt = <1800000>; 271 regulator-max-microvol 271 regulator-max-microvolt = <3008000>; 272 regulator-initial-mode 272 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 273 }; 273 }; 274 274 275 vreg_l9b_2p9: ldo9 { 275 vreg_l9b_2p9: ldo9 { 276 regulator-name = "vreg 276 regulator-name = "vreg_l9b_2p9"; 277 regulator-min-microvol 277 regulator-min-microvolt = <2960000>; 278 regulator-max-microvol 278 regulator-max-microvolt = <3008000>; 279 regulator-initial-mode 279 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 280 }; 280 }; 281 281 282 vreg_l11b_1p2: ldo11 { 282 vreg_l11b_1p2: ldo11 { 283 regulator-name = "vreg 283 regulator-name = "vreg_l11b_1p2"; 284 regulator-min-microvol 284 regulator-min-microvolt = <1200000>; 285 regulator-max-microvol 285 regulator-max-microvolt = <1504000>; 286 regulator-initial-mode 286 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 287 }; 287 }; 288 288 289 vreg_l12b_1p8: ldo12 { 289 vreg_l12b_1p8: ldo12 { 290 regulator-name = "vreg 290 regulator-name = "vreg_l12b_1p8"; 291 regulator-min-microvol 291 regulator-min-microvolt = <1800000>; 292 regulator-max-microvol 292 regulator-max-microvolt = <1800000>; 293 regulator-initial-mode 293 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 294 }; 294 }; 295 295 296 vreg_l13b_3p0: ldo13 { 296 vreg_l13b_3p0: ldo13 { 297 regulator-name = "vreg 297 regulator-name = "vreg_l13b_3p0"; 298 regulator-min-microvol 298 regulator-min-microvolt = <3000000>; 299 regulator-max-microvol 299 regulator-max-microvolt = <3000000>; 300 regulator-initial-mode 300 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 301 }; 301 }; 302 302 303 vreg_l14b_3p2: ldo14 { 303 vreg_l14b_3p2: ldo14 { 304 regulator-name = "vreg 304 regulator-name = "vreg_l14b_3p2"; 305 regulator-min-microvol 305 regulator-min-microvolt = <3200000>; 306 regulator-max-microvol 306 regulator-max-microvolt = <3200000>; 307 regulator-initial-mode 307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 308 }; 308 }; 309 309 310 vreg_l15b_1p8: ldo15 { 310 vreg_l15b_1p8: ldo15 { 311 regulator-name = "vreg 311 regulator-name = "vreg_l15b_1p8"; 312 regulator-min-microvol 312 regulator-min-microvolt = <1800000>; 313 regulator-max-microvol 313 regulator-max-microvolt = <1800000>; 314 regulator-initial-mode 314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315 }; 315 }; 316 316 317 vreg_l16b_2p8: ldo16 { 317 vreg_l16b_2p8: ldo16 { 318 regulator-name = "vreg 318 regulator-name = "vreg_l16b_2p8"; 319 regulator-min-microvol 319 regulator-min-microvolt = <2800000>; 320 regulator-max-microvol 320 regulator-max-microvolt = <2800000>; 321 regulator-initial-mode 321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322 }; 322 }; 323 323 324 vreg_l17b_2p5: ldo17 { 324 vreg_l17b_2p5: ldo17 { 325 regulator-name = "vreg 325 regulator-name = "vreg_l17b_2p5"; 326 regulator-min-microvol 326 regulator-min-microvolt = <2504000>; 327 regulator-max-microvol 327 regulator-max-microvolt = <2504000>; 328 regulator-initial-mode 328 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 329 }; 329 }; 330 }; 330 }; 331 331 332 regulators-1 { 332 regulators-1 { 333 compatible = "qcom,pm8550vs-rp 333 compatible = "qcom,pm8550vs-rpmh-regulators"; 334 qcom,pmic-id = "c"; 334 qcom,pmic-id = "c"; 335 335 336 vdd-l3-supply = <&vreg_s4e_0p9 336 vdd-l3-supply = <&vreg_s4e_0p9>; 337 337 338 vreg_l3c_0p91: ldo3 { 338 vreg_l3c_0p91: ldo3 { 339 regulator-name = "vreg 339 regulator-name = "vreg_l3c_0p9"; 340 regulator-min-microvol 340 regulator-min-microvolt = <880000>; 341 regulator-max-microvol 341 regulator-max-microvolt = <912000>; 342 regulator-initial-mode 342 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343 }; 343 }; 344 }; 344 }; 345 345 346 regulators-2 { 346 regulators-2 { 347 compatible = "qcom,pm8550vs-rp 347 compatible = "qcom,pm8550vs-rpmh-regulators"; 348 qcom,pmic-id = "d"; 348 qcom,pmic-id = "d"; 349 349 350 vdd-l1-supply = <&vreg_s4e_0p9 350 vdd-l1-supply = <&vreg_s4e_0p9>; 351 351 352 vreg_l1d_0p88: ldo1 { 352 vreg_l1d_0p88: ldo1 { 353 regulator-name = "vreg 353 regulator-name = "vreg_l1d_0p88"; 354 regulator-min-microvol 354 regulator-min-microvolt = <880000>; 355 regulator-max-microvol 355 regulator-max-microvolt = <920000>; 356 regulator-initial-mode 356 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 357 }; 357 }; 358 }; 358 }; 359 359 360 regulators-3 { 360 regulators-3 { 361 compatible = "qcom,pm8550vs-rp 361 compatible = "qcom,pm8550vs-rpmh-regulators"; 362 qcom,pmic-id = "e"; 362 qcom,pmic-id = "e"; 363 363 364 vdd-l1-supply = <&vreg_s4e_0p9 364 vdd-l1-supply = <&vreg_s4e_0p9>; 365 vdd-l2-supply = <&vreg_s4e_0p9 365 vdd-l2-supply = <&vreg_s4e_0p9>; 366 vdd-l3-supply = <&vreg_s4g_1p3 366 vdd-l3-supply = <&vreg_s4g_1p3>; 367 vdd-s4-supply = <&vph_pwr>; 367 vdd-s4-supply = <&vph_pwr>; 368 vdd-s5-supply = <&vph_pwr>; 368 vdd-s5-supply = <&vph_pwr>; 369 369 370 vreg_s4e_0p9: smps4 { 370 vreg_s4e_0p9: smps4 { 371 regulator-name = "vreg 371 regulator-name = "vreg_s4e_0p9"; 372 regulator-min-microvol 372 regulator-min-microvolt = <904000>; 373 regulator-max-microvol 373 regulator-max-microvolt = <984000>; 374 regulator-initial-mode 374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 375 }; 375 }; 376 376 377 vreg_s5e_1p1: smps5 { 377 vreg_s5e_1p1: smps5 { 378 regulator-name = "vreg 378 regulator-name = "vreg_s5e_1p1"; 379 regulator-min-microvol 379 regulator-min-microvolt = <1080000>; 380 regulator-max-microvol 380 regulator-max-microvolt = <1120000>; 381 regulator-initial-mode 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 382 }; 382 }; 383 383 384 vreg_l1e_0p88: ldo1 { 384 vreg_l1e_0p88: ldo1 { 385 regulator-name = "vreg 385 regulator-name = "vreg_l1e_0p88"; 386 regulator-min-microvol 386 regulator-min-microvolt = <880000>; 387 regulator-max-microvol 387 regulator-max-microvolt = <880000>; 388 regulator-initial-mode 388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 389 }; 389 }; 390 390 391 vreg_l2e_0p9: ldo2 { 391 vreg_l2e_0p9: ldo2 { 392 regulator-name = "vreg 392 regulator-name = "vreg_l2e_0p9"; 393 regulator-min-microvol 393 regulator-min-microvolt = <904000>; 394 regulator-max-microvol 394 regulator-max-microvolt = <970000>; 395 regulator-initial-mode 395 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 396 }; 396 }; 397 397 398 vreg_l3e_1p2: ldo3 { 398 vreg_l3e_1p2: ldo3 { 399 regulator-name = "vreg 399 regulator-name = "vreg_l3e_1p2"; 400 regulator-min-microvol 400 regulator-min-microvolt = <1200000>; 401 regulator-max-microvol 401 regulator-max-microvolt = <1200000>; 402 regulator-initial-mode 402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 403 }; 403 }; 404 }; 404 }; 405 405 406 regulators-4 { 406 regulators-4 { 407 compatible = "qcom,pm8550ve-rp 407 compatible = "qcom,pm8550ve-rpmh-regulators"; 408 qcom,pmic-id = "f"; 408 qcom,pmic-id = "f"; 409 409 410 vdd-l1-supply = <&vreg_s4e_0p9 410 vdd-l1-supply = <&vreg_s4e_0p9>; 411 vdd-l2-supply = <&vreg_s4e_0p9 411 vdd-l2-supply = <&vreg_s4e_0p9>; 412 vdd-l3-supply = <&vreg_s4e_0p9 412 vdd-l3-supply = <&vreg_s4e_0p9>; 413 vdd-s4-supply = <&vph_pwr>; 413 vdd-s4-supply = <&vph_pwr>; 414 414 415 vreg_s4f_0p5: smps4 { 415 vreg_s4f_0p5: smps4 { 416 regulator-name = "vreg 416 regulator-name = "vreg_s4f_0p5"; 417 regulator-min-microvol 417 regulator-min-microvolt = <500000>; 418 regulator-max-microvol 418 regulator-max-microvolt = <700000>; 419 regulator-initial-mode 419 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 420 }; 420 }; 421 421 422 vreg_l1f_0p9: ldo1 { 422 vreg_l1f_0p9: ldo1 { 423 regulator-name = "vreg 423 regulator-name = "vreg_l1f_0p9"; 424 regulator-min-microvol 424 regulator-min-microvolt = <912000>; 425 regulator-max-microvol 425 regulator-max-microvolt = <912000>; 426 regulator-initial-mode 426 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 427 }; 427 }; 428 428 429 vreg_l2f_0p88: ldo2 { 429 vreg_l2f_0p88: ldo2 { 430 regulator-name = "vreg 430 regulator-name = "vreg_l2f_0p88"; 431 regulator-min-microvol 431 regulator-min-microvolt = <880000>; 432 regulator-max-microvol 432 regulator-max-microvolt = <912000>; 433 regulator-initial-mode 433 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 434 }; 434 }; 435 435 436 vreg_l3f_0p91: ldo3 { 436 vreg_l3f_0p91: ldo3 { 437 regulator-name = "vreg 437 regulator-name = "vreg_l3f_0p91"; 438 regulator-min-microvol 438 regulator-min-microvolt = <880000>; 439 regulator-max-microvol 439 regulator-max-microvolt = <912000>; 440 regulator-initial-mode 440 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 441 }; 441 }; 442 }; 442 }; 443 443 444 regulators-5 { 444 regulators-5 { 445 compatible = "qcom,pm8550vs-rp 445 compatible = "qcom,pm8550vs-rpmh-regulators"; 446 qcom,pmic-id = "g"; 446 qcom,pmic-id = "g"; 447 447 448 vdd-l1-supply = <&vreg_s4g_1p3 448 vdd-l1-supply = <&vreg_s4g_1p3>; 449 vdd-l2-supply = <&vreg_s4g_1p3 449 vdd-l2-supply = <&vreg_s4g_1p3>; 450 vdd-l3-supply = <&vreg_s4g_1p3 450 vdd-l3-supply = <&vreg_s4g_1p3>; 451 vdd-s1-supply = <&vph_pwr>; 451 vdd-s1-supply = <&vph_pwr>; 452 vdd-s2-supply = <&vph_pwr>; 452 vdd-s2-supply = <&vph_pwr>; 453 vdd-s3-supply = <&vph_pwr>; 453 vdd-s3-supply = <&vph_pwr>; 454 vdd-s4-supply = <&vph_pwr>; 454 vdd-s4-supply = <&vph_pwr>; 455 vdd-s5-supply = <&vph_pwr>; 455 vdd-s5-supply = <&vph_pwr>; 456 vdd-s6-supply = <&vph_pwr>; 456 vdd-s6-supply = <&vph_pwr>; 457 457 458 vreg_s1g_1p2: smps1 { 458 vreg_s1g_1p2: smps1 { 459 regulator-name = "vreg 459 regulator-name = "vreg_s1g_1p2"; 460 regulator-min-microvol 460 regulator-min-microvolt = <1200000>; 461 regulator-max-microvol 461 regulator-max-microvolt = <1300000>; 462 regulator-initial-mode 462 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 463 }; 463 }; 464 464 465 vreg_s2g_0p8: smps2 { 465 vreg_s2g_0p8: smps2 { 466 regulator-name = "vreg 466 regulator-name = "vreg_s2g_0p8"; 467 regulator-min-microvol 467 regulator-min-microvolt = <800000>; 468 regulator-max-microvol 468 regulator-max-microvolt = <1000000>; 469 regulator-initial-mode 469 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 470 }; 470 }; 471 471 472 vreg_s3g_0p7: smps3 { 472 vreg_s3g_0p7: smps3 { 473 regulator-name = "vreg 473 regulator-name = "vreg_s3g_0p7"; 474 regulator-min-microvol 474 regulator-min-microvolt = <300000>; 475 regulator-max-microvol 475 regulator-max-microvolt = <1004000>; 476 regulator-initial-mode 476 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 477 }; 477 }; 478 478 479 vreg_s4g_1p3: smps4 { 479 vreg_s4g_1p3: smps4 { 480 regulator-name = "vreg 480 regulator-name = "vreg_s4g_1p3"; 481 regulator-min-microvol 481 regulator-min-microvolt = <1200000>; 482 regulator-max-microvol 482 regulator-max-microvolt = <1352000>; 483 regulator-initial-mode 483 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 484 }; 484 }; 485 485 486 vreg_s5g_0p8: smps5 { 486 vreg_s5g_0p8: smps5 { 487 regulator-name = "vreg 487 regulator-name = "vreg_s5g_0p8"; 488 regulator-min-microvol 488 regulator-min-microvolt = <500000>; 489 regulator-max-microvol 489 regulator-max-microvolt = <1004000>; 490 regulator-initial-mode 490 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 491 }; 491 }; 492 492 493 vreg_s6g_1p8: smps6 { 493 vreg_s6g_1p8: smps6 { 494 regulator-name = "vreg 494 regulator-name = "vreg_s6g_1p8"; 495 regulator-min-microvol 495 regulator-min-microvolt = <1800000>; 496 regulator-max-microvol 496 regulator-max-microvolt = <2000000>; 497 regulator-initial-mode 497 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 498 }; 498 }; 499 499 500 vreg_l1g_1p2: ldo1 { 500 vreg_l1g_1p2: ldo1 { 501 regulator-name = "vreg 501 regulator-name = "vreg_l1g_1p2"; 502 regulator-min-microvol 502 regulator-min-microvolt = <1200000>; 503 regulator-max-microvol 503 regulator-max-microvolt = <1200000>; 504 regulator-initial-mode 504 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 505 }; 505 }; 506 506 507 vreg_l2g_1p2: ldo2 { 507 vreg_l2g_1p2: ldo2 { 508 regulator-name = "vreg 508 regulator-name = "vreg_l2g_1p2"; 509 regulator-min-microvol 509 regulator-min-microvolt = <1200000>; 510 regulator-max-microvol 510 regulator-max-microvolt = <1200000>; 511 regulator-initial-mode 511 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 512 }; 512 }; 513 513 514 vreg_l3g_1p2: ldo3 { 514 vreg_l3g_1p2: ldo3 { 515 regulator-name = "vreg 515 regulator-name = "vreg_l3g_1p2"; 516 regulator-min-microvol 516 regulator-min-microvolt = <1200000>; 517 regulator-max-microvol 517 regulator-max-microvolt = <1200000>; 518 regulator-initial-mode 518 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 519 }; 519 }; 520 }; 520 }; 521 521 522 regulators-6 { 522 regulators-6 { 523 compatible = "qcom,pm8010-rpmh 523 compatible = "qcom,pm8010-rpmh-regulators"; 524 qcom,pmic-id = "m"; 524 qcom,pmic-id = "m"; 525 525 526 vdd-l1-l2-supply = <&vreg_s4g_ 526 vdd-l1-l2-supply = <&vreg_s4g_1p3>; 527 vdd-l3-l4-supply = <&vreg_bob2 527 vdd-l3-l4-supply = <&vreg_bob2>; 528 vdd-l5-supply = <&vreg_s6g_1p8 528 vdd-l5-supply = <&vreg_s6g_1p8>; 529 vdd-l6-supply = <&vreg_s6g_1p8 529 vdd-l6-supply = <&vreg_s6g_1p8>; 530 vdd-l7-supply = <&vreg_bob1>; 530 vdd-l7-supply = <&vreg_bob1>; 531 531 532 vreg_l1m_1p056: ldo1 { 532 vreg_l1m_1p056: ldo1 { 533 regulator-name = "vreg 533 regulator-name = "vreg_l1m_1p056"; 534 regulator-min-microvol 534 regulator-min-microvolt = <1056000>; 535 regulator-max-microvol 535 regulator-max-microvolt = <1056000>; 536 regulator-initial-mode 536 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 537 }; 537 }; 538 538 539 vreg_l2m_1p056: ldo2 { 539 vreg_l2m_1p056: ldo2 { 540 regulator-name = "vreg 540 regulator-name = "vreg_l2m_1p056"; 541 regulator-min-microvol 541 regulator-min-microvolt = <1056000>; 542 regulator-max-microvol 542 regulator-max-microvolt = <1056000>; 543 regulator-initial-mode 543 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 544 }; 544 }; 545 545 546 vreg_l3m_2p8: ldo3 { 546 vreg_l3m_2p8: ldo3 { 547 regulator-name = "vreg 547 regulator-name = "vreg_l3m_2p8"; 548 regulator-min-microvol 548 regulator-min-microvolt = <2800000>; 549 regulator-max-microvol 549 regulator-max-microvolt = <2800000>; 550 regulator-initial-mode 550 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 551 }; 551 }; 552 552 553 vreg_l4m_2p8: ldo4 { 553 vreg_l4m_2p8: ldo4 { 554 regulator-name = "vreg 554 regulator-name = "vreg_l4m_2p8"; 555 regulator-min-microvol 555 regulator-min-microvolt = <2800000>; 556 regulator-max-microvol 556 regulator-max-microvolt = <2800000>; 557 regulator-initial-mode 557 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 558 }; 558 }; 559 559 560 vreg_l5m_1p8: ldo5 { 560 vreg_l5m_1p8: ldo5 { 561 regulator-name = "vreg 561 regulator-name = "vreg_l5m_1p8"; 562 regulator-min-microvol 562 regulator-min-microvolt = <1800000>; 563 regulator-max-microvol 563 regulator-max-microvolt = <1800000>; 564 regulator-initial-mode 564 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 565 }; 565 }; 566 566 567 vreg_l6m_1p8: ldo6 { 567 vreg_l6m_1p8: ldo6 { 568 regulator-name = "vreg 568 regulator-name = "vreg_l6m_1p8"; 569 regulator-min-microvol 569 regulator-min-microvolt = <1800000>; 570 regulator-max-microvol 570 regulator-max-microvolt = <1800000>; 571 regulator-initial-mode 571 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 572 }; 572 }; 573 573 574 vreg_l7m_2p9: ldo7 { 574 vreg_l7m_2p9: ldo7 { 575 regulator-name = "vreg 575 regulator-name = "vreg_l7m_2p9"; 576 regulator-min-microvol 576 regulator-min-microvolt = <2800000>; 577 regulator-max-microvol 577 regulator-max-microvolt = <2904000>; 578 regulator-initial-mode 578 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 579 }; 579 }; 580 }; 580 }; 581 581 582 regulators-7 { 582 regulators-7 { 583 compatible = "qcom,pm8010-rpmh 583 compatible = "qcom,pm8010-rpmh-regulators"; 584 qcom,pmic-id = "n"; 584 qcom,pmic-id = "n"; 585 585 586 vdd-l1-l2-supply = <&vreg_s4g_ 586 vdd-l1-l2-supply = <&vreg_s4g_1p3>; 587 vdd-l3-l4-supply = <&vreg_bob2 587 vdd-l3-l4-supply = <&vreg_bob2>; 588 vdd-l5-supply = <&vreg_s6g_1p8 588 vdd-l5-supply = <&vreg_s6g_1p8>; 589 vdd-l6-supply = <&vreg_bob1>; 589 vdd-l6-supply = <&vreg_bob1>; 590 vdd-l7-supply = <&vreg_bob1>; 590 vdd-l7-supply = <&vreg_bob1>; 591 591 592 vreg_l1n_1p1: ldo1 { 592 vreg_l1n_1p1: ldo1 { 593 regulator-name = "vreg 593 regulator-name = "vreg_l1n_1p1"; 594 regulator-min-microvol 594 regulator-min-microvolt = <1104000>; 595 regulator-max-microvol 595 regulator-max-microvolt = <1200000>; 596 regulator-initial-mode 596 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 597 }; 597 }; 598 598 599 vreg_l2n_1p1: ldo2 { 599 vreg_l2n_1p1: ldo2 { 600 regulator-name = "vreg 600 regulator-name = "vreg_l2n_1p1"; 601 regulator-min-microvol 601 regulator-min-microvolt = <1104000>; 602 regulator-max-microvol 602 regulator-max-microvolt = <1200000>; 603 regulator-initial-mode 603 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 604 }; 604 }; 605 605 606 vreg_l3n_2p8: ldo3 { 606 vreg_l3n_2p8: ldo3 { 607 regulator-name = "vreg 607 regulator-name = "vreg_l3n_2p8"; 608 regulator-min-microvol 608 regulator-min-microvolt = <2800000>; 609 regulator-max-microvol 609 regulator-max-microvolt = <3000000>; 610 regulator-initial-mode 610 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 611 }; 611 }; 612 612 613 vreg_l4n_2p8: ldo4 { 613 vreg_l4n_2p8: ldo4 { 614 regulator-name = "vreg 614 regulator-name = "vreg_l4n_2p8"; 615 regulator-min-microvol 615 regulator-min-microvolt = <2800000>; 616 regulator-max-microvol 616 regulator-max-microvolt = <3300000>; 617 regulator-initial-mode 617 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 618 }; 618 }; 619 619 620 vreg_l5n_1p8: ldo5 { 620 vreg_l5n_1p8: ldo5 { 621 regulator-name = "vreg 621 regulator-name = "vreg_l5n_1p8"; 622 regulator-min-microvol 622 regulator-min-microvolt = <1800000>; 623 regulator-max-microvol 623 regulator-max-microvolt = <1800000>; 624 regulator-initial-mode 624 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 625 }; 625 }; 626 626 627 vreg_l6n_3p3: ldo6 { 627 vreg_l6n_3p3: ldo6 { 628 regulator-name = "vreg 628 regulator-name = "vreg_l6n_3p3"; 629 regulator-min-microvol 629 regulator-min-microvolt = <2800000>; 630 regulator-max-microvol 630 regulator-max-microvolt = <3304000>; 631 regulator-initial-mode 631 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 632 }; 632 }; 633 633 634 vreg_l7n_2p96: ldo7 { 634 vreg_l7n_2p96: ldo7 { 635 regulator-name = "vreg 635 regulator-name = "vreg_l7n_2p96"; 636 regulator-min-microvol 636 regulator-min-microvolt = <2800000>; 637 regulator-max-microvol 637 regulator-max-microvolt = <2960000>; 638 regulator-initial-mode 638 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 639 }; 639 }; 640 }; 640 }; 641 }; 641 }; 642 642 643 &gpu { 643 &gpu { 644 status = "okay"; 644 status = "okay"; 645 645 646 zap-shader { 646 zap-shader { 647 firmware-name = "qcom/sm8550/a 647 firmware-name = "qcom/sm8550/a740_zap.mbn"; 648 }; 648 }; 649 }; 649 }; 650 650 651 &i2c_master_hub_0 { 651 &i2c_master_hub_0 { 652 status = "okay"; 652 status = "okay"; 653 }; 653 }; 654 654 655 &i2c_hub_2 { 655 &i2c_hub_2 { 656 status = "okay"; 656 status = "okay"; 657 657 658 typec-mux@42 { 658 typec-mux@42 { 659 compatible = "fcs,fsa4480"; 659 compatible = "fcs,fsa4480"; 660 reg = <0x42>; 660 reg = <0x42>; 661 661 662 vcc-supply = <&vreg_bob1>; 662 vcc-supply = <&vreg_bob1>; 663 663 664 mode-switch; 664 mode-switch; 665 orientation-switch; 665 orientation-switch; 666 666 667 port { 667 port { 668 fsa4480_sbu_mux: endpo 668 fsa4480_sbu_mux: endpoint { 669 remote-endpoin 669 remote-endpoint = <&pmic_glink_sbu>; 670 }; 670 }; 671 }; 671 }; 672 }; 672 }; 673 }; 673 }; 674 674 675 &lpass_tlmm { 675 &lpass_tlmm { 676 spkr_1_sd_n_active: spkr-1-sd-n-active 676 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 677 pins = "gpio17"; 677 pins = "gpio17"; 678 function = "gpio"; 678 function = "gpio"; 679 drive-strength = <16>; 679 drive-strength = <16>; 680 bias-disable; 680 bias-disable; 681 output-low; 681 output-low; 682 }; 682 }; 683 683 684 spkr_2_sd_n_active: spkr-2-sd-n-active 684 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 685 pins = "gpio18"; 685 pins = "gpio18"; 686 function = "gpio"; 686 function = "gpio"; 687 drive-strength = <16>; 687 drive-strength = <16>; 688 bias-disable; 688 bias-disable; 689 output-low; 689 output-low; 690 }; 690 }; 691 }; 691 }; 692 692 693 &mdss { 693 &mdss { 694 status = "okay"; 694 status = "okay"; 695 }; 695 }; 696 696 697 &mdss_dsi0 { 697 &mdss_dsi0 { 698 vdda-supply = <&vreg_l3e_1p2>; 698 vdda-supply = <&vreg_l3e_1p2>; 699 status = "okay"; 699 status = "okay"; 700 700 701 panel@0 { 701 panel@0 { 702 compatible = "visionox,vtdr613 702 compatible = "visionox,vtdr6130"; 703 reg = <0>; 703 reg = <0>; 704 704 705 pinctrl-names = "default", "sl 705 pinctrl-names = "default", "sleep"; 706 pinctrl-0 = <&sde_dsi_active>, 706 pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>; 707 pinctrl-1 = <&sde_dsi_suspend> 707 pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>; 708 708 709 vddio-supply = <&vreg_l12b_1p8 709 vddio-supply = <&vreg_l12b_1p8>; 710 vci-supply = <&vreg_l13b_3p0>; 710 vci-supply = <&vreg_l13b_3p0>; 711 vdd-supply = <&vreg_l11b_1p2>; 711 vdd-supply = <&vreg_l11b_1p2>; 712 712 713 reset-gpios = <&tlmm 133 GPIO_ 713 reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 714 714 715 port { 715 port { 716 panel0_in: endpoint { 716 panel0_in: endpoint { 717 remote-endpoin 717 remote-endpoint = <&mdss_dsi0_out>; 718 }; 718 }; 719 }; 719 }; 720 }; 720 }; 721 }; 721 }; 722 722 723 &mdss_dsi0_out { 723 &mdss_dsi0_out { 724 remote-endpoint = <&panel0_in>; 724 remote-endpoint = <&panel0_in>; 725 data-lanes = <0 1 2 3>; 725 data-lanes = <0 1 2 3>; 726 }; 726 }; 727 727 728 &mdss_dsi0_phy { 728 &mdss_dsi0_phy { 729 vdds-supply = <&vreg_l1e_0p88>; 729 vdds-supply = <&vreg_l1e_0p88>; 730 status = "okay"; 730 status = "okay"; 731 }; 731 }; 732 732 733 &mdss_dp0 { 733 &mdss_dp0 { 734 status = "okay"; 734 status = "okay"; 735 }; 735 }; 736 736 737 &mdss_dp0_out { 737 &mdss_dp0_out { 738 data-lanes = <0 1>; 738 data-lanes = <0 1>; >> 739 remote-endpoint = <&usb_dp_qmpphy_dp_in>; >> 740 }; >> 741 >> 742 &pcie_1_phy_aux_clk { >> 743 clock-frequency = <1000>; 739 }; 744 }; 740 745 741 &pcie0 { 746 &pcie0 { 742 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIG 747 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 743 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LO 748 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 744 749 745 pinctrl-names = "default"; 750 pinctrl-names = "default"; 746 pinctrl-0 = <&pcie0_default_state>; 751 pinctrl-0 = <&pcie0_default_state>; 747 752 748 status = "okay"; 753 status = "okay"; 749 }; 754 }; 750 755 751 &pcie0_phy { 756 &pcie0_phy { 752 vdda-phy-supply = <&vreg_l1e_0p88>; 757 vdda-phy-supply = <&vreg_l1e_0p88>; 753 vdda-pll-supply = <&vreg_l3e_1p2>; 758 vdda-pll-supply = <&vreg_l3e_1p2>; 754 759 755 status = "okay"; 760 status = "okay"; 756 }; 761 }; 757 762 758 &pcie1 { 763 &pcie1 { 759 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIG 764 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 760 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LO 765 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 761 766 762 pinctrl-names = "default"; 767 pinctrl-names = "default"; 763 pinctrl-0 = <&pcie1_default_state>; 768 pinctrl-0 = <&pcie1_default_state>; 764 769 765 status = "okay"; 770 status = "okay"; 766 }; 771 }; 767 772 768 &pcie1_phy { 773 &pcie1_phy { 769 vdda-phy-supply = <&vreg_l3c_0p91>; 774 vdda-phy-supply = <&vreg_l3c_0p91>; 770 vdda-pll-supply = <&vreg_l3e_1p2>; 775 vdda-pll-supply = <&vreg_l3e_1p2>; 771 vdda-qref-supply = <&vreg_l1e_0p88>; 776 vdda-qref-supply = <&vreg_l1e_0p88>; 772 777 773 status = "okay"; 778 status = "okay"; 774 }; 779 }; 775 780 776 &pm8550_gpios { 781 &pm8550_gpios { 777 sdc2_card_det_n: sdc2-card-det-state { 782 sdc2_card_det_n: sdc2-card-det-state { 778 pins = "gpio12"; 783 pins = "gpio12"; 779 function = "normal"; 784 function = "normal"; 780 input-enable; 785 input-enable; 781 output-disable; 786 output-disable; 782 bias-pull-up; 787 bias-pull-up; 783 power-source = <1>; /* 1.8 V * 788 power-source = <1>; /* 1.8 V */ 784 }; 789 }; 785 }; 790 }; 786 791 787 &pm8550b_eusb2_repeater { 792 &pm8550b_eusb2_repeater { 788 vdd18-supply = <&vreg_l15b_1p8>; 793 vdd18-supply = <&vreg_l15b_1p8>; 789 vdd3-supply = <&vreg_l5b_3p1>; 794 vdd3-supply = <&vreg_l5b_3p1>; 790 }; 795 }; 791 796 792 &qupv3_id_0 { 797 &qupv3_id_0 { 793 status = "okay"; 798 status = "okay"; 794 }; 799 }; 795 800 796 &remoteproc_adsp { 801 &remoteproc_adsp { 797 firmware-name = "qcom/sm8550/adsp.mbn" 802 firmware-name = "qcom/sm8550/adsp.mbn", 798 "qcom/sm8550/adsp_dtb. 803 "qcom/sm8550/adsp_dtb.mbn"; 799 status = "okay"; 804 status = "okay"; 800 }; 805 }; 801 806 802 &remoteproc_cdsp { 807 &remoteproc_cdsp { 803 firmware-name = "qcom/sm8550/cdsp.mbn" 808 firmware-name = "qcom/sm8550/cdsp.mbn", 804 "qcom/sm8550/cdsp_dtb. 809 "qcom/sm8550/cdsp_dtb.mbn"; 805 status = "okay"; 810 status = "okay"; 806 }; 811 }; 807 812 808 &remoteproc_mpss { 813 &remoteproc_mpss { 809 firmware-name = "qcom/sm8550/modem.mbn 814 firmware-name = "qcom/sm8550/modem.mbn", 810 "qcom/sm8550/modem_dtb 815 "qcom/sm8550/modem_dtb.mbn"; 811 status = "okay"; 816 status = "okay"; 812 }; 817 }; 813 818 814 &sdhc_2 { 819 &sdhc_2 { 815 cd-gpios = <&pm8550_gpios 12 GPIO_ACTI 820 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; 816 pinctrl-names = "default", "sleep"; 821 pinctrl-names = "default", "sleep"; 817 pinctrl-0 = <&sdc2_default &sdc2_card_ 822 pinctrl-0 = <&sdc2_default &sdc2_card_det_n>; 818 pinctrl-1 = <&sdc2_sleep &sdc2_card_de 823 pinctrl-1 = <&sdc2_sleep &sdc2_card_det_n>; 819 vmmc-supply = <&vreg_l9b_2p9>; 824 vmmc-supply = <&vreg_l9b_2p9>; 820 vqmmc-supply = <&vreg_l8b_1p8>; 825 vqmmc-supply = <&vreg_l8b_1p8>; 821 bus-width = <4>; 826 bus-width = <4>; 822 no-sdio; 827 no-sdio; 823 no-mmc; 828 no-mmc; 824 status = "okay"; 829 status = "okay"; 825 }; 830 }; 826 831 827 &sleep_clk { 832 &sleep_clk { 828 clock-frequency = <32000>; 833 clock-frequency = <32000>; 829 }; 834 }; 830 835 831 &swr0 { 836 &swr0 { 832 status = "okay"; 837 status = "okay"; 833 838 834 /* WSA8845 */ 839 /* WSA8845 */ 835 left_spkr: speaker@0,0 { 840 left_spkr: speaker@0,0 { 836 compatible = "sdw20217020400"; 841 compatible = "sdw20217020400"; 837 reg = <0 0>; 842 reg = <0 0>; 838 pinctrl-names = "default"; 843 pinctrl-names = "default"; 839 pinctrl-0 = <&spkr_1_sd_n_acti 844 pinctrl-0 = <&spkr_1_sd_n_active>; 840 powerdown-gpios = <&lpass_tlmm 845 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 841 #sound-dai-cells = <0>; 846 #sound-dai-cells = <0>; 842 sound-name-prefix = "SpkrLeft" 847 sound-name-prefix = "SpkrLeft"; 843 vdd-1p8-supply = <&vreg_l15b_1 848 vdd-1p8-supply = <&vreg_l15b_1p8>; 844 vdd-io-supply = <&vreg_l3g_1p2 849 vdd-io-supply = <&vreg_l3g_1p2>; 845 qcom,port-mapping = <1 2 3 7 1 << 846 }; 850 }; 847 851 848 /* WSA8845 */ 852 /* WSA8845 */ 849 right_spkr: speaker@0,1 { 853 right_spkr: speaker@0,1 { 850 compatible = "sdw20217020400"; 854 compatible = "sdw20217020400"; 851 reg = <0 1>; 855 reg = <0 1>; 852 pinctrl-names = "default"; 856 pinctrl-names = "default"; 853 pinctrl-0 = <&spkr_2_sd_n_acti 857 pinctrl-0 = <&spkr_2_sd_n_active>; 854 powerdown-gpios = <&lpass_tlmm 858 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 855 #sound-dai-cells = <0>; 859 #sound-dai-cells = <0>; 856 sound-name-prefix = "SpkrRight 860 sound-name-prefix = "SpkrRight"; 857 vdd-1p8-supply = <&vreg_l15b_1 861 vdd-1p8-supply = <&vreg_l15b_1p8>; 858 vdd-io-supply = <&vreg_l3g_1p2 862 vdd-io-supply = <&vreg_l3g_1p2>; 859 qcom,port-mapping = <4 5 6 7 1 << 860 }; 863 }; 861 }; 864 }; 862 865 863 &swr1 { 866 &swr1 { 864 status = "okay"; 867 status = "okay"; 865 868 866 /* WCD9385 RX */ 869 /* WCD9385 RX */ 867 wcd_rx: codec@0,4 { 870 wcd_rx: codec@0,4 { 868 compatible = "sdw20217010d00"; 871 compatible = "sdw20217010d00"; 869 reg = <0 4>; 872 reg = <0 4>; 870 qcom,rx-port-mapping = <1 2 3 873 qcom,rx-port-mapping = <1 2 3 4 5>; 871 }; 874 }; 872 }; 875 }; 873 876 874 &swr2 { 877 &swr2 { 875 status = "okay"; 878 status = "okay"; 876 879 877 /* WCD9385 TX */ 880 /* WCD9385 TX */ 878 wcd_tx: codec@0,3 { 881 wcd_tx: codec@0,3 { 879 compatible = "sdw20217010d00"; 882 compatible = "sdw20217010d00"; 880 reg = <0 3>; 883 reg = <0 3>; 881 qcom,tx-port-mapping = <2 2 3 884 qcom,tx-port-mapping = <2 2 3 4>; 882 }; 885 }; 883 }; 886 }; 884 887 885 &tlmm { 888 &tlmm { 886 gpio-reserved-ranges = <32 8>; 889 gpio-reserved-ranges = <32 8>; 887 890 888 sde_dsi_active: sde-dsi-active-state { 891 sde_dsi_active: sde-dsi-active-state { 889 pins = "gpio133"; 892 pins = "gpio133"; 890 function = "gpio"; 893 function = "gpio"; 891 drive-strength = <8>; 894 drive-strength = <8>; 892 bias-disable; 895 bias-disable; 893 }; 896 }; 894 897 895 sde_dsi_suspend: sde-dsi-suspend-state 898 sde_dsi_suspend: sde-dsi-suspend-state { 896 pins = "gpio133"; 899 pins = "gpio133"; 897 function = "gpio"; 900 function = "gpio"; 898 drive-strength = <2>; 901 drive-strength = <2>; 899 bias-pull-down; 902 bias-pull-down; 900 }; 903 }; 901 904 902 sde_te_active: sde-te-active-state { 905 sde_te_active: sde-te-active-state { 903 pins = "gpio86"; 906 pins = "gpio86"; 904 function = "mdp_vsync"; 907 function = "mdp_vsync"; 905 drive-strength = <2>; 908 drive-strength = <2>; 906 bias-pull-down; 909 bias-pull-down; 907 }; 910 }; 908 911 909 sde_te_suspend: sde-te-suspend-state { 912 sde_te_suspend: sde-te-suspend-state { 910 pins = "gpio86"; 913 pins = "gpio86"; 911 function = "mdp_vsync"; 914 function = "mdp_vsync"; 912 drive-strength = <2>; 915 drive-strength = <2>; 913 bias-pull-down; 916 bias-pull-down; 914 }; 917 }; 915 918 916 wcd_default: wcd-reset-n-active-state 919 wcd_default: wcd-reset-n-active-state { 917 pins = "gpio108"; 920 pins = "gpio108"; 918 function = "gpio"; 921 function = "gpio"; 919 drive-strength = <16>; 922 drive-strength = <16>; 920 bias-disable; 923 bias-disable; 921 output-low; 924 output-low; 922 }; 925 }; 923 }; 926 }; 924 927 925 &uart7 { 928 &uart7 { 926 status = "okay"; 929 status = "okay"; 927 }; 930 }; 928 931 929 &ufs_mem_hc { 932 &ufs_mem_hc { 930 reset-gpios = <&tlmm 210 GPIO_ACTIVE_L 933 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 931 vcc-supply = <&vreg_l17b_2p5>; 934 vcc-supply = <&vreg_l17b_2p5>; 932 vcc-max-microamp = <1300000>; 935 vcc-max-microamp = <1300000>; 933 vccq-supply = <&vreg_l1g_1p2>; 936 vccq-supply = <&vreg_l1g_1p2>; 934 vccq-max-microamp = <1200000>; 937 vccq-max-microamp = <1200000>; 935 vdd-hba-supply = <&vreg_l3g_1p2>; 938 vdd-hba-supply = <&vreg_l3g_1p2>; 936 939 937 status = "okay"; 940 status = "okay"; 938 }; 941 }; 939 942 940 &ufs_mem_phy { 943 &ufs_mem_phy { 941 vdda-phy-supply = <&vreg_l1d_0p88>; 944 vdda-phy-supply = <&vreg_l1d_0p88>; 942 vdda-pll-supply = <&vreg_l3e_1p2>; 945 vdda-pll-supply = <&vreg_l3e_1p2>; 943 946 944 status = "okay"; 947 status = "okay"; 945 }; 948 }; 946 949 947 &usb_1 { 950 &usb_1 { 948 status = "okay"; 951 status = "okay"; 949 }; 952 }; 950 953 >> 954 &usb_1_dwc3 { >> 955 dr_mode = "otg"; >> 956 usb-role-switch; >> 957 }; >> 958 951 &usb_1_dwc3_hs { 959 &usb_1_dwc3_hs { 952 remote-endpoint = <&pmic_glink_hs_in>; 960 remote-endpoint = <&pmic_glink_hs_in>; 953 }; 961 }; 954 962 >> 963 &usb_1_dwc3_ss { >> 964 remote-endpoint = <&usb_dp_qmpphy_usb_ss_in>; >> 965 }; >> 966 955 &usb_1_hsphy { 967 &usb_1_hsphy { 956 vdd-supply = <&vreg_l1e_0p88>; 968 vdd-supply = <&vreg_l1e_0p88>; 957 vdda12-supply = <&vreg_l3e_1p2>; 969 vdda12-supply = <&vreg_l3e_1p2>; 958 970 959 phys = <&pm8550b_eusb2_repeater>; 971 phys = <&pm8550b_eusb2_repeater>; 960 972 961 status = "okay"; 973 status = "okay"; 962 }; 974 }; 963 975 964 &usb_dp_qmpphy { 976 &usb_dp_qmpphy { 965 vdda-phy-supply = <&vreg_l3e_1p2>; 977 vdda-phy-supply = <&vreg_l3e_1p2>; 966 vdda-pll-supply = <&vreg_l3f_0p91>; 978 vdda-pll-supply = <&vreg_l3f_0p91>; 967 979 >> 980 orientation-switch; >> 981 968 status = "okay"; 982 status = "okay"; 969 }; 983 }; 970 984 >> 985 &usb_dp_qmpphy_dp_in { >> 986 remote-endpoint = <&mdss_dp0_out>; >> 987 }; >> 988 971 &usb_dp_qmpphy_out { 989 &usb_dp_qmpphy_out { 972 remote-endpoint = <&pmic_glink_ss_in>; 990 remote-endpoint = <&pmic_glink_ss_in>; >> 991 }; >> 992 >> 993 &usb_dp_qmpphy_usb_ss_in { >> 994 remote-endpoint = <&usb_1_dwc3_ss>; 973 }; 995 }; 974 996 975 &xo_board { 997 &xo_board { 976 clock-frequency = <76800000>; 998 clock-frequency = <76800000>; 977 }; 999 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.