1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2020-2021, Linaro Limited 3 * Copyright (c) 2020-2021, 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 "sm8350.dtsi" 9 #include "sm8350.dtsi" 10 #include "pm8350.dtsi" 10 #include "pm8350.dtsi" 11 #include "pm8350b.dtsi" 11 #include "pm8350b.dtsi" 12 #include "pm8350c.dtsi" 12 #include "pm8350c.dtsi" 13 #include "pmk8350.dtsi" 13 #include "pmk8350.dtsi" 14 #include "pmr735a.dtsi" 14 #include "pmr735a.dtsi" 15 #include "pmr735b.dtsi" 15 #include "pmr735b.dtsi" 16 16 17 / { 17 / { 18 model = "Qualcomm Technologies, Inc. S 18 model = "Qualcomm Technologies, Inc. SM8350 HDK"; 19 compatible = "qcom,sm8350-hdk", "qcom, 19 compatible = "qcom,sm8350-hdk", "qcom,sm8350"; 20 chassis-type = "embedded"; 20 chassis-type = "embedded"; 21 21 22 aliases { 22 aliases { 23 serial0 = &uart2; 23 serial0 = &uart2; 24 }; 24 }; 25 25 26 chosen { 26 chosen { 27 stdout-path = "serial0:115200n 27 stdout-path = "serial0:115200n8"; 28 }; 28 }; 29 29 30 hdmi-connector { 30 hdmi-connector { 31 compatible = "hdmi-connector"; 31 compatible = "hdmi-connector"; 32 type = "a"; 32 type = "a"; 33 33 34 port { 34 port { 35 hdmi_con: endpoint { 35 hdmi_con: endpoint { 36 remote-endpoin 36 remote-endpoint = <<9611_out>; 37 }; 37 }; 38 }; 38 }; 39 }; 39 }; 40 40 41 pmic-glink { 41 pmic-glink { 42 compatible = "qcom,sm8350-pmic 42 compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink"; 43 #address-cells = <1>; 43 #address-cells = <1>; 44 #size-cells = <0>; 44 #size-cells = <0>; 45 orientation-gpios = <&tlmm 81 << 46 45 47 connector@0 { 46 connector@0 { 48 compatible = "usb-c-co 47 compatible = "usb-c-connector"; 49 reg = <0>; 48 reg = <0>; 50 power-role = "dual"; 49 power-role = "dual"; 51 data-role = "dual"; 50 data-role = "dual"; 52 51 53 ports { 52 ports { 54 #address-cells 53 #address-cells = <1>; 55 #size-cells = 54 #size-cells = <0>; 56 55 57 port@0 { 56 port@0 { 58 reg = 57 reg = <0>; 59 58 60 pmic_g 59 pmic_glink_hs_in: endpoint { 61 60 remote-endpoint = <&usb_1_dwc3_hs>; 62 }; 61 }; 63 }; 62 }; 64 63 65 port@1 { 64 port@1 { 66 reg = 65 reg = <1>; 67 66 68 pmic_g 67 pmic_glink_ss_in: endpoint { 69 68 remote-endpoint = <&usb_1_qmpphy_out>; 70 }; 69 }; 71 }; 70 }; 72 71 73 port@2 { 72 port@2 { 74 reg = 73 reg = <2>; 75 74 76 pmic_g 75 pmic_glink_sbu: endpoint { 77 76 remote-endpoint = <&fsa4480_sbu_mux>; 78 }; 77 }; 79 }; 78 }; 80 }; 79 }; 81 }; 80 }; 82 }; 81 }; 83 82 84 vph_pwr: vph-pwr-regulator { 83 vph_pwr: vph-pwr-regulator { 85 compatible = "regulator-fixed" 84 compatible = "regulator-fixed"; 86 regulator-name = "vph_pwr"; 85 regulator-name = "vph_pwr"; 87 regulator-min-microvolt = <370 86 regulator-min-microvolt = <3700000>; 88 regulator-max-microvolt = <370 87 regulator-max-microvolt = <3700000>; 89 88 90 regulator-always-on; 89 regulator-always-on; 91 regulator-boot-on; 90 regulator-boot-on; 92 }; 91 }; 93 92 94 lt9611_1v2: lt9611-1v2-regulator { 93 lt9611_1v2: lt9611-1v2-regulator { 95 compatible = "regulator-fixed" 94 compatible = "regulator-fixed"; 96 regulator-name = "LT9611_1V2"; 95 regulator-name = "LT9611_1V2"; 97 96 98 vin-supply = <&vph_pwr>; 97 vin-supply = <&vph_pwr>; 99 regulator-min-microvolt = <120 98 regulator-min-microvolt = <1200000>; 100 regulator-max-microvolt = <120 99 regulator-max-microvolt = <1200000>; 101 gpio = <&tlmm 49 GPIO_ACTIVE_H 100 gpio = <&tlmm 49 GPIO_ACTIVE_HIGH>; 102 enable-active-high; 101 enable-active-high; 103 regulator-boot-on; 102 regulator-boot-on; 104 }; 103 }; 105 104 106 lt9611_3v3: lt9611-3v3-regulator { 105 lt9611_3v3: lt9611-3v3-regulator { 107 compatible = "regulator-fixed" 106 compatible = "regulator-fixed"; 108 regulator-name = "LT9611_3V3"; 107 regulator-name = "LT9611_3V3"; 109 108 110 vin-supply = <&vreg_bob>; 109 vin-supply = <&vreg_bob>; 111 gpio = <&tlmm 47 GPIO_ACTIVE_H 110 gpio = <&tlmm 47 GPIO_ACTIVE_HIGH>; 112 regulator-min-microvolt = <330 111 regulator-min-microvolt = <3300000>; 113 regulator-max-microvolt = <330 112 regulator-max-microvolt = <3300000>; 114 enable-active-high; 113 enable-active-high; 115 regulator-boot-on; 114 regulator-boot-on; 116 regulator-always-on; 115 regulator-always-on; 117 }; 116 }; 118 }; 117 }; 119 118 120 &adsp { 119 &adsp { 121 status = "okay"; 120 status = "okay"; 122 firmware-name = "qcom/sm8350/adsp.mbn" 121 firmware-name = "qcom/sm8350/adsp.mbn"; 123 }; 122 }; 124 123 125 &apps_rsc { 124 &apps_rsc { 126 regulators-0 { 125 regulators-0 { 127 compatible = "qcom,pm8350-rpmh 126 compatible = "qcom,pm8350-rpmh-regulators"; 128 qcom,pmic-id = "b"; 127 qcom,pmic-id = "b"; 129 128 130 vdd-s1-supply = <&vph_pwr>; 129 vdd-s1-supply = <&vph_pwr>; 131 vdd-s2-supply = <&vph_pwr>; 130 vdd-s2-supply = <&vph_pwr>; 132 vdd-s3-supply = <&vph_pwr>; 131 vdd-s3-supply = <&vph_pwr>; 133 vdd-s4-supply = <&vph_pwr>; 132 vdd-s4-supply = <&vph_pwr>; 134 vdd-s5-supply = <&vph_pwr>; 133 vdd-s5-supply = <&vph_pwr>; 135 vdd-s6-supply = <&vph_pwr>; 134 vdd-s6-supply = <&vph_pwr>; 136 vdd-s7-supply = <&vph_pwr>; 135 vdd-s7-supply = <&vph_pwr>; 137 vdd-s8-supply = <&vph_pwr>; 136 vdd-s8-supply = <&vph_pwr>; 138 vdd-s9-supply = <&vph_pwr>; 137 vdd-s9-supply = <&vph_pwr>; 139 vdd-s10-supply = <&vph_pwr>; 138 vdd-s10-supply = <&vph_pwr>; 140 vdd-s11-supply = <&vph_pwr>; 139 vdd-s11-supply = <&vph_pwr>; 141 vdd-s12-supply = <&vph_pwr>; 140 vdd-s12-supply = <&vph_pwr>; 142 141 143 vdd-l1-l4-supply = <&vreg_s11b 142 vdd-l1-l4-supply = <&vreg_s11b_0p95>; 144 vdd-l2-l7-supply = <&vreg_bob> 143 vdd-l2-l7-supply = <&vreg_bob>; 145 vdd-l3-l5-supply = <&vreg_bob> 144 vdd-l3-l5-supply = <&vreg_bob>; 146 vdd-l6-l9-l10-supply = <&vreg_ 145 vdd-l6-l9-l10-supply = <&vreg_s11b_0p95>; 147 146 148 vreg_s10b_1p8: smps10 { 147 vreg_s10b_1p8: smps10 { 149 regulator-name = "vreg 148 regulator-name = "vreg_s10b_1p8"; 150 regulator-min-microvol 149 regulator-min-microvolt = <1800000>; 151 regulator-max-microvol 150 regulator-max-microvolt = <1800000>; 152 regulator-initial-mode 151 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 153 }; 152 }; 154 153 155 vreg_s11b_0p95: smps11 { 154 vreg_s11b_0p95: smps11 { 156 regulator-name = "vreg 155 regulator-name = "vreg_s11b_0p95"; 157 regulator-min-microvol 156 regulator-min-microvolt = <952000>; 158 regulator-max-microvol 157 regulator-max-microvolt = <952000>; 159 regulator-initial-mode 158 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 160 }; 159 }; 161 160 162 vreg_s12b_1p25: smps12 { 161 vreg_s12b_1p25: smps12 { 163 regulator-name = "vreg 162 regulator-name = "vreg_s12b_1p25"; 164 regulator-min-microvol 163 regulator-min-microvolt = <1256000>; 165 regulator-max-microvol 164 regulator-max-microvolt = <1256000>; 166 regulator-initial-mode 165 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 167 }; 166 }; 168 167 169 vreg_l1b_0p88: ldo1 { 168 vreg_l1b_0p88: ldo1 { 170 regulator-name = "vreg 169 regulator-name = "vreg_l1b_0p88"; 171 regulator-min-microvol 170 regulator-min-microvolt = <912000>; 172 regulator-max-microvol 171 regulator-max-microvolt = <920000>; 173 regulator-initial-mode 172 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 174 }; 173 }; 175 174 176 vreg_l2b_3p07: ldo2 { 175 vreg_l2b_3p07: ldo2 { 177 regulator-name = "vreg 176 regulator-name = "vreg_l2b_3p07"; 178 regulator-min-microvol 177 regulator-min-microvolt = <3072000>; 179 regulator-max-microvol 178 regulator-max-microvolt = <3072000>; 180 regulator-initial-mode 179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 181 }; 180 }; 182 181 183 vreg_l3b_0p9: ldo3 { 182 vreg_l3b_0p9: ldo3 { 184 regulator-name = "vreg 183 regulator-name = "vreg_l3b_0p9"; 185 regulator-min-microvol 184 regulator-min-microvolt = <904000>; 186 regulator-max-microvol 185 regulator-max-microvolt = <904000>; 187 regulator-initial-mode 186 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 188 }; 187 }; 189 188 190 vreg_l5b_0p88: ldo5 { 189 vreg_l5b_0p88: ldo5 { 191 regulator-name = "vreg 190 regulator-name = "vreg_l5b_0p88"; 192 regulator-min-microvol 191 regulator-min-microvolt = <880000>; 193 regulator-max-microvol 192 regulator-max-microvolt = <888000>; 194 regulator-initial-mode 193 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 195 regulator-allow-set-lo 194 regulator-allow-set-load; 196 regulator-allowed-mode 195 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 197 196 RPMH_REGULATOR_MODE_HPM>; 198 }; 197 }; 199 198 200 vreg_l6b_1p2: ldo6 { 199 vreg_l6b_1p2: ldo6 { 201 regulator-name = "vreg 200 regulator-name = "vreg_l6b_1p2"; 202 regulator-min-microvol 201 regulator-min-microvolt = <1200000>; 203 regulator-max-microvol 202 regulator-max-microvolt = <1208000>; 204 regulator-initial-mode 203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 205 regulator-allow-set-lo 204 regulator-allow-set-load; 206 regulator-allowed-mode 205 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 207 206 RPMH_REGULATOR_MODE_HPM>; 208 }; 207 }; 209 208 210 vreg_l7b_2p96: ldo7 { 209 vreg_l7b_2p96: ldo7 { 211 regulator-name = "vreg 210 regulator-name = "vreg_l7b_2p96"; 212 regulator-min-microvol 211 regulator-min-microvolt = <2504000>; 213 regulator-max-microvol 212 regulator-max-microvolt = <2504000>; 214 regulator-initial-mode 213 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 215 regulator-allow-set-lo 214 regulator-allow-set-load; 216 regulator-allowed-mode 215 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 217 216 RPMH_REGULATOR_MODE_HPM>; 218 }; 217 }; 219 218 220 vreg_l9b_1p2: ldo9 { 219 vreg_l9b_1p2: ldo9 { 221 regulator-name = "vreg 220 regulator-name = "vreg_l9b_1p2"; 222 regulator-min-microvol 221 regulator-min-microvolt = <1200000>; 223 regulator-max-microvol 222 regulator-max-microvolt = <1200000>; 224 regulator-initial-mode 223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 225 regulator-allow-set-lo 224 regulator-allow-set-load; 226 regulator-allowed-mode 225 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 227 226 RPMH_REGULATOR_MODE_HPM>; 228 }; 227 }; 229 }; 228 }; 230 229 231 regulators-1 { 230 regulators-1 { 232 compatible = "qcom,pm8350c-rpm 231 compatible = "qcom,pm8350c-rpmh-regulators"; 233 qcom,pmic-id = "c"; 232 qcom,pmic-id = "c"; 234 233 235 vdd-s1-supply = <&vph_pwr>; 234 vdd-s1-supply = <&vph_pwr>; 236 vdd-s2-supply = <&vph_pwr>; 235 vdd-s2-supply = <&vph_pwr>; 237 vdd-s3-supply = <&vph_pwr>; 236 vdd-s3-supply = <&vph_pwr>; 238 vdd-s4-supply = <&vph_pwr>; 237 vdd-s4-supply = <&vph_pwr>; 239 vdd-s5-supply = <&vph_pwr>; 238 vdd-s5-supply = <&vph_pwr>; 240 vdd-s6-supply = <&vph_pwr>; 239 vdd-s6-supply = <&vph_pwr>; 241 vdd-s7-supply = <&vph_pwr>; 240 vdd-s7-supply = <&vph_pwr>; 242 vdd-s8-supply = <&vph_pwr>; 241 vdd-s8-supply = <&vph_pwr>; 243 vdd-s9-supply = <&vph_pwr>; 242 vdd-s9-supply = <&vph_pwr>; 244 vdd-s10-supply = <&vph_pwr>; 243 vdd-s10-supply = <&vph_pwr>; 245 244 246 vdd-l1-l12-supply = <&vreg_s1c 245 vdd-l1-l12-supply = <&vreg_s1c_1p86>; 247 vdd-l2-l8-supply = <&vreg_s1c_ 246 vdd-l2-l8-supply = <&vreg_s1c_1p86>; 248 vdd-l3-l4-l5-l7-l13-supply = < 247 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; 249 vdd-l6-l9-l11-supply = <&vreg_ 248 vdd-l6-l9-l11-supply = <&vreg_bob>; 250 vdd-l10-supply = <&vreg_s12b_1 249 vdd-l10-supply = <&vreg_s12b_1p25>; 251 250 252 vdd-bob-supply = <&vph_pwr>; 251 vdd-bob-supply = <&vph_pwr>; 253 252 254 vreg_s1c_1p86: smps1 { 253 vreg_s1c_1p86: smps1 { 255 regulator-name = "vreg 254 regulator-name = "vreg_s1c_1p86"; 256 regulator-min-microvol 255 regulator-min-microvolt = <1856000>; 257 regulator-max-microvol 256 regulator-max-microvolt = <1880000>; 258 regulator-initial-mode 257 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 259 }; 258 }; 260 259 261 vreg_bob: bob { 260 vreg_bob: bob { 262 regulator-name = "vreg 261 regulator-name = "vreg_bob"; 263 regulator-min-microvol 262 regulator-min-microvolt = <3008000>; 264 regulator-max-microvol 263 regulator-max-microvolt = <3960000>; 265 regulator-initial-mode 264 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 266 }; 265 }; 267 266 268 vreg_l1c_1p8: ldo1 { 267 vreg_l1c_1p8: ldo1 { 269 regulator-name = "vreg 268 regulator-name = "vreg_l1c_1p8"; 270 regulator-min-microvol 269 regulator-min-microvolt = <1800000>; 271 regulator-max-microvol 270 regulator-max-microvolt = <1800000>; 272 regulator-initial-mode 271 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 273 }; 272 }; 274 273 275 vreg_l2c_1p8: ldo2 { 274 vreg_l2c_1p8: ldo2 { 276 regulator-name = "vreg 275 regulator-name = "vreg_l2c_1p8"; 277 regulator-min-microvol 276 regulator-min-microvolt = <1800000>; 278 regulator-max-microvol 277 regulator-max-microvolt = <1800000>; 279 regulator-initial-mode 278 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 280 }; 279 }; 281 280 282 vreg_l6c_1p8: ldo6 { 281 vreg_l6c_1p8: ldo6 { 283 regulator-name = "vreg 282 regulator-name = "vreg_l6c_1p8"; 284 regulator-min-microvol 283 regulator-min-microvolt = <1800000>; 285 regulator-max-microvol 284 regulator-max-microvolt = <2960000>; 286 regulator-initial-mode 285 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 287 }; 286 }; 288 287 289 vreg_l9c_2p96: ldo9 { 288 vreg_l9c_2p96: ldo9 { 290 regulator-name = "vreg 289 regulator-name = "vreg_l9c_2p96"; 291 regulator-min-microvol 290 regulator-min-microvolt = <2960000>; 292 regulator-max-microvol 291 regulator-max-microvolt = <3008000>; 293 regulator-initial-mode 292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 294 }; 293 }; 295 294 296 vreg_l10c_1p2: ldo10 { 295 vreg_l10c_1p2: ldo10 { 297 regulator-name = "vreg 296 regulator-name = "vreg_l10c_1p2"; 298 regulator-min-microvol 297 regulator-min-microvolt = <1200000>; 299 regulator-max-microvol 298 regulator-max-microvolt = <1200000>; 300 regulator-initial-mode 299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 301 }; 300 }; 302 }; 301 }; 303 302 304 regulators-2 { 303 regulators-2 { 305 compatible = "qcom,pmr735a-rpm 304 compatible = "qcom,pmr735a-rpmh-regulators"; 306 qcom,pmic-id = "e"; 305 qcom,pmic-id = "e"; 307 306 308 vdd-s1-supply = <&vph_pwr>; 307 vdd-s1-supply = <&vph_pwr>; 309 vdd-s2-supply = <&vph_pwr>; 308 vdd-s2-supply = <&vph_pwr>; 310 vdd-s3-supply = <&vph_pwr>; 309 vdd-s3-supply = <&vph_pwr>; 311 310 312 vdd-l1-l2-supply = <&vreg_s2e_ 311 vdd-l1-l2-supply = <&vreg_s2e_0p85>; 313 vdd-l3-supply = <&vreg_s1e_1p2 312 vdd-l3-supply = <&vreg_s1e_1p25>; 314 vdd-l4-supply = <&vreg_s1c_1p8 313 vdd-l4-supply = <&vreg_s1c_1p86>; 315 vdd-l5-l6-supply = <&vreg_s1c_ 314 vdd-l5-l6-supply = <&vreg_s1c_1p86>; 316 vdd-l7-bob-supply = <&vreg_bob 315 vdd-l7-bob-supply = <&vreg_bob>; 317 316 318 vreg_s1e_1p25: smps1 { 317 vreg_s1e_1p25: smps1 { 319 regulator-name = "vreg 318 regulator-name = "vreg_s1e_1p25"; 320 regulator-min-microvol 319 regulator-min-microvolt = <1200000>; 321 regulator-max-microvol 320 regulator-max-microvolt = <1280000>; 322 }; 321 }; 323 322 324 vreg_s2e_0p85: smps2 { 323 vreg_s2e_0p85: smps2 { 325 regulator-name = "vreg 324 regulator-name = "vreg_s2e_0p85"; 326 regulator-min-microvol 325 regulator-min-microvolt = <950000>; 327 regulator-max-microvol 326 regulator-max-microvolt = <976000>; 328 }; 327 }; 329 328 330 vreg_s3e_2p20: smps3 { 329 vreg_s3e_2p20: smps3 { 331 regulator-name = "vreg 330 regulator-name = "vreg_s3e_2p20"; 332 regulator-min-microvol 331 regulator-min-microvolt = <2200000>; 333 regulator-max-microvol 332 regulator-max-microvolt = <2352000>; 334 }; 333 }; 335 334 336 vreg_l1e_0p9: ldo1 { 335 vreg_l1e_0p9: ldo1 { 337 regulator-name = "vreg 336 regulator-name = "vreg_l1e_0p9"; 338 regulator-min-microvol 337 regulator-min-microvolt = <912000>; 339 regulator-max-microvol 338 regulator-max-microvolt = <912000>; 340 }; 339 }; 341 340 342 vreg_l2e_1p2: ldo2 { 341 vreg_l2e_1p2: ldo2 { 343 regulator-name = "vreg 342 regulator-name = "vreg_l2e_0p8"; 344 regulator-min-microvol 343 regulator-min-microvolt = <1200000>; 345 regulator-max-microvol 344 regulator-max-microvolt = <1200000>; 346 }; 345 }; 347 346 348 vreg_l3e_1p2: ldo3 { 347 vreg_l3e_1p2: ldo3 { 349 regulator-name = "vreg 348 regulator-name = "vreg_l3e_1p2"; 350 regulator-min-microvol 349 regulator-min-microvolt = <1200000>; 351 regulator-max-microvol 350 regulator-max-microvolt = <1200000>; 352 }; 351 }; 353 352 354 vreg_l4e_1p7: ldo4 { 353 vreg_l4e_1p7: ldo4 { 355 regulator-name = "vreg 354 regulator-name = "vreg_l4e_1p7"; 356 regulator-min-microvol 355 regulator-min-microvolt = <1776000>; 357 regulator-max-microvol 356 regulator-max-microvolt = <1872000>; 358 }; 357 }; 359 358 360 vreg_l5e_0p8: ldo5 { 359 vreg_l5e_0p8: ldo5 { 361 regulator-name = "vreg 360 regulator-name = "vreg_l5e_0p8"; 362 regulator-min-microvol 361 regulator-min-microvolt = <800000>; 363 regulator-max-microvol 362 regulator-max-microvolt = <800000>; 364 }; 363 }; 365 364 366 vreg_l6e_0p8: ldo6 { 365 vreg_l6e_0p8: ldo6 { 367 regulator-name = "vreg 366 regulator-name = "vreg_l6e_0p8"; 368 regulator-min-microvol 367 regulator-min-microvolt = <480000>; 369 regulator-max-microvol 368 regulator-max-microvolt = <904000>; 370 }; 369 }; 371 370 372 vreg_l7e_2p8: ldo7 { 371 vreg_l7e_2p8: ldo7 { 373 regulator-name = "vreg 372 regulator-name = "vreg_l7e_2p8"; 374 regulator-min-microvol 373 regulator-min-microvolt = <2800000>; 375 regulator-max-microvol 374 regulator-max-microvolt = <2800000>; 376 }; 375 }; 377 }; 376 }; 378 }; 377 }; 379 378 380 &cdsp { 379 &cdsp { 381 status = "okay"; 380 status = "okay"; 382 firmware-name = "qcom/sm8350/cdsp.mbn" 381 firmware-name = "qcom/sm8350/cdsp.mbn"; 383 }; 382 }; 384 383 385 &dispcc { 384 &dispcc { 386 status = "okay"; 385 status = "okay"; 387 }; 386 }; 388 387 389 &mdss_dsi0 { 388 &mdss_dsi0 { 390 vdda-supply = <&vreg_l6b_1p2>; 389 vdda-supply = <&vreg_l6b_1p2>; 391 status = "okay"; 390 status = "okay"; 392 391 393 ports { 392 ports { 394 port@1 { 393 port@1 { 395 endpoint { 394 endpoint { 396 remote-endpoin 395 remote-endpoint = <<9611_a>; 397 data-lanes = < 396 data-lanes = <0 1 2 3>; 398 }; 397 }; 399 }; 398 }; 400 }; 399 }; 401 }; 400 }; 402 401 403 &mdss_dsi0_phy { 402 &mdss_dsi0_phy { 404 vdds-supply = <&vreg_l5b_0p88>; 403 vdds-supply = <&vreg_l5b_0p88>; 405 status = "okay"; 404 status = "okay"; 406 }; 405 }; 407 406 408 &gpi_dma1 { 407 &gpi_dma1 { 409 status = "okay"; 408 status = "okay"; 410 }; 409 }; 411 410 412 &gpu { 411 &gpu { 413 status = "okay"; 412 status = "okay"; 414 413 415 zap-shader { 414 zap-shader { 416 firmware-name = "qcom/sm8350/a 415 firmware-name = "qcom/sm8350/a660_zap.mbn"; 417 }; 416 }; 418 }; 417 }; 419 418 420 &i2c13 { 419 &i2c13 { 421 clock-frequency = <100000>; 420 clock-frequency = <100000>; 422 421 423 status = "okay"; 422 status = "okay"; 424 423 425 typec-mux@42 { 424 typec-mux@42 { 426 compatible = "fcs,fsa4480"; 425 compatible = "fcs,fsa4480"; 427 reg = <0x42>; 426 reg = <0x42>; 428 427 429 interrupts-extended = <&tlmm 2 428 interrupts-extended = <&tlmm 2 IRQ_TYPE_LEVEL_LOW>; 430 429 431 vcc-supply = <&vreg_bob>; 430 vcc-supply = <&vreg_bob>; 432 mode-switch; 431 mode-switch; 433 orientation-switch; 432 orientation-switch; 434 433 435 port { 434 port { 436 fsa4480_sbu_mux: endpo 435 fsa4480_sbu_mux: endpoint { 437 remote-endpoin 436 remote-endpoint = <&pmic_glink_sbu>; 438 }; 437 }; 439 }; 438 }; 440 }; 439 }; 441 }; 440 }; 442 441 443 &i2c15 { 442 &i2c15 { 444 clock-frequency = <400000>; 443 clock-frequency = <400000>; 445 status = "okay"; 444 status = "okay"; 446 445 447 lt9611_codec: hdmi-bridge@2b { 446 lt9611_codec: hdmi-bridge@2b { 448 compatible = "lontium,lt9611ux 447 compatible = "lontium,lt9611uxc"; 449 reg = <0x2b>; 448 reg = <0x2b>; 450 449 451 interrupts-extended = <&tlmm 5 450 interrupts-extended = <&tlmm 50 IRQ_TYPE_EDGE_FALLING>; 452 reset-gpios = <&tlmm 48 GPIO_A 451 reset-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>; 453 452 454 vdd-supply = <<9611_1v2>; 453 vdd-supply = <<9611_1v2>; 455 vcc-supply = <<9611_3v3>; 454 vcc-supply = <<9611_3v3>; 456 455 457 pinctrl-names = "default"; 456 pinctrl-names = "default"; 458 pinctrl-0 = <<9611_state>; 457 pinctrl-0 = <<9611_state>; 459 458 460 ports { 459 ports { 461 #address-cells = <1>; 460 #address-cells = <1>; 462 #size-cells = <0>; 461 #size-cells = <0>; 463 462 464 port@0 { 463 port@0 { 465 reg = <0>; 464 reg = <0>; 466 465 467 lt9611_a: endp 466 lt9611_a: endpoint { 468 remote 467 remote-endpoint = <&mdss_dsi0_out>; 469 }; 468 }; 470 }; 469 }; 471 470 472 port@2 { 471 port@2 { 473 reg = <2>; 472 reg = <2>; 474 473 475 lt9611_out: en 474 lt9611_out: endpoint { 476 remote 475 remote-endpoint = <&hdmi_con>; 477 }; 476 }; 478 }; 477 }; 479 }; 478 }; 480 }; 479 }; 481 }; 480 }; 482 481 483 &mdss { 482 &mdss { 484 status = "okay"; 483 status = "okay"; 485 }; 484 }; 486 485 487 &mdss_dp { 486 &mdss_dp { 488 status = "okay"; 487 status = "okay"; 489 }; << 490 488 491 &mdss_dp_out { !! 489 ports { 492 data-lanes = <0 1>; !! 490 port@1 { >> 491 reg = <1>; >> 492 >> 493 mdss_dp0_out: endpoint { >> 494 data-lanes = <0 1>; >> 495 remote-endpoint = <&usb_1_qmpphy_dp_in>; >> 496 }; >> 497 }; >> 498 }; 493 }; 499 }; 494 500 495 &mpss { 501 &mpss { 496 status = "okay"; 502 status = "okay"; 497 firmware-name = "qcom/sm8350/modem.mbn 503 firmware-name = "qcom/sm8350/modem.mbn"; 498 }; 504 }; 499 505 500 &pcie0 { 506 &pcie0 { 501 pinctrl-names = "default"; 507 pinctrl-names = "default"; 502 pinctrl-0 = <&pcie0_default_state>; 508 pinctrl-0 = <&pcie0_default_state>; 503 509 504 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LO 510 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 505 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIG 511 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 506 512 507 status = "okay"; 513 status = "okay"; 508 }; 514 }; 509 515 510 &pcie0_phy { 516 &pcie0_phy { 511 vdda-phy-supply = <&vreg_l5b_0p88>; 517 vdda-phy-supply = <&vreg_l5b_0p88>; 512 vdda-pll-supply = <&vreg_l6b_1p2>; 518 vdda-pll-supply = <&vreg_l6b_1p2>; 513 519 514 status = "okay"; 520 status = "okay"; 515 }; 521 }; 516 522 517 &pcie1 { 523 &pcie1 { 518 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LO 524 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 519 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIG 525 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 520 526 521 pinctrl-names = "default"; 527 pinctrl-names = "default"; 522 pinctrl-0 = <&pcie1_default_state>; 528 pinctrl-0 = <&pcie1_default_state>; 523 529 524 status = "okay"; 530 status = "okay"; 525 }; 531 }; 526 532 527 &pcie1_phy { 533 &pcie1_phy { 528 status = "okay"; 534 status = "okay"; 529 vdda-phy-supply = <&vreg_l5b_0p88>; 535 vdda-phy-supply = <&vreg_l5b_0p88>; 530 vdda-pll-supply = <&vreg_l6b_1p2>; 536 vdda-pll-supply = <&vreg_l6b_1p2>; 531 }; 537 }; 532 538 533 &qupv3_id_0 { 539 &qupv3_id_0 { 534 status = "okay"; 540 status = "okay"; 535 }; 541 }; 536 542 537 &qupv3_id_1 { 543 &qupv3_id_1 { 538 status = "okay"; 544 status = "okay"; 539 }; 545 }; 540 546 541 &qupv3_id_2 { 547 &qupv3_id_2 { 542 status = "okay"; 548 status = "okay"; 543 }; 549 }; 544 550 545 &sdhc_2 { 551 &sdhc_2 { 546 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH> 552 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; 547 pinctrl-names = "default", "sleep"; 553 pinctrl-names = "default", "sleep"; 548 pinctrl-0 = <&sdc2_default_state &sdc2 554 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 549 pinctrl-1 = <&sdc2_sleep_state &sdc2_c 555 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; 550 vmmc-supply = <&vreg_l9c_2p96>; 556 vmmc-supply = <&vreg_l9c_2p96>; 551 vqmmc-supply = <&vreg_l6c_1p8>; 557 vqmmc-supply = <&vreg_l6c_1p8>; 552 no-sdio; 558 no-sdio; 553 no-mmc; 559 no-mmc; 554 status = "okay"; 560 status = "okay"; 555 }; 561 }; 556 562 557 &slpi { 563 &slpi { 558 status = "okay"; 564 status = "okay"; 559 firmware-name = "qcom/sm8350/slpi.mbn" 565 firmware-name = "qcom/sm8350/slpi.mbn"; 560 }; 566 }; 561 567 562 &tlmm { 568 &tlmm { 563 gpio-reserved-ranges = <52 8>; 569 gpio-reserved-ranges = <52 8>; 564 570 565 gpio-line-names = 571 gpio-line-names = 566 "APPS_I2C_SDA", /* GPIO_0 */ 572 "APPS_I2C_SDA", /* GPIO_0 */ 567 "APPS_I2C_SCL", 573 "APPS_I2C_SCL", 568 "FSA_INT_N", 574 "FSA_INT_N", 569 "USER_LED3_EN", 575 "USER_LED3_EN", 570 "SMBUS_SDA_1P8", 576 "SMBUS_SDA_1P8", 571 "SMBUS_SCL_1P8", 577 "SMBUS_SCL_1P8", 572 "2M2_3P3_EN", 578 "2M2_3P3_EN", 573 "ALERT_DUAL_M2_N", 579 "ALERT_DUAL_M2_N", 574 "EXP_UART_CTS", 580 "EXP_UART_CTS", 575 "EXP_UART_RFR", 581 "EXP_UART_RFR", 576 "EXP_UART_TX", /* GPIO_10 */ 582 "EXP_UART_TX", /* GPIO_10 */ 577 "EXP_UART_RX", 583 "EXP_UART_RX", 578 "NC", 584 "NC", 579 "NC", 585 "NC", 580 "RCM_MARKER1", 586 "RCM_MARKER1", 581 "WSA0_EN", 587 "WSA0_EN", 582 "CAM1_RESET_N", 588 "CAM1_RESET_N", 583 "CAM0_RESET_N", 589 "CAM0_RESET_N", 584 "DEBUG_UART_TX", 590 "DEBUG_UART_TX", 585 "DEBUG_UART_RX", 591 "DEBUG_UART_RX", 586 "TS_I2C_SDA", /* GPIO_20 */ 592 "TS_I2C_SDA", /* GPIO_20 */ 587 "TS_I2C_SCL", 593 "TS_I2C_SCL", 588 "TS_RESET_N", 594 "TS_RESET_N", 589 "TS_INT_N", 595 "TS_INT_N", 590 "DISP0_RESET_N", 596 "DISP0_RESET_N", 591 "DISP1_RESET_N", 597 "DISP1_RESET_N", 592 "ETH_RESET", 598 "ETH_RESET", 593 "RCM_MARKER2", 599 "RCM_MARKER2", 594 "CAM_DC_MIPI_MUX_EN", 600 "CAM_DC_MIPI_MUX_EN", 595 "CAM_DC_MIPI_MUX_SEL", 601 "CAM_DC_MIPI_MUX_SEL", 596 "AFC_PHY_TA_D_PLUS", /* GPIO_3 602 "AFC_PHY_TA_D_PLUS", /* GPIO_30 */ 597 "AFC_PHY_TA_D_MINUS", 603 "AFC_PHY_TA_D_MINUS", 598 "PM8008_1_IRQ", 604 "PM8008_1_IRQ", 599 "PM8008_1_RESET_N", 605 "PM8008_1_RESET_N", 600 "PM8008_2_IRQ", 606 "PM8008_2_IRQ", 601 "PM8008_2_RESET_N", 607 "PM8008_2_RESET_N", 602 "CAM_DC_I3C_SDA", 608 "CAM_DC_I3C_SDA", 603 "CAM_DC_I3C_SCL", 609 "CAM_DC_I3C_SCL", 604 "FP_INT_N", 610 "FP_INT_N", 605 "FP_WUHB_INT_N", 611 "FP_WUHB_INT_N", 606 "SMB_SPMI_DATA", /* GPIO_40 */ 612 "SMB_SPMI_DATA", /* GPIO_40 */ 607 "SMB_SPMI_CLK", 613 "SMB_SPMI_CLK", 608 "USB_HUB_RESET", 614 "USB_HUB_RESET", 609 "FORCE_USB_BOOT", 615 "FORCE_USB_BOOT", 610 "LRF_IRQ", 616 "LRF_IRQ", 611 "NC", 617 "NC", 612 "IMU2_INT", 618 "IMU2_INT", 613 "HDMI_3P3_EN", 619 "HDMI_3P3_EN", 614 "HDMI_RSTN", 620 "HDMI_RSTN", 615 "HDMI_1P2_EN", 621 "HDMI_1P2_EN", 616 "HDMI_INT", /* GPIO_50 */ 622 "HDMI_INT", /* GPIO_50 */ 617 "USB1_ID", 623 "USB1_ID", 618 "FP_SPI_MISO", 624 "FP_SPI_MISO", 619 "FP_SPI_MOSI", 625 "FP_SPI_MOSI", 620 "FP_SPI_CLK", 626 "FP_SPI_CLK", 621 "FP_SPI_CS_N", 627 "FP_SPI_CS_N", 622 "NFC_ESE_SPI_MISO", 628 "NFC_ESE_SPI_MISO", 623 "NFC_ESE_SPI_MOSI", 629 "NFC_ESE_SPI_MOSI", 624 "NFC_ESE_SPI_CLK", 630 "NFC_ESE_SPI_CLK", 625 "NFC_ESE_SPI_CS", 631 "NFC_ESE_SPI_CS", 626 "NFC_I2C_SDA", /* GPIO_60 */ 632 "NFC_I2C_SDA", /* GPIO_60 */ 627 "NFC_I2C_SCLC", 633 "NFC_I2C_SCLC", 628 "NFC_EN", 634 "NFC_EN", 629 "NFC_CLK_REQ", 635 "NFC_CLK_REQ", 630 "HST_WLAN_EN", 636 "HST_WLAN_EN", 631 "HST_BT_EN", 637 "HST_BT_EN", 632 "HST_SW_CTRL", 638 "HST_SW_CTRL", 633 "NC", 639 "NC", 634 "HST_BT_UART_CTS", 640 "HST_BT_UART_CTS", 635 "HST_BT_UART_RFR", 641 "HST_BT_UART_RFR", 636 "HST_BT_UART_TX", /* GPIO_70 * 642 "HST_BT_UART_TX", /* GPIO_70 */ 637 "HST_BT_UART_RX", 643 "HST_BT_UART_RX", 638 "CAM_DC_SPI0_MISO", 644 "CAM_DC_SPI0_MISO", 639 "CAM_DC_SPI0_MOSI", 645 "CAM_DC_SPI0_MOSI", 640 "CAM_DC_SPI0_CLK", 646 "CAM_DC_SPI0_CLK", 641 "CAM_DC_SPI0_CS_N", 647 "CAM_DC_SPI0_CS_N", 642 "CAM_DC_SPI1_MISO", 648 "CAM_DC_SPI1_MISO", 643 "CAM_DC_SPI1_MOSI", 649 "CAM_DC_SPI1_MOSI", 644 "CAM_DC_SPI1_CLK", 650 "CAM_DC_SPI1_CLK", 645 "CAM_DC_SPI1_CS_N", 651 "CAM_DC_SPI1_CS_N", 646 "HALL_INT_N", /* GPIO_80 */ 652 "HALL_INT_N", /* GPIO_80 */ 647 "USB_PHY_PS", 653 "USB_PHY_PS", 648 "MDP_VSYNC_P", 654 "MDP_VSYNC_P", 649 "MDP_VSYNC_S", 655 "MDP_VSYNC_S", 650 "ETH_3P3_EN", 656 "ETH_3P3_EN", 651 "RADAR_INT", 657 "RADAR_INT", 652 "NFC_DWL_REQ", 658 "NFC_DWL_REQ", 653 "SM_GPIO_87", 659 "SM_GPIO_87", 654 "WCD_RESET_N", 660 "WCD_RESET_N", 655 "ALSP_INT_N", 661 "ALSP_INT_N", 656 "PRESS_INT", /* GPIO_90 */ 662 "PRESS_INT", /* GPIO_90 */ 657 "SAR_INT_N", 663 "SAR_INT_N", 658 "SD_CARD_DET_N", 664 "SD_CARD_DET_N", 659 "NC", 665 "NC", 660 "PCIE0_RESET_N", 666 "PCIE0_RESET_N", 661 "PCIE0_CLK_REQ_N", 667 "PCIE0_CLK_REQ_N", 662 "PCIE0_WAKE_N", 668 "PCIE0_WAKE_N", 663 "PCIE1_RESET_N", 669 "PCIE1_RESET_N", 664 "PCIE1_CLK_REQ_N", 670 "PCIE1_CLK_REQ_N", 665 "PCIE1_WAKE_N", 671 "PCIE1_WAKE_N", 666 "CAM_MCLK0", /* GPIO_100 */ 672 "CAM_MCLK0", /* GPIO_100 */ 667 "CAM_MCLK1", 673 "CAM_MCLK1", 668 "CAM_MCLK2", 674 "CAM_MCLK2", 669 "CAM_MCLK3", 675 "CAM_MCLK3", 670 "CAM_MCLK4", 676 "CAM_MCLK4", 671 "CAM_MCLK5", 677 "CAM_MCLK5", 672 "CAM2_RESET_N", 678 "CAM2_RESET_N", 673 "CCI_I2C0_SDA", 679 "CCI_I2C0_SDA", 674 "CCI_I2C0_SCL", 680 "CCI_I2C0_SCL", 675 "CCI_I2C1_SDA", 681 "CCI_I2C1_SDA", 676 "CCI_I2C1_SCL", /* GPIO_110 */ 682 "CCI_I2C1_SCL", /* GPIO_110 */ 677 "CCI_I2C2_SDA", 683 "CCI_I2C2_SDA", 678 "CCI_I2C2_SCL", 684 "CCI_I2C2_SCL", 679 "CCI_I2C3_SDA", 685 "CCI_I2C3_SDA", 680 "CCI_I2C3_SCL", 686 "CCI_I2C3_SCL", 681 "CAM5_RESET_N", 687 "CAM5_RESET_N", 682 "CAM4_RESET_N", 688 "CAM4_RESET_N", 683 "CAM3_RESET_N", 689 "CAM3_RESET_N", 684 "IMU1_INT", 690 "IMU1_INT", 685 "MAG_INT_N", 691 "MAG_INT_N", 686 "MI2S2_I2S_SCK", /* GPIO_120 * 692 "MI2S2_I2S_SCK", /* GPIO_120 */ 687 "MI2S2_I2S_DAT0", 693 "MI2S2_I2S_DAT0", 688 "MI2S2_I2S_WS", 694 "MI2S2_I2S_WS", 689 "HIFI_DAC_I2S_MCLK", 695 "HIFI_DAC_I2S_MCLK", 690 "MI2S2_I2S_DAT1", 696 "MI2S2_I2S_DAT1", 691 "HIFI_DAC_I2S_SCK", 697 "HIFI_DAC_I2S_SCK", 692 "HIFI_DAC_I2S_DAT0", 698 "HIFI_DAC_I2S_DAT0", 693 "NC", 699 "NC", 694 "HIFI_DAC_I2S_WS", 700 "HIFI_DAC_I2S_WS", 695 "HST_BT_WLAN_SLIMBUS_CLK", 701 "HST_BT_WLAN_SLIMBUS_CLK", 696 "HST_BT_WLAN_SLIMBUS_DAT0", /* 702 "HST_BT_WLAN_SLIMBUS_DAT0", /* GPIO_130 */ 697 "BT_LED_EN", 703 "BT_LED_EN", 698 "WLAN_LED_EN", 704 "WLAN_LED_EN", 699 "NC", 705 "NC", 700 "NC", 706 "NC", 701 "NC", 707 "NC", 702 "UIM2_PRESENT", 708 "UIM2_PRESENT", 703 "NC", 709 "NC", 704 "NC", 710 "NC", 705 "NC", 711 "NC", 706 "UIM1_PRESENT", /* GPIO_140 */ 712 "UIM1_PRESENT", /* GPIO_140 */ 707 "NC", 713 "NC", 708 "SM_RFFE0_DATA", 714 "SM_RFFE0_DATA", 709 "NC", 715 "NC", 710 "SM_RFFE1_DATA", 716 "SM_RFFE1_DATA", 711 "SM_MSS_GRFC4", 717 "SM_MSS_GRFC4", 712 "SM_MSS_GRFC5", 718 "SM_MSS_GRFC5", 713 "SM_MSS_GRFC6", 719 "SM_MSS_GRFC6", 714 "SM_MSS_GRFC7", 720 "SM_MSS_GRFC7", 715 "SM_RFFE4_CLK", 721 "SM_RFFE4_CLK", 716 "SM_RFFE4_DATA", /* GPIO_150 * 722 "SM_RFFE4_DATA", /* GPIO_150 */ 717 "WLAN_COEX_UART1_RX", 723 "WLAN_COEX_UART1_RX", 718 "WLAN_COEX_UART1_TX", 724 "WLAN_COEX_UART1_TX", 719 "HST_SW_CTRL", 725 "HST_SW_CTRL", 720 "DSI0_STATUS", 726 "DSI0_STATUS", 721 "DSI1_STATUS", 727 "DSI1_STATUS", 722 "APPS_PBL_BOOT_SPEED_1", 728 "APPS_PBL_BOOT_SPEED_1", 723 "APPS_BOOT_FROM_ROM", 729 "APPS_BOOT_FROM_ROM", 724 "APPS_PBL_BOOT_SPEED_0", 730 "APPS_PBL_BOOT_SPEED_0", 725 "QLINK0_REQ", 731 "QLINK0_REQ", 726 "QLINK0_EN", /* GPIO_160 */ 732 "QLINK0_EN", /* GPIO_160 */ 727 "QLINK0_WMSS_RESET_N", 733 "QLINK0_WMSS_RESET_N", 728 "NC", 734 "NC", 729 "NC", 735 "NC", 730 "NC", 736 "NC", 731 "NC", 737 "NC", 732 "NC", 738 "NC", 733 "NC", 739 "NC", 734 "WCD_SWR_TX_CLK", 740 "WCD_SWR_TX_CLK", 735 "WCD_SWR_TX_DATA0", 741 "WCD_SWR_TX_DATA0", 736 "WCD_SWR_TX_DATA1", /* GPIO_17 742 "WCD_SWR_TX_DATA1", /* GPIO_170 */ 737 "WCD_SWR_RX_CLK", 743 "WCD_SWR_RX_CLK", 738 "WCD_SWR_RX_DATA0", 744 "WCD_SWR_RX_DATA0", 739 "WCD_SWR_RX_DATA1", 745 "WCD_SWR_RX_DATA1", 740 "DMIC01_CLK", 746 "DMIC01_CLK", 741 "DMIC01_DATA", 747 "DMIC01_DATA", 742 "DMIC23_CLK", 748 "DMIC23_CLK", 743 "DMIC23_DATA", 749 "DMIC23_DATA", 744 "WSA_SWR_CLK", 750 "WSA_SWR_CLK", 745 "WSA_SWR_DATA", 751 "WSA_SWR_DATA", 746 "DMIC45_CLK", /* GPIO_180 */ 752 "DMIC45_CLK", /* GPIO_180 */ 747 "DMIC45_DATA", 753 "DMIC45_DATA", 748 "WCD_SWR_TX_DATA2", 754 "WCD_SWR_TX_DATA2", 749 "SENSOR_I3C_SDA", 755 "SENSOR_I3C_SDA", 750 "SENSOR_I3C_SCL", 756 "SENSOR_I3C_SCL", 751 "CAM_OIS0_I3C_SDA", 757 "CAM_OIS0_I3C_SDA", 752 "CAM_OIS0_I3C_SCL", 758 "CAM_OIS0_I3C_SCL", 753 "IMU_SPI_MISO", 759 "IMU_SPI_MISO", 754 "IMU_SPI_MOSI", 760 "IMU_SPI_MOSI", 755 "IMU_SPI_CLK", 761 "IMU_SPI_CLK", 756 "IMU_SPI_CS_N", /* GPIO_190 */ 762 "IMU_SPI_CS_N", /* GPIO_190 */ 757 "MAG_I2C_SDA", 763 "MAG_I2C_SDA", 758 "MAG_I2C_SCL", 764 "MAG_I2C_SCL", 759 "SENSOR_I2C_SDA", 765 "SENSOR_I2C_SDA", 760 "SENSOR_I2C_SCL", 766 "SENSOR_I2C_SCL", 761 "RADAR_SPI_MISO", 767 "RADAR_SPI_MISO", 762 "RADAR_SPI_MOSI", 768 "RADAR_SPI_MOSI", 763 "RADAR_SPI_CLK", 769 "RADAR_SPI_CLK", 764 "RADAR_SPI_CS_N", 770 "RADAR_SPI_CS_N", 765 "HST_BLE_UART_TX", 771 "HST_BLE_UART_TX", 766 "HST_BLE_UART_RX", /* GPIO_200 772 "HST_BLE_UART_RX", /* GPIO_200 */ 767 "HST_WLAN_UART_TX", 773 "HST_WLAN_UART_TX", 768 "HST_WLAN_UART_RX"; 774 "HST_WLAN_UART_RX"; 769 775 770 pcie0_default_state: pcie0-default-sta 776 pcie0_default_state: pcie0-default-state { 771 perst-pins { 777 perst-pins { 772 pins = "gpio94"; 778 pins = "gpio94"; 773 function = "gpio"; 779 function = "gpio"; 774 drive-strength = <2>; 780 drive-strength = <2>; 775 bias-pull-down; 781 bias-pull-down; 776 }; 782 }; 777 783 778 clkreq-pins { 784 clkreq-pins { 779 pins = "gpio95"; 785 pins = "gpio95"; 780 function = "pcie0_clkr 786 function = "pcie0_clkreqn"; 781 drive-strength = <2>; 787 drive-strength = <2>; 782 bias-pull-up; 788 bias-pull-up; 783 }; 789 }; 784 790 785 wake-pins { 791 wake-pins { 786 pins = "gpio96"; 792 pins = "gpio96"; 787 function = "gpio"; 793 function = "gpio"; 788 drive-strength = <2>; 794 drive-strength = <2>; 789 bias-pull-up; 795 bias-pull-up; 790 }; 796 }; 791 }; 797 }; 792 798 793 pcie1_default_state: pcie1-default-sta 799 pcie1_default_state: pcie1-default-state { 794 perst-pins { 800 perst-pins { 795 pins = "gpio97"; 801 pins = "gpio97"; 796 function = "gpio"; 802 function = "gpio"; 797 drive-strength = <2>; 803 drive-strength = <2>; 798 bias-pull-down; 804 bias-pull-down; 799 }; 805 }; 800 806 801 clkreq-pins { 807 clkreq-pins { 802 pins = "gpio98"; 808 pins = "gpio98"; 803 function = "pcie1_clkr 809 function = "pcie1_clkreqn"; 804 drive-strength = <2>; 810 drive-strength = <2>; 805 bias-pull-up; 811 bias-pull-up; 806 }; 812 }; 807 813 808 wake-pins { 814 wake-pins { 809 pins = "gpio99"; 815 pins = "gpio99"; 810 function = "gpio"; 816 function = "gpio"; 811 drive-strength = <2>; 817 drive-strength = <2>; 812 bias-pull-up; 818 bias-pull-up; 813 }; 819 }; 814 }; 820 }; 815 821 816 sdc2_card_det_n: sd-card-det-n-state { 822 sdc2_card_det_n: sd-card-det-n-state { 817 pins = "gpio92"; 823 pins = "gpio92"; 818 function = "gpio"; 824 function = "gpio"; 819 drive-strength = <2>; 825 drive-strength = <2>; 820 bias-pull-up; 826 bias-pull-up; 821 }; 827 }; 822 }; 828 }; 823 829 824 &uart2 { 830 &uart2 { 825 status = "okay"; 831 status = "okay"; 826 }; 832 }; 827 833 828 &ufs_mem_hc { 834 &ufs_mem_hc { 829 status = "okay"; 835 status = "okay"; 830 836 831 reset-gpios = <&tlmm 203 GPIO_ACTIVE_L 837 reset-gpios = <&tlmm 203 GPIO_ACTIVE_LOW>; 832 838 833 vcc-supply = <&vreg_l7b_2p96>; 839 vcc-supply = <&vreg_l7b_2p96>; 834 vcc-max-microamp = <800000>; 840 vcc-max-microamp = <800000>; 835 vccq-supply = <&vreg_l9b_1p2>; 841 vccq-supply = <&vreg_l9b_1p2>; 836 vccq-max-microamp = <900000>; 842 vccq-max-microamp = <900000>; 837 vdd-hba-supply = <&vreg_l9b_1p2>; 843 vdd-hba-supply = <&vreg_l9b_1p2>; 838 }; 844 }; 839 845 840 &ufs_mem_phy { 846 &ufs_mem_phy { 841 status = "okay"; 847 status = "okay"; 842 848 843 vdda-phy-supply = <&vreg_l5b_0p88>; 849 vdda-phy-supply = <&vreg_l5b_0p88>; 844 vdda-pll-supply = <&vreg_l6b_1p2>; 850 vdda-pll-supply = <&vreg_l6b_1p2>; 845 }; 851 }; 846 852 847 &usb_1 { 853 &usb_1 { 848 status = "okay"; 854 status = "okay"; 849 }; 855 }; 850 856 851 &usb_1_dwc3 { 857 &usb_1_dwc3 { 852 dr_mode = "otg"; 858 dr_mode = "otg"; 853 usb-role-switch; 859 usb-role-switch; 854 }; 860 }; 855 861 856 &usb_1_dwc3_hs { 862 &usb_1_dwc3_hs { 857 remote-endpoint = <&pmic_glink_hs_in>; 863 remote-endpoint = <&pmic_glink_hs_in>; 858 }; 864 }; 859 865 >> 866 &usb_1_dwc3_ss { >> 867 remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; >> 868 }; >> 869 860 &usb_1_hsphy { 870 &usb_1_hsphy { 861 status = "okay"; 871 status = "okay"; 862 872 863 vdda-pll-supply = <&vreg_l5b_0p88>; 873 vdda-pll-supply = <&vreg_l5b_0p88>; 864 vdda18-supply = <&vreg_l1c_1p8>; 874 vdda18-supply = <&vreg_l1c_1p8>; 865 vdda33-supply = <&vreg_l2b_3p07>; 875 vdda33-supply = <&vreg_l2b_3p07>; 866 }; 876 }; 867 877 868 &usb_1_qmpphy { 878 &usb_1_qmpphy { 869 status = "okay"; 879 status = "okay"; 870 880 871 vdda-phy-supply = <&vreg_l6b_1p2>; 881 vdda-phy-supply = <&vreg_l6b_1p2>; 872 vdda-pll-supply = <&vreg_l1b_0p88>; 882 vdda-pll-supply = <&vreg_l1b_0p88>; >> 883 >> 884 orientation-switch; >> 885 }; >> 886 >> 887 &usb_1_qmpphy_dp_in { >> 888 remote-endpoint = <&mdss_dp0_out>; 873 }; 889 }; 874 890 875 &usb_1_qmpphy_out { 891 &usb_1_qmpphy_out { 876 remote-endpoint = <&pmic_glink_ss_in>; 892 remote-endpoint = <&pmic_glink_ss_in>; >> 893 }; >> 894 >> 895 &usb_1_qmpphy_usb_ss_in { >> 896 remote-endpoint = <&usb_1_dwc3_ss>; 877 }; 897 }; 878 898 879 &usb_2 { 899 &usb_2 { 880 status = "okay"; 900 status = "okay"; 881 }; 901 }; 882 902 883 &usb_2_dwc3 { 903 &usb_2_dwc3 { 884 dr_mode = "host"; 904 dr_mode = "host"; 885 905 886 pinctrl-names = "default"; 906 pinctrl-names = "default"; 887 pinctrl-0 = <&usb_hub_enabled_state>; 907 pinctrl-0 = <&usb_hub_enabled_state>; 888 }; 908 }; 889 909 890 &usb_2_hsphy { 910 &usb_2_hsphy { 891 status = "okay"; 911 status = "okay"; 892 912 893 vdda-pll-supply = <&vreg_l5b_0p88>; 913 vdda-pll-supply = <&vreg_l5b_0p88>; 894 vdda18-supply = <&vreg_l1c_1p8>; 914 vdda18-supply = <&vreg_l1c_1p8>; 895 vdda33-supply = <&vreg_l2b_3p07>; 915 vdda33-supply = <&vreg_l2b_3p07>; 896 }; 916 }; 897 917 898 &usb_2_qmpphy { 918 &usb_2_qmpphy { 899 status = "okay"; 919 status = "okay"; 900 920 901 vdda-phy-supply = <&vreg_l6b_1p2>; 921 vdda-phy-supply = <&vreg_l6b_1p2>; 902 vdda-pll-supply = <&vreg_l5b_0p88>; 922 vdda-pll-supply = <&vreg_l5b_0p88>; 903 }; 923 }; 904 924 905 /* PINCTRL - additions to nodes defined in sm8 925 /* PINCTRL - additions to nodes defined in sm8350.dtsi */ 906 926 907 &tlmm { 927 &tlmm { 908 usb_hub_enabled_state: usb-hub-enabled 928 usb_hub_enabled_state: usb-hub-enabled-state { 909 pins = "gpio42"; 929 pins = "gpio42"; 910 function = "gpio"; 930 function = "gpio"; 911 931 912 drive-strength = <2>; 932 drive-strength = <2>; 913 output-low; 933 output-low; 914 }; 934 }; 915 935 916 lt9611_state: lt9611-state { 936 lt9611_state: lt9611-state { 917 rst-pins { 937 rst-pins { 918 pins = "gpio48"; 938 pins = "gpio48"; 919 function = "gpio"; 939 function = "gpio"; 920 940 921 output-high; 941 output-high; 922 input-disable; 942 input-disable; 923 }; 943 }; 924 944 925 irq-pins { 945 irq-pins { 926 pins = "gpio50"; 946 pins = "gpio50"; 927 function = "gpio"; 947 function = "gpio"; 928 bias-disable; 948 bias-disable; 929 }; 949 }; 930 }; 950 }; 931 }; 951 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.