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