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