1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2024 Linaro Limited 3 * Copyright (c) 2024 Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regu 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "sm8550.dtsi" 10 #include "sm8550.dtsi" 11 #include "pm8010.dtsi" 11 #include "pm8010.dtsi" 12 #include "pm8550.dtsi" 12 #include "pm8550.dtsi" 13 #include "pm8550b.dtsi" 13 #include "pm8550b.dtsi" 14 #define PMK8550VE_SID 5 14 #define PMK8550VE_SID 5 15 #include "pm8550ve.dtsi" 15 #include "pm8550ve.dtsi" 16 #include "pm8550vs.dtsi" 16 #include "pm8550vs.dtsi" 17 #include "pmk8550.dtsi" 17 #include "pmk8550.dtsi" 18 #include "pmr735d_a.dtsi" 18 #include "pmr735d_a.dtsi" 19 19 20 / { 20 / { 21 model = "Qualcomm Technologies, Inc. S 21 model = "Qualcomm Technologies, Inc. SM8550 HDK"; 22 compatible = "qcom,sm8550-hdk", "qcom, 22 compatible = "qcom,sm8550-hdk", "qcom,sm8550"; 23 chassis-type = "embedded"; 23 chassis-type = "embedded"; 24 24 25 aliases { 25 aliases { 26 serial0 = &uart7; 26 serial0 = &uart7; 27 serial1 = &uart14; 27 serial1 = &uart14; 28 }; 28 }; 29 29 30 wcd938x: audio-codec { 30 wcd938x: audio-codec { 31 compatible = "qcom,wcd9385-cod 31 compatible = "qcom,wcd9385-codec"; 32 32 33 pinctrl-names = "default"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&wcd_default>; 34 pinctrl-0 = <&wcd_default>; 35 35 36 qcom,micbias1-microvolt = <180 36 qcom,micbias1-microvolt = <1800000>; 37 qcom,micbias2-microvolt = <180 37 qcom,micbias2-microvolt = <1800000>; 38 qcom,micbias3-microvolt = <180 38 qcom,micbias3-microvolt = <1800000>; 39 qcom,micbias4-microvolt = <180 39 qcom,micbias4-microvolt = <1800000>; 40 qcom,mbhc-buttons-vthreshold-m 40 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 41 qcom,mbhc-headset-vthreshold-m 41 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 42 qcom,mbhc-headphone-vthreshold 42 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 43 qcom,rx-device = <&wcd_rx>; 43 qcom,rx-device = <&wcd_rx>; 44 qcom,tx-device = <&wcd_tx>; 44 qcom,tx-device = <&wcd_tx>; 45 45 46 reset-gpios = <&tlmm 108 GPIO_ 46 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 47 47 48 vdd-buck-supply = <&vreg_l15b_ 48 vdd-buck-supply = <&vreg_l15b_1p8>; 49 vdd-rxtx-supply = <&vreg_l15b_ 49 vdd-rxtx-supply = <&vreg_l15b_1p8>; 50 vdd-io-supply = <&vreg_l15b_1p 50 vdd-io-supply = <&vreg_l15b_1p8>; 51 vdd-mic-bias-supply = <&vreg_b 51 vdd-mic-bias-supply = <&vreg_bob1>; 52 52 53 #sound-dai-cells = <1>; 53 #sound-dai-cells = <1>; 54 }; 54 }; 55 55 56 chosen { 56 chosen { 57 stdout-path = "serial0:115200n 57 stdout-path = "serial0:115200n8"; 58 }; 58 }; 59 59 60 hdmi-out { 60 hdmi-out { 61 compatible = "hdmi-connector"; 61 compatible = "hdmi-connector"; 62 type = "a"; 62 type = "a"; 63 63 64 port { 64 port { 65 hdmi_connector_out: en 65 hdmi_connector_out: endpoint { 66 remote-endpoin 66 remote-endpoint = <<9611_out>; 67 }; 67 }; 68 }; 68 }; 69 }; 69 }; 70 70 71 gpio-keys { 71 gpio-keys { 72 compatible = "gpio-keys"; 72 compatible = "gpio-keys"; 73 73 74 pinctrl-0 = <&volume_up_n>; 74 pinctrl-0 = <&volume_up_n>; 75 pinctrl-names = "default"; 75 pinctrl-names = "default"; 76 76 77 key-volume-up { 77 key-volume-up { 78 label = "Volume Up"; 78 label = "Volume Up"; 79 linux,code = <KEY_VOLU 79 linux,code = <KEY_VOLUMEUP>; 80 gpios = <&pm8550_gpios 80 gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>; 81 debounce-interval = <1 81 debounce-interval = <15>; 82 linux,can-disable; 82 linux,can-disable; 83 wakeup-source; 83 wakeup-source; 84 }; 84 }; 85 }; 85 }; 86 86 87 leds { 87 leds { 88 compatible = "gpio-leds"; 88 compatible = "gpio-leds"; 89 89 90 led-0 { 90 led-0 { 91 function = LED_FUNCTIO 91 function = LED_FUNCTION_BLUETOOTH; 92 color = <LED_COLOR_ID_ 92 color = <LED_COLOR_ID_BLUE>; 93 gpios = <&tlmm 159 GPI 93 gpios = <&tlmm 159 GPIO_ACTIVE_HIGH>; 94 linux,default-trigger 94 linux,default-trigger = "bluetooth-power"; 95 default-state = "off"; 95 default-state = "off"; 96 }; 96 }; 97 97 98 led-1 { 98 led-1 { 99 function = LED_FUNCTIO 99 function = LED_FUNCTION_INDICATOR; 100 color = <LED_COLOR_ID_ 100 color = <LED_COLOR_ID_GREEN>; 101 gpios = <&tlmm 160 GPI 101 gpios = <&tlmm 160 GPIO_ACTIVE_HIGH>; 102 default-state = "off"; 102 default-state = "off"; 103 panic-indicator; 103 panic-indicator; 104 }; 104 }; 105 105 106 led-2 { 106 led-2 { 107 function = LED_FUNCTIO 107 function = LED_FUNCTION_WLAN; 108 color = <LED_COLOR_ID_ 108 color = <LED_COLOR_ID_ORANGE>; 109 gpios = <&tlmm 162 GPI 109 gpios = <&tlmm 162 GPIO_ACTIVE_HIGH>; 110 linux,default-trigger 110 linux,default-trigger = "phy0tx"; 111 default-state = "off"; 111 default-state = "off"; 112 }; 112 }; 113 }; 113 }; 114 114 115 pmic-glink { 115 pmic-glink { 116 compatible = "qcom,sm8550-pmic 116 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; 117 #address-cells = <1>; 117 #address-cells = <1>; 118 #size-cells = <0>; 118 #size-cells = <0>; 119 orientation-gpios = <&tlmm 11 119 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>; 120 120 121 connector@0 { 121 connector@0 { 122 compatible = "usb-c-co 122 compatible = "usb-c-connector"; 123 reg = <0>; 123 reg = <0>; 124 power-role = "dual"; 124 power-role = "dual"; 125 data-role = "dual"; 125 data-role = "dual"; 126 126 127 ports { 127 ports { 128 #address-cells 128 #address-cells = <1>; 129 #size-cells = 129 #size-cells = <0>; 130 130 131 port@0 { 131 port@0 { 132 reg = 132 reg = <0>; 133 133 134 pmic_g 134 pmic_glink_hs_in: endpoint { 135 135 remote-endpoint = <&usb_1_dwc3_hs>; 136 }; 136 }; 137 }; 137 }; 138 138 139 port@1 { 139 port@1 { 140 reg = 140 reg = <1>; 141 141 142 pmic_g 142 pmic_glink_ss_in: endpoint { 143 143 remote-endpoint = <&usb_dp_qmpphy_out>; 144 }; 144 }; 145 }; 145 }; 146 146 147 port@2 { 147 port@2 { 148 reg = 148 reg = <2>; 149 149 150 pmic_g 150 pmic_glink_sbu: endpoint { 151 151 remote-endpoint = <&fsa4480_sbu_mux>; 152 }; 152 }; 153 }; 153 }; 154 }; 154 }; 155 }; 155 }; 156 }; 156 }; 157 157 158 lt9611_1v2: regulator-lt9611-1v2 { 158 lt9611_1v2: regulator-lt9611-1v2 { 159 compatible = "regulator-fixed" 159 compatible = "regulator-fixed"; 160 160 161 regulator-name = "LT9611_1V2"; 161 regulator-name = "LT9611_1V2"; 162 regulator-min-microvolt = <120 162 regulator-min-microvolt = <1200000>; 163 regulator-max-microvolt = <120 163 regulator-max-microvolt = <1200000>; 164 164 165 vin-supply = <&vph_pwr>; 165 vin-supply = <&vph_pwr>; 166 gpio = <&tlmm 152 GPIO_ACTIVE_ 166 gpio = <&tlmm 152 GPIO_ACTIVE_HIGH>; 167 167 168 enable-active-high; 168 enable-active-high; 169 }; 169 }; 170 170 171 lt9611_3v3: regulator-lt9611-3v3 { 171 lt9611_3v3: regulator-lt9611-3v3 { 172 compatible = "regulator-fixed" 172 compatible = "regulator-fixed"; 173 173 174 regulator-name = "LT9611_3V3"; 174 regulator-name = "LT9611_3V3"; 175 regulator-min-microvolt = <330 175 regulator-min-microvolt = <3300000>; 176 regulator-max-microvolt = <330 176 regulator-max-microvolt = <3300000>; 177 177 178 vin-supply = <&vreg_bob_3v3>; 178 vin-supply = <&vreg_bob_3v3>; 179 gpio = <&tlmm 6 GPIO_ACTIVE_HI 179 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>; 180 180 181 enable-active-high; 181 enable-active-high; 182 }; 182 }; 183 183 184 vph_pwr: regulator-vph-pwr { 184 vph_pwr: regulator-vph-pwr { 185 compatible = "regulator-fixed" 185 compatible = "regulator-fixed"; 186 186 187 regulator-name = "vph_pwr"; 187 regulator-name = "vph_pwr"; 188 regulator-min-microvolt = <370 188 regulator-min-microvolt = <3700000>; 189 regulator-max-microvolt = <370 189 regulator-max-microvolt = <3700000>; 190 regulator-always-on; 190 regulator-always-on; 191 regulator-boot-on; 191 regulator-boot-on; 192 }; 192 }; 193 193 194 vreg_bob_3v3: regulator-vreg-bob-3v3 { 194 vreg_bob_3v3: regulator-vreg-bob-3v3 { 195 compatible = "regulator-fixed" 195 compatible = "regulator-fixed"; 196 196 197 regulator-name = "VREG_BOB_3P3 197 regulator-name = "VREG_BOB_3P3"; 198 regulator-min-microvolt = <330 198 regulator-min-microvolt = <3300000>; 199 regulator-max-microvolt = <330 199 regulator-max-microvolt = <3300000>; 200 200 201 vin-supply = <&vph_pwr>; 201 vin-supply = <&vph_pwr>; 202 }; 202 }; 203 203 204 sound { 204 sound { 205 compatible = "qcom,sm8550-sndc 205 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; 206 model = "SM8550-HDK"; 206 model = "SM8550-HDK"; 207 audio-routing = "SpkrLeft IN", 207 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 208 "SpkrRight IN" 208 "SpkrRight IN", "WSA_SPK2 OUT", 209 "IN1_HPHL", "H 209 "IN1_HPHL", "HPHL_OUT", 210 "IN2_HPHR", "H 210 "IN2_HPHR", "HPHR_OUT", 211 "AMIC1", "MIC 211 "AMIC1", "MIC BIAS1", 212 "AMIC2", "MIC 212 "AMIC2", "MIC BIAS2", 213 "AMIC5", "MIC 213 "AMIC5", "MIC BIAS4", 214 "TX SWR_INPUT0 214 "TX SWR_INPUT0", "ADC1_OUTPUT", 215 "TX SWR_INPUT1 215 "TX SWR_INPUT1", "ADC2_OUTPUT", 216 "TX SWR_INPUT1 216 "TX SWR_INPUT1", "ADC4_OUTPUT"; 217 217 218 wcd-playback-dai-link { 218 wcd-playback-dai-link { 219 link-name = "WCD Playb 219 link-name = "WCD Playback"; 220 220 221 cpu { 221 cpu { 222 sound-dai = <& 222 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 223 }; 223 }; 224 224 225 codec { 225 codec { 226 sound-dai = <& 226 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; 227 }; 227 }; 228 228 229 platform { 229 platform { 230 sound-dai = <& 230 sound-dai = <&q6apm>; 231 }; 231 }; 232 }; 232 }; 233 233 234 wcd-capture-dai-link { 234 wcd-capture-dai-link { 235 link-name = "WCD Captu 235 link-name = "WCD Capture"; 236 236 237 cpu { 237 cpu { 238 sound-dai = <& 238 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 239 }; 239 }; 240 240 241 codec { 241 codec { 242 sound-dai = <& 242 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; 243 }; 243 }; 244 244 245 platform { 245 platform { 246 sound-dai = <& 246 sound-dai = <&q6apm>; 247 }; 247 }; 248 }; 248 }; 249 249 250 wsa-dai-link { 250 wsa-dai-link { 251 link-name = "WSA Playb 251 link-name = "WSA Playback"; 252 252 253 cpu { 253 cpu { 254 sound-dai = <& 254 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 255 }; 255 }; 256 256 257 codec { 257 codec { 258 sound-dai = <& 258 sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; 259 }; 259 }; 260 260 261 platform { 261 platform { 262 sound-dai = <& 262 sound-dai = <&q6apm>; 263 }; 263 }; 264 }; 264 }; 265 265 266 va-dai-link { 266 va-dai-link { 267 link-name = "VA Captur 267 link-name = "VA Capture"; 268 268 269 cpu { 269 cpu { 270 sound-dai = <& 270 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 271 }; 271 }; 272 272 273 codec { 273 codec { 274 sound-dai = <& 274 sound-dai = <&lpass_vamacro 0>; 275 }; 275 }; 276 276 277 platform { 277 platform { 278 sound-dai = <& 278 sound-dai = <&q6apm>; 279 }; 279 }; 280 }; 280 }; 281 }; 281 }; 282 << 283 wcn7850-pmu { << 284 compatible = "qcom,wcn7850-pmu << 285 << 286 pinctrl-names = "default"; << 287 pinctrl-0 = <&wlan_en>, <&bt_d << 288 << 289 wlan-enable-gpios = <&tlmm 80 << 290 bt-enable-gpios = <&tlmm 81 GP << 291 << 292 vdd-supply = <&vreg_s5g_0p85>; << 293 vddio-supply = <&vreg_l15b_1p8 << 294 vddaon-supply = <&vreg_s2g_0p8 << 295 vdddig-supply = <&vreg_s4e_0p9 << 296 vddrfa1p2-supply = <&vreg_s4g_ << 297 vddrfa1p8-supply = <&vreg_s6g_ << 298 << 299 regulators { << 300 vreg_pmu_rfa_cmn: ldo0 << 301 regulator-name << 302 }; << 303 << 304 vreg_pmu_aon_0p59: ldo << 305 regulator-name << 306 }; << 307 << 308 vreg_pmu_wlcx_0p8: ldo << 309 regulator-name << 310 }; << 311 << 312 vreg_pmu_wlmx_0p85: ld << 313 regulator-name << 314 }; << 315 << 316 vreg_pmu_btcmx_0p85: l << 317 regulator-name << 318 }; << 319 << 320 vreg_pmu_rfa_0p8: ldo5 << 321 regulator-name << 322 }; << 323 << 324 vreg_pmu_rfa_1p2: ldo6 << 325 regulator-name << 326 }; << 327 << 328 vreg_pmu_rfa_1p8: ldo7 << 329 regulator-name << 330 }; << 331 << 332 vreg_pmu_pcie_0p9: ldo << 333 regulator-name << 334 }; << 335 << 336 vreg_pmu_pcie_1p8: ldo << 337 regulator-name << 338 }; << 339 }; << 340 }; << 341 }; 282 }; 342 283 343 &apps_rsc { 284 &apps_rsc { 344 regulators-0 { 285 regulators-0 { 345 compatible = "qcom,pm8550-rpmh 286 compatible = "qcom,pm8550-rpmh-regulators"; 346 287 347 vdd-bob1-supply = <&vph_pwr>; 288 vdd-bob1-supply = <&vph_pwr>; 348 vdd-bob2-supply = <&vph_pwr>; 289 vdd-bob2-supply = <&vph_pwr>; 349 vdd-l1-l4-l10-supply = <&vreg_ 290 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>; 350 vdd-l2-l13-l14-supply = <&vreg 291 vdd-l2-l13-l14-supply = <&vreg_bob1>; 351 vdd-l3-supply = <&vreg_s4g_1p2 292 vdd-l3-supply = <&vreg_s4g_1p25>; 352 vdd-l5-l16-supply = <&vreg_bob 293 vdd-l5-l16-supply = <&vreg_bob1>; 353 vdd-l6-l7-supply = <&vreg_bob1 294 vdd-l6-l7-supply = <&vreg_bob1>; 354 vdd-l8-l9-supply = <&vreg_bob1 295 vdd-l8-l9-supply = <&vreg_bob1>; 355 vdd-l11-supply = <&vreg_s4g_1p 296 vdd-l11-supply = <&vreg_s4g_1p25>; 356 vdd-l12-supply = <&vreg_s6g_1p 297 vdd-l12-supply = <&vreg_s6g_1p86>; 357 vdd-l15-supply = <&vreg_s6g_1p 298 vdd-l15-supply = <&vreg_s6g_1p86>; 358 vdd-l17-supply = <&vreg_bob2>; 299 vdd-l17-supply = <&vreg_bob2>; 359 300 360 qcom,pmic-id = "b"; 301 qcom,pmic-id = "b"; 361 302 362 vreg_bob1: bob1 { 303 vreg_bob1: bob1 { 363 regulator-name = "vreg 304 regulator-name = "vreg_bob1"; 364 regulator-min-microvol 305 regulator-min-microvolt = <3296000>; 365 regulator-max-microvol 306 regulator-max-microvolt = <3960000>; 366 regulator-initial-mode 307 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 367 }; 308 }; 368 309 369 vreg_bob2: bob2 { 310 vreg_bob2: bob2 { 370 regulator-name = "vreg 311 regulator-name = "vreg_bob2"; 371 regulator-min-microvol 312 regulator-min-microvolt = <2720000>; 372 regulator-max-microvol 313 regulator-max-microvolt = <3960000>; 373 regulator-initial-mode 314 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 374 }; 315 }; 375 316 376 vreg_l1b_1p8: ldo1 { 317 vreg_l1b_1p8: ldo1 { 377 regulator-name = "vreg 318 regulator-name = "vreg_l1b_1p8"; 378 regulator-min-microvol 319 regulator-min-microvolt = <1800000>; 379 regulator-max-microvol 320 regulator-max-microvolt = <1800000>; 380 regulator-initial-mode 321 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 381 regulator-allow-set-lo 322 regulator-allow-set-load; 382 regulator-allowed-mode 323 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 383 324 RPMH_REGULATOR_MODE_HPM>; 384 }; 325 }; 385 326 386 vreg_l2b_3p0: ldo2 { 327 vreg_l2b_3p0: ldo2 { 387 regulator-name = "vreg 328 regulator-name = "vreg_l2b_3p0"; 388 regulator-min-microvol 329 regulator-min-microvolt = <3008000>; 389 regulator-max-microvol 330 regulator-max-microvolt = <3008000>; 390 regulator-initial-mode 331 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391 regulator-allow-set-lo 332 regulator-allow-set-load; 392 regulator-allowed-mode 333 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 393 334 RPMH_REGULATOR_MODE_HPM>; 394 }; 335 }; 395 336 396 vreg_l5b_3p1: ldo5 { 337 vreg_l5b_3p1: ldo5 { 397 regulator-name = "vreg 338 regulator-name = "vreg_l5b_3p1"; 398 regulator-min-microvol 339 regulator-min-microvolt = <3104000>; 399 regulator-max-microvol 340 regulator-max-microvolt = <3104000>; 400 regulator-initial-mode 341 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 regulator-allow-set-lo 342 regulator-allow-set-load; 402 regulator-allowed-mode 343 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 403 344 RPMH_REGULATOR_MODE_HPM>; 404 }; 345 }; 405 346 406 vreg_l6b_1p8: ldo6 { 347 vreg_l6b_1p8: ldo6 { 407 regulator-name = "vreg 348 regulator-name = "vreg_l6b_1p8"; 408 regulator-min-microvol 349 regulator-min-microvolt = <1800000>; 409 regulator-max-microvol 350 regulator-max-microvolt = <3008000>; 410 regulator-initial-mode 351 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 411 regulator-allow-set-lo 352 regulator-allow-set-load; 412 regulator-allowed-mode 353 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 413 354 RPMH_REGULATOR_MODE_HPM>; 414 }; 355 }; 415 356 416 vreg_l7b_1p8: ldo7 { 357 vreg_l7b_1p8: ldo7 { 417 regulator-name = "vreg 358 regulator-name = "vreg_l7b_1p8"; 418 regulator-min-microvol 359 regulator-min-microvolt = <1800000>; 419 regulator-max-microvol 360 regulator-max-microvolt = <3008000>; 420 regulator-initial-mode 361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 421 regulator-allow-set-lo 362 regulator-allow-set-load; 422 regulator-allowed-mode 363 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 423 364 RPMH_REGULATOR_MODE_HPM>; 424 }; 365 }; 425 366 426 vreg_l8b_1p8: ldo8 { 367 vreg_l8b_1p8: ldo8 { 427 regulator-name = "vreg 368 regulator-name = "vreg_l8b_1p8"; 428 regulator-min-microvol 369 regulator-min-microvolt = <1800000>; 429 regulator-max-microvol 370 regulator-max-microvolt = <3008000>; 430 regulator-initial-mode 371 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 431 regulator-allow-set-lo 372 regulator-allow-set-load; 432 regulator-allowed-mode 373 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 433 374 RPMH_REGULATOR_MODE_HPM>; 434 }; 375 }; 435 376 436 vreg_l9b_2p9: ldo9 { 377 vreg_l9b_2p9: ldo9 { 437 regulator-name = "vreg 378 regulator-name = "vreg_l9b_2p9"; 438 regulator-min-microvol 379 regulator-min-microvolt = <2960000>; 439 regulator-max-microvol 380 regulator-max-microvolt = <3008000>; 440 regulator-initial-mode 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 441 regulator-allow-set-lo 382 regulator-allow-set-load; 442 regulator-allowed-mode 383 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 443 384 RPMH_REGULATOR_MODE_HPM>; 444 }; 385 }; 445 386 446 vreg_l11b_1p2: ldo11 { 387 vreg_l11b_1p2: ldo11 { 447 regulator-name = "vreg 388 regulator-name = "vreg_l11b_1p2"; 448 regulator-min-microvol 389 regulator-min-microvolt = <1200000>; 449 regulator-max-microvol 390 regulator-max-microvolt = <1504000>; 450 regulator-initial-mode 391 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 451 regulator-allow-set-lo 392 regulator-allow-set-load; 452 regulator-allowed-mode 393 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 453 394 RPMH_REGULATOR_MODE_HPM>; 454 }; 395 }; 455 396 456 vreg_l12b_1p8: ldo12 { 397 vreg_l12b_1p8: ldo12 { 457 regulator-name = "vreg 398 regulator-name = "vreg_l12b_1p8"; 458 regulator-min-microvol 399 regulator-min-microvolt = <1800000>; 459 regulator-max-microvol 400 regulator-max-microvolt = <1800000>; 460 regulator-initial-mode 401 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 461 regulator-allow-set-lo 402 regulator-allow-set-load; 462 regulator-allowed-mode 403 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 463 404 RPMH_REGULATOR_MODE_HPM>; 464 }; 405 }; 465 406 466 vreg_l13b_3p0: ldo13 { 407 vreg_l13b_3p0: ldo13 { 467 regulator-name = "vreg 408 regulator-name = "vreg_l13b_3p0"; 468 regulator-min-microvol 409 regulator-min-microvolt = <3000000>; 469 regulator-max-microvol 410 regulator-max-microvolt = <3000000>; 470 regulator-initial-mode 411 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 471 regulator-allow-set-lo 412 regulator-allow-set-load; 472 regulator-allowed-mode 413 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 473 414 RPMH_REGULATOR_MODE_HPM>; 474 }; 415 }; 475 416 476 vreg_l14b_3p2: ldo14 { 417 vreg_l14b_3p2: ldo14 { 477 regulator-name = "vreg 418 regulator-name = "vreg_l14b_3p2"; 478 regulator-min-microvol 419 regulator-min-microvolt = <3200000>; 479 regulator-max-microvol 420 regulator-max-microvolt = <3200000>; 480 regulator-initial-mode 421 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 481 regulator-allow-set-lo 422 regulator-allow-set-load; 482 regulator-allowed-mode 423 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 483 424 RPMH_REGULATOR_MODE_HPM>; 484 }; 425 }; 485 426 486 vreg_l15b_1p8: ldo15 { 427 vreg_l15b_1p8: ldo15 { 487 regulator-name = "vreg 428 regulator-name = "vreg_l15b_1p8"; 488 regulator-min-microvol 429 regulator-min-microvolt = <1800000>; 489 regulator-max-microvol 430 regulator-max-microvolt = <1800000>; 490 regulator-initial-mode 431 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 491 regulator-allow-set-lo 432 regulator-allow-set-load; 492 regulator-allowed-mode 433 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 493 434 RPMH_REGULATOR_MODE_HPM>; 494 }; 435 }; 495 436 496 vreg_l16b_2p8: ldo16 { 437 vreg_l16b_2p8: ldo16 { 497 regulator-name = "vreg 438 regulator-name = "vreg_l16b_2p8"; 498 regulator-min-microvol 439 regulator-min-microvolt = <2800000>; 499 regulator-max-microvol 440 regulator-max-microvolt = <2800000>; 500 regulator-initial-mode 441 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 501 regulator-allow-set-lo 442 regulator-allow-set-load; 502 regulator-allowed-mode 443 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 503 444 RPMH_REGULATOR_MODE_HPM>; 504 }; 445 }; 505 446 506 vreg_l17b_2p5: ldo17 { 447 vreg_l17b_2p5: ldo17 { 507 regulator-name = "vreg 448 regulator-name = "vreg_l17b_2p5"; 508 regulator-min-microvol 449 regulator-min-microvolt = <2504000>; 509 regulator-max-microvol 450 regulator-max-microvolt = <2504000>; 510 regulator-initial-mode 451 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 511 regulator-allow-set-lo 452 regulator-allow-set-load; 512 regulator-allowed-mode 453 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 513 454 RPMH_REGULATOR_MODE_HPM>; 514 }; 455 }; 515 }; 456 }; 516 457 517 regulators-1 { 458 regulators-1 { 518 compatible = "qcom,pm8550vs-rp 459 compatible = "qcom,pm8550vs-rpmh-regulators"; 519 460 520 vdd-l1-supply = <&vreg_s4g_1p2 461 vdd-l1-supply = <&vreg_s4g_1p25>; 521 vdd-l2-supply = <&vreg_s4e_0p9 462 vdd-l2-supply = <&vreg_s4e_0p95>; 522 vdd-l3-supply = <&vreg_s4e_0p9 463 vdd-l3-supply = <&vreg_s4e_0p95>; 523 464 524 qcom,pmic-id = "c"; 465 qcom,pmic-id = "c"; 525 466 526 vreg_l3c_0p9: ldo3 { 467 vreg_l3c_0p9: ldo3 { 527 regulator-name = "vreg 468 regulator-name = "vreg_l3c_0p9"; 528 regulator-min-microvol 469 regulator-min-microvolt = <880000>; 529 regulator-max-microvol 470 regulator-max-microvolt = <912000>; 530 regulator-initial-mode 471 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 531 regulator-allow-set-lo 472 regulator-allow-set-load; 532 regulator-allowed-mode 473 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 533 474 RPMH_REGULATOR_MODE_HPM>; 534 }; 475 }; 535 }; 476 }; 536 477 537 regulators-2 { 478 regulators-2 { 538 compatible = "qcom,pm8550vs-rp 479 compatible = "qcom,pm8550vs-rpmh-regulators"; 539 480 540 vdd-l1-supply = <&vreg_s4e_0p9 481 vdd-l1-supply = <&vreg_s4e_0p95>; 541 vdd-l2-supply = <&vreg_s4e_0p9 482 vdd-l2-supply = <&vreg_s4e_0p95>; 542 vdd-l3-supply = <&vreg_s4e_0p9 483 vdd-l3-supply = <&vreg_s4e_0p95>; 543 484 544 qcom,pmic-id = "d"; 485 qcom,pmic-id = "d"; 545 486 546 vreg_l1d_0p88: ldo1 { 487 vreg_l1d_0p88: ldo1 { 547 regulator-name = "vreg 488 regulator-name = "vreg_l1d_0p88"; 548 regulator-min-microvol 489 regulator-min-microvolt = <880000>; 549 regulator-max-microvol 490 regulator-max-microvolt = <920000>; 550 regulator-initial-mode 491 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 551 regulator-allow-set-lo 492 regulator-allow-set-load; 552 regulator-allowed-mode 493 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 553 494 RPMH_REGULATOR_MODE_HPM>; 554 }; 495 }; 555 496 556 /* ldo2 supplies SM8550 VDD_LP 497 /* ldo2 supplies SM8550 VDD_LPI_MX */ 557 }; 498 }; 558 499 559 regulators-3 { 500 regulators-3 { 560 compatible = "qcom,pm8550vs-rp 501 compatible = "qcom,pm8550vs-rpmh-regulators"; 561 502 562 vdd-l1-supply = <&vreg_s4e_0p9 503 vdd-l1-supply = <&vreg_s4e_0p95>; 563 vdd-l2-supply = <&vreg_s4e_0p9 504 vdd-l2-supply = <&vreg_s4e_0p95>; 564 vdd-l3-supply = <&vreg_s4g_1p2 505 vdd-l3-supply = <&vreg_s4g_1p25>; 565 vdd-s4-supply = <&vph_pwr>; 506 vdd-s4-supply = <&vph_pwr>; 566 vdd-s5-supply = <&vph_pwr>; 507 vdd-s5-supply = <&vph_pwr>; 567 508 568 qcom,pmic-id = "e"; 509 qcom,pmic-id = "e"; 569 510 570 vreg_s4e_0p95: smps4 { 511 vreg_s4e_0p95: smps4 { 571 regulator-name = "vreg 512 regulator-name = "vreg_s4e_0p95"; 572 regulator-min-microvol 513 regulator-min-microvolt = <904000>; 573 regulator-max-microvol 514 regulator-max-microvolt = <984000>; 574 regulator-initial-mode 515 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 575 }; 516 }; 576 517 577 vreg_s5e_1p08: smps5 { 518 vreg_s5e_1p08: smps5 { 578 regulator-name = "vreg 519 regulator-name = "vreg_s5e_1p08"; 579 regulator-min-microvol 520 regulator-min-microvolt = <1080000>; 580 regulator-max-microvol 521 regulator-max-microvolt = <1120000>; 581 regulator-initial-mode 522 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 582 }; 523 }; 583 524 584 vreg_l1e_0p88: ldo1 { 525 vreg_l1e_0p88: ldo1 { 585 regulator-name = "vreg 526 regulator-name = "vreg_l1e_0p88"; 586 regulator-min-microvol 527 regulator-min-microvolt = <880000>; 587 regulator-max-microvol 528 regulator-max-microvolt = <880000>; 588 regulator-initial-mode 529 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 589 regulator-allow-set-lo 530 regulator-allow-set-load; 590 regulator-allowed-mode 531 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 591 532 RPMH_REGULATOR_MODE_HPM>; 592 }; 533 }; 593 534 594 vreg_l2e_0p9: ldo2 { 535 vreg_l2e_0p9: ldo2 { 595 regulator-name = "vreg 536 regulator-name = "vreg_l2e_0p9"; 596 regulator-min-microvol 537 regulator-min-microvolt = <904000>; 597 regulator-max-microvol 538 regulator-max-microvolt = <970000>; 598 regulator-initial-mode 539 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 599 regulator-allow-set-lo 540 regulator-allow-set-load; 600 regulator-allowed-mode 541 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 601 542 RPMH_REGULATOR_MODE_HPM>; 602 }; 543 }; 603 544 604 vreg_l3e_1p2: ldo3 { 545 vreg_l3e_1p2: ldo3 { 605 regulator-name = "vreg 546 regulator-name = "vreg_l3e_1p2"; 606 regulator-min-microvol 547 regulator-min-microvolt = <1200000>; 607 regulator-max-microvol 548 regulator-max-microvolt = <1200000>; 608 regulator-initial-mode 549 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 609 regulator-allow-set-lo 550 regulator-allow-set-load; 610 regulator-allowed-mode 551 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 611 552 RPMH_REGULATOR_MODE_HPM>; 612 }; 553 }; 613 }; 554 }; 614 555 615 regulators-4 { 556 regulators-4 { 616 compatible = "qcom,pm8550ve-rp 557 compatible = "qcom,pm8550ve-rpmh-regulators"; 617 558 618 vdd-l1-supply = <&vreg_s4e_0p9 559 vdd-l1-supply = <&vreg_s4e_0p95>; 619 vdd-l2-supply = <&vreg_s4e_0p9 560 vdd-l2-supply = <&vreg_s4e_0p95>; 620 vdd-l3-supply = <&vreg_s4e_0p9 561 vdd-l3-supply = <&vreg_s4e_0p95>; 621 vdd-s4-supply = <&vph_pwr>; 562 vdd-s4-supply = <&vph_pwr>; 622 563 623 qcom,pmic-id = "f"; 564 qcom,pmic-id = "f"; 624 565 625 vreg_s4f_0p5: smps4 { 566 vreg_s4f_0p5: smps4 { 626 regulator-name = "vreg 567 regulator-name = "vreg_s4f_0p5"; 627 regulator-min-microvol 568 regulator-min-microvolt = <500000>; 628 regulator-max-microvol 569 regulator-max-microvolt = <700000>; 629 regulator-initial-mode 570 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 630 }; 571 }; 631 572 632 vreg_l1f_0p9: ldo1 { 573 vreg_l1f_0p9: ldo1 { 633 regulator-name = "vreg 574 regulator-name = "vreg_l1f_0p9"; 634 regulator-min-microvol 575 regulator-min-microvolt = <912000>; 635 regulator-max-microvol 576 regulator-max-microvolt = <912000>; 636 regulator-initial-mode 577 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 637 regulator-allow-set-lo 578 regulator-allow-set-load; 638 regulator-allowed-mode 579 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 639 580 RPMH_REGULATOR_MODE_HPM>; 640 }; 581 }; 641 582 642 vreg_l2f_0p88: ldo2 { 583 vreg_l2f_0p88: ldo2 { 643 regulator-name = "vreg 584 regulator-name = "vreg_l2f_0p88"; 644 regulator-min-microvol 585 regulator-min-microvolt = <880000>; 645 regulator-max-microvol 586 regulator-max-microvolt = <912000>; 646 regulator-initial-mode 587 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 647 regulator-allow-set-lo 588 regulator-allow-set-load; 648 regulator-allowed-mode 589 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 649 590 RPMH_REGULATOR_MODE_HPM>; 650 }; 591 }; 651 592 652 vreg_l3f_0p88: ldo3 { 593 vreg_l3f_0p88: ldo3 { 653 regulator-name = "vreg 594 regulator-name = "vreg_l3f_0p88"; 654 regulator-min-microvol 595 regulator-min-microvolt = <880000>; 655 regulator-max-microvol 596 regulator-max-microvolt = <912000>; 656 regulator-initial-mode 597 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 657 regulator-allow-set-lo 598 regulator-allow-set-load; 658 regulator-allowed-mode 599 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 659 600 RPMH_REGULATOR_MODE_HPM>; 660 }; 601 }; 661 }; 602 }; 662 603 663 regulators-5 { 604 regulators-5 { 664 compatible = "qcom,pm8550vs-rp 605 compatible = "qcom,pm8550vs-rpmh-regulators"; 665 606 666 vdd-l1-supply = <&vreg_s4g_1p2 607 vdd-l1-supply = <&vreg_s4g_1p25>; 667 vdd-l2-supply = <&vreg_s4g_1p2 608 vdd-l2-supply = <&vreg_s4g_1p25>; 668 vdd-l3-supply = <&vreg_s4g_1p2 609 vdd-l3-supply = <&vreg_s4g_1p25>; 669 vdd-s1-supply = <&vph_pwr>; 610 vdd-s1-supply = <&vph_pwr>; 670 vdd-s2-supply = <&vph_pwr>; 611 vdd-s2-supply = <&vph_pwr>; 671 vdd-s3-supply = <&vph_pwr>; 612 vdd-s3-supply = <&vph_pwr>; 672 vdd-s4-supply = <&vph_pwr>; 613 vdd-s4-supply = <&vph_pwr>; 673 vdd-s5-supply = <&vph_pwr>; 614 vdd-s5-supply = <&vph_pwr>; 674 vdd-s6-supply = <&vph_pwr>; 615 vdd-s6-supply = <&vph_pwr>; 675 616 676 qcom,pmic-id = "g"; 617 qcom,pmic-id = "g"; 677 618 678 vreg_s1g_1p25: smps1 { 619 vreg_s1g_1p25: smps1 { 679 regulator-name = "vreg 620 regulator-name = "vreg_s1g_1p25"; 680 regulator-min-microvol 621 regulator-min-microvolt = <1200000>; 681 regulator-max-microvol 622 regulator-max-microvolt = <1300000>; 682 regulator-initial-mode 623 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 683 }; 624 }; 684 625 685 vreg_s2g_0p85: smps2 { 626 vreg_s2g_0p85: smps2 { 686 regulator-name = "vreg 627 regulator-name = "vreg_s2g_0p85"; 687 regulator-min-microvol 628 regulator-min-microvolt = <800000>; 688 regulator-max-microvol 629 regulator-max-microvolt = <1000000>; 689 regulator-initial-mode 630 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 690 }; 631 }; 691 632 692 vreg_s3g_0p8: smps3 { 633 vreg_s3g_0p8: smps3 { 693 regulator-name = "vreg 634 regulator-name = "vreg_s3g_0p8"; 694 regulator-min-microvol 635 regulator-min-microvolt = <300000>; 695 regulator-max-microvol 636 regulator-max-microvolt = <1004000>; 696 regulator-initial-mode 637 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 697 }; 638 }; 698 639 699 vreg_s4g_1p25: smps4 { 640 vreg_s4g_1p25: smps4 { 700 regulator-name = "vreg 641 regulator-name = "vreg_s4g_1p25"; 701 regulator-min-microvol 642 regulator-min-microvolt = <1200000>; 702 regulator-max-microvol 643 regulator-max-microvolt = <1352000>; 703 regulator-initial-mode 644 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 704 }; 645 }; 705 646 706 vreg_s5g_0p85: smps5 { 647 vreg_s5g_0p85: smps5 { 707 regulator-name = "vreg 648 regulator-name = "vreg_s5g_0p85"; 708 regulator-min-microvol 649 regulator-min-microvolt = <500000>; 709 regulator-max-microvol 650 regulator-max-microvolt = <1004000>; 710 regulator-initial-mode 651 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 711 }; 652 }; 712 653 713 vreg_s6g_1p86: smps6 { 654 vreg_s6g_1p86: smps6 { 714 regulator-name = "vreg 655 regulator-name = "vreg_s6g_1p86"; 715 regulator-min-microvol 656 regulator-min-microvolt = <1800000>; 716 regulator-max-microvol 657 regulator-max-microvolt = <2000000>; 717 regulator-initial-mode 658 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 718 }; 659 }; 719 660 720 vreg_l1g_1p2: ldo1 { 661 vreg_l1g_1p2: ldo1 { 721 regulator-name = "vreg 662 regulator-name = "vreg_l1g_1p2"; 722 regulator-min-microvol 663 regulator-min-microvolt = <1200000>; 723 regulator-max-microvol 664 regulator-max-microvolt = <1200000>; 724 regulator-initial-mode 665 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 725 regulator-allow-set-lo 666 regulator-allow-set-load; 726 regulator-allowed-mode 667 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 727 668 RPMH_REGULATOR_MODE_HPM>; 728 }; 669 }; 729 670 730 vreg_l3g_1p2: ldo3 { 671 vreg_l3g_1p2: ldo3 { 731 regulator-name = "vreg 672 regulator-name = "vreg_l3g_1p2"; 732 regulator-min-microvol 673 regulator-min-microvolt = <1200000>; 733 regulator-max-microvol 674 regulator-max-microvolt = <1200000>; 734 regulator-initial-mode 675 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 735 regulator-allow-set-lo 676 regulator-allow-set-load; 736 regulator-allowed-mode 677 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 737 678 RPMH_REGULATOR_MODE_HPM>; 738 }; 679 }; 739 }; 680 }; 740 681 741 regulators-6 { 682 regulators-6 { 742 compatible = "qcom,pm8010-rpmh 683 compatible = "qcom,pm8010-rpmh-regulators"; 743 684 744 vdd-l1-l2-supply = <&vreg_s4g_ 685 vdd-l1-l2-supply = <&vreg_s4g_1p25>; 745 vdd-l3-l4-supply = <&vreg_bob2 686 vdd-l3-l4-supply = <&vreg_bob2>; 746 vdd-l5-supply = <&vreg_s6g_1p8 687 vdd-l5-supply = <&vreg_s6g_1p86>; 747 vdd-l6-supply = <&vreg_s6g_1p8 688 vdd-l6-supply = <&vreg_s6g_1p86>; 748 vdd-l7-supply = <&vreg_bob1>; 689 vdd-l7-supply = <&vreg_bob1>; 749 690 750 qcom,pmic-id = "m"; 691 qcom,pmic-id = "m"; 751 692 752 vreg_l1m_1p056: ldo1 { 693 vreg_l1m_1p056: ldo1 { 753 regulator-name = "vreg 694 regulator-name = "vreg_l1m_1p056"; 754 regulator-min-microvol 695 regulator-min-microvolt = <1056000>; 755 regulator-max-microvol 696 regulator-max-microvolt = <1056000>; 756 regulator-initial-mode 697 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 757 regulator-allow-set-lo 698 regulator-allow-set-load; 758 regulator-allowed-mode 699 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 759 700 RPMH_REGULATOR_MODE_HPM>; 760 }; 701 }; 761 702 762 vreg_l2m_1p056: ldo2 { 703 vreg_l2m_1p056: ldo2 { 763 regulator-name = "vreg 704 regulator-name = "vreg_l2m_1p056"; 764 regulator-min-microvol 705 regulator-min-microvolt = <1056000>; 765 regulator-max-microvol 706 regulator-max-microvolt = <1056000>; 766 regulator-initial-mode 707 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 767 regulator-allow-set-lo 708 regulator-allow-set-load; 768 regulator-allowed-mode 709 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 769 710 RPMH_REGULATOR_MODE_HPM>; 770 }; 711 }; 771 712 772 vreg_l3m_2p8: ldo3 { 713 vreg_l3m_2p8: ldo3 { 773 regulator-name = "vreg 714 regulator-name = "vreg_l3m_2p8"; 774 regulator-min-microvol 715 regulator-min-microvolt = <2800000>; 775 regulator-max-microvol 716 regulator-max-microvolt = <2800000>; 776 regulator-initial-mode 717 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 777 }; 718 }; 778 719 779 vreg_l4m_2p8: ldo4 { 720 vreg_l4m_2p8: ldo4 { 780 regulator-name = "vreg 721 regulator-name = "vreg_l4m_2p8"; 781 regulator-min-microvol 722 regulator-min-microvolt = <2800000>; 782 regulator-max-microvol 723 regulator-max-microvolt = <2800000>; 783 regulator-initial-mode 724 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 784 }; 725 }; 785 726 786 vreg_l5m_1p8: ldo5 { 727 vreg_l5m_1p8: ldo5 { 787 regulator-name = "vreg 728 regulator-name = "vreg_l5m_1p8"; 788 regulator-min-microvol 729 regulator-min-microvolt = <1800000>; 789 regulator-max-microvol 730 regulator-max-microvolt = <1800000>; 790 regulator-initial-mode 731 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 791 }; 732 }; 792 733 793 vreg_l6m_1p8: ldo6 { 734 vreg_l6m_1p8: ldo6 { 794 regulator-name = "vreg 735 regulator-name = "vreg_l6m_1p8"; 795 regulator-min-microvol 736 regulator-min-microvolt = <1800000>; 796 regulator-max-microvol 737 regulator-max-microvolt = <1800000>; 797 regulator-initial-mode 738 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 798 }; 739 }; 799 740 800 vreg_l7m_2p9: ldo7 { 741 vreg_l7m_2p9: ldo7 { 801 regulator-name = "vreg 742 regulator-name = "vreg_l7m_2p9"; 802 regulator-min-microvol 743 regulator-min-microvolt = <2800000>; 803 regulator-max-microvol 744 regulator-max-microvolt = <2904000>; 804 regulator-initial-mode 745 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 805 }; 746 }; 806 }; 747 }; 807 748 808 regulators-7 { 749 regulators-7 { 809 compatible = "qcom,pm8010-rpmh 750 compatible = "qcom,pm8010-rpmh-regulators"; 810 751 811 vdd-l1-l2-supply = <&vreg_s4g_ 752 vdd-l1-l2-supply = <&vreg_s4g_1p25>; 812 vdd-l3-l4-supply = <&vreg_bob2 753 vdd-l3-l4-supply = <&vreg_bob2>; 813 vdd-l5-supply = <&vreg_s6g_1p8 754 vdd-l5-supply = <&vreg_s6g_1p86>; 814 vdd-l6-supply = <&vreg_bob1>; 755 vdd-l6-supply = <&vreg_bob1>; 815 vdd-l7-supply = <&vreg_bob1>; 756 vdd-l7-supply = <&vreg_bob1>; 816 757 817 qcom,pmic-id = "n"; 758 qcom,pmic-id = "n"; 818 759 819 vreg_l1n_1p1: ldo1 { 760 vreg_l1n_1p1: ldo1 { 820 regulator-name = "vreg 761 regulator-name = "vreg_l1n_1p1"; 821 regulator-min-microvol 762 regulator-min-microvolt = <1104000>; 822 regulator-max-microvol 763 regulator-max-microvolt = <1200000>; 823 regulator-initial-mode 764 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 824 regulator-allow-set-lo 765 regulator-allow-set-load; 825 regulator-allowed-mode 766 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 826 767 RPMH_REGULATOR_MODE_HPM>; 827 }; 768 }; 828 769 829 vreg_l2n_1p1: ldo2 { 770 vreg_l2n_1p1: ldo2 { 830 regulator-name = "vreg 771 regulator-name = "vreg_l2n_1p1"; 831 regulator-min-microvol 772 regulator-min-microvolt = <1104000>; 832 regulator-max-microvol 773 regulator-max-microvolt = <1200000>; 833 regulator-initial-mode 774 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 834 regulator-allow-set-lo 775 regulator-allow-set-load; 835 regulator-allowed-mode 776 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 836 777 RPMH_REGULATOR_MODE_HPM>; 837 }; 778 }; 838 779 839 vreg_l3n_2p8: ldo3 { 780 vreg_l3n_2p8: ldo3 { 840 regulator-name = "vreg 781 regulator-name = "vreg_l3n_2p8"; 841 regulator-min-microvol 782 regulator-min-microvolt = <2800000>; 842 regulator-max-microvol 783 regulator-max-microvolt = <3000000>; 843 regulator-initial-mode 784 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 844 }; 785 }; 845 786 846 vreg_l4n_2p8: ldo4 { 787 vreg_l4n_2p8: ldo4 { 847 regulator-name = "vreg 788 regulator-name = "vreg_l4n_2p8"; 848 regulator-min-microvol 789 regulator-min-microvolt = <2800000>; 849 regulator-max-microvol 790 regulator-max-microvolt = <3300000>; 850 regulator-initial-mode 791 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 851 }; 792 }; 852 793 853 vreg_l5n_1p8: ldo5 { 794 vreg_l5n_1p8: ldo5 { 854 regulator-name = "vreg 795 regulator-name = "vreg_l5n_1p8"; 855 regulator-min-microvol 796 regulator-min-microvolt = <1800000>; 856 regulator-max-microvol 797 regulator-max-microvolt = <1800000>; 857 regulator-initial-mode 798 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 858 }; 799 }; 859 800 860 vreg_l6n_3p3: ldo6 { 801 vreg_l6n_3p3: ldo6 { 861 regulator-name = "vreg 802 regulator-name = "vreg_l6n_3p3"; 862 regulator-min-microvol 803 regulator-min-microvolt = <2800000>; 863 regulator-max-microvol 804 regulator-max-microvolt = <3304000>; 864 regulator-initial-mode 805 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 865 }; 806 }; 866 807 867 vreg_l7n_2p96: ldo7 { 808 vreg_l7n_2p96: ldo7 { 868 regulator-name = "vreg 809 regulator-name = "vreg_l7n_2p96"; 869 regulator-min-microvol 810 regulator-min-microvolt = <2800000>; 870 regulator-max-microvol 811 regulator-max-microvolt = <2960000>; 871 regulator-initial-mode 812 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 872 }; 813 }; 873 }; 814 }; 874 }; 815 }; 875 816 876 &i2c0 { 817 &i2c0 { 877 clock-frequency = <400000>; 818 clock-frequency = <400000>; 878 status = "okay"; 819 status = "okay"; 879 820 880 lt9611_codec: hdmi-bridge@2b { 821 lt9611_codec: hdmi-bridge@2b { 881 compatible = "lontium,lt9611ux 822 compatible = "lontium,lt9611uxc"; 882 reg = <0x2b>; 823 reg = <0x2b>; 883 824 884 interrupts-extended = <&tlmm 8 825 interrupts-extended = <&tlmm 8 IRQ_TYPE_EDGE_FALLING>; 885 826 886 reset-gpios = <&tlmm 7 GPIO_AC 827 reset-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>; 887 828 888 vdd-supply = <<9611_1v2>; 829 vdd-supply = <<9611_1v2>; 889 vcc-supply = <<9611_3v3>; 830 vcc-supply = <<9611_3v3>; 890 831 891 pinctrl-0 = <<9611_irq_pin>, 832 pinctrl-0 = <<9611_irq_pin>, <<9611_rst_pin>; 892 pinctrl-names = "default"; 833 pinctrl-names = "default"; 893 834 894 ports { 835 ports { 895 #address-cells = <1>; 836 #address-cells = <1>; 896 #size-cells = <0>; 837 #size-cells = <0>; 897 838 898 port@0 { 839 port@0 { 899 reg = <0>; 840 reg = <0>; 900 841 901 lt9611_a: endp 842 lt9611_a: endpoint { 902 remote 843 remote-endpoint = <&mdss_dsi0_out>; 903 }; 844 }; 904 }; 845 }; 905 846 906 port@2 { 847 port@2 { 907 reg = <2>; 848 reg = <2>; 908 849 909 lt9611_out: en 850 lt9611_out: endpoint { 910 remote 851 remote-endpoint = <&hdmi_connector_out>; 911 }; 852 }; 912 }; 853 }; 913 }; 854 }; 914 }; 855 }; 915 }; 856 }; 916 857 917 &i2c_hub_2 { 858 &i2c_hub_2 { 918 status = "okay"; 859 status = "okay"; 919 860 920 typec-mux@42 { 861 typec-mux@42 { 921 compatible = "fcs,fsa4480"; 862 compatible = "fcs,fsa4480"; 922 reg = <0x42>; 863 reg = <0x42>; 923 864 924 vcc-supply = <&vreg_bob1>; 865 vcc-supply = <&vreg_bob1>; 925 866 926 mode-switch; 867 mode-switch; 927 orientation-switch; 868 orientation-switch; 928 869 929 port { 870 port { 930 fsa4480_sbu_mux: endpo 871 fsa4480_sbu_mux: endpoint { 931 remote-endpoin 872 remote-endpoint = <&pmic_glink_sbu>; 932 }; 873 }; 933 }; 874 }; 934 }; 875 }; 935 }; 876 }; 936 877 937 &i2c_master_hub_0 { 878 &i2c_master_hub_0 { 938 status = "okay"; 879 status = "okay"; 939 }; 880 }; 940 881 941 &ipa { 882 &ipa { 942 qcom,gsi-loader = "self"; 883 qcom,gsi-loader = "self"; 943 memory-region = <&ipa_fw_mem>; 884 memory-region = <&ipa_fw_mem>; 944 firmware-name = "qcom/sm8550/ipa_fws.m 885 firmware-name = "qcom/sm8550/ipa_fws.mbn"; 945 status = "okay"; 886 status = "okay"; 946 }; 887 }; 947 888 948 &gpi_dma1 { 889 &gpi_dma1 { 949 status = "okay"; 890 status = "okay"; 950 }; 891 }; 951 892 952 &gpu { 893 &gpu { 953 status = "okay"; 894 status = "okay"; 954 895 955 zap-shader { 896 zap-shader { 956 firmware-name = "qcom/sm8550/a 897 firmware-name = "qcom/sm8550/a740_zap.mbn"; 957 }; 898 }; 958 }; 899 }; 959 900 960 &lpass_tlmm { 901 &lpass_tlmm { 961 spkr_1_sd_n_active: spkr-1-sd-n-active 902 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 962 pins = "gpio17"; 903 pins = "gpio17"; 963 function = "gpio"; 904 function = "gpio"; 964 drive-strength = <16>; 905 drive-strength = <16>; 965 bias-disable; 906 bias-disable; 966 output-low; 907 output-low; 967 }; 908 }; 968 909 969 spkr_2_sd_n_active: spkr-2-sd-n-active 910 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 970 pins = "gpio18"; 911 pins = "gpio18"; 971 function = "gpio"; 912 function = "gpio"; 972 drive-strength = <16>; 913 drive-strength = <16>; 973 bias-disable; 914 bias-disable; 974 output-low; 915 output-low; 975 }; 916 }; 976 }; 917 }; 977 918 978 &mdss { 919 &mdss { 979 status = "okay"; 920 status = "okay"; 980 }; 921 }; 981 922 982 &mdss_dsi0 { 923 &mdss_dsi0 { 983 vdda-supply = <&vreg_l3e_1p2>; 924 vdda-supply = <&vreg_l3e_1p2>; 984 status = "okay"; 925 status = "okay"; 985 }; 926 }; 986 927 987 &mdss_dsi0_out { 928 &mdss_dsi0_out { 988 remote-endpoint = <<9611_a>; 929 remote-endpoint = <<9611_a>; 989 data-lanes = <0 1 2 3>; 930 data-lanes = <0 1 2 3>; 990 }; 931 }; 991 932 992 &mdss_dsi0_phy { 933 &mdss_dsi0_phy { 993 vdds-supply = <&vreg_l1e_0p88>; 934 vdds-supply = <&vreg_l1e_0p88>; 994 status = "okay"; 935 status = "okay"; 995 }; 936 }; 996 937 997 &mdss_dp0 { 938 &mdss_dp0 { 998 status = "okay"; 939 status = "okay"; 999 }; 940 }; 1000 941 1001 &mdss_dp0_out { 942 &mdss_dp0_out { 1002 data-lanes = <0 1>; 943 data-lanes = <0 1>; 1003 }; 944 }; 1004 945 1005 &pcie0 { 946 &pcie0 { 1006 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HI 947 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 1007 perst-gpios = <&tlmm 94 GPIO_ACTIVE_L 948 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 1008 949 1009 pinctrl-0 = <&pcie0_default_state>; 950 pinctrl-0 = <&pcie0_default_state>; 1010 pinctrl-names = "default"; 951 pinctrl-names = "default"; 1011 952 1012 status = "okay"; 953 status = "okay"; 1013 }; 954 }; 1014 955 1015 &pcieport0 { << 1016 wifi@0 { << 1017 compatible = "pci17cb,1107"; << 1018 reg = <0x10000 0x0 0x0 0x0 0x << 1019 << 1020 vddrfacmn-supply = <&vreg_pmu << 1021 vddaon-supply = <&vreg_pmu_ao << 1022 vddwlcx-supply = <&vreg_pmu_w << 1023 vddwlmx-supply = <&vreg_pmu_w << 1024 vddrfa0p8-supply = <&vreg_pmu << 1025 vddrfa1p2-supply = <&vreg_pmu << 1026 vddrfa1p8-supply = <&vreg_pmu << 1027 vddpcie0p9-supply = <&vreg_pm << 1028 vddpcie1p8-supply = <&vreg_pm << 1029 }; << 1030 }; << 1031 << 1032 &pcie0_phy { 956 &pcie0_phy { 1033 vdda-phy-supply = <&vreg_l1e_0p88>; 957 vdda-phy-supply = <&vreg_l1e_0p88>; 1034 vdda-pll-supply = <&vreg_l3e_1p2>; 958 vdda-pll-supply = <&vreg_l3e_1p2>; 1035 959 1036 status = "okay"; 960 status = "okay"; 1037 }; 961 }; 1038 962 1039 &pcie1 { 963 &pcie1 { 1040 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HI 964 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 1041 perst-gpios = <&tlmm 97 GPIO_ACTIVE_L 965 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 1042 966 1043 pinctrl-0 = <&pcie1_default_state>; 967 pinctrl-0 = <&pcie1_default_state>; 1044 pinctrl-names = "default"; 968 pinctrl-names = "default"; 1045 969 1046 status = "okay"; 970 status = "okay"; 1047 }; 971 }; 1048 972 1049 &pcie1_phy { 973 &pcie1_phy { 1050 vdda-phy-supply = <&vreg_l3c_0p9>; 974 vdda-phy-supply = <&vreg_l3c_0p9>; 1051 vdda-pll-supply = <&vreg_l3e_1p2>; 975 vdda-pll-supply = <&vreg_l3e_1p2>; 1052 vdda-qref-supply = <&vreg_l1e_0p88>; 976 vdda-qref-supply = <&vreg_l1e_0p88>; 1053 977 1054 status = "okay"; 978 status = "okay"; 1055 }; 979 }; 1056 980 1057 &pm8550_gpios { 981 &pm8550_gpios { 1058 sdc2_card_det_n: sdc2-card-det-state 982 sdc2_card_det_n: sdc2-card-det-state { 1059 pins = "gpio12"; 983 pins = "gpio12"; 1060 function = "normal"; 984 function = "normal"; 1061 input-enable; 985 input-enable; 1062 output-disable; 986 output-disable; 1063 bias-pull-up; 987 bias-pull-up; 1064 power-source = <1>; /* 1.8 V 988 power-source = <1>; /* 1.8 V */ 1065 }; 989 }; 1066 990 1067 volume_up_n: volume-up-n-state { 991 volume_up_n: volume-up-n-state { 1068 pins = "gpio6"; 992 pins = "gpio6"; 1069 function = "normal"; 993 function = "normal"; 1070 power-source = <1>; 994 power-source = <1>; 1071 bias-pull-up; 995 bias-pull-up; 1072 input-enable; 996 input-enable; 1073 }; 997 }; 1074 }; 998 }; 1075 999 1076 /* The RGB signals are routed to 3 separate L 1000 /* The RGB signals are routed to 3 separate LEDs on the HDK8550 */ 1077 &pm8550_pwm { 1001 &pm8550_pwm { 1078 #address-cells = <1>; 1002 #address-cells = <1>; 1079 #size-cells = <0>; 1003 #size-cells = <0>; 1080 1004 1081 status = "okay"; 1005 status = "okay"; 1082 1006 1083 led@1 { 1007 led@1 { 1084 reg = <1>; 1008 reg = <1>; 1085 function = LED_FUNCTION_STATU 1009 function = LED_FUNCTION_STATUS; 1086 color = <LED_COLOR_ID_RED>; 1010 color = <LED_COLOR_ID_RED>; 1087 default-state = "off"; 1011 default-state = "off"; 1088 }; 1012 }; 1089 1013 1090 led@2 { 1014 led@2 { 1091 reg = <2>; 1015 reg = <2>; 1092 function = LED_FUNCTION_STATU 1016 function = LED_FUNCTION_STATUS; 1093 color = <LED_COLOR_ID_GREEN>; 1017 color = <LED_COLOR_ID_GREEN>; 1094 default-state = "off"; 1018 default-state = "off"; 1095 }; 1019 }; 1096 1020 1097 led@3 { 1021 led@3 { 1098 reg = <3>; 1022 reg = <3>; 1099 function = LED_FUNCTION_STATU 1023 function = LED_FUNCTION_STATUS; 1100 color = <LED_COLOR_ID_BLUE>; 1024 color = <LED_COLOR_ID_BLUE>; 1101 default-state = "off"; 1025 default-state = "off"; 1102 }; 1026 }; 1103 }; 1027 }; 1104 1028 1105 &pm8550b_eusb2_repeater { 1029 &pm8550b_eusb2_repeater { 1106 vdd18-supply = <&vreg_l15b_1p8>; 1030 vdd18-supply = <&vreg_l15b_1p8>; 1107 vdd3-supply = <&vreg_l5b_3p1>; 1031 vdd3-supply = <&vreg_l5b_3p1>; 1108 }; 1032 }; 1109 1033 1110 &pon_pwrkey { 1034 &pon_pwrkey { 1111 status = "okay"; 1035 status = "okay"; 1112 }; 1036 }; 1113 1037 1114 &pon_resin { 1038 &pon_resin { 1115 linux,code = <KEY_VOLUMEDOWN>; 1039 linux,code = <KEY_VOLUMEDOWN>; 1116 1040 1117 status = "okay"; 1041 status = "okay"; 1118 }; 1042 }; 1119 1043 1120 &pmk8550_gpios { << 1121 pmk8550_sleep_clk: sleep-clk-state { << 1122 pins = "gpio3"; << 1123 function = "func1"; << 1124 input-disable; << 1125 output-enable; << 1126 bias-disable; << 1127 power-source = <0>; << 1128 }; << 1129 }; << 1130 << 1131 &qupv3_id_0 { 1044 &qupv3_id_0 { 1132 status = "okay"; 1045 status = "okay"; 1133 }; 1046 }; 1134 1047 1135 &qupv3_id_1 { 1048 &qupv3_id_1 { 1136 status = "okay"; 1049 status = "okay"; 1137 }; 1050 }; 1138 1051 1139 &remoteproc_adsp { 1052 &remoteproc_adsp { 1140 firmware-name = "qcom/sm8550/adsp.mbn 1053 firmware-name = "qcom/sm8550/adsp.mbn", 1141 "qcom/sm8550/adsp_dtb 1054 "qcom/sm8550/adsp_dtb.mbn"; 1142 status = "okay"; 1055 status = "okay"; 1143 }; 1056 }; 1144 1057 1145 &remoteproc_cdsp { 1058 &remoteproc_cdsp { 1146 firmware-name = "qcom/sm8550/cdsp.mbn 1059 firmware-name = "qcom/sm8550/cdsp.mbn", 1147 "qcom/sm8550/cdsp_dtb 1060 "qcom/sm8550/cdsp_dtb.mbn"; 1148 status = "okay"; 1061 status = "okay"; 1149 }; 1062 }; 1150 1063 1151 &remoteproc_mpss { 1064 &remoteproc_mpss { 1152 firmware-name = "qcom/sm8550/modem.mb 1065 firmware-name = "qcom/sm8550/modem.mbn", 1153 "qcom/sm8550/modem_dt 1066 "qcom/sm8550/modem_dtb.mbn"; 1154 status = "okay"; 1067 status = "okay"; 1155 }; 1068 }; 1156 1069 1157 &sdhc_2 { 1070 &sdhc_2 { 1158 cd-gpios = <&pm8550_gpios 12 GPIO_ACT 1071 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>; 1159 1072 1160 pinctrl-0 = <&sdc2_default>, <&sdc2_c 1073 pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>; 1161 pinctrl-1 = <&sdc2_sleep>, <&sdc2_car 1074 pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>; 1162 pinctrl-names = "default", "sleep"; 1075 pinctrl-names = "default", "sleep"; 1163 1076 1164 vmmc-supply = <&vreg_l9b_2p9>; 1077 vmmc-supply = <&vreg_l9b_2p9>; 1165 vqmmc-supply = <&vreg_l8b_1p8>; 1078 vqmmc-supply = <&vreg_l8b_1p8>; 1166 1079 1167 bus-width = <4>; 1080 bus-width = <4>; 1168 no-sdio; 1081 no-sdio; 1169 no-mmc; 1082 no-mmc; 1170 1083 1171 status = "okay"; 1084 status = "okay"; 1172 }; 1085 }; 1173 1086 1174 &sleep_clk { 1087 &sleep_clk { 1175 clock-frequency = <32000>; 1088 clock-frequency = <32000>; 1176 }; 1089 }; 1177 1090 1178 &swr0 { 1091 &swr0 { 1179 status = "okay"; 1092 status = "okay"; 1180 1093 1181 /* WSA8845, Speaker North */ 1094 /* WSA8845, Speaker North */ 1182 north_spkr: speaker@0,0 { 1095 north_spkr: speaker@0,0 { 1183 compatible = "sdw20217020400" 1096 compatible = "sdw20217020400"; 1184 reg = <0 0>; 1097 reg = <0 0>; 1185 1098 1186 pinctrl-0 = <&spkr_1_sd_n_act 1099 pinctrl-0 = <&spkr_1_sd_n_active>; 1187 pinctrl-names = "default"; 1100 pinctrl-names = "default"; 1188 1101 1189 powerdown-gpios = <&lpass_tlm 1102 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 1190 1103 1191 vdd-1p8-supply = <&vreg_l15b_ 1104 vdd-1p8-supply = <&vreg_l15b_1p8>; 1192 vdd-io-supply = <&vreg_l15b_1 1105 vdd-io-supply = <&vreg_l15b_1p8>; 1193 1106 1194 #sound-dai-cells = <0>; 1107 #sound-dai-cells = <0>; 1195 sound-name-prefix = "SpkrLeft 1108 sound-name-prefix = "SpkrLeft"; 1196 qcom,port-mapping = <1 2 3 7 1109 qcom,port-mapping = <1 2 3 7 10 13>; 1197 }; 1110 }; 1198 1111 1199 /* WSA8845, Speaker South */ 1112 /* WSA8845, Speaker South */ 1200 south_spkr: speaker@0,1 { 1113 south_spkr: speaker@0,1 { 1201 compatible = "sdw20217020400" 1114 compatible = "sdw20217020400"; 1202 reg = <0 1>; 1115 reg = <0 1>; 1203 1116 1204 pinctrl-0 = <&spkr_2_sd_n_act 1117 pinctrl-0 = <&spkr_2_sd_n_active>; 1205 pinctrl-names = "default"; 1118 pinctrl-names = "default"; 1206 1119 1207 powerdown-gpios = <&lpass_tlm 1120 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 1208 1121 1209 vdd-1p8-supply = <&vreg_l15b_ 1122 vdd-1p8-supply = <&vreg_l15b_1p8>; 1210 vdd-io-supply = <&vreg_l15b_1 1123 vdd-io-supply = <&vreg_l15b_1p8>; 1211 1124 1212 #sound-dai-cells = <0>; 1125 #sound-dai-cells = <0>; 1213 sound-name-prefix = "SpkrRigh 1126 sound-name-prefix = "SpkrRight"; 1214 qcom,port-mapping = <4 5 6 7 1127 qcom,port-mapping = <4 5 6 7 11 13>; 1215 }; 1128 }; 1216 }; 1129 }; 1217 1130 1218 &swr1 { 1131 &swr1 { 1219 status = "okay"; 1132 status = "okay"; 1220 1133 1221 /* WCD9385 RX */ 1134 /* WCD9385 RX */ 1222 wcd_rx: codec@0,4 { 1135 wcd_rx: codec@0,4 { 1223 compatible = "sdw20217010d00" 1136 compatible = "sdw20217010d00"; 1224 reg = <0 4>; 1137 reg = <0 4>; 1225 1138 1226 /* 1139 /* 1227 * WCD9385 RX Port 1 (HPH_L/R 1140 * WCD9385 RX Port 1 (HPH_L/R) <=> SWR1 Port 1 (HPH_L/R) 1228 * WCD9385 RX Port 2 (CLSH) 1141 * WCD9385 RX Port 2 (CLSH) <=> SWR1 Port 2 (CLSH) 1229 * WCD9385 RX Port 3 (COMP_L/ 1142 * WCD9385 RX Port 3 (COMP_L/R) <=> SWR1 Port 3 (COMP_L/R) 1230 * WCD9385 RX Port 4 (LO) 1143 * WCD9385 RX Port 4 (LO) <=> SWR1 Port 4 (LO) 1231 * WCD9385 RX Port 5 (DSD_L/R 1144 * WCD9385 RX Port 5 (DSD_L/R) <=> SWR1 Port 5 (DSD_L/R) 1232 */ 1145 */ 1233 qcom,rx-port-mapping = <1 2 3 1146 qcom,rx-port-mapping = <1 2 3 4 5>; 1234 }; 1147 }; 1235 }; 1148 }; 1236 1149 1237 &swr2 { 1150 &swr2 { 1238 status = "okay"; 1151 status = "okay"; 1239 1152 1240 /* WCD9385 TX */ 1153 /* WCD9385 TX */ 1241 wcd_tx: codec@0,3 { 1154 wcd_tx: codec@0,3 { 1242 compatible = "sdw20217010d00" 1155 compatible = "sdw20217010d00"; 1243 reg = <0 3>; 1156 reg = <0 3>; 1244 1157 1245 /* 1158 /* 1246 * WCD9385 TX Port 1 (ADC1,2) 1159 * WCD9385 TX Port 1 (ADC1,2) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 1247 * WCD9385 TX Port 2 (ADC3,4) 1160 * WCD9385 TX Port 2 (ADC3,4) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 1248 * WCD9385 TX Port 3 (DMIC0,1 1161 * WCD9385 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7) 1249 * WCD9385 TX Port 4 (DMIC4,5 1162 * WCD9385 TX Port 4 (DMIC4,5,6,7) <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11) 1250 */ 1163 */ 1251 qcom,tx-port-mapping = <2 2 3 1164 qcom,tx-port-mapping = <2 2 3 4>; 1252 }; 1165 }; 1253 }; 1166 }; 1254 1167 1255 &tlmm { 1168 &tlmm { 1256 /* Reserved I/Os for NFC */ 1169 /* Reserved I/Os for NFC */ 1257 gpio-reserved-ranges = <32 8>; 1170 gpio-reserved-ranges = <32 8>; 1258 1171 1259 bt_default: bt-default-state { 1172 bt_default: bt-default-state { 1260 bt-en-pins { 1173 bt-en-pins { 1261 pins = "gpio81"; 1174 pins = "gpio81"; 1262 function = "gpio"; 1175 function = "gpio"; 1263 drive-strength = <16> 1176 drive-strength = <16>; 1264 bias-disable; 1177 bias-disable; 1265 }; 1178 }; 1266 1179 1267 sw-ctrl-pins { 1180 sw-ctrl-pins { 1268 pins = "gpio82"; 1181 pins = "gpio82"; 1269 function = "gpio"; 1182 function = "gpio"; 1270 bias-pull-down; 1183 bias-pull-down; 1271 }; 1184 }; 1272 }; 1185 }; 1273 1186 1274 lt9611_irq_pin: lt9611-irq-state { 1187 lt9611_irq_pin: lt9611-irq-state { 1275 pins = "gpio8"; 1188 pins = "gpio8"; 1276 function = "gpio"; 1189 function = "gpio"; 1277 bias-disable; 1190 bias-disable; 1278 }; 1191 }; 1279 1192 1280 lt9611_rst_pin: lt9611-rst-state { 1193 lt9611_rst_pin: lt9611-rst-state { 1281 pins = "gpio7"; 1194 pins = "gpio7"; 1282 function = "gpio"; 1195 function = "gpio"; 1283 output-high; 1196 output-high; 1284 }; 1197 }; 1285 1198 1286 wcd_default: wcd-reset-n-active-state 1199 wcd_default: wcd-reset-n-active-state { 1287 pins = "gpio108"; 1200 pins = "gpio108"; 1288 function = "gpio"; 1201 function = "gpio"; 1289 drive-strength = <16>; 1202 drive-strength = <16>; 1290 bias-disable; 1203 bias-disable; 1291 output-low; 1204 output-low; 1292 }; 1205 }; 1293 << 1294 wlan_en: wlan-en-state { << 1295 pins = "gpio80"; << 1296 function = "gpio"; << 1297 drive-strength = <8>; << 1298 bias-pull-down; << 1299 }; << 1300 }; 1206 }; 1301 1207 1302 &uart7 { 1208 &uart7 { 1303 status = "okay"; 1209 status = "okay"; 1304 }; 1210 }; 1305 1211 1306 &uart14 { 1212 &uart14 { 1307 status = "okay"; 1213 status = "okay"; 1308 1214 1309 bluetooth { 1215 bluetooth { 1310 compatible = "qcom,wcn7850-bt 1216 compatible = "qcom,wcn7850-bt"; 1311 1217 1312 vddrfacmn-supply = <&vreg_pmu !! 1218 vddio-supply = <&vreg_l15b_1p8>; 1313 vddaon-supply = <&vreg_pmu_ao !! 1219 vddaon-supply = <&vreg_s4e_0p95>; 1314 vddwlcx-supply = <&vreg_pmu_w !! 1220 vdddig-supply = <&vreg_s4e_0p95>; 1315 vddwlmx-supply = <&vreg_pmu_w !! 1221 vddrfa0p8-supply = <&vreg_s4e_0p95>; 1316 vddrfa0p8-supply = <&vreg_pmu !! 1222 vddrfa1p2-supply = <&vreg_s4g_1p25>; 1317 vddrfa1p2-supply = <&vreg_pmu !! 1223 vddrfa1p9-supply = <&vreg_s6g_1p86>; 1318 vddrfa1p8-supply = <&vreg_pmu << 1319 1224 1320 max-speed = <3200000>; 1225 max-speed = <3200000>; >> 1226 >> 1227 enable-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; >> 1228 swctrl-gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>; >> 1229 >> 1230 pinctrl-0 = <&bt_default>; >> 1231 pinctrl-names = "default"; 1321 }; 1232 }; 1322 }; 1233 }; 1323 1234 1324 &ufs_mem_hc { 1235 &ufs_mem_hc { 1325 reset-gpios = <&tlmm 210 GPIO_ACTIVE_ 1236 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 1326 1237 1327 vcc-supply = <&vreg_l17b_2p5>; 1238 vcc-supply = <&vreg_l17b_2p5>; 1328 vcc-max-microamp = <1300000>; 1239 vcc-max-microamp = <1300000>; 1329 vccq-supply = <&vreg_l1g_1p2>; 1240 vccq-supply = <&vreg_l1g_1p2>; 1330 vccq-max-microamp = <1200000>; 1241 vccq-max-microamp = <1200000>; 1331 vdd-hba-supply = <&vreg_l3g_1p2>; 1242 vdd-hba-supply = <&vreg_l3g_1p2>; 1332 1243 1333 status = "okay"; 1244 status = "okay"; 1334 }; 1245 }; 1335 1246 1336 &ufs_mem_phy { 1247 &ufs_mem_phy { 1337 vdda-phy-supply = <&vreg_l1d_0p88>; 1248 vdda-phy-supply = <&vreg_l1d_0p88>; 1338 vdda-pll-supply = <&vreg_l3e_1p2>; 1249 vdda-pll-supply = <&vreg_l3e_1p2>; 1339 1250 1340 status = "okay"; 1251 status = "okay"; 1341 }; 1252 }; 1342 1253 1343 &usb_1 { 1254 &usb_1 { 1344 status = "okay"; 1255 status = "okay"; 1345 }; 1256 }; 1346 1257 1347 &usb_1_dwc3_hs { 1258 &usb_1_dwc3_hs { 1348 remote-endpoint = <&pmic_glink_hs_in> 1259 remote-endpoint = <&pmic_glink_hs_in>; 1349 }; 1260 }; 1350 1261 1351 &usb_1_hsphy { 1262 &usb_1_hsphy { 1352 vdd-supply = <&vreg_l1e_0p88>; 1263 vdd-supply = <&vreg_l1e_0p88>; 1353 vdda12-supply = <&vreg_l3e_1p2>; 1264 vdda12-supply = <&vreg_l3e_1p2>; 1354 1265 1355 phys = <&pm8550b_eusb2_repeater>; 1266 phys = <&pm8550b_eusb2_repeater>; 1356 1267 1357 status = "okay"; 1268 status = "okay"; 1358 }; 1269 }; 1359 1270 1360 &usb_dp_qmpphy { 1271 &usb_dp_qmpphy { 1361 vdda-phy-supply = <&vreg_l3e_1p2>; 1272 vdda-phy-supply = <&vreg_l3e_1p2>; 1362 vdda-pll-supply = <&vreg_l3f_0p88>; 1273 vdda-pll-supply = <&vreg_l3f_0p88>; 1363 1274 1364 status = "okay"; 1275 status = "okay"; 1365 }; 1276 }; 1366 1277 1367 &usb_dp_qmpphy_out { 1278 &usb_dp_qmpphy_out { 1368 remote-endpoint = <&pmic_glink_ss_in> 1279 remote-endpoint = <&pmic_glink_ss_in>; 1369 }; 1280 }; 1370 1281 1371 &xo_board { 1282 &xo_board { 1372 clock-frequency = <76800000>; 1283 clock-frequency = <76800000>; 1373 }; 1284 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.