1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2023, Linaro Limited 3 * Copyright (c) 2023, 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 "sm8650.dtsi" 9 #include "sm8650.dtsi" 10 #include "pm8010.dtsi" 10 #include "pm8010.dtsi" 11 #include "pm8550.dtsi" 11 #include "pm8550.dtsi" 12 #include "pm8550b.dtsi" 12 #include "pm8550b.dtsi" 13 #define PMK8550VE_SID 8 13 #define PMK8550VE_SID 8 14 #include "pm8550ve.dtsi" 14 #include "pm8550ve.dtsi" 15 #include "pm8550vs.dtsi" 15 #include "pm8550vs.dtsi" 16 #include "pmk8550.dtsi" 16 #include "pmk8550.dtsi" 17 #include "pmr735d_a.dtsi" 17 #include "pmr735d_a.dtsi" 18 18 19 / { 19 / { 20 model = "Qualcomm Technologies, Inc. S 20 model = "Qualcomm Technologies, Inc. SM8650 MTP"; 21 compatible = "qcom,sm8650-mtp", "qcom, 21 compatible = "qcom,sm8650-mtp", "qcom,sm8650"; 22 22 23 aliases { 23 aliases { 24 serial0 = &uart15; 24 serial0 = &uart15; 25 }; 25 }; 26 26 27 chosen { 27 chosen { 28 stdout-path = "serial0:115200n 28 stdout-path = "serial0:115200n8"; 29 }; 29 }; 30 30 31 pmic-glink { 31 pmic-glink { 32 compatible = "qcom,sm8650-pmic 32 compatible = "qcom,sm8650-pmic-glink", 33 "qcom,sm8550-pmic 33 "qcom,sm8550-pmic-glink", 34 "qcom,pmic-glink" 34 "qcom,pmic-glink"; 35 #address-cells = <1>; 35 #address-cells = <1>; 36 #size-cells = <0>; 36 #size-cells = <0>; 37 orientation-gpios = <&tlmm 29 37 orientation-gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>; 38 38 39 connector@0 { 39 connector@0 { 40 compatible = "usb-c-co 40 compatible = "usb-c-connector"; 41 reg = <0>; 41 reg = <0>; 42 42 43 power-role = "dual"; 43 power-role = "dual"; 44 data-role = "dual"; 44 data-role = "dual"; 45 45 46 ports { 46 ports { 47 #address-cells 47 #address-cells = <1>; 48 #size-cells = 48 #size-cells = <0>; 49 49 50 port@0 { 50 port@0 { 51 reg = 51 reg = <0>; 52 52 53 pmic_g 53 pmic_glink_hs_in: endpoint { 54 54 remote-endpoint = <&usb_1_dwc3_hs>; 55 }; 55 }; 56 }; 56 }; 57 57 58 port@1 { 58 port@1 { 59 reg = 59 reg = <1>; 60 60 61 pmic_g 61 pmic_glink_ss_in: endpoint { 62 !! 62 remote-endpoint = <&usb_1_dwc3_ss>; 63 }; 63 }; 64 }; 64 }; 65 }; 65 }; 66 }; 66 }; 67 }; 67 }; 68 68 69 sound { << 70 compatible = "qcom,sm8650-sndc << 71 model = "SM8650-MTP"; << 72 audio-routing = "SpkrLeft IN", << 73 "SpkrRight IN" << 74 << 75 wsa-dai-link { << 76 link-name = "WSA Playb << 77 << 78 cpu { << 79 sound-dai = <& << 80 }; << 81 << 82 codec { << 83 sound-dai = <& << 84 }; << 85 << 86 platform { << 87 sound-dai = <& << 88 }; << 89 }; << 90 }; << 91 << 92 vph_pwr: vph-pwr-regulator { 69 vph_pwr: vph-pwr-regulator { 93 compatible = "regulator-fixed" 70 compatible = "regulator-fixed"; 94 71 95 regulator-name = "vph_pwr"; 72 regulator-name = "vph_pwr"; 96 regulator-min-microvolt = <370 73 regulator-min-microvolt = <3700000>; 97 regulator-max-microvolt = <370 74 regulator-max-microvolt = <3700000>; 98 75 99 regulator-always-on; 76 regulator-always-on; 100 regulator-boot-on; 77 regulator-boot-on; 101 }; 78 }; 102 }; 79 }; 103 80 104 &apps_rsc { 81 &apps_rsc { 105 regulators-0 { 82 regulators-0 { 106 compatible = "qcom,pm8550-rpmh 83 compatible = "qcom,pm8550-rpmh-regulators"; 107 84 108 vdd-bob1-supply = <&vph_pwr>; 85 vdd-bob1-supply = <&vph_pwr>; 109 vdd-bob2-supply = <&vph_pwr>; 86 vdd-bob2-supply = <&vph_pwr>; 110 vdd-l2-l13-l14-supply = <&vreg 87 vdd-l2-l13-l14-supply = <&vreg_bob1>; 111 vdd-l3-supply = <&vreg_s1c_1p2 88 vdd-l3-supply = <&vreg_s1c_1p2>; 112 vdd-l5-l16-supply = <&vreg_bob 89 vdd-l5-l16-supply = <&vreg_bob1>; 113 vdd-l6-l7-supply = <&vreg_bob1 90 vdd-l6-l7-supply = <&vreg_bob1>; 114 vdd-l8-l9-supply = <&vreg_bob1 91 vdd-l8-l9-supply = <&vreg_bob1>; 115 vdd-l11-supply = <&vreg_s1c_1p 92 vdd-l11-supply = <&vreg_s1c_1p2>; 116 vdd-l12-supply = <&vreg_s6c_1p 93 vdd-l12-supply = <&vreg_s6c_1p8>; 117 vdd-l15-supply = <&vreg_s6c_1p 94 vdd-l15-supply = <&vreg_s6c_1p8>; 118 vdd-l17-supply = <&vreg_bob2>; 95 vdd-l17-supply = <&vreg_bob2>; 119 96 120 qcom,pmic-id = "b"; 97 qcom,pmic-id = "b"; 121 98 122 vreg_bob1: bob1 { 99 vreg_bob1: bob1 { 123 regulator-name = "vreg 100 regulator-name = "vreg_bob1"; 124 regulator-min-microvol 101 regulator-min-microvolt = <3296000>; 125 regulator-max-microvol 102 regulator-max-microvolt = <3960000>; 126 regulator-initial-mode 103 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 127 }; 104 }; 128 105 129 vreg_bob2: bob2 { 106 vreg_bob2: bob2 { 130 regulator-name = "vreg 107 regulator-name = "vreg_bob2"; 131 regulator-min-microvol 108 regulator-min-microvolt = <2720000>; 132 regulator-max-microvol 109 regulator-max-microvolt = <3008000>; 133 regulator-initial-mode 110 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 134 }; 111 }; 135 112 136 vreg_l2b_3p0: ldo2 { 113 vreg_l2b_3p0: ldo2 { 137 regulator-name = "vreg 114 regulator-name = "vreg_l2b_3p0"; 138 regulator-min-microvol 115 regulator-min-microvolt = <3008000>; 139 regulator-max-microvol 116 regulator-max-microvolt = <3008000>; 140 regulator-initial-mode 117 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 141 regulator-allow-set-lo 118 regulator-allow-set-load; 142 regulator-allowed-mode 119 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 143 120 RPMH_REGULATOR_MODE_HPM>; 144 }; 121 }; 145 122 146 vreg_l5b_3p1: ldo5 { 123 vreg_l5b_3p1: ldo5 { 147 regulator-name = "vreg 124 regulator-name = "vreg_l5b_3p1"; 148 regulator-min-microvol 125 regulator-min-microvolt = <3104000>; 149 regulator-max-microvol 126 regulator-max-microvolt = <3104000>; 150 regulator-initial-mode 127 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 151 regulator-allow-set-lo 128 regulator-allow-set-load; 152 regulator-allowed-mode 129 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 153 130 RPMH_REGULATOR_MODE_HPM>; 154 }; 131 }; 155 132 156 vreg_l6b_1p8: ldo6 { 133 vreg_l6b_1p8: ldo6 { 157 regulator-name = "vreg 134 regulator-name = "vreg_l6b_1p8"; 158 regulator-min-microvol 135 regulator-min-microvolt = <1800000>; 159 regulator-max-microvol 136 regulator-max-microvolt = <3008000>; 160 regulator-initial-mode 137 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 161 regulator-allow-set-lo 138 regulator-allow-set-load; 162 regulator-allowed-mode 139 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 163 140 RPMH_REGULATOR_MODE_HPM>; 164 }; 141 }; 165 142 166 vreg_l7b_1p8: ldo7 { 143 vreg_l7b_1p8: ldo7 { 167 regulator-name = "vreg 144 regulator-name = "vreg_l7b_1p8"; 168 regulator-min-microvol 145 regulator-min-microvolt = <1800000>; 169 regulator-max-microvol 146 regulator-max-microvolt = <3008000>; 170 regulator-initial-mode 147 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 171 }; 148 }; 172 149 173 vreg_l8b_1p8: ldo8 { 150 vreg_l8b_1p8: ldo8 { 174 regulator-name = "vreg 151 regulator-name = "vreg_l8b_1p8"; 175 regulator-min-microvol 152 regulator-min-microvolt = <1800000>; 176 regulator-max-microvol 153 regulator-max-microvolt = <3008000>; 177 regulator-initial-mode 154 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 178 regulator-allow-set-lo 155 regulator-allow-set-load; 179 regulator-allowed-mode 156 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 180 157 RPMH_REGULATOR_MODE_HPM>; 181 }; 158 }; 182 159 183 vreg_l9b_2p9: ldo9 { 160 vreg_l9b_2p9: ldo9 { 184 regulator-name = "vreg 161 regulator-name = "vreg_l9b_2p9"; 185 regulator-min-microvol 162 regulator-min-microvolt = <2960000>; 186 regulator-max-microvol 163 regulator-max-microvolt = <3008000>; 187 regulator-initial-mode 164 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 188 regulator-allow-set-lo 165 regulator-allow-set-load; 189 regulator-allowed-mode 166 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 190 167 RPMH_REGULATOR_MODE_HPM>; 191 }; 168 }; 192 169 193 vreg_l11b_1p2: ldo11 { 170 vreg_l11b_1p2: ldo11 { 194 regulator-name = "vreg 171 regulator-name = "vreg_l11b_1p2"; 195 regulator-min-microvol 172 regulator-min-microvolt = <1200000>; 196 regulator-max-microvol 173 regulator-max-microvolt = <1504000>; 197 regulator-initial-mode 174 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 198 regulator-allow-set-lo 175 regulator-allow-set-load; 199 regulator-allowed-mode 176 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 200 177 RPMH_REGULATOR_MODE_HPM>; 201 }; 178 }; 202 179 203 vreg_l12b_1p8: ldo12 { 180 vreg_l12b_1p8: ldo12 { 204 regulator-name = "vreg 181 regulator-name = "vreg_l12b_1p8"; 205 regulator-min-microvol 182 regulator-min-microvolt = <1800000>; 206 regulator-max-microvol 183 regulator-max-microvolt = <1800000>; 207 regulator-initial-mode 184 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 208 regulator-allow-set-lo 185 regulator-allow-set-load; 209 regulator-allowed-mode 186 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 210 187 RPMH_REGULATOR_MODE_HPM>; 211 }; 188 }; 212 189 213 vreg_l13b_3p0: ldo13 { 190 vreg_l13b_3p0: ldo13 { 214 regulator-name = "vreg 191 regulator-name = "vreg_l13b_3p0"; 215 regulator-min-microvol 192 regulator-min-microvolt = <3000000>; 216 regulator-max-microvol 193 regulator-max-microvolt = <3000000>; 217 regulator-initial-mode 194 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 218 regulator-allow-set-lo 195 regulator-allow-set-load; 219 regulator-allowed-mode 196 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 220 197 RPMH_REGULATOR_MODE_HPM>; 221 }; 198 }; 222 199 223 vreg_l14b_3p2: ldo14 { 200 vreg_l14b_3p2: ldo14 { 224 regulator-name = "vreg 201 regulator-name = "vreg_l14b_3p2"; 225 regulator-min-microvol 202 regulator-min-microvolt = <3200000>; 226 regulator-max-microvol 203 regulator-max-microvolt = <3200000>; 227 regulator-initial-mode 204 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228 regulator-allow-set-lo 205 regulator-allow-set-load; 229 regulator-allowed-mode 206 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 230 207 RPMH_REGULATOR_MODE_HPM>; 231 }; 208 }; 232 209 233 vreg_l15b_1p8: ldo15 { 210 vreg_l15b_1p8: ldo15 { 234 regulator-name = "vreg 211 regulator-name = "vreg_l15b_1p8"; 235 regulator-min-microvol 212 regulator-min-microvolt = <1800000>; 236 regulator-max-microvol 213 regulator-max-microvolt = <1800000>; 237 regulator-initial-mode 214 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 238 regulator-allow-set-lo 215 regulator-allow-set-load; 239 regulator-allowed-mode 216 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 240 217 RPMH_REGULATOR_MODE_HPM>; 241 }; 218 }; 242 219 243 vreg_l16b_2p8: ldo16 { 220 vreg_l16b_2p8: ldo16 { 244 regulator-name = "vreg 221 regulator-name = "vreg_l16b_2p8"; 245 regulator-min-microvol 222 regulator-min-microvolt = <2800000>; 246 regulator-max-microvol 223 regulator-max-microvolt = <2800000>; 247 regulator-initial-mode 224 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 248 regulator-allow-set-lo 225 regulator-allow-set-load; 249 regulator-allowed-mode 226 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 250 227 RPMH_REGULATOR_MODE_HPM>; 251 }; 228 }; 252 229 253 vreg_l17b_2p5: ldo17 { 230 vreg_l17b_2p5: ldo17 { 254 regulator-name = "vreg 231 regulator-name = "vreg_l17b_2p5"; 255 regulator-min-microvol 232 regulator-min-microvolt = <2504000>; 256 regulator-max-microvol 233 regulator-max-microvolt = <2504000>; 257 regulator-initial-mode 234 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 258 regulator-allow-set-lo 235 regulator-allow-set-load; 259 regulator-allowed-mode 236 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 260 237 RPMH_REGULATOR_MODE_HPM>; 261 }; 238 }; 262 }; 239 }; 263 240 264 regulators-1 { 241 regulators-1 { 265 compatible = "qcom,pm8550vs-rp 242 compatible = "qcom,pm8550vs-rpmh-regulators"; 266 243 267 vdd-l1-supply = <&vreg_s1c_1p2 244 vdd-l1-supply = <&vreg_s1c_1p2>; 268 vdd-l2-supply = <&vreg_s1c_1p2 245 vdd-l2-supply = <&vreg_s1c_1p2>; 269 vdd-l3-supply = <&vreg_s1c_1p2 246 vdd-l3-supply = <&vreg_s1c_1p2>; 270 vdd-s1-supply = <&vph_pwr>; 247 vdd-s1-supply = <&vph_pwr>; 271 vdd-s2-supply = <&vph_pwr>; 248 vdd-s2-supply = <&vph_pwr>; 272 vdd-s3-supply = <&vph_pwr>; 249 vdd-s3-supply = <&vph_pwr>; 273 vdd-s4-supply = <&vph_pwr>; 250 vdd-s4-supply = <&vph_pwr>; 274 vdd-s5-supply = <&vph_pwr>; 251 vdd-s5-supply = <&vph_pwr>; 275 vdd-s6-supply = <&vph_pwr>; 252 vdd-s6-supply = <&vph_pwr>; 276 253 277 qcom,pmic-id = "c"; 254 qcom,pmic-id = "c"; 278 255 279 vreg_s1c_1p2: smps1 { 256 vreg_s1c_1p2: smps1 { 280 regulator-name = "vreg 257 regulator-name = "vreg_s1c_1p2"; 281 regulator-min-microvol 258 regulator-min-microvolt = <1256000>; 282 regulator-max-microvol 259 regulator-max-microvolt = <1348000>; 283 regulator-initial-mode 260 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 284 }; 261 }; 285 262 286 vreg_s2c_0p8: smps2 { 263 vreg_s2c_0p8: smps2 { 287 regulator-name = "vreg 264 regulator-name = "vreg_s2c_0p8"; 288 regulator-min-microvol 265 regulator-min-microvolt = <852000>; 289 regulator-max-microvol 266 regulator-max-microvolt = <1036000>; 290 regulator-initial-mode 267 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 291 }; 268 }; 292 269 293 vreg_s3c_0p9: smps3 { 270 vreg_s3c_0p9: smps3 { 294 regulator-name = "vreg 271 regulator-name = "vreg_s3c_0p9"; 295 regulator-min-microvol 272 regulator-min-microvolt = <976000>; 296 regulator-max-microvol 273 regulator-max-microvolt = <1064000>; 297 regulator-initial-mode 274 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 298 }; 275 }; 299 276 300 vreg_s4c_1p2: smps4 { 277 vreg_s4c_1p2: smps4 { 301 regulator-name = "vreg 278 regulator-name = "vreg_s4c_1p2"; 302 regulator-min-microvol 279 regulator-min-microvolt = <1224000>; 303 regulator-max-microvol 280 regulator-max-microvolt = <1280000>; 304 regulator-initial-mode 281 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 305 }; 282 }; 306 283 307 vreg_s5c_0p7: smps5 { 284 vreg_s5c_0p7: smps5 { 308 regulator-name = "vreg 285 regulator-name = "vreg_s5c_0p7"; 309 regulator-min-microvol 286 regulator-min-microvolt = <752000>; 310 regulator-max-microvol 287 regulator-max-microvolt = <900000>; 311 regulator-initial-mode 288 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 312 }; 289 }; 313 290 314 vreg_s6c_1p8: smps6 { 291 vreg_s6c_1p8: smps6 { 315 regulator-name = "vreg 292 regulator-name = "vreg_s6c_1p8"; 316 regulator-min-microvol 293 regulator-min-microvolt = <1856000>; 317 regulator-max-microvol 294 regulator-max-microvolt = <2000000>; 318 regulator-initial-mode 295 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 319 }; 296 }; 320 297 321 vreg_l1c_1p2: ldo1 { 298 vreg_l1c_1p2: ldo1 { 322 regulator-name = "vreg 299 regulator-name = "vreg_l1c_1p2"; 323 regulator-min-microvol 300 regulator-min-microvolt = <1200000>; 324 regulator-max-microvol 301 regulator-max-microvolt = <1200000>; 325 regulator-initial-mode 302 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 326 regulator-allow-set-lo 303 regulator-allow-set-load; 327 regulator-allowed-mode 304 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 328 305 RPMH_REGULATOR_MODE_HPM>; 329 }; 306 }; 330 307 331 vreg_l3c_1p2: ldo3 { 308 vreg_l3c_1p2: ldo3 { 332 regulator-name = "vreg 309 regulator-name = "vreg_l3c_1p2"; 333 regulator-min-microvol 310 regulator-min-microvolt = <1200000>; 334 regulator-max-microvol 311 regulator-max-microvolt = <1200000>; 335 regulator-initial-mode 312 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 336 regulator-allow-set-lo 313 regulator-allow-set-load; 337 regulator-allowed-mode 314 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 338 315 RPMH_REGULATOR_MODE_HPM>; 339 }; 316 }; 340 }; 317 }; 341 318 342 regulators-2 { 319 regulators-2 { 343 compatible = "qcom,pm8550vs-rp 320 compatible = "qcom,pm8550vs-rpmh-regulators"; 344 321 345 vdd-l1-supply = <&vreg_s3c_0p9 322 vdd-l1-supply = <&vreg_s3c_0p9>; 346 323 347 qcom,pmic-id = "d"; 324 qcom,pmic-id = "d"; 348 325 349 vreg_l1d_0p88: ldo1 { 326 vreg_l1d_0p88: ldo1 { 350 regulator-name = "vreg 327 regulator-name = "vreg_l1d_0p88"; 351 regulator-min-microvol 328 regulator-min-microvolt = <912000>; 352 regulator-max-microvol 329 regulator-max-microvolt = <920000>; 353 regulator-initial-mode 330 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 354 regulator-allow-set-lo 331 regulator-allow-set-load; 355 regulator-allowed-mode 332 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 356 333 RPMH_REGULATOR_MODE_HPM>; 357 }; 334 }; 358 }; 335 }; 359 336 360 regulators-3 { 337 regulators-3 { 361 compatible = "qcom,pm8550vs-rp 338 compatible = "qcom,pm8550vs-rpmh-regulators"; 362 339 363 vdd-l3-supply = <&vreg_s3c_0p9 340 vdd-l3-supply = <&vreg_s3c_0p9>; 364 341 365 qcom,pmic-id = "e"; 342 qcom,pmic-id = "e"; 366 343 367 vreg_l3e_0p9: ldo3 { 344 vreg_l3e_0p9: ldo3 { 368 regulator-name = "vreg 345 regulator-name = "vreg_l3e_0p9"; 369 regulator-min-microvol 346 regulator-min-microvolt = <880000>; 370 regulator-max-microvol 347 regulator-max-microvolt = <920000>; 371 regulator-initial-mode 348 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 372 regulator-allow-set-lo 349 regulator-allow-set-load; 373 regulator-allowed-mode 350 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 374 351 RPMH_REGULATOR_MODE_HPM>; 375 }; 352 }; 376 }; 353 }; 377 354 378 regulators-4 { 355 regulators-4 { 379 compatible = "qcom,pm8550vs-rp 356 compatible = "qcom,pm8550vs-rpmh-regulators"; 380 357 381 vdd-l1-supply = <&vreg_s3c_0p9 358 vdd-l1-supply = <&vreg_s3c_0p9>; 382 vdd-l3-supply = <&vreg_s3c_0p9 359 vdd-l3-supply = <&vreg_s3c_0p9>; 383 360 384 qcom,pmic-id = "g"; 361 qcom,pmic-id = "g"; 385 362 386 vreg_l1g_0p91: ldo1 { 363 vreg_l1g_0p91: ldo1 { 387 regulator-name = "vreg 364 regulator-name = "vreg_l1g_0p91"; 388 regulator-min-microvol 365 regulator-min-microvolt = <912000>; 389 regulator-max-microvol 366 regulator-max-microvolt = <920000>; 390 regulator-initial-mode 367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 391 regulator-allow-set-lo 368 regulator-allow-set-load; 392 regulator-allowed-mode 369 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 393 370 RPMH_REGULATOR_MODE_HPM>; 394 }; 371 }; 395 372 396 vreg_l3g_0p91: ldo3 { 373 vreg_l3g_0p91: ldo3 { 397 regulator-name = "vreg 374 regulator-name = "vreg_l3g_0p91"; 398 regulator-min-microvol 375 regulator-min-microvolt = <880000>; 399 regulator-max-microvol 376 regulator-max-microvolt = <912000>; 400 regulator-initial-mode 377 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 401 regulator-allow-set-lo 378 regulator-allow-set-load; 402 regulator-allowed-mode 379 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 403 380 RPMH_REGULATOR_MODE_HPM>; 404 }; 381 }; 405 }; 382 }; 406 383 407 regulators-5 { 384 regulators-5 { 408 compatible = "qcom,pm8550ve-rp 385 compatible = "qcom,pm8550ve-rpmh-regulators"; 409 386 410 vdd-l1-supply = <&vreg_s3c_0p9 387 vdd-l1-supply = <&vreg_s3c_0p9>; 411 vdd-l2-supply = <&vreg_s3c_0p9 388 vdd-l2-supply = <&vreg_s3c_0p9>; 412 vdd-l3-supply = <&vreg_s1c_1p2 389 vdd-l3-supply = <&vreg_s1c_1p2>; 413 vdd-s4-supply = <&vph_pwr>; 390 vdd-s4-supply = <&vph_pwr>; 414 391 415 qcom,pmic-id = "i"; 392 qcom,pmic-id = "i"; 416 393 417 vreg_s4i_0p85: smps4 { 394 vreg_s4i_0p85: smps4 { 418 regulator-name = "vreg 395 regulator-name = "vreg_s4i_0p85"; 419 regulator-min-microvol 396 regulator-min-microvolt = <852000>; 420 regulator-max-microvol 397 regulator-max-microvolt = <1004000>; 421 regulator-initial-mode 398 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 422 }; 399 }; 423 400 424 vreg_l1i_0p88: ldo1 { 401 vreg_l1i_0p88: ldo1 { 425 regulator-name = "vreg 402 regulator-name = "vreg_l1i_0p88"; 426 regulator-min-microvol 403 regulator-min-microvolt = <880000>; 427 regulator-max-microvol 404 regulator-max-microvolt = <912000>; 428 regulator-initial-mode 405 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 429 regulator-allow-set-lo 406 regulator-allow-set-load; 430 regulator-allowed-mode 407 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 431 408 RPMH_REGULATOR_MODE_HPM>; 432 }; 409 }; 433 410 434 vreg_l2i_0p88: ldo2 { 411 vreg_l2i_0p88: ldo2 { 435 regulator-name = "vreg 412 regulator-name = "vreg_l2i_0p88"; 436 regulator-min-microvol 413 regulator-min-microvolt = <880000>; 437 regulator-max-microvol 414 regulator-max-microvolt = <912000>; 438 regulator-initial-mode 415 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 439 regulator-allow-set-lo 416 regulator-allow-set-load; 440 regulator-allowed-mode 417 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 441 418 RPMH_REGULATOR_MODE_HPM>; 442 }; 419 }; 443 420 444 vreg_l3i_1p2: ldo3 { 421 vreg_l3i_1p2: ldo3 { 445 regulator-name = "vreg 422 regulator-name = "vreg_l3i_0p91"; 446 regulator-min-microvol 423 regulator-min-microvolt = <1200000>; 447 regulator-max-microvol 424 regulator-max-microvolt = <1200000>; 448 regulator-initial-mode 425 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 449 regulator-allow-set-lo 426 regulator-allow-set-load; 450 regulator-allowed-mode 427 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 451 428 RPMH_REGULATOR_MODE_HPM>; 452 }; 429 }; 453 }; 430 }; 454 << 455 regulators-6 { << 456 compatible = "qcom,pm8010-rpmh << 457 qcom,pmic-id = "m"; << 458 << 459 vdd-l1-l2-supply = <&vreg_s1c_ << 460 vdd-l3-l4-supply = <&vreg_bob2 << 461 vdd-l5-supply = <&vreg_s6c_1p8 << 462 vdd-l6-supply = <&vreg_bob1>; << 463 vdd-l7-supply = <&vreg_bob1>; << 464 << 465 vreg_l1m_1p1: ldo1 { << 466 regulator-name = "vreg << 467 regulator-min-microvol << 468 regulator-max-microvol << 469 regulator-initial-mode << 470 regulator-allow-set-lo << 471 regulator-allowed-mode << 472 << 473 }; << 474 << 475 vreg_l2m_1p056: ldo2 { << 476 regulator-name = "vreg << 477 regulator-min-microvol << 478 regulator-max-microvol << 479 regulator-initial-mode << 480 regulator-allow-set-lo << 481 regulator-allowed-mode << 482 << 483 }; << 484 << 485 vreg_l3m_2p8: ldo3 { << 486 regulator-name = "vreg << 487 regulator-min-microvol << 488 regulator-max-microvol << 489 regulator-initial-mode << 490 }; << 491 << 492 vreg_l4m_2p8: ldo4 { << 493 regulator-name = "vreg << 494 regulator-min-microvol << 495 regulator-max-microvol << 496 regulator-initial-mode << 497 }; << 498 << 499 vreg_l5m_1p8: ldo5 { << 500 regulator-name = "vreg << 501 regulator-min-microvol << 502 regulator-max-microvol << 503 regulator-initial-mode << 504 }; << 505 << 506 vreg_l6m_2p8: ldo6 { << 507 regulator-name = "vreg << 508 regulator-min-microvol << 509 regulator-max-microvol << 510 regulator-initial-mode << 511 }; << 512 << 513 vreg_l7m_2p96: ldo7 { << 514 regulator-name = "vreg << 515 regulator-min-microvol << 516 regulator-max-microvol << 517 regulator-initial-mode << 518 }; << 519 }; << 520 << 521 regulators-7 { << 522 compatible = "qcom,pm8010-rpmh << 523 qcom,pmic-id = "n"; << 524 << 525 vdd-l1-l2-supply = <&vreg_s1c_ << 526 vdd-l3-l4-supply = <&vreg_s6c_ << 527 vdd-l5-supply = <&vreg_bob2>; << 528 vdd-l6-supply = <&vreg_bob2>; << 529 vdd-l7-supply = <&vreg_bob1>; << 530 << 531 vreg_l1n_1p1: ldo1 { << 532 regulator-name = "vreg << 533 regulator-min-microvol << 534 regulator-max-microvol << 535 regulator-initial-mode << 536 regulator-allow-set-lo << 537 regulator-allowed-mode << 538 << 539 }; << 540 << 541 vreg_l2n_1p056: ldo2 { << 542 regulator-name = "vreg << 543 regulator-min-microvol << 544 regulator-max-microvol << 545 regulator-initial-mode << 546 regulator-allow-set-lo << 547 regulator-allowed-mode << 548 << 549 }; << 550 << 551 vreg_l3n_1p8: ldo3 { << 552 regulator-name = "vreg << 553 regulator-min-microvol << 554 regulator-max-microvol << 555 regulator-initial-mode << 556 }; << 557 << 558 vreg_l4n_1p8: ldo4 { << 559 regulator-name = "vreg << 560 regulator-min-microvol << 561 regulator-max-microvol << 562 regulator-initial-mode << 563 }; << 564 << 565 vreg_l5n_2p8: ldo5 { << 566 regulator-name = "vreg << 567 regulator-min-microvol << 568 regulator-max-microvol << 569 regulator-initial-mode << 570 }; << 571 << 572 vreg_l6n_2p8: ldo6 { << 573 regulator-name = "vreg << 574 regulator-min-microvol << 575 regulator-max-microvol << 576 regulator-initial-mode << 577 }; << 578 << 579 vreg_l7n_3p3: ldo7 { << 580 regulator-name = "vreg << 581 regulator-min-microvol << 582 regulator-max-microvol << 583 regulator-initial-mode << 584 }; << 585 }; << 586 }; 431 }; 587 432 588 &dispcc { 433 &dispcc { 589 status = "okay"; 434 status = "okay"; 590 }; 435 }; 591 436 592 &lpass_tlmm { 437 &lpass_tlmm { 593 spkr_1_sd_n_active: spkr-1-sd-n-active 438 spkr_1_sd_n_active: spkr-1-sd-n-active-state { 594 pins = "gpio21"; 439 pins = "gpio21"; 595 function = "gpio"; 440 function = "gpio"; 596 drive-strength = <16>; 441 drive-strength = <16>; 597 bias-disable; 442 bias-disable; 598 output-low; 443 output-low; 599 }; 444 }; 600 }; 445 }; 601 446 602 &mdss { 447 &mdss { 603 status = "okay"; 448 status = "okay"; 604 }; 449 }; 605 450 606 &mdss_dsi0 { 451 &mdss_dsi0 { 607 vdda-supply = <&vreg_l3i_1p2>; 452 vdda-supply = <&vreg_l3i_1p2>; 608 453 609 status = "okay"; 454 status = "okay"; 610 455 611 panel@0 { 456 panel@0 { 612 compatible = "visionox,vtdr613 457 compatible = "visionox,vtdr6130"; 613 reg = <0>; 458 reg = <0>; 614 459 615 reset-gpios = <&tlmm 133 GPIO_ 460 reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>; 616 461 617 vddio-supply = <&vreg_l12b_1p8 462 vddio-supply = <&vreg_l12b_1p8>; 618 vci-supply = <&vreg_l13b_3p0>; 463 vci-supply = <&vreg_l13b_3p0>; 619 vdd-supply = <&vreg_l11b_1p2>; 464 vdd-supply = <&vreg_l11b_1p2>; 620 465 621 pinctrl-0 = <&disp0_reset_n_ac 466 pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync_active>; 622 pinctrl-1 = <&disp0_reset_n_su 467 pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync_suspend>; 623 pinctrl-names = "default", "sl 468 pinctrl-names = "default", "sleep"; 624 469 625 port { 470 port { 626 panel0_in: endpoint { 471 panel0_in: endpoint { 627 remote-endpoin 472 remote-endpoint = <&mdss_dsi0_out>; 628 }; 473 }; 629 }; 474 }; 630 }; 475 }; 631 }; 476 }; 632 477 633 &mdss_dsi0_out { 478 &mdss_dsi0_out { 634 remote-endpoint = <&panel0_in>; 479 remote-endpoint = <&panel0_in>; 635 data-lanes = <0 1 2 3>; 480 data-lanes = <0 1 2 3>; 636 }; 481 }; 637 482 638 &mdss_dsi0_phy { 483 &mdss_dsi0_phy { 639 vdds-supply = <&vreg_l1i_0p88>; 484 vdds-supply = <&vreg_l1i_0p88>; 640 485 641 status = "okay"; 486 status = "okay"; 642 }; 487 }; 643 488 >> 489 &mdss_mdp { >> 490 status = "okay"; >> 491 }; >> 492 >> 493 &pcie_1_phy_aux_clk { >> 494 clock-frequency = <1000>; >> 495 }; >> 496 644 &pcie0 { 497 &pcie0 { 645 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIG 498 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 646 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LO 499 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 647 500 648 pinctrl-0 = <&pcie0_default_state>; 501 pinctrl-0 = <&pcie0_default_state>; 649 pinctrl-names = "default"; 502 pinctrl-names = "default"; 650 503 651 status = "okay"; 504 status = "okay"; 652 }; 505 }; 653 506 654 &pcie0_phy { 507 &pcie0_phy { 655 vdda-phy-supply = <&vreg_l1i_0p88>; 508 vdda-phy-supply = <&vreg_l1i_0p88>; 656 vdda-pll-supply = <&vreg_l3i_1p2>; 509 vdda-pll-supply = <&vreg_l3i_1p2>; 657 510 658 status = "okay"; 511 status = "okay"; 659 }; 512 }; 660 513 661 &pcie1 { 514 &pcie1 { 662 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIG 515 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 663 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LO 516 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 664 517 665 pinctrl-0 = <&pcie1_default_state>; 518 pinctrl-0 = <&pcie1_default_state>; 666 pinctrl-names = "default"; 519 pinctrl-names = "default"; 667 520 668 status = "okay"; 521 status = "okay"; 669 }; 522 }; 670 523 671 &pcie1_phy { 524 &pcie1_phy { 672 vdda-phy-supply = <&vreg_l3e_0p9>; 525 vdda-phy-supply = <&vreg_l3e_0p9>; 673 vdda-pll-supply = <&vreg_l3i_1p2>; 526 vdda-pll-supply = <&vreg_l3i_1p2>; 674 vdda-qref-supply = <&vreg_l1i_0p88>; 527 vdda-qref-supply = <&vreg_l1i_0p88>; 675 528 676 status = "okay"; 529 status = "okay"; 677 }; 530 }; 678 531 679 &pm8550_gpios { 532 &pm8550_gpios { 680 sdc2_card_det_n: sdc2-card-det-state { 533 sdc2_card_det_n: sdc2-card-det-state { 681 pins = "gpio12"; 534 pins = "gpio12"; 682 function = "normal"; 535 function = "normal"; 683 bias-pull-up; 536 bias-pull-up; 684 input-enable; 537 input-enable; 685 output-disable; 538 output-disable; 686 power-source = <1>; /* 1.8 V * 539 power-source = <1>; /* 1.8 V */ 687 }; 540 }; 688 }; 541 }; 689 542 690 &pm8550b_eusb2_repeater { 543 &pm8550b_eusb2_repeater { 691 vdd18-supply = <&vreg_l15b_1p8>; 544 vdd18-supply = <&vreg_l15b_1p8>; 692 vdd3-supply = <&vreg_l5b_3p1>; 545 vdd3-supply = <&vreg_l5b_3p1>; 693 }; 546 }; 694 547 695 &qupv3_id_1 { 548 &qupv3_id_1 { 696 status = "okay"; 549 status = "okay"; 697 }; 550 }; 698 551 699 &remoteproc_adsp { 552 &remoteproc_adsp { 700 firmware-name = "qcom/sm8650/adsp.mbn" 553 firmware-name = "qcom/sm8650/adsp.mbn", 701 "qcom/sm8650/adsp_dtb. 554 "qcom/sm8650/adsp_dtb.mbn"; 702 555 703 status = "okay"; 556 status = "okay"; 704 }; 557 }; 705 558 706 &remoteproc_cdsp { 559 &remoteproc_cdsp { 707 firmware-name = "qcom/sm8650/cdsp.mbn" 560 firmware-name = "qcom/sm8650/cdsp.mbn", 708 "qcom/sm8650/cdsp_dtb. 561 "qcom/sm8650/cdsp_dtb.mbn"; 709 562 710 status = "okay"; 563 status = "okay"; 711 }; 564 }; 712 565 713 &remoteproc_mpss { 566 &remoteproc_mpss { 714 firmware-name = "qcom/sm8650/modem.mbn 567 firmware-name = "qcom/sm8650/modem.mbn", 715 "qcom/sm8650/modem_dtb 568 "qcom/sm8650/modem_dtb.mbn"; 716 569 717 status = "okay"; 570 status = "okay"; 718 }; 571 }; 719 572 720 &sdhc_2 { 573 &sdhc_2 { 721 cd-gpios = <&pm8550_gpios 12 GPIO_ACTI 574 cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>; 722 575 723 vmmc-supply = <&vreg_l9b_2p9>; 576 vmmc-supply = <&vreg_l9b_2p9>; 724 vqmmc-supply = <&vreg_l8b_1p8>; 577 vqmmc-supply = <&vreg_l8b_1p8>; 725 bus-width = <4>; 578 bus-width = <4>; 726 no-sdio; 579 no-sdio; 727 no-mmc; 580 no-mmc; 728 581 729 pinctrl-0 = <&sdc2_default>, <&sdc2_ca 582 pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>; 730 pinctrl-1 = <&sdc2_sleep>, <&sdc2_card 583 pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>; 731 pinctrl-names = "default", "sleep"; 584 pinctrl-names = "default", "sleep"; 732 585 733 status = "okay"; 586 status = "okay"; 734 }; 587 }; 735 588 736 &sleep_clk { 589 &sleep_clk { 737 clock-frequency = <32000>; 590 clock-frequency = <32000>; 738 }; 591 }; 739 592 740 &swr0 { 593 &swr0 { 741 status = "okay"; 594 status = "okay"; 742 595 743 /* WSA8845, Speaker Left */ 596 /* WSA8845, Speaker Left */ 744 left_spkr: speaker@0,0 { 597 left_spkr: speaker@0,0 { 745 compatible = "sdw20217020400"; 598 compatible = "sdw20217020400"; 746 reg = <0 0>; 599 reg = <0 0>; 747 pinctrl-0 = <&spkr_1_sd_n_acti 600 pinctrl-0 = <&spkr_1_sd_n_active>; 748 pinctrl-names = "default"; 601 pinctrl-names = "default"; 749 powerdown-gpios = <&lpass_tlmm 602 powerdown-gpios = <&lpass_tlmm 21 GPIO_ACTIVE_LOW>; 750 #sound-dai-cells = <0>; 603 #sound-dai-cells = <0>; 751 sound-name-prefix = "SpkrLeft" 604 sound-name-prefix = "SpkrLeft"; 752 vdd-1p8-supply = <&vreg_l15b_1 605 vdd-1p8-supply = <&vreg_l15b_1p8>; 753 vdd-io-supply = <&vreg_l3c_1p2 606 vdd-io-supply = <&vreg_l3c_1p2>; 754 << 755 /* << 756 * WSA8845 Port 1 (DAC) <= << 757 * WSA8845 Port 2 (COMP) <= << 758 * WSA8845 Port 3 (BOOST) <= << 759 * WSA8845 Port 4 (PBR) <= << 760 * WSA8845 Port 5 (VISENSE) <= << 761 * WSA8845 Port 6 (CPS) <= << 762 */ << 763 qcom,port-mapping = <1 2 3 7 1 << 764 }; 607 }; 765 608 766 /* WSA8845, Speaker Right */ 609 /* WSA8845, Speaker Right */ 767 right_spkr: speaker@0,1 { 610 right_spkr: speaker@0,1 { 768 compatible = "sdw20217020400"; 611 compatible = "sdw20217020400"; 769 reg = <0 1>; 612 reg = <0 1>; 770 pinctrl-0 = <&spkr_2_sd_n_acti 613 pinctrl-0 = <&spkr_2_sd_n_active>; 771 pinctrl-names = "default"; 614 pinctrl-names = "default"; 772 powerdown-gpios = <&tlmm 77 GP 615 powerdown-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; 773 #sound-dai-cells = <0>; 616 #sound-dai-cells = <0>; 774 sound-name-prefix = "SpkrRight 617 sound-name-prefix = "SpkrRight"; 775 vdd-1p8-supply = <&vreg_l15b_1 618 vdd-1p8-supply = <&vreg_l15b_1p8>; 776 vdd-io-supply = <&vreg_l3c_1p2 619 vdd-io-supply = <&vreg_l3c_1p2>; 777 << 778 /* << 779 * WSA8845 Port 1 (DAC) <= << 780 * WSA8845 Port 2 (COMP) <= << 781 * WSA8845 Port 3 (BOOST) <= << 782 * WSA8845 Port 4 (PBR) <= << 783 * WSA8845 Port 5 (VISENSE) <= << 784 * WSA8845 Port 6 (CPS) <= << 785 */ << 786 qcom,port-mapping = <4 5 6 7 1 << 787 }; 620 }; 788 }; 621 }; 789 622 790 &tlmm { 623 &tlmm { 791 /* Reserved I/Os for NFC */ 624 /* Reserved I/Os for NFC */ 792 gpio-reserved-ranges = <32 8>, <74 1>; 625 gpio-reserved-ranges = <32 8>, <74 1>; 793 626 794 disp0_reset_n_active: disp0-reset-n-ac 627 disp0_reset_n_active: disp0-reset-n-active-state { 795 pins = "gpio133"; 628 pins = "gpio133"; 796 function = "gpio"; 629 function = "gpio"; 797 drive-strength = <8>; 630 drive-strength = <8>; 798 bias-disable; 631 bias-disable; 799 }; 632 }; 800 633 801 disp0_reset_n_suspend: disp0-reset-n-s 634 disp0_reset_n_suspend: disp0-reset-n-suspend-state { 802 pins = "gpio133"; 635 pins = "gpio133"; 803 function = "gpio"; 636 function = "gpio"; 804 drive-strength = <2>; 637 drive-strength = <2>; 805 bias-pull-down; 638 bias-pull-down; 806 }; 639 }; 807 640 808 mdp_vsync_active: mdp-vsync-active-sta 641 mdp_vsync_active: mdp-vsync-active-state { 809 pins = "gpio86"; 642 pins = "gpio86"; 810 function = "mdp_vsync"; 643 function = "mdp_vsync"; 811 drive-strength = <2>; 644 drive-strength = <2>; 812 bias-pull-down; 645 bias-pull-down; 813 }; 646 }; 814 647 815 mdp_vsync_suspend: mdp-vsync-suspend-s 648 mdp_vsync_suspend: mdp-vsync-suspend-state { 816 pins = "gpio86"; 649 pins = "gpio86"; 817 function = "mdp_vsync"; 650 function = "mdp_vsync"; 818 drive-strength = <2>; 651 drive-strength = <2>; 819 bias-pull-down; 652 bias-pull-down; 820 }; 653 }; 821 654 822 spkr_2_sd_n_active: spkr-2-sd-n-active 655 spkr_2_sd_n_active: spkr-2-sd-n-active-state { 823 pins = "gpio77"; 656 pins = "gpio77"; 824 function = "gpio"; 657 function = "gpio"; 825 drive-strength = <16>; 658 drive-strength = <16>; 826 bias-disable; 659 bias-disable; 827 output-low; 660 output-low; 828 }; 661 }; 829 }; 662 }; 830 663 831 &uart15 { 664 &uart15 { 832 status = "okay"; 665 status = "okay"; 833 }; 666 }; 834 667 835 &ufs_mem_hc { 668 &ufs_mem_hc { 836 reset-gpios = <&tlmm 210 GPIO_ACTIVE_L 669 reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; 837 670 838 vcc-supply = <&vreg_l17b_2p5>; 671 vcc-supply = <&vreg_l17b_2p5>; 839 vcc-max-microamp = <1300000>; 672 vcc-max-microamp = <1300000>; 840 vccq-supply = <&vreg_l1c_1p2>; 673 vccq-supply = <&vreg_l1c_1p2>; 841 vccq-max-microamp = <1200000>; 674 vccq-max-microamp = <1200000>; 842 675 843 status = "okay"; 676 status = "okay"; 844 }; 677 }; 845 678 846 &ufs_mem_phy { 679 &ufs_mem_phy { 847 vdda-phy-supply = <&vreg_l1d_0p88>; 680 vdda-phy-supply = <&vreg_l1d_0p88>; 848 vdda-pll-supply = <&vreg_l3i_1p2>; 681 vdda-pll-supply = <&vreg_l3i_1p2>; 849 682 850 status = "okay"; 683 status = "okay"; 851 }; 684 }; 852 685 853 /* 686 /* 854 * DPAUX -> WCD9395 -> USB_SBU -> USB-C 687 * DPAUX -> WCD9395 -> USB_SBU -> USB-C 855 * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> 688 * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> USB-C 856 * USB SS -> USB-C 689 * USB SS -> USB-C 857 */ 690 */ 858 691 859 &usb_1 { 692 &usb_1 { 860 status = "okay"; 693 status = "okay"; 861 }; 694 }; 862 695 863 &usb_1_dwc3 { 696 &usb_1_dwc3 { 864 dr_mode = "otg"; 697 dr_mode = "otg"; 865 usb-role-switch; 698 usb-role-switch; 866 }; 699 }; 867 700 868 &usb_1_dwc3_hs { 701 &usb_1_dwc3_hs { 869 remote-endpoint = <&pmic_glink_hs_in>; 702 remote-endpoint = <&pmic_glink_hs_in>; 870 }; 703 }; 871 704 >> 705 &usb_1_dwc3_ss { >> 706 remote-endpoint = <&pmic_glink_ss_in>; >> 707 }; >> 708 872 &usb_1_hsphy { 709 &usb_1_hsphy { 873 vdd-supply = <&vreg_l1i_0p88>; 710 vdd-supply = <&vreg_l1i_0p88>; 874 vdda12-supply = <&vreg_l3i_1p2>; 711 vdda12-supply = <&vreg_l3i_1p2>; 875 712 876 phys = <&pm8550b_eusb2_repeater>; 713 phys = <&pm8550b_eusb2_repeater>; 877 714 878 status = "okay"; 715 status = "okay"; 879 }; 716 }; 880 717 881 &usb_dp_qmpphy { 718 &usb_dp_qmpphy { 882 vdda-phy-supply = <&vreg_l3i_1p2>; 719 vdda-phy-supply = <&vreg_l3i_1p2>; 883 vdda-pll-supply = <&vreg_l3g_0p91>; 720 vdda-pll-supply = <&vreg_l3g_0p91>; 884 721 885 status = "okay"; 722 status = "okay"; 886 }; << 887 << 888 &usb_dp_qmpphy_out { << 889 remote-endpoint = <&pmic_glink_ss_in>; << 890 }; 723 }; 891 724 892 &xo_board { 725 &xo_board { 893 clock-frequency = <76800000>; 726 clock-frequency = <76800000>; 894 }; 727 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.