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 282 283 wcn7850-pmu { 283 wcn7850-pmu { 284 compatible = "qcom,wcn7850-pmu 284 compatible = "qcom,wcn7850-pmu"; 285 285 286 pinctrl-names = "default"; 286 pinctrl-names = "default"; 287 pinctrl-0 = <&wlan_en>, <&bt_d 287 pinctrl-0 = <&wlan_en>, <&bt_default>, <&pmk8550_sleep_clk>; 288 288 289 wlan-enable-gpios = <&tlmm 80 289 wlan-enable-gpios = <&tlmm 80 GPIO_ACTIVE_HIGH>; 290 bt-enable-gpios = <&tlmm 81 GP 290 bt-enable-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; 291 291 292 vdd-supply = <&vreg_s5g_0p85>; 292 vdd-supply = <&vreg_s5g_0p85>; 293 vddio-supply = <&vreg_l15b_1p8 293 vddio-supply = <&vreg_l15b_1p8>; 294 vddaon-supply = <&vreg_s2g_0p8 294 vddaon-supply = <&vreg_s2g_0p85>; 295 vdddig-supply = <&vreg_s4e_0p9 295 vdddig-supply = <&vreg_s4e_0p95>; 296 vddrfa1p2-supply = <&vreg_s4g_ 296 vddrfa1p2-supply = <&vreg_s4g_1p25>; 297 vddrfa1p8-supply = <&vreg_s6g_ 297 vddrfa1p8-supply = <&vreg_s6g_1p86>; 298 298 299 regulators { 299 regulators { 300 vreg_pmu_rfa_cmn: ldo0 300 vreg_pmu_rfa_cmn: ldo0 { 301 regulator-name 301 regulator-name = "vreg_pmu_rfa_cmn"; 302 }; 302 }; 303 303 304 vreg_pmu_aon_0p59: ldo 304 vreg_pmu_aon_0p59: ldo1 { 305 regulator-name 305 regulator-name = "vreg_pmu_aon_0p59"; 306 }; 306 }; 307 307 308 vreg_pmu_wlcx_0p8: ldo 308 vreg_pmu_wlcx_0p8: ldo2 { 309 regulator-name 309 regulator-name = "vreg_pmu_wlcx_0p8"; 310 }; 310 }; 311 311 312 vreg_pmu_wlmx_0p85: ld 312 vreg_pmu_wlmx_0p85: ldo3 { 313 regulator-name 313 regulator-name = "vreg_pmu_wlmx_0p85"; 314 }; 314 }; 315 315 316 vreg_pmu_btcmx_0p85: l 316 vreg_pmu_btcmx_0p85: ldo4 { 317 regulator-name 317 regulator-name = "vreg_pmu_btcmx_0p85"; 318 }; 318 }; 319 319 320 vreg_pmu_rfa_0p8: ldo5 320 vreg_pmu_rfa_0p8: ldo5 { 321 regulator-name 321 regulator-name = "vreg_pmu_rfa_0p8"; 322 }; 322 }; 323 323 324 vreg_pmu_rfa_1p2: ldo6 324 vreg_pmu_rfa_1p2: ldo6 { 325 regulator-name 325 regulator-name = "vreg_pmu_rfa_1p2"; 326 }; 326 }; 327 327 328 vreg_pmu_rfa_1p8: ldo7 328 vreg_pmu_rfa_1p8: ldo7 { 329 regulator-name 329 regulator-name = "vreg_pmu_rfa_1p8"; 330 }; 330 }; 331 331 332 vreg_pmu_pcie_0p9: ldo 332 vreg_pmu_pcie_0p9: ldo8 { 333 regulator-name 333 regulator-name = "vreg_pmu_pcie_0p9"; 334 }; 334 }; 335 335 336 vreg_pmu_pcie_1p8: ldo 336 vreg_pmu_pcie_1p8: ldo9 { 337 regulator-name 337 regulator-name = "vreg_pmu_pcie_1p8"; 338 }; 338 }; 339 }; 339 }; 340 }; 340 }; 341 }; 341 }; 342 342 343 &apps_rsc { 343 &apps_rsc { 344 regulators-0 { 344 regulators-0 { 345 compatible = "qcom,pm8550-rpmh 345 compatible = "qcom,pm8550-rpmh-regulators"; 346 346 347 vdd-bob1-supply = <&vph_pwr>; 347 vdd-bob1-supply = <&vph_pwr>; 348 vdd-bob2-supply = <&vph_pwr>; 348 vdd-bob2-supply = <&vph_pwr>; 349 vdd-l1-l4-l10-supply = <&vreg_ 349 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>; 350 vdd-l2-l13-l14-supply = <&vreg 350 vdd-l2-l13-l14-supply = <&vreg_bob1>; 351 vdd-l3-supply = <&vreg_s4g_1p2 351 vdd-l3-supply = <&vreg_s4g_1p25>; 352 vdd-l5-l16-supply = <&vreg_bob 352 vdd-l5-l16-supply = <&vreg_bob1>; 353 vdd-l6-l7-supply = <&vreg_bob1 353 vdd-l6-l7-supply = <&vreg_bob1>; 354 vdd-l8-l9-supply = <&vreg_bob1 354 vdd-l8-l9-supply = <&vreg_bob1>; 355 vdd-l11-supply = <&vreg_s4g_1p 355 vdd-l11-supply = <&vreg_s4g_1p25>; 356 vdd-l12-supply = <&vreg_s6g_1p 356 vdd-l12-supply = <&vreg_s6g_1p86>; 357 vdd-l15-supply = <&vreg_s6g_1p 357 vdd-l15-supply = <&vreg_s6g_1p86>; 358 vdd-l17-supply = <&vreg_bob2>; 358 vdd-l17-supply = <&vreg_bob2>; 359 359 360 qcom,pmic-id = "b"; 360 qcom,pmic-id = "b"; 361 361 362 vreg_bob1: bob1 { 362 vreg_bob1: bob1 { 363 regulator-name = "vreg 363 regulator-name = "vreg_bob1"; 364 regulator-min-microvol 364 regulator-min-microvolt = <3296000>; 365 regulator-max-microvol 365 regulator-max-microvolt = <3960000>; 366 regulator-initial-mode 366 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 367 }; 367 }; 368 368 369 vreg_bob2: bob2 { 369 vreg_bob2: bob2 { 370 regulator-name = "vreg 370 regulator-name = "vreg_bob2"; 371 regulator-min-microvol 371 regulator-min-microvolt = <2720000>; 372 regulator-max-microvol 372 regulator-max-microvolt = <3960000>; 373 regulator-initial-mode 373 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 374 }; 374 }; 375 375 376 vreg_l1b_1p8: ldo1 { 376 vreg_l1b_1p8: ldo1 { 377 regulator-name = "vreg 377 regulator-name = "vreg_l1b_1p8"; 378 regulator-min-microvol 378 regulator-min-microvolt = <1800000>; 379 regulator-max-microvol 379 regulator-max-microvolt = <1800000>; 380 regulator-initial-mode 380 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 381 regulator-allow-set-lo 381 regulator-allow-set-load; 382 regulator-allowed-mode 382 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 383 383 RPMH_REGULATOR_MODE_HPM>; 384 }; 384 }; 385 385 386 vreg_l2b_3p0: ldo2 { 386 vreg_l2b_3p0: ldo2 { 387 regulator-name = "vreg 387 regulator-name = "vreg_l2b_3p0"; 388 regulator-min-microvol 388 regulator-min-microvolt = <3008000>; 389 regulator-max-microvol 389 regulator-max-microvolt = <3008000>; 390 regulator-initial-mode 390 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391 regulator-allow-set-lo 391 regulator-allow-set-load; 392 regulator-allowed-mode 392 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 393 393 RPMH_REGULATOR_MODE_HPM>; 394 }; 394 }; 395 395 396 vreg_l5b_3p1: ldo5 { 396 vreg_l5b_3p1: ldo5 { 397 regulator-name = "vreg 397 regulator-name = "vreg_l5b_3p1"; 398 regulator-min-microvol 398 regulator-min-microvolt = <3104000>; 399 regulator-max-microvol 399 regulator-max-microvolt = <3104000>; 400 regulator-initial-mode 400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 regulator-allow-set-lo 401 regulator-allow-set-load; 402 regulator-allowed-mode 402 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 403 403 RPMH_REGULATOR_MODE_HPM>; 404 }; 404 }; 405 405 406 vreg_l6b_1p8: ldo6 { 406 vreg_l6b_1p8: ldo6 { 407 regulator-name = "vreg 407 regulator-name = "vreg_l6b_1p8"; 408 regulator-min-microvol 408 regulator-min-microvolt = <1800000>; 409 regulator-max-microvol 409 regulator-max-microvolt = <3008000>; 410 regulator-initial-mode 410 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 411 regulator-allow-set-lo 411 regulator-allow-set-load; 412 regulator-allowed-mode 412 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 413 413 RPMH_REGULATOR_MODE_HPM>; 414 }; 414 }; 415 415 416 vreg_l7b_1p8: ldo7 { 416 vreg_l7b_1p8: ldo7 { 417 regulator-name = "vreg 417 regulator-name = "vreg_l7b_1p8"; 418 regulator-min-microvol 418 regulator-min-microvolt = <1800000>; 419 regulator-max-microvol 419 regulator-max-microvolt = <3008000>; 420 regulator-initial-mode 420 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 421 regulator-allow-set-lo 421 regulator-allow-set-load; 422 regulator-allowed-mode 422 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 423 423 RPMH_REGULATOR_MODE_HPM>; 424 }; 424 }; 425 425 426 vreg_l8b_1p8: ldo8 { 426 vreg_l8b_1p8: ldo8 { 427 regulator-name = "vreg 427 regulator-name = "vreg_l8b_1p8"; 428 regulator-min-microvol 428 regulator-min-microvolt = <1800000>; 429 regulator-max-microvol 429 regulator-max-microvolt = <3008000>; 430 regulator-initial-mode 430 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 431 regulator-allow-set-lo 431 regulator-allow-set-load; 432 regulator-allowed-mode 432 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 433 433 RPMH_REGULATOR_MODE_HPM>; 434 }; 434 }; 435 435 436 vreg_l9b_2p9: ldo9 { 436 vreg_l9b_2p9: ldo9 { 437 regulator-name = "vreg 437 regulator-name = "vreg_l9b_2p9"; 438 regulator-min-microvol 438 regulator-min-microvolt = <2960000>; 439 regulator-max-microvol 439 regulator-max-microvolt = <3008000>; 440 regulator-initial-mode 440 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 441 regulator-allow-set-lo 441 regulator-allow-set-load; 442 regulator-allowed-mode 442 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 443 443 RPMH_REGULATOR_MODE_HPM>; 444 }; 444 }; 445 445 446 vreg_l11b_1p2: ldo11 { 446 vreg_l11b_1p2: ldo11 { 447 regulator-name = "vreg 447 regulator-name = "vreg_l11b_1p2"; 448 regulator-min-microvol 448 regulator-min-microvolt = <1200000>; 449 regulator-max-microvol 449 regulator-max-microvolt = <1504000>; 450 regulator-initial-mode 450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 451 regulator-allow-set-lo 451 regulator-allow-set-load; 452 regulator-allowed-mode 452 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 453 453 RPMH_REGULATOR_MODE_HPM>; 454 }; 454 }; 455 455 456 vreg_l12b_1p8: ldo12 { 456 vreg_l12b_1p8: ldo12 { 457 regulator-name = "vreg 457 regulator-name = "vreg_l12b_1p8"; 458 regulator-min-microvol 458 regulator-min-microvolt = <1800000>; 459 regulator-max-microvol 459 regulator-max-microvolt = <1800000>; 460 regulator-initial-mode 460 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 461 regulator-allow-set-lo 461 regulator-allow-set-load; 462 regulator-allowed-mode 462 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 463 463 RPMH_REGULATOR_MODE_HPM>; 464 }; 464 }; 465 465 466 vreg_l13b_3p0: ldo13 { 466 vreg_l13b_3p0: ldo13 { 467 regulator-name = "vreg 467 regulator-name = "vreg_l13b_3p0"; 468 regulator-min-microvol 468 regulator-min-microvolt = <3000000>; 469 regulator-max-microvol 469 regulator-max-microvolt = <3000000>; 470 regulator-initial-mode 470 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 471 regulator-allow-set-lo 471 regulator-allow-set-load; 472 regulator-allowed-mode 472 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 473 473 RPMH_REGULATOR_MODE_HPM>; 474 }; 474 }; 475 475 476 vreg_l14b_3p2: ldo14 { 476 vreg_l14b_3p2: ldo14 { 477 regulator-name = "vreg 477 regulator-name = "vreg_l14b_3p2"; 478 regulator-min-microvol 478 regulator-min-microvolt = <3200000>; 479 regulator-max-microvol 479 regulator-max-microvolt = <3200000>; 480 regulator-initial-mode 480 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 481 regulator-allow-set-lo 481 regulator-allow-set-load; 482 regulator-allowed-mode 482 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 483 483 RPMH_REGULATOR_MODE_HPM>; 484 }; 484 }; 485 485 486 vreg_l15b_1p8: ldo15 { 486 vreg_l15b_1p8: ldo15 { 487 regulator-name = "vreg 487 regulator-name = "vreg_l15b_1p8"; 488 regulator-min-microvol 488 regulator-min-microvolt = <1800000>; 489 regulator-max-microvol 489 regulator-max-microvolt = <1800000>; 490 regulator-initial-mode 490 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 491 regulator-allow-set-lo 491 regulator-allow-set-load; 492 regulator-allowed-mode 492 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 493 493 RPMH_REGULATOR_MODE_HPM>; 494 }; 494 }; 495 495 496 vreg_l16b_2p8: ldo16 { 496 vreg_l16b_2p8: ldo16 { 497 regulator-name = "vreg 497 regulator-name = "vreg_l16b_2p8"; 498 regulator-min-microvol 498 regulator-min-microvolt = <2800000>; 499 regulator-max-microvol 499 regulator-max-microvolt = <2800000>; 500 regulator-initial-mode 500 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 501 regulator-allow-set-lo 501 regulator-allow-set-load; 502 regulator-allowed-mode 502 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 503 503 RPMH_REGULATOR_MODE_HPM>; 504 }; 504 }; 505 505 506 vreg_l17b_2p5: ldo17 { 506 vreg_l17b_2p5: ldo17 { 507 regulator-name = "vreg 507 regulator-name = "vreg_l17b_2p5"; 508 regulator-min-microvol 508 regulator-min-microvolt = <2504000>; 509 regulator-max-microvol 509 regulator-max-microvolt = <2504000>; 510 regulator-initial-mode 510 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 511 regulator-allow-set-lo 511 regulator-allow-set-load; 512 regulator-allowed-mode 512 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 513 513 RPMH_REGULATOR_MODE_HPM>; 514 }; 514 }; 515 }; 515 }; 516 516 517 regulators-1 { 517 regulators-1 { 518 compatible = "qcom,pm8550vs-rp 518 compatible = "qcom,pm8550vs-rpmh-regulators"; 519 519 520 vdd-l1-supply = <&vreg_s4g_1p2 520 vdd-l1-supply = <&vreg_s4g_1p25>; 521 vdd-l2-supply = <&vreg_s4e_0p9 521 vdd-l2-supply = <&vreg_s4e_0p95>; 522 vdd-l3-supply = <&vreg_s4e_0p9 522 vdd-l3-supply = <&vreg_s4e_0p95>; 523 523 524 qcom,pmic-id = "c"; 524 qcom,pmic-id = "c"; 525 525 526 vreg_l3c_0p9: ldo3 { 526 vreg_l3c_0p9: ldo3 { 527 regulator-name = "vreg 527 regulator-name = "vreg_l3c_0p9"; 528 regulator-min-microvol 528 regulator-min-microvolt = <880000>; 529 regulator-max-microvol 529 regulator-max-microvolt = <912000>; 530 regulator-initial-mode 530 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 531 regulator-allow-set-lo 531 regulator-allow-set-load; 532 regulator-allowed-mode 532 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 533 533 RPMH_REGULATOR_MODE_HPM>; 534 }; 534 }; 535 }; 535 }; 536 536 537 regulators-2 { 537 regulators-2 { 538 compatible = "qcom,pm8550vs-rp 538 compatible = "qcom,pm8550vs-rpmh-regulators"; 539 539 540 vdd-l1-supply = <&vreg_s4e_0p9 540 vdd-l1-supply = <&vreg_s4e_0p95>; 541 vdd-l2-supply = <&vreg_s4e_0p9 541 vdd-l2-supply = <&vreg_s4e_0p95>; 542 vdd-l3-supply = <&vreg_s4e_0p9 542 vdd-l3-supply = <&vreg_s4e_0p95>; 543 543 544 qcom,pmic-id = "d"; 544 qcom,pmic-id = "d"; 545 545 546 vreg_l1d_0p88: ldo1 { 546 vreg_l1d_0p88: ldo1 { 547 regulator-name = "vreg 547 regulator-name = "vreg_l1d_0p88"; 548 regulator-min-microvol 548 regulator-min-microvolt = <880000>; 549 regulator-max-microvol 549 regulator-max-microvolt = <920000>; 550 regulator-initial-mode 550 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 551 regulator-allow-set-lo 551 regulator-allow-set-load; 552 regulator-allowed-mode 552 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 553 553 RPMH_REGULATOR_MODE_HPM>; 554 }; 554 }; 555 555 556 /* ldo2 supplies SM8550 VDD_LP 556 /* ldo2 supplies SM8550 VDD_LPI_MX */ 557 }; 557 }; 558 558 559 regulators-3 { 559 regulators-3 { 560 compatible = "qcom,pm8550vs-rp 560 compatible = "qcom,pm8550vs-rpmh-regulators"; 561 561 562 vdd-l1-supply = <&vreg_s4e_0p9 562 vdd-l1-supply = <&vreg_s4e_0p95>; 563 vdd-l2-supply = <&vreg_s4e_0p9 563 vdd-l2-supply = <&vreg_s4e_0p95>; 564 vdd-l3-supply = <&vreg_s4g_1p2 564 vdd-l3-supply = <&vreg_s4g_1p25>; 565 vdd-s4-supply = <&vph_pwr>; 565 vdd-s4-supply = <&vph_pwr>; 566 vdd-s5-supply = <&vph_pwr>; 566 vdd-s5-supply = <&vph_pwr>; 567 567 568 qcom,pmic-id = "e"; 568 qcom,pmic-id = "e"; 569 569 570 vreg_s4e_0p95: smps4 { 570 vreg_s4e_0p95: smps4 { 571 regulator-name = "vreg 571 regulator-name = "vreg_s4e_0p95"; 572 regulator-min-microvol 572 regulator-min-microvolt = <904000>; 573 regulator-max-microvol 573 regulator-max-microvolt = <984000>; 574 regulator-initial-mode 574 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 575 }; 575 }; 576 576 577 vreg_s5e_1p08: smps5 { 577 vreg_s5e_1p08: smps5 { 578 regulator-name = "vreg 578 regulator-name = "vreg_s5e_1p08"; 579 regulator-min-microvol 579 regulator-min-microvolt = <1080000>; 580 regulator-max-microvol 580 regulator-max-microvolt = <1120000>; 581 regulator-initial-mode 581 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 582 }; 582 }; 583 583 584 vreg_l1e_0p88: ldo1 { 584 vreg_l1e_0p88: ldo1 { 585 regulator-name = "vreg 585 regulator-name = "vreg_l1e_0p88"; 586 regulator-min-microvol 586 regulator-min-microvolt = <880000>; 587 regulator-max-microvol 587 regulator-max-microvolt = <880000>; 588 regulator-initial-mode 588 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 589 regulator-allow-set-lo 589 regulator-allow-set-load; 590 regulator-allowed-mode 590 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 591 591 RPMH_REGULATOR_MODE_HPM>; 592 }; 592 }; 593 593 594 vreg_l2e_0p9: ldo2 { 594 vreg_l2e_0p9: ldo2 { 595 regulator-name = "vreg 595 regulator-name = "vreg_l2e_0p9"; 596 regulator-min-microvol 596 regulator-min-microvolt = <904000>; 597 regulator-max-microvol 597 regulator-max-microvolt = <970000>; 598 regulator-initial-mode 598 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 599 regulator-allow-set-lo 599 regulator-allow-set-load; 600 regulator-allowed-mode 600 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 601 601 RPMH_REGULATOR_MODE_HPM>; 602 }; 602 }; 603 603 604 vreg_l3e_1p2: ldo3 { 604 vreg_l3e_1p2: ldo3 { 605 regulator-name = "vreg 605 regulator-name = "vreg_l3e_1p2"; 606 regulator-min-microvol 606 regulator-min-microvolt = <1200000>; 607 regulator-max-microvol 607 regulator-max-microvolt = <1200000>; 608 regulator-initial-mode 608 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 609 regulator-allow-set-lo 609 regulator-allow-set-load; 610 regulator-allowed-mode 610 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 611 611 RPMH_REGULATOR_MODE_HPM>; 612 }; 612 }; 613 }; 613 }; 614 614 615 regulators-4 { 615 regulators-4 { 616 compatible = "qcom,pm8550ve-rp 616 compatible = "qcom,pm8550ve-rpmh-regulators"; 617 617 618 vdd-l1-supply = <&vreg_s4e_0p9 618 vdd-l1-supply = <&vreg_s4e_0p95>; 619 vdd-l2-supply = <&vreg_s4e_0p9 619 vdd-l2-supply = <&vreg_s4e_0p95>; 620 vdd-l3-supply = <&vreg_s4e_0p9 620 vdd-l3-supply = <&vreg_s4e_0p95>; 621 vdd-s4-supply = <&vph_pwr>; 621 vdd-s4-supply = <&vph_pwr>; 622 622 623 qcom,pmic-id = "f"; 623 qcom,pmic-id = "f"; 624 624 625 vreg_s4f_0p5: smps4 { 625 vreg_s4f_0p5: smps4 { 626 regulator-name = "vreg 626 regulator-name = "vreg_s4f_0p5"; 627 regulator-min-microvol 627 regulator-min-microvolt = <500000>; 628 regulator-max-microvol 628 regulator-max-microvolt = <700000>; 629 regulator-initial-mode 629 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 630 }; 630 }; 631 631 632 vreg_l1f_0p9: ldo1 { 632 vreg_l1f_0p9: ldo1 { 633 regulator-name = "vreg 633 regulator-name = "vreg_l1f_0p9"; 634 regulator-min-microvol 634 regulator-min-microvolt = <912000>; 635 regulator-max-microvol 635 regulator-max-microvolt = <912000>; 636 regulator-initial-mode 636 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 637 regulator-allow-set-lo 637 regulator-allow-set-load; 638 regulator-allowed-mode 638 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 639 639 RPMH_REGULATOR_MODE_HPM>; 640 }; 640 }; 641 641 642 vreg_l2f_0p88: ldo2 { 642 vreg_l2f_0p88: ldo2 { 643 regulator-name = "vreg 643 regulator-name = "vreg_l2f_0p88"; 644 regulator-min-microvol 644 regulator-min-microvolt = <880000>; 645 regulator-max-microvol 645 regulator-max-microvolt = <912000>; 646 regulator-initial-mode 646 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 647 regulator-allow-set-lo 647 regulator-allow-set-load; 648 regulator-allowed-mode 648 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 649 649 RPMH_REGULATOR_MODE_HPM>; 650 }; 650 }; 651 651 652 vreg_l3f_0p88: ldo3 { 652 vreg_l3f_0p88: ldo3 { 653 regulator-name = "vreg 653 regulator-name = "vreg_l3f_0p88"; 654 regulator-min-microvol 654 regulator-min-microvolt = <880000>; 655 regulator-max-microvol 655 regulator-max-microvolt = <912000>; 656 regulator-initial-mode 656 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 657 regulator-allow-set-lo 657 regulator-allow-set-load; 658 regulator-allowed-mode 658 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 659 659 RPMH_REGULATOR_MODE_HPM>; 660 }; 660 }; 661 }; 661 }; 662 662 663 regulators-5 { 663 regulators-5 { 664 compatible = "qcom,pm8550vs-rp 664 compatible = "qcom,pm8550vs-rpmh-regulators"; 665 665 666 vdd-l1-supply = <&vreg_s4g_1p2 666 vdd-l1-supply = <&vreg_s4g_1p25>; 667 vdd-l2-supply = <&vreg_s4g_1p2 667 vdd-l2-supply = <&vreg_s4g_1p25>; 668 vdd-l3-supply = <&vreg_s4g_1p2 668 vdd-l3-supply = <&vreg_s4g_1p25>; 669 vdd-s1-supply = <&vph_pwr>; 669 vdd-s1-supply = <&vph_pwr>; 670 vdd-s2-supply = <&vph_pwr>; 670 vdd-s2-supply = <&vph_pwr>; 671 vdd-s3-supply = <&vph_pwr>; 671 vdd-s3-supply = <&vph_pwr>; 672 vdd-s4-supply = <&vph_pwr>; 672 vdd-s4-supply = <&vph_pwr>; 673 vdd-s5-supply = <&vph_pwr>; 673 vdd-s5-supply = <&vph_pwr>; 674 vdd-s6-supply = <&vph_pwr>; 674 vdd-s6-supply = <&vph_pwr>; 675 675 676 qcom,pmic-id = "g"; 676 qcom,pmic-id = "g"; 677 677 678 vreg_s1g_1p25: smps1 { 678 vreg_s1g_1p25: smps1 { 679 regulator-name = "vreg 679 regulator-name = "vreg_s1g_1p25"; 680 regulator-min-microvol 680 regulator-min-microvolt = <1200000>; 681 regulator-max-microvol 681 regulator-max-microvolt = <1300000>; 682 regulator-initial-mode 682 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 683 }; 683 }; 684 684 685 vreg_s2g_0p85: smps2 { 685 vreg_s2g_0p85: smps2 { 686 regulator-name = "vreg 686 regulator-name = "vreg_s2g_0p85"; 687 regulator-min-microvol 687 regulator-min-microvolt = <800000>; 688 regulator-max-microvol 688 regulator-max-microvolt = <1000000>; 689 regulator-initial-mode 689 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 690 }; 690 }; 691 691 692 vreg_s3g_0p8: smps3 { 692 vreg_s3g_0p8: smps3 { 693 regulator-name = "vreg 693 regulator-name = "vreg_s3g_0p8"; 694 regulator-min-microvol 694 regulator-min-microvolt = <300000>; 695 regulator-max-microvol 695 regulator-max-microvolt = <1004000>; 696 regulator-initial-mode 696 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 697 }; 697 }; 698 698 699 vreg_s4g_1p25: smps4 { 699 vreg_s4g_1p25: smps4 { 700 regulator-name = "vreg 700 regulator-name = "vreg_s4g_1p25"; 701 regulator-min-microvol 701 regulator-min-microvolt = <1200000>; 702 regulator-max-microvol 702 regulator-max-microvolt = <1352000>; 703 regulator-initial-mode 703 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 704 }; 704 }; 705 705 706 vreg_s5g_0p85: smps5 { 706 vreg_s5g_0p85: smps5 { 707 regulator-name = "vreg 707 regulator-name = "vreg_s5g_0p85"; 708 regulator-min-microvol 708 regulator-min-microvolt = <500000>; 709 regulator-max-microvol 709 regulator-max-microvolt = <1004000>; 710 regulator-initial-mode 710 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 711 }; 711 }; 712 712 713 vreg_s6g_1p86: smps6 { 713 vreg_s6g_1p86: smps6 { 714 regulator-name = "vreg 714 regulator-name = "vreg_s6g_1p86"; 715 regulator-min-microvol 715 regulator-min-microvolt = <1800000>; 716 regulator-max-microvol 716 regulator-max-microvolt = <2000000>; 717 regulator-initial-mode 717 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 718 }; 718 }; 719 719 720 vreg_l1g_1p2: ldo1 { 720 vreg_l1g_1p2: ldo1 { 721 regulator-name = "vreg 721 regulator-name = "vreg_l1g_1p2"; 722 regulator-min-microvol 722 regulator-min-microvolt = <1200000>; 723 regulator-max-microvol 723 regulator-max-microvolt = <1200000>; 724 regulator-initial-mode 724 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 725 regulator-allow-set-lo 725 regulator-allow-set-load; 726 regulator-allowed-mode 726 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 727 727 RPMH_REGULATOR_MODE_HPM>; 728 }; 728 }; 729 729 730 vreg_l3g_1p2: ldo3 { 730 vreg_l3g_1p2: ldo3 { 731 regulator-name = "vreg 731 regulator-name = "vreg_l3g_1p2"; 732 regulator-min-microvol 732 regulator-min-microvolt = <1200000>; 733 regulator-max-microvol 733 regulator-max-microvolt = <1200000>; 734 regulator-initial-mode 734 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 735 regulator-allow-set-lo 735 regulator-allow-set-load; 736 regulator-allowed-mode 736 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 737 737 RPMH_REGULATOR_MODE_HPM>; 738 }; 738 }; 739 }; 739 }; 740 740 741 regulators-6 { 741 regulators-6 { 742 compatible = "qcom,pm8010-rpmh 742 compatible = "qcom,pm8010-rpmh-regulators"; 743 743 744 vdd-l1-l2-supply = <&vreg_s4g_ 744 vdd-l1-l2-supply = <&vreg_s4g_1p25>; 745 vdd-l3-l4-supply = <&vreg_bob2 745 vdd-l3-l4-supply = <&vreg_bob2>; 746 vdd-l5-supply = <&vreg_s6g_1p8 746 vdd-l5-supply = <&vreg_s6g_1p86>; 747 vdd-l6-supply = <&vreg_s6g_1p8 747 vdd-l6-supply = <&vreg_s6g_1p86>; 748 vdd-l7-supply = <&vreg_bob1>; 748 vdd-l7-supply = <&vreg_bob1>; 749 749 750 qcom,pmic-id = "m"; 750 qcom,pmic-id = "m"; 751 751 752 vreg_l1m_1p056: ldo1 { 752 vreg_l1m_1p056: ldo1 { 753 regulator-name = "vreg 753 regulator-name = "vreg_l1m_1p056"; 754 regulator-min-microvol 754 regulator-min-microvolt = <1056000>; 755 regulator-max-microvol 755 regulator-max-microvolt = <1056000>; 756 regulator-initial-mode 756 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 757 regulator-allow-set-lo 757 regulator-allow-set-load; 758 regulator-allowed-mode 758 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 759 759 RPMH_REGULATOR_MODE_HPM>; 760 }; 760 }; 761 761 762 vreg_l2m_1p056: ldo2 { 762 vreg_l2m_1p056: ldo2 { 763 regulator-name = "vreg 763 regulator-name = "vreg_l2m_1p056"; 764 regulator-min-microvol 764 regulator-min-microvolt = <1056000>; 765 regulator-max-microvol 765 regulator-max-microvolt = <1056000>; 766 regulator-initial-mode 766 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 767 regulator-allow-set-lo 767 regulator-allow-set-load; 768 regulator-allowed-mode 768 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 769 769 RPMH_REGULATOR_MODE_HPM>; 770 }; 770 }; 771 771 772 vreg_l3m_2p8: ldo3 { 772 vreg_l3m_2p8: ldo3 { 773 regulator-name = "vreg 773 regulator-name = "vreg_l3m_2p8"; 774 regulator-min-microvol 774 regulator-min-microvolt = <2800000>; 775 regulator-max-microvol 775 regulator-max-microvolt = <2800000>; 776 regulator-initial-mode 776 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 777 }; 777 }; 778 778 779 vreg_l4m_2p8: ldo4 { 779 vreg_l4m_2p8: ldo4 { 780 regulator-name = "vreg 780 regulator-name = "vreg_l4m_2p8"; 781 regulator-min-microvol 781 regulator-min-microvolt = <2800000>; 782 regulator-max-microvol 782 regulator-max-microvolt = <2800000>; 783 regulator-initial-mode 783 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 784 }; 784 }; 785 785 786 vreg_l5m_1p8: ldo5 { 786 vreg_l5m_1p8: ldo5 { 787 regulator-name = "vreg 787 regulator-name = "vreg_l5m_1p8"; 788 regulator-min-microvol 788 regulator-min-microvolt = <1800000>; 789 regulator-max-microvol 789 regulator-max-microvolt = <1800000>; 790 regulator-initial-mode 790 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 791 }; 791 }; 792 792 793 vreg_l6m_1p8: ldo6 { 793 vreg_l6m_1p8: ldo6 { 794 regulator-name = "vreg 794 regulator-name = "vreg_l6m_1p8"; 795 regulator-min-microvol 795 regulator-min-microvolt = <1800000>; 796 regulator-max-microvol 796 regulator-max-microvolt = <1800000>; 797 regulator-initial-mode 797 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 798 }; 798 }; 799 799 800 vreg_l7m_2p9: ldo7 { 800 vreg_l7m_2p9: ldo7 { 801 regulator-name = "vreg 801 regulator-name = "vreg_l7m_2p9"; 802 regulator-min-microvol 802 regulator-min-microvolt = <2800000>; 803 regulator-max-microvol 803 regulator-max-microvolt = <2904000>; 804 regulator-initial-mode 804 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 805 }; 805 }; 806 }; 806 }; 807 807 808 regulators-7 { 808 regulators-7 { 809 compatible = "qcom,pm8010-rpmh 809 compatible = "qcom,pm8010-rpmh-regulators"; 810 810 811 vdd-l1-l2-supply = <&vreg_s4g_ 811 vdd-l1-l2-supply = <&vreg_s4g_1p25>; 812 vdd-l3-l4-supply = <&vreg_bob2 812 vdd-l3-l4-supply = <&vreg_bob2>; 813 vdd-l5-supply = <&vreg_s6g_1p8 813 vdd-l5-supply = <&vreg_s6g_1p86>; 814 vdd-l6-supply = <&vreg_bob1>; 814 vdd-l6-supply = <&vreg_bob1>; 815 vdd-l7-supply = <&vreg_bob1>; 815 vdd-l7-supply = <&vreg_bob1>; 816 816 817 qcom,pmic-id = "n"; 817 qcom,pmic-id = "n"; 818 818 819 vreg_l1n_1p1: ldo1 { 819 vreg_l1n_1p1: ldo1 { 820 regulator-name = "vreg 820 regulator-name = "vreg_l1n_1p1"; 821 regulator-min-microvol 821 regulator-min-microvolt = <1104000>; 822 regulator-max-microvol 822 regulator-max-microvolt = <1200000>; 823 regulator-initial-mode 823 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 824 regulator-allow-set-lo 824 regulator-allow-set-load; 825 regulator-allowed-mode 825 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 826 826 RPMH_REGULATOR_MODE_HPM>; 827 }; 827 }; 828 828 829 vreg_l2n_1p1: ldo2 { 829 vreg_l2n_1p1: ldo2 { 830 regulator-name = "vreg 830 regulator-name = "vreg_l2n_1p1"; 831 regulator-min-microvol 831 regulator-min-microvolt = <1104000>; 832 regulator-max-microvol 832 regulator-max-microvolt = <1200000>; 833 regulator-initial-mode 833 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 834 regulator-allow-set-lo 834 regulator-allow-set-load; 835 regulator-allowed-mode 835 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 836 836 RPMH_REGULATOR_MODE_HPM>; 837 }; 837 }; 838 838 839 vreg_l3n_2p8: ldo3 { 839 vreg_l3n_2p8: ldo3 { 840 regulator-name = "vreg 840 regulator-name = "vreg_l3n_2p8"; 841 regulator-min-microvol 841 regulator-min-microvolt = <2800000>; 842 regulator-max-microvol 842 regulator-max-microvolt = <3000000>; 843 regulator-initial-mode 843 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 844 }; 844 }; 845 845 846 vreg_l4n_2p8: ldo4 { 846 vreg_l4n_2p8: ldo4 { 847 regulator-name = "vreg 847 regulator-name = "vreg_l4n_2p8"; 848 regulator-min-microvol 848 regulator-min-microvolt = <2800000>; 849 regulator-max-microvol 849 regulator-max-microvolt = <3300000>; 850 regulator-initial-mode 850 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 851 }; 851 }; 852 852 853 vreg_l5n_1p8: ldo5 { 853 vreg_l5n_1p8: ldo5 { 854 regulator-name = "vreg 854 regulator-name = "vreg_l5n_1p8"; 855 regulator-min-microvol 855 regulator-min-microvolt = <1800000>; 856 regulator-max-microvol 856 regulator-max-microvolt = <1800000>; 857 regulator-initial-mode 857 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 858 }; 858 }; 859 859 860 vreg_l6n_3p3: ldo6 { 860 vreg_l6n_3p3: ldo6 { 861 regulator-name = "vreg 861 regulator-name = "vreg_l6n_3p3"; 862 regulator-min-microvol 862 regulator-min-microvolt = <2800000>; 863 regulator-max-microvol 863 regulator-max-microvolt = <3304000>; 864 regulator-initial-mode 864 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 865 }; 865 }; 866 866 867 vreg_l7n_2p96: ldo7 { 867 vreg_l7n_2p96: ldo7 { 868 regulator-name = "vreg 868 regulator-name = "vreg_l7n_2p96"; 869 regulator-min-microvol 869 regulator-min-microvolt = <2800000>; 870 regulator-max-microvol 870 regulator-max-microvolt = <2960000>; 871 regulator-initial-mode 871 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 872 }; 872 }; 873 }; 873 }; 874 }; 874 }; 875 875 876 &i2c0 { 876 &i2c0 { 877 clock-frequency = <400000>; 877 clock-frequency = <400000>; 878 status = "okay"; 878 status = "okay"; 879 879 880 lt9611_codec: hdmi-bridge@2b { 880 lt9611_codec: hdmi-bridge@2b { 881 compatible = "lontium,lt9611ux 881 compatible = "lontium,lt9611uxc"; 882 reg = <0x2b>; 882 reg = <0x2b>; 883 883 884 interrupts-extended = <&tlmm 8 884 interrupts-extended = <&tlmm 8 IRQ_TYPE_EDGE_FALLING>; 885 885 886 reset-gpios = <&tlmm 7 GPIO_AC 886 reset-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>; 887 887 888 vdd-supply = <<9611_1v2>; 888 vdd-supply = <<9611_1v2>; 889 vcc-supply = <<9611_3v3>; 889 vcc-supply = <<9611_3v3>; 890 890 891 pinctrl-0 = <<9611_irq_pin>, 891 pinctrl-0 = <<9611_irq_pin>, <<9611_rst_pin>; 892 pinctrl-names = "default"; 892 pinctrl-names = "default"; 893 893 894 ports { 894 ports { 895 #address-cells = <1>; 895 #address-cells = <1>; 896 #size-cells = <0>; 896 #size-cells = <0>; 897 897 898 port@0 { 898 port@0 { 899 reg = <0>; 899 reg = <0>; 900 900 901 lt9611_a: endp 901 lt9611_a: endpoint { 902 remote 902 remote-endpoint = <&mdss_dsi0_out>; 903 }; 903 }; 904 }; 904 }; 905 905 906 port@2 { 906 port@2 { 907 reg = <2>; 907 reg = <2>; 908 908 909 lt9611_out: en 909 lt9611_out: endpoint { 910 remote 910 remote-endpoint = <&hdmi_connector_out>; 911 }; 911 }; 912 }; 912 }; 913 }; 913 }; 914 }; 914 }; 915 }; 915 }; 916 916 917 &i2c_hub_2 { 917 &i2c_hub_2 { 918 status = "okay"; 918 status = "okay"; 919 919 920 typec-mux@42 { 920 typec-mux@42 { 921 compatible = "fcs,fsa4480"; 921 compatible = "fcs,fsa4480"; 922 reg = <0x42>; 922 reg = <0x42>; 923 923 924 vcc-supply = <&vreg_bob1>; 924 vcc-supply = <&vreg_bob1>; 925 925 926 mode-switch; 926 mode-switch; 927 orientation-switch; 927 orientation-switch; 928 928 929 port { 929 port { 930 fsa4480_sbu_mux: endpo 930 fsa4480_sbu_mux: endpoint { 931 remote-endpoin 931 remote-endpoint = <&pmic_glink_sbu>; 932 }; 932 }; 933 }; 933 }; 934 }; 934 }; 935 }; 935 }; 936 936 937 &i2c_master_hub_0 { 937 &i2c_master_hub_0 { 938 status = "okay"; 938 status = "okay"; 939 }; 939 }; 940 940 941 &ipa { 941 &ipa { 942 qcom,gsi-loader = "self"; 942 qcom,gsi-loader = "self"; 943 memory-region = <&ipa_fw_mem>; 943 memory-region = <&ipa_fw_mem>; 944 firmware-name = "qcom/sm8550/ipa_fws.m 944 firmware-name = "qcom/sm8550/ipa_fws.mbn"; 945 status = "okay"; 945 status = "okay"; 946 }; 946 }; 947 947 948 &gpi_dma1 { 948 &gpi_dma1 { 949 status = "okay"; 949 status = "okay"; 950 }; 950 }; 951 951 952 &gpu { 952 &gpu { 953 status = "okay"; 953 status = "okay"; 954 954 955 zap-shader { 955 zap-shader { 956 firmware-name = "qcom/sm8550/a 956 firmware-name = "qcom/sm8550/a740_zap.mbn"; 957 }; 957 }; 958 }; 958 }; 959 959 960 &lpass_tlmm { 960 &lpass_tlmm { 961 spkr_1_sd_n_active: spkr-1-sd-n-active 961 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 962 pins = "gpio17"; 962 pins = "gpio17"; 963 function = "gpio"; 963 function = "gpio"; 964 drive-strength = <16>; 964 drive-strength = <16>; 965 bias-disable; 965 bias-disable; 966 output-low; 966 output-low; 967 }; 967 }; 968 968 969 spkr_2_sd_n_active: spkr-2-sd-n-active 969 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 970 pins = "gpio18"; 970 pins = "gpio18"; 971 function = "gpio"; 971 function = "gpio"; 972 drive-strength = <16>; 972 drive-strength = <16>; 973 bias-disable; 973 bias-disable; 974 output-low; 974 output-low; 975 }; 975 }; 976 }; 976 }; 977 977 978 &mdss { 978 &mdss { 979 status = "okay"; 979 status = "okay"; 980 }; 980 }; 981 981 982 &mdss_dsi0 { 982 &mdss_dsi0 { 983 vdda-supply = <&vreg_l3e_1p2>; 983 vdda-supply = <&vreg_l3e_1p2>; 984 status = "okay"; 984 status = "okay"; 985 }; 985 }; 986 986 987 &mdss_dsi0_out { 987 &mdss_dsi0_out { 988 remote-endpoint = <<9611_a>; 988 remote-endpoint = <<9611_a>; 989 data-lanes = <0 1 2 3>; 989 data-lanes = <0 1 2 3>; 990 }; 990 }; 991 991 992 &mdss_dsi0_phy { 992 &mdss_dsi0_phy { 993 vdds-supply = <&vreg_l1e_0p88>; 993 vdds-supply = <&vreg_l1e_0p88>; 994 status = "okay"; 994 status = "okay"; 995 }; 995 }; 996 996 997 &mdss_dp0 { 997 &mdss_dp0 { 998 status = "okay"; 998 status = "okay"; 999 }; 999 }; 1000 1000 1001 &mdss_dp0_out { 1001 &mdss_dp0_out { 1002 data-lanes = <0 1>; 1002 data-lanes = <0 1>; 1003 }; 1003 }; 1004 1004 1005 &pcie0 { 1005 &pcie0 { 1006 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HI 1006 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 1007 perst-gpios = <&tlmm 94 GPIO_ACTIVE_L 1007 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 1008 1008 1009 pinctrl-0 = <&pcie0_default_state>; 1009 pinctrl-0 = <&pcie0_default_state>; 1010 pinctrl-names = "default"; 1010 pinctrl-names = "default"; 1011 1011 1012 status = "okay"; 1012 status = "okay"; 1013 }; 1013 }; 1014 1014 1015 &pcieport0 { 1015 &pcieport0 { 1016 wifi@0 { 1016 wifi@0 { 1017 compatible = "pci17cb,1107"; 1017 compatible = "pci17cb,1107"; 1018 reg = <0x10000 0x0 0x0 0x0 0x 1018 reg = <0x10000 0x0 0x0 0x0 0x0>; 1019 1019 1020 vddrfacmn-supply = <&vreg_pmu 1020 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 1021 vddaon-supply = <&vreg_pmu_ao 1021 vddaon-supply = <&vreg_pmu_aon_0p59>; 1022 vddwlcx-supply = <&vreg_pmu_w 1022 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 1023 vddwlmx-supply = <&vreg_pmu_w 1023 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 1024 vddrfa0p8-supply = <&vreg_pmu 1024 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 1025 vddrfa1p2-supply = <&vreg_pmu 1025 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 1026 vddrfa1p8-supply = <&vreg_pmu 1026 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; 1027 vddpcie0p9-supply = <&vreg_pm 1027 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; 1028 vddpcie1p8-supply = <&vreg_pm 1028 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; 1029 }; 1029 }; 1030 }; 1030 }; 1031 1031 1032 &pcie0_phy { 1032 &pcie0_phy { 1033 vdda-phy-supply = <&vreg_l1e_0p88>; 1033 vdda-phy-supply = <&vreg_l1e_0p88>; 1034 vdda-pll-supply = <&vreg_l3e_1p2>; 1034 vdda-pll-supply = <&vreg_l3e_1p2>; 1035 1035 1036 status = "okay"; 1036 status = "okay"; 1037 }; 1037 }; 1038 1038 1039 &pcie1 { 1039 &pcie1 { 1040 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HI 1040 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 1041 perst-gpios = <&tlmm 97 GPIO_ACTIVE_L 1041 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 1042 1042 1043 pinctrl-0 = <&pcie1_default_state>; 1043 pinctrl-0 = <&pcie1_default_state>; 1044 pinctrl-names = "default"; 1044 pinctrl-names = "default"; 1045 1045 1046 status = "okay"; 1046 status = "okay"; 1047 }; 1047 }; 1048 1048 1049 &pcie1_phy { 1049 &pcie1_phy { 1050 vdda-phy-supply = <&vreg_l3c_0p9>; 1050 vdda-phy-supply = <&vreg_l3c_0p9>; 1051 vdda-pll-supply = <&vreg_l3e_1p2>; 1051 vdda-pll-supply = <&vreg_l3e_1p2>; 1052 vdda-qref-supply = <&vreg_l1e_0p88>; 1052 vdda-qref-supply = <&vreg_l1e_0p88>; 1053 1053 1054 status = "okay"; 1054 status = "okay"; 1055 }; 1055 }; 1056 1056 1057 &pm8550_gpios { 1057 &pm8550_gpios { 1058 sdc2_card_det_n: sdc2-card-det-state 1058 sdc2_card_det_n: sdc2-card-det-state { 1059 pins = "gpio12"; 1059 pins = "gpio12"; 1060 function = "normal"; 1060 function = "normal"; 1061 input-enable; 1061 input-enable; 1062 output-disable; 1062 output-disable; 1063 bias-pull-up; 1063 bias-pull-up; 1064 power-source = <1>; /* 1.8 V 1064 power-source = <1>; /* 1.8 V */ 1065 }; 1065 }; 1066 1066 1067 volume_up_n: volume-up-n-state { 1067 volume_up_n: volume-up-n-state { 1068 pins = "gpio6"; 1068 pins = "gpio6"; 1069 function = "normal"; 1069 function = "normal"; 1070 power-source = <1>; 1070 power-source = <1>; 1071 bias-pull-up; 1071 bias-pull-up; 1072 input-enable; 1072 input-enable; 1073 }; 1073 }; 1074 }; 1074 }; 1075 1075 1076 /* The RGB signals are routed to 3 separate L 1076 /* The RGB signals are routed to 3 separate LEDs on the HDK8550 */ 1077 &pm8550_pwm { 1077 &pm8550_pwm { 1078 #address-cells = <1>; 1078 #address-cells = <1>; 1079 #size-cells = <0>; 1079 #size-cells = <0>; 1080 1080 1081 status = "okay"; 1081 status = "okay"; 1082 1082 1083 led@1 { 1083 led@1 { 1084 reg = <1>; 1084 reg = <1>; 1085 function = LED_FUNCTION_STATU 1085 function = LED_FUNCTION_STATUS; 1086 color = <LED_COLOR_ID_RED>; 1086 color = <LED_COLOR_ID_RED>; 1087 default-state = "off"; 1087 default-state = "off"; 1088 }; 1088 }; 1089 1089 1090 led@2 { 1090 led@2 { 1091 reg = <2>; 1091 reg = <2>; 1092 function = LED_FUNCTION_STATU 1092 function = LED_FUNCTION_STATUS; 1093 color = <LED_COLOR_ID_GREEN>; 1093 color = <LED_COLOR_ID_GREEN>; 1094 default-state = "off"; 1094 default-state = "off"; 1095 }; 1095 }; 1096 1096 1097 led@3 { 1097 led@3 { 1098 reg = <3>; 1098 reg = <3>; 1099 function = LED_FUNCTION_STATU 1099 function = LED_FUNCTION_STATUS; 1100 color = <LED_COLOR_ID_BLUE>; 1100 color = <LED_COLOR_ID_BLUE>; 1101 default-state = "off"; 1101 default-state = "off"; 1102 }; 1102 }; 1103 }; 1103 }; 1104 1104 1105 &pm8550b_eusb2_repeater { 1105 &pm8550b_eusb2_repeater { 1106 vdd18-supply = <&vreg_l15b_1p8>; 1106 vdd18-supply = <&vreg_l15b_1p8>; 1107 vdd3-supply = <&vreg_l5b_3p1>; 1107 vdd3-supply = <&vreg_l5b_3p1>; 1108 }; 1108 }; 1109 1109 1110 &pon_pwrkey { 1110 &pon_pwrkey { 1111 status = "okay"; 1111 status = "okay"; 1112 }; 1112 }; 1113 1113 1114 &pon_resin { 1114 &pon_resin { 1115 linux,code = <KEY_VOLUMEDOWN>; 1115 linux,code = <KEY_VOLUMEDOWN>; 1116 1116 1117 status = "okay"; 1117 status = "okay"; 1118 }; 1118 }; 1119 1119 1120 &pmk8550_gpios { 1120 &pmk8550_gpios { 1121 pmk8550_sleep_clk: sleep-clk-state { 1121 pmk8550_sleep_clk: sleep-clk-state { 1122 pins = "gpio3"; 1122 pins = "gpio3"; 1123 function = "func1"; 1123 function = "func1"; 1124 input-disable; 1124 input-disable; 1125 output-enable; 1125 output-enable; 1126 bias-disable; 1126 bias-disable; 1127 power-source = <0>; 1127 power-source = <0>; 1128 }; 1128 }; 1129 }; 1129 }; 1130 1130 1131 &qupv3_id_0 { 1131 &qupv3_id_0 { 1132 status = "okay"; 1132 status = "okay"; 1133 }; 1133 }; 1134 1134 1135 &qupv3_id_1 { 1135 &qupv3_id_1 { 1136 status = "okay"; 1136 status = "okay"; 1137 }; 1137 }; 1138 1138 1139 &remoteproc_adsp { 1139 &remoteproc_adsp { 1140 firmware-name = "qcom/sm8550/adsp.mbn 1140 firmware-name = "qcom/sm8550/adsp.mbn", 1141 "qcom/sm8550/adsp_dtb 1141 "qcom/sm8550/adsp_dtb.mbn"; 1142 status = "okay"; 1142 status = "okay"; 1143 }; 1143 }; 1144 1144 1145 &remoteproc_cdsp { 1145 &remoteproc_cdsp { 1146 firmware-name = "qcom/sm8550/cdsp.mbn 1146 firmware-name = "qcom/sm8550/cdsp.mbn", 1147 "qcom/sm8550/cdsp_dtb 1147 "qcom/sm8550/cdsp_dtb.mbn"; 1148 status = "okay"; 1148 status = "okay"; 1149 }; 1149 }; 1150 1150 1151 &remoteproc_mpss { 1151 &remoteproc_mpss { 1152 firmware-name = "qcom/sm8550/modem.mb 1152 firmware-name = "qcom/sm8550/modem.mbn", 1153 "qcom/sm8550/modem_dt 1153 "qcom/sm8550/modem_dtb.mbn"; 1154 status = "okay"; 1154 status = "okay"; 1155 }; 1155 }; 1156 1156 1157 &sdhc_2 { 1157 &sdhc_2 { 1158 cd-gpios = <&pm8550_gpios 12 GPIO_ACT 1158 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>; 1159 1159 1160 pinctrl-0 = <&sdc2_default>, <&sdc2_c 1160 pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>; 1161 pinctrl-1 = <&sdc2_sleep>, <&sdc2_car 1161 pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>; 1162 pinctrl-names = "default", "sleep"; 1162 pinctrl-names = "default", "sleep"; 1163 1163 1164 vmmc-supply = <&vreg_l9b_2p9>; 1164 vmmc-supply = <&vreg_l9b_2p9>; 1165 vqmmc-supply = <&vreg_l8b_1p8>; 1165 vqmmc-supply = <&vreg_l8b_1p8>; 1166 1166 1167 bus-width = <4>; 1167 bus-width = <4>; 1168 no-sdio; 1168 no-sdio; 1169 no-mmc; 1169 no-mmc; 1170 1170 1171 status = "okay"; 1171 status = "okay"; 1172 }; 1172 }; 1173 1173 1174 &sleep_clk { 1174 &sleep_clk { 1175 clock-frequency = <32000>; 1175 clock-frequency = <32000>; 1176 }; 1176 }; 1177 1177 1178 &swr0 { 1178 &swr0 { 1179 status = "okay"; 1179 status = "okay"; 1180 1180 1181 /* WSA8845, Speaker North */ 1181 /* WSA8845, Speaker North */ 1182 north_spkr: speaker@0,0 { 1182 north_spkr: speaker@0,0 { 1183 compatible = "sdw20217020400" 1183 compatible = "sdw20217020400"; 1184 reg = <0 0>; 1184 reg = <0 0>; 1185 1185 1186 pinctrl-0 = <&spkr_1_sd_n_act 1186 pinctrl-0 = <&spkr_1_sd_n_active>; 1187 pinctrl-names = "default"; 1187 pinctrl-names = "default"; 1188 1188 1189 powerdown-gpios = <&lpass_tlm 1189 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; 1190 1190 1191 vdd-1p8-supply = <&vreg_l15b_ 1191 vdd-1p8-supply = <&vreg_l15b_1p8>; 1192 vdd-io-supply = <&vreg_l15b_1 1192 vdd-io-supply = <&vreg_l15b_1p8>; 1193 1193 1194 #sound-dai-cells = <0>; 1194 #sound-dai-cells = <0>; 1195 sound-name-prefix = "SpkrLeft 1195 sound-name-prefix = "SpkrLeft"; 1196 qcom,port-mapping = <1 2 3 7 1196 qcom,port-mapping = <1 2 3 7 10 13>; 1197 }; 1197 }; 1198 1198 1199 /* WSA8845, Speaker South */ 1199 /* WSA8845, Speaker South */ 1200 south_spkr: speaker@0,1 { 1200 south_spkr: speaker@0,1 { 1201 compatible = "sdw20217020400" 1201 compatible = "sdw20217020400"; 1202 reg = <0 1>; 1202 reg = <0 1>; 1203 1203 1204 pinctrl-0 = <&spkr_2_sd_n_act 1204 pinctrl-0 = <&spkr_2_sd_n_active>; 1205 pinctrl-names = "default"; 1205 pinctrl-names = "default"; 1206 1206 1207 powerdown-gpios = <&lpass_tlm 1207 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; 1208 1208 1209 vdd-1p8-supply = <&vreg_l15b_ 1209 vdd-1p8-supply = <&vreg_l15b_1p8>; 1210 vdd-io-supply = <&vreg_l15b_1 1210 vdd-io-supply = <&vreg_l15b_1p8>; 1211 1211 1212 #sound-dai-cells = <0>; 1212 #sound-dai-cells = <0>; 1213 sound-name-prefix = "SpkrRigh 1213 sound-name-prefix = "SpkrRight"; 1214 qcom,port-mapping = <4 5 6 7 1214 qcom,port-mapping = <4 5 6 7 11 13>; 1215 }; 1215 }; 1216 }; 1216 }; 1217 1217 1218 &swr1 { 1218 &swr1 { 1219 status = "okay"; 1219 status = "okay"; 1220 1220 1221 /* WCD9385 RX */ 1221 /* WCD9385 RX */ 1222 wcd_rx: codec@0,4 { 1222 wcd_rx: codec@0,4 { 1223 compatible = "sdw20217010d00" 1223 compatible = "sdw20217010d00"; 1224 reg = <0 4>; 1224 reg = <0 4>; 1225 1225 1226 /* 1226 /* 1227 * WCD9385 RX Port 1 (HPH_L/R 1227 * WCD9385 RX Port 1 (HPH_L/R) <=> SWR1 Port 1 (HPH_L/R) 1228 * WCD9385 RX Port 2 (CLSH) 1228 * WCD9385 RX Port 2 (CLSH) <=> SWR1 Port 2 (CLSH) 1229 * WCD9385 RX Port 3 (COMP_L/ 1229 * WCD9385 RX Port 3 (COMP_L/R) <=> SWR1 Port 3 (COMP_L/R) 1230 * WCD9385 RX Port 4 (LO) 1230 * WCD9385 RX Port 4 (LO) <=> SWR1 Port 4 (LO) 1231 * WCD9385 RX Port 5 (DSD_L/R 1231 * WCD9385 RX Port 5 (DSD_L/R) <=> SWR1 Port 5 (DSD_L/R) 1232 */ 1232 */ 1233 qcom,rx-port-mapping = <1 2 3 1233 qcom,rx-port-mapping = <1 2 3 4 5>; 1234 }; 1234 }; 1235 }; 1235 }; 1236 1236 1237 &swr2 { 1237 &swr2 { 1238 status = "okay"; 1238 status = "okay"; 1239 1239 1240 /* WCD9385 TX */ 1240 /* WCD9385 TX */ 1241 wcd_tx: codec@0,3 { 1241 wcd_tx: codec@0,3 { 1242 compatible = "sdw20217010d00" 1242 compatible = "sdw20217010d00"; 1243 reg = <0 3>; 1243 reg = <0 3>; 1244 1244 1245 /* 1245 /* 1246 * WCD9385 TX Port 1 (ADC1,2) 1246 * WCD9385 TX Port 1 (ADC1,2) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 1247 * WCD9385 TX Port 2 (ADC3,4) 1247 * WCD9385 TX Port 2 (ADC3,4) <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3) 1248 * WCD9385 TX Port 3 (DMIC0,1 1248 * 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 1249 * WCD9385 TX Port 4 (DMIC4,5,6,7) <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11) 1250 */ 1250 */ 1251 qcom,tx-port-mapping = <2 2 3 1251 qcom,tx-port-mapping = <2 2 3 4>; 1252 }; 1252 }; 1253 }; 1253 }; 1254 1254 1255 &tlmm { 1255 &tlmm { 1256 /* Reserved I/Os for NFC */ 1256 /* Reserved I/Os for NFC */ 1257 gpio-reserved-ranges = <32 8>; 1257 gpio-reserved-ranges = <32 8>; 1258 1258 1259 bt_default: bt-default-state { 1259 bt_default: bt-default-state { 1260 bt-en-pins { 1260 bt-en-pins { 1261 pins = "gpio81"; 1261 pins = "gpio81"; 1262 function = "gpio"; 1262 function = "gpio"; 1263 drive-strength = <16> 1263 drive-strength = <16>; 1264 bias-disable; 1264 bias-disable; 1265 }; 1265 }; 1266 1266 1267 sw-ctrl-pins { 1267 sw-ctrl-pins { 1268 pins = "gpio82"; 1268 pins = "gpio82"; 1269 function = "gpio"; 1269 function = "gpio"; 1270 bias-pull-down; 1270 bias-pull-down; 1271 }; 1271 }; 1272 }; 1272 }; 1273 1273 1274 lt9611_irq_pin: lt9611-irq-state { 1274 lt9611_irq_pin: lt9611-irq-state { 1275 pins = "gpio8"; 1275 pins = "gpio8"; 1276 function = "gpio"; 1276 function = "gpio"; 1277 bias-disable; 1277 bias-disable; 1278 }; 1278 }; 1279 1279 1280 lt9611_rst_pin: lt9611-rst-state { 1280 lt9611_rst_pin: lt9611-rst-state { 1281 pins = "gpio7"; 1281 pins = "gpio7"; 1282 function = "gpio"; 1282 function = "gpio"; 1283 output-high; 1283 output-high; 1284 }; 1284 }; 1285 1285 1286 wcd_default: wcd-reset-n-active-state 1286 wcd_default: wcd-reset-n-active-state { 1287 pins = "gpio108"; 1287 pins = "gpio108"; 1288 function = "gpio"; 1288 function = "gpio"; 1289 drive-strength = <16>; 1289 drive-strength = <16>; 1290 bias-disable; 1290 bias-disable; 1291 output-low; 1291 output-low; 1292 }; 1292 }; 1293 1293 1294 wlan_en: wlan-en-state { 1294 wlan_en: wlan-en-state { 1295 pins = "gpio80"; 1295 pins = "gpio80"; 1296 function = "gpio"; 1296 function = "gpio"; 1297 drive-strength = <8>; 1297 drive-strength = <8>; 1298 bias-pull-down; 1298 bias-pull-down; 1299 }; 1299 }; 1300 }; 1300 }; 1301 1301 1302 &uart7 { 1302 &uart7 { 1303 status = "okay"; 1303 status = "okay"; 1304 }; 1304 }; 1305 1305 1306 &uart14 { 1306 &uart14 { 1307 status = "okay"; 1307 status = "okay"; 1308 1308 1309 bluetooth { 1309 bluetooth { 1310 compatible = "qcom,wcn7850-bt 1310 compatible = "qcom,wcn7850-bt"; 1311 1311 1312 vddrfacmn-supply = <&vreg_pmu 1312 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 1313 vddaon-supply = <&vreg_pmu_ao 1313 vddaon-supply = <&vreg_pmu_aon_0p59>; 1314 vddwlcx-supply = <&vreg_pmu_w 1314 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 1315 vddwlmx-supply = <&vreg_pmu_w 1315 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 1316 vddrfa0p8-supply = <&vreg_pmu 1316 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 1317 vddrfa1p2-supply = <&vreg_pmu 1317 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 1318 vddrfa1p8-supply = <&vreg_pmu 1318 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>; 1319 1319 1320 max-speed = <3200000>; 1320 max-speed = <3200000>; 1321 }; 1321 }; 1322 }; 1322 }; 1323 1323 1324 &ufs_mem_hc { 1324 &ufs_mem_hc { 1325 reset-gpios = <&tlmm 210 GPIO_ACTIVE_ 1325 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 1326 1326 1327 vcc-supply = <&vreg_l17b_2p5>; 1327 vcc-supply = <&vreg_l17b_2p5>; 1328 vcc-max-microamp = <1300000>; 1328 vcc-max-microamp = <1300000>; 1329 vccq-supply = <&vreg_l1g_1p2>; 1329 vccq-supply = <&vreg_l1g_1p2>; 1330 vccq-max-microamp = <1200000>; 1330 vccq-max-microamp = <1200000>; 1331 vdd-hba-supply = <&vreg_l3g_1p2>; 1331 vdd-hba-supply = <&vreg_l3g_1p2>; 1332 1332 1333 status = "okay"; 1333 status = "okay"; 1334 }; 1334 }; 1335 1335 1336 &ufs_mem_phy { 1336 &ufs_mem_phy { 1337 vdda-phy-supply = <&vreg_l1d_0p88>; 1337 vdda-phy-supply = <&vreg_l1d_0p88>; 1338 vdda-pll-supply = <&vreg_l3e_1p2>; 1338 vdda-pll-supply = <&vreg_l3e_1p2>; 1339 1339 1340 status = "okay"; 1340 status = "okay"; 1341 }; 1341 }; 1342 1342 1343 &usb_1 { 1343 &usb_1 { 1344 status = "okay"; 1344 status = "okay"; 1345 }; 1345 }; 1346 1346 1347 &usb_1_dwc3_hs { 1347 &usb_1_dwc3_hs { 1348 remote-endpoint = <&pmic_glink_hs_in> 1348 remote-endpoint = <&pmic_glink_hs_in>; 1349 }; 1349 }; 1350 1350 1351 &usb_1_hsphy { 1351 &usb_1_hsphy { 1352 vdd-supply = <&vreg_l1e_0p88>; 1352 vdd-supply = <&vreg_l1e_0p88>; 1353 vdda12-supply = <&vreg_l3e_1p2>; 1353 vdda12-supply = <&vreg_l3e_1p2>; 1354 1354 1355 phys = <&pm8550b_eusb2_repeater>; 1355 phys = <&pm8550b_eusb2_repeater>; 1356 1356 1357 status = "okay"; 1357 status = "okay"; 1358 }; 1358 }; 1359 1359 1360 &usb_dp_qmpphy { 1360 &usb_dp_qmpphy { 1361 vdda-phy-supply = <&vreg_l3e_1p2>; 1361 vdda-phy-supply = <&vreg_l3e_1p2>; 1362 vdda-pll-supply = <&vreg_l3f_0p88>; 1362 vdda-pll-supply = <&vreg_l3f_0p88>; 1363 1363 1364 status = "okay"; 1364 status = "okay"; 1365 }; 1365 }; 1366 1366 1367 &usb_dp_qmpphy_out { 1367 &usb_dp_qmpphy_out { 1368 remote-endpoint = <&pmic_glink_ss_in> 1368 remote-endpoint = <&pmic_glink_ss_in>; 1369 }; 1369 }; 1370 1370 1371 &xo_board { 1371 &xo_board { 1372 clock-frequency = <76800000>; 1372 clock-frequency = <76800000>; 1373 }; 1373 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.