1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2023, Linaro Limited 3 * Copyright (c) 2023, Linaro Limited 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/usb/pd.h> << 10 #include "sm4250.dtsi" 9 #include "sm4250.dtsi" 11 #include "pm6125.dtsi" 10 #include "pm6125.dtsi" 12 #include "pmi632.dtsi" << 13 11 14 / { 12 / { 15 model = "Qualcomm Technologies, Inc. Q 13 model = "Qualcomm Technologies, Inc. QRB4210 RB2"; 16 compatible = "qcom,qrb4210-rb2", "qcom 14 compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250"; 17 15 18 aliases { 16 aliases { 19 serial0 = &uart4; 17 serial0 = &uart4; 20 serial1 = &uart3; 18 serial1 = &uart3; 21 }; 19 }; 22 20 23 chosen { 21 chosen { 24 stdout-path = "serial0:115200n 22 stdout-path = "serial0:115200n8"; 25 }; 23 }; 26 24 27 clocks { 25 clocks { 28 clk40M: can-clk { 26 clk40M: can-clk { 29 compatible = "fixed-cl 27 compatible = "fixed-clock"; 30 clock-frequency = <400 28 clock-frequency = <40000000>; 31 #clock-cells = <0>; 29 #clock-cells = <0>; 32 }; 30 }; 33 }; 31 }; 34 32 35 gpio-keys { 33 gpio-keys { 36 compatible = "gpio-keys"; 34 compatible = "gpio-keys"; 37 label = "gpio-keys"; 35 label = "gpio-keys"; 38 36 39 pinctrl-0 = <&kypd_vol_up_n>; 37 pinctrl-0 = <&kypd_vol_up_n>; 40 pinctrl-names = "default"; 38 pinctrl-names = "default"; 41 39 42 key-volume-up { 40 key-volume-up { 43 label = "Volume Up"; 41 label = "Volume Up"; 44 linux,code = <KEY_VOLU 42 linux,code = <KEY_VOLUMEUP>; 45 gpios = <&pm6125_gpios 43 gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>; 46 debounce-interval = <1 44 debounce-interval = <15>; 47 linux,can-disable; 45 linux,can-disable; 48 wakeup-source; 46 wakeup-source; 49 }; 47 }; 50 }; 48 }; 51 49 52 hdmi-connector { 50 hdmi-connector { 53 compatible = "hdmi-connector"; 51 compatible = "hdmi-connector"; 54 type = "a"; 52 type = "a"; 55 53 56 port { 54 port { 57 hdmi_con: endpoint { 55 hdmi_con: endpoint { 58 remote-endpoin 56 remote-endpoint = <<9611_out>; 59 }; 57 }; 60 }; 58 }; 61 }; 59 }; 62 60 63 i2c2_gpio: i2c { << 64 compatible = "i2c-gpio"; << 65 << 66 sda-gpios = <&tlmm 6 GPIO_ACTI << 67 scl-gpios = <&tlmm 7 GPIO_ACTI << 68 #address-cells = <1>; << 69 #size-cells = <0>; << 70 << 71 status = "disabled"; << 72 }; << 73 << 74 leds { 61 leds { 75 compatible = "gpio-leds"; 62 compatible = "gpio-leds"; 76 63 77 led-bt { 64 led-bt { 78 label = "blue:bt"; 65 label = "blue:bt"; 79 function = LED_FUNCTIO 66 function = LED_FUNCTION_BLUETOOTH; 80 color = <LED_COLOR_ID_ 67 color = <LED_COLOR_ID_BLUE>; 81 gpios = <&tlmm 45 GPIO 68 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; 82 linux,default-trigger 69 linux,default-trigger = "bluetooth-power"; 83 default-state = "off"; 70 default-state = "off"; 84 }; 71 }; 85 72 86 led-user0 { 73 led-user0 { 87 label = "green:user0"; 74 label = "green:user0"; 88 function = LED_FUNCTIO 75 function = LED_FUNCTION_INDICATOR; 89 color = <LED_COLOR_ID_ 76 color = <LED_COLOR_ID_GREEN>; 90 gpios = <&tlmm 52 GPIO 77 gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>; 91 linux,default-trigger 78 linux,default-trigger = "none"; 92 default-state = "off"; 79 default-state = "off"; 93 panic-indicator; 80 panic-indicator; 94 }; 81 }; 95 82 96 led-wlan { 83 led-wlan { 97 label = "yellow:wlan"; 84 label = "yellow:wlan"; 98 function = LED_FUNCTIO 85 function = LED_FUNCTION_WLAN; 99 color = <LED_COLOR_ID_ 86 color = <LED_COLOR_ID_YELLOW>; 100 gpios = <&tlmm 47 GPIO 87 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>; 101 linux,default-trigger 88 linux,default-trigger = "phy0tx"; 102 default-state = "off"; 89 default-state = "off"; 103 }; 90 }; 104 }; 91 }; 105 92 106 vreg_hdmi_out_1p2: regulator-hdmi-out- 93 vreg_hdmi_out_1p2: regulator-hdmi-out-1p2 { 107 compatible = "regulator-fixed" 94 compatible = "regulator-fixed"; 108 regulator-name = "VREG_HDMI_OU 95 regulator-name = "VREG_HDMI_OUT_1P2"; 109 regulator-min-microvolt = <120 96 regulator-min-microvolt = <1200000>; 110 regulator-max-microvolt = <120 97 regulator-max-microvolt = <1200000>; 111 vin-supply = <&vdc_1v2>; 98 vin-supply = <&vdc_1v2>; 112 regulator-always-on; 99 regulator-always-on; 113 regulator-boot-on; 100 regulator-boot-on; 114 }; 101 }; 115 102 116 lt9611_3v3: regulator-lt9611-3v3 { 103 lt9611_3v3: regulator-lt9611-3v3 { 117 compatible = "regulator-fixed" 104 compatible = "regulator-fixed"; 118 regulator-name = "LT9611_3V3"; 105 regulator-name = "LT9611_3V3"; 119 regulator-min-microvolt = <330 106 regulator-min-microvolt = <3300000>; 120 regulator-max-microvolt = <330 107 regulator-max-microvolt = <3300000>; 121 vin-supply = <&vdc_3v3>; 108 vin-supply = <&vdc_3v3>; 122 regulator-always-on; 109 regulator-always-on; 123 regulator-boot-on; 110 regulator-boot-on; 124 }; 111 }; 125 112 126 /* Main barrel jack input */ 113 /* Main barrel jack input */ 127 vdc_12v: regulator-vdc-12v { 114 vdc_12v: regulator-vdc-12v { 128 compatible = "regulator-fixed" 115 compatible = "regulator-fixed"; 129 regulator-name = "DC_12V"; 116 regulator-name = "DC_12V"; 130 regulator-min-microvolt = <120 117 regulator-min-microvolt = <12000000>; 131 regulator-max-microvolt = <120 118 regulator-max-microvolt = <12000000>; 132 regulator-always-on; 119 regulator-always-on; 133 regulator-boot-on; 120 regulator-boot-on; 134 }; 121 }; 135 122 136 /* 1.2V supply stepped down from the b 123 /* 1.2V supply stepped down from the barrel jack input */ 137 vdc_1v2: regulator-vdc-1v2 { 124 vdc_1v2: regulator-vdc-1v2 { 138 compatible = "regulator-fixed" 125 compatible = "regulator-fixed"; 139 regulator-name = "VDC_1V2"; 126 regulator-name = "VDC_1V2"; 140 regulator-min-microvolt = <120 127 regulator-min-microvolt = <1200000>; 141 regulator-max-microvolt = <120 128 regulator-max-microvolt = <1200000>; 142 vin-supply = <&vdc_12v>; 129 vin-supply = <&vdc_12v>; 143 regulator-always-on; 130 regulator-always-on; 144 regulator-boot-on; 131 regulator-boot-on; 145 }; 132 }; 146 133 147 /* 3.3V supply stepped down from the b 134 /* 3.3V supply stepped down from the barrel jack input */ 148 vdc_3v3: regulator-vdc-3v3 { 135 vdc_3v3: regulator-vdc-3v3 { 149 compatible = "regulator-fixed" 136 compatible = "regulator-fixed"; 150 regulator-name = "VDC_3V3"; 137 regulator-name = "VDC_3V3"; 151 regulator-min-microvolt = <330 138 regulator-min-microvolt = <3300000>; 152 regulator-max-microvolt = <330 139 regulator-max-microvolt = <3300000>; 153 vin-supply = <&vdc_12v>; 140 vin-supply = <&vdc_12v>; 154 regulator-always-on; 141 regulator-always-on; 155 regulator-boot-on; 142 regulator-boot-on; 156 }; 143 }; 157 144 158 /* 5V supply stepped down from the bar 145 /* 5V supply stepped down from the barrel jack input */ 159 vdc_5v: regulator-vdc-5v { 146 vdc_5v: regulator-vdc-5v { 160 compatible = "regulator-fixed" 147 compatible = "regulator-fixed"; 161 regulator-name = "VDC_5V"; 148 regulator-name = "VDC_5V"; 162 149 163 regulator-min-microvolt = <500 150 regulator-min-microvolt = <5000000>; 164 regulator-max-microvolt = <500 151 regulator-max-microvolt = <5000000>; 165 regulator-always-on; 152 regulator-always-on; 166 regulator-boot-on; 153 regulator-boot-on; 167 }; 154 }; 168 155 169 /* "Battery" voltage for the SoM, step 156 /* "Battery" voltage for the SoM, stepped down from the barrel jack input */ 170 vdc_vbat_som: regulator-vdc-vbat { 157 vdc_vbat_som: regulator-vdc-vbat { 171 compatible = "regulator-fixed" 158 compatible = "regulator-fixed"; 172 regulator-name = "VBAT_SOM"; 159 regulator-name = "VBAT_SOM"; 173 regulator-min-microvolt = <420 160 regulator-min-microvolt = <4200000>; 174 regulator-max-microvolt = <420 161 regulator-max-microvolt = <4200000>; 175 regulator-always-on; 162 regulator-always-on; 176 regulator-boot-on; 163 regulator-boot-on; 177 }; 164 }; 178 165 179 /* PMI632 charger out, supplied by VBA 166 /* PMI632 charger out, supplied by VBAT */ 180 vph_pwr: regulator-vph-pwr { 167 vph_pwr: regulator-vph-pwr { 181 compatible = "regulator-fixed" 168 compatible = "regulator-fixed"; 182 regulator-name = "vph_pwr"; 169 regulator-name = "vph_pwr"; 183 regulator-min-microvolt = <370 170 regulator-min-microvolt = <3700000>; 184 regulator-max-microvolt = <370 171 regulator-max-microvolt = <3700000>; 185 vin-supply = <&vdc_vbat_som>; 172 vin-supply = <&vdc_vbat_som>; 186 173 187 regulator-always-on; 174 regulator-always-on; 188 regulator-boot-on; 175 regulator-boot-on; 189 }; 176 }; 190 }; 177 }; 191 178 192 &gpi_dma0 { 179 &gpi_dma0 { 193 status = "okay"; 180 status = "okay"; 194 }; 181 }; 195 182 196 &gpu { 183 &gpu { 197 status = "okay"; 184 status = "okay"; 198 185 199 zap-shader { 186 zap-shader { 200 firmware-name = "qcom/qrb4210/ 187 firmware-name = "qcom/qrb4210/a610_zap.mbn"; 201 }; 188 }; 202 }; 189 }; 203 190 204 &i2c2_gpio { !! 191 &i2c2 { 205 clock-frequency = <400000>; 192 clock-frequency = <400000>; 206 status = "okay"; 193 status = "okay"; 207 194 208 lt9611_codec: hdmi-bridge@2b { 195 lt9611_codec: hdmi-bridge@2b { 209 compatible = "lontium,lt9611ux 196 compatible = "lontium,lt9611uxc"; 210 reg = <0x2b>; 197 reg = <0x2b>; 211 interrupts-extended = <&tlmm 4 198 interrupts-extended = <&tlmm 46 IRQ_TYPE_EDGE_FALLING>; 212 reset-gpios = <&tlmm 41 GPIO_A 199 reset-gpios = <&tlmm 41 GPIO_ACTIVE_HIGH>; 213 200 214 vdd-supply = <&vreg_hdmi_out_1 201 vdd-supply = <&vreg_hdmi_out_1p2>; 215 vcc-supply = <<9611_3v3>; 202 vcc-supply = <<9611_3v3>; 216 203 217 pinctrl-0 = <<9611_irq_pin & 204 pinctrl-0 = <<9611_irq_pin <9611_rst_pin>; 218 pinctrl-names = "default"; 205 pinctrl-names = "default"; 219 #sound-dai-cells = <1>; 206 #sound-dai-cells = <1>; 220 207 221 ports { 208 ports { 222 #address-cells = <1>; 209 #address-cells = <1>; 223 #size-cells = <0>; 210 #size-cells = <0>; 224 211 225 port@0 { 212 port@0 { 226 reg = <0>; 213 reg = <0>; 227 214 228 lt9611_a: endp 215 lt9611_a: endpoint { 229 remote 216 remote-endpoint = <&mdss_dsi0_out>; 230 }; 217 }; 231 }; 218 }; 232 219 233 port@2 { 220 port@2 { 234 reg = <2>; 221 reg = <2>; 235 222 236 lt9611_out: en 223 lt9611_out: endpoint { 237 remote 224 remote-endpoint = <&hdmi_con>; 238 }; 225 }; 239 }; 226 }; 240 }; 227 }; 241 }; 228 }; 242 }; 229 }; 243 230 244 &mdss { 231 &mdss { 245 status = "okay"; 232 status = "okay"; 246 }; 233 }; 247 234 248 &mdss_dsi0 { 235 &mdss_dsi0 { 249 vdda-supply = <&vreg_l18a_1p232>; 236 vdda-supply = <&vreg_l18a_1p232>; 250 status = "okay"; 237 status = "okay"; 251 }; 238 }; 252 239 253 &mdss_dsi0_out { 240 &mdss_dsi0_out { 254 remote-endpoint = <<9611_a>; 241 remote-endpoint = <<9611_a>; 255 data-lanes = <0 1 2 3>; 242 data-lanes = <0 1 2 3>; 256 }; 243 }; 257 244 258 &mdss_dsi0_phy { 245 &mdss_dsi0_phy { 259 status = "okay"; 246 status = "okay"; 260 }; 247 }; 261 248 262 &pm6125_gpios { 249 &pm6125_gpios { 263 kypd_vol_up_n: kypd-vol-up-n-state { 250 kypd_vol_up_n: kypd-vol-up-n-state { 264 pins = "gpio5"; 251 pins = "gpio5"; 265 function = "normal"; 252 function = "normal"; 266 power-source = <0>; 253 power-source = <0>; 267 bias-pull-up; 254 bias-pull-up; 268 input-enable; 255 input-enable; 269 }; 256 }; 270 }; 257 }; 271 258 272 &pmi632_typec { << 273 status = "okay"; << 274 << 275 connector { << 276 compatible = "usb-c-connector" << 277 << 278 power-role = "dual"; << 279 data-role = "dual"; << 280 self-powered; << 281 << 282 typec-power-opmode = "default" << 283 pd-disable; << 284 << 285 ports { << 286 #address-cells = <1>; << 287 #size-cells = <0>; << 288 << 289 port@0 { << 290 reg = <0>; << 291 pmi632_hs_in: << 292 remote << 293 }; << 294 }; << 295 << 296 port@1 { << 297 reg = <1>; << 298 pmi632_ss_in: << 299 remote << 300 }; << 301 }; << 302 }; << 303 }; << 304 }; << 305 << 306 &pmi632_vbus { << 307 regulator-min-microamp = <500000>; << 308 regulator-max-microamp = <1000000>; << 309 status = "okay"; << 310 }; << 311 << 312 &pon_pwrkey { 259 &pon_pwrkey { 313 status = "okay"; 260 status = "okay"; 314 }; 261 }; 315 262 316 &pon_resin { 263 &pon_resin { 317 linux,code = <KEY_VOLUMEDOWN>; 264 linux,code = <KEY_VOLUMEDOWN>; 318 status = "okay"; 265 status = "okay"; 319 }; 266 }; 320 267 321 &qupv3_id_0 { 268 &qupv3_id_0 { 322 status = "okay"; 269 status = "okay"; 323 }; 270 }; 324 271 325 &remoteproc_adsp { 272 &remoteproc_adsp { 326 firmware-name = "qcom/qrb4210/adsp.mbn 273 firmware-name = "qcom/qrb4210/adsp.mbn"; 327 274 328 status = "okay"; 275 status = "okay"; 329 }; 276 }; 330 277 331 &remoteproc_cdsp { 278 &remoteproc_cdsp { 332 firmware-name = "qcom/qrb4210/cdsp.mbn 279 firmware-name = "qcom/qrb4210/cdsp.mbn"; 333 280 334 status = "okay"; 281 status = "okay"; 335 }; 282 }; 336 283 337 &remoteproc_mpss { 284 &remoteproc_mpss { 338 firmware-name = "qcom/qrb4210/modem.mb 285 firmware-name = "qcom/qrb4210/modem.mbn"; 339 286 340 status = "okay"; 287 status = "okay"; 341 }; 288 }; 342 289 343 &rpm_requests { 290 &rpm_requests { 344 regulators { 291 regulators { 345 compatible = "qcom,rpm-pm6125- 292 compatible = "qcom,rpm-pm6125-regulators"; 346 293 347 vdd-s1-supply = <&vph_pwr>; 294 vdd-s1-supply = <&vph_pwr>; 348 vdd-s2-supply = <&vph_pwr>; 295 vdd-s2-supply = <&vph_pwr>; 349 vdd-s3-supply = <&vph_pwr>; 296 vdd-s3-supply = <&vph_pwr>; 350 vdd-s4-supply = <&vph_pwr>; 297 vdd-s4-supply = <&vph_pwr>; 351 vdd-s5-supply = <&vph_pwr>; 298 vdd-s5-supply = <&vph_pwr>; 352 vdd-s6-supply = <&vph_pwr>; 299 vdd-s6-supply = <&vph_pwr>; 353 vdd-s7-supply = <&vph_pwr>; 300 vdd-s7-supply = <&vph_pwr>; 354 vdd-s8-supply = <&vph_pwr>; 301 vdd-s8-supply = <&vph_pwr>; 355 vdd-s9-supply = <&vph_pwr>; 302 vdd-s9-supply = <&vph_pwr>; 356 vdd-s10-supply = <&vph_pwr>; 303 vdd-s10-supply = <&vph_pwr>; 357 304 358 vdd-l1-l7-l17-l18-supply = <&v 305 vdd-l1-l7-l17-l18-supply = <&vreg_s6a_1p352>; 359 vdd-l2-l3-l4-supply = <&vreg_s 306 vdd-l2-l3-l4-supply = <&vreg_s6a_1p352>; 360 vdd-l5-l15-l19-l20-l21-l22-sup 307 vdd-l5-l15-l19-l20-l21-l22-supply = <&vph_pwr>; 361 vdd-l6-l8-supply = <&vreg_s5a_ 308 vdd-l6-l8-supply = <&vreg_s5a_0p848>; 362 vdd-l9-l11-supply = <&vreg_s7a 309 vdd-l9-l11-supply = <&vreg_s7a_2p04>; 363 vdd-l10-l13-l14-supply = <&vre 310 vdd-l10-l13-l14-supply = <&vreg_s7a_2p04>; 364 vdd-l12-l16-supply = <&vreg_s7 311 vdd-l12-l16-supply = <&vreg_s7a_2p04>; 365 vdd-l23-l24-supply = <&vph_pwr 312 vdd-l23-l24-supply = <&vph_pwr>; 366 313 367 vreg_s5a_0p848: s5 { 314 vreg_s5a_0p848: s5 { 368 regulator-min-microvol 315 regulator-min-microvolt = <920000>; 369 regulator-max-microvol 316 regulator-max-microvolt = <1128000>; 370 }; 317 }; 371 318 372 vreg_s6a_1p352: s6 { 319 vreg_s6a_1p352: s6 { 373 regulator-min-microvol 320 regulator-min-microvolt = <304000>; 374 regulator-max-microvol 321 regulator-max-microvolt = <1456000>; 375 }; 322 }; 376 323 377 vreg_s7a_2p04: s7 { 324 vreg_s7a_2p04: s7 { 378 regulator-min-microvol 325 regulator-min-microvolt = <1280000>; 379 regulator-max-microvol 326 regulator-max-microvolt = <2080000>; 380 }; 327 }; 381 328 382 vreg_l1a_1p0: l1 { 329 vreg_l1a_1p0: l1 { 383 regulator-min-microvol 330 regulator-min-microvolt = <952000>; 384 regulator-max-microvol 331 regulator-max-microvolt = <1152000>; 385 }; 332 }; 386 333 387 vreg_l4a_0p9: l4 { 334 vreg_l4a_0p9: l4 { 388 regulator-min-microvol 335 regulator-min-microvolt = <488000>; 389 regulator-max-microvol 336 regulator-max-microvolt = <1000000>; 390 }; 337 }; 391 338 392 vreg_l5a_2p96: l5 { 339 vreg_l5a_2p96: l5 { 393 regulator-min-microvol 340 regulator-min-microvolt = <1648000>; 394 regulator-max-microvol 341 regulator-max-microvolt = <3056000>; 395 regulator-allow-set-lo 342 regulator-allow-set-load; 396 }; 343 }; 397 344 398 vreg_l6a_0p6: l6 { 345 vreg_l6a_0p6: l6 { 399 regulator-min-microvol 346 regulator-min-microvolt = <576000>; 400 regulator-max-microvol 347 regulator-max-microvolt = <656000>; 401 }; 348 }; 402 349 403 vreg_l7a_1p256: l7 { 350 vreg_l7a_1p256: l7 { 404 regulator-min-microvol 351 regulator-min-microvolt = <1200000>; 405 regulator-max-microvol 352 regulator-max-microvolt = <1304000>; 406 }; 353 }; 407 354 408 vreg_l8a_0p664: l8 { 355 vreg_l8a_0p664: l8 { 409 regulator-min-microvol 356 regulator-min-microvolt = <640000>; 410 regulator-max-microvol 357 regulator-max-microvolt = <640000>; 411 }; 358 }; 412 359 413 vreg_l9a_1p8: l9 { 360 vreg_l9a_1p8: l9 { 414 regulator-min-microvol 361 regulator-min-microvolt = <1800000>; 415 regulator-max-microvol 362 regulator-max-microvolt = <1800000>; 416 regulator-allow-set-lo 363 regulator-allow-set-load; 417 regulator-always-on; << 418 regulator-boot-on; << 419 }; 364 }; 420 365 421 vreg_l10a_1p8: l10 { 366 vreg_l10a_1p8: l10 { 422 regulator-min-microvol 367 regulator-min-microvolt = <1704000>; 423 regulator-max-microvol 368 regulator-max-microvolt = <1904000>; 424 }; 369 }; 425 370 426 vreg_l11a_1p8: l11 { 371 vreg_l11a_1p8: l11 { 427 regulator-min-microvol 372 regulator-min-microvolt = <1704000>; 428 regulator-max-microvol 373 regulator-max-microvolt = <1952000>; 429 regulator-allow-set-lo 374 regulator-allow-set-load; 430 }; 375 }; 431 376 432 vreg_l12a_1p8: l12 { 377 vreg_l12a_1p8: l12 { 433 regulator-min-microvol 378 regulator-min-microvolt = <1624000>; 434 regulator-max-microvol 379 regulator-max-microvolt = <1984000>; 435 }; 380 }; 436 381 437 vreg_l13a_1p8: l13 { 382 vreg_l13a_1p8: l13 { 438 regulator-min-microvol 383 regulator-min-microvolt = <1504000>; 439 regulator-max-microvol 384 regulator-max-microvolt = <1952000>; 440 }; 385 }; 441 386 442 vreg_l14a_1p8: l14 { 387 vreg_l14a_1p8: l14 { 443 regulator-min-microvol 388 regulator-min-microvolt = <1704000>; 444 regulator-max-microvol 389 regulator-max-microvolt = <1904000>; 445 }; 390 }; 446 391 447 vreg_l15a_3p128: l15 { 392 vreg_l15a_3p128: l15 { 448 regulator-min-microvol 393 regulator-min-microvolt = <2920000>; 449 regulator-max-microvol 394 regulator-max-microvolt = <3232000>; 450 }; 395 }; 451 396 452 vreg_l16a_1p3: l16 { 397 vreg_l16a_1p3: l16 { 453 regulator-min-microvol 398 regulator-min-microvolt = <1704000>; 454 regulator-max-microvol 399 regulator-max-microvolt = <1904000>; 455 regulator-allow-set-lo 400 regulator-allow-set-load; 456 }; 401 }; 457 402 458 vreg_l17a_1p3: l17 { 403 vreg_l17a_1p3: l17 { 459 regulator-min-microvol 404 regulator-min-microvolt = <1152000>; 460 regulator-max-microvol 405 regulator-max-microvolt = <1384000>; 461 regulator-allow-set-lo 406 regulator-allow-set-load; 462 }; 407 }; 463 408 464 vreg_l18a_1p232: l18 { 409 vreg_l18a_1p232: l18 { 465 regulator-min-microvol 410 regulator-min-microvolt = <1104000>; 466 regulator-max-microvol 411 regulator-max-microvolt = <1312000>; 467 }; 412 }; 468 413 469 vreg_l19a_1p8: l19 { 414 vreg_l19a_1p8: l19 { 470 regulator-min-microvol 415 regulator-min-microvolt = <1624000>; 471 regulator-max-microvol 416 regulator-max-microvolt = <3304000>; 472 }; 417 }; 473 418 474 vreg_l20a_1p8: l20 { 419 vreg_l20a_1p8: l20 { 475 regulator-min-microvol 420 regulator-min-microvolt = <1624000>; 476 regulator-max-microvol 421 regulator-max-microvolt = <3304000>; 477 }; 422 }; 478 423 479 vreg_l21a_2p704: l21 { 424 vreg_l21a_2p704: l21 { 480 regulator-min-microvol 425 regulator-min-microvolt = <2400000>; 481 regulator-max-microvol 426 regulator-max-microvolt = <3600000>; 482 }; 427 }; 483 428 484 vreg_l22a_2p96: l22 { 429 vreg_l22a_2p96: l22 { 485 regulator-min-microvol 430 regulator-min-microvolt = <2952000>; 486 regulator-max-microvol 431 regulator-max-microvolt = <3304000>; 487 regulator-system-load 432 regulator-system-load = <100000>; 488 regulator-allow-set-lo 433 regulator-allow-set-load; 489 }; 434 }; 490 435 491 vreg_l23a_3p3: l23 { 436 vreg_l23a_3p3: l23 { 492 regulator-min-microvol 437 regulator-min-microvolt = <3312000>; 493 regulator-max-microvol 438 regulator-max-microvolt = <3312000>; 494 regulator-allow-set-lo 439 regulator-allow-set-load; 495 }; 440 }; 496 441 497 vreg_l24a_2p96: l24 { 442 vreg_l24a_2p96: l24 { 498 regulator-min-microvol 443 regulator-min-microvolt = <2704000>; 499 regulator-max-microvol 444 regulator-max-microvolt = <3600000>; 500 regulator-system-load 445 regulator-system-load = <100000>; 501 regulator-allow-set-lo 446 regulator-allow-set-load; 502 }; 447 }; 503 }; 448 }; 504 }; 449 }; 505 450 506 &sdhc_1 { 451 &sdhc_1 { 507 pinctrl-0 = <&sdc1_state_on>; 452 pinctrl-0 = <&sdc1_state_on>; 508 pinctrl-1 = <&sdc1_state_off>; 453 pinctrl-1 = <&sdc1_state_off>; 509 pinctrl-names = "default", "sleep"; 454 pinctrl-names = "default", "sleep"; 510 455 511 vmmc-supply = <&vreg_l24a_2p96>; 456 vmmc-supply = <&vreg_l24a_2p96>; 512 vqmmc-supply = <&vreg_l11a_1p8>; 457 vqmmc-supply = <&vreg_l11a_1p8>; 513 no-sdio; 458 no-sdio; 514 non-removable; 459 non-removable; 515 460 516 status = "okay"; 461 status = "okay"; 517 }; 462 }; 518 463 519 &sdhc_2 { 464 &sdhc_2 { 520 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; 465 cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; /* card detect gpio */ 521 466 522 pinctrl-0 = <&sdc2_state_on &sdc2_card 467 pinctrl-0 = <&sdc2_state_on &sdc2_card_det_n>; 523 pinctrl-1 = <&sdc2_state_off &sdc2_car 468 pinctrl-1 = <&sdc2_state_off &sdc2_card_det_n>; 524 pinctrl-names = "default", "sleep"; 469 pinctrl-names = "default", "sleep"; 525 470 526 vmmc-supply = <&vreg_l22a_2p96>; 471 vmmc-supply = <&vreg_l22a_2p96>; 527 vqmmc-supply = <&vreg_l5a_2p96>; 472 vqmmc-supply = <&vreg_l5a_2p96>; 528 no-sdio; 473 no-sdio; 529 474 530 status = "okay"; 475 status = "okay"; 531 }; 476 }; 532 477 533 &spi5 { 478 &spi5 { 534 status = "okay"; 479 status = "okay"; 535 480 536 can@0 { 481 can@0 { 537 compatible = "microchip,mcp251 482 compatible = "microchip,mcp2518fd"; 538 reg = <0>; 483 reg = <0>; 539 interrupts-extended = <&tlmm 3 484 interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>; 540 clocks = <&clk40M>; 485 clocks = <&clk40M>; 541 spi-max-frequency = <10000000> 486 spi-max-frequency = <10000000>; 542 vdd-supply = <&vdc_5v>; 487 vdd-supply = <&vdc_5v>; 543 xceiver-supply = <&vdc_5v>; 488 xceiver-supply = <&vdc_5v>; 544 }; 489 }; 545 }; 490 }; 546 491 547 &sleep_clk { 492 &sleep_clk { 548 clock-frequency = <32000>; 493 clock-frequency = <32000>; 549 }; 494 }; 550 495 551 &tlmm { 496 &tlmm { 552 gpio-reserved-ranges = <43 2>, <49 1>, 497 gpio-reserved-ranges = <43 2>, <49 1>, <54 1>, 553 <56 3>, <61 2>, 498 <56 3>, <61 2>, <64 1>, 554 <68 1>, <72 8>, 499 <68 1>, <72 8>, <96 1>; 555 500 556 uart3_default: uart3-default-state { 501 uart3_default: uart3-default-state { 557 cts-pins { 502 cts-pins { 558 pins = "gpio8"; 503 pins = "gpio8"; 559 function = "qup3"; 504 function = "qup3"; 560 drive-strength = <2>; 505 drive-strength = <2>; 561 bias-bus-hold; 506 bias-bus-hold; 562 }; 507 }; 563 508 564 rts-pins { 509 rts-pins { 565 pins = "gpio9"; 510 pins = "gpio9"; 566 function = "qup3"; 511 function = "qup3"; 567 drive-strength = <2>; 512 drive-strength = <2>; 568 bias-disable; 513 bias-disable; 569 }; 514 }; 570 515 571 tx-pins { 516 tx-pins { 572 pins = "gpio10"; 517 pins = "gpio10"; 573 function = "qup3"; 518 function = "qup3"; 574 drive-strength = <2>; 519 drive-strength = <2>; 575 bias-disable; 520 bias-disable; 576 }; 521 }; 577 522 578 rx-pins { 523 rx-pins { 579 pins = "gpio11"; 524 pins = "gpio11"; 580 function = "qup3"; 525 function = "qup3"; 581 drive-strength = <2>; 526 drive-strength = <2>; 582 bias-pull-up; 527 bias-pull-up; 583 }; 528 }; 584 }; 529 }; 585 530 586 uart3_sleep: uart3-sleep-state { 531 uart3_sleep: uart3-sleep-state { 587 cts-pins { 532 cts-pins { 588 pins = "gpio8"; 533 pins = "gpio8"; 589 function = "gpio"; 534 function = "gpio"; 590 drive-strength = <2>; 535 drive-strength = <2>; 591 bias-bus-hold; 536 bias-bus-hold; 592 }; 537 }; 593 538 594 rts-pins { 539 rts-pins { 595 pins = "gpio9"; 540 pins = "gpio9"; 596 function = "gpio"; 541 function = "gpio"; 597 drive-strength = <2>; 542 drive-strength = <2>; 598 bias-pull-down; 543 bias-pull-down; 599 }; 544 }; 600 545 601 tx-pins { 546 tx-pins { 602 pins = "gpio10"; 547 pins = "gpio10"; 603 function = "gpio"; 548 function = "gpio"; 604 drive-strength = <2>; 549 drive-strength = <2>; 605 bias-pull-up; 550 bias-pull-up; 606 }; 551 }; 607 552 608 rx-pins { 553 rx-pins { 609 pins = "gpio11"; 554 pins = "gpio11"; 610 function = "gpio"; 555 function = "gpio"; 611 drive-strength = <2>; 556 drive-strength = <2>; 612 bias-pull-up; 557 bias-pull-up; 613 }; 558 }; 614 }; 559 }; 615 560 616 lt9611_rst_pin: lt9611-rst-state { 561 lt9611_rst_pin: lt9611-rst-state { 617 pins = "gpio41"; 562 pins = "gpio41"; 618 function = "gpio"; 563 function = "gpio"; 619 input-disable; 564 input-disable; 620 output-high; 565 output-high; 621 }; 566 }; 622 567 623 lt9611_irq_pin: lt9611-irq-state { 568 lt9611_irq_pin: lt9611-irq-state { 624 pins = "gpio46"; 569 pins = "gpio46"; 625 function = "gpio"; 570 function = "gpio"; 626 bias-disable; 571 bias-disable; 627 }; 572 }; 628 573 629 sdc2_card_det_n: sd-card-det-n-state { 574 sdc2_card_det_n: sd-card-det-n-state { 630 pins = "gpio88"; 575 pins = "gpio88"; 631 function = "gpio"; 576 function = "gpio"; 632 drive-strength = <2>; 577 drive-strength = <2>; 633 bias-pull-up; 578 bias-pull-up; 634 }; 579 }; 635 }; 580 }; 636 581 637 &uart3 { 582 &uart3 { 638 interrupts-extended = <&intc GIC_SPI 3 583 interrupts-extended = <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 639 <&tlmm 11 IRQ_TY 584 <&tlmm 11 IRQ_TYPE_LEVEL_HIGH>; 640 pinctrl-0 = <&uart3_default>; 585 pinctrl-0 = <&uart3_default>; 641 pinctrl-1 = <&uart3_sleep>; 586 pinctrl-1 = <&uart3_sleep>; 642 pinctrl-names = "default", "sleep"; 587 pinctrl-names = "default", "sleep"; 643 status = "okay"; 588 status = "okay"; 644 589 645 bluetooth { 590 bluetooth { 646 compatible = "qcom,wcn3988-bt" 591 compatible = "qcom,wcn3988-bt"; 647 592 648 vddio-supply = <&vreg_l9a_1p8> 593 vddio-supply = <&vreg_l9a_1p8>; 649 vddxo-supply = <&vreg_l16a_1p3 594 vddxo-supply = <&vreg_l16a_1p3>; 650 vddrf-supply = <&vreg_l17a_1p3 595 vddrf-supply = <&vreg_l17a_1p3>; 651 vddch0-supply = <&vreg_l23a_3p 596 vddch0-supply = <&vreg_l23a_3p3>; 652 enable-gpios = <&tlmm 87 GPIO_ 597 enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; 653 max-speed = <3200000>; 598 max-speed = <3200000>; 654 }; 599 }; 655 }; 600 }; 656 601 657 &uart4 { 602 &uart4 { 658 status = "okay"; 603 status = "okay"; 659 }; 604 }; 660 605 661 &usb { 606 &usb { 662 status = "okay"; 607 status = "okay"; 663 }; 608 }; 664 609 665 &usb_dwc3_hs { << 666 remote-endpoint = <&pmi632_hs_in>; << 667 }; << 668 << 669 &usb_hsphy { 610 &usb_hsphy { 670 vdd-supply = <&vreg_l4a_0p9>; 611 vdd-supply = <&vreg_l4a_0p9>; 671 vdda-pll-supply = <&vreg_l12a_1p8>; 612 vdda-pll-supply = <&vreg_l12a_1p8>; 672 vdda-phy-dpdm-supply = <&vreg_l15a_3p1 613 vdda-phy-dpdm-supply = <&vreg_l15a_3p128>; 673 614 674 status = "okay"; 615 status = "okay"; 675 }; 616 }; 676 617 677 &usb_qmpphy { 618 &usb_qmpphy { 678 vdda-phy-supply = <&vreg_l4a_0p9>; 619 vdda-phy-supply = <&vreg_l4a_0p9>; 679 vdda-pll-supply = <&vreg_l12a_1p8>; 620 vdda-pll-supply = <&vreg_l12a_1p8>; 680 621 681 status = "okay"; 622 status = "okay"; 682 }; 623 }; 683 624 684 &usb_qmpphy_out { << 685 remote-endpoint = <&pmi632_ss_in>; << 686 }; << 687 << 688 &wifi { 625 &wifi { 689 vdd-0.8-cx-mx-supply = <&vreg_l8a_0p66 626 vdd-0.8-cx-mx-supply = <&vreg_l8a_0p664>; 690 vdd-1.8-xo-supply = <&vreg_l16a_1p3>; 627 vdd-1.8-xo-supply = <&vreg_l16a_1p3>; 691 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 628 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 692 vdd-3.3-ch0-supply = <&vreg_l23a_3p3>; 629 vdd-3.3-ch0-supply = <&vreg_l23a_3p3>; 693 qcom,ath10k-calibration-variant = "Thu 630 qcom,ath10k-calibration-variant = "Thundercomm_RB2"; 694 firmware-name = "qrb4210"; << 695 631 696 status = "okay"; 632 status = "okay"; 697 }; 633 }; 698 634 699 &xo_board { 635 &xo_board { 700 clock-frequency = <19200000>; 636 clock-frequency = <19200000>; 701 }; 637 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.