1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2022, Linaro Limited 3 * Copyright (c) 2022, Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/regulator/qcom,rpmh-regu 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm835 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/iio/qcom,spmi-adc7-pm835 10 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.h> 11 #include <dt-bindings/iio/qcom,spmi-adc7-pmk83 11 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 12 #include <dt-bindings/iio/qcom,spmi-adc7-pmr73 12 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 13 #include <dt-bindings/sound/qcom,q6dsp-lpass-p 13 #include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h> 14 #include "sm8450.dtsi" 14 #include "sm8450.dtsi" 15 #include "pm8350.dtsi" 15 #include "pm8350.dtsi" 16 #include "pm8350b.dtsi" 16 #include "pm8350b.dtsi" 17 #include "pm8350c.dtsi" 17 #include "pm8350c.dtsi" 18 #include "pm8450.dtsi" 18 #include "pm8450.dtsi" 19 #include "pmk8350.dtsi" 19 #include "pmk8350.dtsi" 20 #include "pmr735a.dtsi" 20 #include "pmr735a.dtsi" 21 21 22 / { 22 / { 23 model = "Qualcomm Technologies, Inc. S 23 model = "Qualcomm Technologies, Inc. SM8450 HDK"; 24 compatible = "qcom,sm8450-hdk", "qcom, 24 compatible = "qcom,sm8450-hdk", "qcom,sm8450"; 25 chassis-type = "embedded"; 25 chassis-type = "embedded"; 26 26 27 aliases { 27 aliases { 28 serial0 = &uart7; 28 serial0 = &uart7; 29 }; 29 }; 30 30 31 wcd938x: audio-codec { 31 wcd938x: audio-codec { 32 compatible = "qcom,wcd9385-cod 32 compatible = "qcom,wcd9385-codec"; 33 33 34 pinctrl-names = "default"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&wcd_default>; 35 pinctrl-0 = <&wcd_default>; 36 36 37 qcom,micbias1-microvolt = <180 37 qcom,micbias1-microvolt = <1800000>; 38 qcom,micbias2-microvolt = <180 38 qcom,micbias2-microvolt = <1800000>; 39 qcom,micbias3-microvolt = <180 39 qcom,micbias3-microvolt = <1800000>; 40 qcom,micbias4-microvolt = <180 40 qcom,micbias4-microvolt = <1800000>; 41 qcom,mbhc-buttons-vthreshold-m 41 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; 42 qcom,mbhc-headset-vthreshold-m 42 qcom,mbhc-headset-vthreshold-microvolt = <1700000>; 43 qcom,mbhc-headphone-vthreshold 43 qcom,mbhc-headphone-vthreshold-microvolt = <50000>; 44 qcom,rx-device = <&wcd_rx>; 44 qcom,rx-device = <&wcd_rx>; 45 qcom,tx-device = <&wcd_tx>; 45 qcom,tx-device = <&wcd_tx>; 46 46 47 reset-gpios = <&tlmm 43 GPIO_A 47 reset-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>; 48 48 49 vdd-buck-supply = <&vreg_s10b_ 49 vdd-buck-supply = <&vreg_s10b_1p8>; 50 vdd-rxtx-supply = <&vreg_s10b_ 50 vdd-rxtx-supply = <&vreg_s10b_1p8>; 51 vdd-io-supply = <&vreg_s10b_1p 51 vdd-io-supply = <&vreg_s10b_1p8>; 52 vdd-mic-bias-supply = <&vreg_b 52 vdd-mic-bias-supply = <&vreg_bob>; 53 53 54 #sound-dai-cells = <1>; 54 #sound-dai-cells = <1>; 55 }; 55 }; 56 56 57 chosen { 57 chosen { 58 stdout-path = "serial0:115200n 58 stdout-path = "serial0:115200n8"; 59 }; 59 }; 60 60 61 hdmi-out { 61 hdmi-out { 62 compatible = "hdmi-connector"; 62 compatible = "hdmi-connector"; 63 type = "a"; 63 type = "a"; 64 64 65 port { 65 port { 66 hdmi_connector_out: en 66 hdmi_connector_out: endpoint { 67 remote-endpoin 67 remote-endpoint = <<9611_out>; 68 }; 68 }; 69 }; 69 }; 70 }; 70 }; 71 71 72 lt9611_1v2: lt9611-vdd12-regulator { 72 lt9611_1v2: lt9611-vdd12-regulator { 73 compatible = "regulator-fixed" 73 compatible = "regulator-fixed"; 74 regulator-name = "LT9611_1V2"; 74 regulator-name = "LT9611_1V2"; 75 75 76 vin-supply = <&vph_pwr>; 76 vin-supply = <&vph_pwr>; 77 regulator-min-microvolt = <120 77 regulator-min-microvolt = <1200000>; 78 regulator-max-microvolt = <120 78 regulator-max-microvolt = <1200000>; 79 gpio = <&tlmm 9 GPIO_ACTIVE_HI 79 gpio = <&tlmm 9 GPIO_ACTIVE_HIGH>; 80 enable-active-high; 80 enable-active-high; 81 }; 81 }; 82 82 83 lt9611_3v3: lt9611-3v3-regulator { 83 lt9611_3v3: lt9611-3v3-regulator { 84 compatible = "regulator-fixed" 84 compatible = "regulator-fixed"; 85 regulator-name = "LT9611_3V3"; 85 regulator-name = "LT9611_3V3"; 86 86 87 vin-supply = <&vreg_bob>; 87 vin-supply = <&vreg_bob>; 88 gpio = <&tlmm 109 GPIO_ACTIVE_ 88 gpio = <&tlmm 109 GPIO_ACTIVE_HIGH>; 89 regulator-min-microvolt = <330 89 regulator-min-microvolt = <3300000>; 90 regulator-max-microvolt = <330 90 regulator-max-microvolt = <3300000>; 91 enable-active-high; 91 enable-active-high; 92 }; 92 }; 93 93 94 pmic-glink { 94 pmic-glink { 95 compatible = "qcom,sm8450-pmic 95 compatible = "qcom,sm8450-pmic-glink", "qcom,pmic-glink"; 96 #address-cells = <1>; 96 #address-cells = <1>; 97 #size-cells = <0>; 97 #size-cells = <0>; 98 orientation-gpios = <&tlmm 91 << 99 98 100 connector@0 { 99 connector@0 { 101 compatible = "usb-c-co 100 compatible = "usb-c-connector"; 102 reg = <0>; 101 reg = <0>; 103 power-role = "dual"; 102 power-role = "dual"; 104 data-role = "dual"; 103 data-role = "dual"; 105 104 106 ports { 105 ports { 107 #address-cells 106 #address-cells = <1>; 108 #size-cells = 107 #size-cells = <0>; 109 108 110 port@0 { 109 port@0 { 111 reg = 110 reg = <0>; 112 111 113 pmic_g 112 pmic_glink_hs_in: endpoint { 114 113 remote-endpoint = <&usb_1_dwc3_hs>; 115 }; 114 }; 116 }; 115 }; 117 116 118 port@1 { 117 port@1 { 119 reg = 118 reg = <1>; 120 119 121 pmic_g 120 pmic_glink_ss_in: endpoint { 122 121 remote-endpoint = <&usb_1_qmpphy_out>; 123 }; 122 }; 124 }; 123 }; 125 124 126 port@2 { 125 port@2 { 127 reg = 126 reg = <2>; 128 127 129 pmic_g 128 pmic_glink_sbu: endpoint { 130 129 remote-endpoint = <&fsa4480_sbu_mux>; 131 }; 130 }; 132 }; 131 }; 133 132 134 }; 133 }; 135 }; 134 }; 136 }; 135 }; 137 136 138 thermal-zones { 137 thermal-zones { 139 camera-thermal { 138 camera-thermal { 140 polling-delay-passive 139 polling-delay-passive = <250>; 141 !! 140 polling-delay = <0>; 142 thermal-sensors = <&pm 141 thermal-sensors = <&pmk8350_adc_tm 2>; 143 142 144 trips { 143 trips { 145 active-config0 144 active-config0 { 146 temper 145 temperature = <75000>; 147 hyster 146 hysteresis = <4000>; 148 type = 147 type = "passive"; 149 }; 148 }; 150 }; 149 }; 151 }; 150 }; 152 151 153 rear-tof-thermal { 152 rear-tof-thermal { 154 polling-delay-passive 153 polling-delay-passive = <250>; 155 !! 154 polling-delay = <0>; 156 thermal-sensors = <&pm 155 thermal-sensors = <&pmk8350_adc_tm 5>; 157 156 158 trips { 157 trips { 159 active-config0 158 active-config0 { 160 temper 159 temperature = <75000>; 161 hyster 160 hysteresis = <4000>; 162 type = 161 type = "passive"; 163 }; 162 }; 164 }; 163 }; 165 }; 164 }; 166 165 167 skin-msm-thermal { 166 skin-msm-thermal { 168 polling-delay-passive 167 polling-delay-passive = <250>; 169 !! 168 polling-delay = <0>; 170 thermal-sensors = <&pm 169 thermal-sensors = <&pmk8350_adc_tm 1>; 171 170 172 trips { 171 trips { 173 active-config0 172 active-config0 { 174 temper 173 temperature = <75000>; 175 hyster 174 hysteresis = <4000>; 176 type = 175 type = "passive"; 177 }; 176 }; 178 }; 177 }; 179 }; 178 }; 180 179 181 therm1-thermal { 180 therm1-thermal { 182 polling-delay-passive 181 polling-delay-passive = <250>; 183 !! 182 polling-delay = <0>; 184 thermal-sensors = <&pm 183 thermal-sensors = <&pmk8350_adc_tm 3>; 185 184 186 trips { 185 trips { 187 active-config0 186 active-config0 { 188 temper 187 temperature = <75000>; 189 hyster 188 hysteresis = <4000>; 190 type = 189 type = "passive"; 191 }; 190 }; 192 }; 191 }; 193 }; 192 }; 194 193 195 therm2-thermal { 194 therm2-thermal { 196 polling-delay-passive 195 polling-delay-passive = <250>; 197 !! 196 polling-delay = <0>; 198 thermal-sensors = <&pm 197 thermal-sensors = <&pmk8350_adc_tm 6>; 199 198 200 trips { 199 trips { 201 active-config0 200 active-config0 { 202 temper 201 temperature = <75000>; 203 hyster 202 hysteresis = <4000>; 204 type = 203 type = "passive"; 205 }; 204 }; 206 }; 205 }; 207 }; 206 }; 208 207 209 usb-conn-thermal { 208 usb-conn-thermal { 210 polling-delay-passive 209 polling-delay-passive = <250>; 211 !! 210 polling-delay = <0>; 212 thermal-sensors = <&pm 211 thermal-sensors = <&pmk8350_adc_tm 7>; 213 212 214 trips { 213 trips { 215 active-config0 214 active-config0 { 216 temper 215 temperature = <75000>; 217 hyster 216 hysteresis = <4000>; 218 type = 217 type = "passive"; 219 }; 218 }; 220 }; 219 }; 221 }; 220 }; 222 221 223 wide-rfc-thermal { 222 wide-rfc-thermal { 224 polling-delay-passive 223 polling-delay-passive = <250>; 225 !! 224 polling-delay = <0>; 226 thermal-sensors = <&pm 225 thermal-sensors = <&pmk8350_adc_tm 4>; 227 226 228 trips { 227 trips { 229 active-config0 228 active-config0 { 230 temper 229 temperature = <75000>; 231 hyster 230 hysteresis = <4000>; 232 type = 231 type = "passive"; 233 }; 232 }; 234 }; 233 }; 235 }; 234 }; 236 235 237 xo-thermal { 236 xo-thermal { >> 237 polling-delay-passive = <0>; >> 238 polling-delay = <0>; 238 thermal-sensors = <&pm 239 thermal-sensors = <&pmk8350_adc_tm 0>; 239 240 240 trips { 241 trips { 241 active-config0 242 active-config0 { 242 temper 243 temperature = <50000>; 243 hyster 244 hysteresis = <4000>; 244 type = 245 type = "passive"; 245 }; 246 }; 246 }; 247 }; 247 }; 248 }; 248 }; 249 }; 249 250 250 vph_pwr: vph-pwr-regulator { 251 vph_pwr: vph-pwr-regulator { 251 compatible = "regulator-fixed" 252 compatible = "regulator-fixed"; 252 regulator-name = "vph_pwr"; 253 regulator-name = "vph_pwr"; 253 regulator-min-microvolt = <370 254 regulator-min-microvolt = <3700000>; 254 regulator-max-microvolt = <370 255 regulator-max-microvolt = <3700000>; 255 256 256 regulator-always-on; 257 regulator-always-on; 257 regulator-boot-on; 258 regulator-boot-on; 258 }; 259 }; 259 }; 260 }; 260 261 261 &apps_rsc { 262 &apps_rsc { 262 regulators-0 { 263 regulators-0 { 263 compatible = "qcom,pm8350-rpmh 264 compatible = "qcom,pm8350-rpmh-regulators"; 264 qcom,pmic-id = "b"; 265 qcom,pmic-id = "b"; 265 266 266 vdd-s1-supply = <&vph_pwr>; 267 vdd-s1-supply = <&vph_pwr>; 267 vdd-s2-supply = <&vph_pwr>; 268 vdd-s2-supply = <&vph_pwr>; 268 vdd-s3-supply = <&vph_pwr>; 269 vdd-s3-supply = <&vph_pwr>; 269 vdd-s4-supply = <&vph_pwr>; 270 vdd-s4-supply = <&vph_pwr>; 270 vdd-s5-supply = <&vph_pwr>; 271 vdd-s5-supply = <&vph_pwr>; 271 vdd-s6-supply = <&vph_pwr>; 272 vdd-s6-supply = <&vph_pwr>; 272 vdd-s7-supply = <&vph_pwr>; 273 vdd-s7-supply = <&vph_pwr>; 273 vdd-s8-supply = <&vph_pwr>; 274 vdd-s8-supply = <&vph_pwr>; 274 vdd-s9-supply = <&vph_pwr>; 275 vdd-s9-supply = <&vph_pwr>; 275 vdd-s10-supply = <&vph_pwr>; 276 vdd-s10-supply = <&vph_pwr>; 276 vdd-s11-supply = <&vph_pwr>; 277 vdd-s11-supply = <&vph_pwr>; 277 vdd-s12-supply = <&vph_pwr>; 278 vdd-s12-supply = <&vph_pwr>; 278 279 279 vdd-l1-l4-supply = <&vreg_s11b 280 vdd-l1-l4-supply = <&vreg_s11b_0p95>; 280 vdd-l2-l7-supply = <&vreg_bob> 281 vdd-l2-l7-supply = <&vreg_bob>; 281 vdd-l3-l5-supply = <&vreg_bob> 282 vdd-l3-l5-supply = <&vreg_bob>; 282 vdd-l6-l9-l10-supply = <&vreg_ 283 vdd-l6-l9-l10-supply = <&vreg_s12b_1p25>; 283 vdd-l8-supply = <&vreg_s2h_0p9 284 vdd-l8-supply = <&vreg_s2h_0p95>; 284 285 285 vreg_s10b_1p8: smps10 { 286 vreg_s10b_1p8: smps10 { 286 regulator-name = "vreg 287 regulator-name = "vreg_s10b_1p8"; 287 regulator-min-microvol 288 regulator-min-microvolt = <1800000>; 288 regulator-max-microvol 289 regulator-max-microvolt = <1800000>; 289 }; 290 }; 290 291 291 vreg_s11b_0p95: smps11 { 292 vreg_s11b_0p95: smps11 { 292 regulator-name = "vreg 293 regulator-name = "vreg_s11b_0p95"; 293 regulator-min-microvol 294 regulator-min-microvolt = <966000>; 294 regulator-max-microvol 295 regulator-max-microvolt = <1104000>; 295 }; 296 }; 296 297 297 vreg_s12b_1p25: smps12 { 298 vreg_s12b_1p25: smps12 { 298 regulator-name = "vreg 299 regulator-name = "vreg_s12b_1p25"; 299 regulator-min-microvol 300 regulator-min-microvolt = <1350000>; 300 regulator-max-microvol 301 regulator-max-microvolt = <1400000>; 301 }; 302 }; 302 303 303 vreg_l1b_0p91: ldo1 { 304 vreg_l1b_0p91: ldo1 { 304 regulator-name = "vreg 305 regulator-name = "vreg_l1b_0p91"; 305 regulator-min-microvol 306 regulator-min-microvolt = <912000>; 306 regulator-max-microvol 307 regulator-max-microvolt = <920000>; 307 regulator-initial-mode 308 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 308 }; 309 }; 309 310 310 vreg_l2b_3p07: ldo2 { 311 vreg_l2b_3p07: ldo2 { 311 regulator-name = "vreg 312 regulator-name = "vreg_l2b_3p07"; 312 regulator-min-microvol 313 regulator-min-microvolt = <3072000>; 313 regulator-max-microvol 314 regulator-max-microvolt = <3072000>; 314 regulator-initial-mode 315 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 315 }; 316 }; 316 317 317 vreg_l3b_0p9: ldo3 { 318 vreg_l3b_0p9: ldo3 { 318 regulator-name = "vreg 319 regulator-name = "vreg_l3b_0p9"; 319 regulator-min-microvol 320 regulator-min-microvolt = <904000>; 320 regulator-max-microvol 321 regulator-max-microvolt = <904000>; 321 regulator-initial-mode 322 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 322 }; 323 }; 323 324 324 vreg_l5b_0p88: ldo5 { 325 vreg_l5b_0p88: ldo5 { 325 regulator-name = "vreg 326 regulator-name = "vreg_l5b_0p88"; 326 regulator-min-microvol 327 regulator-min-microvolt = <880000>; 327 regulator-max-microvol 328 regulator-max-microvolt = <888000>; 328 regulator-initial-mode 329 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 329 }; 330 }; 330 331 331 vreg_l6b_1p2: ldo6 { 332 vreg_l6b_1p2: ldo6 { 332 regulator-name = "vreg 333 regulator-name = "vreg_l6b_1p2"; 333 regulator-min-microvol 334 regulator-min-microvolt = <1200000>; 334 regulator-max-microvol 335 regulator-max-microvolt = <1200000>; 335 regulator-initial-mode 336 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336 }; 337 }; 337 338 338 vreg_l7b_2p5: ldo7 { 339 vreg_l7b_2p5: ldo7 { 339 regulator-name = "vreg 340 regulator-name = "vreg_l7b_2p5"; 340 regulator-min-microvol 341 regulator-min-microvolt = <2504000>; 341 regulator-max-microvol 342 regulator-max-microvolt = <2504000>; 342 regulator-initial-mode 343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 343 }; 344 }; 344 345 345 vreg_l9b_1p2: ldo9 { 346 vreg_l9b_1p2: ldo9 { 346 regulator-name = "vreg 347 regulator-name = "vreg_l9b_1p2"; 347 regulator-min-microvol 348 regulator-min-microvolt = <1200000>; 348 regulator-max-microvol 349 regulator-max-microvolt = <1200000>; 349 regulator-initial-mode 350 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 350 }; 351 }; 351 }; 352 }; 352 353 353 regulators-1 { 354 regulators-1 { 354 compatible = "qcom,pm8350c-rpm 355 compatible = "qcom,pm8350c-rpmh-regulators"; 355 qcom,pmic-id = "c"; 356 qcom,pmic-id = "c"; 356 357 357 vdd-s1-supply = <&vph_pwr>; 358 vdd-s1-supply = <&vph_pwr>; 358 vdd-s2-supply = <&vph_pwr>; 359 vdd-s2-supply = <&vph_pwr>; 359 vdd-s3-supply = <&vph_pwr>; 360 vdd-s3-supply = <&vph_pwr>; 360 vdd-s4-supply = <&vph_pwr>; 361 vdd-s4-supply = <&vph_pwr>; 361 vdd-s5-supply = <&vph_pwr>; 362 vdd-s5-supply = <&vph_pwr>; 362 vdd-s6-supply = <&vph_pwr>; 363 vdd-s6-supply = <&vph_pwr>; 363 vdd-s7-supply = <&vph_pwr>; 364 vdd-s7-supply = <&vph_pwr>; 364 vdd-s8-supply = <&vph_pwr>; 365 vdd-s8-supply = <&vph_pwr>; 365 vdd-s9-supply = <&vph_pwr>; 366 vdd-s9-supply = <&vph_pwr>; 366 vdd-s10-supply = <&vph_pwr>; 367 vdd-s10-supply = <&vph_pwr>; 367 368 368 vdd-l1-l12-supply = <&vreg_bob 369 vdd-l1-l12-supply = <&vreg_bob>; 369 vdd-l2-l8-supply = <&vreg_bob> 370 vdd-l2-l8-supply = <&vreg_bob>; 370 vdd-l3-l4-l5-l7-l13-supply = < 371 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; 371 vdd-l6-l9-l11-supply = <&vreg_ 372 vdd-l6-l9-l11-supply = <&vreg_bob>; 372 vdd-l10-supply = <&vreg_s12b_1 373 vdd-l10-supply = <&vreg_s12b_1p25>; 373 374 374 vdd-bob-supply = <&vph_pwr>; 375 vdd-bob-supply = <&vph_pwr>; 375 376 376 vreg_s1c_1p86: smps1 { 377 vreg_s1c_1p86: smps1 { 377 regulator-name = "vreg 378 regulator-name = "vreg_s1c_1p86"; 378 regulator-min-microvol 379 regulator-min-microvolt = <1800000>; 379 regulator-max-microvol 380 regulator-max-microvolt = <2024000>; 380 }; 381 }; 381 382 382 vreg_s10c_1p05: smps10 { 383 vreg_s10c_1p05: smps10 { 383 regulator-name = "vreg 384 regulator-name = "vreg_s10c_1p05"; 384 regulator-min-microvol 385 regulator-min-microvolt = <1000000>; 385 regulator-max-microvol 386 regulator-max-microvolt = <1100000>; 386 }; 387 }; 387 388 388 vreg_bob: bob { 389 vreg_bob: bob { 389 regulator-name = "vreg 390 regulator-name = "vreg_bob"; 390 regulator-min-microvol 391 regulator-min-microvolt = <3008000>; 391 regulator-max-microvol 392 regulator-max-microvolt = <3960000>; 392 regulator-initial-mode 393 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 393 }; 394 }; 394 395 395 vreg_l1c_1p8: ldo1 { 396 vreg_l1c_1p8: ldo1 { 396 regulator-name = "vreg 397 regulator-name = "vreg_l1c_1p8"; 397 regulator-min-microvol 398 regulator-min-microvolt = <1800000>; 398 regulator-max-microvol 399 regulator-max-microvolt = <1800000>; 399 regulator-initial-mode 400 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 400 }; 401 }; 401 402 402 vreg_l3c_3p0: ldo3 { 403 vreg_l3c_3p0: ldo3 { 403 regulator-name = "vreg 404 regulator-name = "vreg_l3c_3p0"; 404 regulator-min-microvol 405 regulator-min-microvolt = <3296000>; 405 regulator-max-microvol 406 regulator-max-microvolt = <3304000>; 406 regulator-initial-mode 407 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 407 }; 408 }; 408 409 409 vreg_l4c_1p8: ldo4 { 410 vreg_l4c_1p8: ldo4 { 410 regulator-name = "vreg 411 regulator-name = "vreg_l4c_1p8"; 411 regulator-min-microvol 412 regulator-min-microvolt = <1704000>; 412 regulator-max-microvol 413 regulator-max-microvolt = <3000000>; 413 regulator-initial-mode 414 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 414 }; 415 }; 415 416 416 vreg_l5c_1p8: ldo5 { 417 vreg_l5c_1p8: ldo5 { 417 regulator-name = "vreg 418 regulator-name = "vreg_l5c_1p8"; 418 regulator-min-microvol 419 regulator-min-microvolt = <1704000>; 419 regulator-max-microvol 420 regulator-max-microvolt = <3000000>; 420 regulator-initial-mode 421 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 421 }; 422 }; 422 423 423 vreg_l6c_1p8: ldo6 { 424 vreg_l6c_1p8: ldo6 { 424 regulator-name = "vreg 425 regulator-name = "vreg_l6c_1p8"; 425 regulator-min-microvol 426 regulator-min-microvolt = <1800000>; 426 regulator-max-microvol 427 regulator-max-microvolt = <3008000>; 427 regulator-initial-mode 428 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 428 }; 429 }; 429 430 430 vreg_l7c_3p0: ldo7 { 431 vreg_l7c_3p0: ldo7 { 431 regulator-name = "vreg 432 regulator-name = "vreg_l7c_3p0"; 432 regulator-min-microvol 433 regulator-min-microvolt = <3008000>; 433 regulator-max-microvol 434 regulator-max-microvolt = <3008000>; 434 regulator-initial-mode 435 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 435 }; 436 }; 436 437 437 vreg_l8c_1p8: ldo8 { 438 vreg_l8c_1p8: ldo8 { 438 regulator-name = "vreg 439 regulator-name = "vreg_l8c_1p8"; 439 regulator-min-microvol 440 regulator-min-microvolt = <1800000>; 440 regulator-max-microvol 441 regulator-max-microvolt = <1800000>; 441 regulator-initial-mode 442 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 442 }; 443 }; 443 444 444 vreg_l9c_2p96: ldo9 { 445 vreg_l9c_2p96: ldo9 { 445 regulator-name = "vreg 446 regulator-name = "vreg_l9c_2p96"; 446 regulator-min-microvol 447 regulator-min-microvolt = <2960000>; 447 regulator-max-microvol 448 regulator-max-microvolt = <3008000>; 448 regulator-initial-mode 449 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 449 }; 450 }; 450 451 451 vreg_l12c_1p8: ldo12 { 452 vreg_l12c_1p8: ldo12 { 452 regulator-name = "vreg 453 regulator-name = "vreg_l12c_1p8"; 453 regulator-min-microvol 454 regulator-min-microvolt = <1800000>; 454 regulator-max-microvol 455 regulator-max-microvolt = <1968000>; 455 regulator-initial-mode 456 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 456 }; 457 }; 457 458 458 vreg_l13c_3p0: ldo13 { 459 vreg_l13c_3p0: ldo13 { 459 regulator-name = "vreg 460 regulator-name = "vreg_l13c_3p0"; 460 regulator-min-microvol 461 regulator-min-microvolt = <3000000>; 461 regulator-max-microvol 462 regulator-max-microvolt = <3000000>; 462 regulator-initial-mode 463 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 463 }; 464 }; 464 }; 465 }; 465 466 466 regulators-2 { 467 regulators-2 { 467 compatible = "qcom,pm8450-rpmh 468 compatible = "qcom,pm8450-rpmh-regulators"; 468 qcom,pmic-id = "h"; 469 qcom,pmic-id = "h"; 469 470 470 vdd-s1-supply = <&vph_pwr>; 471 vdd-s1-supply = <&vph_pwr>; 471 vdd-s2-supply = <&vph_pwr>; 472 vdd-s2-supply = <&vph_pwr>; 472 vdd-s3-supply = <&vph_pwr>; 473 vdd-s3-supply = <&vph_pwr>; 473 vdd-s4-supply = <&vph_pwr>; 474 vdd-s4-supply = <&vph_pwr>; 474 vdd-s5-supply = <&vph_pwr>; 475 vdd-s5-supply = <&vph_pwr>; 475 vdd-s6-supply = <&vph_pwr>; 476 vdd-s6-supply = <&vph_pwr>; 476 477 477 vdd-l2-supply = <&vreg_bob>; 478 vdd-l2-supply = <&vreg_bob>; 478 vdd-l3-supply = <&vreg_bob>; 479 vdd-l3-supply = <&vreg_bob>; 479 vdd-l4-supply = <&vreg_bob>; 480 vdd-l4-supply = <&vreg_bob>; 480 481 481 vreg_s2h_0p95: smps2 { 482 vreg_s2h_0p95: smps2 { 482 regulator-name = "vreg 483 regulator-name = "vreg_s2h_0p95"; 483 regulator-min-microvol 484 regulator-min-microvolt = <848000>; 484 regulator-max-microvol 485 regulator-max-microvolt = <1104000>; 485 }; 486 }; 486 487 487 vreg_s3h_0p5: smps3 { 488 vreg_s3h_0p5: smps3 { 488 regulator-name = "vreg 489 regulator-name = "vreg_s3h_0p5"; 489 regulator-min-microvol 490 regulator-min-microvolt = <500000>; 490 regulator-max-microvol 491 regulator-max-microvolt = <500000>; 491 }; 492 }; 492 493 493 vreg_l2h_0p91: ldo2 { 494 vreg_l2h_0p91: ldo2 { 494 regulator-name = "vreg 495 regulator-name = "vreg_l2h_0p91"; 495 regulator-min-microvol 496 regulator-min-microvolt = <880000>; 496 regulator-max-microvol 497 regulator-max-microvolt = <912000>; 497 regulator-initial-mode 498 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 498 }; 499 }; 499 500 500 vreg_l3h_0p91: ldo3 { 501 vreg_l3h_0p91: ldo3 { 501 regulator-name = "vreg 502 regulator-name = "vreg_l3h_0p91"; 502 regulator-min-microvol 503 regulator-min-microvolt = <912000>; 503 regulator-max-microvol 504 regulator-max-microvolt = <912000>; 504 regulator-initial-mode 505 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 505 }; 506 }; 506 }; 507 }; 507 508 508 regulators-3 { 509 regulators-3 { 509 compatible = "qcom,pmr735a-rpm 510 compatible = "qcom,pmr735a-rpmh-regulators"; 510 qcom,pmic-id = "e"; 511 qcom,pmic-id = "e"; 511 512 512 vdd-s1-supply = <&vph_pwr>; 513 vdd-s1-supply = <&vph_pwr>; 513 vdd-s2-supply = <&vph_pwr>; 514 vdd-s2-supply = <&vph_pwr>; 514 vdd-s3-supply = <&vph_pwr>; 515 vdd-s3-supply = <&vph_pwr>; 515 516 516 vdd-l1-l2-supply = <&vreg_s2e_ 517 vdd-l1-l2-supply = <&vreg_s2e_0p85>; 517 vdd-l3-supply = <&vreg_s1e_1p2 518 vdd-l3-supply = <&vreg_s1e_1p25>; 518 vdd-l4-supply = <&vreg_s1c_1p8 519 vdd-l4-supply = <&vreg_s1c_1p86>; 519 vdd-l5-l6-supply = <&vreg_s1c_ 520 vdd-l5-l6-supply = <&vreg_s1c_1p86>; 520 vdd-l7-bob-supply = <&vreg_bob 521 vdd-l7-bob-supply = <&vreg_bob>; 521 522 522 vreg_s1e_1p25: smps1 { 523 vreg_s1e_1p25: smps1 { 523 regulator-name = "vreg 524 regulator-name = "vreg_s1e_1p25"; 524 regulator-min-microvol 525 regulator-min-microvolt = <1200000>; 525 regulator-max-microvol 526 regulator-max-microvolt = <1296000>; 526 }; 527 }; 527 528 528 vreg_s2e_0p85: smps2 { 529 vreg_s2e_0p85: smps2 { 529 regulator-name = "vreg 530 regulator-name = "vreg_s2e_0p85"; 530 regulator-min-microvol 531 regulator-min-microvolt = <500000>; 531 regulator-max-microvol 532 regulator-max-microvolt = <1040000>; 532 }; 533 }; 533 534 534 vreg_l1e_0p8: ldo1 { 535 vreg_l1e_0p8: ldo1 { 535 regulator-name = "vreg 536 regulator-name = "vreg_l1e_0p8"; 536 regulator-min-microvol 537 regulator-min-microvolt = <800000>; 537 regulator-max-microvol 538 regulator-max-microvolt = <800000>; 538 }; 539 }; 539 540 540 vreg_l2e_0p8: ldo2 { 541 vreg_l2e_0p8: ldo2 { 541 regulator-name = "vreg 542 regulator-name = "vreg_l2e_0p8"; 542 regulator-min-microvol 543 regulator-min-microvolt = <800000>; 543 regulator-max-microvol 544 regulator-max-microvolt = <800000>; 544 }; 545 }; 545 546 546 vreg_l3e_1p2: ldo3 { 547 vreg_l3e_1p2: ldo3 { 547 regulator-name = "vreg 548 regulator-name = "vreg_l3e_1p2"; 548 regulator-min-microvol 549 regulator-min-microvolt = <1200000>; 549 regulator-max-microvol 550 regulator-max-microvolt = <1200000>; 550 }; 551 }; 551 552 552 vreg_l4e_1p7: ldo4 { 553 vreg_l4e_1p7: ldo4 { 553 regulator-name = "vreg 554 regulator-name = "vreg_l4e_1p7"; 554 regulator-min-microvol 555 regulator-min-microvolt = <1776000>; 555 regulator-max-microvol 556 regulator-max-microvolt = <1776000>; 556 }; 557 }; 557 558 558 vreg_l5e_0p88: ldo5 { 559 vreg_l5e_0p88: ldo5 { 559 regulator-name = "vreg 560 regulator-name = "vreg_l5e_0p88"; 560 regulator-min-microvol 561 regulator-min-microvolt = <880000>; 561 regulator-max-microvol 562 regulator-max-microvolt = <880000>; 562 }; 563 }; 563 564 564 vreg_l6e_1p2: ldo6 { 565 vreg_l6e_1p2: ldo6 { 565 regulator-name = "vreg 566 regulator-name = "vreg_l6e_1p2"; 566 regulator-min-microvol 567 regulator-min-microvolt = <1200000>; 567 regulator-max-microvol 568 regulator-max-microvolt = <1200000>; 568 }; 569 }; 569 570 570 vreg_l7e_2p8: ldo7 { 571 vreg_l7e_2p8: ldo7 { 571 regulator-name = "vreg 572 regulator-name = "vreg_l7e_2p8"; 572 regulator-min-microvol 573 regulator-min-microvolt = <2800000>; 573 regulator-max-microvol 574 regulator-max-microvolt = <2800000>; 574 }; 575 }; 575 }; 576 }; 576 }; 577 }; 577 578 578 &dispcc { 579 &dispcc { 579 status = "okay"; 580 status = "okay"; 580 }; 581 }; 581 582 582 &gpu { << 583 status = "okay"; << 584 << 585 zap-shader { << 586 firmware-name = "qcom/sm8450/a << 587 }; << 588 }; << 589 << 590 &i2c9 { 583 &i2c9 { 591 clock-frequency = <400000>; 584 clock-frequency = <400000>; 592 status = "okay"; 585 status = "okay"; 593 586 594 lt9611_codec: hdmi-bridge@2b { 587 lt9611_codec: hdmi-bridge@2b { 595 compatible = "lontium,lt9611ux 588 compatible = "lontium,lt9611uxc"; 596 reg = <0x2b>; 589 reg = <0x2b>; 597 590 598 interrupts-extended = <&tlmm 4 591 interrupts-extended = <&tlmm 44 IRQ_TYPE_EDGE_FALLING>; 599 592 600 reset-gpios = <&tlmm 107 GPIO_ 593 reset-gpios = <&tlmm 107 GPIO_ACTIVE_HIGH>; 601 594 602 vdd-supply = <<9611_1v2>; 595 vdd-supply = <<9611_1v2>; 603 vcc-supply = <<9611_3v3>; 596 vcc-supply = <<9611_3v3>; 604 597 605 pinctrl-names = "default"; 598 pinctrl-names = "default"; 606 pinctrl-0 = <<9611_irq_pin & 599 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 607 600 608 ports { 601 ports { 609 #address-cells = <1>; 602 #address-cells = <1>; 610 #size-cells = <0>; 603 #size-cells = <0>; 611 604 612 port@0 { 605 port@0 { 613 reg = <0>; 606 reg = <0>; 614 607 615 lt9611_a: endp 608 lt9611_a: endpoint { 616 remote 609 remote-endpoint = <&mdss_dsi0_out>; 617 }; 610 }; 618 }; 611 }; 619 612 620 port@2 { 613 port@2 { 621 reg = <2>; 614 reg = <2>; 622 615 623 lt9611_out: en 616 lt9611_out: endpoint { 624 remote 617 remote-endpoint = <&hdmi_connector_out>; 625 }; 618 }; 626 }; 619 }; 627 }; 620 }; 628 }; 621 }; 629 }; 622 }; 630 623 631 &i2c5 { 624 &i2c5 { 632 clock-frequency = <100000>; 625 clock-frequency = <100000>; 633 626 634 status = "okay"; 627 status = "okay"; 635 628 636 typec-mux@42 { 629 typec-mux@42 { 637 compatible = "fcs,fsa4480"; 630 compatible = "fcs,fsa4480"; 638 reg = <0x42>; 631 reg = <0x42>; 639 632 640 interrupts-extended = <&tlmm 2 633 interrupts-extended = <&tlmm 2 IRQ_TYPE_LEVEL_LOW>; 641 634 642 vcc-supply = <&vreg_bob>; 635 vcc-supply = <&vreg_bob>; 643 mode-switch; 636 mode-switch; 644 orientation-switch; 637 orientation-switch; 645 638 646 port { 639 port { 647 fsa4480_sbu_mux: endpo 640 fsa4480_sbu_mux: endpoint { 648 remote-endpoin 641 remote-endpoint = <&pmic_glink_sbu>; 649 }; 642 }; 650 }; 643 }; 651 }; 644 }; 652 }; 645 }; 653 646 654 &mdss { 647 &mdss { 655 status = "okay"; 648 status = "okay"; 656 }; 649 }; 657 650 658 &mdss_dsi0 { 651 &mdss_dsi0 { 659 vdda-supply = <&vreg_l6b_1p2>; 652 vdda-supply = <&vreg_l6b_1p2>; 660 status = "okay"; 653 status = "okay"; 661 }; 654 }; 662 655 663 &mdss_dsi0_out { 656 &mdss_dsi0_out { 664 remote-endpoint = <<9611_a>; 657 remote-endpoint = <<9611_a>; 665 data-lanes = <0 1 2 3>; 658 data-lanes = <0 1 2 3>; 666 }; 659 }; 667 660 668 &mdss_dsi0_phy { 661 &mdss_dsi0_phy { 669 vdds-supply = <&vreg_l5b_0p88>; 662 vdds-supply = <&vreg_l5b_0p88>; 670 status = "okay"; 663 status = "okay"; 671 }; 664 }; 672 665 673 &mdss_dp0 { 666 &mdss_dp0 { 674 status = "okay"; 667 status = "okay"; 675 }; << 676 668 677 &mdss_dp0_out { !! 669 ports { 678 data-lanes = <0 1>; !! 670 port@1 { >> 671 reg = <1>; >> 672 >> 673 mdss_dp0_out: endpoint { >> 674 data-lanes = <0 1>; >> 675 remote-endpoint = <&usb_1_qmpphy_dp_in>; >> 676 }; >> 677 }; >> 678 }; 679 }; 679 }; 680 680 681 &pcie0 { 681 &pcie0 { 682 status = "okay"; 682 status = "okay"; 683 max-link-speed = <2>; 683 max-link-speed = <2>; 684 }; 684 }; 685 685 686 &pcie0_phy { 686 &pcie0_phy { 687 status = "okay"; 687 status = "okay"; 688 vdda-phy-supply = <&vreg_l5b_0p88>; 688 vdda-phy-supply = <&vreg_l5b_0p88>; 689 vdda-pll-supply = <&vreg_l6b_1p2>; 689 vdda-pll-supply = <&vreg_l6b_1p2>; 690 }; 690 }; 691 691 692 &pcie1 { 692 &pcie1 { 693 status = "okay"; 693 status = "okay"; 694 }; 694 }; 695 695 696 &pcie1_phy { 696 &pcie1_phy { 697 status = "okay"; 697 status = "okay"; 698 vdda-phy-supply = <&vreg_l2h_0p91>; 698 vdda-phy-supply = <&vreg_l2h_0p91>; 699 vdda-pll-supply = <&vreg_l6b_1p2>; 699 vdda-pll-supply = <&vreg_l6b_1p2>; 700 }; 700 }; 701 701 702 &pm8350_temp_alarm { 702 &pm8350_temp_alarm { 703 io-channels = <&pmk8350_vadc PM8350_AD 703 io-channels = <&pmk8350_vadc PM8350_ADC7_DIE_TEMP(1)>; 704 io-channel-names = "thermal"; 704 io-channel-names = "thermal"; 705 }; 705 }; 706 706 707 &pm8350b_temp_alarm { 707 &pm8350b_temp_alarm { 708 io-channels = <&pmk8350_vadc PM8350B_A 708 io-channels = <&pmk8350_vadc PM8350B_ADC7_DIE_TEMP>; 709 io-channel-names = "thermal"; 709 io-channel-names = "thermal"; 710 }; 710 }; 711 711 712 &pmr735a_temp_alarm { 712 &pmr735a_temp_alarm { 713 io-channels = <&pmk8350_vadc PMR735A_A 713 io-channels = <&pmk8350_vadc PMR735A_ADC7_DIE_TEMP>; 714 io-channel-names = "thermal"; 714 io-channel-names = "thermal"; 715 }; 715 }; 716 716 717 &pmk8350_adc_tm { 717 &pmk8350_adc_tm { 718 status = "okay"; 718 status = "okay"; 719 719 720 xo-therm@0 { 720 xo-therm@0 { 721 reg = <0>; 721 reg = <0>; 722 io-channels = <&pmk8350_vadc P 722 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>; 723 qcom,ratiometric; 723 qcom,ratiometric; 724 qcom,hw-settle-time-us = <200> 724 qcom,hw-settle-time-us = <200>; 725 }; 725 }; 726 726 727 skin-msm-therm@1 { 727 skin-msm-therm@1 { 728 reg = <1>; 728 reg = <1>; 729 io-channels = <&pmk8350_vadc P 729 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM1_100K_PU(1)>; 730 qcom,ratiometric; 730 qcom,ratiometric; 731 qcom,hw-settle-time-us = <200> 731 qcom,hw-settle-time-us = <200>; 732 }; 732 }; 733 733 734 camera-therm@2 { 734 camera-therm@2 { 735 reg = <2>; 735 reg = <2>; 736 io-channels = <&pmk8350_vadc P 736 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM2_100K_PU(1)>; 737 qcom,ratiometric; 737 qcom,ratiometric; 738 qcom,hw-settle-time-us = <200> 738 qcom,hw-settle-time-us = <200>; 739 }; 739 }; 740 740 741 therm1-therm@3 { 741 therm1-therm@3 { 742 reg = <3>; 742 reg = <3>; 743 io-channels = <&pmk8350_vadc P 743 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM3_100K_PU(1)>; 744 qcom,ratiometric; 744 qcom,ratiometric; 745 qcom,hw-settle-time-us = <200> 745 qcom,hw-settle-time-us = <200>; 746 }; 746 }; 747 747 748 wide-rfc-therm@4 { 748 wide-rfc-therm@4 { 749 reg = <4>; 749 reg = <4>; 750 io-channels = <&pmk8350_vadc P 750 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>; 751 qcom,ratiometric; 751 qcom,ratiometric; 752 qcom,hw-settle-time-us = <200> 752 qcom,hw-settle-time-us = <200>; 753 }; 753 }; 754 754 755 rear-tof-therm@5 { 755 rear-tof-therm@5 { 756 reg = <5>; 756 reg = <5>; 757 io-channels = <&pmk8350_vadc P 757 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM5_100K_PU(1)>; 758 qcom,ratiometric; 758 qcom,ratiometric; 759 qcom,hw-settle-time-us = <200> 759 qcom,hw-settle-time-us = <200>; 760 }; 760 }; 761 761 762 therm2-therm@6 { 762 therm2-therm@6 { 763 reg = <6>; 763 reg = <6>; 764 io-channels = <&pmk8350_vadc P 764 io-channels = <&pmk8350_vadc PM8350_ADC7_GPIO3_100K_PU(1)>; 765 qcom,ratiometric; 765 qcom,ratiometric; 766 qcom,hw-settle-time-us = <200> 766 qcom,hw-settle-time-us = <200>; 767 }; 767 }; 768 768 769 usb-conn-therm@7 { 769 usb-conn-therm@7 { 770 reg = <7>; 770 reg = <7>; 771 io-channels = <&pmk8350_vadc P 771 io-channels = <&pmk8350_vadc PM8350B_ADC7_AMUX_THM5_100K_PU>; 772 qcom,ratiometric; 772 qcom,ratiometric; 773 qcom,hw-settle-time-us = <200> 773 qcom,hw-settle-time-us = <200>; 774 }; 774 }; 775 }; 775 }; 776 776 777 &pmk8350_vadc { 777 &pmk8350_vadc { 778 status = "okay"; 778 status = "okay"; 779 779 780 channel@3 { 780 channel@3 { 781 reg = <PMK8350_ADC7_DIE_TEMP>; 781 reg = <PMK8350_ADC7_DIE_TEMP>; 782 label = "pmk8350_die_temp"; 782 label = "pmk8350_die_temp"; 783 }; 783 }; 784 784 785 channel@44 { 785 channel@44 { 786 reg = <PMK8350_ADC7_AMUX_THM1_ 786 reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>; 787 qcom,hw-settle-time = <200>; 787 qcom,hw-settle-time = <200>; 788 qcom,ratiometric; 788 qcom,ratiometric; 789 label = "pmk8350_xo_therm"; 789 label = "pmk8350_xo_therm"; 790 }; 790 }; 791 791 792 channel@103 { 792 channel@103 { 793 reg = <PM8350_ADC7_DIE_TEMP(1) 793 reg = <PM8350_ADC7_DIE_TEMP(1)>; 794 label = "pm8350_die_temp"; 794 label = "pm8350_die_temp"; 795 }; 795 }; 796 796 797 channel@144 { 797 channel@144 { 798 reg = <PM8350_ADC7_AMUX_THM1_1 798 reg = <PM8350_ADC7_AMUX_THM1_100K_PU(1)>; 799 qcom,hw-settle-time = <200>; 799 qcom,hw-settle-time = <200>; 800 qcom,ratiometric; 800 qcom,ratiometric; 801 label = "skin_msm_temp"; 801 label = "skin_msm_temp"; 802 }; 802 }; 803 803 804 channel@145 { 804 channel@145 { 805 reg = <PM8350_ADC7_AMUX_THM2_1 805 reg = <PM8350_ADC7_AMUX_THM2_100K_PU(1)>; 806 qcom,hw-settle-time = <200>; 806 qcom,hw-settle-time = <200>; 807 qcom,ratiometric; 807 qcom,ratiometric; 808 label = "camera_temp"; 808 label = "camera_temp"; 809 }; 809 }; 810 810 811 channel@146 { 811 channel@146 { 812 reg = <PM8350_ADC7_AMUX_THM3_1 812 reg = <PM8350_ADC7_AMUX_THM3_100K_PU(1)>; 813 qcom,hw-settle-time = <200>; 813 qcom,hw-settle-time = <200>; 814 qcom,ratiometric; 814 qcom,ratiometric; 815 label = "therm1_temp"; 815 label = "therm1_temp"; 816 }; 816 }; 817 817 818 channel@147 { 818 channel@147 { 819 reg = <PM8350_ADC7_AMUX_THM4_1 819 reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>; 820 qcom,hw-settle-time = <200>; 820 qcom,hw-settle-time = <200>; 821 qcom,ratiometric; 821 qcom,ratiometric; 822 label = "wide_rfc_temp"; 822 label = "wide_rfc_temp"; 823 }; 823 }; 824 824 825 channel@148 { 825 channel@148 { 826 reg = <PM8350_ADC7_AMUX_THM5_1 826 reg = <PM8350_ADC7_AMUX_THM5_100K_PU(1)>; 827 qcom,hw-settle-time = <200>; 827 qcom,hw-settle-time = <200>; 828 qcom,ratiometric; 828 qcom,ratiometric; 829 label = "rear_tof_temp"; 829 label = "rear_tof_temp"; 830 }; 830 }; 831 831 832 channel@14c { 832 channel@14c { 833 reg = <PM8350_ADC7_GPIO3_100K_ 833 reg = <PM8350_ADC7_GPIO3_100K_PU(1)>; 834 qcom,hw-settle-time = <200>; 834 qcom,hw-settle-time = <200>; 835 qcom,ratiometric; 835 qcom,ratiometric; 836 label = "therm2_temp"; 836 label = "therm2_temp"; 837 }; 837 }; 838 838 839 channel@303 { 839 channel@303 { 840 reg = <PM8350B_ADC7_DIE_TEMP>; 840 reg = <PM8350B_ADC7_DIE_TEMP>; 841 label = "pm8350b_die_temp"; 841 label = "pm8350b_die_temp"; 842 }; 842 }; 843 843 844 channel@348 { 844 channel@348 { 845 reg = <PM8350B_ADC7_AMUX_THM5_ 845 reg = <PM8350B_ADC7_AMUX_THM5_100K_PU>; 846 qcom,hw-settle-time = <200>; 846 qcom,hw-settle-time = <200>; 847 qcom,ratiometric; 847 qcom,ratiometric; 848 label = "usb_conn_temp"; 848 label = "usb_conn_temp"; 849 }; 849 }; 850 850 851 channel@403 { 851 channel@403 { 852 reg = <PMR735A_ADC7_DIE_TEMP>; 852 reg = <PMR735A_ADC7_DIE_TEMP>; 853 label = "pmr735a_die_temp"; 853 label = "pmr735a_die_temp"; 854 }; 854 }; 855 855 856 channel@44a { 856 channel@44a { 857 reg = <PMR735A_ADC7_GPIO1_100K 857 reg = <PMR735A_ADC7_GPIO1_100K_PU>; 858 qcom,hw-settle-time = <200>; 858 qcom,hw-settle-time = <200>; 859 qcom,ratiometric; 859 qcom,ratiometric; 860 label = "qtm_w_temp"; 860 label = "qtm_w_temp"; 861 }; 861 }; 862 862 863 channel@44b { 863 channel@44b { 864 reg = <PMR735A_ADC7_GPIO2_100K 864 reg = <PMR735A_ADC7_GPIO2_100K_PU>; 865 qcom,hw-settle-time = <200>; 865 qcom,hw-settle-time = <200>; 866 qcom,ratiometric; 866 qcom,ratiometric; 867 label = "qtm_n_temp"; 867 label = "qtm_n_temp"; 868 }; 868 }; 869 }; 869 }; 870 870 871 &remoteproc_adsp { 871 &remoteproc_adsp { 872 status = "okay"; 872 status = "okay"; 873 firmware-name = "qcom/sm8450/adsp.mbn" 873 firmware-name = "qcom/sm8450/adsp.mbn"; 874 }; 874 }; 875 875 876 &remoteproc_cdsp { 876 &remoteproc_cdsp { 877 status = "okay"; 877 status = "okay"; 878 firmware-name = "qcom/sm8450/cdsp.mbn" 878 firmware-name = "qcom/sm8450/cdsp.mbn"; 879 }; 879 }; 880 880 881 &remoteproc_mpss { 881 &remoteproc_mpss { 882 status = "okay"; 882 status = "okay"; 883 firmware-name = "qcom/sm8450/modem.mbn 883 firmware-name = "qcom/sm8450/modem.mbn"; 884 }; 884 }; 885 885 886 &remoteproc_slpi { 886 &remoteproc_slpi { 887 status = "okay"; 887 status = "okay"; 888 firmware-name = "qcom/sm8450/slpi.mbn" 888 firmware-name = "qcom/sm8450/slpi.mbn"; 889 }; 889 }; 890 890 891 &qupv3_id_0 { 891 &qupv3_id_0 { 892 status = "okay"; 892 status = "okay"; 893 }; 893 }; 894 894 895 &qupv3_id_1 { 895 &qupv3_id_1 { 896 status = "okay"; 896 status = "okay"; 897 }; 897 }; 898 898 899 &sdhc_2 { 899 &sdhc_2 { 900 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH> 900 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; 901 pinctrl-names = "default", "sleep"; 901 pinctrl-names = "default", "sleep"; 902 pinctrl-0 = <&sdc2_default_state &sdc2 902 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 903 pinctrl-1 = <&sdc2_sleep_state &sdc2_c 903 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; 904 vmmc-supply = <&vreg_l9c_2p96>; 904 vmmc-supply = <&vreg_l9c_2p96>; 905 vqmmc-supply = <&vreg_l6c_1p8>; 905 vqmmc-supply = <&vreg_l6c_1p8>; 906 no-sdio; 906 no-sdio; 907 no-mmc; 907 no-mmc; 908 status = "okay"; 908 status = "okay"; 909 }; 909 }; 910 910 911 &sound { 911 &sound { 912 compatible = "qcom,sm8450-sndcard"; 912 compatible = "qcom,sm8450-sndcard"; 913 model = "SM8450-HDK"; 913 model = "SM8450-HDK"; 914 audio-routing = "SpkrLeft IN", "WSA_SP 914 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", 915 "SpkrRight IN", "WSA_S 915 "SpkrRight IN", "WSA_SPK2 OUT", 916 "IN1_HPHL", "HPHL_OUT" 916 "IN1_HPHL", "HPHL_OUT", 917 "IN2_HPHR", "HPHR_OUT" 917 "IN2_HPHR", "HPHR_OUT", 918 "AMIC1", "MIC BIAS1", 918 "AMIC1", "MIC BIAS1", 919 "AMIC2", "MIC BIAS2", 919 "AMIC2", "MIC BIAS2", 920 "AMIC3", "MIC BIAS3", 920 "AMIC3", "MIC BIAS3", 921 "AMIC4", "MIC BIAS3", 921 "AMIC4", "MIC BIAS3", 922 "AMIC5", "MIC BIAS4", 922 "AMIC5", "MIC BIAS4", 923 "VA DMIC0", "MIC BIAS3 923 "VA DMIC0", "MIC BIAS3", 924 "VA DMIC1", "MIC BIAS3 924 "VA DMIC1", "MIC BIAS3", 925 "VA DMIC2", "MIC BIAS1 925 "VA DMIC2", "MIC BIAS1", 926 "VA DMIC3", "MIC BIAS1 926 "VA DMIC3", "MIC BIAS1", 927 "TX DMIC0", "MIC BIAS3 927 "TX DMIC0", "MIC BIAS3", 928 "TX DMIC1", "MIC BIAS3 928 "TX DMIC1", "MIC BIAS3", 929 "TX DMIC2", "MIC BIAS1 929 "TX DMIC2", "MIC BIAS1", 930 "TX DMIC3", "MIC BIAS1 930 "TX DMIC3", "MIC BIAS1", 931 "TX SWR_INPUT0", "ADC1 931 "TX SWR_INPUT0", "ADC1_OUTPUT", 932 "TX SWR_INPUT1", "ADC2 932 "TX SWR_INPUT1", "ADC2_OUTPUT", 933 "TX SWR_INPUT0", "ADC3 933 "TX SWR_INPUT0", "ADC3_OUTPUT", 934 "TX SWR_INPUT1", "ADC4 934 "TX SWR_INPUT1", "ADC4_OUTPUT"; 935 935 936 wcd-playback-dai-link { 936 wcd-playback-dai-link { 937 link-name = "WCD Playback"; 937 link-name = "WCD Playback"; 938 938 939 cpu { 939 cpu { 940 sound-dai = <&q6apmbed 940 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; 941 }; 941 }; 942 942 943 codec { 943 codec { 944 sound-dai = <&wcd938x 944 sound-dai = <&wcd938x 0>, <&swr1 0>, <&rxmacro 0>; 945 }; 945 }; 946 946 947 platform { 947 platform { 948 sound-dai = <&q6apm>; 948 sound-dai = <&q6apm>; 949 }; 949 }; 950 }; 950 }; 951 951 952 wcd-capture-dai-link { 952 wcd-capture-dai-link { 953 link-name = "WCD Capture"; 953 link-name = "WCD Capture"; 954 954 955 cpu { 955 cpu { 956 sound-dai = <&q6apmbed 956 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 957 }; 957 }; 958 958 959 codec { 959 codec { 960 sound-dai = <&wcd938x 960 sound-dai = <&wcd938x 1>, <&swr2 0>, <&txmacro 0>; 961 }; 961 }; 962 962 963 platform { 963 platform { 964 sound-dai = <&q6apm>; 964 sound-dai = <&q6apm>; 965 }; 965 }; 966 }; 966 }; 967 967 968 wsa-dai-link { 968 wsa-dai-link { 969 link-name = "WSA Playback"; 969 link-name = "WSA Playback"; 970 970 971 cpu { 971 cpu { 972 sound-dai = <&q6apmbed 972 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; 973 }; 973 }; 974 974 975 codec { 975 codec { 976 sound-dai = <&left_spk 976 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 977 }; 977 }; 978 978 979 platform { 979 platform { 980 sound-dai = <&q6apm>; 980 sound-dai = <&q6apm>; 981 }; 981 }; 982 }; 982 }; 983 983 984 va-dai-link { 984 va-dai-link { 985 link-name = "VA Capture"; 985 link-name = "VA Capture"; 986 986 987 cpu { 987 cpu { 988 sound-dai = <&q6apmbed 988 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; 989 }; 989 }; 990 990 991 codec { 991 codec { 992 sound-dai = <&vamacro 992 sound-dai = <&vamacro 0>; 993 }; 993 }; 994 994 995 platform { 995 platform { 996 sound-dai = <&q6apm>; 996 sound-dai = <&q6apm>; 997 }; 997 }; 998 }; 998 }; 999 }; 999 }; 1000 1000 1001 &swr0 { 1001 &swr0 { 1002 status = "okay"; 1002 status = "okay"; 1003 1003 1004 left_spkr: speaker@0,1 { 1004 left_spkr: speaker@0,1 { 1005 compatible = "sdw10217020200" 1005 compatible = "sdw10217020200"; 1006 reg = <0 1>; 1006 reg = <0 1>; 1007 pinctrl-names = "default"; 1007 pinctrl-names = "default"; 1008 pinctrl-0 = <&spkr_1_sd_n_act 1008 pinctrl-0 = <&spkr_1_sd_n_active>; 1009 powerdown-gpios = <&tlmm 1 GP 1009 powerdown-gpios = <&tlmm 1 GPIO_ACTIVE_LOW>; 1010 #sound-dai-cells = <0>; 1010 #sound-dai-cells = <0>; 1011 sound-name-prefix = "SpkrLeft 1011 sound-name-prefix = "SpkrLeft"; 1012 #thermal-sensor-cells = <0>; 1012 #thermal-sensor-cells = <0>; 1013 vdd-supply = <&vreg_s10b_1p8> 1013 vdd-supply = <&vreg_s10b_1p8>; 1014 }; 1014 }; 1015 1015 1016 right_spkr: speaker@0,2 { 1016 right_spkr: speaker@0,2 { 1017 compatible = "sdw10217020200" 1017 compatible = "sdw10217020200"; 1018 reg = <0 2>; 1018 reg = <0 2>; 1019 pinctrl-names = "default"; 1019 pinctrl-names = "default"; 1020 pinctrl-0 = <&spkr_2_sd_n_act 1020 pinctrl-0 = <&spkr_2_sd_n_active>; 1021 powerdown-gpios = <&tlmm 89 G 1021 powerdown-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>; 1022 #sound-dai-cells = <0>; 1022 #sound-dai-cells = <0>; 1023 sound-name-prefix = "SpkrRigh 1023 sound-name-prefix = "SpkrRight"; 1024 #thermal-sensor-cells = <0>; 1024 #thermal-sensor-cells = <0>; 1025 vdd-supply = <&vreg_s10b_1p8> 1025 vdd-supply = <&vreg_s10b_1p8>; 1026 }; 1026 }; 1027 }; 1027 }; 1028 1028 1029 &swr1 { 1029 &swr1 { 1030 status = "okay"; 1030 status = "okay"; 1031 1031 1032 wcd_rx: codec@0,4 { 1032 wcd_rx: codec@0,4 { 1033 compatible = "sdw20217010d00" 1033 compatible = "sdw20217010d00"; 1034 reg = <0 4>; 1034 reg = <0 4>; 1035 qcom,rx-port-mapping = <1 2 3 1035 qcom,rx-port-mapping = <1 2 3 4 5>; 1036 }; 1036 }; 1037 }; 1037 }; 1038 1038 1039 &swr2 { 1039 &swr2 { 1040 status = "okay"; 1040 status = "okay"; 1041 1041 1042 wcd_tx: codec@0,3 { 1042 wcd_tx: codec@0,3 { 1043 compatible = "sdw20217010d00" 1043 compatible = "sdw20217010d00"; 1044 reg = <0 3>; 1044 reg = <0 3>; 1045 qcom,tx-port-mapping = <1 1 2 1045 qcom,tx-port-mapping = <1 1 2 3>; 1046 }; 1046 }; 1047 }; 1047 }; 1048 1048 1049 &tlmm { 1049 &tlmm { 1050 gpio-reserved-ranges = <28 4>, <36 4> 1050 gpio-reserved-ranges = <28 4>, <36 4>; 1051 1051 1052 lt9611_irq_pin: lt9611-irq-state { 1052 lt9611_irq_pin: lt9611-irq-state { 1053 pins = "gpio44"; 1053 pins = "gpio44"; 1054 function = "gpio"; 1054 function = "gpio"; 1055 bias-disable; 1055 bias-disable; 1056 }; 1056 }; 1057 1057 1058 lt9611_rst_pin: lt9611-rst-state { 1058 lt9611_rst_pin: lt9611-rst-state { 1059 pins = "gpio107"; 1059 pins = "gpio107"; 1060 function = "gpio"; 1060 function = "gpio"; 1061 output-high; 1061 output-high; 1062 }; 1062 }; 1063 1063 1064 sdc2_card_det_n: sd-card-det-n-state 1064 sdc2_card_det_n: sd-card-det-n-state { 1065 pins = "gpio92"; 1065 pins = "gpio92"; 1066 function = "gpio"; 1066 function = "gpio"; 1067 drive-strength = <2>; 1067 drive-strength = <2>; 1068 bias-pull-up; 1068 bias-pull-up; 1069 }; 1069 }; 1070 }; 1070 }; 1071 1071 1072 &uart7 { 1072 &uart7 { 1073 status = "okay"; 1073 status = "okay"; 1074 }; 1074 }; 1075 1075 1076 &ufs_mem_hc { 1076 &ufs_mem_hc { 1077 status = "okay"; 1077 status = "okay"; 1078 1078 1079 reset-gpios = <&tlmm 210 GPIO_ACTIVE_ 1079 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 1080 1080 1081 vcc-supply = <&vreg_l7b_2p5>; 1081 vcc-supply = <&vreg_l7b_2p5>; 1082 vcc-max-microamp = <1100000>; 1082 vcc-max-microamp = <1100000>; 1083 vccq-supply = <&vreg_l9b_1p2>; 1083 vccq-supply = <&vreg_l9b_1p2>; 1084 vccq-max-microamp = <1200000>; 1084 vccq-max-microamp = <1200000>; 1085 vdd-hba-supply = <&vreg_l9b_1p2>; 1085 vdd-hba-supply = <&vreg_l9b_1p2>; 1086 }; 1086 }; 1087 1087 1088 &ufs_mem_phy { 1088 &ufs_mem_phy { 1089 status = "okay"; 1089 status = "okay"; 1090 1090 1091 vdda-phy-supply = <&vreg_l5b_0p88>; 1091 vdda-phy-supply = <&vreg_l5b_0p88>; 1092 vdda-pll-supply = <&vreg_l6b_1p2>; 1092 vdda-pll-supply = <&vreg_l6b_1p2>; 1093 }; 1093 }; 1094 1094 1095 &usb_1 { 1095 &usb_1 { 1096 status = "okay"; 1096 status = "okay"; 1097 }; 1097 }; 1098 1098 1099 &usb_1_dwc3 { 1099 &usb_1_dwc3 { 1100 dr_mode = "otg"; 1100 dr_mode = "otg"; 1101 usb-role-switch; 1101 usb-role-switch; 1102 }; 1102 }; 1103 1103 1104 &usb_1_dwc3_hs { 1104 &usb_1_dwc3_hs { 1105 remote-endpoint = <&pmic_glink_hs_in> 1105 remote-endpoint = <&pmic_glink_hs_in>; 1106 }; 1106 }; 1107 1107 >> 1108 &usb_1_dwc3_ss { >> 1109 remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; >> 1110 }; >> 1111 1108 &usb_1_hsphy { 1112 &usb_1_hsphy { 1109 status = "okay"; 1113 status = "okay"; 1110 1114 1111 vdda-pll-supply = <&vreg_l5b_0p88>; 1115 vdda-pll-supply = <&vreg_l5b_0p88>; 1112 vdda18-supply = <&vreg_l1c_1p8>; 1116 vdda18-supply = <&vreg_l1c_1p8>; 1113 vdda33-supply = <&vreg_l2b_3p07>; 1117 vdda33-supply = <&vreg_l2b_3p07>; 1114 }; 1118 }; 1115 1119 1116 &usb_1_qmpphy { 1120 &usb_1_qmpphy { 1117 status = "okay"; 1121 status = "okay"; 1118 1122 1119 vdda-phy-supply = <&vreg_l6b_1p2>; 1123 vdda-phy-supply = <&vreg_l6b_1p2>; 1120 vdda-pll-supply = <&vreg_l1b_0p91>; 1124 vdda-pll-supply = <&vreg_l1b_0p91>; >> 1125 >> 1126 orientation-switch; >> 1127 }; >> 1128 >> 1129 &usb_1_qmpphy_dp_in { >> 1130 remote-endpoint = <&mdss_dp0_out>; 1121 }; 1131 }; 1122 1132 1123 &usb_1_qmpphy_out { 1133 &usb_1_qmpphy_out { 1124 remote-endpoint = <&pmic_glink_ss_in> 1134 remote-endpoint = <&pmic_glink_ss_in>; 1125 }; 1135 }; 1126 1136 >> 1137 &usb_1_qmpphy_usb_ss_in { >> 1138 remote-endpoint = <&usb_1_dwc3_ss>; >> 1139 }; >> 1140 1127 &vamacro { 1141 &vamacro { 1128 pinctrl-0 = <&dmic01_default>, <&dmic !! 1142 pinctrl-0 = <&dmic01_default>, <&dmic02_default>; 1129 pinctrl-names = "default"; 1143 pinctrl-names = "default"; 1130 vdd-micb-supply = <&vreg_s10b_1p8>; 1144 vdd-micb-supply = <&vreg_s10b_1p8>; 1131 qcom,dmic-sample-rate = <600000>; 1145 qcom,dmic-sample-rate = <600000>; 1132 1146 1133 status = "okay"; 1147 status = "okay"; 1134 }; 1148 }; 1135 1149 1136 &tlmm { 1150 &tlmm { 1137 spkr_1_sd_n_active: spkr-1-sd-n-activ 1151 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 1138 pins = "gpio1"; 1152 pins = "gpio1"; 1139 function = "gpio"; 1153 function = "gpio"; 1140 drive-strength = <16>; 1154 drive-strength = <16>; 1141 bias-disable; 1155 bias-disable; 1142 output-low; 1156 output-low; 1143 }; 1157 }; 1144 1158 1145 spkr_2_sd_n_active: spkr-2-sd-n-activ 1159 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 1146 pins = "gpio89"; 1160 pins = "gpio89"; 1147 function = "gpio"; 1161 function = "gpio"; 1148 drive-strength = <16>; 1162 drive-strength = <16>; 1149 bias-disable; 1163 bias-disable; 1150 output-low; 1164 output-low; 1151 }; 1165 }; 1152 1166 1153 wcd_default: wcd-reset-n-active-state 1167 wcd_default: wcd-reset-n-active-state { 1154 pins = "gpio43"; 1168 pins = "gpio43"; 1155 function = "gpio"; 1169 function = "gpio"; 1156 drive-strength = <16>; 1170 drive-strength = <16>; 1157 bias-disable; 1171 bias-disable; 1158 output-low; 1172 output-low; 1159 }; 1173 }; 1160 }; 1174 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.