1/* 2 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT). 5 */ 6 7/dts-v1/; 8#include "rk3288.dtsi" 9#include "rk3288-android.dtsi" 10#include <dt-bindings/sensor-dev.h> 11 12/ { 13 backlight: backlight { 14 compatible = "pwm-backlight"; 15 brightness-levels = < 16 255 195 194 194 193 193 192 192 17 191 191 190 190 189 189 188 188 18 187 187 186 186 185 185 184 184 19 183 183 182 182 181 181 180 180 20 179 179 178 178 177 177 176 176 21 175 175 174 174 173 173 172 172 22 171 171 170 170 169 169 169 168 23 168 167 167 166 166 165 165 164 24 164 163 163 162 162 161 161 160 25 159 159 158 158 157 157 156 156 26 155 155 154 154 153 153 152 151 27 151 150 150 149 149 148 148 147 28 147 146 146 145 145 144 144 143 29 143 142 142 141 141 140 140 139 30 139 138 138 137 137 136 136 135 31 135 134 133 132 131 130 129 128 32 127 126 125 124 123 122 121 120 33 119 118 117 116 115 114 113 112 34 111 110 109 108 107 106 105 104 35 103 103 103 102 102 101 101 100 36 100 99 99 98 98 97 97 96 37 96 95 95 94 94 93 93 92 38 92 91 91 90 90 89 88 88 39 87 87 86 86 86 85 85 85 40 84 84 83 83 83 82 82 82 41 81 81 81 80 80 80 79 79 42 79 78 78 78 77 77 77 76 43 76 76 75 75 74 73 72 71 44 70 69 68 67 66 65 64 63 45 62 61 60 59 58 57 56 55 46 54 53 52 51 50 49 48 48 47 47 47 46 46 45 45 44 44>; 48 default-brightness-level = <180>; 49 enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&bl_en>; 52 pwms = <&pwm0 0 1000000 0>; 53 }; 54 55 vcc_sys: vsys-regulator { 56 compatible = "regulator-fixed"; 57 regulator-name = "vcc_sys"; 58 regulator-min-microvolt = <5000000>; 59 regulator-max-microvolt = <5000000>; 60 regulator-always-on; 61 regulator-boot-on; 62 }; 63 64 vcc_lcd: vcc-lcd { 65 compatible = "regulator-fixed"; 66 enable-active-high; 67 regulator-boot-on; 68 gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>; 69 pinctrl-names = "default"; 70 pinctrl-0 = <&lcd_en>; 71 regulator-name = "vcc_lcd"; 72 vin-supply = <&vcc_sys>; 73 }; 74 75 xin32k: xin32k { 76 compatible = "fixed-clock"; 77 clock-frequency = <32768>; 78 clock-output-names = "xin32k"; 79 #clock-cells = <0>; 80 }; 81 82 sdio_pwrseq: sdio-pwrseq { 83 compatible = "mmc-pwrseq-simple"; 84 clocks = <&rk818 1>; 85 clock-names = "ext_clock"; 86 87 /* 88 * On the module itself this is one of these (depending 89 * on the actual card populated): 90 * - SDIO_RESET_L_WL_REG_ON 91 * - PDN (power down when low) 92 */ 93 reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; 94 }; 95 96 wireless-wlan { 97 compatible = "wlan-platdata"; 98 wifi_chip_type = "rtl8723bs"; 99 WIFI,host_wake_irq = <&gpio4 30 GPIO_ACTIVE_HIGH>; 100 status = "okay"; 101 }; 102 103 wireless-bluetooth { 104 compatible = "bluetooth-platdata"; 105 clocks = <&rk818 1>; 106 clock-names = "ext_clock"; 107 uart_rts_gpios = <&gpio4 19 GPIO_ACTIVE_LOW>; 108 pinctrl-names = "default", "rts_gpio"; 109 pinctrl-0 = <&uart0_rts>; 110 pinctrl-1 = <&uart0_gpios>; 111 BT,reset_gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>; 112 BT,wake_gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>; 113 BT,wake_host_irq = <&gpio4 31 GPIO_ACTIVE_HIGH>; 114 status = "okay"; 115 }; 116 117 rk-vibrator { 118 status = "okay"; 119 compatible = "rk-vibrator-gpio"; 120 vibrator-gpio = <&gpio7 21 GPIO_ACTIVE_HIGH>; 121 }; 122 123 rk_headset { 124 compatible = "rockchip_headset"; 125 headset_gpio = <&gpio7 7 GPIO_ACTIVE_HIGH>; 126 io-channels = <&saradc 2>; 127 }; 128 129 adc-keys { 130 compatible = "adc-keys"; 131 io-channels = <&saradc 1>; 132 io-channel-names = "buttons"; 133 keyup-threshold-microvolt = <1800000>; 134 poll-interval = <100>; 135 136 vol-up-key { 137 label = "volume up"; 138 linux,code = <KEY_VOLUMEUP>; 139 press-threshold-microvolt = <1000>; 140 }; 141 142 vol-down-key { 143 label = "volume down"; 144 linux,code = <KEY_VOLUMEDOWN>; 145 press-threshold-microvolt = <170000>; 146 }; 147 148 }; 149 150 gpio-keys { 151 compatible = "gpio-keys"; 152 autorepeat; 153 154 pinctrl-names = "default"; 155 pinctrl-0 = <&pwrbtn>; 156 157 power { 158 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>; 159 linux,code = <KEY_POWER>; 160 label = "GPIO Key Power"; 161 linux,input-type = <1>; 162 wakeup-source; 163 debounce-interval = <100>; 164 }; 165 }; 166 167 uboot-charge { 168 compatible = "rockchip,uboot-charge"; 169 rockchip,uboot-charge-on = <0>; 170 rockchip,android-charge-on = <1>; 171 }; 172}; 173 174&sdio0 { 175 status = "okay"; 176 max-frequency = <150000000>; 177 178 bus-width = <4>; 179 cap-sd-highspeed; 180 cap-sdio-irq; 181 disable-wp; 182 keep-power-in-suspend; 183 mmc-pwrseq = <&sdio_pwrseq>; 184 non-removable; 185 num-slots = <1>; 186 pinctrl-names = "default"; 187 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>; 188 sd-uhs-sdr104; 189 no-sd; 190 no-mmc; 191}; 192 193&i2c0 { 194 status = "okay"; 195 clock-frequency = <400000>; 196 197 vdd_cpu: syr827@40 { 198 compatible = "silergy,syr827"; 199 reg = <0x40>; 200 status = "okay"; 201 vin-supply = <&vcc_sys>; 202 regulator-compatible = "fan53555-reg"; 203 pinctrl-0 = <&vsel1_gpio>; 204 vsel-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; 205 regulator-name = "vdd_cpu"; 206 regulator-min-microvolt = <712500>; 207 regulator-max-microvolt = <1500000>; 208 regulator-ramp-delay = <1000>; 209 fcs,suspend-voltage-selector = <1>; 210 regulator-always-on; 211 regulator-boot-on; 212 regulator-initial-state = <3>; 213 regulator-state-mem { 214 regulator-off-in-suspend; 215 }; 216 }; 217 218 rk818: pmic@1c { 219 compatible = "rockchip,rk818"; 220 reg = <0x1c>; 221 status = "okay"; 222 223 clock-output-names = "rk818-clkout1", "wifibt_32kin"; 224 interrupt-parent = <&gpio0>; 225 interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 226 pinctrl-names = "default"; 227 pinctrl-0 = <&pmic_int>; 228 rockchip,system-power-controller; 229 wakeup-source; 230 #clock-cells = <1>; 231 232 vcc1-supply = <&vcc_sys>; 233 vcc2-supply = <&vcc_sys>; 234 vcc3-supply = <&vcc_sys>; 235 vcc4-supply = <&vcc_sys>; 236 vcc6-supply = <&vcc_sys>; 237 vcc7-supply = <&vcc_io>; 238 vcc8-supply = <&vcc_io>; 239 vcc9-supply = <&vcc_io>; 240 vddio-supply = <&vccio_pmu>; 241 boost-supply = <&vcc_sys>; 242 h_5v-supply = <&boost>; 243 244 regulators { 245 vdd_logic: DCDC_REG1 { 246 regulator-name = "vdd_logic"; 247 regulator-always-on; 248 regulator-boot-on; 249 regulator-min-microvolt = <800000>; 250 regulator-max-microvolt = <1250000>; 251 regulator-ramp-delay = <6001>; 252 regulator-state-mem { 253 regulator-on-in-suspend; 254 regulator-suspend-microvolt = <1000000>; 255 }; 256 }; 257 258 vdd_gpu: DCDC_REG2 { 259 regulator-name = "vdd_gpu"; 260 regulator-always-on; 261 regulator-boot-on; 262 regulator-min-microvolt = <800000>; 263 regulator-max-microvolt = <1250000>; 264 regulator-ramp-delay = <6001>; 265 regulator-state-mem { 266 regulator-off-in-suspend; 267 }; 268 }; 269 270 vcc_ddr: DCDC_REG3 { 271 regulator-always-on; 272 regulator-boot-on; 273 regulator-name = "vcc_ddr"; 274 regulator-state-mem { 275 regulator-on-in-suspend; 276 }; 277 }; 278 279 vcc_io: DCDC_REG4 { 280 regulator-always-on; 281 regulator-boot-on; 282 regulator-min-microvolt = <3300000>; 283 regulator-max-microvolt = <3300000>; 284 regulator-name = "vcc_io"; 285 regulator-state-mem { 286 regulator-on-in-suspend; 287 regulator-suspend-microvolt = <3300000>; 288 }; 289 }; 290 291 boost: DCDC_BOOST { 292 regulator-always-on; 293 regulator-boot-on; 294 regulator-min-microvolt = <5000000>; 295 regulator-max-microvolt = <5000000>; 296 regulator-name = "boost"; 297 regulator-state-mem { 298 regulator-on-in-suspend; 299 }; 300 }; 301 302 vcca_codec: LDO_REG1 { 303 regulator-always-on; 304 regulator-boot-on; 305 regulator-min-microvolt = <3300000>; 306 regulator-max-microvolt = <3300000>; 307 regulator-name = "vcca_codec"; 308 regulator-state-mem { 309 regulator-off-in-suspend; 310 }; 311 }; 312 313 vcc_tp: LDO_REG2 { 314 regulator-always-on; 315 regulator-boot-on; 316 regulator-min-microvolt = <3300000>; 317 regulator-max-microvolt = <3300000>; 318 regulator-name = "vcc_tp"; 319 regulator-state-mem { 320 regulator-on-in-suspend; 321 regulator-suspend-microvolt = <3300000>; 322 }; 323 }; 324 325 vdd_10: LDO_REG3 { 326 regulator-always-on; 327 regulator-boot-on; 328 regulator-min-microvolt = <1000000>; 329 regulator-max-microvolt = <1000000>; 330 regulator-name = "vdd_10"; 331 regulator-state-mem { 332 regulator-on-in-suspend; 333 regulator-suspend-microvolt = <1000000>; 334 }; 335 }; 336 337 vcc18_lcd: LDO_REG4 { 338 regulator-always-on; 339 regulator-boot-on; 340 regulator-min-microvolt = <1800000>; 341 regulator-max-microvolt = <1800000>; 342 regulator-name = "vcc18_lcd"; 343 regulator-state-mem { 344 regulator-off-in-suspend; 345 }; 346 }; 347 348 vccio_pmu: LDO_REG5 { 349 regulator-always-on; 350 regulator-boot-on; 351 regulator-min-microvolt = <3300000>; 352 regulator-max-microvolt = <3300000>; 353 regulator-name = "vccio_pmu"; 354 regulator-state-mem { 355 regulator-off-in-suspend; 356 }; 357 }; 358 359 vdd10_lcd: LDO_REG6 { 360 regulator-always-on; 361 regulator-boot-on; 362 regulator-min-microvolt = <1000000>; 363 regulator-max-microvolt = <1000000>; 364 regulator-name = "vdd10_lcd"; 365 regulator-state-mem { 366 regulator-off-in-suspend; 367 }; 368 }; 369 370 vcc_18: LDO_REG7 { 371 regulator-always-on; 372 regulator-boot-on; 373 regulator-min-microvolt = <1800000>; 374 regulator-max-microvolt = <1800000>; 375 regulator-name = "vcc_18"; 376 regulator-state-mem { 377 regulator-on-in-suspend; 378 regulator-suspend-microvolt = <1800000>; 379 }; 380 }; 381 382 vccio_wl: LDO_REG8 { 383 regulator-always-on; 384 regulator-boot-on; 385 regulator-min-microvolt = <1800000>; 386 regulator-max-microvolt = <3300000>; 387 regulator-name = "vccio_wl"; 388 regulator-state-mem { 389 regulator-on-in-suspend; 390 regulator-suspend-microvolt = <3300000>; 391 }; 392 }; 393 394 vccio_sd: LDO_REG9 { 395 regulator-always-on; 396 regulator-boot-on; 397 regulator-min-microvolt = <1800000>; 398 regulator-max-microvolt = <3300000>; 399 regulator-name = "vccio_sd"; 400 regulator-state-mem { 401 regulator-on-in-suspend; 402 regulator-suspend-microvolt = <3300000>; 403 }; 404 }; 405 406 vcc_sd: SWITCH_REG { 407 regulator-always-on; 408 regulator-boot-on; 409 regulator-name = "vcc_sd"; 410 regulator-state-mem { 411 regulator-on-in-suspend; 412 }; 413 }; 414 415 h_5v: HDMI_SWITCH { 416 regulator-always-on; 417 regulator-boot-on; 418 regulator-name = "h_5v"; 419 regulator-state-mem { 420 regulator-on-in-suspend; 421 }; 422 }; 423 424 otg_switch: OTG_SWITCH { 425 regulator-name = "otg_switch"; 426 }; 427 }; 428 429 battery { 430 compatible = "rk818-battery"; 431 ocv_table = <3400 3684 3705 3729 3745 3762 3778 3792 3808 3827 3852 3885 3932 3970 4011 4066 4113 4164 4217 4272 4338>; 432 design_capacity = <4000>; 433 design_qmax = <4000>; 434 bat_res = <100>; 435 max_input_current = <1400>; 436 max_chrg_current = <1400>; 437 max_chrg_voltage = <4350>; 438 sleep_enter_current = <300>; 439 sleep_exit_current = <300>; 440 power_off_thresd = <3400>; 441 zero_algorithm_vol = <3850>; 442 energy_mode = <0>; 443 fb_temperature = <105>; 444 sample_res = <20>; 445 max_soc_offset = <60>; 446 monitor_sec = <5>; 447 virtual_power = <0>; 448 power_dc2otg = <0>; 449 }; 450 }; 451}; 452 453&io_domains { 454 status = "okay"; 455 456 sdcard-supply = <&vccio_sd>; 457 wifi-supply = <&vccio_wl>; 458}; 459 460&i2c1 { 461 status = "okay"; 462 clock-frequency = <400000>; 463 464 mpu6050_acc: mpu-acc@68 { 465 status = "okay"; 466 compatible = "mpu6500_acc"; 467 pinctrl-names = "default"; 468 pinctrl-0 = <&mpu6050_irq_gpio>; 469 reg = <0x68>; 470 irq-gpio = <&gpio8 0 IRQ_TYPE_EDGE_RISING>; 471 irq_enable = <0>; 472 poll_delay_ms = <30>; 473 type = <SENSOR_TYPE_ACCEL>; 474 layout = <5>; 475 }; 476 477 mpu6050_gyro: mpu-gyro@68 { 478 status = "okay"; 479 compatible = "mpu6500_gyro"; 480 reg = <0x68>; 481 irq_enable = <0>; 482 poll_delay_ms = <30>; 483 type = <SENSOR_TYPE_GYROSCOPE>; 484 layout = <5>; 485 }; 486 487 ts@40 { 488 compatible = "gsl,gslX680a"; 489 status = "okay"; 490 reg = <0x40>; 491 screen_max_x = <1920>; 492 screen_max_y = <1200>; 493 xy_swap = <1>; 494 x_reverse = <1>; 495 y_reverse = <0>; 496 x_mul = <2>; 497 y_mul = <2>; 498 bin_ver = <0>; 499 irq-gpio = <&gpio7 6 IRQ_TYPE_LEVEL_HIGH>; 500 wake-gpio = <&gpio7 5 GPIO_ACTIVE_LOW>; 501 }; 502}; 503 504&i2c2 { 505 status = "okay"; 506 507 es8316: es8316@10 { 508 status = "okay"; 509 #sound-dai-cells = <0>; 510 compatible = "everest,es8316"; 511 reg = <0x10>; 512 clocks = <&cru SCLK_I2S0_OUT>; 513 clock-names = "mclk"; 514 spk-con-gpio = <&gpio7 15 GPIO_ACTIVE_HIGH>; 515 //hp-det-gpio = <&gpio7 7 GPIO_ACTIVE_LOW>; 516 pinctrl-names = "default"; 517 pinctrl-0 = <&i2s0_mclk>; 518 }; 519}; 520 521&i2c3 { 522 status = "okay"; 523}; 524 525&emmc { 526 bus-width = <8>; 527 cap-mmc-highspeed; 528 disable-wp; 529 non-removable; 530 num-slots = <1>; 531 pinctrl-names = "default"; 532 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; 533 max-frequency = <100000000>; 534 mmc-hs200-1_8v; 535 mmc-ddr-1_8v; 536 status = "okay"; 537}; 538 539&sdmmc { 540 no-sdio; 541 no-mmc; 542 bus-width = <4>; 543 cap-mmc-highspeed; 544 sd-uhs-sdr12; 545 sd-uhs-sdr25; 546 sd-uhs-sdr50; 547 sd-uhs-sdr104; 548 cap-sd-highspeed; 549 card-detect-delay = <200>; 550 disable-wp; /* wp not hooked up */ 551 num-slots = <1>; 552 pinctrl-names = "default"; 553 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; 554 status = "okay"; 555 vmmc-supply = <&vcc_sd>; 556 vqmmc-supply = <&vccio_sd>; 557 no-sdio; 558 no-mmc; 559}; 560 561&dsi0 { 562 rockchip,dual-channel = <&dsi1>; 563 rockchip,lane-rate = <1000>; 564 status = "okay"; 565 566 panel@0 { 567 compatible = "simple-panel-dsi"; 568 reg = <0>; 569 backlight = <&backlight>; 570 power-supply = <&vcc_lcd>; 571 reset-gpios = <&gpio7 RK_PA4 GPIO_ACTIVE_LOW>; 572 reset-delay-ms = <20>; 573 init-delay-ms = <20>; 574 enable-delay-ms = <20>; 575 prepare-delay-ms = <20>; 576 577 dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | 578 MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>; 579 dsi,format = <MIPI_DSI_FMT_RGB888>; 580 dsi,lanes = <8>; 581 582 panel-init-sequence = [ 583 05 14 01 01 584 15 01 02 36 00 585 15 01 02 3A 70 586 15 01 02 35 01 587 05 78 01 29 588 05 14 01 11 589 ]; 590 591 panel-exit-sequence = [ 592 05 64 01 28 593 05 96 01 10 594 ]; 595 596 display-timings { 597 native-mode = <&timing0>; 598 599 timing0: timing0 { 600 clock-frequency = <272000000>; 601 hactive = <1600>; 602 vactive = <2560>; 603 hback-porch = <35>; 604 hfront-porch = <110>; 605 vback-porch = <8>; 606 vfront-porch = <12>; 607 hsync-len = <15>; 608 vsync-len = <4>; 609 hsync-active = <0>; 610 vsync-active = <0>; 611 de-active = <0>; 612 pixelclk-active = <0>; 613 }; 614 }; 615 }; 616}; 617 618&dsi1 { 619 status = "okay"; 620}; 621 622&vopb_out_dsi1 { 623 status = "disabled"; 624}; 625 626&vopl_out_dsi1 { 627 status = "disabled"; 628}; 629 630&dsi0_in_vopl { 631 status = "disabled"; 632}; 633 634&dsi0_in_vopb { 635 status = "okay"; 636}; 637 638&route_dsi0 { 639 connect = <&vopb_out_dsi0>; 640 status = "okay"; 641}; 642 643&hdmi_in_vopl { 644 status = "okay"; 645}; 646 647&hdmi_in_vopb { 648 status = "disabled"; 649}; 650 651&hdmi { 652 #address-cells = <1>; 653 #size-cells = <0>; 654 #sound-dai-cells = <0>; 655 status = "okay"; 656}; 657 658&route_hdmi { 659 connect = <&vopl_out_hdmi>; 660 status = "okay"; 661}; 662 663&hdmi_analog_sound { 664 status = "okay"; 665 compatible = "rockchip,rk3288-hdmi-analog", 666 "rockchip,rk3368-hdmi-analog"; 667 rockchip,model = "rockchip,es8316-codec"; 668 rockchip,cpu = <&i2s>; 669 rockchip,codec = <&es8316>, <&hdmi>; 670 rockchip,widgets = 671 "Microphone", "Microphone Jack", 672 "Headphone", "Headphone Jack"; 673 rockchip,routing = 674 "MIC1", "Microphone Jack", 675 "MIC2", "Microphone Jack", 676 "Microphone Jack", "micbias1", 677 "Headphone Jack", "HPOL", 678 "Headphone Jack", "HPOR"; 679}; 680 681&i2s { 682 #sound-dai-cells = <0>; 683 status = "okay"; 684}; 685 686&vopb { 687 status = "okay"; 688}; 689 690&vopb_mmu { 691 status = "okay"; 692}; 693 694&vopl { 695 status = "okay"; 696}; 697 698&vopl_mmu { 699 status = "okay"; 700}; 701 702&gpu { 703 status = "okay"; 704 mali-supply = <&vdd_gpu>; 705}; 706 707&wdt { 708 status = "okay"; 709}; 710 711&pwm0 { 712 status = "okay"; 713}; 714 715&isp { 716 status = "okay"; 717}; 718 719&isp_mmu { 720 status = "okay"; 721}; 722 723&cpu0 { 724 cpu-supply = <&vdd_cpu>; 725}; 726 727&dfi { 728 status = "okay"; 729}; 730 731&dmc { 732 center-supply = <&vdd_logic>; 733 status = "okay"; 734}; 735 736&uart0 { 737 pinctrl-names = "default"; 738 pinctrl-0 = <&uart0_xfer &uart0_cts>; 739 status = "okay"; 740}; 741 742&tsadc { 743 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ 744 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ 745 pinctrl-1 = <&otp_gpio>; 746}; 747 748&usbphy { 749 status = "okay"; 750}; 751 752&usb_host0_ehci { 753 rockchip-relinquish-port; 754 status = "okay"; 755}; 756 757&usb_host0_ohci { 758 status = "okay"; 759}; 760 761&usb_host1 { 762 status = "okay"; 763}; 764 765&usb_otg { 766 status = "okay"; 767}; 768 769&saradc { 770 vref-supply = <&vcc_18>; 771 status = "okay"; 772}; 773 774&rockchip_suspend { 775 status = "okay"; 776}; 777 778&pinctrl { 779 lcd { 780 lcd_en: lcd-en { 781 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 782 }; 783 }; 784 785 backlight { 786 bl_en: bl-en { 787 rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 788 }; 789 }; 790 791 mpu6050 { 792 mpu6050_irq_gpio: mpu6050-irq-gpio { 793 rockchip,pins = <8 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 794 }; 795 }; 796 797 pmic { 798 pmic_int: pmic-int { 799 rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 800 }; 801 vsel1_gpio: vsel1-gpio { 802 rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; 803 }; 804 }; 805 806 pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { 807 drive-strength = <8>; 808 }; 809 810 pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { 811 bias-pull-up; 812 drive-strength = <8>; 813 }; 814 815 sdmmc { 816 /* 817 * Default drive strength isn't enough to achieve even 818 * high-speed mode on EVB board so bump up to 8ma. 819 */ 820 sdmmc_bus4: sdmmc-bus4 { 821 rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, 822 <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, 823 <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, 824 <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; 825 }; 826 827 sdmmc_clk: sdmmc-clk { 828 rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; 829 }; 830 831 sdmmc_cmd: sdmmc-cmd { 832 rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; 833 }; 834 835 sdmmc_pwr: sdmmc-pwr { 836 rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 837 }; 838 }; 839 840 wireless-bluetooth { 841 uart0_gpios: uart0-gpios { 842 rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 843 }; 844 }; 845}; 846