1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* 2 /* 3 * Copyright (c) 2023, Linaro Ltd 3 * Copyright (c) 2023, 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 "qcm2290.dtsi" 9 #include "qcm2290.dtsi" 10 #include "pm4125.dtsi" 10 #include "pm4125.dtsi" 11 11 12 / { 12 / { 13 model = "Qualcomm Technologies, Inc. R 13 model = "Qualcomm Technologies, Inc. Robotics RB1"; 14 compatible = "qcom,qrb2210-rb1", "qcom 14 compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290"; 15 15 16 aliases { 16 aliases { 17 serial0 = &uart4; 17 serial0 = &uart4; 18 sdhc1 = &sdhc_1; 18 sdhc1 = &sdhc_1; 19 sdhc2 = &sdhc_2; 19 sdhc2 = &sdhc_2; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 stdout-path = "serial0:115200n 23 stdout-path = "serial0:115200n8"; 24 }; 24 }; 25 25 26 clocks { 26 clocks { 27 clk40M: can-clk { 27 clk40M: can-clk { 28 compatible = "fixed-cl 28 compatible = "fixed-clock"; 29 clock-frequency = <400 29 clock-frequency = <40000000>; 30 #clock-cells = <0>; 30 #clock-cells = <0>; 31 }; 31 }; 32 }; 32 }; 33 33 34 gpio-keys { 34 gpio-keys { 35 compatible = "gpio-keys"; 35 compatible = "gpio-keys"; 36 label = "gpio-keys"; 36 label = "gpio-keys"; 37 37 38 pinctrl-0 = <&key_volp_n>; 38 pinctrl-0 = <&key_volp_n>; 39 pinctrl-names = "default"; 39 pinctrl-names = "default"; 40 40 41 key-volume-up { 41 key-volume-up { 42 label = "Volume Up"; 42 label = "Volume Up"; 43 linux,code = <KEY_VOLU 43 linux,code = <KEY_VOLUMEUP>; 44 gpios = <&tlmm 96 GPIO 44 gpios = <&tlmm 96 GPIO_ACTIVE_LOW>; 45 debounce-interval = <1 45 debounce-interval = <15>; 46 linux,can-disable; 46 linux,can-disable; 47 wakeup-source; 47 wakeup-source; 48 }; 48 }; 49 }; 49 }; 50 50 51 hdmi-connector { 51 hdmi-connector { 52 compatible = "hdmi-connector"; 52 compatible = "hdmi-connector"; 53 type = "a"; 53 type = "a"; 54 54 55 port { 55 port { 56 hdmi_con: endpoint { 56 hdmi_con: endpoint { 57 remote-endpoin 57 remote-endpoint = <<9611_out>; 58 }; 58 }; 59 }; 59 }; 60 }; 60 }; 61 61 62 i2c2_gpio: i2c { << 63 compatible = "i2c-gpio"; << 64 << 65 sda-gpios = <&tlmm 6 GPIO_ACTI << 66 scl-gpios = <&tlmm 7 GPIO_ACTI << 67 #address-cells = <1>; << 68 #size-cells = <0>; << 69 << 70 status = "disabled"; << 71 }; << 72 << 73 leds { 62 leds { 74 compatible = "gpio-leds"; 63 compatible = "gpio-leds"; 75 64 76 led-bt { 65 led-bt { 77 label = "blue:bt"; 66 label = "blue:bt"; 78 function = LED_FUNCTIO 67 function = LED_FUNCTION_BLUETOOTH; 79 color = <LED_COLOR_ID_ 68 color = <LED_COLOR_ID_BLUE>; 80 gpios = <&tlmm 45 GPIO 69 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; 81 linux,default-trigger 70 linux,default-trigger = "bluetooth-power"; 82 default-state = "off"; 71 default-state = "off"; 83 }; 72 }; 84 73 85 led-user0 { 74 led-user0 { 86 label = "green:user0"; 75 label = "green:user0"; 87 function = LED_FUNCTIO 76 function = LED_FUNCTION_INDICATOR; 88 color = <LED_COLOR_ID_ 77 color = <LED_COLOR_ID_GREEN>; 89 gpios = <&tlmm 52 GPIO 78 gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 90 linux,default-trigger 79 linux,default-trigger = "none"; 91 default-state = "off"; 80 default-state = "off"; 92 panic-indicator; 81 panic-indicator; 93 }; 82 }; 94 83 95 led-wlan { 84 led-wlan { 96 label = "yellow:wlan"; 85 label = "yellow:wlan"; 97 function = LED_FUNCTIO 86 function = LED_FUNCTION_WLAN; 98 color = <LED_COLOR_ID_ 87 color = <LED_COLOR_ID_YELLOW>; 99 gpios = <&tlmm 47 GPIO 88 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; 100 linux,default-trigger 89 linux,default-trigger = "phy0tx"; 101 default-state = "off"; 90 default-state = "off"; 102 }; 91 }; 103 }; 92 }; 104 93 105 vreg_hdmi_out_1p2: regulator-hdmi-out- 94 vreg_hdmi_out_1p2: regulator-hdmi-out-1p2 { 106 compatible = "regulator-fixed" 95 compatible = "regulator-fixed"; 107 regulator-name = "VREG_HDMI_OU 96 regulator-name = "VREG_HDMI_OUT_1P2"; 108 regulator-min-microvolt = <120 97 regulator-min-microvolt = <1200000>; 109 regulator-max-microvolt = <120 98 regulator-max-microvolt = <1200000>; 110 vin-supply = <&vdc_1v2>; 99 vin-supply = <&vdc_1v2>; 111 regulator-always-on; 100 regulator-always-on; 112 regulator-boot-on; 101 regulator-boot-on; 113 }; 102 }; 114 103 115 lt9611_3v3: regulator-lt9611-3v3 { 104 lt9611_3v3: regulator-lt9611-3v3 { 116 compatible = "regulator-fixed" 105 compatible = "regulator-fixed"; 117 regulator-name = "LT9611_3V3"; 106 regulator-name = "LT9611_3V3"; 118 regulator-min-microvolt = <330 107 regulator-min-microvolt = <3300000>; 119 regulator-max-microvolt = <330 108 regulator-max-microvolt = <3300000>; 120 vin-supply = <&vdc_3v3>; 109 vin-supply = <&vdc_3v3>; 121 regulator-always-on; 110 regulator-always-on; 122 regulator-boot-on; 111 regulator-boot-on; 123 }; 112 }; 124 113 125 /* Main barrel jack input */ 114 /* Main barrel jack input */ 126 vdc_12v: regulator-vdc-12v { 115 vdc_12v: regulator-vdc-12v { 127 compatible = "regulator-fixed" 116 compatible = "regulator-fixed"; 128 regulator-name = "DC_12V"; 117 regulator-name = "DC_12V"; 129 regulator-min-microvolt = <120 118 regulator-min-microvolt = <12000000>; 130 regulator-max-microvolt = <120 119 regulator-max-microvolt = <12000000>; 131 regulator-always-on; 120 regulator-always-on; 132 regulator-boot-on; 121 regulator-boot-on; 133 }; 122 }; 134 123 135 /* 1.2V supply stepped down from the b 124 /* 1.2V supply stepped down from the barrel jack input */ 136 vdc_1v2: regulator-vdc-1v2 { 125 vdc_1v2: regulator-vdc-1v2 { 137 compatible = "regulator-fixed" 126 compatible = "regulator-fixed"; 138 regulator-name = "VDC_1V2"; 127 regulator-name = "VDC_1V2"; 139 regulator-min-microvolt = <120 128 regulator-min-microvolt = <1200000>; 140 regulator-max-microvolt = <120 129 regulator-max-microvolt = <1200000>; 141 vin-supply = <&vdc_12v>; 130 vin-supply = <&vdc_12v>; 142 regulator-always-on; 131 regulator-always-on; 143 regulator-boot-on; 132 regulator-boot-on; 144 }; 133 }; 145 134 146 /* 3.3V supply stepped down from the b 135 /* 3.3V supply stepped down from the barrel jack input */ 147 vdc_3v3: regulator-vdc-3v3 { 136 vdc_3v3: regulator-vdc-3v3 { 148 compatible = "regulator-fixed" 137 compatible = "regulator-fixed"; 149 regulator-name = "VDC_3V3"; 138 regulator-name = "VDC_3V3"; 150 regulator-min-microvolt = <330 139 regulator-min-microvolt = <3300000>; 151 regulator-max-microvolt = <330 140 regulator-max-microvolt = <3300000>; 152 vin-supply = <&vdc_12v>; 141 vin-supply = <&vdc_12v>; 153 regulator-always-on; 142 regulator-always-on; 154 regulator-boot-on; 143 regulator-boot-on; 155 }; 144 }; 156 145 157 /* 5V supply stepped down from the bar 146 /* 5V supply stepped down from the barrel jack input */ 158 vdc_5v: regulator-vdc-5v { 147 vdc_5v: regulator-vdc-5v { 159 compatible = "regulator-fixed" 148 compatible = "regulator-fixed"; 160 regulator-name = "VDC_5V"; 149 regulator-name = "VDC_5V"; 161 150 162 regulator-min-microvolt = <500 151 regulator-min-microvolt = <5000000>; 163 regulator-max-microvolt = <500 152 regulator-max-microvolt = <5000000>; 164 regulator-always-on; 153 regulator-always-on; 165 regulator-boot-on; 154 regulator-boot-on; 166 }; 155 }; 167 156 168 /* "Battery" voltage for the SoM, step 157 /* "Battery" voltage for the SoM, stepped down from the barrel jack input */ 169 vdc_vbat_som: regulator-vdc-vbat { 158 vdc_vbat_som: regulator-vdc-vbat { 170 compatible = "regulator-fixed" 159 compatible = "regulator-fixed"; 171 regulator-name = "VBAT_SOM"; 160 regulator-name = "VBAT_SOM"; 172 regulator-min-microvolt = <420 161 regulator-min-microvolt = <4200000>; 173 regulator-max-microvolt = <420 162 regulator-max-microvolt = <4200000>; 174 regulator-always-on; 163 regulator-always-on; 175 regulator-boot-on; 164 regulator-boot-on; 176 }; 165 }; 177 166 178 /* PM2250 charger out, supplied by VBA 167 /* PM2250 charger out, supplied by VBAT */ 179 vph_pwr: regulator-vph-pwr { 168 vph_pwr: regulator-vph-pwr { 180 compatible = "regulator-fixed" 169 compatible = "regulator-fixed"; 181 regulator-name = "vph_pwr"; 170 regulator-name = "vph_pwr"; 182 regulator-min-microvolt = <370 171 regulator-min-microvolt = <3700000>; 183 regulator-max-microvolt = <370 172 regulator-max-microvolt = <3700000>; 184 vin-supply = <&vdc_vbat_som>; 173 vin-supply = <&vdc_vbat_som>; 185 174 186 regulator-always-on; 175 regulator-always-on; 187 regulator-boot-on; 176 regulator-boot-on; 188 }; 177 }; 189 }; 178 }; 190 179 191 &CPU_PD0 { 180 &CPU_PD0 { 192 /delete-property/ power-domains; 181 /delete-property/ power-domains; 193 }; 182 }; 194 183 195 &CPU_PD1 { 184 &CPU_PD1 { 196 /delete-property/ power-domains; 185 /delete-property/ power-domains; 197 }; 186 }; 198 187 199 &CPU_PD2 { 188 &CPU_PD2 { 200 /delete-property/ power-domains; 189 /delete-property/ power-domains; 201 }; 190 }; 202 191 203 &CPU_PD3 { 192 &CPU_PD3 { 204 /delete-property/ power-domains; 193 /delete-property/ power-domains; 205 }; 194 }; 206 195 207 /delete-node/ &CLUSTER_PD; 196 /delete-node/ &CLUSTER_PD; 208 197 209 &gpi_dma0 { 198 &gpi_dma0 { 210 status = "okay"; 199 status = "okay"; 211 }; 200 }; 212 201 213 &gpu { !! 202 &i2c2 { 214 status = "okay"; << 215 << 216 zap-shader { << 217 firmware-name = "qcom/qcm2290/ << 218 }; << 219 }; << 220 << 221 &i2c2_gpio { << 222 clock-frequency = <400000>; 203 clock-frequency = <400000>; 223 status = "okay"; 204 status = "okay"; 224 205 225 lt9611_codec: hdmi-bridge@2b { 206 lt9611_codec: hdmi-bridge@2b { 226 compatible = "lontium,lt9611ux 207 compatible = "lontium,lt9611uxc"; 227 reg = <0x2b>; 208 reg = <0x2b>; 228 interrupts-extended = <&tlmm 4 209 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>; 229 reset-gpios = <&tlmm 41 GPIO_A 210 reset-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; 230 211 231 vdd-supply = <&vreg_hdmi_out_1 212 vdd-supply = <&vreg_hdmi_out_1p2>; 232 vcc-supply = <<9611_3v3>; 213 vcc-supply = <<9611_3v3>; 233 214 234 pinctrl-0 = <<9611_irq_pin & 215 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 235 pinctrl-names = "default"; 216 pinctrl-names = "default"; 236 #sound-dai-cells = <1>; 217 #sound-dai-cells = <1>; 237 218 238 ports { 219 ports { 239 #address-cells = <1>; 220 #address-cells = <1>; 240 #size-cells = <0>; 221 #size-cells = <0>; 241 222 242 port@0 { 223 port@0 { 243 reg = <0>; 224 reg = <0>; 244 225 245 lt9611_a: endp 226 lt9611_a: endpoint { 246 remote 227 remote-endpoint = <&mdss_dsi0_out>; 247 }; 228 }; 248 }; 229 }; 249 230 250 port@2 { 231 port@2 { 251 reg = <2>; 232 reg = <2>; 252 233 253 lt9611_out: en 234 lt9611_out: endpoint { 254 remote 235 remote-endpoint = <&hdmi_con>; 255 }; 236 }; 256 }; 237 }; 257 }; 238 }; 258 }; 239 }; 259 }; 240 }; 260 241 261 &mdss { 242 &mdss { 262 status = "okay"; 243 status = "okay"; 263 }; 244 }; 264 245 265 &mdss_dsi0 { 246 &mdss_dsi0 { 266 vdda-supply = <&pm4125_l5>; 247 vdda-supply = <&pm4125_l5>; 267 status = "okay"; 248 status = "okay"; 268 }; 249 }; 269 250 270 &mdss_dsi0_out { 251 &mdss_dsi0_out { 271 remote-endpoint = <<9611_a>; 252 remote-endpoint = <<9611_a>; 272 data-lanes = <0 1 2 3>; 253 data-lanes = <0 1 2 3>; 273 }; 254 }; 274 255 275 &mdss_dsi0_phy { 256 &mdss_dsi0_phy { 276 status = "okay"; 257 status = "okay"; 277 }; 258 }; 278 259 279 &pm4125_resin { 260 &pm4125_resin { 280 linux,code = <KEY_VOLUMEDOWN>; 261 linux,code = <KEY_VOLUMEDOWN>; 281 status = "okay"; 262 status = "okay"; 282 }; 263 }; 283 264 284 &pm4125_typec { << 285 status = "okay"; << 286 << 287 connector { << 288 compatible = "usb-c-connector" << 289 << 290 power-role = "dual"; << 291 data-role = "dual"; << 292 self-powered; << 293 << 294 typec-power-opmode = "default" << 295 pd-disable; << 296 << 297 ports { << 298 #address-cells = <1>; << 299 #size-cells = <0>; << 300 << 301 port@0 { << 302 reg = <0>; << 303 pm4125_hs_in: << 304 remote << 305 }; << 306 }; << 307 << 308 port@1 { << 309 reg = <1>; << 310 pm4125_ss_in: << 311 remote << 312 }; << 313 }; << 314 }; << 315 }; << 316 }; << 317 << 318 &pm4125_vbus { << 319 regulator-min-microamp = <500000>; << 320 regulator-max-microamp = <500000>; << 321 status = "okay"; << 322 }; << 323 << 324 &qupv3_id_0 { 265 &qupv3_id_0 { 325 status = "okay"; 266 status = "okay"; 326 }; 267 }; 327 268 328 &remoteproc_adsp { 269 &remoteproc_adsp { 329 firmware-name = "qcom/qcm2290/adsp.mbn 270 firmware-name = "qcom/qcm2290/adsp.mbn"; 330 status = "okay"; 271 status = "okay"; 331 }; 272 }; 332 273 333 &remoteproc_mpss { 274 &remoteproc_mpss { 334 firmware-name = "qcom/qcm2290/modem.mb 275 firmware-name = "qcom/qcm2290/modem.mbn"; 335 status = "okay"; 276 status = "okay"; 336 }; 277 }; 337 278 338 &rpm_requests { 279 &rpm_requests { 339 regulators { 280 regulators { 340 compatible = "qcom,rpm-pm2250- 281 compatible = "qcom,rpm-pm2250-regulators"; 341 vdd_s3-supply = <&vph_pwr>; 282 vdd_s3-supply = <&vph_pwr>; 342 vdd_s4-supply = <&vph_pwr>; 283 vdd_s4-supply = <&vph_pwr>; 343 vdd_l1_l2_l3_l5_l6_l7_l8_l9_l1 284 vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply = <&pm4125_s3>; 344 vdd_l4_l17_l18_l19_l20_l21_l22 285 vdd_l4_l17_l18_l19_l20_l21_l22-supply = <&vph_pwr>; 345 vdd_l13_l14_l15_l16-supply = < 286 vdd_l13_l14_l15_l16-supply = <&pm4125_s4>; 346 287 347 /* 288 /* 348 * S1 - VDD_APC 289 * S1 - VDD_APC 349 * S2 - VDD_CX 290 * S2 - VDD_CX 350 */ 291 */ 351 292 352 pm4125_s3: s3 { 293 pm4125_s3: s3 { 353 /* 0.4V-1.6625V -> 1.3 294 /* 0.4V-1.6625V -> 1.3V (Power tree requirements) */ 354 regulator-min-microvol 295 regulator-min-microvolt = <1352000>; 355 regulator-max-microvol 296 regulator-max-microvolt = <1352000>; 356 regulator-boot-on; 297 regulator-boot-on; 357 }; 298 }; 358 299 359 pm4125_s4: s4 { 300 pm4125_s4: s4 { 360 /* 1.2V-2.35V -> 2.05V 301 /* 1.2V-2.35V -> 2.05V (Power tree requirements) */ 361 regulator-min-microvol 302 regulator-min-microvolt = <2072000>; 362 regulator-max-microvol 303 regulator-max-microvolt = <2072000>; 363 regulator-boot-on; 304 regulator-boot-on; 364 }; 305 }; 365 306 366 /* L1 - VDD_MX */ 307 /* L1 - VDD_MX */ 367 308 368 pm4125_l2: l2 { 309 pm4125_l2: l2 { 369 /* LPDDR4X VDD2 */ 310 /* LPDDR4X VDD2 */ 370 regulator-min-microvol 311 regulator-min-microvolt = <1136000>; 371 regulator-max-microvol 312 regulator-max-microvolt = <1136000>; 372 regulator-always-on; 313 regulator-always-on; 373 regulator-boot-on; 314 regulator-boot-on; 374 }; 315 }; 375 316 376 pm4125_l3: l3 { 317 pm4125_l3: l3 { 377 /* LPDDR4X VDDQ */ 318 /* LPDDR4X VDDQ */ 378 regulator-min-microvol 319 regulator-min-microvolt = <616000>; 379 regulator-max-microvol 320 regulator-max-microvolt = <616000>; 380 regulator-always-on; 321 regulator-always-on; 381 regulator-boot-on; 322 regulator-boot-on; 382 }; 323 }; 383 324 384 pm4125_l4: l4 { 325 pm4125_l4: l4 { 385 /* max = 3.05V -> max 326 /* max = 3.05V -> max = 2.7 to disable 3V signaling (SDHCI2) */ 386 regulator-min-microvol 327 regulator-min-microvolt = <1800000>; 387 regulator-max-microvol 328 regulator-max-microvolt = <2700000>; 388 regulator-allow-set-lo 329 regulator-allow-set-load; 389 }; 330 }; 390 331 391 pm4125_l5: l5 { 332 pm4125_l5: l5 { 392 /* CSI/DSI */ 333 /* CSI/DSI */ 393 regulator-min-microvol 334 regulator-min-microvolt = <1232000>; 394 regulator-max-microvol 335 regulator-max-microvolt = <1232000>; 395 regulator-allow-set-lo 336 regulator-allow-set-load; 396 regulator-boot-on; 337 regulator-boot-on; 397 }; 338 }; 398 339 399 pm4125_l6: l6 { 340 pm4125_l6: l6 { 400 /* DRAM PLL */ 341 /* DRAM PLL */ 401 regulator-min-microvol 342 regulator-min-microvolt = <928000>; 402 regulator-max-microvol 343 regulator-max-microvolt = <928000>; 403 regulator-always-on; 344 regulator-always-on; 404 regulator-boot-on; 345 regulator-boot-on; 405 }; 346 }; 406 347 407 pm4125_l7: l7 { 348 pm4125_l7: l7 { 408 /* Wi-Fi CX/MX */ 349 /* Wi-Fi CX/MX */ 409 regulator-min-microvol 350 regulator-min-microvolt = <664000>; 410 regulator-max-microvol 351 regulator-max-microvolt = <664000>; 411 }; 352 }; 412 353 413 /* 354 /* 414 * L8 - VDD_LPI_CX 355 * L8 - VDD_LPI_CX 415 * L9 - VDD_LPI_MX 356 * L9 - VDD_LPI_MX 416 */ 357 */ 417 358 418 pm4125_l10: l10 { 359 pm4125_l10: l10 { 419 /* Wi-Fi RFA */ 360 /* Wi-Fi RFA */ 420 regulator-min-microvol 361 regulator-min-microvolt = <1304000>; 421 regulator-max-microvol 362 regulator-max-microvolt = <1304000>; 422 }; 363 }; 423 364 424 pm4125_l11: l11 { 365 pm4125_l11: l11 { 425 /* GPS RF1 */ 366 /* GPS RF1 */ 426 regulator-min-microvol 367 regulator-min-microvolt = <1000000>; 427 regulator-max-microvol 368 regulator-max-microvolt = <1000000>; 428 regulator-boot-on; 369 regulator-boot-on; 429 }; 370 }; 430 371 431 pm4125_l12: l12 { 372 pm4125_l12: l12 { 432 /* USB PHYs */ 373 /* USB PHYs */ 433 regulator-min-microvol 374 regulator-min-microvolt = <928000>; 434 regulator-max-microvol 375 regulator-max-microvolt = <928000>; 435 regulator-allow-set-lo 376 regulator-allow-set-load; 436 regulator-boot-on; 377 regulator-boot-on; 437 }; 378 }; 438 379 439 pm4125_l13: l13 { 380 pm4125_l13: l13 { 440 /* USB/QFPROM/PLLs */ 381 /* USB/QFPROM/PLLs */ 441 regulator-min-microvol 382 regulator-min-microvolt = <1800000>; 442 regulator-max-microvol 383 regulator-max-microvolt = <1800000>; 443 regulator-allow-set-lo 384 regulator-allow-set-load; 444 regulator-boot-on; 385 regulator-boot-on; 445 }; 386 }; 446 387 447 pm4125_l14: l14 { 388 pm4125_l14: l14 { 448 /* SDHCI1 VQMMC */ 389 /* SDHCI1 VQMMC */ 449 regulator-min-microvol 390 regulator-min-microvolt = <1800000>; 450 regulator-max-microvol 391 regulator-max-microvolt = <1800000>; 451 regulator-allow-set-lo 392 regulator-allow-set-load; 452 /* Broken hardware, ne 393 /* Broken hardware, never turn it off! */ 453 regulator-always-on; 394 regulator-always-on; 454 }; 395 }; 455 396 456 pm4125_l15: l15 { 397 pm4125_l15: l15 { 457 /* WCD/DSI/BT VDDIO */ 398 /* WCD/DSI/BT VDDIO */ 458 regulator-min-microvol 399 regulator-min-microvolt = <1800000>; 459 regulator-max-microvol 400 regulator-max-microvolt = <1800000>; 460 regulator-allow-set-lo 401 regulator-allow-set-load; 461 regulator-always-on; 402 regulator-always-on; 462 regulator-boot-on; 403 regulator-boot-on; 463 }; 404 }; 464 405 465 pm4125_l16: l16 { 406 pm4125_l16: l16 { 466 /* GPS RF2 */ 407 /* GPS RF2 */ 467 regulator-min-microvol 408 regulator-min-microvolt = <1800000>; 468 regulator-max-microvol 409 regulator-max-microvolt = <1800000>; 469 regulator-boot-on; 410 regulator-boot-on; 470 }; 411 }; 471 412 472 pm4125_l17: l17 { 413 pm4125_l17: l17 { 473 regulator-min-microvol 414 regulator-min-microvolt = <3000000>; 474 regulator-max-microvol 415 regulator-max-microvolt = <3000000>; 475 }; 416 }; 476 417 477 pm4125_l18: l18 { 418 pm4125_l18: l18 { 478 /* VDD_PXn */ 419 /* VDD_PXn */ 479 regulator-min-microvol 420 regulator-min-microvolt = <1800000>; 480 regulator-max-microvol 421 regulator-max-microvolt = <1800000>; 481 }; 422 }; 482 423 483 pm4125_l19: l19 { 424 pm4125_l19: l19 { 484 /* VDD_PXn */ 425 /* VDD_PXn */ 485 regulator-min-microvol 426 regulator-min-microvolt = <1800000>; 486 regulator-max-microvol 427 regulator-max-microvolt = <1800000>; 487 }; 428 }; 488 429 489 pm4125_l20: l20 { 430 pm4125_l20: l20 { 490 /* SDHCI1 VMMC */ 431 /* SDHCI1 VMMC */ 491 regulator-min-microvol 432 regulator-min-microvolt = <2400000>; 492 regulator-max-microvol 433 regulator-max-microvolt = <3600000>; 493 regulator-allow-set-lo 434 regulator-allow-set-load; 494 }; 435 }; 495 436 496 pm4125_l21: l21 { 437 pm4125_l21: l21 { 497 /* SDHCI2 VMMC */ 438 /* SDHCI2 VMMC */ 498 regulator-min-microvol 439 regulator-min-microvolt = <2960000>; 499 regulator-max-microvol 440 regulator-max-microvolt = <3300000>; 500 regulator-allow-set-lo 441 regulator-allow-set-load; 501 regulator-boot-on; 442 regulator-boot-on; 502 }; 443 }; 503 444 504 pm4125_l22: l22 { 445 pm4125_l22: l22 { 505 /* Wi-Fi */ 446 /* Wi-Fi */ 506 regulator-min-microvol 447 regulator-min-microvolt = <3312000>; 507 regulator-max-microvol 448 regulator-max-microvolt = <3312000>; 508 }; 449 }; 509 }; 450 }; 510 }; 451 }; 511 452 512 &sdhc_1 { 453 &sdhc_1 { 513 vmmc-supply = <&pm4125_l20>; 454 vmmc-supply = <&pm4125_l20>; 514 vqmmc-supply = <&pm4125_l14>; 455 vqmmc-supply = <&pm4125_l14>; 515 pinctrl-0 = <&sdc1_state_on>; 456 pinctrl-0 = <&sdc1_state_on>; 516 pinctrl-1 = <&sdc1_state_off>; 457 pinctrl-1 = <&sdc1_state_off>; 517 pinctrl-names = "default", "sleep"; 458 pinctrl-names = "default", "sleep"; 518 non-removable; 459 non-removable; 519 supports-cqe; 460 supports-cqe; 520 no-sdio; 461 no-sdio; 521 no-sd; 462 no-sd; 522 status = "okay"; 463 status = "okay"; 523 }; 464 }; 524 465 525 &sdhc_2 { 466 &sdhc_2 { 526 vmmc-supply = <&pm4125_l21>; 467 vmmc-supply = <&pm4125_l21>; 527 vqmmc-supply = <&pm4125_l4>; 468 vqmmc-supply = <&pm4125_l4>; 528 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; 469 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; 529 pinctrl-0 = <&sdc2_state_on &sd_det_in 470 pinctrl-0 = <&sdc2_state_on &sd_det_in_on>; 530 pinctrl-1 = <&sdc2_state_off &sd_det_i 471 pinctrl-1 = <&sdc2_state_off &sd_det_in_off>; 531 pinctrl-names = "default", "sleep"; 472 pinctrl-names = "default", "sleep"; 532 no-sdio; 473 no-sdio; 533 no-mmc; 474 no-mmc; 534 status = "okay"; 475 status = "okay"; 535 }; 476 }; 536 477 537 &spi5 { 478 &spi5 { 538 status = "okay"; 479 status = "okay"; 539 480 540 can@0 { 481 can@0 { 541 compatible = "microchip,mcp251 482 compatible = "microchip,mcp2518fd"; 542 reg = <0>; 483 reg = <0>; 543 interrupts-extended = <&tlmm 3 484 interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>; 544 clocks = <&clk40M>; 485 clocks = <&clk40M>; 545 spi-max-frequency = <10000000> 486 spi-max-frequency = <10000000>; 546 vdd-supply = <&vdc_5v>; 487 vdd-supply = <&vdc_5v>; 547 xceiver-supply = <&vdc_5v>; 488 xceiver-supply = <&vdc_5v>; 548 }; 489 }; 549 }; 490 }; 550 491 551 &tlmm { 492 &tlmm { 552 lt9611_rst_pin: lt9611-rst-state { 493 lt9611_rst_pin: lt9611-rst-state { 553 pins = "gpio41"; 494 pins = "gpio41"; 554 function = "gpio"; 495 function = "gpio"; 555 input-disable; 496 input-disable; 556 output-high; 497 output-high; 557 }; 498 }; 558 499 559 lt9611_irq_pin: lt9611-irq-state { 500 lt9611_irq_pin: lt9611-irq-state { 560 pins = "gpio46"; 501 pins = "gpio46"; 561 function = "gpio"; 502 function = "gpio"; 562 bias-disable; 503 bias-disable; 563 }; 504 }; 564 505 565 sd_det_in_on: sd-det-in-on-state { 506 sd_det_in_on: sd-det-in-on-state { 566 pins = "gpio88"; 507 pins = "gpio88"; 567 function = "gpio"; 508 function = "gpio"; 568 drive-strength = <2>; 509 drive-strength = <2>; 569 bias-pull-up; 510 bias-pull-up; 570 }; 511 }; 571 512 572 sd_det_in_off: sd-det-in-off-state { 513 sd_det_in_off: sd-det-in-off-state { 573 pins = "gpio88"; 514 pins = "gpio88"; 574 function = "gpio"; 515 function = "gpio"; 575 drive-strength = <2>; 516 drive-strength = <2>; 576 bias-disable; 517 bias-disable; 577 }; 518 }; 578 519 579 key_volp_n: key-volp-n-state { 520 key_volp_n: key-volp-n-state { 580 pins = "gpio96"; 521 pins = "gpio96"; 581 function = "gpio"; 522 function = "gpio"; 582 bias-pull-up; 523 bias-pull-up; 583 output-disable; 524 output-disable; 584 }; 525 }; 585 }; 526 }; 586 527 587 /* UART connected to the Micro-USB port via a 528 /* UART connected to the Micro-USB port via a FTDI chip */ 588 &uart4 { 529 &uart4 { 589 compatible = "qcom,geni-debug-uart"; 530 compatible = "qcom,geni-debug-uart"; 590 status = "okay"; 531 status = "okay"; 591 }; 532 }; 592 533 593 &usb { 534 &usb { 594 status = "okay"; 535 status = "okay"; 595 }; 536 }; 596 537 597 &usb_dwc3_hs { !! 538 &usb_qmpphy { 598 remote-endpoint = <&pm4125_hs_in>; !! 539 vdda-phy-supply = <&pm4125_l12>; >> 540 vdda-pll-supply = <&pm4125_l13>; >> 541 status = "okay"; >> 542 }; >> 543 >> 544 &usb_dwc3 { >> 545 dr_mode = "host"; 599 }; 546 }; 600 547 601 &usb_hsphy { 548 &usb_hsphy { 602 vdd-supply = <&pm4125_l12>; 549 vdd-supply = <&pm4125_l12>; 603 vdda-pll-supply = <&pm4125_l13>; 550 vdda-pll-supply = <&pm4125_l13>; 604 vdda-phy-dpdm-supply = <&pm4125_l21>; 551 vdda-phy-dpdm-supply = <&pm4125_l21>; 605 status = "okay"; 552 status = "okay"; 606 }; 553 }; 607 554 608 &usb_qmpphy { << 609 vdda-phy-supply = <&pm4125_l12>; << 610 vdda-pll-supply = <&pm4125_l13>; << 611 status = "okay"; << 612 }; << 613 << 614 &usb_qmpphy_out { << 615 remote-endpoint = <&pm4125_ss_in>; << 616 }; << 617 << 618 &wifi { 555 &wifi { 619 vdd-0.8-cx-mx-supply = <&pm4125_l7>; 556 vdd-0.8-cx-mx-supply = <&pm4125_l7>; 620 vdd-1.8-xo-supply = <&pm4125_l13>; 557 vdd-1.8-xo-supply = <&pm4125_l13>; 621 vdd-1.3-rfa-supply = <&pm4125_l10>; 558 vdd-1.3-rfa-supply = <&pm4125_l10>; 622 vdd-3.3-ch0-supply = <&pm4125_l22>; 559 vdd-3.3-ch0-supply = <&pm4125_l22>; 623 qcom,ath10k-calibration-variant = "Thu 560 qcom,ath10k-calibration-variant = "Thundercomm_RB1"; 624 firmware-name = "qcm2290"; << 625 status = "okay"; 561 status = "okay"; 626 }; 562 }; 627 563 628 &xo_board { 564 &xo_board { 629 clock-frequency = <38400000>; 565 clock-frequency = <38400000>; 630 }; 566 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.