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