1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2020, Linaro Ltd. 3 * Copyright (c) 2020, Linaro Ltd. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regu 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/usb/pd.h> << 13 #include "sm8250.dtsi" 12 #include "sm8250.dtsi" 14 #include "pm8150.dtsi" 13 #include "pm8150.dtsi" 15 #include "pm8150b.dtsi" 14 #include "pm8150b.dtsi" 16 #include "pm8150l.dtsi" 15 #include "pm8150l.dtsi" 17 16 18 / { 17 / { 19 model = "Qualcomm Technologies, Inc. R 18 model = "Qualcomm Technologies, Inc. Robotics RB5"; 20 compatible = "qcom,qrb5165-rb5", "qcom 19 compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; 21 qcom,msm-id = <455 0x20001>; 20 qcom,msm-id = <455 0x20001>; 22 qcom,board-id = <11 3>; 21 qcom,board-id = <11 3>; 23 22 24 aliases { 23 aliases { 25 serial0 = &uart12; 24 serial0 = &uart12; 26 serial1 = &uart6; << 27 sdhc2 = &sdhc_2; 25 sdhc2 = &sdhc_2; 28 }; 26 }; 29 27 30 chosen { 28 chosen { 31 stdout-path = "serial0:115200n 29 stdout-path = "serial0:115200n8"; 32 }; 30 }; 33 31 34 /* Fixed crystal oscillator dedicated 32 /* Fixed crystal oscillator dedicated to MCP2518FD */ 35 clk40M: can-clock { 33 clk40M: can-clock { 36 compatible = "fixed-clock"; 34 compatible = "fixed-clock"; 37 #clock-cells = <0>; 35 #clock-cells = <0>; 38 clock-frequency = <40000000>; 36 clock-frequency = <40000000>; 39 }; 37 }; 40 38 41 dc12v: dc12v-regulator { 39 dc12v: dc12v-regulator { 42 compatible = "regulator-fixed" 40 compatible = "regulator-fixed"; 43 regulator-name = "DC12V"; 41 regulator-name = "DC12V"; 44 regulator-min-microvolt = <120 42 regulator-min-microvolt = <12000000>; 45 regulator-max-microvolt = <120 43 regulator-max-microvolt = <12000000>; 46 regulator-always-on; 44 regulator-always-on; 47 }; 45 }; 48 46 49 hdmi-out { 47 hdmi-out { 50 compatible = "hdmi-connector"; 48 compatible = "hdmi-connector"; 51 type = "a"; 49 type = "a"; 52 50 53 port { 51 port { 54 hdmi_con: endpoint { 52 hdmi_con: endpoint { 55 remote-endpoin 53 remote-endpoint = <<9611_out>; 56 }; 54 }; 57 }; 55 }; 58 }; 56 }; 59 57 60 leds { 58 leds { 61 compatible = "gpio-leds"; 59 compatible = "gpio-leds"; 62 60 63 led-user4 { 61 led-user4 { 64 label = "green:user4"; 62 label = "green:user4"; 65 function = LED_FUNCTIO 63 function = LED_FUNCTION_INDICATOR; 66 color = <LED_COLOR_ID_ 64 color = <LED_COLOR_ID_GREEN>; 67 gpios = <&pm8150_gpios 65 gpios = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>; 68 default-state = "off"; 66 default-state = "off"; 69 panic-indicator; 67 panic-indicator; 70 }; 68 }; 71 69 72 led-wlan { 70 led-wlan { 73 label = "yellow:wlan"; 71 label = "yellow:wlan"; 74 function = LED_FUNCTIO 72 function = LED_FUNCTION_WLAN; 75 color = <LED_COLOR_ID_ 73 color = <LED_COLOR_ID_YELLOW>; 76 gpios = <&pm8150_gpios 74 gpios = <&pm8150_gpios 9 GPIO_ACTIVE_HIGH>; 77 linux,default-trigger 75 linux,default-trigger = "phy0tx"; 78 default-state = "off"; 76 default-state = "off"; 79 }; 77 }; 80 78 81 led-bt { 79 led-bt { 82 label = "blue:bt"; 80 label = "blue:bt"; 83 function = LED_FUNCTIO 81 function = LED_FUNCTION_BLUETOOTH; 84 color = <LED_COLOR_ID_ 82 color = <LED_COLOR_ID_BLUE>; 85 gpios = <&pm8150_gpios 83 gpios = <&pm8150_gpios 7 GPIO_ACTIVE_HIGH>; 86 linux,default-trigger 84 linux,default-trigger = "bluetooth-power"; 87 default-state = "off"; 85 default-state = "off"; 88 }; 86 }; 89 }; 87 }; 90 88 91 lt9611_1v2: lt9611-vdd12-regulator { 89 lt9611_1v2: lt9611-vdd12-regulator { 92 compatible = "regulator-fixed" 90 compatible = "regulator-fixed"; 93 regulator-name = "LT9611_1V2"; 91 regulator-name = "LT9611_1V2"; 94 92 95 vin-supply = <&vdc_3v3>; 93 vin-supply = <&vdc_3v3>; 96 regulator-min-microvolt = <120 94 regulator-min-microvolt = <1200000>; 97 regulator-max-microvolt = <120 95 regulator-max-microvolt = <1200000>; 98 }; 96 }; 99 97 100 lt9611_3v3: lt9611-3v3 { 98 lt9611_3v3: lt9611-3v3 { 101 compatible = "regulator-fixed" 99 compatible = "regulator-fixed"; 102 regulator-name = "LT9611_3V3"; 100 regulator-name = "LT9611_3V3"; 103 101 104 vin-supply = <&vdc_3v3>; 102 vin-supply = <&vdc_3v3>; 105 regulator-min-microvolt = <330 103 regulator-min-microvolt = <3300000>; 106 regulator-max-microvolt = <330 104 regulator-max-microvolt = <3300000>; 107 regulator-boot-on; 105 regulator-boot-on; 108 regulator-always-on; 106 regulator-always-on; 109 }; 107 }; 110 108 111 qca6390-pmu { << 112 compatible = "qcom,qca6390-pmu << 113 << 114 pinctrl-names = "default"; << 115 pinctrl-0 = <&bt_en_state>, <& << 116 << 117 vddaon-supply = <&vreg_s6a_0p9 << 118 vddpmu-supply = <&vreg_s2f_0p9 << 119 vddrfa0p95-supply = <&vreg_s2f << 120 vddrfa1p3-supply = <&vreg_s8c_ << 121 vddrfa1p9-supply = <&vreg_s5a_ << 122 vddpcie1p3-supply = <&vreg_s8c << 123 vddpcie1p9-supply = <&vreg_s5a << 124 vddio-supply = <&vreg_s4a_1p8> << 125 << 126 wlan-enable-gpios = <&tlmm 20 << 127 bt-enable-gpios = <&tlmm 21 GP << 128 << 129 regulators { << 130 vreg_pmu_rfa_cmn: ldo0 << 131 regulator-name << 132 }; << 133 << 134 vreg_pmu_aon_0p59: ldo << 135 regulator-name << 136 }; << 137 << 138 vreg_pmu_wlcx_0p8: ldo << 139 regulator-name << 140 }; << 141 << 142 vreg_pmu_wlmx_0p85: ld << 143 regulator-name << 144 }; << 145 << 146 vreg_pmu_btcmx_0p85: l << 147 regulator-name << 148 }; << 149 << 150 vreg_pmu_rfa_0p8: ldo5 << 151 regulator-name << 152 }; << 153 << 154 vreg_pmu_rfa_1p2: ldo6 << 155 regulator-name << 156 }; << 157 << 158 vreg_pmu_rfa_1p7: ldo7 << 159 regulator-name << 160 }; << 161 << 162 vreg_pmu_pcie_0p9: ldo << 163 regulator-name << 164 }; << 165 << 166 vreg_pmu_pcie_1p8: ldo << 167 regulator-name << 168 }; << 169 }; << 170 }; << 171 << 172 thermal-zones { 109 thermal-zones { 173 conn-thermal { 110 conn-thermal { >> 111 polling-delay-passive = <0>; >> 112 polling-delay = <0>; 174 thermal-sensors = <&pm 113 thermal-sensors = <&pm8150b_adc_tm 0>; 175 114 176 trips { 115 trips { 177 active-config0 116 active-config0 { 178 temper 117 temperature = <125000>; 179 hyster 118 hysteresis = <1000>; 180 type = 119 type = "critical"; 181 }; 120 }; 182 }; 121 }; 183 }; 122 }; 184 123 185 pm8150l-pcb-thermal { 124 pm8150l-pcb-thermal { >> 125 polling-delay-passive = <0>; >> 126 polling-delay = <0>; 186 thermal-sensors = <&pm 127 thermal-sensors = <&pm8150l_adc_tm 1>; 187 128 188 trips { 129 trips { 189 active-config0 130 active-config0 { 190 temper 131 temperature = <50000>; 191 hyster 132 hysteresis = <4000>; 192 type = 133 type = "passive"; 193 }; 134 }; 194 }; 135 }; 195 }; 136 }; 196 137 197 skin-msm-thermal { 138 skin-msm-thermal { >> 139 polling-delay-passive = <0>; >> 140 polling-delay = <0>; 198 thermal-sensors = <&pm 141 thermal-sensors = <&pm8150l_adc_tm 0>; 199 142 200 trips { 143 trips { 201 active-config0 144 active-config0 { 202 temper 145 temperature = <50000>; 203 hyster 146 hysteresis = <4000>; 204 type = 147 type = "passive"; 205 }; 148 }; 206 }; 149 }; 207 }; 150 }; 208 151 209 wifi-thermal { 152 wifi-thermal { >> 153 polling-delay-passive = <0>; >> 154 polling-delay = <0>; 210 thermal-sensors = <&pm 155 thermal-sensors = <&pm8150_adc_tm 1>; 211 156 212 trips { 157 trips { 213 active-config0 158 active-config0 { 214 temper 159 temperature = <52000>; 215 hyster 160 hysteresis = <4000>; 216 type = 161 type = "passive"; 217 }; 162 }; 218 }; 163 }; 219 }; 164 }; 220 165 221 xo-thermal { 166 xo-thermal { >> 167 polling-delay-passive = <0>; >> 168 polling-delay = <0>; 222 thermal-sensors = <&pm 169 thermal-sensors = <&pm8150_adc_tm 0>; 223 170 224 trips { 171 trips { 225 active-config0 172 active-config0 { 226 temper 173 temperature = <50000>; 227 hyster 174 hysteresis = <4000>; 228 type = 175 type = "passive"; 229 }; 176 }; 230 }; 177 }; 231 }; 178 }; 232 }; 179 }; 233 180 234 vbat: vbat-regulator { 181 vbat: vbat-regulator { 235 compatible = "regulator-fixed" 182 compatible = "regulator-fixed"; 236 regulator-name = "VBAT"; 183 regulator-name = "VBAT"; 237 vin-supply = <&vreg_l11c_3p3>; 184 vin-supply = <&vreg_l11c_3p3>; 238 regulator-min-microvolt = <420 185 regulator-min-microvolt = <4200000>; 239 regulator-max-microvolt = <420 186 regulator-max-microvolt = <4200000>; 240 regulator-always-on; 187 regulator-always-on; 241 }; 188 }; 242 189 243 vbat_som: vbat-som-regulator { 190 vbat_som: vbat-som-regulator { 244 compatible = "regulator-fixed" 191 compatible = "regulator-fixed"; 245 regulator-name = "VBAT_SOM"; 192 regulator-name = "VBAT_SOM"; 246 vin-supply = <&dc12v>; 193 vin-supply = <&dc12v>; 247 regulator-min-microvolt = <420 194 regulator-min-microvolt = <4200000>; 248 regulator-max-microvolt = <420 195 regulator-max-microvolt = <4200000>; 249 regulator-always-on; 196 regulator-always-on; 250 }; 197 }; 251 198 252 vdc_3v3: vdc-3v3-regulator { 199 vdc_3v3: vdc-3v3-regulator { 253 compatible = "regulator-fixed" 200 compatible = "regulator-fixed"; 254 regulator-name = "VDC_3V3"; 201 regulator-name = "VDC_3V3"; 255 vin-supply = <&vreg_l11c_3p3>; 202 vin-supply = <&vreg_l11c_3p3>; 256 regulator-min-microvolt = <330 203 regulator-min-microvolt = <3300000>; 257 regulator-max-microvolt = <330 204 regulator-max-microvolt = <3300000>; 258 regulator-always-on; 205 regulator-always-on; 259 }; 206 }; 260 207 261 vdc_5v: vdc-5v-regulator { 208 vdc_5v: vdc-5v-regulator { 262 compatible = "regulator-fixed" 209 compatible = "regulator-fixed"; 263 regulator-name = "VDC_5V"; 210 regulator-name = "VDC_5V"; 264 211 265 regulator-min-microvolt = <500 212 regulator-min-microvolt = <5000000>; 266 regulator-max-microvolt = <500 213 regulator-max-microvolt = <5000000>; 267 regulator-always-on; 214 regulator-always-on; 268 vin-supply = <&vreg_l11c_3p3>; 215 vin-supply = <&vreg_l11c_3p3>; 269 }; 216 }; 270 217 271 vph_pwr: vph-pwr-regulator { 218 vph_pwr: vph-pwr-regulator { 272 compatible = "regulator-fixed" 219 compatible = "regulator-fixed"; 273 regulator-name = "vph_pwr"; 220 regulator-name = "vph_pwr"; 274 regulator-min-microvolt = <370 221 regulator-min-microvolt = <3700000>; 275 regulator-max-microvolt = <370 222 regulator-max-microvolt = <3700000>; 276 regulator-always-on; 223 regulator-always-on; 277 }; 224 }; 278 225 279 vreg_s4a_1p8: vreg-s4a-1p8 { 226 vreg_s4a_1p8: vreg-s4a-1p8 { 280 compatible = "regulator-fixed" 227 compatible = "regulator-fixed"; 281 regulator-name = "vreg_s4a_1p8 228 regulator-name = "vreg_s4a_1p8"; 282 regulator-min-microvolt = <180 229 regulator-min-microvolt = <1800000>; 283 regulator-max-microvolt = <180 230 regulator-max-microvolt = <1800000>; 284 regulator-always-on; 231 regulator-always-on; 285 }; 232 }; 286 }; 233 }; 287 234 288 &adsp { 235 &adsp { 289 status = "okay"; 236 status = "okay"; 290 firmware-name = "qcom/sm8250/adsp.mbn" 237 firmware-name = "qcom/sm8250/adsp.mbn"; 291 }; 238 }; 292 239 293 &apps_rsc { 240 &apps_rsc { 294 regulators-0 { 241 regulators-0 { 295 compatible = "qcom,pm8009-1-rp 242 compatible = "qcom,pm8009-1-rpmh-regulators"; 296 qcom,pmic-id = "f"; 243 qcom,pmic-id = "f"; 297 244 298 vdd-s1-supply = <&vph_pwr>; 245 vdd-s1-supply = <&vph_pwr>; 299 vdd-s2-supply = <&vph_pwr>; 246 vdd-s2-supply = <&vph_pwr>; 300 vdd-l2-supply = <&vreg_s8c_1p3 247 vdd-l2-supply = <&vreg_s8c_1p3>; 301 vdd-l5-l6-supply = <&vreg_bob> 248 vdd-l5-l6-supply = <&vreg_bob>; 302 vdd-l7-supply = <&vreg_s4a_1p8 249 vdd-l7-supply = <&vreg_s4a_1p8>; 303 250 304 vreg_s2f_0p95: smps2 { 251 vreg_s2f_0p95: smps2 { 305 regulator-name = "vreg 252 regulator-name = "vreg_s2f_0p95"; 306 regulator-min-microvol 253 regulator-min-microvolt = <900000>; 307 regulator-max-microvol 254 regulator-max-microvolt = <952000>; 308 regulator-initial-mode 255 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 309 }; 256 }; 310 257 311 vreg_l1f_1p1: ldo1 { 258 vreg_l1f_1p1: ldo1 { 312 regulator-name = "vreg 259 regulator-name = "vreg_l1f_1p1"; 313 regulator-min-microvol 260 regulator-min-microvolt = <1104000>; 314 regulator-max-microvol 261 regulator-max-microvolt = <1104000>; 315 regulator-initial-mode 262 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 316 }; 263 }; 317 264 318 vreg_l2f_1p2: ldo2 { 265 vreg_l2f_1p2: ldo2 { 319 regulator-name = "vreg 266 regulator-name = "vreg_l2f_1p2"; 320 regulator-min-microvol 267 regulator-min-microvolt = <1200000>; 321 regulator-max-microvol 268 regulator-max-microvolt = <1200000>; 322 regulator-initial-mode 269 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 323 }; 270 }; 324 271 325 vreg_l6f_2p8: ldo6 { 272 vreg_l6f_2p8: ldo6 { 326 regulator-name = "vreg 273 regulator-name = "vreg_l6f_2p8"; 327 regulator-min-microvol 274 regulator-min-microvolt = <2800000>; 328 regulator-max-microvol 275 regulator-max-microvolt = <2800000>; 329 regulator-initial-mode 276 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 330 }; 277 }; 331 278 332 vreg_l7f_1p8: ldo7 { 279 vreg_l7f_1p8: ldo7 { 333 regulator-name = "vreg 280 regulator-name = "vreg_l7f_1p8"; 334 regulator-min-microvol 281 regulator-min-microvolt = <1800000>; 335 regulator-max-microvol 282 regulator-max-microvolt = <1800000>; 336 regulator-initial-mode 283 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 337 }; 284 }; 338 }; 285 }; 339 286 340 regulators-1 { 287 regulators-1 { 341 compatible = "qcom,pm8150-rpmh 288 compatible = "qcom,pm8150-rpmh-regulators"; 342 qcom,pmic-id = "a"; 289 qcom,pmic-id = "a"; 343 290 344 vdd-s1-supply = <&vph_pwr>; 291 vdd-s1-supply = <&vph_pwr>; 345 vdd-s2-supply = <&vph_pwr>; 292 vdd-s2-supply = <&vph_pwr>; 346 vdd-s3-supply = <&vph_pwr>; 293 vdd-s3-supply = <&vph_pwr>; 347 vdd-s4-supply = <&vph_pwr>; 294 vdd-s4-supply = <&vph_pwr>; 348 vdd-s5-supply = <&vph_pwr>; 295 vdd-s5-supply = <&vph_pwr>; 349 vdd-s6-supply = <&vph_pwr>; 296 vdd-s6-supply = <&vph_pwr>; 350 vdd-s7-supply = <&vph_pwr>; 297 vdd-s7-supply = <&vph_pwr>; 351 vdd-s8-supply = <&vph_pwr>; 298 vdd-s8-supply = <&vph_pwr>; 352 vdd-s9-supply = <&vph_pwr>; 299 vdd-s9-supply = <&vph_pwr>; 353 vdd-s10-supply = <&vph_pwr>; 300 vdd-s10-supply = <&vph_pwr>; 354 vdd-l2-l10-supply = <&vreg_bob 301 vdd-l2-l10-supply = <&vreg_bob>; 355 vdd-l3-l4-l5-l18-supply = <&vr 302 vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; 356 vdd-l6-l9-supply = <&vreg_s8c_ 303 vdd-l6-l9-supply = <&vreg_s8c_1p3>; 357 vdd-l7-l12-l14-l15-supply = <& 304 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 358 vdd-l13-l16-l17-supply = <&vre 305 vdd-l13-l16-l17-supply = <&vreg_bob>; 359 306 360 vreg_l2a_3p1: ldo2 { 307 vreg_l2a_3p1: ldo2 { 361 regulator-name = "vreg 308 regulator-name = "vreg_l2a_3p1"; 362 regulator-min-microvol 309 regulator-min-microvolt = <3072000>; 363 regulator-max-microvol 310 regulator-max-microvolt = <3072000>; 364 regulator-initial-mode 311 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 365 }; 312 }; 366 313 367 vreg_l3a_0p9: ldo3 { 314 vreg_l3a_0p9: ldo3 { 368 regulator-name = "vreg 315 regulator-name = "vreg_l3a_0p9"; 369 regulator-min-microvol 316 regulator-min-microvolt = <928000>; 370 regulator-max-microvol 317 regulator-max-microvolt = <932000>; 371 regulator-initial-mode 318 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 372 }; 319 }; 373 320 374 vreg_l5a_0p88: ldo5 { 321 vreg_l5a_0p88: ldo5 { 375 regulator-name = "vreg 322 regulator-name = "vreg_l5a_0p88"; 376 regulator-min-microvol 323 regulator-min-microvolt = <880000>; 377 regulator-max-microvol 324 regulator-max-microvolt = <880000>; 378 regulator-initial-mode 325 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 379 }; 326 }; 380 327 381 vreg_l6a_1p2: ldo6 { 328 vreg_l6a_1p2: ldo6 { 382 regulator-name = "vreg 329 regulator-name = "vreg_l6a_1p2"; 383 regulator-min-microvol 330 regulator-min-microvolt = <1200000>; 384 regulator-max-microvol 331 regulator-max-microvolt = <1200000>; 385 regulator-initial-mode 332 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 386 }; 333 }; 387 334 388 vreg_l7a_1p7: ldo7 { 335 vreg_l7a_1p7: ldo7 { 389 regulator-name = "vreg 336 regulator-name = "vreg_l7a_1p7"; 390 regulator-min-microvol 337 regulator-min-microvolt = <1704000>; 391 regulator-max-microvol 338 regulator-max-microvolt = <1800000>; 392 regulator-initial-mode 339 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 393 }; 340 }; 394 341 395 vreg_l9a_1p2: ldo9 { 342 vreg_l9a_1p2: ldo9 { 396 regulator-name = "vreg 343 regulator-name = "vreg_l9a_1p2"; 397 regulator-min-microvol 344 regulator-min-microvolt = <1200000>; 398 regulator-max-microvol 345 regulator-max-microvolt = <1200000>; 399 regulator-initial-mode 346 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 400 }; 347 }; 401 348 402 vreg_l10a_1p8: ldo10 { 349 vreg_l10a_1p8: ldo10 { 403 regulator-name = "vreg 350 regulator-name = "vreg_l10a_1p8"; 404 regulator-min-microvol 351 regulator-min-microvolt = <1800000>; 405 regulator-max-microvol 352 regulator-max-microvolt = <1800000>; 406 regulator-initial-mode 353 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 407 }; 354 }; 408 355 409 vreg_l12a_1p8: ldo12 { 356 vreg_l12a_1p8: ldo12 { 410 regulator-name = "vreg 357 regulator-name = "vreg_l12a_1p8"; 411 regulator-min-microvol 358 regulator-min-microvolt = <1800000>; 412 regulator-max-microvol 359 regulator-max-microvolt = <1800000>; 413 regulator-initial-mode 360 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 414 }; 361 }; 415 362 416 vreg_l13a_ts_3p0: ldo13 { 363 vreg_l13a_ts_3p0: ldo13 { 417 regulator-name = "vreg 364 regulator-name = "vreg_l13a_ts_3p0"; 418 regulator-min-microvol 365 regulator-min-microvolt = <3008000>; 419 regulator-max-microvol 366 regulator-max-microvolt = <3008000>; 420 regulator-initial-mode 367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 421 }; 368 }; 422 369 423 vreg_l14a_1p8: ldo14 { 370 vreg_l14a_1p8: ldo14 { 424 regulator-name = "vreg 371 regulator-name = "vreg_l14a_1p8"; 425 regulator-min-microvol 372 regulator-min-microvolt = <1800000>; 426 regulator-max-microvol 373 regulator-max-microvolt = <1880000>; 427 regulator-initial-mode 374 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 428 }; 375 }; 429 376 430 vreg_l15a_1p8: ldo15 { 377 vreg_l15a_1p8: ldo15 { 431 regulator-name = "vreg 378 regulator-name = "vreg_l15a_1p8"; 432 regulator-min-microvol 379 regulator-min-microvolt = <1800000>; 433 regulator-max-microvol 380 regulator-max-microvolt = <1800000>; 434 regulator-initial-mode 381 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 435 }; 382 }; 436 383 437 vreg_l16a_2p7: ldo16 { 384 vreg_l16a_2p7: ldo16 { 438 regulator-name = "vreg 385 regulator-name = "vreg_l16a_2p7"; 439 regulator-min-microvol 386 regulator-min-microvolt = <2704000>; 440 regulator-max-microvol 387 regulator-max-microvolt = <2960000>; 441 regulator-initial-mode 388 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 442 }; 389 }; 443 390 444 vreg_l17a_3p0: ldo17 { 391 vreg_l17a_3p0: ldo17 { 445 regulator-name = "vreg 392 regulator-name = "vreg_l17a_3p0"; 446 regulator-min-microvol 393 regulator-min-microvolt = <2856000>; 447 regulator-max-microvol 394 regulator-max-microvolt = <3008000>; 448 regulator-initial-mode 395 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 449 }; 396 }; 450 397 451 vreg_l18a_0p92: ldo18 { 398 vreg_l18a_0p92: ldo18 { 452 regulator-name = "vreg 399 regulator-name = "vreg_l18a_0p92"; 453 regulator-min-microvol 400 regulator-min-microvolt = <800000>; 454 regulator-max-microvol 401 regulator-max-microvolt = <912000>; 455 regulator-initial-mode 402 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 456 }; 403 }; 457 404 458 vreg_s5a_1p9: smps5 { 405 vreg_s5a_1p9: smps5 { 459 regulator-name = "vreg 406 regulator-name = "vreg_s5a_1p9"; 460 regulator-min-microvol 407 regulator-min-microvolt = <1904000>; 461 regulator-max-microvol 408 regulator-max-microvolt = <2000000>; 462 regulator-initial-mode 409 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 463 }; 410 }; 464 411 465 vreg_s6a_0p95: smps6 { 412 vreg_s6a_0p95: smps6 { 466 regulator-name = "vreg 413 regulator-name = "vreg_s6a_0p95"; 467 regulator-min-microvol 414 regulator-min-microvolt = <920000>; 468 regulator-max-microvol 415 regulator-max-microvolt = <1128000>; 469 regulator-initial-mode 416 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 470 }; 417 }; 471 }; 418 }; 472 419 473 regulators-2 { 420 regulators-2 { 474 compatible = "qcom,pm8150l-rpm 421 compatible = "qcom,pm8150l-rpmh-regulators"; 475 qcom,pmic-id = "c"; 422 qcom,pmic-id = "c"; 476 423 477 vdd-s1-supply = <&vph_pwr>; 424 vdd-s1-supply = <&vph_pwr>; 478 vdd-s2-supply = <&vph_pwr>; 425 vdd-s2-supply = <&vph_pwr>; 479 vdd-s3-supply = <&vph_pwr>; 426 vdd-s3-supply = <&vph_pwr>; 480 vdd-s4-supply = <&vph_pwr>; 427 vdd-s4-supply = <&vph_pwr>; 481 vdd-s5-supply = <&vph_pwr>; 428 vdd-s5-supply = <&vph_pwr>; 482 vdd-s6-supply = <&vph_pwr>; 429 vdd-s6-supply = <&vph_pwr>; 483 vdd-s7-supply = <&vph_pwr>; 430 vdd-s7-supply = <&vph_pwr>; 484 vdd-s8-supply = <&vph_pwr>; 431 vdd-s8-supply = <&vph_pwr>; 485 vdd-l1-l8-supply = <&vreg_s4a_ 432 vdd-l1-l8-supply = <&vreg_s4a_1p8>; 486 vdd-l2-l3-supply = <&vreg_s8c_ 433 vdd-l2-l3-supply = <&vreg_s8c_1p3>; 487 vdd-l4-l5-l6-supply = <&vreg_b 434 vdd-l4-l5-l6-supply = <&vreg_bob>; 488 vdd-l7-l11-supply = <&vreg_bob 435 vdd-l7-l11-supply = <&vreg_bob>; 489 vdd-l9-l10-supply = <&vreg_bob 436 vdd-l9-l10-supply = <&vreg_bob>; 490 vdd-bob-supply = <&vph_pwr>; 437 vdd-bob-supply = <&vph_pwr>; 491 438 492 vreg_bob: bob { 439 vreg_bob: bob { 493 regulator-name = "vreg 440 regulator-name = "vreg_bob"; 494 regulator-min-microvol 441 regulator-min-microvolt = <3008000>; 495 regulator-max-microvol 442 regulator-max-microvolt = <4000000>; 496 regulator-initial-mode 443 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 497 }; 444 }; 498 445 499 vreg_l1c_1p8: ldo1 { 446 vreg_l1c_1p8: ldo1 { 500 regulator-name = "vreg 447 regulator-name = "vreg_l1c_1p8"; 501 regulator-min-microvol 448 regulator-min-microvolt = <1800000>; 502 regulator-max-microvol 449 regulator-max-microvolt = <1800000>; 503 regulator-initial-mode 450 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 504 }; 451 }; 505 452 506 vreg_l2c_1p2: ldo2 { 453 vreg_l2c_1p2: ldo2 { 507 regulator-name = "vreg 454 regulator-name = "vreg_l2c_1p2"; 508 regulator-min-microvol 455 regulator-min-microvolt = <1200000>; 509 regulator-max-microvol 456 regulator-max-microvolt = <1200000>; 510 regulator-initial-mode 457 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 511 }; 458 }; 512 459 513 vreg_l3c_0p8: ldo3 { 460 vreg_l3c_0p8: ldo3 { 514 regulator-name = "vreg 461 regulator-name = "vreg_l3c_0p8"; 515 regulator-min-microvol 462 regulator-min-microvolt = <800000>; 516 regulator-max-microvol 463 regulator-max-microvolt = <800000>; 517 regulator-initial-mode 464 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 518 }; 465 }; 519 466 520 vreg_l4c_1p7: ldo4 { 467 vreg_l4c_1p7: ldo4 { 521 regulator-name = "vreg 468 regulator-name = "vreg_l4c_1p7"; 522 regulator-min-microvol 469 regulator-min-microvolt = <1704000>; 523 regulator-max-microvol 470 regulator-max-microvolt = <2928000>; 524 regulator-initial-mode 471 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 525 }; 472 }; 526 473 527 vreg_l5c_1p8: ldo5 { 474 vreg_l5c_1p8: ldo5 { 528 regulator-name = "vreg 475 regulator-name = "vreg_l5c_1p8"; 529 regulator-min-microvol 476 regulator-min-microvolt = <1800000>; 530 regulator-max-microvol 477 regulator-max-microvolt = <2928000>; 531 regulator-initial-mode 478 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 532 }; 479 }; 533 480 534 vreg_l6c_2p96: ldo6 { 481 vreg_l6c_2p96: ldo6 { 535 regulator-name = "vreg 482 regulator-name = "vreg_l6c_2p96"; 536 regulator-min-microvol 483 regulator-min-microvolt = <1800000>; 537 regulator-max-microvol 484 regulator-max-microvolt = <2960000>; 538 regulator-initial-mode 485 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 539 }; 486 }; 540 487 541 vreg_l7c_cam_vcm0_2p85: ldo7 { 488 vreg_l7c_cam_vcm0_2p85: ldo7 { 542 regulator-name = "vreg 489 regulator-name = "vreg_l7c_cam_vcm0_2p85"; 543 regulator-min-microvol 490 regulator-min-microvolt = <2856000>; 544 regulator-max-microvol 491 regulator-max-microvolt = <3104000>; 545 regulator-initial-mode 492 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 546 }; 493 }; 547 494 548 vreg_l8c_1p8: ldo8 { 495 vreg_l8c_1p8: ldo8 { 549 regulator-name = "vreg 496 regulator-name = "vreg_l8c_1p8"; 550 regulator-min-microvol 497 regulator-min-microvolt = <1800000>; 551 regulator-max-microvol 498 regulator-max-microvolt = <1800000>; 552 regulator-initial-mode 499 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 553 }; 500 }; 554 501 555 vreg_l9c_2p96: ldo9 { 502 vreg_l9c_2p96: ldo9 { 556 regulator-name = "vreg 503 regulator-name = "vreg_l9c_2p96"; 557 regulator-min-microvol 504 regulator-min-microvolt = <2704000>; 558 regulator-max-microvol 505 regulator-max-microvolt = <2960000>; 559 regulator-initial-mode 506 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 560 }; 507 }; 561 508 562 vreg_l10c_3p0: ldo10 { 509 vreg_l10c_3p0: ldo10 { 563 regulator-name = "vreg 510 regulator-name = "vreg_l10c_3p0"; 564 regulator-min-microvol 511 regulator-min-microvolt = <3000000>; 565 regulator-max-microvol 512 regulator-max-microvolt = <3000000>; 566 regulator-initial-mode 513 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 567 }; 514 }; 568 515 569 vreg_l11c_3p3: ldo11 { 516 vreg_l11c_3p3: ldo11 { 570 regulator-name = "vreg 517 regulator-name = "vreg_l11c_3p3"; 571 regulator-min-microvol 518 regulator-min-microvolt = <3296000>; 572 regulator-max-microvol 519 regulator-max-microvolt = <3296000>; 573 regulator-initial-mode 520 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 574 regulator-always-on; 521 regulator-always-on; 575 }; 522 }; 576 523 577 vreg_s8c_1p3: smps8 { 524 vreg_s8c_1p3: smps8 { 578 regulator-name = "vreg 525 regulator-name = "vreg_s8c_1p3"; 579 regulator-min-microvol 526 regulator-min-microvolt = <1352000>; 580 regulator-max-microvol 527 regulator-max-microvolt = <1352000>; 581 regulator-initial-mode 528 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 582 }; 529 }; 583 }; 530 }; 584 }; 531 }; 585 532 586 &cdsp { 533 &cdsp { 587 status = "okay"; 534 status = "okay"; 588 firmware-name = "qcom/sm8250/cdsp.mbn" 535 firmware-name = "qcom/sm8250/cdsp.mbn"; 589 }; 536 }; 590 537 591 &gmu { 538 &gmu { 592 status = "okay"; 539 status = "okay"; 593 }; 540 }; 594 541 595 &gpu { 542 &gpu { 596 status = "okay"; 543 status = "okay"; 597 544 598 zap-shader { 545 zap-shader { 599 memory-region = <&gpu_mem>; 546 memory-region = <&gpu_mem>; 600 firmware-name = "qcom/sm8250/a 547 firmware-name = "qcom/sm8250/a650_zap.mbn"; 601 }; 548 }; 602 }; 549 }; 603 550 604 /* LS-I2C0 */ 551 /* LS-I2C0 */ 605 &i2c4 { 552 &i2c4 { 606 status = "okay"; 553 status = "okay"; 607 }; 554 }; 608 555 609 &i2c5 { 556 &i2c5 { 610 status = "okay"; 557 status = "okay"; 611 clock-frequency = <400000>; 558 clock-frequency = <400000>; 612 559 613 lt9611_codec: hdmi-bridge@2b { 560 lt9611_codec: hdmi-bridge@2b { 614 compatible = "lontium,lt9611ux 561 compatible = "lontium,lt9611uxc"; 615 reg = <0x2b>; 562 reg = <0x2b>; 616 #sound-dai-cells = <1>; 563 #sound-dai-cells = <1>; 617 564 618 interrupts-extended = <&tlmm 6 565 interrupts-extended = <&tlmm 63 IRQ_TYPE_EDGE_FALLING>; 619 566 620 reset-gpios = <&pm8150l_gpios 567 reset-gpios = <&pm8150l_gpios 5 GPIO_ACTIVE_HIGH>; 621 568 622 vdd-supply = <<9611_1v2>; 569 vdd-supply = <<9611_1v2>; 623 vcc-supply = <<9611_3v3>; 570 vcc-supply = <<9611_3v3>; 624 571 625 pinctrl-names = "default"; 572 pinctrl-names = "default"; 626 pinctrl-0 = <<9611_irq_pin & 573 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 627 574 628 ports { 575 ports { 629 #address-cells = <1>; 576 #address-cells = <1>; 630 #size-cells = <0>; 577 #size-cells = <0>; 631 578 632 port@0 { 579 port@0 { 633 reg = <0>; 580 reg = <0>; 634 581 635 lt9611_a: endp 582 lt9611_a: endpoint { 636 remote 583 remote-endpoint = <&mdss_dsi0_out>; 637 }; 584 }; 638 }; 585 }; 639 586 640 #if 0 587 #if 0 641 port@1 { 588 port@1 { 642 reg = <1>; 589 reg = <1>; 643 590 644 lt9611_b: endp 591 lt9611_b: endpoint { 645 remote 592 remote-endpoint = <&mdss_dsi1_out>; 646 }; 593 }; 647 }; 594 }; 648 #endif 595 #endif 649 596 650 port@2 { 597 port@2 { 651 reg = <2>; 598 reg = <2>; 652 599 653 lt9611_out: en 600 lt9611_out: endpoint { 654 remote 601 remote-endpoint = <&hdmi_con>; 655 }; 602 }; 656 }; 603 }; 657 604 658 }; 605 }; 659 }; 606 }; 660 }; 607 }; 661 608 662 /* LS-I2C1 */ 609 /* LS-I2C1 */ 663 &i2c15 { 610 &i2c15 { 664 status = "okay"; 611 status = "okay"; 665 << 666 typec-mux@1c { << 667 compatible = "onnn,nb7vpq904m" << 668 reg = <0x1c>; << 669 << 670 vcc-supply = <&vreg_s4a_1p8>; << 671 << 672 retimer-switch; << 673 orientation-switch; << 674 << 675 ports { << 676 #address-cells = <1>; << 677 #size-cells = <0>; << 678 << 679 port@0 { << 680 reg = <0>; << 681 << 682 redriver_usb_c << 683 remote << 684 }; << 685 }; << 686 << 687 port@1 { << 688 reg = <1>; << 689 << 690 redriver_phy_c << 691 remote << 692 data-l << 693 }; << 694 }; << 695 << 696 port@2 { << 697 reg = <2>; << 698 << 699 redriver_usb_c << 700 remote << 701 }; << 702 }; << 703 }; << 704 }; << 705 }; 612 }; 706 613 707 &mdss { 614 &mdss { 708 status = "okay"; 615 status = "okay"; 709 }; 616 }; 710 617 711 &mdss_dp { << 712 status = "okay"; << 713 }; << 714 << 715 &mdss_dp_out { << 716 data-lanes = <0 1>; << 717 remote-endpoint = <&usb_1_qmpphy_dp_in << 718 }; << 719 << 720 &mdss_dsi0 { 618 &mdss_dsi0 { 721 status = "okay"; 619 status = "okay"; 722 vdda-supply = <&vreg_l9a_1p2>; 620 vdda-supply = <&vreg_l9a_1p2>; 723 621 724 #if 0 622 #if 0 725 qcom,dual-dsi-mode; 623 qcom,dual-dsi-mode; 726 qcom,master-dsi; 624 qcom,master-dsi; 727 #endif 625 #endif 728 626 729 ports { 627 ports { 730 port@1 { 628 port@1 { 731 endpoint { 629 endpoint { 732 remote-endpoin 630 remote-endpoint = <<9611_a>; 733 data-lanes = < 631 data-lanes = <0 1 2 3>; 734 }; 632 }; 735 }; 633 }; 736 }; 634 }; 737 }; 635 }; 738 636 739 &mdss_dsi0_phy { 637 &mdss_dsi0_phy { 740 status = "okay"; 638 status = "okay"; 741 vdds-supply = <&vreg_l5a_0p88>; 639 vdds-supply = <&vreg_l5a_0p88>; 742 }; 640 }; 743 641 744 &pm8150_adc { 642 &pm8150_adc { 745 channel@4c { 643 channel@4c { 746 reg = <ADC5_XO_THERM_100K_PU>; 644 reg = <ADC5_XO_THERM_100K_PU>; 747 qcom,ratiometric; 645 qcom,ratiometric; 748 qcom,hw-settle-time = <200>; 646 qcom,hw-settle-time = <200>; 749 label = "xo_therm"; 647 label = "xo_therm"; 750 }; 648 }; 751 649 752 channel@4e { 650 channel@4e { 753 reg = <ADC5_AMUX_THM2_100K_PU> 651 reg = <ADC5_AMUX_THM2_100K_PU>; 754 qcom,ratiometric; 652 qcom,ratiometric; 755 qcom,hw-settle-time = <200>; 653 qcom,hw-settle-time = <200>; 756 label = "wifi_therm"; 654 label = "wifi_therm"; 757 }; 655 }; 758 }; 656 }; 759 657 760 &pm8150_adc_tm { 658 &pm8150_adc_tm { 761 status = "okay"; 659 status = "okay"; 762 660 763 xo-therm@0 { 661 xo-therm@0 { 764 reg = <0>; 662 reg = <0>; 765 io-channels = <&pm8150_adc ADC 663 io-channels = <&pm8150_adc ADC5_XO_THERM_100K_PU>; 766 qcom,ratiometric; 664 qcom,ratiometric; 767 qcom,hw-settle-time-us = <200> 665 qcom,hw-settle-time-us = <200>; 768 }; 666 }; 769 667 770 wifi-therm@1 { 668 wifi-therm@1 { 771 reg = <1>; 669 reg = <1>; 772 io-channels = <&pm8150_adc ADC 670 io-channels = <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; 773 qcom,ratiometric; 671 qcom,ratiometric; 774 qcom,hw-settle-time-us = <200> 672 qcom,hw-settle-time-us = <200>; 775 }; 673 }; 776 }; 674 }; 777 675 778 &pcie0 { 676 &pcie0 { 779 status = "okay"; 677 status = "okay"; 780 }; 678 }; 781 679 782 &pcie0_phy { 680 &pcie0_phy { 783 status = "okay"; 681 status = "okay"; 784 vdda-phy-supply = <&vreg_l5a_0p88>; 682 vdda-phy-supply = <&vreg_l5a_0p88>; 785 vdda-pll-supply = <&vreg_l9a_1p2>; 683 vdda-pll-supply = <&vreg_l9a_1p2>; 786 }; 684 }; 787 685 788 &pcieport0 { << 789 wifi@0 { << 790 compatible = "pci17cb,1101"; << 791 reg = <0x10000 0x0 0x0 0x0 0x0 << 792 << 793 vddrfacmn-supply = <&vreg_pmu_ << 794 vddaon-supply = <&vreg_pmu_aon << 795 vddwlcx-supply = <&vreg_pmu_wl << 796 vddwlmx-supply = <&vreg_pmu_wl << 797 vddrfa0p8-supply = <&vreg_pmu_ << 798 vddrfa1p2-supply = <&vreg_pmu_ << 799 vddrfa1p7-supply = <&vreg_pmu_ << 800 vddpcie0p9-supply = <&vreg_pmu << 801 vddpcie1p8-supply = <&vreg_pmu << 802 }; << 803 }; << 804 << 805 &pcie1 { 686 &pcie1 { 806 status = "okay"; 687 status = "okay"; 807 }; 688 }; 808 689 809 &pcie1_phy { 690 &pcie1_phy { 810 status = "okay"; 691 status = "okay"; 811 vdda-phy-supply = <&vreg_l5a_0p88>; 692 vdda-phy-supply = <&vreg_l5a_0p88>; 812 vdda-pll-supply = <&vreg_l9a_1p2>; 693 vdda-pll-supply = <&vreg_l9a_1p2>; 813 }; 694 }; 814 695 815 &pcie2 { 696 &pcie2 { 816 status = "okay"; 697 status = "okay"; 817 }; 698 }; 818 699 819 &pcie2_phy { 700 &pcie2_phy { 820 status = "okay"; 701 status = "okay"; 821 vdda-phy-supply = <&vreg_l5a_0p88>; 702 vdda-phy-supply = <&vreg_l5a_0p88>; 822 vdda-pll-supply = <&vreg_l9a_1p2>; 703 vdda-pll-supply = <&vreg_l9a_1p2>; 823 }; 704 }; 824 705 825 &pm8150_gpios { 706 &pm8150_gpios { 826 gpio-reserved-ranges = <1 1>, <3 2>, < 707 gpio-reserved-ranges = <1 1>, <3 2>, <7 1>; 827 gpio-line-names = 708 gpio-line-names = 828 "NC", 709 "NC", 829 "OPTION2", 710 "OPTION2", 830 "PM_GPIO-F", 711 "PM_GPIO-F", 831 "PM_SLP_CLK_IN", 712 "PM_SLP_CLK_IN", 832 "OPTION1", 713 "OPTION1", 833 "VOL_UP_N", 714 "VOL_UP_N", 834 "PM8250_GPIO7", /* Blue LED */ 715 "PM8250_GPIO7", /* Blue LED */ 835 "SP_ARI_PWR_ALARM", 716 "SP_ARI_PWR_ALARM", 836 "GPIO_9_P", /* Yellow LED */ 717 "GPIO_9_P", /* Yellow LED */ 837 "GPIO_10_P"; /* Green LED */ 718 "GPIO_10_P"; /* Green LED */ 838 }; 719 }; 839 720 840 &pm8150b_adc { 721 &pm8150b_adc { 841 channel@4f { 722 channel@4f { 842 reg = <ADC5_AMUX_THM3_100K_PU> 723 reg = <ADC5_AMUX_THM3_100K_PU>; 843 qcom,ratiometric; 724 qcom,ratiometric; 844 qcom,hw-settle-time = <200>; 725 qcom,hw-settle-time = <200>; 845 label = "conn_therm"; 726 label = "conn_therm"; 846 }; 727 }; 847 }; 728 }; 848 729 849 &pm8150b_adc_tm { 730 &pm8150b_adc_tm { 850 status = "okay"; 731 status = "okay"; 851 732 852 conn-therm@0 { 733 conn-therm@0 { 853 reg = <0>; 734 reg = <0>; 854 io-channels = <&pm8150b_adc AD 735 io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>; 855 qcom,ratiometric; 736 qcom,ratiometric; 856 qcom,hw-settle-time-us = <200> 737 qcom,hw-settle-time-us = <200>; 857 }; 738 }; 858 }; 739 }; 859 740 860 &pm8150b_gpios { 741 &pm8150b_gpios { 861 gpio-line-names = 742 gpio-line-names = 862 "NC", 743 "NC", 863 "NC", 744 "NC", 864 "NC", 745 "NC", 865 "NC", 746 "NC", 866 "HAP_BOOST_EN", /* SOM */ 747 "HAP_BOOST_EN", /* SOM */ 867 "SMB_STAT", /* SOM */ 748 "SMB_STAT", /* SOM */ 868 "NC", 749 "NC", 869 "NC", 750 "NC", 870 "SDM_FORCE_USB_BOOT", 751 "SDM_FORCE_USB_BOOT", 871 "NC", 752 "NC", 872 "NC", 753 "NC", 873 "NC"; 754 "NC"; 874 }; 755 }; 875 756 876 &pm8150l_adc { 757 &pm8150l_adc { 877 channel@4e { 758 channel@4e { 878 reg = <ADC5_AMUX_THM2_100K_PU> 759 reg = <ADC5_AMUX_THM2_100K_PU>; 879 qcom,ratiometric; 760 qcom,ratiometric; 880 qcom,hw-settle-time = <200>; 761 qcom,hw-settle-time = <200>; 881 label = "skin_msm_therm"; 762 label = "skin_msm_therm"; 882 }; 763 }; 883 764 884 channel@4f { 765 channel@4f { 885 reg = <ADC5_AMUX_THM3_100K_PU> 766 reg = <ADC5_AMUX_THM3_100K_PU>; 886 qcom,ratiometric; 767 qcom,ratiometric; 887 qcom,hw-settle-time = <200>; 768 qcom,hw-settle-time = <200>; 888 label = "pm8150l_therm"; 769 label = "pm8150l_therm"; 889 }; 770 }; 890 }; 771 }; 891 772 892 &pm8150l_adc_tm { 773 &pm8150l_adc_tm { 893 status = "okay"; 774 status = "okay"; 894 775 895 skin-msm-therm@0 { 776 skin-msm-therm@0 { 896 reg = <0>; 777 reg = <0>; 897 io-channels = <&pm8150l_adc AD 778 io-channels = <&pm8150l_adc ADC5_AMUX_THM2_100K_PU>; 898 qcom,ratiometric; 779 qcom,ratiometric; 899 qcom,hw-settle-time-us = <200> 780 qcom,hw-settle-time-us = <200>; 900 }; 781 }; 901 782 902 pm8150l-therm@1 { 783 pm8150l-therm@1 { 903 reg = <1>; 784 reg = <1>; 904 io-channels = <&pm8150l_adc AD 785 io-channels = <&pm8150l_adc ADC5_AMUX_THM3_100K_PU>; 905 qcom,ratiometric; 786 qcom,ratiometric; 906 qcom,hw-settle-time-us = <200> 787 qcom,hw-settle-time-us = <200>; 907 }; 788 }; 908 }; 789 }; 909 790 910 &pm8150l_gpios { 791 &pm8150l_gpios { 911 gpio-line-names = 792 gpio-line-names = 912 "NC", 793 "NC", 913 "PM3003A_EN", 794 "PM3003A_EN", 914 "NC", 795 "NC", 915 "NC", 796 "NC", 916 "PM_GPIO5", /* HDMI RST_N */ 797 "PM_GPIO5", /* HDMI RST_N */ 917 "PM_GPIO-A", /* PWM */ 798 "PM_GPIO-A", /* PWM */ 918 "PM_GPIO7", 799 "PM_GPIO7", 919 "NC", 800 "NC", 920 "NC", 801 "NC", 921 "PM_GPIO-B", 802 "PM_GPIO-B", 922 "NC", 803 "NC", 923 "PM3003A_MODE"; 804 "PM3003A_MODE"; 924 805 925 lt9611_rst_pin: lt9611-rst-state { 806 lt9611_rst_pin: lt9611-rst-state { 926 pins = "gpio5"; 807 pins = "gpio5"; 927 function = "normal"; 808 function = "normal"; 928 809 929 output-high; 810 output-high; 930 input-disable; 811 input-disable; 931 power-source = <0>; 812 power-source = <0>; 932 }; 813 }; 933 }; 814 }; 934 815 935 &pm8150l_lpg { 816 &pm8150l_lpg { 936 status = "okay"; 817 status = "okay"; 937 818 938 #address-cells = <1>; 819 #address-cells = <1>; 939 #size-cells = <0>; 820 #size-cells = <0>; 940 821 941 led@1 { 822 led@1 { 942 reg = <1>; 823 reg = <1>; 943 color = <LED_COLOR_ID_GREEN>; 824 color = <LED_COLOR_ID_GREEN>; 944 function = LED_FUNCTION_HEARTB 825 function = LED_FUNCTION_HEARTBEAT; 945 function-enumerator = <3>; 826 function-enumerator = <3>; 946 827 947 linux,default-trigger = "heart 828 linux,default-trigger = "heartbeat"; 948 default-state = "on"; 829 default-state = "on"; 949 }; 830 }; 950 831 951 led@2 { 832 led@2 { 952 reg = <2>; 833 reg = <2>; 953 color = <LED_COLOR_ID_GREEN>; 834 color = <LED_COLOR_ID_GREEN>; 954 function = LED_FUNCTION_INDICA 835 function = LED_FUNCTION_INDICATOR; 955 function-enumerator = <2>; 836 function-enumerator = <2>; 956 default-state = "on"; 837 default-state = "on"; 957 }; 838 }; 958 839 959 led@3 { 840 led@3 { 960 reg = <3>; 841 reg = <3>; 961 color = <LED_COLOR_ID_GREEN>; 842 color = <LED_COLOR_ID_GREEN>; 962 function = LED_FUNCTION_INDICA 843 function = LED_FUNCTION_INDICATOR; 963 function-enumerator = <1>; 844 function-enumerator = <1>; 964 }; 845 }; 965 }; 846 }; 966 847 967 &pon_pwrkey { 848 &pon_pwrkey { 968 status = "okay"; 849 status = "okay"; 969 }; 850 }; 970 851 971 &pon_resin { 852 &pon_resin { 972 status = "okay"; 853 status = "okay"; 973 854 974 linux,code = <KEY_VOLUMEDOWN>; 855 linux,code = <KEY_VOLUMEDOWN>; 975 }; 856 }; 976 857 977 &qupv3_id_0 { 858 &qupv3_id_0 { 978 status = "okay"; 859 status = "okay"; 979 }; 860 }; 980 861 981 &qupv3_id_1 { 862 &qupv3_id_1 { 982 status = "okay"; 863 status = "okay"; 983 }; 864 }; 984 865 985 &qupv3_id_2 { 866 &qupv3_id_2 { 986 status = "okay"; 867 status = "okay"; 987 }; 868 }; 988 869 989 &q6afedai { 870 &q6afedai { 990 dai@16 { 871 dai@16 { 991 reg = <PRIMARY_MI2S_RX>; 872 reg = <PRIMARY_MI2S_RX>; 992 qcom,sd-lines = <0 1 2 3>; 873 qcom,sd-lines = <0 1 2 3>; 993 }; 874 }; 994 }; 875 }; 995 876 996 /* TERT I2S Uses 1 I2S SD Lines for audio on L 877 /* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ 997 &q6afedai { 878 &q6afedai { 998 dai@20 { 879 dai@20 { 999 reg = <TERTIARY_MI2S_RX>; 880 reg = <TERTIARY_MI2S_RX>; 1000 qcom,sd-lines = <0>; 881 qcom,sd-lines = <0>; 1001 }; 882 }; 1002 }; 883 }; 1003 884 1004 &q6asmdai { 885 &q6asmdai { 1005 dai@0 { 886 dai@0 { 1006 reg = <0>; 887 reg = <0>; 1007 }; 888 }; 1008 889 1009 dai@1 { 890 dai@1 { 1010 reg = <1>; 891 reg = <1>; 1011 }; 892 }; 1012 893 1013 dai@2 { 894 dai@2 { 1014 reg = <2>; 895 reg = <2>; 1015 }; 896 }; 1016 }; 897 }; 1017 898 1018 &sdhc_2 { 899 &sdhc_2 { 1019 status = "okay"; 900 status = "okay"; 1020 pinctrl-names = "default"; 901 pinctrl-names = "default"; 1021 pinctrl-0 = <&sdc2_default_state &sdc 902 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 1022 vmmc-supply = <&vreg_l9c_2p96>; 903 vmmc-supply = <&vreg_l9c_2p96>; 1023 vqmmc-supply = <&vreg_l6c_2p96>; 904 vqmmc-supply = <&vreg_l6c_2p96>; 1024 cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW> 905 cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; 1025 bus-width = <4>; 906 bus-width = <4>; 1026 no-sdio; 907 no-sdio; 1027 no-mmc; 908 no-mmc; 1028 }; 909 }; 1029 910 1030 &sound { 911 &sound { 1031 compatible = "qcom,qrb5165-rb5-sndcar 912 compatible = "qcom,qrb5165-rb5-sndcard"; 1032 pinctrl-0 = <&tert_mi2s_active>; 913 pinctrl-0 = <&tert_mi2s_active>; 1033 pinctrl-names = "default"; 914 pinctrl-names = "default"; 1034 model = "Qualcomm-RB5-WSA8815-Speaker 915 model = "Qualcomm-RB5-WSA8815-Speakers-DMIC0"; 1035 audio-routing = 916 audio-routing = 1036 "SpkrLeft IN", "WSA_SPK1 OUT" 917 "SpkrLeft IN", "WSA_SPK1 OUT", 1037 "SpkrRight IN", "WSA_SPK2 OUT 918 "SpkrRight IN", "WSA_SPK2 OUT", 1038 "VA DMIC0", "vdd-micb", 919 "VA DMIC0", "vdd-micb", 1039 "VA DMIC1", "vdd-micb", 920 "VA DMIC1", "vdd-micb", 1040 "MM_DL1", "MultiMedia1 Playb 921 "MM_DL1", "MultiMedia1 Playback", 1041 "MM_DL2", "MultiMedia2 Playb 922 "MM_DL2", "MultiMedia2 Playback", 1042 "MultiMedia3 Capture", "MM_UL 923 "MultiMedia3 Capture", "MM_UL3"; 1043 924 1044 mm1-dai-link { 925 mm1-dai-link { 1045 link-name = "MultiMedia1"; 926 link-name = "MultiMedia1"; 1046 cpu { 927 cpu { 1047 sound-dai = <&q6asmda 928 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; 1048 }; 929 }; 1049 }; 930 }; 1050 931 1051 mm2-dai-link { 932 mm2-dai-link { 1052 link-name = "MultiMedia2"; 933 link-name = "MultiMedia2"; 1053 cpu { 934 cpu { 1054 sound-dai = <&q6asmda 935 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; 1055 }; 936 }; 1056 }; 937 }; 1057 938 1058 mm3-dai-link { 939 mm3-dai-link { 1059 link-name = "MultiMedia3"; 940 link-name = "MultiMedia3"; 1060 cpu { 941 cpu { 1061 sound-dai = <&q6asmda 942 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; 1062 }; 943 }; 1063 }; 944 }; 1064 945 1065 hdmi-dai-link { 946 hdmi-dai-link { 1066 link-name = "HDMI Playback"; 947 link-name = "HDMI Playback"; 1067 cpu { 948 cpu { 1068 sound-dai = <&q6afeda 949 sound-dai = <&q6afedai TERTIARY_MI2S_RX>; 1069 }; 950 }; 1070 951 1071 platform { 952 platform { 1072 sound-dai = <&q6routi 953 sound-dai = <&q6routing>; 1073 }; 954 }; 1074 955 1075 codec { 956 codec { 1076 sound-dai = <<9611_ 957 sound-dai = <<9611_codec 0>; 1077 }; 958 }; 1078 }; 959 }; 1079 960 1080 dma-dai-link { 961 dma-dai-link { 1081 link-name = "WSA Playback"; 962 link-name = "WSA Playback"; 1082 cpu { 963 cpu { 1083 sound-dai = <&q6afeda 964 sound-dai = <&q6afedai WSA_CODEC_DMA_RX_0>; 1084 }; 965 }; 1085 966 1086 platform { 967 platform { 1087 sound-dai = <&q6routi 968 sound-dai = <&q6routing>; 1088 }; 969 }; 1089 970 1090 codec { 971 codec { 1091 sound-dai = <&left_sp 972 sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro 0>; 1092 }; 973 }; 1093 }; 974 }; 1094 975 1095 va-dai-link { 976 va-dai-link { 1096 link-name = "VA Capture"; 977 link-name = "VA Capture"; 1097 cpu { 978 cpu { 1098 sound-dai = <&q6afeda 979 sound-dai = <&q6afedai VA_CODEC_DMA_TX_0>; 1099 }; 980 }; 1100 981 1101 platform { 982 platform { 1102 sound-dai = <&q6routi 983 sound-dai = <&q6routing>; 1103 }; 984 }; 1104 985 1105 codec { 986 codec { 1106 sound-dai = <&vamacro 987 sound-dai = <&vamacro 0>; 1107 }; 988 }; 1108 }; 989 }; 1109 }; 990 }; 1110 991 1111 /* CAN */ 992 /* CAN */ 1112 &spi0 { 993 &spi0 { 1113 status = "okay"; 994 status = "okay"; 1114 pinctrl-names = "default"; 995 pinctrl-names = "default"; 1115 pinctrl-0 = <&qup_spi0_data_clk>, <&q 996 pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs_gpio>; 1116 cs-gpios = <&tlmm 31 GPIO_ACTIVE_LOW> 997 cs-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>; 1117 998 1118 can@0 { 999 can@0 { 1119 compatible = "microchip,mcp25 1000 compatible = "microchip,mcp2518fd"; 1120 reg = <0>; 1001 reg = <0>; 1121 clocks = <&clk40M>; 1002 clocks = <&clk40M>; 1122 interrupts-extended = <&tlmm 1003 interrupts-extended = <&tlmm 15 IRQ_TYPE_LEVEL_LOW>; 1123 spi-max-frequency = <10000000 1004 spi-max-frequency = <10000000>; 1124 vdd-supply = <&vdc_5v>; 1005 vdd-supply = <&vdc_5v>; 1125 xceiver-supply = <&vdc_5v>; 1006 xceiver-supply = <&vdc_5v>; 1126 }; 1007 }; 1127 }; 1008 }; 1128 1009 1129 &swr0 { 1010 &swr0 { 1130 status = "okay"; 1011 status = "okay"; 1131 1012 1132 left_spkr: speaker@0,3 { 1013 left_spkr: speaker@0,3 { 1133 compatible = "sdw10217211000" 1014 compatible = "sdw10217211000"; 1134 reg = <0 3>; 1015 reg = <0 3>; 1135 powerdown-gpios = <&tlmm 130 1016 powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; 1136 #thermal-sensor-cells = <0>; 1017 #thermal-sensor-cells = <0>; 1137 sound-name-prefix = "SpkrLeft 1018 sound-name-prefix = "SpkrLeft"; 1138 #sound-dai-cells = <0>; 1019 #sound-dai-cells = <0>; 1139 }; 1020 }; 1140 1021 1141 right_spkr: speaker@0,4 { 1022 right_spkr: speaker@0,4 { 1142 compatible = "sdw10217211000" 1023 compatible = "sdw10217211000"; 1143 reg = <0 4>; 1024 reg = <0 4>; 1144 powerdown-gpios = <&tlmm 130 1025 powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>; 1145 #thermal-sensor-cells = <0>; 1026 #thermal-sensor-cells = <0>; 1146 sound-name-prefix = "SpkrRigh 1027 sound-name-prefix = "SpkrRight"; 1147 #sound-dai-cells = <0>; 1028 #sound-dai-cells = <0>; 1148 }; 1029 }; 1149 }; 1030 }; 1150 1031 1151 &tlmm { 1032 &tlmm { 1152 gpio-reserved-ranges = <40 4>; 1033 gpio-reserved-ranges = <40 4>; 1153 gpio-line-names = 1034 gpio-line-names = 1154 "GPIO-MM", 1035 "GPIO-MM", 1155 "GPIO-NN", 1036 "GPIO-NN", 1156 "GPIO-OO", 1037 "GPIO-OO", 1157 "GPIO-PP", 1038 "GPIO-PP", 1158 "GPIO-A", 1039 "GPIO-A", 1159 "GPIO-C", 1040 "GPIO-C", 1160 "GPIO-E", 1041 "GPIO-E", 1161 "GPIO-D", 1042 "GPIO-D", 1162 "I2C0-SDA", 1043 "I2C0-SDA", 1163 "I2C0-SCL", 1044 "I2C0-SCL", 1164 "GPIO-TT", /* GPIO_10 */ 1045 "GPIO-TT", /* GPIO_10 */ 1165 "NC", 1046 "NC", 1166 "GPIO_12_I2C_SDA", 1047 "GPIO_12_I2C_SDA", 1167 "GPIO_13_I2C_SCL", 1048 "GPIO_13_I2C_SCL", 1168 "GPIO-X", 1049 "GPIO-X", 1169 "GPIO_15_RGMII_INT", 1050 "GPIO_15_RGMII_INT", 1170 "HST_BT_UART_CTS", 1051 "HST_BT_UART_CTS", 1171 "HST_BT_UART_RFR", 1052 "HST_BT_UART_RFR", 1172 "HST_BT_UART_TX", 1053 "HST_BT_UART_TX", 1173 "HST_BT_UART_RX", 1054 "HST_BT_UART_RX", 1174 "HST_WLAN_EN", /* GPIO_20 */ 1055 "HST_WLAN_EN", /* GPIO_20 */ 1175 "HST_BT_EN", 1056 "HST_BT_EN", 1176 "GPIO-AAA", 1057 "GPIO-AAA", 1177 "GPIO-BBB", 1058 "GPIO-BBB", 1178 "GPIO-CCC", 1059 "GPIO-CCC", 1179 "GPIO-Z", 1060 "GPIO-Z", 1180 "GPIO-DDD", 1061 "GPIO-DDD", 1181 "GPIO-BB", 1062 "GPIO-BB", 1182 "GPIO_28_CAN_SPI_MISO", 1063 "GPIO_28_CAN_SPI_MISO", 1183 "GPIO_29_CAN_SPI_MOSI", 1064 "GPIO_29_CAN_SPI_MOSI", 1184 "GPIO_30_CAN_SPI_CLK", /* GPI 1065 "GPIO_30_CAN_SPI_CLK", /* GPIO_30 */ 1185 "GPIO_31_CAN_SPI_CS", 1066 "GPIO_31_CAN_SPI_CS", 1186 "GPIO-UU", 1067 "GPIO-UU", 1187 "NC", 1068 "NC", 1188 "UART1_TXD_SOM", 1069 "UART1_TXD_SOM", 1189 "UART1_RXD_SOM", 1070 "UART1_RXD_SOM", 1190 "UART0_CTS", 1071 "UART0_CTS", 1191 "UART0_RTS", 1072 "UART0_RTS", 1192 "UART0_TXD", 1073 "UART0_TXD", 1193 "UART0_RXD", 1074 "UART0_RXD", 1194 "SPI1_MISO", /* GPIO_40 */ 1075 "SPI1_MISO", /* GPIO_40 */ 1195 "SPI1_MOSI", 1076 "SPI1_MOSI", 1196 "SPI1_CLK", 1077 "SPI1_CLK", 1197 "SPI1_CS", 1078 "SPI1_CS", 1198 "I2C1_SDA", 1079 "I2C1_SDA", 1199 "I2C1_SCL", 1080 "I2C1_SCL", 1200 "GPIO-F", 1081 "GPIO-F", 1201 "GPIO-JJ", 1082 "GPIO-JJ", 1202 "Board_ID1", 1083 "Board_ID1", 1203 "Board_ID2", 1084 "Board_ID2", 1204 "NC", /* GPIO_50 */ 1085 "NC", /* GPIO_50 */ 1205 "NC", 1086 "NC", 1206 "SPI0_MISO", 1087 "SPI0_MISO", 1207 "SPI0_MOSI", 1088 "SPI0_MOSI", 1208 "SPI0_SCLK", 1089 "SPI0_SCLK", 1209 "SPI0_CS", 1090 "SPI0_CS", 1210 "GPIO-QQ", 1091 "GPIO-QQ", 1211 "GPIO-RR", 1092 "GPIO-RR", 1212 "USB2LAN_RESET", 1093 "USB2LAN_RESET", 1213 "USB2LAN_EXTWAKE", 1094 "USB2LAN_EXTWAKE", 1214 "NC", /* GPIO_60 */ 1095 "NC", /* GPIO_60 */ 1215 "NC", 1096 "NC", 1216 "NC", 1097 "NC", 1217 "LT9611_INT", 1098 "LT9611_INT", 1218 "GPIO-AA", 1099 "GPIO-AA", 1219 "USB_CC_DIR", 1100 "USB_CC_DIR", 1220 "GPIO-G", 1101 "GPIO-G", 1221 "GPIO-LL", 1102 "GPIO-LL", 1222 "USB_DP_HPD_1P8", 1103 "USB_DP_HPD_1P8", 1223 "NC", 1104 "NC", 1224 "NC", /* GPIO_70 */ 1105 "NC", /* GPIO_70 */ 1225 "SD_CMD", 1106 "SD_CMD", 1226 "SD_DAT3", 1107 "SD_DAT3", 1227 "SD_SCLK", 1108 "SD_SCLK", 1228 "SD_DAT2", 1109 "SD_DAT2", 1229 "SD_DAT1", 1110 "SD_DAT1", 1230 "SD_DAT0", /* BOOT_CFG3 */ 1111 "SD_DAT0", /* BOOT_CFG3 */ 1231 "SD_UFS_CARD_DET_N", 1112 "SD_UFS_CARD_DET_N", 1232 "GPIO-II", 1113 "GPIO-II", 1233 "PCIE0_RST_N", 1114 "PCIE0_RST_N", 1234 "PCIE0_CLK_REQ_N", /* GPIO_80 1115 "PCIE0_CLK_REQ_N", /* GPIO_80 */ 1235 "PCIE0_WAKE_N", 1116 "PCIE0_WAKE_N", 1236 "GPIO-CC", 1117 "GPIO-CC", 1237 "GPIO-DD", 1118 "GPIO-DD", 1238 "GPIO-EE", 1119 "GPIO-EE", 1239 "GPIO-FF", 1120 "GPIO-FF", 1240 "GPIO-GG", 1121 "GPIO-GG", 1241 "GPIO-HH", 1122 "GPIO-HH", 1242 "GPIO-VV", 1123 "GPIO-VV", 1243 "GPIO-WW", 1124 "GPIO-WW", 1244 "NC", /* GPIO_90 */ 1125 "NC", /* GPIO_90 */ 1245 "NC", 1126 "NC", 1246 "GPIO-K", 1127 "GPIO-K", 1247 "GPIO-I", 1128 "GPIO-I", 1248 "CSI0_MCLK", 1129 "CSI0_MCLK", 1249 "CSI1_MCLK", 1130 "CSI1_MCLK", 1250 "CSI2_MCLK", 1131 "CSI2_MCLK", 1251 "CSI3_MCLK", 1132 "CSI3_MCLK", 1252 "GPIO-AA", /* CSI4_MCLK */ 1133 "GPIO-AA", /* CSI4_MCLK */ 1253 "GPIO-BB", /* CSI5_MCLK */ 1134 "GPIO-BB", /* CSI5_MCLK */ 1254 "GPIO-KK", /* GPIO_100 */ 1135 "GPIO-KK", /* GPIO_100 */ 1255 "CCI_I2C_SDA0", 1136 "CCI_I2C_SDA0", 1256 "CCI_I2C_SCL0", 1137 "CCI_I2C_SCL0", 1257 "CCI_I2C_SDA1", 1138 "CCI_I2C_SDA1", 1258 "CCI_I2C_SCL1", 1139 "CCI_I2C_SCL1", 1259 "CCI_I2C_SDA2", 1140 "CCI_I2C_SDA2", 1260 "CCI_I2C_SCL2", 1141 "CCI_I2C_SCL2", 1261 "CCI_I2C_SDA3", 1142 "CCI_I2C_SDA3", 1262 "CCI_I2C_SCL3", 1143 "CCI_I2C_SCL3", 1263 "GPIO-L", 1144 "GPIO-L", 1264 "NC", /* GPIO_110 */ 1145 "NC", /* GPIO_110 */ 1265 "NC", 1146 "NC", 1266 "ACCEL_INT", 1147 "ACCEL_INT", 1267 "GYRO_INT", 1148 "GYRO_INT", 1268 "GPIO-J", 1149 "GPIO-J", 1269 "GPIO-YY", 1150 "GPIO-YY", 1270 "GPIO-H", 1151 "GPIO-H", 1271 "GPIO-ZZ", 1152 "GPIO-ZZ", 1272 "NC", 1153 "NC", 1273 "NC", 1154 "NC", 1274 "NC", /* GPIO_120 */ 1155 "NC", /* GPIO_120 */ 1275 "NC", 1156 "NC", 1276 "MAG_INT", 1157 "MAG_INT", 1277 "MAG_DRDY_INT", 1158 "MAG_DRDY_INT", 1278 "HST_SW_CTRL", 1159 "HST_SW_CTRL", 1279 "GPIO-M", 1160 "GPIO-M", 1280 "GPIO-N", 1161 "GPIO-N", 1281 "GPIO-O", 1162 "GPIO-O", 1282 "GPIO-P", 1163 "GPIO-P", 1283 "PS_INT", 1164 "PS_INT", 1284 "WSA1_EN", /* GPIO_130 */ 1165 "WSA1_EN", /* GPIO_130 */ 1285 "USB_HUB_RESET", 1166 "USB_HUB_RESET", 1286 "SDM_FORCE_USB_BOOT", 1167 "SDM_FORCE_USB_BOOT", 1287 "I2S1_CLK_HDMI", 1168 "I2S1_CLK_HDMI", 1288 "I2S1_DATA0_HDMI", 1169 "I2S1_DATA0_HDMI", 1289 "I2S1_WS_HDMI", 1170 "I2S1_WS_HDMI", 1290 "GPIO-B", 1171 "GPIO-B", 1291 "GPIO_137", /* To LT9611_I2S_ 1172 "GPIO_137", /* To LT9611_I2S_MCLK_3V3 */ 1292 "PCM_CLK", 1173 "PCM_CLK", 1293 "PCM_DI", 1174 "PCM_DI", 1294 "PCM_DO", /* GPIO_140 */ 1175 "PCM_DO", /* GPIO_140 */ 1295 "PCM_FS", 1176 "PCM_FS", 1296 "HST_SLIM_CLK", 1177 "HST_SLIM_CLK", 1297 "HST_SLIM_DATA", 1178 "HST_SLIM_DATA", 1298 "GPIO-U", 1179 "GPIO-U", 1299 "GPIO-Y", 1180 "GPIO-Y", 1300 "GPIO-R", 1181 "GPIO-R", 1301 "GPIO-Q", 1182 "GPIO-Q", 1302 "GPIO-S", 1183 "GPIO-S", 1303 "GPIO-T", 1184 "GPIO-T", 1304 "GPIO-V", /* GPIO_150 */ 1185 "GPIO-V", /* GPIO_150 */ 1305 "GPIO-W", 1186 "GPIO-W", 1306 "DMIC_CLK1", 1187 "DMIC_CLK1", 1307 "DMIC_DATA1", 1188 "DMIC_DATA1", 1308 "DMIC_CLK2", 1189 "DMIC_CLK2", 1309 "DMIC_DATA2", 1190 "DMIC_DATA2", 1310 "WSA_SWR_CLK", 1191 "WSA_SWR_CLK", 1311 "WSA_SWR_DATA", 1192 "WSA_SWR_DATA", 1312 "DMIC_CLK3", 1193 "DMIC_CLK3", 1313 "DMIC_DATA3", 1194 "DMIC_DATA3", 1314 "I2C4_SDA", /* GPIO_160 */ 1195 "I2C4_SDA", /* GPIO_160 */ 1315 "I2C4_SCL", 1196 "I2C4_SCL", 1316 "SPI3_CS1", 1197 "SPI3_CS1", 1317 "SPI3_CS2", 1198 "SPI3_CS2", 1318 "SPI2_MISO_LS3", 1199 "SPI2_MISO_LS3", 1319 "SPI2_MOSI_LS3", 1200 "SPI2_MOSI_LS3", 1320 "SPI2_CLK_LS3", 1201 "SPI2_CLK_LS3", 1321 "SPI2_ACCEL_CS_LS3", 1202 "SPI2_ACCEL_CS_LS3", 1322 "SPI2_CS1", 1203 "SPI2_CS1", 1323 "NC", 1204 "NC", 1324 "GPIO-SS", /* GPIO_170 */ 1205 "GPIO-SS", /* GPIO_170 */ 1325 "GPIO-XX", 1206 "GPIO-XX", 1326 "SPI3_MISO", 1207 "SPI3_MISO", 1327 "SPI3_MOSI", 1208 "SPI3_MOSI", 1328 "SPI3_CLK", 1209 "SPI3_CLK", 1329 "SPI3_CS", 1210 "SPI3_CS", 1330 "HST_BLE_SNS_UART_TX", 1211 "HST_BLE_SNS_UART_TX", 1331 "HST_BLE_SNS_UART_RX", 1212 "HST_BLE_SNS_UART_RX", 1332 "HST_WLAN_UART_TX", 1213 "HST_WLAN_UART_TX", 1333 "HST_WLAN_UART_RX"; 1214 "HST_WLAN_UART_RX"; 1334 1215 1335 bt_en_state: bt-default-state { << 1336 pins = "gpio21"; << 1337 function = "gpio"; << 1338 drive-strength = <16>; << 1339 output-low; << 1340 bias-pull-up; << 1341 }; << 1342 << 1343 lt9611_irq_pin: lt9611-irq-state { 1216 lt9611_irq_pin: lt9611-irq-state { 1344 pins = "gpio63"; 1217 pins = "gpio63"; 1345 function = "gpio"; 1218 function = "gpio"; 1346 bias-disable; 1219 bias-disable; 1347 }; 1220 }; 1348 1221 1349 sdc2_default_state: sdc2-default-stat 1222 sdc2_default_state: sdc2-default-state { 1350 clk-pins { 1223 clk-pins { 1351 pins = "sdc2_clk"; 1224 pins = "sdc2_clk"; 1352 bias-disable; 1225 bias-disable; 1353 drive-strength = <16> 1226 drive-strength = <16>; 1354 }; 1227 }; 1355 1228 1356 cmd-pins { 1229 cmd-pins { 1357 pins = "sdc2_cmd"; 1230 pins = "sdc2_cmd"; 1358 bias-pull-up; 1231 bias-pull-up; 1359 drive-strength = <10> 1232 drive-strength = <10>; 1360 }; 1233 }; 1361 1234 1362 data-pins { 1235 data-pins { 1363 pins = "sdc2_data"; 1236 pins = "sdc2_data"; 1364 bias-pull-up; 1237 bias-pull-up; 1365 drive-strength = <10> 1238 drive-strength = <10>; 1366 }; 1239 }; 1367 }; 1240 }; 1368 1241 1369 sdc2_card_det_n: sd-card-det-n-state 1242 sdc2_card_det_n: sd-card-det-n-state { 1370 pins = "gpio77"; 1243 pins = "gpio77"; 1371 function = "gpio"; 1244 function = "gpio"; 1372 bias-pull-up; 1245 bias-pull-up; 1373 }; 1246 }; 1374 << 1375 wlan_en_state: wlan-default-state { << 1376 pins = "gpio20"; << 1377 function = "gpio"; << 1378 drive-strength = <16>; << 1379 output-low; << 1380 bias-pull-up; << 1381 }; << 1382 }; << 1383 << 1384 &uart6 { << 1385 status = "okay"; << 1386 << 1387 bluetooth { << 1388 compatible = "qcom,qca6390-bt << 1389 << 1390 vddrfacmn-supply = <&vreg_pmu << 1391 vddaon-supply = <&vreg_pmu_ao << 1392 vddbtcmx-supply = <&vreg_pmu_ << 1393 vddrfa0p8-supply = <&vreg_pmu << 1394 vddrfa1p2-supply = <&vreg_pmu << 1395 vddrfa1p7-supply = <&vreg_pmu << 1396 }; << 1397 }; 1247 }; 1398 1248 1399 &uart12 { 1249 &uart12 { 1400 status = "okay"; 1250 status = "okay"; 1401 }; 1251 }; 1402 1252 1403 &ufs_mem_hc { 1253 &ufs_mem_hc { 1404 status = "okay"; 1254 status = "okay"; 1405 1255 1406 vcc-supply = <&vreg_l17a_3p0>; 1256 vcc-supply = <&vreg_l17a_3p0>; 1407 vcc-max-microamp = <800000>; 1257 vcc-max-microamp = <800000>; 1408 vccq-supply = <&vreg_l6a_1p2>; 1258 vccq-supply = <&vreg_l6a_1p2>; 1409 vccq-max-microamp = <800000>; 1259 vccq-max-microamp = <800000>; 1410 vccq2-supply = <&vreg_s4a_1p8>; 1260 vccq2-supply = <&vreg_s4a_1p8>; 1411 vccq2-max-microamp = <800000>; 1261 vccq2-max-microamp = <800000>; 1412 }; 1262 }; 1413 1263 1414 &ufs_mem_phy { 1264 &ufs_mem_phy { 1415 status = "okay"; 1265 status = "okay"; 1416 1266 1417 vdda-phy-supply = <&vreg_l5a_0p88>; 1267 vdda-phy-supply = <&vreg_l5a_0p88>; 1418 vdda-pll-supply = <&vreg_l9a_1p2>; 1268 vdda-pll-supply = <&vreg_l9a_1p2>; 1419 }; 1269 }; 1420 1270 1421 &usb_1 { 1271 &usb_1 { 1422 status = "okay"; 1272 status = "okay"; 1423 }; 1273 }; 1424 1274 1425 &usb_1_dwc3 { 1275 &usb_1_dwc3 { 1426 dr_mode = "otg"; !! 1276 dr_mode = "peripheral"; 1427 usb-role-switch; << 1428 }; << 1429 << 1430 &usb_1_dwc3_hs_out { << 1431 remote-endpoint = <&pm8150b_hs_in>; << 1432 }; 1277 }; 1433 1278 1434 &usb_1_hsphy { 1279 &usb_1_hsphy { 1435 status = "okay"; 1280 status = "okay"; 1436 1281 1437 vdda-pll-supply = <&vreg_l5a_0p88>; 1282 vdda-pll-supply = <&vreg_l5a_0p88>; 1438 vdda33-supply = <&vreg_l2a_3p1>; 1283 vdda33-supply = <&vreg_l2a_3p1>; 1439 vdda18-supply = <&vreg_l12a_1p8>; 1284 vdda18-supply = <&vreg_l12a_1p8>; 1440 }; 1285 }; 1441 1286 1442 &usb_1_qmpphy { 1287 &usb_1_qmpphy { 1443 status = "okay"; 1288 status = "okay"; 1444 1289 1445 vdda-phy-supply = <&vreg_l9a_1p2>; 1290 vdda-phy-supply = <&vreg_l9a_1p2>; 1446 vdda-pll-supply = <&vreg_l18a_0p92>; 1291 vdda-pll-supply = <&vreg_l18a_0p92>; 1447 }; 1292 }; 1448 1293 1449 &usb_1_qmpphy_out { << 1450 remote-endpoint = <&redriver_phy_con_ << 1451 }; << 1452 << 1453 &usb_2 { 1294 &usb_2 { 1454 status = "okay"; 1295 status = "okay"; 1455 }; 1296 }; 1456 1297 1457 &usb_2_dwc3 { 1298 &usb_2_dwc3 { 1458 dr_mode = "host"; 1299 dr_mode = "host"; 1459 }; 1300 }; 1460 1301 1461 &usb_2_hsphy { 1302 &usb_2_hsphy { 1462 status = "okay"; 1303 status = "okay"; 1463 1304 1464 vdda-pll-supply = <&vreg_l5a_0p88>; 1305 vdda-pll-supply = <&vreg_l5a_0p88>; 1465 vdda33-supply = <&vreg_l2a_3p1>; 1306 vdda33-supply = <&vreg_l2a_3p1>; 1466 vdda18-supply = <&vreg_l12a_1p8>; 1307 vdda18-supply = <&vreg_l12a_1p8>; 1467 }; 1308 }; 1468 1309 1469 &usb_2_qmpphy { 1310 &usb_2_qmpphy { 1470 status = "okay"; 1311 status = "okay"; 1471 1312 1472 vdda-phy-supply = <&vreg_l9a_1p2>; 1313 vdda-phy-supply = <&vreg_l9a_1p2>; 1473 vdda-pll-supply = <&vreg_l18a_0p92>; 1314 vdda-pll-supply = <&vreg_l18a_0p92>; 1474 }; 1315 }; 1475 1316 1476 &vamacro { 1317 &vamacro { 1477 pinctrl-0 = <&dmic01_active>; 1318 pinctrl-0 = <&dmic01_active>; 1478 pinctrl-names = "default"; 1319 pinctrl-names = "default"; 1479 vdd-micb-supply = <&vreg_s4a_1p8>; 1320 vdd-micb-supply = <&vreg_s4a_1p8>; 1480 qcom,dmic-sample-rate = <600000>; 1321 qcom,dmic-sample-rate = <600000>; 1481 }; 1322 }; 1482 1323 1483 &venus { 1324 &venus { 1484 status = "okay"; 1325 status = "okay"; 1485 }; 1326 }; 1486 1327 1487 &wsamacro { 1328 &wsamacro { 1488 status = "okay"; 1329 status = "okay"; 1489 }; 1330 }; 1490 1331 1491 /* PINCTRL - additions to nodes defined in sm 1332 /* PINCTRL - additions to nodes defined in sm8250.dtsi */ 1492 &qup_spi0_cs_gpio { 1333 &qup_spi0_cs_gpio { 1493 drive-strength = <6>; 1334 drive-strength = <6>; 1494 bias-disable; 1335 bias-disable; 1495 }; 1336 }; 1496 1337 1497 &qup_spi0_data_clk { 1338 &qup_spi0_data_clk { 1498 drive-strength = <6>; 1339 drive-strength = <6>; 1499 bias-disable; 1340 bias-disable; 1500 }; << 1501 << 1502 &pm8150b_vbus { << 1503 regulator-min-microamp = <500000>; << 1504 regulator-max-microamp = <3000000>; << 1505 status = "okay"; << 1506 }; << 1507 << 1508 &pm8150b_typec { << 1509 status = "okay"; << 1510 << 1511 vdd-pdphy-supply = <&vreg_l2a_3p1>; << 1512 << 1513 connector { << 1514 compatible = "usb-c-connector << 1515 << 1516 power-role = "source"; << 1517 data-role = "dual"; << 1518 self-powered; << 1519 << 1520 source-pdos = <PDO_FIXED(5000 << 1521 PDO_ << 1522 PDO_ << 1523 PDO_ << 1524 << 1525 altmodes { << 1526 displayport { << 1527 svid = /bits/ << 1528 vdo = <0x0000 << 1529 }; << 1530 }; << 1531 << 1532 ports { << 1533 #address-cells = <1>; << 1534 #size-cells = <0>; << 1535 << 1536 port@0 { << 1537 reg = <0>; << 1538 pm8150b_hs_in << 1539 remot << 1540 }; << 1541 }; << 1542 << 1543 port@1 { << 1544 reg = <1>; << 1545 pm8150b_typec << 1546 remot << 1547 }; << 1548 }; << 1549 << 1550 port@2 { << 1551 reg = <2>; << 1552 << 1553 pm8150b_typec << 1554 remot << 1555 }; << 1556 }; << 1557 }; << 1558 }; << 1559 }; << 1560 << 1561 &usb_1_qmpphy_dp_in { << 1562 remote-endpoint = <&mdss_dp_out>; << 1563 }; 1341 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.